skysight-inc/HackerNews huggingface dataset:
There's also https://cgsql.dev/

This allows for stored procedures in a T-SQL variant that gets compiled to C. It is on my list to check out but I don't have any experience with it yet.
For opening a very large and organizationally complex PDF like the ARMv8 Architecture Reference Manual, Preview.app is the only PDF reader, on any platform, which I would recommend. The competition is simply a joke in comparison. I also like it for filling out PDF forms; I think I ended up using a web service (!!) the last time I wanted to do that on another platform.

But aside from Preview.app, I don't find anything commendable about macOS. I've remained on an old and vulnerable version to ensure I don't lose control of my own hardware, and what's more, I will never upgrade that hardware given how bad the new hardware seems.

In short, I'm just waiting for a Preview.app clone/same-weight-class competitor on Windows and I'll be off to one of Msft's first party laptops.
Who do you send the check to? Because the IRS can't legally cash a check for money you don't owe.
I agree with this. Nuclear reactors are a special case of systems where removing energy from the system makes it more unsafe, because it generates its own energy and without a control system it will generate so much energy that it destroys itself (and due to the nature of radiation, destroys the surrounding suburbs too).

With most systems, the safest state is off. CNC machine making a weird noise? Smash that e-stop. Computer overheating? Unplug it. With this in mind, "assert" transitions the system from an undefined state to an inoperative state, which is safer.

That isn't to say that that you want bugs in your code, and that energizing some system is free of consequences. Your emergency stop of your mill just scrapped a $10,000 part. Unplugging your server made your website go down and you lost a million dollars in revenue. But, it didn't kill someone or burn the building down, so that's nice.
> Time synchronization doesn't work.

Windows insists on the source port of NTP to be 123, and many ISPs (like ATT) block this port. No idea why MS hasn't fixed this issue.

https://social.technet.microsoft.com/Forums/en-US/e16117c3-0...
"In 1969, California Assemblywoman March Fong Eu smashed a porcelain toilet with an axe in front of the California state capitol, protesting the misogyny of restrooms that charged entrance fees for stalls but not urinals. She was not alone in her frustration. The grassroots organization CEPTIA—the Committee to End Pay Toilets in America—mobilized against pay toilets, putting out a quarterly newsletter (the Free Toilet Paper) and exchanging warring pamphlets with Nik-O-Lok, the leading pay-toilet manufacturer. The group won a citywide ordinance banning pay toilets in Chicago in 1973, followed by bans in Alaska, California, Florida, Illinois, Iowa, Michigan, Ohio, New Jersey, New York, Tennessee, and Wyoming."
-- https://www.bloomberg.com/news/articles/2018-11-19/why-the-u...

If the government makes it illegal to profit from providing a good or service, fewer people will provide that good or service.
Trust but verify.
Just wanted to add that in my opinion it is best practice to schedule a recurrent task for scanning the network using tools like nmap.

On top, add.

After done (re)configuring a (new)device on you network, scan and document baseline. Verify baseline recurrently.
> I feel like there is too much outrage fueled by a complete misunderstanding of how our tax system works right now.

Honestly, there is no benefit in fixing that because everyone is a useful idiot perpetuating the status quo and not even realizing it.

The best populist uprising starts off with this observation and ends with salaried workers getting a slightly higher tax and never touching the rich who obtain goods and services very differently.

The framing always starts about "the rich" and gets deflected towards the top 5% of wage earners who will become masqueraded as "the rich". Everyone involved will agree for two reasons: 1) it's the best they'll get from Congress and they feel like they're "doing the thing" and participating, 2) because they are wage earners and that's the only form of taxation they can relate to or even really somewhat know about.

For example, in a thread like this, someone will quote some flawed study about diminishing returns of an undefined form of "happiness" after making $75,000 a year, and then someone will talk about cost of living disparities as if that's an insightful addition to the conversation (wow, complex topic there, Champ), and all of this is being used for wage earners to fight amongst themselves about why they shouldn't have any feelings for the person that got a six-figure salary, when that new target wasn't even the person that their angst was originally directed towards.
I'm sorry, I don't understand why am being educated here, meanwhile I know how things work, both in C and C++. I literally got downvoted for contributing my opinion (not an advice) on what a person whom I replied wanted to know to better understand C++ without its complexity, because some people thought "that you shouldn't learn how to work with strings". Which is ridiculous. Now I regret doing so.

But I've read what you wrote anyway. You contradict yourself here:

>There is nothing inherently inefficient about using std::string

>it's a "zero-cost abstraction"

>You can benefit from doing it yourself

You could've asked if I don't know something that I'm talking about, I could've clarified.

> But the data structure implemented by std::string is a reasonable choice for lots of scenarios

For example, these "lots of scenarios" do not include the projects I'm working on, and for a good reason.

>most C++ compilers, are written in C++

I'm aware of self-hosting. The point that I was trying to convey is that, at some point, the "unsafe and poor C" was used in order to create that language, and further improve it.

>Expert C++ programmers know which parts of "modern" C++ have zero cost and can be used freely

And those are things that do not start with "std::"

>unnecessarily difficult to become an expert in

There's a difference between being an expert software engineer and expert in a particular programming language's architecture. First one involves understanding systems and know how to solve problems efficiently; second one doesn't require you writing complex software, rather learn from the docs and stay up to date with the new features without ever programming quality software.
From what I heard it is illegal for the IRS to accept money that they are not owed. Is that wrong?
Guess: Interpolation between actual GPS samples.
How much Polish is there in Yiddish and how much Yiddish is there in Polish?
Very, very surprising considering the trash that's allowed to stay up on Twitch.
I agree with almost everything in this guide, but it has a couple of recommendations that create new problems (while solving others):

The nullglob option ('shopt -s nullglob') makes things like 'for f in .txt' work right when there are no matching files, but make other commands like 'grep somepattern .txt' change their behavior in ways that can cause serious trouble. grep (and many other commands), given no files as input, will read from standard input (up to the EOF); if it's running interactively and input hasn't been redirected, this causes the script to hang for no discernible reason. If input has been redirected, it steals input that was presumably meant to be read by some other command. In my opinion, the problems this causes are more serious than what it solves.

The errexit option ('set -e' or 'shopt -s errexit') can both fail to exit when you expect/want it to (several such situations are described in the guide) and also exit when you don't expect/want it to. The guide mentions suppressing unexpected exits with '|| true', but it's not always obvious when this is needed, and it's not even consistent between versions of bash. There's a good parable about this (and some examples) at http://mywiki.wooledge.org/BashFAQ/105

I really don't like trying to predict and work around unpredictable features like this; I'd much rather deal with explicit error handling, like 'commandThatMightFail || { echo "Aaaargh" >&2; exit 1; }'
A libicu free Unicode extension. First time I hear about that and just yesterday I was slightly bothered by the prospect of compiling sqlite with icu again. Thank you to whoever wrote the extension, I'll try it out soon.
Are you saying it's good for companies to behave as badly as they possibly can? Maximizing shareholder money is not the only way of life.
As mentioned below, this is a webpage styled to look like the WorldWideWeb app, rather than it running in emulation. If you decide to try the latter (Previous is a good way to do it) you’ll find that in recent years servers have stopped responding to WorldWideWeb at all, which is kind of sad. TLS is of course a no-go, but even on plaintext HTTP many servers these days will immediately respond with a 400 and drop the connection if they don’t like what they see. Just a couple years ago I could point WorldWideWeb at my personal website and it would render it mostly coherently, but at some point GitHub Pages decided to stop serving those requests because they don’t have an HTTP version number. I guess it’s just a casualty in the march towards newer web standards as people forget the existence of older browsers.
Super Mario Bros: The Secret Minus World
Also English has the easiest verb conjugation of nearly all languages but Esperanto.
As I mentioned in another comment, some friends of mine worked at a startup that's entirely built around receipt scanning and itemization, and your comment aligns with what I heard from them ad nauseam: receipts are hard, in large part because there's just no standard way of putting things onto them.

How do you show subtotals, taxes, and totals? How do you flag that an item is taxable or not? What's part of the header? What format are the numbers? What kind of subtle background text is on the receipt? Is the receipt at an angle? Is the picture taken of just a receipt, or a receipt held up in the air, with stuff behind it?

Sometimes, there are lines on receipts that are just meant to be ignored, maybe for old tax regulations that don't exist anymore but were important when the receipt-printing software was written.

It's a mess.
> I don’t have FB or or WhatsApp but my Insta account (using a separate email address and no personal details) keeps recommending my therapist to me. How are we still ok with this shit?

I'm no attorney, but isn't there a doctor-patient confidentiality breach (in the U.S.) if a psychologist/iatrist's rolodex gets Facebooked out to the ad tech bidding systems?
> Companies spin this by explaining they are merely paying people based on their cost of living, but this is absurd: do we increase someone’s salary when their spouse loses their job or when their kid goes to college?

Good to have this pointed out again!
Conflating concatenation and addition is just a terrible mistake, this is one illustration among many of that.

In Lua, `+` is always addition, and can be overloaded with an `__add` metamethod, while `..` is concatenation, overloaded with a `__concat` metamethod. `..` is also right associative, which means that `a .. b .. c .. d`, a normal enough string-building pattern, can be optimized into a single allocation for the new string, without having to create `a ..b` and then `ab .. c` and so on.

So I don't see this as a problem of operator overloading, I see it as a problem of a missing operator. Implicit conversion makes that problem worse, but `"12" .. 13` in Lua will give you "1213", as you would expect, and `"2" + 3` gives you 5, again, as you would expect.
Considering linksys WRT3200ACM. Heard pfsense is not good with wireless.
⌘ is implied, of course.
> There are numerous arguments about how we will always need coal power or nuclear power, or natural gas and they all base it on old studies with obsolete high costs of batteries.

This is simply not true. I'm sure there are some bad articles out there but that's true for anything.

See e.g. https://www.cell.com/joule/pdf/S2542-4351(18)30386-6.pdf where they authors find non-intermittent power production to be necessary even under an assumption of a further 75% drop (from 2018 levels) in battery prices.
I'd say the bulk of stock-based compensation these days is RSUs, and RSUs are treated as deferred income with income taxes due at settlement (either a liquidity event or on vesting). It's taxed exactly the same as income -- including Social Security and Medicare taxes.

The next most popular choice are NSOs, which are taxed as ordinary income when exercised on the difference between the strike price and the fair market value -- and you do in fact pay Social Security and Medicare taxes. Once you hold the stock, it's no longer compensation, it's an asset you've bought and paid for.

Third most popular are ISOs which do have some preferential treatment, although it's rare to be issued ISOs at anything other than a very early stage company, and at that point, you're likely to exercise early, and then once again, you've bought and paid for an asset and the it's no longer your compensation.

Founder shares are also assets and not compensation, and taxed as such, assuming you file your 83(b) election in a timely fashion.

I think it's fair to say that the rare issuance of ISOs notwithstanding, stock compensation is taxed as ordinary income and is exposed to social security and medicare taxes.

Finally -- and most importantly, IMO -- social security tax stops accruing after you've earned $142,800USD. Chances are if you're earning stock compensation in the Bay Area, that's covered by your base pay plus bonuses, if applicable.
Woah! The idea of carrying that much cash is giving me a lot of third-hand anxiety. Did the person seem overly anxious? I can't imagine sharing that information with someone I just met!
You can try its Community Edition. If you're a business building a commercial application then I doubt the license fee, while expensive for small developers, is expensive for the business too.
Past threads:

“Why We Sleep” Is Riddled with Scientific and Factual Errors - https://news.ycombinator.com/item?id=22419958 - Feb 2020 (34 comments)

“Why We Sleep” Is Riddled with Scientific and Factual Errors - https://news.ycombinator.com/item?id=21546850 - Nov 2019 (58 comments)
One postulation asserts it has to do with self-reference, which is fundamentally incomplete.
But also the city is required to check all the light poles for CP constantly.
Work uses slack/teams/Webex. One person sends me Signal. No one has ever used telephony, except I use it to call he dial in numbers because my phone audio is better than Bluetooth / virus agent laden laptop displaying ten videos of peoples homes thru vpn.
Amazon apologizes for tweet dismissing claim that workers urinate in bottles
Near Death Experience Research Foundation
Discussed at the time:

Safe ways to do things in bash - https://news.ycombinator.com/item?id=17057596 - May 2018 (240 comments)
> Forcing someone to pay 10X or 100X over their lifetime for the same benefits as someone else doesn't strike anyone as fair.

Respectfully, I disagree, that's just progressive taxation and it's true of every other aspect of our tax system. Someone who pays 10X or 100X more taxes than me isn't getting 100X the value out of our roads, bridges, or the army.

It's fair IMO because of the marginal utility of money. If you make $50,000 per year, $10,000 means a lot. If you make $10M, $10K is a rounding error or a fun weekend in Vegas. A progressive tax system is IMO flat when plotted against the marginal utility of the value accrued. Think of it in terms of burgers. I require 3 burgers a day to live. I get paid 3. If you try and take 1, I go hungry. That burger is worth a lot to me. On the other hand if I get paid 10 burgers, and you try and take 1, it means nothing to me. That burger is worth a lot less because I'm already so full. Same is true in the abstract in terms of dollars.
I'm really worried for the long term health of python.

The philosophy of python is there should be only one pythonic way of doing things.

But more and more features are being added that give too many options with minor benefit

How is case different from the elif pattern? What does the walrus operator do that we really need.

Each one of these things on their own if fine but I'm worried together it's going to make python increasingly idiosyncratic to each developer and, consequently, harder to read.

Python's Zen beat out perl's TMTOWTDI. But python seems to try to be more and more like perl with every release: more appealing to hackers playing code golf than long term readers of the code base
what's the significance of this distinction?
On one hand, I'm shocked that this actually happened, but OTOH, I can't say I'm surprised by this. Companies like twitch have no respect for art and creative expression. Their very purpose makes them incapable of truly caring. They'll impose whatever policies make their business more convenient to run, no matter the collateral damage.
I remember a paragraph in the IRS form 1040 instructions on how to make a gift towards the national debt. Likely it's still there.
Although netgate’s recent debacle calls into question the code quality of pfsense as well:

https://lists.zx2c4.com/pipermail/wireguard/2021-March/00649...
Buy from local farms yo... it is a bit pricier, but worth it (from taste alone). Your average grocery store is probably mass grown/produced, but almost every city will have a store or two that sell animals from local small farms. If not, at least farmer's markets will have.
Compassion in a Deterministic World
Bipartisan media startup looking for engineers to build the anti-Twitter
Hi All,

We're a bipartisan media startup with 250k+ email subs building a platform for cross-partisan dialogue. The doc outlines our ideas -- would love to brainstorm with anyone (engineers, product managers, UX designers) interested in this space!
> to pay taxes on capital that could be reinvested

The taxed money does get invested, doesn't it? Just not by the company.
Why not just use Mechanical Turk? You can get receipts done for pennies.
> Corporations should not pay income tax at all. It's a direct tax on savings and investment

No corporation pays (or has ever paid) a dollar of tax on money spent for investment in the business. Corporate taxes, by design, only affect those dollars the corporation has chosen NOT to invest in the business.
So You Want to Be a Cryptocurrency Ninja
Okay. Perhaps I used the wrong sources when I researched what it would take to be able to handle outages. The costs for the installation and periodic “transfer switch” were significant, moreover because doing it as a private individual instead of a company was hard to arrange.
Bitcoin and other digital assets _hide_ the problem. If the TSA knew you had a bitcoin wallet on the hard drive, they could seize that instead.

If you have full-disk-encryption and a crypto-wallet passphrase, you may be held on contempt charges anyways. That might be better, it might not. The underlying problem of "the state can seize your assets if you act 'suspicious'" is still there.
Honestly sounds like a fun job for future historians. By aggregating all the leaks over a long period, how much of a person can you reconstruct?

For example even though I am using a throwaway account, HN's logs might one day get compromised. So now they can join the IP address to other compromised sites that I was logged into using my usual email. And from my email they already have my name, SSN, address, phone number, usernames, passwords, etc, exposed from prior breaches. But now they know about my shitposts too.
because that is not an OCR Library for Receipt Scanning/Parsing
I was the tech founder at a company that built this exact technology. checkout51.com (still running but we sold it and I've since moved on)

If you want to chat feel free to reach out, i could talk all day about this stuff.
I don't know to be honest?
Awesome! Any lessons learned? (The main one I’ve seen and worried about is sophistication of employees with their equity. Options are confusing! But that’s true whether it’s a single offer or multiple perspectives).
> whose sole purpose of existence is to create profits for its shareholders

How can you tell what its "purpose" is? For example, Nike's marketing suggests its purpose is manufacturing athletic equipment or promoting youth sports.
It’s remarkable what energy dense batteries have enabled. Drones and the entire quadcopter scene wouldn’t be possible without them.

Some maneuvers made on a 5” quad can pull more than 100 amps on a 6S, 22V battery. That is around 2,200 watts—more than most consumer microwave ovens! The fact that a battery weighing no more than half a kilogram can supply this much power almost instantly is truly remarkable.
https://archive.is/uzKTp
Earth 2 is a futuristic concept for a second earth; a metaverse, between virtual and physical reality in which real-world geolocations on a sectioned map correspond to user generated digital virtual environments. These environments can be owned, bought, sold, and in the near future deeply customized.
Version 4.9 of the open-source based AmiSSL library for Amiga
Are apps allowed to do that on iOS? I can’t think of any good reason besides for a wifi diagnostic app.
Is it well established that money is used more efficiently to benefit citizens when it goes to the IRS versus a charity?

(What's wrong with someone getting tax breaks if it means they have to put money to a good cause to get it?)
Discussed at the time:

Miss a Payment? Good Luck Moving That Car - https://news.ycombinator.com/item?id=8365129 - Sept 2014 (80 comments)
How 'Water for Elephants' Author Sara Gruen Lost Her Life
Companies pay different amounts based on the location due to market price differences for software developers not because of differences in cost of living.

If you relocate to Zurich or Vancouver from SF, highly likely most companies that re-adjust salaries will decrease your salary even though cost of living is pretty high in both of those places.
Just submitted a removal request for myself, a flow full of dark patterns (in fact the Remove button didn't even show up until I disabled my Pi-Hole). Remains to be seen whether all I did was make the data more valuable by confirming my email address. The page recommends signing up at BrandYourself to prevent various other data brokers from showing the same data. How is this not extortion?
I would like people to form co-ops to do the same. Everything in their life can be supplied by the company. Recently I found out about a movement called Anarcho Syndicalism, so I guess I'm an anarchist? I don't know, I just want to push things to the logical conclusion so we can have some positive change.
Why Are Kronecker Products So Effective?
Interesting. I wonder how this plays out in practice - what choices people tend to make.

I wonder if there are politics for people who take more cash and less stock - does mgmt assume it implies less good will, since the employee is literally “less invested” in the outcome?
Is that really the accepted unit for measuring the power-consumption of a home? Can't we just use kilowatts?
Actually I did. I interpreted the limited outage from point 2 as the supplier not being delivering power for a short period. If that were to happen in a normal situation here the regulation says your sources have to cut off as well. Unless you install some additional gear.

So without additional Equipment just having solar and a power wall wouldn’t help during outages.
How's Pharo in practice? It seems really cool in demos.
That makes way more sense. GGP is probably meaning exactly that, specifically vsv from the OP that I missed initially.

https://github.com/nalgeon/sqlite-plus/blob/main/docs/vsv.md
Not built in, but: https://manytricks.com/witch/

Gives you the best of both worlds.
I don't like YAML because when I need to write configuration in it I waste time to remember what is the syntax. I have much better understanding of JSON, because I use it almost on daily basis.