skysight-inc/HackerNews huggingface dataset:
Keep in mind, I'm not advocating for 'no testing, ever'. But surely there's a limit to where you say something is so trivial that it won't ever change. And it's with these preconditions I ask the question:

> a test that will never break, for a function that would never be changed

I'll refer you to the OPs low-tech to-lower function, which is reductively simple, and never should be altered, with a comment as to why.

> Comments can be ignored, moved, misinterpreted.

Don't disagree with this. Someone lacking competence and care may ignore a comment, is incapable of comprehension, or just moves things for no reason. This should be caught at review.

Tests aren't infallible either. They can be invalidated, disabled because someone lacking competence decided it was the easiest way to move forward. This should be caught at review.

Edit: I'll address some of your other points more specifically...

> The only way to make the build fail if someone has (incorrectly) replaced the "complex toLower" with the (incorrect) "built-in toLower" is to delete or change the corresponding test

In OP's precise example, a worse thing can happen. They can shrug their shoulders and just use the built-in directly. Human-context business-value explication has more powerful benefit here.

> which rings way more alarm bells than a vague recollection of "hey, didn't there used to be a comment around here that said we shouldn't change this?"

If no-one's reviewing when someone changes the actual code and it's adjacent comments, who's reviewing the changes to the tests?

> human cognition and awareness to prevent mistakes is valuable.

Extra code comes at a maintenance and cognition cost. Maybe one trivial test seems like a minor cost, but how about the maintenance of 1000s of tests that (ought to) always pass?
Yet.

I'm feel pretty secure that it won't be, but I've heard enough horror stories that I would have a backup strategy.
while money may be an issue for some teachers, money is not the problem for california schools. we spend roughly $12K per student in teaching & support costs, a bit higher than average. certainly not starved for resources. in LA, we had a school construction boom over the past decade or two. no less than 6 brand new schools have popped up near me in that time.
Everyone is seeming to notice it more this year, so I can't help but wonder if it's the opposite: That human effects on the weather (not climate) had reached an equilibrium, and everything stopping from the pandemic is causing local weather to chaotically revert to what it was before.

One example of how an effect like this could work: https://www.climatechangenews.com/2020/04/09/coronavirus-pla...
All that and you still think housing records should be on a public blockchain? What happens if someone steals my private key? Do they now own my house? If we rely on public records and the legal system to sort it out then why have a decentralized and immutable database in the first place?
Some kind of insane supergenius, I guess. ;)
AppleBot – Automate Things in Apple Dev Portal
Then a few links to those proofs should be easy to produce?
Isn't that due to the attempted curbing of grade inflation working well? As far as I know they haven't returned to actually grading on a curve ranking like they did decades ago, in theory if next year every student somehow handed in the perfect papers they'd all get top scores.
> SF is also not nearly as attractive to those starting a family compared to new grads and young single professionals.

But that's been true for a long, long time about most major cities. Wasn't a big plot point in the ending of Friends in the 90s that Monica and Chandler were starting a family thus they were moving out to the suburbs? I don't see any big permanent change here except for perhaps people willing to relocate to somewhere way more out there than just the 'burbs.
i saw mention of cuis, but i could not see anything about pharo. does this work with pharo?
There's https://rclone.org/commands/rclone_sync/
For what it’s worth, many WordPress devs are using docker solutions anyways these days. For example, core WordPress and Gutenberg (the block editor) are often developed using Docker. You can do it other ways too, but much of the tooling is built around docker anyways.

In fact, myself and a few others have spent some time improving the local environment situation with a tool called wp-env [1]. So long as you have docker & node installed, you can install wp-env with npm. Then you can just use “wp-env start” to get a local WordPress instance running. It’s fairly straightforward to configure for basic needs too! No need to understand Apache, SQL, FTP, or even PHP to get it running.

All this to say: there are open source solutions to the local dev environment problem even being developed and supported by core WordPress teams. :)

1: https://make.wordpress.org/core/2020/03/03/wp-env-simple-loc...
That article neither contains the words "bullet" nor "camera" - so without reading (and without having a strong opinion on the thing in itself) it's evident that it's a typical Wikipedia article: Missing the most important facts and only having the goal of telling you what to think.
This is delightful. I appreciate you having made this.
I came across this C++11 library a couple days ago: https://github.com/kongaskristjan/fire-hpp
Thanks, I will try this out.
And you expect a major media company to ultimately not be owned by wealthy person(s)?
I would love to see someone give GPT-3 some verbal reasoning tests (a la SAT/ACT).
This would be a good idea if I had decent upload bandwidth from home. When I'm on my cell phone, I'm generally syncing smaller things.
In my experience the main bus is perfectly adaptable until approximately “winning the game” (launching the first rocket). Making some broad assumptions, you need to reserve about 16 belts worth of bus width as an upper bound and that’ll be plenty for 99% of players.

It’s like the point of “most web apps don’t need distributed architectures until much later.”
Responding to a disaster by leveraging your resources to protect your personal interests is a pretty fundamental human impulse. I doubt any system could prevent that.
>> Even if you do port coreboot

> was read as abrasive; that tweet can be read as a snarky attack that belittles the efforts of the porter

I guess, because it allows for the chance that someone may not finish what they set out to do?

> to which the "so what?" response is apt – in fact, a de-escalation

"so what" is not a useful path to de-escalation. It's a way of saying "you've said your point and I don't think any of it applies, but I'm not going to explain why, nor even go to the length of explaining this to you, and instead respond with two words." It is, at it's core, dismissive, and that's not a useful way to de-escalate (even though I admit some people seem to think it is). What people don't seem to understand that that colloquial speech used with a friend is often dismissive in exactly this way, on purpose, because when you can actually assume good faith because of lots of prior interactions, it speeds up communication.

> And yet, in reality, it wasn't one.

Yeah, as I noted above, it very rarely is. The only times I think it can be used safely are when the people in question know each other well enough to know the other person is not being condescending and dismissive, and even then it's easy to be interpreted as that when the discussion is heated. In those cases, it sometimes takes people cooling off to assess the conversation more rationally and see what's actually the more likely intent in the phrase.

> (This is why you assume good faith, people!)

Good faith is useful, and necessary, but it really works best when only a little faith is needed in the first place. Since you can only assume good faith for yourself, it's also in your own self interest to make sure you limit the ways in which you speech can be misinterpreted. Often that means being a bit more formal so misunderstandings based on tone and familiarity are more rare. That's a shame, because sometimes we want to show friendship through our words, but that's much harder to do in pure text. Smiley's and emoticons can actually go a long way towards correctly communicating intent in these cases.

Sorry for the rant, I used this as a way to solidify some of my thinking on the subject. :)
You could use a systemd timer (or similar) to run sync once a minute or something along those lines. Its not quite the same, but for most peoples purposes itd probably be fine.
Microsoft Put Off Fixing Zero Day for 2 Years
> could lead to your data being handed over to big news businesses

Coming from Google, this is a bit funny. I expect Google to be bigger than the combined Australian newspaper industry.
It looks like your account has been using HN primarily for political/ideological battle. Can you please not? It's against the rules (https://news.ycombinator.com/newsguidelines.html), regardless of what politics/ideology you favor, because it destroys the curiosity this site is supposed to be for. Thus we have to moderate against it,
You had links to those projects, now removed.

Stupid question. Was it bad that I clicked on the github.com links? This is not something spread just with viewing the links, right?
> The actual collection process is done by the Data Intercept Technology Unit (DITU) of the FBI, which on behalf of the NSA sends the selectors to the U.S. internet service providers, which were previously served with a Section 702 Directive. Under this directive, the provider is legally obliged to hand over (to DITU) all communications to or from the selectors provided by the government.

Being legally compelled to provide data isn't the same as being 'willing'.
Or their judgement is sound, and they correctly assessed that the weirdness of f.lux or the thresholds of their userbase had changed in the intervening 7 years.
That's a good point.

300 copper (= 600 copper cables) + 200 iron => 200 green circuits in a stack.
Looks fun. Seems like your friend has a sense of humor, and mixing very different area in the game (stargates from desert to business district) offers opportunity for light comedy as well as interesting game mechanics - items to be brought from one area to another, or character powers that work better or worse in different areas. I was amused by the 'blues brothers' characters. Silly visual jokes are part of what makes a game enjoyable rather than mechanical. Perhaps the game can feature jokey versions of cliche characters and explore the cliches in unexpected ways. Good luck.
While I vocally opposed that piece of legislation (and are included in the public comments collection), that is not an accurate description of the law. The government that can force you to add backdoors in certain circumstances, and you cannot tell people about it. Yes that is utterly abhorrent, but that isn't the same as "government mandated backdoors in every software product" -- though funnily enough, the US Senate actually did try to pass a law like that in June[1].

[1]: https://www.eff.org/deeplinks/2020/06/senates-new-anti-encry...
>>> Was there an incident/outbreak in history which affected all (or the majority population) and the rich were substantially affected?

the french revolution?
Isn't that the point of sandboxing?
I suspect it is the same everywhere.

At Uni you are taught many things including "things NOT to do"; some seeming quite obvious. I thought:

"Well, I shouldn't encounter those "things NOT to do" in the Real World TM, because professionals in the workplace have had 10 years to learn these lessons."

Ah, the naivety of youth...

Professionals are just people who convince someone to pay them for what they do. What they do doesn't have to include competence.
Maybe, but that was the least of what made me ready to go all reign of terror.
While I can understand that problem, I think it's a reasonable time to target C++17. In fact I would be somewhat weary of new libraries that use something prior of c++17.
> This sounds great to me

Keep in mind, this is not motivated by your interests and has nothing in it that is there to help them. It's based on an a priori assumption that old media is good for consumers interests and all of the benefits it provides are directed to a newly invented category of "registered news businesses" which will have special rules. So no, you're not going to find out changes to algorithmic ranking in advance, nor will you get information about how and when Google collect information on you. It'll be provided to Rupert Murdoch, but not you nor anyone who doesn't qualify as a large media conglomerate.
Show HN: Decentralized Reinforcement Learning with Societal Decision-Making
I've been trying to make a (toy) contact-tracing system on microbits with micropython, but keep hitting RAM and flash limits; the lack of being able to write in append mode severely limits it's usefulness as an offline datalogger
Plenty of middle class buy homes in the Bay Area in good school districts, while blue collar workers kid’s are stuck in crappy schools.

Would you say those middle class parents have “unfair access” as well?
Not shocked tbh. The author has had their fair share of political controversies, from the site being hacked by Islamic extremist groups, to attracting criticism for his comments on official social media accounts back during the 2016 election.
German Reunification
Graph DB Perf Comparison by Tencent Cloud: Neo4j vs JanusGraph vs Nebula Graph
I switched from gflags to absl::flags and I like it, though there are recommendations against using them too much - https://abseil.io/tips/45 and https://abseil.io/tips/103 (one of my first surprises starting at google, was that binaries (e.g. "exe's") would have thousands of options, just adding a new library to your binary, and more flags are there). I actually like that one, as rather than configuring top-down everything, one can directly "inject" values - for example if you were told to switch from one library to the other, and change your borg template for launching jobs, that new borg template that you've used would have flags set (by another team). Then that team can take it further and modify them if needed, thus allowing them to control their part of the software in your own deployed binary. (This way experiments can be rolled out too, or who knows what else).
I am all for change. But my prediction is that whatever the change a new set of rich or establishment will emerge and people will detest it that as well.

The same pattern has played out in the past. This was not meant to be an argument per-se but a meta-observation.
https://gsuite.google.com/intl/en/pricing.html

You need your own domain and set up GSuite Business account on it or a subdomain. Included in the offer: Google Drive - Unlimited cloud storage. The "or 1TB per user if fewer than 5 users" bit is not technically enforced. Even if it were, I think $60/month is still very competitive if you need to store dozens of terabytes.

Sticker price currently $12/month but there are also discounted offers available if you look for them
My experience is absolutely not that most typists I know don't touch it accidentally, that sounds aspirational to me. It's definitely in the way and annoying if you're not thinking about it. Especially if you're doing something like video editing where you don't have your hands in the normal typing position. Or even in an IDE where you're back and forth to the trackpad a lot.

People who type a lot are super sensitive to changes in their keyboard, and this is a change to the keyboard. It's definitely both aesthetic and functional.
Helping founders and investors discover new markets and ideas in 5mins
Lets put this to the test from first principles. For this to be truly the hottest temperature:

- All points that we know to be possible candidates for the hottest temperature should have been measured. Lets say any spot within 10% of 130 should be recorded. So all spots that had measured temperatures 115+ in the last two decades should have been continuously recorded since 1931. I doubt this is true.

- Are we are measuring all possible points on earth where highest temps are possible? This is an "All Swans are White" category of pronouncement. Given how much of the earth is still remote, war torn and just not probed out, I doubt this is true.

These pronouncements from journalists are infuriating. These journos typically have zero training in scientific rigor and very strong ideas of their own efficacy. Woe to the scientists who encourage these statements. Alarmism sells more copies (or clicks) than tempered scientifically accurate statements.
Since when has the Washington Post messed with the URL bar? When you visit the link, it removes the path from the browser history, so if you attempt returning to it you end up on the WP front page instead.
Breakfast and the foods that make it up exist as a social convention / "unwritten rule" but consciousness doesn't. Not even the most extreme eliminative materialist believes consciousness is a social convention. Therefore this whole article relies on the false analogy fallacy.
I agree with this, kind of. Though I've found that keeping useless tests around doesn't always have 0 cost, same for any dead code.

Often, though, you can verify that your code works using a REPL.

I'm also a huge fan of how doc-tests in some languages that make the tests are part of the documentation, and neatly 'cohere' them to the function itself. At which point I'm happy to leave them in, as the tests-as-documentation are harder to miss, and are actually instructive.
> no better way

Well that's just, like, your opinion.
Nextcloud syncing works like shit for me and the client apps don't impress. I'm planning on dumping it for Google Drive soon enough (since I don't need Linux support) since at least it's cheaper.
It doesn't sound like you've learned and used it.
Or just OneDrive with office365 $7 a month for 1TB with all the other stuff
nope, Google doesn't give a shit about that. They just hate having to pay for displaying content from news media.
Was this written by GPT-2? (Not GPT-3; it's not coherent enough.)
Yep, I have my main search engine on personal laptop switched to DuckDuckGo. Guess what, more often I just end up typing '!g' for finding something relevant.

For US, DDG still is fine I guess for basic results like local websites. If you are traveling to other countries, notice that DDG will often give very bad results for queries with local relevance.

I ran away from data collection and personalisation at the start of the last decade, but I often these days leave it on, because it just makes my life easier. Another example would be Google Photos, where letting Google run my photos through algos is very convenient because the simple feature of searching by visual context works like magic. The young privacy freak me would have been horrified if he knew this.
Personally some folks are energized by the activity. I find it particularly draining. Little things like needing to time my laundry so my neighbor doesn’t pull mine out and move ahead of me in line cause me to spend my weekends stressing instead of relaxing.

I also don’t get a ton out of cultural experiences like art exhibits and high end dining. For me, I recharge by sitting in some dirt next to a campfire with friends I’ve had since grade school.

Like I said, everyone is different, but for me the city was all cost and no payoff.

If I knew I could work remote indefinitely, I’d find a nice house in a bikeable neighborhood with a good school district and have a lot of bbqs with the neighbors.
> Ridiculous sounds when he won or lost

You could really give someone some good experiences with that. A game that it artificially seems like you narrowly escape disaster turn after turn can feel great at the end.
You're safe. You have to compile the projects with Xcode
Ok, a better ecosystem?
The cultural revolution as well.
I want to see an AV1 decoder written one Halide.
Beaches???
Kapton is an outstanding substrate material for flexible printed circuits. It has one of the lower dielectric loss tangents available, and this becomes important in RF and microwave applications. However, PTFE is better.
According to Wikipedia, Steely Dan toured on and off well past 1974 with their last live shows with Walter Becker in 2017 who died later that year.

But fine. Obscure 60s band, The Beatles.
"Silicon Valley" has come to encompass the entire Pacific coast, I see. Travis Kalanick is a guy who is from LA, went to UCLA, and lives in LA. I mean yeah he got fired from Uber, but that company isn't in Silicon Valley, either.
Julia has crazy interop so you can call python libraries if you want. You are missing out though.
There is no Fairfax since 2018, and even then Gina Reinhart owned 20% then. Now, it's channel 9, and having Peter Costello at the helm. So... Yeah, we don't really have a balanced or neutral media landscape. The ABC, The Guardian and a small selection of boutique papers and websites are alone in putting journalism before explicit political narratives now. And well, even the first two in that list heavily rely on clickbait and lazy opinion pieces to pad of the content.
Honestly, strings that are intended for human and for computer consumption should just be two different basic types without any implicit conversion between them.
I refuse to do take-home interviews. My time is valuable, and it's important that the company I'm applying to shows its seriousness by allocating interviewer time to interviewing me.
Why do you think the interpreter needs such a function?
OK, now that I wouldn't have expected! Thanks for the heads up! (Not that I'd likely be able to observe it with our weird procurement flow....)
>continuously syncs files

Mount?

>handles interruption/resume of syncing.

"Transfers over limited bandwidth; intermittent connections, or subject to quota can be restarted, from the last good file transferred."
And corporate America will use this trend to push back against highly skilled technology salaries. It really shouldn’t matter where we work or what the cost of living is where we reside.
Well, I don't agree with the article's tone of moral superiority, but I do think we're facing a more serious problem than the split between good and bad school districts. We're going to come out of this academic year with an unprecedentedly large bifurcation between kids who got the resources to home learn effectively and kids who didn't, and we need to think about what that means for their academic futures.
At least a couple of places, including one of Oxford Uni's colleges, have agreed to take anyone who was offered a conditional place, and there has been a hashtag trending on Twitter of #HonourTheOffer

I expect many more to follow, so it's possible that the universities will clear up an awful lot of that mess - but while some academics are saying yes great bring them all in, others are strongly against the idea of expanding to let more people in this year.

As to whether they're significant apart from for UCAS applications (university) - I'm not too sure. Personally I wouldn't care much about them on a CV of someone I was thinking of hiring in the best of years yet alone if I knew their results came from 2020.

But with unemployment rising fast, and much worse soon once government gradually removes support offered over the summer to keep people furloughed (companies paid to have their staff not working but kept officially on the payroll until they could get back to work), we've already heard stories in some places or a shop or a pub advertising a job offer and getting 1000+ applications... and in a terrible job market, school exam grades could likely be a decider for who gets called to interview for many working class jobs. (They already are even outside a terrible job market, that just amplifies it.)

edit: Oh, and while I don't know what proportion of people doing A Levels don't want to go to university (or want to go, but fail) - we're also a few days away from this same situation happening with the GCSE exams, which pretty much everyone legally has to do around age 16.
https://www.javaadvent.com/2019/12/smalltalk-with-the-graalv...

this article also goes into more details.