skysight-inc/HackerNews huggingface dataset:
What would be the cost/time of scaling down a rack on Hetzner?
"In established engineering disciplines a 12% improvement, easily obtained, is never considered marginal; and I believe the same viewpoint should prevail in software engineering." - Also Knuth
Yup, we have insulation in the walls but it doesn’t matter when the multiple windows per room are paper thin.
Atlantic Ocean is headed for a tipping point
Well geometric PID controllers are not vanilla PID controllers for LTI systems that I was talking about...

Also, and correct me if I'm wrong, I think in industry these vanilla PD/PID controllers are used for attitude and position control of quad-copters. Like, I don't think PX4 or BetaFlight implement any geometric controllers in their code bases.
> trying to synthesize all that stuff together into useful business decisions.

I thought in 2024 you could just ask an AI and still go to Ibiza.
Does not reproduce :)

// Assuming 2GiB length
using var file = File.OpenRead("verylargefile.txt");

var read = 0;
var iterations = 0;
var buffer = new byte[Array.MaxLength].AsMemory();

while ((read = await file.ReadAsync(buffer)) > 0)
{
buffer = buffer[read..];
iterations++;
}

Console.WriteLine($"Read {Array.MaxLength} in {iterations} call(s).");
Yeah agreed. Especially in humid climates. Like saying turn off all the lights and use a head torch. Like yes it will save energy. Also very uncomfortable and inconvenient.
Just to be clear, you're disagreeing that having a huge number of
dormant accounts is untypical, or disagreeing that a huge number of
dormant accounts you've forgotten about is a security risk in itself?
Message passing is not any easier or safer though. For every problem with shared memory concurrency you can draw a dual problem in message passing. See: https://songlh.github.io/paper/go-study.pdf

For me, single-threaded intra-task concurrency using async/await turned out to be safer and also easier to work with than either of the above mentioned concurrency models. Just a single loop with a top level select - everything is sequential and easy to reason about, also no need for any synchronization like locks or shared atomic pointers.
Your dependency structure should just be a tree.

It should be inserted literally right next to it's first use case. Your IDE will literally point it to you with red squigglys because the places where you've added a dependency will be missing a parameter. Go to the highest one and add it on the line above.
> an example of C++ being safer than unsafe Rust?

Not really, that’s just my impression reading stuff about unsafe rust, and programming C++.

> wouldn’t your comparison need you to take into account unsafe constructs used to implement the C# VM?

Rust compiler depends on LLVM written in C++, kernels for all mainstream OSes are written in C.
The probability of bugs in my code I just written is orders of magnitude higher than probability of bugs in these third-party systems.
> Ubuntu

we have dotnet webapp deployed on Ubuntu and it leaves a lot to be desired. The package for .net6 from default repo didn't recognise other dotnet components installed, net8 is not even coming to 22.04 - you have to install from the ms repo. But that is not compatible with the default repo's package for net6 so you have to remove that first and faff around with exact versions to get it installed side by side...

At least I don't have to deal with rhel Why is renewing a dev subscription so clunky?!
Lasers have the potential to be an excellent defense against drones, especially in a dense urban environment or where you have friendly troops nearby and you don't want to use a Phalanx firing thousands of shells per minute at a target a few dozen or few hundred meters away.

Mounted on a tank or APC, lasers can fire over the heads of your friendly troops and burn the drone.
Getting into robotics as a software engineer
68? Many 40 degree nights in LA this week—enjoyed with paper thin windows.
They were outcompeted in mobile and tablets. They had the most popular web browser for a good decade in the late 90s and early 00s, until they were outcompeted there too.

But how are they abandoning AI? They're a major part of the leading AI company.
Accusing Meta of not being able to set trends is fair.

But Apple?!

Bit off more than you could chew, there, I think.
> The bird in question is closer to an exception than a rule.

It doesn't flop out of the nest immediately after leaving the egg, though, right? This is more like a 3 year old child learning to ride a bike on the first go (still impressive) than a newborn infant doing so.
A lot of my clients are small businesses in that range or bigger.

AWS and the like are rarely a cost effective option, but it is something a lot of agencies like, largely because they are not paying the bills. The clients do not usually care because they are comfortable with a known brand and the costs are a small proportion of the overall costs.

A real small business will be fine just using a VPS provider or a rented server. This solves the problem of not having on premise hardware. They can then run everything on a single server, which is a lot simpler to set up, and a lot simpler to secure. That means the cost of paying someone to run it is a lot lower too as they are needed only occasionally.

They rarely need very resilient systems as they amount of money lost to downtime is relatively small - so even on AWS they are not going to be running in multiple availability zones etc.
Do you use keep your secrets in an offline database that is on a non-networked/air-gapped device?
> it's the same for all authentication factors. People forget their passwords, have their password manager database deleted, have their phones stolen

Yes but you can at least remember the important passwords in your head. With passkeys, if you lose your devices you're dead. I don't want to rely on my devices that much.

Hint: if you use passkeys for your personal Google account, do you actually think anyone at Google will be able to help you recover access when you lose them?

If you're thinking of your work passwords yes, you can probably call or visit someone physically and they'll reset your access. Other than that, not bloody likely.
Refcounted memory management on a large scale is slow anyway, with or without atomic refcounting. The bigger problem is that Rc, Arc or shared_ptr often only manage one small object, and that object lives in a separate tiny heap allocation. So you end up with many tiny heap allocations spread more or less randomly around in memory and the likelyhood of getting cache misses on access is much highter than tightly packing the underlying data into arrays and walking over the array items in order.

And if you only have a small number of refcounted references in your program, the small performance difference between atomic and non-atomic refcounting doesn't matter either.

Same problem with Box and unique_ptr btw, a handful is ok, but once that number grows into the thousands all over the codebase it's hard to do any meaningful optimization (or even figure out how much performance you're actually losing to cache misses because it's a death-by-a-thousand-cuts scenario).
Some random school board member says some dumb stuff: who really cares? There’s always been oddballs on the local level, but all my congressional “leftist” representatives seem like reasonable people. Meanwhile, we’re nearly 50-50 on the next president actually upending democracy in the US. If you prioritize anti-wokeness above that, you will soon wake up in a country you no longer recognize.

FWIW, I don’t like the rhetoric you cite, but I find that it ultimately has little impact on politics.

And what the hell even is this “virulent antisemitism”? Is this your way of framing Israel/Palestine? That is just insane. I guess Bernie is a virulent antisemite in your eyes as well?
The ingress/egress cost is ridiculously high. Some companies don't care, but it is there and I've seen it catch people off guard multiple times.
> Some of us have to work on our holidays

I think I'll stick to living in juridictions that prevent this to happen.

And providing a use case that enable more abuse is not a pro imho.
My father runs two front loaders for all inhabitants of one house with 10 flats. On the Miele front loader he had to change a bearing after 12 years, since then it runs perfectly fine. The other one is just running.

Keep in mind they are both running basically the whole day with only small breaks for years.
So the entire opinion of "Microsoft leaving as a field starts growing" rests on the Vision Pro coming out and therefore VR growing, but we should not question the fact that Vision Pro is unquestionable proof VR is growing in this thread...

No. VR is not growing. Apple was supposed to put out Vision Pro in 2021 when everyone was aboard the VR hypetrain, and AI was not in the public's mindset. Vision Pro is not the VR industry growing, it's an echo from yet another dead VR hypecycle.
The US wins in both fronts clearly. Their positive news factory is Hollywood and they get people to pay to consume their propaganda.
Bookmarked this amazing collection of resources! Would love to see
more on e-waste minimisation too, as I was shocked to read how much
electricity (and potable water) goes into manufacturing and disposing
of devices.
It’s the cost of data egress, which isn’t free.
What makes Ruby great for this is you can specify dependencies inline

require 'bundler/inline'

gemfile do
source 'https://rubygems.org'
gem 'json', require: false
gem 'nap', require: 'rest'
gem 'cocoapods', '~> 0.34.1'
end
Keep in mind PG&E rates had to cover billions in stock buybacks, billions in dividends annually, hundreds of millions in fighting municipal power, and billions in profit annually. The terrain isn't the problem, greed is.
Honestly, I'd take them off your resume. The github link is fine, but I don't call people back if they list details that don't impact the job. Again, nothing wrong with the details but this isn't the place for them, and your resume needs to reflect that you understand where your value comes from.

Your resume serves two purposes - don't give them a reason to throw it out. And do give them a reason to call you. Every piece of information will do one of those things, so think carefully and put as little info in a resume as possible while still making someone know you can contribute. This is not a job application, it is a teaser - make them want to call you and ask questions.

To that end, you do what everyone says - fill it with descriptions of your accomplishments supported by what measurable impact they had on the business. Sprinkle tech details in only as needed to explain what skills were used to make those impacts, and to keep your resume in the mix when people are searching for keywords.

If you are earlier in your career, those impacts may be less impressive, but the resume will still be stronger if you say something measurable. As a made-up example: "Fixed 87 bugs in our React front-end" vs. "Maintained the web app." Ideally, that same bug-fixing work could be described more like: "Improved customer CSAT scores from 67 to 83 due to improved quality achieved via a bug-fixing effort that resolved 87 customer concerns."

Once you get to the interview, continue to focus the discussion on how you help the business. Using that same bug-fixing example, if they ask you about it, don't dive deep into the hardest bug to fix or how you troubleshoot - talk about the customer problems that drove you to the decision to spend time on bugs in the first place, what you hoped to accomplish, a brief overview of the types of bugs you worked on, the results, and practices you put in place to prevent falling back into a buggy customer experience.

Because as you said - you go through their interview process the same as everyone else. I'd tell you to stop doing that. Because many of my jobs have come when the conversation took the interview process in new directions... I've had multiple interviews (and offers from them) where the interviewer tells me that we derailed their own process, had different discussions, and they really could tell we could work together well. That is the impression you want to leave people with - "This person is really someone I want to work with."
I think engineers in the 20s who were putting out quality enigmas would be stunned by all the marketing lingo.
AI Safety Fundamentals
related: https://github.com/tusharsadhwani/zxpy
My explanation ? There are way more program written in C/C++ than Rust out there, so statistically more bug are found. About the wheels ? Maybe that's true also for Rust developers:
https://www.cvedetails.com/vulnerability-list/vendor_id-1902...
Rust in the Wild: A Factory Control System from Scratch [video]
You don't have to go as far as Coq. Rust manages "parse, don't validate" extremely well with serde.

Go's zero-values are the problem, not any other lack of its type system.
We're relatively small GCP users (low six figures) and have monthly cadence meetings with our Google account manager. They're very accommodating, and will help with contacts, events and marketing.
https://axiom.co/
Chrome comes bundled with Android.
The Special Counsel's Devastating Description of Biden
You're responsible for writing the query that selects the tasks to process, so yes? You can obviously group by a common id, order by inserted and use limit 1.
And if every event has to be processed in order, then you've created a system that can't be parallel, so you'll be effectively limited to a single worker.
Synced passkeys usually bound to biometrics or some other rate-limited authentication like a pin, and at least Apple syncs them on your keychain, so it never is unencrypted in the cloud.

And the general idea about device-bound passkeys is to enroll them from all your devices (Google encourages you to do so on first sign in from a device), so one surviving device is enough to continue the chain of trust.
This is excellent.

I have been using the amazing Merlin up to ID bird song, I’d like to recognise bird song without needing an app, but I still have a long way to go.
Not familiar with the OP but this may have been the pitch for migration: "K8S will allow us better automation".
> So another thing Microsoft abandons just as it starts growing.

I don't see VR/AR growing. Quite the opposite.

E.g.: https://mixed-news.com/en/steamvr-february-2023/
Unscrambling the hidden secrets of superpermutations
I agreed with you, but I kept quiet because I am not a sensible person and I didn't want to make you look bad. But yes, my immediate reaction to the article was "just don't sign up for things, have a small number of passwords for a small number of vital things, no problem."

Somewhere I have a page in a notebook with 20 or so passwords written down (in the basic cipher I've used since I was 12). If this was stolen, after some effort, the thief would be able to access things like ... a forgotten Github account, my abandoned efforts to learn from Duolingo, and a Reddit account I haven't used for two years. I would be mildly irritated. I am happy with this arrangement.
I agree that bad documentation is a serious problem in many cases. So much so that your suggestion to write the documentation after the fact can become quite impossible.

If there is only one thing that juniors should learn about writing documentation (be it comments or design documents), it is this: document why something is there. If resources are limited, you can safely skip comments that describe how something works, because that information is also available in code.

(It might help to describe what is available, especially if code is spread out over multiple repositories, libraries, teams, etc.)

(Also, I suppose the comment I'm responding to could've been slightly more forgiving to GP, but that's another story.)
How can you see/export the passkey in Bitwarden I see no option in the extension or web vault.
> There's nothing hidden about the fact that they will push us to use AWS services.

Our account team don't even do that. We use a lot of AWS anyway and they know it, so they're happy to help with competitor offerings and integrating with our existing stack. Their main push on us has been to not waste money.
I felt this way for a long time. And maybe I'm projecting my past struggles onto what you're describing. I shared my current approach in a different comment already [0]. The gist is that I use an optional config struct, whose values get validated and copied over to my server struct inside NewServer. This makes testing much easier because I can mock fewer deps.

FWIW, I really tried to make the functional option pattern work for me, as many others have suggested, but eventually abandoned it. I felt it was a little too clever and therefore difficult to read, while requiring more boilerplate than the config struct + validate and copy pattern.

[0] https://news.ycombinator.com/item?id=39320170
great game, thanks.
I wrote one of these not long ago: https://github.com/mattbillenstein/pg-queue
Look, the thing is - most of infra decisions are made by devops/devs that have a vested interest in this.

Either because they only know how to manage AWS instances (it was the hotness and thats what all the blogs and YT videos were about) and are now terrified from losing their jobs if the companies switch stacks. Or because they needed to put the new thing on their CV so they remain employable. Also maybe because they had to get that promotion and bonus for doing hard things and migrating things. Or because they were pressured into by bean counters which were pressured by the geniuses of Wall Street to move capex to opex.

In any case, this isn't by necessity these days. This is because, for a massive amount of engineers, that's the only way they know how to do things and after the gold rush of high pay, there's not many engineers around that are in it to learn or do things better. It's for the paycheck.

It is what it is. The actual reality of engineering the products well doesn't come close to the work being done by the people carrying that fancy superstar engineer title.
I'm currently early in my career and "the software guy" in a non-software team and role, but I'm looking to move into a more engineering direction. You've pretty much got my dream next job at the moment — if you don't mind me asking, how did you manage to find your role, especially being "still pretty Jr."?
Exporting passkeys is not supported yet
It's not any stranger than Hollywood renaming the John Carter movie because "Every movie with Mars in the title has been a flop"[1]. And then there's the whole thing about theater and the color yellow.

[1] https://www.gamesradar.com/10-reasons-why-andrew-stanton-dro...
This is a must-watch for everyone here commenting!

6 minutes dense with revelations.
This is nuts, dude! Get a password manager or something.
Pub/sub is more like SNS or EventBridge Bus to me
>In 10 years you'll wonder what's wrong the people who are still using their phone and laptop at coffee shop instead of their Vision 12 Pro Max.

I seriously dont think that would happen. At least I dont ever see it replace a phone, or a smart computer in pocket. The Laptop and Smartphone was obvious, even though the implementation of smartphone interaction wasn't obvious until iPhone arrives. But the form factor makes lots of sense.

I just dont see how Vision Pro Max could do that. At least not the form of a goggles. May be a plan glasses.
I seem to recall that OPML wasn’t as interoperable as it should have been and there was no guarantee an OPML file from one app could be used in another app. Has this improved?
Can you still access somebody else's phone by showing it a photo of their face, or has that been fixed? Perhaps it has to be a video of their face now.
Both. I don't mind creating accounts for shops that have what i want, and maybe buy once every three years (e.g. clothes, photo gear...). So I end up having a couple hundreds of accounts.

Are they a security risk? Don't think so, as I use a different password for each one, and a different TOTP. And always pay a single use card.

What you seem to be suggesting is "buy everything on Amazon, and don't use small shops". (Incidentally I don't use Amazon at all because they don't support single use cards, and they are always trying to sell me the Prime in sneaky ways).
maybe there are some differences from medical system to medical system, but that’s decidedly not what those characters are over here in Germany. This isn’t a case of student loans going overboard, we have it pretty good in this regard, the physicians working as insurance consultants/experts are almost exclusively retired physicians with decades of clinical practice long behind them. At least over here, if you don’t screw up BAD, you’ll live a pretty cushy life as long as you stick to your means.

There’s a difference between doing an unsavory job to the best of one’s abilities and calling women’s mental health issues "hysterics" and invoking psychosomatics to avoid paying out after someone was badly injured horseback riding and are bedridden due to debilitating neurological disorders following her injuries.

There’s a decidedly difference between being strict, maybe even excessively so, whilst doing a controversial job and systematically being misleading, manipulative and untruthful when confronted with established standards of care.

I fully get having to yield to the way the world works, and i sincerely feel for your view. My parents have basically disowned me and trying to sustain myself through medical school is taking a fat toll on me.

But I’m sorry, but "savying" away any sort of criticism of the conduct of our profession on the basis of "that’s not of the real world works" has it’s limits. Maybe you haven’t been at the receiving end of this sort of ordeal, but i can attest you first hand that this group of physicians, at least here, has issues way beyond having to sustain themselves. Maybe our generation will be different, but the ease of your dismissal is kind of troubling to me.

A few months ago i came across an interview with a physician who worked for one of the online pill mills that sprung up after the US loosened the rules for RXing scheduled substance via telemedicine. He pretty much approved Benzos and Adderall all day. He invoked pretty much the very same argument you have, and I’m sure his situation was everything but easy. The pressures of becoming a US physician are very alien to me, so maybe i just don’t get it. But "well, that’s how the world keeps spinning, grow up kiddo" isn’t a carte blanche for being oblivious to the damage you’re doing. You have sworn or will swear an oath. Being a mercenary liar, misrepresenting medicine for monetary gain is not quite what was implied there. If you don’t see a glaring issue with behaving this way, maybe you should look into an alternative career path.
Bitcoin by itself cannot serve every American, regardless of power consumption, and that's by design.

It can't even serve every lunch in Vermont without extra layers running on top of it.
Confirmed, it works fairly nicely (although we've had to be a bit careful with very chatty jobs configurations with regard to DB overload).
I thought you meant API and parameters. Blaming them for product names is weird to me.
My (peripheral) experience is that it is much cheaper to get data in than to get data out. When you have the amount of data being discussed — "Enterprise data. Going back years." — that can get very costly.

It's the amount of data where it makes more sense to put hard drives on a truck and drive across the country rather than send it over a network, where this becomes an issue (actually, probably a bit before then).
I have one too. I bought it to see if I could get used to the clip placement before buying a Pilot Capless (or Vanishing Point depending on where you live.) I was surprised by the smoothness of the EF nib.

I still haven´t bought a Pilot Capless, but I now know the clip doesn´t bother me, and I bring the Moonman to the gym to track my workouts.
Top Screen-Recording Tool for Solopreneurs