skysight-inc/HackerNews huggingface dataset:
I agree that microservices are vastly overused, and I would add that they are often misused

If you can't set up a development environment without running a bunch of local microservices then you are probably misusing the concept. They are too tightly coupled to run independently, so they probably should not be separated

All that does is slow everything down by introducing network requests where there shouldn't be, imo

It also leads to situations where layoffs leave services behind that are running and mission critical but have no owner anymore in the company.
New factorio dropped. Probably be doing that with every spare minute of the day.
> The app isn't the point, the starting fresh is.

This is the crux of what made Google Inbox so good. The UX encouraged "deleting" and starting fresh. This was made possible not just through the controls, but also through the promise that undelete would be possible. People want to start fresh, but they also don't want to lose anything; that's the conundrum.
iPhone Mirroring Is Good
There are plenty of options for running a database on Kubernetes whilst using local NVMe storage.

There are just pinning the database pods to specific nodes and using a LocalPathProvisioner or distributed solutions like JuiceFS, OpenEBS etc.
Yea thanks for recalling this. I totally forgot about that because I never trusted Windows upgrade, let alone filesystem conversion. Always backup and clean install. It's Microsoft software after all.
> And yes if you say you have 10+ yrs and you don't prefer type-safe languages, then yes I indeed do not even believe you.

You don't believe what exactly? Don't believe I have 10+ yrs of experience? You can see that my GitHub account has activity from the past 10 years, so... you don't believe I prefer dynamic typed languages like Python? You think I actually prefer static typing and I'm lying about that? Like what?

Oh, and it just so happens that Python was the most popular language in the 2024 StackOverflow survey: https://survey.stackoverflow.co/2024/technology#2-programmin...

I guess literally none of those people were "seasoned developers" either, and none of them had ever worked in a "scaled" and "large" project, like you mr big man.
Well, their mindset evolved at least partly around the question, how far they can go with free thinking, before making the transition to free burning.
> What is pipeline events though? I haven't heard of that, and google isn't bringing anything up.

Last time I checked there is no way to know if the async (render) pipeline compilation is completed. If I add a large scene to the world I don't know when it will be ready to render. In other words, its non-trivial to add a loading screen in many circumstances, or to do things like adding and removing scene bundles without causing pop-in or freezes, something that no game engine should struggle with.
With something like pipeline events I mean if we could get events from the render world about the state of the pipelines or some other way to know, then we would at least be able to implement some kind of shader compilation stage / loading screen properly.
I care more about that kind of stuff than rendering a gazillion triangles at 60fps, although that is pretty cool ofc.

> P.S. I'm actually the author of the virtual geometry feature, so that was a particularly well chosen example :)

I didn't realize lol It's really impressive work regardless!
yes, like i said, throw an overlay on that motherfucker and ignore the fact that when a customer request enters the network it does so at the cloud provider, then is proxied off to the final destination, possibly with multiple hops along the way.

you can't just slap an overlay on and expect everything to work in a reliable and performant manner. yes, it will work for your initial tests, but then shit gets real when you find that the route from datacenter a to datacenter b is asymmetric and/or shifts between providers, altering site to site performance on a regular basis.

the concept of bursting into on-prem is the most offensive bit about the original comment. when your site traffic is at its highest, you're going to add an extra network hop and proxy into the mix with a subset of your traffic getting shipped off to another datacenter over internet quality links.
Thank you! The cloud servers are sufficiently cheap for us that we could afford the extra flexibility we get from them. Hetzner can move around VMs without us noticing but in contrast they are rebooting a number of metal machines for maintenance now and for the last little while, which would have been disruptive especially during the migration. I might have another look next year at metal but I’m happy with the cloud VMs currently.
There’s all sorts of native plants and animals that call peat bogs their home
Part of rewilding them would be I would be I assume reintroducing species that were lost, but instead, it’s a lecture about the word anaerobic.
Depending on your cluster size I highly recommend Omni: https://omni.siderolabs.com

It took minutes to setup a cluster and I love having a UI to see what is happening.

I wish there were more products like this as I suspect there will be a trend towards more self-managed Kubernetes clusters given how expensive the cloud is becoming.
> If "technical stuff" is your primary interest, you should probably consider changing jobs.

This 100%. It seems that you're doing things proficiently enough to keep your job, but just want to improve your capabilities as a coder. It's going to be difficult without a proper structure or mentors around you. So you've to make a decision whether you'd prefer to stick with the role and get slowly better over time using blog posts and AI reviews, or jump in the deep end and get another role in a more tech industry aligned company. And if you decide to jump to another role, just be aware that you're going to spend 3 to 6 months panicking about whether you're in over you head, and probably won't get "comfortable" in the role for a year.
https://web.archive.org/web/20130607120922/http://theinstitu...
Bali also doesn’t use family names. They have a birth order name and a given name.
WEIZNICH! I am your biggest fan. Thank you so much for the amazing crates you've made and for Diesel.

When I started my rust journey Diesel and Rocket were the first few crates I worked with and it really opened up my mind and I haven't turned back since.

As for async, my primary concern for that was to make sure you minimise blocking code calls in your futures. Even if there weren't many performance gains to be made from Diesel itself being async but having database calls marked as Futures could theoretically help the runtime schedule and manage other threads.

I'd like to thank you for you amazing work once more!
How did marketplaces like Amazon, eBay, Etsy etc. got their first sellers?
Hi!

Just like the title of the post says, I wonder, sometimes, I could say that I am puzzled, how these behemoths from today convinced people(small businesses)to sell on their platforms in exchange for a commission for every transaction that the end-users made. I would love to see some original samples of emails or some other form of written communication between the founders of these companies and the first sellers that decided to use these marketplaces. For me, at least, as a Software Engineer with a not negligible experience under my belt(6+ YOE), convincing some strangers(small businesses included, as they are run by strangers as well) seems something surreal. I don't know, maybe I am much too introverted to understand the ins and outs of this art(or science?) of pitching a product/service.

Just a curiosity of mine. I just want to know about these things from people with real experience in this field. Of course, opinions are also highly valued.

P.S: If this has been asked before, then I'm sorry for duplicating the question.

Thank you all in advance!
>One usage pattern many of us have found useful in our software for years is the "set once and only once" (singleton-ish)

C# has this: https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...
> Also, one major difference between education and health care, in education the customer is different from the one who pays.

That's actually the same in education and healthcare. And probably the real root of the issues with both.

I don't pay for health care I pay for insurance. In fact I don't really pay for that. My company pays for it. I just have to throw some money in the money pit when my employer pays and when I go to get care.

I don't get to choose my healthcare, and I don't get to choose the procedures.

Hospitals pair up with insurance companies and stay with them. The hospitals work for the insurance companies.

When you pay for health insurance you are essentially paying a monthly fee to get healthcare from a specific company. The more they treat the more money they make, because if they over treat and they don't make enough money they just raise rates. You don't have a choice to switch to a new provider. Heck you can't even change your plan except once a year in November.

It's the same thing as stuff that's free. You aren't the customer you are the product.
Any idea how close that is to valid J code?
The Passion of Joan of Arc [1] is one of the greatest films of all time. It also inspired a remarkable synthesis of music and film, Richard Einhorn's Voices of Light [2], that is well worth experiencing live if it is ever performed near you.

[1] https://en.wikipedia.org/wiki/The_Passion_of_Joan_of_Arc

[2] https://www.richardeinhorn.com/voices-of-light-1
You make a very good point about "good" option source options. There are also situations where plenty of open tools exist, but whole-system complexity is such that people choose proprietary/managed options anyway. Email hosting comes to mind.
Staff Engineer vs. Engineering Manager
> For machine generated use, SQL queries should consist of a well defined fill-in-the-blanks system, with a text SQL query and a machine data structure. Something like this:

Erm, that’s exactly how modern DB and DB clients work. The client passes the SQL query with placeholders for parameters, and then sends the parameters separately. It’s also a core part of how prepared SQL queries work.

Every SQL client in any worthwhile language implements this pattern of passing a SQL query and its parameters as separate data structures, and they have done for decades. SQL injection only happens when people don’t use their SQL client properly, and attempt to compose SQL queries using naïve string templating. Effectively doing an end run around all the protections DB and clients provide by default.
I want it to prevent the layout shift issue with right sidebar whenever i click on a keyword. It's annoying.
Scale (run CUDA on AMD GPUs without mods) supports gfx900 and gfx1102
Ah, a true answer to gold theft - esp snatch/grab, but there would be filers galore...
Is there a proper way to do this in a docker container ?
Yes, because ‘they’ ( the other team ) are not doing it right so not talking is best
> Has anyone ever toyed around with the idea?

Sidero Omni have done this: https://omni.siderolabs.com

They run a Wireguard network between the nodes so you can have a mix of on-premise and cloud within one cluster. Works really well but unfortunately is a commercial product with a pricing model that is a little inflexible.

But at least it shows it's technically possible so maybe open source options exist.
So you're just agreeing with a possible viewpoint the parent admitted as valid several times?
I’m happy to have this idea refuted but character attacks and platitudes aren’t the best way to go about it. What Huberman says, even if it is an mis representation is based on scientific studies. There are some links in the notes here to some of the studies: https://www.hubermanlab.com/episode/how-to-increase-your-wil...
> Once old media started shifting its focus to the internet, they soon realized they weren’t any good at it. They couldn’t do what we could do, so their efforts were an unmitigated disaster.

Unable to compete with us on a level playing field, the old print media industries resorted to lawyers. They saw independent publishers getting a lot of traffic from Facebook, so they began threatening Facebook with lawsuits if they didn’t show their content more often, and our content less.

Can anyone explain this? How do you sue Facebook for giving bad recommendations?
Valve is the best thing that happened to Linux since Ubuntu.
Communication Structures in a Growing Organization
In that analogy, the programmer is more like a luthier then, not a musician. Great luthiers generally aren't also great musicians. Completely different set of skills
For the Love of God, Make Your Own Website
Exactly,

Utah has just about the least spending per student and just about the highest test scores.

Spending != education.
Trans-Continental Power Distribution
The article doesn't mention fussion, but to me this concept (along with electric storage everywhere) makes much much more sense than any form of nuclear in terms of providing for the future.
I have a self-imposed goal of not using third-party libraries for any of the solve logic. It feels more satisfying to do it myself, even if it takes longer.
Then you may like https://highload.fun/
No time limits, no monetary prizes, fastest solutions win.
This is what Voyager did awhile back, it’s interesting but I think only part of the answer
Pernosco
https://pernos.co/
Is vastly better than any debugger I’ve ever used.

Gdb is horrible, vs debugger is quite good but has strange limitations
The "debanking" stories from tech VCs/execs over last few days all sound like
Thanks! It is to the peculiar irrereverance & technical idiosyncrasies of Oliver Heaviside (aka his genius) that we owe the early leaps in the applications of Maxwell's nascent electromagnetic theory.
Nobody said „do it guerilla-style”. Put some thought into it.
You can start the container with docker run -it so it has a tty
The question in this thread is "What do you find hard to learn about react". The question is not "are you allowed to not learn about react".
Ok well "safe" in this case includes "the manufacturer intended it to be used here and is not going to modify the software in a way that is detrimental to you the end user."

If you sell a complicated product dependent on other parties then you are taking on risks.
How people can see headlines like this - https://www.nytimes.com/2024/03/11/technology/carmakers-driv... - and go "well we haven't seen proof they do it so stop being so alarmist" is beyond me.

I don't trust a single one of them. It's not even just they haven't earned it, it's that we have every reason not to. The public trust in these companies should be completely and irreparably shattered at this point.
we don't do that for burmese names but you can guess the day of the birthdate from the names most of the time
you can already do it, with Apple’s native Shortcuts app and Reminders app.
You can set an automation to delete all reminders after a fixed time has passed with the ‘Remove Reminders’ action

Otherwise you can just use cronjobs with a small python snippet to parse and decide what reminders tagged with which labels to delete after X,Y,Z many days and hit the APIs of most major todo apps like todoist, asana, etc to just delete those tasks. Heck works with your local markdown based todo lists too.
>https://get-notes.com

Looks cools. Note taking/outliners/productivity is a super competitive market, but I guess you know that already.

I'm a bit confused by the pricing. How is a personal license potentially more expensive than a commercial license?
The wallet:

https://platform.spotonchain.ai/en/profile?address=32ixEdVJW...
Why use BTRfS raid rather than good old MDadm raid?
You're close, but there’s an important nuance. The process isn't about "learning how to solve problems in general" in the broad sense. It's more specific: the neural network is trained to mimic the step-by-step process demonstrated by humans solving a specific problem.

The distinction is that the software doesn't autonomously derive general problem-solving heuristics from scratch. Instead, it observes examples of how humans solve problems procedurally and uses that to replicate similar reasoning. This is crucial because the step-by-step demonstrations give the model structure and guidance, which is different from learning a generalizable strategy for solving any kind of problem without those examples.

In essence, it's like a neural net learning to follow a recipe by watching a chef cook—rather than inventing its own recipes entirely from first principles.
Seems like you could go further than this with something like DSPy and start evaluating which tools contribute to successful outcomes. Funny how much things start to look like Eurisko the more time goes on.
that resonates - less facts and more reasoning training data. The most low hanging in terms of non synthetic data probably being mathematical proofs. With prolog and the like many alternate reasoning paths could be generated. It's hard to say if these many-path would help in llm training without access to the gigantic machines (it's so unfair) to try it on.
> If you work on single-person "teams" maintaining something that is barely used and does not even have SLAs and can be shut down for hours then there's nothing preventing you from keeping all your eggs into a single basket.

There's a whole spectrum between that and "needs to go down for less than a minute per year". For every project/job/app that needs the AWS levels of resilience and availability, there are maybe a few 100k that don't, and none of those are the "barely-used, down for hours" type of thing either.

Having been a developer since the mid-90s, I am always fascinated by the thought that computer, server and/or network resilience is something that humanity only discovered in the last 15 years.

The global network handling payments and transactions worked with unnoticeable downtime for 30-odd years; millions of transactions per second, globally, and it was resilient enough to support that without noticeable or expensive downtime.
I like to use Fedora with Gnome on mine.
Me too! It is addictive, lots of misses, and then some really good ones you end up using every day!
Yeah, if you're specific about it and know what to expect it's usually workable. In any case, this blog post is an indicator of what's about to come next.
How to clamp() Relative Color Lightness
Maybe you could try to informally get together with the other tech-oriented colleagues.

Perhaps they feel equally isolated.
A16Z Co-Founder on Joe Rogan
Well, did you try to decline? How do you know what would or wouldn't happen?
Its quite difficult to rationalize and demystify the depth of Ancient Greek thought and Aristotle is probably the best embodiment of that conundrum.

It would be quite an educational breakthrough if we could actually feel how and why there was this peak moment in intellectual inquiry, why it did not persist, why it emerged again but only millennia afterwards and whether it may again vanish as we drift into digitally intermediated dark ages.
AoC doesn't require any particular algorithmic knowledge to solve its problems. Sometimes knowing algorithms is useful to quickly write your solution, but IME it's never a requirement. Unlike leetcode-style challenges, AoC tasks usually don't even try to punish you for solutions that are specific to your particular input. You can get some stars with just pen and paper.

It's more like a set of logic puzzles. Programming and algorithms are only incidental.
Can't Driven Development
The best way to architect, test and develop software
another option from the sibling comment is to use `remote-pdb` which you can then telnet into from outside the container after exposing the port
Great. Possibly missed the opportunity to point out that Heaviside’s method is more or less the same as Laplace transforms.
> Metrics from an inverter, once upon a time, would have been a local web server in the device.

Or just a regular serial port! For example, IEC 62056 [0] provides a fairly trivial standardized way to interact with an electricity meter using an IR reader head. Even easier, the DSMR standard outputs serial data via a 5V RJ12 connector [1]. You can connect that to a PC with a $5 USB-to-serial adapter, directly to a Raspberry Pi, or to one of a dozen $20 cloud dongle thingies.

Just mandate a serial interface, and the inverter itself doesn't need any kind of web interface whatsoever.

[0]: https://en.wikipedia.org/wiki/IEC_62056

[1]: https://jensd.be/1183/linux/read-data-from-the-belgian-digit...
The Denotational Semantics of SSA
To suggest that morality is less than it was completely disregards the constant irrepressible lack of morality that has existed from the very beginning of the slaughter of the indigenous Indian population and theft of their land - to the reliance upon slaves to enrich white men to the treatment of women as male housekeepers. And religion did nothing but enforce that lack of morality. It sickens me to think people want to believe morality is somehow "worse" today and that what I describe above is some how the "good old days".

For cripes sake. Geez.
Or about 4.26 Olympic-sized swimming pools.
Seriously?

Of all the things I've heard people being dismissive of, you're the first I've heard suggest it might possibly be more than trivial to create a map from physical objects to some enumeration.

It's not like simulated physics is somehow a novel field I've had to invent in my head, it's a field that's been performing such mappings, even for quantum systems (on smaller scales than a brain, but you yourself say "I don't care if it's practical or not") for decades already.

In extremis, the Bekenstein bound, you've got a surface which — at a resolution of (IIRC) 2π bits per square Planck area — contains all the information about the interior. There's a lot of ways to map the surface of a sphere into Planck areas, pick any you want. That ordering itself defines a state down to the quantum level.

There's in the order of 10^17 of those Planck areas if a human brain was compressed into a black hole, so that's the maximum information content of any given possible arrangement of matter and energy with the mass of a human brain.

The only thing I'm struggling with right now is why you might be so confident that this is difficult that you're even thinking to try and make an example out of me?
It sounds like you are doing better than many in corporate jobs; you are being proactive. ChatGPT is quite valuable here, as is studying.

Where in the world are you? That determines your options.
In the olden times, the internet was so nerdy if you searched on Altavista for "depends" this tool was the top result.
I would think that it may be possible to be born with a greater or lesser disposition of aggressiveness and other stuff, although "evil" isn't one of these things. Furthermore, these (and other) things can change due to anything (experiences, situations, etc), and do not apply directly since any situation will be different.
Anybody running k3s/k8s on Hetzner using cax servers? How's that working?
HN's software uses the canonical URL when it finds one and in this case it was bad (https://www.openread.academy/paper/reading?corpusId=null). We've reversed that now.
I was in this position for a few years in my first job, and I ended up quitting for exactly this reason. It's important to surround yourself with technical experts early in your career, lest you fall into the "expert beginner" trap (https://daedtech.com/how-developers-stop-learning-rise-of-th...)
Rust's exclusive ownership can be used for things that can be called at most once (a method can require a non-copyable object as an argument, and takes ownership of it away from you, so you can't call the method again).

Rust also has wrapper types like OnceCell that have `get_or_init()` which will init the thing only once, and then it's guaranteed to be immutable. Unlike singletons, these don't have to be globally accessible.
Fixed now - see https://news.ycombinator.com/item?id=42290219 for explanation.