skysight-inc/HackerNews huggingface dataset:
Ask HN: What does your remote desktop setup look like?
My Macbook Pro order looks to be still months away from shipping and I’ve started to consider the “light laptop as a terminal for a beefy Linux desktop” alternative. If you happen to use such a setup what does it look like and how well has it served your needs? Is there specific VNC software or a Tmux plugin you could not live without?

Setups that come to mind for me are

1. RDP/remote desktop methods. Pros: You can run everything as if using a regular computer. Persistent, all the apps and windows are kept in place and running even if you disconnect. Cons: Additional latency. On my naive xrdp attempt I could not get 4k resolution usable, plus Ubuntu kept asking for my root password for various things every minute.

2. VSCode remote SSH. Pros: Low latency and very easy setup. Cons: Only for command line apps and web dev. Cant resume terminal instances after a longer disconnect.

3. Remote terminal (ex. SSH/Mosh). Pros: Low latency with mosh. App/window persistence with Tmux. Cons: Steeper learning curve. Only for command line apps.

4. Fully online IDE. Pros: Very easy, similar to VSCode with SSH remote. Cons: Unregular keyboard shortcuts are needed to avoid hitting browser shortcuts. Cost usually scales with hours of use or number of projects.
There’s something I feel is special between programming and exploring. Hanging out a bit drunk with dude friends, jumping some random fence or going off the beaten path meant adventure. We wouldn’t say no unless it was a really bad idea.

The fun part is the computer or machine does what it is programmed to do, within parameters. You can throw stuff at it, projects and complex or mundane stuff, and either it works or it doesn’t.

Sometimes it just goes plick and you never see a system react the same way ever again.
Ha I used to do the same as a child, our ceiling were varied heights and angles and it was great fun. I just introduced my kids to the 'game' a few weeks ago and they loved it.
You can always use a hardware key like a Yubikey.

The additional options discussed in this article are are to:

1. use a platform feature to have the TPM or Secure Enclave in the device itself work as an authenticator as an alternative to a hardware dongle.
2. synchronize across devices within an ecosystem (e.g. all Apple devices) using a mechanism on top of the platform account (aka AppleID + iCloud Keychain).
3. allow a phone to be used to authenticate to a desktop, even across ecosystems.

The previous way would be to use a hardware key like a yubikey. If your platform supports #1, most sites _should_ support user management of a set of appropriate authentication mechanisms, and may even prompt on a windows desktop "would you like to use Windows Hello to sign in more quickly in the future?"

A version of Windows has support for #2 might let you instead have that credential be added to every windows desktop or laptop on your account.

Due to the variability of Linux, my suspicion is that each browser will fill some of the gaps there as well.
> whenever you want you can always throw the credit card merchant agreement at any of those vendors just because you feel mildly inconvenienced.

This is a recurring misconception: merchants have been allowed to set a credit card minimum of up to $10 since Dodd-Frank[1]. Even before that, entire industries have had merchant exemptions (utility and rent collection come to mind).

The rest of this response is bizarrely cynical: I don’t feel “sowwy” for them; I like saving money on my coffee and I’m happy knowing that my payment method is more sustainable, since it means I don’t have to worry about changing my routine.

[1]: http://www.ftc.gov/business-guidance/resources/new-rules-ele...
Yep, ramming online vaults down everyone's throat is also what killed it for me. Since then I've gone from a massive supporter to recommending everyone look elsewhere.

Their online security-related UX is also a freaking nightmare. The desktop and mobile apps are excellent and still clearly the best, but yikes, their password plus secret uuid plus device identity is awful. I know multiple people who permanently lost everything thanks to that (remember, no local backups any more! That's what cloud storage almost always guarantees!), and they now push others away too.

I'm now a (relatively) happy KeePass user.
I do dry mine out over a burner while I’m doing other tasks in the kitchen but I’ve definitely let it soak overnight by accident on occasion and never really noticed rust. YMMV
Have your lock screen show a random book cover from your collection!
> I'm not going to spend my 30s sitting around waiting for pans to heat up because there's some very small probability a pan will harm me.

This strikes me as particularly ironic in the current context. How much time have you spent so far today arguing about pans on HN? How many times could you have heated up a cast iron skillet during that time?
Yeah I evolve cards over time as well, it's interesting how even after 7 years of using SRS I still sometimes generate cards that end up being hard to review once I actually start using them. The way that I solve for the modify over time is to simply re-generate the whole set of cards -- on import, Anki will automatically update the older cards (if the generation time is greater than the last modified time within the Anki DB).
Faith requires an object. On what was this faith based? It was based on Putin. It couldn't have been placed on the Russian people, as Putin decides everything.

And what did Putin do? He attacked Georgia and took part of it. He attacked Ukrain and took part of it, and then backed a war there for several years.

Oh, and all of the people who he assassinated by poisoning them. People in other countries.

How could the former German Chancellor go work for him after all of that? How could Merkel turn off all the nukes to ensure Russian gas would be the only viable alternative?

In other words, this was not good faith. It was misplaced faith, and obviously so, as even Trump pointed out.
A company's data is like a raw set of food ingredients - they harvest that data, and collect it in one or more places.

An API is like the restaurant menu - it presents you with the ways that the data can be prepared for you, based on the skills, experience and methods that the company has available.

For some of the menu items, you may be able to make specific requests (no dairy products, for example) - whereas other menu items may be more static.

If you had the raw data yourself, and seasoned chefs, there's a chance you could prepare the meals that you really want, regardless of whether they're available in the API offered to you.

This analogy isn't perfect and isn't worth trying to apply in-detail, but for a high-level non-technical audience it could work.

(an example flaw: paging through search results is a common API operation that wouldn't really have a sensible restaurant analogy. at best, ordering profiteroles from the kitchen one at a time, each time requesting the least recently prepared one, or something like that)
I've only looked into importing cards automatically briefly. My feeling was that keeping progress might be an issue if cards change (and thus get re-created). Do you deal with that?
If you live in the Apple ecosystem you could use something like FSNotes and icloud for 7$ for FSNotes plus 1$/month for icloud.
Actually climate change means more demand for dredgers, especially for things like sand suppletion.

Without sand suppletion some places (eg. parts of the netherlands below sea level) would not be able to protect their coastline, which can (worst case) lead to the loss of towns and cities.

A lot of operations involving the sea, coast, and sand are not one off operations. It's more a case of continuous maintenance and vigilence.
Ask HN: How to build a desktop app in 2022
I have a personal project I’ve been working on that is a desktop app with a UI that has some fairly complex data visualizations.

I’ve been using Electron because I know JS well and can leverage D3.

The problem I’m facing is that I sometimes go for months without working on it, and it feels like everyone I start up I’m running into some dumb JS/TS/Electron ecosystem issue that takes me a few hours to debug (if I don’t just give up first.)

What are some good modern tools/frameworks for building native Desktop apps? Bonus points for cross-platform support.
But what if like Eddie Van Halen being a drunk is counter balanced by a $10k a month cocaine habit?
Some of us take buffalo puns seriously. If a child of mine misnamed a buffalo for a cheap pun, I would only have two words for him, “bye son”.
I'm so happy to work for a company who tried to do hybrid and when no one showed up (no way i was going back its a 50 mile one way drive) beginning of April they just said we are now a remote company.

Apple, Google, etc are going to learn quickly and change to all remote soon too I bet. Weighing their prestige vs. the improved quality of life remote brings to most workers can not compete. Especially with company's like Air BnB which pays same very high salaries who says work anywhere in the world.

Overall a raise of 50 to 100k in salary would not get me back into any office and I live alone in a small town in south central PA. The pandemic forced me to find a new social life with new friends that Im equally enjoying as I did with friends I had at work (they are still around some socially but the connection isnt as strong).
Leaders have relentlessly high standards. Of themselves? No, of ICs. I have heard too many horror stories from friends at Amazon and how so many deadlines were made up, pushing engineers to burn out, engineers cutting corners to ship stuff and managers getting praise for "driving results".

I think high standards should go both ways and engineers should have mechanisms to hold their management chain accountable in substantial ways.
The Pentium MMX was also a perfectly usable desktop CPU, ran Windows XP and stuff.
Likewise when he left Google for Apple the media painted him as the director of Google AI
I dearly wish that security keys (Yubikey etc) were cheaper. The average person needs two keys so that they can store one as a backup. The average person needs keys that support NFC (or similar) so that they can easily use one across multiple devices. But the average person is not going to pay $50 for a pair of keys, regardless of the security or convenience benefit. It's not until you hit the $5/key range that people will use them without being strongly deterred by the cost.
> to go as low as possible

On the other hand, it could be to not give the workers a reason to unionize.
I haven't seen those movies but there's an unprecedented amount of work happening and not enough artists. Deadlines stay the same, so getting it finished at any cost is what gets the check cut.

A majority of people will never notice as they throw back popcorn and slurp soda, unfortunately.
I've seen that happen a few times, an expert in a field will greatly improve an article, only to have their additions removed or butchered by someone who's far less educated on the subject. The resulting edit war is "won" by the person better versed in Wikipedia's policies, and that's usually not the expert.

The bureaucrat wins, the article gets neutered, and the expert gets so frustrated they never participate in Wikipedia again. To me, it seems like Wikipedia loses more than it gains in this.
Is that cycle natural? More people means more for-food animals, more petroleum on growing and logistics, doesn’t it. Everything depends on everything, there is no clear end of chain. Humans don’t naturally starve at scale anymore except in few fucked up regions.
Cerebral Receives Grand Jury Subpoena from U.S. Attorney
I was a very early adopter and there was a time when it hit race conditions that somehow caused it to delete all files in a shared directory.

...that has not happened in the last few years, despite my intensified usage.
You could ask the PM of Sweden herself, who I'm sure knows Sweden better than you would. Is she alt-right?

https://www.reuters.com/world/europe/swedish-pm-says-integra...
Let's just say that is it correct that he is still known for his 2014 GAN work.
Is there a link to the source? I'd like to see how it is implemented as a vanilla JS app but there's not much to go off of on the website.
If there ever was a company that could've tried “Unix done right™” was Apple. Maybe Sun. But I guess it wasn't meant for this world.

Perhaps Apple's biggest contribution to the Unix/Linux landscape was launchd, which inspired systemd. I don't know if we would've endeavored in rewriting essential and mostly working decades-old parts if there wasn't a proven path already laid out.

Maybe LLVM as well, a modular compiler toolchain, but that's a strech.
True. I take it back.
Borrow checking gets a lot more complicated with closures that live past their scope. It’s usually much more frustrating than it’s worth.
Really interesting post.

One thing I think might be problematic for you would be fallibility in the `Adapt` callback process. i.e. if it would not be sound to change the state of a child due to some emerging app state inconsistency or similar.

To put it differently, I understand your architecture outputs a new _statically typed_ tree every time through kind of recursive state mutation. However, being statically typed, it is clear from the start of the operation what the end complete static type will be (to the compiler at least). If the transformation of one of the children is not possible (although the rest might be fine), what do you do?

The obvious way would be to make each conversion fallible, but this might be a pain to use/propagate. Otherwise, you might have state that all operations involved in state mutation must be infallible.

Anyway just my 2c. I might have misunderstood the mechanism, though.

Thank you for all your impressive work!
Elsewhere in this thread is a link to a blogpost comparing it to doing things manually with GCP and quickly dismissing it as extremely limited, so I didn't delve further.
There's some intersection in the Venn diagram between art and NFTs, but please don't think NFTs remotely encompass what art is.
Can you elaborate on how those examples prove your claim? None of those examples seem to show a political bias.
Ask HN: Do you have a Master's Thesis proposal for me?
Dear HN

I'm a Computer Science student, specializing in Artifical Intelligence, who is currently nearing the end of his second last year of university. This means I'll have to do my Master's Thesis next year. However, we must already choose a topic this year.

My university offers quite a lot of topics, but none of them got me excited. None of them gave me the idea: "This seems fun, I really want to work a whole year on this", which is unfortunate. When you have to spend at least 700 estimated hours on something, it better gets you excited. It better be something you really want to work on.

There is a bright spot. We are allowed to propose a topic ourselves (which is not included in the list of topics). This may be in correspondence with a company. The idea to ask HN for a thesis proposal suddenly popped into my head, which leads to the following questions:

Do you have a thesis proposal for me? Or does your company have a thesis proposal for me?

If you can answer any of those questions with a "yes", feel free to reach out to me at hn_sebos [@] protonmail.com. Additional questions are always welcome.
> credibly accused of child abuse in the Presidio daycare scandal

Man, I thought everything to do with the Satanic Panic was memory holed.
Many thanks. This looks neat and I will check it out. I am heavy user of Anki and was in a similar situation. I ended up taking notes in Notion and using https://2anki.net/ to create cards. It does restrict the type of notes you can take. Your application looks comprehensive. Thanks.
> But then the problem is that "imperialism" has been watered down into "everything your local sectarian Marxist group doesn't like."

That's a very Leninist view of Marxism. [1] If you're hearing that, it's likely from tankies. [2]

[1] https://www.marxists.org/archive/lenin/works/1916/imp-hsc/

[2] https://en.wikipedia.org/wiki/Tankie
Probably not.

I really doubt that most people would give up a job in a satisfying office environment with people they truly enjoy working with on a product/project they are excited to work on everyday simply because of they are told they have to go in and meet those people they really groove with three times a week.
Yes, Ankify adds an ID to the front of the card so that on re-import, cards are updated instead of re-added. I'm careful about making changes to the MD file. The ID are only added to the front of the card so that the content of the notes are minimally changed.

See more here: https://ankify.krxiang.com/docs/basic
You're interpreting this as a new meaning of capitalism but it seems to be a return to an older definition that came out of early socialist theory, where capitalism is defined by having an owner/investor class of capitalists and an (exploited) working class. I suspect the prevalence of this terminology is driven by the increasing perception that liberal (politicians) don't seem to care that large corporations have grown into monopolies, leading those concerned with this "corporatism" to turn to socialist theories as a way of conceptualizing the current system.
I assume Ian wants to get back into research/publishing papers as well, he hasn't published any good papers in a while.
He probably wanted the industry experience/research of machine learning in commercial applications with the scale and support of Apple behind it. When Apple designs things they design it with a fixed narrow purpose. Where as with Google you build general solutions. I think he wanted the experience of both.
This return to office probably just gives him a good out after he accomplished what he wanted to do at Apple.
I see your point except a "truthful and inclusive environment" would be positive (or at least neutral) to unionization.

So, clearly the latter.
Cool.

Tangentially related, but I have a GitHub Action [1] -- which converts all the notes I write in my (oft-neglected) TIL site [2], and which may also be of interest. It's simple stuff but yeah bit of fun.

[1]: https://github.com/Julian/til/blob/1b9ae162625d20d3e4b6a3ffb...
[2]: https://github.com/Julian/til/
[2b]: https://til.grayvines.com/
They move in lines because that's a mine-cleared path. And they move on roads at the north because other terrain is mud that even tanks get stuck on.
My yard currently has a bunch of maple tree seedlings sprouting up. At first I didn't know what they were and it took a lot of googling "what kind of weed is this" to find out. Since maple trees aren't usually considered "weeds," it took a while to identify these plants.

Anyway, there's a lot of them. At first I was hand pulling them, but after I identified them I realized I could probably just mow them and, once they've had their sprouting leaves chopped off, they'll just starve.

But the relevant point of my story is that I learned that:
a) apparently (some) trees really do just disperse ridiculous amounts of seedlings, many of which do germinate and at least begin to grow.
b) since I've never seen Maple trees growing in dense thickets like bamboo, I'm assuming that the vast majority of seedlings die off (and in fact a lot of the seedlings are sprouting in clearly terrible conditions that won't make sense once they're just a tiny bit larger -- in shallow soil, in deep shade, etc).

I'm a bit less skeptical that drone-based seeding would work thanks to this, though have no opinion on if that's an improvement over humans doing the seeding in terms of success and efficiency.
> Compared to for example Tailscale, WireGuard and ZeroTier, its much harder to block on a network level

Tailscale at least bundles in an HTTPS fallback for those situations. I’m not sure that claim holds up.
Anki is very powerful, but indeed that makes it a bit complicated to start with.

However, once you get your note types created, which requires HTML notation, you mostly just have to create content. I mostly learned how to do that by downloading community decks and checking out how they did it, and combining the ideas myself.

I create all my cards using Libreoffice Calc and saving as a csv file, then importing to Anki. Each column of the csv has a corresponding field on the note type.

Sometimes I use Perl programs to generate huge csv files from source materials, automating most of the creation of decks, and I convinced my language tutor to give me example phrases in Excel format instead of Word to easily import on Anki.

I think one of the most used alternative to Anki is Mnemosine, you can check it out, maybe it fits you better.
BS;

"How WhatsApp made money was by charging users $1 to download the app.

And Facebook (said they) supported our mission & vision."

And how the hell you thought you are going to survive with that business model? You were growing like crazy with millions of new users and millions of messages being sent everyday. You thought annual subscription fee of $1 after a free first year was going to keep you up and running?! That's just hard to believe.

Regarding the mission and the vision; they probably agreed with you on a mission and vision to "make the world more open and connected" not on your vision "No mining user data", "No ads (ever)", "No cross-platform tracking".

"FB and their management agreed and we thought they believed in our mission."

You thought that Facebook a colossal public company is going to spend hundreds of millions of dollars on building your infrastructure, on maintaining it and on innovating(introducing new features) and at the same time earn pennies from it. Again hard to believe that you were that naive.

"Tech companies need to admit when they have done wrong.

Nobody knew in the beginning that Facebook would become a Frankenstein monster that devoured user data and spat out dirty money.

We didn’t either."

>Nobody knew in the beginning that Facebook would become a Frankenstein monster that devoured user data and spat out dirty money.

You got acquired in 2014 and already by that time Facebook was racking in billions from advertising which was made possible from gathering people's personal data and then using it to create ad solutions for advertisers >>> YOU KNEW IT.
> An audit of gem changes for the last 18 months did not find any examples of this vulnerability being used in a malicious way. A deeper audit for any possible use of this exploit is ongoing, and we will update this advisory once it is complete.

How would folks do that with strong enough guarantees? Surely they can't review every gem change by hand?
Good for him.

These companies touting their solutions for creating a more connected world can't have it both ways. Apple was able to ship the M1 and roll out new iterations of many other offerings since the pandemic hit. They're just fine.

Apple didn't collapse since the pandemic hit, and the flexibility offered by remote work is far more valuable to lots of people than the loss of in-person collaboration opportunities. We deserve to have input into how we work best and if that means walking away from companies run by egomaniacs that need to see butts in seats, then so be it.
Sibling pointed out other societies which match a depiction of feudalism in scholarly work. Lacking a widely agreed upon definition of feudalism. I would personally define a feudal-like society as one with the following characteristics.

A stratified social-economic system where mobility between classes is a near impossibility. Economic interests are bestowed by grant or taken by force. The individuals who work for the economic interest are endentured to it.
Good thing that all grains, corn and non-meat alternatives are green, carbon neutral and cruelty free.
The History of the Word “Hacker”
> But once in awhile

The good news is that you seem to have no trouble finishing writing after a typo. ;)