skysight-inc/HackerNews huggingface dataset:
When did “disturb” became the default mode?
Last night I was awaken by my Xiaomi Mi Band 5.

A few days ago I took a nap and set the DND –do not disturb– on a timer for 1h. Once the timer finished it went by default to "Turn off DND", which is the same as "disturb me please".

It's worth mentioning that before setting the DND for an hour, I had it one a schedule so it wouldn't disturb me from 10:30 pm to 8:30 am. It didn't go back to this one, it went to "disturb me please".

It's probably also worth mentioning that there is another mode called "Auto turn on", which detects when you're sleeping to avoid awakening you. Because this thing knows when I'm sleeping. But someone decided that the default should be to awaken someone if they receive an email at 2am.

So the thing that I bought precisely to improve my sleeping was designed to wake me up in the middle of the night.

Because of this I was wondering when did the "disturb" mode became the default? This applies to my phone as well, which I always have with DND turned on. How is it that we have to _turn on_ DND. Shouldn't it be "turn on disturb mode"?

What are the arguments that support this behaviour from a UX point of view?

-end of rant
Controlled descent into terrain.

SN9 knew the ground was where it was, but had an engine mishap preventing power to match control, so I’m debating with myself whether it was CFIT or UFIT. Maybe a superposition of both?
I forgot the "Save As" removal! I type this on a Macbook with an irritating noisy butterfly keyboard where the left shift key works 40% of the time and I get duplicate "i" inputs periodically, with a touchbar that has a fault so the F12 region is constantly flashing in my face...

I remember Snow Leopard being a deep joy to use.
Remote Tasmanian island to be powered by ‘blowhole’ wave energy
Russian state has always been outward-looking and disrespectful of own population, and Putin is known to enjoy geopolitical games. Selling vaccine is a way to wield power.

Unfortunately, Sputnik V is associated with Putin-the-Underpants-poisoner, 2014 Sochi Olympics, Civil war in Syria, Civil war in Ukraine, invasion of Crimea... and that association is not good.
History has proven that it always ends up with two major ones, and lots of tiny wannabes.
ByteDance sues Tencent over lack of link love on its messaging services
Again, thanks for the in-depth answer.
You got a point on the integration side (on-wheel commands) and the eventual app-switching needs. I also concede that modifying the route (more than merely following it, which I find trivial in any setup) is easier on an integrated system rather than a mounted smartphone.

I usually throw my smartphone away in the backseat when I drive, so that's where our paths start to diverge I guess.
How Poverty Makes Workers Less Productive
This sister comment links to a video by the same Assyriologist that show cases a lot of what makes it complicated.

https://news.ycombinator.com/item?id=26009078
> I strongly dislike software that will simply apply a default state when it cannot encounter a certain configuration in it's configuration file for this reason.

Isn't sensible default what make certain software a lot easier to use then others? Apple seems to be good at this. Ten years ago Ubunutu brought this to the Linux world to an extent. Personally I like the configurability of Linux, but I am past the days of spending hours tweaking it and I am quite happy if someone supplies me with sensible defaults.

Having said that, as a developer I agree with what you said, it's often easier if a library call gives an error than tries to do something smart / just carries on (JavaScript comes to mind), so there is a balance depending on what the user wants to do with the software.
Context matters too though —
As a general rule "i" is a terrible name for a variable but in a simple unnested loop it's expected.

All these shorthands (e.g. K,V = Key,Value) have to be learned so should be used sparingly but in some places I think having shorthands for things like generics & indices allow boilerplate code to "get out of the way" of the business logic.

You expend less mental energy trying to keep track of "i" (as you know it's a simple loop counter) than "index". And reducing cognitive load is the point of having descriptive names in the first place.
Type guard in the example should use runtime type checkers or codec like io-ts (https://github.com/gcanti/io-ts), otherwise it will just become a type-assertion with partial correctness.

With codec, one can make sure that the type is correct and defining type and type-guard becomes a one-time task.
Portugal is a terrifying example of this. They got through 2020 extremely successfully, but have suddenly been hit extremely hard. They've now had as many deaths in 2021 as they did in all of 2020.
School is such a guaranteed one now during Covid – you don't even get social serendipity. You're literally sitting there on Zoom burning through cash.

What common folk don't realize is that college is just a luxury consumption good of the rich.
I used to be a blackberry developer, granted it was my first job, but nevertheless: I'm glad blackberry died it's slow, painful death.

Developing for blackberry was a disaster, I can even say it was the single worst programming experience I've been through. To name issues off the top of my head:

- signing code with BB's SLOW servers every time you wanted to deploy to a physical device (I'm talking waiting times of 50+ seconds). These servers regularly keeled (there were websites to tell you if they did), meaning you couldn't deploy to a device to test on, which was important because:

- emulators were so far off the actual devices you needed to deploy to multiple devices regularly to make sure you code worked

- devices would restart regularly, and blackberries took a long time to start

- each device, with the same OS, had different quirks, and different APIs would give different outputs depending on a combination of device/OS-version, which was important when those outputs were for things like screen size.

- the developer tools were just not there: things like getting to logs, etc

- heroics were required to do things like override the default blue highlight in a list selector (i forget the name) in order to get our application's design to work right.

I used to do dual Android/Blackberry development, and I hated projects on BB. I am however talking BB OS 5/6/7. Our company wouldn't even invest in developing natively for BB10, we'd just port android.

Good riddance.
>so when they take their more money to the market, they bid up the prices of goods and end up where they started, sometimes even a bit further behind.

I haven't seen any evidence that this actually happens to a significant degree, could you link a study on it? Cause as far as I have read the inflation cause by minimum wage increases is relatively minimal, especially compared the the increase in income.
Nokia Bell Labs innovation stories, The rise of C++
can you point me to the backtesting tools you use?
Quite a few of these are of the form:

"Wayland doesn't X!"

"Actually, it's on purpose or X that is not working on Wayland because [reason]."

Sure but that doesn't make it work.
Syncthing has used 0.5% of my phone's battery over the last 7 days, despite a big photo and video sync job, while instantly syncing every change I make to my KeePass database. I can't speak for other Android users, but "every Syncthing user knows it's a battery hog on Android" definitely doesn't reflect my own experience.
It's a 50/50 bet if you pick sides at random. You may have a loss in expectation but it will be because of spreads, transaction costs, taxes, etc.

(Only half-joking.)
How Jeff Bezos Thinks
I taught myself Linear B one summer, and found remembering all the signs hugely difficult despite its more or less pictographic nature (you don't necessarily know what they are pictures of, but the pictorial nature nevertheless aids memory) - and forgot nearly all of it very quickly. Cuneiform looks at least an order of magnitude more difficult.
Yeah. This is similar to my experience.
Polarity Puzzles – physics inspired mobile game
Copy pasting from: https://news.ycombinator.com/item?id=21753347

---

Similarly, Google trying to find out what successful teams did differently is a great read: https://news.ycombinator.com/item?id=11174399

Some excerpts:

> ... Google’s intense data collection and number crunching have led it to the same conclusions that good managers have always known. In the best teams, members listen to one another and show sensitivity to feelings and needs.

> ... Google, in other words, in its race to build the perfect team, has perhaps unintentionally demonstrated the usefulness of imperfection and done what Silicon Valley does best: figure out how to create psychological safety faster, better and in more productive ways.

> Project Aristotle is a reminder that when companies try to optimize everything, it’s sometimes easy to forget that success is often built on experiences — like emotional interactions and complicated conversations and discussions of who we want to be and how our teammates make us feel — that can’t really be optimized.
Nimble | Bangkok, Thailand | Fulltime | ONSITE | Visa/Work Permit + Relocation assistance | https://nimblehq.co/

We are a team of designers, software developers and product owners building outstanding web and mobile applications for companies of all sizes, from 1-person startups to Fortune 500 companies. We take a product development approach, creating custom software that people will love to use and empowering our clients to do what they do best - better.

Senior Web Developer(Go): https://jobs.nimblehq.co/o/senior-web-developer-go-3

Engineering Lead(Web/iOS): https://jobs.nimblehq.co/o/engineering-lead-webios-2

We keep our recruitment process practical and straightforward: https://nimblehq.co/compass/team/joining-nimble/

Due to COVID-19 and international travel restriction, we are able to process candidates who are currently residing in Thailand only. If you are living outside of Thailand, we will get in touch with you once the travel ban is lifted.
I agree but how do you keep abreast of this best practice in times of COVID? Product Analytics might just be the life saver.
Agreed. There's nothing like being in the field with real users.

Ideally, you don't just talk to them. You watch them work. Observe, and gather clues about what will serve their needs. And when people tell you what they think they want, don't assume that's the product spec; treat that also as an opportunity to listen to clues that will help you understand their needs.

The best products are designed around how people work, not necessarily what people say about how they work.
I do the same thing, but will often check the top comment(s) to make sure I'm not missing something and generally keep my BS detector well trained.

In this case the top comment happens to reinforce said detector.

Honestly, you rarely have to look as far as the URL; the headline itself's often enough. High on impact or even just zeitgeist + low on specificity + no quantitative statements is a great recipe for "not worth your time".
I mean display scaling settings that are especially useful for laptops with high-DPI screens.

The desktop environments do have settings for scaling all the elements (not only fonts) but when running on Xorg, the alternatives in the DE are 1x, 2x and 4x, while many present-day configurations would require fractional scaling (like 1.5x) to be usable.

I have a 27-inch 3840x2160 display which I cannot use without scaling, since the UI elements get too small for my eyesight, and scaling everything 2x (effectively 1920x1080) kind of voids the purpose of buying a 27-inch display since the usable screen estate is downgraded to something typical for 23-inch screens. Our laptop has 13-inch screen with 1920x1080 resolution - again not usable without scaling and a disaster with 2x scaling (960x540). Windows is offering very convenient 150% and 125% scaling options on these pieces of hardware, so I had to migrate my professional work to WSL unitl updating to Radeon and Wayland.
Ask HN: Team/Shared Inbox Solutions
I have been exploring team inbox solutions but I haven't found the one yet.

I remember recently reading a comment from someone saying that their company made a team/shared inbox solution basically for themselves but for the life of me I cant find it. It looked like a simple but effective solution. Can anyone help me out or does anyone have any recommendations?

Thanks!
Compressive sensing
Yes, Putin by arresting Navalny or "killing Magnitsky" is showing the world that he is way darker than, for example, G.W.Bush whose sins [1] just pale in comparison.

I agree though that corruption on all levels is a systematic problem in Russia that is not getting better.

[1] https://en.wikipedia.org/wiki/Casualties_of_the_Iraq_War
What's up with spam site returning in tech question Google top results?
Lately I've noticed a spam site showing up in the top 10 of most of my coding / tech issues Google searches.

It returns a "headline soup" of other sites which have been obviously scraped from other blogs and help sites.

It's annoyingly-convincing clickbait that's hooked me about 10-15 times now.

There are no ads, nor links to any of the articles nor external sites. Just a wall of text.

Example: https://www.xspdf.com/resolution/50948681.html

The question:

What possible financial or other benefits could you theorize that the creators/maintainers of this site gain from running a useless spam site with no ads to capture tech searches?
There's a heavy push towards Typescript lately and I agree with your counter. I'll add to it: Type checking gets you somewhere, but are you better off there? It depends on where you want to be.

As you've mentioned, integration tests are important, and cover your assumptions on a closer-to-the-user level.

I suspect that there's a flock that prefers working with the testing pyramid remaining standing. Put another way, are uncomfortable if the lower bases are unstable.

There is another flock that prefers the agility and flexibility that comes without logical gymnastics of type checking, relying on inverting the pyramid to prove they're done. Not right or wrong, but another way of making.
Oceania has always been at war with Eurasia.
Don't confuse Russians with Russia.
I think you'd be better off trying to get a general flight chat off the ground first, before you worry about grouping people into individual chats per flight. Hard enough to bootstrap that, but if you did, I would recommend adding tags for Flight Numbers, Airlines, and Airport Codes, and attach those tags to the messages in the chat (as badges next above the message). Ask the user what their next upcoming flight details are. Let the user save those deets. Then once you've gotten enough users and the chat room gets noisy enough, introduce filters, where you can filter by airport code, flight number, airline, etc. Bootstrapping is hard, but I would promote the chat in various subreddits and facebook groups and consumer discussion forums or any interest groups about flying and travel in general.
> but there was nothing like EC2. Infrastructure as code made all the difference.

I believe Grid5000 did it before Amazon [1].

It opened in 2005 and allowed users to automatically book hardware (with OAR [2]) and install their own images (with Kadeploy) on dedicated hardware.

[1]: https://www.grid5000.fr/w/History
[2]: https://www.grid5000.fr/w/Getting_Started#Reserving_resource...
I saw the other one at an exhibition - Van Gogh sitting in a cafe - and I have to say the digital scans on the Internet are so wrong. I was shocked. Self-correcting digital cameras and the low-grade image formats are killing everything. Just know something, if a digital scan of a famous painting didn't impress you it's likely the quality of the scan that's to blame.
Nah, its just that you'll have to change your perspective of customer support. Any questions will be answered in 5 days by pointing to the FAQ and each response will take an additional 5 days. If fact, you'll probably find the answer yourself before support helps you. Finally, the feedback mechanism will be so generic as to be useless.

Unless you want to pay 10% of your order for expedited service. Then those days drop from 5 to 3.

/s
You are overthinking it. If you want good sleep, take tech out of your bedroom.
I agree but I don't think an individual can be 10/10 in both domains like you inferred. I think there will always be the need for a product person outside the engineers and developers.
If it takes too much time, you are probably doing something wrong like having hardcoded layouts for different resolutions instead of using reflow as much as possible.
Some websites look and / or work better on phones.

Feature request to web browser developers: My screen is horizontal. I want a menu option to open twin windows, side by side, each taller than it's wide. Then emulate a mobile web browser in each.
In the limited TypeScript I've done (only a few months so far), every single time I thought "oh well, let's leave this at any for now" or "ah, crap, ts-ignore until I can think of a better way" or even "let's disable strict-null-checks for now, as fixing all those cases is too much work" has resulted in broken code down the line because assumptions that are not caught by the types have been invalidated. So I tend to err on more or better types for now. Some things can't really be improved of course, but that's where experience comes in over time in recognizing those cases.
>Soft deletion implies that once data is marked as such, it is destroyed after a reasonable delay. The length of the delay depends upon an organization’s policies and applicable laws, available storage resources and cost, and product pricing and market positioning, especially in cases involving much short-lived data. Common choices of soft deletion delays are 15, 30, 45, or 60 days.

https://sre.google/sre-book/data-integrity/#first-layer-soft...

I work at Google, not on anything related to this though.
Behind-the-scenes story of Ajinomoto Build-up Film
Who was responsible for the decision to not offer help with vaccinations under Trump? I had always defended Amazon, until that moment, when they declared they would let people die for their ideology.

Now I am trying to purge Amazon from my life, and it is hard. Much more difficult than Google. I had even started to use their grocery deliveries during Covid lockdowns. Maybe if it was Jeff's doing, and he is gone, I could justify continuing to buy from Amazon. But I guess not.

Interesting that many say AWS is the actual business of Amazon, and they may get rid of the rest. It seems to me AWS would be the easiest to replace, after all, there are lots of cloud standards. Can't you just take your Docker images and publish them somewhere else?

It seems much more difficult to me to replace the aggregation and efficient logistics. In fact I don't see any competition.

Now that they want to see me dead, I want to see Amazon dead, but I have little hopes for it.

Their achilles heel might be trust - online reviews are almost completely broken now, and complaints about fake products are rising. Their answer to the latter seems to be to steal successful products and sell them as "Amazon Basics", but that is evil and also won't work for having "everything".

Another issue could be people returning their stuff or even damaged goods. I see a surprising number of people who have no ethical qualms about returning things they already used or that are broken.

Maybe the future will be to buy directly from producers? That seems to be the only way to avoid the fake products? So someone should come up with ways to make it easy for producers to sell their products online, or at least provide a chain of trust.
I had bought a product on amazon.de, it arrived with some cosmetic damage (product worked, little scratch).
To be honest, it was one of the best customer support experiences I had seen.
Select order, select product, click button 'problem', describe what the problem was, get return info, DHL picked up the next day, two days later I had a replacement product.
An antenna is not a non local interaction. You mean interaction via a medium between non local things ? Eg having eyes , ears, etc?

I also don’t see the either or case making any sense here.
I'm surprised the list doesn't mention untyped-exception and how to deal with the inability to figure out the type from the catch block.

Untyped exception in TypeScript is one of the most vulnerable point of static type escapes. Unlike any, which is explicit, exception caught in catch block is implicit.

Personally I prefer to wrap catches into a specific type/symbol `UnknownError { data: unknown }`, and discriminated union to indicate success/failure on return. fp-ts (https://github.com/gcanti/fp-ts) is my go-to library for this
No. “Economic value”, that is GDP, means consumption. We are consuming plane trips, and that counts as valuable because we were ready to pay for it.

If I enjoy watching people dig holes and refill it in my backyard, and pay people to do so, this is creating “economic value” because “it bring you pleasure, and you were ready to put a hundred dollar in it, that means it gave you $100 of pleasure” (that's literally how GDP works), it doesn't benefit medical care in any way. And it fact, if I'm paying $1000/h for hole digging, I'm actually harming medical care, because some people would become hole digger instead of nurse / doctors / researchers.
I’m a dev, and as it turns out, as firefox is more standards-compliant than chrome, if something runs in firefox, it’ll pretty much run in every browser (the opposite is not true, as blink has lots of custom extensions to the standard you might use accidentally).

Plus I use firefox lockwise as password manager.
Edit: I stand corrected. See below.

> Chinese is bereft of allomorphs: each morpheme in Chinese has only one pronunciation

This is untrue (edit: actually, it still appears true). For instance, https://www.fluentinmandarin.com/content/chinese-characters-...

"会 huì or kuài – Again, completely different meanings."
Project Manager is a manager, it's a role from a formal process (waterfall). Product Owner is not a manager, it's an agile role.
You can't compare them directly.

P.S. In real life PM/PO are almost the same -- as people usually don't care about following metodology. PM/PO is just a kind of team's boss.
> I don't need to be able to short his inventory

that's because it wouldn't do you any good. if, however, the used car salesman is engaging in fraud and selling expensive cars way under their market value while buying inventory at inflated prices, you could expose this by borrowing a friends mercedes, selling it for USD 100000 (then buying it back at USD 1000, so you can return it to your friend) making a nice profit along the way.
> I’ve written four short books and they have literally grossed hundreds of dollars.

I hear this argument pretty often.

A book is not a binary thing: there is a book, and there isn't. It's not about the "book", it's about the contents of the book.

So in other words the author has gathered some knowledge and he didn't make much money off of it. Therefore, the knowledge you will gather will not allow you to earn any money. Does that make sense? I don't think so.

I will probably be downvoted, but maybe more important thing is the subject of the book, than the actual book itself?

Disclaimer: I did not write a book. I did write a chapter to a book, and I got some money off of it. I'm not rich because of it, but I see the potential.
Most of these are variations on known quotes: https://www.goodreads.com/quotes/126432-if-you-don-t-feel-it...

Still a nice project. Though it highlights the unoriginality of GPT-3.