skysight-inc/HackerNews huggingface dataset:
> Making software resilient against bitflips in memory seems very difficult though, since it not only affects data, but also code.

There is an OS that pretty much fits the bill here. There was a show where Andrew Tanenbaum had a laptop running Minix 3 hooked up to a button that injected random changes into module code while it was running to demonstrate it's resilience to random bugs. Quite fitting that this discussion was initiated by Linus!

Although it was intended to protect against bad software I don't see why it wouldn't also go a long way in protecting the OS against bitflips. Minix 3 uses a microkernel with a "reincarnation server" which means it can automatically reload any misbehaving code not part of the core kernel on the fly (which for Minix is almost everything). This even includes disk drivers. In the case of misbehaving code there is some kind of triple redundancy mechanism much like the "quorum" you suggest, but that is where my crude understanding ends. AFAIR Userland software could in theory also benefit provided it was written in such a way to be able to continue gracefully on reloading.
I've picked up ActivityWatch an year ago precisely due to those factors and I'm quite happy with it.
There's a translator for C99 to (unsafe) Rust: https://github.com/immunant/c2rust

So probably you can give me any C program and I'll be able to give you an equivalent Rust program. It'll probably perform about the same, too.
To some extent yes, but I think he's better than a troll, because IMO there is value in what he's doing, despite the hyperbole.
I mean raft and similar algorithms run multiple verification machines because a single point of failure is a single point of failure.
I agree that the aliasing control and other features of Rust enable all kinds of interesting optimizations that currently aren't being done, and 'restrict' is only part of it. For example we also know that the data behind a shared reference is really immutable (apart from UnsafeCell etc).

Unfortunately we may need an entirely new generation of compiler infrastructure to exploit these opportunities because LLVM is really a C/C++ compiler at heart and may not be happy about taking big changes that can't benefit C/C++.
Exactly what I suggested earlier... see my other comment reply.
I wonder about BTRFS after reading this:

One thing I will not run is btrfs, aka ENOSPCfs. I saw it fail again, and again, and again, and again, AND AGAIN, and again, and again. Then I saw it fail some more. The promised features never materialized, and the drama and surprising behaviors never ceased. All costs, no benefits? I'll leave that on the shelf, a few spots down from reiserfs (which was plenty sketchy BEFORE you know who did you know what).

https://rachelbythebay.com/w/2020/12/11/feedback/

As to file systems in general, I think they covered them very well..

As to Plex, he also mentioned the others:

Jellyfin and Emby are two notable players in this space (playback on any device) but we should also mention Kodi. Kodi is great if your use case is local only as automated media transcoding for the target device isn't something that this software does. But, for me, Plex is still the best overall in this category. It has the slickest UI and the most features. Despite this, the progress being made by Emby and Jellyfin recently is very impressive and these are both projects to watch closely.
The professional "design" is too busy and noisy, distracting me from title. The call to action is tiny. The "ugly" design increases the lettering to a larger % of the total graphic. A design with these changes, and graphics that are a better abstraction for the message, would likely perform much better. (tl;dr pretty design != good design)
realistically the increased expressiveness of Python lets the PyPy devs opt into optimizations the CPython devs find out of reach

Not really: It's the compilation strategy (that whole meta-tracing JIT compiler thing, compared to a simple bytecode interpreter) that makes the difference, not the surface syntax of the implementation language - which is actually not 'real' Python, but a restricted, less dynamic subset known as RPython.

Also note that the CPython is deliberately kept 'dumb'.
There's a whole slew of photos on the restoration blog:

http://balintorecastle.blogspot.com/
This headline might be the biggest "duh!" I've ever read on the site. In this day, and in this surveillance market economy, you must assume that you WILL be tracked wherever you CAN be tracked.
$1000 grant for individuals working on climate change, no strings attached
Ah, the lengths PhD people will go to to avoid doing their thesis... ah, the memories :)
It’s a shame that most of the discussion is about the first part of the essay, impressive as the troubleshooting is.

His discussion of core values is quite interesting, in that it’s both relatively obvious in retrospect yet something I’ve not given conscious thought to.

I’ve certainly thought about programming languages as expressions of intent, and how some attempt to be what I call “kitchen sink” languages, like C++, Java, or JavaScript, while others are much more opinionated about their purpose, like Erlang, Forth or APL.

Also reminds me of the old description of UNIX as user-friendly, just picky about who its friends are.
Rules of order can help. I have been in meetings where certain people essentially filibuster simply because their idea is not well liked but they think that by repeating themselves and talking endlessly, they will win everyone over. End result: it doesn’t work, wastes everyone’s time, and leaves the entire group tired and frustrated. Setting hard time limits for ideas, feedback, and open discussion can help curb this.
and its a bad metaphor. there are many reasonable comparisons to be made between any two things even when both are not fruits
Reminds me of The Running Man by Richard Bachman (Stephen King)
Microchip has the product for you then! Well, the RiscV part anyway.
https://www.microsemi.com/product-directory/soc-fpgas/5498-p...
Let me know if you want help finding more of your competitors or potential enterprise customers. I have proprietary algorithms for this and would be happy to help.
I think society has come full circle. You've just named 3 new genres of future reality TV shows.
That’s not what significance means.
I see I have it backwards as another comment noted.

Why is it hostile though? A records are under your own domain. Creating a bunch of bogus A records for sale is the digital equivalent of a garage sale on your front lawn. You're not actually squatting any TLDs, which would be the digital equivalent of a real estate ghost town.
Furthermore, many of the people who say they hate advertising also hate PR and other sort of marketing campaigns. So presumably their theory is that people should build something and just hope people will discover them somehow.
It says I've had 0 bites, but it appears there's already a bite in the donut to begin with.
Prototype Microprocessor Developed Using Superconductors
And that's exactly what I'm questioning. Why are Reddit and HN labeled as non-productive? Is it because it doesn't do anything to us or because we're trained to only label "skills" as productive?

I learned more through HN than I did with many books. Reddit improved my day through stupid memes that made me laugh more times than I can remember.

Yet when I'm browsing those sites, I feel guilty. Even while writing this very comment.

That's what saddens me.
For dynamic usecase, DynamoDB has implemented pagination with something called lastEvaluatedKey - https://docs.aws.amazon.com/amazondynamodb/latest/developerg...

This is different from LIMIT in RDBMS

Wouldn’t this pattern solve the complexity you are talking about?
You seem to continue putting words in my mouth. What's up with that? Here's what I said:

> other solutions should be tried because the current one clearly has disastrous consequences

Given the context of my other comments, you seem to have reached the wrong interpretation, and are still unwilling to entertain a conversation about what a milder lockdown looks like.
go fix the c implementation then.

no single person can maintain optimally implemented solutions over dozens of languages. its up to we the people to help out. you want perfectly equivalent comparisons, make it happen
When I calculate a p value, it looks like p<0.01.

That seems like a highly significant result to me...
Yes to both.

We do support firmware upgrade, unlike other security keys. For example in 2020 we patched a couple security issues, while Yubico, Google Titan and Feitian all recalled keys. Specs and thus firmware are getting bigger and more complex, so we believe that updates are the only way to maintain security in the long run.

We do not use a secure element, unlike other keys. This is not a statement, it’s just a fact. If you want an open product, there’s no “secure element” available that doesn’t require an nda. We hope that our work (we’re not alone in this) will motivate manufacturer to release secure elements with less obscurity around them.
Agreed but it's not just Japan but pretty much every country in the world. And all countries do the same to each other. Projecting their own fears and insecurities into others.
In the middle of the night I visited a dutch but and sell website searching for something specific. The search results, page after page, were filled with advertisements from the same auction agency. My single visit, clicking though 20 pages produced well over a thousand ad impression. I had to click though them to find other peoples ads. The next day they were all gone. Apparently the budget ran out.
Thanks for the reply. I imagine I could tag them somehow and fuzzy find on the tag or a tagged subset. I'm actually looking at the Nyxt browser now also.

I'm a freelancer, so I regularly switch between various active projects or future, potential projects. That results in lots of tabs.
> My point is that the majority of "productive" things we do are geared towards our jobs.

There's a confounder here that's relatively specific to some types of jobs / industries (like IT): the same skills and knowledge that is "geared towards our jobs" is also used outside work. In our industry, a lot of people - including myself - are hobbyists. They enjoy the same stuff they also do for a living. In this setting, your personal pursuit for knowledge and fulfillment may look from outside as indistinguishable from your job.
not according to the standard, but in practice yes, currently. there are arguments that it should be considered not for optimization reasons, but there is likely too much existing code relying on it to change behavior. (see related llvm, gcc bugs)
Well, Uber is known to everybody by now. To the effect that "to Uber" is even kind of a verb/noun.

Also people either need a hired transportation or not. If they don't have a car or don't want to mess with the traffic and need to go somewhere, it's either Uber or Taxi usually.

It's not like Coca Cola, which is well known, but people could do without it (unless addicted), so needs to constantly nag people.

And it's not like some new product, which without advertising nobody would even know it existed.

In fact most of Uber's existance its operation has been 100% advertising (spending VS money to offer cheap rides and expand and gather "eyeballs" and "customers" without a profit). In my book, customer acquisition without profit is another name for advertising.

So it doesn't sound strange that it could do without advertising today.

But what if there were 3-4 strong players in the same, each eating in Uber's market share? You'll see how fast they'd found advertising indispensable again...
I disagree with this perspective as it implies gate-keeping. Making websites easier to create is a good thing. If a tool like this gets more content onto the web then that's a good thing IMHO.

Besides, search engines already deal with a deluge of duplicated and low-quality websites...
Nobody likes Lisp syntax initially. That goes away after working with it for a short while.
> Still, being equally honest here, there can be no denying that an ever-greater portion of the television audience has HD widescreen televisions staring at them from across the living room, and that they feel notably oppressed if all of their entertainments do not advantage themselves of the new hardware. It vexes them in the same way that many with color television sets were long ago bothered by the anachronism of black-and-white films, even carefully conceived black-and-white films. For them, The Wire seems frustrating or inaccessible – even more so than we intended it. And, hey, we are always in it to tell people a story, first and foremost. If a new format brings a few more thirsty critters to the water’s edge, then so be it.

It's too bad they don't offer a 4:3 HD version for those of us who care about high definition but want to respect the original composition. Same goes for Buffy, which is a complete mess in 16:9.

I watch many old movies on my 1080p projector to a 16:9 100" screen and don't mind side bars at all.
>8 million views

So, less than a viral cat video?
> "edit: I hate to say it but the auto-downvoters here on HN are approaching reddit levels. Everything I said above is true."

It's not that you're wrong, it's that you're boring.

"I knew this years ago, look how my cynicism is superior to your naievite" is a boring comment to read. You could explain why you think this is any closer to fraud compared to selling anything else and claiming it's the best in its class, or what safe-harbor carve outs by whom, or why they matter more than other effects, or what you think should be done to change them, or anything more substantial than "I'm not surprised". Oh aren't you? Great, cool story bro. Except it's not /even/ a cool story.

It's old man "get off my lawn". It's every tech forum's old-man status grabbing which is now approaching Reddit /r/SysAdmin levels on HN. The only question is whether aggressive downvoting can curb its growth here before it gets a choke-hold.
A few thoughts:

1) AWS dynamodb has a parallel scanning functionality for this exact use case. https://docs.aws.amazon.com/amazondynamodb/latest/developerg...

2) A typical database already internally maintains an approximately balanced b-tree for every index. Therefore, it should in principal be cheap for the database to return a list of keys that approximately divide the keyrange into N similarly large ranges, even if the key distribution is very uneven. Is somebody aware of a way where this information could be obtained in a query in e.g. postgres?

3) The term 'cursor pagination' is sometimes used for different things, either referring to an in-database concept of cursor, or sometimes as an opaque pagination token. Therefore, for the concept described in the article, I have come to prefer the term keyset pagination, as described in https://www.citusdata.com/blog/2016/03/30/five-ways-to-pagin.... The term keyset pagination makes it clear that we are paginating using conditions on a set of columns that form a unique key for the table.
It's sad to see the downvote culture come here. Downvoting is meant for removing contributions that don't add much to a discussion, not for indicating whether someone agrees or disagrees with you. It seems to be a norm that is spreading though, sadly.

It would appear jodrellblank is perfectly demonstrating how to misuse the feature, by calling you boring. Not exactly the kind of attitude that we want to have around here.
It seems unwise to let control of your product degrade to the point where you cannot draw a line between code you own yourself and encumbered/external code. It should be possible to avoid with proper planning. Still, you're probably right that it is a common situation.

Your other examples mostly seem to boil down to "we were not willing to commit the necessary resources to do it". Which is fine, of course.
There are a lot of amazing concepts that Toyota developed. It requires a lot of discipline, focus and commitment to implement properly.

One thing I didn’t see mentioned that Tesla is currently doing is a very strong relationship between design and production. The upcoming Cybertruck for example doesn’t have paint and it has an exoskeleton design that should be much easier to produce. Over the years I have not seen any radical designs from Toyota that suggest that the ease of production was influencing radical design choices.
Hostile Colors: Generate color palettes with poor accessibility
I remembered it being slow until I rewatched it recently. It’s not slow and it gets interesting very quickly.
Define "trust". Or more appropriately "threat model".

My biggest problem is not the key.

My biggest problem is the fact that I can't easily roll keys out in a startup with 5 people and not become the customer service IT person handling security problems every day.

Solve THAT problem and I'll pay a monthly fee for your service.
Ask HN: What must be true for search indices to be declared public good
I saw a nice synopsis from a finance person on reddit on why the analogy to the mortgage issue is way off the mark, but I doubt I can find it again. My point is that there's a whole burgeoning industry in whining about how ad companies are evil, but it's not really quite so black and white.
> whoever lasts the longest gets $500K ($0 if you lose, I presume).

I don't remember the numbers, but even the non winners are paid fairly well.
Could also cross-subsidize by being a sub-affiliate network as part of an affiliate network. Company earns percentage of affiliate commissions produced by in-network links, which subsidize the non-commissionable out-of-network links (and non-earning in-network links).
>it might appear like there's a coordinated takedown of ad tech companies going on.

Or, you know, somebody read the first article on HN, then found the other somewhere, and thought of posting it, as it relates to the same disucssion...

Happens all the time with posting clusters (and the Baader-Mainhoff phenomenon).
they are logically equivalent (of course) and the parentheses become invisible once you are used to them. Every language has a threshold of "fluency" which, once you reach it, makes it easy to understand at a glance.

Retooling to use nesting boxes has obvious appeal to a newcomer, but none to an existing programmer, and the cost to the corpus of existing programmers is far too large to justify.
Funny, he mentions the Xaw fonts, I was just looking at something similar. I've been using XTerm with Xft support for years but never really thought about it, how come the text in the menus and toolbars is so crunchy?

I eventually tracked it down, Xaw3dXft operates in compatibility mode by default. A oneline patch enables all the new features, and makes a world of difference.

Here's a screenshot, I think it's night and day: https://twitter.com/taviso/status/1344779126767435776

I mailed a patch to the maintainer, hopefully the next version will fix it!
this escalated quickly
I believe bots scrape the internet for these, unfortunately :(
Yes, but the significance is high here; it's a pretty (un)lucky outcome to get if A and B are equivalent, let alone if A is better than B.
> That kind of tit-for-tat in benchmarks seems like it's counter to the goal of benchmarks

Yep. There are good reasons why this set of benchmarks is called The Computer Language Benchmarks Game.
Slow as in no cheap attention grabbing action or camera work is good. A ton is happening in The Wire so 'slow' helps following the story!
I find the show to be incredible, not just in terms of rhetoric but actually just aesthetically, it's got very pleasing visuals and there is no overuse of edits and sound.

But sometimes i see the way david simon acts on twitter and i reconsider how good the show actually was. It's hard to believe it was even made by him.
Nah. Both brands pull more than TDP when boosting at max, AMD desktop processors will pull up to 30% above the specified TDP for an indefinite period of time (they call this number the "PPT" instead, but they need to go higher than TDP to hit full boost, and PPT is the number that governs that).

Intel mobile processors actually obey TDP better than AMD processors do - Tiger Lake has a hard limit, when you configure a 15W TDP then it really is 15W steady-state once boost expires, while AMD mobile products will pull up to 50% more than configured in steady-state operation. (the gap is larger than desktop)

https://images.anandtech.com/doci/16084/Power%20-%2015W%20Co...

"the brands measure it differently" is sort of theoretically true but not in the sense people think, and in practice it is not true.

On AMD it is literally just a number they pick that goes into the boost algorithm. Robert Hallock did some dumb handwavy shit about how it's measured with some delta-t above ambient with a reference cooler but the fact is that the chip itself basically determines how high it'll boost based on the number they configure, so that is a self-fulfilling prophecy, the delta-t above ambient is dependent on the number they configure the chip to run at.

In practice: what's the difference between a 3600 and a 3600X? One is configured with a TDP of 65W and one is configured with a TDP of 95W, the latter lets you boost higher and therefore it clocks higher. Configure them both to a 65W PPT limit and they will boost to pretty much the same place.

Intel nominally states that it's measured as a worst-case load at base clocks, something like Prime95 that absolutely nukes the processor (and even then many processors do not actually hit it). But really it is also just a number that they pick. The number has shifted over time, previously they used to undershoot a lot, now they tend to match the official TDP. It's not an actual measurement, it's just a "power category" that they classify the processors as, it's informed by real numbers but it's ultimately a human decision which tier they put them in.

So in practice, for both brands, it is just a number they pick. They have different theoretical methods for getting there but ultimately the marketing department looks at where the clocks would put them and pick a power number that they think represents that. It is not, in practice, a pure measurement from either brand, it is just a "category" they use.

Real-world you will always boost above base clocks on both brands at stock TDP, at least on real-world loads. You won't hit full boost on either brand without exceeding TDP, the "AMD measures at full boost" is categorically false despite the fact that it's commonly repeated. AMD PPT lets them boost above the official TDP for an unlimited period of time, they cannot run full boost when limited to official TDP.
Being accused of maybe having a virus is not a reason to be arrested and detained indefinitely.Period!
"Today’s society is no longer Foucault’s disciplinary world of hospitals, madhouses, prisons, barracks, and factories. It has long been replaced by another regime, namely a society of fitness studios, office towers, banks, airports, shopping malls, and genetic laboratories. Twenty-first-century society is no longer a disciplinary society, but rather an achievement society".

- Byung-Chul Han
Does this mean that all of the so-called "small business needs it" arguments against durable federal privacy legislation are totally moot?
So advertising works? If it didn't, those buying ads would not take the pepsi market share
Oh, neither do I.

What made me sad is that I'd likely have a very similar scoring if I did this myself.

For example, I wish I didn't score sleep as a waste of time, when it's likely more important than many of the things regularly deemed important by society.
> I wonder if extroverts — or those that are energized from intense social interactions — are more destined to be happy vs. introverts.

Sadly for introverts, that seems to be the case.

Source: https://www.scientificamerican.com/article/quiet-disadvantag...
And yet, it was developed under free market principles and delivered to market with no one getting a UBI.

UBI is a fantasy for children.
You're implying she could've done all this research in her bedroom? I doubt it.