skysight-inc/HackerNews huggingface dataset:
Our approach for generating API docs is generating a default UI including all the metadata that can be inferred from Typed DTOs and further enhanced with custom DTO attributes:

https://docs.servicestack.net/api-explorer#api-customization...

But also allow users to define their own custom HTML Components for each API to provide full control to be able to include their own rich interactive content for any of their Types:

https://docs.servicestack.net/api-explorer#api-docs

That for optimal UX all gets bundled together with all the App's components into a single cached download.
People who write these articles will talk for an hour straight about their favorite window manager, why it should actually be called Gnu/Linux, or why it’s “free as in beer”.
Where are the companies that don't pull this shit? It's more like a pickaxe and railcar than a canary. Most companies use dark patterns because they're profitable and not illegal. People doing profitable work get bonuses - this is what sales teams are for. People won't do ethically ugly shit unless you pay them enough commission to hide the stink, or if you're good enough at bullshitting the bullshitters.

Half the shit being done in crypto would count as fraud if the assets weren't digital. NFT is literally pump and dump, and people are being blatant about it.

Customer retention - harassing and cajoling and exhausting people into paying more - is not standard global business practice. It won't go away unless it's made illegal.

Appealing to the people doing the dirty work is silly. They're not in it to be good nice citizens of humanity. They're peddling shinola to the great unwashed, getting their nut.

Before we fix the ones that only whine insistently when you cancel, let's get a handle on the Hotel a California, every human has an account, "you can never leave" companies.

Legislate strict privacy rights requiring ephemeral storage, continuous consent, and fast, lethal penalties. If your company can't protect customer data like its fucking Fort Knox your company has no business handling private information.

There are sufficient existing enforcement and watchdog groups, they simply need legislation and executive direction.

Refine nuanced interactions, setting limits on "retention" activities, and establish a framework of legally prohibited dark patterns by setting clear boundaries around what constitutes acceptable sales, data, and account management behavior.

Nuke offenders from orbit, as frequently and fast as possible.

Anything less and the circus will continue. Shitty little clowns will keep getting out of the car, mugging audience members, and it's just a matter of time before the lion tamer takes center ring.

It's way past time for laws that account for the fact that the world is digital. Analog metaphors don't cut it.
The solution is pretty simple. Just stop allowing software patents.
There are a ton of alternate HN UIs for web, mobile, and terminal. I don't use any but I've seen them posted about many times.
It's interesting that between the push to HTTPS all the time and deprecating old https protocols, eventually all unupdated web browsing devices are going to end up as bricks.
Hi Developer here, I'll look into the safari issue... You can flip the fretboard in the bottom right below the fretboard :)
Seriously, I could have done this in 1996 and so could anyone. I reckon I could probably have worked this out in 1986. It’s not like binary arithmetic has changed significantly in the last 20 years.
With a phone number, the contact graph can be on the phone. With usernames, the contact graph has to be stored on their servers.

They were forced to store (encrypted) information on servers anyway, since client-side contact matching didn't end up scaling, which is why stuff like this and usernames are now being developed.

Their new security strategy now relies on decryption being done by client-attested code on SGX enclaves, so that the server still doesn't have access to the plain-text contact graph.

All of this took a huge amount of time to come up with, and you can see the progress if you read their blogs or forums.
Today I tried to cancel uber pass. The instruction on their website:
To cancel your Uber Pass in your app:
1. Tap the profile icon in the bottom menu bar to access your account view.
2. Tap ""Uber Pass"" to open your Uber Pass hub.
3. In the hub, scroll down to find the 'Auto-Renew' toggle and turn it to ""off.""

But there is absolutely no "Auto-Renew" toggle in their browser dashboard or android app.

I have to remove all payment methods and see if it works.
I don't think you need to qualify it as click areas. Everything in the HN UI is too small. Unless your Antman or the Tick. For those 2 users, it might be okay.
Hahaha, my brain type the wrong word but it's funny so I'll leave it.
Nice, catch! I'll fix that.. Thanks :D
That’s a form of victim blaming.

Companies shouldn’t do this shit, and shouldn’t legally be allowed to do this shit.
Do you have kids who’ve needed steering? If Bobby cuts one of Suzy’s pigtails, you perp-walking him and printing him, throwing him juvie for 60 days? Of course there’s the possibility of criminal behavior, but most of it is better served long-term by other means. I am speaking from looking a a couple of generations of influence here, both sides of the perpetration fence.

There are infractions that need police, but the majority are best handled without.

The original comment on this thread conflated bullying and violence with all discipline of all kinds (did not nuance between them). Cops don’t care about bullying anyway, it’s not against the law.
I can see a blood like pulsing (reddish to gray). Never thought much of it. Doesn't bother me at night and I only notice it during the day.

Not as trippy as seeing 'static grain' or static overlay (like static from an old TV) at night in the dark - turns out that is a precursor to a migraine the next day.
The policeman in question in a sheriff in California. That is an elected position, so about as directly answerable to the average citizen as it gets.
Kosovo has 100% to do with this, friend. In case you are genuinely curious: The "West" has decided that Kosovo suddenly must be independent, and they bombed the shit out of Serbia (6mil pop, tiny) on a pretext that somehow this just HAS to be a separate entity. They didn't even bother with, as you say, a "mock referendum"!! Now the same people come lecturing about borders and sovereignty, and referendums, sounds cheap as shit.
When the tools of lying, murdering and stealing are available to the police, they will use them.
From what I can see there is no monetary angle to polywork. Their goal is to empower collaboration.
Nah, if you follow his actions you can tell that is most definitely not it.
It is the SWAR method. Another comment explains it well, it basically treats each bit position as a 2-bit adder.
"To baby boomers, I say that 70 percent of your country’s financial assets are in your hands compared with just 5 percent for millennials,” he wrote. “You and I need to lead. In our age of Climate Chaos, I say ditch the companies contributing to the mass fossil fuel destruction of Earth.

Jesus wept. You're 76, Neil. Your generation did its damage. No amount of vocalizing will whitewash the 20th century. The memory of the baby boomers will not be forgotten for a long time.
That’s a pretty important distinction. If someone in the 1800s invented a mechanical calculator that could do this operation in a single crank, I don’t think anyone would upset about that patent.
It's not even computer science, it's literally just math. (a+b)/2 = a/2 + b/2. They were teaching that in pre-algebra in middle schools well before 1996.
In an ideal world you would subsidize mental/physical assistance instead of giving them more money. It's both easier to do and fairer to those affected.
Backwards compatibility would be even more important in that case. I've worked in product teams and we did all sorts of experiments to understand customer usecases before making a decision like this.
PiHole doesn't block all ads though it might seem to for some, and DoH (aka Private DNS) will eventually obsolete it if the amount of lost revenue doesn't remain trivial (less than the cost of implemention in their product).
>interns get to do some of the coolest things

Like take the blame when things go wrong like testing a major email notification system.
Disclaimer: I own one of these Lenovo devices.

This makes perfect sense, thank you. The last thing Google wants is to be blamed for allowing some old device's camera to be compromised and be the source of a leaked video of somebody dancing naked in their kitchen.

Basically a case of a device company riding some trend 5 years ago installing an OS that has an end date for support and since the manufacturer already got it's money for the device there is no motivation to solve the problem.

At this point why does anyone expect any electronic to be relevant after 2 years of ownership anyway?
That will run afoul of EU consumer protection laws, Dutch citizens are also EU citizens.
There's also federal law. The AGs may not be (directly) involved - but there's an umbrella jurisdiction for consumers to get satisfaction. Just like the EU.
I own one of these in my kitchen. The only thing I really find it useful for is as clock with the weather on it and as something to yell at to play music when I'm washing dishes. Both could be done with a simple smart speaker.

The thing I hate most about this device is that it displays beautiful landscape photos but I can't tap on an interesting photo if I want to know what the photo's subject is.
My father doesn't have any sort of web-connected camera, which caused a whole set of problems with his unemployment that I can't remember how they got fixed.

On a similar note, I don't have a lot of documents tied to my name, so I had nothing that they wanted when my photo verification didn't work for whatever reason. Pretty sure I just never solved that one and left the last couple weeks I would have gotten unemployment on the table.
I'm sure you can be creative enough where you can read between the lines and determine a valid username that is a near clash and someone might accidentally use that name instead.
If you tend towards being an entrepreneur, I definitely would read the books "Who not How", and "The System Is The Secret". Those are great books also. If you struggle with being organized, forget or miss stuff (including appointments or tasks), I also recommend "Getting Things Done" by David Allen. This one alone changed my life in a great way - no more forgetting important things, knowing what all my projects are in my personal life & work life, and long-term planning, breaking things down into doable projects & tasks, and executing on them. So great.
Fun that the homebrew limit is still 200 gallons. The more things change, ...
Any algorithm directly expressible as an electronic circuit is considered patentable in most countries due to this equivalence relationship. Technically, this includes all computing algorithms in practice, since there is no meaningful distinction between software and hardware.

However, this is also why business method algorithms like the Amazon "One-Click" are not patentable in most countries. There is no trivial theoretical equivalence between one-click shopping and an electronic circuit.
Traffic, tickets, gas: rideshare and delivery app workers fight to unionize
> A racist?

I don’t follow tabloid stuff, so this may have changed, but at least during the filming of his recent Netflix specials: Bill Burr is married, and his wife is African-American.
If this is not a copy-pasta, it should be a copy-pasta.
If you are early in your career I would advise that person to stick around shopify and they might learn something.

Shopify asked the person to do frontend work and the person thought they were doing backend work because they weren't use to editing html templates with react.

We learn that this person might be a senior react developer but this person isn't a senior frontend developer.

Shopify identified this and made the person an intermediate developer.
The GP was comparing the Uyghurs to targets of European ethnic cleansing, not colonization.
how can i see my comments and posts that have been flagged ? i bet those are the best submissions
The model is very simple, if a business uses open source, the the business has to pay an open source tax. It doesn't include OSS covered by must share source, like GNU , license.
Far less than 12.5% of the general population gets Covid symptoms at all, though.
I think JavaScript global namespace is massive in the browser. Under nodejs things are much saner.
> Because they happen all the time, and the government doesn't go after them - damages are civil not criminal, so the lawyers are the ones getting richer.

The crucial point from the original proposal is the following:

> If an article ever appears in the Wall Street Journal in which you (or your lawyer) are quoted saying that you were just a simple dentist, didn’t understand what you were buying and were swindled by the seller’s flashy sales pitch, then you go to prison.

The implication (the WSJ is just a stand-in) being that if lawyers representing you even talk about this investment, let alone try to bring a court case, you go to jail. No law like this exists at the moment and I'm saying such a law would quickly become toothless because it would be nigh impossible for the government to enforce.

> As far as "the big problem", people win the lottery every day. It's still not a sound investment strategy (unless you have some sort of edge).

Yes and that's precisely why there's still a lot of people who buy lottery tickets. My point is telling people upfront that something is a losing proposition and then taking away the ability to complain if they do it and lose anyway isn't enough of a disincentive to prevent people from doing something if they are convinced that they're the lucky ones or that "this is the real deal," a slap in the face at your local SEO office be damned.
I think Alibaba did this a little while ago - someone tried to sue them for infringing a one-click checkout patent and they did challenge them in court and won.
Do people need to care about this if they're filing online with a firm like H&R Block?
You left out the critical qualifier:
"During March 2020–January 2021, ..."
I mean usually throughout history at some level of wealth people want some kind of political type of glory.

If not that then some kind of patronage of the arts.

The problem with leisure is pretty constant really once you don't have to work.

You can only party all the time for so long before your addictions catch up with you. It is like the delusional of retiring to the beach to drink wine all day. Maybe fun for a few weeks but 6 months? You will be in bad shape rather quick.
Why does it need to tell everyone I have a Signal account?

Adobe doesn't tell everyone that I own Photoshop.
Gmail doesn't tell everyone that I have a Gmail email.
PornHub doesn't tell everyone that I subscribe to their premium account.

Why the fuck does Signal need to? Broadcast should be off by default, on by opt-in.
Thanks! I'll say that a key design goal of ours is to make it so that PMs/asset managers/execution traders running complex books don't have to think about microstructure. Today's markets and the algorithmic trading stacks surrounding them are enormously complex. Smart Markets and multiunit auctions trade external complexity and internal simplicity (the existing double auction world) for external simplicity/usability and internal complexity (the computational challenges of combinatorial auctions).
This would be great if it was in their Virginia DC
wrong answers only: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95644#c4
Location: Islamabad, Pakistan

Remote: Yes

Willing to relocate: Yes

Technologies: JavaScript, TypeScript, ReactJS, NodeJS, NestJS, ExpressJS, MySQL, PostgreSQL, Redis, Git, socket.io, GraphQL

Résumé/CV: https://www.linkedin.com/in/ahmad-raza1/

Email: ahmdrzalifa [at] gmail [dot] com

Hi, I am a full-stack developer with around 5 years of experience building secure and scalable web applications. I have worked on various applications like CRM, management systems, live bidding applications, and e-commerce stores and currently working in food vertical in a major ride hailing company in MENAP region.
>...similar to Hacker News in comment quality (which has also lowered significantly). I watched the site devolve...

Imagine if HN could have pro-free market articles in the same volume as submissions like this. Every day there's a submission from Jacobin, The Guardian or something truly partisan (some might say deranged) like this Medium write up. Yet, laissez-faire articles are immediately flagged. The comments fill with drivel about Koch brothers or "the oil companies funded this".

>We need better alternatives to Reddit, or Reddit needs to fix the mess because the post/comment quality there is straight trash there. All the default homepage subreddits are trash.

Yes HN, a site for entrepreneurs. A site for people who like to build stuff, ideally profitable things which can sustain them. A site with only one homepage for both people who would like to build. HN, a site not just for visionaries and entrepreneurs, but also those who demand that work is slavery?

When I say 'not just for', I should clarify. The site's editorial position is to promote these communist diatribes and shadow ban mises.org.

>...everyone must effectively sell their labor to someone else (unless they're rich enough to opt out, or clever enough to create some business or invest their way out).
I seem to remember dang saying that flagged items were anonymous?

Maybe I'm mis-remembering, as clearly they can't be if they're stored somewhere on a per-user basis...
HN is one of the best designed websites I use daily. The information density is unmatched on the "modern" web.
Why "blame"? What's inherently great about file systems that _must_ survive generations?

My father was a programmer in his COBOL years, and heavily user of text editors and all sorts of terminal-based systems in his job. He never "got" Windows, or graphic interfaces in general. The metaphor just didn't land.
On X11 it's pretty solid. Wayland still has kinks.
The thing you must realize is that despite prohibition public attitude soured on it very quickly and many judges and politicians were themselves partaking in prohibited alcohol. And the situation cannot be compared with marijuana; it was on a whole different magnitude.
For tiling, Krohnkite[1] is what I use. It integrates with KWin wonderfully, provides a ton of layouts and entries in the default system shortcut settings to set keybindings.

For those more graphically oriented, there is also Bismuth[2] which seems cool.

1: https://github.com/esjeon/krohnkite

2: https://github.com/Bismuth-Forge/bismuth
This is climate denialism. There's no actual information in here - just bullshit.
I think that's usually resolved in court. By which I mean, I don't think there's process beyond choosing to fight any suit brought against you and hoping you win in court.
Show HN: AI Simulator: 2048 – Tune and train AI to play 2048
I saw the title and thought to just do "(a / 2) + (b / 2)" and a do a little bit of fudging if a or b is odd.

After reading the article, learning that

unsigned average(unsigned a, unsigned b)
{
return (a / 2) + (b / 2) + (a & b & 1);
}

was once patented actually made me a bit sad for our entire system of patents.
I think the rust making you aware of what you need to do is a good thing. I have a vague memory of writing C code when I was a teenager where I directly manipulated a string from argv[] doing some concatenation or other and it worked fine until it didn't because I was merrily stomping on memory I didn't own (I was thinking in Pascal terms while writing C code). The whole String vs &str thing in Rust can feel a bit fiddly at times, but it does make you aware of what's happening (and I've found that it has improved my JVM coding as well although I do have to occasionally remind myself that I don't need to worry about borrows and lifetimes).
NVidia has a track record of creating good products, but all proprietary and with closed source firmware/drivers. And lots of arbitrarily software locking features to extract more money from different market segments.
> Nvidia have a good track record creating good products.

What incentive would Nvidia have to develop new ARM features that would assist competitors in competing with them?

The Fujitsu's A64FX Processor for example somewhat competes with Nvidia datacenter GPUs. What incentive would Nvidia have to continue to develop the Arm Scalable Vector Extension?

The only good thing from this sale would be the pivot to RISC-V.
Possible Ways to Defend Civilization from Supervolcanic Eruptions (2017)
> With usernames, the contact graph has to be stored on their servers.

Are you suggesting that there isn't a contact graph on their servers? How exactly do they route from one user to another? It's certainly not P2P.

If you are suggesting that we should trust them just because it could work without them storing who I've contacted, you are mistaken. The whole point of private messaging is to obviate the need for trust. The code should be auditable/open source, and everything on the server should be either transparent, or assumed to be compromised. They certainly do send your contact graph to their servers, and whether they say they discard it or not is irrelevant. In the context of privacy, you must assume your data is persisted once it is behind a curtain you have no visibility into.
There's also work on recovering phosphorus from seawater, eg [1], which would be an effectively unlimited source.

[1] https://doi.org/10.1016/j.watres.2020.115572
Vitamin D could be a piece of Covid's 'complex puzzle,' Israeli scientists say
Back then you couldn't early challenge a patent and prevent it from being issued, and once it was issued you couldn't challenge it without violating it and entering trial. Now you can do both.
Assuming Chanakya did write some version of the Arthashastra, it was roughly contemporaneous with Oeconomicus. I wonder if either of them reference any earlier related works.
Uninteresting depends on your perspective. For anyone old enough to have used a Teletype certainly it is no mystery, but how many of us are left?

Speaking of, a Teletype didn't understand anything outside of the ASCII range. So what was reverse line feed good for? Absolutely nothing!

The author remarks that his Teletype was old because it didn't have lower case. But in my experience that was almost universal - I think I only saw a single Teletype that had lower case.
Selenium BrainDriver :D

> the ability to copy drawings correctly in older adults

That's an interesting measure of preventing cognitive decline - is this a common metric?
I don't think ipad won or lost , but I believe tablets lost the war to phones. As phone screens got bigger and more capable need for tablets went down. Tablets promised to be used for content creation and work but that never really took off (except for some niches).
Every patent attorney I've ever worked with has emphasized that engineers are not equipped to determine if an idea is obvious and should let the PTO decide.

They say this because they know the USPTO strategy is to just hand out patents after putting in some bare minimum effort to review, and postpone the real review process to the unlikely day that someone chooses to challenge it in court and can pay private firms to do their job for them.

The winners in this arrangement are the government, the big law firms, and the large corporations that can afford them.
What should happen if you store "a+b" in an intermediate value?
Wise let’s you do this with virtual cards - not on a per subscription basis - but you can wipe them all then get a new one.