skysight-inc/HackerNews huggingface dataset:
Oh thanks! So is this the expected workflow?

1. Write initial db migrations

2. Start a test db, apply the migrations, generate schema.rs via the CLI tool

3. Write code based on schema.rs

4. Write new migrations

5. Test the changes on test db instance, re-generate schema.rs via the CLI tool

6. Update code based on the new schema.rs

When I first looked at Diesel I thought the safety was built into the code itself, but if it comes from out-of-code procedures using the CLI and a real database that makes a lot more sense. I don't think I got a good picture of how all these tools and libraries came together from the Diesel docs themselves. So, in this sense it seems very similar to SQLx.

My take is that this is a "database-first" approach vs rust-query's "code-first" approach to safety. I think the benefits of a code-first design are that you don't need any additional CLI tooling, manual procedures outside of code, to test migrations, or a running database at any point in development.

I guess from some perspective, writing raw SQL with tests that run against a real database is perfectly safe too. I think it's a spectrum of how database-first or code-first the database layer is.

> that has the disadvantage that it forces rust-query to always have the full control over the database

I think this goes for any database layer, doesn't it? If you write migrations for Diesel and then someone goes and makes manual changes to the production database you're similarly out of luck.

The rust-query author also mentions checksumming, but I think at the end of the day people always have the ability to go in and hollow out assumptions - but IMO the code-first approach which discourages any manual database interaction draws a clear line.
"Term limits" for Kickstarter games...?

On the other hand we have the Asmodee Digital business model: release an (initially) broken game somewhat on schedule with tons of bugs (Terraforming Mars) and only start fixing a few of the bugs if you sell enough copies [0]. But don't fix enough of them to the level where the digital version is as playable as the physical version, not for 5 years at least... in all sincerity I don't know why it's not acceptable to call something a beta release, price it and set expectations accordingly - but with a defined timeline (or revenue goal) to when it should become fully playable.

I'm also reminded of the failed Mycroft AI voice assistant [1].

[0]: https://videogamegeek.com/thread/2206151/cthulhu-reviews-ter...
[1]: https://hn.algolia.com/?q=mycroft+ai
Minimum qualifying income for a home in the Bay Area is now $320k
>I genuinely regret it.

But he doesn’t regret anything. None of them ever do.

Stop writing fan fiction, stop falling for the same lies and theater every 4/8 years and start facing the reality of how America is ruled.
AI Advent of Code 2024 – Day 2
Perhaps it is useful for countries that still don't have any real computer crime laws? Because in most western nations it would be totally pointless.
In the era of smart homes, remote-controlled devices have become integral components that enhance convenience and safety. Remote-controlled circuit breakers and switches offer advanced functionalities and ease of use by allowing users to control their electrical systems from a distance. This article delves into what remote control for smart switches and smart circuit breakers entails, how it operates, its advantages, and the various applications within a home. Furthermore, it addresses commonly asked questions about these smart home solutions.
I had a neighbour without a name. He was Tiwi. When a member of the tribe, higher on the totem pole than you, dies, then you lose that name for an appropriate mourning period.

An elder of reknown, with the name, died. The tribe decided that the name would never be taken again, as a matter of respect.

So, as a sign of respect, my neighbour gave up his name, permanently. His license and passport have a number, not a name.
And when this all blows up everyone will walk away without a scratch. In a just society everybody involved in this mess would spend a double digit number of years in jail.
I'm jealous, then. I've seen all kinds of deranged Rube Goldberg machines built using useEffect
Nothing inherent makes security on 7 year old hardware any more difficult than on 2 year old hardware.

Also, we're getting into the differences between upgrades (what OP said) and updates (the thing necessary to keep up with security) here. I'm having a really hard time coming up with an OS feature introduced in a full OS upgrade within the last 10 years that I actually want. I would have been perfectly content with only getting security updates since.
Does Meta sapling git wrapper facilitates working with submodules?
Yeah. Instead of money programmers spend thousands of hours mastering videogames like factorio.
Guru Meditation anyone? (https://en.wikipedia.org/wiki/Guru_Meditation)
We've [1] been using Hetzner's dedicated servers to provide Kubernetes clusters to our clients for a few years now. The performance is certainly excellent, we typically see request times half. And because the hardware is cheaper we can provide dedicated DevOps engineering time to each client. There are some caveats though:

1) A staging cluster for testing updates is really a must. YOLO-ing prod updates on a Sunday is no one's idea of fun.

2) Application level replication is king, followed by block-level replication (we use OpenEBS/Mayastor). After going through all the Postgres operators we found StackGres to (currently) be the best.

3) The Ansible playbooks are your assets. Once you have them down and well-commented for a given service then re-deploying that service in other cases (or again in the future) becomes straightforward.

4) If you can I'd recommend a dedicated 10G network to connect your servers. 1G just isn't quite enough when it comes to the combined load of prod traffic, plus image pulls, plus inter-service traffic. This also gives a 10x latency improvement over AWS intra-az.

5) If you want network redundancy you can create a 1G vSwitch (VLAN) on the 1G ports for internal use. Give each server a loopback IP, then use BGP to distribute routes (bird).

6) MinIO clusters (via the operator) are not that tricky to operate as long as you follow the well trodden path. This provides you with local high-bandwidth, low-latency object storage.

7) The initial investment to do this does take time. I'd put it at 2-4 months of undistracted skilled engineering time.

8) You can still push ancillary/annoying tasks off onto cloud providers (personally I'm a fan of CloudFlare for HTTP load balancing).

[1]: https://lithus.eu
> you cannot pass

This is his entire point: getting to this brick wall is _where_ the real learning happens. When you start scrambling, reading old stackoverflow posts, and breaking out the calculus text book you're pushing the boundaries of what is possible for you.

Body builders don't grow by watching other people lift weights.
>those establishments usually don't want the not-cheap expense of new copies of the menu printed that often.

It's nearly 2025 and qr codes are a thing.
"Scan this code for the current MP (market price)/ TOD (time of day price)/ HTBF (how the boss feels price)/ WBTYAP (we've been tracking your amazon purchases)/ WR (wrong race [...etc] price."
As it'll all be on your phone, it'll be up to you to hide, or show, your emotions as the $€££ (sell) price comes up.
Seems to be lots of advice about finding a new job.

If you’re the smartest person in the room, yea, that might be a red flag.

But, here’s some different advice though: get the company to hire someone more experienced. Be willing to give up some oversight responsibilities to that person. (Or hire someone who is experienced and explicitly doesn’t want to play the politics game.)

I felt like I was in a similar situation fresh out of school. It wasn’t until my company hired an incredibly talented person that I felt I was finally learning from someone (beyond reading books… back in that day, they were still pretty relevant and up to date).
Folding is clearly a form of information transfer though (and proteins are deeply involved in folding other proteins, even outside of the prion case). As stated in the screenshot it is fine "information here means the sequence of amino acid residues..." but that's a much narrower definition than is commonly communicated.

Proteins also do change the amino acid sequences of other proteins - they cleave them! The results of the cleavage are then important for cell biology, and although it seems plausible that the the results could have traditional "protein" style functions, e.g. as an enzyme, I not sure this is ever actually the case. But the end result is still that the rule has to be understood very narrowly.
You’re writing your entire website in react then downloading it to the client every time. This means the weight is react plus hundreds or thousands of dependencies (which this is ecosystem seems to actively encourage) plus all your app logic. MBs is not uncommon for larger websites.
> Well, it does obviously have to do with generating sales.

I don't think it's that obvious, and I don't think manufacturers count on it ("it" being short length updates)

Instead I think it's about handling competition: say a manufacturer updates their product line every 3 years, should a user that kept their phone for a while need to buy in the middle to last bout, they'll look at the market and see "oh that other manufacturer has released an update to their product line a month ago, so I'm going to buy that instead of a 2yo product from my current manufacturer". The comparison may be done on any kind of metric but it ultimately comes down to what's state of the art at a given point in time.

It doesn't mean the user hasn't kept their previous phone a long time. But to be competitive across the time continuum the product line needs to be fresh enough.

In that sense it generates sale, or rather, helps with retention, not by having one update every year or other year, but by creating the opportunity to stay within one's current brand.

I think leading manufacturers have realised a long time ago that satisfied customers are what generates reliable sales and growth long term. Even Samsung, king of the shiny "innovative"-but-useless bullet-point feature list have somewhat gotten their act together.
I think this is a much clearer expression of the claim than the commonly given one.
But then you don't have a company that can afford to build a 100b training cluster for example.
If that becomes the new sota you are again left behind.
> My constant problem with React-based tools is that they don't support deep links properly.

I worry that most people complaining here about React, including the OP, do not actually understand the very basics of React. Here someone is complaining about how React somehow messes with deep links. Without understanding that React does nothing to links. Nothing.
Don’t do that then. You can wait to leave a job till you have another lined up. It’s not always easy or simple but it’s certainly possible.
Many microservices have no reason to exist in first place, they are a solution looking for a problem, that many folks don't master modular programming, or love monkey patching, so a network layer or OS IPC is placed among them.

However, those same folks usually never learned about distributed computing, now their spaghetti code is done via OS IPC or networking calls, with all the "fun" that is debugging distributed systems.

They are also a way to sell cloud business, and consulting hours (also have myself to blame here), so if that is what folks want, that is what they get.
If you’re referring to the faux outrage whipped up by Daily Telegraph ‘journalist’ Alison Pearson, then that too isn’t accurate [1]. A member of the public reported a crime (inciting racial hatred), the police followed up on that, as is their duty.

She lied to suit her own divisive narrative.

Free speech absolutionists are whipping up fervour with divisive rhetoric. It’s as simple as that. In the UK we have free speech rights but also responsibilities. That’s how it should be. Unfettered free speech without a thought to the public and social consequences is reckless imho.

For those that care for facts rather than the divisive rhetoric of twitter: this is a decent overview of the freedom of expression rights and responsibilities in the UK [2]

"In contrast, freedom of speech does not protect statements that discriminate against or harass, or incite hatred or violence against, other persons and groups, particularly by reference to their race, religious belief, gender or sexual orientation. In the UK, this includes laws specifically designed to protect people from suffering abuse on account of who they are."

[1] https://www.bbc.co.uk/news/articles/cev9nxnygzpo

[2] https://www.lawble.co.uk/freedom-of-speech/
Thank you very much, josephcsible. I have updated the post https://peng.fyi/post/al2023-vs-al2-less-disk-space-with-ext...
From a nostalgia viewpoint, adding labels feels a bit "impure". You might as well want to introduce other syntactic sugar, but at some point, you're no longer writing C64 BASIC.

But what if you had an IDE with convenient/native editing support for BASIC line numbers? It could auto-number on pressing enter, and it could have refactoring/renumbering support so that you can't miss a GOTO somewhere. But you'd always see and edit plain BASIC code. It feels like that might be fun.
Google Trends seems to indicate that it's overwhelmingly written as "brainrot", no space.
The point is trying to understand how genetics works. Traits we can easily check for are easier to test against than say personality traits which are more subjective.
ChatGPT Is Two Years Old; Despite Billions, Reliability Still Falls Short
The second coming of Excel, basically.
Put it in a blender. Lemon juice optional. This will destroy the slimy texture. Fill a glass with the mix and then add cream on the top and you will have a spectacular dessert.

Persimmons are three (four?) totally different fruits in one.
The First Geared CVT and It Will Blow Your Mind [video]
NatureLM-Audio: An Audio-Language Foundation Model for Bioacoustics
Tonal was great and easy to use for some simple personal projects I've made. Definitely recommended.
+1 this is it.
I receive a notice of legal action from Free mobile
A former employer of mine banned Microsoft Access, because they didn't want critical business functions running from random desktop machines. I imagine they'd take the same view today to home made LLM-generated Rails apps.

They instead said "if you need to write your own little CRUD apps, use our APEX instance that we support and have backups for."
Fingerprint vs Face shines while (for instance) having a conversation and, because you have manners, want to maintain eye contact while pulling up a photo of that thing you are describing, or to make sure that's just a robocall and not your wife with an emergency.

It also shines first thing in the morning where your hair and eyes are so disheveled that even Siri didn't recognize you. Your thumb is probably still the same shape.
> Humans are often on autopilot, perhaps even most of the time

I wonder what responsiveness/results someone would get running an LLM with just ~20 watts for processing and memory, especially if it was getting trained at the same time.

That said, we do have a hardware advantage, what with the enormous swarm of nano-bots using technology and techniques literally beyond our best science. :p
If you're already reaching out like this then you're doing a lot right already.

That being said, the one thing that you can't really replicate is getting honest feedback about what you're doing at work.

For example, you can learn all the design patterns, write the best code etc, but are you even working on the right problem? What are the assumptions that you've made that are incorrect? Is there a much simpler approach that'll get you there in one tenth of the time?

These are thing things that experience may provide which no course or single book is going to give you.

You basically need senior people to talk to.

The most straightforward way to do this is to get a job which has this structure set up for you already. Otherwise make friends, go to meetups, do some networking and find some experienced people you can get some feedback from.
There Is Only One Key Difference Between Observability 1.0 and 2.0
The website is a fun mix of ancient Vue that was written a decade ago alongside an ongoing overhaul that has replaced the menu and most main pages with React.
ok choir...,er mouse
think of this though
there is now more actual personal privacy anywhere in North Korea than in your bathroom here. no, no, worse....because of the ubiquitous
and perverse level of survailenc tech here, North Korean spys, likely know more about what indivduals are doing here, than there
we have toggled over into something new
its not good, and we need to yell about it
I am fine if isFinite(1/0) returns false.
That has the same energy as saying "don't say your house was expensive until you compared prices with bay area houses" - not everyone in the world can work for silicon valley companies even if they wanted to. They are a nice aspirational things up in the sky to sometimes think about, but realistically, 99% of programmers are never going to work there and should be comparing their pay against peers within their industry.
Your experience is different than mine, then. At least 50% of the cheap electronic devices I've purchased end up breaking in a year or two.
We've toyed around with this idea for clients that do some data-heavy data-science work. Certainly I could see that running an on-premise Minio cluster could be very useful for providing fast access to data within the office.

Of course you could always move the data-science compute workloads to the cluster, but my gut says that bringing the data closer to the people that need it would be the ideal.
Against which threats?

https://news.ycombinator.com/item?id=42293962
Finding Bugs with Fuzzing
If you pay for the personal licence monthly, it is more expensive than commercial ($48 per year vs $24 per year). If you pay yearly they are the same price and the features are identical. I was confused.
"The use phase of a smartphone is not the most significant in the life cycle, in terms of [greenhouse gas] emissions", https://link.springer.com/article/10.1007/s11367-015-0909-4 , from 10 years ago.

From https://eeb.org/wp-content/uploads/2019/09/Coolproducts-repo... (2019):

"Our analysis shows that a 1-year lifetime extension of all smartphones in the EU would save 2.1 Mt CO2 per year by 2030, the equivalent of taking over a million cars off the roads. A lifetime extension of 3 years would save around 4.3 MtCO2. And a 5-year extension would correspond to about 5.5 MtCO2."

The extra global warming contributions come from "manufacturing, transportation and end-of-life phases", and the increasing dependency on remote servers.
Scam Citizen
It is even worse than that, paraphrasing you,

ESPOL, NEWP, PL/I, PL/S, PL.8, Mesa, Modula-2, Ada, Object Pascal, programmers look at each other disappointedly

Even taking into consideration the systems programming languages until the 1980's, the list isn't exhaustive.
Beautiful, I love the irreverence. Reminds me a lot of the "umbral calculus" for computing combinatorial identities. It proceeds in much the same way - deliberately make an (unjustified) abuse of notation, work with it at face value regardless, and reap the rewards...

...or spend hours debugging the mess you've made if it doesn't work =P
Same here. I used it and set it up once and had no issues personally, but only after documenting how to deal with it exactly.

It's just a rare feature so people don't know how to deal with it, so they just hate it. Once you figure out the 5 commands you will need you're golden.
I don't think you necessarily disagree with the definition. You mentioned "Sometimes", while they explicitly said "overconsumption". Most things are ok in moderation, including stupid relaxing.
> I think most people would prefer hanging out with others rather than scrolling tik tok

However both introversion and the hedgehog's dilemma can complicate this presumption. I think I'd rather say that most people would prefer hanging out with others in some fashion where they are safe from constant drama .. but the reality is that getting along with other people — including close friends and perhaps especially family members — takes a lot of effort and emotional labor.

With our current ubercapitalist society (definitely in the US but it affects the rest of the globe as well) and poor social understanding of mental health, many of us simply lack the resources to constantly expend said emotional labor and connections often fall away as a result.

Thus the mass of terminally online people.
>> by going through the kinds of mindless passive entertainment that has little to no to negative intellectual or artistic value

Why are video games on that list then?
Maybe I'm interested in solving the algorithmic problem and less interested in writing input parsers...
That doesn't achieve anything at a country level if trust stores don't include your CA directly. A country can't just push an update to all its citizens' computers to switch CA, it has to plan ahead for such eventualitites.
"But logic is what it is."

Indeed. It is a abstract tool that is helpful, if the abstractions of reality are meaningful in the given context.
Speak for yourself. Some people prefer to handle their devices with care and expect to get longevity in return.
So, if they can't change their situation 100%, society should not even make an attempt to improve it to some lower degree?

I honestly don't understand how you read the quote I provided and arrive at the conclusion that this is only about suicide or homicide prevention. The quote does not mention homicide at all, and does not talk about suicide, but _suicidal thoughts_ as well as depression.

I also think the statement that "society has completely fucked [them] over" doesn't generally hold true, this phenomenon is more complex than a simple black and white view.
Apparently 60 years isn't enough to learn how to use proper tooling.
Works for me

https://i.ibb.co/hcbJXPK/image.png
I think that the European investment capital is scarce and optimized for low-risk ideas. The last time I had a look, pre-seed funding from EU funds, but also some private funds IIRC, was laughable 50-60k EUR for a single year.

How do you attract and ignite the talent to start a research with that amount of money is out of my understanding.
I would argue that articulating clearly is not a non-technical skill, it's the essence of what software engineers do.
you might have a captcha issue on your discord haha or something, I cannot join
I think if there was a way to see the quality the sales would not drop like that.

But if you insist they would, then we can talk about a world where that level of quality is the minimum. Somehow. I don't really care how. It would be better, yeah?
It's hard.

Not impossible but much harder than working closely with humble and experienced engineers. That's why I recommend that a junior engineer finds a great consulting company as soon as they can and spend a few years there. This was a kinda breakthrough period in my career for both technical and soft skills. The nature of consulting also means that you might see a greater variety of environments, technologies, and problem/solution combinations than the equivalent xp in a non-consulting role. But make no mistake, finding a "good" consulting company is key. You need to have humble and experienced engineers who want to help you and grow you. If it's a "bums in seats" kinda "body shop" or some kind of celebrity house for "hero" or "10x devs" then maybe this won't be as useful.
This is just a greeting and an invitation. “I speak brainrot, and if you do too, let’s do it!”. TCP SYN.
I think with modern computer systems the effects would be relatively silo'd. I have the sense that each gene are more multi-use and interconnected than execution memory.