skysight-inc/HackerNews huggingface dataset:
Honest question, why is putting someone in a box for the rest of their life more morally acceptable than killing them? I personally find life imprisonment to be far more horrifying than death.

I understand the concerns around the death penalty, namely the possibility of a wrongful conviction with the inability to appeal once the sentence is carried out. But just comparing the punishments, why is one morally better than the other?
Rust allows you to specify the behaviour you want:

Checked operations: https://doc.rust-lang.org/std/primitive.i8.html#method.check...

Saturating: https://doc.rust-lang.org/std/primitive.i8.html#method.satur...

Wrapping: https://doc.rust-lang.org/std/primitive.i8.html#method.wrapp...

Wrapping with notification: https://doc.rust-lang.org/std/primitive.i8.html#method.overf...

These apply to shifts too and you can tag types themselves to always behave one way. Overflows at compile time are caught as errors. More info at:

https://github.com/rust-lang/rust/issues/22020

If the requested behaviour is unspecified (just `a+b`), overflows cause runtime panic (edit: or wrapping behaviour in release build)

See https://doc.rust-lang.org/1.7.0/reference.html#behavior-not-...
>Prejudice, stigma and loss of earning potential meant that the people who experienced mental health difficulty were shunted to the margins of society where we became a social problem to be solved by others spending on our behalf.

It's unfortunate that sharing first hand experience with mental illness incriminates you. A big contributor to the negative stigma has to be that there is little upside and huge downside to being open about personal experience with it (unless you are using it as an excuse for a crime).
Objective truth is second to factual productivity. I did use git. It's powerful, but more than I need. CVS takes ten pages of reading to grok. And then it's out of my way. I couldn't learn git in years, and there's something new every other day, it gets in my way. And I don't have time to chase a command line on stack overflow, I need that time for what I'm actually doing.
Yeah I've looked around and can't quite follow it.. The rest of what they have set out is really interesting though.
Something about this whole saga makes me think that both the underlying problem and the game of legal chicken could have been avoided if Global Archery just asked nicely in the first place. Unless of course it was hoping to drive the guy out of business, in which case, it's awesome that Newegg is helping out, because the courts should not be a tool for running fair competitors out of business.
You can also search by function and module name.
Learning doesn't get harder, but one does become more selective. Most of the "innovation" (not all of course) in programming, is just re-inventing wheels, the new framework is yet-another-way-to-accomplish-the-same-thing and at the same time, a new artificial way to filter out those "not up with the times" for those "not up with the experience". One thing you learn is that you can learn anything, in a short time, but there's hardly a point in putting in the effort into the new hotness when it'll be passé by the time you're comfortable with it.
> Next, he conflates compiler bugs with undefined behavior.

Maybe Rust is just not specified for every corner case? The compiler could just do anything in such cases (e.g. what a C compiler would do -- not checking for arithmetic overflow, for example). You can then go ahead and claim it wasn't UB in Rust. But effectively it is the same, and you can't expect that Rust will specify that a compiler must check for arithmetic overflows in the future.

> Next, he delivers the argument: that compiler bugs mean you can't rely on Rust unless you check the machine code itself.

If there are more bugs in the Rust compiler than in GCC or LLVM (which I don't know, but it sounds reasonable to assume given Rust's age) then that's just a good engineer's pragmatic realism.
Adobe announces new data-sharing effort for cross-device ad targeting
Would you say the same about people who haven't been able to master sed? Success with any technology is as dependent on the technology as it is on the user. :)
SQL Server in Windows Containers
Here is a talk I recorded about Linux systems programming with Rust. Quality is only 720p, but maybe you'll still find it useful. The speaker compares solutions in C with equivalent ones in Rust, and what kinds of advantages / safety features you gain:

https://www.youtube.com/watch?v=sCOO6WdDZuk
Building a Translation Memory to Improve Machine Translation Coverage
Over the past 9 months there have been lots of rumblings about them hiring in the space. Tim Cook straight up acknowledged it in the last earnings call - saying he didn't believe it was a niche and there were really interesting use cases.

I don't think Apple has ever been as clear on a new product segment.
Emotional damage is interesting. In many senses it's entirely one's own fault, if one feels emotionally damaged / offended / distraught. But it's an uncommon mental discipline to get yourself to feel differently. That intangible feeling of lost trust can be quickly brushed away, the OP is an example of that since they did it in weeks, similarly rape actually doesn't end up being a huge deal for some victims. But it's pretty weird to start drafting up policies (like "let's punish less 'cause come on, he just threatened you with a knife and took your wallet, he didn't actually hurt you and your material losses were only the cost to get a new wallet and the small time it took to cancel any credit cards") that would only work on a small portion of the population with a certain level of mental discipline. The fact that some have it to various degrees and some don't is enough to make any suggestion requiring it to be pointless unless that suggestion includes "and kill / severely culturally shame anyone who does not have the discipline".
> Why should one not accept any responsibility for what he says in public?

Why should the consequences be so completely out of proportion to what was originally said? "In public" covers more situations than it used to, and the size of your audience isn't always intuitive.

> Can I walk around Harlem with a racist sign without expecting to be roughed up at some point?

Probably not. Will you be roughed up by thousands, be followed home, and be stalked and harassed for years? Probably not.
"Bash would be terrible because using it would cause a fire"

Yes, arguments have a burden to make sense, and provide evidence...
Most residential Canadian internet connections have bandwidth caps. They're usually between 20gb and 200gb. Customers could only wish that their markup on overage was just 30x...
What scripts are capable of bypassing CloudFlare/proxy services and how do they do it? Do they look for old DNS records that leak their Origin IP or something like that?
Very cool post :)

The VT220 supports Sixels: https://en.wikipedia.org/wiki/Sixel

I wonder if PySixel would work on real hardware: https://github.com/saitoha/PySixel

HN thread about libsixel: https://news.ycombinator.com/item?id=11340367
DMCA is about copyright. Breaking encryption has nothing to do with it except insofar as the encryption is protecting copyrighted data.
If the Patreon model were as simple as clicking a button on a user's twitter, I'd probably use it more. I think you're onto something here.
> If you're a woman living in the United States, you already know that getting your hands on birth control can be a complex and expensive process.

I'm not a woman nor in the US, so this was news to me. It's really easy and cheap here in NZ, so it surprised me that this is still a problem in any developed nations.

Can anyone add more background on what the difficulties are in the US?
Could You Be Funding Criminals? We've Got the Answer
It shows quite a bit of wisdom that they've acknowledged the internal undocumented mobile API to be the greatest surface area for attacks.

Even if they are certificate pinning, aren't there jailbreak ways to disable that?
Super cool teardown.
Okay, so let me get this straight.

Here in Europe we have decided to build a society in which we don't get as much money to spend on our own but rather collect a big portion of that money and invest it back into our society, so that we can send our kids to school without directly paying a fortune for it. But I'm also paying a tiny bit of everybody elses kid's education.

Where as in the US you get most of the money you earned and are free to spend it any way you like. Which means you gotta for pay for eeeeeverything but at least it's your choice but if you don't have the money you're f*ked?

Is that it?
Rolls-Royce's Vision of Shore-based Control Centers for Unmanned Cargo Ships
"He gained fame in 1988 when he warned Congress that global warming had already begun. He was ahead of the scientific consensus at the time, but it became clear in retrospect that Earth had been in the midst of a period of rapid global warming at the time he testified."
> As an example TSLA ... nobody is calling their death or wringing hands.

No way... lots of people talk about how Tesla's earnings are a problem and people regularly prophesy their death:

https://www.google.com/search?q=tesla+earnings+overvalued

Tesla is a classic gamble right now. Their market cap is unjustifiable at their current scale. If they can continue their growth curve the bulls will make money. If they don't, the bears will.
Well, it is a bit of a red flag if you list them in non-chronological order (unless you wrote a functional resume that was tailored specifically to the requirements for my position, in which case you get bonus points).

You should be able to show career advancement via the achievements you list for each position. There should generally be a trend towards increasing responsibility and successively more impressive feats at each stage. Some lateral movement is fine, but if that's all you've got it suggests that you lack focus/get bored easily.
2 questions. Does he try to peck at your eye when hes on your shoulder? That's like my one fear that prevents me from getting a bird.

Also how did you birdproof your house so he can fly around freely?
I like to swing it the other way, you have to prove me that the newly proposed solution is not worth it. You can check out Amazon's policy about driving change. The "will not work" camp has to do the work to prove that something is not going to work. I think this approach yields to better results in practice.
It's almost sad – I always felt HMMs had a unique elegance that is lost on the brute-force NN approach.

HMMs also used to produce more meaningful intermediate results, although I guess these 'DeepDream' images set a new record in that regard :)
I also have a VT on my desk. Mine's a Wyse 55. https://i.imgur.com/ke9Fypp.jpg

I don't really use it for editing code, I just needed to put something on the screen that wasn't email or irc (which would reveal semi-sensitive information.)
Why do you see CloudFlare CAPTCHAs when using TOR
He approaches stats as a user of them, and a skeptical one at that. I find it similar to a user of software to sometimes get the mechanics wrong, but still having a healthy skepticism against the hype.

I learn a lot too. It makes my Monday morning commute that much more tolerable.
The VT50 looks so awesome. But I'm afraid they are rare as hell :( At least I have a VT100 clone (CIT-101)...
Well there you have it, ageism manifest. Why not go with the younger which can be exploited so much more easily!? We can burn their candles, pay them peanuts, have them come up with half-assed solutions copy-pasted from stack overflow, and laugh all the way to the bank!
Champing at the bit.
I see. So you have these coreutils installed? Because if not, they're exactly as "simple" as cygwin, which is also not installed.
I don't see why anybody believes the FBI aren't just lying at this point. They pretty clearly lied or at least obfuscated the truth on several other points so far. It seems obvious to me they never cared that much about what was on the phone and were only after a legal precedent - this claim about being able to unlock it another way is just a way to save face. It will be interesting to see whether they ever make public any evidence they claim was gathered from the phone or whether they just quietly let it slide into history and hope everyone forgets about it - I'm betting the latter.
That's pretty cool! It reminds me of a similar project I did called z80e, which is an emulator for TI calculators [0]. It uses unicode braille to "render" the screen onto a terminal. Doesn't work on the VT220, though, for obvious reasons.

[0] https://github.com/KnightOS/z80e
Blockchain Tutorial: Accepting Bitcoin Payments with Stripe
> If the requested behaviour is unspecified (just `a+b`), overflows cause runtime panic.

As far as I know most machines can't trap on signed integer overflow. Which means having runtime panic is not practical. The page you linked says "no checking by default for optimized builds".
Also available at: http://www.pubpub.org/
That makes perfect sense actually. I was erroneously thinking of Terra Bella as a standalone project instead of as an extension to one of Google's core products.
The package author decided to unpublish the package. A new author has now stepped in and re-published the package (yay open source!) and deps are fixed.
The Unix Time-Sharing System (1974) [pdf]
Politician's syllogism (a.k.a. politician's fallacy)
All Global Archery had to do was call up and say:

"Hey, we see that you're reselling for one of our competitors. Do you think you and your customers be willing to switch to our product for {X} price?"
Why Is Node.js Single Threaded? (2013)
Sure, CRTs have better contrast than LCDs in general, but monochrome CRTs have incredible contrast. I guess it's because they don't have separate red / green / blue subpixels (2/3rds of which would be off for green on a color CRT). Also, the particular shade of green phosphor they use is really intense, I guess they just use the wavelength the eye is most sensitive too, because they don't care about how it mixes with other colors.
The only reason I used that turn of phrase was to say something relatable to HN'ers, not to make any judgement call as to whether it was an acceptable amount to be paying for this job or not.

A couple other interesting things to note:

1) The funding for the two conservation projects I mentioned in my initial comment come from the company and military respectively and is required to be a part of the larger development project.

2) (My opinion:) Moving tortoises to a "safer" location does nothing to preserve the environment they were removed from, quite the opposite in fact, it allows it to be "developed" which will lead to the destruction of habitat for other species which weren't moved elsewhere so the overall net effect on preserved area is negative.

3) As an aside, slicing and dicing large tracts of land like the Mojave where animals have huge ranges is going to have a negative effect on the species as they would naturally move Northward as the climate changes but they'll be unable to shift out of their preserved area because it's bordered by development.
We (the human species) have done better than (modern) prisons; prisons are a compromise that makes the system of building and maintaining orderly society less effective and more expensive than simply hanging the bastards but in theory that compromise has enough positive tradeoffs to be worth it in the end.
Levels of experience vary all over the map. Orders of magnitude differences. When experienced people get called in to deal with problem code, it's most likely been written by someone with less experience. There is very often room for critical comments. Just statistics.
Is there a way for me to play maniac mansion legally on a modern computer?
Most? No.

Enough that we still need prisons? Yes.
Mio is not part of the standard library. Go, for example, has excellent support for UNIX signals.
Interesting to note that in some cases, courts will not enforce a non-compete if the new employment occurs far away from previous employment. For example, if the exec moved from Seattle to Minneapolis.

Hopefully this helps to invalidate the enforceability of the non-compete in Washington state.
Quasi-related:

I've always wanted an ultra-low-power dumb terminal using eInk paper displays - something you could hit days of runtime with using a small battery pack. eInk uses no power when they're not updating - so idling or long-running operations would hardly use any power.

So far the easiest approach I've found is using a hacked Kindle with an attached keyboard. You can run a terminal client on it and ssh into another system, which I think is a sensible access mode.

Ideally, something like the AVR PicoPower microcontrollers would be fantastic - they run on ultra-low-voltage, eat 1 mA/MIPS, and idle down to basically nothing (<1ma active and a few dozen microamps during sleep). ssh is probably out of the question but I could toss a VT100 stack on it. Unfortunately the eInk display is the hard part there - most eInk parts have very poor documentation.
The readline library for example. If I want to use it, I have to GPL my whole program. I probably might not have modified readline at all. Or any other GPL software which gets somehow linked together with my code. Just watch the controversy whether ZFS kernel modules may be delivered as pre-compiled binaries (sources are fully available). The output of compilers and parsers which are GPLed, also are implicitly covered by the GPL, unless there is a clear exemption, like with GCC.

While GPL software which is used as an entity, like Linux itself or applications like Emacs are fine, any closer contact to the software you are trying to sell is problematic.
I recently realized that the logographic misconception about Chinese writing probably stems from the pretty recent past when Classical Chinese was the sole written form, and thus certain characters represented a common meaning to speakers across dialects. Of course, it's still not historically accurate to describe even Classical Chinese as purely "logographic" (for that matter, even Egyptian hieroglyphs have phonetic elements), but at least it explains the misconception somewhat
I was going to say it only takes about 30 seconds to fork and change the license if you want to. Then I decided to check if someone had already done so. Yep. https://github.com/ivegotasthma/coreutils/commit/4c7dcbd912a...

I didn't count, but that may have taken less than 30 seconds.
Are there any credible options for geoengineering our way out of this? If prevention fails that is
I'm mostly able to work from home, so I have a medium-size cage in the room where I work. I attach a cardboard box inside her cage and she burrows into it. She'll destroy a small-ish (say 4x6x12") box in a day.

Then, upstairs our master bathroom is basically the parrot's room. I built a large stand from tree branches and hang some toys and a rope ring from it. She loves playing in front of the bathroom mirror.

Having a flighted bird can be annoying at times--mine loves to play "chase me around the house" at times--but I think it's essential to the bird's state of mind. Caged birds that never fly can literally go insane. My vet (author of the book "Holistic Care for Birds") is a strong supporter of letting your bird fly, despite the possible hazards that entails.

Honestly, my bird would like more social attention than she gets, but there's only so much of me to go around. My wife and daughter don't handle her for fear of getting bitten.

One recommendation: there's a DVD called "Captive Foraging" which has a lot of ideas for giving parrots foraging-type problems to solve. Even buying shelled nuts (unsalted of course) gives them something interesting to do.
The Battle for Picasso’s Multi-Billion-Dollar Empire
Oh, that's true. It may be different without a referral. If you get a referral, even just because you met someone at a meetup/conference and came off as a somewhat intelligent person, you should be able to bypass that filter step for sure.

You'll still need an academic understanding of software, but we're talking maybe a year of part time self study at max if you have no clue about this sort of thing. Just my opinion. I haven't worked at Goog/Amzn but was scheduled to interview before I took another job.
You raise a very good point. To be clear, I don't think the problem will solve itself, the key bit is awareness of the problem, which gives the necessary information for the market to correct itself, at least partially.

Here's how I think this could possibly play out: Facebook and Google start paying 21-year-old kids $200k directly out of school, startups start paying ridiculous unsustainable salaries based on VC salaries. Savvy founders and hiring managers at other companies realize they can't economically compete for 25-year-old golden boy talent and start looking at other demographics to find the talent. Over time those savvy companies will thrive while the others are crushed by having to pay for inferior talent at inflated prices with bubble-time VC funds.

Obviously this only works if people realize that older and minority talent is getting unduly passed over. And also I don't know how strong this effect will be or whether the existing tidal wave of bias is too overwhelming for such an anti-trend to even register in the marketplace. Whether or not this would even constitute justice goes beyond my thesis (I believe in ethical business, but justice is quite a tall order).
Nevertheless, as a hiring manager, I see any market bias that I am aware of as a competitive advantage to me, and I'm convinced that effect is real no matter how small.
> Oh, I don't think (any kind of) engineers should be entitled to extract monopoly rents, which is why I am against all (or almost all) occupational licensing.

Then it doesn't matter how it compares to what software engineers are paid.
The secret sauce for blog virality. Unexpected insights from 5,000 posts
The real home page: http://saitoha.github.io/libsixel/

Wikipedia on Sixels: https://en.wikipedia.org/wiki/Sixel
> I know about the borrow checker, but I don't think ownership bugs is a type of bug that Mr. Hipp frequently produces.

The borrow checker eliminates use-after-free. And use-after-free is one of the most common types of vulnerability exploited in practice today, if not the single most common. (For evidence, look at reports about Pwn2Own.)

Index checking is quite cheap for most programs, and LLVM is good at eliminating redundant checks. As a useful comparison in another languages, Chromium compiles with bounds checks on std::vector by default (the [] operator, not the at() method which is required to be checked.) Actually, there are a lot of issues with Rust's current machine code output that I think slow it down, but index checking isn't one of them.
Marijuana Use Causes Increased Risk of Violent Behavior
^^ ^^
^^
// // //
┌──────────┐ ╒═╕ ╒═╕ ╒═╕
│ ̶А̶й̶с̶б̶е̶р̶г̶ ̶ │ │ │ │ │ │ │
│PostgreSQL│ ─────────────┴─┴─┴─┴─┴─┴
│ │ ╲ ̶Т̶И̶Т̶А̶Н̶И̶К̶ ̶
│ │ ╲ ORACLE ○ ○ ○ ○ ○
│ │ ╲
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
«Oracle, ты идёшь верным курсом!»