skysight-inc/HackerNews huggingface dataset:
I know that it's different but at least from my perspective my passion has always been code and building things. What I really want to do is work on my own projects but I need to make money too. My job isn't particularly interesting or engaging but I am thankful that I get to write code everyday for a living and at least do things that somewhat contribute to my projects outside of work.

I don't know I just feel like the categorization is a bit unfair that doing something you love in a commercial setting will strip you of your creativity. I think to some extent work as whole through pure exhaustion does that but that's why I'm glad that I get the measly reward of doing something adjacent to what I enjoy. I'm sure I'd feel differently if tech salaries were lower but if they were identical would you really prefer writing enterprise software all day over doing commercial art?
this reminds me of Interactive Broker's iOS MFA.

if someone tries to login and you happen to be using their app, the face ID triggers automatically without prompting you to accept.

you would have to be very fast to point the phone away from your face to avoid it.
Now do cough medicine. The last time I looked at the literature, experts were asking why 95% of cough medicine was allowed to be sold when none of it was known to work. The list of OTC medical products that don’t work is very large.
You're giving fine advice for well-scoped tasks with minimal design space (well, sort of - using std::list ever is laughable - but if you had said unordered_map vs. map, sure, so I take the broad point). But, some of us have been around the block a few times though, and now need to make sure those spaces are delineated for others in a way that won't force them into a performance corner.

> until you have implemented your algorithm, you don't know what kind of operations (and how often) you will do with your container.. until you have implemented your algorithm, you don't know how often you will have to use generics / reflection, so you can't know what will be the true impact on your code.

I don't mean to brag, but I guess I'm a lot better at planning ahead than you. I don't usually have the whole program written in my head before I start, but I also can't remember any time I had to reach for a hammer as big as reflect and didn't expect to very early on, and most of the time I know what I intend to do to my data!

> This is why you "make it work" and "make it right" before you "make it fast"... This way you have a clear separation between your API and your implementation details.

This is not possible. APIs force performance constraints. Maybe wait until your API works before micro-optimizing it, but also maybe think about how many pointers you're going to have to chase and methods your users will need to implement in the first place because you probably don't get to "optimize" those later without breaking the API. You write about "the bottleneck", but there's not always a single bottleneck distinct from "the API". Sometimes there's a program that's slow because there's a singular part that takes 10 seconds and could take 1 second. But sometimes it's slow because every different bit of it is taking 2ns where it could take 1ns.

Consider the basic read-some-bytes API in Go vs. Python (translated into Go, so the difference is obvious):

type GoReader interface { Read([]byte) (int, error) }

type PyReader interface { Read(int) ([]byte, error) }

You're never going to make an API like PyReader anywhere near as fast as GoReader, no matter how much optimization you do!
Yep, and that's only using the rough metric of bodyweight. There are a number of other major factors like size and health of liver, whether the patient has any under/over expression of metabolic enzymes, etc that can further complicate the determination of proper dosage.

Would be super cool if we had an objective measure of proper dosage - such as blood concentration or excreted metabolites - to give us more insight into how the drug is being metabolized by the individual.
I am an Arizona resident. This does not work for me. The Apple Wallet app on my iPhone does not show the “Add state drivers license” option.
Yeah, US voters do seem to like electing presidents for things only Congress has the power to do. Of course, presidents also like proposing things they can't do.

Presidents' main differences are on foreign policy which is the one thing nobody asks them about.
Nit pick…

Technically it’s not “through” the electrical wires, it’s actually through the electrical field created around the electrical wires.

Veritasium explains https://youtu.be/bHIhgxav9LY
I don't know anything about BEAM, but I don't think single-threading of any form really addresses the underlying problem. If you go to allocate something, and the system decides a GC is necessary in order to satisfy your allocation, then the GC has to run before your allocation returns.
I don't claim to speak for or know the author's intent, but letting hn linkify your url means losing the end of it to ellipses. In the case of youtube, some people might like to copy and paste the video identifier and access the content through some third party app. I, for one, found the approach convenient.
Learn a new language! Be fearless when speaking it even when you know you're wrong. The results are humbling often hilarious and get you accustomed to frequent failure. This is also a good approach for people who are socially awkward or want practice just speaking to people. There are literally millions of people interested in doing "language exchange" sessions, where you do x minutes in your native tongue in exchange for x minutes in their native tongue. Not only will you learn a new language, but asking questions about idiom you do not understand is amazing practice for "anything" you don't understand.
People do huge amounts of systems programming in Java, including in systems that are incredibly performance-sensitive.
Linpack helped me solve an in general intractable problem 15 years ago and kick-started my career short after I got my degree in CS, it turned out that the real world instances of the problem were indeed tractable but that was not revealed untill I tried Linpack. Needless to say I am very greatfull, and I am very happy to see Dongarra got this well earned reward.
Theory and practice can diverge and it's easy to over-conclude based on either with such complex systems. For example, I have seen gcc PGO make the very same training case used to measure the profile run more slowly. One might think that impossible naively, but maybe it sounds more plausible if I put it differently - "steering the many code generation heuristics with the profile failed in practice in that case". As with almost everything in computer systems, "it all depends...."
I most recently encountered this fact in The Man from the Future, a recent biography about John von Neumann. (The first half of it, the first 5 or 6 chapters were good, but it goes off the rails after that.)

I think by "physicists" I should have said, Heisenberg. I'm talking about this: https://en.wikipedia.org/wiki/Matrix_mechanics#Heisenberg's_...
https://en.wikipedia.org/wiki/Heisenberg's_entryway_to_matri...
Duck and cover drills were silly, and your grandparents knew that. They made jokes at the time about their nuclear-proof desks. It was always propaganda to make a nuclear war seem survivable, and fortunately they never had to find out.

Kids Today(tm) do active shooter drills. And those aren't useless. The news is full of kids who actually have to implement them for real. Most of them don't die, but it does mean that they have to live with the consequences of knowing that it's a genuine possibility.
I'm not touching anything Docker anymore.

Here's the scenario: you're the unfortunate soul who received the first M1 as a new employee, and nothing Docker-related works. Cue multi-arch builds; what a rotten mess. I spent more than a week figuring out the careful orchestration that any build involving `docker manifest` needs. If you aren't within the very fine line that buildx assumes, good luck pal. How long has `docker manifest` been "experimental?" It's abandonware.

Then I decided it would be smart to point out that we don't sign our images, and so I had to figure out how to combine the `docker manifest` mess with `docker trust`, another piece of abandonware. Eventually I figured out that the way to do it was with notary[1], another (poorly documented) piece of abandonware. The new shiny thing is notation[2], which does exactly the same thing, but is nowhere near complete.

At least Google clearly signals that they are killing something, Docker just lets projects go quiet. I'm now looking at replacing everything I've done for the past 4 months with Podman, Buildah, and Cosign.

How long before this project lands up like the rest of them? Coincidentally, we were talking about decoupling our CI from proprietary CI, seeing this was a rollercoaster of emotions.

[1]: https://github.com/notaryproject/notary
[2]: https://github.com/notaryproject/notation
And I you looking for some strange architecture forgoten by time:). https://www.copetti.org/writings/consoles/sega-saturn/
I have the impression that many cold drugs are similarly useless. Dextromethorphan comes to mind[0]. I think its the nature of colds, they are not particularly severe and symptoms are easily influenced by placebo effects. Many of them are really just relying on caffeine for daytime meds and antihistamines for nighttime formulations. That whole market feels like a borderline scam.

0. https://pubmed.ncbi.nlm.nih.gov/11045895/
Is there any evidence that harm is being caused from age-based dosing?
You don't think this depends at all on the particulars of the developer(s)? E.g. their personalities, experience, skill level?
In my case, I was taking ibuprofen+pseudoephedrine, so acetaminophen wasn't a confounding factor.

And yes, there's plenty of literature showing a slight average increase in bp -- but it seems that there's a wide variance, with some people having dramatically larger side effects.
> smart and happy, i. e. Democrats

> these failing have been interpreted as growing pains and various lapses in skill or judgement.

"[...]have been interpreted[...]" are wikipedia "weasel words" here; this is really what centrist party Democrats feel. They interpret the acts of "smart and happy" middle-class people through the lens of "people trying to do good badly" rather than "people doing what they want to do, consistently with what they've always done."

These are the only people that need to rationalize their associations with Facebook, and this is how they do it. Republicans and libertarian-types don't actually think these are issues that Facebook should be concerned about, and lefties don't need to to rehabilitate Facebook.
> have you ever actually done that? I have, its not easy.

Yes. I do it frequently. "#[derive(Error, Debug)]": https://github.com/dtolnay/thiserror#example

Much easier than implementing the error interface in go.

Rust is powerful enough to allow macros to remove annoying boiler-plate, and so most people using rust will grab one of the error-handling crates that are de-facto standard and remove the minor pain you're talking about.

In go, it's not really possible to do this because the language doesn't provide such macros (i.e. the old third-party github.com/pkg/errors wanted you to implement 'Cause', but couldn't provide sugar like 'this-error' does for it because go is simply less powerful).

I've found implementing errors in go to be much more error-prone and painful than in rust, and that's not to mention every function returning untyped errors, meaning I have no clue what callers should check for and handle new errors I add.
i disagree with the 65,000 figure. A baseline tesla model 3 is 38000 dollars, which has a computer that can handle full self driving beta. I can see the price going down TBH
Sorry, maybe I should have clarified: I'm approaching this as an artist that has had time and creative energy sapped by the tech industry, trying to figure out what sort of tech work would let me tip the balance away from tech and back towards art.
Was the answer harmonics?
Going one deeper, how does the communication work on a physical level? I’m guessing the wires of the PCI Express bus passively propagate the voltage and the CPU and GPU do “something” with that voltage?
The only countries with better demographic trends than the US are in Africa.
Ask my wet pants and the line of people behind me every time waiting to do the same move.
Air Purifying Headphones from Dyson
Yes, it works more quickly. That’s the only difference. And it is more like the SNRIs, like cymbalta with some effect or encouraging the release of catecholamines.

But the effect is the same, more neurotransmitters in the synaptic cleft.

People abuse Prozac as well if that given you a clue on their similarities.

https://pubmed.ncbi.nlm.nih.gov/8093133/

https://ajp.psychiatryonline.org/doi/abs/10.1176/ajp.150.12....
I do not even consider commenting on random blogs. It feels that got completely taken over by bots and shills and angry angry people a long time ago.

Upon further reflection, it's also about sense of community, or lack thereof - on social networks, I know who's reading my comments and I can engage with them. On blogs... I have no idea who else is reading it, I may never come back to see any responses, I may not care about anybody else's comments without context to put them in, so neither the incentive nor feedback loop are there for me.

(I may comment on e.g. Rock Paper Shotgun, but I don't consider it a blog - it's an online magazine and it has both the sense of community and daily return value. )
Can't wait until companies expand their fake-phishing email programs to include this. Randomly like once a month your phone will get spammed at 1am and if you allow the request, then you have to attend a phishing training session.
Apple: People and Environment in Our Supply Chain [pdf]
Only automatically printing something when returning it from main doesn't work with all types with the ? operator. And frankly 'handling errors by auto print and exit' is a bit of a code smell anyway, it's not much better than just .unwrap() on everything in main.
It's clear a lot of effort went into this, well done.

It looks like you are doing a lot of svg/path manipulation. I am curious if you are using any particular libraries under the hood for that?

How do you walk the balance between being easy enough for non-designers to use, but powerful enough to get a well-designed result?
iFixit Teardown: Studio Display Features iMac-Like Internal Setup
This fits my perception as well.

I'd also add that the political compasses and candidate choosers have been a place where you can see the leftward lean. I think it is a similar root cause to the coverage selection issue.

In The Righteous Mind, Jonathan Haidt talks about a particular failure mode that some people on the left exhibit when asked to fill in a political questionnaire the same way a conservative or libertarian would. I think that is what's happening here.
I use Fastmail for email and Dropbox for cloud storage. They're not going anywhere any time soon.
Even assuming that rigid pattern, the cars can do other things between the rush hours. Like deliveries.

Also, if there is an unused resource for most of the day, capitalism will find a use for it!
Big discussion of the original source, currently on the front page: https://news.ycombinator.com/item?id=30853836
They're not as evil as e.g. Goldman Sachs, but they're significantly more evil than several local banks that I actually use.
Update on StoreKit External Entitlement for dating apps
(Skip to 0:40 for initial performance, and to 56:00 for when it turns snappy.)
Well, yeah. Bankers would go to jail [1] for the kind of market manipulation google does on ad markets [2]. The realization may not have dawned on our industry yet, but the abuses big tech is currently into are the kind that gave banks their reputation, and also their regulation.

[1] e.g.: https://www.bbc.com/news/business-36737666

[2] among others: https://www.forbes.com/sites/enriquedans/2021/01/19/jedi-blu...
You appear to be ignoring development costs. Waymo has to be one of the most fantastically expensive projects in corporate history. Even if they ramped up massively tomorrow, they'd still be charging taxi-like prices and it will take a long, long time to break even on that initial investment. But of course, they aren't ramping up tomorrow.
Sourcegraph CTO here. It's interesting to read about GitHub's approach and how it contrasts with the approach we've taken at Sourcegraph. One of the key tradeoffs the article highlights is GitHub's decision to take the "shallow-but-wide" approach to code navigation, which has enabled them to provide some level of code navigation for most open-source repositories on GitHub, but at the expense of precision/accuracy (i.e., the system can't necessarily differentiate between different symbols with the same name).

Sourcegraph decided early on to take the opposite approach, favoring precision and accuracy over supporting every public codebase. Part of the reason why is that we aren't a code host that hosts millions of open-source repositories, so we didn't feel the need to support all of those at once. Another big reason is we heard from our users and customers that code navigation accuracy was critical for exploring their private code and enabling them to stay in flow (inaccurate results would break the train of thought because you'd have to actively think about how to navigate to the referenced symbol). We actually built out a language-agnostic search-based code navigation, but increasingly user feedback has driven us to adopt a more precise model, based at first on our own protocol (https://srclib.org) and also the LSIF protocol open-sourced by Microsoft that now enables code navigation for many popular editor extensions.

This is not to say that GitHub's approach is wrong, but more to say that it's interesting how different goals and constraints have led to systems that are quite different despite tackling the same general problem. GitHub aiming to provide some level of navigation to every repository on GitHub, and Sourcegraph aiming to provide best-in-class navigation for private codebases and dependencies.

(Btw, hats off to the GitHub team for open-sourcing tree-sitter, a great library which we've incorporated into parts of our stack. We actually hosted the creator of tree-sitter, Max Brunsfeld, on our podcast awhile back and it was a really fun and insightful conversation if people are interested in hearing some of the backstory of tree-sitter: https://about.sourcegraph.com/podcast/max-brunsfeld.)
Guilt by association is the kind of thing people create when they want to terrorize a population for control. It not existing is a basic human right.

What we are seeing is a monopolist abusing its power by directly harming somebody and the civil society refusing to acknowledge any harm. And it's doing so by the most visible power demonstration it can.
Is it bizarre to compare countries with other countries generally, or only when one is on the official enemies list?
I think the IRS has made it fairly clear that there are no real technical hurdles to doing 2. right now (certainly, free e-filing is absolutely not a technical problem).

I might or might not support 1., but 2. is doable regardless.
I'm not saying it'd be good if acetaminophen got you high, just that one of the reasons it's still OTC is that it doesn't get you high, so there's no one champing at the bit to crack down on it, the way they robbed us of the highly-effective and fairly-harmless pseudoephedrine for the one and only reason that it can be illicitly turned into a street drug.
Being forced to go back to office was one of the reasons (among many) that I left my last employer. My boss gave me the same spiel about how being together increases collaboration and is good for career advancement, while at the same time half of my department was on the other side of the planet and 5 of the 8 developers on my team lived out of state.

On top of all of that, I have invested heavily in my home office on my own dime (they didn't give any stipend even though work from home was pretty much mandated). I found that my writs and fingers were starting to hurt so I invested in a a more ergonmic split keyboard [1] and mouse which I would have to lug into the office with me.

I feel that my new employer, one that's exclusively remote, has a better approach of us doing an "on-site" every quarter or so where everyone from around the country gathers in a city for those higher level meetings and team bonding activities.

[1] ZSA Moonlander https://www.zsa.io/moonlander/
You didn’t sign up for an Amazon machine learning webinar. You signed up to contribute to a lead generation campaign that incidentally included a webinar about machine learning. The main purpose of free webinars and trade shows and so on is lead generation, either to identify possible customers, or possible job candidates, or both.

If you don’t want to get on a mailing list or in a recruiter’s database use a throwaway email address. No one at Amazon or whomever they outsource their lead databases to is looking to see if your email is a work address or not. You’re the product, not the customer.
We seem to assign a quite large market value to art. Film, television, music and book publishing are all huge industries. Add to that all the artistic pursuits that are part of every business (graphic design, some types of marketing, etc) and we almost certainly spend more on art than we ever have in the past.
why would congestion change if all the drivers were fully autonomous? It's one thing to have a fully autonomous driver, but having them coordinate perfectly to have good throughput even in dense traffic conditions is another altogether. I think this second goal is much farther off and if the articles I've read on autonomous vehicles is any indication I expect they will drive more cautiously and slowly than most human drivers when they finally "go live" in a widespread fashion
I remember for a CTF (I think PicoCTF?) we had to demodulate an image from sound using SSTV. This gave me a little more understanding of how that worked!
Tired of people not complaining about war crimes in Yemen, Libya, Somalia, Afghanistan, Iraq, etc.
It’s signaled similar to QAM. Far more complicated than GPIO type stuff. Think FM radio / spread spectrum rather than bitbanging / old school serial / parallel ports.

Similar to old school modems if the line is noisy it can drop to lower “baud” rates. You can manually try to recover higher rates if the noise is gone but it’s simpler to just reboot.
Oh, that is several levels deeper! PCIe is a big standard with several layers of abstraction, and it's far from passive.

The different versions of PCIe use a different encoding, so it's hard to sum it all up in a couple sentences in terms of what the voltage does.
As someone trying to learn spring boot and lombak to write a complicated service... yeah, this. But I'm not just reading my code, I'm reading abstractions piled on abstractions. It's crazy. In the end I'll have to write less code, but I have to understand so much more just to write that "less code".
> You end up with much less third party dependencies,

https://wiki.alopex.li/LetsBeRealAboutDependencies
You wouldn't like the results of either of those if you like "extreme" positions.

- The most popular replacement for FPTP (which is biased away from centrism) is RCV (which is biased towards it).

- FPTP does turn it into a two-party system, but US parties are weak. They don't control who joins them, who gets elected, or how anyone votes. In the UK you can actually get fired from the party for voting wrong.
This has already been discussed extensively on HN in the past.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
I see it as a sign that JSON is not that great for structured data if people prefer to pack their datetime structure into a string rather than the more native object format.