Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ploxiln
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
241.
▲
by
ploxiln
5y ago
That's code copied from the linked gist. But, it omits some key lines in the middle, and does not actually overflow: DWORD required_length; auto rc = RegQueryValueExW(key, version, NULL, NULL, NULL, &required_length);
242.
▲
by
ploxiln
5y ago
Blocking /dev/random has been a problem that many people were interested about for a long time, and it has had alternatives: /dev/urandom since forever (though it has a big problem for some short period just after bootup
243.
▲
by
ploxiln
5y ago
Stephan Müller has proposed his "LRNG" rewrite 5 years ago, and it was not well received by the linux random subsystem maintainer Ted Ts'o: https://lkml.org/lkml/2016/4/21/839 but there ha
244.
▲
by
ploxiln
5y ago
Yeah, in my experience, with big orgs, it's like: Windows has bugs that don't get fixed: haha, computers, what can you do, eh, haha Linus has bugs which can get fixed: see, nobody can use this thing! I kinda get it though, people
245.
▲
by
ploxiln
5y ago
I work in an org with a few tens of "microservices". Some are written in python, some in go, and some in js or typescript. The each yarn.lock file, individually, is bigger than the whole JS application it serves, and bigger than m
246.
▲
by
ploxiln
5y ago
userChrome.css is the way to get good tabs back (for now) https://www.userchrome.org/firefox-89-styling-proton-ui.html... (go to the home page for general instructions on enabling this mechanism)
247.
▲
by
ploxiln
5y ago
... but total deaths per capita in Sweden is still below France, Spain, Italy, UK (and fwiw Belgium, Bulgaria, Russia, US ...)
248.
▲
by
ploxiln
5y ago
You should! It makes driving more interesting and fun, even many years later. It's only really annoying in bumper-to-bumper stop-and-go traffic.
249.
▲
by
ploxiln
5y ago
Indeed, whatever conditions there are on this tax, will become the new standard conditions all sufficiently wealthy people will have their accountants arrange their finances to satisfy in order to be excluded.
250.
▲
by
ploxiln
5y ago
Reducing the Firefox content process limit from the default 8 to perhaps 2 should help (assuming the default is the same on smaller systems, I guess I'm not sure it is ...)
251.
▲
by
ploxiln
5y ago
> the company announced the rollout of a new wage structure, including a minimum wage of $15.25 per hour > What Winston Plywood is doing defies almost everything we have been told about wages in Mississippi — that raising the minimum
252.
▲
by
ploxiln
5y ago
> I'm honestly still shocked that updating the hashing algorithm wasn't built into Git from day one. I really wonder why. The first basically functional version of Git was created in less than a month by Linus Torvalds, immedia
253.
▲
by
ploxiln
5y ago
The useless utf-8 BOM is 3 bytes ... were you also getting utf-16 encoded text?
254.
▲
by
ploxiln
5y ago
I'm not so familiar with other operating systems, but on Linux and presumably other unixes, the only thing holding back the initial/main "process stack" is ulimit. Try "ulimit -s unlimited". (On macOS that incr
255.
▲
by
ploxiln
5y ago
The initial/main thread stack size is dynamic, it grows until it runs into another allocation (and these days there are guard pages and such). You can already use 128MB on the initial/main stack, even with musl-libc / Alpine
256.
▲
by
ploxiln
5y ago
Seems like it is - I wasn't aware of that project, thanks for the tip! (I was aware of Pale Moon, which forked from a much older version of firefox ...)
257.
▲
by
ploxiln
5y ago
It's a frustrating state of affairs that this extension review process even exists ... Of course we'll be called entitled whiners for demanding prompt customer service from an open source foundation which does this completely for
258.
▲
by
ploxiln
5y ago
-Werror can be useful for CI, but elsewhere it is obnoxious. Warnings should be warnings, errors should be errors. If you always turn warnings into errors then you remove a useful tool. Warnings do not mean the program is incorrect, and lac
259.
▲
by
ploxiln
5y ago
About 10 years ago, I was working in a startup that had a hadoop cluster on some bare metal servers in a datacenter. At one point when the dataset size and sustained traffic between nodes grew to a particular level, the network throughput c
260.
▲
by
ploxiln
5y ago
> There's 843 pull requests at this time, and I just looked and over 50 are from just the last month That's kinda overwhelming though ... imagine that if the maintainer pops up somewhere, suddenly 100 motivated people may chime
261.
▲
by
ploxiln
5y ago
> My chief takeaway after doing all of them: even my native code resembled the patterns found in JavaScript based UI developments. > (native programming for UI) requires an order of magnitude of very niche programming that will only b
262.
▲
by
ploxiln
5y ago
I think HP home inkjet printers were the first to do this, over 10 years ago. Somehow any way of finding and installing a driver on windows would pull in a 500MB suite of always-running junk before the actual driver. No electron back then.
263.
▲
by
ploxiln
5y ago
This kind of thing is what makes some software engineers think they can solve problems or have an informed opinion about almost any other field :) Sure there are experts in every field who really know their stuff, but 95%+ of the people we
264.
▲
by
ploxiln
5y ago
GitHub actually manages attaching business org to personal accounts very well. You can make notification emails related to the business org repos go to your work email, while all other notification emails go to your personal email. When you
265.
▲
by
ploxiln
5y ago
I've been in a place where lots of things were flaky and sub-optimal, and leadership could not prioritize, because only P0 CRITICAL was ever actually addressed, lots of dumb stuff had to be marked P0 CRITICAL to have any chance of cons
266.
▲
by
ploxiln
5y ago
There's also the Raptor Computing Talos line ... which is interesting, all open firmware and busses, but even more expensive and less practical unfortunately. https://www.raptorcs.com/TALOSII/
267.
▲
by
ploxiln
5y ago
Postgres has always prioritized correctness, and more sophisticated datatype and query features ... mysql/mariadb have had more consistent performance and easier/more-flexible replication. I'm thinking about auto-vacuum and l
268.
▲
by
ploxiln
5y ago
Your linux distro may already have unprivileged user namespaces disabled. See the "mitigations" section of the post, and check /proc/sys/kernel/unprivileged_userns_clone
269.
▲
by
ploxiln
5y ago
These details are fascinating and non-obvious. Every little tool or part you have to use to work with even 15-year old chip fab processes is under NDA. It's hard to come up with a good analogy ... it's like you need to write your
270.
▲
by
ploxiln
5y ago
Use less software. But really, I think some perspective is needed on what is "safe". Is riding in a car "safe"? Is eating food from the supermarket "safe"? Can you ABSOLUTELY GUARANTEE that it's IMPOSSIBLE
More ›