skysight-inc/HackerNews huggingface dataset:
Many have tried to derive an optimal instruction set, and RISC-V is such an attempt. But for now trying is failing, and one can only chose the way one will fail.
With the possible exception of only the Mill architecture, but that architecture requires a grand scale.

One common bottleneck, orienting instruction set design, is the need to pull in constants (indeed the instructions themselves are). One could theoretically share them between functions, and think of smart ways to reduce the amount of code. But in practice this is futile, as the modern CPU is a race car on a highway, if not a train on rails, so it can't be bothered to stop and deal with that kind of smartness. There's just to much inertia behind you... once you approach the speed of light. The road itself should have all information needed to let the CPU drive the correct track. And no special cases.

In addition, almost all CPU's are designed to execute a C type machine abstraction, because that's the paradigm. Though I root for the Mill, my guess is we'll only see a different instruction set once the paradigm shifts towards another execution model, likely one that is less stack bound.
Asterank
That's pretty wild.

I've seen mechanisms on some sites like my energy provider...but I doubt the crooks feel like paying my energy bills so whatever
At this moment? Well, I'm in Daytona, Florida attending the HSR Classic 24 Hours weekend of vintage racing. If you have any interest in motor racing and have not been to a vintage event, you need to. The variety of cars is huge. These events are usually pretty low-key compared to the current professional series. Often there are very few restrictions on where one can wander, with paddock access included in your reasonably priced ticket.
The “ElectricityMaps” app is a great place to see it all in a live, visual form:

https://app.electricitymaps.com/map
> The slippery slope is if bottled water is a con, aren’t all bottled and canned drinks a con?

No, obviously not, because orange juice and sodas aren't don't come out of your tap. None of them are, as the article says, a "public resource [turned] into a private commodity.” Also, everyone knows you don't need juices but that you do need water, which is why one is a utility and the other is a luxury. The way that bottled water is a con is that it's packaging something you already have and don't need more of and in a not so environmentally-friendly way.
Bouldering is the right choice. Assuming you're an engineer (as this is HN...) the puzzle solving side of it will appeal. There's a minor social side available talking to people during rest phases which is totally optional. It's definitely also a path to being much stronger and has a satisfying progression curve.
What? By having countries that were already friendly finally make it public?

Let's see someone tackle the actual hard problems and not just do PR stunts with a glowing orb.
An OCaml port of min-DALLE
Howdy fellow west aussie!

50ha is an amazing sized property and the south coast is an incredible part of the world.

My wife and I have recently bought some land near Margaret River/Augusta region and are planning out how we can plant local species and invite as many native critters as possible to come by.

Best of luck with your replanting and conservation projects.
> So, you’re saying I can’t work in this industry? That seems a bit harsh.

If you're going to be spitting copyrighted code out in violation of any licenses it might be made available under… yes, you can't. Most employers would not appreciate that behaviour. But I doubt you actually do this, even though you're capable of it. You reason about your code; you're not just being a predictive text engine.
Thanks! I should print this to remind me in a couple of years.
> case studies in where you should add context to error messages

I'd love to see this. I feel like I often default to adding context to my errors, which is probably better than defaulting to not wrapping at all, but would love to know what criteria you use to determine when adding context adds value
The history of the supposed poster child of "democracy" w.r.t. its handling of the native peoples inhabiting its territory disagrees with your disagreement.
It was also possible to bypass the "give us your phone" nag screen by messing with the url after login. I've been doing it for years now. I think they "fixed" it sometime this year and I had to give them my number :<
Nestlé CEO about water:
https://youtu.be/TPY64EJcsG4
Fun cultural difference: When I saw the headline I thought it was a negative thing about how long hours he had to work. "Until 5pm!"

But it's meant as positive. "Only until 5pm!". Rush hour in my city on Fridays is like at 14 (2pm). Work 37.5h weeks, but how I spend those hours are mostly up to me as long as I partake in meetings scheduled between 9 and 15.
The article as well as several comments repeat that “Go forces you to think about the error”. But isn’t that the opposite of what the tuple return pattern does? It allows you to ignore any error you want?
It’s just like an integer error code in C or bash, you check it when you remember but no one stops you from using the value even in the error case.

If the result and error was a single value (which I assume is the alternative here - not some Java-style exception system) then you’d be forced to consider the error.

The best you can do with a r, e tuple is checking if e isn’t nil over and over possibly cheered on by a linter?
A possible interpretation is that Nat was going home early like everybody else. If so, Miguel, is pointing at his hypocrisy.
Actually, your example would continue running the happy path as if the error didn't happen, returning erroneous results, but not panicking:

func main() {
x, _ := getNonZero()
fmt.Println("Nonzero number:", x)
}

func getNonZero() (int, error) {
return 0, errors.New("oops")
}

The "_" is supposed to be used only when you're absolutely sure that error cannot happen (e.g. the function you're calling is partial, but you know that the input is in the defined set).
> if he's a boy

You are, of course, implying that FGM is far, far, worse and would be unthinkable for anyone on HN?
As I wrote in an earlier thread[1], this indeed is a problem. With mastodon.

But as numerous people replied, many alternatives are ready or wip. Many of them make hosting really easy. Since that thread I tried several. Gotosocial being my favorite, now.

So this too isn't fundamental. Because 'mastodon' is about much more than this one piece of software. It's a network, the fediverse. And you can easily host a near 1-1 mastodon alternative today on a cheap, VPS.

[1] https://news.ycombinator.com/item?id=33120136&p=2#33120419
Did anyone just try to leave at 5 and see what happened?
The residential solar which is immediately used by the house, is it counted in this table?
Opinion pieces like this one generally frame the choice as “bottled water” vs “water from tap.” For me, these don’t compete. I buy a bottle of water when I’m on the go and want a portable drink. There isn’t a faucet in my car, or in a park, or on the street. Indeed I know the bottle of water probably came from a faucet.

If there weren’t bottled water I wouldn’t drink from the tap instead. I would buy a bottle of something less healthy, like Coke.
I see people over 35 talking about allnighters. How???
Thankfully I realised this at 20. I've never been an employee, I bill through the roof per-hour and prioritise work/life balance.

Life is for living. Whatever that means to you, not your boss.

Even when my boss is me, working out what life means is tough. It won't be found in toil for others.
But when the proverbial kettle calls the pot black, what no one seems to admit is, the kettle is not wrong.

Statements are, in the most fundamental sense, either write or wrong. Whether they’re insensitive, irrelevant or hypocritical are entirely orthogonal concepts. People tend to focus on the latter when listening to people speak, and often disregard the for former.
I did AWS training at the Amazon offices in Seattle for data science. I was blown away by the configuration... I have recompiled linux kernels and configured iptables as a teenager, and this was an entire galaxy of more complexity. It took us 6 hours to the point where some of us had a Jupyter Notebook running. Many people didn't make it though.
Unconditional support.
I am always (plesantly) suprised to see just how high the amount of renewables are. It really is quite contrary to the naratives - on both sides of the debate.

Huge progress has been made over not that long a timeline, if nothing more than diversifying the sources of power. More can be done but it is impressive all the same.
I'm not in ML, can the program not know where its suggestions are drawn from?
Why not move to a tech hub and start a challenging job? If you're technically good, I don't think your current lack of money would block you.

You sound like you'd have a lot of motivation if you got out of your current local minimum. Making a big life change tends to do that.
How was his microscope "secret"?
I like it, specially the contextual format popup, it is sort like emacs made visual (for text format).

Being a meta-shortcut I guess the more complex/options it gets, the worst.
I asked you to back up your claims with sources. That's pretty common here, and also in scientific circles. We aren't your research assistants so if you want your claims to be taken seriously and discussed in detail, expect to give your sources.

I didn't claim Facebook is dying in the West. That's you putting words in my mouth.
Mexican food! I've spent the past 3 years learning to recreate good tortillas. I live abroad in Amsterdam and miss it so much after living in California for decades. I even worked in the best Mexican restaurant in Amsterdam for a month just to learn some of the subtle techniques.

I'm finally at a place where I can make tacos much better than what I would get here and even back in California. I'm currently working on burritos as the next project.
Just saw that OPs linked website is the source for (some of) the data displayed there. Really cool.
Hi, maybe my tool "static feed reader" might be of interest: https://codeberg.org/bitkeks/static-feed-reader

It basically reads a list of feed URLs, with categories, loads and parses them and writes out a simple HTML page with the headlines. Saves me a lot of trouble - just run it on a web server and publish the created HTML files in a directory.
Love the Eastern blue-tongue!

You can't mention the beach shack and then not include pictures...

- West coast beach appreciator
All manner of tests are done in fluid-dynamical modelling. Test suites are developed along with models. Simulations are done with a range of alternative models, or individual models with different conditions are applied, and the differences between the simulations are studied in detail. Models must rely on a fairly large set of parameterizations of processes that cannot be resolved directly, and tests are done to see which parameterizations make the most sense.

Models stem from the academic environment, not the business environment. This means that the models are open-source, so everyone can see what everyone else is doing. And 'everyone' is a pretty large set.

Note that there is no commercial element to any of this, which means there is no incentive to hide problems. It's the reverse: reputation is earned by finding problems, not by hiding them.

A large part of the challenge of climate modelling is the leveraging of increasing computer power to resolve progressively smaller scales of motion, and this uncovers the need to understand those scales in isolation. Modelling is often used at this level also.

None of this is to say that climate models are perfect. They obviously are not. But the system of academic science is very good at improving models and, importantly, exposing their limits. An indication of the latter is the pairing of uncertainties with predictions: a hallmark of this scientific community.
Thanks for letting me know, just did a google search on this keyword.

when "wathcing-you" watching mouse, it really does look like `xeyes`.
Each stage your baby goes through goes by really quickly as they go from milestone to milestone. Take the time to experience it all, and enjoy the time they are very small, because it's just so special.
It's basically a janky blog+RSS. Architecturally, it's as if there were a simple/standard web/blogserver software that could be hosted freely. The key here is exploiting the standardization of Git and availability of free public Git hosting.

Done properly, one could create some packaged blog(+RSS reader) container, but the free hosting support isn't there. You could use GCP free instances, but setting up a domain name+TLS is a barrier, even for some technical folks.

The idea is neat, definitely a hack in the traditional sense.
> There is absolutely no medical reason to do this

Phimosis, Fournier's gangrene, and potentially permanent deformation of the glans.
Continuing..

For all the performance a modern CPU has, and all the visual magic it can do, for most of us our PC's are still just as fast as 20 years ago. That is something that needs mending first. 100x faster, yet where did all those cycles go? Seems pathological to me.

Tech has been operating like politics: ever more promises. The vector that realizes itself from those promises is an increase of dependency, an increase of control and surveillance, and an erosion of self-reliance. They become stronger, not us. The paradigm forces you to think that the heroes of the paradigm, like big tech, are the solution, while they equally increase the problem. When a "Jedi instruction set" comes it is likely OoO like a christmas child.
I love how people went for the literal fire pit and pipes and started complaining about licenses and unusual items.

I'll rephrase a bit and hope the parent here agrees with me. That's not the point. If a fire pit and pipes are not your thing or not allowed by police or space, just do a beer gathering at your roof. A tea gathering at your place. Have a few beers on the park and offer them to people. Whatever you're comfortable (or maybe slightly uncomfortable) with, with the goal of finding a small group of people that are local.

They don't need to be your best friends. But speaking from experience, knowing local people helps. Especially if you're not from that place.

Hopefully the point is the same and this makes it easier for others to not get defensive, but open-minded and willing to try.
I'm passionate about teaching programming to 17-19 year olds, how to improve and tools that can be used.

I try to stay up to date with best (or at least good) practices to pass on to my students. I'm currently teaching Python, JavaScript and C++, while learning Rust and Quarto (which I hope can replace C++ and LaTeX).

I've recently started reading "The Pragmatic Programmer" after the many recommendations here on HN. It's indeed a very good book.
Same here. It ain't easy. I became very dependent in lockdown.

The anxiety cycle led to some existential problems.

I'm trying to reconfigure my relationship with booze. If I can't, I'll drop it altogether.

Good luck to you.
Try to be a great partner to your girlfriend! It will be a challenging and demanding time for her, so any help you can give her will be greatly appreciated.

Good luck!
Lol, I had a similar boss.

I'd just leave. What can he do? He can't beat me up and force me to stay :D

He hated me very openly though, and refused to write a recommendation letter after the investors pulled out and closed his shitty startup.
> $6 will get you 4 cores, 8GB of RAM and 200GB of storage.

Pretty reasonable, from who though? Also do they support IaC so that you can tear down and rebuild automatically?
The Aeropress is a great device. I have a few brewing methods (V60, kalita wave, french press), but the aeropress is the most consistent, and as a bonus, is so easy to clean up too.

PS Good to hear about your project, sounds like a great aspiration and could help so many.
How are you finding RV life?

Wife and I finished a Nullarbor run to Perth recently from NSW and camped along the way, mulling over picking up a sprinter van in the near future and remote working around Australia as theres so much to see and do.
entsoe has an API but its horrible XML code. I tried to work with it but just gave up at some point, too painful. I would recommend entsoe_py if you are using python, its pandas-based and does not contain all entsoe functionality but much more pleasant to work with
I though its just me who find it overly complicated.

With people who use AWS SDK its all abstracted out. But there is time I just want to send a damn `curl` to download a S3 file and yes, doing the dance in bash isn't easy.

There is time I wrote a Lua plugin for openresty to fetch s3 and. I have to trial and error with lot of debugging. The ordering. the timestamp format...all of that...
I will look into this, thanks for letting me know
Version control can be a big help.

Look through closed tickets in the issue tracker, and try to find a change (bugfix or new feature) that must have, given its nature, touched the functionality you're looking for. Then try to find the changeset(s) where that ticket's change was implemented.

With some luck, the changeset will include a modification to the part of the codebase you've been looking for.
Awesome, I'll stalk your work through your profile, I'm addicted to good scifi.

I've mostly written poetry for the last 15 years, but I've been meaning to transition into long form writing. I'm wondering if you could share your process? Do you sketch out a plot then fill out the gaps? Are you creating situations then letting your characters grow the story organically? This is the bit I'm sort of stuck on, so hearing how other people approach the strategy of longform writing might hopefully jolt me into action.
There's an interesting explanation regarding why this style of work still persists:

https://youtu.be/JQNyzbMTEQY

Apparently overtime is... included in advance taking the average for the company, so people feel obliged to do it since technically they already got paid.

It's basically like that team-building exercise with a dozen people trying to move a broomstick down when each person is holding it with one finger. The default reaction is to send it flying.

In any case 40% of Japanese workers are part-time - I've met one - she lived in Italy and her line of work was writing articles about life there and she couldn't pick up more hours even if she wanted to. She said it was increasingly common for people to be employed like that.
“Asterank is a scientific and economic database of over 600,000 asteroids.

We've collected, computed, or inferred important data such as asteroid mass and composition from multiple scientific sources. With this information, we estimate the costs and rewards of mining asteroids.”

I first heard of Asterank on HNews several years ago, I believe it was acquired later on. Highpoint of HNews for me. I love the idea.

Although at a talk at the Royal Astronomical Society about Space Resource Use someone did encourage a more thoughtful use of asteroid resources, although many once they’ve gone they’ve gone.

They’d be valuable to investigate and understand their creation/genesis/evolution (surely there’s a better word).

Flip side should mining become viable dumping huge quantities on Earth could wreck the markets. Although one smart fellow (I forget who) pointed out the Nickel market would be big enough to take it.
Ah that's nothing. Simple problem from a high level: static web site on apex domain.

What you should be able to do:

Click click done. Upload files to S3. Point CNAME at AWS.

What you have to do:

Create an S3 bucket and stick the files in it. Create a zone in Route 53 and import your old zone file. Change your nameservers at the registrar. Wait a bit. Go to ACM in the correct region and create a cert. Tell it to add the DNS entries to R53. Wait a bit. Create a CloudFront distribution making sure that you get all the options right which is quite difficult. While that's deploying, copy the IAM policy it generates back to the S3 bucket. Jump back to R53 and add a new A record pointing at the cloudfront distribution alias. Cross fingers and start praying that the whole stack works. If it doesn't spend several hours working out which thing you forgot to click.

What devops culture would have you do:

Play with CloudFormation for 2 days writing oodles of mind numbing YAML and realise that you have to create the ACM cert and CF distribution in a different region to your bucket but that's impossible. Try and work around this with recommended StackSets but realise they are so horrible that they are unusable. Spend an hour googling. Download terraform because everyone is gushing over it. Spend several hours learning the above and writing it in HCL constantly tearing down and creating resources until the whole thing limps along. Eventually realise you need to share this is someone and the thing is stateful so pay Hashicorp for TF Cloud. After the PO is approved with takes 2 weeks, check it in to git, cheer loudly, hand it over to a colleague who has a different version of terraform and then discover about tfenv and terraform upgrades.

I only do this because I'm paid by the hour. I'm not even a cloud or ops guy. I'm an electronics engineer who needs to eat. I eat well due to this mess but I know it's all so so so wrong.
Feed your baby on a schedule so you can get free time in predictable intervals.
It's less not accepting and more not being able to opt into it. The gap in income, job security and status between permanent hires (salarymen) and temporary roles (haken, freeter, etc) is massive and getting worse every day.
Thank you, that was deeply enlightening.
The post I was responding to is talking about "people employed as content moderators." when the author wrote "Moderators, accessibility teams, etc - we consider them important enough that we leave when they go, and go to mastadon? Which has how many content moderators?". Mastondon has moderators, but not really in the same sense, because it doesn't need them. The people running instances do the job voluntarily, applying much simpler rules.
Make another one rather quickly. Two kids that grow together around the same age are less than double the work (feels like 20% more) but them being good friends is priceless. Furthermore you can easily find activities and plan trips for two kids around the same age but it’s quite difficult for two kids at a different age.
Coffee doesn't destroy your muscles or increase estrogen levels
Take lots of photos, every moment is precious. Even a few years after the photo is taken, the simplest and most innocuous photo will bring a big smile, or tear, to your face.
I changed to cataclysm, but maybe i should give df another try.

https://cataclysmdda.org/
Poor comparison. Developers are convinced every single person has 30GB of RAM and 15 CPU cores.
I'm hoping these modern editors you refer to at least replace those <span...> atrocities with the correct elements on save.
When you get older you will realize that praise means absolutely nothing. All it did was make Elon and the stake holders richer while you skipped on family, fun, time off.
Unfortunately the EdF revised their production targets down again, so we are a long way off.

https://www.spglobal.com/commodityinsights/en/market-insight...
Solid advice here!
I am similarly annoyed by Bank of America. They allow you to enroll a Yubikey for login, making it seem like they have a high level of security.

But then on the login screen they moronically offer a one click bypass of it, asking if you want to login by SMS instead. What's the fucking point of a Yubikey then!?
It's probably either trimming the string, or the dom is collapsing the spaces to a single space (as is standard).

It's possible to fetch the cursor position in the input.
Do they have a way to select map colors? I'd like to see one where the color/legend refers to electricity prices, not CO2 intensity