jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Panics can be incredibly useful. I use them in HTTP services to simplify returning error JSON objects to the consumer.

In general I'm a bit surprised about all the hate(I say hate because of how people react to it and react to suggestions for how to better work with it) the error system gets. I find that creative use of error/panic can usually scratch my "this is too much error handling code" itch when it flares up. As long as it's documented in the API I agree that unique public error handling strategies are not all bad.

Interestingly I write a lot of C#, which of course has try/catch/finally, and I find that if you are doing it properly you have many levels of handling and a strategy involved at the different levels for what should done when. I find that many people write TERRIBLE error handling. There may be try/catch sprinkled around but there will be no strategy to it with edge-cases and improper handling abound(masked exceptions, finaly's throwing new, unrelated exceptions, etc). I personally find the amount of effort required into developing and executing a robust error handling strategy to be about the same between C# and Go. That's not to say that I don't sometimes wish Go had C#'s error handling( ;) ), but I realize they are different beasts with different masters.
In this case, the Delhi High Court hasn't even asked Twitter to ban the account. Instead it "rejected" a plea to ban the account. Twitter definitely censored Sci-Hub on its own volition.

Quoting from the article:

"In December, academic publishers Elsevier, Wiley, and the American Chemical Society filed a suit with the Delhi High Court, asking Indian internet service providers to block Sci-Hub and similar site Libgen. The court rejected the publishers’ requests that the sites be blocked immediately, instead declaring it an “issue of public importance” and allowing time for the scientific community to weigh in."
> authoritarian communist regime

That's where you completely lost me. Yet another person who doesn't know what communism is and just uses it as a blanket, non-sense label for leftists.
> 1) Unemployed is a mixed category of people who can work, and those who can't.

Sorry - this line triggers a knee jerk response from me. Please feel free to ignore the rest of this post.

There are very few people who are so disabled they are unable to work.

There are people who face discrimination; or who have learnt patterns of livingthat are not compatible with work; or people who have learned helplessness. Employers are understandably nervous about employig someone with no work in the past three years (and even if they're not nervous they usually get to chose between the person with large gaps and the person with recent work history).

Modern approaches to getting people with disability back into work concentrate on "place then support" - you get someone a jon and then you provide support to them and their employer to keep them in that job. This is prefered to "train then place" where you put people through work-preparation courses and then eventually try to get them a job and don't support them in work.

I'm particularly interested in barriers to employment for people with mental illness. When someone has a leg amputated there is a period where they are rehabilitating and having prosthetics fitted, but then they can return to work. From time to time they may have problems with their stump and they will need new prosthetics. We don't expect those people to never work again. So it's weird to me why we don't see severe mental illness as havig similar times of illness and wellness.

This organisation has good quality information about curret best practice. http://www.centreformentalhealth.org.uk/employment/index.asp...
I wrote an Android app based on a blog post of mine which got popular:

https://play.google.com/store/apps/details?id=com.jasmcole.w...

http://jasmcole.com/2014/08/25/helmhurts/

It reached the reddit front page for a day, and earned £3,000 during that day. Since then, it's averaged ~£150 per month, with only small input from me (minor updates)
Is there any potential for improvement? Like, devote more time to it and make more? 1 hour a day = 31 hours a month = $80/h, roughly put.
If someone's work has close to zero or negative value, who cares if they're watching TV as opposed to digging up holes and filling them in?
You're talking about response headers. But this deals with sending responses, you only get requests. Request headers can't contain a custom header that you control (unless your JS is making the requests of course). Hence you have to transform the Cookie header into whatever you need.
They probably already signed an intention for the final agreement, and just had to fill in the details.
Out of curiosity, I tried this and it worked fine:

seq $((2**32)) | perl -ne '/find me/ && print'
This game is awesome. I gave up on a similar HTML/JS game I was making because I could not think of the gameplay/goal/prize: https://zetabee.com/games/bee - I love your 'find pattern' goal. I think with these kind of puzzle games, the hardest part is coming up with a good effort/reward system that makes gameplay fun instead of tedious and you did an awesome job with Garden Madness!
I stand corrected. 4sq down again.
We rely heavily on EBS still, so this is hurting us more than most others. Hopefully they'll have us back up soon.
Would it be going too far to make an "infinite" 2D column layout? Essentially like Tofu, but allowing the user to scroll up and down as well if they want to keep reading down a column instead of going up to the next one. Scrolling one page down is isomorphic to scrolling one column to the right.

Might be nice for user freedom, but the added freedom might detract from user experience. Moreover, you'd have to have some fancy logic behind text reflowing etc to make it work with font size changes.
After having been in the local IT and software business in small-town Texas, I can assure you that this sort of stuff is alarmingly common amongst a lot of local IT shops. Now, giving credit where it's due, someone's at least gone to the hassle of putting up a thin veneer of respectability on this Turkette guy's website, but the "blog" page (http://www.turkette.com/blogs/ ... check out that awesome graphic) taken in concert with the Reputation Defense service pretty much shows that, if nothing else, Turkette is somewhat disingenuous in selling what he's incapable of delivering.
I was actually just thinking about this the other day. I think it could be very useful to see full profiles and detailed portfolios of the people on here. I think it could help members network with each other more.

The benefit is that because HN/YC is such a small, focused niche site if it became a full-fledged social network, all of the members would become much closer in the online community.
Yes, from time to time. But I'd bet you any sum of money that there are less than 40 such fatal attacks per year in the US and Canada. And I say this as someone who hunts wild boars, and currently has 2 wild boar hams soaking in brine in preparation for a Christmas dinner.

And what do you mean "in all likelihood"? Do you mean that you have some evidence that there are more wild boar attacks per year in the US and Canada than there are shark attacks worldwide? Or do you mean that the concept is kind of cool despite being entirely without evidence?
How can we change things?

You cannot change anything until you understand the cause of your problems.

The structure of political systems determines the range of possible outcomes. We have a political system that structurally has an unusually large number of veto points (compared to similar western nations). The result is that change is slow and the system is resistant to external forces. In addition, we have a system that systematically overrepresents the interests of rural counties.

There is a relatively "easy" way to fix the second problem: states with large populations should start splitting into multiple states. But due to status quo bias such "simple" changes are unlikely to ever happen. Fixing the veto points problem is harder still: it is wired into the fabric of American governance.
I too had this stupid idea, and was pulled out of it when I proposed it to someone "your customers can help each other", then he asked "but what if my competition joins the site and talks them out of a purchase?".
It's a little bit confusing. The "extended" description does, in fact, show up in the title bar. The short one only shows up in the google search link.

The point is, imagine you're trying to get to the Airbnb website, and you're the type of user who is going to type "airbnb" (or the closest thing you can remember to that) into google. When google returns the Airbnb url, the optimal thing for them to display is "Airbnb". If they returned the extended title, it would blend in more with the other search results, and it might take a user longer to find it.

The title plays an important role with the your whole customer user experience if you consider the role it plays in getting them to your page.

By providing flexible search anchor tag text, you can hint at google about your service relevance, while also targeting users who are already familiar with your brand.
Can anyone explain what daemonless means in this case and what the advantages are? (I don't work in this space and my knowledge ends with knowing what a container is.)
Author here. These binaries will re-exec themselves under Qemu if you run them on different architectures. So they truly are build-once run-anywhere.

I think improving performance on other architectures is great. There's nothing that inherently limits the Actually Portable Executable format from baking in native support for other architectures. It's simply a question of focus.

What Cosmopolitan does, it does really well. No other C library is able to target multiple operating systems and all the x86 microarchitectures. You can now easily distribute software that can be easily run on the vast majority of PCs and servers. Want it to do more? Consider becoming a sponsor. The impact the project is already having should be all the proof we need that it could be doing much more. In order for that to happen it needs your support.
Positive. This is in the UK. At that stage even younger less corporate developers couldn’t understand it at all.
And one would hope secure devs know which random to use, whereas gaming devs have no reason to know.
Good point. I guess what I meant to say is that ECC memory is not marketed for greater than JEDEC speeds.
> I don't like taking the dirt from one place to the next, so I buy a new vacuum cleaner every time.

That seems extremely wasteful. Why not just emptying the vacuum cleaner before bringing it to the new place? One person buying 20 new vacuum cleaners in a decade is just one of the reasons this planet is running out of resources.
If you enjoy reading about the art world you might like http://tondo.is/

The whole industry is incredibly fascinating.
You can still have fragmentation problem with ext or ZFS if your file system is near full. This always has been a problem. The problem with FAT was that the fragmentation problem occured earlier than other systems.
Didn't think about scanning the sample :)

This thing must be way slower than a conventional AFM, but wes, it's cheap, light, and reliable to several factors that other instruments aren't. Should be a great add-on.
Yeah, I almost never use map[string]interface{} when unmarshalling JSON. Most JSON has a static structure (and I'd argue that any JSON that doesn't is misbehaving). If the structure is static, you can simply use a struct that represents this[0].

If it doesn't, then you just use json.RawMessage to defer unmarshalling, but you can still dispatch to a finite number of structs that represent the universe of possible responses.

[0] And no need to write it all out by hand - if you have a single example JSON response, you can generate it automatically: https://github.com/ChimeraCoder/gojson
Perhaps they could fix the Wikipedia and Wikibooks presence? Has it really been "banned" from Wikipedia?
> Teicholz begins her examination by pointing out that the Inuit, the Masai, and the Samburu people of Uganda all originally ate diets that were 60-80% fat and yet were not obese and did not have hypertension or heart disease.

> The hypothesis that saturated fat is the main dietary cause of cardiovascular disease is strongly associated with one man, Ancel Benjamin Keys, a biologist at the University of Minnesota. He was clearly a remarkable man and a great salesman, described by his colleague Henry Blackburn (whom I’ve had the privilege to meet) as “possessing a very quick, bright intelligence” but also “direct to the point of bluntness, and critical to the point of skewering.”8

> Keys launched his “diet-heart hypothesis” at a meeting in New York in 1952, when the United States was at the peak of its epidemic of heart disease, with his study showing a close correlation between deaths from heart disease and proportion of fat in the diet in men in six countries (Japan, Italy, England and Wales, Australia, Canada, and the United States).9 Keys studied few men and did not have a reliable way of measuring diets, and in the case of the Japanese and Italians he studied them soon after the second world war, when there were food shortages. Keys could have gathered data from many more countries and people (women as well as men) and used more careful methods, but, suggests Teicholz, he found what he wanted to find. A subsequent study by other researchers of 22 countries found little correlation between death rates from heart disease and fat consumption, and these authors suggested that there could be other causes, including tobacco and sugar consumption.
For one, it fails to handle memory fragmentation. The effect is that your application seems to grow and grow. It is not very common to cause real problems, but compression is something JVMs learned a long time ago. There are also afaik a few corner cases with stack, I've seen a few discussions about those on Stackoverflow lately.
I heard from my repair guy that the models after 2011 are much harder/more expensive to upgrade and repair.
what an unlikely coincidence. amazing what nature can come up with without any sort of plan or guidance. :)
I quite like F# - it's similar to Haskell, but since it's a .NET language, you have an extensive STL and tons of 3rd party libraries. It works great with C#, so you can switch between functional and OO programming depending on your domain, while keeping the same STL and technology stack.

Also, you get the full power of Visual Studio (they recently changed it to be completely free), which can really help with productivity in my experience.
Scala supports value types now: http://docs.scala-lang.org/overviews/core/value-classes.html
I don't think its just that. Its impossible to design a "trully general" intermediate programming language so what ended up happening is that the CLR was a perfect fit for C# and a not-so-perfect fit for everything else. At least thats what I've been told by my programming languages professor.
I was thinking the exact same thing. That would be genius.
I propose you find some of the liberals who still insist that Gore defeated Bush, and hone your art on convincing them of the truth first. Once you have completed that relatively simple task, move onto the fools who propose that the 2020 election was brazenly stolen in the dead of the night in each swing state via mail-in ballot harvesting.
Poll: getting my M1 Max in mid March, any reason for returning it and waiting?
Great point. For historical reasons, many African countries established better links between themselves and their former Colonial rulers than they did between themselves, with inter-country links being neglected.

Immediately after independence this made sense, as those links back to Europe were already well-established and they were to countries with far higher trading capacities than neighbouring African countries, but in the long-run it retarded the growth of African trading regions and the diversification of industry in many parts of the continent.
No, the best way would be to show a notice in the corner notifying that the website probably won't be optimal using the old browser and ask the user to upgrade.

Don't be intrusive, it's not necessary, and will probably scare away people. Just explain why the website isn't working perfectly.
Your comment just spurred me to watch the video.

I noticed something, too.

[Edit. I previously ID'd a specific condition. While I stick by my observation, and would comfortably say the same thing in a hallway conversation, it's probably not cool to say it in a public forum.
I'm in no way important or a shareholder in any company involved in this discussion. But a commenter below got me thinking. HN is a widely-read, influential place. I don't want my passing observation to be responsible for anybody's pain.]
The fanboy phenomenon is real: people, usually guys, often younger, who idolize one brand of hardware, usually because it's what they own. It's just like:

http://www.nytimes.com/slideshow/2009/08/28/automobiles/0830...

So, we might as well have a word for it.
Does it end hunger any better than the U.S. has ended hunger?

* Children neglected by their parents: still hungry.

* Mentally ill or drug-addicted people who are unable to care for themselves (e.g., the homeless): still hungry.

* People who remain persistently unaware of government programs available to them, despite outreach, or who fail to take advantage of them for whatever reason: still hungry (or at least paying more elsewhere.)

* People who spend their food dollars on soda, chips, and pizza rolls, regardless of the availability of cheaper and more nutritious foods: still malnourished.

Giving people easy access to nutritious food only solves the EASY cases. This program is to ending hunger as driving an RC car across an empty parking lot is to the Darpa challenge.
lol. One of those people who thinks dolphins' problems aren't their (lack of) minds but just their different mouths and lack of hands.

> "a complete language interface between humans and dolphins."

Soon enough dolphins will improve on Socrates? Or if they can't understand philosophy -- i.e. much of English is inaccessible to them -- then how exactly will it be complete?
Well first, the ? can't be 1, 2, or 8, right?

And second, you could guess equations without 1, 2, or 8 to narrow down the missing digit in only two more guesses.

Edit: Brain fart on the first part, but I think the second part would have helped within three more guesses.
So Trump got kicked off twitter, and people can get kicked off various platforms for saying extreme things, but deplatforming does not exist because you agree with the reasons why those people got kicked off, and therefore other people are delusional and living in fantasies, and you have an opinion on if this concept which does not exist causes violence.

First definition I found
https://en.wiktionary.org/wiki/deplatform
(transitive, formal) deplatform 1: To prevent someone from utilizing a platform to express their opinion.
I think there still aren't any spectre/meltdown attacks, just proof of concepts. On my home PC I might deactivate mitigation since I rarely execute unknown code. On the other hand CPU power isn't really a bottleneck for me.

It is a memory leakage problem and in the world of today with apps stealing info left and right, I am almost unsure if I should care about it that much. Maybe attackers might be able to steal a key here and there, but I managed to stay quite cool when the architectural flaws were published.

I believe I saw a demonstration about the M1 not being affected by these side channel attacks, but I have no source.
Just because something belongs to the people does not mean that 1,000 of them need to be able to rush into it.
Yeah, it's totally reasonable that they won't have a timeline the day they got the report. And if they fix it the next day, who cares that they didn't give an ETA? Clearly they had better things to do than reporting back.
It's definitely possible, but he's not in that category yet IMO. If Tesla actually makes a car that middle class Americans want and can afford, then he can seriously disrupt the motor industry and be on par with those guys. At this point though, Tesla could go out of business and it would just be a footnote in automotive history 30 years from now. SpaceX is similar at this point, it's on the path to something great, but right now its just an early competitor in the private space industry.
This has nothing to do with short term interest based capitalism. Whether privately held, a charity, or any other structure, if what you are making is not of general interest to the population at large, it's going to have a pretty hard time. The only way to fix that is to eliminate free markets and democracy so people of average or less intelligence/foresight have no say in the appropriation of resources.
The use of the word vacation in relation to remote work is definitely odd.

I personally have been a full-time remote worker for over 3 years now (I'm Australian but sitting in an apartment in Barcelona right now) and work with a bunch of other remote workers. We very definitely have very distinct holidays/vacation time. Our work and personal lives are just as separate as a regular in-person worker. The only difference is that when I go on vacation I don't typically have to go anywhere as I have previously relocated to my desired vacation spot.
>so we enable the load and execution of macros by changing the value to 1

This I believe will be a short-lived hack in a properly setup enterprise environment with proper GPOs in place.

Saying that my eyes have seen a lot and especially if you leave it up to the users, they'll click their way through any warning messages so...
Mathematical formulas, especially definitions, are often written like E = m * c^2 or pV = n k * T or F = m * a. Ie the simpler stuff often goes to the left.

So that tradition might have been where most programming languages picked the convention up from?
"Nobody cares about privacy"

Except if there was a button asking you to opt-in, literally nobody would press it.

there are few articles about this because this is biting the hand that feeds.
Not if your point is to understand what can go wrong when viruses mutate.
> does their utterly childish reaction to Scott Alexander's

> wish to be anonymous invalidate the whole newspaper's

> integrity?

There is some content I consumed years ago and thought was quite reliable, until recently, something that was published just rubbed me the wrong way. I did some digging and found that I was right, that there was some issue. I then went back and applied this same skepticism to some of the previous publications - and found that some of them also had problems, and that I had overlooked them. At the time, they seemed correct, but I had simply overlooked some issues based on their perceived credibility.

My point is - now you have seen that it is at least possible for NYT to publish biased and outright incorrect content, they have shown their capability to do so, therefore you must consider that other publications may also be incorrect. I would suggest that at least in the immediate future, you perform your own cross-referencing. You need to determine if this was just a slip up, or one obvious misstep in a long line of non-obvious missteps.

Generally, I encourage people to read both a moderate left-wing and right-wing source. Where they conflict is usually where you have to do your own digging. For example, was that Tweet taken out of context? Did that image/video really show that? Is this person really as they claim? I feel like a lot of modern journalism is really hidden in the framing of the evidence.