skysight-inc/HackerNews huggingface dataset:
By that definition 24-bit image is "lossy" to 32-bit images, and 32-bit images lossy to 64-bit images ad infinitum and lossless formats don't exist.

A gif is lossless in that it does not lose data. When you define a frame within the formats limitations, you will always receive that exact frame in return.

The conversion might have lost data but that's not the gif losing it. That's just what happens trying to fit a larger domain in a smaller domain.

The individual frames within a gif are bitmaps that do not lose detail across saves, extractions, rotations, etc. Each individual pixel is displayed exactly as originally defined.

Compare this to JPEG or MP4 where your individual pixel becomes part of a larger cosine field. There is no guarantee this pixel will exist and even if it does, its exact value is almost certainly changed. This is what "lossy" is.
You should actually read Garrett Hardin's influential essay you are referencing before referencing it again. It's freely available from his estate at https://www.garretthardinsociety.org/articles/art_tragedy_of...

Because it doesn't say what you seem to think it does.
> Can you tell how many extra memory allocations we are making to solve this problem?

What suggests that the "best practice" is sliced down the efficiency lane? The intent could be to "best" demonstrate how to structure a collection of algorithms and data structures into packages, for example.
In every race the reaction time is a key factor. Don't see how you could exclude that factor from a race.
No, I think it's Kylo Ren who seems to have come out of Doctor Who but I guess Snokes might come from there too.
I was under the impression that multiple separate models were in use. I assumed it was something like whisper that converted the user’s input to text then an LLM then text to speech.

I hadn’t realized this was all in one model. Wild stuff.
The idea that Safari is lagging behind is nonsense too. People live in their own fantasies. Press someone to explain what bugs or missing features they're specifically saying are holding the web back and you will probably get a very short list of nonstandard or experimental APIs like WebUSB.
Then the cops will take some of your stuff, too
Yes. But the first is a trillion dollar gorilla.

And lot of people still use AWS code whatever.

There's probably not much money in just hosting code (especially considering that the market has been "commoditized to death" by ... GitLab itself, among others).
There was a command line tool available where you could enter a few attributes (such as a username) and the tool would plow through just about every online service to find and report data. Anyone remember what it was?
I think payment collection needs to be. Any sufficiently large payment infra becomes a vehicle for religious evangelism, and at that point it needs to be removed from private hands.
> but historically that's not the ones emerging on top.

the only one that has so far been "good" has been the singaporean authoritarian regime (yes, they are "authoritarean").

But even if they're good and benevolent so far, there's zero guarantee that the next leader, or the next generation of them, will remain true.

That's why even though majoritarian gov't are bad, they're the least worst. Not to mention that if the elected gov't is bad, it's becaue the people doing the electing didn't put in enough civic responsibility as a collective.
The Cure for Hiccups Exists
Depends how you define "a lot" - rural areas make up 20% of the population of the US, so you might need some rural voters but not necessarily a lot (percentage of actual voters may vary, but I don't have those numbers handy).

I'm not totally sure that your numbers are correct, at least for presidential elections. Philadelphia's split in 2020 was 81% for Biden and 18% for Trump.
"If a customer ever feels the need to hit that button, then the people who have built and sold the robot have failed."

I understand the point, but there are already many electronic devices (robots?) ostensibly made to help me including my vehicle that sometimes need to be "strangled to death" in order to reboot and fix whatever issue was plaguing it. I say strangled to death because typically power buttons are software controlled and don't respond to just a quick press. My response? A shrug because it's very common. Why would people respond to a failing "robot" in another way? I get if it's caring for your grandmother but vacuuming your carpet?

I've had to hit the "kill switch" on my:

TV/iPad/iPhone/PC, ancient clothes washing machine, modern dishwasher, router/modem, TV etc.
This is very cool, but would greatly benefit from a perceptually linear color space. I think the author is using HSL -- HCL would be a better choice.
The Numbers Behind Uber's Data Infrastructure
the aientist.com ;)
Absolutely, we are. The greeks recognize the phenomenon early through their concept of logos, and how it comes about is teche fromw here we get the word "technology".

Currently, we have built our systems so strongly that we practically develop technologically deterministically. Can we help but develop new computer security technology? No. Can we decide NOT to make computers faster, even if making new technology constantly requires the unsustainable extraction of raw materials and is polluting the entire planet? No, because SOMEONE will make their computer faster, so we call have to do so to keep up.

Our modern society is so intertwined, that we cannot make decisions at ALL on which technologies to develop and which technologies not too. The Amish do it, because they have some foresight into it social impact, and because they've structured their society to place their way of life ABOVE that of technology. But the outside world IS technology now, and we are but cells in the new amalgamation of humanity and machine and we can no longer do anything about it...

...that is, until someone starts a revolution and destroys it.
Missed a couple crucial details

>I show up anyways since it was promised.

-you get asked to leave the stage

-you refused to leave the stage

-you told them they'd have to drag you off stage to get you to leave

>I get dragged off stage.
My take away is that being rich is really good for you health, enough to offset any negative effects alcohol might have.
DoorDash to offer Max streaming to members in the US as competition intensifies
I think this is the next natural evolution - bring in usage information directly from the cloud accounts then offer right-sizing suggestions and, like you say, reclaim garbage on demand.

Definitely one for the road map!
At Supabase we also recently switched to Nix for packaging our Postgres+extensions bundle

https://github.com/supabase/postgres/blob/develop/flake.nix
I understood they just need to be recent enough.
> In a team, the time spent on “rabbit holes” adds up, increasing the risk of bugs.

It adds up with the number of people on the team? Or the number of people on the team squared? Cubed? nlogn? Because a lot of those options would still favor the former language.

And if it's happening particularly often, that means the rate will fall off drastically as mastery is achieved.

I see a risk when code does something different from expectations. I don't see any risk when code has some kind of novel syntax that requires looking it up. Or when you learn about a feature from the documentation or a blog post.

Being predictable is quite valuable, but predictability is different from memorizing every feature.
Show HN: I made a nice QR code generator
I spent some time to make sure the button animations where smooth
Just as some constructive dissent:

I think it's a waste of time unless you're doing it out of curiosity or if it's directly related to your job.

I say this because I was once a new developer who felt inadequate not being able to understand the "lower level" details of our field (from my relative perspective of a web developer or product developer). Especially posts about compilers, OS or cryptography.

I spent the hours and I read the books and I built the toys. I found some joy in it at the time but otherwise I don't remember or use most of what I learned. Its lasting effects on my value as a developer or individual has been minimal.

This is not to say you shouldn't spend time learning things like this. I'm just saying I don't think you should make a programming language because posts on HN say so.
I'm suggesting you present yourself in terms of business value rather than technical jargon. For example:

Skilled at collecting, analyzing, and monitoring website traffic using structured and unstructured logs. I have put together several dashboards to show activity at a glance, giving actionable insights that improve lead collection and customer retention, Extensive experience developing tools with Python and SQL.

Full-time, part-time, contracting... those are details you work out once you get a prospective employer to talk to you at all. Every f/t job can be part-time, every f/t job is also a freelance opportunity. You start with identifying companies that might want your skills, you sell them on your value-add, then you work out the arrangement. You don't want to limit your search or set up roadblocks before you persuade them they can use you.

Right now the problem isn't so much the crappy job market (though that's a problem), it's that with so many people laid off and coming out of school looking for jobs the competition has become fierce, and employers are drowning in applicants. If you can bypass that you save them time and effort.

As a freelancer I try to focus on business needs, ask the potential customer to list their top needs and pain points, offer to fix one of the top issues, and I don't charge if I can't deliver value. You have to carefully listen to the customer and understand the problem and potential solutions to make that work. Every business has problems and unfulfilled needs, and a job for the person who can solve those problems. Freelancing is a good way to get in the door if you want to move into a part-time or full-time role.

I don't have specific advice for the skills and interests you listed, but I think the general approach to finding work applies regardless of what you specialize in.
Reliance, Disney offer concessions to win antitrust nod for India media merger
> that would benefit everyone.

no, it would benefit the shareholders. The regulations imposed by the gov't (which is meant to be representitive) would reign in the excess externalization. Everyone would benefit from competition, when it does happen.
Show HN: Reddit Scheduled Submit
Adding more cores doesn't change the time per operation. Your graphs are grossly wrong. What you should have done is drop the nanoseconds and just take the total execution time. Whenever you're writing 1.64ns, you should have written 164ms.

The overhead should be measured as a percentage versus a theoretical base line such as perfect linear speedup. You haven't shown the ideal scenario for each core count, so how are we supposed to know how much overhead there really is?

The single core scenario is 363ms and linear speedup for 32 cores gives us 11.3ms. Your benchmark says you needed 38ms. This means you achieved 31% of the theoretical performance of the CPU, which mind you is pretty good, especially since nobody has benchmarked what is actually possible while loading all cores by running 32 single threaded copies of the original program, but you're advertising a meaningless "sub nanosecond" measure here.
California PD Rolls Out Nation's First All-Electric Police Fleet
Can be, but aren't.

Are you pinning your base image? Where did that come from? Are you pinning your packages? What about their dependencies? Are you locking down the hashes or just hoping that your distro won't replace a package in-place?

And that's before you get into crap like OpenShift certification that blanket requires a `dnf update` statement.
Gzip just isn't specified well enough to be fully reproduceable.
Gzip is technically only a file format specification, with multiple compression algorithms allowed.

Also Gzip includes metadata about the compression like a timestamp for when the file was compressed, and bits for which OS was in use when the file was compressed, etc. so the out put is never 100% the same, though it ought to be easy to work around that part.
GMOs and biotechnology more broadly are simply tools, neither good or bad. Genetic modifications happens naturally in organisms, for repair or simply exchange of material. Biotechnology takes advantage of that. In the right hands and with the right intentions they are and could continue to be a very useful tool in our fight against climate change. Kurzgesagt is such a great channel, I highly recommend.
What toxins? What do you mean by "dumping"?

It is tap water.
> The AI Scientist is designed to be compute efficient. Each idea is implemented and developed into a full paper at a cost of approximately $15 per paper. While there are still occasional flaws in the papers produced by this first version (discussed below and in the report), this cost and the promise the system shows so far illustrate the potential of The AI Scientist to democratize research and significantly accelerate scientific progress.

This is a particularly confusing argument in my opinion. Is the underlying assumption that everyone wants, or even needs, white papers that they can claim they created?

Let's just assume this system actually works and produces high quality, rigorous research findings. Reducing that process down to a dollar amount and driving that cost to near zero doesn't democratize anything, it cheapens it to the point of being worthless.

This honestly reads more as a joke article trolling today's academic process and the whole publish or perish mentality. From that angle, the article is a success in my book. As an announcement for a new ML tool though, I just don't get it.
Donald Trump and Elon Musk Twitter Space (Full Transcript)
My experience is that generally Clickhouse beats out any of the targeted time series databases on speed, while also having the advantage of supporting full traditional SQL. I think the market just hasn't realized yet because it's still relatively new.
perhaps 'sherlock'?

https://github.com/sherlock-project/sherlock
I tried both, and I'm currently focused on self-hosting.

Selling a hosted version has usually less friction (customer has less to do), but it also requires a lot more resources from your side (both time-wise to run/maintain the service, but it also costs you money to run it).

With my self-hosted analytics platform I decided to go self-hosted only, so the main focus now is making the installation and distribution as easy as possible. One way to do it, is to provide images to hosting providers and their marketplace, for example what I did with my DigitalOcean app: https://marketplace.digitalocean.com/apps/uxwizz

In this way, the customers can easily try the app, and install it.

The main drawback of self-hosting, currently, is that there are A LOT fewer people in your target audience. I think this will grow in the future, but at the moment, hosted services are still the easier sell.
They are measuring the human, and all aspects of the human.

If a faster auditory reaction is intrinsic to the abilities of the runner, then that's an advantage they can exploit.
I disagree quite strongly with this. How can you be there more for them by not seeing them most of the day? I have sent the kids to school and home educated, and the latter is definitely better from this point of view.

HE does not mean pushing. It means going at the right pace for the child, and having the time to follow interests. It frees a child from wasting time being bored in easy classes, or falling behind and failing to understand in one that is too difficult.

You seem to share the common misconception the home educated kids stay at home all the time. They do not. Home education is better for being a part of society (and learning social skills). Instead of spending most of your time in one place, with the same group of people, most of them the same age, every day, kids can meet lots of different people in different places doing different things. The kids my daughter met at Sea Cadets, were different from the ones at dance classes, were different from the ones at stage fighting classes, were different from the ones she met playing D & D....

It also develops independence. My daughter started travelling to a different town by herself regularly to meet her D & D friends.

She has had the time to visit friends in different counties (in the UK), and she has travelled around the UK and abroad with her older sister and with family friends. All that would have happened a lot less, if at all, with the restrictions of a school timetable.
Rejection of beliefs not knowledge. There is a significant difference between the two.
With shared software, landlords are teaming up to raise rents
We already substitute "good authority" (be it consensus or a talking head) for "empirical grounding" all the time. Faith in AI scientific overlords seems a trivial step from there.
Unlike other methods of automation, AI is replacing human beings too fast. And before you say, "new jobs will be created" -- look at history. After the computer, new jobs have been created, but what kind of jobs? Every year, we are becoming more entwined in wage slavery as the wealth accumulates at the top and jobs become more meaningless.

So, no, new jobs will not be created, except the kind of jobs that crush the human spirit into oblivion so that the rich tech oligarchs can play God.
I thought this would be interesting to the audience here.

Uber is well known for its scale in the industry.

Here are the latest numbers I compiled from a plethora of official sources:

- Apache Kafka:

- 138 million messages a second
- 89GB/s (7.7 Petabytes a day)
- 38 clusters

- Apache Pinot:

- 170k+ peak queries per second
- 1m+ events a second
- 800+ nodes

- Apache Flink:

- 4000 jobs
- processing 75 GB/s

- Presto:

- 500k+ queries a day
- reading 90PB a day
- 12k nodes over 20 clusters

- Apache Spark:

- 400k+ apps ran every day
- 10k+ nodes that use >95% of analytics’ compute resources in Uber
- processing hundreds of petabytes a day

- HDFS:

- Exabytes of data
- 150k peak requests per second
- tens of clusters, 11k+ nodes

- Apache Hive:

- 2 million queries a day
- 500k+ tables

A lot of thought and investment (Uber's annual R&D budget is around $2B) has been put behind this data infrastructure, particularly driven by their complex requirements which grow in opposite directions:

1. Scaling Data - total incoming data volume is growing at an exponential rate

1. Replication factor & several geo regions copy data.
2. Can’t afford to regress on data freshness, e2e latency & availability while growing.

2. Scaling Use Cases - new use cases arise from various verticals & groups, each with competing requirements.

3. Scaling Users - the diverse users fall on a big spectrum of technical skills. (some none, some a lot)

Uber leverages these open source technologies largely in a Lambda Architecture, with Presto used to bridge the gap between both, allowing users to use SQL to query and join across all data stores.
Yep, and don't forget the deep analytics that they gather as well. That's a huge motivator
And you're saying that every single natural gas user is individually held up in their projects, like cooking dinner, because of this?

Or just SpaceX, an end-user of natural gas, not a refiner of it.
Because your roof _will_ fail

You said that already but it doesn't answer any of the questions I asked. Repetition doesn't make something true. There are typically shingles, then a layer underneath, then wood sheathing like OSB. All that is for the cheapest roof.

https://diy.stackexchange.com/questions/32820/is-it-ok-for-o...

once it does the water will collect between the roof and the foam

Says who? If water is getting to the wood, why isn't air getting to it? Typical roofs last for 20-30 years.

This idea that foam is bad because seeing water soak through through the entire wood sheathing is nonsense. This is also only dealing with foam on the underside of the roof, which is also not the only place or way it can be used.

but if your entire wooden structure rots for 5 years

Now your "entire wood structure" is going to rot? If you want to know if there is moisture in your wood, go in your attic. This idea that roofs blow off without anyone noticing and huge amounts of water soak all the wood in a house and the entire thing rots without any indication is not reality.

feel free to google it if you don't believe me.

You can feel free to google it because you're the one making the claims.
I don't think he means having or using a stop button means the robot is necessarily a failure overall. He just means that every time such a stop button is used it represents that the robot still has room for improvement. It has failed in that particular instance but that doesn't necessarily mean it not overall useful.
I now have a Bus Pirate 6 on its way as well :)
Orlando could probably handle it, but DefCon seems a bit off-brand for Disney.
And I'm saying that countries like North Korea, unfortunately, don't collapse.
One decision is by the fourth circuit, the other is the fifth. I don't know enough about the details, but in situations like this, the Supreme Court takes the case to resolve discrepancies.
re-posted at https://news.ycombinator.com/item?id=41235622 since the original link broke
> It's clearly operating directly against the interests of the group

It's operating against the profit margin of the for-profit utility company. It's operating for the interests of the general public as a group, as distributed residential solar has significant societal benefits for resiliency after natural disasters, lower pollution, etc.

The American energy grid is a mess of bad incentives and bad actors, where we get for-profit companies with monopoly control and often their incentives are to lobby politicians for rules and regulations which increase their profits to the detriment of everyone else.
Most societies collapse eventually.

Societies built on lies can go on for quite a while, there are tests, a war for example, that can finish them off. But even then, they might stumble along.
Assuming when you say thoroughly researched, you're looking for high quality educational information, the highest quality videos are generally from a camera pointed at a blackboard/whiteboard recording a lecture that an expert was already going to give. Not a lot of production value necessary.
Determining accurately if we can safely scale down an instance is one of the hardest things we do, I can not think of a way to determine this in an automated fashion.
Not every part of the world looks down on mild use of profanity, or even has the same concept of mild or not mild profanity.

If you think using the f-word in professional communication makes it unprofessional, do I have decades of stories to tell.
Does it have Terragrunt (*.hcl) support? I see it mentioned no where but the infracost CLI has (https://www.infracost.io/docs/features/terragrunt/).
I've mostly seen the opposite - pandas and jupyter notebooks shipped directly to production because the data scientists and AI guys didn't know how to do anything but python. As a result, the solutions were not performant and often had lots of runtime crashes due to python's more loose typing
tl;dr

Musk: Umm.., I mean, stammer, umm, ...

Trump: Immigrants... Kamala... criminals... stolen election... yada yada.

Nothing we haven't heard before.
there are a whole bunch of 'good traits' and 'bad traits' that are clustered together and its difficult to properly understand the causal relationships between them.
Open Sustainable Papers
Open Access publication on open source software used in climate and sustainability. Derived using ecosyste.ms