skysight-inc/HackerNews huggingface dataset:
Huge motive: gain access to "free" compute and storage resources. If they have GPU stacks too you can put ML to use for further penetration.
> clone() is stupid ... the clone(2) design, or its maintainers, encourages a proliferation of flags, which means one must constantly pay attention to the possible need to add new flags at existing call sites.

IMHO a bigger problem [2] in practice with clone is that (according to glibc maintainers) once your program calls it, you can't call any glibc function anymore. [1] Essentially the raw syscall is a tool for the libc implementation to use. The libc implementation hasn't provided a wrapper for programs to use which maintains the libc's internal invariants about things like (IIUC) thread-local storage for errno.

The author's aforkx implementation is something that glibc maintainers could (and maybe should) provide, but my understanding is that you can get in trouble by implementing it yourself.

[1] https://github.com/rust-lang/rust/issues/89522#issuecomment-...

[2] editing to add: or at least a more concrete expression of the problem. Wouldn't surprise me if they haven't provided this wrapper in part because the proliferation the author mentioned makes it difficult for them to do so.
The lexicographic sort isn't arbitrary:

1 = 2^0 / 1 ~= 2^0
1.28 = 2^7 / 100 ~= 2^7/(2^6.6439) ~= 2^(7 - 6.6439) ~= 2^0.3561
1.6 = 2^4 / 10 ~= 2^4/(2^3.3219) ~= 2^(4 - 3.3219) ~= 2^0.6780
2.00 = 2^1 / 1 ~= 2^1
2.56 = 2^8 / 100 ~= 2^8/(2^6.6439) ~= 2^(8 - 6.6439) ~= 2^1.3561
3.2 = 2^5 / 10 ~= 2^5/(2^3.3219) ~= 2^(5 - 3.3219) ~= 2^1.6780
4.0 = 2^2 / 1 = 2^2
6.4 = 2^6 / 10 ~= 2^6/(2^3.3219) ~= 2^(6 - 3.3219) ~= 2^2.6780
8.0 = 2^3 / 1 = 2^3

Differences between those powers of two:

0.3561
0.3219
0.3220
0.3561
0.3219

These increments are close to 1/3 which is what you need to divide the musical octave (frequency doubling) into 3 steps:

2^(0/3) = 1
2^(1/3) ~= 1.2599
2^(2/3) ~= 1.5784
2^(3/3) = 2

There is a well-known relationship that when you divide a frequency factor of 10 into 10 steps,
you get approximately three steps per musical octave (frequency doubling). You can see this on any 31 band graphical equalizer. This relies on the "coincidence" seen the other table shown:

10^0.0 = 1
10^0.1 ~= 1.2589
10^0.2 ~= 1.5849
10^0.3 = 1.9953

The geometric decade steps provide a close-to-exact doubling also, every three steps.

Right, so where did I get those 6.6439 and 3.3219 numbers? Those are just the approximations of log2(100) and log2(10).

At the heart of the "lexicographic coincidence" seems to be the observation that these logarithms have .64 and .32 fractional parts, or about 2/3 and 1/3.

So for instance since 100 = 2^(log2(100), we can rewrite 1.28 as 128 / 2^(log2(100) which is 2^7/2^(log2(100)).

So then we have powers of two on top and bottom and can subtract them: 2^(7 - log2(100)), which is where we get 7 - 6.6439 = 0.3561.
https://en.wikipedia.org/wiki/Food_irradiation
Salaries closer aligned with the productivity in our field will massively increase inequality.
> which is up for debate in this instance

It's not up for debate. The Russian army acts on behalf of Russia. Therefore the whole of Russia is collectively responsible for the actions of the Russian army.
Right, if the question is asking about exporting your book lists from Goodreads and then (eventually) importing them into Booqsi, that's definitely allowed.
I'm not GP, but your replies in this thread read as arrogant. If you're getting called out by multiple people, it is probably not them — and sure, you may have good intentions, but they are not coming across as you think.
IEC is inertial electrostatic confinement: fusors and polywells. Conduction through the confinement/accelerator coils being immersed in the plasma reduces the confinement time lengths far too short for a reactor.
Interesting piece with revealing quotes:

> One, the owner of an advertising services company with 100 employees, said that he was about to announce to his employees this afternoon that he is leaving the country for Armenia with his wife and two sons.

> “I’m going to tell them that we are going into a crisis that we have never experienced before,” he said. “It’s like flying on a plane with no engines or the engines are on fire.”

> His company, which handles contracts for international brands like Pepsi and automakers like Volkswagen, was booming as recently as January 2022, a record month for them. Now many of those brands were pulling out of the Russian market and his business was shrinking “immensely”.

> Another business owner with hundreds of employees in the food and beverage and tourism industries felt that he was completely in the dark about the future under Vladimir Putin.

> “We have no fucking clue what he will do next,” he said. “No one in the business community has a clue any more. Everyone is so depressed. I have experienced so many economic crises here, the pandemic being the latest.

> “But there was always a reason to keep on fighting for your business,” he said. “Now, I don’t see the light at the end of the tunnel any more. Even if peace is achieved, the damage is done. How do we reverse it?”
I didn't say "every nanosecond". Every millisecond might still need high end semiconductors.
Why not? Did you increase your life quality according to your new high salary?
App developer's perspective. I have a few apps on all major places, including F-Droid. The 'no user accounts' thing makes developing and distributing on F-Droid a freeing experience, as compared to the G/A 'jails'. There is no pressure to meet arbitrary undocumented restrictions, you are not subject to the whims of dehumanizing AI routines, there are no ratings and reviews (the feedback is direct). The build and deployment process is not really my problem, as part of their Reproducible Builds, even that aspect is taken care of. https://f-droid.org/en/docs/Reproducible_Builds/
The trouble is, if you post salary range from X to Y, most candidates will expect getting Y and will be permanently unhappy with their new position if they get closer to X. It is simple psychology.

Then what about the candidates that are so good that you want to pay them more?

I fully expect that best candidates will still be able to negotiate better than the official salary range.
Do people not need estimate scale order of magnitude check and any number of other common tasks?

I hold a number of mental models that I used to make all sorts of decisions. These don't need to be precise oh, but I often need them to be fast and or handy.

Sometimes one needs the math just to think about things.

Always needing a machine transfer the data in and out input and all of that is a real pain in the ass sometimes. Who wants that dependency?
Ukraine has more reason than most countries to want to be a part of NATO, given that Russia invaded it in 2014 and seized territory. This war, to the extent it was provoked by anything other than Putin's hubris, was because Ukraine wants to join the EU, not because it was going to try and join NATO. Ukraine wanting its fortunes to look more like Poland's and less like Russia's is not a crime punishable by invasion, no matter what apologists blaming NATO expansion think.

In any case, Russia has existed for decades with NATO countries on its borders and not suffered an invasion. These countries have a lot of reason to fear that Russia does indeed seek to "reintegrate" them into an imperial state, given that Putin just confirmed that he seeks to do exactly that to Ukraine. The best way Russia can discourage its neighbors from joining NATO is by not giving them huge, existential reasons for doing so.
So is Russia.

Like one Russian said: "We have the most of everything: water, land, gold, steel, coal, wood, wheat, whatere you can think of. But our lives and living standards are so bad!"
Copy-on-write is supposed to be cheap, but in fact it's not. MMU/TLB manipulations are very slow. Page faults are slow. So the common thing now is to just copy the entire resident set size (well, the writable pages in it), and if that is large, that too is slow.
I didn't look at the previous posts you mention, but TFA is what I would consider of interest and curiosity. I didn't find it at all to be self promotion. You have to read to the bottom of the post before you are told what repography is selling.
both are terrible concepts. Languages are supposed to help humans, or else we should all write assembly.
Any Firefox alternatives?
Quantum computing for the curious (2019)
How do you solve problems arising from bad actors without an object representing the user?
Elba?
I might suggest just removing your reply, it's seeming rather unhinged and disconnected from the facts at hand.
“We don’t though.” <—- I agree as far as the U.S. is concerned. Individual rights of American citizens are not threatened.
Interesting. One never stops learning new git features...

However, while this works for git (i.e., maps old address to new address in "git log" for example), GitHub does not seem to honor this file.
There is a saying that the best way to judge the level of a restaurant is by checking how well the "common"/"normal" meals are done.
Windows doesn't have fork as you know it. It has a POSIX-ish fork-alike for compliance, but under the hood it's CreateThread[0] with some Magic.

in Windows, you create the thread with CreateThread, then are passed back a handle to that thread. You then can query the state of the thread using GetExitCodeThread[1] or if you need to wait for the thread to finish, you call WaitForSingleObject [2] with an Infinite timeout

Aside: WaitForSingleObject is how you track a bunch of stuff: semaphores, mutexes, processes, events, timers, etc.

The flipside of this is that Windows processes are buckets of handles: a Process object maintains a series of handles to (threads, files, sockets, WMI meters, etc), one of which happens to be the main thread. Once the main thread exits, the system goes back and cleans up (as it can) the rest of the threads. This is why sometimes you can get zombie'd processes holding onto a stuck thread.

This is also how it's a very cheap operation to interrogate what's going on in a process ala Process Explorer.

If I had to describe the difference between Windows and Linux at a process model level, I have to back up to the fundamental difference between the Linux and Windows programming models: Linux is is a kernel that has to hide its inner workings for its safety and security, passing wrapped versions of structures back and forth through the kernel-userspace boundary; Windows is a kernel that considers each portion of its core separated, isolated through ACLs, and where a handle to something can be passed around without worry. The windows ABI has been so fundamentally stable over 30 years now because so much of it is built around controlling object handles (which are allowed to change under the hood) rather than manipulation of of kernel primitives through syscalls.

Early WinNT was very restrictive and eased up a bit as development continued so that win9x software would run on it under the VDM. Since then, most windows software insecurities are the result of people making assumptions about what will or won't happen with a particular object's ACL.

There's a great overview of windows programming over at [3]. It covers primarily Win32, but gets into the NT kernel primitives and how it works.

A lot of work has gone into making Windows an object-oriented kernel; where Linux has been looking at C11 as a "next step" and considering if Rust makes sense as a kernel component, Windows likely has leftovers of Midori and Singularity [4] lingering in it that have gone onto be used for core functionality where it makes sense.

[0] https://docs.microsoft.com/en-us/windows/win32/api/processth... [1] https://docs.microsoft.com/en-us/windows/win32/api/processth... [2] https://docs.microsoft.com/en-us/windows/win32/api/synchapi/... [3] https://www.tenouk.com/cnwin32tutorials.html [4] https://www.microsoft.com/en-us/research/project/singularity...
One time I downloaded hopscotch, and it was sending network requests to download an asset (css file) on every keystroke. I'll never use it again. Ever.
Fusing hydrogen is easy, ionize it and accelerate the plasma with a voltage of on the order of 10 to 100 kV, hobbyists do this somewhat regularly. Doesn't sound too surprising that hitting hydrogen with gamma rays produces some fusion. But that's the crucial point, some fusion is not useful as an energy source, and not all fusion methods can be scaled up.
I often am a sucker for those. I'm 188cm tall (6'2-ish). Long legs. For about $10 per hour of flight time, I'll pay more for a couple extra inches of leg room.

During boarding, I have sometimes mentioned to the boarding agent or air staff that if someone in an exit row isn't able to perform the exit row duties, I'm happy to trade seats. A couple of times it's even worked.
Yes, as it is rewriting history. And that would be a massively bad idea.
Basically, you will be able to "feel" when numbers are wrong - without doing calculations or making an effort.

Then you of course have to check before you say something. But without that intuition you would not checked.
Is that easier than half of 14?
The way I have seen this addressed, in a way that seems fair and forthright to me as an applicant, is to create titles with job descriptions and requirements and minimum salaries for those titles, and advertise that you are looking to fill a position with one of the titles. Tell the applicant which title(s) they are interviewing for, and you both have a much better idea of what to expect.
Greg Egan writes true sci-fi. Exploring what-ifs further than anyone has explored them, and putting them up in story format so you don't have to be Einstein.
I'm on Firefox 97 on Windows 10, and it looks as intended for me.
I'm curious if anyone else is concerned about the downside to this. Once they post a range they have to follow it because of the legal implications. Many companies are willing to bend the budget for an exceptional candidate at the very top end. I worry that some of the senior roles that could have negotiated above the top end of the range will now be hamstrung by it. I know of several situations where a company thought the top of their range was somewhere around $260K and went up to $275K after seeing a candidate they really liked. They aren't likely to post the role with the extra $15K in it since if they post a role from $200K-$275K then most people are going to want $250K+ which is near what they thought the top of their range was.
You don't need that when Tesla (accidentally) does this themselves.

True story, had to manually fix vehicles (using SSH)
As much as we love the BBC, it's worth considering that the BBC's website is so comprehensive that it is part of the misfortunes of local independent news.

This is why the moreover.com "news from other websites" bit is on the BBC News site now (though it blows me away how poorly some independent websites populate that one opportunity to be seen, with weird autoscraped content snippets that are often comically weird)
I started off decades ago with stuff like Delphi, PHP, and Python, all without DI. About 2001 I started with C# and I found properly implemented DI in .Net to be a killer feature.

However I loved it so much that I then wrote my own Node DI package (property and constructor injection). It didn't take long before I abandoned the idea - Node doesn't really fit with DI.

And I feel the same about Go. Some languages (eg C#, Java) work amazing with DI. For some others (eg Node, Go) it simply feels wrong. I can't put my finger on why, but reading the sample Go code in the original article makes me feel how I do when (in film) I see a human body with a limb bent to an unnatural angle.

Just to clarify I'm all up for well designed IOC with Node and Go, I'm just unconvinced it should be done with DI.
>I don't remember these organisations pretending to be democratic (let alone having legions of fans online stating that they are)

Does it matter? They're still a bigger stumbling block to democracy than the EU's various collections of appointed positions are. All of the anti-democratic features you mentioned are present in other international bodies, but amped up to 11. It is unfair to single out the EU as wholly responsible for this.

Also, I feel the need to defend the EU on one other point: ratcheting. If you have a free trade area in which member nations are allowed to pick-and-choose each little bit of the EU treaties, then you lose the benefit of the EU, and just get a bunch of top-heavy bureaucracy with no other benefit. Furthermore, the things that the EU tends to be really adamant about - such as freedom-of-movement[0] - are essential for making the bloc work at all.

The EU has such dogged fans because people don't want things like freedom-of-movement taken away from them, and nobody's made a serious proposal for fixing the EU's problems aside from "leave and go back to having borders everywhere" or "federal Europe". Alternatively, they're Americans who happen to oppose strict immigration control[1] and, thus, oppose euroskeptics purely by association.

[0] This is also why the UK's original "free trade without freedom of movement" proposal was shot down so quickly. The biggest mistake the west made was convincing the whole world to let goods move faster than people do. This constitutes a transfer of power from labor to capital.

[1] As you might have already guessed from the previous footnote I am an American who opposes strict immigration control. I'll at least entertain the thought of the EU needing reforms, though.
If your employees find out that there is a 50% difference in their salary's for the same official job title I suspect that they are going to be very upset, unless you've been open and clear with them up front. Shrink your salary bands and break this out into different jobs, as a suggestion.
This is the problem with your argumentation or rather we seem to be having 2 different conversation

The topic here, I thought, was the problem with Electrics replacing the common car, highlight luxury example is not the point and I am not sure how you believe that refute the idea that batteries will be a liability for resell value

So far you are just tossing out example of vehicle resell with out explaining how or why this refutes my position that selling used electric vehicle will be increasing hard, thus lowering their resell value, if the uncerntiy of battery replacement costs loom in the future buyers mind.

no one is going to buy a 10 year ICE car if they think the engine will need to be replaced in 2 years, like wise no one is going to buy a 10 year old electric car if they think the battery (@$15,000) will need to be replaced in 2 years.

This fact will hurt the electric car adoption, and could / will prevent it from being anything more than a luxury item for rich people, who instead of being able to sell it to a less well off person, will have to sell it for scrap making our waste problem even worse
*anthropogenic
unpopular opinion: null pointers (in at least java and c) are the single greatest metaphor in software development, and are the CS analog to the invention of zero
The problem we're trying to solve is that existing book platforms don't provide the social features many book lovers are looking for and/or are archaically designed. The Amazon-less part is a bonus.
> I figured out long ago that one carrier always has the best rates for my city, middlemen rarely/never cost less

Is this WN out of Burbank or something? Your experience (to the first point) is not typical. To the second point, even restricting to one carrier, using a different ticketing carrier can indeed be advantageous, especially if you're using credit card-derived points.

Now, if you're at an airport only served by a single (U)LCC I can see both points but that seems rare.
Meta comment: Github Gist seems to be great for blogging. Yeah, the UI is not very blog-specific, but it has all the useful features, and then some: markdown, comments, hosting, an index of all posts, some measure of popularity (stars), a very detailed edit history, etc.

All without having to pay or setup anything yourself.
That may explain why the European ultra-low-cost airlines are even cheaper, while providing a similar service.

People who miss their flight on purpose aren't great for revenue (no vastly overpriced food, overweight luggage fees etc), but people who miss flights by mistake end up paying €250 (rather than €20) for the next flight.
Huh won't this just accelerate the alternate swift and other economic systems with BRICS countries ?

America and significant parts Europe are undergoing various forms of decline like economic stagnation, cultural violence, rising ultranationalists/populists, and energy independence issues.

Even China is making a move on taiwan, and the biden adminstration is trying to rush into talks with them.

I have a very different take, we are watching the end on a unipolar world, and the birth of true multipolar one.
> Can you elaborate on why "especially" UI threads/queues/processes are "usually single"?

I don't think there's a particularly insightful answer to this question here, it's just that UI frameworks are almost universally written with the assumption that they are only used from one thread. UI frameworks can also use functionality spread across multiple components/libraries/systems, and making an UI kit thread-safe would likely require a lot of effort for dubious benefit (user input normally has to be processed strictly in order because clicking on a button and then pressing "enter" is different from pressing enter and then clicking on a button).

There are some specific scenarios where multiple threads are safe in a UI. For example, it's relatively common to be able to pass off an OpenGL context to another thread... so you can do OpenGL rendering in a thread separate from the main UI thread, if you like. Some UI frameworks specifically support this use case, e.g., certain methods on the OpenGL widgets are described as thread-safe. Individual OpenGL contexts are also not thread-safe and must be used from a single thread at a time (and they usually involve some thread-local context).

The typical way you make a responsive UI is by doing only UI work in the UI thread, and passing off all long-running computations to background threads.
Oh I see, thanks for explaining!
Japanese Toponyms Englished
In that sense, the vast majority of inventions aren't original or created in a vacuum, we all build on the top of giants.
> If you could await in a regular function then that function would need to return a promise.

Why would it have to return a promise?
Rooster & Owl in DC has for the most part has spins on recognizable food and is $75 for a 4 course meal. Each course has a selection of 4 dishes and the food is served family style, so going with a group of 4 allows everyone to try the entire menu.
We get a clock resetter about every other week, and > 20 min outage maybe twice a year in New Hampshire.
Such a wonderful article!

I haven't dined in Michelin star restaurants, but a handful of very, very good ones for special occasions with my wife. The experience has been exactly as the the writer of that article had, every time. Great food is magical.
It's required when passing a path as argument to Explorer. That is, when you type "explorer C:/" in the Run box or on the command line, Explorer opens in the default folder instead of in C:\. That's probably because Explorer also accepts URLs, so "explorer file://C:/" does work. For some reason, the Explorer address bar behaves differently.
China is seeing what was communicated as a quick invasion of a city 60 miles from a land border turn into a slaughter. I bet they are now re-evaluating their own chances against the mountainous island littered with hidden bunkers and airstrips