skysight-inc/HackerNews huggingface dataset:
I agree that with vector math, overloaded arithmetic operators are easier to read. However, I don't see how you could add "overloading, but only for actual math" - once it's in, people will repurpose it for all kinds of cursed purposes.

The implementation would probably be ugly, but I wonder if it could be implemented by using a comptime string to represent the operation, e.g. something like:

fn doMath(comptime op: []const u8, args: anytype) MathReturnType(op, args) {
// TODO: implement me
}

const result = doMath(
\\a + b
,
.{ .a = a, .b = b }
);

Where the implementation would call `.add` etc on the parameters when infix operators were used.
"So the question is not whether we will be extremists, but what kind of extremists we will be. Will we be extremists for hate or for love?" -- MLK Jr

Half a century later, I want to add: Will we be extremists for ignorance or for civilisation?
I don't have a problem with GitHub or NPM taking down his project. Just like I don't have a problem with him poisoning it if he so chose. I do have a problem with people here whining about their own selfish wants. Again not one person is obligated to use faker.js, if you wanted the security that parts of your code base would not be tampered with, then you probably shouldn't have been using a third party library that wasn't under your control in the first place. Common sense is all too lacking here across the first world.
I think it was more to avoid the arms which hit the paper jamming when two adjacent keys were pressed. I played with a typewriter as a kid and did that all the time.
As long as spammers can send large numbers of emails for free we’ll have spam. This extended to phone calls as well and I find this even more irritating as they interrupt me daily.

Id love to find a solution that does not involve adding more cost but I can’t. In the US I get spam calls from numbers that are completely made up legit numbers from my area code. Once my partner was called by a despetate lady screaming out not to spam call her anymore and no amount of explaining the phone calls didn’t originate from us would appease her. This particular incident happened 5 years ago. Spam calls haven’t stopped though. Luckily smart phones can label spam calls but they still disrupt.
Maybe, but people still read the Gettysburg Address. I had to memorize it in school.
Any idea on a good, at-home or small network alternative?
I've run into issues with both Google and Apple that were just ridiculous.

One time, Google randomly ceased payment processing for our app. When I reached out to them, the support staff were not at all helpful and said an "account specialist" would be needed and that they would forward the case along. Afterwards, I got an email saying that they would respond in 24-48 hours. After days of waiting, they finally message me asking for passport photos. I send them over, get another "24-48 hour message", and then two days later they reply back saying they want the exact same documents again. Insane! I send it again and mention that I already sent these. They wait two days and reply back that they actually want my co-founder's passport now. I reply back with that. Then they send another "please wait 24-48 hours" message.

At this point, I tried reaching out to friends at Google to see if they could escalate internally for me. A case got created, but two days later I get an email saying that this is something that the Google Pay team manages, not the Play Store team. Apparently, Google's org chart was my problem.

After all this, a response comes back saying "Your account is currently suspended you submitted documents which cannot be used to verify your account details. Our team has responded to you with specifics about what needs to be submitted in order for them to complete our review." Except they hadn't. I responded back about how both my cofounder and I submitted every document they asked for multiple times and answered all their questions to no avail. I pleaded with them to please let me speak to a human about this. After yet another agonizing 96 hours, our case was resolved and payment processing was re-enabled. We were bleeding money at the time and had been paying thousands of dollars a month to their ridiculous 30% highway robbery tax on subscriptions.

While not quite as bad, Apple blocked an app update because the current reviewer didn't like our subscription group separation. The only problem is that the app release in question had no such changes and the subscription group setup had already been approved in a previous release. The setup made sense and used common practices for A/B testing different prices, but the Apple agent we got on the phone with wouldn't have it. They insisted we release an update that would break existing subscribers to comply with their policies. Two bugfix updates were rejected for nonsensical reasons. We went through an escalation channel to get them out. When we submitted updates again, the reviewers magically had no more issues with things they'd already approved in the past.

Forcing a 30% cut isn't even the worst offense of these app stores. There's literally no easy recourse when things go wrong.
Chasing a shiny stack is not a good idea. It might not be shiny for long, and it's not worth putting up with a shitty environment, team or management structure just to play with the latest hotness. You can do that in your own time anyway these days.

But escaping a shitty stack may be a good idea. If you spend 7 years working in some retro cold fusion environment that will certainly look bad on the resume.

If the stack is uninspiring but pragmatic (let's say Oracle + java) then other factors should rank higher.
Job applications for my Florida restaurants increased 800% MoM the week after Florida ended enhanced unemployment.
Yeah, this last increase got me thinking too. I don't have anything on my "must watch" list from Netflix and I've got four other services I either subscribe to myself or are on someone else's plan.
This is very nice, thanks for creating this! I think there's a lot of potential in the space of news aggregator sites that focus on cryptocurrency and it's very cool to see people exploring this space.

Here's my two cents:

* Tie in the signup, voting, etc. with actual cryptocurrency. This is what stacker.news (SN) [0] does and I think is an idea with a lot of potential.

* Put the comments and other content under a libre/free license so that the community can benefit from content generated. HN, SN and a host of other sites don't do this and are worse for it, in my opinion

* Make the code open source. This provides transparency to your community and builds trust, as well as allows others to participate in the direction if they choose

* This is more of a personal preference, but I would opt for a "cleaner" more minimal look, more akin to HN or SN.

[0] https://stacker.news
fyi related info: https://www.jeffgeerling.com/blog/2021/airgradient-diy-air-q...
Rust was announced in 2010. Rust in 2016 had documentation in better shape than current Zig, and was past 1.0. The difference seems to be that Zig was announced earlier in development. Considering how much I hear about Zig, I expected it to be futher along its development. Maybe not a 1.0, but at least good documentation to get started, to get lots of newcommers and thus lots of feedback. That's not the case, partially because the people behind Zig want to take a different approach, partially because it was announced earlier. This is perfectly fine, it's just surprising and a bit disappointing for people like me that watch Zig from afar. I understand that I'm not the main audience for Zig and have no problem with that.
Not long ago, a debate of two Mexican "influencers" [1] was doing the rounds in Mexican networks where one guy was debating another about how Marketing in itself is an evil/bad career: That people who go into the Marketing field basically learn how to deceive and lie to people for the sake of profit.

I agree with that that assertion. I think the current marketing trends are very exploitative and highly misused. Marketing tools like Google, Facebook and Twitter (marketing tools in that their main goal is to take Ads to certain demographics) give advertisers incentives for bad behavior .

[1] https://youtu.be/dOMJF1_bJCo?t=456 (you can turn on CC auto translate into English.
I just re-read everything about this particular event through this lens and it is absolutely horrifying how much it fits. It reads as if kids are using crypto in a similar way they would if they were to play a game, with the difference being that through this game they can cash out eventually.
Yes, you were misremembering. The 386SX had an MMU. However it had 32-bit internals, like the DX, but 24-bit address space (16 meg limit) and 16-bit memory access.
Lincoln's 2nd Inaugural Address has to be in that conversation...
Just think of the high dimension n-cube like a spiky sea urchin. It has 2^n spikes, and the spheres live in those spikes near the ends. The central sphere is large because it extends out to those spheres, extending outside the sea urchin's "body".
You are right. Guess i did not look close enough..
Downsides: brutal politics, incompetent management, golden handcuffs, and elite devs are still underpaid by a factor of 2x. (The top 5-10% generate insane value.)

Upsides: pay is decent, a number of really smart people there, good places to learn.
> Do you think the rich are rich for no reason at all?

No, social immobility and generational wealth transfer.

> That their rewards are unfair?

Often, yes.
High ROI Python Patterns: Structured logging and automatic event capture
I’m a European that migrated to America a few years ago. MLK is certainly well known where I come from (Scandinavia). His legacy is known by most and his political alignments and are known by most people on the left political spectrum. When people bring up racial injustice in America his name often pops up. However it is not often where his name is connected to the broader context. People on the left might mention him when talking about economic injustice in relation to race in Europe, but I would say it is rare. Sometimes really competent journalists might quite him or bring his historical context, but that is even rarer. He is most often thought off as an American addressing American problems, which I personally think is a pity.

I would think his legacy in Scandinavia is about the same as the legacy of Nelson Mandela is to Americans.
Thank you for writing this up.

Some thoughts:

1. Hardcoded credentials are a plague. You should consider tagging all of your secrets so that they're easier to scan for. Github automatically scans for secrets, which is great.

2. Jenkins is particularly bad for security. I've seen it owned a million and one times.

3. Containers are overused as a security boundary and footguns like `--privileged` completely eliminate any boundary.

4. Environment variables are a dangerous place to store secrets - they're global to the process and therefor easy to leak. I've thought about this a lot lately, especially after log4j. I think one pattern that may help is clearing the variables after you've loaded them into memory.

Another I've considered is encrypting the variables. A lot of the time what you have is something like this:

Secret Store -> Control Plane Agent -> Container -> Process

Where secrets flow from left to right. The control plane agent and container have full access to the credentials and they're "plaintext" in the Process's environment.

In theory you should be able to pin the secrets to that process with a key. During your CD phase you would embed a private key into the process's binary (or a file on the container) and then tell your Secret Manager to use the associated public key to transmit the secrets. The process could decrypt those secrets with its private key but they're E2E encrypted across any hops between the Secret Store and Process and they can't be leaked without explicitly decrypting them first.
The way I understand it the claim that Biogen was making was that Aduhelm could reduce the amount of plaque in the brain. The thing that hasn’t been proven yet is the relationship between this plaque and Alzheimers.
Which is fine, because general contractor business owners and roofing company owners do the least arduous work and make quite a lot of money.
Most CI systems will have some way of assigning builds to groups of agents. But it would in some cases be useful to grant different privileges to different containers running on the same agent, which is what I understood OP to have.
> The exact point is "if you can't afford be present-focused in one way, be future-focused in a different way".

That would work if Zig was the only language in development in that space. It isn't.
Looks more like a reddit clone tbh.
> My guess is that most people that I know that buy BTC, either directly or via some holding schema, do it for the speculation

I think you're right. But then isn't it essentially just a digital form a gold bar with less utility?
They have the same problem: the participants know it's only an experiment. They know it's temporary.
If you're referring to longer-term experiments, do they show actual statistical significance? One of the two I've read through, the UBC experiment, showed a similar outcome but was only significant at the p≈0.13 or p≈0.24 level, depending on the precise statement of the null hypothesis, which is not particularly enthralling. The Stockton one I recall showing something similar but don't have the precise numbers for.
We need roofs fixed and structures to be made safe to live in. We are still in a pandemic - should we keep paying people not to work? Eventually nature ruins our structures and people are homeless. I just don’t see how your logic is sound.
It’s fascinating that wikipedia can’t be corrected.
Those who work and thereby pay for the UBI may feel that freeriding is actually unjust, and not the hallmark of a glorious new post-scarcity society?
That’s like saying you can’t blame C for buffer overrun vulnerabilities because those are just bugs.

If the system makes it easy to write buggy programs and there are common problems that take a lot of effort for developers to overcome it is a bad system.
Same. I couldn't imagine using the official app or new site consistently. Everything Reddit has created in the last 5 years or so has, without fail, been a huge downgrade from whatever it replaced.
To some extent, 'what do you want' at the coffee shop without any small talk around is essentially being very blunt.

This would match Linus, no?
> You're imputing a lot of motives based on nothing in the parent comment.

To be fair, OP is responding to an ambiguity. Was GP's point that "I Have a Dream" is great and it's a shame that the wider public doesn't know more of MLK's great speeches? Or was the point that "I Have a Dream" is subpar when compared to the other speeches and thus misrepresents his output?

tldr; Was GP saying "I Have a Dream" is the "Beethoven's 5th" of speeches, or "Ravel's Bolero" of speeches?

Upshot-- OP is not being generous by jumping on the more divisive interpretation. However, since it is a valid interpretation OP's lack of generosity is based on something and not nothing.

Fin.
How's the reset going so far?

Everyone enjoying the lowering of standards? Higher food prices, and just general decline. Should we keep going until people are waiting in lines to buy food. Because this is how we get there.
If all your dimensions are equal to each other then it gives the same result as Euclidean distance? I don't think this counts as better, then.
Kinda? Most things are reproducible. Limited edition sneakers are reproducible, and yet scarcity makes them worth thousands of dollars.

Is it stupid to pay $10k for some hard to find sneakers? maybe, but people do it because they have the money and they're collectors, or they want to flex. Is it more real because there's a physical item which costs maybe $20 to manufacture?

It's not like your example with the DLC skins, DLC skins are not limited in any way, the game company can create more and more of them. An NFT collection is limited, there will never be more than the amount the contract specifies (unless the contract leaves that open-ended intentionally). The creator can't simply sell new ones, because using a new contract would make the new ones lose all inherent value.

It's exactly the same as how certain sneakers are worth $10k and others that are from the same brand, same designers, same materials are worth $100 – provenance matters, and knowing it was released in an extremely limited way makes something more valuable.
I wasn't aware of this. I guess that's a special way way of appreciating art (assuming the art isn't somehow volatile in "normal" conditions), if it's done out of legitimate interests (i.e. not money laundering)
Cool but most psychological studies are not reproducible. I'd be interested to see a large scale trial run.
Boris knows the press are there, they're the only reason he's even talking to that man. Off camera Boris would ignore him completely. But "Boris doesn't know this obvious TV camera is pointed at him" is charming buffoonery. "Boris is intentionally destroying the NHS to kill your grandparents" is something you might want to vote against.

Some politicians would try to engage on the issues, but a ten minute debate in a hospital corridor isn't going to make the highlight news even if your well-rehearsed answers work, and it might not even get reported in rolling news if there's man falling into a vat of blancmange or something that gets laughs. "Boris doesn't know the cameras are there" works.

And sure enough, it worked on you as intended and you've taken away the message Boris wanted you thinking about. Boris doesn't want your respect, Boris wants power and has since childhood.

Much more recently Boris hid in a (walk-in) fridge. Ha ha ha. But wait, why did he hide in a fridge? Well that's funny and it made the news and is still used in memes, whereas "Boris refuses to answer important questions" looks a bit like maybe we shouldn't have him as leader, doesn't it...
Why stop at 'Basic income'? Why not 'Basic Housing', 'Basic Food' and others?
One could argue that welfare is the symptom not the cause.
They actually have a recording of Atwater saying it.
This comment is gold
UBI without the U is just welfare, which is fine, but it's kind of odd to say that UBI would be better if we just did "thing that makes it by definition no longer UBI."

I totally agree with you on re: inflation, though. Some organization, presumably government, will need to manage any UBI implementation, and government is nothing if not an inefficient allocator of its resources. I worry any broad national UBI system will just raise inflation to absorb the prices, while increases tax on the entire population, and losing a non-trivial percentage of that increase in the transfer.
Yours is the warped one. Gifted student programs are very common, and while they are sometimes used for what you say, it's not the designated purpose.
Thanks for posting this. It's nice to have a comment from someone with insight into the situation.

Your $100,000 goal wasn't unreasonable based on the estimates. What were your plans for the book if you'd won?
"went through" is an understatement. We're still in the massive worker shortage.
Guido Sanchez! One of the most extroverted people I've met. I heard he became a gourmet chef!
TV that's purely entertaining has been around forever. I laugh at the Three Stooges, but I wouldn't call it "high quality."
Yes, but not by raising minimum wage (in fact it would no longer be needed given a high enough UBI to make a living), but because employers would voluntarily raise wages, because they now need to compete against not working.

Also, I think many menial jobs could be made a lot more pleasant with only a slight cut in productivity.

Hurray for qualify of life!
Unfortunately without the paper or details this thread is going to turn in to a shit show of opinions (including my own, doh) and little concrete information. Gotta flag it. It'd be more interesting to see the actual paper and reasoned replies.
I'm not sure why anyone would think that this would not vary by culture.
> And so what if people refuse to do shitty jobs?

The "so what" is that basic income doesn't change the ordinal ranking of how much people prefer to do different jobs. Neither does it change people's ability to get those jobs. Better qualified applicants will always have better options. So while basic income might increase the nominal pay of the least preferable jobs, it wouldn't mean you suddenly get to skip over the "shitty jobs" and suddenly get access to the better ones.
Guice forms a core part of many of Google's internal Java frameworks, so it's unlikely to be deprecated anytime soon.

However, Google only upgraded to JDK11 in 2021, so there's probably not much internal pressure yet to keep Guice up to date with JDK17.
Didn’t Delphi/Visual Studio do this as well when using corn designer / property inspector?
Having a list of allowed MAC addresses, enforced per-port by a managed switch (or at least by the DHCP server and router), is a first step, though naturally it's easy to spoof a MAC address.
It's pretty clear to me he meant working on someone else's payroll.
Mahalanobis distance is just a way of stretching Euclidian space to achieve a certain sort of isotropy (it normalizes an ellipsoid to the unit sphere). It is built on top of Euclidian distance and is not an alternative to it.
“If my job…”

That implies your job currently doesn’t require those things. Does it mean you would continue to do the work you currently do?

I think a better phrasing to the hypothetical might be: “if my current job requires…”. And sure, you would leave that job, but does that mean you wouldn’t work at all?

Or does it mean you might use that free space to learn the skills to do a different job that wouldn’t treat you like such garbage.

It almost sounds like your conclusion is: “such a program would allow workers to reject abusive workplaces, and require management to ensure people didn’t abuse their workers if they would want any workers”. To which I say, don’t threaten me with a good time.
Good point, maybe this is an issue in bigger projects. I don't have experience here yet.

Regarding debugging and errors, it feels that less code and so much features being already included, and thus out of "one hand", seem to reduce bugs for me.

Having a complier could also open doors to catch bugs at compile time.
https://www.youtube.com/watch?v=mceaM2_zQd8
The problem with the old Netflix business model is that it's basically just "cable but better". This only worked because streaming rights were priced cheaper than cable carriage fees, which wasn't going to last. If Netflix had continued just licensing existing shows and movies, they'd be charging closer to cable prices because they aren't getting a deal on licensing cost anymore.
Was working with a NOC technician who was responsible (along with some others) for a pretty large EMEA mobile network, with many millions of subscribers. There was an RFP to update their SMS/MMS system and a certain Israeli company came in to do a site survey, or installation or something in the network data center.

Anyway the long and the short of it was one of their technicians was caught with the previous vendor's SMS-C prized open and some USB device insert into it. Similar response to this, a lot of hollering and hair pulling, but ultimately no contractual or legal implications.

I guess it happens higher up the food chain too.
HAHAHA. I feel so stupid. Thanks for pointing this out! Apt username.
As a software developer, there’s basically no risk. The demand right now is off the charts.