skysight-inc/HackerNews huggingface dataset:
In my (admittedly) brief experience dabbling with asciidoc, I really don't like the opinionated approach on how styles should be injected to the generated HTML output.

Say that I generate a table using asciidoc's built-in syntax, the output will always generate HTML elements with the CSS classes already defined:

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 50%;">
<col style="width: 50%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">Column heading 1</th>
<th class="tableblock halign-left valign-top">Column heading 2</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Column 1, row 1</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Column 2, row 1</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Column 1, row 2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Column 2, row 2</p></td>
</tr>
</tbody>
</table>

For me, this output is needlessly verbose for a setup that uses nothing but default flags. Worse, it doesn't provide much of a leeway to change the classes or even let me use some other ways to style the elements.

I prefer markdown's (and markdoc's) approach to styling, in that it doesn't really try to define any. My take on this is that stylings of the output should be be coupled with the toolings, as opposed to being bolted into the language standards.

edit: formatting
Ask HN: Why did GPG / PGP fail?
PGP and GPG have been around for a long time, but they don't seem that have reached wide adoption - notably none of the massive Gmail, Hotmails and Yahoos of the world* have adopted it. The technology is strong, decentralized, and easy to setup if you're moderately technologically literate, and surely could be completely abstracted away by any platform willing to do so. There are even browser extensions like mailvelope that allow you to add the GPG overlay to any webmail.

Meanwhile we're still relying massively on email, sending un-encrypted bits of texts, with no way of authenticating the sender with 100% reliability. We receive tons of spam. All the protections that are put in place - DKIM, SPF, are hard to setup and imperfect. These seem problems that GPG could help tremendously with.

In parallel, technologies like Oauth, and now WebAuthn that bear somewhat similar concepts, are receiving massive adoption.

So it gets me to wonder: what's the catch? Why isn't everyone using GPG now? Even without knowing it?

* sure, Proton and Fast might be different but they're 2 OM smaller
> Update, 7:35 pm ET: Intel told Ars Technica that it is possible for both Intel and AMD-based platforms to update Arc GPU firmware, and that Intel's Management Engine wasn't actually required for firmware updates.

Oh good:) I will be interested to see how things play out for POWER.
I did this for an object pool in re2j and saw even single threaded performance improve.

https://github.com/google/re2j/blob/dc7d6e5d41225dc0825ea6fe...

Java doesn't suffer from pointer address ABA but I did have to handle reinsertion (except when the stack had only one element).
The "app" (Distributed App / DApp) is some arbitrary thing written by a developer, running in a sandbox in a tab in your browser.

The "wallet" (Metamask) is a browser extension containing a set of pairs of (RPC gateway URI for a given blockchain, cryptographic private key for an account on said blockchain.) It can also proxy through to other such "wallets", e.g. "hardware wallets" (smart cards.)

"web3" is an API (like any DOM API) that the browser extension exposes to app, allowing the app to ask the wallet to do things (where the wallet then asks the user to confirm that they want to do those things); and, through the wallet's connection to blockchains, to watch for things to happen on a blockchain.

Together, these additional APIs allow web3 "DApps" to transact on blockchains, and to observe what happens in response to their transactions.

Example DApps:

- Gnosis Safe (https://gnosis-safe.io/) — an interface for deploying and managing multi-signature smart contracts (i.e. trusts whose assets are controlled by M-of-N voting)

- Sushiswap (https://www.sushi.com/swap) — an interface for creating and managing Automated Market Maker liquidity pools

- OpenSea (https://opensea.io/) — a marketplace for buying and selling NFTs

On all of these websites, you'll notice that instead of registering an account, there is a button that CTAs you to "Connect a Wallet." This is requesting permission to communicate with the web3 agent installed as an extension in your browser.
Pretty much. There are also limitations to freedom of speech the principle if not first amendment or freedom of association.

John Stuart Mill specifically calls this out in the harm principle. From what I've observed, people who invoke "it's freedom of speech philosophy" rarely understand that even as a philosophy, free speech not a blank check to be able to say whatever you want w/o consequence. Or they equate it to freedom of reach.
Ask HN: Is it time to leave my job?
I've been at a large tech company for over two years. My official title is a Senior DevOps Engineer, but my day-to-day work makes me wonder if it's time for me to transition into something else.

I've worked as a DevOps Engineer at other companies and did things like write Python scripts, "containerized" applications, and designed CI/CD processes to deploy them on the cloud. This is the type of work I'm keen on.

Our company has been migrating from old and insecure technology to stuff more modern. We work on a data platform that many different teams rely on, so these migrations have been a drag. Actually, we have been doing some type of migration for over two years now, and there is no end in sight. Management has said things like, 'once we are out of migration, we will focus on improving our automation, cleaning up our code base, and exploring new projects', but I seriously doubt we will be doing anything fun like that in the near future, if ever.

Nowadays, most of my work is responding to support requests from data engineers who have problems running their analytics queries. Practically speaking, it's a lot of troubleshooting spark jobs, trying to reproduce errors, and filing tickets with our vendors because no one on the team has any expertise in the Hadoop ecosystem. Our customers are data engineers and business analysts and most of them don't really understand basic software engineering practices, and I often feel like I'm a help desk for them.

I hardly write any code anymore. I like working within Kubernetes and I like writing Python and bash scripts and automating things, but I rarely get to do that. Instead, it's migration support, trying to satisfy security criteria where the CVEs and patches never end.

We are a small team and we have a weekly on-call rotation that is sometimes quiet, and sometimes stressful. When I originally joined the company I was told there was no on-call responsibilities, but that changed about 6 months in.

It feels like my role has morphed into something I didn't sign up for. I haven't spoken much about it, so I'm posting here to see if anyone can relate and has any guidance or questions I should think about.

Thanks for reading.
My post was 3h prior to yours. The bottom is now on page 6 and 7

https://news.ycombinator.com/item?id=33463908&p=6

https://news.ycombinator.com/item?id=33463908&p=7

Or you could pull up a new thread - https://news.ycombinator.com/item?id=33474681 has one... and if there's anything web3, you can be sure to find at least one there - https://news.ycombinator.com/item?id=33469978

The structure of HN works to de-empahisize such posts. The Algorithm of HN is anit engagement after a certain point (compare to being able to sort by controversial on Reddit).

The thing is that flagged and dead posts are there, but they tend to be harder to find by design. In more "engaging" posts (pull up any hot web3 one) and there'll be some... or a post about any personality.
I think this is a great question that deserves a book-length response.

Instead I will say, yes absolutely, environment is everything. We are like the dust on the wind. This is important in our careers, but also in our personal lives and everything we strive to do. The fastest way to change yourself is to change your environment. Whoever said "wherever you go, there you are" was dead wrong in my view. A great environment can bring out the best in the worst of us and a bad environment can turn the best of us into villains.

I have experienced going from the front of the pack to the back, then the reverse several times in my career. And the back of the pack is soul destroying. It obliterates your confidence and with it, your competence. A friendly environment can build up even the most junior team member and a hostile environment tears everyone down.

It's not you. You are great and worthy and you should always take yourself where you will be most appreciated.
agreed re: Forstall, but the guy clearly did an amazing job hardware-wise... don't know anything about him personally, but he must be pretty god damn competent.
Might be a good time to go back to one share one vote corporate structure.
ERC721 is not designed to solve permanent media storage or force usage toward a certain storage network. Better the ERC721 spec does not try to solve for this.

totally disagree with your assessment and would hate to be forced to rely on oracles to deploy a mintable ERC721. I like the broadness and simplicity of ERC721 and would attribute that to its success.

The chain is open and public, just publish your own ERC with oracles and see if it takes off?
Carmack is a fan of this approach. Allocate some reasonably large number as your design constraint and if you start approaching it that is a time to ask why and is this data structure still reasonable here
>To have their freedom of speech stifled?

Yes, I disagree with the publishing of speech that includes harassment, doxxing and driving people to suicide out of prejudice and hatred, and I believe Kiwifarms was doing real and legitimate harm, and that businesses and society have the right to disassociate from them. I'm not a free speech absolutist, you caught me.

>Your argument seems to be along the lines of "whatever happens, happens" - as in, majority is right; if people decide to cancel you, you probably deserved it, and your free speech wasn't stifled. And it wasn't - US-legally speaking.

No, that isn't actually my argument at all. My argument is that society has to have limits to what it tolerates otherwise the intolerant inevitably take over, and that it's legitimate for the people (less so government) to limit freedom of speech in some cases, if only by choosing not to associate with it. Can this possibly be used for evil? Yes - one could (and people have, ad nauseum) argue the same principle applies to society limiting things like feminist, civil rights and pro LGBT speech. Is it, in all cases, an unqualified evil? No.

One cannot apply universal moral qualifiers to freedoms. Consequences can be justified in some cases and unjustified in others. Freedoms can do good in some contexts, and harm in others. "Cancel culture" isn't always simply a frothing angry mob, and speech rejected by society isn't always uncomfortable truth the system is too afraid to hear. Sometimes you're just an asshole and people show you the door. You seem to think that's a crime, but it's just life.

"But who gets to decide what speech is harmful and what is good?" I can hear you typing, because this site is hell and we're cursed to reiterate the same futile conversation over and over again until the end of time, and the answer is "everyone." I have my personal beliefs, you have yours. My culture has its beliefs, yours has its own. The law proscribes limits, as do private platforms. The law can be just, and the law can be unjust. Platforms may be biased and inconsistent. Yes, that is messy, and imperfect, and subjective, and prone to error and controversy, and we will probably never agree on where the lines should be placed, but at the end of the day we can't let the perfect be the enemy of the good.
As another person commented, maybe they should be open to that responsibility?

> The idea that one company's decisions would have such tangible and personally-harmful effects due to "negative political rhetoric, while facilitating ethnic cleansing, drug cartels, modern slavery, and vaccine disinformation" would open up every company to diffuse claims of responsibility.

Kinda scary we’re tacitly saying that IFF a company is responsible for this then it’s ok? If a person was responsible for all (any) of that, most of society would hold them in pretty low regard.
Well, of course if a solution is "cloning a vector many times" then arguably you're using the vectors wrong - in which case it's totally appropriate to find a different data structure (or a better way to use vectors, if possible).
Do and Act are not the same thing. Do is carrying out the plan. Act is revising the process so the next plan goes better.

While they're both implementation steps, they exist in different contexts. Same with Plan and Study. One is prospective and other retro/introspective, the former in regards to product, the latter with regard to process.
Yup, had to sue them then suddenly my funds were availabe again. Should have just taken them to court anyway in retrospect. I only sbop there as a last resort and will never sell there again after over 45k in sales. They actively hate their sellers from what I can tell.
> You get what data structures made of links truly are: the triviality of a single node that becomes a lot more powerful and complex once it references another one.

I don't think beginners actually make this connection for a while. Linked Lists are introduced analogously to arrays, sets, etc. Beginners think about Linked Lists in terms of what they already know.

As a beginner, I thought of Linked Lists purely as non-contiguous arrays, even though there are deeper concepts behind them.

Unless the beginners already have the perspective of "same having the power as the whole", I don't think this connection gets made for a while. Linked Lists don't expose so much possibility on their own.
It also depends heavily on what exactly you are buying. If you are buying health supplements, expect way more than 30% fake reviews and expect a lot of products to be fake themselves. On the other hand, if you are buying something like a rice cooker, you won't run into many fake products and the number of fake reviews will be closer to 30%.

For that reason, I avoid buying supplements on Amazon unless it comes from a few brands that only use one trusted seller to push their stuff.
If you never free your objects, you may as well use an array anyway - it'll be much more simple. And if you use an arena with an object pool, you're back in cache miss territory.

Vectors only "create a spray of tiny objects" if you have a vector-of-references or something like that. And even then, reading data requires 2 reads from memory (1 to read the pointer in the vector, and another to read the object). Finding item N in a linked list will require N reads (since you need to read each item before the target). Yes, resizing a vector is O(n). But every time I measure memcpy, it always goes faster than I expect.

If you disagree, try to prove it with code. At least one of us will learn something that way.
> But conspiracies are difficult to bring about and keep secret in the real world.

Counter example: broken ciphers in WW2 mostly kept secret until the mid 1970s.

Look the only reason hand counting is even coming up is belief in a particular set of conspiracies, mostly by members of a particular political party.
A memory-constrained microcontroller is actually one of the valid exceptions to the rule.
Why bother with the silicone tongs? Just get some plain Winco nine- and sixteen-inch tongs. They'll last forever in a home kitchen and you can use them with temperatures that would ruin the silicone cover.
One of the (possibly first?) things the LibreSSL people did after forking OpenSSL was to enable -Wall, -Werror, -Wextra, -Wuninitialized on the code[1]. Many years ago we'd look at compiler (and linter) warnings with a skeptical eye, but these days, they really mean something. That alone smoked out a lot of lurking problems.

1 https://en.wikipedia.org/wiki/LibreSSL#Proactive_measures
That is the reason why I still have a cellar full of books and over 1000 CDs. I refuse to let someone else take control over the content I buy after I’ve bought it. I’d be happy to pay for digital content, but if it comes with DRM, it’s a non-negotiable “No, thank you sir.”
As someone in the job market as well, I’m nervous about the competition from all the former twtr employees, but this comment makes me think they may have unrealistic compensation expectations which could work to my advantage.
For one small example: enabling this https://docs.ipfs.tech/ website, to be delivered to your browser care of a (replaceable commodity) gateway node that fetches assets by URL-embedded content-hash from an open-membership DHT.

(If you're wondering how this website appears on its own domain rather than you needing to directly visit the domain of the gateway node, that's because of https://docs.ipfs.tech/concepts/dnslink/).
I think the Rust people are de-emphasizing the importance of linked lists due to the glaring hole in the Rust language that makes it difficult to implement linked lists, and horribly awkward to do doubly-linked lists in safe Rust

(See https://rcoh.me/posts/rust-linked-list-basically-impossible/ )

To save face, the Rust astroturfers are now skipping around saying "Linked lists aren't important"
You can buy slightly longer and bigger chopsticks specifically made for cooking. They are a joy. They can do everything you would use tongs for but are easier to use.
> Well if there is a measurable harm that can be traced back to a given company why shouldn't they be sued?

Say I overhear my neighbors talking with each other. Despite my not knowing them, if based on listening to their conversation I decid to go kill some people at my place of employment - that is on me. My neighbors do not bear any responsibility. At some point there is the concept of personal responsibility. Honestly, this should be obvious.
A bunch of people keep saying this with no substantiation - the best we saw was a link to the latest Intel optimization manual that quite specifically refutes this claim. I even quoted it upthread.

Do you have anything substantial to add to that?
Just get a Plaid, it’s the best EV for overcompensation
If you stop "giving attention" to old solutions, people will simply reinvent them. Linked lists in particular are very easy to reinvent because they're so simple, and because their advantages are all evident even in a high-level language, while disadvantages require a more low-level understanding of modern compute performance.
YouTube, of course, has no obligation to continue to host noninfringing fair-use content. It costs them money to have lawyers decide if they are at risk by hosting it, so they just quickly and cheaply fail closed on DMCA stuff.
> I would be happy to see this if it was opt in.

Opt in would miss exactly the sites they're targeting. People who don't bother to even think about security let alone do anything about security since as long as it works for them they don't care what happens to anyone else or their data. Opt in would also miss anyone who has been setting up their servers/sites maliciously or acting as safe havens for crime for profit.

If these scans end up causing problems they should be on the hook for damages, but I'm glad they aren't waiting around for people to find them and reach out begging for scans. The responsible people keeping up with security issues and doing things proactively are rarely the problem and do their own scanning already.
Most common use cases of an API Gateway
He may be able to get it done, but they've been trying waaay before that. I'm not sure where the history started, but they were trying in 2007. I hope they can make it happen.
They didn’t suspend the Post, did they? I remember them banning that article. And could I imagine them banning a Vox or NYT article? Well no, because for better or worse, not being an actual tabloid tends to impart more trust than being an actual tabloid does. NYPost is broadly regarded as a tabloid and NYT is broadly regarded as the paper of record. Should it be this way? Will it stay this way? I don’t know.

If there’s a left wing analog to NYPost, I can definitely imagine an article getting deboosted or banned under similar conditions.
> the facebook decisions impacted non-facebook stocks, facebook not only should have known but also are responsible as fiduciary to the stock holders.

That's sort of the same as what I said. The claim is that Meta did things to make money that caused investors to lose money in other stocks & investments, and that Meta is responsible for those losses.
The thing that offends me is when it’s BLOODY OBVIOUS that an account owner has taken a listing and switched the product while keeping all the reviews.

I went looking for a pulse oximeter and the highest rated one had reviews that were all about a bicycle storage rack.

Amazon could trivially delete these but they simply don’t give a shit.

Shameful company to work for.
Out of curiosity why use a separate engine for caching?
"HTML isn't usable because elinks doesn't show inline images." - ChuckNorris89
Traffic from 11pm to 7am isn't going to be part of the 1TB.
Not my experience (MicroPython v1.15 on a Raspberry Pico board from 2020) using Thonny. Note that main.py is loaded by the MicroPython interpreter after boot.py and long after initializing USB.

I did have trouble with reconnecting using MS Windows 10, but that's a Windows USB driver thing. No problems on Linux (Ubuntu 18.4).
You could get an app that announces the top and bottom of the hour aloud.
Why didn't you link to page 1?
They don't, they call out the hypocrisy of habitual liar making claims about first amendment rights.

https://twitter.com/elonmusk/status/1519036983137509376
> Join a cult?

I remember, just a little over a year ago where the fever surrounding anything Musk related could only be reasonably described as a cult.

It was amazing to witness... the guy could do no wrong, ever. It didn't matter how outlandish the idea was, how uninformed the plan was, how badly he went about it... he was god on earth.

Then he says a few things Californian's disagreed with during the peak of Covid insanity and suddenly, nearly overnight, he's a super villain.

The transformation has been truly breathtaking to witness.

He's still the same guy from a year ago folks. Let that sink in...
I prefer Shewhart cycle, personally, as did Deming. Deming popularized PDSA, but he gave the credit to Shewhart.
I don't think this lawsuit has much merit, but the lawsuit is arguing against damages to an overall portfolio. If a diversified portfolio consisting of Coca Cola and Pepsi was on the whole damaged due to the actions of Coca Cola against Pepsi, then the plaintiffs argue that Coca Cola would be liable for some part of that damage.

If, however, Coca Cola's actions harmed Pepsi specifically but benefited the overall portfolio, then no damages would be pursued.

So Coca Cola is welcome to take market share from Pepsi so long as doing so is a net benefit to a diversified portfolio, as opposed to doing so in a way that harms a diversified portfolio.
yeah i'm listening to the audio version and that bit hit me

good stuff by the author
The problem is that this creates an open ended obligation of companies to whatever common shareholders want in their dreams about Society, and are responsible for doing so.
You can choose to invest in companies with that structure and others can choose to invest in other structures...