skysight-inc/HackerNews huggingface dataset:
The stupid reason Elon Musk wants to nuke Mars
> I also find it highly unlikely anyone is able to implement 130+ papers in 7 months.

Indeed, when I first read the headline I thought for a second this was one of those studies intended to show how easy it is to submit fraudulent work.
It isn’t clear whether they already use Racket.

If Racket was added for this purpose then here are a couple boring[0] solutions that could have lower operational costs.

Generate OpenAPI specifications from your service code.

Use a YAML preprocessor/template engine such as [1]. I have used a similar technique to generate SQL queries.

[0] https://mcfunley.com/choose-boring-technology

[1] https://github.com/con2/emrichen
Back in the hey day of Blair's administration, the phrase "what works, works" was used to explain "evidence based policy making" a third way friendly approach.

This has definitely lost its shine as Blair and Clinton have yet to be re-re-discovered as before their time thinkers (#).

But this disdain for evidence tends to lead to the triumph of "common sense" - policies actively pandering to biases in the voters

And this seems like one of those awful ideas that might just gain traction.

It's a commune, a Kibbutz. A cult on a farm in Nebraska. It's idealism not looking down at the muddy ground underneath. God it's what I tried to create when I was an undergraduate. Let's not go there.

(#) Trust me, everything goes round in cycles
I remember the immortal words of Dr. Martin Luther King Jr. about man being able to master technology and yet not have have grown comparably enough in spirituality to live as brothers.
Calling them "the war media" is almost as inflammatory as what you're accusing them off.

FWIW, I just checked two articles at the New York Times on recent Iranian tanker seizures. Both mention the previous British seizure. One even begins with a different (but IMO even better) legitimization of Iran's actions:

BEIRUT, Lebanon — Iran seized a foreign oil tanker in the Persian Gulf, state television reported on Sunday, the third time Tehran has reported detaining a tanker in the last month as the United States applies its campaign of “maximum pressure,” sanctions and diplomatic isolation against the country.
and you can. but an FTP dump is not a website, and a browser not having native support for non-http protocols does not break websites.

FTP links will still work, they just won't be displayed in a browser anymore. People are blowing this way out of proportion, as if FTP is some critical underpinning of the web or web browsers are a critical part of FTP. Web browsers have always been terrible FTP clients, anybody who uses FTP on a regular basis uses a better client. The most tangible impact of this change is to give grumpy internet commenters something to complain about.
I am constantly surprised and delighted by what the folks over in the Clojure world come up with.
I love how the Denisovans were named after a guy named Denis who lived in a cave. Very Adamsist.

The time that humans arrived keeps getting pushed back as older artefacts are found - can we plot dates against discovery time to estimate when it asymptotes? (And when we will get there, within some ε.)

The date for Aboriginal Australians is 65,000 ATM. Mongolia seems a similar distance. https://wikipedia.org/wiki/Aboriginal_Australians#cite_note-...
Trump is all over the place, I don’t think anyone really knows what he believes.

US interest in purchasing Greenland goes back a hundred years. It’s an important strategic location even without global warming - but yes, will become even more important as the world warms.

The Chinese were trying to get in on it too and Trump is reflexively anti-Chinese.
We're actually getting a bit more than we'd like. If we could get the sun to turn it down a smidge for a few hundred years while we get the gas mix in our atmosphere right it would be most helpful.
> many citizens of Hong Kong enjoy their democratic form of government

They didn’t have a democracy prior to this protest (eligible HK SAR administrators were picked by Beijing). They also didn’t have a democracy during British rule (HKers could not vote).

> fear full control by an authoritarian Chinese government

Some do, some don’t. Not everyone is a protester or even in the anti-Beijing camp. Generally younger people are anti-Beijing, older people are moderate or pro-Beijing.

There are opinions that state that democracy is not the true thing those people are looking for; rather, it’s a better life (housing increasingly unaffordable, supposedly the current situation was not caused by Beijing but by previous entrenched landlord powers in Hong Kong). The protesters still blame Beijing, and believe that democracy will automatically yield a better outcome.

That possibly answers why pro-Beijing would possibly make sense (nobody wants a dictatorship, right?): The older generation remember that things under British rule wasn’t fairytales and unicorns either, and they aren’t naive enough to believe that independence automatically equates good outcomes. They may also have seen how China changed for the better over the decades, and even if China is still evil it may at least be seen as a necessary evil (i.e. the alternatives are worse).

Good outcomes: How is HK going to look like if all of a sudden they have to take care of their own food, water and defense, and their main business model collapses? Singapore spends a huge amount of their GDP on defense, HK currently none. Enjoy mandatory drafting into the army. Okay you can vote but the good jobs are gone, now what?

Singapore was authoritarian before it prospered and turned democratic. Ditto for Taiwan and South Korea. Russia after the collapse of Soviet Union was democratic but the available (or at least voted for) rulers were utterly incompetent and destroyed the country until Putin came along. Democracy in the middle east isn’t exactly working out. Democracy in western countries is working sort-of well but the west has also been prosperous for a long time so people can afford to focus on idealism.

This shows that “democracy equals good outcomes, authoritarian equals bad outcomes” isn’t always true. It isn’t necessarily UNtrue either but it is... nuanced?

This is just the tip of the iceberg. Your first two sentences already show how “it’s not complicated” is in fact very complicated.
Sorry, I've heard this statement a few times, code generation in dynamic languages is an anti pattern. Do you happen to have any more reading on this?

Sure the generated code is usually not readable which is against the zen of python. But writing code to generate code, especially if it's contract driven, is the correct approach no matter the language.

So really what I'm looking for is more substance of why generating code is an anti pattern in python but not in C.
U.S. Weighs Selling 50- and 100-Year Bonds After Yields Plummet
Better IDE support would also help here, if it could annotate what each flag meant for example and provide inline help and autocompletion. The nice thing about shell is the commands are very short and easy to type on the command prompt, PS is too verbose and is cumbersome for that use case and more full featured languages have all the upsides plus better tooling.
Yea, that is of my understanding too. There was no need for any great advance in that matter at the time. Now however, the situation is different, and yet, not as pressing as the global conflict back then to fund another "Los Alamos".
I semi-remember hearing that ear-prints are also somewhat unique (like, say, thumb-prints). Since the CCTV seems to have a decent ear image, couldn't the defense demonstrate that their client's ear is distinctly different in shape?
It really depends on how any particular site functions. Some sites function better than others. For example, "this kind of problem" doesn't seem to plague us here on HN.
Swiss Active Weekend: Rigi and Chingizpass
Yep that’s why they switched it to giving everyone some equity. But those of us who understood the financial instrument being offered dis really well for ourselves.
If those aren't top tier I don't know what is...

Generally the banks are no longer the place to do prop trading though. You're better off at a hedge fund. They will not only pay better but have way better access to resources, tech, experienced traders, etc
I miss the days of strongly typed schemas. It's much easier to fail gracefully.
Just recently V8 the JS engine rewrote their JSON parsing code to achieve upto 2.7x faster parsing and also making it memory efficient.

Ref link:- https://v8.dev/blog/v8-release-76
As other comments have pointed out, it seems like the author is looking for PowerShell. I have used a fair amount of PowerShell and it always leaves me feeling like I should just fire up Visual Studio and learn C#. I think that shell languages should prioritize terseness at the expense of readability, allowing experienced users to accomplish their goals as quickly as possible. Any code that you expect others (or yourself) to maintain in the future does not belong in a shell script.
The Tesla Conspiracy or Am I a Dead Whistleblower?
For those interested in the science and less in the fluff: this is notable not because it's "bigger" but because it's the first really good observation that fits with a "pair instability supernova", which is a well developed existing theory but has never been observed.

The basic idea (I'm not a professional here) is that the gamma rays produced in the stellar core provide the bulk of the pressure that holds up the outer star against collapse. But past a certain temperature, the energy of those gamma rays starts preferentially resulting in electron/positron pair production. And the effective pressure per energy of an e-/p+ pair is significantly lower than it is for photons. So the outer core layers start falling downward, picking up energy as they do, and getting hotter. And the still higher temperatures result in gamma production which is even more likely to result in pairs, so the pressure drops still further and the core contracts more, and you get a runaway reaction.

But the runaway is of temperature and not so much density, so what's left after the outer layers of the star all get blown away is a comparatively low density core of extremely hot plasma, which simply diffuses without recollapsing into a neutron star of black hole.
Show HN: distri: a Linux distribution to research fast package management
This looks like the same phenomenon of an investor continuously doubling down as their investment tumbles, assuming that they'll be even richer at each step when the investment rises back up.

Except here it is FAANG who just keep breaking the user's trust to get the data. But that is a necessary step on the road to some "El Dorado" system that will have been trained on so much unethically collected data that they are done and it can finally become an ethical system.

Edit: clarification
Not having the read the book, what is #4 about? Are deadlines not a necessary thing? Don’t most SW teams use sprints to push out features on a regular basis?
It is reminiscent of the WPA of the New Deal. In the U.S. these efforts have historically been undermined by racism. “When Affirmative Action was White” (https://www.amazon.com/When-Affirmative-Action-White-Twentie...) makes a case for the G.I. Bill, New Deal and other efforts being compromised by segregationist policies.
The current U.S. president’s proposal to link social services to country of origin seem to indicate that proposals like “Summer camp” (let alone reparations) are likely to face similar opposition.
If you prefer a video breakdown of this blog post, this channel Now You Know go through it in an interesting way: https://www.youtube.com/watch?v=vfILTM_xcOE
the cut, sed, xargs, utilities are available on all major unix derivatives and have a pretty consistent set of command line flags... I don't see why we need to suddenly slap camelCasedParameters on everything because the author needed to read some man pages...
Most academic white papers on trading strategies are horrible. There are written by academics or grad students (as you point out) that have no firm understanding of the actual market mechanics. You can often tell this right away just by the language and terminology used... Even before you get to the actual math or strategy.

Nobody will make any money in the markets relying on others work. It's just how arbitrage works. I've you want to succeed you need to be creative beyond what's already been done.

Once you're there you should follow the first rule of trading:

Don't talk about your strategy.

The second rule of trading is the same as the first rule.

I cannot emphasize enough how much you need to keep things secret in trading.
The fact that they bought the ads in the first place seems to imply they need some degree of soft power in all of this.
Why invade? The Navy would just form a blockade to prevent Chinese ships from approaching if it ever came to that.

China has zero force projection capability outside of Asia. Their is no chance they are pulling off an invasion of Greenland anytime in the foreseeable future.

Also we already have an Air Force base in Greenland--there is no realastic scenario where a US invasion is necessary or even useful.

"Nope we aren't leaving. Any attempt to force us to leave will be seen as a hostile action, as will any attempt to establish a Chinese military presence."

That's all it takes.
I agree. Feels like someone registered "Satoshi Nakamura" as a company, and is trying to run a scam from there.
The cheat code:

— buy painting for $5 million

— have a museum value it at $15 million a few years later

— donate painting

— write off $15 million in taxes for a charitable contribution

Clearly the museums have an incentive to fudge the numbers for rich donors.
My point exactly. Imagine if we actually developed the discipline to not only exercise but to also enjoy it. Think of how competent and emotionally strong we would feel. We could have all the wonderful things we crave and more. Or we can take a shortcut and learn nothing.
Based on the Wikipedia definitions, I'd change my post to Green Water Navy. Bolivia currently has a Brown Water Navy but once upon a time wasn't landlocked and had naval vessels out in the oceans. This would give them the opportunity to have that again. Of course they could simply port their ocean vessels in another country but this is pretty much all about pride rather than practicality.
That bash code he posted as ‘unreadable’ is perfectly clear to me, and I don’t even know anything about the jira command line interface.

I think the real problem here is people always have preferred tools for jobs. The author obviously spends more time with JavaScript and finds that to be clearer and easier to write. I spend more time with bash and for me, it’s very clear. It doesn’t make it ‘inscrutable’
Throw your support behind https://json-schema.org it's a great effort.
Can you elaborate on this?

I've been a huge fan of PowerShell ever since I started using it (over two years now) and it's my go-to scripting language on my workstation. You can write integrations in the form of modules - VMware has Power CLI, Azure and AWS both have great PowerShell modules.

Why would you say it's not a real programming language? It's as powerful as Bash and seems to do the job quite nicely in most cases for scripting.
> For example, Xcode itself will crash when opening a .json file made the character [ repeated 10000 times, most probably because the JSON syntax highlighter does not implement a depth limit.

FWIW, this appears to have been fixed recently.
I think we may be on the edge of that transformative moment though.

I had spent 2 hours yesterday trying to sort CSV lines in bash. Decided to do so even though I have a nice strongly typed framework to manage tuples, which is slower than bash.

I always forget that the -k argument requires 2 numbers if you want to sort by only one column.

Then LC_ALL.

These are not the things that are so easy to debug against.

So in the end it would have been faster to use Python.

There’s xsv-rs, but it doesn’t provide the same semantics or power I have in the framework.

Point is, I think there’s some space for novelty in UNIX tools. Especially given the research in DSLs for defining the transformations of tuples.
...there is of course always the possibility to store surplus energy. For example off shore wind farms produce a lot of energy at night when demand us low. That energy when stored can later on be fed into to the grid.
As every time this comes up, and in the hopes of someone reading HN knows someone who knows someone... I'd love to get my hands on the source code of Dark Sun: Shattered Lands and Dark Sun: Wake of the Ravager (SSI Gold Box RPGs), and to a lesser extent Twilight: 2000 (Paragon Software), and Little Big Adventure / Twinsen's Adventure and Twinsen's Oddysey. I'd love to port them to modern systems and/or remaster the art to the extent that is possible. These are games with incredible gameplay but whose art hasn't aged that well.

Also periodic beg to Splash Damage / whoever owns the rights to the content for Enemy Territory to release them, so they can be modded (not the source, but the maps and models). Again, perfect gameplay, would love to see it with modern 3D capabilities.
Nope, but you can read it while your plane is circling around Houston Hobby airport.
How do you explode without annihilating yourself?
Ah, so that's the source of that Chrome bug that we saw last week. Customers on Chrome for Windows (only that, not Chrome for Linux or macOS) were complaining that the search on our statically-generated documentation site was not working. The search is implemented by a JavaScript file that downloads a JSON containing a search index, and it turns out that this search index had too much nesting for Chrome on Windows's JSON parser. This would reliably produce a stack overflow:

JSON.parse(Array(3000).join('[')+Array(3000).join(']'))

We were about to report a bug when we noticed that the problem was fixed in Chrome 76, and the users in question were still on Chrome 75.
Neither of those articles mention that real people listen to the recordings:

The updated version of the milleniumreport lists:

> Update: But what about the bigger pool of data, the aggregated voice queries from each system’s user base? According to this Bloomberg story, Amazon, Apple, Google, and Microsoft are using all that variety to hone these systems’ understanding of spoken language even further. Several times a day, Amazon uses the entire stack of Alexa queries to educate its A.I. about dialects and casual speech. Microsoft has mysterious fake apartments(!) set up to record and understand natural speech patterns. Google slices and dices the audio it’s already captured, then remixes it to help train its system. All these methods are meant to make your voice assistant smarter in the coming years.

Nothing in that paragraph would suggest to a normal user that actual human beings listen to their recordings. In fact, it would suggest the opposite: that in order to get around human review, Microsoft would go to the trouble of setting up fake apartment buildings to do tests in. Amazon educates its AI about queries using the entire stack of queries? Well certainly, that's not happening with a human being, it would be too labor intensive.

This is in an article designed for non-technical users, that has to explain much more legitimately obvious things like wake words:

> Listening to what you say before a wake word is essential to the entire concept of wake words. The process borrows a page from the pre-buffer on many cameras’ burst modes, which capture a few frames before you press the shutter button. This just does it with your voice.

Yet when it gets to the "low-paid contractors will occasionally listen to you having sex" part, suddenly everything is very vague.

Ordinary people did not understand this, and based on Gruber's article, a good number of technical people did not understand either. And in light of the quote at the end of this article, why should Gruber need to read Wired to figure out what's happening on his devices? That's not a good user experience.

Yes, maybe you can argue that he should have understood what "for testing and product improvement purposes" entailed. But he didn't. A lot of people don't know how AI works, and they don't know how ML testing works, and they shouldn't have to.
"Maybe we just haven’t rethought CLIs since their inception in an environment".
And there is a reason for that: backward compatibility. CLIs get used in scripts, and the worst that can happen is to see the script breaking because the command changed.

Let's take the example given in the article: it uses sed (created in 1974), cut (created in 1985), and xargs (created before 2001). All these tools are older than Jira and I'm quite sure that using a version of sed from 10 years ago or the latest one with basic flags will give the same result. CLIs are often ancient pieces of software that started as small projects and grew because features were requested while the way it was working shall not be broken as millions of developers use sed in their bash scripts and expect them to work on any kind of Linux machine, old and new.

For context, I'm working on a CLI for an enterprise product and we got in trouble just because we were changing error outputs. You just cannot do like on a UI where as long as there is a way to perform the same action as before users will not complain.

The second issue is that a CLI is used in two very different contexts: as an application by engineers and as a parts of scripts by those same engineers. This makes it tricky as a CLI developer to know what to do in terms of naming as a daily user will use shortcuts quite fast but a new developer reading a script using our CLI might not understand the purpose of a command. IMO if a CLI has a good documentation (in app and online) you should focus on making your daily users happy as someone seeing the command in a script can check the docs online and hopefully understand what's happening in less than a minute.
There are simpler solutions like

Maximum ad balance = 3 ad bucks

Watching an ad requires clicking the watch button, so you can't queue them up.

People can walk away, minimize or block the ad even now.
> 99% of the time, I'm not parsing user-provided JSON

I take it you've never implemented a service with a REST API.
My personal feeling is that it just doesn't fit into the workflow. With C you always have a compilation step and thus a build process, so a code generation step fits quite naturally into your makefile (or other build script).

With Python there's normally no build step – you just run the program. Adding code generation means adding another step, which you might forget to run, leading to confusion. If you make the build step mandatory you lose some of the upside of dynamic languages.
Do you want a family? It’s not too late. Kids these days would do well to have a conscientious person like you as a parent. Also seeing a child learn is underrated as one of the greatest joys in life.
You leave behind a collapsed core.
Powershell has abbreviations (aliases) for common commands and fantastic autocompletion for flags and arguments passed to cmdlets. Where-Object|Format-Table is just ?|ft for example.

Also remember that in PowerShell there's very little munging - half of any serious shell script is sed/cut/awk/tr and so on to munge the output of one command into the input of the next. That more than makes up for PowerShell's individual commands or cmdlets having more characters in.