Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ChrisSD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
361.
▲
by
ChrisSD
6y ago
You can't donate to Mozilla Corp full stop. Besides which Firefox users are strongly opposed to "nags" in the browser as Mozilla have found. Even wikipedia, with it's massive reach and yearly nags, "only" makes
362.
▲
by
ChrisSD
6y ago
It gets a fixed amount of money from Google for using them as the default search engine. But what I meant was Firefox has no means to actual generate an income in its own right. Mozilla have tried. The reactions have not been good. The mone
363.
▲
by
ChrisSD
6y ago
The browser is absolutely their focus which is why they laid off the Servo team. Servo is a research project, Gecko/Firefox is their browser. It's also a massive money sink. Firefox itself has zero income and yet keeping up with G
364.
▲
by
ChrisSD
6y ago
The formal Scheme syntax spec is, what?, a few pages. Far smaller than any other "real" language I'm aware.
365.
▲
by
ChrisSD
6y ago
Those "money grabs", by definition, make more money than they consume.
366.
▲
by
ChrisSD
6y ago
Rust is currently backed more by Amazon and Microsoft than it is by Mozilla. The main contribution of Mozilla is to hold the trademark on behalf of the Rust project.
367.
▲
by
ChrisSD
6y ago
Names as identifiers are an archaic throwback at this point. Every person on the planet should have a unique GUID assigned to them. This can then be used to refer to them independent of their preferred identity. Names are for friends, not c
368.
▲
by
ChrisSD
6y ago
Linux also allows invalid utf-8.
369.
▲
by
ChrisSD
6y ago
Yeah. I hate it ;). I already have enough trouble trying to explain to new people the difference between C and Rust enums. The phrase "C style" just confuses things more, IMHO. Admittedly this may be a failure of communication on
370.
▲
by
ChrisSD
6y ago
These aren't really C style enums. These are still sum types. C-style enums are sugar for defining an integer type alias and a bunch of constants without creating any new types or scope. Rust enums, even with an assigned value, define
371.
▲
by
ChrisSD
6y ago
I think the point is that rustc + llvm has long made everything "constexpr" (well as much as it can). After all it's a missed optimization if it fails to evaluate something at compile time if it can be so evaluated. `const fn
372.
▲
by
ChrisSD
6y ago
While structopt may be too much for many applications, I would argue it's not necessarily as overkill as it looks. For many CLI applications, arguments parsing and (relevant) help are their primary UI. It absolutely makes sense for lar
373.
▲
by
ChrisSD
6y ago
For the beginner there's "Learn Rust With Entirely Too Many Linked Lists"[0]. The main issue I have with them is they tend to optimize poorly on modern hardware even when they theoretically should be the right data structure
374.
▲
by
ChrisSD
6y ago
In Rust this is only guaranteed to be true of "tier 1" targets. Rust also supports many "tier 2" and lower targets where the guarantee is only that the standard library will build (not that it actually works) and even th
375.
▲
by
ChrisSD
6y ago
Side note: parking_lot is set to be uplifted into the standard library at some point. However it currently doesn't meet the quality standards of the standard library so more work needs to be done. https://github.com/fae
376.
▲
by
ChrisSD
6y ago
Powershell has "here-strings". For example: @" For help, type "get-help" "@ https://docs.microsoft.com/en-us/powershell/module/microsoft...
377.
▲
by
ChrisSD
6y ago
My suspicion is that the font rendering is slightly off for whatever font is being selected. Right click the offending text, select "Inspect Element". The dev tools should popup. On the right hand side there should be a "Font
378.
▲
by
ChrisSD
6y ago
> More trivia: if you mount your filesystem readonly, it is technically not POSIX compliant any more because the atimes won't be updated Isn't POSIX fun?
379.
▲
by
ChrisSD
6y ago
I do like that they are focused on being a collaborative Q&A site, nothing more and nothing less. Some sites care so much about "engagement" that they try to be all things to all people and end up simply becoming yet another g
380.
▲
by
ChrisSD
6y ago
Ok, I updated the link to be the latest version I can find. It's dated June 2020. There are no new indictments per se but it does add the allegation that Assange and wikileaks recruited hackers to commit computer crimes.
381.
▲
by
ChrisSD
6y ago
You can see the 18-count indictment here: https://www.justice.gov/opa/press-release/file/1289641/downl... The short version is they're accusing him of encouraging and engaging in illegal acts to obt
382.
▲
by
ChrisSD
6y ago
Great list! But some of the last few entries seem like a bit of stretch to call "killed by Mozilla". They look like Netscape leftovers that were simply open sourced.
383.
▲
by
ChrisSD
6y ago
That last one is a common enough idea nowadays. Prominent people in every community advocate enforcing code style rules (Douglas Crawford's Javascript linter is famous as an early example and gofmt is practically enforced in the comm
384.
▲
by
ChrisSD
6y ago
`syscall()` is a very thin wrapper around calling the kernel directly by number. ntdll and libsystem aren't equivalent, they are more similar to `libc`. Neither Windows nor MacOS have a stable system call interface so you have to dynam
385.
▲
by
ChrisSD
6y ago
I'd be interested too. I can't find the stats atm but I wouldn't be surprised if it were around 50%. Still, my hypothesis is it mostly survives because of iOS. Sites must work with iPhones therefore it takes little if any eff
386.
▲
by
ChrisSD
6y ago
Not really. There are two problems: 1) Developing and maintaing a modern browser is fantastically expensive and yet does not directly make any money. Few organisations have that kind of money to burn. 2) Chrome's (and Google's) ma
387.
▲
by
ChrisSD
6y ago
Ironically this is the only reason Safari has the market share it does. If Apple didn't force its browser on iOS users, Chrome would dominate there too.
388.
▲
by
ChrisSD
6y ago
Sure platform specific things can be useful. But that's exactly what `syscall()` is. As far as I'm aware, other platforms don't have any real equivalent. On other platforms syscalls must be made via libraries (as Go rather fa
389.
▲
by
ChrisSD
6y ago
Is an OS-specific `syscall` at all useful if your OS isn't called "Linux"?
390.
▲
by
ChrisSD
6y ago
UK's Government Digital Service (GDS) team has a different approach. In 2014 they undertook a redesign of all UK government sites with an emphasis on being usable for everyone. At the time it was controversial (see el reg https:/
More ›