skysight-inc/HackerNews huggingface dataset:
> Go has the goal of having a fast compiler. And importantly, one which is guaranteed to be fast for any program.

> ...

> This is especially important for environments like the Go playground, which regularly compiles untrusted code.

To be clear here, the tradeoff being made is that it is more important that the compiler is fast than that it is able to tell programmers about clear bugs in their code.

I see the justification of the playground as unconvincing too. You can run 'for {}' in the playground, and you'll get "timeout running program". They already have solved the problem for the playground because obviously at runtime a go program can take infinite time, and it doesn't seem like it's any harder to also constrain compilation in the same way.

The actual cost that the go compiler being fast has is that other parts of go are slow. In other languages, a macro will execute as part of compilation, and incremental compilation will work with it. In go, if you want a macro, you write a separate go program that generates code, write a "//go:generate" comment, and then have no way of knowing when to run it, no way of having incremental compilation with it, and it invariably ends up being slower than the compiler expanding it itself would have been.

Now, if you want to know if you have an impossible type set, you'll run "go vet" (which likely doesn't do this validation, I haven't checked) or one of the various linting tools, it'll have to re-parse and re-compile all the code, it won't cache, and it'll ultimately give you the same answer the compiler could have given you.

I suppose this is superior in one way: when performing such generation and validation, you can do it against only your own code, rather than against third party code you import, while if it were part of the compiler directly it would typically end up running against all compilation units, even third party ones....

In practice though, even for "slow to compile" languages, I find that I spend more time finding and fixing bugs than I do waiting for compilation, especially with incremental compilation. On the other hand, with go, I spend less time total compiling code, more time total fixing bugs, and more time total running golangci-lint and various other bits of code-generation.

I spend exactly 0 time worrying that some adversarial third-party dependency I import will make my compile-times exponential, both in go where it can't happen by design, but also in other languages where it could happen, but you know, doesn't.
The two causes listed were switching to private school and dropping out (meaning stopping education all together). The article mentions that school enrollment is down across the country, not just in large urban areas.
> The coach was the famous Mike Krzyzewski of Duke.

The coach was Chuck Daly.

In any case, all of this is just the usual self-serving blah blah of top executives to rationalize to extract as much value as possible from the employees while minimizing the cost. I suppose that's the rational, cold thing to do, but I could be spared from the BS discourse.
I have baby hands, I am a dwarf.

With each generational increase of display size, The number of times I drop the phone over its lifetime increases proportionally. I've used android phones from 2.8" to 5.7" display as daily drivers over the past decade.

I assume, Many with small hands(palms) do face the issue of dropping phones, So I finding it quite surprising that 'Easily Repairable' wasn't included in neither 'Must have' nor 'Nice to have'.

Repairability is so important to me that, I have stopped buying new smartphones since 2017. My last/current phone has full-metal construction, is easily repairable, has security updates(sans proprietary blobs) via LineageOS and I'm planning to switch to a postmarketOS device from near-same generation for better security(Only bootloader is proprietary).

IMO in the age of Fairphone, there's no excuse for a non easily-repairable phone; Especially one which has community interests in mind. I wish you the best on this endeavor.
Cannot upvote enough; ahead of its time and always draws me back. For a tome so thick and full of nerdery, it reads as fast as a grocery store paperback.
> I mean how many of those could actually be housed in a real building without risk of huge amounts of property damage?

Probably a large amount. 30% of that 1% are children. Most people who end up in shelters are there as result of economic setback. After all, if people cause damage in the shelter they are also kicked out.
It is a social signal of respect.

Maybe I am okay with someone spitting on a grave then pissing on it, all the while yelling abuse at the occupant . . . because I think those are harmless activities.

But most people would find that rather offensive.
Because there is one, you merely didn't hit the trigger criteria.
Yup, I think Musk has a lot more to lose here than Twitter.

I don't sympathize with Twitter, at all, I truly hope it disappears one day. But this is a bit too much for Musk.

The pedo tweet, the "funding secured" incident, then this, coupled with his erratic behavior overall. No one would ever trust or want to do business with him again.

Btw, he's not screwing up just Twitter, but also all other banks and investors that went along with this bid. Musk is rich but he's not "40B in cash" rich, next time he goes to Morgan Stanley or any of the big banks asking for leverage he won't be as well received.
I think they’re held out but all data comes from the same speaker and since they have like 10k samples times say 10 words per sample, practically every word will have been in the training data.
I'm sure both happen. Living in Orange County, I hear many people talk about home-schooling and private schools -- much more about education quality than masks or vaccines, but some of both. But then, I am less likely to chat with people who left for cheaper places (or live under a bridge near Disneyland)
What's their average buy-in price?
I agree although I literally just started using heroku again after many years. I haven't seen alternatives that support the idea of multiple buildpacks. Which seems sort of a must have for any non-js backend because a frontend js stack is going to exist no matter what.
It's a custom. Try walking on the tomb of the unknown soldier in Paris.
I think the takeaway, in light of similar articles over the past year, is that nobody knows, yet. It'll take more time (maybe even another year or two) for all the numbers to come in and various patterns--in particular their magnitude relative to each other--confidently identified. I could hazard some educated guesses, as I'm sure you could as well, and we'd probably be right, but it's probably better if we just abstained from too much speculation. It's not like pinpointing the exact causes is going to help those public school districts already in dire financial straits; certainly not in the short-term, at least.
That was like reading a quote from "The Wolf of Wall Street" or "American Psycho".
Critique: Guide to the Total Cost of Ownership of Open-Source Software
Exactly this.

When I focus on building a really flaky version of a thing as quickly as possible, then I quickly land on all the edge cases and more-complex-than-I-thought areas I need to deal with.

Sometimes I can refactor my flaky code to deal with those, but more often than not it's easier and faster to just throw it away and start again with my new-and-improved knowledge of what needs to be done.

The challenge is then (a) working out how far to go down the quick-but-flaky path before starting over, (b) working out whether to keep sections of that flaky code or rewrite it, and (c) trying to not get scrum masters over-excited that I built a barely-working thing in 1 day when the working-well thing is still a week away
I am a Muslim and deny the second. A lot of us do lose weight in the Ramadan, along with our sins.
Web Bluetooth is significantly safer than native bluetooth + the safest car is the one that doesn't start is not a good direction for the web.
Good candidates for relevant terms may include "stream of consciousness" as a narrative style [0], with a writing tone that is "highly informal" and "colloquial" with "vulgarity" (from the inclusion of "fuck" and other profane words) throughout [1].

The author additionally uses the writing technique of "enallage", defined as a "slight deliberate grammatical mistake that makes a sentence stand out," [2] from the article excerpt: "in other words, we need to use termios. the ugly side of termios."

In other words: the author writes in a highly informal, colloquial tone with a stream of consciousness narrative style. The article is notable for its vulgarity and usage of enallage to achieve its exceptionally high degree of informality. The author is reminiscent of James Joyce as an experienced C programmer.

[0] https://liberalarts.oregonstate.edu/wlf/what-stream-consciou...

[1] https://english.stackexchange.com/questions/29720/whats-the-...

[2] https://www.thoughtco.com/what-is-enallage-1690647
That was eerie and cool. Just shared link with some friends.
Here is another option. I know a lovely group of little old ladies doing this now. Likely there is at least a couple churches in any area with a homeless population that are likely collecting bags for this purpose.

https://thesavvyage.com/turn-your-plastic-bags-into-sleeping...
He cares about the old Soviet Union/Russian Empire glory days. That's it. He could not care less who's in the white house, he'll cause them trouble whoever they are --that's all he cares. He personally may be conservative but he is not trying to make the US conservative or liberal --it makes no diff to him.
Mitochondrial DNA is maternally inherited = improvements that benefit men are lost, improvements that benefit women are inherited?

(There’s probably a lot more to it, and this may not be a factor at all)
> Alexandria on your hard drive

That image brings to mind: How much space would you need to store every out-of-copyright book written in English?
Presumably, the larger political debate around schools and education is playing a role too. It will take time to see how that plays out. The education system has become a hot political issue again for the first time in a long time, and that's got to contribute its bit.
LoadingReadyRun frequently has done RoboRosewater and other AI MTG card segments during their Desert Bus telethon for charity.

There is nothing so funny as seeing these folks, sleep deprived and loopy, trying to read out these cards without being incapacitated with laughter. I've seen double and triple takes from just looking at the card combined with what the AI called it, and once they did a segment called 'Is It Playable Or Is It Not' off these cards that was very special... riffing straight-faced about pro strats on how the cards are played, except the cards are gibberish, so some offhand remark corpses the whole room...
One unique aspect of Northern Ireland (among many others) is that the region has never really had its own independent identity. The population is politically aligned with the UK and culturally with a mix of UK and the rest of Ireland, leaning more towards the latter. Irish sporting teams for example all include Northern Ireland as well, making the whole situation even more bizaree. This makes it very different from the other countries it is being compared to in that article (Scotland, Wales). It follows that there was never any need or desire for an official flag.
Which Google layoffs are you referring to?
The new conservative majority are aggressive culture warriors. They lose legitimacy with every decision. They will be around for decades, half the country will hate them more every decision until something in our democracy breaks. But that was probably the point when Republicans appointed 3 of the Bush v Gore lawyers, to poke and anger the other side.
I was about to buy exactly this after reading reviews, wanting a compact phone, and my Note8 dying.

But for a few different reasons I ended up just getting my wife an S22 (non plus) and then inherited her S20 (non plus), which has a very similar form factor.

Definitely felt the OPs frustration in looking for compact Android phones. They just plain don't exist.
I don’t know all of them. Mohammad Ali was incredibly controversial in his time for converting to Islam and refusing to fight in Vietnam. A lot of people then would have called him an asshole.

Sure, after you’re dead people will look back and think you were great, but while you’re in the process in any competitive endeavor you necessarily are not going to be liked by the people you’re competing against, especially if you’re winning.

Take the late president of India. Did every single person in India vote for him? Did everyone agree with everything he proposed? He had no opposition? I know absolutely nothing about Indian politics, but I bet there were people who didn’t like him while he was in office.

“I better be nice and not do anything that anyone might object to” is not an attitude that leads to success.

And MLK, really???? You think nobody thought he was an asshole? You know they murdered him right? Do you think the people who killed him said he was a great guy?
almost 99% books are fluff, one idea repeated to death in 300 pages...
I averaged 1.3 lbs/day for the entire length of my 60 day fast, and the first two weeks were much higher weight loss than usual. I can see 18kg in 18 days depending on what size you are. Of course 2-4kg will be water weight and another 2-4kg will just be stuff that lives in your gut, which is to say you'll gain it right back when you start eating again.

I just rolled into day four of a fast and the delta from two days ago is 3.72 kg.

Most of the weight you lose in the first 3 to 5 days of a fast isn't fat, its stuff in your gut and losing water as you draw down your glycogen stores.
Google’s finally straightening out its legacy free G Suite mess
What is so unsecure about US elections compared to European ones?
>Better for whom?

Everyone, right? If she gets caught early and stops, that's better than her doing it a ton because it means there's less plagiarism.
> Given Netflix's compensation structure (all cash) this is irrelevant

Netflix's market valuation is extremely relevant. The only reason we are discussing Netflix on this thread is that layoffs there have begun.
I faced a similar problem when I didn’t find a sanely sized flagship non-bloated (though that’s essentially an oxymoron in Android world including the Pixels) Android phone sometimes back and I decided to vote with my wallet and I bought the first iPhone SE, then 7, and now 12 Mini. I am an Android developer and the way the OS is designed (UX and privacy wise; even the stock one) I don’t really see myself moving back to Android anytime soon but I wish there was a a flagship normal sized phone.

I dislike Apple for a lot of things but in this duopoly the size of a phone is such a fundamental characteristic that you’re out of options anyway.

I think most of the people are “swiper users” — the “content consumers” — so they want big phones and OEMs are simply making what the near 100% majority (yup!) wants.
Simple Math Problem Drove Our Entire Staff Insane. Can You Solve It?
What are your thoughs at the Zenphone 8? 5.92 is too big?
As far as I can tell the choir instrument in that video is just playing back samples, which are admittedly very high quality samples, but still nothing particularly groundbreaking.

I’d love to see something that could actually do choir synthesis using a method like the one in the article.
I dunno, it sounded good while I was taking a brief break from pretending to be a barefoot waif in a nightgown who’s wandering around a post-apocalyptic fantasy land waving a wand and making rocks smash monsters. shrug

I ain’t judging you, dude.
It is a funny position that Esports are in. Normal, recreational competition takes place online with random pings. Pro competitions take place with set, usually minimal ping. For everybody but the pros, adjusting to lag is a crucial skill. Maybe tournaments games should be played as 'sets,' where everybody on each team gets randomized ping, to test that skill. (just kidding (although it would be interesting)).
> We don't leave plane crashes out to rust.

That's not actually true, although I don't blame you for not being aware of this... Here in the US, there are plenty of identifiable, unsalvaged plane wrecks left in the wilderness.

I hike a lot around Southern California... The San Gabriel Mountains alone have at least a half dozen wrecks with significant portions of the fuselage & engines.

Some of them are remarkably accessible... IIRC there is a T-6 Texan from the 1950s along the Mt Baldy summit trail (~9500' elevation) which is hiked by thousands of people a year. In Joshua Tree National Park, there are two wrecks on Quail Mountain... Plenty of others besides those.
Sorry, I didn't see it. 23% of GDP is the value of the remittances that enter the country. This does not mean that remittance processing (which is an economic activity) represents 23% of GDP. Remittance processing is likely a tiny fraction of GDP, since it's a low value added activity.
Bo Burnam's Inside was made by Netflix too.
Nice read, but I was hoping they’d say that it led to a big improvement in their log searching syntax/ui. It seems impossible to just full text search for a string and find log lines that have a value containing that text. Drilling down through the “details” pane and clicking filter/match/exclude works well, but general searching is too confusing for me to figure out, if it even works at all.
If you’re “living in a position of f%%% you” (https://m.youtube.com/watch?v=xdfeXqHFmPI) which you should be in a couple of years making a Netflix salary, a layoff is just an inconvenience. Heck how many software engineers at any of the top tech companies have trouble finding a job quickly?
AWS seems to better respect users’ privacy among those and other providers. They aren’t in ad business, and I haven’t seen them with data misuse.
One thing that the author doesn't seem to know about is /dev/tty. In the article the escape codes are just sent to stdout. Though an awful lot of applications (including the greatest ones) do this, IMHO this is wrong. The terminal control codes are used to control a terminal, and they are often not meant to be part of the output stream, for example when the output is piped or redirected to a text file. When what you intend to do is to make your output fancy only when the output is a terminal, surely you should just send everything to stdout and use isatty to decide whether to also send those terminal control codes. But if what you want to build is a whole TUI like vim or the author's example app, you should send all the control to /dev/tty. This way if needed you can extend your app to be able to be a useful part of a pipe, as bytes sent to /dev/tty will not be redirected but will always be handled by the terminal. To prove that this can be useful, fzf, a fuzzy matcher, uses a TUI to let users input the pattern and pick among the matches, and prints the result to stdout. Sadly, however, it uses stderr to control the terminal instead of /dev/tty; this makes its ability to print error messages somewhat limited and its behavior unexpected when stderr is redirected. Also imagine that you can use vim in a pipe, instead of sed or awk, to see the effect of your edits live. Also, try `vi > /dev/null`. I'd say the behavior is a bug. IIRC ncurses makes use of /dev/tty and by default makes the app made with it redirectable, and this is a reason we should use it in the 21st century, among others. What's sad to me is that so far all the Rust terminal libs I've seen ignore /dev/tty, so it's impossible to use them to build something that both have a good TUI and can be used in pipes.
The Well-Maintained Test: 12 Questions for New Dependencies
Even so, it’d be pretty miserable to cook the busiest lunch rush of one’s year only to watch the food spoil in a to-go container.
If the reason is that students are being homeschooled or going to private schools, then this seems like great news. It's well known that the public school system in the US is just not up to snuff. Not all public schools are bad, but on average their outcomes are worse than the alternatives.

There was a guy named John Taylor Gatto who wrote on this subject in some depth, after teaching in the NY public school system for decades, and being named NYC's "teacher of the year" a few times. He has some great talks on youtube, and a few books out if you're interested in the subject.

https://en.wikipedia.org/wiki/John_Taylor_Gatto
Ask HN: How do you deal with logging while developing a webapp?
I have a decently complex webapp I'm working on and have found logging to be a pain point. I'm currently using debug [1] and viewing the logs in the chrome dev tools console. The issue I've had is that the console gets too noisy and crowded with all logging turned on but if I'm more selective with logging, then I often regret not having logs when I run into a bug. It'd be ideal to have fairly verbose logging always on but be able to have good control over how the logs are filtered. The console log filtering functionality in chrome and Firefox seems pretty limited and I can't do basic filters like "component1Logs | component2Logs".

I imagine there's some library I could use which runs a local server, logs to some local file, and allows me to filter the logs with whatever shell tools are best. I haven't been able to find such a tool though and also would miss having the object exploration abilities that are in the browser console.

[1] https://www.npmjs.com/package/debug
“Upset” is usually used to refer to a one-off, when a team expected to win has been defeated by an underdog, but then the team often returns to their former level of dominance.

So your analogy suggests Netflix will quickly return to its former glory days.

I think this is premature, at best, if not incredibly optimistic. I think this is the beginning of a long uphill battle for Netflix, and that if they ever return to their former glory days, it will be much further down the road than what is a typical recover from an upset.

I’m not convinced they ever will be the same. Not even close.
While I find many things wrong with social media, I don't get the idea that for me to get value out of it, I need people to engage with my posts. Why? I'm more interested in seeing pictures and updates about people I care about -- or news/tech/politics on twitter. I don't feel a need for dopamine hits from engagement at all?
I can’t believe I’m getting downvoted. Sorry if I offended any grave robbers! Or grave robbing Musk worshipping Bitcoin enthusiasts! Is it not enough to defile the planet, the cosmos, and ancient monuments? You must also strike out against me? Help, all good people! Upvote me at once!
request sent: many thanks for alerting me to this issue!
> Google Spanner is another good implementation to study

Doesn't Google Spanner use Paxos instead of Raft? From the link:

> Our Paxos implementation supports long-lived leaders with time-based leader leases...
The lack of rental properties is not preventing the 1.25% from being housed. The cost /lack of money / mental health issues / drugs / etc are the primary reasons. Giving back 1% stock would not see the rate fall to .25%
Bulk program uninstaller with advanced automation
yes, they are fine at top level, but they fall apart when you try to nest them unfortunately (lists of maps of lists etc ... ). In groovy / javascript / python these just look completely natural.
Thanks; yes I agree more examples like that would help. That PythonTutor site looks brilliant, I will have to play with it some more. It's a lot like I was imagining.
Oh, they sure as heck are gonna get away with it, see this Twitter thread:
https://twitter.com/sharplm/status/1524024667576619008

Students are going to generate writing they didn't do with GPT-3

And teachers are going to use the discriminator part of a GAN to figure out if students did their own writing