HNHacker News
TopNewBestAskShowJobs

bilkow

480 karma · joined September 26, 2016

submissionscomments
bilkow··on Embedded Swift [video]
Care to elaborate? As I see it, the only restriction on embedded systems the parent has added is that it usually lacks filesystem access or dynamic memory allocation.
bilkow··on Talking with the inventor of C++ [video]
> Comparing language tooling to Rust is surely controversial when compiles in Rust take an order of magnitude longer than any other language.

Do you have any source for that other than a hello world? I always read that both C++ and Rust take about the same amount of time.

bilkow··on Chrome's next weapon in the War on Ad Blockers: Slower extension updates
> So the link doesn't actually support your claim of it being a limitation of MV3.

From the issue: "In Manifest V3 remotely hosted code is no longer allowed."

Altought the parent was talking specifically about network requests, in which case you may be right and I missed it, but that's not the general problem. Blocking network requests is not sufficient for modern ad/tracking blocking and to be able to run effectively they need to inject scripts into the page, thus "remotely hosted code" is necessary, and the Chrome docs above says that it's not allowed.

bilkow··on Chrome's next weapon in the War on Ad Blockers: Slower extension updates
I've edited my comment to also include a link to the Chrome docs, but that FAQ entry also has the link to an issue in the webextensions repository indicating it's a limitation of MV3: https://github.com/w3c/webextensions/issues/112
bilkow··on Chrome's next weapon in the War on Ad Blockers: Slower extension updates
uBOL's FAQ entry: https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-as...

Edit: Chrome docs on the matter explaining the limitations (from sibling mlyle) https://developer.chrome.com/docs/extensions/migrating/impro...

bilkow··on Rust std fs slower than Python? No, it's hardware
By going through that line of thought, you could also argue that the slow implementation for the slow version in C and Rust is actually implemented in C, as memcpy is on glibc. Hence, Python being faster than Rust would also mean in this case that Python is faster than C.

The point is not that one language is faster than another. The point is that the default way to implement something in a language ended up being surprisingly faster when compared to other languages in this specific scenario due to a performance issue in the hardware.

In other words: on this specific hardware, the default way to do this in Python is faster than the default way to do this in C and Rust. That can be true, as Python does not use C in the default way, it adds an offset! You can change your implementation in any of those languages to make it faster, in this case by just adding an offset, so it doesn't mean that "Python is faster than C or Rust in general".

bilkow··on GitHub: Can no longer search code without being logged in
I've been using sourcegraph when I'm not logged in, which has also the bonus of being a lot better (at least when compared to the old search).

It's as simple as appending the repo URL, starting from github.com: e.g. sourcegraph.com/github.com/rust-lang/rust/ (you can try searching for unit on this repo)

bilkow··on Cypress changed older versions to block third-party plugins (ignoring lockfiles)
As of yesterday Cypress binaries for older versions started blocking third-party plugins, breaking CI for multiple users. It bypasses package.lock and yarn.lock as it downloads a binary from their CDN when installing.

See also:

https://currents.dev/posts/v13-blocking

https://www.cypress.io/blog/2023/11/07/update-defense-intell...

https://github.com/cypress-io/cypress/issues/28269

https://github.com/currents-dev/cypress-cloud/issues/193

bilkow··on With Firefox on X11, any page can pastejack you anytime (middle button paste)
gnome-terminal does support bracketed paste[0], and both bash 5.1 and zsh 5.1 enable it by default, so if you paste into it it will input a newline in the prompt instead of executing the command

[0] https://en.m.wikipedia.org/wiki/Bracketed-paste

bilkow··on Apple says it'll remove iMessage and FaceTime in UK rather than break encryption
I use an app called "Open In WhatsApp" which lets you paste / write a phone number and it will open a conversation with that number (by using android intents). You can also share contacts from the Phone app to this App, so you don't have to copy/paste manually.

https://github.com/SubhamTyagi/openinwa (I recommend downloading from f-droid)

bilkow··on How the great firewall of China detects and blocks fully encrypted traffic [pdf]
Can't you use a "sanctioned" VPN to tunnel your connection to a "real" VPN or any wireguard endpoint? They could still be able to find out you're using a VPN, but not monitor your traffic.
bilkow··on Plastics are poisoning us
Biking instead of planting trees???

(there are two 4. on the grandparent post)

bilkow··on Google has a secret browser hidden inside the settings
Step 5 onwards don't work on private tabs for some reason. For private tabs you can do all steps up to 4 and then:

5. Tap on the URL bar

6. Type part of the name of the bookmark you chose until it appears in search (in my case eruda works)

7. Tap the bookmarlet

For this to work you need to have bookmark search enabled in settings: Settings -> Search -> Search bookmarks

Also, there seem to be many sites where the widget doesn't appear, but you can try it at google.com.

bilkow··on Datomic is Free
Do those companies specify what they use it for? They probably have their own internal "small-ish backoffice systems".
bilkow··on EU will require Apple to open up iMessage (2022)
> Tell me why, even as a nerd, I want to run a server Apparently you don't want to, which is fine. Just use a publicly available server, there are many out there including matrix.org.

But if you wanted to, you could. It's about control.

bilkow··on TabFS – a browser extension that mounts the browser tabs as a filesystem
Have you tried rebuilding the XPI in a different way or trying a different XPI? I would guess that your addon is broken, as it works for me: https://postimg.cc/9rkbMd7v

I understand the frustration and would also like improved control, but I understand firefox preventing this in the "normal" edition as it's very common for trojans to install unwanted extensions manually by fiddling with the profile files, I've had to remove them manually from family computers in the past.

bilkow··on TabFS – a browser extension that mounts the browser tabs as a filesystem
I just tested it and it does work for me: https://postimg.cc/9rkbMd7v

I would guess that they are trying to install is actually broken.

bilkow··on The Samsung Galaxy S23’s bloated Android build somehow uses 60GB of storage
Just as a curiosity, why? Do official carrier support matter that much in the US?
bilkow··on The Samsung Galaxy S23’s bloated Android build somehow uses 60GB of storage
Oh, good to know! That seems very real but I don't use it that much and it'll still gonna be a good upgrade for me.
bilkow··on The Samsung Galaxy S23’s bloated Android build somehow uses 60GB of storage
Oh, thanks! I don't think that's gonna be a problem for me.
bilkow··on The Samsung Galaxy S23’s bloated Android build somehow uses 60GB of storage
Just a correction, but the Fairphone 4 does have a SD card slot.
bilkow··on The Samsung Galaxy S23’s bloated Android build somehow uses 60GB of storage
I've been meaning to get a Fairphone for a while. Would you (or anyone else here) recommend it?
bilkow··on Maps and Memory Leaks in Go
For Rust specifically, the compiler does force safe programs to have no data races. That's actually what the ownership system, Send and Sync are about. If you manage to corrupt memory or have undefined behavior in safe Rust, that should be a compiler or library bug.

See https://doc.rust-lang.org/nomicon/races.html

bilkow··on Microsoft bakes a VPN into Edge and turns it on
WireGuard is pretty minimalist and has great defaults, AFAIK if you manage to set it up you're good.

Unless your credentials leak, of course, but a security expert would have that same risk.

bilkow··on The rush to mine lithium could dry up the high Andes
I'd even argue that the only reason it currently is hard to do it in many parts of the world is just because people believe it's impossible. You need general population support to make changes.
bilkow··on Rust 1.63
Oh, incredible! How have I missed that, thought it was still just a proposal...
bilkow··on Rust 1.63
> Want to use your system repo rust toolchain instead?

If you want to use your system toolchain, just install your software from there, it will be compatible with the available toolchains, if it's a library, you don't even need the toolchain if its an application. The software is obviously also gonna be "outdated", because that's the point of Debian, stable software that has been well tested with the system.

> This is because Rust devs, for now, are the type that will immediately beginning putting the new code features

There is the concept of MSRV (Minimum Supported Rust Version) that a great fraction of the community follows. You just specify publicly the minimum version that your library supports and enforce it with CI. This is not as good as having an official standard (say, in Cargo.toml), but a lot better than just implicitly depending on what you think is currently available in bash for most users.

> without consideration that it's not available in any OS repository toolchains

Arch's package has been available on the same day in the last Rust's release. We'll probably have 1.63.0 available today or tomorrow.

bilkow··on The Dangers of Microsoft Pluton
Sites could require remote attestation via a new API just like some sites (Netflix, etc) require DRM to play content.
bilkow··on The Dangers of Microsoft Pluton
> I think you're massively overestimating the market size of people who actually care. Note that I'm not making any moral argument here, I'm not saying whether these things are good or bad.

I think we're just discussing different things here then. I'm specifically talking about whether this is good or bad for the future of society. Most people buy whatever is most convenient at the time, which is fair and everyone has done this at some point, but it may or may not the best for society.

> I know lots of people who buy iPhones and iPads because they know the odds of accidentally getting malware on it is very low compared to alternatives. To them, locked down hardware is a selling point.

It may be a bubble, but of all the iPhone users I know, I don't think any of them has bought it for that reason. Most here buy them for either being simpler to use, lasting longer, or status. Of all the Android users I know, I don't know any that has knowingly got any kind of malware, and that includes people with very old phones.

bilkow··on The Dangers of Microsoft Pluton
This is all just giving away control to corporations. Freedom is about having the option, not using it. Even if most "regular users" never use it, if they ever change their mind they'll surely appreciate having it. It also affects the ability to develop new hardware, and being locked to hardware/software approved by the remote side (e.g. Facebook or whichever app/site you're using) is a pretty Dystopian reality.

> My bank account online is more secure?

Sincerely, why? Because I can't customize my own software anymore? Fortunately banks around here don't require SafetyNet, some of them do require a mobile device though.

← PreviousPage 3 of 6Next →