skysight-inc/HackerNews huggingface dataset:
How is the setInterval cleared when Counter is no longer rendered? It seems like a leak.
Hah, this reminds me of high school!

For my final year project, I knew I wanted to write some kind of software, and my Programming Languages professor suggested that I pick a generic topic like "A program in C++" and then I can build whatever.

This was at a time when we just started using mobile data (GPRS) on our phones and SMS was very expensive. It's also when I met my girlfriend, now wife, and we were constantly messaging of course.

I needed a cheaper way to communicate. This was before there was WhatsApp, Signal, etc.

So I wrote Tiruriru. It consisted of:

- a Java mobile application that you could use to send messages to your contacts over GPRS
- a GSM modem written in Python that would call and ring the contact's phone number 3 times when you send a message to them because no one was connected to GPRS at all times
- and finally a REST api written in C++ with Wt Toolkit that was communicating with the app and the GSM modem service.

Since this used very little data it was 10x cheaper to send messages like this than to use SMS. We ended up upgrading to Android phones soon after and 2g/3g/wifi was available everywhere.

That's the story of how I wrote "A program in C++" in high school :)
I always assume that the author has a motive. It could be altruistic, it can be deceptive, but there's always a motive. Compare multiple sources together and assume that every situation is always evolving and that even the best of intentions get it wrong sometimes.
For the Ukraine war: also do not trust any information sources.

Even the good guys are lying.

I've been watching foreign news (Sky News, while I'm American), to avoid both our own biases, and the inevitable chatter about American politics. Sky isn't perfect, but at least if they're being deceptive, it probably won't be targeted at me.

I also like the Reddit live thread and a Twitter account @EnglishUkraine, keeping in mind that they both will have bad information sometimes given how quickly they report everything.

Normally, I just don't read the news. Pretty much at all. It takes a pandemic, or an invasion to get my attention. It's a conscious choice that I believe is beneficial to my health.
A lot of wisdom here. Allow me to just restate and expand on some of your thoughts.

1. If it goes from experimental to ship, you aren’t going to go back and make it shipshape.

2. Sanding time is meditation on the product. As I rework, I’m revisiting the code and design at multiple levels.

3. Before 10am is the old programmers 2am. It’s quiet. The hustle and interruptions of the day haven’t begun.
Oh I missed the point on React altogether. After 10 years, I still fail to see why anyone would use it voluntarily.

But coming back to JSX, a custom function call syntax is OK and pure because it has a one to one mapping on line number?

I don't know if there's much point in discussing purity since it's badly defined and mostly in the eyes of the beholder, but it always smelled like one hacky syntactic sugar to me.
Exactly the same here. Nowadays I go through the changelog and often I realize there is no changelog for the update, or it is totally irrelevant for me (e.g. bug fixes for other android versions or problems which I don't have, marketing changes, cosmetic changes, features I don't need, etc.)
Great book. Over the years China Miéville has taken fantasy/science fiction into incredibly imaginative and thought provoking areas. In passing, The City and the City was also made into a miniseries on BBC2. [0]

[0] https://www.youtube.com/watch?v=iDuTw7uOtfE
MasterCard Statement
Folgezettel is More than Mechanism
I don't know what the likelihoods of either are but if I had to guess I would say that yes, hostile third countries are more dangerous than my own country.

Also, I consider that I would have more recourse against an actor from my own jurisdiction, I think you have pretty much zero recourse against the government of a hostile third country.
"Stop Using Encrypted Email" is mostly a weak restatement of "The PGP Problem". That anti-PGP rant has issues[1] that are relevant here.

The new bit is the idea that someone will leak an email with an unencrypted CC: or forward. That's an easy to resolve user factors issue. If we were actually encrypting our emails then attempts to send unencrypted emails could easily be highlighted and discouraged.

Long form asynchronous messaging is important and useful, particularly in business. You can't just wave it away. By nature it can be made much more secure than something like an instant messenger[2]. The Cellebrite attack against Signal is a good example of that. Cellebrite gets all the archived messages in the case of Signal and none of the PGP messages.

[1] https://articles.59.ca/doku.php?id=pgpfan:tpp

[2] https://articles.59.ca/doku.php?id=em:emailvsim
On accordions, I'm of the opposite opinion... sort of.

I love outliners such as Workflowy and Dynalist. I'd like most textual content to look more like them. It's really great being able to expand/collapse/zoom into entire sections, link from one section to another, etc. You can expand everything with a single command and you should also be able to flatten the tree and read it like a normal page if that's how you like it.

Regular pages with accordions are just a poorer version of this. I'd like it to go all the way in that direction.
I want you to own a piece of abillion. Here’s how and why
This guy SWATs
RC car racing using the crank as a steering wheel (like a pistol-style RC control)

Riffing off your skateboard, other balance games like tightrope walking

Something where you're a hamster in a hamster ball
Just wait a couple weeks until they get relobotomized by CNN & Friends, then they won't really care about whom they are going to war with so long as they throw enough bombs around
I agree with the OP's point. If you work in tech then having your own domain tells me you understand at least a little of how the internet works.

I notice email domains on resumes. You get bonus points if you list an email from a custom domain on your resume.

I don't look kindly on developer resumes that have emails from aol.com, hotmail.com, yahoo.com etc. The last one indicates that you probably don't care about security.
The idea that Russian state-controlled media are useful to find the truth in the middle seems a bit far-fetched. Reputable media in most countries call this a war, Russian news says it is a special operation to rid a country that doesn't really have any claim to sovereignty of its Nazi-leader. Chinese media is pretending nothing is going on at all.

So applying your method leaves us with: a conflict (but not really a war) where Russia is not quite invading a not quite country to protect Russians and get rid of Zelenski, who is a bit of a Nazi?

There may be nuances and opinions, but the facts presented by non Russian/Chinese media seem rather uncontested.
Out of curiosity, what could RIPE NCC do if it decided not to be neutral and to side with Ukraine?

I could imagine it can withdraw all the IPs assigned to Russia and Belarus. What would be the consequences if so? Perhaps the collapse of the whole Internet in Russia and Belarus, as ISPs will not be able to provide their services and all websites hosted there will see their URLs being disconnected from their IPs?
I agree that hooks "can" be messy but in my experience they are quite useful and nice to maintain. That is if the code is written with maintainability in mind - which applies to any code really.

I've been working on a quite complex React codebase for 5 years now - it's not the biggest but still not so small. I was there on day 1. The team that works on it now full time is ~15 devs + 10-15 doing some minor stuff from time to time.

We've started using hooks about 1 year after they introduced them. Before we were very deep into redux and redux-saga. Now most of our codebase uses only hooks for most of the things we did with redux before - there are still some redux but most major parts are migrated to using hooks and contexts. It is probably the best decision we made after switching to TS. Most of our codebase is still very easy to maintain. Last year I went on a paternity leave for 6 months and I was pleasantly surprised how easy it was to adapt back.

Edit: forgot to write about Elm. I like elm a lot -even though I don't agree with how it's managed-. I even organized a local elm meetup :) But I think while it is very good in theory, it's not too easy to scale especially if you plan on hiring more devs. Also the way effects and data is completely separated from the view is not very ideal for bigger projects. You either end up having to touch too many files for a single feature or have incredibly big files.
A guitar hero/just dance style rhythm game
I don't trust even my own government. I'm not *more* worried about China messing with me. The NSA has more info on me that could potentially be used against me than Huawei. And I've never once seen a situation where the NSA digs data out of their vault to help exonerate an American on trial.
Nvidia DLSS Source Code Leaked
Show HN: Party Banner for Apple TV
Good morning HN!

Today marks the official launch of Party Banner for Apple TV. Even with digital signage on the rise, we often tend to neglect one of the center focal points of our living and office spaces... the TV. Looking for a way to utilize this otherwise empty canvas, Party Banner takes every special occasion to the next level with premium digital banners that will be sure to impress your friends and family. Please share your thoughts on the app, and any banner designs you would like to see in future updates. Thanks, and party on!

https://partybanner.tv/
> Moreover, nobody asked Crimean nations anything. They are shot or moved to Siberia.

Well, they voted in a 2014 referendum.
It is my daily driver, I bought and received my A5X early October 2021. I am surprised with your question.
Likewise I simply don't empathise with the author's complaints. Hooks make sense if you think in closures. Hooks are isolated so you can think about them in isolation.

What I like about the React monoculture is that it's one less thing I have to care about. I can focus on the other aspects of my programs, beyond turning JSON into HTML.

I haven't used SolidJS so I'm not going to put it on blast. However, hearing people compare its reactivity model to Knockout JS gives me the heebie-jeebies, because Knockout projects were horrific to reason about (and test) beyond a certain scale.
Oh that's jumping the gun. TEA doesn’t compose and you can pretend you don't need components until you do and then you end up with big mess of hard-to-follow spaghetti code. It's not 'bad', and has good use cases but The Elm Architecture is not without flaws.
Just use Tutanota (€1/month) or Proton (€5/month) and be done with it. They even have free versions if you don't have your own domain.

What I'd love to see, though, is that organizations (banks, authorities, etc.) start using such systems as well so that they can actually send documents e2e encrypted.
I don't know if that is the same SkyNews that we have here but if it is I would avoid it like the plague. It's effectively our version of Fox News. If you want something non-biased (from Australia that is) then ABC News or SBS World News is as close as you are going to get. Both are funded explicitly in a way that avoids biases (but also why our government has been trying to take said funding away...).
This does look fun
I "discovered" the jackalope in the 1970's on one of the first road trips our family went on. Of course it was to the Badlands of South Dakota, Rapid City, Wall Drug. Even though twelve years old, I was attracted to the kitsch of the thing right away.

I'm somewhat torn because the internet has made the world so much smaller that something like the jackalope is less likely to be an accidental find on a road trip into the sticks. It will pop up in someone's Instagram feed and be just another of the day's mild amusements. "Discovery" has become too easy — less magical?

At the same time, without the internet I would probably not have known about hundreds of other things that have obsessed me over there years — had not, for example, made a point to seek out and hike on the Nakasendo highway in Japan.

Warning: kitschy Shonen Knife song, "Jackalope" (just to tie everything together):

https://youtu.be/EunmGUje5cQ
> You prefer China (presumably here we mean the CCP)

There only exists one official China on this planet...

> because some American companies have done the moral wrong

Do we really wanna talk about all the wrong American governments and/or corporations have done in the past 75 years?

Or how many resources they depleted while large parts of the World were barely surviving?

Are you sure?
Well if you want to get rid of the robust violent regimes that engage in war outside of their borders than you should start with the US. They have been involved in much more conflicts and killed much more civilian people all over the world than Russia.
They have a function for it. From TFA: "Capture detail in every meeting with audio recording and notes. Make a mark on your recording while taking notes, then tap on the mark to play the exact audio clip. Review your content more clearly and efficiently."
Toshiba CEO suddenly resigns amid opposition to restructuring plans
Token-Based Authentication System in Node Using PassportJs, Express, and MongoDB
Rewrite the email protocol entirely, using crypto by default and MIXING.
Hey man. Just chill. We're a bunch of opinionated techies that like to banter - but we don't sign your pay check or teach your kids or do anything that's actually beneficial for you.

You don't owe us an excuse
> it's a subjective opinion.

No, it’s objective. Font weight 200 at body text sizes is unequivocally bad, and should never under any circumstances be done. It’s in the same ballpark as using #ddd on #fff for your body text.

As for the phrase “catastrophically, disastrously wrong”: yes, it is particularly extreme, and I didn’t use that in the original writing (nor would I be likely to) but only in qualifying the specific point in the reply, doubling down on my judgement, and I think it’s reasonable in that context, matching the definitions of the words—though certainly on the extreme side. The specific catastrophe here is that if the user’s fonts allow the style to have full effect, the page is rendered completely illegible. This is a catastrophe and a disaster for that user. It’s similar to putting aria-hidden="true" on your body element, which will be a catastrophe and disaster for your site for that blind user who needs to use your service. To be sure it’s not on the scale of a flood that drowns an entire city, but the words are not reserved only for events of such magnitude.

Sharing a thing with others in a way that indicates that you think it’s suitable for general use, especially encouraging such use, is an invitation for frank criticism. Most people that use such things won’t know better, which makes spreading such awareness more important.
My feelings exactly, it makes for a satisfying separation of concerns, and if you understand what's going on under the hood it makes for cleaner templates and more obvious component code.
> I'm wondering how you personally deal with possible deliberate misinformation on the internet. Lately I've begun to doubt every source of information that could possibly be shared because of financial, political, or misplaced altruistic motivations. So I've been ignoring as much as possible.

Precisely that is the result that the masterminds behind the "firehose of lies" and the propaganda want. Distrust in media, distrust in government makes it easier for the enemy (no matter if it is Russia, China or domestic) to act. And the fact that way too many people do not have the adequate time (because they have to work two jobs or way beyond reasonable overtime) or the skills (more than half the US are barely literate [1]) to properly judge news on their authenticity makes things only worse.

The word democracy has demos at its core: the populace that forms the society. And the less people trust democratic processes like elections or an independent and fair justice system and the more people withdraw from taking part in democratic society as a result of all of that, the worse the eventual outcome is. The best condition for authoritarian rulers to rise is when the majority of people doesn't care or doesn't recognize the looming danger.

[1]: https://www.wyliecomm.com/2021/08/whats-the-latest-u-s-liter...
Woke culture.
I am using it totally offline, I just plug it with the USB cable in my laptop (running Linux) and have a full access on the content to sync as I wish and need.

I haven't used their cloud offering.
China is currently having about 18 border disputes. Amongst all the non land grabbing stuff they are doing.
Same, I just use classes for anything that needs more than a few lines of business logic.
I can relate to this. The process of studying ML algorithms, how and why they work from the mathematical standpoint was really fun. But the process of building models themselves seems quite boring to me
>There only exists one official China on this planet...

ROC an PRC agree on that at least.
How is Julia doing in that regard?
RT isn't a news agency; it's an external propaganda organ. A western comparable would be Radio Free Europe.
> It does not make code any harder to understand or to write,

Well, what can you tell me about TypeScript type inference for this custom DSL?
To quote Martin Luther King Jr,

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality. There comes a time when silence becomes betrayal."
I've been using Angular in production for 5+ years. There was a year where things were confusing, state updating all over the place, and general frustration. But once I grokked pure components, and embraced "data down, actions up", it all clicked and just made sense [0]. I find React obtuse in comparison.

Angular front-end, Nestjs backend has fast become my stack of choice. It greatly minimises context switching by having such similar paradigms across frontend and backend.

[0] - blog series I wrote detailing Angular best practices that I learnt along the way: https://link.medium.com/ncYgWgnK2nb
To provide a third vote: My midsized company barely considers people without degrees, even if they have extensive technical work experience. Example: I had to battle hard to get somebody considered for an entry-level non-technical role, and they ended up being rapidly promoted within engineering once they got past the recruiting screens.
Oh that is very very cool. I think something with the kind of quirky rotoscoped animation like they had in the original prince of Persia games would fit so well on this.

Now that I think about it. A remake of the original prince of Persia would be such a joyful experience with the mechanic you thought of.
> And would I have minded if they didn't put me there? No, and honestly I almost find it weird sometimes that they did... I certainly didn't ask.

Having your name in the credits brings some of your reputation to their project. Having 'name brand' contributors is a benefit all its own for many projects.
Functional programming patterns in Smalltalk
The point is that far too many people die for lack of money in America.

For more, see South Park - Cure for AIDS: https://www.youtube.com/watch?v=oHGsLQXpsWI

I suggest not dismissing solutions for desperate people in mortal need, over a wholly appropriate but misinterpreted quote from a song.
> If the Russian people don't agree with war. They would show up in the capitals and shut down the country until this problem is resolved

After watching a video where Sergey Naryshkin, the director of russian foreign intelligence service, was visibly stuttering trying to find the right words to answer a simple question by Putin, hoping for his dear life that he didn't say something wrong, well, I'm not quite sure a reasonable person who cares about the life of their loved ones is going to risk it all. There wouldn't be dictators if it was easy to go to the streets and take it back.
Chindle
Haha, this is a great idea. I hadn't thought of that one. Maybe it's a little bit obvious though..

Subtle makeup would be cool, I seem to remember the eyes, and bridge of the nose are key for facecial recognition. Maybe that's something to look into.
He/she means everything, because he/she cant otherwise verbalize what upsets him/her

All the news cycle becomes a tangled mess of "being upset at things", it doesn't really matter if these things are verifiable or not, the broader apparatus benefits either way so long as you become irrationally upset
For me, in this order:

1. Being able to work in interesting tech.

2. Good pay.

3. Job is stable if performance is good.

4. Being able to work with smart people.
CEO and co-founder of Routefusion, a global payments company. In theory yes you could just setup some other form of communicating between the banks, such as phone calls lol. What you will not get is efficiency, trust, etc etc. You dont just replace SWIFT, Ripple, has been trying for a long time, and are still not close.
Ok, how do I force those I communicate with to do the same?

Email encryption needs to be standardized and available in common email clients. A few proprietary providers is not a real, effective substitute.

But of course, the privacy invading "free email" providers would never play along with this.
But I don't really want that. I hate that my code is spread out over HTML, CSS and Javascript files, it makes it hard to see the whole.

Javascript offers ways to do everything only in Javascript. That's wonderful.
>We’ve been there before, and intermediate layers between the platform and the developer ultimately produces sub-standard apps and hinders the progress of the platform.

What Steve said is true. But I wonder what if, the platform shift to the Web.
The Steam Deck Is Incomplete
A plug for Stratfor.

I know they have connections to the Western intelligence agencies but if you’re ever looking for a facts based analysis of a geopolitical situation, their reports are very good - dry, but highly detailed and often provide a lot of historical context for how the present situation arose.

Not unbiased, but I guarantee you’ll learn something.
> hide their content from you if you don't allow them to run JS. Not out of necessity - purely out of spite.

Like a news site?
> it's insane the state failed to support them in creating truly great things.

Insane, and tragic. I blame Stalin. He created a state where the only people who could stomach being an apparatchik had no moral center, where real power always flowed through backchannels, and where limits on official power were always provisional and informal. Putin is just the cynical dregs of this system.
Songs about Nuclear War
Noting that, Huawei is especially special in these Chinese tech firms.
I come from China and I, personnally, shall never buy any Huawei product. This is the compony really makes me disgusting. They advertise their products by tying themselves with Chinese nationalism. I.e., if you do not use Huawei as a Chinese, you betrayed your country. WTF. Their advertising strategy is even undermining the entire Chinese socirty, IMO. If you can endure this, or if you love their propagandas and support Chinese nationalism particularly, order your next Huawei phone or pad or something. Personnally I shall never.
BTW, I do consider other Chinese firms.
I declare that I do not have any interests with these companies, I'm only a humble consumer, believe it or not.
>How would you recommend me to switch to SWE the fastest way possible?

It's very simple - finish your degree then apply for intro SWE positions. You'll have no problems with your background and skillset. You'll find other people with math degrees working as SWEs in industry.

Just make sure to finish your degree.