skysight-inc/HackerNews huggingface dataset:
> Who's to say that without that insider information, the politicians wouldn't be homeless?

Homeless people don't generally make it to Senator. Most of these people have wealth from the beginning, which is unfortunately required to invest so much time and money to attain the office.

You have to show that they used insider information to make trades. Most senators have immense wealth and make trading decisions based on circumstances. For instance, if they have a large tax bill or need money for an investment or money to send their children to college, they may sell some stock.

I just don't buy the narrative that someone worth tens of millions is trading a few thousand here and there to make some small return relative to their wealth. It just doesn't make sense.

You can decide that senators shouldn't be allowed to trade stocks, but again that's impractical for anyone of means. You have to actively buy and sell stocks to meet personal liquidity needs or rebalance your portfolio. I think it would make more sense to limit them to ETF purchases, much like most employees at US banks have to do.
without the cabal agreeing on taxes and penalties, the corporations would simply move to the lower tax rate districts
Ask HN: Is anyone working on growing food along interstate highways?
I would imagine that the biggest obstacle would be pollution affecting the crops but with how much land is being effectively unused it would be worth the engineering effort to attempt.
I think dog owners are generally good people who have done really great things but I also sometimes feel like there might be a few entitled jerks in their ranks, especially pit bull owners.
They don't have a platform besides what's in the name. Any website with a formal agenda isn't "official" in any sense nor have 99% of people marching for justice read whatever you read. It's just black lives matter. And people engineering reasons to avoid saying it without explicitly saying black lives don't matter.
Yeah all humans are indigenous and the practice of improving the environment and forest is not this wicked far out of touch mystical forgotten value. Its practiced all over the world today - and dare I say - even in America?
The Appalachian Apple Hunter Who Rescued 1k ‘Lost’ Varieties
Super flower: lemon myrtle can clean, cook and makes great marshmallows (2019)
Whoops! Misread that, too late to edit though.
Just xor-ing a secret key that's as long as a message is guaranteed to be 100% safe, given that you don't reuse the key.

You can take a look at Shannon's perfect secrecy theorem and one time pads. Symmetric encryption is easy, safe and fast, but requires a pre-shared secret between the participants. And that's not an easy requirement: it can't be done over a public channel (because it can be intercepted), the secret should be very random (so that it can't be guessed), and we want forward secrecy (if someone manages to intercept and understand one secret message, it we don't want them to know everything discussed before).

Asymmetric crypto and dozens of other schemes are used to fix those shared secret issues, so that symmetric crypto can be used, since it's so good and fast! In fact, symmetric crypto is so good that even the most dangerous futuristic quantum computer for cracking RSA codes wouldn't be able to do anything.
Given the response, it’s obviously not.
> Except that’s not “true” three point perspective

Is “strict 3-point perspective” a known concept or the author just invented it?

> That’s the easy-for-computer-graphics version of three point perspective

It was devised for people, not computers, over 600 years ago.

I can’t find any other references or why you’d want this odd infinite representation of space, it makes little sense except as a mathematical curiosity.
Don’t Ask for a Pay Raise – Just Yet
Google just launched the Datastream product in beta, which looks very cool. I find it curious that it doesn't support Postgres at all, even as they're launching the logical replication feature for Cloud SQL.

In fact, the Datastream documentation has a diagram showing Postgres as a source, as well as custom sources — but, disappointingly, neither is supported. Only Oracle and MySQL are supported.
Another excellent reason to disable JavaScript in your browser
If I were to poop in someone's front yard, I might go to jail. Yet, people constantly encourage human-sized pooping in my front yard -- every single day -- without any consequence at all.

Why do dogs get away with behaviour that would be blatantly offensive if done by a person?
Here's what it says in the Constitution:

"The Congress shall have Power To lay and collect Taxes, Duties, Imposts and Excises"

Crystal clear.
I'm American, but I've lived in Germany (Hamburg) for ~1 year, cumulatively. I recall most dogs being leashed, but at least a few not. It didn't seem to matter to me, because every dog there was damn well trained. In that year, I think can recall one instance of a dog barking inappropriately (to the mortification of its owner).

I remember one dog in particular, which was unleashed and running with its owner, who was on a bike. It would run ahead, staying on the correct part of the sidewalk, until it reached a crosswalk or corner, then stop and calmly wait for its owner to catch up and give permission to cross. I think one time (of the 3 crosswalks it was in view for) it got impatient and went back to its owner instead of waiting in place.

As a result, dogs are commonly (though not always) allowed in restaurants -- they stay quietly under the table -- and some other venues, which would be unthinkable in the US.

There's not too much of a point to this comment, just sharing perspective. I guess if anything it's that I wouldn't be so categorical about "if X, then Y, period".
Sure, "always" is overly broad.

You touch on a fascinating and little known thing:

The transatlantic slave trade arose in part because both European and enslaved native plantation workers tended to die off from Malaria after a few years.

Many Africans has some immunity to Malaria - which as I understand it was also brought to the new world by Europeans - so importing them turned out to be a more sustainable solution.

And yeah, the dynamics of living on a continent where one of the main industries for centuries is hunting your neighbors to sell to foreigners arriving on ships is very hard for me to imagine.
This is a bizarre (and bizarrely non-objective) framing. You can trade US dollars for Bitcoin and Bitcoin for US dollars at any time. Why does it matter that some students got $50 in Bitcoin and chose to sell it for USD - isn't it equally "bad" for them not to have bought another $50 of Bitcoin with USD, which also would have gained the same amount of value?

Why does the author say that one student "unfortunately" turned their $3-4 per delivery, transmitted to them in Bitcoin, into USD, but not take issue with the many students who got $3-4 in tips from various jobs and didn't turn them into Bitcoin?

(Not to get into the weird framing around a "lesson in regret," when they quote students who say that they have no regrets.)
Same in Germany.

Through sadly this can even apply in situations where it was reasonable for the Dog to bite (e.g. in self defense or to defense their holder).
In some places they are aptly named "off leash parks".
Ask HN: Fav CSS for Book Streaming?
hey!

have recently started uploading short stories to stream on website but am about to do the same with an Aladdin adaptation i've written - was wondering if anyone has a simple CSS font/margin/framework that makes a nice fit for longform reading.

uploading a short story volume to a website is one thing, but a longform (~200 page read) is not something I've done before & was wondering if anyone who currently a much preferred setup

i.e. is pg's "tiny text" on his blog "generally favored" for longform book? is bigger font better? i think Andy Weir streamed The Martian on his website - did anyone read that story & enjoy his font size / page length setup?

i don't know my target audience & have ~ 0 social media friends across all platforms to poll or ask so any thoughts/feedback posting/reading longform online would be wayy appreciated

thanks
The Red Scare began in the 1920s, long before nuclear weapons were invented, so the threat of nuclear war was not the primary determinant factor characterizing that situation
OT, but you dodged a figurative bullet
As much as I support the fight against crypto jargon, I don't think the term "safety number" really works for this. You don't risk a broken leg if you don't verify your safety numbers. The term "safety" is already one metaphor away from the actual issue.

At least "fingerprint" directly maps to the idea of an aspect of something that relates to the identity of someone.

I dunno, could you call this a "serial number"? The root problem here is that our culture does not have the idea of a cryptographic identity in the first place.
At least cable was never a common carrier. DSL is more complicated.
>A lot of people use...

I know and they are wrong. Words have meaning and it is difficult to communicate effectively if people use words incorrectly.
In drawing, it's just "three point perspective", and it's this. In computer graphics, every resource you look for explains three point perspective as a plane intersection (because then computers can draw it using a camera), which is not the same thing as pen and paper three point perspective. The word "strict" here is just the natural language version of the word, not a technical term. We're implementing three point perspective following the pen and paper rules, not the "let's subtly change how it works so a 3D camera can do this" rules =)

> I can’t find [...] why you’d want this odd infinite representation of space.

Like I say in the post: you almost certainly don't ever want it. When drawing three point perspective using pen and paper we typically pick vanishing points that aren't even on the paper itself (you tape down your paper and mark them on your desk instead) to get sweet looking faux architectural drawings while effectively working on a "crop" where the effects of exponential space are subtle, instead of super obvious, so it never gets weird. (heck, even adding secondary vanishing points that are further apart for working at different scales for different parts of your picture so people will never see the effect of exponential space is pretty common)

Similarly, you can get something "close enough" in any 3D software with a wide angle camera positioned close to your subject, so unless you've very explicitly setting out to do exponential space graphics, there is literally no reason for you to ever need, let alone implement this.

But it is fun to work out what the real behaviour is if we try to implement strict three point perspective on a computer, because we like programming puzzles, and (also as mentioned) there aren't any pages on the web that I've been able to find that cover this extremely niche projection so now there is at least one.
Could play punch the monkey!
But Greece is prohibited from printing money because it's currency is the Euro, and like all countries that have it, Greece had to sign the stability pact and, more importantly, also had to sign off the right to print more Euros. Only the European Central Bank can print money, and Greece can't tell it when to.
Ok, I will concede that the "honeymoon french press" method is better than mine, however the practicality leaves a lot to be desired.
That's a really disingenuous take from a single line in an essay that is not about the subject.

If we could say "The Civil War was about slavery" and be done with the subject, I'm pretty sure so many books, studies, and histories about the subject would not have been made.
Doesn't really matter does it? You can liken it to a Turing Test. If you can convince a naïve observer your not racist or even that you are anti-racist, then you are. Maybe you're faking. Maybe you're a lifelike android. The world still ends up a better place.
And as a comparison point, if you take the term 'millionaire' from when it became popular and try to adjust for inflation you get a threshold of around 30M. Which seems about right for "permanent lavish lifestyle, times two".
ET Book, the font used on the page, is free and open-source:

https://edwardtufte.github.io/et-book/

Modern browsers also have preferences to switch off web fonts.
Looks cool. I'd recommend getting a professional voice over artist do the video audio you have though. It makes a huge difference and isn't expensive at all on upwork etc.
I agree that it's prone to abuse and restrictions are reasonable. But that's different from saying that US senators are abusing insider information to make a killing in the market. People are being dishonest when looking at this data and are cherry-picking examples or choosing arbitrary dates for comparison. For instance, they focus on Kelly Loeffler selling CTRX but not buying Discovery around the same time just before a 50% drop in price. If she was trading on insider info, I would imagine she wouldn't buy Discover, a stock that's highly sensitive to consumer loans immediately before a spike in unemployment.
There are a lot of places that put on their website or Google maps that they're dog friendly and allow off-leash or on-leash visits. So "always" is not even near correct here, it is on a dog owner (and other visitors) to determine whether the place they're visiting is dog-friendly and to what degree.
How can you come to the conclusion that Bing is solely optimized for revenue?
Reddit is actually a great example of not caring about performance. See those tiny reward icons rendered at 12px? Here's the source image, a 512x512 1.6 MB APNG: https://www.redditstatic.com/gold/awards/icon/Illuminati_512...
I have those tools, and I rarely bother with the C they can generate. Plain disassembly isn't so great either. Usually IDA's graph view is the most productive. (it looks like a flow chart made from chunks of assembly code) I really wish Ghidra had a usable graph view; the graph view in Ghidra is just awful.

I know somebody else who sticks to the plain assembly listing view. People have their preferences.
What is meant by the disclaimer at the end,

> This is not an official Google product, it is just code that happens to be owned by Google.

Is the code developed by an external group and google just happened to be where first prototype was developed?
Tarzan Wasn’t for Her
Both of these approaches lose to a CPU. The state of the art algorithm is Hashlife [1], which compresses both time and space, and can evaluate billions of generations on a grid of trillions cells in milliseconds.

The GPA approach is really efficient at what it does but ultimately it doesn't scale. For one, it needs 1 bit per cell in the 2D torus, but FPGA have kilobytes or low-megabytes amounts of memory. That makes it hard to simulate a 10,000 x 10,000 grid, let alone a 1,000,000 x 1,000,000 grid. For two, the FPGA explicitly calculates each iteration one-by-one. This is pretty fast in the beginning, and it means you can use it to calculate a billion iterations in a few seconds or a trillion iterations in a few hours, but you can't scale past that.

Hashlife can probably be sped up by GPUs a bit, but it processes a symbolic representation and consequently is quite suited to CPUs. It spends a lot of its time doing hash table lookups (hence the name) which is not a good fit for GPUs and a terrible fit for FPGAs.

1. https://en.wikipedia.org/wiki/Hashlife
Show HN: Email to PDF as a service, no-code, free to try, no registration
Why scientists want to solve an underground mystery about where microbes live
> press releases focus on super-optimistic specs and timelines.

I disagree. The job of IR communicators (employed within the company) is not to hype up a stock - its to give correct information regarding it.

Every nudge up has a subsequent nudge down, and every nudge down has a subsequent nudge up.

If that doesnt make sense, if a positive effect is seen upon a shares price, right after you are almost guaranteed to see a downwards correction explained by a bit of depression at the end of a mania. (stock markets are sometimes referred to as being manic depressive - iirc Warren Buffet said this amongst others).

Ingvar Kamprad (founder of IKEA) famously said that entering the stock market is like peeing yourself: "first it becomes warm, warm. then it becomes cold, cold"

And vice versa with dips -people seem to momentarily go "well it cant be THAT bad" and at the end of a dip the share price often goes up a little bit.

And no corporation wants to have a volatile stock. They want a stable stock that big investors can put money on.

That is why the IR communicators jobs are to stabilize the dtock by NOT hypeing anything up in the PRs as they know that if they do, they contribute to the stocks volatility.

And this is why we have profit warnings - the IR department saying before a report goes out that "hey - the report is gonna be better than forecasted" or REVERSE profit warnings for the opposite case. (im not an expert so those terms might be reversed)

In other words, profit warnings have the sole purpose of stabilizing the stock as do the whole IR depts operations. So a serious publicly noted company would not benefit from doing what you say - "press releases focus on super-optimistic specs and timelines".

just my 2 cents, whatever that means.
If I were given 20 minutes to drive to a bathroom, I would pee in a bottle and then take a 19 minute stationary break. Peeing in a bottle is incredibly convenient for men, and there are portable solutions for women as well.
Agreed, I'm all for utility scale projects. But you said "The only possible advantage I can see is the average load on the grid would be lower with distributed solar/batteries, but the peak load would be the same". How did you come to that conclusion? Only seems possible in the weird case of peak power demand being when there's no solar available, and all batteries are discharged. Even cloudy days generate power.

I don't dispute that utility is cheaper per KW, if it's done. That raises a bunch of problems and disadvantages:

1) Larger projects require funding, likely a loan, and oil/gas/coal lobby will fight it. It's also relatively common for home owners to fight utility scale solar/wind near their homes.

2) Such projects require land, which involved politics, expense, impacts the environment, etc. Solar on the roof consumes no land.

3) Solar on the roof reduces cooling loads on the house (in addition to the power generated)

4) Solar on the roof + batteries enables surviving a grid power outage, unlike utility grids
Because corporations would move.

Individuals don't move as much. So they are in a much worse negotiation position.
Non-Twitter version: https://pluralistic.net/2021/06/04/aaronsw/#cfaa
So if you had a completely Australian company selling stuff online, they'd be subject to US corporate tax for profit earned from American customers, French tax for customers from France, etc?

This seems complicated because unlike sales tax, corporate tax is based on profit at the end of the year. It's much more complicated than sales tax. Companies would have to handle corporate tax code for up to 195 countries.
Fabian Sanglard (who is perhaps best known for his writing on wolfenstein/doom/quake and associated black books) also has a series of articles on another world, its bytecode interpreter and various ports to other hardware:

https://fabiensanglard.net/
> There is a sub-tribe within C++ that wants a simpler "subset of the superset". They believe C++ could be made into a healthy modern language which is practical to teach as a first language to students and still has excellent performance and hardware compatibility.

Yes. There is a "c++" which is simple, consistent, and fairly easy to use, but it's buried in the cruft of decades.

The biggest complaint about Rust's "hardness" is ownership and move/borrow mechanics. Modern C++ has std::move, ownership, and lifetime considerations.

Add to that smart pointers, initialization, a bloatastic std lib, an even more bloatastic pseudo-std lib that you need if you have to interop with anything older than 14 (boost), umpteen different build systems, compilers, toolchains, and all that on top of almost-not-quite-C-superset, and you have a massive surface area.

On another HN thread, someone commented that developers took 3x longer to get to speed in a Rust codebase than C++. I say no way, Jose. I was committing PRs in Rust within a few months. I still don't feel comfortable in C++ of any serious complexity. That's with 2 years of C experience, 1 yr of intensive C++, and like, a few months of rust.
Extensions, not plugins. Think Adblocker, not Flash/Java
So, for any sort of FIDO token (a Yubico Security Key, Google's Titan, numerous cheaper products) the browser is working together with the physical token to authenticate you with U2F (on sites that didn't upgrade yet) or WebAuthn (the standard replacement)

It's involves some clever cryptography, and engineering. Here's an old ImperialViolet entry about it: https://www.imperialviolet.org/2018/03/27/webauthn.html

During enrollment the site gets a unique random-looking identifier, a public key and a signed message that proves your token knows the associated private key. It stashes the identifier and public key. They aren't secret.

During authentication the site gives back one or more identifiers to ask you to prove you've still got one of these tokens you enrolled, and if your token recognises the identifier for this DNS name, it can sign a new message with the corresponding private key proving you still have the token.

Now suppose I'm a scammer, I am trying to phish users of the site realsite.example with my phishing scam site fake.example but they all use FIDO tokens. I can get realsite.example to give me the IDs for tokens (perhaps I guessed the user name and password or got it earlier by phishing), but then I'm blocked. I could try a few things:

1. I give them the realsite.example ID and I pretend my site is realsite.example. The user is never bothered by this because their web browser knows this website isn't realsite.example, I'm clearly a scammer, my attempt is ignored.

2. I give them the real IDs from realsite.example but I admit to the web browser that this is fake.example. This doesn't work because those IDs are for realsite.example and my site is fake.example. There isn't any "Wrong name, override? Y/N" type pop-up, there's no way for any component to guess what happened, it just doesn't work. Maybe the user will retry a dozen times. Maybe they'll eventually spot that it's a scam. They can't give me working credentials for realsite.example because they aren't at realsite.example.

3. I give them a nonsense ID and I admit this is fake.example, this doesn't work, their token doesn't recognise the nonsense ID.

4. I have them enroll their token on fake.example. This "works" fine, but now all I can do is authenticate this user on my site, the resulting credentials are completely useless on realsite.example, these are credentials for fake.example and nothing about them is the same.
ASB is very thorough but had age a bit by now. 100% Brett and LAB fermentation is impossible for the latter and was a contamination, and not very viable for the former but made viable by bad qc at some of the big yeast labs.

This is more of a "there's literally dozens of us" kind of situation, but the US has a few producers that pay a lot of respect for lambic/geuze they sell their beer under the label of Methode traditionelle. Black project, jester King, American solera, de garde, beachwood blender, allagash, and that's really just off the top of my head. The UK has Mills, kemker Kultuuuuur of Germany has done it a few times. Antidoot Belgium also as far as I know. A recent issue of craft beer and brewing had a recent issue on Spons that was very exhaustive.