skysight-inc/HackerNews huggingface dataset:
Probably because politicians are stupid: (german) https://t.co/MgVwxrAYwd?amp=1
FB also uses Rust.
Programming Is a Loser's Game
Sure and they are a big, big mistake, but biggest? I can name bigger ones. Default virtual is quite the whopper, for example.
+1, Sweeney took the low road by violating his contract with Apple, removing Apple IAP from the existing Fortnight on people's iOS devices, and generally making a point by doing it the wrong way. Two wrongs do not make a right.
> At least if you believe his talks.

That's a bigger ask than you might at first think. Scalia is noted for his concurrence in Raich (https://en.wikipedia.org/wiki/Gonzales_v._Raich) in favour of federal marijuana prohibition despite its apparent incompatibility with the interstate commerce clause.

> I understand he was trying to make sure that the Constitution was followed to the letter of the law, and that if the people were unhappy with it, let them change it so that it reflected the popular desires. But let it follow that process.

That view can itself be radical. McCullough v Maryland (https://en.wikipedia.org/wiki/McCulloch_v._Maryland) was decided in 1819 -- well within living memory of the constitution's drafting -- and cemented an expansive understanding of federal powers that was arguably at odds with a strict textualist interpretation of the constitution. Adopting a strictly textualist argument today that would refute centuries of legal tradition is just as significant of a change as the constitutional amendments called for by Scalia-style arguments.

(As a practical matter, also look at the pressure points of change in the US system: it takes double supermajorities to enact a constitutional amendment, but only majority control over a sufficient period of time to appoint the Supreme Court. The latter is by far the path of least resistance.)

On the other hand, you can punt this problem even further back: the United States has no codified set of principles for statutory or (especially) constitutional interpretation.

> And that the writers of the Constitution were trying to prevent disaster as much as trying to enable progress

Note that they didn't do this. The constitutional order envisaged in the 1780s broke down with the US Civil War. If you treat the US as having a single continuous political and legal tradition (a reasonable point of view), then that tradition has both its successes and failures.

> Other unintended side effects may include: politicization of the judiciary, which we know all too well today.

Politicization of the judiciary is unfortunately a historical default. Keeping the process apolitical requires a broad, cross-partisan consensus towards either a particular model of neutral judiciary or towards appointment processes (not seen in the US) that remove judicial selection from direct political interference.

Mind you, those of radical political ideologies will point out that an "apolitical" judiciary is still political -- just one that reinforces the status quo and all injustices that entails.
Pringles are a good example where the packaging is the product to a large degree.

I was around when Pringles were introduced, and saw the ads on TV. The tube was central to the marketing appeal. There were already reconstituted potato chips in bags on the market, though I can't for the life of me remember the name.

Pringles were molded to a uniform size and shape, and the tube protected them from breakage. There was a satisfying snap when you opened the lid.

There are other examples where the packaging is the product, such as "Lunchables" from Oscar Mayer.
Yup, there is probably more Perl project at Apple than Rust ones.
... No. Which part do you disagree with?
Long-term maintainability is definitely my concern. I don't see projects like this so much as products themselves (maybe I'm myopic) but as core infrastructure. I don't want to ever write the boilerplate again, but I should be able to extend it maintainably over time (hence ejecting or Lua hooks).

My goal in building this is to allow myself to more rapidly prototype real, complex applications. It's not there yet but I've got such an application in mind, building toward support for it as I'm developing this.
This is known as shrinkflation.

https://en.wikipedia.org/wiki/Shrinkflation
A decade is very optimistic unless you plan to retire single in a LCOL area.
Probably mentioned earlier but I'd recommend Gatsby if you're just looking for a simple static site.

Though, we switched over to Next recently to take advantage of SSR.
If you change some people's names, company names and technology names, you could make this an article that's talking about Theranos.
nullability and no value types other than primitives.
Swift is 6 years old, Rust might have been popular among programming language connoisseurs at the time, but it wouldn't have been that silly to expect it to be a fad.
Apps that the totalitarian government ruling over you without your consent have decided should be banned.

The problem is that it creates a single point at which a state can impose restrictions on freedom, with no way to get around it for dissidents and other people who don't agree with it.
Microsoft researchers claim ‘state-of-the-art’ biomedical NLP model
I have nothing against your mom, who I don't know, and I'm sure she's a fine person, but nonetheless, your mom is your problem. Why does your mom become my problem. Why must my freedom be restricted to protect your mom from herself on the computer?

Your mom is presumably able to drive a car, which is a killing machine in the wrong hands. Your mom can drink alcohol, smoke cigarettes, buy a gun, use a chainsaw. All of these activities are infinitely more dangerous than using a smartphone. OS lockdown in completely unjustified in comparison. It's a vast overreaction by "helicopter children".
in my opinion, "Hexonia" is a slightly better variant (at least on Android). The graphics are better, it uses a hex grid instead of a square grid, and the game play is slightly better.

Polytopia is better in some ways - some of the specialty races introduce completely new concepts/units/gameplay mechanic, while all the Hexonia races are essentially the same with only some units being different between them.

Try both if you're curious. neither of them have ads that break gameplay.
I think it allows too much and parsing it becomes a burden.

with json - you just suck it all into your data structure

with xml - sometimes people put stuff as a tag, sometimes as an attribute. Maybe not you, but someone else will do it.
There are a number of viable data privacy software products out there. Companies, and engineers they employ, need to account for that and stop being ignorant
Given that Java is basically Objective-C ideas, but with C++ like syntax to cater to mainstream developers I wouldn't consider it a mistake.

What I consider a mistake is not making override a proper keyword.
You are the average of the five people you spend the most time with.
To be fair, 40% is better than 0%
> some {T} | undefined

Can we please avoid TS pitfalls?
...and as CD burners and players become less ubiquitous, it follows that CD's are becoming less convenient. New cars still have CD players, but not necessarily new computers or home audio players. In the mid 90s, there were at least 5 CD players in the house: 2 stereos, 1 discman, PSX, PC. Now I have 1: PS4.
Machine Learning; Now is a time to stop and think
$900k is not much. It's only enough for 4 developers for 1 year. If you don't spend the money the sponsors give you, the sponsors won't give you anymore.
Methods being default virtual? Or, perhaps more accurate, being only virtual? If that's what you mean, that may well be the first time I've ever heard someone complain about this. I used Java for literally more than a decade and I never once thought "man I wish I could create a non-virtual function".

This seems like some C++ pattern holdover where you obviously do have virtual vs non-virtual methods. 99% of the time I suspect it's just a source of extra bugs and the vtable lookup really isn't the performance hit (most of the time) you think it is.
Intro to Key Derivation Functions
I sorely miss them in .NET, specially with libraries without any kind of documentation regarding the errors that they throw.

Also checked exception haters always overlook the fact that CLU, Modula-3 and C++ did it first.
I can't recommend Audible Genius's Building Blocks course enough. It teaches many fundamental music composition techniques and ear training using a piano roll layout (like the one found in Ableton and other DAWs). It's very inexpensive and you will absolutely develop a great foundation for writing your own music while going through the course. You'll learn drum programming, rhythm, harmony, melody, and more, and it will directly translate into Ableton. There's a 7-day free trial as well.

https://www.audiblegenius.com/buildingblocks
Single Biggest Piece of Advice on Writing a Press Release
Introducing Arquero, a JavaScript library for processing data tables
This one has really been growing on me too. Right up there with the good old serenity prayer ("God grant me the strength...") and "a smooth sea never made a skilled sailor" and "once you've got a task to do, it's better to do it than live with the fear of it" for me.
It's well established that some trace amount of aluminum leaches into your food when using foil, and it's more pronounced with acidic foods.

As far as I'm aware there's no evidence of any health effects of this (still trace) amount. The main hypothesis is aluminum may somehow be linked to Alzheimer's, and dietary aluminum may be the source of that.

The Alzheimer's Association rather definitively says there is no known link and most current evidence doesn't support this:
https://www.alzheimers.org.uk/about-dementia/risk-factors-an...

Every other health effect I've seen hypothesized seems even more fringe.
Ask HN: How are interviews for SDE position conducted in Europe compared to USA?
Love the URL!
Robert May, 1936–2020: A man for all disciplines
I don't know how near a collapse is, since catastrophes in systems tend to come as a surprise, not a gradual event. I do agree, however, that there is substantial evidence to suggest a collapse in the human population is inevitable.
I used python configparser and there's a grey area when configs are merged (like default stuff and user-config'd stuff)
I'll have a look -- I've previously tried Hugo, pelican and Jekyll and while pelican and Jekyll provide extensions, they just seem so heavyweight to write.
I don’t buy one per week. Maybe a few cans per year. I use them for storing sleeves of soda crackers (they fit perfectly even though the crackers are squares). They’re also good for storing snacks of various kinds, dry spaghetti noodles (or any pasta, really). Pretty much any dry goods that you don’t want crushed are a great fit!
I think on average you're right. As the project grows, these generators lose some of their initial value and speed.

If I were to use something like this, it'd be for rapid development initially for prototyping purposes. Then I'd transition to something more bespoke as needed.

If you know all your requirements up front, then starting bespoke from the beginning may be the better route.
Have you spent as much time trying to understand the upsides of social media as the downsides?

How confident are you that your measure of the two is acccurate?
How are they stopping other companies from entering (as in, with their own OS and/or hardware) the mobile phone market?
While I absolutely adore Magit, I wonder why it doesn't just use hydra, a well established package to which Transient is very very similar.[1]

Why don't these two brilliant programmers team up and make one package twice as good, instead of working on two separate packages and mostly duplicating effort?

[1] - https://magit.vc/manual/transient/Comparison-With-Other-Pack...
PVC and BPA are not common in disposable thin plastic bottles nowadays. Reusing them is much more efficient than a metal water bottle (that also Typically has a plastic liner and other plastic parts, if your Amistics for some reason doesnt allow plastic) in terms of embodied energy and total mass of material.

I like mason jars because they actually do last a long time and are pretty cheap, but don’t hate on reusing cheap plastic bottles!
Machine Learning in Children’s Services: Does It Work?
Should’ve said “it has shown me”. I know there are many great choices out there, it’s just the first one that has sunk in with me.
You can create non-virtual methods in Java, just make them final.
Online communities are basically just discussion boards, so you need something for people to talk about, people who want to talk about it, and functionality allowing them to talk to one another.

The structure of a discussion board is usually a chronological feed of discussion topics, so you’ll want a pipeline of topics to keep the discussions fresh(ish).

And of course you’ll be competing with a saturated “discuss things online” space, so there are strategic questions you’ll need to answer. Are you going to provide a place to discuss things people can’t discuss elsewhere? Are you going to provide a stream of topics people want but can’t find elsewhere? Are you going to provide a uniquely engaging discussion format? Etc etc etc.

I don’t know that anyone really starts communities, honestly. We’re already in a global one and it just breaks down into smaller ones depending on geography, beliefs, interest, etc. The thing you might provide isn’t a community, it’s a platform. Give a community that already exists a refreshing new way to connect and you’ll be in business (scale tbd).
The problem is that we're wringing our hands over prices rising due to taking the environment into account, we do not wring our hands much when prices rise to fatten up the paydays for elite classes. Food scarcity is already an issue, and excess at the top, is already an issue. A lot of the economy is based on things being disposable, even in some cases to the point of humans being disposable objects(factory towns, sweatshops, "essential workers"). We'll eventually need to come to terms with ways to handle environmental damage better, and not in a passive way that just socializes that debt and damage onto the poor and the future generations, like we're doing now. The endless consumption/growth economy needs to evolve into a sustainable economy. Obviously there are entrenched interests that want to maintain the status quo until the world is on fire.
Looking it up, “virtual” seems to mean “capable of being overridden by a subclass”. Rather than being a whopper, wouldn’t that be the natural thing for a pure-ish OOP language?
If your goal is simply "enjoy the journey" then yes that's fine - you're successful in what you're trying to do.

The analogy is useful when someone's goal is "start a business" but shiny object syndrome keeps them from focusing on actually starting the business.
Wordest – Vocabulary Building Word Games and Quiz
- A brand new word game with one of a kind layouts
- Challenge yourself with your word knowledge
- If you can not answer them all, you still learn them with their meanings
- It helps enhance your vocabulary
- Solve word puzzles from 3-letter to 10-letter words
- Try to answer trivia questions and test your knowledge
- Take the quiz
- Then there are puzzles with analogy kind of questions
- Try to figure out relation in given pair of words, and find out the correct word
- In Six-in-Cross mode, find the hidden six words in crossword puzzle
- Enjoy learning the meanings of new words, and reading fun trivia facts
- Full dictionary meanings are not given, but only the relevant ones
- Solve the puzzles on the go
- Enjoy these brain teasing word riddles
- It is good to keep test your skills with these brain games
- Have fun

Thanks
Postgraphile allows you to write plugins to arbitrarily extend (GraphQL) schema and wrap resolvers, which is useful for things like interfacing with external APIs etc. It works just fine for me at my current project.
I was at FB from 2011-2018, and things may have changed since, but at that time it required serious buy-in to do anything that wasn’t in Hack, C++, Python, Java, or one of the mainstream mobile languages (JS/Swift/etc.) There were pilots of various things that made it into prod (Haskell had a modest niche and I spent a year on that team).

When you think about the dizzying array of touch points (logging, metrics/monitoring, service publishing and discovery, and on and on) that even the smallest component needs, the absurd wealth of libraries better than anything in open source, the standards-committee level expertise an email away that you have in one of the mainstream languages it becomes clear that you’d need more than a large incremental improvement in the language itself to break even.

The thing that might get Rust over the threshold isn’t memory safety (modern C++ with hardcore warnings-as-errors static analysis and automated ASAN/TSAN/UBSAN runs is rather solid), it’s build times.

Build times are the thing that will kill C++ unless they can come up with a modules solution that is cheaper to migrate than rewriting everything. At some point you just can’t fucking build the thing no matter how many boxes you throw at it. Rust may have a window of opportunity before C++ finds an answer on that.
Part of my job is analyzing quality metrics surrounding depression. Everyone is failing, and uncontrolled depression is an unseen pandemic. We are in rapid innovation phase.
Well I agree with your first example.

But would you call someone who wins a supposedly drawn endgame after 100 moves a tactical player or positional player? No one I know would claim that what happened on the 100th move was a tactic. It was 90+ moves of jockeying for position.
I'm sorry I don't think I fully understand your comment.

Are you saying it's bad to point out that it's good to have both parents around?
I knew magit really was magic when all of the sudden I became the guy people went to when they needed help with with their complicated git tasks. Before magit I knew I was only scratching the surface of git's power, but could never figure out the command line interface well enough to do more than the basics. I still don't feel like I'm a git expert, but magit lets me use it like I'm one.
Admittedly I downvoted this one: https://news.ycombinator.com/item?id=24438137

Yet again though:

"Random person (you)" "he does not know what a function is." "Yeah I'm not going to reply to your shit any more."

...give a good reason

---

Anyways, leaving this thread. I certainly learned something from it, I hope you did too! : )

I now noticed you're at -1, went ahead and gave you an upvote. Hopefully you can still post, and be a bit more aware.

--

Also, great work trying to explain bitdizzly. Def enjoyed reading your explanations, and will explore some the references you popped in
Late 90's? How about early 80's? ;-)

Famously, Bruce Springsteen's album Nebraska, on 4-track tape.

https://en.wikipedia.org/wiki/Nebraska_(album)
Looks great!

If you like this, check out OctoSQL[0]... Also in Go... Though OctoSQL lets you query multiple databases / files / event streams like kafka using SQL from your command line, not as a server, so a fairly different use case, but you should check it out nevertheless!

The naming clash is funny.

[0]: https://github.com/cube2222/octosql
If checked exceptions overall are Java's biggest mistake, then the InterruptedException implementation in particular is the second.

It conflates thread management with exception handling in a way that's difficult to understand and implement correctly. The relationship between InterruptedException and the Thread.isInterrupted() method is a particular pain point for coders.
It surely is acceptance, but how do you convince yourself of it? How do you convince a young college student, a just-out-of college late 20's (me), a about-to-hit-midlife late 30's/40's person that is struggling to reach the expectation they have put?

Tell a college kid to lower his expectation and he will feel like a "unmotivated" person, tell a 30's/40's that and he will feel like a failure, all his struggle for nothing, and tell a late 20's to lower his expectation and that goes against every self-motivation influencer and (probably) what his surrounding successful peers suggest.

I think most people understand that the answer is acceptance, but how to reach that point, is so different for each person. Because some people overcome it by sheer grit, while some through therapists, it's hard for a person in the grind to realize what course of action is the best, and before it's too late.
> A lot of hardworking and smart people are putting in the effort, like you mentioned, but that effort isn't in vain. May be you're not paying enough attention to know the impact their work is having?

I'm paying close attention, it could be I'm just being pessimistic :-) This is certainly a case where I hope I am wrong.
How would eliminating checked exceptions mitigate terrible API design?

I've never understood the angst. All the arguments reduce down to mitigating terrible abstractions.

The Correct Answer is better APIs. Mostly, that means don't pretend the network fallacies don't exist. Embrace them. Which generally means work closer to the metal.

I'll say it another way. The problem is EJB, ORMs, Spring, etc. The obfuscation layers.

Someone smarter than me will have to rebut the functional programming points. I'd just use a proper FP language. Multiparadigm programming is a strong second on the list of stuff you shouldn't do. (Metaprogramming is first.)
I tied this "no backend" approach but ended up writing all of my business logic in the DB schema instead of in the app, which seemed to defeat the purpose.
Feel hugged..
Understanding the Event Loop, Callbacks, Promises, and Async/Await in JavaScript
Marketing people actually know & plan for this. Check out this blog post about "The Lifecycle of Lead Generation Channels" [0].

It basically says, that any given channel starts out small and high-quality, so engaging is easy and credible. As it grows marketers have to be smarter and larger to stand out. Read it as a consumer, and they're basically talking about a scorched-earth loudness war for your attention.

[0] https://medium.com/point-nine-news/the-lifecycle-of-lead-gen...
Do you think we should ban search warrants?
> The supremacy of vinyl over CDs is the result of several factors.

And then goes on to cover none of those factors. I like the topic and am interested in more info, but this tiny article is written very poorly.

I would love to read a deep dive on the pros and cons of the two, especially about how each medium holds up over the long term. Isn't vinyl much better for archival purposes because cd's can start to disintegrate over time? Or have manufacturing processes improved?
1 - you don't pipe config to stdin. If you use standard input, that's your main input.

2 - config sets your program boostrapping state. It's not the main data your program processes. That's your main input. IP addresses are what the script processes. It's not config.
Nice to see openfaas featured here and thanks for your PRs to Arkade. I do wonder what your strategy is on connection pooling and authentication?

Also not keen on the passwords being kept in a plaintext file - someone will check that into git. OpenFaaS has secret support which you can use Amal. So does Knative.
Try: https://www.scrapinghub.com/