jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> Some people are allergic to some type of animals though, how do you handle that?

The same way people allergic to other things handle it. They do their best to avoid it and they keep an epi-pen on themselves in case they're accidentally exposed.

I was once at the Los Angeles airport, and a fellow passenger walked up to the counter and told the person there that they have an airborne peanut allergy, and to please announce that nobody in the concourse could eat nuts. The person behind the counter did so, but realistically, this did very little. Between the vast majority of people ignoring most announcements, and the literally thousands of people per hour coming and going from other areas in the airport and planes, there was no way you could keep everyone in the area from eating peanuts. It's on the person with the allergy to make sure they can safely go wherever they're going. You can't expect the rest of the world to magically know, or comply with procedures for your particular issues.
Black is slowly creeping into gofmt-level universality in the Python community and it’s great. The next big milestone is a first-party recommendation by python.org itself.
"perceptual licensing agreement" ?
Could you clarify in what sense the agreement is "perceptual"?
> ...Google Analytics shows literally 0 viewers.

This at least makes sense, why run the JavaScript in your scraper? It's easy to identify. What do your webserver access logs say?
That would majority of company in the Fortune 500 and dependent on your job function in IT.
I was a teacher for almost a decade. I had a fulfilled sense of purpose and was miserable doing it. I was also paid poorly.

For the past 6 years I've been doing data work for government contractors. I feel no sense of purpose with the work I produce and I'm happier in my life than at most any point.

My partner works for a pharmaceutical lab and does world changing work. They work on cancer drugs, COVID vaccines, etc. It's a meat grinder and she and all her coworkers hate it.

The first question you need to answer for yourself is what is your purpose in life, what makes you happy, how do you want to spend the days you have. Then ask yourself how to structure your work and life to serve those goals. For me that means not having to care about work, and I'm much happier with my life now that I don't.
I can't help but be a little sarcastic for this one, but I can guarantee you that Intel or TSMC would make you a billionaire if you had an idea.

They don't like it either - it's expensive and slow, but there's nothing else on the horizon so it's not worth complaining about.
There are many.. https://github.com/ether/etherpad-lite/wiki/Sites-that-run-E...
A major improvement to the energy cost of data movement will come from closer memories, like HBM and on-die stacked DRAM.
The crlibm code is terrible to read and hence maintain. I had considered including crlibm too during my work but decided against it because it would be a lot more work.

Also, crlibm functions are provably correctly rounded only for univariate transcendentals (thanks to the worst case paper I cited in the blog). There is no such proof available for bivariate functions, which is why computing at an arbitrary very large precision (the way glibc does) is the only way to increase the likelihood of correctly rounded results. IIRC crlibm does not even try for bivariates.

I believe some documentation on the crlibm website cites benchmark numbers where IIRC glibc performs better (although not by much) in the fast paths of most functions they mention but gets hit really badly in the slow path. Slow path inputs are usually quite rare, but if your application/benchmark hits them regularly enough (especially sice the slow path is a factor of 1000 times worse) then you'll obviously conclude that the performance sucks and that crlibm is better.
If you liked the "I'd really only known how to use one" type of experience, then I encourage you to keep learning languages after you are happy with where you are with Haskell. My experience is that languages stop feeling like cohesive entities and start feeling like a collection of features.

The nontraditional categories I've encountered are something like:

The macro facilities in lisp, scheme, forth (or factor), template haskell, and C++ templates.

Array languages like APL, K, or R.

Prototype inheritance with smalltalk or Lua.

Avoiding side effects with Haskell, Ocaml, or C#'s linq.

The "we're serious about type theory" languages like Haskell, coq, agda, and idris.
> Which means using wget as your HTTP module and a scripting language as the glue for the logic you'll ultimately need to implement to create a robust crawler (robust to failures and edge cases).

This is kind of the premise of this discussion. You don't use Hadoop to process 2GB of data, but you don't build Googlebot using bash and wget. There is a scale past which it makes sense to use the Big Data toolbox. The point is that most people never get there. Your crawler is never going to be Googlebot.

> Is wget able to check whether a previously failed page exists on disk [in some kind of index] before making any new HTTP requests? It sounds like this would try fetching every failed URL until it reaches the point where it left off before the restart. If it's not possible to maintain an index of unfetchable URLs and reasons for the failures then this would be one reason why wget wouldn't work in place of software designed for the task of crawling (as opposed to just fetching).

It really depends what you're trying to do here. If the reason you're restarting the crawler is because e.g. your internet connection flapped while it was running or some server was temporarily giving spurious HTTP errors then you want the failed URLs to be retried. If you're only restarting the crawler because you had to pause it momentarily and you want to carry on from where you left off then you can easily record what the last URL you tried was and strip all of the previous ones from the list before restarting.

But I think what you're really running into is that we ended up talking about wget and wget isn't really designed in the Unix tradition. The recursive mode in particular doesn't compose well. It should be at least two separate programs, one that fetches via HTTP and one that parses HTML. Then you can see the easy solution to that class of problems: When you fetch a URL you write the URL and the retrieval status to a file which you can parse later to do the things you're referring to.

> If you're trying to saturate your connection with multiple wget instances, how do you make sure that you're not fetching more than one page from a single server at once (being a friendly crawler)? Or how would you honor robots.txt's Crawl-delay with multiple instances?

Give each process a FIFO to read URLs from. Then you choose which FIFO to add a URL to based on the address so that all URLs with the same address are assigned to the same process.
I had an issue with Mac Mail and after the upgrade it just stopped synching my exchange files correctly and that was the end of it. Called apple support, very friendly guy, talked me through it, we tried a few fixes, there was a workaround but it wasn't the same again. Moved over to MS Outlook and haven't gone back. Kind of a shame.
Typical for Hacker News posters (in general) to dislike the United States government so much that, despite having complained and worried and speculated about the sophistication of the NSA's online snooping for the last year in a half, they assume that the government couldn't possibly have obtained any evidence they didn't want to release to the public, instead trusting the high certainty of experts who have decided that it couldn't have been North Korea because the Korean region setting is for the South Korean dialect or the writing didn't have the right 'Korglish' errors or other such trivialities (those are both actual points that have been made).

It's not as if the claims in this article that the U.S. has successfully penetrated North Korean networks (to the extent they exist, anyway) should be any surprise; it would be highly surprising if they hadn't. One might imagine that while the North Koreans are not super advanced, they know enough about how to analyze and remove malware that it might be better to stay vague, even at the cost of appearing less credible, rather than disclose specifics of what communications you're able to intercept. Yet surely, just because the finger is pointing at one of the usual enemies, it must just be warmongering rather than reflecting reality.

(Yes, yes, WMDs in Iraq. It is certainly possible that the U.S. really is that incompetent and/or hawkish. I just don't think it's very likely.)
You're presupposing that Haskell is an objectively superior language.
Arrgh, I'm not good under pressure. Got to level 7.

When I lost level 8 it said "You have completed Level 7" which is technically true, but probably not what was intended.
Isn't this closer to `string-kinding'?
Definitely check out the Andrei Tarkovsky film adaptation of "Roadside Picnic", called "Stalker." He also adapted Stanislaw Lem's "Solaris," which was mentioned below.
This has come up before and people on HN seem adamant that women will dump you if you don't buy them diamonds. My suspicion is that either this theory hasn't actually been thoroughly tested, or it's to do with the kind of women the men of Silicon Valley tend to seek out.
I basically agree with what you've said, except I do think that some terms are intentionally overloaded for political purposes. As long as the language is within the field, between academics, then overloading can be fine. It's understood that the technical meaning can be completely divorced from the common meaning. The problems come about when people try to force technical definitions into the common vernacular.

There are two main problems that arise: (1) As deanCommie's root-level comment exemplifies, contempt for non-academics and a complete lack of respect for ordinary usage. This is divisive and toxic for obvious reasons. (2) It's not uncommon to see people commandeer an extremely weighty term like "racism" to take advantage of the emotional power, but when examined they fall back to a technical definition which has only a small fraction of the power. This allows them to destroy someone's livelihood with accusations of racism, but then it turns out that what they really meant by "racism" was something like that person really likes Chinese food and wants to make a living serving it, which is precisely the opposite of what is ordinarily considered to be racism.

It doesn't have to be that in particular which is characterized as racism. It can be many things: Wearing a dress to prom from a culture you admire, declining to support a partisan, openly Marxist corporation, expressing admiration of Jewish accomplishments, or expressing sympathy for the plight of young black men, but we see it all the time. Words are turned into weapons, and this overloading sleight of hand in an important enabler.

"Racism" is by far the most destructive overloaded term, and the easiest to find stark examples for, but the same problems exist to a lesser degree in other terms. @coagmano's approach is great, because he wants to talk about real differences and find real solutions, not to play word games. But there are plenty of people who just want to destroy, or to pursue a divide-and-conquer strategy in their pursuit of political power.
HTTP/2 is an open standard that is implemented in many languages already, so that’s not the same thing at all :)
"what causes the anxiety" seems right place to start. Thanks for the tip and advice.
Thanks! Gonna try to remember that combo.
Everyone who uses Vim is an advanced user. The rest of us have to be content learning how to get back out of it without closing the terminal.
The one thing that got me interested is them using a photo as the app icon. Intriguing. Maybe there's some fun to be had. The rest was of no real interest to me. Silly, but here we are.

Trivialities aside, the content is not for me. It's either some self-help thing or a get rich fast scheme. And I don't care about either.

Worse though is the content delivery. They talk so much and say so little. Horrible.

It really is this:

> Clubhouse is C tier people listening to B tier people talk about A tier people

And here I am, a D tier person not wanting to be part of this circlejerk.
A fairly easy way to do it is either

c()^[P or c(^r")

The first leaves you in normal mode the second in insert mode. I recommend vim-surround by tpope though.
> I don't think China will be able to make a global brand like Apple in my lifetime.

In my part of Europe (and whenever traveling in Africa), I see more Huawei ads in the street on any given day than Apple ones. Apple is a global brand, but it is also a premium global brand, meaning it is only visible where salaries are high enough for people to afford it. Huawei and Xiaomi, on the other hand, are both global and affordable to even the developing world.
Did you follow the language tutorial in the manual or something else?
While ocean pollution is a problem, a big one, the article above says '103 tonnes' of garbage was hauled up. And this, over 48 days, and a large section of sea?!

That's literally nothing. How much garbage do you think a small city collects from residents daily? Google shows variety here, but that garbage trucks can handle between 10 to 20 tonnes per load.

Again, not saying it's good. There's clearly a lot more down there. But I dislike stats/info in articles which seems like a lot (eg tonnes, They dredged up tonnes!! Over a large, massive section of sea, over more than a month.). Worse, they talk as if they actually did something:

we are continuing to help restore the health of our ocean, which influences our own health and the health of the planet.

No, they're doing nothing. It's like I walked to a garbage dump, picked up a can, then took it home and recycled it.

"I created a cleaner world!", uh, yeah, sure.. good job? It's just a meaningless tiny bit of nothing.
There shouldn't be much difference, particularly between the RB and AVL trees. The limiting factor is memory access latency in all cases since the CPU can't effectively prefetch tree node accesses for the next level down.
I know a lot of people dislike webusb and webbt but honestly the potential for sustainable devices is huge.

No more devices turning into landfill fodder once their iOS and Android apps stop being updated.
Awesome, loving
How is this faster?

More DNS requests, more TCP connections. At first this is purely slower.
Haha. I was amused/bewildered by:

void *p = realloc(...)
// ... cast every other occurrence of p to (int *) ...

The concept may be interesting, but this particular implementation is needlessly horrible.
http://bl.ocks.org/rkirsling/5001347 is a cute example I came across recently, if I'm understanding the description correctly.
From https://en.bitcoin.it/wiki/FAQ#Is_Bitcoin_a_Ponzi_scheme.3F :

Is Bitcoin a Ponzi scheme?

In a Ponzi Scheme, the founders persuade investors that they’ll profit. Bitcoin does not make such a guarantee. There is no central entity, just individuals building an economy.

A ponzi scheme is a zero sum game. Early adopters can only profit at the expense of late adopters. Bitcoin has possible win-win outcomes. Early adopters profit from the rise in value. Late adopters, and indeed, society as a whole, benefit from the usefulness of a stable, fast, inexpensive, and widely accepted p2p currency.

The fact that early adopters benefit more doesn't alone make anything a Ponzi scheme. All good investments in successful companies have this quality.
people have been telling us that probable in-ground oil reserves have been known for decades, but those estimates keep going up. I see no reason to believe there is a better estimate for in-ground gold reserves, nor do I believe the true size of those reserves is factored into the price. Considering the 40+% margins shown by Barrick Gold, I doubt even the marginal cost of mining gold is factored that well into the current price.
GPLv2 requires that a copy of the license is distributed "with every copy of the program". [0]

[0]: http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#Wh...
This argument is absurd. I can't help but feel that I've been majorly trolled here, so I give up. Have fun writing your next big app in BASIC. I'd love to see how far you get. It sounds like you could go far, since you have one of those fancy new computers with a DISK drive on it.
When someone comments while out for drinks, three people hear it. They may tell a few people, and the word will get around within a circle of friends who know each other.

It may never reach other circles of your friends. In my own case, the circle of my FB friends that I know from technology do not overlap with the circle of friends that I know from sports very much. Something could easily go around one circle and not the other.

But FB merges them: Something on my wall is visible of all of my circles of friends. That's what I took from the article: Social Media kicks down the walls between circles of friends.
Africa has bigger problems than not being able to influence the future of the internet.
I strongly second this recommendation, but it's not exactly "light on math". It's light on calculations, but you need to have had some contact at the very least with linear algebra and calculus. Now that I think about it, that probably makes it a perfect book for software engineers, who know the mathematical concepts from studying computer science, but have not much experience actually doing calculations, so typical QM textbooks may be off-putting for them.
+1 to clicky. The real time stats are a very nice addition to a solid suite of tools.

My one gripe with them is they seem to do more processing of the data, rather than just letting you find the numbers you need. I am a data hound, so YMMV
I also think that intentionally breaking the website (in the worst possible way) in an unsupported browser is exactly the behavior we're trying to get rid of, along with IE6.
IE6 is bad but it's not like it's Netscape 4.

Don't torture people, instead give them a positive reason to upgrade/replace IE.

Announce what features on your site(s) they could be enjoying beyond IE6.
It would only be the same if everybody you know was out getting drinks with you (including family, friends, coworkers, etc), and the comment was made loud enough for all to hear.

Before social media, your siblings likely wouldn't hear a conversation between two of your friends when your name is mentioned.
Keeping an eagle eye on tagged photos

This is one of the things that goes beyond Facebook as a platform and technology and becomes a cultural issue. You can delete your Facebook account or never get on Facebook in the first place, but that won't stop people from publishing photos of you on it. I can't help feeling it has become socially acceptable for your friends or even acquaintances to publish photos of you on the Internet.

Facebook is now an integral part of our culture. Its precipitous growth is owed to the fact that it works only if it’s massive. The more people participate, the more utility it has, and the more utility it has, the more compulsory participation becomes.

And this is precisely why so many people are making a fuss about Facebook's privacy policy and attitude towards privacy. Whether we all like it or not, Facebook has become a part of our global culture and it influences the way we think and behave. If part of its influence is to encourage you to stop caring about your privacy -- or even to simply refrain from reminding you to take care of it -- then we won't need to worry about anyone taking our privacy away; we, the society, will give it up on our own.
So true ! Always looking for how to be happy/productive/creative and so on instead of being happy/productive/creative !
Location: Hamburg, Germany
Remote: Yes
Willing to relocate: No
Technologies: HTML, CSS, JavaScript
Résumé/CV: https://www.frede.io/
Email: contact [at] frede [dot] io
Yeah, I saw that. They should have been given .cl or something that's not a common misspelling of the de facto standard TLD.
A few insane overage charge stories in the media will definitely cause people to avoid using their phone as much. It's not something people should be thinking about when they use the phone, it's counterproductive.
Ssds aren't reliable enough for Google scale. The rater number of writes before failure for Flash would make replacement a constant effort for them and ruin any economy. You need Ram for the reliability as well as the random access speed.
First of all: Emacs (and vim) are perfectly usable on (and originally developed for) a dumb terminal, or so-called console. This is the main difference with modern IDEs such as eclipse, and Gnome or KDE-based ones.

The key-sequences in vi (the true masterpiece) and long sequences in emacs are designed and evolved to be useful on terminals, and they definitely are.

Vim and emacs both were text editors based on original concepts and then evolved as source code editors, rather than IDEs which were created to imitate Visual studio. =)
I've been noticing a lot of this recently.
whew my jaw dropped at that headline but its ok
NoScript selectively blocks scripts on a per-domain basis, which is almost always sufficient to block the bad scripts but allow the necessary scripts on a site. The exceptions where a surrogate script (or blocking scripts by URL regex) is required are relatively rare.
Sectors come in other sizes.[1] And mega would mean million still if they didn't.

[1] https://en.wikipedia.org/wiki/Advanced_Format
Kind of funny to think about what it would mean if it turns out GPT-3 is actually superintelligent but we are just too stupid to realize it.
There's no incentives for Facebook to "sell" their user data as long as this is the primary advantage over their competitors including Google, Amazon, MS, etc. Big techs naturally tend to monopolize connections to its users and FB is no exception.

In fact, if they "sell" their user data, anti-trust regulators will be very happy; they want big techs to share user data to its competitors but the big techs are using user privacy and security as their excuses to rule out new competitions in the industry. Apple took the lead and other big techs are now following.
Not exactly: https://finance.yahoo.com/quote/UBER/financials?p=UBER

It is weird that something as exploitative as Uber can't even stay in business in the long term. Eventually profit does matter and the weak stocks will be culled in the next panic. Uber will be one of them.
could be the Balinese script as it seems (to me) to be less loopy than the Javanese script. Both are abugidas and their alphabets seem to be organized just like Devanagari and scripts for other Sanskrit derived languages.

https://en.wikipedia.org/wiki/Balinese_script

https://en.wikipedia.org/wiki/Javanese_script

https://en.wikipedia.org/wiki/Abugida
I believe there is an exception to price gouging laws if the cost of producing the direct item/product/service is impacted. In this case Griddy's cost went way up as well, which makes them not-clearly-in-the-wrong.

For the power producers on the other hand, it seems exceptionally clear (to me anyways) that this was just state-sponsored price gouging: https://theintercept.com/2021/02/23/texas-winter-storm-gas-p...
I can't get the FAQ to dropdown any answers...on Firefox or Chrome. Does yours work?