skysight-inc/HackerNews huggingface dataset:
The interesting thing to me is that supposedly reputable news sites like The Washington Post [1] were taken in by this piece of disinformation, when it took the author "all of 10 minutes to figure out the truth". Have they sacked all their journalists and now just copy random crap off social media, or what?

[1] https://www.washingtonpost.com/nation/2019/06/05/an-anguishe...
Modern C++ would be a huge improvement to start with.

Rust is probably there, if under specified. D is definitely fine for writing operating systems (Question being whether to use druntime or not).

I know nothing about Zig, beyond having had a look and not being hugely impressed.
Crossing into personal attack will get you banned here, regardless of how wrong someone is. Doubly so when the topic is divisive, for example as nationalistic topics are.

Would you please review https://news.ycombinator.com/newsguidelines.html and edit the incivilities out of your comments here in the future? We'd appreciate it.
Takes me back. I bought a used Dell workstation for a few hundred bucks. Was pretty bare, basically case, power supply and motherboard. At the time, it was the only motherboard I was aware of that supported dual socket CPUs and AGP graphics. Even though I bought it used, Dell support was willing to help me out debugging why it wouldn't boot (something to due with a mismatch between the CPU power control units - I think that's what they were called- with a dual P4 Xeon setup). For the workstation, it was pretty damned affordable for what I got. The kick in the jaw was that it took RDRAM. To put in 1.5 GB of RAM doubled the cost of the build, easily. Few years later when I was an FTE, and no longer in school, dropped a couple of grand USD to upgrade the RAM to 3 GB. That was circa 2005. Great workstation, but boy was that RDRAM expensive...
Hang on: your doctor knows you're trans, but they don't know your birth gender, and you think they're too scared to ask, and that you'll get a slightly wrong dose and then you'll die.
Don’t focus on the competitors. Focus on the customers. Drop the analogies and say what you are.
This feels very post-hoc justification-ey. glibc has had data structures for a good long while. I don't think they offer linked list, but it's not a particularly useful datastructure compared to say, a hashtable.
Clicked, didn't see a search engine, closed the tab.
> Wind or solar is useless for the grid, period.

That must come as an awful shock to everyone already driving their grid with increasing fractions of wind and solar.
Ask HN: Self-Hosted or Encrypted Notes/Todo App Like Notion.so or Workflowy
Does anyone use an app to plan their 'projects' that's either self-hosted or encrypted? I'm not a huge fan of putting all my most personal information on someone else's server.

Every time I look into this I'm not able to find any option with the same productivity benefits as the mainstream options, so I would love to hear about your setups.
Qemu has a backend too if I'm not mistaken?
It uses Hyperkit: https://github.com/moby/hyperkit
> I'm not sure I morally disagree with advertising or tracking.

This seems to me like one of those spots where one's approach to ethics can play a big part in the conclusions you draw.

From a sort of Kant-style, deontological perspective, where you have to be able to say with confidence that something is morally wrong in order to make much of a judgment at all about it, yeah, it seems hard to mount a strong case against ads.

From a more Bentham-style utilitarian approach, it's easier: Are ads and tracking a net benefit or detriment to people in general? AFAICT, the only people who try to mount a case that the answer is yes are people whose livelihoods depend on everyone being OK with ads.

Then there's the "do unto others" approach you get from virtue ethics. The GP's take of, "I'm not going to monetize with ads because ads annoy me" reminds me of that.

It's interesting, because, if you could paint those three approaches to ethics with a broad brush, the latter two would be, "Let's try and make things as nice for everyone as possible," while the first would be more like, "As long as it's not actually evil, ¯\_(ツ)_/¯"
A hypervisor is not exactly a container. Definitely not in the Linux sense. It may be more secure, but it is also slower.

Further, there's no decent solution for shipping a macOS container image to run in a VM. Linux, yes, Mac, no.

Finally, good luck getting your virtualized macOS app to interact reasonably with your main OS (no drag and drop, no OpenGL, etc.).

I would rather chroot.
I thought it is reasonable. IIRC, my MacOS 10.14.5 has python 2.7.10 built-in (I've install home-brew on it, but I guess it is the Apple built-in version), it is too old (Release Date: May 23, 2015).
I don’t know about relative quality but Syzkaller finds a new kernel bug every minute or two and Coverity says there are thousands of unfixed defects that their static analysis can detect.
Has anyone written a high-level introduction to mainframe tech that's accessible to people outside the mainframe culture? I've always been curious about it, but the IBM manuals I've come across have been somewhat impenetrable.
You do realise that the reason these things are being stripped out is because macOS includes hideously old versions for backwards compatibility with older software that depended on them, right?

There is no real loss here; no sane users would use the built-in versions due to their age. It has been preferable to download and install newer versions for a long time, this changes nothing.

And if it's fine to spend a tiny amount of effort to install WSL or Cygwin on Windows, then it's surely also no effort at all to install Homebrew or MacPorts (or other) — with the benefit of not working in a contrived, separate environment.

This comment betrays a fundamental lack of understanding of modern developer workflows in macOS and feels just slightly like a troll comment from someone who likely doesn't use macOS to begin with.
Over time I’ve just migrated to using brew for everything. I’m not sure how it differs to macports, etc it’s just the one I always ended up using and it’s now just muscle memory :)
Having the balls to take up on a project of this scale is admirable. All the best! Wish I could contribute but not familiar with any of the languages used. Will try to contribute in other ways. Good luck!
I must have been living under a rock for the past five years, because Crystal went completely unnoticed until last week. As a long time Ruby programmer, I'm eager to give it a try.
some people like remote work some don't some like a mix. it seems the ideal solution is to give each group a flexible ability to do all 3 and not mandate anything , to maximize preference satisfaction. no?
> But in some domains (or pieces of domains), state and mutation aren't just unfortunate implementation details, but a core element of the problem space

True, but I would argue that it is far, far more common for people to writing stateful code to do things that are better done in functional style, than the other way around. This comes from my own experience of learning functional programming in JavaScript (before knowing about Haskell et al) and refactoring a project into a functional style that relies heavily on immutability.

I think Haskell is not more widely used in the industry because it has a very academic reputation. If you say you write Go, people think you are a practical programmer who turns coffee into solid business logic that powers some profitable website. You write Haskell? Then you are more likely to be perceived as some eccentric scholar or their like.
How much slower?
If you think x * y is a lot different than x + y, then you might want to think more about how you think about algebraic expressions, yeah?
Begone, horse.
I actually think it's seeing quite a bit of adoption in industry. What I'm seeing is a class of developer that won't learn it or thinks they can't learn it, of course "to each their own", but I truly think Haskell/PureScript/Idris/Agda are onto something remarkable: making the software industry more like an engineering discipline and less of a craft (i.e. like the difference between civil engineering and carpentry).

Your argument RE: immutability and purity hampering implementations: Haskell excels at allowing developers to start with impure IO-heavy code, allowing you to later refactor chunks of the implementation out to pure code. In-fact, I talk about Haskell as the language you use to "move fast and _not_ break things". It also encourages a more principled approach to software design and reasoning than many other programming languages.

I've used Haskell (and seen it used) in production for many different problem domains for the last seven years of my career. I have yet to see something Haskell/GHC cannot handle well with a few niche exceptions.

In my time using Haskell I've come to think of "mutation" as a cardinal sin in software and you better have a good reason for committing it instead of letting the compiler do it for you (you can write mutable code in Haskell, too, btw - it just strongly discourages you from doing so and it makes some classes of mutable code impossible to write, which is a very, very good thing).

As a (very) fallible generalist, Haskell is a godsend and we use it extensively where I work for shell-scripts, for code generation, for (performant) network packet parsing, HTTP web servers, gRPC micro-services, and even our "build bot".
Oh my god, it's the end of the world, Homebrew will never be able to make another installer that doesn't use ruby ever again! /s

But let's be real, they're either going to make a .pkg, or just use a shell script or .. really, there's dozens of ways. They've been using an alternative version of ruby packaged in the homebrew folder for a while now. The only part of the process that requires System Ruby is the installer, now.
So what about shell scripts?
Spacelet – Rent anything, anywhere, easily
Sign into Gmail Without Signing into Chrome
As someone said, probably me, analytic philosophy is precise but boring while continental philosophy is vivid but incoherent. I always enjoy Terry Eagleton's barbed wit - he's convinced me to crack open a pint of Witcraft.
Interesting that some version of Python will still retain a default status, while Perl and Ruby are both being removed from the default install.

Congratulations, Python 3!
More importantly the performance of Arc.io website is dreadful.

If you're going to sell high-performance then you should at least make your own website perform well.

If your website performs well then I'm more likely to believe your story.
Python and pip just being there is a huge advantage for newbies. I really think that part of programming is constantly ignored because all the decision-makers are not newbies.
Yeah it's easy to see writing in dynamic languages with optional typing and static analysis tools (e.g. JS with TS/Flow, PHP with phpstan or psalm), the type analysis finds all kinds of different and subtle problems that unit tests probably wouldn't catch. Large integration tests often would, but are even harder to write exhaustive cases for.

Types just make everything easier to do right the first time.
What would our technological landscape look like currently if everyone was hostile against new companies? Old doesn't mean good.
Too bad its still used by the millions of barrels in Aviation. Why do we still allow tetra-ethyl lead outside antique aircraft?
Writing of all sorts is currently under enormous financial pressure. Many "journalists" are no longer on staff with adequate pay, but are underpaid freelancers with no benefits. Local papers are shutting down in droves. Etc.

It's a huge crisis and there's no good way to talk about it.

I do freelance writing and blogging and I've been dirt poor for years. There is a long history of me either commenting on how the world expects good writing for free, which simply doesn't work, or me complaining about my situation in specific. The reaction on HN is pretty consistently hostile. I've often basically been told to STFU and go get a real job.

I have yet to find some means to adequately convey that it's a system-wide issue. It's not just one whiny loser.

This is a global crisis impacting the quality of our journalism, and that impacts political freedom and many other important things.
I can already get the online version!

The trouble is that I can see some PUA codes being used in the text.

https://www.bible.com/bible/1749/1KI.4.20.ODIAOV-BSI

https://www.bible.com/bible/1749/2KI.16.17.ODIAOV-BSI

https://www.bible.com/bible/1749/ROM.6.16.ODIAOV-BSI

No idea if these will appear in the comment, but let's try:

 U+F020
 U+F02F
 U+F0A0

If I can compare to scans of a printed copy, then I'll be able to know what the characters should be (and therefore whether they're already in Unicode).
It's the right translation! I emailed them, but they don't really understand my question and take a long time to reply.
I love this type of analysis / retrospective. Ive done 100s of technical interviews and so far there are a handful of questions that stand out as highlighting great candidates.

- the interviewer writes a simple c program that compiles and asks the candidate what it does. The best example is an app that dereferences null. Good developers see it right away and answer “segfault”.

- ask someone to do something requiring managing delays, recursion, and error handling. Its wild how few people can handle this who have been developing for 5+ years.
Sorry, I missed this other comment:

> The federal election was on May 18, this search was on June 4th, well after the election. If anything, the AFP may have waited long enough to ensure this did not affect the election.

I didn't say that their actions affect the election, I said it was political. If they really thought this was purely about justice they would've conducted the raids last year, but they conducted them ~2 weeks after the election now that the Liberal government is back in power again with a majority. Dutton and Morrison claim that they have nothing to do with it, but that's complete bullshit -- the AFP are now being run by Home Affairs (Dutton's turf). Police generally don't start prosecuting whistleblowers without government pressure.
> (read: some tinfoil)

Try it. Wrap your phone in tinfoil then call it. It will still ring.

It's harder than it looks to make a Faraday cage.
Medical preprint server (medRxiv) debuts
It would make it either much easier or much harder to implement a honeypot.

Also, combining the two into a "birds and bees" protocol might be idea for some kinds of traffic.
With brew as the de-facto package manager for macOS this is a great move. Having Python and Ruby bundled with macOS is confusing when trying to install "regular" versions of the software through brew or other methods. Because the default installation can't updated without updating the OS, the system versions are not useful for most developers.
Honestly I've never fully given Elm enough of a run-through to say yet (ditto with OCaml). I remember 2yrs ago I was evaluating it but decided to learn React/Vue.js for professional reasons. Additionally I wasn't convinced that Elm would be an ideal long-term commitment and more of a compromise between JS, FP, FRP (functional reactive programming) and more of a framework competitor than a full-blown language.

While I see PureScript as a full long-term language-level commitment to Haskell style FP minus the purity. But again my exposure to it has been too limited to have a strong opinion.
But a hash table using separate chaining requires linked lists, so still pretty fundamental.
Linked lists were also more applicable during that time.

The PC world was just starting to move away from segmented architecture to 32-bit linear addressing. With 64K segments, you were limited in how big an array could be since it required contiguous memory. However, with linked lists, since memory did not have to be contiguous, you were only limited by available memory instead of 64K segments.

In addition, during the late 80's, early 90's the relative difference between memory and CPU was much less than it is today. Because of this, iterating a link list did not have quite the cost relative to iterating an array that it does today.

Nowadays, linked lists are a much more specialty structure rather than the first thing you reach for when you want to store a bunch of stuff.
I suspect it's just a typo of "deaf".
To some people the word means woman as a biological sex, in which case it would be "has 2 X chromosomes, or otherwise falls in a slightly muddy intersex situation." To some the word means woman as a gender, which itself can also mean either biological sex or gender identity. Watching people make concrete assertions to one another on the basis of definitions they do not share is as predictably pointless as you'd imagine.
Learning how to install Python and Pip should be part of the learning process for newbies.
This is false. German anti-Nazi laws are weaker today than under Weimar and the society is generally much more liberal.

Of course the reason why no nation has renazified is because Fascism exists as a boogeyman of the left rather than a reality. It is a completely discredited ideology. If you look at every public opinion survey, there are many more communists than there are nazis, even though morally both sides are equally odious.

If you could find a Nazi lurking about somewhere, rather than in the nightmares of radicals, they would never say "Real Nazism has never been tried". Whereas there are actually people claiming to be communists and insisting that communism deserves a tenth or eleventh chance. Nazism is a completely defeated ideology even as communism continues to try to come back from the grave.
Data normalization, ACID (transaction integrity), indexes, server-side validation, roles (user access levels), etc. take more effort to put into a spreadsheet (or add work-arounds for) than a regular CRUD stack (such as LAMP).

All those things take less effort if you already know how to use Linux, Apache, MySQL, and PHP or Python. If you don’t, but do know how to use a spreadsheet, it takes vastly less effort to do those in a spreadsheet than to learn how to do those with a LAMP stack.

And there are orders of magnitude more people in the latter group than in the former, and their time generally costs much less on the open market.

Which, to be clear, I don’t think is a good thing! Doing those things with a spreadsheet is worse in every way—effectiveness, maintainability, you name it—except this one way. But it’s usually the only one that matters.

My dream, coming soon to an Internet near you, is to “democratize” the things that come easy to us “real programmers”.
This thread wasn’t exclusively about computer security, but has some ideas: https://news.ycombinator.com/item?id=20015775
BTW, I should add that we also have a reliable number for the "no humans on earth" atmospheric CO2 rate of accumulation: It's about 100 ppm in about 10,000 years. In other words, on average, natural atmospheric CO2 concentration has risen at a rate five times faster than the natural "no humans" CO2 decrease rate of change.

That means 0.01 ppm per year (10 ppm per thousand years). This also frames the conversation with regards to what our contribution might actually be.

The challenge, of course, is that we are not going to erase humanity from the planet. Which means there will be some base number for the additional contribution to atmospheric CO2 accumulation no matter what we do.

In other words, it's 0.01 ppm/yr ONLY if we evaporate from the planet. With us on this blue marble the "new normal" is far higher than that, and unlikely to ever approach the "no humans on earth" rate.

This issue can be reasoned down to a few fundamental conclusions without engaging in anything more than simple analysis of the scale and timelines of the effects we are concerned with.
Had to get rid of something to make way for those $1000 monitor stands.
Oh, please remove them ASAP or include the most recent version of them.
> The best example is an app that dereferences null. Good developers see it right away and answer “segfault”.

And more pedantic developers state that it is "undefined behavior" and anything can happen.
Do you know how it would compare to something like a space-heater in terms of something like $ per degree heated per cubic meter?
How many different geographic regions can I get a hetzner server?
Magical, Mystical JavaScript Transducers
That narrative sounds like someone played a game of telephone with this CATO institute essay: https://www.cato.org/policy-report/mayjune-2015/war-free-exp... I'll leave it at that. HN readers are perfectly capable of reading the history themselves and appreciating the complexities.
You're probably thinking of 'The "Only" Coke Machine on the Internet'

https://www.cs.cmu.edu/~coke/history_long.txt
Very few programmers are proficient in Haskell, and operating systems and language tooling are built around imperative C-style semantics.

Combine that with the fact that most of the software industry does not care about correctness or stable software and generally lacks professionalism. "Just ship this half-assed software as soon as possible" is the attitude at the majority of software companies.
There's a concept I discovered in the realm of political science, the "fundamentally unanswerable question" - ones where it's not actually possible to generate the kinds of counterfactuals you'd need to try and run an experiment.

I think this is probably one of those. Haskell and C++ are very different languages, that are designed for very different purposes, and are popular in very different problem domains. To start with, that would make it difficult to come up with a task that wouldn't handicap one language or the other. (For example, a video game would favor C++.) Even if you found that, you'd have a hard time coming up with a good test. Under random assignment, Haskell is presumably going to be handicapped relative to C++ by the fact that most languages are imperative and use Algol-style syntax. You could try to avoid that by using participants with zero programming experience, but then you're studying learning curve for absolute beginners rather than productivity among experts. And so on and so on.

Long story short, probably best to leave this one to the spittle-flecked Internet arguments.
Probably because async/await IS a monad. Avoiding that infection just takes some design experience.
They mention transparency but I don't see anything being open-source? Seems like something so community focused would benefit from that.
Its a shame MacPorts kind of died on the vine. It just seems so much cleaner and less hacky than Homebrew.
> You're lucky enough if you can find a developer who knows mutable data structures outside of SF.

That's one of the most arrogant statements I've read on HN in quite a while.

Nearly all developers know mutable data structures, it's bread and butter. Immutable ones aren't some exotic life form, it's just that using them effectively (read: efficiently) as mutable ones can be really tough, and leads to more complex code.

You should maybe get out of SF for a bit.
PIT is open as well. Generally wherever I fly is someone is meeting me they meet me at the luggage claim.

Not sure how it could be any other way. After all you can pack weapons in checked bags, so once you are at checked baggage you are already beyond the security perimeter.
interesting! Will try it out.