skysight-inc/HackerNews huggingface dataset:
From my perspective, a great advantage of Java over non-statically-typed languages is that when I make a stupid error, most likely the IDE will notice it and underline it immediately. Thus I don't waste my time hunting for stupid errors.

That is, unless I use Spring. The stupid Spring-related errors only appear at runtime.

Ok, honestly, after a year, using Spring is more convenient than not using it. (Basically, there are two or three types of stupid errors I usually do, and I learned how to decipher the intimidating error messages.) But the first experience is quite a shock. You write something with algorithmic complexity of Hello World, then you run the program, it throws a screenful of error messages, and you want to scream.

It reminds me of my childhood experience with Turbo Pascal, where you had to wait until the compiler told you that you missed a semicolon... and then it pointed at the wrong place -- not the place where the semicolon should have been, but usually the beginning of the next line. After some time, it becomes obvious, but the first time it's definitely not.
Tangentially, I would like to be able to extract tables from PDF files for my Easy Data Transform software. So I would like to find a C++ library that does this. Can anyone recommend one? Needs to work with proprietary software (so no GPL). Doesn't have to be free. And what is the state of art on this? How reliably can data tables be extract from real world PDFs?
Curious that this is article back on HN 5 years later
the article doesnt explain, but disney has been gaining huge subscriber numbers from the india and indonesia markets
Am I the only English speaker who finds "more granular" to be ambiguous? Does the writer of this want "finer grained"?
Shameless ad with the clickbait headline.
This is... annoying. This sounds like Chromium team throwing up their hands, "We can't keep attackers out, so don't be giving out any data attackers can use." Which is basically going to mean, "don't give out data". This is going to cause roadblocks that frustrate legitimate users.

Cross-origin policies are a clusterfuck of bad design with defaults that assume things that are frequently not true. They seem more like a darkhorse to enforce DRM rules than true security features.

I mean, what's really going to happen? A legitimate user, using a browser app to try to link to a resource, can't access the resource because of CORS, then blames the app for being broken. An attacker, finding they can't access a resource because of CORS, writes a script to spoof the HTTP headers and gets access regardless.

Maybe I'm wrong. Someone explain it to me. I miss the weird web, CORS broke the weird web, but I've yet to see any explanation for how it actually prevents malicious behavior.
Late exposure to higher mathematics sounds perfectly plausible. Someone getting into sports at 15 is rarely going to compete with those that started at 10, assuming equal innate talent. The same principle applies to academics.

Would be nice to see some envelope math on the respective importance of IQ and socioeconomic background/nepotism in academia (many PhDs have parents with PhDs etc).
There's a whole ecosystem around using React for static site development now, this is exactly what Gatsby is if I'm not mistaken. Use React as a more powerful templating system for authoring content, but generate most of it out as static HTML/CSS, while still having the capability for individual components to have interactivity / data fetching post load.

Also, I think this is what's going on with NextJS and React's server-side-components stuff. Having solved client-side webapps, the world has now turned to reinventing Cold Fusion...
In theory there could be a Wayland implementation that loads Xfree86 drivers, but why? Going forward, the implementations that want high performance and low latency (i.e. VR/XR interfaces) are likely going to target Vulkan, and you will likely never want to disable vsync there.
"Lütke estimated the cost of sequestering carbon dioxide via DAC at the time was upward of $1,000 per metric ton."

That is vastly too high to be a feasible alternative for dealing with climate change.
You said

> Rust will allocate once for the whole series

which, it will not.

It is true that some executors will do a single allocation for the whole series, but that is not done by Rust, nor is required. That's all!
Spin it up now and refuse to pay for the old one later.
In addition, it tells folks how much available content. And you can eyeball an action like “go to approximately 80% down the page.”
Yeah millions of combinations, I tried but was not patient enough.

for the curious: https://www.jbowman.com/remorse/
This is super cool and I hope the founders are successful.

> Adding our device to one truck is equivalent to planting 6,200 trees. (remoracarbon.com)

How is this physically possible? A mature tree might easily have 200kg of carbon stored in its wood. How can this tailpipe infrastructure store 1,240,000kg of carbon per tailpipe? At first glance it's an incredible claim, so a bit more explanation would be great.
Author here. I've heard a bunch of reports like this, but didn't experience any of it myself. I was certainly watching for it...
> Prior to 2020, I considered this one of the country's greatest shames, but maybe there's some plausible operational excuse for it. I sure hope so.

I guess now that this Obama policy is no longer being weaponized against the Trump Administration we can openly discuss this possibility.
> Short interest is larger now than it was during round 1

Do you have a source for that?
To this day I am embarrassed to discover entire options in apps I had been using for ages, that were hidden behind invisible scroll regions. I even reported a bug once because I thought a feature was removed in an update, when in reality it was just a stupid default clipping issue with no visible scrolling.

When something looks like two simple controls in a small rectangle, and you have to accidentally shuffle your trackpad over it to figure out that it will move to reveal a dozen more controls, that is a failure of design.
Making the Slowest “Fast” Page
Oddly enough there is a commonly used standard UI widget that shows exactly this.

It is called a scrollbar

Sideways scrolling is common. That might be because I need large fonts and so zoom pages
> As a kid, I was interested in woodworking, cars, engines, even electricity, but the teachers had us coloring world maps?

Wait until you read this [0] [1]

[0] https://www.city-journal.org/the-miseducation-of-americas-el...

[1] https://www.seattletimes.com/education-lab/new-course-outlin...
I remember reading that areas around coal-fired plants would fail nuclear plant radiation standards, as radioactive soot settles around them. Can’t find the source but can well believe it.
It's working for me. Firefox 78 on Debian
It's the prisoner's dilemma playing out with millions of participants. Sure, if everybody holds, there's nobody to buy shares from. But it just takes some defectors to sell and take the sure profits leaving the rest as bag-holders.

And whether you collude or defect, you'd still tell others to keep holding, we're all taking down the hedgies together, whatever.
The only sensible policy is stop accepting anyone, and fund agencies in Mexico to return children to countries they are coming from. Plus good policies in those countries to build them up.

If we continue to keep accepting people who cross the border, they will keep coming. We are encouraging parents to send their kids up here. Even worse during a pandemic.
I think many of us are ignoring the environmental impact and hassle derived from the act of having to buy new instead of repairing:

- Found out what happened in the first place.

- Looking for a new model you like since the one you already had and liked doesn't exist anymore. Price compare. Get it delivered and possibly wait a few days.

- Possibly the appliance must be installed by a technician. Arrange an appointment for that.

- Set up the machine and get everyone to learn how to use the appliance.

- Find out that some things don't work as they used to.

- Dispose the plastics, papers from the packaging.

- Scan the new manual for your records.

- Dispose the old appliance in a proper way (electronic trash must be disposed in other facilities than the packaging)

- Repeat.

This is about giving the possibility of repairs. The consumer is to decide what is economically posible, but I think a lot of possibilities might open up, like remote-assisted repairs and tutorials.
> People want to treat it like a casino, fine.

Like you?

I already liquidated 30% of my position and got my initial investment back. Now I'm playing with house money. I gotta say, it's a lot more fun being on this side (with the memes and the fun mottos), than being on the side you're on!
Well, I guess it could go both ways, but I learnt it as even if it's true it can still be propaganda - propaganda isn't inherently misleading, but you always have to be careful.
Outcry to the World, from Israel (Nl+eng Subtitles)
"interfere" is a funny word, but you could do this in Rust. It's not super common, though the related technique of "arenas" can be, depending on domain.
> "Sure aren't Java and C# are pretty much the same thing?"

While it was extremely unethical for him to change your CV, Java and C# are indeed very similar, to the point that most organizations use devs with that background interchangeably.

If that company really ruled you out because you had 7 years of C# experience, and not 7 years of Java experience, you likely dodged a bullet.
Short term puts yes, long term puts no. For short term puts you pay (or are rewarded) in volatility, for long term puts you pay (or are rewarded) in premium.

At any rate, my point isn't you can't make money off this, it's that there's no easy arbitrage opportunity happening on GME. It's basically trading like a volatile stock would trade, and it's being priced as such. Whatever free or easy money you think there is to be made on GME is likely just a coin toss.
Nike can just produce a set of PUF keys, cryptographically sign that list, and publish it. Then they embed one of these into a bunch of otherwise identical Nike products. The message could also describe the product's physical attributes so someone couldn't swap a PUF between differently-rare Nike products.

Knowing the PUF key doesn't let you fabricate a physical widget with the same key (that's the unclonable part). So they can all be public, and anyone can keep a copy of the batch of PUF keys that includes their object's PUF key. When they want to prove it's an authentic item, they can prove the PUF produces a key on that list and prove the list was signed by Nike by normal public key cryptography.

In this scheme, Nike published their public key in an SEC filing, so in the worst case you can go ask the SEC for it. Nike could also stick a copy of their public key in every product and advertisement they make if you want to be paranoid about verifying this in 50 years.

This seems more bombproof in some ways than relying on Ethereum to keep existing and well-governed.
It becomes more difficult as athletes move further away from standard training facilities. They still need to report their locations but those locations are now more scattered. That is IF athletes are in the system. With so many events cancelled and athletes looking at a year or more between competitions, many might not need to participate in anti-doping programs for extended periods of time.
Needing that many controls to begin with is the real failure.
Ah, my bad, yes obviously it creates ~1ton of CO2, not Carbon. :)
How big is the storage tank, in terms of volume? To me the one in the video looks too small. I would expect that co2 needs more space than the fuel (since oxygen is added). So a truck needs roughly 100 gallons of fuel for the distance you claim. I would be actually surprised if you can fit the co2 from that into a 400 gallon container (but chemistry is not my strong suit). Any comments?

Edit: I looked up some numbers. 1 gallon produces 9kg of co2, so 80% capture is around 7kg. Co2 has a density of 2g/l at 1 bar (0C). So at modest 200bar you have 0,4kg, so 1 gallon needs 7/0,4=17,5 litre, so 100 gallon 1750 litre=460gallons, and of course a 200 bar compressor.

Does that sound right to you?
But did it have generics?
Now the mixtape is a playlist. The art and writing the list is missing though, might be a product there.
It works in the search bar
I never used a trackball, but I would have expected there to be either a button on the mouse or some key you could hold to turn the ball into scroll mode?
"don't hide UI elements from the user"

ok but Windows hides everything in right click which is actually not great at all
The difference is that first, that's a business not an individual, and that European companies would have to pay the same taxes, whereas if you're, say, an Indonesian you'd have to pay local and US tax compared to an American who only pays US tax.
This makes no sense to me. Why can't I look at the scrollbar(s) and see where I am in the document without scrolling? Why is it important that this information be hidden from me?

The scrollbar doesn't just let you know that you can scroll, it shows you the size of the content in relation to the size of your viewing window, and it shows you
the location of the viewing window within the overall content, and it does this at a glance. A scrollbar is an extremely efficient use of screen space.

Don't hide things from the user that provide the user with information.
> But one pushes the person out of the locus of control.

Mental illness does that. Also many other things, like going hungry.

> Compared to when they couldn't broadcast it.

In some mythical past or a real point in time? When people where never emotion-driven and completely rational 500 years ago? 1500? 5000?
Where was your trip?
Slonik: A PostgreSQL client with strict types, detailed logging, and assertions
Instagram Lite mobile app mostly runs on server
Does anyone really want to see scrollbars even when we’ll be able to scroll with our eyes and even mind?
> too difficult, on a mathematical level, for mere humans to understand.

to me the current situation looks similar to when we were building more and more complex combinations of epicycles in order to more and more precisely model the "Sun and the planets rotating around the Earth". Similarly we have right now a couple of dogmas, like say Copenhagen interpretation and the recently emerged dark matter, which while not confirmed by experiments yet can't be questioned (classic sign of dogma) and as a result the science resources are available only for the complex epicycle constructs based on those dogmas.
As a specific example I routinely ran into forms that rendered like this (hidden scrollbars in three different browsers concealing content, though Safari rendered _just_ enough text that it might indicate there was more to see): https://nprescott.com/public/no-scroll-bars.png

In this specific case it is probably obvious enough that hey maybe I need to try scrolling randomly to find "baccalaureate" but the particular form that drove me to capture the above was littered with similar cases where it wasn't at all obvious. More than anything though the invisible scrollbars just meant I had to second guess every single form I ever submitted.
No.

Version 86 on Windows.

Also space to toggle pausing during playback has worked only intermittently for some time. Always solid in Chrome. I think it depends what's focused, but never figured out the details.
Just out of interest really, I've done some work for a company called BlueOptima (https://blueoptima.com) which does this in the enterprise space.

github integration sounds good for getting up to speed quickly and if I was still a CTO I'd be trying it out.
> This is... annoying. This sounds like Chromium team throwing up their hands, "We can't keep attackers out, so don't be giving out any data attackers can use."

It's actually the correct approach to realize that side-channels on shared processors are inevitable, and it's much easier to reason through the model of "anything your process can access, a malicious script running in that process can access too," instead of "well, maybe we'll patch HighResTimer to give a reduced precision, and change SharedArrayBuffer a little, to prevent the one known Spectre-like attack we've seen, and keep spaghetti-and-meatballing patches when more attacks surface."

> A legitimate user, using a browser app to try to link to a resource, can't access the resource because of CORS, then blames the app for being broken.

Yes, if your web app can't load a resource for legitimate user, it is broken.

> An attacker, finding they can't access a resource because of CORS, writes a script to spoof the HTTP headers and gets access regardless.

CORS rules are enforced by the browser, not the server, so that isn't a possible attack.

> Maybe I'm wrong. Someone explain it to me. I miss the weird web, CORS broke the weird web

You'll have to be more specific. What's broken?

> but I've yet to see any explanation for how it actually prevents malicious behavior.

Things like CORS and Frame-options prevent a malicious site from embedding your bank's login page beneath an innocent-looking button and clickjacking your session cookie to transfer money, for example. There's a lot more information about these measures readily available on MDN etc.
I noticed this this AM and assumed it was something around Firefox or otherwise specific to me. The situation for me was not being able to create a new playlist when saving a video because it would trigger all of the keyboard shortcuts while typing. It would mostly work...until you get to a letter like "f" and fullscreen blows away the modal.

This is a bit of a cautionary tale around the dangers of hijacking "normal" behavior: when a bug happens, you break really, really basic things.
When talking in the context of type-systems, this is a common abbreviation though. I agree that it is annoying, but at some point you have to learn abbreviations. If it was in a different context, then it would have probably been better written out though.
Vitalik says that layer 1 optimisations can enable a scaling up by a factor of 100 and layer 2 optimisations by another factor of 100. Does anyone know where the evidence to support these claims is? And if scaling up by these huge factors is possible then why haven't we seen them be successfully implemented already. I understand that zero knowledge proofs involve a huge amount of complex maths but I didn't think they actually enable a scaling up as they need huge amounts of data in the proof and massive computation.
No, it's broken! Firefox 87 beta on Debian
I imagine it has something to do with the keyboard shortcuts for video player controls, which I'm going to list because I think they're neat and was very excited when I discovered them.

space - play/pause

j - skip back

k - play/pause

l - skip forward

0-9 - skip to the n/10th point of the video

m - mute

f - fullscreen

t - "theater mode" which is the bigger-but-not-full-screen video size

I'm sure there are others, but those are the ones I use often enough to remember. I like to use K to play/pause because I never end up accidentally scrolling down into the comments section.
Also published as a ca. 1987 New Yorker article “Atchafalaya”, (about the Old River Control structure). Fans of Zork and Flood Control Dam No. 3 take note.
> I have a really hard time believing anyone would chose this as opposed to some design lead at Apple pushing a weird personal preference for tidyness on their entire user base

I strongly prefer the invisible scroll bars in about 95% of cases.

I'm either using a trackpad or a scroll wheel on my trackball. In the former case, it's trivially easy to jog the screen up and down or sideways, to see if there's missing content. In the latter case, yeah, horizontal scrolling is challenging, but I'm going to be on a widescreen monitor, so my response is to fill more of the window with the content (quick shout-out to Moom, which makes this easy).

It very occasionally happens that I won't notice that there's more content available, and scroll bars would help with that. But I'd rather optimize for the usual case, and get the cleaner lines and extra real estate which go with it.
you failed at inclusivity and bias : )
Considering it went from 9 to 3,200 in less than a month, wouldn't a better question be what caused this sudden spike?

Apparently the U.S. detained 100,000 migrants on the Mexican border in February alone. [0]

[0]: https://www.reuters.com/article/us-usa-immigration-border-id...
I think I should have phrased my comment better. I’m not opposed to the idea of raising funds to grow a company, but the way that it’s usually done today. In particular: the people that the money needs to be raised from (VCs) seem to not be the kind of down to earth engineers that I love and respect, and the process itself involves a lot of marketing fluff that I find off putting.

I am willing to accept that, it may not be possible to have such a process. Perhaps to succeed in the “real world” you absolutely need to be fantastic at marketing and pitching.

I’m trying to describe what a process would look like that I personally would find enjoyable to work with, ignoring the reality of what might actually be required.
No. But Alt 32 will give the space (Win 10 Firefox)
Concur, NFTs are only good for digital assets, which was the driving rationale behind Ethereum in the first place (a distributed place to capture digital assets so that one party could not unilaterally decide to modify or delete them).
Well, imagine the car maker when creating the car creates a NFT. At that point it's registered and government can read all the details from there.

When it reaches the reseller, it changes hands from the manufacturer to the dealer. Once the dealer sells it, it reaches the owner. At that point, government can still see all the details, transfers and more by just doing queries, instead of relying on people filling out forms.

Or am I missing what you mean?
Another probabilistic approach is to have an increasing probability of an artificial cache miss as the TTL approaches zero. This forces some unlucky client to refresh it for everybody, avoiding the thundering herd.

We used that technique in Google's DNS cache to fix what had been a monumental herd effect every 30 seconds when the RRs for outlook-com.olc.protection.outlook.com expired.
I really hate it too, I don't understand why they do this... Even using Chrome on mac I can't scroll properly if I'm not fast enough to catch the scrollbar after a light scroll.
Around 1980 I attended a lecture given by Jens Martin Knudsen “the Martian” [1], during which he expressed his belief that most of the carbon and carbohydrates in the earth crust stems from incoming asteroids. Jens Martin was a great lecturer. He became my role model.

[1] https://en.m.wikipedia.org/wiki/Jens_Martin_Knudsen