skysight-inc/HackerNews huggingface dataset:
And comments on an article about French overproduction of wine is where they, more than others, are congregating?

It's like commenting on an article about the fire at Notre Dame cathedral to say you converted to Judaism and are loving life and everyone else should too. Cool, happy for you stranger, but also don't really care and it's not relevant here.
If you have enough arguments that the signature becomes obscure to read you need a dataclass to pass into the function instead.

I would rather:

@dataclass(frozen=True, slots=True)
class VarThings:
n: int
...

def variable(a: VarThings):
...

Than a million args
Do you know how fucking annoying it is to have to defend not drinking? We live in such an alcohol centric culture that we should celebrate anyone not participating in it because of the bad effects it has on society.

I drink very little (small kids , living so I have to drive to get home), maybe 3-4 times a year. At every social gathering I have to defend not drinking at least once. I am so frickin tired of it that I started saying I get too violent when drinking or that I can't drink because I would hit my girlfriend. At least if they point it out in a rude way. That shuts them up.

I once had to help social services get a child from an alcoholic father. He was their 3rd child that evening and they were one of 20 teams. That is when I decided alcohol is poison and that anyone not drinking is commendable.

I understand the nice effects of alcohol. Indo consume it. I have started being the sober guy at every event where there are kids to show that you don't have to. Every person not drinking is a benefit to society.
Would like to hear opinions of people who are actually CEOs or leaders of large orgs today.

I think it’s a generational thing and that the next Google or Apple when it arrives will be fully remote and that will be one of its differentiating advantages as an employer. It will show that things can be done differently and then set the direction for other employers of that time. Until then, the current mentality of “you can only be productive when you are in person” will prevail.

Everything just worked magically during the pandemic. Once it was gone it don’t work. It doesn’t really sound logical.
Skiff.com Email's Various Privacy Failures
Excited to learn about this. From my limited research, metal oxide VOC sensors are not very accurate due to sensor drift, instability, and cross sensitivity to temperature, humidity and inorganic gases.

How do you manage this and did you consider using an electrochemical or photoionization sensor?
> I suppose what's the most surprising is that it seems it was intentional.

This is a surprising conclusion. There was no conspiracy to sink Twitter. Musk just failed, you know, like every mortal human being does from time to time. What's interesting is that if he had started with Twitter instead of other companies, maybe you wouldn't know his name today. Being lucky and having the right people around you have a lot more impact than people like to admit.
Study: 3D eye scans at opticians could identify those at risk of Parkinson’s
That was a beautiful metaphor, and I’m stealing it.
State, county, and city tax breaks.
Here’s an article about a company I used to work for and the associated tax breaks from the City of Atlanta government. I don’t believe the article includes any sort of state tax breaks they were given when they moved the HQ from Dayton to Metro Atlanta.

Not to mention being in the office is more about Management controlling and observing.

https://www.ajc.com/business/incentive-package-for-ncr-could...
It's Raining Mushrooms
You're understanding but missing a big part: China isn't a factory, it's a country full of people. So there's a lot, for one, the western customers of their production don't decide what they as a sovereign nation regulate as far as emissions, and two, removing those emissions is equatable to starving them to death.

We are all someone's customer and someone's producer. So it only makes sense to simplify the analysis and ascribe emissions to where they are emitted. Shuffling blame around doesn't get you anywhere, imagine a man who blamed his farts on his wife's cooking. Emissions from China come from China and emissions from Norway come from Norway, we don't blame the energy customers who buy Norwegian energy for Norwegian emissions, we blame Norway.
Problem is that everyone just blocks the ads and forget to pay the creators directly, which by the way would be extremely costly and time consuming if you want to pay everyone you watch, therefore the need for a product like YT Premium...
Not surprised.

Bangladeshi politics still has the scars of their Independence War and the subsequent coups as the families leading both the Awami Party (the ruling party) and the Nationalist Party (the current opposition but formerly in power) have been in a violent struggle with each other since the 80s (eg. The current president Sheikh Hasina literally saw her father shot by the General who's wife is leading the BNP).

This rivalry has been further inflamed by the power struggle between China and India, as the BNP leans closer to China+Pakistan and the BAP leans closer to India. This has incentivized toxic political behavior - check out Nepal for another buffer zone seeing similarly dysfunctional politics.

Over the past few years, BNP multiple activists have been shot and arrested, and the party was essentially banned a couple years ago, and the US has starting placing limited sanctions against the BAP, though I doubt they would have much impact as UAE+KSA+India+Thailand+Singapore haven't enforced sanctions.

Also, from an ideology standpoint (though ideology doesn't really matter in Asian politics), BAP was traditionally center-left and Secular leaning while BNP was traditionally center-right and also Islamist leaning because the pro-Pakistan Islamist party Jamaat-e-Islami was banned in 2013 and it's activists joined the BNP.

The politics of violence was really inflamed from the early 2010s when the founders of the JeI was executed after being found guilty of murders, rapes, and torture of Bangladeshi nationalists and Hindus during the Bangladeshi War of Independence, which then hardened the ideological battle lines. This lead to massive riots in retaliation, which had a direct impact on governance in Bangladesh and even India, as the same ethnicities live across the border.

On top of that, the Rohingya refugee crisis has destabilized Eastern Bangladesh as there aren't enough jobs or ability to provide aid, causing some Rohingya to turn to the Drug Trade as Myanmar is a major Opium and Meth (ever heard of Yaba in Thailand?) manufacturing region.
lol this was made insanely better by your handle
People used to do a lot of work as part of the normal course of their day.

It’s still possible to see it, just not as common. A lot of folks in the west go hydraulic all the way. Once you do, even picking up a shovel feels like you screwed up somewhere hah.
If you make users click a Go button, they won't notice it, and get frustrated.

It's one of very few times I'll allow an animation. If the go button has been available but not clicked for some seconds, it will call attention to itself. I hate that but the only users who see it are the confused ones who need it. (Hopefully.)
A hammock. A SUP board. A standing desk. I have a cheap wooden kitchen chair as my main chair. When my *as hurts, I stand or take a walk.
(should be M <= N but HN isn't letting me edit the comment at this point)
Ham radio enthusiasts vs. High-frequency traders: A battle for the airwaves
The important part is that started from zero and went through all the steps to production in 8 weeks.

And I assume it is not the only thing he did, presumably he did that in addition to what he was hired for. When he found that bug, he probably did a good enough impression so that the company let him work on it.

Most interns introduce more bugs than they fix, and are usually assigned internal tools and other noncritical code for that reason. A net 1 bug fix is already a good score.
> It was always obvious that Play Stores and their captive developer "communities" were a trap. Forced API upgrades are just one aspect of that.

I was convinced the app stores would be a flop because I didn’t think there would be a critical mass of developers that were willing to give up the guarantee they could actually deploy their apps.
Compare Task Processing Approaches in Scala
I think you are grossly underestimating the number of apps that no longer see regular updates/have active developers
Sure now it's nice, but do you remember offices before covid? Chicken coops.
There was nothing to defend though? It wasn't about drinking or not until top-level commenter made it so.
#TIL. Also cool to know is pydantic's @validate decorator: https://docs.pydantic.dev/latest/usage/validation_decorator/... and in case you were thinking its not superflous to mypy(https://docs.pydantic.dev/latest/usage/validation_decorator/...).
Why are your secrets in the source code in the first place? Put them into environment variables, which I hope aren't exposed by your infrastructure by default.

If the secret you're protecting is the source code itself, that's a valid concern, though React offers `server-only` for that purpose.

The boundary between server and client is pretty explicit and you can't pass props from one to the other accidentally, but admittedly, that won't stop an inexperienced developer refactoring the codebase at 3am to mess up, I guess.
Reddit thread with people discussing time spent on Character.ai
See the comments!
A Quick Intro to Winglang [video]
How come you no like?
A dedicated, exclusive office. When I'm not in the building, I still don't want my office space being used by someone else. As far as I am concerned, I need to have a dedicated exclusive work area that is used only by me when I am physically present, and used by no one when I am not.
> Given that spread, my guess here is either that their data collection and analysis is bad, or that there are other factors involved in productivity other than just where the worker is located.

The article doesn't get into the methodology of the survey, but another possibility is that respondents were just answering based on their feelings rather than any hard data at all. This sort of thing happens all the time; a well-known example is that if you survey Americans about crime, a large percentage will say crime has increased regardless of what's happening with actual levels of crime [1].

[1] https://www.pewresearch.org/short-reads/2016/11/16/voters-pe...
It seems that many people have already forgotten the history of the aquisition. Twitter's board initially took a poison pill defense to stop Musk, but then Musk threatened a tender offer to bypass the board. Of course this was all before he tried to back out of the deal. https://www.nytimes.com/2022/04/30/technology/twitter-board-...
A lot of terrible responses here, but here's my terrible take:

1. First are they wanting to discuss anything with you, or are you passively watching them on social media and now wanting to engage? The latter is different and falls more under science communication than an exercise in epistemology.

2. Practice the principle of charity and giving benefit of the doubt. You aren't convincing them, but trying to understand each other's opinions and claims so you can both converge on a better understanding of the world.

3. Come to some agreement that you are both not experts on the topic, so much of both of your opinions are on your own understanding of so-called-expert's claims (both for and against man-made climate change). Also important here is experts should have evidence readily available so that claims can be reviewed by other experts.

4. Try and come to an agreement that you will both "write" something like a page that each can read and respond to .What their top 3-5 arguments are supporting their opinion. What is 1-2 pieces of evidence that would convince them the other position is more correct. Limit it to like 2-3 replies back and forth. Try and agree that no additional arguments would be mentioned so that you can both come to a shared understanding of the 3-5 claims. Direct citations and links are helpful so that there is enough specificity to review.

5. Most likely you'll end up agreeing to disagree. It is a complicated topic, but hopefully both of you will continue due diligence in understanding the science.

IMO having structure and time between exchanges helps focus the discussion. Unless you are already neck deep in the topic, anything you say impromptu will not be convincing because you won't have a sufficient background to explain the evidence and any counter-arguments to the evidence.

I highly recommend the book "The Skeptics' Guide to the Universe: How to Know What's Really Real in a World Increasingly Full of Fake" which is close to a reference manual for how to think critically. The podcast they have is great.

Good luck!
Just wait until you hear about how much wood a single carbon steel sword needs to be fired and forged properly. It’s truly absurd how effective pre-industrial humans really were.

Source: https://acoup.blog/2020/09/25/collections-iron-how-did-they-...
A striking resemblance to Nightfall by Asimov!
That’s why you make them live next door (or far away) and commute. That’s the plan with this community right, since the folks there must work for the company?

If the company doesn’t keep them employed, voila they must leave. And presumably the company is not going to hire (or allow to live there) ‘undesirables’.
Ask HN: Seeking Japanese Tutoring?
My partner is a native Japanese speaker with 5 years of teaching experience at a variety of age levels, from child to adult. She's helped many learners reach their learning goals through weekly (or more frequent) tutoring and personalized learning plans.

You can find language instructors and conversation partners on a variety of online platforms but I find many are quite inexperienced or stick to a rigid lesson plan format with little room for personalizing the format or capacity for accommodating individual interests such as wanting to learn from popular media instead of dry textbook content.

She's moved from working at a learning institute to taking clients independently and has some availability to take new students, so I thought I'd ask HN if anyone is interested in 1:1 or group instruction since I know Japanese is a popular topic here. Let me know if you're interested in 1:1 or group instruction, or services such as correcting/feedback on written Japanese, and I’ll connect you with her to learn more.
>Meanwhile, where I work, we're still allowed to be 100% remote, but also recognize this has pros and cons, especially for juniors and new members of the team who haven't met each other.

Where working remotely is practical, 100% RTO doesn't make a lot of sense IMO. On the other hand, you can't really dismiss concerns about company culture, team cohesion with new employees, mentoring new grads, etc. as the product of evil executives trying to prop up their commercial real estate portfolio or whatever. (I'd also argue that the situation is probably worsened because so many companies are carefully scrutinizing expenses for travel, meetings, etc.)
The content creators could post anywhere, there is no reason they can't cross-post their videos to other platforms. Most publishers who are on Patreon post all their videos ad-free on there so you don't even need to go to YouTube.

The reason most publishers post on YouTube is because they depend on the revenue from the YouTube network.

If you don't want to watch ads, fine, but you are expressly violating the wishes of the people who are creating the content and then rationalizing it to yourself. The fact that you still rationalize not buying the ad-free premium offering is the kicker.
Cool hack overall, but some of the statements about protobuf strike me as odd.

> Exploit a Protobuf Flaw to Easily Remove All Ads by Changing One Byte

He's intentionally corrupting the tag on one field of the protobuf. The "flaw" is apparently that Protobuf ignores tag numbers it doesn't recognize. But that's not a flaw, it's a core design feature of Protobuf, designed to allow extensibility.

> Notice how the Protobuf response payload is 1.87 MiB? As I said, Google makes it computationally expensive to decode, alter, and re-encode without the C++ source proto files, but a quick linear scan takes no effort at all.

1.87MB is not that big, and presumably these messages only come through occasionally, not in a constant stream, so I'm a bit perplexed about the purported performance barrier here.

The text seems to be claiming that Protobuf encoding is designed to be expensive to decode, but it's actually the opposite, Protobuf is intended to be efficient to decode.

He says you need the source proto (schema) files to make it efficient, but this isn't really true, you can decode directly into UnknownFieldSet easily enough.

Or better, he could have written his own fake .proto schema that covers just the one field he is aiming to remove. This would have been much less error-prone than the string-scanning approach which could accidentally match other data where the same byte sequence happened to appear by coincidence.

> While computationally expensive, decoding, editing, and re-encoding without the original schema leads to a modified encoding. This is likely because we cannot detect if ZigZag encoding is being used, or if a number is an int32, int64, sint32/64, varint, etc., plus the order of object fields is normally non-deterministic. Here is some Protobuf trivia on the matter:

I think he's misunderstanding here. The point is that the Protobuf encoder is allowed to encode fields in any order, hence decoding and immediately re-encoding a message can lead to different bytes. But, the receiver is supposed to treat the message the same regardless. It's unlikely that the YouTube app is going to notice if the field order changes.

(I used to work on Protobufs, a long time ago.)
Of course, why didn't I think of it? To change my bad habits, all I need to do is will it! Truly insightful.
I took a lifetime VPN sub. It always puzzled me why they'd do that, what with the operational cost. It lasted a bit over 10y, which is still a good deal, but not lifetime.
People don't go to wordpress.com because of the name or the content on the site.

People use WP because it's a technology they understand and can put to a particular use. If that changes, said people may not use it anymore.

If the NYT decides to change their content delivery platform to, literally, whatever, people would still go read the NYT. Their audience doesn't care.

If WP becomes a different product (a static site generator for Rust, deployed with Kubernetes?), their customer base will drop to ~0 overnight.
Fair enough, but I've been super happy with the ability to do network level blocking; if you're willing to decrypt your own traffic, you can even do things like strip advertisements from getting embedded in Smart TVs and whatever else you have connected to your insecure network partition. I like it that I can hook up some random Roku and I won't get ads. Or my kid can connect his school laptop to our network and it wont get ads.
Yet a lot of people end up on the wrong side of it once or twice in their post-25-life
That's a strange claim. SO's short q-and-a format doesn't even begin to tackle hard problems.
I used to work for a training company:

- most productive days, writing a complete new windows 3.x course at home using my own pc and my company provided copy of framemaker

- most enjoyable, back at the office/training rooms teaching the course

different strokes etc
For many it's not about supporting the platform and creators. YouTube can be unwatchable with ads. I believe this was done in part to push people to purchase premium. Some pay, some block, but nobody thinks the YouTube advertisement business is something done right.
I've always created a google account specific for that company though, so it is still technically segregated from my personal anything
Having been WFH for the last 15y…

Chair: yes but doesn’t need to be expensive. I’m still dragging around an office chair from 2002. It just fits me.

Separate your space. Make sure your work and home environments don’t collide. Once I learned this lesson, I bought a used RV and converted it. Power, A/C, fridge - just plug into the house and you’re good. Once the rats infested it and got me sick over and over, I switched to a Lowe’s Garden Shed. Now, replete with a basic folding table and all my stuff.

Synergy. One mouse & keyboard + clipboard, shared across all machines. From left to right, I have a personal intel NUC, work MBP intel, work MBP m1, personal MBP m1. Each with an extra monitor positioned above the machine. So effectively it’s like a single giant machine but workloads can be isolated. So nice. Game changing.

All y’all with your special mics - stop it. They suck for us on the other side of the call. Just get a set of headphones with a mic built-in. Beats, AirPods, etc. y’all with your fancy mics have no idea how inconsistent and awful they are for us on the other end. I lose at least 10-20m of my week with people futzing around with their fancy mic. Stop it.

Again, separation of work space vs living space is paramount. You can poison your living space with all the positive and negative of work - it’s just hard to really let that stuff go without physically changing your environment. Polluting your living space with work will only work for so long.

Other than that, I wish I could express how rudimentary you can go and get yourself a really good and productive space.

FWIW, my keyboard is an old Dell, circa 2005 - still rockin - mouse, old Logitech (2007?). Desk is srsly just a jank folding table.

It’s definitely less about the toys you buy than the protection of your work space vs living space - and making sure your just plain comfy sitting for hours on end as you forget to take a break.
Yet it is a harbinger of total information awareness by any and all authorities in the world. Governments obviously at the national level, but also regional powers, or even local governments (as the saying goes all politics is local) will be able to filter and discriminate against people based on their views.

And then, there are the multinational corporations, the ultra elite, leaders like Putin and MBS that will kill someone out of whim, etc.

As political institutions degrade, as in they become tools of the rich and influential rather than enforce human and constitutional rights and the fundamental rule of law, the world will become dangerous.

Man, I really shouldn't be writing this I guess.
> Dismissal of these thoughts may be the safest course of action, lest one finds themselves either burdened or enlightened by further contemplation on the subjects at hand.

Setting yourself up to reject any criticism as a symptom of the phenomenon you're arguing for is a rather disingenuous rhetorical move.

In particular, while there's a conversation to be had about "slacktivism" being an outlet for emotions that might better motivate real activism, your suggestion that climate change is "uncontrollable" is doomerism, pure and simple.

If we emit less greenhouse gasses, things will not get as bad. It is, of course, more complex than that, but that's a pretty damn good first approximation. So let's do something!
Supported entirely on the back of one over worked, unpaid savant against the richest most anti-consumer company to have ever existed is not what I'd call 'fine' but YMMV.
>he's intentionally sinking twitter

>he's incompetent and been deliberately distracted from Tesla and SpaceX

do you see how these points don't really follow from each other?
name them so that more people are aware ...

i dont think there's anything wrong with taking ad money. but consumers should be made aware of biases.