skysight-inc/HackerNews huggingface dataset:
I have a small MySQL database that’s rather important, and RDS was a complete failure.

It would have cost a negligible amount. But the sheer amount of time I wasted before I gave up was honestly quite surprising. Let’s see:

- I wanted one simple extension. I could have compromised on this, but getting it to work on RDS was a nonstarter.

- I wanted RDS to _import the data_. Nope, RDS isn’t “SUPER,” so it rejects a bunch of stuff that mysqldump emits. Hacking around it with sed was not confidence-inspiring.

- The database uses GTIDs and needed to maintain replication to a non-AWS system. RDS nominally supports GTID, but the documented way to enable it at import time strongly suggests that whoever wrote the docs doesn’t actually understand the purpose of GTID, and it wasn’t clear that RDS could do it right. At least Azure’s docs suggested that I could have written code to target some strange APIs to program the thing correctly.

Time wasted: a surprising number of hours. I’d rather give someone a bit of money to manage the thing, but it’s still on a combination of plain cloud servers and bare metal. Oh well.
If you cut a wire under tension at the very limit of its range on one end, can it hurt you?
Missing the biggest lesson I learned in the course of using them for almost half a century:

- when the pen goes dry, clean it thoroughly before refilling or replacing the cartridge

Back when I was writing a lot I was able to remember to do that every other time, but these days, it just gets done each and every time.

The other issue is how long a pen can be left with ink in it:

- days are okay
- weeks are probably okay
- months are not okay

So, unless confident you'll be using it again in a week or two, empty, and flush and dry thoroughly before putting away.

And a final recommendation --- try an italic or stub nib, and get a book on Chancery Italic:

https://sites.google.com/view/briem/free-books

or see:

https://www.handwritingrepair.info/
Old timers will say, incorrectly, "just drink some milk"

On a serious note, a short term exposure like this probably wouldn't be that harmful*, and they seem like risk-takers already so the hazards are factored in for them.
Completely disagree for our use case. If your messages aren't send-and-forget but rather represent work that needs to be tracked, it is incredibly difficult to manage the state when your database and queue are separate. Using postgresql as the queue and leveraging the same transactions as your business logic solves many many issues.
lol i didnt even know cat did that lol!
That's revolting. I live in Norway, I don't think that exists here. Bread is well marked with the percentage of grain thats's whole.
I've gifted a couple friends Midori notebooks before. On the go, portable enough to carry in a jacket or back pocket, I'm partial to the A6 blank notebook. Otherwise, I like the free form factor of A5/A4 loose leaf paper, particularly on a spacious desk.
You can likely be solve that with io_uring
This is fabulous. I keep lists like this in my notebook(s). The critical thing here is that you shouldn't dwell on your "wrong" choices, instead document the choice, what you thought you were getting, what you got, and what information would have been helpful to know at the time of decision (or which information you should have given more weight at the time of the decision.) If you do this, you will consistently get better and better.

And by far "automate all the things" is probably my number one suggestion for DevOps folks. Something that saves you 10 minutes a day pays for itself in a month when you have a couple of hours available to diagnose and fix a bug that just showed up. (5 days a week X 4 weeks X 10 minutes = 200 minutes) The exponential effect of not having to do something is much larger than most people internalize (they will say, "This just takes me a couple of minutes to do." when in fact it takes 20 to 30 minutes to do and they have to do it repeatedly.)
They're pretty common where I live (SE Michigan) because the electrical grid is quite a bit less reliable than the gas distribution network. To the point where 5-10% of customers in the service area lose power in any given big storm.

We have an (almost[1]) all electric house. A year ago we lost power for six days. Last spring we had a generator installed. Over the summer we lost grid power for five days but the generator worked flawlessly the entire time.

I don't like having gas for a number of reasons and if the grid was more reliable we would never have bothered, but, for us, it's just so much more reliable.

[1]: We have two HVAC systems that service different sides of our duplex-ish house. One side is a ground source heat pump, the other is a 95% efficient gas furnace.
Serial integers always work better than any uuid as PKs, but the thing with uuid4 is that it disrupts any kind of index or physical ordering you decide to put on your data.

Uuids are really for external communication, not in-system organization.
... we've only realistically had two generations.

I'd thought it would move faster when there was hope it could piggyback on mobile phone subsidies from carriers, but once that was clear it wasn't going to be the case it was quite evident we were talking about ~7 year legitimate hardware cycles.
To your first point, "The focus should be on producing an efficient..." it's not even close:

> Out of the 8.9 million barrels of gasoline consumed daily in the U.S. on average, only 1.8 million gallons, or approximately 20 percent, actually propel an internal combustion vehicle forward. The other 80 percent is wasted on heat and parasitic auxiliary components that draw away energy. As the world begins its shift to EV proliferattion, the good news is electric vehicles are far more energy efficient on the road. [0]

Meanwhile, EVs start at around 77% energy efficiency and go up from there.

This alone is why EVs will take over mobility.

[0] https://www.motortrend.com/news/evs-more-efficient-than-inte...
I have to say: I love all of you. In principle I'd like to join the party, since I'm in sympathy with the idea.

But, but, but: I very rarely have a need to write anything by hand. I actually had to go out and buy some ballpoint pens the last time, since I wasn't bringing them home from work anymore.

When I do write anything manually, my hand hurts. And I've tried reading some of the notes I wrote 30+ years ago, and I (mostly) can't read them.

So there are practical reasons for eschewing the old ways. YMMV but it's OK if you don't care for fountain pens.
years seems like hyperbole
There are valid selling points to rust's safety features, but this just feels like "I use rust because I need my compiler to be my training wheels". More of a self-own than anything.
You can always use old boring AWS EC2 and such. And sprinkle in some Terraform if you feel fancy. That would be my “use sqlite”

Kubernetes is probably “use postgres”
Thats a ... ya no, thats definitely not the default pattern
Putting in a ruby snippet gives me a light-themed PyCharm with the filename being `scratch_1.txt`

Thanks, I hate it!
It's definitely not that much, as the yard near me pays $0.60 a pound and that tower is not worth $500k.
I never understood the laws that replace this bags with thick bags you pay for.

They should replace free this bags with expensive this bags. If you want a reusable bag, bring it in with you. The fact you don't have one with you today shows you haven't made the switch, and shouldn't be trusted to do it now.
Sadly enums are too advanced of a concept to be included in Go.
For fentanyl crisis you should look at your own country to stop the demand and prosecute the people who have enabled it with prescribed opioids instead sheltering them and pointing fingers to others. Today it's China tomorrow it will be India or a poor country from Africa who can make those drugs cheaply as long there is ever increasing demand.

Case in point if slackers were found guilty in China (or any country of Asia) destroying millions of lives using prescription drugs he would have been shamed, his company would have been desolved and executed immediately instead of wasting years of time in court debating on the technicality of the issue in the name of giving proper justice.
> Because of my strong passion for cars, I am an old-fashioned person in regards to digitalization, electric vehicles, and connected cars

I can get behind the "digitalization" and "connected cars" opinions.

For example, tesla has removed (almost) all dedicated controls and put everything on a touchscreen.

On the latest cars, it has no shift lever (it guesses), no turn signal stalk (it is a touchpad on steering wheel that moves) and more mess. headlights, horn, defrost, climate controls, entertainment system need dedicated controls for muscle memory, instead they are difficult to control and make you a worse driver.

the connected car thing? You should be able to disconnect or firewall your car. Nope.
In colder climates maybe it makes sense to use mirrors to increase output since the panels are already cooled by the environment?
You understand, you grew up here. As long as you don't try to change anything, I'll personally welcome you with open arms. I'm protective of the culture, not xenophobic.
Start with...

Once a phone is reported lost or stolen, have it record everything and post that somewhere. To the cops would be nice, but also might be overwhelm them.

No problem, make a subreddit or something and post everything there, etc.

Now I may be missing something from the above, but whatever I havent thought of, I'm certain Apple could. I'm certain Apple could come up with a protocol that would make a stolen iPhone 100% useless, to the point that it would be a near perfect deterrent and thefts would go to basically zero.

But I'm also certain that Apple will not do that because $$$$$.
yeah man, me too. thoroughly disappointed
Kubernetes aren't like that.

It's just that, you should start with a handful of backed-up pet servers. Then manually automate their deployment when you need it. And only then go for a tool that abstracts the automated deployment when you need it.

But I fear the simplest option on the Kubernetes area is Kubernetes.
Yep! All of the above. I’m less concerned about a few excess calories in childhood and more about instilling a habit of needing every drink to taste like something.
Privacy centric email can’t be sustainable or profitable for free. If it’s free then your data is the product.
Consider this: the kind of people who wouldn’t know how to do this otherwise are exactly the kind of people I don’t want given a die cut model for how to do it.
Hi. Author here.
Didn't mean to irritate you. I'm quite familiar with the standard library. And I'm familiar with rants by the Go team about all the early code and patterns they wish they could wave away with a magic wand :)
And that the std lib does some things that no user of Go typically needs to do. I could write another post about how net/http goes against most of what this post advises, and for a good reason. But I didn't talk about that because my point would be more easily lost and no one reading my post is writing a their own http/grpc server.
I agree that someone shouldn't just say "best practices" and move on without an explanation. I didn't delve into this in the post because that wasn't the topic, and I overestimated how common this knowledge is (it's well documented inside of Google, and at the time of writing, I thought it was also published externally).

This "best practice" seems to be what most of the comments on this thread discuss, so I'll likely go in-depth with a post on this next week. Cheers.
"He contends that treatments used for patients who have brain injuries have also been shown to be effective in treating long COVID–related brain fog symptoms. These may include speech, cognitive, and occupational therapy as well as meeting with a neuropsychiatrist for the treatment of related mental health concerns."

Is that a brain injury, or just... mental health challenges? I was expecting something more permanent but in practice if occupational therapy and such work then it implies a significant psychological feedback loop component at least.
The forest
had the same thing happen to me. never going back to tuta.
One giant codebase is fine. Monorepo is better than lots of scattered repos linked together with git hashes. And it doesn't really get in the way of each team managing when stuff gets rolled out.
What Is the Quantum Threat?
Thanks for the downvote? :D
> ... and driving back up the prices of GPUs as we finally find a use for them

Bitcoin is mined using ASICs while Ethereum is now using proof-of-stake. These two represent more than 30x the value of the next shitcoin (not counting stablecoin).

What coins are still mined using GPUs?
There's a lot of detailed discussion in the Radio community here:

https://www.radiodiscussions.com/threads/wjlx-200-tower-repo...
If your underlying intent is to distribute information that helps a person more easily murder other people. Yeah. Yes I think you should go do jail.

Guess what I and almost everyone else doesn’t do: that.
Almost every time I read someone's insights who works in an environment with IaaS buy-in, my takeaway is the same: oh boy, what an alphabet soup.

The initial promise of "we'll take care of this for you, no in-house knowledge needed" has not materialized. For any non-trivial use case, all you do is replace transferrable, tailored knowledge with vendor-specific voodoo.

People who are serious about selling software-based services should do their own infrastructure.
The T2 Tile Project: bigger and safer computing using living systems principles
Like trains and buses?
Every generation should have a philosopher that you could imagine picking up a half eaten hot dog off the sidewalk and eating it. Zizek is ours.
Nvidia pursues $30B custom chip opportunity with new unit -sources
Especially for something handling data. I want an old, battle tested solution that won't disappear when the VC capital dries up
> safe rust forbids code which writes to different elements of the same vector from different CPU cores.

It doesn't (see e.g. slice::split_at_mut). It however doesn't allow you to do that and mutate the vector at the same time.
I don't know, but the price of used 4090s has gone up $500 in the last quarter.
With an air to water heat pump, you typically add a buffer tank that among other things helps keep preheated water warm. It is basically a hot water tank so doesn't last through the night

However for other hydronic applications such as solar water heaters there is typically a thermal storage tank which can help store heat like a battery.

Keep in mind a few things. One is some heat pumps are now operating down around -22*F. Second is geothermal is a water to water heat pump that isn't affected as much by the limitations of air temperature (but has other limitations). Third is radiant heat flooring with tubes in concrete acts as a thermal storage tank. Finally heat pumps for heating work best at low temperature hydronic water and can also be used for other applications such as DHW (domestic hot water) which needs to be at slightly higher temperatures than a buffer tank has.
'“If you don’t have a support contract you don’t get updates, it’s as simple as that,” George said'

funniest thing I've read all day.

Pretty soon someone will say criminals can't get guns because it's illegal (or against TOS)
I have that one as well and have been enjoying it. Huge value for the price. I replaced the reservoir to a piston thing, I like that even better.

I'd really like that exact pen with a more flex nib to play with, if something like that exists.
> "Singapore will be the first country to begin a phased pilot of this feature on Android devices in the next few weeks," Google said in a media statement.
Here’s how WhatsApp plans to interoperate with other messaging apps
Fixed it for you:

EVs are a textbook case in falling in love with a solution, not the problem. The focus should be on producing an efficient, reliable and cost effective _public transit systems_ that are widely accessible to as many people as possible.
Arista?
The Pico 5 Max pro has only slightly more pixels than the AVP and about the same girls of view so it'll just be on par with the AVP (but much cheaper).

Ps: based on rumours and it may not happen due to the budget cuts at pico now
>The dual problem would be any function which forgets to accept a ParsedString instead of a string can skip parsing.

>Both cases appear to depend on there being a "checkpoint" all data must go through to cross over to the rest of the system, either at parsing or at UnvalidatedString construction.

The difference is that if string is the trusted type, then it's easy to miss a spot and use the trusted string type for an untrusted value. The mistake will be subtle because the rest of your app uses a string type as well.

The converse is not true. If string is an untrusted type and ParsedString is a trusted type, if you miss a spot and forget to convert an untrusted string into a ParsedString, that function can't interact with any other part of your codebase that expects a ParsedString. The error would be much more visible and the damage more contained.

I think UnvalidatedString -> string also kind of misses the point of the type system in general. To parse a string into some other type, you're asserting something about the value it stores. It's not just a string with a blessing that says it's okay. It's a subset of the string type that can contain a more limited set of values than the built-in string type.

For example, parsing a string into a Username, I'm asserting things about the string (e.g., it's <10 characters long, it contains only a-z0-9). If I just use the string type, that's not an accurate representation of what's legal for a Username because the string type implies any legal string is a valid value.
The amount of economic activity it supports is somewhat of a poor measure without further information. Yes, it is a complete waste in its current form. But that doesn't strictly mean that the electricity usage will scale with the percentage of economic activity that takes place using it. I would be interested in knowing how this number would change if it supported most economic activity. Surely it would go up, but I doubt it would do so linearly.
I also don't think that they are super differentiated in the "minimalist browsers" space, especially when things like Arc exist
Fury Driven Development
Aren't they already available in the US? Theyve been selling here in Europe for ages.

But yeah I heard of the budget cuts too. May not happen now
It’s almost as if we were in an ordered line, all waiting to learn the same thing, and had the lesson delivered no more than once.
Tell the alternative is a saga pattern to implement a distributed two phase commit.

Or actual XA, but that is cursed.
The Sneaky Standard – Intel PCI Standardization History
I think a lot of startups have a set of requirements that is something like:

- I want to spin up multiple redundant instances of some set of services

- I want to load balance over those services

- I want some form of rolling deploy so that I don’t have downtime when I deploy

- I want some form of declarative infrastructure, not click-ops

Given these requirements, I can’t think of an alternative to managed k8s that isn’t more complex.
I'm a big monorepo fan, but you run into that ownership problem. "It's slow to clone"; which team fixes that?
That makes sense. Thank you for the response.
What??

"Microsoft revenue was $198 billion in 2022, up $30.2bn (+18%) from a year earlier. When we do a breakdown by product streams, the largest source of Microsoft’s revenue was Office, with $44.9 billion (23% of the total). Just behind in the second place was Azure with $44bn of revenue (22% of total)." - https://www.kamilfranek.com/microsoft-revenue-breakdown/

Office alone increasing by $5Bn revenue in a year, increasing by $24Bn in ~3 years, being the largest chunk of revenue of the most valuable market-cap company on the planet, that's what counts as "slowly dying"??
He'd also probably win some Nobel prize for addressing human overpopulation.

I feel bad for any normal human who needs to compete for affection against a future, hyper-optimized AI sexbot.
It's a forced-air system sized for a moderately insulated 1300 sqft home. Don't know how many tons or the SEER rating.
Not OP. But why should I?
It's a hassle to do migration. So if there is a non-vc funded choice, why would I bother with all the trouble?
Pullman Company will disagree with you.
I was trying to see if there were any references to major works on discomfort from a philosophical perspective that I was familiar with, but I couldn't find any.

I think its constitutive: here we have a field of thought that has spent the last however many years attempting to understand the mind in a sort of isolated, atomized way, now having to grapple with the social reality of thinking, and having little to no resources to draw from, and presumably the author is some poor Master's or PhD student who is only familiar with the small segment of materials that their professors and advisors have to offer them.

The so-called field of "analytic philosophy," if such a distinction is even important anymore, has produced numerous studies on Heidegger[0], for instance, who takes the feelings of Anxiety (and boredom) as the ground of Being. Less frequently cited in Philosophy, but common in cognitive science, is Freud--specifically I'm thinking of his essay "The 'Uncanny'."[1] I can think of others who would be more controversial, since they, being, perhaps, too heavily influenced, made such feelings of discomfort and confusion constitutive in their writing, and so many criticize them as being "nonsensical" without realizing how facile such criticisms are...

In any case, just as I am familiar with Heidegger and Freud, simply because of who I've come into association with, there is always a universe of thought that I am excluded from in one way or another, so its good to see, regardless, other takes on these subjects. But I agree, this lacks the kind of depth you'd like to see out of research that addresses this topic.

[0]https://www.stephenhicks.org/wp-content/uploads/2013/03/heid...

[1]https://web.mit.edu/allanmc/www/freud1.pdf
The language you’re talking about is APEX. I believe it comes from Oracle and is the backend language for Salesforce development. You’ll like the first class database support but that’s about it.
But let's blame it on crypto anyway? This makes zero sense
Colombia*
I think they’re using shell as the loose term for “shell script”, as in scripts you run in a shell.
Positive news = propaganda or state sponsored spin that shed a favorable light on things that suit the ruling class like “our struggles are our strength” not “man saves puppy” necessarily (though possible if fit into the political strategy).
This risk is much worse in C or C++ than rust because of the borrow checker. I’ve certainly seen some crimes against performance at the boundary between libraries, but I don’t think I’ve seen any subtle interface bugs.
While I agree that a heat pump can't work with hot water baseboard, there is an alternative.

The alternative is removing the baseboard and with a calculated heat load, replacing with panel radiators which run with much lower temperatures. The retrofit wouldn't be too difficult (compared to ducting) as it would involve running 1/2 inch PEX to each room.
Modern great heatpumps, installed correctly, are rather between 5 and 7 in terms of COP. Also, even the best gas heating systems only achieve 90% efficiency. In other words, it either be very very very cold in your area, or you have to screw up the installation before gas has lower running(!) costs.

Besides that, a gas power plant easily achieves 33% of efficiency for generating electricity from gas, rather 50% for the new ones. In other words, if the price for electricity is more than 3 times as high as gas, there is a high chance that it's due to tax, regulations, etc. Though, the price for maintaining a stronger power grid comes on top.