skysight-inc/HackerNews huggingface dataset:
I suppose that depends on perspective. An argument can be made that a subset of the 50% of your YC batch are doing session management wrong if they're building a new app and feel they have to home-grow a solution.

That said, considering the standard guidance around session management is "don't do it yourself," then by delegating to you, your customers also distribute that risk to you and gain some amount of indemnity as a result. So using SuperTokens would be a valid risk management strategy provided firms are:

1. fine with what's essentially indefinite vendor lock-in (at least until they ditch the software platform they've written that relies on SuperTokens), and

2. doing their diligence around your security controls.

And if they've met those conditions and feel that paid session management gives them extra UX cases that they don't have available to them for building out their solution, then more power to them.

The only implicit guidance in all of this that I'll make explicit is to make sure you're investing in the security of your platform considering it's the product you're selling. Many of your customers who would consider buying into this service would do so knowing that it essentially comes with some amount of indemnification regardless of whether or not you disclaim it.

Final thought: it'll help you a lot if you clearly define a Shared Responsibility Model that outlines the security responsibilities SuperTokens will own v. the security responsibilities the implementing customer will own. What'll help even further is if you can then cement your Shared Responsibility Model and prove the controls you claim to have with e.g. a SOC2 type 2 that defines Complementary User Entity Controls.

There's a market for what you're offering, but you'll have to be strategic about capitalizing on it and not potentially becoming a victim of your own success as you acquire customers who themselves will be the targets of attacks- ergo attacks against your platform.
Lenovo ThinkPad X1 Carbon and Extreme laptops have anti-glare options for the display: https://www.lenovo.com/us/en/laptops/thinkpad/thinkpad-x1/c/...
I have a 1-person workspace for personal note-taking and also a 2-person workspace for shared files/links/photos/etc. in a relationship.

I also find the 1-person workspace to sadly be the easiest way to transfer files between my computers and phones. Like for example when I need to take a PDF with me to the airport or elsewhere, I just drag the PDF into my 1-person Slack workspace and head out the door. Every other method I've tried involves more steps. The mobile clients of Dropbox and Google Drive make it unreasonably hard to actually download files.
A while ago, I realized that I could just block all cookies for Medium.

Now I always have 2 free articles. ;) Let's see how long it lasts.
These days this type of report would seem to be classified under the phenomenon of ball lightning, no? [1]

It seems irresponsible for the article to not even mention it. On the other hand, I suppose that would puncture the fun that it would be actual extraterrestrial spaceships or something...

[1] https://en.wikipedia.org/wiki/Ball_lightning
It's not stupid though. Solar noon is already only noon noon only twice per year, so we already don't have a noon-based time system anyway. What does it really matter if solar noon is now at 13:00 twice per year instead? The times are all arbitrary. If you want to know when sunrise/solar noon/sunset are, you already always have to look them up anyway since they're different every single day. Personally, what matters most to me is sunset, not sunrise or noon, as sunset affects whether I'm biking home in the dark or not. And yes, I like daylight saving time because it makes sunset later, so it can be at 20:00 instead of 19:00 in the summer (neither of which is a more or less natural time than the other to have the sun set).
Well, hotel bills do routinely break out not just taxes but individual taxes. And it does matter. I just got back from a hotel where I was rather irritated to find that local taxes for just a 6 day stay added up to the cost of a very nice restaurant meal for two. That's worth knowing next time a politician talks about tax.

The hotel could treat such taxes as overheads and incorporate it into the price, but that's not really useful because they can't change it, only the customer can. Most business overheads aren't like that. If only a customer can affect a charge it makes sense to break it out and highlight it.
I agree with you mostly - it’s bad advice for people who know what they’re doing or have a specific reason for doing it, but it’s a good rule of thumb for a beginner or for someone who doesn’t have time to master design work who nonetheless does it frequently, like most small-shop web developers.

“Don’t use the flash on your camera” would be a similar rule of thumb for beginners, even though there’s lots of great flash photography and there are many circumstances where you’d have no picture at all without the flash.

I’d wager 95% of people probably go through their complete lives without ever thinking about how color works in visual media, and I appreciate posts like this one that may crack a few of those nuts.
Still waiting for it to happen.

Also most votes were from a small set of countries. I was never given notice of a vote.
Ask HN: Books for Java Programming
I haven't used Java in 8+ years.

What are some good books or resources that you would recommend that cover topics related to concurrency, latest language features, garbage collection techniques?

Not looking for an introductory programming book
Nftables: The Successor of Iptables
> This comic seems aimed at tone-deaf people trying to get others to stop catastrophizing

Funny, my read was that the author is on the side of the catastrophisor, 'this is what your unsolicited advice looks like - you don't understand what a catastrophe the recipients in'.

Nobody ever gets a chance to give advice to someone falling off a cliff or getting hit by a truck. Isn't it the comic itself (at least) that's doing the catastrophising?
Thanks for this - seems like it will come in handy.
> I imagine you'd get shot down immediately if you as much as tried to enter the vicinity of a military zone.

Having been detected, yes. Delayed detection begets delayed response. The implication is this craft was not immediately detectable electronically. I don't think any ground-based security force (e.g. some folks standing guard or patrolling in vehicles) are under standing orders to just shoot at something they see in the sky.

If you can get your mini-drone past the radar, you've got a chance at getting some good video and stills and getting your drone back.
Top three stories from the JavaScript world, dispatched weekly
Ah Yes Facebook... no other company works as hard to be friends with Authoritarian / Far Right political groups. Proud of you Zuck. </sarcasm>
Only when you are connected through your pi-hole.

Also, when pi-hole and mitmproxy are our only options to know what our device is doing and to block things we don't want, then we've lost. The web browser is basically the last bastion of control that we have with its devbar and networkbar and all. Blocking content/requests is something our devices should be able to do themselves.

It's a miracle of history that we have the browser, and it's hard to imagine us having it had it been invented today. We need to fight to keep it, not dismiss it with "ugh web tech amirite?" while we regress to native app black boxes as our only option.
Quaternions are just the special case of a rotor in 3 dimensions, so quaternions are the geometric algebra solution.
Thanks for this explanation. I have a tendency to do this and I'm not sure if it's from being a programmer, where predicting a cascading effect from a single decision is very useful... Or if I'm a good programmer because I already had this tendency. It's not great for relationships.
Just wait until we become a multi-planet species...!
Right now stripping Netflix's 4K DRM is possible but it requires buying a new Nvidia Shield TV for every release you do. If you could strip the DRM without buying expensive hardware every time people might be slightly quicker to release the entire 4K Netflix catalog.
It's crucial to recognize that for most of Apple's existence, they sold only their own products. Reselling third-party products was a nonexistent or minimal part of Apple's business. That changed with the iTunes Music Store, and it took off from there.

I like Apple's first-party products. I want to buy into that ecosystem. But I never wanted to buy into the ecosystem where Apple is a reseller. I don't want Apple to become Amazon.
Requests should be kept alive. For any system, if the requester goes away, eventually the system should stop doing work on their behalf. That seems like the root of the problem in the situation you're describing.
Inciting ethnic violence was one of the official reasons why TikTok was banned in the country, so surely nobody can object to applying the same Indian standards to Facebook communication, right? Not to mention India already has hate speech laws, so I don't see how Facebook enforcing them on their platform would be anyhting else than complying with... Indian law.

https://en.wikipedia.org/wiki/Hate_speech_laws_in_India
Until one of the systems break and you're forced to give up the black box illusion.
Don't be surprised then if people stop actually using wall clock time and start saying things like "3 hours after sunrise" or "2 hours before dinner" or something, as both of those are much more comprehensible absent any other context than just saying 17:30Z. There is a large demand for the concept of a local time, and people are always going to use it.
He was 17, so regardless of his actions, he's still a kid. And he wasn't just walking around, he was defending business and property. Earlier in the day he was cleaning graffiti off of buildings in Kenosha
Projectium – A Networking Platform for Startups
Ok now it gets personal and emotional. My last reply.

I think you got lost in feeling angry for some footage that shows injustice but forgot we were debating evidence for concentration camps.

Injustice happens everyday and everywhere. Chinese people feel the same and we have our channels and ways to address those issues, otherwise there wouldn't be a functional society, which is a fact no matter what you say about China.

And you are wrong to think Chinese people just eat up what injustice that are imposed onto them. Chinese people protest always and rebel always in the past and now. You need to teach yourself more of China's history and Chinese people before rushing emotional comments.
As a kid and teenager, I used to vehemently hate clichés and "folk wisdom" delivered to me by family and friends. It took me until adulthood to finally accept them and understand them for what they are. And what they are is tried and true heuristics, that apply more often than not to situations in which they're invoked.

The problem with those is that they're just pointers, handles to a set of complex reasoning and personal experiences - so you're unlikely to grok a given piece of folk wisdom unless you thought about it and already navigated a situation in which it would apply. So for a teenager or young adult, they sound trite. But for someone with a couple decades of life behind them, they're concise.

Now that applies to the kind of clichés you'd find in a dictionary. The kind you see in this article/comic strip? These are just pseudo-zen bullshit peddled by self-help industry scammers. They pretend to be actionable, but are completely empty. I wish people would stop with those - not on the grounds that unsolicited advice is somehow bad, but on the grounds that these particular pieces of advice are objectively useful only to sell books and training courses.
To clarify, the article contains only the images and nothing else -- not even captions.
It's generally just not necessary to give people unsolicited advice.

Even more so to people that you don't know well.

You are overthinking the metaphors in the comic. They are just there to emphasize that the advice isn't doing the person receiving it any good (or is your premise that the person about to get hit by the semi will suddenly act differently having been encouraged to focus on the things they can control?).
That is the the exact opposite of my parents, who are both doctors.
I'd be careful about drawing general conclusions from https://github.com/ixy-languages/ixy-languages

It's using some non-optimal patterns that you would not normally use in Swift for code if you wanted it to perform well. (There's a nice performance analysis if you click in, showing that it's using ARC in an inner loop, which is taking 3/4th of the time. That's not something you need to do.)
As I said, everything works, except for remembering the screen brightness level.

It has 8GB soldered and you can put additional 16GB on the second slot. For me this is good enough.

Hardware video acceleration works out-of-the box with kernel 5.8.

I am not sure if the nvme slot is soldered, but as far as I remember, it's not. It has an additional slot for a standard 2.5 inch drive which you can use to increase capacity.
> The big ones down the line are new methods of organizing and collaborating. DAOs allow for decentralized corporations and governments.

Ok, dumb question: How would such a decentralised government keep itself from being overrun by, say, the Russia troll army, or any other actor with enough resources to take over a majority of it?
Indian Population doesn't take digital world seriously, and majority have no digital literacy, so it is difficult for that to happen.
Creating a smart alternative to 'CD' command
I tried to look up the 2012 Chevy Volt. There is only 2 years of data for an 8 year old car. Not sure what its trying to tell me about 8 year old batteries when there is only data for the first 2 years.
> I wonder if that is the most realistic version of a future were we still have private lives.

I think it's almost impossible for someone to build these data streams and not look at them. Look at the mass amount of surveillance every major country is participating in. Government officials in open and democratic countries have lied about the amount of surveillance they are doing, get caught, and keep the surveillance going. I think the more probabilistic future where we have private lives comes from futures where that technology is never built. This is to say, privacy is almost certainly dying.
I'm wondering why this post got suddenly removed from the front page...
> it means changing millions of people’s daily rituals and businesses schedules.

Last I checked that’s already well under way!
> I dislike this attitude. The idea is to convince people that unsolicited (mental health) advice is pointless and the behavior change the author would like to see is for people to stop giving these clichéd wisdoms.

We don't know the author's actual motivations. They may be suggesting that you should think about how your message will be received before delivering it, ask before offering it, wait until it is asked for, consider how you say it, think about whether it is necessary to deliver, or to not offer it at all.

As for mental health advice, that's something altogether different. Unless you are extremely sensitive and have a solid understanding of human psychology (i.e. not this is what worked for me) and understand that person's background, offering advice is a risky proposition. Also note that giving advice is different from offering support.
Vaccines usually take around 10 years to develop, now we are trying to rush them out in around a year. Russia already developed a vaccine, but no one seems interested, instead we are expecting the rushed one from the west to be somehow better / more trustworthy. Meanwhile hydroxychloride is used by millions worldwide without issue, yet only now it is considered dangerous for treating covid.

There are so many contradictions surrounding covid, it's not surprising that the public aren't interested in what scientists have to say.
This is the argument all monopolies use. If they open up, they cannot warrant the quality. The telecom operators could say the same thing not to open their networks. But at that time there was no consumers defending the telecoms.

There are ways to open up, they already do for Macs. The argument is weak.
Why the hell are you waking up so early then? The last time I intentionally woke up before sunrise was years ago at 4:30am at the bottom of the Grand Canyon to start the hike back up before it got too hot.
man this is a bad...comic? It seems like the author has gone through a lot, but I bet they haven't been in any of the life threatening situations they portray, and I think equating mental health crises to imminent doom is doing a disservice.
Would it really take that long for people to forget local time and meridians was even a thing? I'm not generally interested in big or frivolous changes, but my god, having the entire world on one clock would save so much grief (mostly internalized so we don't even notice the annoyance anymore). I saw we suck it up, and do it for future generations.
Great minds, etc.
Your phone, in combination with an appropriate license, would /be/ a ham radio in this context?

You're railing against a small thing I'm not even engaged in. Your phone is not more powerful than something like the USRP, for example, and that's quite popular among hams these days.
Indeed. In Chadwick Boseman’s case, the onset was at _such_ a young age that it suggests (total speculation) he might have had a hereditary cancer syndrome or some other familial risk factor. More widespread genetic testing may help people like him in the future.
> Use infinite timeouts for outbound calls.

Don't use infinite timeouts if you don't have a another way to cancel the operation.
There seems to be some new culture where it’s OK or even celebrated to answer to good intentions with snarky hostility.

If the advice isn’t to your liking, let it slide right off you. It will not make you feel better if you berate someone who’s ultimately trying to help you.
A Powerful Nissan Insider Tore Apart Carlos Ghosn’s Legacy
Rewriting it has nothing to do with it being in Rust. The reality is that I don't have a lot of free time, but I really wanted to get the project into a functioning state (even if it sucked). So I took some shortcuts a couple years ago in order to get it fully functioning (more or less) in a short amount of time. I would have taken those same shortcuts in any language.
By this logic, Zoom shouldn’t exist.

Product innovation and quality represent very little of a company’s value. Distribution is where value is derived, and Asana’s distribution is incredible. And their product isn’t bad!
The first person was killed because he threw a plastic bag.

"The complaint claims that cell phone video showed Rosenbaum, who appeared to be unarmed, trailing behind Rittenhouse before throwing a plastic bag at him. As the pair approached a car, a loud bang is heard, followed by an unidentified male yelling an obscenity. When Rosenbaum gets close to Rittenhouse, another four bangs are heard."

The widely circulated video is of people trying to disarm.him after he killed the first person.

https://www.cbsnews.com/news/kyle-rittenhouse-kenosha-shooti...
If you think Apple owners don’t know about this, you are mistaken. Curating the App Store is one of the main reasons why I buy Apple products. I want them to tax and restrict developers.
I think it was MSNBC and a panel was discussing Kenosha and one of them matter-of-factly called the person in question "white supremacist" without any supporting evidence. There is no journalism --it's just narrative.

Obviously there is a lot we don't know and the case may reveal more facts we are unaware of.
Whataboutism. And a terrible effort. There has been no confirmed violence traced back to left-wing groups. Criminality has mostly been opportunistic by local criminal gangs, spontaneous personal conflict or organized by law enforcement against civilians and journalists. Only right-wing groups are organizing terrorism. And the comparison is pointless. We should decry this behavior whenever we see it.
Unbelievable find! Thnx for posting ;)
Actions and articles like these are openly promoting discrimination and racism.
We live in a postmerital distopia.
He transported an illegally owned firearm across state lines and used it to kill two people.
Were all the machines which reported that in the same building (your software could been used in house). If so, better check for radiation levels, for health risks; I have never seen a RAM test fail actually (apart from a completely broken chip)
One Author's Argument 'In Defense of Looting'
That the _s functions are part of Annex K, which is optional, often not very good[0], and whose reliance on runtime checking is often considered problematic given we're talking about C developers. The politics referred to are because the annex is basically a bunch of Microsoft extensions pasted in the standard.

Take printf_s for instance, its main job is to forbid %n, at runtime[1]. It's much safer and more reliable to perform static analysis to mandate literal format strings and forbid %n.

[0] aka not very well designed, and not really good at leading developers away from mistakes, they also deviated from some "unsafe" functions in ways which could be quite critical e.g. strncpy_s infamously does not zero the destination buffer like strncpy, which might not be expected by people catering to codebases knowingly taking advantage of this property

[1] it will also check for %s null pointer which is somewhat more helpful, but again we're talking about C people here
What an excellent write up.

I hope Slack review the payment and give you a bit more.
Seems unlikely to happen. While there are negatives to either changing the time or New England being in Eastern, there are also very big negatives to being in a different time zone from the rest of the East Coast, especially NY and being another hour removed from the West Coast. Large companies will keep de facto operating on ET.
Outreachy is currently accepting applications for internship positions for December- march period.
I'm with you here. My preference in order is: 1. Permanent daylight saving time. 2. Permanent standard time. 3. Changing between the two as we have now.

It's the shift itself that I hate the most. Although without the shift, a lot of places are going to need to be more adjustable in their schedules, because some fixed times for doing things in the summer don't make sense in the winter, and vice-versa.
> why are the school schedules stupid? aren't they inheriated by the work schedules of the parents?

the whole idea that schools are places to dump your kids so you can go to work is stupid.

we can't have it both ways. i've been saying this for a long time but unless people revolt and refuse to have children until we "pay" people to raise their children, things won't get better. lets see where they find more consumers to buy/pay for crap when everyone just refuses to bear children.

i don't necessarily mean pay as in with money but with worker's rights which I guess does translate to money...
This implies the primary intent of life is to collect memories. Memories die too. If not with you, probably with the grandkids.

These days when I enjoy a moment, I don't even bother clicking a picture. The goal of life is to have as much of those moment as possible with a confidence that you won't be searching for interesting memories when you get older.

I maybe wrong. Maybe in the end, memories are all that matters but I'm about to find out.