skysight-inc/HackerNews huggingface dataset:
> So I’ll heed Pascal’s advice – and ditch the AirPods during my next beach walk.

All of us who have to walk in the concrete jungle and deal with the nonstop cacophony of ambulances, construction, and speeding cars zooming past the sidewalks can just get fucked, I suppose.
First Arctic Navigation in February Sends a Worrying Climate Signal
>C# requires a ringtone be installed.

This confused the hell out of me until I realized it's supposed to be runtime.
Perhaps, but meanwhile we're forcibly closing certain businesses and hurting those. I would know, I own one that has been greatly affected (a bar).

For reference, my customers starting hanging out at the strip club instead, which didn't have the restrictions imposed (it was based on liquor licenses, which they don't have in my state).

So, the lockdown was ineffective at controlling the population or spread, but it still managed to smack my business around.
I guess it depends how rich you aspire to be. If you have a a million social media followers, it's trivial to cash in on that attention to the tune of hundreds of thousands of dollars a year.
> I like walking. I walk a lot. I've never in my life worn headphones while doing so.

I think this has a prerequiste of being well adjusted mentally. I never walk without headphones, my mind wanders into a panic attack thinking about all sort of things. So much so that I fear walking.
> Another approach I've used with caches in Go is to just use a huge byte slice as the cache without any pointers, so the GC can ignore it.

Just to check that I understand what you're suggesting here, this is comparable to how we embedded systems folks might pre-allocate (either statically or at the very start of a program execution) a large chunk of memory and use it instead of using traditional malloc/free (or language equivalent), correct? So you bypass the GC and avoid any potential performance penalties introduced by having a smaller number of massive allocations that never get moved, freed, or reallocated.
It’s the framing of “it’s okay to ...” that bothers me. I mean, who says it isn’t?

I wouldn’t have that issue if the title were “why you should ...”

Edit: furthermore, there were times and places where “just taking a walk” was taboo. (See the Ray Bradbury short story [1] or the Mad Men episode where they freak out at the woman who says she does it.) So I chafe at the false implication that we’re in such an era, if the author isn’t going to back up such a claim.

[1] https://en.wikipedia.org/wiki/The_Pedestrian
> Nobody dragged the US into the middle East.

Not sure that's a true statement.
The Feynman Learning Technique
I don’t know why people are underestimating Instagram Reels. Instagram may be becoming more of an entertainment app like TikTok but it is still a social network. All content creators care about is engagement, and having the ability to push your short video into your Stories and your follower’s main feed increases your chances of it being seen instead of relying on an algorithm.
I think that the argument here is that the c# environment is much bigger and that the programming level is at a higher level. That these are things that are often made at a sacrifice for performance but that that's not the case here, so why use Go at all
Good thing I saved this 20th anniversary (very well crafted) post from Pitchfork in 2013:

https://pitchfork.com/features/cover-story/reader/daft-punk/

Was an amazing thing to scroll through in 2013, and actually holds up well in modern browsers.
Doesn't matter how high quality spotify is if new music is mastered so poorly.

Also doesn't matter for me since my car, a tech filled tesla, streams spotify at what sounds like the lowest possible bitrate.
I'm glad you bring that up. I think Python is the closest we have to a "universal language" (even so, it still has some limitations).

I think it works well for beginners because the language itself is so consistent and they have put a lot of effort into avoiding corner cases and "gotchas". And I think it works for professional uses because of third party library support.

To answer your question: I'm not suggesting that at all. I'm honestly not entirely sure how Python balances it seemingly so well. Given the lack of focus in the industry towards "intermediate" programmers and use cases, my slight fear is that Python will be shoehorned into one direction or the other.

Even if the language itself isn't, it does feel like the use-case-complexity gap is growing exponentially, at times.

And not just with Python. Seemingly, you're either a complete beginner learning conditionals and for-loops or you're scaling out a multi-region platform serving millions of users with many 9's of uptime.
it does - visionect has them.
Apt has a graph of dependencies and anti-dependencies. They’ve been getting this right since the late 90s.
Yes but what he's really talking about are morphemes. English has many multisyllabic morphemes where as Vietnamese has few.
Most tree-sitter grammars just parse comments as a single token. Can you give an example of what you mean when you say "contents of the comment parsed out"?

Are you talking about conventions like JSDoc, for putting structured data inside of comments? On GitHub, we handle that by parsing JSDoc comments in a separate pass, using a separate parser. We do it this way because JSDoc isn't really part of the JavaScript language, not all projects use JSDoc, and not all applications are interested in parsing the text inside of comments.
Okay, but it seems like the reputation evaluation isn’t automated, so this is more like fundraising?
Cannabis Legalized in New Jersey
Flat Earthers and sophisticated numerical integration techniques
This is a fun thread about flat earthers and epistemic humility.
Am I right in thinking this is a Democratic party website thinly disguised as a genuine news site?
Since we're on the topic, shouldn't this (hospital admissions) be the almost singular criterion to influence public policy / restrictive measures?

The line I've heard repeatedly is we're waiting for "total" herd immunity, as in ensuring almost all of a population is potentially protected from the virus. Frequently quoting fall / end of 2021, potentially into 2022.

Shouldn't the only benchmark be those with medium-to-high risk of hospitalization? (Determination of risk however you'd like to do it.)

Put another way, you wouldn't shut the world down if a bunch of people got sick for a few days. You may, and indeed we have, shut it down if a large part of the population were at risk of hospitalization or death. In many developed countries, that population is looking at full inoculation (for those who want it) sometime this spring.

Should that not be the "end" of it?
"Where do you think we are?" - Dr. John Dorian
It's not blindly letting a single tragedy set policy. It's one example of many that the FDA has used to build up trust in their process over the last eight decades.

And it's not like the AZ vax is the only option out there. The lives will still be saved with the other vaccines.
>There is a staggering amount of land out there that's not suitable for even grazing but will support utility scale solar.

yes, but how much of that land is also near where the energy is needed??

Transmission loss is a thing. Also how are you handling the whole "sun doesn't shine at night" thing? We still have no economical ways of storing vast quantities of electrical energy.
Good marketing is emotional. Thr target audience probably has very little overlap with the HN audience.
Say I have an API with a path of /customer/<id>.

I call /customer/235235 and customer 235235 doesn't exist. That's a 404, resource not found.

But say I make an uncaught error with the path and call /cutsomer/235235. That also is a 404, resource not found.

It really depends on what you want the word "resource" to mean.

It gets a bit more complex if you have a simplistic website with an API service both on the same server. For your users, you want a nice 404 page for mistyped or dead links. But you don't want your API also triggering that same page.

Beyond actually splitting your main web content and API into two servers, I could see returning a 400, Bad Request response for the API to avoid triggering a 404 handler. After all if you give it a customer ID in the above case that doesn't exist, it is essentially a "bad input parameter" and the error message can indicate which parameter (the customer ID) and why it's a problem (there is no such customer).
We should note that the >14-day efficacy is presumed to decay fairly rapidly, thus the need for the 2nd dose to cement the response long-term, as well as eke out the last few percent of efficacy.
Meta-comment, and I’m not claiming this is what’s true about Discord.

Every time I see a company post about how they’re changing programming languages, I tend to believe it actually happened because engineers with enough political clout decided they wanted everybody to change to their preferred language, not truly because of technical reasons, but because they just wanted to be paid to write in a cool language. But, of course, you’d be lambasted by your colleagues if you didn’t provide technical reasons, so you go and hunt for technical reasons that seem insurmountable and build a case for it, turning a blind eye to perhaps less exciting solutions that don’t require a programming language change.

(It’s sort of like how a cop in America can find you doing something illegal in any circumstance if they look hard enough. Except in this case, it’s a matter of finding technical deficiencies.)

This strategy highly depends on clout though, which is why I think technical arguments are frequently really a façade. If, say, a junior programmer doesn’t have clout, even presenting an equivalent technical argument won’t lead to a change in programming language, especially if it’s the senior’s favorite. I’m sorry to say, but most tech organizations aren’t meritocratic or egalitarian in this way (and perhaps they shouldn’t be).

As it pertains to the article—which again I don’t claim is all “fake” politicking (I don’t know anything about or anyone at Discord)—they mostly ripped on garbage collection. They specifically talked about how GC was bad because their LRU cache had to be scanned, which was part of why they observed spikes in their metrics. I wonder why they didn’t try doing things like putting the LRU cache into foreign, unmanaged memory to avoid garbage collecting it. Easier said than done, but why not?

I think using any language with any serious and large project will find deficiencies in the language. At some point in a product lifecycle it’s more profitable to just work with and ameliorate those deficiencies than do rewrites where the new deficiencies will be completely unknown.
Its a shame, those people don't take their appointments. Vaccination in germany is really slow in general. Removing one vaccine is not goint to make it any faster. There are people below the age of 60 that would happily take the shot, but they can't. It's not their turn yet
If performance is the top priority and time to market can take a back seat, I skip Go and choose Rust (or other known-fast languages).

However, time to market is almost always a priority. Unless my margins are razor-thin, spending twice as much on servers for shorter development cycles is a net win in most cases.
>I have to say that sounds exactly how this kind of software should be built.

You see this in every topic.

Every "muh pride in muh trade" person says something like this about the relevant trade but the fact of the matter is that the world runs on off-brand duct tape, harbor freight tools, walmart jeans, economy tires, and all sorts of other "value" solutions and the race to the bottom is what has given us much of the modern world that we take for granted.

A balance needs to be struck. And it generally needs to be struck further toward the "quickly and cheaply build it like crap but make it easy to override or reset" portion of the available solution space than anyone pontificating about quality on the internet will readily admit.
Based on this video [1] linked in the OP, it seems like one of the big benefits is that anaphylaxis is not a side-effect of the drops.

[1] https://www.youtube.com/watch?v=TpP41WQ6pBc
It's a fair point; I'm not sure where you'd draw the line between physiological effects and skill effects and equipment; things like ligament spring-loading sound like they would be subconscious techniques that are also accompanied by physiological adjustments.

And I am sure that you would make a physical adaptation to a sufficiently different frame/fit geometry, though if your fit was "good enough" then upgrading might not incur much change on the physiological level.
The vaccines have also been delivered in slightly different contexts that may relate to risk of hospitalisation.

Pfizer, for example, often administered in hospitals due to the freezer requirement.

You could imagine the risk of hospitalisation of an 80 year old who frequents hospitals and one who doesn’t is different.
> For example, some of the more recent SARS-CoV-2 variants spread more easily because the virus causes a more severe infection, which is transmissable for a longer period of time.

That's purely speculation at this point, while epidemiology shows us that viruses which are more fatal tend to be less transmissible and vice-versa.
I agree, it shouldn't be like this. Unfortunately the reality is, if you decide to stick to the way things should be instead of how they are, you either 1) pay a heavy social tax of explaining to your friends/family/coworkers/strangers that no, you can't just install the app or 2) rely on other people to help you, forcing them into the situation you avoid.

I do both of these regularly, sadly.
You can do that with C#: https://docs.microsoft.com/en-us/dotnet/core/deploying/singl...
I can just see some developer going nuts and pulling out their hair because they can't figure out why a call to query a customer keeps saying the customer doesn't exist when clearly it is in the database. Until they realize they gave the URL path as "/cutsomer" instead of "/customer" in the code.
I agree, went to the Alive 2007 show in Amsterdam. Fantastic!
I'm sorry you had to go through that experience. I've fainted in a doctor's office and woken up in an ambulance. It was a very unpleasant experience.

The risk of severe reaction is much less with allergy drops compared to allergy shots [1]. Allergy drops expose the patient to less allergen and in a less invasive way at any given time compared to allergy shots. Allergy drops are much less concentrated (because they're used daily), and they deliver the allergens to the body through a mucosal membrane. Allergy shots are more concentrated (as they're used weekly or even monthly), and the body reacts to an injection much more aggressively than something taken orally.

Still, we offer every patient an EPI pen to give them peace of mind. Patient comfort is of utmost importance.

[1] https://www.youtube.com/watch?v=TpP41WQ6pBc
Yes, that code is equivalent to

xrefs := []*struct{field1 int}{}
var x struct{field1 int}
for i := range longArrayName {
x = longArrayName[i] //overwrite x with the copy
x.field = value //modify the copy in x
xrefs = append(xrefs, &x) //&x has the same value regardless of i
}

The desired refactoring would have been to this:

xrefs := []*struct{field1 int}{}
for i := range longArrayName {
x := &longArrayName[i] //this also declares x to be a *struct{field1 int}
x.field = value
xrefs = append(xrefs, x)
}
Software bugs reportedly keep Arizona inmates jailed past release dates
Tangram Vision: Why We're Choosing Rust as a Startup
Calling fees taxes is just bullshit. This is just dishonest politics.

By this logic, there is a Grocery ‘tax’, and a haircutting ‘tax’.

Spotify ‘Taxes’ you. Netflix ‘Taxes’ you. The New York Times ‘taxes’ you.

It’s also a lie to say that Apple charges 30%.

It’s 15% for almost all developers except for a tiny percentage of themselves extremely wealthy corporations.

Perhaps these are the people who are behind these moves. They are the only ones who will gain.

The the idea that paying, 10% less to small app developers will do anything to make Arizonans better off is utterly stupid.

There may be good reasons for tech legislation - e.g. forcing Boot Camp style installation of alternate operating systems on hardware.

But it’s fairly obvious that all this talk about the App Store is just the result of other middlemen lobbying for a part of the action.
Rising Sun removed from 'Street Fighter II' background in game’s latest release
I suppose, but you'd need to have downloaded Signal previously.
No. They have occasionally claimed to be independently audited, but never provided proof.
Because nobody would upvote that on HN. The HN zeitgeist of programming languages is absurdly biased. In actual industrial practice the dominant languages are Java, C++, C, C#, Python, Javascript, dozens of things people rarely discuss like matlab, VB, delphi, a bunch of other shit, and way, way down at the bottom, Rust, and then about fifty other languages, and finally Erlang. It's ten times easier to find a job writing MIPS assembly code than to find one programming in Rust, but nobody wants to blog about that.
https://archive.is/43H0Z
Well, on the positive side a company like Discord moving to Rust means better tooling than what is currently available. So that's exciting.
Transmission loss? How are you getting the power generated from "empty" land to where it's actually needed?
How Go disappointed you beyond the case in the linked article? Is there a few cons in using Rust compared to Go? In particular, what about language complexity/learning curve and compilation times?
> Often as it is in this case with no gain for the company, other than some resume building for the involved team members

This is too cynical. A large re-write will not be approved at any large companies without millions of meetings and documentations filled with justifications.
I wish I could play the ending of touch slower so it lasted even longer. It's one of those songs that tells a whole story without words.
> I'm curious if they tried the Ballast[0] approach

From the essay, the issue discord had was that they were not triggering enough GCs. The ballast approach serves to tune the GC frequency down.

In Discord's case they were getting screwed by a periodic mandatory GC trigger.

> along with smaller cache's per service

They did use a smaller cache, but that increased their 99% since… there was now less stuff in the cache.
We simply differ on what we think as 'you'. If there's going to be an instance with my exact same brain pattern who thinks exactly the same as me with continuation of what I am thinking now then that's a continuation of being me. After the split is a different story.
Wearing headphones while walking or jogging on MUP (multi-use paths) makes it more difficult for cyclists to get their attention. They won't hear the cyclist calling out.
Stock Market Bubble?
With C# and Java, we have learned that time and battle tested VMs can remove terrible pain points in proper hands.
I've never had a facebook account and sometimes I wonder what people think. Most of my friends just take it as me being [imitates Kramer] out there. But I suppose it is possible that there are people from my past that might think I'm dead or something.
> what's weird is if you run something with one crompression model through other compressors (ie, to get it onto a network then airplay then etc. )

Happily, AirPlay compression is lossless (assuming 24-bit or less and 48 kHz or less).
I don't think C++ is a compelling choice over Rust if you don't already have a lot of C++ experience in your organization. C++ is way harder to learn than Rust, IMO, not because of any set of language features or footguns, but because the ecosystem, tooling, etc... is just so different from what most "modern" devs have come to expect.

C just doesn't offer the same feature set at all.
The problem becomes how you quantify your opponent's knowledge from a subjective position.

How can you prove that they don't know what they are talking about without disputing the points they have made?

You must attack the argument, not the person.
I think you're missing the point. The point is that you can get all those properties in Rust without the performance hit. (Except for, well, GC, obviously)
When I was younger I tried every new internet service I could get ahold of. I however now do not add in new services unless they have been around a bit. They also must have some actual tangible benefit to my life. I have also removed a lot of the 'popup' services. These are the ones that like to notify you every 3 seconds about something. They beg for attention like a broken Tamagotchi.

In my mid 30s I realized my monetary problems are fairly 'steady state' and not a big headache anymore. But what I do lack is time. Smartphones have an issue as most of the models of revenue for them are internet 'freemium'/'advert supported'. What I realized is that stuff had started to take up a significant amount of my time. Time I needed for other things. If you let these things in you will find yourself consumed by them. Every last one looking for engagement. I cut out all major news sources for the same reasons. They were attention machines that did not a thing to really improve my life.

So given those conditions. My smart phone is ancient by tech standards. Has a very small handful of applications. My laptop desktop is setup with whatever the designer thought was a decent idea for the version of the OS I am using. Things I stay away from are social media, fermium games, or news. All three of those are little more than disguised skinner boxes. That try to make me feel good about myself but do not actually do that.

Another annoying thing is no one really seems to want to sell you things anymore. They want to sell you a service. Then one day 'poof' that service is gone. I no longer have the cool utility anymore, and many times a pile of expensive paper weights. So I avoid any service where their pitch is 'it costs less than a cup of coffee per month'. If I have gone through the trouble to make your thing part of my life I do not want it suddenly 'going away' either by upgrade or bankruptcy. So I try to find better alternatives that will stick around.
Go is as fast as dot net in the same benchmark you posted: https://www.techempower.com/benchmarks/#hw=ph&test=plaintext

aspcore 7,016,966

gnet 7,010,982

People share results of benchmark where some languages are missing.
sometimes, 15 minutes turns into a few seasons
Ok, I misunderstood. I thought it repaired without error sometimes but I see that you were clear that that isn't the case.
> Barriers to entry are invisible. They are invisible to people on the inside and most frequently invisible to people who have a hand in creating those barriers.

I just want to say that I really, really like this phrasing.

I have a lot of opinions on how programming languages could be improved, and however much I disagree with Rob Pike on types, I still think Go hit a real sweet spot.
>there is at most a handful of experts worldwide who can take specimens to a species-level identification.

We also have the internet now. Would be cool if you could upload photos of bees someplace and have them identified.
ReScript 9.0
Today at Apple (Home Videos)
Java can allocate on the stack too or perform partial allocation of exploded objects thanks to escape analysis.
what we have to do then is to clearly define tolerance boundaries we cannot cross. Anything beyond that should be dealt with outside the boundaries of law.
Sounds like you're talking about the difference between a sourcerer and a wizard in Discworld.
There's a proposal to put in official support for minimum heap size: https://github.com/golang/go/issues/44309