skysight-inc/HackerNews huggingface dataset:
If you feel that the power of democracy is insufficient to assure you of your safety in speaking freely you might conclude that the democracy is a sham and further that you might be safest keeping your mouth shut.
What motivates people to seek public justice? Is justice more important to you than self-interest? If your values drive you to publicly attack injustice despite your personal interests then attacking injustice is what you must do.
Yours is a question you could answer by referring to the values by which you live. Those who would serve Justice often exhibit great courage, while, perhaps, those who do not respond to the call gain wealth at the cost of self-disgust.
This sounds like the system is working as intended. Banks are encouraged to report suspicious activity, and are encouraged to take a fee on the transactions they report as suspicious. This gives the government the info it needs to engage in prosecution and gives the banks a financial motivation to report the suspicious transactions. The report makes this obvious legislatively driven outcome sound like some sort of evil-doing complicity with villains on the part of the banks. Is there something more deeply malicious on the bank's part here than simply behaving in the way anyone reading the legislation would expect them to behave?
I'd passed this over on Netflix, assuming it would be too introductory. Is it interesting enough for someone who's already familiar with the premise from having been around on HN?
Audiotag – free music identification website, using fingerprinting
It’s funny that our industry lets anyone, from any background have a fair shot at top paying jobs with only a few weeks or months of practice against freely-available practice problems that can be done from the comfort of your home. If you struggle, there is an endless supply of tutorials and YouTube videos to help you out. Did I mention it’s all free and you can do it on your own time?

When I tell my doctor, lawyer, and finance friends about this they literally can’t believe it’s that easy. It’s bizarre that so many people would rather replace this with selecting people by pedigree or credentials.
Free Will Lectures – John Conway
Where is the KVM?
Supporting a variety of options instead of just doing one thing has its own costs in terms of added complexity and maintenance. Maybe they thought about it and decided it wasn't worth it, at least not for now. There's nothing prohibiting them from offering more curves in the future.
What sort of problems are there specifically with current GNU/Linux distributions on big-endian systems? Fedora/RHEL, SUSE, and Debian are all supported on s390x, though doubtless many packages aren't very relevant on it. It was long ago that I ran SPARC Debian without issue that I remember, but it does seem still to be active.

I'm sure there is some badly-written stuff with issues, but I have the impression they're not widespread.
What in the world? You do know Manafort was being paid millions of dollars in laundered money by the dictator who was overthrown in the “coup” right?

https://time.com/5003623/paul-manafort-mueller-indictment-uk...
At one point in time, I thought Scala would be this, but it very much isn't. It feels bulky and lacking orthogonality to me, and it's tooling leaves a lot to be desired. (Note: this might be true of Rust too once it is as old as Scala.)

Kotlin, though, yep, big fan.
This is a depressing misunderstanding of how this kind of journalism works, particularly in the case of the ICIJ. It is mainstream journalists doing the work -- journalists who, in today's media economy, and with the increased complexity of data-led investigations, can't afford to do the work in isolation.

Each organisation brings different skills, not to mention legal budgets. David Leigh, one of the most highly-regarded British investigative journalists, puts it best when he says there's a big difference between knowing about a scandal and knowing you can publish a story about it.

I've worked with the ICIJ in the past, and even my tiny tiny contribution (a small part of the Paradise Papers work) was exhausting. Please, a little more respect for the mainstream journalists who do this work day in, day out.
Use Raspberry Pi 4 USB-C data connection to connect with iPad Pro
Yes, but there are exceptions, like for rendering non-JS versions of pages for example. That’s why Google themselves created Rendertron.

https://developers.google.com/search/docs/guides/dynamic-ren...
As the article says, it's a chicken and egg problem. Small number of jobs, means small number of people who have had those jobs in the past and now have those 6 years of experience with Rust plus minimum 4 years of leadership experience. Means more deciders having the attitude you have instead of "let's go with Rust!".
For those that don't get the reference, it is to this joke about 2 economists:

Two economists walk down a road and they see a twenty dollar bill lying on the side-walk. One of them asks “is that a twenty dollar bill?” Then the other one answers “It can’t be, because someone would have picked it up already,” and they keep walking.
> The downside to the PIMPL idiom in C++ at least, is that you have double indirection.

PIMPL is just a tool. There’s no argument here that it should be used in all or even many cases. The fact that C++ has this tool and Rust does not is interesting.

PIMPL indeed has overhead. Both when writing the code and when calling the code. If a program crosses the PIMPL boundary many times then the calling overhead can be meaningful.

However if the API is small and the program spends more time “inside” the PIMPL than crossing the boundary the runtime overhead is trivial.

A key benefit of PIMPL is that, in some cases, you can have a very lightweight header than clearly expresses an API without making users include a ton of dependencies they don’t actually need. I shall not express my opinion on C++ headers.

Historically I have not liked PIMPL. My current project benefits from it a great deal. Most projects probably would not. Like I said, it’s just one of many tools.
Stop your support of it. Simple.
A lot of people are going to say this movie is filled with people who made their millions and are now on an apology tour. Their bank accounts are still large, and their creations are still at large. I agree.

But this also makes them the most effective people to talk about it. I've had so many non-tech people in my life be blown away by this movie. Nothing in it was new to me or anyone here, but most people don't hear/see these things.

Most people in this movie were early employees, before we knew how bad it could get. Back then, social media was connecting people in new ways. Facebook in the early days was fucking magical. It had the potential to change the world for good. And then... it didn't. For example, the inventor of the Like button talked about how the goal was to spread love and appreciation. I believe him that he didn't for-see it would someday cause a rise in suicides among young women. How could anyone? And that's why they're speaking up now.

I agree with the criticisms. Lack of diversity, culpable people trying to save grace, Netflix making money off it and not being mentioned, etc.

But it's not for you or me. It's the most succinct, visual description of what's happening right now, made for the average person, on a streaming platform people respect. And the voices they used mean a lot more when the ideas are coming from previous true believers.
You're right about the massive amounts of C/C++ code out there.
I'd disagree that the integration is harder than with C++, though.

Calling Rust from C and vice versa is fairly straightforward and there are automatic code generators for doing so. Things just get wrapped into an `unsafe` block and that gives you the same guarantees you'd have with C++ (none, basically). From there you can start to gradually rewrite critical parts in safe Rust and profit from the cargo ecosystem along the way.
In that sense there's even an advantage for Rust over C++ in my book.
The author uses a systemd timer to schedule their backups. For backups going to a remote host I prefer adding a little bit of variance to the execution time to avoid consistently hitting some hotspot.

From the timer I use to backup my server using Borg to rsync.net:

[Timer]
OnUnitActiveSec=24h
RandomizedDelaySec=1h

This will run the backup script every 24 hours with a random delay of up to 1 hour, so every 24.5 hours on average. This causes the job to nicely rotate around the day.
Same here. I've set it to back up each night to the NAS locally and to their cloud.

Had a SSD die on me a few years ago, the primary disk. With no warning it just bricked itself. Thanks to Acronis my computer was running again less than an hour later.

Have also used it to restore documents and similar I accidentally deleted.

Another nice feature they have is their malware protection service. It detects programs modifying a large number of files in a relatively short amount of time, blocks them until you say if it's ok or not.
Some of us are working on it ;)
Doubling the number of transistors on a die and reducing the power usage isn't moore's law?

If i could swap out a chiplet i might be inclined to agree with you.
Trying to compare a few weeks of LeetCode to years of graduate school followed by years of underpaid 80-hour residency workweeks is out of touch.

Also, any programmer with a few years of experience shouldn’t have to completely relearn how to do LeetCode style problems every few years. The LeetCode easy and medium problems aren’t that difficult for anyone with a few years of experience.

Finally, I don’t understand how so many people are convinced that LeetCode problems are an entirely different domain than typical programming work. Sure, they’re toy problems, but the concepts are relevant to anyone doing things at scale that involves more than just connecting some APIs together.
The difference between Chrome and IE is that IE didn't really benefit Microsoft in a noticeable way. They had no incentive to improve it once they had a monopoly.

Chrome being faster, better and more feature-rich makes users stay in their browsers longer which benefits Google directly (which some might argue is actually a bad thing). But still, Google would have an incentive to not let Chrome stagnant even if they had 100% of the market.
> I think you would actually need Box<dyn Foo>

Oops. Good catch. Fixed. :)

Sounds like this is a fixable problem though? That’s nice. I really appreciate the amount of attention Rust compile times is getting. (Especially because relative to C++ they aren’t actually that bad!)
Now we need a blocker of bloat. I mean the kind of bloat where the video lures you on specific thing in thubnail/tittle and then theres minute of talking and into and "lets get started".

Sponsorblock is godesnd, but so far only solution for above been to just stop watching certain creators
Former Twitter engineers trade stories of all the ways the site used to break
> This can be agonizing while you wait for a much needed feature to roll out in all browsers, only to find out five years in the process one browser refuses the entire premise of the feature (RIP HTML Imports).

Slightly OT, but could someone explain to me why Mozilla was so adamantly against this feature? Allowing modular and dynamic HTML on the client without opening the pandora's box that is JavaScript seems like a clear value-add.
Julia is out because it's not statically typed and not enough of a difference from Python. If it was more popular then it may have had a chance on that alone but it's not. In terms of semi-popular statically typed modern languages that have good/performant C/C++ interop you have: Go, Swift and Rust. Can't think of any others to be honest. I'm guessing Go's lack of generics excluded it and Rust's complexity excluded it.
It has improved a little a while ago with the stable profile overrides feature, allowing you to compile dependencies in release mode and your own logic in debug mode. Made work on my Rust written game much easier. But there's still ways to go. Ideally you have an engine and lua/scripting layer anyways.
But you can also compare it to a GC'd language, which from this viewpoint is safer.

A GC'd language, however, is usually not preferred for systems work. However, most applications don't fall in that category.
> as "because fuck [captchas]. Recaptcha in particular"

Ah, that makes more sense, and now I'm not sure that wasn't what they meant (although it seems unlikely because fuck Cloudflare).

I'm not familiar with hCaptcha, but what I've heard (including from you just now) suggests that it, like Google 'captcha', is also a javascript-using non-captcha, in which case fuck them too.
I reacted the same initially, yet watched it on a whim.

The answer is sort of yes, in the sense that they provide you with more succinct explanations and analogies. This is useful if you want to explain this stuff to other people (who are not on HN).
Wow, an HN post about suppressing dissenting opinions ...

Talk about the pot calling the kettle black.

There's more brigading on HN than during the 1908 San Francisco earthquake.
True
I had heard many versions of this inference but this came in as a rational explanation.
Definitely. There wasn't a single idea in it that was new to me, and you'll easily pick up on where they're going with certain plot points long before they get there. (And yes, there's a "plot"!)

However, there were so many amazing ways they articulated things for non-technical audiences, in a cohesive way, that you'll get a ton out of it.

I especially recommend watching it with non-tech friends or family! Led to a ton of great discussions for me.
Do you know of a resource that takes that approach? Computer graphics has always been on my to do list.
> I'm not really sure what "atomically" means in this context, if you just mean you want the index updated when an attribute changes, then sure why not, just use inotify with IN_ATTRIB.

The answer is it's not atomic, it's another system tacked on the side. The filesystem information and your index can and would get out of sync. You also can't safely access that from several programs simultaneously.

> I don't think anyone is currently using extended attributes like this, so there is no standard pattern.

They were under Be.

> The question was about whether other filesystems can do this, and the answer is yes - basically all modern filesystems.

No, no other filesytems I know will index off of attributes.
Your example doesn't even index. It just writes everything to a file, and on updates has to rewrite the whole file, and searches have to iterate through the whole file. It does not do the same things the Be filesystem does, where the attributes get their own b-trees in the filesystem itself. The closest thing would be to load a database as a filesystem.
Maglite flashlights behave as you describe - you turn the head to turn on/off and change intensity or pattern

https://www.amazon.com/s?k=maglite
I didn’t find this as scandalous as its being made out to be. Money laundering is a well known issue.
I found restic did not scale well with a large amount of files when I tried it a few years ago. Has this changed? Is Borg better?

I used to run Crashplan with near-continuous backup for my important files, and I'm still missing this.
Sure, two engineers together technically can make $700k+, just like runners technically can run a 4 minute mile. You're not talking about average engineers at average companies here, so it's not really generalizable advice.
Agreed, the video and on surface reading is very much not what compliance/regulation enforcement action that banks really do.

And then it's the hot potato, what is trust in a banking system if your money doesn't show up? What about holding the funds itself, creates a liability problem for the bank?

I also am surprised this was written by "Buzzfeed news" too.

--

I haven't dug into it fully, but, surface wise, it's truly a misrepresentation of the financial system, SWIFT, FEDWIRE and remittances.
I don't think the reply tweet "We're not going Chromium" from a Mozilla engineer is really re-assuring.

The team didn't know tons of people were going to be fired in the first place, so why would they know about such a change, or when it's their turn?
I'm hoping that with the advent of projects like autocxx [1], the C++ compatibility story will rapidly change. Templates and some of C++'s more exotic features will always be an interop issue but Rust's ergonomics and type system are addicting.

I've been experimenting with "bidirectional" (for lack of a better word) refactoring in autocxx where the bulk of the C++ implementation stays the same but wrapped in a safe Rust interface (using autocxx to generate the underlying interop) that is then reexposed by another run of autocxx to the rest of the C++ code. New Rust code can use the safe interface while old code is refactored to use the now (slightly) safer wrapper over the Rust interface. This allows for very intentional, piecemeal refactoring across the code base.

Rust's compatibility with other languages like Python and Javascript is already, imo, second to none thanks to a few well designed libraries and the macro system. The only language that comes close is C# with its IronPython integration, except with Rust it's a lot easier for library authors to integrate runtimes. It took me less than a day to construct a JS/Python monstrosity with an absurd call stack (Node => Rust => Python => Rust => Node => Rust => Python) when I needed to wrangle together a bunch of legacy proprietary libraries in webapp form.

Like you said, the signs are good for Rust's interop story in general.

[1] https://github.com/google/autocxx
Thank you :-D
From view point of a criminal, prosecution of crime is root of all evil.

> Not directed at you specifically because I assume your comment was fecetious

It's kind of argumentation used in discussions, where absurd claim is made first, and then both parties are walking together from absurd to clarity, step by step. Doesn't work on HN, because HN'ers are jumping around, instead of walking, and throwing random downvotes.
Click the unsubscribe link once, and mark all future emails from them as spam and move on. They have no reason to act on your request, and this gives them one.
The website doesn't work for me though. ERR_NAME_NOT_RESOLVED
It’s important to recognize that different people have different goals in life and there’s absolutely nothing wrong with that.

This advice is great for people looking to maximize productivity. If that’s not your thing, that’s fine too.
Make School (YC W12) Is Hiring a VP of Finance
You want TikTok banned because you or your siblings can't educate their children?

I'm so depressed right now.
The kids you are thinking of certainly enjoy nice cars, good food, and so on.

However, the housing stock is mostly old & run down even at two million dollar prices. Not to mention, a kid with two full time Googler parents? They are attending an academically rigorous private school with 3-4 hours of cram classes after, not sipping virgin daiquiris by the pool.
No worries! IT'S ALIVE!

http://hultbergs.org/defrag/
These types of questions basically boil down very cookie cutter patterns that generally bucket into graph traversal/search, being comfortable with coding/manipulating linked data structures, enumerating+pruning search spaces, and knowing little tricks to reduce an order of magnitude from the runtime or space complexity after having applied one of these patterns. These all generally require knowing all your basic data structures as a prereq (stack/queue/deque/vector/hash table/self-balancing search tree, then using those primitives to compose graphs etc).

My advice for people who wanted to prep for these interviews originally used to be to read through some books that prep you for algorithm competitions (e.g. ICPC, IOI, GCJ), but I find that to be a bit overkill and not as efficient a use of time (although some of these books do a much better job of explaining things than any of these interview prep books I've gone through). Today the advice I'd give is get a book like 'Elements of Programming Interviews' in the language you plan on using and a leetcode subscription and just get down to learning about a data structure/algorithm/problem solving paradigm and then solving a bunch of questions that fit that technique.

If you really want to go with the overkill approach, I'd recommend a book like Competitive Programming 3: https://cpbook.net/
Or forcing you to login in both the browser and the websites they own.

I can't find any concrete mention of this online, but at some point the "identity consistency between browser and cookie jar" flag to disable this was removed from Chrome. People on HN were making a big deal at the time over Chrome forcing you to attach your Google account to Chrome if you signed in through YouTube or another Google service.

https://news.ycombinator.com/item?id=17942252
Integrating with C is easier than with C++ but it still needs those safe wrappers. With C++ you can use stuff directly, and maybe sometimes have to convert between say C and C++ strings. Integrating with C++ is much harder, especially if some C++ features are used. What if you have to inherit a class to do something? What if there is a generic function that you need to invoke? Even tasks as simple as catching exceptions are difficult. Things have improved with dtolnay's cxx thankfully.
You could ramp up/down the voltage gradually.

Anyway the thing is connected to an ADC. The computer can sense when the switch is turned on/off, and turn off (or flush) the audio pipeline at the appropriate times.
> Banks have to file a SAR for any group of transactions over $25,000

This is manifestly false. The $25k number is only for suspected violations of federal law in that amount or larger, not every time I buy a car or transfer $25k to my brokerage account.

Source: https://www.fincen.gov/sites/default/files/shared/FinCEN%20S...
Took adderall for 15 years but my Dr retired. I can't afford another so am experimenting with nootropics.

To stretch out my dwindling supply, I'm alternating Phenylpiracetam & Adrafinil (and occasionally Modofinil). Some days I supplement with L-Theanine.

I've done well with fasoracetam too but I haven't restocked.

In the evenings I take Kratom. Also, Phenibut but max is 2x/wk on that.
Basic physics.
More info here: https://hacks.mozilla.org/2015/06/the-state-of-web-component...
What do you think of Microsoft porting cloud-hypervisor to Hyper-V? Could that enable support for other Type-1 hypervisors like Xen?
Scala has been my primary professional language for the past 5 years, and I actually don’t have to use Java libs very often anymore, the pure Scala ecosystem has really caught up. When you do have to use them, they’re normally pretty easy to wrap.

Totally agree with the plethora of ways to use it being an issue, though. “Classic Scala” and “let’s write Haskel is Scala” is a real split in the community, and a significant downside. Then you have Akka too, though at least that solves different problems (highly stateful AND highly concurrent, which is a pretty rare mix).
RTCs are actually quite rare, especially in a lot of the lower power RF SoCs.

Drift would also be an issue - most move at least 10 minutes a year. That's with good temperatures, not being left in a hot car or at body temp.

If you could solve the drift issue then it would be pretty good I think, it's an interesting idea.
> They seem to have calculated wrong. But via the magic of the media to bend people's perception of reality, have been reputationally rewarded for it.

The magic of media, or the relatively favorable comparison to the federal response at the time, which was largely "lalala can't hear you"?

Folks are more inclined to accept "we tried stuff, and some of it wound up being unnecessary in hindsight" than denial.
I haven't tried that one. What's it do for you?
People dying to save the environment? You first buddy.