skysight-inc/HackerNews huggingface dataset:
Ask HN: macOS app to keep windows in defined spaces when (un)plugging screens?
For the love of god, has anybody found a solution for this problem?

MacOS always manages to mess up all the apps between spaces when plugging/unplugging an external screen. Doesn't matter if you assign an app to a screen in a given desktop (with or without a screen plugged in), it will always mess it up over time.

(And yes,) I'm keeping the first screen on each monitor empty (because MacOS merges the first screens of each monitor when the external one is unplugged), but somehow the other apps, with time, will also get into the wrong desktops.

I've found a lot of (good) apps to manage the position of apps in the screen (like Rectangle -free and open source-, and Mosaic) but I can't find an app that keeps certain apps in certain desktops.

(Apologies for the long comment, but the frustration is real.)
But it's not necessarily a caps lock key, but an extra function key more easily accessible. There's quite a few keyboard designs out there that have button clusters for thumbs, so that you can use your thumbs for more than just pressing space.
The late 1800s and early 1900s were also the peak of constructed-language movements like Esperanto and Volapük, which were riding on the assumption that there would be peace in our time if only we would all speak the same language and thereby see eye to eye.

Also somewhat related, in the same timeframe, Japan was opening itself up after nearly three centuries of isolation and catching up with technological development. While new loanwords flooded into the language from all kinds of European languages, some scholars argued for replacing the traditional Japanese writing system with the Latin alphabet.

https://en.wikipedia.org/wiki/Romanization_of_Japanese#As_a_...

The proposal never won any majority support, but the government did end up doing a smaller reform: After WW2, several character forms were simplified and an official list of characters in common use with standardized pronounciations was published by the government as a baseline for the school syllabus.

https://en.wikipedia.org/wiki/Shinjitai
https://en.wikipedia.org/wiki/J%C5%8Dy%C5%8D_kanji
>Isn't there?

There isn't.

Early miners have long since sold off their coins. Pool operators don't own any hashrate. Yes there is some fuckery they can engage in, but it would be obvious and miners can trivially switch pools.

Forks are evidence that there is no central authority in Bitcoin! They cannot change the rules for others so they go do their own thing. How can you not see this as an incredible feature?
Tell HN: Happy Palindrome Day
If Chrome's your main browser, they're probably just tracking you and detecting that you've visited Twitter a number of times without signing up.
Thanks, that's great for us people outside of the walled garden and completely not missing the point in a thread about having browser choice
Because that's what the user wrote. You can reason about the operation in terms of smaller operations (such as read, add, store) but not more coarse operations, because the user could have just written the single operation.
n / (m-c)

Where n is the number of instances of the problem, m is price the market will pay for solving an instance and c is the cost of solving it.
I'd rather educate people on how to use social platforms instead of banning some links.

We should use social media primarily for sharing links, not to fill them by content. Then this problem would disappear.
> Yet lets ignore the proven statistics showing woman avg higher number of sexual partners in their life than men.

How the heck is that supposed to work, mathematically?
This isn't true. Facebook/Google may not be selling your data, but companies like them absolutely are. Data aggregators exist, and they're all about buying your data, creating data products from them and then selling them on to marketing organisations.
Paywalled links without an alternative are disallowed as far as I know.

When you encounter one, go into the comments and there will be an archive.is link.
First time i snowboarded fell so hard so many times i got permanent tendinitis on my arms, some movements i can not do anymore, been 15 years now.
maybe just don't buy devices where the screen folds. it is unholy and obviously leads to punishment by the spirits
Thanks for the link, it sounds promising !
This is literally just emotional labor: https://www.bbc.co.uk/bbcthree/article/5ea9f140-f722-4214-bb...

> we conservatively advocate using measures of happiness and optimism as discriminators

So the job goes to the people who, in the eyes of the interviewer, can best fake happiness. The more desperate you are for the job for economic reasons, the more pressure on you to fake it convincingly. Big bright but not desperate smile. Right set of inspirational stories. No complaints or demands.

From article:

>> Here are three examples of simple exercises, each backed by rigorous evidence of effectiveness. In the first, the Gratitude Visit, participants prepare and present a 300-word testimony of gratitude to someone who changed their life for the better. In the second, Three Good Things, participants write down three things that went well each day and what caused those things to go well, for one week. The third, Using Signature Strengths in a New Way, calls on participants to complete an online strengths survey and then use one of their top strengths in a new way each day for at least a week

I don't know whether it's because I'm not American or just really cynical, but I absolutely hate this kind of mandatory public performance of fake emotions. It's also more work for the employees to do; presumably this essay-writing is on the clock, in addition to other duties? I wonder if there will be an essay mill you can go to for the right set of inspirational stories to feed to your manager?

Note that none of this stuff ever touches real concerns. Are the employees unhappy about the process? The breakroom snacks? The pay and pensions? Casualisation? Sexual harassment? (Obviously if someone gets groped at work, their happiness factor will go down, and that can be used against them in performance improvement)

All of this has already been seen with the Bradford factor, a means of measuring employee sickness and targeting them for firing.
Because we let the bean counters decide the beauty of our architecture.. Like an unused muscle, our capability for physical artisan works withers..
Oh but there were and are talks about exactly this Chinese point (also remember this guy Trump?). So we can keep our Russian worries as well.
It's a weird and interesting thing to see; if others do it, it's a weird nice product for a handful of people, but once Apple does it it becomes mainstream and widely adopted.

Counterpoint though, it didn't work out for Apple's touch bar.
> It's sort of understandable when Google or Facebook spy on you and monetise your data to profit from the services that they provide you free of monetary charge to you.

I personally don't like that line of reasoning. If you start to justify abusive behavior in the name of making money you're not giving someone for a "service", it's a small leap to reach the conclusion that abusive behavior (and profiting from it) is justified no matter what as long as you've been provided some kind of service.

Either it's a gift, or it's a paid service. In neither cases does abusive behavior ever become justified, whether it's from a friend, a neighbor, or a multi-billion dollar company. If your company wants to offer me free donuts, that's your company's choice and does not grant you the right to follow me home and steal my books. Why would it be any different with Silicon Valley companies?
https://blog.kobadoo.com/2022/02/the-history-behind-worlds-o...

This is not correct. The Swiss flag is officially square not rectangular. The only exception is when it is display on an airplane fuselage otherwise it is supposed to be square.
Cool demonstration of regular expression power!
Note that as implemented, this is a space bounded Turing Machine with a hardcoded tape length limit:

> With the current implementation, the read/write head looks at the 22nd element of the tape whenever we want to read the current position. With complicated machines that utilize long lengths of the tape, you would need to increase this number so that you never delete a necessary tape element as you scroll along it. This can be done by increasing the {20} that appears at the beginning of the expression.

Embedding the tape head pointer ^ within the tape, just to the left of the scanned bit, should remove this restriction.
Behaving in customer's interest (in this case Apple issuing refunds) doesn't give a free pass to prevent competition.

If Tinder/Match break the consumer protection laws on how they process payments, they should be investigated and prosecuted accordingly.
Yes. It's a performance; you can never quite be sure of their real emotional state, but they're doing a great job of giving entertainment to people. Usually a combination of being naturally good at it and being rewarded for this kind of performance as kids. It can get discouraged in a lot of people for being "attention seeking".
Correct me if I'm wrong — my use of Jq is limited to basic shell stuff — but I believe Jq does not have joins at all. You can do joining by writing your own functions, but it's not built into the syntax.

GROQ was designed to query and join multiple sources of data, and to make it easy to plan for efficient execution (e.g. on top of a relational database or search engine). For example:

*[_type == "author"] {
_id,
name,
"books": *[_type == "book" && author == ^._id] {
title,
year,
publisher-> // Join referenced publisher
genres[]-> // and all the genres
]
}

This gives you all the authors with each author's books. You can do a lot of the same transformations that Jq does, but you can also do it across multiple collections of data; it's not a pipeline with an implicit input.

(Disclosure: I work at Sanity.)
There's an issue about that: https://github.com/wallabag/wallabag/issues/5559
You can run non-UI Swift on Android too if you want. I don't know who made that possible, but I also can't see why Apple would sponsor Android app development, seems completely counter to their interests.
Here is an audiobook version narrated by Harlan Ellison himself:

https://www.youtube.com/watch?v=dgo-As552hY
I did that for a side-project a few years back. This was very elegant to implement: I was happy not having to store any password hashes (which is a dangerous thing to store as password reuse is prevalent) while still ensuring that my users had a secure way to interact with my service.

Still, this confused the heck out of some users. Some people kept forgetting the email address they used to sign up and were asking me why their account had been 'duplicated'. I had deliberately blurred the line between signing in and signing up and in practice it backfired a bit. I would not try that for a mainstream service nowadays.
AFAIK they are under embargo still as far as software and performance, remember the steam deck doesnt launch until the 25th
It also contains incorrect information like this: https://blog.kobadoo.com/2022/02/the-history-behind-worlds-o...
Maybe because some of them (like here and everywhere) put sometimes ideology before the wallet. We're to see though how many and how consequently.
Strange that's always their freedom but not the freedom of others.

https://www.cbc.ca/news/canada/ottawa/truck-convoy-downtown-...

Pretty egomaniac
Ask HN: Raspberry Pi (Linux) vs. ESP (RTOS) for IoT Use Cases
I want to connect a local system to the Cloud using an extra device like an ESP or Raspberry Pi. What would you prefer? Embedded RTOS (running on the ESP32) or a full GOS like Alpine Linux(running on the Pi 4)? It only has to handle some UART reading, a bit of string modification and a MQTT connection to the cloud. Honestly I don't think I need a full blown GOS for that. It also would make the system more complicated and increase the fault surface. Am I missing some points?
Don't do anything on your own, go to a physiotherapist. You can start doing exercises for the wrong group of muscles and other muscles will then start to compensate leading to more serious problems. "neck pain" is not specific enough for any recommendations. The best non-specific advice is to change your sitting position frequently and take breaks.
I can't seem to dig this out but I vaguely remember some disks (HDD, not SSD) had this mode when data is:

* acknowledged & buffered in the cache

* not physically written to the plate (yet)

* but still guaranteed to be written, even when power fails

Anybody can confirm that?
One thing about wallabag is that it has eink support, both through its own native app but also through third party apps like koreader.

So you don't depend on your device manufacturer to support it like pocket. In that case hosted is actually the right solution. If you want a local program that stores websites with metadata as articles, you can look at zotero.
I've been snowboarding for a few years and I always wear protection. Helmet, goggles, knee pads, wrist guards, etc. And as somebody already mentioned it is very important to learn how to fall to minimize the potential damage.
A square is in fact a rectangle.
Reminds me of this: https://www.youtube.com/watch?v=s-mOy8VUEBk
Well I guess I should apologize on behalf of Liberals, Atheists, and Christians at least: I’ve been some version of all of those things if we go back enough decades.

Few of even my critics would call me a fair-weather friend. And I’ve grown ever-more impatient with fair-weather friends. There’s another word for that, but everyone knows it and so I do to spend it.

Real Christianity, in my opinion, is a lot like FDR-liberalism: compassion, love, and second chances.

I don’t know what that philosophy is even called these days. I want to join that movement.
A Story of Betrayal: CSIRO’s War on TS
Well, if you look at your art, or pretty much anything on art blocks, you will find pictures that are formally intriguing and/or pleasant for the eye. But it doesn't trigger much emotional response or provoke any kind of reflexion.

The art I personally like makes me think about something in a way I haven't thought about before.

Taking the tree ring example which you seem to like. Well, there is a guy called Giuseppe Penone, who's worked with trees for a long time. And some of the drawings he's made start with his fingerprint in the center of the page, and he just grows the fingerprint as if it was a tree by adding rings around it. you can see one here: https://www.boutiquesdemusees.fr/fr/creations-contemporaines...

It's visually equally appealing, but it also have that thought-provoking quality to it. What does it mean to draw tree rings around a fingerprint? When I look at this, there is a chain of thoughts which I can't really put into words, but that seems to encourage me to live slower, and be more humble towards nature.

It's a simple difference between your work and his, but it makes his interesting to me and yours a bit shallow.

And when you look at other stuffs he's done, it's just stunning. For instance this: https://domaine-chaumont.fr/fr/centre-d-arts-et-de-nature/ar...
Fbdev Console Patches Optimize Performance – Print Directory Listing ~25% Faster
I take the salt the Earth approach with countries that would imprison me, as a gay man for being gay. Or countries where simply being born a woman affords you fewer rights. I have zero respect for the UAE.

Your argument is a logical fallacy. Yes I'm sure the UAE is improving, but that doesn't mean we should stop vilifying it for the terribly evil laws it has and things it does. It's not "complex", there's just no motivation to make actual, sweeping change, only token change to appeal to the West, whom the UAE relies on to do business with. Dubai should not exist, it's an artificial Oasis in the desert in a world where global warming is becoming a serious threat. Dubai was built on slave labour.
This does not stop people doing it with faux marble and cheap gold, though.
Really cool idea. I've been looking for something for this for a previous project, but didn't find anything. I think an important feature to replace Zendesk for many would be an API, so integrating into existing forms and apps is simpler.

Best of luck!
Flutter is the most popular cross-platform mobile SDK
So, I know what this article is about without reading it :) M-Pesa, Swahili for M-Money, the first 'M' stands for Mobile. Very much a game changer, in some ways Kenya is now ahead of the 'developed' world, it's not just its neighbors that it can teach, but the rest of us as well.

I put developed in quotes because I don't like this artificial division, Nairobi is as much a world capital as say Bucharest is. You probably would not recognize its skyline as African without context.
The learning curve is different for a snowboard, it's hell the first 2 days as it's all based on balance and without balance you'll just fall. With skis you can basically go down most slopes the first day just by plowing and advancing from there. This is not going to work with a snowboard, you can't really take the lift to the top of the hill and proceed learning on your way down.

In my experience most people learn the snowboard after 3-4 days, but it takes a bit more to feel confident.

For me, I was just an average skier but I felt much more confident on the board than on the skis after the first week or maybe second week. So in my experience the learning curve for the board was slower at first but after a week I increased in skill much faster than I had on the skis previously.

I dislike snowboarding the less steep "transportation" routes though, they are usually narrow, heavily bumpy and you have skiers to the right and left of you who don't understand that on a snowboard you can't speed check or fix your balance without turning the board..
These applications are viruses. They eat all your resources, make connections to the network, and you can't get rid of them. I don't understand how some (most?) of humanity has accepted that it's acceptable for Apple, Microsoft, Samsung and Huawei to make it mandatory to use their spyware. If i as an individual sold phones that are tied to crappy malware i would be in prison very quickly.

They control your phone, you don't. On some older Galaxy phones, you could at least unlock the bootloader and install LineageOS (which is much faster due to not running all this malware) but apparently it's not supported on S7. Samsung is slowly becoming the new Apple where you can't remove your battery without a screwdriver and there's a "Knox" security where if you lose your password (or somebody donates a phone without donating the password) the hardware will go straight to the (non-)recycling bin.

Is buying a PinePhone the only option to get decent hardware without lock-in for under 300€?
And yet at the same time, production has moved to regions and countries with lower wages.
The article is even wrong, while there is indeed a currently-flying intentionally-shredded flag, that's for Zamora the city and not Zamora the province (which was named for its capital, Zamora). I don't believe the province itself has its own flag, although Zamora-Chinchipe in Ecquador does have one!
Why not take the last step and go full on commie? The countries should ban home ownership unless there is 0 homeless people, same food production, cars, iPhones, healthcare and more, all taken care by your favorite glorious monopoly.
> versus pressing a key for uppercase and pressing it again for lowercase

FWIW, "Caps Lock" is modal.

e.g. the Wikipedia page lists "Caps Lock" as a common example of mode errors.
https://en.wikipedia.org/wiki/Mode_(user_interface)#Mode_err...

(No vim = not worrying about insert/normal mode; no capslock = no worrying about if tapping 'a' gives 'A' or 'a').
If anything, Firefox on Linux is more likely to get it right, as it will typically be shipped with the font Twemoji Mozilla which includes this flag. I think they don’t ship that font on macOS or Windows, and it sounds like at least the default emoji font stack for Windows doesn’t support this flag.
So odd that the pizza works and the flag doesn't. Same fontawesome package.
Adding onto this; Their 360 cameras are rendered useless after an upgrade last year. They havent fixed them ever since. I am talking about a camera from 2017, that is basically completely useless now.
If they made the screen as easy to replace as possible, treat them as consumable like removable battery, and sell the replacement at reasonable cost, it might actually works. Swapping a foldable screen once a year at $50 on a >$1000 phone is reasonable expense IMO.
Personally I don't care what it sounds like, so long as it can work under load, and my Macbook Pro can't. It throttles when ambient temperature is over 25 degrees C, and

I haven't unplugged my Macbook Pro more than a couple times in the last 2 years.

In short, I'd take a two inch thick Clevo that sounds like a 747 and only lasts for 2 hours if it meant not having to worry about turning my HVAC on when I want to do a screenshare.
> I wonder if skyiing is safer with respect to head injures.

The answer is: it depends. Friend of mine got pretty badly concussed skiing a blue run (easy) without a helmet.

I've done both skiing and snowboarding, always wearing a helmet for both after similarly hitting my head on day 3 of snowboarding (though without the concussion). Plenty of falls on both but I've hit my head a lot less frequently skiing than snowboarding. Still, it can happen and, realistically, it only needs to happen once for you to experience life changing injuries.

Wear a helmet, always, regardless of whether you're skiing or snowboarding. And don't screw anything to it or be tempted to wear a camera attached to it (GoPro, Garmin, etc.).
Money laundering is money laundering, so matter what jobs it might create. And the Russian oligarchy mob is a reality as well. So I'm not sure what kind of point is followed here... that one should accept their illegal stuff in their countries because, uh, whatever waves hand?
Cheers - addressing this today.

I love HN - months of feedback in like 20 mins haha.
I'm happy to jump through 2FA hoops for my banking app. I'm not so enthusiastic to do the same for every news or social media site.
Reminds me of a shop I once worked at, they would pile up the used wooden pallets out back - no deposit or return policy I guess? - and once a month or so a guy would come around with a trailer to pick them up. He'd take them apart, burn the wood, and sell the nails for scrap.
haha it's actually linked right there on the homepage :-)