skysight-inc/HackerNews huggingface dataset:
My wife had a Yoga 2in1 and I've been underwhelmed with the experience, "tent mode" is cool but as a tablet it's too chunky, as a laptop it's underwhelming.

In my experience - the only time I use attached keyboard/mouse is when I'm at the office and I need to join a call in the conference room or a call booth in co-working space - other than that I use external BT mouse and keyboard exclusively. For those use cases I think I could get away with using a touch screen, maybe if I needed to present - but I'd just pickup my keyboard/mouse in that scenario.
> "Studies looking into the diets of wealthy, highly educated communities, are looking at people who have the purchasing power and the knowledge to select plant-based diets that access the full nutrients normally contained in meat. Essentially, they have replaced meat with all the same nutrition meat provides."

This study says "living on only cereals is bad for you". It provides no new information for people living above the poverty line in first-world countries (unless you were considering being vegan by subsisting on potatoes).
They gave a Michelin star to a (Hainanese) chicken and rice stall at a hawker market in Singapore. I think it's mostly PR honestly because it wasn't all that interesting. The food was very tasty for sure, but it wasn't particularly refined or unique.
Really? That's interesting. I guess for some reason I had never considered that the sun would be taking in fresh fuel from is atmosphere. That is a little less exciting, but only a little bit.
Bit off topic, but I had no idea Josh Wardle also did Place and The Button at Reddit.
I would bet that most major security services have a list of known vulnerabilities they can exploit whenever they see a good reason to.
Audiobooks. Listen to them at faster speeds.
That's only true if you aren't testing in prod
>I thought the point of sanctions is to inflict enough financial damage to the Russian people in the hope that they will start to turn on Putin?

Primary of primary purposes is to reduce their ability to fund a war. War is very expensive, the reason for war can never be resources these days. These sanctions have certainly put a threshold of this war probably around 6 months.

Putin expected this to be over in 72 hours, he kind of needed it to be over in 72 hours.

The secondary possibility is that the Russian people oppose this and overthrow the government. That would be an ideal situation. I dont think that's necessarily high on what will happen.

If sanctions fail and an accident happens like invading or shooting at NATO. We won't be post-war. We start a world war in which Russia loses... just look how unified the world is against Russia.
This is a major overhaul of the code and docs in order to enable new macros.

I'm seeking constructive feedback here please, such as what could help you understand this, or what new kinds of test macros you would like, and the like.

Rust macros are turning out to be my favorite Rust feature-- the code flexibility across multiple types makes for good dynamic-like capabilities.
Can you be more specific?

How do you propose someone could stop someone from releasing a record they acquired publicly, exactly?

Seize it? Prohibit someone from saying something they found out via a public route on penalty of fine or prison?
Right now there is no problem, so if you have an existing relationship you could simply pre-pay for a year or so. You would obviously take some risk. You could also pre-pay to one individual that you trust and pay them, and then they can disburse as needed.

But regardless, with the war going on the future is very much fluid and whatever you choose may not end up working for much longer, besides that the people you want to hire may not be able to work for you for very long or even at all. But it certainly won't hurt to try, just make sure that your funds do not end up seized by invaders at some point.
> Some airlines (particularly non-U.S. ones) will completely void your ticket (meaning that it loses all value) if you miss a flight after checking in. (Most U.S. airlines do not do this.)

Does this mean that in the US, if I miss my flight, my ticket is still somehow valid? I have never heard of this.
The Doves
Every day is less impressive to create an entire product by one self, the ammount of tools created to simplify or automate common tasks give us a lot of work done.
Combine this with memorizing a small amount of facts about the world, like "the population of the united states".
If you know the population of new york, you're one step closer to the answer to that piano tuner example question.
https://podcasts.apple.com/us/podcast/scott-horton-show-just...
I am arguing, specifically, that your reverse proxy respects neither the spirit nor the letter of the AGPL and does not provide the kind of protections that you're claiming it would.

(Separately, if ever the words "come on" make their way into your response, or you have to try to invent an argument for another person so that you can simultaneously take it down, then your own argument is probably junk. Here you've done both.)
>So why is there not a fork-exec combo?

There is, posix_spawn.
Fork() is the second worst idea in programming, behind null pointers. Fork() is the reason overcommit exists, which is the reason my web browser crashes if I open too many tabs, and the reason the "safe" Rust programming language leaves software vulnerable to DOS attacks if it uses the standard library. It's a clear example of "worse is worse", and we should have switched to the Microsoft Windows model decades ago.

Here's a paper from Microsoft Research supporting this point of view:

https://www.microsoft.com/en-us/research/uploads/prod/2019/0...
' US culture is utterly intolerant of any kind of "spirit of the law" governance ...'
yet USA tolerates government immunity which leads to government bad actors having little fear of being successfully sued.
It's an allusion to a Charles Bukowski poem called "Art": "As the spirit wanes, the form appears."
The whole idea of fork is strange - the design pattern of "child process is executing exactly where the parent process is executing" is foreign to me. Don't we want to direct where the child process is executing? Like, when creating a thread? Why is fork() so conceptually orthogonal to that? Is there a good reason? A historical reason?

I don't find fork() to be obvious or useful or natural. I work hard to never do it.
Point 1 is an excellent observation.

By analogy, don't think of fine dining as a big-budget blockbuster film. It's not better than other movies by having the biggest setpieces, the most explosions, the hottest stars, and the loudest soundtracks. It's not just more more more.

Think of it more like an arthouse film. Fine dining should be some of the best food you've ever had, but it should also be different from what you've had. Since much of their clientele eats out often, they are seeking not just quality but novelty.
Google’s ‘anti-journalism’ approach bad news for democracy: ACCC boss
Double the distance, you get 1/4 the light. Double the distance, you get 1/4 the solid angle. The surface brightness of the object in your field of view therefore stays constant.
You think the (remaining) world response to Russia using nuclear weapons would be even remotely similar to the sanctions on Iran?
If you are going to supplement D3 over 5000iu, I would recommend getting a 25(OH)D blood test once or twice a year, ideally 2-3 months after each change in dose. Then compare your levels to the levels here and adjust dosage accordingly:
https://ods.od.nih.gov/factsheets/vitamind-healthprofessiona...

It may also be worth adjusting dosage between winter and summer months, depending on the amount of outdoor activity you do.
Unfortunately, there are problems with both of those approaches: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b...

I don't know if it extends to other language implementations, but C# does not seem to have a reliable sync-over-async story.
Amazon Opens a Whole Foods with the Next Step in Automation
> 1. Don't go into a michelin level restaurant expecting "well it's expensive so it should be what I normally eat but better", think of it as its own category of food

This cuts both ways. Cheaper, unique or local places shouldn’t be thought of as the same food you’re used to just a different place.

Like if you order an omelette at Waffle House expecting something like you make at home, you’re gonna be disappointed. But that’s not what it’s supposed to be, it just shares a name with that you’re used to.
is it worth the complication of learning about the different color space options for the average developer? why aren't hex values 'good enough'? it's unclear (as a non-specialist) what problems those options are trying to solve.
You contradict yourself.

If humans spend same proportion of income on lumens, and you get more lumens per watt, then you will use less wattage per the same proportion of income. Ergo LEDs are more efficient.
Dennis Richie addresses this in a history of early Unix:
https://www.bell-labs.com/usr/dmr/www/hist.html

"Process control in its modern form was designed and implemented within a couple of days. It is astonishing how easily it fitted into the existing system; at the same time it is easy to see how some of the slightly unusual features of the design are present precisely because they represented small, easily-coded changes to what existed. A good example is the separation of the fork and exec functions. The most common model for the creation of new processes involves specifying a program for the process to execute; in Unix, a forked process continues to run the same program as its parent until it performs an explicit exec. The separation of the functions is certainly not unique to Unix, and in fact it was present in the Berkeley time-sharing system [2], which was well-known to Thompson. Still, it seems reasonable to suppose that it exists in Unix mainly because of the ease with which fork could be implemented without changing much else."
There's no performance benefit. Promises/callbacks are abstractions which live in a much higher level programming space.

Incidentally, many high level programming languages _don't_ include GOTO, because people find it needlessly confusing and inhuman.
The lightweight response is to repeal the law.
Can't you just setup one sacrificial account to grab the question pool, pass it out for distribution to solve, gather it back up, then step through the question pool with the solution set? Essentially they just collect the questions and answer something knowing the run won't be a success.

Unless these questions are sampled from a larger question pool, a single registration sacrifice for Intel gathering seems worth the cost. You can even distribute the loses to your pool after. Worst case scenario your group loses the admission fee + adminision fee/group size.
That is good to know. Unfortunately, we do not have any existing relationships.
First there would have to be Russian CAs. There aren't any. Most likely because Russians wouldn't trust a Russian CA, so what's the point setting one up?

If against the odds somebody had built a trustworthy Russian CA and it was currently in the root trust store for Firefox (and so likely everything else) then we might have this question to ponder, although the answer is likely "No" since this hypothetical CA isn't doing anything wrong, but that's a hypothetical very different from reality.
It's not necessarily unquantifiable -- the kernel can count the not-yet-copied pages pessimistically as allocated memory, triggering OOM allocation failures if the amount of potential memory usage is greater than RAM. IIUC, this is how Linux vm.overcommit_memory[1] mode 2 works, if overcommit_ratio = 100.

However, if an application is written to assume that it can fork a ton and rely on COW to not trigger OOM, it obviously won't work under mode 2.

[1] https://www.kernel.org/doc/Documentation/vm/overcommit-accou...

> 2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap + a configurable amount (default is 50%) of physical RAM.

> Depending on the amount you use, in most situations this means a process will not be killed while accessing pages but will receive errors on memory allocation as appropriate.

> Useful for applications that want to guarantee their memory allocations will be available in the future without having to initialize every page.
Apologies for being an internet corrector, but it's actually "tartare," from the old French belief (or perhaps joke) that the Golden Horde Tatars didn't have time to cook their meat when on the move. So they just softened it under their saddles as they rode, then ate it raw.

Kind of funny that such a now-fancy food is supposed to taste as if you ate it from under a nomad's butt.
Sorry, misread.

Yes, you could symmetrically encrypt the tiny portion of personal data that needs to be read solely by you without much added complexity.

However, with few exceptions (password managers, backups, personal notes, etc), the whole point of uploading data to an online service is to allow it to be shared with other people or services. Once that happens, you need all those complicated key management and security systems I just talked about. It's effectively end-to-end encryption.
Forth, and Chuck, and SVFIG, have all had a profound effect on my journey as a programmer. I strongly recommend A Problem-Oriented Language to anyone seeking a better understanding of the history and philosophy of computer programming.
Once it has access to the DOM, sure
Surely you don't mean the 20th parallel, right? That would include most of the population of the world wouldn't it?

https://en.wikipedia.org/wiki/20th_parallel_north
(This is particularly useful for shells.)
Being able to do quick basic math is also very useful outside of business. A lot of people have no idea how much financing of something like a car will really cost them. Or the decision buy vs rent. Obviously there are a lot of other factors and you will want to check your numbers before making a final decision but I find it very useful to make a quick calculation as a baseline.
Hoppscotch and other gQL clients allow introspection on the GraphQL schema so you get a API reference out-of-the-box. Makes it super easy to write queries and mutations.
The Jones Act can be broken into 3 parts:

1. transported on ships that are built

We want to maintain domestic shipyard capacity and not have the only shipyards be those that are government contractors. Why? Imagine if we are ever in a situation where we need Liberty Ships again.

2. transported on ships that are owned,

We want to both protect domestic owners as well as be able to hold them accountable if they screw up. You sometimes hear stories about ships abandoned by their owners and the crew forced to stay on the vessel. Or abandoned cargo such as the fertilizer that caused the Beirut blast. We want to minimize those situations.

3. transported on ships that are operated

We want the people working the ships to be invested in our country and we want to maintain a population with these skills. Why? In the event of a Liberty Ship situation, you need people to crew them. But also accountability, who is more likely to report the captain ordering waste oil to be dumped overboard: A US citizen who knows the rules or a sailor from Indonesia whose passport is being held by the captain?

There is a large amount of intercostal and waterway shipping that takes place in the US, grain down the Mississippi, steel on the Great Lakes. Do we want that to be open to Iranian or North Korean ships?

Lastly, the Jones Act only applies to goods shipped between US ports. So if Hawaii is buying Russian gas from Russia, as long as the ship goes from Russia to Hawaii the Jones Act doesn't apply.
I can't recommend BetterTouchTool enough for touch bars. You can setup custom buttons, gestures, widgets, etc.

On mine I do:
- A button to show desktop at the top left, so I can tap it, start dragging something, and tap again to drag things into windows

- some common function keys for editing

- links to work webpages and note files I use frequently

- Some shortcuts to system stuff: play/pause media, silence notifications, take a screen shot, etc.

- swiping with 2 fingers controls volume, 3 for screen brightness, 4 for keyboard backlight.

All of these have become second nature, and turned the touchbar from a nuisance
to disappointment future macbooks won't have them anymore.

Obviously it still may not be useful to you, but it might be worth trying the demo as long as you're stuck with it for now.

https://folivora.ai/
I agree with you, and although this question is probably a bit unusual: do we know for sure that those paperwork and structural changes did not already begin years ago?

(there have been rumblings and disquiet about the potential for conflict in this area for a long period of time, and we could hope that wise, co-operative politicians would prepare defensive plans in advance)
TL;DR if another thread is holding a lock when you fork that lock will be stuck locked in the child, but that thread that was using that lock no longer exists.

So if your multi-threaded program uses malloc you may fork while a global allocation lock is being held and you won't be able to use malloc or free in the child (thread-local caches aside).

There are other problems but this is the basic idea. To be fork-safe you need to allow any thread to just disappear (or halt forever) at any point in your program.
You can check this really me with similar post in topic PR

https://github.com/insky/vue-gpickr/pull/9#issuecomment-1054...
I didn't flag it, if that's what you're asking. But I do think the editorialization ("poison", "contamination") is unwarranted given what we actually know.
Ok, ask around if someone else, possibly right here on HN has a relationship with someone in Ukraine that they would trust with that kind of arrangement. I wished your post would get some more exposure that would help to maybe locate someone.
Compromised remote updates on self driving automobiles is scary. We’re probably one supply chain attack away from Teslas performing a DDoS attack in real life.
On many airlines they use check-in as a way to try to upsell you on higher priced seats or other services.
> The Americans are happy to fight Russia to the last Ukrainian, and to sanction Russia to the last European with five Euros in his pocket. It bears the brunt of sanctions against Russia just like it has with sanctions on Iran.

This is what happens when a country doesn't have powerful, natural enemies around it. If Canada were China and Mexico were North Korea, the neocons in Washington would be changing their diapers so many time a day that they would not have time to plan ways of shedding blood on other continents.

After Serbia-Kosovo, Afghanistan, Iraq, Libya, Syria and now Ukraine, I think the world should plead with the US to stop exporting "freedom and democracy" to their country. Henceforth, every leader who sees a foreign-funded color "revolution" in his country should treat it like the attempted coup that it is.
Throwing out some undercooked ideas for supernova-ing a star, from possible to impossible:

1. Throw more mass into it, ideally 1+ stars under their own power via Shkavov thruster.

2. Compress it physically with mirrors and particle/photon beams (see inertial confinement fusion)

3. Compress it magnetically with incredulously powerful magnetic fields (see tokamak fusion).

4. Compress it gravitationally by putting a black hole in its center.

5. Make it more explodey by converting half of its mass into antimatter.
fork with copy-on-write semantics avoids copying the whole address space. It does have to copy some data structures that manage virtual memory and maybe the first level of the paging structure(page directory or whatever).
Honestly and unironically yes, this sounds great. I don't want to build a career on protectionism. I would start a company tomorrow if quality software development labor was 40% cheaper, it would make so many use cases economical.
For deciding if it makes sense to buy a house or finance a car. Or if a high deductible health plan makes sense. It also helps with cooking. Math is all around you.
As an experiment a while back, I had tried in on a small project of mine that uses std::vector, std::string, and <algorithm> (though not a whole lot else). It built, ran, and passed my test suite.
Haute cuisine is like fine art. You can recognize the skill and significance of the achievement, but taste is still subjective. De gustibus non est disputandum.
There is exactly a fork-exec combo like that: it's called posix_spawn(): https://man7.org/linux/man-pages/man3/posix_spawn.3.html

I think the reason for fork() and exec() as primitives goes back to the early days Unix design philosophy. Unix tends to favour "easy and simple for the OS to implement" rather than "convenient for user processes to use". (For another example of that, see the mess around EINTR.) fork() in early unix was not a lot of code, and splitting into fork/exec means two simple syscalls rather than needing a lot of extra fiddly parameters to set up things like file descriptors for the child.

There's a bit on this in "The Evolution of the UNIX Time-Sharing System" at https://www.bell-labs.com/usr/dmr/www/hist.html -- "The separation of the functions is certainly not unique to Unix, and in fact it was present in the Berkeley time-sharing system [2], which was well-known to Thompson. Still, it seems reasonable to suppose that it exists in Unix mainly because of the ease with which fork could be implemented without changing much else." It says the initial fork syscall only needed 27 lines of assembly code...

(Edit: I see while I was typing that other commenters also noted both the existence of posix_spawn and that quote...)
Most great artistic works are the creation of a single human: Shakespeare, Mozart, Da Vinci, etc.
> I was saying why that might not be the case.

I'm still not sure of this case. perhaps you could explain it in a bit more detail?
I love the Met but have never tried it for lunch. Will now.
Because JS is single-threaded¹ and is designed for use on the web. If you block that thread, then all event processing ceases—button clicks don't register, scroll events don't fire, etc. So all JS API's are designed to be non-blocking.

¹Not really, but close enough.

Originally, this was resolved via callbacks:

doSomething((err, result) => {
if (err) { ...failure code... }
...success code...
}

But that got very clunky, resulting in something called "callback hell" and the "callback pyramid of doom." So promises were introduced:

doSomething().then((result) => {
...success code...
}).catch((err) => {
...failure code...
});

But that's also clunky, so the async/await syntax was introduced:

try {
let result = await doSomething();
...success code...
}
catch (err) {
...failure code...
}

And that's actually quite pleasant to use.
So are you objecting only to me responding to personal attacks with “fuck off” or is there something else too?

As far as I see it, there is absolutely nothing wrong with my top level comment. It contains more substance than almost all other comments here, and referring to people exploiting a war for twitter followers as “idiots” is hardly inappropriate.
Another user of the model 1; I think the palm button is one of the best things about it. Makes using layers extremely low effort.
fork()–exec() separation indeed exists for historical reasons: https://www.bell-labs.com/usr/dmr/www/hist.html

Search for the phrase "Process control in its modern form was designed and implemented within a couple of days."
I believe it relates to being able to approach a gate agent and having them rebook you on a later/tomorrow flight as a courtesy, after you checked-in but missed a flight because you dozed off, didn't watch the time, had a medical issue, couldn't find the gate in a huge airport, missed the connection from an inbound flight, etc. Really it's an extension of the US customer service ethos.
Interesting take. If you don't mind explaining, what is the MS Windows model in in this context?