skysight-inc/HackerNews huggingface dataset:
Dart didn't have sound static type system when Flutter was created.
That seems unlikely as there's plenty of competition amongst bike manufacturers, so deliberately weakening a cheaper model would just lead to a drop in reputation. There's a reason that carbon frames are popular - it can be made extremely strong and still be light.
Here is a more relative one: https://web.archive.org/web/20000307060602/http://geocities....

Once, I collected some ascii art and made a online gallery (https://ascii-art.pywebio.online/#0_joan_stark.cat_love), "cats on a fence " is one of them
Perhaps that isn't the case for apple now. How about in the next few years?
We live in a hall of tech-demo mirrors that is sometimes mistaken for reality. After debating people claiming cash was a "tiny fringe", it turns out the Federal Reserve data reports that cash is growing faster than the economy, https://news.ycombinator.com/item?id=30439095
Well, I say "black magic" because at least to me it's a quite mysterious creation. But I'm no audio engineer.

It's a lossy codec that's for some reason fixed rate, and shrinks audio by exactly 1/4th. The resulting quality is very good (works perfectly fine for music), and it's much faster than Opus. It retains stereo and high frequencies and sounds just fine. I'm sure there's a tradeoff somewhere, but it's certainly good enough to hold music events without people complaining.

I think it might be possibly related to codecs like AptX.

So far I've not found anything competitive that we could use -- stuff is either closed, or far more CPU intensive.
Yeah. Now in my older days I really appreciate the "Steam play" proton layer.

It just sets up everything for me so I don't have to mess with lutris, various wine versions and whatnot.

I've found that using the libraries included in steam also removed all manual "fiddling" compared to running it with native arch linux libraries.
Isn't it ionic... Don't you think?
I live in Canada, cook a lot, and didn’t know that till today.
Apple Stores Drop Mask Mandates, Plan Return of In-Store Classes
That's a good way of knowing if the shell is running
Too bad it was removed
1.5 tons in 6 months.

this period is important. otherwise number doesn't mean much to me.
It's also interesting in how modest and personal it is. There are no global scoreboards, so there's no "anonymous competitiveness." Nobody cares about your scores except your personal relationships, which allows it to not care about exploits.
The book of proverbs is worth a read if you're interested in this type of father to son wisdom.
I'm curious about that as well. Maybe it'd be possible to start a repo with a single empty commit, rebase everything on that in a separate branche for each of the git repos and then merge them all into the master branche? Although some file renaming may be in order, otherwise everything ends up in the same folder.
>Intrusive, maybe, but a dark pattern is 'deceit by design' whereas what you're describing seems to me 'being slightly annoying by design', which is a totally different thing.

We'll call it shitty pattern if you dislike dark pattern.
> As a society we need to start treating computational resources as finite and precious, to be utilised only when necessary, and as effectively as possible.

Considering that on AWS potentially every millisecond of compute time and every database write is billed separately, I think the financial incentives are already there to consider computational resources precious.

> Extending the life time is also the key action for datacentres

Currently e.g. AWS still is actively selling m4 type ec2 instances, which were introduced in 2015 and use Haswell generation CPUs from 2013. Heck, they seem to be even selling the ancient m1 type instances through their "previous generation instance" program[1].

I think it is safe to assume that hyperscalers are squeezing every bit of use they can from old hardware. Afaik their main motivation for new hardware is to optimize energy efficiency, so that sounds exactly what the article wants.

https://aws.amazon.com/ec2/previous-generation/
They may be saving energy, but 17.2°C average temperature indoors is freezing.
Funny how a 200€ Xiaomi phone has 256 GB of storage these days. No idea though if that is fake HDD somehow.
This makes me sad, you are so confident that a government can never do the right thing, that the only solution you see is to prevent any progress, and anchor yourself to a local minima from the past.

Society needs it’s members to believe that they can improve it, that they are represented by a government, and that they can influence it’s path. Anything less is an authoritarian regime. Such deep seated cynicism shows that we are far down a bad path.

If you don’t believe that the government will accept regulations that protect its citizens, at the expense of losing surveillance, then the primary goal is to replace that government, not to fight a losing battle for the sunlit uplands of a disappeared past.
If you're concerned about bitrot (and I feel everyone should be), you're going to checksum at the filesystem level, so it doesn't make a difference
The fun is somewhere within you. Search and you will find.
Multiple OSINT accounts locked received the notification from Twitter at once
You are assuming a stick of butter doesn't have a standard amount, which simply isn't true. Each stick is a half of a cup and is a quarter of a pound even if the dimensions of the stick are different. If you need less, there are marking to cut it, much like the markings for grams on the butter in Norway.

If I'm converting from sticks to grams, I use the above information as a guide or simply weigh it. The information to covert it is easily found online, I've done it many times - mostly, I've not lived in the US for many years yet I still want to make familiar foods.
What's so fucking annoying is that while experts agree that flashing lights decrease visibility and safety, all separate battery operated lights sold have this dumb setting. Lots of people buying them instinctively feel that the strobe setting must make them easier to spot and just use that.

Some Chinese manufacturer once set the standard, and now all these lights have a single button that switches between off, half-brightness, full-brightness, and this much-maligned strobe.
The name got me thinking...what would we call the language used to program a Jacquard Loom?
Reminds me of https://pngquant.org/

Same concept just for making images more efficient for PNG
Taiwan’s Gogoro manufactures its 1Mth battery
I'm building a pretty big service that has four user-facing websites and even more backends (HTTP servers, highly bespoke job queues to run ML workloads, etc.)

This was an absolute nightmare to try managing in separate repos. I've finally settled on two monorepos: a Yarn/TypeScript/React frontend monorepo, and a Rust/Docker backend monorepo.

Does anyone have any advice on these? I sort of stumbled into this pattern on my own and haven't optimized any of it yet.

For Rust, I'm curious if folks have used Bazel for true monorepo build optimization. I don't want to rebuild the world on every push to master.

Likewise for the frontend, is there any way to not trigger Netlify builds for all projects if only one project (or its dependencies) change?

Would super appreciate any advice.
I don't think this is the best way to understand this. C has been around for 50 years at this point, and there has been an enormous amount of investment and advancement in the realm of C compilers in that time, which has naturally resulted in complexity and esotericism in terms of how actual mainstream C compilers work. But that's not a metric of language complexity, it's an artifact of a half century of work on the topic.

I think a better metric is: an average CS grad with a little bit of background in compilers and assembly could reasonably be expected to be able to write a naive C compiler which covers say 80% of the footprint of the core language on their own in a matter of weeks.

What do you think is the size of the cohort of people who could write a naive Rust compiler, with borrow checking, ADT's, traits and non-lexical lifetimes? Even without some of the fancy bits like async you're already talking about grad level CS topics at the very least.
I can't imagine error-checking if's being a source of slowness. How are exceptions generated in the first place? Using if's. And anyway, even well structured code is full of if's (e.g. array iteration), and it's not a problem. Especially for error-checking, when the error case is rare, the CPU will correctly predict the branch to take most of the time, so the cost of the if is negligible.

The only call where if's should probably be minimized is on hot paths, where there shouldn't be any I/O or other exception code anyway.

I would agree that manual stack unwinding (many stack frames deep) by propating error values up the call chain is bad. The problem here is not the if's, but that the program structure is unnecessarily convoluted. This can happen when specific code is calling generic code a lot (which can be avoided by having the generic code call the specific code instead).

> You are writing bad code, and should be ashamed.

Woah, calm your horses!
> the fallacy of thinking that because HN cares, the general public will inconvenience themselves.

According to the U.S. Federal Reserve, the general public is using more cash, not cashless.

Are cashless advocates in an HN bubble?

https://news.ycombinator.com/item?id=30439095
> Why Dubai is a booming hotspot for fintech startups

Because not taxes
Python SQLAlchemy Admin for FastAPI/Starlette
I've been working on an Admin interface for SQLAlchemy which can be integrated into FastAPI and Starlette supporting both sync and async database engines and a modern UI using Tabler.

It's highly inspired by the Flask-Admin project and the API and configurations look similar.

Any feedback would be appreciated.
>I fully agree with you here and if i could leave every site that did this I would be happier, but there are a couple that do this that I have little choice but to interact with:

You can use ublock origin to block the modals / pop-ups. I did it for a lot of websites.
Sounds like we need WAAS
My pet project may be interesting to you: https://www.slowernews.com

It tries to filter the 99,9% and keep the 0,01% that we all fear missing out. Making sense of chaos is a sisyphean task but I see it as a way of using my procrastination positively.
In my opinion, it is pretty easy to hire if you pay fairly and treat people with respect.

But I do get a lot of job offer emails that go straight to Trash:

- recruiters with an exciting opportunity but they don't mention the technologies or the compensation

- companies that want 10+ years of experience at $36k annually

- job board spam that just wants me to create an account inside their system

- mandatory "play coding game XY" to apply

Every company who makes one of those mistakes will feel like hiring is difficult, but it's mainly because they are doing it wrongly. When it's about firing employees, everyone is happy to use the free market as an excuse. But when it's about hiring employees, nobody seems to get the hint that the free market is telling them to stop being cheapskates ^_^
Okay, but in comparison whats easier, spend 3-5 hours to set up a crypto wallet or few weeks investigating e-residency, applying for it, then opening bank account.

People think that e-residency is just a breeze to do, but people who try, discover that its much harder than thought. Still easier than normal residency, thats true.
Nothing about downloading an MP3 that says they can't put a targeted ad in it; there's podcasts that do that based on your IP. I assume the reason most don't is just how much more trustworthy it sounds when the host reads an ad script live in the episode.

(I swear there was an episode of The Weeds where they read an ad for a therapy service for dogs.)
Yes, but not as safe as when you use 2FA.
>> and of women upon whom you've brought public disgrace for 'wanton behavior'

> Don't slut shame?

That is definitely not the message. The woman you slept with is ruined forever, and nobody is going to question that.

But because you were responsible for ruining her, you should support her.
I am similar but it took decades to get there.
No it’s not. That’s a very normal temperature for our bedroom in the winter time. It probably depends where you’re from, in colder climates people are used to it.
Medium and Wordpress.com are silos you should try avoiding
> 1 and 2. there are tires which are less likely to flat, e.g. the Schwalbe Marathon Plus.

I can't even remember my last flat since I've stopped being a student on a budget, got a job and bought a more upscale bicycle with those tyres. That's over ten years ago with a single daily use bicycle. I've changed them once I think; just due to the thread wearing down. They really do work at preventing punctures.

> 6. very much depends on the place, in my town I'm as fast as a car on many daily routes, simply because I can use more direct routes.

And parking is rarely a problem too.
It’s always worth learning NGINX, as it is a truly powerful tools, but it’s often PITA to configure, and there are a lot of pitfalls if you use virtualhosts.
In Praise of Writing (2021)
You probably open it pretty infrequently (or you're on the beta branch), because I open it daily and updates happen once a month if ever.

It'd be the same if you were to open Chrome once a month and it wasn't autoupdating itself in the background. Steam doesn't have an autoupdate background process like Chrome does.
Checksumming isn't enough to make something a good archival format. You need to go beyond being able to detect data corruption to being able to correct or cope with data corruption. For a FLAC file, if you flip a bit in the file, then the checksum will detect that the file has been corrupted, but that chunk of the file will be unrecoverable. If you flip a bit in PCM data, likely you won't even hear the difference. If you want to know whether corruption has occurred, you can always run md5sum on it. For FLAC, if you want to be able to cope with data corruption, you'll need to create something like par2 recovery data.
> To address these challenges, action is needed on many fronts. What will you do to make frugal computing a reality?

Frustrating that the authors ends with such an "open note", without any practical "first steps". (This [1] at least _tries_ to give some options, as arguable as they are.)

There are obvious contenders:

* keep your phone longer. Brag about it. Find a persuasive way to _demand_ that apps, updates, etc... keep working. I don't know what difference 5 years vs 3 years do, though.

* make fun of people who change their phone all the time. (Or for that matter, make fun of consumerism _in general_.) Assuming peer pressure stands a chance against advertising industry.

* write efficient software ? (The joke is that anything that can be rewritten in Rust will be rewritten in Rust; but the jury is still out on whether the energy saved _running_ Rust code will offset the energy consumed _compiling_ it.)

* write no software ? (especially if you're in the cat picture and fake news sharing business ?)

[1] http://worrydream.com/ClimateChange/
I'm not seeing your email, but I'd love to get the info! My email is in my profile ;-)
I'm guessing `insolation` turns you into a clean energy source. Can't imagine it's good for the immediate surroundings though.
Does anyone actually care about the header levels (h1, h2, h3 ..) when writing text?

As far as I can tell, what you actually want is to denote a section and give it a header, and within the section you may want to denote sub sections.

Something like this:

@section {

@title: This is my section title

Text, paragraph, etc.

@section {

@title: Subsection Title

Text, text, text.

}

}

But I'm not aware of any markup language that lets you do this.
Nice writeup. I would like to add that coaster brakes are my favorite. The whole flow of cycling becomes so much more smooth. Braking by hand (on a lever) is shocky, always last-minute, more like stop-go-stop-go. Very tiresome, not only for the hands but for my whole body. I notice that I pay more attention to the road and traffic, look more forward and cycle more defensive with coaster brakes.

Some disadvantages: if my chain breaks, I have a problem. Although I must add I live in pretty flat Netherlands. But there are some steap long hills here that I like to ride once in a while, which give me another problem. I noticed my braking power reduced significantly when I kept braking for one or two minutes. Which is not strange, since the braking happens around the hub, so all the force concentrates there. This could be the specific brakes that were on my bike back then, but it scared me nonetheless.
This is clearly an opinion piece of someone with some, but not too much self-taught knowledge about bicycles. It should be taken as such - it's quite opinionated, not always correct, and certainly doesn't contain great wisdom. Most of it is at least not plain wrong, and generally adhering to the advice given won't cause harm.
I think postgreSQL's 'citext' datatype gets around this:

> The citext data type allows you to eliminate calls to lower in SQL queries, and allows a primary key to be case-insensitive.

https://www.postgresql.org/docs/9.0/citext.html

TL;DR If users choose their usernames, and 'MyUserName' was registered and someone tried to register 'myusername', it would detect a collision and error, thus not causing any problems (the second user would simply have to choose another username).
You blamed it on the progressive wing of the democrats. It was the state of Texas that appealed to the Supreme Court. Not sure who you think the “progressive wing of the democrats” exactly were.
It is possible and I did it.

In target repo you create a folder and in that folder you rebase your dependency repository.

Maybe I can find better documentation that I remember writing it down somewhere.
https://en.m.wikipedia.org/wiki/BonziBuddy
It appears to have been bowdlerized in the text available on Project Gutenberg (which the article author probably didn't bother to look beyond).

Elsewhere in the thread someone has linked a UCL "digital egypt" effort that makes the text available in the original and a translation:

Do not have sex with a child woman
when you knew the approach to the water of its chest.
There is no cooling what is in his body.
Do not go mad on making the approach.
He is cool after damaging his heart.

This is what the Gutenberg text renders as "[concerning continence]". The first line seems fairly clear, but I don't really understand what the next four lines are saying.

There is a serious disagreement between the two translations as to #37, where the Gutenberg translation has this:

If thou make a woman to be ashamed,
wanton of heart,
one known by her townsfolk to be falsely placed,
be kind unto her for a space, send her not away,
give her to eat.
The wantonness of her heart shall esteem thy guidance.

and the UCL translation has this:

If you marry a good-time girl
A joyful woman known to her town,
If she is wayward,
and revels in the moment,
do not reject her, but instead let her enjoy;
joyfulness is what marks calm water.

Something has gone badly wrong here, and clearly euphemisms are involved somewhere, but without the ability to read the Egyptian there's no way to know what the text actually said.
Yeah but this was the entire flat, right? A cold bedroom is nice, but not trying to type on a keyboard in 17C.
Which is why they are depressed. They choose (over and over and over again, many times in each hour they make this CONSCIOUS CHOICE) to find this insulting, instead of empowering.

I am leaving out no-one. Joy is absolutely accessible to every living being, at all times, under all conditions.
> if I claim that they can’t use physical force because they (the government) didn’t have the popular support and risk facing overwhelming violence escalation, what is your response to that?

I'm not sure I'm following 100% your question, but I think you mean what if the government is so unpopular that the country is close to a revolution from its citizens?

This doesn't really makes sense to me in a liberal democracy like Canada. Every few years, the citizen get to replace the government with another if they're unhappy with the current one. The opposition are able to have a vote to cast out the current prime minister if they want. The governor general, at any point, if it senses the people are no longer favorable to the government can kick off a new election as well. On top of that, the government is using force within the established limits of the laws and Charter of Rights of the country that are already pre-agreed upon, and the force it is using is itself in order to enforce the laws of the country from being broken, which is kind of its job as a government.

> More to the point, the government are free to follow up the threat in a court case in front of a judge, and the fact that they didn’t is the problem

I'm not really following your point? The government is also allowed to enforce laws, and they can later be trialed. Police does this all the time, they will intervene and perform an arrest, and the trial in front of the court happens after. They are also free to enact the Emergency Act in the case of an Emergency as they did.

The funds from bank accounts are frozen, not taken. What will happen next is they will either be released, or a court case can start and decide what to do with the funds.
You can’t bind nginx to a specific network interface.

You can bind it to a specific IP address though (and then, by extension, also to an interface, but you need to know the IP).
From what I recall, part of it is yea. You'd probably know a bit more if you look at all the research. I wonder though if it has been researched fully so that questions like these have a solid answer.

Unfortunately, I'm not a doctor, all I know is a bit of neuropsychology from my undergrad.
They aren't really the same type of product. Envoy is mostly an alternative to something like HAProxy, or Træfik. You wouldn't pick Envoy over Nginx (or Apache) if you need a webserver, than wouldn't make sense. Envoy solves a very specific problem, Nginx solves a bunch of problems.

Also if you're using Nginx everywhere else already, you might want to use a product you're comfortable with, even in the cases where Envoy could work for you. E.g. we use Apache almost everywhere, because performance is "good enough", and it allows us to use the same product for a lot of different client, due to the large feature set.
Ask HN: Where to go to learn about decison making
>This is how you lose a senate and gain a Caesar, and look what happen to Rome eventually…

Canada will become the largest, longest lived empire of all time, spanning the entire Mediterranean world? That does sound like a dystopia.
Actually my experience is the opposite.
In colder climates such as Russia, Finland I have seen room temperatures to be quite mild, above 20C for sure.
However, in Italy in winter it is quite cold inside.

Needless to say that thermal insulation is awful in IT.
Can anyone please explain to me why is this being flagged? I'm honestly not sure I follow. I get that people disagree, but is this the sole reason?
>Crimea all over again

This is not really Crimea, it's just Kosovo but this time someone else is acting as the hypocrite.
My fear is.. I'm one of the "isn't often" exceptions. I don't use an electric skateboard, or j-walk. I've been fined for both. If there is an edge case for a fine, they will fine me.
Absolutely agree, the major challenge has been to explain to software engineers that the pick up an algo from github, monkey see monkey do a tutorial followed by automl or grid search is pretty irrelevant nowadays.

If you can’t implement any existing algorithm from a scientific paper it is pretty hard to understand the flexibility that is required designing a training pipeline.

In terms of tech stacks, cloud providers’ sample architectures and code samples are a base for cloud components and API understanding and not actual implementations.