skysight-inc/HackerNews huggingface dataset:
Yep, it's a genius move by the Germans.

The actual secretary of state is from the Green party, Annalena Baerbock. She just deployed some great pragmatic & lateral thinking. They have an American lobbying as their official representative for their cause on the international stage and the US (obviously). And they export renewable tech to America. Win win. Move the cause further while doing some business.

I wouldn't necessarily have voted for the green party in Germany (I live here but I am not a German national), but this is both very rational and very smart. Loving it.
Also, mandating copy-on-write as an implementation strategy is a huge burden to place on the host. Now you’ve made the amount of memory a process is is using unquantifiable.
CS classes (and, far too often, professional programmers) talk about computers like they're just faster PDP-11s with fundamentally the same performance characteristics.
Ask HN: Any good Podcasts which cover the War in Ukraine?
> If it specifies track length they will just build track that long, if it specifies minimum geographic distance they will find a further port.

I wonder what the law would have to say to produce the legislators' intended result. Possibly they could require companies to define, for each journey:

* Point A - the average(?) location of where the fish are caught, and

* Point B - the average(?) location where the fish are sold to the public or stored (for the majority of the time they are stored).

Then there could be some requirement that there be two points, C and D, with the following properties:

* the fish pass through points C and D on their way from point A to point B,

* points C and D are on the main Canadian rail network (such that most rail track in Canada can be reached by a train starting at point C or point D),

* the minimum rail distance between points C and D is some percentage P of the straight line distance between A and B, and

* the fish travel only by rail between points C and D.

The precise value of "P" would have to be chosen by looking at examples of intended paths and thinking of possible unintended paths.
They did put it in a salt mine that was prone to water intrusions and not stable because it was mined/hollowed out. Maybe just dont do that without giving up the whole concept.

Over those time frames that you mentioned the waste mostly the toxic properties are important. Btw how are we handling all that toxic chemical waste that is going to be toxic and dangerous not only for hundreds but thousands of millenia. Maybe we could just put it there.
They are lawyers. „Pathetic“ is the after-shave they use. “Liability” is the nickname for the kid they secretly loath. “Blame” is a verb.
Testing Ansible Playbooks with Molecule
2pm is a rough time to leave to get a good nights sleep. If the flight is 11 hours, that would mean that it's 1am circadian time when he arrives, and 10:00am in reality. On a flight like that, does an airline serve dinner after takeoff and then dim the lights?

I think personally I'd want to finish eating and start to sleep at 8:00pm or so origin time, and hope to get 3-4 hours in. This is basically what I do in flights from the east coast to europe, give or take a couple hours.

For me, I am too big to even consider really sleeping in economy and I try for business class if it's affordable or premium economy for overnight flights. I do drink alcohol, because I think it puts me to sleep faster, and while normally it disrupts my sleep, if I'm only sleeping a few hours me sleep is disrupted anyway so might as well enjoy myself and get to sleep a bit.

That all said, I wish I had a system and the discipline of the parent commentor to be able to deal well with it, I am always exhausted the next day
Thanks for your wonderful feedback.

I understood my mistake. I think the article humor has not been received as intended, that's why I added a disclaimer in the top level of the article to contextualize it a little bit more. Hope I've not done any harm to their infrastructure.

I'll definitely take care to this in my next articles.

I also trimmed a bit the long code of the w() function, making the article easier to read.
>Social media destroyed humanity

It's also getting the word out really quickly. There's good and bad.

At least it's not getting covered up for years like the last major Russia on Ukraine atrocity https://en.wikipedia.org/wiki/Holodomor
In short, fork() mixes poorly with multi-threaded code (and has some security footguns like needing to explicitly unshare elements of environment which may be sensitive, such as file descriptors (suddenly you need to know all the file descriptors used in the whole program from a single place in code)). Here is a well-written comment about fork() from David Chisnall: <https://lobste.rs/s/cowy6y/fork_road_2019#c_zec42d>

Additionally, the fork()+exec() idiom practically forces OS designers into a corner where they simply have to implement Copy-on-Write for virtual memory pages, or otherwise the whole userspace using this idiom is going to be terribly slow. Without the fork()+exec() idiom you don't need CoW to be efficient.
Agreed.

And not only Hawaii, many other places too. The costs fell on Puerto Rico when Congress refused to lift the Jones requirements to ease shipping costs even after the hurricane left them desperate for supplies. I guess the national priority fo ensuring a home-based merchant marine fleet outweighed people's need for toilet paper and medical supplies.
Nah, F keys would be a 6th row. It shows up most acutely on the right hand, where in keyboards in this dimension you would expect to see keys underneath the series "nm,./" which might (in my configuration) look like arrow up, down, [ and ]. This is also where you would expect {} to live. Not having an easy place to put these likely means you will have to put them in a layer. Swapping to layers to do [{}] as well as moving the insertion point in text up/down is a non-starter for me.
> Limit red meat, and avoid processed meats such as bacon and sausage.

https://www.hsph.harvard.edu/nutritionsource/healthy-eating-...
I agree with 2. I have found that working on the hard parts triggers the realization that something needs to change on my inputs, outputs, or the whole way I am thinking about it much more often than the easy parts do. So I save the easy parts for writing once I know the hard parts are going to work.
For anyone having RSI issues and considering upgrading to a split/ergo/ortho keyboard, I'd encourage you to look into the Advantage360[1], Glove80[2], and ZSA Moonlander[3] in addition to this one.

- Advantage360 - Pros: Concave key well, wireless, split, proven "real" company, proven ergonomics Cons: not low profile, not available until late 2022, not hotswap

- Glove80 - Pros: Concave key well, wireless, split, low profile switches and caps, ergonomics look excellent Cons: Kickstarter, not available until late 2022, not hotswap, low profile switches & POM caps harder to replace

- Moonlander - Pros: Available now from reputable company, hot swappable switches and caps, split Cons: No concave key well, thumb cluster difficult to reach, ergonomics don't seem as "comfortable". This one seems to be the most direct competitor to the one in OP, though the dygma's thumb cluster seems much closer (good for reachability but might get in the way?).

After eyeing mech keyboards for ~1yr (analysis paralysis...) I decided to back the Glove80 and hope they ship in a reasonable timeframe.

[1] https://kinesis-ergo.com/keyboards/advantage360/
[2] https://www.kickstarter.com/projects/moergo/glove80-the-incr...
[3] https://www.zsa.io/moonlander/
Let me guess... judyrecords.com collected these by iterating over some chronological id that didn't properly check if someone has read rights.

edit: would love to check, but[0]

> The State Bar Court Portal will be unavailable from February 25th to February 28th due to maintenance activities. During this time the Case Search and Court Calendar functionality will not be available.

[0] https://apps.statebarcourt.ca.gov/dockets.aspx via https://www.statebarcourt.ca.gov/Public-Records-Information
There is an official Android app[0], it's linked on the developer's main page[1]—but weirdly enough not on the homepage.

[0] https://play.google.com/store/apps/details?id=com.Aerfish.Un...
[1] https://www.aerfish.com/
The more obvious motivation that the article doesn't touch on for some reason is that this change is a strategic move to reduce cancellations by drivers. Typically what would happen is a driver get a request, accept and then find out after the fact that it was sending them to some really far off location that didn't align with their upcoming plans (like going home or another job or whatever)

The article mentions that the historic data from California showed that its fears of discrimination were unfounded, so it only makes sense that they would roll this out, since ability to plan ahead has always been a pain point for drivers. Uber has historically backtracked on a bunch of things it once considered taboo, most notably tips and cash fares. So really no surprise that they're trying this as an attempt to improve drivers' life.

If you think about it, it kinda makes sense to let a driver only accept a trip if they actually are ok with it, rather than pairing the first driver that blindly accepts a trip and then proceed to piss them off with an inconvenient drop off area. There's almost always a second or third driver willing to take that job instead, if you're going to lean on economies of scale.
There is, drop down at the the top (next to the request).
And the Advantage 360 is coming soon!
This blog post has some interesting works, visualizing sound in very different ways.

https://en.99designs.com.co/blog/design-other/sound-visualiz...

Especially this one contains a lot o things of what you seem to by trying to do. https://vimeo.com/111593305

That said, I don't think you will get very interesting patterns from rain without quite some pre-processing, because rain sound is fairly close to just brown noise.

E.g. what I would try top of mind is to filter out only few of very load drops and start working only with them for the visuals, mixing the rest back in audio only as calming background. It's still going to be random, but should be able to make it to look much more interesting.

Also stereo recording will make a big difference for the audiovisual experience.
Mens rea is honestly a mistake.

I don't care what the org "intended" to do. The org assumed the responsibility of providing an API and with it the responsibility of securing private data. They failed and should be held culpable.

Boeing doesn't call it a "cyberattack" when their altitude control systems fail because of poor design.
German publicly funded open source projects
when you use `await a`, a is wrapped in a promise. Try returning await a - you get a promise and not the literal. In your example you don't use the promise, and a is a literal.

> async function test() {

let a = "yep";
return await a;

}

> let b = test()

> console.log(b)

> Promise {
'yep',
[Symbol(async_id_symbol)]: 1215,
[Symbol(trigger_async_id_symbol)]: 5,
[Symbol(destroyed)]: { destroyed: false }
}

The promise you create with `await a` resolves immediately (equivalent to Promise.resolve(a)), but it's still a promise.
Is not that the thing? Working in software I am already competing with the world. My job could get out-sourced tomorrow, but apparently that does not happen.

See the difference? Value vs. cost. Very different.
I like this tool for previewing many drop-in CSS frameworks (doesn't look like Almond is in the list yet):

https://dohliam.github.io/dropin-minimal-css/
Forth itself is far more amazing considering the time period it was made. Chuck created self hosting OS's on KiB of ram, allowing an iterative development cycle when most OS's ran on computers the size of a refrigerator
Wt is a frontend framework with some JavaScript components, so you are actually redistributing it.
How to take credit for someone else's work on GitHub
That's backwards from my experience, which is that most users of fork() only do "fork; child does small amount of setup, eg closing file descriptors; exec". Shells are one of the few programs that do serious work in the child, because the POSIX shell semantics surface "create a subshell and do..." to the shell user, and then the natural way to implement that when you're evaluating an expression tree is "fork, and let the child process continue evaluating as a long-lived process continuing to execute as the same shell binary". (Depending on what's in that sub-tree of the expression, it might eventually exec, but it equally might not.)

Many years back I worked on an rtos that had no fork(), only a 'spawn new process' primitive (it didn't use an MMU and all processes shared an address space, so fork would have been hard). Most unixy programs were easy to port, because you could just replace the fork-tweak-exec sequence with an appropriate spawn call. The shells (bash, ash I think were the two I looked at) were practically impossible to port -- at any rate, we never found it worth the effort, though I think with a lot of effort and willingness to carry invasive local patches it could have been done.
That is some utterly tone deaf copy writing.
Exposure Fusion – local tonemapping for real-time rendering
Occam's razor is not a law. It is just a heuristic to consider scientific hypothesis. If you believe something just because of Occam's razor (without any other evidence) I would say this is not very scientific.
This. Given that a lot of your customers are gonna be engineers, probably better not to make jokes about cracking the whip :)
amazing that you can judge whats rational for Putin to do and what not.
quite an arm chair strategist you are, arent you?
The writing for shows is team based. Its just not this way for lit. I think it's just a cultural habitual thing. No real logic behind why.

Japan still uses fax machines. No logical reasoning behind why.
Ongoing thread:

Toyota suspends domestic factory operations after suspected cyber attack - https://news.ycombinator.com/item?id=30500753 - Feb 2022 (34 comments)
The parent is saying that after the liquor runs out, cops come by with breathalyzers.
>I mean, fair's fair, many worlds doesn't give you probabilities. On the other hand, I'm not convinced saying "and then collapse happens" is an explanation for the Born rule anyway, seeing as collapse is just something magic that turns amplitudes into probability in the same way (mathematically) decoherence does.

An alternative explanation with as much physical evidence as the Many Worlds (MW) interpretation (i.e., none) could be that we are, in fact, part of a simulation[0] and the "wave function" properties of quanta aren't "real" (what is "real" in a simulation?), but rather are artifacts of speculative execution[1] on the part of the CPU executing the aforementioned simulation.

The idea there being that all possible branches are followed, but only the [correct|selected|randomly arrived at|etc.] events are incorporated into "reality."

That, of course, raises a number of questions:

1. How is it that we can perceive such speculative branch execution from inside a simulation executing on such a CPU?

2. What mechanism (algorithm? [pseudo]-random number generation? lookup table?) would be used to determine "actual" outcome from executing all possible code branches?

3. Like the "Many Worlds" hypothesis, treating quantum uncertainty as an artifact of "speculative execution" of all possible branches of simulation code isn't testable (at least not as far as I'm aware). As such, how do we use the scientific method to identify the most likely scenario?

I'm not advocating the position that we do, in fact, live in a simulation. Nor am I advocating the MW, Copenhagen or even Pilot-wave interpretations.

Rather, my point is that none of these interpretations are "science" in the sense of having falsifiable hypotheses. Unless and until we have the appropriate concepts/technology to test such hypotheses, all are just speculation/metaphysics.

That said, I also think it's useful to examine and (where possible) investigate such hypotheses, as that might give us a better understanding of the universe(s) we occupy.

[0] https://en.wikipedia.org/wiki/Simulation_hypothesis

[1] https://en.wikipedia.org/wiki/Speculative_execution

Edit: Clarified prose.
Plenty of things become super hard to find after no one cares about it anymore. High profile cases aren’t like that but most things are not high profile.

Just because you can’t make something 100% perfect doesn’t mean you shouldn’t try. Locks aren’t unbreakable. Seatbelts won’t always save you. Your cloud service won’t always stay up. Yet we use and build all these things and no one has an issue with it.

And for all intents and purposes, if court records are meant to be hidden to protect someone’s future chance of success, by all means we should do what we can.
Do you really find it strange that some software people just think of food as calories? As fuel? And that slightly "overcooked" bell peppers just isn't a good reason to optimize for taste, when it is just as reasonable to optimize for time?

I optimize my cooking for time. I'll make a chili. I have a crock pot that can be put directly on the burner. So I can throw in the onions and get them caramelized while I chop the peppers. After them I add the herbs, then meat, then take it off the burner and put it in the crockpot heater, and leave it for the next morning, at which point I have ten days of chili. And it taste real fucking good to me.

My desktop, keybindings, automation, etc, sure: mise-en-place. Because I am a software engineer not a chef.

That's really the point I was failing to make: mise-en-place has its time and its place.
The portion sizes usually factor in that you'll be ordering appetizers or multiple courses. But that jacks up the price a ton.
Looks like an interesting product overall though!
I'll take a stab:

In JavaScript, you only have one thread. You really don't want to block it for any length of time. IO tends to take time. So IO is always async. There's no way to turn something async into something synchronous without blocking your thread waiting.

Other languages do let you block a thread to wait for an async task to complete, JavaScript doesn't mostly because there is only one thread.
You are in a darkened corridor...
> Why would anyone ever want fork as a primitive?

fork() without exec() can make sense in the context of a process-per-connection application server (like SSH). I've also used it quite effectively as a threading alternative in some scripting languages.

> So why is there not a fork-exec combo?

There is; it's called posix_spawn(). Like a lot of POSIX APIs, it's kind of overcomplicated, but it does solve a lot of the problems with fork/exec.

> And as long as I'm asking stupid questions, why would anyone ever use vfork?

For processes with a very large address space, fork() can be an expensive operation. vfork() avoids that, so long as you can guarantee that it'll immediately be followed by an exec().
They can avoid that if you have to answer the questions in order one by one, without the possibility of going back to previous questions.
Yes, but if I am ok with stopping the world, why doesn't JS allow me to do so? Why do we need to have an entirely seperate api for sync http calls when allowing awaiting inside sync functions would have done the same thing?
Ask HN: How can we pay Ukrainians to work for us?
Our US-based non-profit, Open Law Library, would like to offer positions to Ukrainian developers. We would ideally like to pay for services weekly in advance, rather than arrears, to assist with immediate cash flow needs.

Does anybody have suggestions on the best way to provide payment? I understand Ukrainian banks are still up for now, so are wire transfers the most reliable, or should we use visa/master card e-gift cards? Something else?

Aside from the "who is hiring" posts tomorrow, are there any boards or services we should be posting to?

Thank you!

David Greisen
dgreisen@openlawlib.org
https://i.redd.it/jlx9wokn7tl31.jpg
Show HN: Assertables is a Rust crate of macros for “assert” testing (v5)
> A 10x return over a decade is pretty damn good

I think it was 100x
I agree, writing the code is usually just a fraction of the work but I've yet to see someone who is good at it, costs a quarter and doesn't care about the rest of the job. (Even without the costs quarter condition.)
To make an apple pie from scratch you must first invent the universe
Great article! I particularly appreciated the author's positive description of a good experience in a world where cynical takes are more dominant. Standout line for me from the article:

> When my bouche was adequately amused,
I would say you just need to develop a habit of pushing through. Set a goal to read a few pages a day either during lunch (or cut it a few minutes short) or before you go to bed.

Sometimes those examples can hit close to home with a certain situation that you have seen in the past or may encounter in the future. I do skim them if they don't really connect to me, but it's worth at least reading the first few sentences of each.
The company who made the app enabled other people to do it.
> So why is there not a fork-exec combo?

posix_spawn

> Why would anyone ever want fork as a primitive?

With fork you can very easily write a sever like mini_httpd:

https://acme.com/software/mini_httpd/

Or, in Unix shells:

# function1 and funtion2 are shell functions

$ function1 | grep foo | function2

here, the shell must fork a process (without exec) to run one of these functions.

For instance function1 might run in a fork, the grep is a fork and exec of course, and function2 could be in the shell's primary process.

In the POSIX shell language, fork is so tightly integrated that you can access it just by parenthesizing commands:

$ (cd /path/to/whatever; command) && other command

Everything in the parentheses is a sub-process; the effect of the cd, and any variable assignments, are lost (whether exported to the environment or not).

In Lisp terms, fork makes everything dynamically scoped, and rebinds it in the child's context: except for inherited resources like signal handlers and file descriptors.

Imagine every memory location having *earmuffs* like a defvar, and being bound to its current value by a giant let, and imagine that being blindingly efficient to do thanks to VM hardware.
You might want to move around some file descriptors if you don't want the child process to inherit your stdin/stdout/stderr (e.g. if you want to read the stdout of the process you launched, or give it some stdin).

And there does exist such a fork-exec combo - posix_spawn. It allows adding some "commands" of what file descriptor operations to do between the fork & exec before they're ever done, among some other things. But, as the article mentions, using it is annoying - you have to invoke various posix_spawn_file_actions_* functions, instead of the regular C functions you'd use.
Simple. If it costs more to replace him/her. Thats all theres to it.
Well, fork() is simple. No args, simple semantics.

Flexibility; you can set up pipes.

> why is there not a fork-exec combo

There is, the spawn calls mentioned.
I've been considering getting an ez? What don't you like about it?
Once I was in a meeting where someone was presenting from a spreadsheet. As the meeting was insanely boring I was entertaining myself double checking the math in the spreadsheet and spotted a formula error thanks to mental math. I don't recall that it changed anything, but the amount of smugness I felt when I pointed out the error and the presenter confirmed it was so great that I have a smug smile on my face even now, five or six years later, just thinking about it.
>Court records are public to prevent secret government courts from abusing people

Except of course, when "national security" is involved.
Singularity: Planet-scale, preemptive and elastic scheduling of AI workloads