skysight-inc/HackerNews huggingface dataset:
This is GitHub's wording in the Pages docs:

> GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS).

https://docs.github.com/en/pages/getting-started-with-github...

To me that sounds like a blog would be fine.
I live in one of those countries (Poland), and certainly the state-controlled media/energy/industry conglomerate is worse, thank you.
Yes tell people to overborrow and refund with a marble, skipping the fact they won’t be able to pay the taxes gas and basic goods to support the asset due to... hyperinflation! I don’t mind the rest of the doom scenario, we know nothing lasts for ever, but oversimplifying this by that margin is... well I guess its free speech...
> If you're not doing `set -euo` and if you run your scripts as root before testing them, you're asking for something wrong to happen.

...because you can't delete important files unless you're root, right? Subfolders in your home directory are totally OK being deleted? You store your documents so that only root can modify them?

And do you know set -e has a ton of its own pitfalls and doesn't save you from this? It's a half-broken mitigation. I don't have energy to keep arguing here, but I would suggest go learning about the pitfalls of Bash and set -e and such.
I'm not sure why you're downvoted, but thanks for the link! Coincidentally, I've been searching this kind of library in Rust for the past few days.
Note also that this does not need any subshells. I think dataflow was thinking of (test -f a && test -f b) || (test -f c && test -f d) instead, but { } isn't worse than that.
Nothing is worse than burnout. You need the motivation to find a new job once you quit, and no matter how bad the finances get, burnout will step in and fuck you worse. I'm on my second burnout that led me to basically stop functioning and let myself be fired, and I haven't found anything in a year!
> continue to evolve their hardware fast enough that their software doesn’t need to be as efficient

Sorry to tell you this, but that road doesn’t go there.

Current hardware could run 10.0 like lightning.

As hardware improves, software rises to meet it. Maybe it’s because they can spend less effort on optimizing, or maybe it’s to add new features (like automatically running your photos through ML is the background, or continuously indexing the contents of every file in your entire hard drive), or maybe it’s because they want to add more layers of control (the protections around video playback), or maybe new layers of abstraction such as API calls instead of direct access to the hardware.

Whatever it is, we’ve seen the trends across every tech and almost every company for at least the past 30 years.
So... where is Part 2? I can't find it...

Edit: Ah the content is 2 days old, it will come. In any case: Great content!
The Grid Compass was probably the first true laptop in 1982. But it ran a proprietary operating system by default and costs about $8,000 in 1982 money. The Data General-One came out in 1984 and might be a better candidate. But neither of those were really mainstream.
do we start to go after cow farts next

Is this not actually roughly of the same order as the other events you mention? The impact of all livestock being bread globally is not exactly neglectable when it comes to global warming, land use, nitrouse oxide deposition.
Maybe this by the same author may help answer your question. [1]

[1] https://backreaction.blogspot.com/2021/03/is-universe-really...
I agree. However, we had to create complex C "standards" for dos and don'ts in order to _try_ to write safe code.

And C is still omnipresent. So there must be some other characteristic of Bash that makes it not fit for this age (or some characteristic of C that makes it irreplaceable, that Bash does not have)
In case anyone needs something to add to their long list of things to do when Covid will be over, I highly recommend visiting the museum of Cosmonautics in Moscow (https://en.wikipedia.org/wiki/Memorial_Museum_of_Cosmonautic...)

I had the chance to visit it in 2019 and it's an absolutely fascinating place. With Soyuz capsules that returned from space, Mir module replicas you can go into, asteroids you can touch, a Buran replica and an incredibly detailed walkthrough of the Soviet pioneering work at the dawn of the space race, there is simply no other place like it. Well worth it!
Show HN: Android Game in the Browser (Chrome)
I have never really done low level programming, so excuse my ignorance.
(for example I was not aware "FPGA toolchain-targeting is to a specific device", which is a very great hurdle only maybe enabling something like this in game consoles)

I know that gpu's are mainly optimized for games, but aren't they still general purpose computing units?
(which is why nvidia put a special physics unit into their GPU's)

So the idea as I understand it, is with FPGA's your logic is directly in circutry - which in theory beats general purpose units.

So my actual question would have been, if this would allow for more complex simulations. Because most advancement in games just seem to be in making them look prettier, but not more complex and just faking complexity. But I really like the idea of an advanced voxel engine, for example.

But by your input it seems FPGA's as of today, are probably not the way to get practical improvements there and rather focus on the GPU.
Live from Manchester, it's sunshine here today and same for the rest of the week! :)
I'm russian and April 12 is a sad day. We have a phrase: "Юра, мы все проебали" (Yura, we fucked up everything). The most terrifying though is if Gagarin stays alive till now and helps government to propose awful laws like Tereshkova (first woman in space).
CSH Programming considered harmful (1991)

http://harmful.cat-v.org/software/csh
I used to think like this, but eventually I had the realization that

1. right now, we have norms against murdering people

2. if my team starts murdering people, we could probably get what we want

3. however, this breaks the norm against murdering people, and will encourage the other team to start murdering people to get what they want.

All of a sudden, people are murdering each other left and right. This is sometimes called "war". It is very bad.
Are you earnestly citing A. Wyatt Mann? You should try not to be openly racist in public.
No one is arguing that GF was a volunteer. It seems you missed the parent’s point.
Is that a feature or a bug?
Like the other comments I'm confused, pretty much any game I've played for the past few years supports surround sound, most of them 7.1 even.

What I don't understand is why Dolby Atmos is not used much more for games. Xbox One and PC support it but only very few titles use it. PS4 and PS5 don't support it all for games (only for video content), despite all Sony's bragging about their dedication to PS5 audio. Dolby Atmos seems perfect for games, for developers because it effortlessly maps audio directly to any 3D position in space, and for users because it scales all the way from headphones to soundbars to full 7.4.2 setups.

I was royally pissed off to learn PS5 would not natively support Dolby Atmos, I have a full 7.4.1 home-theater setup with height speakers and movies and Dolby Atmos demo's sound absolutely awesome. Yet if I play games the best I can get is 7.1 which is nice, but the height speakers go totally unused. It's probably related to licensing costs, but it is extremely disappointing having waited for the PS5 for so long and not seeing any kind of upgrade to the audio.
And all their paper money is comically wide to print it across the top.
But you know that it's state-controlled. Would you say that facebook in Turkey is not state-controlled, even though it s not branded as such?
Not just Lufthansa. I’ve done it with Emirates’ rail and fly option too from Berlin to Frankfurt.
Why 1991? Even though USSR collapsed, whatever was sealed, is still sealed to this day.
Nice, going to be handy as a post-imperialistic imperialism-tool:

Hey China, your actions are going to have consequences. Wether it's the plastic you're dumping in the onceans by the dozens of fleets, or adding more coal energy plants last year than all existing coal plants of Europe combined.

Of course it all depends who is the accuser (e.g. US accusing Europe of burning too much (Russian) gas or garbage exports from the first to the third world).

And if this rant isn't getting me downvoted enough: It's also not good for Cryptocurrencies.
I don't understand why you would use MacOs if you care about privacy. Why do you use it? (Just to be clear, this isn't "boo macos sucks", I'm genuinely curious why so many people use it (especially in it inclined communities))
How is that inconsistent with the parent statement? Even if the form factors were inevitable--e.g. someone would have decided that smartphones didn't need a physical keyboard--someone had to be first to popularize. (Not sure I agree on the laptop but the iPhone pretty clearly popularized the modern smartphone form factor.)
I have a 65” TV and a great 5.1 surround sound system and it’s still incomparable to the feeling of actually being in the cinema with my vision filled and body rumbling, it’s like comparing the experience of an electric bicycle to a Harley.

What’s more, the context switch alone is worth it. In the cinema my job is to watch the film. At home I’m thinking about chores and checking my phone. It’s not remotely the same.
No, so far I've only tried what hardware I already have like an old Nexus 4 phone with a cracked back.
Sometimes you can't do that if you don't own the tenement you're living in.
It's easy for people to look at the highlights of journalism and think we must go back. It's more challenging to remember that yellow journalism and worse came from that old old journalism. Perhaps it's only the best results of the old way we want, rather than all of them?

The greatest tragedy of modern journalism has been its inability to adapt business models to a changing world. The old old assumption was that newspapers and TV had a near monopoly on user attention, with a tragic unwillingness to consider that maybe this wouldn't always be the case. Outlets more focused on subscriptions and less on advertising seem to have come through better.

Perhaps the alignment between advertising and journalism was coincidental, rather than some iron law?

> IMHO, we should just say the hell with it, tax advertising revenue, and fund journalism as a public good.

Don't we already have outlets like that? How do you feel about Voice of America or People's Daily? IMHO, a lot of people distrust them as rather less than independent.
This is not a sad day, despite some hopefully temporary setback in the space exploration. А ты дурак.
Quote: "Its binary representation corresponds to a compressed version of the C source code of a computer program implementing the DeCSS decryption algorithm, which can be used by a computer to circumvent a DVD's copy protection"

That's a stretch. Same as Botswana's currency (Pula) which is a slang in Romania for male genitalia. Or India's ancient swastika symbol that is pretty much illegal in Western countries.
I'm saying that once you build up systems like this that they rarely self-dismantle once the important job is done, but rather grow, self-perpetuate, and consume whatever resources are available in an attempt to do whatever is next most appealing.

No one wants 100 Chernobyl, Deepwater Horizon, Bhopal events or generalized global warming. Lots of people want their food, energy, and modern conveniences at affordable prices. Those things are inherently in tension and creating an international tribunal which can, with the benefit of hindsight and evolving viewpoints, make judgments about whether someone violated an inherently and intentionally unspecified level of environmental care 20 years previously is more than a small amount troubling to me.
The process is fairly simple.

1. Take illegal number

2. GZip it, or at least store it in a format that discards trailing null bytes.

3. Multiply it by a power of 256

Every power of 256 adds a zero to the end, in the same way that multiplying 5x10=50, 5x100=500, etc.

4. Add a an integer and check primality; repeat.

So if the illegal number was 12345 your could have an illegal prime 1234500000071 represented by (12345x256^8+71).

The only reason you’d want to do this is because people actually share seemingly random prime numbers online. There’s no legal reason to share the DeCSS encryption code, but a prime number with a length of 2000 is “interesting” enough to avoid legal issue.
Size imposes a penalty on companies anyway. And companies shrink as well as grow. IBM shrank. Microsoft closed up its entire mobile efforts after acquiring Nokia (another company that shrank). Then there’s Polaroid, Blockbuster, Xerox, DEC, ... the list goes on and on.

Even Sears was once unassailable. Until it wasn’t. Similarly, Amazon might seem too entrenched now, but really it’s just one storefront among many and could easily go the way of Sears.

There are also lots of antitrust tools available to regulators, including breakup.

Saying “acquisitions are bad” and imposing an arbitrary limit on size is short-sighted nanny-state thinking. The market should be regulated, but market forces are also an important regulator and that fact needs to be recognised more widely.
And it would fill mine with glee. Lifelong Texan.
Malcolm Cecil, Synthesizer Pioneer, has died
Exactly. I don't remember Mussolini being someone who would pave over Roman stuff. Maybe medieval Roman stuff, but not ancient stuff.
Landlines are probably more common than you think. I only got rid of mine last year. I would have kept it for backup but it just cost more than I was willing to pay. Many of us don't get great cell reception and WiFi assist isn't always perfect.
For my personal enjoyment of your post it would help if you explained why you think this is an imperialism-tool, as currently this just reads as you claiming this will be abused. There's not a lot of substance and that makes me sad.
This was the first human to die in a space flight: https://en.wikipedia.org/wiki/Vladimir_Komarov

Apparently the USSR told the story as: he kept sending back scientific data up to the last moment.

PS. They definitely hid some of their failures, but I don't think it would have been possible with loss of life involved.
Hi guys, just something my team and I have been working on for a while. If you've got questions, happy to field them!
Aren't the killings already happening though? For example, the logging industry murdering tribal leaders and activists.
And the Tory government in the UK just announced a plan to build more. Smacks of irony.
Sometimes you write POSIX shell (or very nearly POSIX) for portability. Sometimes you write in "a proper programming language" for more powerful/flexible features. And sometimes you write Bash to get both.

Bash is ported to basically every system, it's a small binary (by today's grotesque standards), and it gives you some added functionality that would be otherwise annoying to re-implement in POSIX sh (or Bourne sh). But it's also far less complex than Python. In today's world, if someone has any shell, it's a safe bet that they either already have Bash, or they can install it just like they'd have to install Python.

It's less painful in the long term to use Bash rather than Python. Python is more time-consuming and costly. It's a larger space requirement, you have to manage more runtime dependencies and a virtual environment, debugging is worse, and there's more opportunity for bugs because it's more complex. Bash scripts also rarely get bugs down the line due to dependencies changing, whereas this happens in Python so frequently we have to pin versions in a virtualenv. When's the last time you pinned the version of a Bash script dependency?
I 'm going to go against the groupthink here and suggest that if these companies had done ICOs instead of IPOs , people could vote with their feet against them by walking away from their currency. The way the current financial system is set up, these companies have their market caps because the state a) protects the currency and b) heavily regulates where and how people can invest. As the sibling comment suggests, the system incentivizes the status quo
Now I’m wondering if we should differentiate between “spaceships” and “space boats” by whether or not they hold air…
Min rapid at-home Covid test ($55) receives first over the counter approval
Am I understanding correctly that your point is that we shouldn't write modern bash scripts because some number of untrained people will have problems by accidentally misusing the scripts (wrong interpreter, blind copy/paste, etc). Is that a correct summary?

To me this sounds like saying we shouldn't have powerful tools like chainsaws because every year some people without safety training use them wrong and hurt themselves.
It is not available in public, since it's only a workflow in a private repository that uses four different actions in that order:

- actions/checkout

- A script that edits/changes a file based on the content of the opened issue

- stefanzweifel/git-auto-commit-action@v4

- peter-evans/close-issue@v1

One could make a fully-fledged action out of that. But for my case, this is sufficient.

I also tried a different way, which may also work for you:
There are .devcontainers, which can be used for GitHub Code Spaces. It's basically a VSCode in the browser, including a terminal. You can specify which extensions have to be installed, like a spell checker or markdown formatter and use that VSCode in the browser to write posts.

I'm currently not using that because it doesn't work on mobile at all.
Show HN: my second game on AppStore as an Indie Developer
Find out how good your length intuition is by solve hand crafted puzzles
Yes. In fact, it might even be seen 20 years from now as being more damaging than the others. If that's the case, would we want 2021 world leaders to be hauled in front of such of a tribunal in 2040 for not doing enough to curtail beef production?

That seems capricious, impractical, and therefore undesirable.
> This exists (optics/lenses), but most programmers don't know about it. … I don't know of a simple, jargon-free explanation of the concepts.

Let me have a go! I’d explain optics/lenses as giving field access as a data structure. That is, a lens is an object which describes how to access an element from a ‘larger’ value. For example, you can define _1 and _2 as lenses for accessing the first and second element respectively of a tuple:

_1 :: Lens' (a,b) a
_2 :: Lens' (a,b) b

(Using Haskell syntax here as that’s what I know best, though I’ve simplified the types slightly.)

The great advantage of having these as first-class values is that you can now manipulate them. Of course, the main things you’ll want to do with these are get and set things:

> (1,2) ^. _1
1

> (1,2) & _1 .~ 3
(3,2)

More interestingly, you can also use a function to modify the value to which a lens is pointing:

> (1,2) & _1 %~ negate
(-1,2)

Most usefully, you can also compose lenses. For instance, to get the second element of the first element of a nested tuple, you can compose _2 and _1 using dot notation:

_1._2 :: Lens' ((a,b),c) b

Or, for a more realistic example, here’s a lens which accesses the ‘numSeen’ field of the value corresponding to key "keyToIncrement":

(ix "keyToIncrement")._numSeen :: Lens' (Map String MyStructure) Int

(Well, strictly speaking, this is actually a traversal or a prism or something, because "keyToIncrement" might not exist, but let’s ignore that for this really simple example…)

And now that you have it, you can use this new lens to do anything you want with this value: you can get it, set it, increment it, decrement it, print it, etc.

Additionally, you don’t have to restrict yourself to just lenses. For example, ‘traversals’ are a generalisation of lenses which allow you to access 0, 1 or more elements, rather than restricting access to just one element at a time. For instance, you can use ‘both’ to transform, well, both elements of a tuple:

> (1,2) & both 5~ negate
(-1,-2)

Or you can use ‘traversed’ to access each element of, say, a list:

> [1,2,3,4,5] & traversed .~ 0
[0,0,0,0,0]

Of course, there are other ways of doing each of these. If you happen to be working with mutable values, you can sometimes use dot notation to access deeply nested fields. Some usecases of ‘traversed’ can be replaced by a map. However, there really is no comparable substitute for lenses when working with deeply nested immutable structures, especially ones of unknown shape.
They run out of warranty, and obviously they are obsolete by that point. They still work, so. Technically speaking.
The Rust and Haskell versions are complicated to understand for such a simple task.
They improved lots of aspects, except for affordability. :(
That’s amazing! Congrats. One question: why is var only supported for top level declarations? I’m not a compiler or programming language expert by any means, but I thought the general approach was to define a grammar and write a parser for it. I’m curious how global and local declarations diverged so significantly.
It's impressive what the Soviet Union achieved with "analog" technology. I did not know they had landed a rover on the moon. Imagine all the automation this requires, but without any advanced electronics. Was it all relays and switches? They were also the first to photograph the other side of the moon. Imagine what it took to develop the photos in space and beam them back to earth. I can't possibly imagine doing this without a digital sensor.

PS. Not a Soviet Union fan otherwise...
Call me crazy but I actually recently switched back to DVD Netflix. The selection is way better than any individual streaming service and I have this timer ticking in my head that makes me actually watch what I rent instead of wasting my life watching reruns of comfort shows. It’s been fantastic.
Microsoft’s Two Bountiful Gardens
wave your hands around some more and and clutch your pearls better I'm sure I'll understand your point eventually.
Bad example, yes. Plus it's a pointless thing to do to start with, because you run into trouble with special characters in filenames that way. Got to use readdir.

And while we're being pedantic, it's 'lose'.
I’m optimistic that some theaters will survive. I think a good analogy is bookstores.

In the 90s there were all sorts of bookstore chains, now it’s pretty much B&N. At the same time, at least here in Boston, there are several long-standing bookstores (Harvard, book smith, trident, etc.) that still get a ton of traffic and are local institutions in their own right.

So when I think of local independent theaters that already have a dedicated following (thinking mostly of Coolidge corner theatre) I think they’ll find a way to thrive.
Oh they absolutely do have a chat with the experts beforehand. It's just that they think they know everything better so they straight up ignore the lessons, as they think for some magical reason they won't apply to them.

Source: Someone from an established boring company they tried to buy their first boring machine from, until they decided on a cheaper much more outdated model, with which they encountered basically all the problems they were warned about.