skysight-inc/HackerNews huggingface dataset:
1. Hibernate isn't even part of Spring. You're free to use a newer ORM like jOOQ if you like, or Spring Data JDBC if you want to get closer to the raw SQL. This gets to what I was saying earlier... usually when I encounter someone with strong opinions on Spring, they haven't really dug in to learn much about it. They don't know where "Java" ends and "Spring" begins, they're just winging it and don't like that this doesn't work out well with larger team projects (arguably with ANY stack).

2. I don't care which programming language or framework you are using. If you hate dependency injection as a general pattern, then every alternative I've ever seen boils down to either: (1) monkeypatching all over the place to achieve the same goals, or else (2) just static hardcoding everything and not writing unit tests with any mocks. I mean, plenty of people utilize one of those approaches. They just usually don't do so while discussing safety and security with a straight face.

2. You cite Python and Go as alternatives, yet immediately acknowledge that they're unsuitable beyond small teams or apps (my God, I'll take dependency issues with Maven Central over PyPI any day of the week!). Honestly, this whole sub-thread seems to boil down to you just preferring to work on small codebases over large codebases. And that's perfectly fine! I just don't think that's language or framework-dependent.
I'm not an area expert, but common issues raised over the years:

- HTTP/2 as implemented by browsers requires HTTPS, and some people don't like HTTPS.

- HTTP/2 was "designed by a committee" and has: a lot of features and complexity; most of those features were never implemented by most of the servers/clients; most of those advanced features that were implemented were very naive "checkbox implementations" and/or buggy [0]; some were implemented and then turned out to be more harmful than useful, and got dropped (HTTP/2 push in browsers [1]) etc.

[0] https://github.com/andydavies/http2-prioritization-issues

[1] https://developer.chrome.com/blog/removing-push
pgrx unfortunately has essentially zero documentation or samples on use outside of extensions.

For instance, say you want to write a new Table Access Method handler. There are bindings to TableAM stuff in the core pg-sys SDK but no docs or examples on using it in Rust.
other part of connector 101 is "put the springy bit on the cable, not socket, so when it wears out you replace a cable, not connector"

Given how Mini-USB looked I'm gotta say nobody there had any clue about designing connectors...
A Timer CLI in Go
A simple CLI timer in Go, and I also learned to use VHS to create GIFs from a terminal . SUPER COOL!
> Is ‘we’ the US?

The entire Western nations. NATO was founded as a deterrent to Russia, and yet we let Russia run rampant after the fall of the USSR: countless "interventions" that were nothing more but thinly disguised massacres (and drove all Eastern European nations to beg NATO for accession), cyber criminality and cyber warfare, propaganda efforts so immense that they shifted politics in the US, UK and a lot of Continental European countries massively towards the far-right, the 2014 Ukraine invasion, supporting the war criminal Assad in Syria, destabilizing half of Africa to the tune that Europe and Turkey got to deal with millions of refugees, the Ukraine invasion, the destruction of North Stream, dealing weapons with Iran and North Korea...

Just how much more are we willing to tolerate? When will we finally respond to all of that in an appropriate manner?

(I know, this was a rhetoric question, the answer is: likely never as no one but the US has actually taken care of their military, and the US want to focus on China for good reasons)

> The US can win the war in short order - I saw reports of a carrier sent towards Israel within hours of that attack.

Yeah, if they're willing to glass Palestine?! Anything that should not devolve into a massacre will involve infantry warfare in just about the most hostile environment since probably Vietnam and take months - the Israelis are preparing for that, and I hope they're successful. The US carrier, I think, is for now purely a signal towards anyone else to stay the f..k out of Israel.

> But Europe needs to sort out its bickering too, then maintain it. It’s a European problem, it hurts Europe and depending on the US is a problematic way of maintaining themselves.

Agreed (especially given that it's very well possible that the Republicans win in 2024), but that will take time that a lot of the crises in the current polycrisis don't have - and it's not made easier by Hungary and now Slovakia being governed by Kremlin puppets.
Google?

If you analyze the situation from the perspective of "Who benefits from it?", then the answer is clearly: Google benefits from it (they are so good, they can mitigate gigantic DDoS attacks). So, I don't think it's that crazy to think this is all a publicity stunt .
I was an interviewer at [FAANG]. I did 300+ interviews. At the beginning I asked tough questions since I didn't know better, but I quickly realized I was not getting the signal I wanted. So I changed and just asked simple questions that included writing some code. There was no gotcha, no need to know sophisticated data structures. Leetcode practice would not have helped much.
Not to be confused with another famous UK artist: https://en.wikipedia.org/wiki/Jim_Burns
One could argue PS has some shit-house qualities too. Some weird choices.
I find it to be more complex(Hence more error prone), less performant, harder to resolve bugs.

For a queries and mutations you still need to write business-logic and database access which is very similar to how you would develop a REST-API.
I think they also want tiling behaviors, but I think you can get at least starting positions of application windows in activities and virtual desktops via KWin rules.
For whatever reason, it bugs me that this robot doesn't have a name (or at least the name isn't mentioned in the article)
http 1.1 connections can be reused, including with pipelining, and it can open multiple sockets to make requests in parallel. http 2 allows out of order responses on one socket. is it worth the complexity? http 1.1 is over 20 years old and battle tested.
This constant redesign with no real improvement cycle irritates me to no end.
Proton is just a new desktop application API for Linux, one specialized for gaming. While the win32 API is certainly not an open standard, it is a stable one, arguably more stable than even browser APIs, and obviously more stable than the various APIs offered by Linux.

Years ago I was optimistic that fixed shared library runtimes, such as the ones offered by Steam, would be enough to make native game development for Linux viable. But even with these, so many things simply break in places they should NEVER break, and can only be fixed by recompiling them (thanks glibc), so I no longer feel this way.

While my heart bleeds for open source, video games are fundamentally more art than function, so the expectation that the user (or the upstream maintainer, Steam) needs to be capable of recompiling them is simply unrealistic when considering the licensing & support required for this. Video games need a stable API, perhaps even more than most other types of software. A game built 10 years ago should continue to work when run today.

When considering all of this, along with the fact that Valve is the only large organization with the resources and incentive to fix this situation. The only real path forward Valve has here is to create their own custom desktop application API for Linux that goes beyond just a set of shared libraries and is fully integrated, meaning third-party game developers don't need get involved in the often messy inter-library politics the Linux community is accustomed too.

But if Valve really needs to go that far, why invent a whole new API for it? Why not just copy win32? That's the most popular API among game developers after all. In fact there is already a Linux runtime that not only supports win32, but actually treats desktop stability as a core priority: WINE. Why not just throw resources at that instead of making something new?

While I'm mostly speculating here, I suspect that this line of reasoning is what gave birth to Proton. It has also led to interesting situations, consider this: Elden Ring on release had/has a problem with micro-stuttering, this issue was patched in Proton very quickly, within the first week of release, but remains an issue on Windows to this day. This means that right now, Linux is the best platform to play Elden Ring on if you want the best performance and graphics. Much like video drivers are updated to fix bugs for individual games, Proton now fills this role as well, but with an even faster development cycle.

This highlights one of the key benefits of Proton: it scopes an entire Win32 runtime (wineprefix) to each game. A hasty hotfix for one game will not break another, each game needs to only pin the runtime that works, and no further tweaking is necessary. You simply cannot do this on Windows, Microsoft does not have this kind of flexibility.

A future where Proton outlives Windows, one where Proton expands the win32 API to include more features never supported by Windows, while I can't say it will happen, it certainly can happen, and I'm excited to see where this goes.
I think computed-GOTO is easier to understand and more flexible than Duff's device, but computed-GOTO is not part of the C standard. It is sometimes available as a non-portable extension, e.g. https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html. Anyone know why it is not included in C?
A home isn't the only productive thing, many have negligible costs. Wrt the home, each situation varies, but one of the most important things to keep in mind is that appreciation often offsets all interest, tax, maintenace, insurance costs. Like right now in CA, tax is 1.25%, interest is 7%, maintenance ~0.5%, insurance negligible, so if appreciation is 8.75%, you are effectively paying nothing to live there, rather than $3,000 in rent. Maintenance can mostly be done by yourself too, and it's good to learn those skills if someone is worried about currency devaluation / shtf scenarios.

> Physical things tend to depreciate, and quicker than one might imagine.

First part is true, but I think it actually takes quite awhile. Many people in the US live in 50 - 100 year old homes, and well engineered cars are going 30 years and 300k miles these days.
> if history is any help we did it again

The U.S. blew a pipeline between Estonia and Finland, two NATO members? A pipeline that was going to carry LNG, a product the U.S. is a major exporter of?
You make it sound way tougher and more expensive than it is. If you can afford to buy black market fungi, you can afford the equipment and time required to grow your own.

I mean the uncle ben tek is what, $20? $40? in materials? And that's with spores leftover in case you somehow fail your cleanliness check.

I don't do it anymore, but when I did grow them I had exactly 1 failure out of at least 15 grows, and I was cognizant of the fact I was cutting corners. There is less luck involved than you let on.
Null pointers are automatically checked by the hardware (seg fault). Adding another runtime check is redundant.

Yes, I know, adding a huge fixed offset to the pointer can push it past the null protected pages.
"vendor representative" ? Internal or external contact ?

Sounds like a good approach nonetheless
I've been wondering this too. Lots of salaries for the company I work at show additional pay, and I don't know how to compare since I don't believe I get any additional pay..
I'm surprised how often I speak to technical teams that do not utilize PagerDuty (or an equivalent alternative). As PagerDuty integrates with nearly any external system, it separates the collection of telemetry from the incident response lifecycle, i.e. what is wrong? who should be or is looking into this? what did we learn from this? how often is this happening?

Personally, I find notifications in Slack to be an anti-pattern: a lot of teams expect someone to just "pick up" the incident based on their availability or expertise and _maybe_ the resolution is documented. Assigning direct responsibility by component and on-call schedule appending the RCA reduces the time-to-resolution and overall toil of the process.
Yes, that happened, but in the long run it failed and Vitalik still reigns supreme over the original Ethereum, despite him breaking one of the central promises of Ethereum in that scenario (the promise that "code is law").

Ethereum is better than the other complete scam coins, it's not a total scam. But it's not really permissionless and decentralized like Bitcoin.
I imagined a reference to The Office
Ask HN: SaaS Founders, What 3 advice would you give your younger selves?
To those currently operating or have built successful SaaS - what 3 lessons from experience have you learnt that you would tell your younger selves?
for-loop in C is still primitive and limited in applicability, while it makes the most frequent use-case much more difficult.

For example, it is normal practice to do some of initialization outside of a loop. It is normal to deal with finishing loop by using goto or if-branching after the loop (think of a search, that can be succesful or not). It is normal to ignore update counter part of loop and do updates in a body of the loop, because either updates are too big to squeese them between into for, or you need to do something between updating your counter and checking for the necessity of running another iteration.

With all this said I know 2 another approaches to the problem.

1. Common Lisp approach: create really flexible loop clause, allowing to represent any loop in a structural way. I'd recommend to look at cl-iterate package for CL, to see what happens to maniacs who had chosen this way.

2. A less ambitious approach defining some simple loops for most frequent cases (while, range iteration, iteration by iterator) and a loop for a general case looking like "loop { iteration }".

I personally prefer the second approach. I loved C-way, then I was a big fun of a Lisp-way, but now I believe that it is silly to create a whole new language just to write iteration, and a half-baked attempt to cover with for-loop more cases then just range iteration has more downsides than upsides.
If your shop is full of grown children, like this, then, face it, you're doomed regardless.
Never tried to compile crystal code, but I can tell the rust compiler is quite slow.
Maybe that's the compilation time take ages what is meant.
Maybe if you have no clue about electronics don't talk about electronics...

> Or do like Comcast does and put all bidirectional data through 1 conductor at multi-gigabit speeds.

And how much modem's transceiver cost ? And how does that compare to cost of computer mouse or other cheap USB peripherals.
Why do you think that it was Russia?
> if HN commenters can’t figure this stuff out, what are the chances that normal people can?

Plugging it in would probably be a good start. I can't name a single time where I've ever mistakenly identified a USB-C cable. Sometimes I've plugged it in when it wasn't connected to the wall, but I think worrying about non-compliant USB-C cables is no more relevant than caring about non-MFI certified Lightning cables.
Regarding "the self": Buddhism is seriously conflicted about that idea. The self is said to be illusory, but we constantly apply all of our energies to defending it. Why do they go on so much about it, if it isn't real?

It's been described to me as a pathetic, insignificant thing, absolutely in need of a defender. Western (or I should say, english-speaking) Buddhist teachers call it "ego", but I'm pretty sure that's wrong, in that Freud and Jung coined the term "ego" (they had different definitions, but it's not the self from Buddhism that either of them defined).
Well what was the value? The prediction was wildly wrong, supposed to come from "a pharmaceutical company working with military op's in a west coast state." That's about as far from China as you can get.

And the conspiracy theory that the vaccines are the real toxic part is just dumb. We know from hospitalisation and ICU figures that people were getting sick well before a vaccine was delivered. Plus, it requires me to believe that everyone in NHS Scotland was lying to me for completely unknown reasons.

In order to believe in these theories I am required to shut off my brain and not think about what happened in other countries, other health services, even though there are plenty with full information in English. It's just daft.
Which is exactly what it did. No games from big studios have included keyloggers.
> As far as this robot goes, the character doesn’t have an official name, and Disney isn’t ready to comment on where we might see it. But based on how it looks and sounds, we have some guesses.

Yup
But unlike the Black Sea, there’s no legal contract that gives any of the states the power that Turkey has: Block warships from entering and leaving. Even the Black Sea is open for civilian shipping from and to Russia, including Russian flagged merchant vessels.

Now, in time of war, Denmark and Sweden would control the entrance to the Baltic Sea, and Finnland and Estonia could make it hard for the Russian fleet to leave the port of St. Petersburg, but for now neither state is at war with Russia, the international shipping lanes remain open, even for Russian military and spy vessels.
I can feel the difference between denominations of my local coins no problem. What you need are a pair of coins with an odd year imprint and an even year imprint.
GeaCom, Inc. | Senior Software Engineer/Team Lead | Duluth, Minnesota | Onsite | 95,000 - 125,000 USD / year | Full-Time

Tech stack: Android, Firmware, GraphQL, MongoDB, Security, NodeJS

GeaCom, a designer of innovative, medical-grade engagement solutions utilizing Communication and Information Theory Empowered (CITE) Methodologies offers the opportunity for a Senior Software Engineer/Team Lead to join a dynamic, high-performance team of talented professionals who are passionate about the company’s mission: equity, efficiency, and efficacy in healthcare.

Are you a creative, proactive, and reliable team player who pays close attention to detail, is excited to work on meaningful tasks and has a passion to effectively lead software projects? Then this could be a great opportunity for you. In your role you will work on software innovation, design, security, and quality assurance.

More details and option to apply: https://devitjobs.us/jobs/GeaCom-Inc-Senior-Software-Enginee...
> Is there that much more potential left for energy drinks?

President Camacho has yet to come to power to authorize energy drinks for irrigation (because it's got electrolytes), so I'd say yes, there's still a ton of potential.
A universal EDR bypass built in Windows 10
This is kind of a complicated story. I'm not really trying to talk about whether you're right or wrong. You're saying something objectively true, it just doesn't mean what you think it means, and it doesn't translate to the role that CS2 plays in Steam, or how the CS2 audience differs from the rest of the audience on Steam.

On the one hand, the top of the app store is free to play experiences - apps like Spotify and Tinder, games like Monopoly Go.

There are places where "nobody" (close to 0%) pay for Spotify subscriptions (representative of all subscriptions), like Japan, even though the iPhone is more popular there than anywhere else in Asia, comparable to the US, so there's some additional cultural elements to software spending that are a long story to tap into.

And, in your life, you might know 1 person who (1) has spent money (2) in Genshin Impact, Hearthstone, or a Supercell title, and (3) is above the age of 25. There's something weirdly idiosyncratic about Roblox; and then, something about the off-brand-studios-you've-never-heard-of games. 11 year olds and Monopoly Go players, they are somehow bringing those titles to the top of the App Store.

If iOS had a similar tiny marketshare relative to Android as macOS does relative to PCs, nobody would maintain free to play games for it. Those games are monetized by whales and advertising, including cross-promo, which are scale plays. There are no "small" free to play games.

It's a totally different audience. iOS has both audiences, but the people who literally monetize in F2P are smaller in size than pay-to-players, even if they produce greater revenue overall. The pay-to-players are the audience I am talking about, because I'm trying to say that that's whose left in small platforms, and macOS has a lot more of them than whales.

An illuminating example would be that the Epic Game Store has Fortnite. And yet. Who cares about the Epic Game Store? Epic has so many incentives - it practically buys all the sales of finished games up front, to give them away to its users for free. But that's actually kind of the opposite of what they should be doing for a healthy ecosystem.

Fortnite monetizes free to play users better than anything else on EGS, so you can't make a huge F2P game on it. And by the way, Valve has CS2, DOTA 2 and Team Fortress 2, #1 #2 and #8 on the charts that have only 2 other F2P games on it.
Lit 3.0
Vulkan is sort of a post-API API. It seems to be designed specifically with high performance render pipelines in mind, and "end users" should interface with it through an intermediary layer.

Ie, you might prefer bgfx[0], cinder[1] or openframeworks[2].

0: https://github.com/bkaradzic/bgfx

1: https://www.libcinder.org/

2: https://openframeworks.cc/
Interesting read... I've shared it with my brother who is a game developer. Have a great day!
The problem with that is people don't have fire safes. Or homes in some cases (e.g. many unhoused people have smartphones now). Also people need to travel and do recovery without having to fly home to their safe.

The idea that printing a backup is easy and an option for many people is often not the case.
"knows they'll get the money" is different than actually has the money. And they don't know, there could be a chargeback, the credit card company could decide their business is illegitimate and withhold funds, the federal government could intervene and stop the funds. It is absolutely not the same as cash or bitcoin.
Computed go to was not quite an accurate description. I probably should have said “dispatch table” instead.
My OnePlus 5T have 4 years now and connector is still fine. I suspect user error

>Tt's bad design compared to the Lightning connector, and I don't like Apple...

Lightning connector is significantly worse.
This isn't very charitable. There's a saying about the shoes of the cobbler after all. The profession is large enough that we can have experts on, e.g., compiler optimizations, who do not care to know or bother with the tedious work of administering systems, applications, or data that have always and they hoped always would "just work."

Maybe that's overly optimistic or naive, but they need not be excommunicated from the field. There are a great many things in this field that I don't know that I arguably should. I learn them when I need to.
Ah ah! We have governments, why bother with brains !?
Rust makes them the same too (though its type system eliminates the fallibility issue)
I do not think node was a thing 15 years ago
Damn. Oh well. :/
May be this a hated take but just wondering - The place that pretty much invented cluster orchestration and reinvented it as k8s is having problems upgrading it.

What chance a bunch of poor sys admins stand running bunch of k8s clusters for a mid size company I wonder.

Every time I think of deploying (self managed, have done full stack) it for something mission critical, this upgrade scenario simply makes me rethink it altogether.

And even managed k8s has no guarantees and if managed is to be the option, nothing beats ECS in simplicity and smooth operation at certain scales.

PS: Full stack K8s means ingress controllers, DNS auto registration, GitOps , logging, monitoring, CI/CD and all the bells and wistles including a management UI behind oauth etc.