Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Asooka
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
Asooka
1y ago
I would have used CPC or adapted qemu's coroutines. Coroutines in C are a very well explored field with several mature solutions.
92.
▲
by
Asooka
1y ago
Yes, but "his religion" is over 2000 years old and has found ways to reform itself many times to re-centre itself towards the core teachings of Jesus Christ, namely compassion and piety. The Christians who sold indulgencies are no
93.
▲
by
Asooka
1y ago
I would say the best option, if there absolutely must be age verification etc., would be to have a registry of sites that comply with all regulations and by default devices shouldn't access sites off that list. Basically a giant alloli
94.
▲
by
Asooka
1y ago
While I can't name the product I work on, we also use -fno-strict-aliasing. The problem with these optimisations is that they can only be done safely if you can prove aliasing never happens, which is equivalent to solving the halting p
95.
▲
by
Asooka
1y ago
For batch jobs I would really like a scheduler that will pause and fully swap out processes until memory is available again. For example, when compiling a C++ project, some source files or some link steps will require vast amounts of memory
96.
▲
by
Asooka
1y ago
I would like to see a comparison between modules and precompiled headers. I have a suspicion that using precompiled headers could provide the same build time gains with much less work.
97.
▲
by
Asooka
1y ago
There is no such API on Linux, it is accomplished by sudo having the setuid bit set, which instructs the kernel to start it as root regardless of the current user. It's probably one of the worst legacy designs still in use - if any bin
98.
▲
by
Asooka
1y ago
> You can in theory just fork it and run your own version That is not feasible for a large portion of users. Even seasoned developers would struggle to maintain a personal fork of anything but the simplest open-source software. Proprieta
99.
▲
by
Asooka
1y ago
It is possible you have an undiagnosed latent infection, I spent nearly a decade with one trying this and that until I hit a winning combination. If you go looking for this protocol you'll find the absolute worst schizo rants online, b
100.
▲
by
Asooka
1y ago
Every knife can bypass stabproof vests with enough force, but that's beside the point. The knife is designed to bypass skin and flesh, hence the potential for abuse. You go down that path and you end up with the insane knife laws Weste
101.
▲
by
Asooka
1y ago
This is pretty much how we do it in Bulgaria as well, with almost all residential apartment buildings having no street address, it's just "City region X, building number Y". Online maps services are almost unusable for some p
102.
▲
by
Asooka
1y ago
Why did you write it with two structs though? You could do #define defer(body) DeferHolder COMMON_CAT(_defer_instance, __LINE__) {([&]()->void body)}; and call it as defer({ function body here; }); Which
103.
▲
by
Asooka
1y ago
Maybe this will finally be the limit of pushing bad legislation in the name of "Think of the Children!"
104.
▲
by
Asooka
1y ago
We use 4-wide tabs and in our code style it would be some_func( verylongarg0, verylongarg1 ); Which I feel is the most readable option. If you have to break the args into a vertical list, you want to use the lea
105.
▲
by
Asooka
1y ago
But that's the point - he wasn't doing anything that other CEOs weren't doing too, except he got targeted by the government and was imprisoned for six years.
106.
▲
by
Asooka
2y ago
I like it. It disambiguates when you're referring to a member of an object -- myobj.member vs referring to a global object by its full name -- module::function. I guess you could say the IDE can colour the two differently, but after sp
107.
▲
by
Asooka
2y ago
Wine should come with fonts with the same metrics as the proprietary ones. Note that while the font file is copyrighted, the letterforms themselves are free to copy. We already had the DejaVu project recreate equivalents of existing fonts,
108.
▲
by
Asooka
2y ago
I have had the same idea for a while, honestly. Yeah you can install wine and binfmt_misc, but it doesn't come by default. It should be the default. Nobody should be distributing binary Linux applications in this day and age, especiall
109.
▲
by
Asooka
2y ago
It would at least be useful for food delivery, since the packaging on that doesn't need to last more than a few hours tops.
110.
▲
by
Asooka
2y ago
The limiting factor is what can the UI designer wrap their head around. If your system is pure and elegant but can only be understood by the top 5% of developers, it will never catch on. To be blunt, it has to be simple enough to be usable
111.
▲
by
Asooka
2y ago
>Is the only way of getting and preserving media piracy now? Piracy is illegal and unethical. You are stealing the property of the rightful owners of the content when you pirate. Yes, copying IS theft - you are depriving the owner of the
112.
▲
by
Asooka
2y ago
The problem is that policing hate speech creates a police state worse than allowing hate speech to exist. The system you need to create to police the hate speech will result in more violence against people than letting the hate speech exist
113.
▲
by
Asooka
2y ago
The left took a hard stance in support of forcing COVID-19 vaccines based on mRNA technology (i.e. Pfizer's, Moderna's, etc.) on everyone, so now coronavirus (i.e. flu) vaccines are a left/right issue. My anecdotal evidence f
114.
▲
by
Asooka
2y ago
You also can't put in Cyrillic or CJK characters. It's a user name, not a human name, you should be fine just using the 26 ASCII letters for it. Basically anything that is a computer-centric string should be only ASCII and nothing
115.
▲
by
Asooka
2y ago
Honestly we probably need IPv7 to roll back most of the things from IPv6 and be closer to IPv4x4. IPv6 is now older than IPv4 was at the time IPv6 was invented. Heck, I would have probably simply added an Options flag for "long address
116.
▲
by
Asooka
2y ago
Back in the CRT days my speakers would make noise whenever I scrolled a website, lol.
117.
▲
by
Asooka
2y ago
It's an entirely nonsense argument. Akin to arguing that algebra is nondeterministic with "zero divided by zero is a random number, because any number times zero is zero". In the case of classical physics, we come to a singul
118.
▲
by
Asooka
2y ago
Exactly. Even if it is not entirely correct, the single-origin "out of Africa" theory is extremely useful in fostering unity and stamping out racism amongst people. We need to be really careful in how we present scientific advance
119.
▲
by
Asooka
2y ago
I would say the proper solution is to add another grid for the second derivative, this time matching the original grid. That is grid 0: water height in each cell grid 1: water flow at each edge (first derivative) grid 2: water acceleration
120.
▲
by
Asooka
2y ago
Why is there latency beyond a single frame at all?? I did a very quick replica of the camera frame counting on Windows with a 144Hz display and it's definitely below the camera's 60FPS, i.e. the cursor moves on the same frame that
More ›