skysight-inc/HackerNews huggingface dataset:
Stack switching isn't that much of the overhead. "ordinary" cgo overhead is <100ns now, has been for a few years, and is much closer to 30 than 80 on recent processors. Most of the overhead is a set of 4 CAS operations (incidentally this means that AMD has measurably lower cgo overhead because of something with its caching model I don't understand).

If cgo's only overhead was the "ordinary" overhead, most people wouldn't have an issue with it. It's downright zippy, in fact... as long as your syscall/C call takes less than 1us. If you stay under the 1us threshold, go will put the OS thread used for the syscall back where it found it and everything moves on.

The issue is that the OS thread was previously serving N goroutines that other parts of the program may be waiting on to move forward, and the OS thread is in a state where go can't pre-empt it and allow those other goroutines to move forward, and it has no idea how long it will be until it can move forward.

As a result, if a syscall/c call takes longer than 1us, go has no choice at this time but to resume a new thread, context switch all the old work onto that thread, and then suspend the syscall thread when it comes back. If you do this a lot, your performance will crater.

There's also separately a few issues around how go chooses to resume/suspend OS threads (for instance, if an os-locked goroutine does coooperative park for any reason to wait on another thread to do something, go will suspend the thread it was on, context switch to a different thread, then when the goroutine wakes up, it will realize its mistake, resume the thread it was on and context switch again).

This is all fixable stuff, but all the use cases that google cares about are working fine so it doesn't really get any attention.
Watch them install eye monitoring equipment to make sure drivers are paying attention before they ever give a day of unplanned sick time.
Extremely-unpleasant tools can definitely contribute to leaving a company. I agree that it's a silly reason on its own, but it can be one factor of many—I mean, of course QOL at work is a factor in stay/leave decisions.
Assuming a new laptop costs about $2000, they'll be cutting costs by about $420k/yr. Is GitHub really making so little money that that's noticeable?
Scott Adams almost getting it.
We have a growing number of requests for this use-case, but we try to focus on billing right now. However, I can promote Formance (https://www.formance.com/) here that can help on this vertical. They are YC folks, and tackle the use-case of collecting fees and splitting payments. And it's also open source! Hope this helps
Productivity is simply putting more machines at work for every person. More machines require more energy and resources. Since 1973 (and even 1971, remember when the US reached peak oil and immediately removed the peg between the dollar and gold?), energy consumption growth has been limited by different, compounding factors. Peak conventional oil occurred in 2008. Peak oil (all liquids) is announced for 2018-2025 (maybe already occurred, time will say). Peak gas is coming in the 2030s. The great slid down is ahead, and it won't be pretty.
What do you mean, GitHub doesn't value giving its developers great tools? All their work is done on Codespaces™ leveraging the power of Visual Studio Code® to make developers more productive!
Ask HN: Have you quit your PhD just before the end?
My girlfriend has ran out of funding for her PhD, she's super miserable and it looks like no-one in her lab gives a sht. From what I hear the environment is super toxic, a lot of backstabbing etc. She's almost at the finish line but there is just one more experiment that needs completed but she's not getting advice on how much more work is needed so she can write the thesis and how to analyse some more specific stuff. The first supervisor is very unhelpful and her "other" supervisors haven't even bothered asking how things are going. It feels like she's been abandoned and now without funding, giving her very little motivation to complete this shtshow.

She's been thinking of quitting for some time, but it sounds like her father may be disappointed.

She's afraid that if she quits later on in life this may bite her or prevent her from having opportunities she may have if she completed it.

On the bright side she managed to secure a place in a big financial institution for a career change.

I'm not sure how to advice her and I'd really love to read any thoughts from people who may have been in this situation personally or know someone.
What if your plumber installed a camera in your bathroom for informed support decisions? Sure would be useful for him to see where you put those "biodegradable" baby wipes after the deed.
No, I think the part you miss is that some people succeeded at difficult reforms. Consider a reform where control of parts of each hospital's budget is removed from the owners/management of most hospitals. Might meet with some resistance, wouldn't you say so? You Americans seem to have this idea that your entrenched interests are somehow uniquely skilled at defending the status quo. Something like: "American hospital systems are so much better at defending their budget than that hospital system, so therefore that learning how that reform was executed would be pointless."
By showing them straight away - it's not like it's a difficult concept tbh. And it's enforced by regulations and fines if they are not adhered to. Again, nothing overly complicated there.
This is quite a leap from unnecessary phone home request to check version, but alas it already has been answered in depth in other comments.
usually they tack on couple of hundred dollars on top of the price. The per night price is usually slightly cheaper than hotels but with the cleaning fees, the total usually comes out to higher than what a stay at a hotel would cost. AirBnB used to be a cheaper alternative to hotel but not anymore.
> It is still telemetry, other platform's toolchains dont have it, it's not bad faith for rejecting it.

.NET enters the room
We just need an across the board price transparency law. You should know exactly what you’re going to pay before you agree to any services. It shouldn’t be that hard.
I went from a company that used Google Hangouts, which is like using pen and paper relatively speaking, to trying to use Slack. Slack wasn't official, but it was an allowed form of communication. People who didn't have the vested interested just couldn't figure it out. So while I preferred Slack, having to hold everyone's hands through basic functionality was awful.

Now I'm at a place that uses Teams. I don't think Teams is perfect, but I feel like Teams gets extra hate just because it's Teams. The best feature in my opinion is the group thread feature. Having people able to start a threaded conversation by default gives a lot of granular control over what notifications I receive by default.
A part from taxes, that's almost exactly how it works in Canada. You won't usually see fees just added after you sign up without your consent, especially if you have a contract. Airbnb does not add fees after the booking, IIRC (at least it never happened to me, and I'm a heavy user). You have a price breakdown and a total, including all the obnoxious cleaning fees, before you even get to the payment page.
(Unless you damaged something or trashed the place)
It's a pretty common pattern to make a platform with scripting to fill in all the use cases not covered, then add the most commonly scripted behaviors and patterns to the platform.
Resort fees are becoming common, and they're very different from a tax. They're just a way of hiding the true price of the room. https://en.wikipedia.org/wiki/Resort_fee

The Feds wouldn't really be banning the fee, they'd be banning hiding it in the last checkout step.
Accidental code execution vuln might not be the only issue though. How do you know that state which is being checked and verified on server is not bypassed if the application is written without client/server divide? How do you know the data isn't being passed back to the client which should've always stayed on the server?
I guess it depends what part of NoSQL you’re looking for, but if you want a bit of schemaless data it makes sense.
I think most people who say that probably consider it "not economically viable". That is, their assessment is that the expected reward doesn't justify the expected investment.
They need to not ask to use a Microsoft account to use Bing with chatgpt.
I'm not an economist, so I don't know what productivity means in a technical sense. But I think optimizing for productivity may be missing the point, if it simply means some rate of product creation with respect to human and natural resource inputs.

This I can see ending in the same old questions - what exactly did Plato mean by the good life, and how do we optimize for it as a species, or at least minimize suffering at the same scope.
There is no pragmatic alternative. A debt-backed financial system will always fail to adequately provide for unproductive populations (children, elderly, disabled, insane). In fact, every financial system will fail to adequately provide for that population. The only thing that can provide for them is the deliberate actions of productive, able-bodied people, regardless of what financial system everyone is participating in.

I have a lot of ideas about what could be done, but it's all armchair revolutionary theorizing.
With 300Million people, if you need to fall back to Child Labor, there must be something pretty badly broken.
My understanding is that they are rolling this out to the US this year also - too many US hosts were starting to do the low base cost plus bazillion fees thing and it's causing frustration.

Now if they can just do something about all the hosts that want me to take out the garbage, sweep/vacuum the floor, clean the dishes, wash the linens, tear down the beds - then then charge a cleaning fee on top of all that. I just spent half a day of my vacation cleaning your house, AND you want me to pay you a cleaning fee?
They said they'd keep supporting skype on Linux too when worries about that popped up on purchase then broke that promise within less than a year.
Github desktop was also soon to be officially supported with basically all the legwork done. Nice that there's a community fork.
>The point of dogfooding is that the dog food you make is so damn good your employees prefer it over making lunch boxes or eating out.

I don’t know if I’m misunderstanding how you’ve put this, but I’ve only ever understood dogfooding to mean that you use your own product to find the bugs, improve the workflow, and encourage feature suggestions.

Dog-fooding is not a reward for making the best product (though that makes life easier at work), it’s a commitment to improving your own product, and showing that you are willing to live with your own product in order to make it better for your customers.
So checking for updates without sending any identifier counts, since it transmits the fact you did in fact run the application, and it's not strictly necessary.

I can see the point but it seems hard to draw the line for every single feature at the precise point of "does a network connection". For some programs there is quite a grayscale of what's "necessary" (i.e. needed) and what isn't.
> notice how nobody talks about Nord Stream 2 sabotage by US, which was like 1 day affair

This was discussed thoroughly when the incident happened and the recent news were just some allegations by a reporter, without actual new evidence. Doesn't seem like the balloon story is a distraction, especially since it's rather US-focused, unlike the Nordstream incident.
Apple had a near death experience in the 1990s.

Microsoft was profitable all along (I think).
I have not used Apple products in a while so perhaps my comment has less value but I would prefer all devices use the same standard and ideally use the same connector. Today that appears to be the USB-C connector using USB 3.0 gen 2 spec. I can only hope that only the USB version evolves and not the connector so that if a friend needs a cable or I buy a new device I have the right cables.

In my opinion people with legacy devices should use a dongle or hub to adapt from Lightning and others to USB-C/3.2.
I feel any solution to this problem would be useful engineering for application development in a backend Microservice architecture. Being capable of querying and storing lots of data is similar to the problem of being internet scalable.

I am surprised there is no default implementation that just scales to internet levels by default, for lots of user traffic.

Would be nice if there was an infrastructure in a box that handled this for you. It's the kind of thing enterprise consortiums could work to provide
Reactions: Princeton faculty discuss ChatGPT in the classroom
They can regulate them, but it's not really about that they exist, it's that they are hidden and/or obfuscated until the last moment, or even until after the customer finalized the contract already.

Prices on e.g. hotel websites should be listed with all fees and taxes included.
Localbitcoins is ending their service
> What makes anyone on this platform believe that Ukraine has any chance of victory?

The reality is Russia isn't just at war with Ukraine, they are at war in Ukraine but they're fighting against a military backed by NATO. That doesn't mean Russia will lose, it really just depends on how much money and humans NATO wants to send into the meat grinder. As long as it's only Ukrainians dying, people in the US and EU are fine with burning the money.

So it really depends on what constitutes a victory.
Big guy already died once, change didn’t happen then and there’s plenty more to take their place.
Off-topic, but I see this strange pattern on HN a lot: You say it's hard to disagree with something, then you spend paragraphs disagreeing. What is hard disagree? Why not just say I strongly disagree?
I used to run a small business through Amazon selling specialty spices & rubs. They took 40% of my sales. The margins were too tight, even without Amazon taking all the gravy. I figured it was worth it because it would let me build a list of new customers. I quickly found out that they had restrictions on that, too. I didn't sell on Amazon very long because at the end of the day I was left with very little room for profit. If I wanted to build a customer list, I would have had to get creative by pulling customers off amazon, onto my own properties, and the conversions on that tactic were shit. I don't know if it has changed (this was back in 2010) but not giving you rights to customer email addresses and list building tools in-store was a real kick in the ass.

The hard lesson here was that you build your business on other people's platform at great peril, and it is almost never worth it over a long enough timeline.
Congrats on the launch! Do you think it is appropriate for any kind of SaaS company (e.g. Figma, Airtable…), or just for companies like Snowflake?
Personally I think this is a dumb idea, and just handing these kits out to people who don't know how to operate in a laboratory environment is pretty reckless. For example, let's look at a popular product sold here:

https://www.the-odin.com/diy-crispr-kit/

> "Includes example experiment to make a genome mutation(K43T) to the rpsL gene changing the 43rd amino acid, a Lysine(K) to a Threonine(T) thereby allowing the bacteria to survive on Strep media which would normal prevent its growth."

To clarify, this is a system for introducing resistance to the antibiotic streptomycin into E.coli, a human gut bacteria. Now, these kind of antibiotic-resistance screens are absolutely the norm in molecular biology and microbiology to select for successful gene transfers in cloning experiments and so on. However, as someone who has done a fair amount of this kind of work, you don't want your experiment to get all over the place, so you work in a sterile laminar-flow transfer hood, or at least in a fairly clean lab using sterile technique (which requires some training), and when you're all done you dispose of the plates properly (autoclaving is best).

As far as why this is an issue:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4775953/

> "The evolution of antibiotic resistance in bacteria has become one of the defining problems in modern biology. Bacterial resistance to antimicrobial therapy threatens to eliminate one of the pillars of the practice of modern medicine. Yet, in spite of the importance of this problem, only recently have the dynamics of the shift from antibiotic sensitivity to resistance in a bacterial population been studied. In this study, a novel chemostat method was used to observe the evolution of resistance to streptomycin in a sensitive population of Escherichia coli, which grew while the concentration of antibiotic was constantly increasing."

So, passing out kits to introduce antibiotic resistance in E.coli to people who don't know sterile technique or have autoclaves (pressure cookers work in a pinch, but still) sounds pretty dumb to me.

The whole 'biohacking' thing might sound cool, but while someone could probably hack together interesting electronic devices in their basement with no concerns, or write interesting code on their computers, a modern molecular biology lab requires a lot of expensive equipment just to monitor what's going on with the cells and gene sequences and so on, as well as a lot of experience and training to avoid cross-contamination and ensure reproducibility. You also have to manage the waste stream appropriately, there's a reason labs are regulated, you don't want to be dumping strong acids and bases into the sewage system without neutralizing them and on and on.

Maybe it's not as bad as the 'home nuclear experiment kit with glowing radium paint' but it's on the spectrum of questionable ideas.
Art Bell lives!
Actually true and a good way to put it
> How many CI environment are (or at least should be) connected to the internet to begin with

No idea. If I had to make a guess I'd say 99%?
I'll go a step further and argue that residential zoned property should be owned by residents, i.e., actual people that live on that property. By allowing the wealthy, and especially investment firms, to buy residential property as an investment... we are hastening a return to feudalism.

Also real estate investment is the basest, dumbest form of investment. It takes little to no intelligence to make money in residential real estate. I personally refuse to touch it on principle.

There are other countries who have laws that corporations cannot own residential property and legal residents are only allowed to own one residential property at a time. I do think there should be some relaxation of this law in the US so that folks can own a city property and a vacation cabin, or something, but I like the notion.
Or 911 access fees…
It was a joy to read this article. I'd love to know more on the nitty-gritty details of the implementation.
Reminds me of the possibly apocryphal story of the missile whos guidance system had a memory leak.

They profiled the memory leak and gave the chip enough RAM that it wouldn't fill up before the missile exploded. Problem solved!
You can call any system function that is marked as async-signal-safe. Whether that's a great idea is a different question.

> Don't expect a compiler error, this is C, where the programmer knows best.

As for this snark, these considerations are pretty much OS and concurrency stuff that transcend any implementation language [0]. No one prevents you to switch back to single-threaded cushy OOP-y Javascript, however note that someone has to implement and run that for you.

[0] yes, signals aren't beautiful, and in 2023 a beautifully designed OS might better do delivery of asynchronous messages using event handling and/or using dedicated threads. However, that's computing history for you, and it can be worked with. If you don't like it find a different platform. C doesn't really require signals, and if you use Unix with a different language, signals won't just go away.
Because I'm speaking to why the previous post was removed, and why this one likely will be too (its velocity is already crazy compared to other posts).

Someone is funding a social media blitz to amp up public fear about this event to 11. I am telling HN, use your head not your knee jerk.
While I like Clojure as a language - I have never seen a language that engendered such hatred in PMs, EMs, sales, etc. I don't know that it survives long term (in industry, it'll survive for a long time as a hobby language.)
Most people have been paying $8/mo for 3-4 years for a $35 modem.

It's a sweet deal, if you can get it.
You need to be able to in-tune the device if you want to access company resources.

Windows is definitely the happy path since support is pretty much baked into the OS.
However there is support for both Mac and Linux.
The distinction is easy to make because she draws a pretty bright line, one I agree with. The video doesn't mistakenly class the problem I mentioned as a pseudo-problem; rather, it fails to discuss it at all.

Hossenfelder is pretty clear that internal inconsistencies are real problems. The problems she dismisses as pseudo-problems are attempts to explain the values of free parameters or otherwise try to explain the "origin" of the laws of physics. This doesn't fall under that.
It used to be god-awful but has been pretty OK for the last year or two. Not as good as Zoom, but close enough for many use-cases. I haven't tried it for really giant "rooms" but 99% of the time those would be better as a broadcast, anyway.
> File format writing software leaks this into files

It is always so annoying, I don't want my files to have my user name in some meta fields. (text editors, image viewers, pdf viewers, literally if a file can contain my user name, all the software put it there by default. Maybe music files are the only exceptions.)
> Russ obviously went out of his way to come up with a nuanced solution, which one could reasonably disagree with, but I have the impression many people didn't bother reading it,

Telemetry is one of those topics that comes with a lot of baggage. Coupled with Google's baggage and we see the inevitable response. I have a similar impression as you - people saw the word "telemetry" and thought they'd read enough.

I thought Cox's posts were great. I came in thinking, "telemetry? hell no!" but came away thinking he made a good case. People can still disagree over it but some of the misinformation is absolutely unbelievable.
I'm curious, does anyone here have an understanding the kind of information gathering you can do from a balloon that you can't with a satellite? Is it a cost issue? A don't know how do it in a satellite issue? or maybe a tech/physics issue?
Stop being dismissive of other people's lives. Go live in that town yourself if you're so certain it's safe.
Brain transplants are no good because most normal humans would be psychologically be scarred from this.

In a fantastic world there would be self duplication and maybe transport your brain in your own dupe. There is no other way that after such transplant you wouldn’t suffer a fate worse than death, and so will your loved ones
Spy drones, or weather balloons? I've seen more evidence, so far, for weather balloons. It honestly seems like a really childish conspiracy theory to claim that China is spying on people using the biggest, most conspicuous aircraft imaginable. Slow moving, massive balloons, visible for hundreds of miles, and slaves to the wind. Easy to spot, easy to predict, easy to avoid, and easy to take down.

I'm going to need to see a lot more evidence that these are spying machines.