skysight-inc/HackerNews huggingface dataset:
This is something that I've done forever.

For example, when I create a static value to hold a constant, I usually do it like so:

static private let _maximumButtonHeightInDisplayUnits = CGFloat(30)
Is “arrogant condescending arse” a complete sentence too?
But why does the nature of the program matter at all? If a program writes a file on my home directory, I can read that file with other programs, regardless of the build flags of the first program. Why isn't my screen just the same? A program writes pixels to it, then I use another program to read them.

Having the pixels of your screen be more "sacred" than the files on your $HOME is a disturbingly bizarre security model.
Kinda an essential feature if you're going to give up thumbnails in the filepicker...
Most answers here are answering your question literally, and explaining why you'd add a type for "seconds". But in reality you shouldn't create a type for seconds, the whole premise of the question is wrong.

Instead of a type for seconds, you'd want a type for all kinds of duration regardless of the time unit, and with easy conversion to integers of a specific time unit. So your foo() function would be taking a Duration as an input rather than seconds, and work correctly no matter what unit you created that duration from:

foo(Duration.seconds(3600))
foo(Duration.hours(1))
foo(Duration.hours(1) + Duration.seconds(5))
The trick there, of course, is that you have to not want some of the stuff that sells out
Whereas a conversation with your prospective roommates might have resulted in them agreeing that nobody wanted the cupboard under the stairs, so they could precommit to allowing your $15 rent and making their bids sum to $85 for three rooms.

The problem with game-theorist economists is that they always neglect long-term externalities because they're messy. Having a reputation as a decent human being is a long-term externality that's very messy.
Show HN: One liner adding a LIVE star history chart to your GitHub README
How to Track Transformers?
I always make a large donation to a credible non-profit or two after visiting a third-world country that pales in comparison to the amount I would've paid to street vendors ripping me off.

That puts my money to far better use.

BTW my wife is from a very poor country and she would laugh at anyones face for paying full price to a vendor. It doesn't make you "ethical" it makes you stupid in her mind.
Yes, it is 128-bit hash. 128 bits are enough to recover a message made of 3-4 words. Some messages are build by template, for example, a message from a bank saying "Your PIN code is XXXX". In this case, it is possible to recover the PIN code using 128-bit hash as the number of possible PIN codes is less than 2^128.
if you’re going to tank your credit score why bother paying at all
Thanks for saving me the time. I definitely don't want a "MacOS interface for Linux".
DevSecOps – Developer Motivation vs. Business Prioritisation
Cuckoo Trie: Exploiting Memory-Level Parallelism for Efficient DRAM Indexing
It's not the same though.

If I buy an iPhone then it is so that people can call me on it. The Mac makes it easy that I can also receive a call on my Mac if I am working on it. It's an additional convenience feature. It's not like the Mac is forcing me to do this. The call would still happen on my phone, I'd just have a much harder time to respond to it if I didn't get the smooth integration on my Mac whilst working on it. If I didn't have an iPhone then I also wouldn't get random calls on my Mac. Besides, if I don't want this feature to work then it is very easy to disable it form a very self explaining settings app and that setting will persist during updates.

It literally couldn't be more different to how Windows operates.

Also, perhaps Apple makes things enjoyable in how they work, which is maybe why less users have a desire to disable these handy features. It certainly feels more straight forward, down to the point, no dark patterns and very obvious as a macOS user. I can't say the same about Windows.
That is just as silly as it gets.

Not a JS developer. Run a beast of a machine. Use Ubuntu & Gnome.
I hate tech douchebags as much as the next guy but you don't want to raise your children as Amish.

In every job you will use a computer.
God speed trying to parse dates from excel. They have bugs _intentionally built in_
You should always consider it. You don't have to follow it, listening and evaluating someone's advice as it applies to your situation can be valuable.
> There's no test that can only be performed via canine.

Because we haven't developed any.
Also not OP, but I work on graphics software and we frequently deal with different units and use strict naming systems and occasionally types to differentiate them.

Even more fun is that sometimes units alone aren't sufficient. We need to know which coordinate system the units are being used in: screen, world, document, object-local, etc. It's amazing how many different coordinate systems you can come up with...

Or which time stream a timestamp comes from, input times, draw times (both of which are usually uptime values from CLOCK_MONOTONIC) or wall times.
Ha I also discovered this by accident, mind blown. Do you know about the long press space bar that turns it in a sorta ‘trackpad’ to move the cursor around in text (ios)?
Probably given the sender is always the same for those, the work to recover the text is probably literally just the key space of the code. Like, 1M hashes in a lookup table for a normal bank 2FA code. Recoverable in microseconds.
Last time, we received quite positive feedback on HN when we announced a major update to star-history.com (https://news.ycombinator.com/item?id=30046730). This time, we are bringing another handy feature - add a live star history chart to your GitHub README with a single LOC.

Under the hood, it's quite a long story that originated from 6 years ago. Please check out our article to learn the story. And if you add the chart to your repository, do let us know on Twitter @StarHistoryHQ and we are happy to showcase your project to our audience.
> It is not possible to proceed to view the Messages app privacy policy without first agreeing to the additional Google Chrome terms and conditions

This entire report is damning, but I thought this was an especially silly tidbit towards the bottom of the report. I wonder if this is even legal.
Last year I went through every version of macOS from 10.1 to the current release and used each for a couple of weeks. The thing that surprised me the most is just how consistent the user interface has been. Anybody familiar with 10.1 would have no problem using Monterey.
Air Conditioners are heat pumps, a water pump moves water and a heat pump moves heat.
I respect many things many people did but I've found that from many aspects the same people were sometimes horrible.

Like that saying: never meet your idols.

It's just better to appreciate achievements on their own.

Plus, frequently achievements are just the result of long, incremental work done by many hundreds of people in the background.
And so you should be. Smerge is a useful addition, including as a find-file hook for resolving conflicts.
There is nothing intrinsically wrong with positive rights. The right to physical safety involves active participation of others, and you'd be bonkers to say it isn't a valid right. No society functions without police.

What we do with positive rights is bundle them up into government provided services, so the load gets distributed evenly through society. These tend to work well, at least in Europe. I really can't understand the US view that anything that is state-provided is inefficient.
Filtration Camp System in Chechnya
> Answer because code that spaghettis in an out of a lot of other code means small changes cause unexpected regressions

That's not a fragile test suite, that's a test suite working well: you want tests to start failing if you introduced a regression to the overall program behaviour.

> the changes to fix that regression causes other regressions

It sounds like what you're really getting at is something different from test fragility: specifically, if a test fails, how easy is it to identify where in the code a fix needs to be applied. That is also an important consideration when writing tests but it's completely separate from test fragility.

> Integration suites have value, but I use them with discretion because I know that they are a challenge to maintain.

This is the opposite of how the test pyramid is supposed to work. Integration tests are supposed to be less fragile because they don't rely on specific implementation details or mocks: they're mimicking a real user or a consumer of your API. If you are getting false positives from your integration tests a lot, then either the tests are written poorly, or you're making too many breaking changes to your library/product/whatever.

> Tight unit tests that test small pieces of logic thoroughly and make ample use of mocks to ensure deterministic outcomes are a must. The code can change all around it but that function will work as advertised until someone changes it. Then they can update its test suite and you're back in the golden zone.

That's completely useless as a test then. Of course if you change code around it the test won't break. The whoe point of a test is that it doesn't break even for (some) changes to the code being tested, and if you always have to update the unit test when you change the code then it is providing no vlaue and giving you a false sense of security that all your tests are green.

Unit tests are great when you have a particular irreducable complexity in a piece of code, or more generally they are good when there is some constraint that should be locally upheld that is likely to be more permanent than the specific implementation.
That was done and called App.net. It's pretty good startup lore from ~2012. Worth giving a look if you're interested. It solved both biggest VC issues around that time. It was paid and it had more characters than Twitter. https://en.m.wikipedia.org/wiki/App.net
Probably because last week was the Algorave 10th birthday, an iconic event for music live coding, and we had a 24-hour performance stream:

https://ten.algorave.com/

So here's the language (yet another) I used for the performance:

Glicol: Graph-oriented live coding language and audio DSP library written in Rust for making music in browsers

website:

https://glicol.org

repo:

https://github.com/chaosprint/glicol
And now tell me please which doctor or test IS 100% reliable?
There was a discussion around Meld and other tools just yesterday here at HN: https://news.ycombinator.com/item?id=30741123
In the GFC the derivatives were the TNT that blew up the world. The amounts owed by the losers were orders of magnitude higher than the underlying.

While the fuse may be set for student loans and housing, today’s banks are not levered to the level in the GFC, nor does there appear to be a vast derivatives bomb in waiting.
I don't want to get into an argument over the truth of that generalisation. However, you can presumably see that it is a generalisation of the sort that might offend people. That's really the only point that's being made here. The post could be edited to make specific criticisms of that one piece of software without unnecessarily antagonising people.
MCAS was a bad sticking plaster on a different problem - that the 737-800 doesn't have.

To stick larger engines on the 737, they had to be moved forward. This meant that if the nose pitched up, there was a large area ahead of the wings "catching wind" and pitching the nose further. The MCAS was a "solution" to that - if it detected the nose pitching up, it would counter that by trimming down. In the MCAS-related crashes, the sensors malfunctioned and airplane just pitched down until it crashed.
The pattern you want here is branding.
In my experience it’s not really worth negotiating a service price when quality can make a big difference… maybe it’s a coincidence, but the couple times I’ve done it for house construction work I ended up having problems with the results

buying a car or getting a hotel room? not much harm can be done there
Trained people are fine, but most people are not trained and not very easy to control in unfamiliar surroundings.
Ehe ...you do realise you're speaking about this guy here right? http://profkeithdevlin.com/
It is comparable to a refrigerator or dishwasher running. The pumps have to be outside the house.

I can't hear mine though a double-glazed window.
That's not something that normal cats do.

Cats do treat humans as play partners, and frequently scratch the hands and legs in such activity. But I've never experienced more than a boop on the face, from something like five cats (across decades).
premature abstraction is the root of all evil.
FWIW, I'm more concerned with the fact that it's a Windows program (the closed-source-ness and seeming unavailability of the programming protocol makes it shady, imo) rather than it being Chinese. I'll modify the text a bit to reflect that.
I myself can't remember seeing Gy in astronomical papers, but I've seen Ga (gigaannum).

https://en.wikipedia.org/wiki/Year#SI_prefix_multipliers
That is not what I wrote. I asked what the better alternative is. Simply complaining makes for uninteresting conversation.

I am not opposed to a universal basic income, given that all other subsidies are ceased.

How would society increase the number of surgeons, who require a decade of intense study and risk to become one? How would society incentivize people to live 2 hours from the nearest hospital in order to farm the land and create food for the country? What would society have to do to incentivize people to work jobs where they have to commute somewhere to work, or many places for work, rather than work from their own home?
Most stores have explicit policies not to chase people even when they visually observed shoplifting. It creates too many problems — it’s easier and safer to just turn the video over to the police.

Those security devices are generally there to scare potential thieves not actually detain or prevent them from leaving, so your anecdote doesn’t actually show anything interesting.
Last time I tried updating Ubuntu on my parents' PC, it completely fell over because it tried to throw up a dialog on a console in the middle of the update, even though I was doing a GUI update. When I killed that (uninteractible, permanently froze the update) process, the system autorebooted in a desktopless state. Now, I knew to use `dpkg --reconfigure` from a root shell to fix this, but a layman would have been stumped and had to reinstall. 2021 at least was not the year of the Linux desktop in our household.

(Let alone the dozen of small KDE issues we've had over the years. It's really easy to get that desktop in an uninteractible state if you click the wrong things.)
Everyone in education I have spoken with says we should just nuke it from orbit at this point. Like, physically torch all the school buildings and go back to the drawing board on how to teach people shit in 2022 and beyond.
It definitely suffers from a number of problems in MS, probably mostly due from having a very large organisation with different priorities:

1) UX teams who have to change things to jutify their existence. None of the problems in Windows 10 imho were related to major UX problems, just things that should have been fixed like the stupid search function which can't find "Explorer" when you type in "Explore"
2) UX people who think that the world cares as much as they do about the fact the UI looks a bit "dated" and needs to be refreshed otherwise people will leave! Apple haven't massively changed MacOS and people still use that.
3) Strategic people who are trying to pre-empt or force a different way of interacting with the OS so that things like AI, blockchain, or whatever will work more naturally.
4) Development teams who have decided that the programming model is wrong again and therefore they will make a load more changes. If I was a Product Manager at MS I would be depressed and embarrassed by the number of inconsistencies in the platform. It would be understandable if "windows 10 apps will start to look different" but this is so random, it is annoying.
5) Finance people who can't accept that a paid-for product should have exactly zero adverts and the whole premise is obnoxious and stinks of greed when it's not like MS are struggling to make money.
6) Cloud everything even when those experiences e.g. Office365 are noticeably worse in the cloud. Also, they are charging you the same/more even though they can now manage everything centrally with no deployment costs.
7) The whole security accounts eco system is another disaster. "Log in with MS account", "Is it a work or personal account?". How should I know? It's your account. "Do you want to link all these devices?" "No", "Well we will anyway because we have assumed you want to and we were only asking to pretend it was your choice"

Microsoft, Microsoft, we love you but we need to talk!
The loud part of an air source heat pump is outside.
Seeing as he appears to favor FLOSS software (GCC, Make, OpenOCD), the shadiness comment may as well be directed at the Windows-program part.
Montessori schools attract rich families.
It really helps if you're not schooling kids from the ghetto and have a nice budget to hire extra teachers.
Is this "Im Rich" humblebrag?
There are usually libraries for doing this. For Python, there are several, for instance “Pint”.
> What a lot of words to say the airlines rotate staff on those routes.

Well, you were very welcome to answer the question yourself with fewer words.

I note the distinct lack of an answer from you though.
I don't understand why it has to be an LLC. They're doing that pisses off a major company & industry, relating to copyright & computers, in a country where copyright and computer-related laws are just as insane as the idea of doing this in the open.

If they want to continue this (which I'd argue is a bad idea given they've presumably been discovered), the way to do so is to operate entirely in the underground (using Tor or other anonymization systems) and host any required infrastructure in a country that doesn't care - Russia comes to mind, even more so given the recent events.

The mere fact that they received a C&D and it had leverage over them already suggests a massive failure. Why was there a place to send a C&D to begin with? The proper legal department contact for such a project is /dev/null, so something failed big time if that C&D found its way somewhere else.
Your answer stresses a lot the word greed which I normally use as an ideological canary for communist/socialist thinking (I come from a socialist country so i know the nomenclature). "the chains being removed from the rest of the world" also makes me suspicious of the answer's intellectual motives. Also you did not refute any of my data thesis.

Another commenter, asserts that language similarity seems to be the predictor for trade partner preference. I think he is right. It plays an outsize role, much bigger than reputation, like asserted in your post.

> For example, France by itself assassinated 22 African presidents in the last 40 or so years, they still harvest the wealth of 1/3rd of all African countries)

Yes France is still a very active colonial master with massive intervention in ex-colonies but you can't be serious if you think post-war France is rich and developed because they harvest natural resources. I would actually say that France's activities in Africa are actually detrimental to it's own good and are the product of an old style doctrine of influence and national prestige(again similar to Portugal). This in opposition to a doctrine of market based competition, where they already excel with highly advanced products. The main advantage i can concede is that they brain drain their ex-colonies. That is the real damage, and it was arguably the reason ex colonies have so much difficulty in getting up. Their best minds migrate to the Europe. Not by force mind you, pure market economics and convenience like the language. My master thesis advisor was a Cote-de-Ivoir dude that would have been a great asset in his country. He is black and i am ethnically Portuguese, so the racial dynamics of white over black does not apply. Of course he never left Europe after getting his degree. That is the real damage, but not really some chain or cruelty like you mention. Just people doing their best to improve their lives.

Life is full of unintended consequences and sometimes, greed is actually best, not the least because it is simple and has predictable emergent phenomena. A bounded problem like greed is better than an open world of rainbows of good feelings.
Check out Invidious.
The specs on the laser for an LPKF say plated vias down to 200 um diameter.
Can you expand on how you would define disinformation if it were your job to down rank sites associated with disinformation?
Having had many vehicles and also done a drive to Banjul in The Gambia from the UK, plus done 10 years of rally driving, I've had a great many jerry cans. They are indeed a great design, and the triple-handle allowing easy carrying of two empties in one hand on either side of the body is only one of their high points.

I'd never given a moment's thought to the name, but as soon as I started reading the article, I realised where it came from... It's funny how we don't always think of the origins of words until prompted by something like this.
Pessimists in the sense of complacency? Like, "Oh, things are great as they are. We don't need to change anything. Everything should stay precisely as it is because the status quo os the image of right."?
I dont think it is contempt for the users, It is more that consumers (i.e non-enterprise editions of windows) is the Beta Test group for windows

Microsoft has always been, and will always be an enterprise company, they do not care about Consumers, and they do not care about SMB business. they care about Large Enterprise.

I have seen it countless times in my career, SMB space and can be complaining up a storm about a problem for years but until some 20,000+ employee CTO has the problem MS will not give it the time of day.

It is all numbers, and if you are not a government or Large corporation Microsoft does not give you the time of day
I'm certain that the Mars Climate Orbiter had a lot to do with this practice.
Or a microwave.
Multitasking Test
This is what a haggling culture actually looks like. There's an assumption in this thread that in all "non-Western" cultures, haggling is the norm. But I think it's important for the seller to imply consent first.
https://www.youtube.com/watch?v=XwUkbGHFAhs A nice historical and engineering walkthrough of the Jerrycan.
Anyone knows how this compares to the ArduCam Pico4ML.

Camera is the same and i wanted to compare TOPS, but it's not listed on the Pico4ML specification page.
>On the other hand if for example some webform validation fails because the code was written as fast (as cheap) as possible, who cares really.

Who knows. Maybe a billion dollar company that can't fulfill orders. Maybe a million people who suddenly can't use their bank online.
Is that a problem? I think macOS works the same way.

https://news.ycombinator.com/item?id=19052960
I know, but given the willingness to throw a bone to the vim community is nice.
Google bought a chip design company and has been releasing codec chip designs for years, probably during the VP8 era but certainly VP9. It's now at the stage when they don't really need to it mostly just happens.
There is a simple answer to being stuck as indispensable for years. Change jobs.