jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
HTML loves its special cases. XML is overly complex, but at least your editor doesn't need to know anything special about what document type you're writing in order to indent it properly. Throw in HTML's special cases, and now it needs to know that <br> is different from <foo>.

I guess since HTML is so common it doesn't really matter, but really? We need 5 differnt types of markup, when one would have been fine?

https://xkcd.com/927/
Except files are modelled. You have a bunch of functions for finding the right one, then a bunch for manipulating files at rest, then a few for giving you a file descriptor.

The file descriptor represents the file in your language and is the equivalent of parf of what some ORMs do. It's an explicit interface between external data and your program, just like a good SQL library (like SQLAlchemy).
> For context, my last employer was "Oh you're doing something in your free time? let me utterly destroy you." (and they did).

How could they? And what was their motivation for doing this?

An employee doing something in their free time is a rare and valuable asset.
A very interesting part of Bitcoin is that there’s no reason it couldn’t have been invented 10 years earlier (after having practical public key cryptography). Anyways, better late then never.
This is fantastic. Is there a paper on the construction or dimensions of a brick oven that is this thorough?
I don't understand your usage of the term "hilarious". Are you just saying that the price of the salad reasonably reflects the average salary/benefits of the people in the area?
Yeah that's one approach, you can just choose not to care. I'm sure I'm also on Linux lists and crap like that, but that doesn't mean I want to end up on a bunch of other ones. Particularly with the vehemence in American politics today, I don't want either side putting me on one of their enemies lists just because some site I signed up to check out got hacked and all of the user info got dumped. Seems easier to just check out, live my life, and try to be kind to the people in the real world around me. If I want a political discussion I'll go chat with some of my friends.
You are trying to draw usefulness from the article but the point of the article is not to inform but to generate anxiety and with it ad revenue.

I remember reading a Cochrane Review meta-analysis confirming a link between processed meat consumption and recto-colon cancer, from memory this probably more than 10 years ago. None of this is new information.

I am all for reducing meat consumption but these 'informational' articles from the guardian and often even the bbc and nyt should be banned as low-value adding submissions.

Unless there are reporting about a recent major world event these sites have (in my opinion) no place in HN.
lol, clearly wooshed.
I signed up for this service but didn't really use it. I really like the concept. It wanted to remind you when you hadn't been in contact with friends in a while. Good luck to these guys.

Does any of the Etacts guys (or anyone else) know why they didn't target Facebook?
It depends entirely on where they're hit, and how much adrenaline and man-made drugs are in their blood stream. But as a common saying goes, "it's a gun, not a death ray." It's surprising - shocking even - how much damage some people can take and still keep going.
While I don't believe there is a "set" number, the common consensus in the SEO world is between 50-60 characters I think. Personally I have never gone over 60 in my experience, I try to keep them short, to the point, and specific to the page being displayed.
I work at Twilio on Twilio Fund, and want to make sure everyone knows we're still accepting submissions through the end of the year at Twiliofund.com. If you were one of the companies that submitted and was not announced today, you are still under consideration.
It has been my personal experience that companies can't really tell the difference between a good developer for standard applications and a top developer for complex applications. Often, the problem is that the main decision makers don't have a good reference to evaluate developer capabilities. The executives are not technical themselves and they don't have top technical people that can do the evaluation. It is also a problem of who evaluates the evaluator.
Anything more than about 65-70 characters will get truncated by the search engines (on Bing and Google 70 characters becomes 67 + "..."). Longer titles also look spammy to users. I usually go with 3-5 keywords plus the site name.
I experienced these issues with a lock file. Frankly, the dependency manager just isn't doing it's job well. It's job is to manage the dependencies so that I don't have to.
The proposal still lets platforms moderate on certain grounds, a repeal would mean that a platform can't moderate for any reason other than "illegal content" if it wants to keep the protection. The law currently says that a platform can moderate material that is "obscene, lewd, lascivious, filthy, excessively violent, harassing, or otherwise objectionable, whether or not such material is constitutionally protected." That "otherwise objectionable" has been interpreted as a catch-all that lets platforms moderate on any grounds at all.

The DoJ proposal removes the catch-all and add "unlawful" and "promotes terrorism" to the list.

So if you moderate for a reason on that list, you keep the protection. If you moderate for other reasons, you lose it. And yes, I'm sure we'd see plenty of litigation on what constitutes harassment, terrorism, etc.
Federal courthouse in Portland, here's the source and some pictures.

https://ktvz.com/news/crime-courts/2020/07/24/fires-set-insi...
Fine, you are right, I’ve said the same thing many times, and fallen into it myself.

However on the left the people pushing for this are as mainstream as Nancy pelosi, so I’m not sure what term to use. “Pro censorship left”?
https://www.imperial.ac.uk/mrc-global-infectious-disease-ana...

It's very important, specifically in the UK, to put N501Y in the context of political decisions that impact the R index.

https://twitter.com/dgurdasani1/status/1344774576371335175
Alternate archive: https://archive.is/z3WmL
"A municipal councillor in northern Spain has offered to resign after inadvertently broadcasting video of himself showering during an online council meeting that was being livestreamed.

Earlier this week councillors in Torrelavega gathered online to hash out some of the latest issues facing the municipality of about 52,000 people. Following the protocols put in place as the coronavirus tightened its grip on Spain, half a dozen councillors dialed into the videochat at 8am, streaming it online for journalists and residents.

As the meeting stretched past midday, Bernardo Bustillo, who works part-time with the municipality, began to fret that he wouldn’t have time to shower and shuttle his daughter to her commitments before heading to his other job as a swim instructor.

He came up with what seemed to him the perfect solution [...]"
Ahh got it, thanks for clarifying. That definitely makes sense, and clicks with my intuition that genetics and the environment are sort of both 100% responsible.
That's not true.

To answer the question as to when you should use cryptographic random(), ask yourself "What is the worst that could happen if someone guesses the result of random()?"

If the answer is "I don't know," go cryptrographic. You'll save your butt if you didn't know it was important.

If the answer is along the lines of "someone could impersonate a user, or leak information they shouldn't see," for the love of all that is holy, use cryptographic. This is basically every scenario where you are using random to generate an ID of some kind, and while it's only truly critical if that ID is all you need for validation, it does provide another layer of security even if you also require other information to match before giving out elevated access.

If the answer is "it defeats the algorithm I'm trying to do" (think something like ASLR, where you're randomizing the offsets of addresses so that attackers don't know where things are located), well, the reason why you need to use cryptographic should be blindingly obvious.

If the answer is instead "they can reproduce my results," well, you shouldn't use cryptographic in this case. And that's not a lot of cases: Monte Carlo simulations, testing, fuzzing are the obvious poster children for this category, and indeed reproducibility in these cases tends to be a highly valuable feature rather than an anti-feature.

Cryptographic random is almost never harmful to your application, and almost always provides some benefit in reducing guessability of your system. You should err on the side of using cryptographic random(), and only not use it when you are sure that guessability will not harm security in any way and you know that the cryptographic nature actively harms your application.
I'm not sure what you mean - I'm using quotes because of the dubious definition of justice in the context of shared welfare, but obviously there are plenty of scenarios where more direct consequences for being more directly "bad", for various definitions, makes sense, or is at least unavoidable in a human society.
Awesome! I built a side-business that runs completely on Crystal + SQLite. Very light, fast service and makes ~$200k/mo.

I just cp my sqlite file to S3 every 2 hours.

From my app, i have a page[1] where i can load any snapshot database saved on S3. I can backup at anytime too with a click, which i do before deployment.

[1]: https://i.imgur.com/Ls1Tnxc.png
I have a Model 3 that is less than 2 years old. The build quality is terrible.

The side of my Model 3 trim on the inside just fell off for no goddamn reason. I don't even know how to fix it, it looks like the glue wasn't applied properly? This is on top of countless other problems that I've faced over the last 2 years.

It's impossible that Tesla is 3X the market cap of Toyota Why they didn't stop buying of Tesla the same way they stopped GME is criminal.

And they keep failing external quality tests and no one seems to care:

https://finance.yahoo.com/news/teslas-failed-every-edmunds-e...
210,000,000 working age adults in the USA * 40,000/year UBI welfare handouts * a decade = 84 TRILLION dollars.

The US govt is currently spending about 2 trillion / year more than they take from their citizens in taxes.

Out of curiosity, what makes you think "We can afford it as a country"?
There's nothing that requires closed boot loaders and locked OSes on ARM, nor is there anything preventing the same on X64. Most X64 chips have embedded security processors that can and sometimes are used to do just that, while the Raspberry Pi and countless other ARM boards are fairly open.

The new M1 Mac is fairly open too in that you can boot non-MacOS OSes on it. It differs from the iPhone and iPad in this way as the Mac is made for a different market niche.

The best way to fight closed devices is to not buy them regardless of their CPU ISA.

ARM is just a different ISA with somewhat superior efficiency characteristics due to fixed length easier to decode instruction encoding. That's about it.
Well, it's not exactly a "Nobel Prize" but there is the Turing Award:

http://en.wikipedia.org/wiki/Turing_Award
Yea, if these sellers actually cared about allotment restrictions, they would invented some pre-registration account system that verified actual identification.

> the more intensive your verification, the lower your conversion rate
^ True, but selling through stock does not seem to be the issue for this segment of sellers.

To some degree the concert ticket sellers have already (finally) solved this, haven't they?
I like your idea tho, that type of vetting costs money because it probably involves humans do some amount of work.
I have never investigated what is available, but the fact that I would even have to investigate what is available tells me there isn't already some obvious choice out there.
I'm talking about years of slow weird changes, just a blog post. Is the straw on the camel. Im still a FF user, I dislike chrome but like I mentioned FF/Mozilla makes it hard to stay that way.
Obviously total speculation but the illustrations and chosen subjects there make me wonder if the document(s) might be Druidic of some sort, since "ancient Druids considered it profane to record their teachings in writing": https://llewellyn.com/encyclopedia/article/186

My impression of intense focus on oral tradition isn't that such groups had no form of writing but as something analogous to modern-day Sensitive Compartmentalized Information systems to prevent anyone in the out-group from learning in-group knowledge, like how the US government has "UNCLASSIFIED / CLASSIFIED / SECRET / TOP-SECRET / TOP-SECRET-COSMIC" etc. It would be hard to describe the exact physical properties of things like plants, animals, and space without writing and illustrating them, so maybe these are documents from one such group who didn't want the fruit of their scientific studies to proliferate?
Considering the more-established meaning of “tissue”, using for any paper seems a bit odd.
Adverse possession is probably not realistic for most people. iirc it kicks in after 20 years after you build something on that land or surround it with a fence, plus it would take years and hiring an attorney to get it through the court system.

So yes, it's technically free land, but after 25 years. I'm sure some states have slightly different rules about adverse possession though.
There's an alternative for Pale Moon...

https://addons.palemoon.org/addon/ematrix/
One has high meme potential. One is a bunch of carbon.
I agree. Im still a FF fan and user at the end of the day. I just dont want to view my browser choice in therms of "It could be worse..."
Yeah, in my mind, these kinds of tests, if anything, only succeed in determining what type of person you think you are or, even moreso, what kind of person you want to be.

Now, granted, there's probably something interesting in those correlations as well...
Jobs never liked the idea of Apps in the first place (probably because he knew it was unsustainable); he was fully prepared to go with a pure-webapp strategy until developers revolted. He's probably trying to get back out of that market as quickly as possible.
Indeed. And preserving text formatting has been effectively handled by TeX / LaTeX for decades...
I wonder if you could eventually sell cycles back to OnLive, since you aren't doing the heavy lifting on your machine ... Maybe offset the cost of the service? Or maybe OnLive could do an ElectricSheep-like screensaver for distributed processing. That could mitigate some of the latency issues as well, for those near you. Social rendering, comrade!

Edit: The more I think about this, the more it seems this is precisely (or at least should be) where they're going with this.
Yeah, the car coming down the road might not like your putting a tent in the middle of it.
So, Fargo ND?
Ask HN: I'm going on my first date with a real girl. But my only formal attire is a Red Voyager Star Trek uniform. Should I spend money on formal clothing, or will my Star Trek uni be reasonable?
I wonder how effective a text classifier could be in assisting moderators in these situations.

I've written a rather good text classifier and I'm in search of commercially useful non-evil applications for it. Assisted moderation for high-volume discussions has come to mind. If anybody's interested in arranging a test of such a system, let me know.
The feds don't have that good of a case against Gwern, if they even wanted to prosecute him for simple possession. He could be writing fiction, for all they know; to convict him in court, they'd have to prove that he possesses illegal substances, which he has presumably consumed by now.

I'm not a lawyer but I don't foresee much prison time in Gwern's future. There are bigger fish to fry.
IANAL, but...

It isn't illegal for your dad to buy you beer if you are under 21.

It is illegal for him to buy your friends beer.

It isn't illegal to buy beer if you are under 21.

It is illegal to sell beer to someone under 21.

It is illegal to use a fake id.

It is illegal to buy beer for anyone under 21, even if you are under 21.

Public intoxication is also illegal in various states.

I agree with your outrage over the 'drinking age,' but you won't get thrown in jail for having a beer if you aren't 21.
Buy a used one, scan everything, then sell it. That's what I was going to do, but I liked the scanner so much I just kept it.
Another option is Google's Chart API and pygooglechhart.

http://asktherelic.com/2010/09/05/large-graphs-with-google-c...
germany yesterday announced suspension of conscription by July 2011:

http://www.guardian.co.uk/world/2010/nov/22/germany-abolish-...

"The military was founded in 1955, and conscription – introduced two years later – has been seen as a necessary means to ensure the defence forces maintain a close relationship to civil society in order to prevent a repeat of the way in which the Nazi party was able to manipulate professional soldiers in the 1930s. But experts say it has prevented the military's modernisation."
Actually it should have been "def many(n)" instead of "def many(k)" :-), but yes. Thanks for the bugfix. Too late to edit it in, alas.
It works almost exactly like iOS folders.
Why get a business coach when you can get a mentor? The mentor relationship is far more valuable in my opinion, if they take you on they genuinely want to help, where as the relationship with a biz coach could make you appear nothing more then a dollar sign and a pay check to them.
From that article:

>The spies and observers enabled Zoltan to keep his radars on for a minimal amount of time.

Reminds me of The Moon Is A Harsh Mistress.
Waterfall doesn't have multiple passes

the only way that it can not have multiple passes is if the program is thrown away after V1.0. Any successfully program will be maintained and extended.
I enjoyed reading that article while secretly substituting "tech worker" for "clerk" in my mind.
Seriously, though, "!!" is just a special case of Bash's history expansion

man bash, and search for "^HISTORY EXPANSION" for all the details.

I often find myself running commands like

cp !:2 !:1 # reverses the order of the last two args

cd /somedir && !! # run the last command in a better directory
It's hard to emphasize enough how important naming is. The author accurately describes the connection between class bloat and imprecise naming.

One tip I'd offer is: You are not inventing something by naming it, you are describing how it's used (based on its behavior).

If it's hard to name, one possibility is that it is not designed properly or that it's doing too much.
Hotels should be able to charge whatever they want. If you don't want to pay for wifi, chose another hotel for your conference.
I'm confused by your question. I don't have any problem with VMs. Perhaps you thought I was pro-container, anti-VM?
I proposed a user-edited online encyclopedia in 1996, while working at the New Scientist. Everyone agreed it would never work, so the idea wasn't pursued.

Two years later, Everything launched, a year after that, H2G2, and two years after that, Wikipedia.
Well that's the thing: fuel cells are batteries, just that you use water as your main resource instead of heavy metals. A major advantage since water costs nearly nothing and heavy metals cost a lot.

You sometimes hear people make the argument that it's too inefficient, but from a purely theoretical point of view this shouldn't be case. Fuel cells and batteries should have very similar efficiency levels in the long run. If you buy into that concept, then it should be almost all fuel cells in the future, with other types of batteries playing an auxiliary role.

> There are still major issues with hydrogen containment since it can leak out of just about everything (being the smallest atomic structure)

Not really true anymore. We've made major advancements here, especially with newer tanks made out of carbon fiber and lined with HDPE. It's not something we have to worry about too much now.

> and also many hydrogen systems are used as fuel-cells to produce electricity rather than combustion for physical force. In that case, a Tesla vehicle powered by hydrogen would just have a fuel-cell energy store but still retain the same electric drivetrain.

They're nearly all like that. Fuel cell cars are basically electric cars with a fuel cell as the source of electricity. This is a huge win since you only need a small battery (or capacitor) for power smoothing and regenerative breaking, instead of having to lug a giant battery around.
Trump led the attack, and has motivated an insurgency. The coup is the cooperation between insurgents and the security force. That's why the media is covering the selfie.

Trump is currently not mentally-ill enough to be unfit for the Presidency. Of course, that's decided at the Capitol, so it may change after he directed violence toward it.

And Fox News agrees with other outlets about the circumstances of five deaths.

This article is about NATO contemplating what it would mean to bring financial sanctions against the USA under the circumstances of a successful coup.
> ticket heavily

Might be worth pointing out that even if traffic fines are handed out liberally in Germany, they are generally considered laughably cheap.

By fining a constant amount (instead of an income/wealth dependent one), all fines do is make something illegal for poor people.
I spend a lot of time analyzing my own logs. I get a lot of value from it.

I am completely cool with someone analyzing their own logs if I visit their site. What I'm not cool with, is them finding out what _other_ sites I visit.

I regard the current focus on analytics as unduly obsessive. How much do you need to know about your customer to flog your products? Just because you can measure something, it doesn't mean that it's going to do anyone any good to measure it.

I used to do direct mail; all we ever did was what today is known as A/B testing - we'd send "test drops" to different lists, with different prices, different wording in the offer letters and so on. It worked really well.
You are mostly right, but some of that carbon does sink into the soil and get captured for much longer periods, and some of that will will sink further and likely never see the surface of the earth again unless someone digs it up.
i guess they're looking for some painful home truths then.
No. There's always SNI in the outer unencrypted ClientHello. ECH DNS entries explain which name you should use in this position, which will be constant across some number of inner names which will be encrypted.

Remember the IP address you connect to already tells a hypothetical eavesdropper roughly what you connected to. If it's a Wikimedia server or Microsoft is not concealed by lacking SNI. What ECH does is hide exactly which service you wanted from that IP address. Wikimedia run not only their famous encyclopedia, but a dictionary and numerous other useful references - from the same IP address with different hostnames. So maybe a future ECH-enabled German Wiktionary will use the same outer name as the English Wikipedia. Today an adversary can see which I am using, with ECH they cannot.

> Regarding blocking, what prevents Chinese firewall from simply removing ECH extension from all ClientHello packets? Servers that don’t expect ECH would continue to work, those that expect wouldn’t accept connection, mission accomplished.

The entire handshake is integrity protected. In TLS 1.3 (ECH is not proposed for any earlier versions) the transcript recorded by the server and client would deviate (one sent ECH the other did not receive it) and so the transcript signature check step fails and the connection doesn't work.

The Chinese don't bother messing about with this stuff, if you connect somewhere the Great Firewall thinks you shouldn't, it just closes the TCP connection and blocks traffic altogether. Simple, effective, and in a sense, standards compliant.
So, you say, coal waste can be source of uranium for nuclear plants, right? How many tonnes of Uranium we can extract from coal ashes?