skysight-inc/HackerNews huggingface dataset:
It’s useful to know about even if you have no use case for it. Because this conversion happens every time you access a property on any JS primitive. For example, this:

str.toUpperCase()

Is actually doing this:

new String(str).toUpperCase()

...hand waving away obvious optimizations that surely occur for multiple property access.

There may be cases, for instance a series of imperative synchronous hot loops, where this has a meaningful performance impact.

Another thing that’s important to know is that you can do this:

Object.assign(str, {
anythingAt: ‘all’
})

And you’ve now mutated your string into a String. This breaks a buuuuunch of expected behaviors with primitives, such as === and the default Array#sort comparator.

Edit: this last one bit me experimenting with a runtime implementation of a common pattern in TypeScript to define nominal types for primitives (e.g. to distinguish a known valid URL from a regular string) called branding[1]. The approach is useful if you’re obsessive about type safety, but flawed because it almost certainly misrepresents the runtime type. I tried to use Object.assign to get that much more type safety and... I got the opposite! I got a String claiming to be a string, which broke all sorts of stuff, including the aforementioned === and Array#sort.

1: https://medium.com/@KevinBGreene/surviving-the-typescript-ec...
ＹＥＳ
I love the vibe of that show so so much.
Wow people do incredible mental hymnastics to prove themselves they are safe and all these studies are flawed. No matter how much effort have been put into research it will never be good enough.
My experience having worked at content platforms on ml (so fb, tiktok, snap) the largest motivation for content removal is content that general audience would be uncomfortable with. Pornographic content is the easiest example. Should a video platform be required to show porn? Some platforms allow it with tagging others avoid it entirely and often try to remove gray things like promiscuous videos.

Another big area is political content and how much of it to allow. A lot of people complain on hyperpartisan news content and fake news. How to moderate it is very platform dependent with some wanting to restrict a lot of it and others leaning to allow almost anything.

Also I’d be extremely surprised if youtube has no human moderation. My experience has always been a mix of human and ai moderation. Facebook has like tens of thousands of contractors paid for moderation. They still use a lot of ai on top of that.
You don't need to start with an entire country, start with a city or state. Then steal more.

Not sure how you'd target a geographical area though.
> a few exchanges refusing to flag coins

they may not have a choice if the gov't regulation forces them to flag it.
Comparing the actual US grid to the one predicted 15 years ago
> I never understood that Thanos reasoning, clearly he underestimates exponential growth.

This is a common thread in discussions of overpopulation. One particularly egregious example I've seen is where people object to immortality[1] based on overpopulation concerns. As in this case, killing literally everyone (after they reproduce) only gives you a couple of generations of breathing room. Exponential growth is really really unintuitive.

[1] I didn't say it was a particularly realistic discussion
> Who cares if there is a dangling dns records somewhere

You should care. This opens you up to subdomain takeovers, which have real security implications.

https://developer.mozilla.org/en-US/docs/Web/Security/Subdom...
My view is that Rust is pretty much where Go was about 3-4 years ago. About to see a lot of strong adoption and emerge as a pre-eminent language for writing backends. Strong library support and first class tooling is probably the only thing holding it back, but I'm hearing of more and more companies starting to use it. So it's definitely going to be a good bet to learn it.

Best way to learn Rust is going to be finding a way to get it into your current job. Write a small CLI tool in Rust, or spin up a small service in Rust. Make sure it's not on the critical path so that even if you're the only one who knows it, nothing horribly bad will happen. Ideally, see if you can get a coworker to learn it with you and contribute so multiple people know it. This helps engineering managers/directors get more comfortable with adopting a new language and tech. This might have to happen in your spare time initially, but hopefully if you're successful at it, you can start to use Rust at work and get the credibility you're looking for.
Doing that is how you end up with binary data being interpreted as escape sequences, either mangling the screen or, when unlucky, putting your shell in a seemingly unresponsive state.

https://unix.stackexchange.com/questions/79684/fix-terminal-...
Banks are the most law breaking entities in the United States. They constantly have to make enormous settlements for the insane number of laws they break. These are just the settlements for Bank of America:

https://www.fool.com/investing/general/2014/10/01/the-comple...

A better summary wouldn't be "they make plenty of money legally." It would be they make plenty of money illegally after paying the settlements.
Indeed. A closer comparison would be something like the Korg Electribe, which while quite fun in it's own right, is nowhere near as capable as the OP-1. Though it is quite a bit cheaper (about $600 AUD or so)
Hopefully :) it's been 10 years and I haven't kept up on the topic.
Lame. Ah well.
>A key question arises: why are so few repositories type-correct?

The authors don't seem to ever discuss the fact that mypy version changes frequently make previously-passing code fail type checks.

I don't think I have ever upgraded mypy and not found new errors. Usually they're correct, sometimes incorrect, but it's a fact of being a mypy user. Between mypy itself and typeshed changes, most mypy upgrades are going to involve corresponding code changes. The larger your code base and the more complicated your types are, the worse it'll be, but it's basically an ever-present issue for any program interesting enough to really benefit from a type checker.

How many of those repositories were "type-correct" but only on particular versions of mypy? I bet it's a lot!
I want to yell at some webpage that is reading my mobile's mic and have it become text in a <textarea>.

And I don't want the company that must not be named to know what I said.
Intelli What?
Yes exactly. Thanks.
This would be good for me since I don't have bandwidth for a full time job now but I want to work on something. I would need a way to acquire a lock on an issue so nobody can swoop in and finish it right before I open my PR. Let me know if you want to go through with the idea.
This is a common philosophical problem. EA fits in a philosophical framework broadly known as utilitarianism (which is also popular among rationalists, a group known to be fans of EA). Buddhism's ideas of moral philosophy often lie in a mixture of what is commonly known as Divine Will Ethics and Virtue Ethics. Utilitarianism is quite popular among modern STEM discourse, but there are moral alternatives out there that have been sufficiently explored. The idea that decision making may just be too complex to be effectively optimized is one of Utilitarianism's long-standing critiques (e.g., in the trolley problem, what happens if you save the 3 people over the 1 person, but one of those 3 people ends up becoming (or is) a dictator who orchestrates a genocide.)
"How I Made $2B By Doing Almost Nothing", on sale now for a limited time. Only $19.99! Order today. And don't forget to like and subscribe. That would really help me out.
Not sure how the scammers and thieves operate, but wouldn't they (likely) be laundering the money the same way they've always been doing it?

I.e, exploiting things like identity theft, countries and exchanges with little oversight, mules, gambling, etc.
If you’re not particularly skilled in the things that organization needs, then it may well be better just to donate it. Charitable organizations often have more volunteers or people who work for them than they have donations to leverage for their goal. More volunteers at a well-manned food bank isn’t going to help if the food bank doesn’t have enough food to give out. I think a lot of people who do work at charities (like you suggest) would agree with this.
“The confidential records and interviews with former employees reveal that compliance officers often filed SARs lacking even basic information about who owned companies banking with HSBC, the nature of their businesses, and where the money came from. Sometimes, records show, they asked branches for the information and were ignored or rebuffed.”

There’s records and then there’s “records”.

https://www.icij.org/investigations/fincen-files/hsbc-moved-...
> LKY also said, not that long ago, that “Singapore wasn’t ready for an Indian Prime Minister”.

1988 seems like a lifetime ago [1]:

> Back in 1988, LKY said that he would have considered then Minister for National Development, S Dhanabalan for Prime MInister had he not been Indian. LKY was certain of the opinion back then, that Singapore was not ready for a non-Chinese Prime Minister.

[1] https://www.theonlinecitizen.com/2021/01/26/is-it-pap-that-i...
1. It is difficult to have these sorts of discussions without first giving a reason for helping or giving at all. What is the reason for charity? Why should I give anything to anyone in need? (E.g., [0] and [1].) No bromides. You can't really offer any deep answers to the question of charity without a deep grasp of human nature. We are essentially eating machines. These are basic needs, not ultimate ends.

2. I do not believe poverty can be "solved". This would seem to view the satisfaction of need and elimination of unfavorable circumstances as things which could be satisfied and remedied permanently, but no such guarantee can be made. This is not to say government cannot play a role, only that we should not view government as a substitute.

3. Charity, while good for the other and aimed at the good of the other, is also good for the giver. That is, in giving I become better myself in a very objective and intrinsic way, which is to say, regardless of whether someone else witnesses my charity or not (or rather, especially when no one witnesses it or knows about it). Really, the kind of socialistic programs that I see many promoting only reinforces consumerism: the responsibility is outsourced to government who forcefully takes part of my income and "takes care of the problem" so that I can carry on uninterrupted with my consumerist lifestyle. But charity offers a way of breaking the cycle.

4. It is a false dichotomy to pit the moral growth charity produces against the good of the other. A true charitable act is characterized both by sacrifice and producing objective good. This requires knowledge. Without knowledge, there can be no love because you cannot love what you do not know.

5. Charity is always an individual act (groups aren't agents), but this doesn't mean that people cannot cooperate toward a charitable end. That's what charitable organizations do. The organized individual sacrifices of each person contributes to some good.

6. The notion that charity must consist of some grandiose or glamorous, but ultimately distant, concern for some people on the other side of the planet is misguided. We could use more charity in our daily lives and interactions and relationships.

7. The notion of the common good is omitted in the article. It is good for a society that people are not starving, for example.

[0] https://www.newadvent.org/summa/3023.htm
[1] https://www.newadvent.org/cathen/03592a.htm
Not if the person behind the crime was caught - then their coins could be un-flagged.
It's not. But it doesn't have to be sustainable to justify the current valuation. Indeed if it were sustainable, Coinbase would be worth many many times what it is now.
Love it. Reminds me of soma.fm
more like HN to NYSE
Some highlights from the article:

10% income tax rate, which probably makes it a tax haven (the article goes into some detail on this)

It's a very direct test of the whole "can a government turn a profit by incentivizing people to move there", since the government is a company

Unsurprisingly, highly Libertarian

The stability of the Zone relies, to an extent, on a treaty between Honduras and Kuwait

Businesses can choose the municipal codes they follow, from any number of options. A doctor can choose to use Norwegian medical regulations. A landlord could choose to be governed by the codes in San Francisco, or Atlanta, or Indianapolis.

Somehow, despite the above, the government provides you with an app to configure your house.

Property rights work like minecraft, you purchase the right to blocks of 1 meter cubes. Supposedly this solves the issue of obstructing someone's view.

Overall, this was a fun read, I'm skeptical though, and I think Alexander is too.
For $1100, I would rather get an iPad Pro and go the software synth route.
in practice it is the same thing..

they will still be able to identify you individually.. floc actually might make it easier by first assigning you to group of just a few thousands other people.. that mean they just need a few extra bits of fingerprinting to identify you uniquely from there..

also previously they could only track were you had being if there was an ad in that page or if it had a social media button basically they could store a cookie or run a script in a specific context of a specific site and now they knew you visited that site..

now with floc they can track you everywhere, even sites that do not have ads or buttons will be included when calculating your floc..
They try such a thing in Germany by having different rates of VAT (~sales tax) for different products. Basics (such as food) being on the lower rate, and luxury items on the higher end.

Not sure if it actually works well or is overly complex nowadays.
Is it still a UWP app?

Last time I used windows terminal, you couldn't drag and drop tabs and stuff, and the app was very slow, and the UI, context menu, sizing/scaling, animations, all felt very bad.
You didn't mention what it has been replaced with. And if your company doesn't have this role then I would definitely see why you are complaining.

What I mean is the Product Owner as defined by Scrum. Either as a 'hat' worn by someone whose official title in the HR system is Systems Analyst or actually as a title in said system even. At my last place they were called "Business Analyst" on paper.

If you don't have a PO, then you are not playing the game of Scrum.
Not really a visualizer as it's not in real time to music, but it makes amazing visuals:

https://electricsheep.org/
That’s because pyright was written in typescript so it makes sense to use npm to install it. Pyright has weak ide support beyond visual studio stuff. I’m pretty fond of pyright due to how responsive the developer is on GitHub. I’ve made multiple issues before and gotten an answer same day (sometimes same hour) and some small bugs I’ve reported got fixed in the next release (which happens like twice a week).
In my team, we write a half page of user stories up front so we're all clear one who the user is. After that it's all iterative prototypes that get shown to clients. They're a lot better at giving feedback when they have something in front of them. The resulting problems they have get turned into issues, e.g. "we need the default for value foo to be bar". Dunno if it's a process following best practices, but the team's growing so it's worked well so far.
Came here to ask about this… Does anyone know whether this has happened before?
wrt the discussion about colored unsafe for interrupt safety, would it be possible to have functions that sleep (or whatever) take a zero-sized struct called NotInterrupt or something? Then entry points to Rust code that are known to not be called from interrupts (unsafely) construct a NotInterrupt, and the rest of the code just passes it around. I think with some clever use of phantom references, you can convince the borrow checker to prevent a NotInterrupt from outliving the context it was created for, and as it's a ZST, it should be zero-cost.
You have to find some clean bitcoins to tumble them with .... why would someone with clean coins tumble theirs with dirty ones?
Oh yes! Bringing me back
Besides complicated apps, I think this could be useful for dumb web pages that are making a bunch of requests. Instead of having all those requests go from the browser to the provider to the pile of services, advertisers, and spies, and back again, they'll just go from the Mighty data center to the provider and back. I'm thinking FB and pretty much any news/old media site.
audacious media player
Comments like this aren't constructive.
https://comit.network/

https://github.com/comit-network/xmr-btc-swap
That is still something that happens at runtime, not compile-time. What the kernel would need is not only for the fallible alloc APIs (like Box::try_new) to be expanded to cover all their needs, but also to be able to remove the ability to use the infallible/panicky ones (like Box::new) to ensure, at compile time, that panic will never be called.
But in reality, nobody does - and only in some peculiar cases do payments made to a merchant gets confiscated like that (and they usually have no recourse).
It would have to be done carefully with respect to compensation for your actual employees. What if one of them fixes an issue with a bounty, is the bounty price in line with the approximate hourly wage of the employee? Would you be paying anonymous contributors more for the issue than what an employee would received?

What about employees in their off-time? Can they collect a bounty on issue completed outside of normal work hours?
I'd push back that a lot of the anti-political-activism stuff I see from EA people seems even more hand-wavy. Political activism has such enormous potential that any argument against it needs to be exceptionally strong. Now don't get me wrong, there are totally bits of conventional wisdom in political activism that I think are the exact kind of ineffective-but-makes-me-feel-good stuff that drive EA people nuts. I have hot takes about the oversaturation of phone-banking and door-knocking in presidential elections (although I'm searching for more evidence one way or the other before I make that argument in earnest).

But the problem with arguments like "there's a non-ignorable chance that a military strongman could hijack our movement" is that that's like, three orders off from the kinds of problems that actually happen when you try to do political activism. I'm sure some activists are worried about that in the abstract, but the way more salient issues have to do with things like fundraising, cultivating movements in places where they don't exist yet, vetting candidates (particularly in local races where people come out of nowhere), forming coalitions between groups that don't think they have much in common, etc.
The Outstanding filter seems to just show Insightful and Interesting comments.
The fed, "quantitative easing" (aka money printing), zero % interest rates, resulting inflation in asset prices (stocks, crypto, housing etc).
Obviously both of those possibilities are priced in. Investors aren't stupid, Gamestop notwithstanding.
I believe it can work, probably best to start it with a small group (<10) of known high quality contributors who are actively working with you and giving feedback on the process.

You are going to be trading your time, creating bounties that are objective, testable and fair.

This model is just too interesting for it to never get figured out. I am sure at least one successful case will happen (if it hasn't already) in the next ten years.
It's true, but the gamification and rules, IMHO, attract personalities that take that stuff really, REALLY, seriously. Even to the point of being absurd.

I suppose it's a kind of power trip to go around and mark questions as "duplicate" for even the most superficial nonsense-- I am looking at you, @gnat !
I’m not a fan of meta moderation. It lacks context. I upvoted or downvoted for reasons and without knowing that reason how can someone determine whether that was appropriate? When I metamoderated I was extremely forgiving for the same reason. Unless it was clear abuse I “okayed” it.

Incidentally at some point I stopped getting moderation points even though I was a frequent meta moderator. Whether that was due to meta moderation of my mods, I don’t know.

There were rumors of a blacklist and there was a thread which was closed down critical of either an admin or the site. I participated in the thread rather moderately IIRC, but that was around the time I never saw another mod point.

At least on HN, dang will tell you what he didn’t like about your behavior. dang is also outwardly cool with disagreeing with him, which isn’t true with everyone.
Because "term of art" is the term of art...

"Domain-specific" is nonsense gibberish to people outside ~computing, more or less.
Product marketers and advertisers used to (and as far as I know still do) write "biographies" of target customers to help decide what messages to send, what the packaging should look like, how and where it should appear in the supermarket etc.

They'd look like, "Jane, 35, has an undergraduate degree in a technical field, and is married with two kids. She exercises a few times a month but wishes she could do it more..." Then they say, "So would Jane be drawn to this color or is it too opinionated for her?"
I have a feeling that English keywords mixed with Spanish words for names of things would look like a mess.
As a junior programmer, I experienced this.

There was a messages system for controlling a device. The reads/writes were unapologetically leaked. My young mind couldn't comprehend it, and it made me angry. 20 bytes per message, and we sent thousands!
Slicing strings is a difficult concept when dealing with Unicode because slice indices and lengths can come in multiple flavors, but the only flavor that makes sense (grapheme or grapheme cluster) is difficult to count.
It will probably be Lektor. I haven't actually blogged anything yet, still putting things together.

Getting the blog tags plugin to work on Windows seems to be an exercise in pain.
> institutions have been able to acquire billions of dollars worth of crypto OTC without moving markets.

This is misleading. The markets definitely move, they just don't show a massive spike in the charts.
"Jargon" is a good word for this case.
>This risk is inherent in any political action (or inaction)

Is your premise here that all actions have the same risk of hijacking by a malicious player? I reject this premise. Solid institutions are usually an effective safeguard against this sort of thing, and radical political action tends to have as its goal to destabilize institutions.
If they want to launder the funds all they have to do is used a decentralized exchange to convert the bitcoin into something like monero. Monero has an encrypted blockchain and a bunch of other anonymization features. So once you convert it to monero, poof, the funds simply disappear into the ether just like that without a trace. They can then convert it back into bitcoin if they want as well.
My point is that you can have both, but rich people have the means to be more 'effective' with their altruism (EDIT: across a wider population).