jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
<UPDATE>
Wow! You've skyrocketed the book up 131 spots to the #558th bestselling book on Amazon. Thanks for spreading the word, everyone.
</UPDATE>

Don't fret! It's my breadpig Amazon referral account.

See it used here: http://breadpig.com/2010/08/20/xkcd-volume-0-now-on-sale-at-...

And here: http://twitter.com/#!/breadpig/status/17728366002044928

Christina & I also visited Laos to see the first xkcd school we built with breadpig's profits: http://breadpig.com/2010/10/08/laos-the-kengthan-incomplete-...

More to literacy to come thanks to our book profits in the hands of RoomToRead.org!
http://breadpig.com/2010/07/19/how-were-donating-53000-in-xk...

Please consider signing up for the breadpig mailing list to keep abreast of all the good work your book-dollars are doing! We want to hear from you, too - don't be a stranger - as we want this process to be as transparent as possible (+$165,000 funds raised & profits donated by breadpig so far).

https://spreadsheets1.google.com/ccc?key=tvO1w5Sg52VhoFEcPKL...
I do not live in the US, so could you please elaborate on the violence depiction issue? I was under the impression, that men get their asses kicked in the media _a lot_ more. (partly due to our trouble in telling the difference between "awesome" and "possibility severe injury"). But I digress.

From an international perspective, I cannot take feminism in the US seriously, I just can't. In the original post, for example, the author takes issue with the WORDING OF A TEXT BOOK. Are you f__ing kidding me? Is that a problem, noteworthy for feminists to tackle? No. Again, going back to the international context: do people know, how women are treated not only in the Middle East, but in the Balkans, Eastern Europe, Russia and CIS or Turkey? _THAT_ is discrimination. _THAT_ is what feminism should be fighting against. _NOT_ about some silly issues in grammar and style.
Honestly, I think your priorities are messed up — or at least inconsistent with your actions. You seem to just want a stable browser for watching YouTube without regard for cutting-edge technology, but for some reason are using a piece of beta software that is currently focused on other things.

As far as the final product is concerned, I'd bet that YouTube does have higher priority than WebGL. But that isn't the current focus of development.
No, it doesn't. Introverts are perfectly capable of overcoming their personality tendencies. Introversion or extraversion refer to your natural inclination, but it determines nothing.
Coz it's good intelligence to have insights into Americans' everyday life and habits? Moreover legally, without any espionage effort? Just speculating, but I don't think MBS is investing in Uber or WeWork to "get rich" really...
Both videos could be clipped differently, to reveal the fact that we're dealing with parody by e.g. stating so in the opening and closing seconds. It wouldn't ruin the joke. In fact, the only reason not to include clear markings is when you're hoping people will get confused about it.
And are those courts used for deciding who to ban/silence on twitter/facebook/instagram?
Original article from Dev.to: https://dev.to/simplelogin/if-you-care-about-user-privacy-do...

I've recently implemented authentication for my project and I would just like to say to all the relatively amateur programmers out there: for web based authentication just stick with HTTPOnly SECURE cookies with DB backed sessions that you can revoke.

The reason I'm saying this is that there's way too many posts talking about JWT (which isn't suitable for newbies), Oauth (which is more useful if you have separate authentication and resource servers) and other token based mechanisms which are what cookies are except more suitable for non web based clients.
I entirely agree but the laws get in the way of such a "blanket" approval as it's about notification as much as approval.

The laws require that sites notify you specifically about how they each use cookies which varies hugely from site to site.. accepting a universal approval wouldn't allow such specialized notification on a site by site basis.
Super resolution can only do so much. Basically, a x2 or x4 improvement at best, especially on features more complex than text. Also, as soon as you compress your video stream you lose a lot of information that would actually be used by these algorithms.

If a high res stream is available, it is much better to use it. A basic face detection algorithm and snapshots of them saved regularly would go a long way and are really simple to implement.
If you are starting a business/expanding ops etc it's not complicated to raise cash today.
Let's see if this mistake happens again.
Please don't do this here. If you have a substantive critique to make, you're more than welcome to, but "shut the fuck up, "all you want is money and power", and "world's biggest hypocrite" is the opposite of that, and predictably degraded the thread.
Actually it's not a pointless distinction. If you care about the integrity of your string, you'd better use text nodes with CDATA, not attributes, because of the dreaded obscure XML feature called "Attribute Value Normalization".

XML just tempts you to use attributes to represent strings, then kicks you in the ass when you least expect it by corrupting your data unexpectedly and unfairly but with full legal authority of the xml standard itself.

I wrote about it in this other comment:

https://news.ycombinator.com/item?id=26122107
I guess laforge is doing other things atm, but i guess he at least hasn't called it dead: http://gnumonks.org/~laforge/projects/license-compliance/
Pretty common in ruggedized devices. Has the benefit of keeping components stuck down under vibration and tamper evident too.
You've only mentioned courts, but the parent comment also mentioned banks. Sure, if you're going to take someone to court, you need to find them, and everything you say is true. But you often don't need to take someone to court; the bank will handle it. "they are not going to magically give you some new money if there is none to be taken back" I mean, they kinda will. It's not magically new money; it came from somewhere, but as far as the user needs to know it's magic. Especially since there are laws limiting individual liability for stolen identities.

Me: "There's been fraud on my card." (to the tune of $1000)

Teller: "Are you sure it wasn't a family member or a mistaken purchase?"

Me: "Yeah, the charges were in Texas and I haven't been to Texas in years."

Teller: "Great. hands me a printout of recent charges and a highlighter Can you highlight all of the unauthorized charges?"

Me: "Sure."

Teller: "Ok, we'll provisionally credit you the amount back to your account, while your claim gets reviewed; you'll have access to it immediately, but will be liable to pay it back if the claim gets denied. We'll let you know when the claim approval is finalized, which usually takes 2-3 weeks. We'll get you a new card, which should arrive in 2-3 days, if you don't get it by the third day, let us know."

Me: "Thanks!"
No of.

If the stock was at $100 that month, we paid $20.
> I’m primarily a windows user and am programming to create products. Since I don’t work a programmer job, my learning is unstructured. Is bash the main benefit of learning something like Ubuntu?

That's one advantage. The big advantage is that most enterprise web sites and webservices run either on a rented Linux server or on a Linux instance that's "serverless" (meaning it can run processes and access databases, but can't save stuff permanently to the filesystem). If you have familiarity with Linux, then that lends itself well to the work of troubleshooting the complications that come with that setup.
I'm building an Elixir app called Chimera. What is it? Heck if I know. It's just a bunch of stuff mashed together, hence the name. I just wanna keep busy. If you're fighting your inner perfectionist about creating the perfect side project, you don't need to! Make something beautifully hideous just for you :)

Chimera is currently an HTTPS client, an HTTPS server, and a tool that downloads pricing data from AWS for no particular reason. Why? Because I can!
Reading an article this in-depth and pure on blogger brings me back to 2004, the good ol' days
Not discouraging it, just pointing out that there are much better alternative materials.
Virtual whiteboard input via hand tracking.
It really bothers me that current password managers will never be used by the ones we love, who probably need them just as much if not more.
I'm building "a password manager for everyone." In hopes that I can get my dad, wife and everyone else I love to be safe online.

It's still a WIP. But I hope to release it in the next few weeks.
Look at who is telling you masks do not work. None of the authoritative sources I've seen over here have said that. They say things that can be misinterpreted that way, like "don't stop transmission" or "don't need masks" or "don't help as much". I haven't seen an authoritative statement that they don't help, either catching or spreading. Yet over here, despite many households already having good masks due to recent fires, few people are wearing them.
> I think if the Malaria Med+Antibiotics treatment from the French study don't work (we'll know in about a week I think), we need to move to a war footing and start producing ventilators. My back of the envelope math has scared the crap out of me (best case 500K Canadians dead, worse case 3 million).

We should assume they won't work. War footing time is now.
> Censoring porn ... [is] the only way effective discourse can take place on this website.

Yes, but it diminishes the level of intercourse significantly.
Like this? https://www.youtube.com/watch?v=ztOk-v8epAg

(I'm a complete numpty here, so need very basic explanations!)
Couldn't agree more. It's a far better approach as a cloaking technique. Reason I use privacy-possum addon on Firefox.
This guy claims swapping is efficient, yet I see other posts saying they're going to blow out in under 2 years due to write load on the 8GB versions of the M1 laptops
It ONLY makes sense if you view trinary as (false, uncertain, true or -1,0,+1). That is NOT the only view of trinary, but it is useful for e.g. soft-decision decoders.
I'd love to know how this guy's employees feel. Tempting to give snark for snark.

> Most problems in business will not fit in your well-scoped JIRA ticket. That doesn't mean you get to ignore them until they do.

But you're still chaining me to Jira, aren't you? I'm still being judged by how many points of Jira tickets I close per sprint, aren't I? And I bet you're still trying to insulate me so I "don't get distracted" from my tickets.

> People get paid the big bucks because they handle that uncertainty well and bring those vague, ill-defined problems to a good resolution.

So I can expect to receive the autonomy needed to take on those problems after all, and also get the compensation commensurate with that responsibility?

> "I'm pretty good with React" doesn't quite cut it.

Is that the bar we're using for hiring engineers around here? Damn, I did _not_ interview your company well enough before accepting this job!

> Yes, because of the implication: you want ownership? Great. Here's your KPIs. You didn't meet those KPIs? Here's your severance, best of luck at your next job.

Hold up. I already have KPIs / OKRs / MBOs or whatever flavor of the year HR is pushing on top of the sprint metrics you're tracking, and as a senior engineer or higher, I'm already in trouble if the product fails, which is another reason I want the autonomy to make sure failure is avoided!

> I made a comment to an advisor a while back about "a VP on a PIP" and they laughed. "Mike, a VP is always on a PIP. That's the role. You hit your KPIs or you're out."

Why are we bringing up comparisons with VPs? Is it VP-level autonomy or nothing here?
> You could die driving to the store, but the odds are tiny and the benefits are huge. Driving to the store isn't gambling.

This statement seems uncontroversial, but I am not sure it is true.

Driving to the store is one of the riskiest activities I (used to) regularly engage in. Now that I do it (much) less, I do indeed perform a risk/reward analysis of getting into a car (when before it was automatic, with an assumed zero risk due to normalcy bias).

It is possible that under a strict definition we are indeed gambling with our lives each time we get in an automobile.
Don't be so hard on yourself.
A service could support unlimited data by throttling the upload speed, and the more you upload, the slower it gets. Then, they could offer paid accounts that increased the speed.
My family has had no problems in the US, but we constantly hear about how hard it is from first generation children looking for an excuse to as why they haven't succeeded as much as their immigrant parents.

But the truth is that too many first generation continue to lament fictional externalities while current immigrants continue to succeed.
Re: https://news.ycombinator.com/item?id=30256016
Klein Gordon equation and Dirac equation should be included.
> so there's a lot of room for self-driving technology to do a lot of good.

There's a lot of room for self-driving technology that actually works to do a lot of good. Tesla's FSD is hot garbage.
No evidence is provided that any experts are doing this - not sure where you got "oftentimes" from.
https://webreader.app/?url=https://www.nytimes.com/2022/02/0...
Why all the euphemisms and diplomatic language? There is one word for it: Criminal.
Depends.

Some industrial customers like datacenters have strict availability agreements with customers and won't be able to accept prolonged cutoffs.

Forcing non residential customers like these to curtail their use would likely end up driving the industry (and corresponding tax revenue) elsewhere.

But what you're talking about does already exist, and it's called demand response, https://www.energy.gov/oe/activities/technology-development/...
This article has and it's pretty bad

https://voltagead.com/laravel-route-caching-for-improved-per...

A good routing framework would not need to use a cache at all. Mine doesn't and I've built huge platforms with it. I say platforms cause my last big one was a website, 3rd party api, and mobile app back-end all integrated into one thing.
It got fixed, thanks!
> what do you do to deploy a C# application that makes it so easy?

Build --> Publish. Done.

Validation: http://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mv...

These features are designed so that the validation logic is always enforced on the server, and can optionally also be enforced on the client via JavaScript. The validation infrastructure and features in ASP.NET MVC 2 are designed so that:
1) Developers can easily take advantage of the DataAnnotation validation support built-into the .NET Framework. DataAnnotations provide a really easy way to declaratively add validation rules to objects and properties with minimal code.

2) Developers can optionally integrate either their own validation engine, or take advantage of existing validation frameworks like Castle Validator or the EntLib Validation Library. ASP.NET MVC 2’s validation features are designed to make it easy to plug-in any type of validation architecture – while still taking advantage of the new ASP.NET MVC 2 validation infrastructure (including client-side validation, model binding validation, etc).
> You’ll notice this plan says nothing of exercise. That’s because you don’t need to exercise to lose weight. In my case, I’ve found that exercise, by stimulating hunger, actually makes it harder to eat less. Whereas the weighing and charting generates motivation, exercise sucks it away. In the context of a healthy lifestyle, of course, exercise is very important. I just don’t think it’s that helpful for weight loss. Some notable publications agree with me.

Here's another data point: I lost 3kg when I started running. It was not my intention to lose weight at all, it just happened. In my experience running makes you eat less, I had to make a conscious effort to eat more.
Cool, sure. But I cannot think up one scenario where I would use it.
thinkorswim is an excellent broker for this specifically -- they not only have an excellent options trading platform, but you can sign up for free and papertrade with a 15m delay. It's all Java-based so it works great on Linux.

That said, don't force it. It takes talent and dedication to beat the market. You will probably fail. I lost quite a bit of money trading single options, but I never traded money I needed and never borrowed money that wasn't closely guarded so I came out unscathed. I still suck but without a doubt a few people reading this post can succeed.
If you're having a motivational crisis, then it could be that you just don't like doing those things. Try something different for a change. Maybe radically different.

However, your post is negative sounding all around. Having concerns about being motivated to work is one thing, but describing the rest of your life with words like "sucked into", "suffer", "frustrated", "compulsive", "sociophobic" sounds like you have a generally negative attitude that's separate from your desire to be productive. Maybe that's just because you feel like you're in a crisis, but maybe consider trying to look at things more positively. I think that issue is separate from deciding what to do next in your career.

Add some exercise to your daily routine. It'll help with lots of things, physical and mental.

It's fine to be an introvert, but don't use it as an excuse not to go out and meet people. I know that's challenging, but meeting new people is good for happiness and getting ideas for things to do.
This is an honest question, not snark: has ASP.Net MVC got anything like cucumber available to it out of the box? Or rubygems, for that matter?

I did suggest to Sara Ford at a MixUK conf a couple of years ago that a Visual Studio plugin that would search for and import projects from CodePlex straight into your project would be pretty awesome; I never followed up on it, and I've been out of Windows dev since then so I haven't heard if anything similar exists. I still think it would rock :-)
The simple fact is that most people dramatically reduce sugar intake when dieting. That alone is likely to shift their insulin balance in a favorable direction.

Weighing daily and graphing simply promote awareness and can be motivating.

One of the things that makes low-carb believers like myself seem like crackpots is our unwillingness to acknowledge that moderate carb consumption can be a reasonable diet because we believe it to be suboptimal.

For the average individual, simply eliminating most dietary sugar and refined carbohydrates would generate enough significant weight loss and health benefits to encourage them to maintain such a diet (which is likely to be more varied and interesting than a strict low carb diet) for long periods of time.
Eventually it comes down to the same thing. No country can afford to pay continuing ongoing fines and compensations. So they will have to change the laws.
Isn't Trump a guy with education and money?
Also the Mayor of the city who refused to allow Nat Guard to stay in DC hotels, is the person who requested the Nat Guard come to "protect" DC.
A big part of the discussion here shows how few people look beyond their own opinion for facts. I'm fortunate enough to have access to most news networks thru-out the day. I watch Fox; I watch CNN, MSN, etc. All are lying to some extent. All are shaping the "news" they feed you. CNN... is the least honest and objective. IMHO.
Can't read the article due to paywall but from the subtitle it appears JetBrains is a Czech company, not a Russian one. Even in the days of the Soviet Union, Czechoslovakia was not part of Russia.
Why do all of the posts about the coup keep getting removed?
If you have a developer account, you can watch the WWDC videos introducing Xcode 4 for yourself. Honestly, these videos consistently impressed me far more than the iPhone 4 keynote.
Here's a sketch for checking the validity of the sender. It does not handle all cases and I am sure it has some holes. I am interested in feedback on this. Are there other things to check? Are these checks "safe" for some definition of safe?

Step 1: If DKIM header present, then use result of DKIM validation.

Step 2: If sending domain has SPF record, then use result of SPF validation.

Step 3: If message passes SPF check using a conservatively guessed SPF record, then treat the message as valid.

Step 4: If message came from same IP address as other messages for user and some headers match headers from previous messages (fuzzy match on message id?), then treat the message as valid.

Step 5: What next? Messages will make it past the previous steps.
Xcode already has a single-window mode, if you don't want to work with multiple windows. You'll also want to learn about the Close All Windows command (Command+Option+W), which closes all windows of the same kind. You can use it to close all source windows, all debugger windows, etc. The same command works in most OS X apps.
- if you're a software developer, make sure your code can handle ipv6 address strings and fields. Very few do.

- if you work at an ISP, start evangelizing ipv6 to coworkers and managers. Major ISPs have had their heads in the sand and are really counting on implementing carrier-level NAT, which brings me to...

- if you're an ISP customer, make it quite clear to to your ISP that you won't accept a connection behind an ISP NAT, and you'll switch to a different ISP if they
impose one on you. Also make it clear that you'll advise anyone you do tech support for (families, friends) to do the same.

- if you program network video games or voip software, get the word out (either through offical documentation or a blog) about the evil of ISP-level NAT and how this will affect your application.

Actually, some sort of ipv4 NAT will be inevitable for ISP customers. But the really atrocious ISPs won't give you a unique block of ipv6 addresses to mitigate that.
The fatal flaw in democracy, as identified by Ben Franklin, Alexis de Toqueville, and Karl Marx, is the mass of voters will eventually elect to raid the treasury. This is a systemic problem.

The short-coming of republican government is the humans entrusted with preserving it will undermine the rule of law in various ways, suggesting this ideal form cannot be achieved.

Modern western representative democracies today face a two-pronged problem. The people have voted themselves an ever-more-generous welfare state and the state bureaucracies, for many complex reasons, have failed in their oversight responsibilities.

The most likely scenario is we muddle through it somehow and life goes on.
Each part of programming is challenging and this is something I need to keep on days after days.
Most freelancers seem to be concerned about being out of the loop if people followed this advice. I can feel that, too: IMO clients almost always benefit from the improvements I make to whatever they were planning.

But what I really wonder is how many people even could follow this advice. In the years I've been freelancing I don't think I've ever received even a single feature request that was thought out to the every click, every branch level of detail--let alone an entire application.
I meant to use the word "netbook" instead of "laptop" in my last paragraph. Netbooks are great.
Sometimes life is unfair, but I hold as an article of faith that almost anything can be made better by getting off your butt and working hard. For me personally, there's almost nothing of value in that study. It wouldn't change my approach to life.
:O --> "On the one hand, Kinect is an amazing advance, especially considering its low price. On the other hand, the 25-year time lag between research and practice for gesture UIs is slightly worse than the usual fate of HCI research advances. For example, 20 years lapsed between Doug Engelbart's invention of the mouse (1964) and the first commercially feasible mouse-based computer (the Mac in 1984)."