skysight-inc/HackerNews huggingface dataset:
Some of the comparisons do not seem fair. Here the optimizer has all the data (though it was collected from untrusted sources) while in some of the mentioned works the optimization steps are done at data owners. Specifically this means that trust related regularizers aren't as useful.
Show HN: K3sup (ketchup) 0.2.0 – install and build Kubernetes clusters with k3s
Nothing is actually worthwhile. Our "worthwhile" sense is perfectly capable of telling us that building the largest Beanie Baby collection is worthwhile, that joining the Westboro Baptists is worthwhile, or starting a juice bag startup is worthwhile.

Do other people's lives seem more worthwhile to you because they have some relationships with people you'd care nothing for? Not to me -- the worthwhileness is an entirely subjective feeling for them. Whereas suffering is a real thing that subtracts much more from life than worthwhile adds.
Documentation is essential. How things work is an important thing to
document. Ideally it should be in version control and be generated
from the code, because then it's less likely to go out of date.

My solution to this is old and fairly unpopular, but I stand by it: anything in the codebase that's not obvious to a new maintainer should have a brief, explanatory code comment.

Generally, this falls into two categories.

1. Hacks/kludges to get around bugs in hardware, external services, or included libraries. These manifest in code as incomprehensible, ugly bits of code that are difficult to distinguish from code that is simply "sloppy" or uninformed. More importantly, they represent hard-won knowledge. It often takes many programmer-hours to discover that knowledge, and therefore many dollars. Why throw it away? (Tip: include the version of the dependency in the comment, ie)

# work around bug in libfoo 2.3, see blahblahblah.com/issues/libfoo/48987 for info
# should go away once we can upgrade to libfoo 3..
if error_code == 42 reset_buffer()

...so that future programmers (including you) can more easily judge whether the kludge is still needed in the future.

2. Business logic. This too is difficult/impossible to discern from looking at code. Often, one's git commit history is sufficient. But there are any number of scenarios where version control history can become divorced from the code, or require a fair bit of git/hg/svn/whatever spelunking to access. And this of course becomes increasingly onerous as a module grows. If there are 200 lines of code in a given module, it is a significant time investment to go git spelunking for the origins of all 200 lines of code. Some concise internal documentation in the form of code comments can save an order of magnitude or two of effort.

It still has problems (What do you do when the code and the
documentation disagree? Which is correct?), but they're not as
severe as the problems that arise when there is no documentation at all.

This is pretty easy to enforce at code review time, prior to merging.

In the first place, only a true maniac would intentionally update

# no sales tax in Kerplakistan on Mondays
return nil if country_code==56 and day_of_week==1

...without updating the associated comment. If they do neglect to update it, that's an easy catch at review time.
Older People Need Rides. Why Aren’t They Using Uber and Lyft?
I get where you're coming from. I think your intuition is off.

Intuitively, software can be modeled as a graph of modules with lines representing connections between modules. An aspect of "good software" can be attributed to some metric described by the graph, let's say the amount of edges in the graph... the less edges the less complex. An optimization algorithm would probably take this graph as an input and output a graph that has the same functionality but less edges. You can call this a "better design." This is all really fuzzy and hand wavy but if you think about it from this angle I'm pretty sure you'll see that a axiomatic formalization can be done along with an algorithm that can prune edges from a graph (or in other words, improve a design by lowering complexity)

A computer program is a machine that translates the complexity of the real world into an ideal system that is axiomatic and highly, highly simplified. Such a system can be attacked by formal theory unlike real world issues like what constitutes a good car.
While you are right for most applications, it would not work for gambling or block selection in the case of proof of stake. Let say I'm flipping a coin (based on the last bit of the block hash) with you. You already locked the funds on the contract, waiting for me to commit to. I can wait until I'm the block proposer to push a block where I'm included. Even if we defined ahead of time how many rounds of hashing, I still have access to that information ahead of time and can decide to participate in the bet.
Therefore, it is not secure randomness. (I won't get into commit and wait which could solve it but they are a pain in any case)
>He points to Atheism as a key reason for the death of 60 million people under the Soviets

Not very far off. In their fervor, the soviets replaced a millennia old in their parts known quantity religion, with an atheist cult of "communism", the all-known "party", and the "new man". That strand of militant atheism operated the same way, and worse, than actual religion.

One could e.g. murder people and let go of compassion, as that was a "christian" thing. What supposedly mattered were the end results (the building of communism). Heck, they even made mummies and pilgrimages of their supreme leaders...

Dostoyevsky had already said pretty much the same (e.g. in the Possessed, and in Crime and Punishment), regarding the new revolutionary fervor in Russia and where Russia was headed, 100 years before Solzenyntsin.
Do you know if this is called something else? (perhaps in other disciplines)

Googling "Design defen{c,s}e" just got me a whole lot of military contractors.
-1 for Turing complete config languages.
Or Kempe's (mistaken) proof of the 4 color theorem.
neither link works for me
Don't write software like you write books, and other product building advice
I'd be curious about this farm's safety record. Wild moose are unpredictable and powerful. One thing that can trigger moose attacks is if one group of people feeds a moose and then another group denies it food. What happens if somebody is late with the steamed oats?
This is malfunctioning ai in action. Also curious if it is an option for all of these banned app makers to team up and sue google.
How is infosec less tedious?
You are correct! The thinking behind this is that for the majority of file-based configuration and content usecases the expected types are fixed and known beforehand already - ergo it makes more sense that a developer has to specify once which type a field is (gaining in return 100% type safety, validation, localized validation messages, ...) than all users later having to e.g. explicitly write quotes a million times when writing configuration/content, just to tell the application something about the type it already knows anyway (and wouldn't expect/accept any other way too). I think this is really more ergonomic, even in the short run.
>I keep on saying that Software Literacy is a real thing. And that this current generation of leaders are like Charlemagne - he was the first Holy Roman Emperor and the last who was illiterate.

And probably he was the best of what followed as well, so this literacy thing didn't go as well, where power figures were concerned...
Purism phone https://news.ycombinator.com/item?id=20555463

You may have to wait for it to come down in price

Pine Phone
https://news.ycombinator.com/item?id=19592588
> The First U.S. Army, accounting for the first twenty-four hours in Normandy, tabulated 1,465 killed, 1,928 missing, and 6,603 wounded. The after-action report of U.S. VII Corps (ending 1 July) showed 22,119 casualties including 2,811 killed, 5,665 missing, 79 prisoners, and 13,564 wounded, including paratroopers.

https://www.historyonthenet.com/d-day-casualties

So it was actually pretty close: ~800 US troops killed during the rehearsal vs 1465 during the actual landing.

Somehow, from "Saving Private Ryan", I had imagined that the death tole was much greater.
You’re saying it’s comprable to 3 in size and features, but S&X in price? I really don’t intend to be snarky, but I haven’t seen it, and this would be the implication if what you say is correct.
Are the Kids Al(t) Right?
All book links are affiliate links (tag=prgfrd-20).

Spam repost.
I'm pretty sure I was told at school to never include a picture, but that was more than a decade ago. Today I see most resumes having pictures, especially those from Epitech candidates.

I don't like it though, I don't see how a picture is relevant to a resume.
The question is, why aren't more outcomes acceptable? Why do parents feel a social pressure to make heir kids belong to a certain percentile of "successful" young adults?
It could be many explanations, but it's definitely more prominent in the US and China (among middle class/upper middle class) than in e.g. the Netherlands or Sweden. So let's ask: what's the difference? Why do I not need to take my kids to extra curricular activities, and instead I trust I can leave them to play with rocks till it gets dark just like I did myself when I was a kid in the 80's?

I think it's down to many factors that makes society less competitive:

- I know that if my kid screws up, they'll still be comfortable (have healthcare, pension,...)

- Higher education is free so It's not an "investment" or a "risk" that needs to pay off for me or them. I hope they'll study because they find it interesting. If they do, they won't need a great career to pay of student debt.

- Admission to higher education is never made on soft or arbitrary values such as past participation in extra curricular activities. If my kid scores better on the standardized tests, they'll snag a position at the best school over any a kid that is the child of a billionaire who was always president of all clubs and plays 24 musical instruments.

- Education isn't very competitive. In 20 years of school I never saw a "ranking" where anyones results or grades were published, e.g. where someone was declared "top of class" or similar.
Amarok, the kitchen sink music player had an option of connecting to a Mysql server back in 2007. IIRC it used a slower embedded DB out of the box.
give orange man few more years
I've been on a couple of projects like that, and in my experience the real reason behind this logic is that manager and product owner this way may make themselves indispensable, they can't ever get fired without practically killing the project (until it becomes completely unmaintainable and slowly dies off)
Subaru Outback, (and crosstrek) is a staple of Seattle/Northwest. There is almost literally one on every block.
Show HN: HN Comments Owl: highlight new comments and collapse old threads
> Dostoyevsky had already said pretty much the same

Wasn't Dostoyevsky also religious?
You're more likely to sleep at night than not, that's sufficient to establish your timezone with good accuracy.

Fefe, a german blogger, had this analysis done using his posting history on his blog, allowing readers to not only determine his timezone, but when he was travelling and where.
It still amazes me the extent of BS that developers will put up with to get their apps into users hands. The level of profit-driven gatekeeping exhibited by both Apple and Google is fundamentally unacceptable to me, and one of the many reasons I will likely never release an app for mobile. The web is still the last bastion of developer freedom, albeit not the platform users have been trained to use these days.
In my view there is no qualitative difference between those two activities. Both are just different modes of consumption. Actually playing the sport would be something different, though.
What Zcash did and Solana plans to use is a VDF without succinct verification. Unfortunately, I cannot verify it on a smart contract though, which brings me back to RANDAO + VDF for onchain verifiable randomness.
You guys in the States have it bad. I hear terrible stories about the fear that now surrounds any kind of freedom for kids. Over here in the UK we’re a bit better, but the “give them exams ALL the time” and schools being on their knees, financially, are all too familiar.

For me, this journey with my kids has been about a massive slew of things, among the most important:

- extending their childhood where possible: encouraging actual play (and discouraging the pseudo-play of screens)
- letting them out: outside play when they’re younger (my kids dicked about in streams and woods from about 5/6 years old); now they’re older (14/12) they take themselves off swimming, into town, to the shops, on the bus to the nearest city 2 hours away, etc
- reading, reading, reading. Always.
- talking and appreciating them as adults and not as kids. This means trying not to patronise, being adult when talking about politics, religion, sex
- being more present: for example, I’ve had a Nokia 3310 rather than a smartphone for more than a year now, and a large part of this has been about not being constantly distracted when I’m with other people, particularly my kids
- be there: work less, hangout more. I work for myself, but never evenings or weekends, these are family time. I’m gonna be poor and will probably never retire but these years with my kids are as important as it gets. I’d rather be poor forever and have had this time with them. It’s all too short.

Kids need all the love, but too often this becomes smothering.
I don't understand the point of replying like this. Clearly we agree that the Singaporean government is very good at getting things done, and we agree that the things it wants to get done are horrible. Why are you speaking as if our opinions differ? Why manufacture conflict where none exists? Is calling something a quasi-Orwellian dystopia now too subtle an expression of disapproval?
Are startup times really your problem?

Consider https://github.com/JuliaLang/julia/issues/30044

You can manually enable buffering of the pipe endpoints. Otherwise julia will be super-duper-slow when part of a pipe.
Americans Are Increasingly “Alarmed” About Global Warming
More than with the current defacto lingua franca, English?
We “piggy back” on US innovation - just like many other fields - but (a) we pay for everything we buy from America and (b) we’re still able to offer extended healthcare despite having in many cases comparable - or the same! - technology.

Or are you suggesting that the American people must sacrifice their poor so that Europeans can “piggy back” on the gains?
Are you sure? Because the step between "identifiable" and "your personal identity" is short. Recent studies found that social graphs between social networks for the same person almost perfectly match. If you have a social network account (Facebook/Twitter/Netflix/Amazon/etc.) and you also have a social network account in the VM (HN) then someone can match those identities.
> a cheap device that got its final software update five days after it shipped

Xiaomi Redmi Note 4, released 2016, MTK-based cheap smartphone, current official stable ROM is V10.2.2.0.MBFCNXM released May 2019.

> Apple shipped 33.8 million new iPhones during 2Q19, which was down significantly from the same quarter one year ago. Regardless of the slightly lower market share and device selling prices, the iPhone installed base continued to grow. The numbers show that now 3rd placed Apple may soon drop into 4th, with Xiaomi only 1.5 million handsets behind Apple.
>I don't deny that it's good advice, but who is this guy and why should I listen to him?

Shouldn't you listen to it because it's good advice, regardless of who the guy is?

And isn't it a Google search away from knowing everything about the person?
The Yamdenburg would be apt since it gives you a pretty good indication of how that's going to end.
This is great, especially considering that AirDrop is used for instance by Hong Kong protesters to bypass the great firewall [1].

[1] https://qz.com/1660460/hong-kong-protesters-use-airdrop-to-b...
"Processor" here refers to something like your ATMega2560 (or in this article, ARM Cortex-A5 MCU), not Intel or AMD desktop processors. It should have been named "microcontroller", but I used the original title per guidelines.

The bottomline is, at least skim through the article to make sure your comment is on-topic.
I have a genuine question: what are some of the "cheap to mid range devices" you're thinking of here?

Honest question, not trying to be a jerk, I genuinely want to know.
> As the initial poster was stating, men who have dogs seem to fare better at attracting women, while men who have cats seem to fare worse.

What's your evidence for that? There's nothing in the Independent article about it.
Slightly misleading headline. They're remarkably late to turn to Bitcoin, but they're learning very fast. The body of the article makes this clear.
And why would those Twitter employees be able to judge what's the better option in a foreign sovereign affair (especially given the quite low knowledge most Americans have of world affairs)?
It's a powerful book, I certainly recommend it. Also his book about a priest on the run in Mexico, the Power and the Glory. He's truly a great author and teller of strong stories.
The article lists the characteristics of a good engineer:

* has a better grasp of existing software they can reuse
* (has) a better grasp of engineering tools, automating away most of the routine aspects of their own job
* design systems that are more robust and easier to understand by others
* the decisions they make save you from work you did not know could be avoided

I obviously concord with the analysis (not sure about the 10X myth). It also states that:

* Google, Facebook, Amazon, Netflix, and Microsoft all run a dizzying number of the largest technology systems in the world, yet, they famously have some of the most selective interview processes

This sounds a bit like a paradox to me. Given the current state of "selective interview processes" (algo riddles, whiteboard coding, etc.), none of the above traits can be easily evaluated in a candidate during an interview. On the other hand, these companies do hire stellar engineers: the technological supremacy of FAANG is irrefutable.
I wish we had something like AirDrop to work between android and iOS devices.
Cryptocurrency can adapt & wallets can be frozen in some instances. Point being, something can be done. Governments can pick and choose their cryptocurrency once Swift is replaced by Japan.

Fiat money can't & will always be used for terrorism.
What a negative comment! The same could be said of English, which is the dominant international language because of British imperialism.

It's also, historically speaking, simply not true that Russia tried to wipe out the languages of the countries it occupied (also, liberated from the Nazis) after WWII. Russian was taught in school as a second language, but there wasn't any plan to wipe out the Polish language, for example.
This is such a dumb aphorism. I read and create docs every single day.

If the comments are so critical that it is a problem, then an accompanying file with those comments would be used. Otherwise, it's just a bunch of crocodile tears.
While I still would add a comment about the why, your last bit of code probably should be written without magic constants.

# Some countries have sales tax rules dependent on the day of the week
return nil if country_code==KERPLAKISTAN and day_of_week==MONDAY

The exact comment here could probably be more specific (e.g. where do you find these rules), but it also most likely shouldn't repeat the code (and the code should make clear what it represents).
>the Journal of Abnormal Psychology found that between 2009 and 2017, rates of depression rose by more than 60 percent among those ages 14 to 17, and 47 percent among those ages 12 to 13.

I also find this article strange, from where I live 12-15 year olds have plenty of free time and time to play. And after 16, well, it is to be expected to have less free time. You are about to become an adult.
USA is just slowly rotting away. From what I read here about how modern life in US looks like I seriously suspect that there will be some kind of massive epidemic mind deseases outburst there in 15-30 years.
The Moderators Who Keep Hacker News Focused on Intellectual Curiosity
I argue that it's not time constraints that complex programs bad,
but instead the mere act of thinking that throwing more developers
at the work will make it any better.

The bit about throwing more developers is true, but really does not follow from anything else you or the author is talking about.

Treating the application as a "todo list" rather than a clockwork
of engineering makes a huge difference in the quality of the work.
When developers are given a list of customer-facing features to achieve,
more often than not the code winds up a giant ball of if-statements
and special cases.

Admittedly, this is often the case when doing feature-driven development.

But it absolutely does not need to be the case.

If you treat engineers as interchangeable cogs who only need to know about one story at a time, and never tell them about the medium- and long-term goals of the business and the application? Then yes. Then you get an awful code base with tons of if-then crap.

However, it doesn't need to be this way. If you give engineers visibility into (and some level of empowerment with regard to) those longer-term goals, they can build something more robust that will allow them to deliver features and avoid building a rickety craphouse of special cases.

I have experienced both scenarios many times.
>Even during the violence everyone, even Macron and French state media gave lip service to their grievances and went to great lengths to at least pretend to sympathize

The SWAT police had hit an eldery woman badly, and Macron said to the press "I hope this teaches her a lesson".

I think that's enough of the sympathising and faux-grievances...
Nobody complains about julia for "shelling out". The imo justified complaint is that julia sucks at "shelling in".

(OK, the pipe buffering rules still annoy me)

Similar with FFI: Julia has awesome support for calling out to other languages; support for getting called by other languages is suboptimal.
http://archive.is/75ik5
Also an R package exists to do this on top of ggplot2:
http://xkcd.r-forge.r-project.org/
We're talking about Slavic languages. I've said repeatedly that English is the international language, but if it comes down to Russian vs. a constructed Slavic language, Russian is obviously more attractive, given its existing speaker base and culture.
Count me in as another old timer who agrees. I had a friend once throw the "code should be self-documenting" line at me once and it upsets me. That only really applies for code that is so simple it writes itself, and never has any gotchas hiding (and which useful project is like that?).

Leaning towards commenting "why" not "what" is another good general rule. "Self-documenting code" with sensible function and variables names and logical flow already cover the "what" fairly well.
I wonder how generalizable your experience is, though. I imagine this could very well be a trend in tech circles, where knowledge is widespread that "www" is mostly optional and the domain name is the relevant part. (And people tend to enter a lot of urls manually so they shorten them as much as possible).

I could imagine that this might be different among non-technical users, where the exact meaning of domains, subdomains and the "https" and "www" prefixes are less well-known.

I have no data to back that up, though.
My Reveal (part 1) by Satoshi Nakamoto
Russia. (the irony)
Or, you know, some of us actually like to point the hypocrisy regarding the Yellow Vests (including millions of people in France who support the movement), and apparently anyone with any different opinion is considered some kind of agent...