skysight-inc/HackerNews huggingface dataset:
And I much appreciate your feedback :) Whenever I try to think of what was the best practice idiom, I always mix up map[T]struct{} and map[T]interface{}, due to the curly brackets at the end.

As you can tell, it's been a while since I've written Go.
> Many of the nation’s largest and most influential law firms donated more than 90% to Democrats and President Joe Biden in the last election cycle, confirming their position as one of the most liberal professions in the country.

That does not say what you think it does.
It got renamed in the latest draft. Not sure why it's not at IETF, that sucks, but same stuff. https://wicg.github.io/webpackage/draft-yasskin-httpbis-orig...

> You're projecting

Cheap, mean, and vacuous. Trifecta of cruel callousness. What do you know? These are just words posted here but I see myself as trying very much to engage here, to work with what is about & layer enhancement. Sure Im zealous & rigtheous a bit too, but my value call: that too many have a refusenik tear it all down/reject everything/start again destructiveness? That that shunts real progress? That assessment, that hypothesis is not projection. If you want to make a case & not just throw bombs, I'd love the chance for self assessment, but this is just poison right now & low.
Have you tried guided meditation videos for sleeping?
I had posted the most relevant paragraphs in https://news.ycombinator.com/item?id=31255450 but it probably should be here too:

>On April 7, 2022, a threat actor obtained access to a Heroku database and downloaded stored customer GitHub integration OAuth tokens. Access to the environment was gained by leveraging a compromised token for a Heroku machine account. According to GitHub, the threat actor began enumerating metadata about customer repositories with the downloaded OAuth tokens on April 8, 2022. On April 9, 2022, the attacker downloaded a subset of the Heroku private GitHub repositories from GitHub, containing some Heroku source code.

...

> Separately, our investigation also revealed that the same compromised token was leveraged to gain access to a database and exfiltrate the hashed and salted passwords for customers’ user accounts. For this reason, Salesforce is ensuring all Heroku user passwords are reset and potentially affected credentials are refreshed. We have rotated internal Heroku credentials and put additional detections in place. We are continuing to investigate the source of the token compromise.
While I see your point, I'd argue with "there's no benefit to doing better."

People are motivated by more than money. Mastery, autonomy, and purpose come to mind.
Oh and Semantle
> Separately, our investigation also revealed that the same compromised token was leveraged to gain access to a database and exfiltrate the hashed and salted passwords for customers’ user accounts.

What else was in this database? Typically the password field is stored alongside the rest of the user record. So was this the entire customer database that was stolen? Usernames, emails, salted/hashed passwords, what else?

I feel like at some point they're just going to go completely radio silent because the extent of the breach will become such that they'll have no choice but to just lawyer up.
I studied computer science (didn't finish final thesis) and I work as a full stack developer (mostly ruby/rails/nodejs/react). I'm a crypto enthusiast and I'm looking to switch to web3/smart contract development. My github profile is https://github.com/romeroadrian

Location: Argentina
Remote: Yes
Willing to relocate: No
Technologies: ruby, rails, javascript, nodejs, react, sql, html/css, python, a bit of go. Starting with solidity
Résumé/CV: https://romeroadrian.com.ar/cv.pdf (a bit outdated)
Email: work@romeroadrian.com.ar
I thought those type of comments were supposed to be flagged to maintain high quality discussion or some nonsense.
My personal pet peeve is security dialogs that don't explain why permission was denied or how to get permission[0]. Some of the more recent Android lockdown error messages that Google has added to the OS seemed almost laser-focused on pissing me off.

Related: some of the scoped-storage changes they pushed through have error messages like "For your privacy, choose another folder" if you try to, say, grant an application access to the Downloads folder. This is stupid for two reasons:

1. There are legitimate reasons for wanting to do this, but no override for those cases

2. The message does not actually explain the privacy risk beyond saying that there is one

At least Apple tried to make a user-focused explanation for iOS's security policy. Google just says no in the lowest-effort way possible.

[0] Bonus points for UI design that actively hides actions you cannot do, purely to gaslight the user into thinking they don't exist.
U.S. Intelligence Is Helping Ukraine Kill Russian Generals, Officials Say
> And I believe the web platform is a good existential hedge against the undying forever turning-to-crap-iness that so widely defines the trend of everything else.

I'm sorry to say, but my view is the exact opposite. I can place nearly all the blame for the current state of the software ecosystem on overuse of web technologies and JavaScript.
Swaths of the United States didn't start popping pills and drinking themselves to death over the past couple decades because they got bummed out by social media.
No, I'm going to look at the period of their tenure - if they made the choice to go to Fb when it was well clear what it was, that's on them - if they started before and then left once it became clear that would be a positive.

All in all, if you choose to work for a shitty company, or doing shitty things, you should assume people will use that as part of their opinion of you.

I do not get how that becomes any extremism of any kind - that's just standard outcome of reading someone's resume?
Wordle, Quordle, and Wafflegame.net are the only games I play now. I didn't go to nytimes.com for anything prior to this. Good buy on their part.
Doesn’t Bill Gates barely own Microsoft? Like the GitHub founders combined own or used to own as much as him I think. At least it was in the same ball park.

Not sure what he has to do with Bing. Something that only came into existence 13 years ago.

—-

People regularly talk about Taiwan’s success. Can you show any one objecting to that? It would be difficult for people to always bring up other Asian success stories: Japan, Korea, Vietnam, Taiwan vs China.

—-

I don’t even like Gates or any other billionaires. Your anger appears to be misdirected and too focused on specific things.
Why aren't there any large-scale studies on this? It seems that even with all the meal tracking apps out there now, we would have an amazing data set on fasting.

It's crazy that the best we have are either animal studies or some UCSF study of ~100 people for just 12 weeks. (Very low-power study)
Better keep them contained there.

Imagine the damage all these ex-VPs of whatever could do if unleashed.
For context:

https://news.ycombinator.com/item?id=35079
What? Emotion doesn't have physical sensation, unless you mean "heart pumping strongly when afraid".
Possibly the important missed part here: the effective dose for paracetamol is alarmingly close to the dangerous dose.

Dosage rules allow for 4g/day, 5g/day can cause liver damage. It's also common to find paracetamol in multiple products - so you can take some painkillers, then not realise that the lemsip you're taking for the sniffles also has paracetamol and now you've put your liver at risk.
EVE Online
i want to share one of the saddest things i have read online recently.

not long ago, one would think that bullying would not follow kids to their houses. once they got home, they would be safe with their family. that's no longer the case with the advent of social media.

the story is that of a teenage girl who committed suicide due to constant bullying. it never stopped, even when she got home. and her family had no idea. she was, based on the photos and her brother's post, a very pretty and high achieving young person. that alone, he wrote, was the reason they targeted his sister.

after her suicide, a memorial page was set up by her family. anyone who knew her could add a message. huge mistake! the bullies flooded the page with cruel and insensitive messages. like "good riddance" and how "the world was better without her". remember, the bullies were her schoolmates, not strangers...

the story saddened and upset me.

i couldn't imagine what the poor family were going through. and i know that these bullies didn't realize the gravity of what they were doing. i don't have a solution to offer either. i just wanna share that young person's story. i am sure when the leaders of our social media platforms get in their meeting rooms, nobody is going to mention her.

i wanna share her story so people know it happened. and that it's still happening.
Adding a data point:

Recent article on the New York Times about this study:

https://www.nejm.org/doi/full/10.1056/NEJMoa2114833

https://www.nytimes.com/2022/04/20/health/time-restricted-di...

The study refers only to restriction in search of weight loss.

Edited to remove one word that may have been perceived as sarcastic.
Good thought.

My immediate response is "yeah, I really didn't get the games other people were playing in junior high," which is the time frame the article evokes for me.

I feel like the gotcha is you have to realize - at least sometimes - that there are still games you don't get. It's easy to feel like, "at ${year - 1} I was such an idiot, glad that's over now." You'd be surprised how many years in a row you can feel that way before the meta realization sinks in.

Understanding other people is like learning to play "Have You Got It Yet?"[1]:

> When Pink Floyd gathered in January 1968 for one of their first rehearsals as a quintet, Barrett shared a new composition he called “Have You Got It Yet?” The song sounded straightforward, but the band became confused as they tried to join in and learn the number. The melody and structure seemed to shift on each run-through, with Barrett gleefully singing a chorus of “Have you got it yet? Have you got it yet?” at them.

> Eventually they realized that Barrett was changing the arrangement each time, deliberately making the song impossible to learn. “We didn’t get it for quite a long time,” says Gilmour in Rob Chapman’s book A Very Irregular Head. “I remember the moment and the song well. It was really just a 12-bar, but the responses were always in the wrong places according to Syd.

[1]: https://www.rollingstone.com/feature/syd-barrett-10-things-y...
Let's try an analogy - you dole out the whatever thousands of dollars it takes to buy a robot from whatever engineering company you fancy, including all the parts, labor, rare earth metals, venture capital interests, and whatever else went in to making it, you buy the whole damn thing off the shelf.
If you then go and make it make mud pies, that's your problem. Furthermore, if the robot doesn't perform as adequately as you want, that's also your problem. You already paid for the thing. You can't just go complain to boston dynamics and say "actually, I've personally decided this robot is worth less than I paid for it, so I'm going to take back half my money and keep the robot". That's not how it works in the market of things, but in the market of labor, it is, because workers are under threat of homelessness and starvation. Companies get the labor they can't afford anyway.

What I'm saying is that fundamentally, a human livelihood has an upfront cost and that's the cost it takes to keep a human alive. I'm not talking about what work you as a hypothetical manager end up making this hypothetical person do, or how good at it they hypothetically are, I'm talking about living human beings as they are, baseline, whether or not you consider their labor valuable or potentially valuable.

The rest of your argument hinges on this misunderstanding, willful or otherwise. You've torn apart nothing but your own strawmen. Pragmatically, I'm not even sure minimum wage is the right choice to rectify this indignity, other options range from nothing to UBI to free housing programs to guaranteed jobs to communism. I'm not commenting on which one is best, I'm commenting on the moral framework from which these ideas come from.
Google and Meta certainly aren't the only people employing compiler engineers. Even if other compiler users outsource everything to consulting companies like AdaCore, well, that's where they are.
Can we as a hacker community say enough is enough and put our collective efforts into making something like PureOS a viable option for daily use?

PureOS currently suffers from a tragedy of the commons. I, like many others am afraid of investing a lot of my time into developing for it for fear that not many others will adopt it and my efforts will be wasted.

How can we build/market PureOS as a credible alternative for other app developers to start building on top of it?

*Edit
It doesn't have to be PureOS - that was just an example. It could be Sailfish OS, or Plasma Mobile. We just have to pick one to create a self-sustaining ecosystem around.
Im guilty of being rather judgmental of others who performed worse than me in academics. I don’t really want to go into the reasons but, yes its very unhealthy to think that way. People have their reasons for why they choose to focus on some things and not others. Perhaps the most important goal of a good society is to be able to assign people to things they’re most suited for.
Insanely productive sounds unpleasant.
Strongly disagree, when has society ever decided less access to information is ideal?

All the time, every day, forever?

Not sure what society you're living in but here in the western world the push for censorship is constant.
Hi where can I learn more about the Japanese movements?
Empathy in the context of a conversation isn't retrospective analysis of your actions. It's the immediate sharing and understanding of emotions in a moment. You did not consider her emotions at all in your interaction. She did not consider that you might not follow the same social contract as everyone else. Those two things are not the same.

Empathy is a skill high-functioning people on the spectrum can learn. I spent a lot of time in therapy as a child pretty much solely focused on learning empathy. Your behavior showed a complete disregard for her emotional well-being and _her feelings_, which is synonymous with a total lack of empathy. That you are capable of commenting on Hacker News and getting married means you could learn the skill too; everyone has to learn it, like any other skill, and it doesn't come easy to people on the spectrum.

I understand the double empathy problem and I do not agree with it whatsoever. My exposure to adults on the spectrum who wear their autism as a badge of pride or disclaimer in conversation do so as a means to dodge responsibility for their part in a social interaction because it makes them uncomfortable.

> Finally, where's your empathy for me in your comment?

Doesn't feel good to have your intellectual / personal short comings aired out in public does it?

> What does that make you?

Speaking how you speak to others, but to you. As a narrative decision.
Already being done. We just need a great deal more of it.

Natural gas burners inject ammonia to cut their NOx output. Maybe they know something.
> We'll fix them and, with any luck, we'll be better ancestors to our children.

I think that the anxiety might come from the view that we might not fix those problems in time, because the amount of work needed to do so is that vast.
That is a difference, I think a large portion of the adult population hasn't considered introspection on themselves and are subject to the same trends. I was able to recognize it because I had read about modern children's behavior in classroom, and I was able to recalibrate because I was familiar with what my level of concentration should be and had been. But that's not a consolation if everyone, perhaps including the teacher I responded to, would find themselves "infected" the same way if they were told to be the student in the classroom. I bet a more holistic solution would be found if people recognized they are distracted too, instead of only looking at the easier target: kids forced to be in that setting.
I shared this blog post with him and he said "That's the coolest thing I've ever seen". I can't say I disagree with him.
Hopefully they can provide the cheap, clean fuel we need to power CPUs and GPUs powerful enough to enable smooth scrolling on this website.

Because that scrolling is so bad I’m almost impressed.
I'm not sure if you know but Tiktok and Douyin (Chinese Tiktok) are actually separate.
In fact, Apple has lots of open jobs for exactly the kind of low-level engineers this thread is about and you can find the team managers posting about them on Twitter.
Racial reckoning? Sounds ominous.
it must be said, even if its not what everyone wants to hear, that the fear-mongering corporate news media, who carpet the world in content that is deliberately designed to elicit a primordial brain-stem stress response, have probably contributed to this problem. whether they turn on the tv or they are sitting in the classroom, kids of all ages have it drilled into them that their country is evil and racist, that they are guilty almost implicitly for having white skin, doomed to a life of hardship if they have black skin, and also that the world is coming to rapid apocalypse which is completely the kids and the kids familys fault. i am not making a statement about whether any of that is true; what is undeniably true is that kids are being injected with this stuff 24/7 and its not good for them.

when i was a kid, we stood for the flag and sang the pledge of allegiance. there was a notion in the air of unity, order and strength. when i look back i recognize that this was very good for my mental health. you can have your opinion about the pledge but there is no denying that our children need an environment that is good for their mental health.
> I notice is that a large part of HN consistently doesn't understand economics

Yes this is the problem. Not your average blockchain development.
>Couldn't you get around this by having the user install something using the session API which then installs the malicious app that uses the a11y API - it might require convincing the user to click through another install, but I'm not sure how much of a barrier that actually is.

Just a note here, but the restriction isn't "chained". The malicious app using the a11y API itself only needs to be installed via an installer using the session-based API. So a "dropper" app implementing the session-based API could pull the APK for the malicious a11y using app from some source and then ask the user to install it. The malicious app's accessibility service could then be enabled.

Yes, this is a loophole, but if Google didn't do this, then you wouldn't be able to enable an app's accessibility service no matter where it was sourced from. And Google's already in hot water with the EU, so I don't think they want to get in trouble for hindering 3P app stores.

However, I still think this targeted approach is smart. A lot of apps that users use to download and sideload apps (browsers, mail clients, messaging apps) have no reason to go and implement the session-based installer API, so this restriction would add at least one more barrier to apps gaining a11y access.
Interview with Alice Leung, VP at Brick and Mortar Ventures
Even though I am in favour of Musk's purchase of Twitter, the implied idea that the slot machines in our pockets need broader engagement to improve discourse and society, and that engaging in more direct conflict in less-moderated forums will improve the mental health of young people - both seem like very big bets.

I'd still be willing to take those bets because there is a good chance the reason they're going nuts is the platforms manage and toy with their attention and instincts like animals, so they're probably acting a lot like they are beings in captivity. Something that breaks the spell might mitigate the effects. Maybe they're not that crazy, they're just indexed on something others can't see?
>Strongly disagree, when has society ever decided less access to information is ideal?

The trick social media companies use is convincing people that all they're doing is giving people access to "information". They are not; they're just creating addiction machines. It should be self evident that wikipedia or a minimalist blog with a comment box is in an entirely different solar system from facebook's algorithm that keeps track of how long you scroll and then shows you something you're likely to interact with right before you're supposed to close the app, manipulating your emotions to keep you "engaged" longer.

>Our descendants will create better platforms that can allow users to better filter for their emotional needs and they'll likely have better tools to understand their own emotions.

We already have them. My kids won't be able to access the internet until they figure out how to navigate the command line.

In the beginning ...
No, I try to not get hung-over enough to need analgesics. But I have persistent back problems, and taking Tylenol for it regularly would probably cause some compounding liver damage. Ibuprofen is, fwiw, much harder on the stomach - but not toxic to the liver. That's why it's the go-to-side-dish for alkies with a breakfast burrito.
I see. Thank you for acquainting me with the economics at play. I guess it isn’t feasible to go DTC.
FFS, he's describing the myths that traditionally were used to define tribes and talking about the challenges of unifying a diverse secular nation.
Python's story for package development is a mess compared to Julia. If you know what you're doing you can make a new Julia package in the general registry with unit tests, CI, and code coverage in about 30 minutes.

To contribute to an existing repository, you can ]dev the package to download the git repository, @edit a function to open the source in an editor, and push the changes to a PR in about 10 minutes. This makes it much easier for package users to turn into package developers.

I've contributed to a bunch of Julia libraries that if I still used python, I wouldn't have contributed to the equivalent python library because contributing to Julia packages is at least an order of magnitude easier.
Is it really social media itself that's the major contributing factor?
Or is it really that people are using social media as a distribution channel to propagate negative, defeatist beliefs en mass in response to the natural challenges teens face when growing up?

I think it is the latter. One has but to open TikTok to quickly come across a video instilling negative beliefs about the opposite sex with tons of commenters asserting the validity of those beliefs. Confirmation bias at scale.

You can scarcely have a nuanced conversation online without some idiot misinterpreting what you said and rousing a mob to hound you for your narrative violation. Combined with the viral nature of negativity, this is an iron cage that is difficult for an inexperienced, impressionable teen mind to escape.

Parents need to be more proactive and should keep up with the firehose of negative beliefs teens are being fed through these distribution channels and attempt to have a conversation with them. At the very least, this should teach teens the valuable skill of challenging ideas and being critical of what others are putting out there.

The ones who view the medium as the devil are misguided at best. Their temporary efforts to stop it is a bandaid over the real problem of who teens are being influenced by.
I assume you're talking about living in the USA. The economy is certainly more difficult than it was 50 years ago but there are still plenty of reasons to participate. Ask anyone (like myself) who immigrated here from a country where you don't have a shot to get a job or start a business unless you know someone.