skysight-inc/HackerNews huggingface dataset:
There won't be trains across Nebraska at all, no city pair has the population to support it. (maybe Kansas city to Omaha, but that isn't very far)

It doesn't take long to unload and reload a modern train. France and the US do bad, but there are better examples where it can be done in a minute.
Zig isn't memory safe but it's still leaps and bounds above C.

I have to admire the practicality of the approach they've been taking.
Is this written by a racist? http://www.catb.org/esr/writings/racism.html
Not exactly a great look for the fig employees though is it?
The article pretty much answers the question. This is part of the price discovery process in the extreme high end of what's basically a new market. There's a grader and an auction house that are relatively new developments in this market, and that makes big money collectors comfortable coming into what to this point had been much less formalized.

It's not the first time this has happened in a collectibles market, and it won't be the last.
I look at it this way: it's designed for engaged, prolonged discussion if and only if people continue to be interested enough in it to remember. If they aren't, activation energy falls below a certain threshold and attention naturally moves on to something else. That seems healthy for curious conversation, which fits the prime directive of HN (https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...).

What we don't do is resort to technical tricks to keep that energy buzzed up. We're optimizing for curiosity, not engagement.
> But that doesn't really help smaller universities or amateur astronomers

And the harm is... some long-exposure photos will have a small aberration if they don't compensate digitally. In exchange, fast Internet access continues to be limited to select areas or the extremely wealthy.
1 minute per station is perfectly doable if you dont have bad equipment and stations.
It's nice to have complex build/test setups with deep directory structures, I'm really happy this stuff exists and is being enhanced, but the flexibility kinda adds a barrier to getting started. It's also important to be able to just drop into a REPL, load some libraries and go.

I think the coolest thing in the pipeline is going to be `add-libs`: https://insideclojure.org/2018/05/04/add-lib/

I made a little orgmode literate demo that is selfcontained (no deps.edn) and even produces some inline SVG https://geokon-gh.github.io/literate-clojure.html

I hope this gets added into `core` and single file Clojure programs become a norm. Right now you still need to add tools.deps.alpha into your default user deps.ends for things to work. If this stuff gets into core you could finally send someone a file/gist and they could run it directly. I think that'd really improve the Clojure ecosystem. You can imagine sharing one-file issues/demos/examples and people don't need to reproduce your local setup or clone a whole repo
This is more a complaint about pytorch library than python language itself
> when you can just implement fast general-purpose calculations and use them to accelerate software rendering?

They are optimizing for different things.

CPUs are optimized for single-threaded performance, i.e. lower latency. They only have a few cores, but these cores are spending billions of transistors implementing cache hierarchy, reordering instructions, predicting branches with neural networks, predicting indirect branches, prefetching data from RAM, executing instructions speculatively with the ability to rollback, etc. All these things are very complicated, but they do help with latency.

GPUs don't care about latency. They only care about throughput on massively parallel workloads. For all these cases when a CPU needs to do something smart to minimize latency, GPU cores simply switch to another thread to do something else in the meantime. That's how they have count of cores measured in hundreds if not thousands.

One more thing, high-end CPUs run at ~4GHz to minimize latency, GPUs at 1-2GHz to maximize power efficiency.

The result is about an order of magnitude difference in throughput. Ryzen 9 5950X peaks at 1.8 TFlops FP32, yet similarly priced Radeon RX 6800 XT peaks at 17 TFlops.
I don't know. It's simply my intuition. I know that I would want the police to respond rapidly if I called them about a shooter. I also know that swatting deaths are rare enough to get broad news attention, whereas I rarely hear about people saved by rapid police response, though I know they exist.

I sometimes look at the Citizen app (though I don't have notifications on) and there seem to be multiple instances that would benefit from a rapid response daily - theft, threats, domestic violence, shots fired, etc. I myself recently witnessed a fight and another passerby called the police. The police arrived within minutes and settled what might've escalated into a worse situation. I'm not aware of any swattings in my location, let alone fatal ones.

I'd be curious to see data on this problem.
[2019/2020]. Not that this is going to change. Also not that controversial it seems.
There is a physics engine underneath, but the physics interactions are simplified for accelerated training. I.e. blocks that the agents carry can pass through other blocks, but the agents can't pass through blocks that are already placed. Such simplification allows the high throughput.

There is a section in the article that explains the motivation behind this: there are a lot of questions in embodied AI that can be answered with such simplified simulators, i.e. you need something more complex than Atari, but you don't need the full complexity of the real world.
Try to read past the first line.
> you have to fix your government

Part of what's wrong with my government is any yahoo can stop any infrastructure project or at least make it cost 10x what it should.
So it's like building a bridge... that needs to constantly withstand thousands of anonymous, usually untraceable, and always evolving terrorist attacks.
Not everyone has to be an expert on the shell to be good at their job.
The Zig approach is "memory safe in practice" vs "memory safe in theory". They don't have any aspirations to total memory safety like Rust, but they want to get most of the way there with a lot less overhead.

Basically they have a lot of runtime checks enabled in debug mode, where you do the majority of your testing, that are then disabled in the release binary.

Additionally the approach they've taken to allocators means that you can use special allocators for testing that can perform even more checks, including leak detection.

I think it's a great idea and a really interesting approach but it's definitely not as rigorous as what Rust provides.
> I gave up trying to navigate the Start Menu to launch programs around Win7 in disgust of Windows' continued "helpful" reorganisation of it.

Same, and I was annoyed about it briefly. Then I realized that hitting the Windows key and then typing the beginning of what I wanted (which gives you some combination of the Run command + searching the start menu) was way faster than navigating a menu. If I need a new text file, I can type "[Windows key] n o t e [enter]" in under a second.
Well, it was discovered in the process of developing Fig, and they posted it in their blog as a result. Where else?

You're right, it's not a great look for any project to post a criticism of another, largely unrelated project. But where else would they post it?

Posting it like this helps it get the exposure it needs. I think posting it to brew's bugtracker would just get it lost.
There is no way you can ask or expect police to show up to what may be an active shooter situation and be more passive. They may be entering a situation where split second reactions mean the difference between life and death.
I wasn't criticizing capitalism in relation to communism, and I didn't claim to prefer it. It's possible to regulate an economy to keep competition healthy and minimize the destructive aspects. I think the way our system gets better is through good-faith efforts of smart and ethical policy makers, curated and elected by an efficient democracy. There's plenty of work to be done to get closer to that ideal.
Please stop trying to win a debate. You haven't actually addressed what I or anyone else wrote. If you want people to discuss with you, understand they expect you to do the same.

A logical fallacy is an error in reasoning that is based on poor or faulty logic.
I frequently use the right click -> new menu in Windows to create new text files in a given folder (the only thing I use it for). It would be exceptionally obnoxious if they removed that feature.
Hacker News: The place where if you used the wrong kind of language as a teenager it should destroy your life at any age, but if you manipulate the police into killing someone you're just a thoughtless child who doesn't deserve firm consequences.
Yes, the Wikipedia article I referenced had 7 different methods of producing hydrogen. Of which 1 is popular now, the one that uses natural gas.

Is any hydrogen-using rocket currently fueled with something other than hydrogen from natural gas?

I totally get that it's interesting that it's possible that rocket launches might not be ultra polluting someday, but so far, ...
A thing to remember about GC is that it solves only one very important resource. Memory.

If your program loses track of which file handles are open, which database transactions are committed, which network sockets are connected, GC does not help you at all for those resources, when you are low on heap the system automatically looks for some garbage to get rid of, but when you are low on network sockets, the best it could try is hope that cleaning up garbage disconnects some of them for you.

Rust's lifetime tracking doesn't care why we are tracking the lifetime of each object. Maybe it just uses heap memory, but maybe it's a database transaction or a network socket. Either way though, at lifetime expiry it gets dropped, and that's where the resource gets cleaned up.

There are objects where that isn't good enough, but the vast majority of cases, and far more than under a GC, are solved by Rust's Drop trait.
This being HN, I can't help but wonder about an app for this. The cheap version helps prepare for the journey and does checkins (deluxe chatbot) that are queued by information gathered during the prep phase.

The deluxe version would provide a remote trip-sitter (credentialed/vetted/monitored/etc). That could get a detailed personal survey (the checkin) and be scheduled/on demand (if possible and at a premium).

Not a pathway to riches but I think it would make the world a better place.
Right, but the seller (who the IRS knows about) is the one who can clearly be suspected of being part of the laundering.

The IRS refers signs of money laundering to the relevant investigative agency, whether when a car wash mysteriously multiplies its earnings by 50x all in cash transactions, or when somebody suddenly gets mega-gigantic super-super-suspect capital gains.

The relevant agency is going to ask the auction house who the buyer was, the auction house is going to comply, they'll trace shell companies as needed, end of story. It's not anonymous once the police/feds start investigating.

Money laundering is successful when it stays hidden among seemingly normal transactions. Not when it sets splashy newsworthy records.
Wow - news to me! thanks.
Performance-enhancing psychedelics: Can LSD make you better at sport?
Any of those skills can be picked up at basically any job, further they require no foundational skills to learn.

That's why the pay is low, because the skill set is widely accessible. I'm not sure why people insist that these kind of jobs are teaching valuable skills.

All that is happening is the basic process of working. They could learn it in any context, at any point in their lives. There is no justification to pay people starvation wages.
Patterns of Legacy Displacement
The criticism of brew's instructions is warranted to be completely honest, they could certainly word that one sentence a little better. But the way I interpreted the parent comment is that it makes Fig employees appear less capable because they don't understand intricacies of the shell, but as I described in my other comment, not everyone has to be an expert of the shell. Brew is not a "power user" tool, it's a package manager for macOS. Instructions should be clear for all types of users.
I'll admit, I'm a bit disappointed that my original title "Julia used Multiple Dispatch! It's Super Effective!" didn't make the HN frontpage.
Yeah but $9 for a beer is already insane in most locales. Most bars charge $5-$7, going down to $3ish (or even a dollar) for a cheap beer in a lower-income area. Unless these restaurant owners are already capped out they have a lot of wiggle room
I meant that a multitude of employees had misunderstood the instructions. If you take a breath and think about what that first line is doing for a few seconds, you’d never put that into your profile.
They were ok risking him being killed in order to obtain the expected benefit. If you beat someone killing them is a predictable risk. It constitutes merely a lesser crime in the same category.
Thanks for sharing! (My webdev career started in 1998, but I'd somehow missed this apparent classic.)
The keyword is "mercurial core", isn't it?
To be pedantic, aren’t all Twitter handles equally rare?
>Macho is the best word to describe it. It is sheer ego that would cause anybody to say that they can feasibly write a safe program in C or C++.

It reminds me a little of some of the free-wheeling nuclear physicists in the Manhattan Project - probably some of the smartest people on the planet - being hubristically lax with safety: https://en.wikipedia.org/wiki/Demon_core#Second_incident

>[...] The experimenter needed to maintain a slight separation between the reflector halves in order to stay below criticality. The standard protocol was to use shims between the halves, as allowing them to close completely could result in the instantaneous formation of a critical mass and a lethal power excursion.

>Under Slotin's own unapproved protocol, the shims were not used and the only thing preventing the closure was the blade of a standard flat-tipped screwdriver manipulated in Slotin's other hand. Slotin, who was given to bravado, became the local expert, performing the test on almost a dozen occasions, often in his trademark blue jeans and cowboy boots, in front of a roomful of observers. Enrico Fermi reportedly told Slotin and others they would be "dead within a year" if they continued performing the test in that manner. Scientists referred to this flirting with the possibility of a nuclear chain reaction as "tickling the dragon's tail", based on a remark by physicist Richard Feynman, who compared the experiments to "tickling the tail of a sleeping dragon".

>On the day of the accident, Slotin's screwdriver slipped outward a fraction of an inch while he was lowering the top reflector, allowing the reflector to fall into place around the core. Instantly, there was a flash of blue light and a wave of heat across Slotin's skin; the core had become supercritical, releasing an intense burst of neutron radiation estimated to have lasted about a half second. Slotin quickly twisted his wrist, flipping the top shell to the floor. The heating of the core and shells stopped the criticality within seconds of its initiation, while Slotin's reaction prevented a recurrence and ended the accident. The position of Slotin's body over the apparatus also shielded the others from much of the neutron radiation, but he received a lethal dose of 1,000 rad (10 Gy) neutron and 114 rad (1.14 Gy) gamma radiation in under a second and died nine days later from acute radiation poisoning.
Am I the only one to write my own “framework” from scratch every time I start a new project?

These new “super lightweight frameworks” are only 3kb and as fast as vanilla js because they really don’t do much...

They always end up getting in the way though one way or another.

Writing a state and updating the DOM when the state changes really isn’t complicated at all.

People who don’t know how to do it need vanilla js template projects, not frameworks...
Ask HN: how to excel in ML (not good in CS/programming and beginner in DS)
Hello everyone,
I did my master's in IT and have a few years of experience as a database/system admin. My undergrad was in CS, but tbh I am not very good at programming. During my MS, I took a few DS classes (statistical learning, regression analysis, ML, data mining and knowledge discovery, big data management) and felt passionate about DS and ML. I have also taken the deep learning specialization on Coursera. I have also done some "basic" projects (most of the class projects). However, I still don't feel comfortable in ML, especially the programming part. Also, I have not built anything that I could showcase my skills.
What would you recommend I should do now? Do you think I should take some programming/data, science classes?
Wow my dyslexia sure did skip the word Audio in the title. Not listened to them as an audio book sorry!
> The red and blue balls analogy is very misleading and has nothing to do with entanglement.

this is exactly why classical analogies should not be used to describe quantum entanglement - it gives the layperson a wrong impression. Those analogies makes it easy for the layperson to imagine the hidden variable hypothesis, which is proven to be wrong.
Running builds from the repl let’s you skip the startup cost associated with Clojure. It’s faster if you need to run more than build command, or one build command several times.

Lein is easy to get started with, and for simple projects does everything you need. tools.build is endlessly flexible. For some projects, tools.build/tools.deps was much easier for me to use than leiningen (easier to just write clojure code directly than figuring out the whole lein plugin stuff). Use whatever works for you.
> leading developers of Stockfish have terminated their GPL license with ChessBase permanently.

Does this wording seem extremely weird to anyone else?

According to the GPL:

> You may not propagate or modify a covered work except

> as expressly provided under this License. Any attempt

> otherwise to propagate or modify it is void, and will

> AUTOMATICALLY TERMINATE your rights under this License

Capitalization added by me. Maybe it's a nitpick, but it seems to me that the "termination clause" as people are calling it, isn't something you "invoke" or a sword you use to slay people who violate the GPL. It's an automatic process which you, the copyright holder, don't really control in any way.

IANAL, obviously.
http://cardozolawreview.com/wp-content/uploads/2018/08/GREEN... states:

"Notwithstanding this literal understanding of the license terms, the harshest constructions of the termination provisions of the GPL have not been enforced in practice."

Even if it was tested in one jurisdiction, it might not apply in others.
The idea is to make security reviews easier. You can easily find all the places "safe strings" are created to see if they are doing the right parsing or sanity checks. The code that only uses the safe api needs less scrutiny, at least for the class of bugs this design is supposed to help with.
Small businesses already have a razor sharp focus otherwise they'd disappear. Literally their margins are their bread. I find your take slighly condescending but I want to give you a benefit of the doubt - what makes you think small businesses aren't focused on optmizing their margins? Just like you, I am a small business partner and know many small business owners. If you put an MBA-educated person in charge, the opposite would happen. Reading HBR doesn't make you a qualified for optimizing a restaurant business. Neither does having an MBA degree.
Well, with some collectibles, you can go into manufacturing variations.

Here's a real-world example: http://maibockaddict.com/1831-capped-bust-half-dollars.shtml

The 1831 date as a whole had a production run of a bit under 6 million, but it can be broken into 20 widely recognized sub-types. These have established survival/rarity figures from surveys of the market and community-- some are "two dozen or so known" and some are "hundreds or thousands".

It feels like they're trying to mimic the concepts from the coin hobby-- numeric grading, the appearance of third party certification and encapsulation-- without developing the background and ecosystem for it first.

For example, those "20 sub-types" trace back to a paper book originally published over 50 years ago, actual research performed by a passionate expert which has been expanded on by the community. The grading conventions are even older.
i dunno but "swatting" seems like a decidedly american thing so how come its not a problem in other countries?
I can't speak for whoever came up with it originally, but that is the reason I retained that behaviour in my own shell, and it certainly sounds plausible.
I think the joke is just that awarding "attorney fees" sets up a perverse incentive, much like "cost plus" pricing agreements. It's a bad idea.
You need to weigh that when choosing where to buy. I walked away from a plot of land that came with a stupid HOA. The immediate neighbor wasn't part of the HOA and didn't have to follow the stupid rules.

(No plots within the HOA land had sold at the time.)
Preact is a very underrated project as is inferno. React casts a big shadow.
why is swatting a very american thing? how come other countries police departments don't seem to have an issue with it?
I wouldn’t even call it criticism. It’s a legitimate issue and a legitimate fix. That’s not criticism; that’s just called “software engineering.”

Now, had they submitted a pull request with a clearer instruction, that would truly be the bazaar functioning as intended.
Bug: eff(atk::Electric, def::Grass) = NO_EFFECT

Grass should be Ground
Based on civil engineers I know I think it's more likely they'd simply consider the engineer making 20 yard bridges more junior, but doing similar work. As I understand it there aren't the same difference in kind that I'm describing here.
The realization still has an ideal identity, an "address" in the graph.

The steps it can take from that point may still exist Platonically.
> You really need to read the link above

I don't like claims to authority, but maybe you should read the papers I've published about Bell inequalities too? :-p

It sounds like you're saying that, in principle, physical processes are all reversible. (Although that is often thermodynamically impossible in practice.) You're also saying that it's impossible in principle for someone to learn the result of a measurement in the morning, then unlearn it when the measurement is reversed during the afternoon. I don't see how there could be a self-consistent interpretation of quantum measurement where both those things are true.
That sort of multipath convenience is a dying art. That there are so many ways to accomplish a task is one of the things I admire most about Windows (and to a lesser extent Linux) GUI design

Modern app design almost always forces you into the developer's wonky custom save feature, if there is even a manual save at all, and with webapps you are forced to use cloud storage (possibly with a rental fee attached) as opposed to files on your local device. It would be really nice is everyone gave me standard open/save dialog boxes with all the OS accoutrements; I can't emphasize enough just how handy it is to be able to copy/paste, or create a new folder, or even manage files/directories or even launch programs from within a standard dialog... all because it is using the same view controls that Explorer uses!
> please lose your entire scroll buffer before this works

FWIW, some variation on:

$ exec bash

ought to work, since what you care about is restarting the shell (.bashrc,PATH,etc), rather than the terminal per se.