skysight-inc/HackerNews huggingface dataset:
I think the number of API's we add to the platform will always keep increasing. We certainly see a big part of the web as enabling Apps to come to the web, and we do make sure (now) to have developers committing to using those APIs. I know that also frustrates a lot of people too.

It's sad that it's got the point where the teams don't trust each other and it's clear that the perception is wider. I'm still hoping to change that around.

I wrote the post to as clearly as possible document what happened for the avoidance of doubt because it was me who made the mistake. I'll accept your point of view, but I'm also comfortable with my side of this.
ip doesn't exist on macOS. That is a Linuxism.

You can use the following:

netstat -rn -f inet | grep default | head -n 1 | awk '{ print $2 }'

To get the default gateway that is the preferred one on macOS, so you don't need to hard code it.

scutil --dns

Will display the DNS servers/split DNS configuration as well.
Security-Related Jobs at Coinbase
I think part of the problem is that many people who are used to static type analysis get lazy with naming and interface design. Toss one of them into your team and they'll "prove" the need for static type analysis.
Cherry picking makes no argument any favours. :P

I agree on WW2, sure, but after WW2? I've spoken with 30+ elders and they all unanimously agree that life in general was much, much better than today. Mostly in terms of upwards social mobility. An insane amount of very regular bank tellers could afford house, two apartments and 2-3 cars. And to put 3 kids in an university.

Nowadays that's a very questionable endeavour.
Sidewalk – fix WKWebview JavaScript evaluation memory leak
iPhone makes much of these concepts either impossible or extremely difficult.

Namely, things cannot operate easily as a background service. Forcing the user to jump though many hoops to make it work. And since it is not an apple service. There is a single button "reset settings" that breaks all the users changes for these apps.

On one hand it is generally more secure for iPhone users, on the other hand it greatly inhibits some types of innovation.
One step forward, one step back, one step sideways. It's a great idea to have line types, but the treatment of block text is terrible... at least with YAML I can embed markdown and have the paragraphs come out correctly. Multiline keys... are they really that important so that we have to jump through awkward looking syntax hoops to get them? And please, why keep inline object definitions? Nobody needs them! It won't kill you to write a list over multiple lines. Some verboseness is good if it enforces structure.

I use YAML quite extensively for an internal tool, since it's pretty much the only human-useable format out there. But the weirdness of the language makes it error-prone while the quality of available parsers is simply unacceptable. I ended up writing my own parser for a subset of unambiguous YAML (not unlike StrictYAML, but even simpler) that offers nice error messages etc. and it works very well for us.
100% this.

It's now right up there with "X considered harmful", which 80% of the time translates to "I don't like X".

Specific to Python from the article, I'll add that I personally am done with dynamically typed languages for anything where more than one person needs to work on it or it needs to be long-lived. Static typing is simply too useful. Dynamic typing is (IMHO) a false economy. I've often said "Python means writing unit tests for spelling mistakes". Refactoring a dynamically typed code base of any reasonable size is a comparative nightmare.
Ha I was thinking like “white-hot” but ur probably right.
I use Visual Studio on a daily basis and I abhor it. It is hard to navigate without a mouse, things are shoved in small boxes and requires a lot of clicking around. But my coworkers love it so it must be a subjective thing, right? The amount of bugs make me hesitant to ever upgrade when I get a stable version. VS 2018 is riddled with UI bugs. One of them that is annoying me is the basic functionality for undo, text no longer focuses on the latest undo chunk and you don't know how far you got.
True. That Amazon chatbot is a whole different league in terms of intelligence than any of the out-of-the-box chatbots from intercom etc though.
Wow I feel old, everyone seems to have forgotten why and how to use these techniques :(

No one was dithering large photos back in the day - that's what JPEG are for.

The point of dithering was to take advantage of the reduced bit depth of indexed-colour GIFs (and later PNGs).

The Dither-Me-This tool does a lovely job of rendering different dither styles but then misses the point completely by exporting 32-bit RGB+alpha PNGs. 24 bits of RGB plus a 8-bit alpha channel? such decadence! A 16 colour dithered image only needs a 4 bit palette.

The type of images where this was useful in web design have mostly been made obsolete by the increased capabilities of CSS, and ability to render SVGs etc. e.g. graphical elements like borders and stripes of colour, or company logos. Or text in a specific font! (we didn't have web fonts in those days)

Why not use JPEGs for everything?

Two reasons:
One is that heavily compressed JPEGs can make crisp straight edges blurry or fuzzy, and colours can get a bit desaturated. Bad for logos.

The other is that GIF had a Run Length Encoding compression which meant that large blocks of flat colour would compress very efficiently.

It's worth noting that RLE does not compress dithering efficiently at all... back in the day we would spend a bunch of manual effort to avoid unnecessary dithering (i.e. make sure blocks of flat colour are really all a single colour). But some dithering was unavoidable and sometimes, for specific types of images, it was possible to make a GIF that was smaller and looked cleaner than a comparable JPEG.

Also... WebP and AVIF compression rate looks great, but can it be used for websites today if not supported by Safari? https://caniuse.com/webp https://caniuse.com/avif
I think by your definition, the best wine is grape juice, which is never vinegary and never gives you a headache.
Variants. Delta changed everything. This isn't just one virus globally so you can't compare across countries like that.

Look into what happened with Vietnam. They were able to 'control' the spread multiple times over the first year. They thought they could always control things, so they didn't focus on vaccination.

Once delta took hold, it spread more quickly than they could control things and the govt. has gone crazy on getting everyone vaccinated as quickly as possible.

At this point though, infections are soaring. The govt. has given up trying to control it. A lot of people are going to die. They are figuring that they will push to get as many people vaccinated, but herd immunity will come faster. The plan now is to get the country open again more quickly.
Wow, I don't remember reading such a bad article in a very long time. Very disingenuous take.

1) author starts with lossy format at the beginning of the comparison

2) author uses squoosh app for some of his conversions, but not others, even though it supports dithering too - instead uses a random web tool which doesn't care about file size at all

3) not even a mention about image formats supporting limited color palettes

4) no mention of disadvantages of webp and avif (anyone still supports IE 11?)

5) more things like dithered "lossless" webp made from lossy jpg, from the same image you can see that author used much bigger color palette than the one used in Low-tech Magazine images

Funny thing is that aside of browser support modern formats would probably still win even without manipulating the numbers (they are made for this), but I guess the author wanted really convincing victory.
Also disc brakes can give you brake fade. I have a hydraulic disc with a 203mm rotor, and even that huge disk sometimes fades on long descents.
Division by zero should not return None. Is there an aversion to exceptions in "modern" Python?
> Linux and Mac developers who don't have something as comprehensive as Visual Studio for .NET development.

We have JetBrains Rider
I'll take a look at this.

Wish there was a searchable version for this website like there is for HN[0] tbh.

[0] https://hn.algolia.com/
> doesn't make you virtuous or helpful; it makes you a useful idiot

I'm one of those idiots. For me vaccination is a moral obligation. And I'm not talking about Covid only, but vaccination in general. Such as against polio. Polio is so rare in our modern society, that the calculus you are espousing would always conclude that you should not vaccinate your child. The chance of the child catching the disease is probably one in ten million, while the chance of a severe side effect is one in, let's say, 100k. A no brainer decision, right? Well, no. This is textbook prisoner's dilemma: if everybody makes the same decision, our society loses herd immunity, and we are back to waves of polio in just a few years. In other words, if you don't vaccinate your child, you are a free rider. Morally wrong.

My informed decision as a parent is to give my children all the scheduled vaccines (about 10 in my state). Also the annual flu vaccine. And now the Covid19 vaccines. Yes, it's possible they could experience some side effects. But we are doing our part towards achieving herd immunity.

If you don't want to do your part, that's fine. But at least be aware that your decision does not affect only your body, it affects the rest of us too.

If you still want to call us idiots, that's fine again, that's your prerogative. But maybe you'd like to give it a second thought.
In addition, if you have an old Sturmey Archer hub, it automatically lubricates the chain by leaking oil.

I've thought about how to make a modern practical chain case.
It’s a pretty big geographic space. I can’t imagine a religion that would span the entire continent and be responsible for genocide.

Seems like there would be many different religions between both Neanderthals and Homo sapiens.

Even in the Middle Ages not all of Europe was a single religion.
The reason it’s okay to be deterministic and wrong in engineering is because it’s a lot easier to explain the conditions under which the wrong result will be produced and how you can identify those situations in the specific photo. The reason I think a simple resize that deterministically adds misinformation is better than a neural network is because I can calculate the bounds under which the algorithm produces wrong information and label the image. And I can do that without running the algorithm.
Unless it's a case of date rape or something.

One of Dahmer's victims got away and was so drugged that the cops returned him to Dahmer who proceeded to eat him.
France admits it spreads disinformation. Other democracies should also own up
Any serious Windows developer will.
A company called "Dana" made crank-mounted 10-speed internal transmissions for bikes in the 60's and 70's. They also had a 3-speed that was more popular. I had an opportunity to work on one in the early 80's, similar to the one pictured in Fred DeLong's seminal book on bicycle repair. It weighed a ton and was extremely labor intensive.

Granted, we have access to better materials today, but the cost/complexity cannot compete with the weight, simplicity, and rapid repairability of chain+derailleurs.
But subjectiveness applies to everything. For instance, whether or not something is moral is subjective, and yet there is a collective notion of morality.
Geography Class: Photographer Matt Black’s epic work of critical cartography
There are at least two problems with this article in how its argument is constructed.

First, it’s a response to two other articles and does not refer to the images in those articles or the processing techniques used on them, instead grabbing four other images and transforming them, perhaps in the same way as the original article, perhaps not. From this it draws broad conclusions. As the joke goes, at least one side of the sheep appears black from here.

The second is that there is a source of truth for these claims, and it’s in the algorithms and file formats in question. A JPEG image is generated and compressed a certain way, a PNG is encoded in a certain way. There is an actual answer to the question of whether or not dithering saves space and under what circumstances, and it has to do with how the images are encoded and compressed. If one does not want to bother learning enough about the algorithms in question, at the least one could approximate that knowledge by processing a statistically significant number of images and evaluating the results to get some kind of actual data on when and where the technique generates larger or smaller file sizes.

Instead, we’ve now got three articles, two of which say “this works” and one of which says “no it doesn’t” with all the rigor of 18th century naturalists puzzling over the behavior of birds.
Conversely, enemies could have staged the event.

Roswell 'was Soviet plot to create US panic'

https://www.telegraph.co.uk/news/newstopics/howaboutthat/ufo...

Archive of above article:

https://archive.md/z0EW9
It's not visible in the Network pane on Firefox either but you can enter "about:webrtc" in the URL to see the WebRTC inspector.
Well, the parents are not happy all the time. But when the offspring are safe and happy, the parents will be generally happy. Should a threat to the offspring exist, the parents will not be happy. Seems to fit with the gene's plan.
The programmer either meant to use NSNull or setValue:forKey or simply forgot a nil check.

https://developer.apple.com/documentation/foundation/nsmutab...

Pretty lame mistake to let slip through review and testing and a common enough error that Apple calls it out in its documentation:

https://developer.apple.com/documentation/foundation/nsmutab...
I have only personally had two serious failures of a bicycle transmission system, and both were on a rather new high end Rohloff hub. One was a mechanical failure (seal failure causing an oil leak). The other was a complete e-shifting failure caused by the most excellent engineers at Bosch’s failure to allow the shifting system to operate independently of the ebike drive.

(The latter is such a severe design error that I think no one should purchase the Bosch+Rohloff system until or unless it gets fixed. Use something else. An ebike is not a car, and it should be operable as a rider-powered bicycle even in the event of an electrical fault.)
Blacksmith – Rowhammer bit flips on all DRAM devices today despite mitigations
What you say is true, but there's something missing, which is that a working-class person who was extremely fashionable by the standards of their own class would, if transplanted into the world of penthousees in SOHO, figure out quite quickly how to tastefully decorate their house, how to dress to impress, and so on. And the same would be true of the penhouse asthete if transplanted into a working-class milieu. Some people are just better than other people at figuring out aesethic systems.
Shmoo – Al Capp's cornucopia of plenty
Paris e-scooters forced to slow down in busy areas
Hmm, I guess (a) was redundant because it could have been (and is a link). (b) and (c) trigger a specific funnel that assigns that message to someone in our team, so those had to be triggered from the bot. (d) is just a nice way of saying "leave me alone".
I started reading a new book today, "Beasts of Burden" by Sunaura Taylor, which talks about the parallels between the fight for rights for the disabled and the fight for animal rights. The first chapter or so serves as an introduction to what disabled rights means, and what it feels like to be disabled in an ableist world, and the author talks about a cliche in disabled culture which is "super crip", in which we are astonished and inspired by someone with a disability doing something that we deem impossible or difficult for a disabled person, like getting married, or climbing a mountain.

Serious question, because I'm genuinely curious and don't know, but is an article like this just the same tired cliche? I'm curious to hear from others where the line is drawn between being a positive and helpful representation of what life can be for someone who is disabled, and being condescending because we're surprised deaf folks can be good at football.
That's the point systemd is so big that alot of the problems that you see in your day to day usage are based on it but they are hidden for example I had a frustrating problem with sleep in my system It wouldn't wake up sometimes it wouldn't sleep sometimes black screens and after I replaced systemd with runit every thing was fixed and it only takes 1 to 2 seconds for it to go to sleep
Freewheel was a thing by the 1890s.
Love using DVC and pull dataset within seconds
The author could be misapplying Hanlon's Razor if the world happens to be full of mostly malicious people.
“Disney Melee Mania” Coming This December Exclusively on Apple Arcade
If your getting "Error establishing a database connection", here is an archived copy:

https://archive.md/2rztC
Paul is good people. He leads Chrome's DevRel team. I was on that team from June 2015 to June 2021. Browser DevRel can be messy stuff. You're perpetually trying to advocate for your browser's vision of the web while also maintaining respectful, collaborative relations with the other browsers. The tricky part is that they often have a different vision for the web. This holds true no matter which browser you're rooting for. IMO that is the fundamental cause of all these conflicts that occasionally bubble up between Chrome/Safari/Firefox. The bright side is that the web appears to still be a functioning, open ecosystem (in that different parties are competing to take the web in different directions). Case in point you don't often see posts like this about the Android/iOS ecosystem making it to the front page of HN. Conflict is healthy albeit exhausting.
My use of the word "harm" has distracted you from the main point.

The dilemma I am talking about is an emotional one, not a dilemma of decision. The therapist must persuade the patient that the treatment could work, but they know that it is quite likely not to work. They should be emotionally committed to the the therapy, and persuade the patient to be emotionally committed to the therapy, while at the same time recognising that there should come a point at which the therapist should recommend stopping and trying something else.

And while it isn't working the patient is suffering. A patient isn't in a state of stasis, like a computer program being debugged. While they have a chronic illness, it uses up their resources, of energy, time, money, social and professional capital, and ultimately, will to live. and it's very hard for the therapist to be rational about when to stop. Because giving up on the therapy requires recognising that the therapy they chose to deliver, and advocated for, may have caused the patient to suffer for longer than some alternative. And if the patient's resources are depleted enough, they may not now have a good shot at getting the alternative to work.

If people could be coldly rational about this, you'd be right, it's just a question of trying one thing after another until something works. But therapists have emotions, and those emotions cause them to commit to a therapy long past the time when rationally the patient would be better off trying something else. And that is harm.
Yes, but I think it’s wrong to think of it in terms of material loss — thinking what would happen if you lost your 401(k) balance isn’t going to make you happier. But thinking what would happen if you lost your important relationships or material things that bring you particular joy (a house, a car, an espresso machine, etc).
"Someone building apartments on their property to rent out is Socialism"
No, sounds like free market capitalism to me.
I have a set of wired Sennheiser 600. These wired headphones has lasted twenty years. Ie wired headphones last long which are better for the environment than wireless with glued non user replaceable batteries. Since wired headphones do not have electronics they do not get obsolete.
Dithered images are traumatizing, and remind me of the bad old days of low-res displays on dial-up internet.

OK, not traumatizing, but I don't think they look good, particularly when the rationale for using them is bandwidth reduction.
Is your son a computer hacker?
Yep, ours was intercom but the other common ones are drift, hubspot, freshchat. Seems like these have spread everywhere in the past few years to the point where every website has one.
Type safe database access for Python – Prisma Client Python
Should I have children? Weighing parenthood amid the climate crisis
Is it really a volume issue or a) an equalization issue; b) a background noise issue; c) both?

Some BT buds will let you futz with an equalizer (jabra). It really influences the experience of what you’re listening to, for instance different genres of music and pure voice.
Stationary pads were already implemented in the Lisa UI, but it took quite some time to show up in classic MacOS - https://www.applefritter.com/node/3198
> This isn't a model. its not a study, its a metric collected from the UK for the last 20 years.

And absolutely nothing else changed in the UK in the last 20 years that may affect this number? Logic would tell you the disincentive exists. Looking at aggregate country data over 20 years doesn't tell you anything about a single policy.

> Employers that don't facilitate it are punished, either by employment tribunal, or people leaving to join somewhere that does.

That's a lot of employers to keep track of. In terms of people leaving for jobs that do offer paid parental leave only works for those wishing to take parental leave. If someone does not wish to have children, she would be willing to take a higher salary in lieu of a company that provides generous parental leave.
I understand.

But it doesn't change the fact that other tools are available which do serve both and are thus much more practical.
Its internal implementation detail, invisible to the CPU.

https://faculty-web.msoe.edu/johnsontimoj/EE4980/files4980/m...

diagrams on pages 4-7.
Delhi shuts schools as it mulls ‘pollution lockdown’
AirPods working with Apple devices is one thing.

Third-party over-ear headphones working on my Android phone, Windows gaming computer and work Linux machine is a whole other deal.
We don't realize how far we'd have to go if we discarded the concept of good taste, because we don't even debate the most obvious cases. But it doesn't just mean we can't say which of two famous painters is better. It means we can't say that any painter is better than a randomly chosen eight year old.

I don't have an answer for whether or not there is a universal good taste, but this argument is fundamentally flawed because it conflates skill and expression. Of course any practiced painter is going to be better at painting, but that doesn't mean that what they paint is tasteful.

That said, did anyone else get the feeling that pg got into the mushrooms before writing this?
Every single argument in the post is basically, "well, the whistle-blower (whom probably has an ax to grind!) didn't specify how often/many times this problem/mistake/oversite happened, so, it was probably just a one time thing and isn't actually a real problem. ok
D&D doesn't use hexes for combat mapping. The rules are designed with squares and adapting them for hexes would require house rules
I think this attitude, which is becoming increasingly prevalent on the internet, is probably causing tons of unnecessary unhappiness.

How many periods in history have there been where the average person was comfortable taking a pay cut? Even if there was such a period, it would have been true only for a privileged subset of the population.