jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I don’t make much money on eBooks (compared to writing ten books for publishers like McGraw-Hill, J. Riley, Springer Verlag, etc.) but I so much prefer self published eBooks - so easy to push updates and new editions! I have one eBook that sells very few copies (on the super niche Lisp Hy language) and I decided to make the minimum price free last month. The sales actually increased.

Anyway, probably the best model at least for me is to make eBooks freely available, but with an optional ability to pay for a book.
I would ask that you read the following articles and still see if you feel the same way. The southern resident orcas were decimated by the attack and capture of many orcas in the 70s, and the effects are still present today. Lolita, the last remaining orca from that capture is still alive, trapped in a concrete prison barely the size of a public pool. She’s been alone in that tank for decades. Her last tank partner committed suicide by repeatedly ramming his head into the side of the tank, causing a brain hemorrhage.

You seem to be advocating that torture of the few could help the many, but that has not been the case. The southern resident orcas, those that primarily seeded entertainment orcas in the U.S., are potentially nearing extinction.

https://www.seattletimes.com/seattle-news/environment/the-or...

http://www.orcanetwork.org/Main/index.php?categories_file=Lo...

https://www.king5.com/mobile/article/news/local/orca-capture...
Which is a big problem because authorities should have the possibilty to seize illegally obtained assets from convicted criminal individuals/organizations.
It can be actually tied pretty well to business logic. You can explicitly model some business rules, e.g. a subscription cannot exceed the lifetime of the user account, etc. Similar to how you can use static type system to prohibit invalid states. Here Rust gives more tools of this kind, than other languages.

Another one I really love is ability to destroy objects on final operation. E.g you close something and it can't be used any more. Most other languages can protect using such closed object only with runtime exceptions.

Some languages like Java don't even make a distinction between "object A is composed of B and C" vs "uses B and C" (in both cases they'd be references)
A super easy way to keep yourself accountable when doing something like this is with the contribution graph on Github. My desire to not break my streak keeps me working on my projects every day.

(https://www.dropbox.com/s/98kngmtwzrsmvjg/Screenshot%202014-...)
We haven’t seen anything blow up yet other than Slack itself. While it sucks that the user table was compromised, I think the actual affect on businesses is more benign than they’d like to believe (ie: sensitive chatlogs that could be used for blackmailing).
> Slack’s hashing function is bcrypt with a randomly generated salt per-password which makes it computationally infeasible that your password could be recreated from the hashed form.

Is this true even when the attacker is specifically focusing on a single account, or is it only computationally infeasible to recover passwords for accounts in general?
https://www.authy.com/

https://chrome.google.com/webstore/detail/authenticator/bhgh...

https://code.google.com/p/winauth/

and others, I'm sure
A beginner will want to read and write files pretty early on. In Python 2 it's very easy to e.g. ignore that you need to pass the 'b' option for reading binary files and write scripts that seem to work, and then silently corrupt data when run on windows. Which is not a good experience.
Yeah, Stackage is God-sent.
I'm not sure whether FB would even be the right target for such an action. From my understanding of data protection laws here in Germany, the individual FB users would be the violators. I assume that the Safe Harbor treaty allows US companies to expect uploaded data to be legal.
I wonder how many people send sensitive credentials or other operational details through Slack. It'd definitely be a target (along with mail systems) if you want to attack better-protected customer systems.
Until someone has complained of being harmed, why not?
Or this movie: http://www.imdb.com/title/tt0108255/
There's nothing incoherent in only supporting people who commit crimes you believe shouldn't be crimes.

In fact, as others have pointed out, doing so is even legally recognized in the form of jury nullification.
A good even handed analysis of this situation: http://sensiseeds.com/en/blog/gorlitzer-park-cannabis-cultur...
I've already found about 4 tutorials - and the X240 is reduced in the new year sales! This makes them both cheaper and better than the equivalent macbook airs (with hybrid over straight SSD, higher res, etc) so it looks like that's the only choice...
So homosexuality can be considered a heinous crime?
Many music artists don't want to give off the impression of being greedy. They know that selling tickets for $500 or $1000 will make them look bad, and piss off a lot of fans. Fans are still pissed off when scalpers buy up the tickets, but then they’re mad at the scalpers rather than the artist. But, the artist can get the best of both worlds by doing backdoor deals with Ticketmaster and others to get a cut of the resale market - it looks like scalpers are doing it, but it’s really the artist. The whole thing is shady.
I didn't know about the -n switch. Usually I need to get to the bottom of the file and find the last occurrence of a string in the logs (G, CTRL+C to stop counting lines, ?string to search) and the slower part is waiting for less to match a string going backwards on the file.
Will check if the -n switch solves the problem
> The largest users of h1b visas are firms that bring people to the US for a period of time to get trained, then have them return to their country of origin, offshoring the work

Minor detail, but if it's the same employer in both countries, they don't need to apply for H1, L1 would do the trick. It's also not subject to a cap and is much cheaper administratively.

So if companies are using H1 program for foreign employee training, that's a very inefficient practice.
The slightest bit of research before commenting would reveal that Nick Land is a prominent neo-reactionary with awful views on race and genetics. He’s not embraced by white nationalists for the cyberpunk aesthetic.
Here’s a review that might lead you there:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6520841/
These "hard-to-find" units are pretty much the standard offering for heating new houses here in Germany. Where are you living?
Given the use of the term "grammar", I was expecting an article on Frame Semantics [1].

[1] https://en.wikipedia.org/wiki/Frame_semantics_(linguistics)
I saying I like to say is “outcomes, not effort”.

It’s so easy to chase busy work that feels like real work, get praised to be in meetings, write fancy docs, ship code, fight self inflicted incidents, work late nights and weekends.

The thing that ultimately matters is adding value to customers. Understanding what they want to get done and removing enough friction that they’d rather pay to your product than go to a competitor or do it themselves.

Surely docs and meetings are necessary but you have to ask yourself “how does this add value to the customer? Can we have avoided this and still achieved the same outcome?” Ask that week over week.

I spent 2 years of my life working insanely hard but at the end, customers didn’t really get value out of it and it was a dud. Then I spent another 6 months deprecating and killing the feature. It was a very hard lesson.
> I hope this doesn't come across as inhumane, but hypothetically what would be the bio-diversity/eco-system impact of simply exterminating or at least curbing these huge bat colonies.

If you rationalize it like this, then why is it bad to slightly reduce human population?
Just thought I could add https://github.com/processone/tsung to the discussion.
Yeah, and you have to wonder why Kindergartners make better journalists than ...
Huh, you're right. I read it twice without parsing "on the computer screen."

Anyway, the lesson I took away from this story was that you shouldn't have alarms that regularly go off and are known to be spurious.
Dominion and Boss Monster are 2-4 player games with 5-45 minute games that are both pretty good. Boss Monster is pretty heavily a luck game, while Dominion is a combination of both skill and luck.
I've not read it yet, but have read Heuristics and Biases, which is Kahneman and Tverskys original research on the topic. It is very long and sorta dry, but incredibly useful. I'd also suggest reading the LessWrong sequences on rationality, as they are aimed at actually helping you be able to change your mind.
> Do not wait till the end of the year - do so immediately.

Too late ;)
> > I can download a jar that was produced by someone who disappeared 20 years ago, and have a reasonable level of confidence that it will work unmodified on my machine today.

> You can still do that without a JRE; in fact, it is easier because there is no central notion of a single "Java version."

But if the jlink-based approach you're advocating had been the norm 20 years ago, that jar file would never have been published; I'd be able to download packages of that application that worked for the systems of 20 years ago, but it would be a lot harder to run those on my current machine.

> Right, but the JRE didn't do that, either. A well-updated runtime with an ill-maintained application and dependencies is no better than an ill-maintained application, dependencies and runtime, especially if the runtime is has a lower attack surface area.

Depends on how much attack surface there is to that application and dependencies vs runtime, remembering that the Java standard library actually covers a lot of the basics. Often for a small application the Java runtime (including standard library) is actually the only part of the whole stack that's doing high-risk things (opening network sockets, parsing low-level data formats, implementing stateful protocol negotiations...).
Yup, guess they turned on some crisis plan. Which is targeted more at those evil hackers outside the US than at an actual capacity problem :)
In Germany the official application to submit your taxes as a private person to the state has been a windows application for years. Using the app was a 1:1 copy of the official paper forms. Disregarding the complexity of the german tax law, you had a reference to the papers. So it was kind of easy to use the digital counterpart one was accustomed to.

It was disimproved by hauling it into a web app, which breaks with all the usual connections you built with the paper equivalent and is the most UX unfriendly monstrosity one could create. From this year on you HAVE TO USE IT. I deeply disrespect this regression, which forces many people into paying a tax office for their private tax submission.

I wish for a swedish/norwegian system, where the state courts you for YOUR money. I don't know a single person in Germany which states: "I love doing my tax submissions!"

EDIT: Typos plus last paragraph
Funny, Rails was born as side product of closed source software.
> If you are an average Joe developer and you want to use containers in production, just stick with a machine with docker-compose on it. It's a lot easier to maintain and has far fewer surprises down the road.

This is exactly what I am doing. It's easy to configure and almost same configuration between local test and production machines. The only downside is it's hard to monitor whether service is up without additional tools, which I lazy to research.

Additionally if you don't have a good enough ci cd yet you can deploy with volume-linked container.
Abso-fucking-lutely. Reddit used to be utterly insufferable.
Many people who are incompetent about technology have this weird paradoxical attitude towards apps where they will install random apps without even thinking twice and have loads of apps on their phone which are basically just mobile web sites but when it comes to messengers it's the opposite and they feel overwhelmed by having more than WA,FB and IG.

On the other side of the spectrum are people who won't just install some random app without due dilligence, make a pass on appified websites and don't care about how many messengers they have on the phone because it doesn't really matter anyway due to the reactive usage pattern. I suppose MZ is like that.
They don't think it's an explicit plot, obviously. They think it's global because it mostly is (within the Anglosphere at least), and nefarious because its stated objectives do not align with the actions people in that 'movement' take.

For instance, diversity programs are invariably justified by reference to needing a diversity of perspectives or ideas. But the resulting personnel policies are never about ideas, they're always about gender and skin colour. In fact the typical diversity program often results in hiring lots of ideologically homogenous people.

That disparity between claimed goals and actual goals invariably makes it appear like there's some sort of hidden agenda at work.
"The danger, Prof Van der Linden explains, is when people suggest the supplement is a miracle cure and should be substituted for vaccines, masks and social distancing"

I honestly have not come across a single instance of this claim. Now I am in no doubt that given the extend of lunatic fringe the internet exposes us to that these people will exist, but then again, if it wasn't vit.D those same people would have some other 'substitute'. To me it is the same reasoning as "we shouldn't recommend seat-belts as some people might see that as a substitution for not speeding".

(O.T. How does a 'public service' company justify using all those dark patterns in there privacy 'consent' dialog?)
> Because of the forseeable adverse impact on other people to whom thet are responsible?

Some people don't want to have anything to do with an FSF in which Stallman is still involved. Other people don't want to have anything to do with an FSF in which Stallman is definitely excluded. Whatever they do is going to have an adverse impact, so they have to make a judgement call.

> The at least one FSF board member who departed, and the FSF’s management who likewise resigned over the issue, OTOH, are in at least an equally good position to the Board members who supported the move.

I don't know if we should interpret their resignation as a judgement that Stallman can't change (or isn't interested in changing), or as an expression of the view that other factors are more important in deciding whether he should be on the board than that one.
checking the code i don't see where it's being hashed in the browser before checking the backend yet
Funny that it's 8-bit when every Factorio 'wire' can transmit dozens of 32-bit signed ints simultaneously. Presumably it's just emulating a binary style computer rather than some novel architecture tailored to the capabilities of the Factorio circuit network.
About 45% of the U.K. has had at least one vaccine shot
> but if I screw up with Glacier I suppose I could get a $100 bill because I restored some backups the wrong way.

You wouldn't be the first person to do that: https://medium.com/@karppinen/how-i-ended-up-paying-150-for-...
As a Rails dev I have to say: Why trying to dethrone Rails? I don't get the Elixir obsession with Ruby/Rails (yes Jose Valim came from Ruby - so what?). Ruby is smallish enough, I don't get the obsesssion with going after that segment.
It's relevant, but he didn't really mean it to be taken at face value. Because of course it just isn't true (even though people keep repeating it a lot, for some reason).

The world is full of tons and tons of successful, large-scale software systems (from apps to languages to databases to OSs) that were not only "rewrites" of older systems, but had to be written because the original system had incurred too much technical debt.

So what Joel really meant, deep down inside, was "okay it's not that you should never replace large systems from scratch; it's just that you should be very circumspect about it, OK? You don't just go knee-jerkedly ripping out the old stuff just because it's a ugly, a pain to deal with, unsexy, etc. You have to look at the whole picture, and understand the (true) business costs of what you're doing. That's all I'm saying."
Well, it's 30 years old as seen in this place, from a light-cone perspective.
Well, possibly easier access anyway, since Facebook owns Facebook conversations. But if you've never changed your email address, it's not much different right?
Perhaps it's from companies renting cloud computing resources instead of building and refreshing their datacenters?

Seriously. A coalmine canary isn't much use if you put a snake in the cage with it.
I agree that teaching should not be perceived as "overhead".

However, the best place to do research is within academia (large research universities), where there is a very complete and strong infrastructure to do research. Yes, the system is broken in many ways, but it is still the best.

People who really have a strong passion for teaching and not as much interest in research go teach at universities that specialize in teaching more than in research e.g. Reed College.

Last, at a sufficiently advanced level teaching and research are indistinguishable.
Readability has been ported to Python and Php: http://blog.arc90.com/2009/06/20/readability-now-available-i... There is also a C# port here: http://code.google.com/p/nreadability/
I am not sure if this is the same book/author that was featured on NPR some time ago, but the subject matter is the same.

What I found interesting was that I had already been using many of the stoic techniques throughout my entire life.

Ill have to pick this book up.
The ability to snapshot hot MySQL databases is nothing new and certainly not unique to RDS. You most likely could have implemented a similar solution when you were running on dedicated hardware. But as a solo dev who isn't an SA/DBA you shouldn't have to deal with that sort of thing, which I think does make you the target market for RDS.
Reminds me of the fact that on overage, one out of every hundred places you know will be experiencing a once-in-a-hundred-years event.

When you hear once-in-a-hundred-year event, it makes it sound quite rare. One might look around and say (for example, in relation to climate) "why are so many of these happening?"

But it is unsurprising statistically. If you know just a thousand distinct geographic places, about 10 of them would experience such an event each year.
This seems like great engineering (I am not competent enough to comment on that side of things), but I wanted to point out that "physically unclonable" here seems more like marketing speak, not something fundamentally unclonable. What they have might be very difficult to clone, but unless it is practically quantum-mechanical, then the laws of physics permit its exact measurement and copying.
You have to personally be part of the hiring company to post here. Please see the rules at the top. If Zoom, Domino's, or Dollar General want to do that, they are welcome.
If it comes out that Apple is sending this data back to Cupertino

OK, that opinion didn't last long. Seems like they are sending it back, but at the same time it's well known about:

http://news.ycombinator.com/item?id=2466979
It remains unclear what Apple's motives were in collecting this information and regardless of how accurate the collected information is, I think the larger concern is that the database is unencrypted (although it does require root access) and is uploaded to a users computer upon backup.
Actually, I despise Java generics and have a much higher tolerance for C++ templates. Just more proof that you can't please everybody :-)
If it could have been one dimensional, could it have been zero dimensional?
Did you end up with a crash report for this? Or was this a distro build?

I've been trying to get this to crash with a 64-bit build on Mac, but mostly falling into holes in cave floors...
“If you’re talented and not risk averse, you start your own company.”
So, the short story here is to use localtunnel?

https://github.com/progrium/localtunnel
Futhark is a auxillary language that targets parallel processors (e.g. GPUs) to be used alongside a general purpose language.
I use Django test fixtures in one way!

I have a series of E2E tests with Splinter [0] that go through setting up a variety of things from scratch and testing core features. Instead of having really long, complicated test that goes through the steps, I instead wrote a little helper function that "freezes" the DB after each step as a JSON fixture (which is then loaded by the next test), to allow me to break it down into many smaller tests that "start" from various reasonable database states. Works pretty well!

I don't use them however for unit tests or any non-E2E tests. I just use helper factory functions with hardcoded test data.

[0] https://splinter.readthedocs.io/en/latest/
So it is POT. Proof of Trust. If you break it, it is crackpot and goes up in smoke /s

I am not familiar with this Quorums consensus mechanism, but in general I feel - especially given the scammy veil surrounding the entire field - that it is quite early to adopt such as-yet unproven technology in production software that is widely used by people where security and privacy (among others) is utterly important.
When someone donates a kidney, they lose the kidney. FBSD didn't lose anything when Apple adopted their freely available code.
Not that long ago, its why I primarily use BSD/MIT/etc licensed software.
The examples you give in support of your thesis are strange. The idea that programming is hard is about as pretentious and wrong as saying that being a doctor, architect, lawyer, welder, car mechanic, or airline pilot is hard.

Almost anyone with a basic level of intelligence and the willingness to put the efforts into it can learn any of the above professions, and programming is not different from them. It's not hard, although there are some hard areas you'd like to get done by a CS graduate or an engineer.

There are professions that are hard or simply require some special and maybe rare talent, but like most other professions programming is not one of them.
> Learning is the key to AI, not programming.

And learning how to program will be the ultimate in AI.
Kevin Poulsen's response on Twitter:

Heard there's a measured, mature critique I should respond to. Will look for it tomorrow when I'm back from vacation.
That number of 3.5 gallons per year is in terms of pure ethanol. 3.5 gallons of ethanol weighs 10,500 grams, which at 14 grams per standard drink is 750 drinks per year, or 2 drinks per day on average. That's quite a lot.
Some machines hum differently when they run.

Do you feel cycles are wasted when visualizing a problem? The music is just a different thinking language.
https://hn.algolia.com/?query=rapere&sort=byPopularity&prefi...
I appreciate the effort, but I found these animated illustrations confusing. Which part is what? On which sides are they bound? How are they attached? How do they interact? When are the shapes "scrolling" and when are they animating themselves? I like seeing the concepts in action, but I came away with little idea of what the concepts were other than that they were different - well, little more than I started with. More size, context, and interactions would make this vastly more educational, I think.
Yeah I apologize for that we are still working on a mobile friendly version of the site.