skysight-inc/HackerNews huggingface dataset:
To nitpick: jail is where you hold people pending trial. Prison is where you send people as punishment.

That aside:

(1) We do jail executives, all the time.

(2) The reason maybe you think we don’t jail enough executives is because it’s hard to prove they did anything wrong. The criminal standard for proof is very high: beyond a reasonable doubt. When it comes to “blue collar” crimes, that’s pretty easy to meet. You wouldn’t believe the amount of evidence that exists in a typical drug crime! The defendant tried to sell drugs to an undercover cop; they found more drugs and an illegal firearm in the car; they searched his phones and got extensive evidence of drug transactions. (That is also why so many such crimes result in guilty pleas.)

But here the government didn’t win a case. It settled. You settle because there is risk you won’t win at trial. If you have to get accounting experts on the stand to argue about whether the thing that happened is illegal or not, good luck proving that beyond a reasonable doubt. (I don’t know what the standard is in France I don’t expect it’s much different.) Additionally, this is a tax case. It’s a “you put this number under section 3.3(b) instead of 3.3(c).” To secure a criminal conviction in a tax case, you need to prove beyond a reasonable doubt that the defendant’s interpretation of the law was not different from the government’s but that no reasonable person would have interpreted it the way the defendant did. Tax positions are carefully vetted and at a large organization like Google you’ll never take a tax position that isn’t at least plausible.

Stepping back, the problem is that you’re taking the government’s position at face value. At least in the US, the government prosecutes many cases that are, at best, based on aggressive or creative interpretations of the law. Of course the government says “Google defrauded the tax office.” Of course they have to say that. But dig into some high-profile white collar prosecutions. In the US they’re generally a matter of public record. They often are far from clear cut.
A bunch of comments here are missing the main point: Unless you have an Exabyte of memory, you can't use any kind of data structure to remember which cards you've already picked among 2^64 of them. The goal here is an algorithm that generates the selected cards, one by one, in order, as if from a coroutine that only uses a tiny, constant amount of memory. So, no arrays, lists, sets, hash tables, bitmaps, etc., even if they're hidden in some cute construct built into your favorite language.
He was already supposed to be in jail.
I mean, they had been almost openly doing it for over 30 years...
I've been using Toshiba for the past 10 years. At one point, they ensured that every single model they made worked with Linux (although some needed some extra drivers). I suspect that is no longer the case, but I've still had good success.

I'm in Japan, so I buy Japanese models. I'm just about to buy a GZ73-JL (PGZ73JL-NNB to be precise). I expect it to work out of the box with Arch Linux. If it doesn't, I'll feel terrible about posting this :-) The PV63PSP-KHA that I've been using for the last 5 years has been practically flawless.

However, there are some caveats wrt the issue mention. Bluetooth is a tyre fire as far as I can tell. Some devices will work fine and some won't. The problem is mainly that most devices don't implement the standard. They only implement enough to work on Windows and/or Mac. On top of that, I'm sad to say that the Linux Bluetooth code is really hard to work with -- I've tried to debug non-working equipment (hey -- I've got source code!) and it's not fun.

I've never tried, but it seems that some fingerprint readers will not work on Linux. That's because they encrypt their output and they don't offer Linux drivers -- so there is no way to support them. I don't know which ones work and which don't.

Battery life is not bad on Linux if you have an Intel box and you use powertop. Powertop is a utility made by Intel for setting the battery settings optimally for your machine. You need to run it as root, go to the adjustment section and set everything to "Good". Normally that will be fine, but because there is a variety of different hardware out there, sometimes you can have some stability issues, so it's a good idea to manually set it when you boot up for the first few times until you can make sure there are no problems. Then you can save the settings and they will be set like that permanently.

Personally, I don't like Ubuntu any more -- I find the extra effort setting up Arch is worth the hassle. It's really only ever done once, especially since it's a rolling distro. I find that Ubuntu makes a lot of assumptions about what you are going to want and usually those assumptions are poor in my case. Many of my colleagues disagree.

Speaking of colleagues, several of them use Dell XPS 13 machines and have similarly little problems, so I can recommend that as well.
Toyota themselves:

Optional features included the solar-PV roof panels to help cool the cabin interior in summer heat

https://en.wikipedia.org/wiki/Toyota_Prius#Third_generation_...
Le Miserable Expressionist
Side note: When looking for HN posts, I tend to enjoy the ones where I know <4 words in the title.

DNA has always been such a fascinating topic to me. In school, we had such a limited look into it and yet it seemed to be the thing in what makes us "us". I really hope as a society we continue to push the boundaries of our knowledge to see what DNA can tell us. And out of teeth? That is just so awesome.
LOC requirements are easy to abuse and LOC != amount of originality
Huawei Just Started Selling Laptops with a Beautiful Linux OS Pre-Installed
Does the halting problem imply perfect automated testing is impossible on nontrivial systems?
Agreed. Relying on growth tactics while ignoring a well-thought marketing strategy is doomed to fail.
For me, sending SMS messages on your behalf (without you even knowing) or dialling premium rate numbers is definitely hijacking.
This is something very personal I need to share in order to start feeling a little more OK with who I am.
I know that's not how the free market works now, precisely I'm arguing for changing that.

> In an efficient market your theoretical business would be driven into bankruptcy or bought out by the competition that is properly allocating capital.

And as a good theoretical exercise it's pretty useless. In reality most of the markets are not efficient, changing salaries is not 'free' (i.e., employees work differently depending on how you treat them, and replacing unhappy employees has a cost), and there's more to companies and employees than pure economics.

> Also the ceo answers to the shareholders who hired him with the job of maximizing returns

This is what I am criticising, the 'maximize returns over everything' philosophy. Any company already has a lot of power over any employee, and they abuse that position to the point of cheating people out of their fair share of what they produce just because they live in a different place. And in this case we're talking about a relatively benign situation, but the same philosophy pushes companies to lower wages below a living level, condemning people to poverty so that the company "maximizes profits".
I see. In particular the log(k) doesn't come from repeat attempts, it comes from the time needed to search through your list of drawn elements to see if you've seen the chosen element before.
Yeah sure. Try telling that to your friends.
It's not only the fine, it's the bad publicity those companies get when getting the fine

Damage to their brand worth billions

Cambridge analytica scandal costed FB a lot more then the fine

It cost them in their users trust

and that's the worst kind of punishment a large brand such as facebook can get
Ahh, thanks ! ;)
Not really. The migrant crisis and anti EU sentiment was far more DailyMail and Telegraph generated (usually fake) outrage. The EU actually had a long running blog to refute and disprove UK press pieces on the EU: Always the Sun, Mail, and Torygraph.

The Brexit voting areas were, in the vast majority, the areas that had suffered from post-80s deindustrialisation, neglect, being ignored for 40 years by Westminster who brought no real regeneration, and a system that's become increasingly SE heavy and centralised. So local councils can no longer do much substantive without Westminster approval.

It felt far more about kicking the powers that be than any real anti EU loss of faith. After 40 years of getting the shit end of the stick, that was perfectly understandable. Wrong target, but understandable and deserving of sympathy. The political class that let them down wanted remain, vote leave.

Sure, UK has often been lukewarm on some aspects of Europe. Until Cameron had the bright idea of the referendum to put the Tory right wing back in the box, then whipped it up into outrage, it was mostly something to talk and joke about. Lost faith in the bullshit claims and spin during the campaign, certainly. No deal was explicitly ruled out...
I see lots of false assertions here.
Here's a significant one:

> There are so many optimizations that will likely never be added to gc, like a register-based calling convention.

The calling conventions was marked as undefined as a first step to changing it [1]. The change was introduced by the very author of this post.

Also, a more agressive inlining mitigates the slow calling conventions.

More generally, I think it is a huge achievement for a PL to be self hosting. It makes its development easier as there is only one language to deeply know (plus assembly of course).

[1] https://github.com/golang/go/issues/27539
Ramjit Raghav claims to have fathered his second child at age 96 - https://en.wikipedia.org/wiki/Ramjit_Raghav
Voice control is becoming the de facto interface on phones, cars, and home connected devices. That puts Google or Apple directly between you and what you want with no equivalent alternative.
This reminds me of why you don't make your own game engine when you are building a game. You'll spend months or years working on exactly what isn't a game.

You built a forum, that's great. If you set out to build a forum, you succeeded. If you set out to build a community, you just wasted a bunch of time on doing something only loosely related at best.

So the question is, what did you actually set out to do? If you are considering this a failure, then you can turn it into a success by releasing the forum software for others to use.
You know that’s not a documentary right.
> We already have strong intellectual property protections, and yet you still claim we have an undersupply of those kinds of public goods?

Normal market situation here refers to a competitive market without government intervention. Copyright, trademarks and patents are all government interventions. These greatly improve the attractiveness of creating software and publishing books.

> Every good idea that generates the next great algorithm or the next amazing book or blog post is sparked mostly by other people's work. Standing on the shoulders of giants and all that.

This is what I mean by knowledge being a public good. When it is shared, it becomes more valuable to society as a whole. But if sharing it is a burden with no prospect of profiting, less sharing will occur. Everyone wants to have a fire service, for example, but unless there is some mechanism to ensure everyone chips in, fire services will be undersupplied.

> What we've done is to discourage free exchange of ideas and writings

Patents are public. Trademarks are public. Copyrighted works are submitted to national libraries.

It's harder and more expensive to get unpatented work. I can download any patent from the USPTO free. If I want to read a paper published by the ACM or IEEE then there is a good chance I'll have to pay for it.

> In the software patent world, when that happens, the competitor typically isn't inventing new groundbreaking ideas as a result of being forced to; they're hacking around the patent in very obvious ways, sometimes resorting to sub-par alternatives.

And sometimes they will come up with better alternatives. But without having the patent being public, they wouldn't have anywhere to begin, because the details are completely secret. Patent coverage can last for 20 years, but the concepts and possibilities it can create start from the instant the application is first published. Whereas a company sitting on the idea for 20 years doesn't spark anything. For anyone. At all.
> I really wasn't interested in the role of time. I was just struck that Rust was not a lot faster than C. Even with strcpy, malloc, free, etc. all compiled, C should still be slow due to essentially no support for arrays with more than one subscript. Thus I would expect that a modern language with good array support would beat C and am surprised that Rust does not.

What do you think "array support" means to the compiler? Fortran has historically been faster just because of the the aliasing rules, but C has the restrict keyword now that brings it up to snuff there. The standard library inlining is more a hack around the fact that the c stdlib is dynamically linked, and that doesn't always make sense for heavily used functions.

I'm not really sure where you got this idea that C is a low bar. For instance here's C meeting or beating Fortran on every benchmark except one (where statistically they're probably tied). https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
You really should look into the Promis scandal, on how historically Intelligence agencies have used shady private entities in order to avoid public scrutiny. It's very didatic.
@rsync I’ve read you’re a major FreeBSD shop. What’s your currently feeling about FreeBSD? How’s the current state of their OS support methodology? How’s stability of the OS these days? Your thoughts on ZFS now separated from FreeBSD. Etc.

You’re one of the few individuals who have the breadth and depth of experience with FreeBSD for commercial use, I’m hoping to hear you’re thoughts.
Which companies are using Erlang, and why?
KISS is slapping an engine and threads or 4~6 all-terrain wheels on a box.
You can shuffle k items in O(k) time using an algorithm that swaps items in place. You can't use a similar algorithm to pick k out of n because that'd require you to materialize all n items in memory simultaneously, which exceeds the space constraints.
Cognizant, Accenture and Caspex accused of 'white collar slavery' in new lawsuit
I've been failing to grow. I feel stagnant at my current job and yearn for greener pastures. Bad habits prevent me from being productive in my spare time. Very little action is being taken to improve my situation and I feel like a slave to the habits I've cultivated.
Hi Matthias.
Big fan! Thx for the videos and all DIY knowledge you shared with world
"Both sides"... no.

Let's stop downplaying what happened there and in the US: a similar, unethical & careful PSYOP teasing legitimate popular concerns to tip the vote toward a result that breaks the stability of the West.

The result being:
- both US & UK are shit shows at the time being;
- everyone else caring, spending time to adjust to/circumvent that, and/or to wait for these countries to get their together again;
- while doing that, they don't have time/resources to watch/care after other issues, which is ... surprinsingly, quite convenient for some other countries.
> Of course if you watch TV or read mainstream newspaper they won't give you an idea; you would have to go to the protest yourself to escape the propaganda.

So you can fall victim to the protester's propaganda instead of the mainstream news propaganda?

That's a common argument for many things, and I don't consider it valid.

It is like saying that you can't understand a cult unless you become part of that cult. Some people took on the advise and become brainwashed like everyone else, it is hard to keep a neutral point of view under the peer pressure such meetings usually entail. "seeing for yourself" to get an unbiased opinion is easier said than done.

You mentioned fascists. Did you go see fascists? I did, and they are probably much friendlier than you imagine, and they have convincing arguments. It requires some amount of detachment to see the flaws in their ideas.

Now back to the yellow vests. I've seen protests, my father was part of the movement, I met many people with different ideas. And from my experience, that's a mess. My father joined the movement because of a dislike in the banking system and Macron's administration, and found like-minded individuals. He left a few weeks later when another groups pushed ideas about unions he didn't share at all. I know one self-employed nurse who was booed at a protest when other people from the same movement claim they support self-employment and better medical support... go figure. The things is: individual groups know why they are upset, but the movement itself is all over the place. There are some common themes like taking money from the rich and giving it to the poor but as the movement progresses, it becomes broader and broader, covering immigration (more immigration control, but treat refugees better...), organic food, etc...
My life mostly.

I'm 34, have a GED, have a bankruptcy, do not have a degree, do not have some sort of skill where I might be able to get around not having a degree like some sort of CS skills, I basically make a little less each year due to inflation and increase in insurance costs not being higher than the tiny merit based increase my employer gives, I've never had a relationship as an adult, I'm repeatedly denied jobs because of lack of degree and/or my bankruptcy and/or the fact my job doesn't really transfer to anything else and I've been doing it for 13 years, I can't afford to even contribute enough to my 401k to get the full employer match.

Even someone, with considerable means that told me thier success is purely due to luck (and obviously through chances they've been given by mentors), told me that they are sorry/find it unfortunate that a degree is treated as a de facto dues card... yet the past 2 companies they've ran, require degrees for their entry level work and when I flat out asked for any job that could give me new experience, asked to take a chance on me, I got an "I'm real busy right now, but I'd love to work together some day".

I could try and get a degree, but I don't test well and while I'm quite intelligent school was always difficult for me. So taking out tens of thousands of dollars of loans and spending my free time doing something I'll almost certainly hate and/or be frustrated by, just to bury myself in debt for the second time in my life and graduate around 40 to compete against 20-22 year old people for entry level jobs in a new field with my fancy piece of financed paper... doesn't sound very smart, does it?

In literally hundreds of appplications in the past 3 years I've had 3 interviews, 2 of them declined and the 3rd I declined when they told me the starting pay was a 5$ and change less than I make an hour now and less than 4$ above minimum wage. Doing roughly what I already do, just for freight on ships instead of planes.

Yup.

Basically my life is a complete failure. If I dropped dead today my mother, that lives with me, would notice and honestly that's probably it. I'm a wholly replaceable cog in a machine.

(obligatory disclaimer: not suicidal, just honest and mostly defeated).
> Nick Bostrom is a philosopher, not an engineer. If he spent his time actually making things instead of fear mongerng, he might have an appreciation for how truly difficult it is to actually get things to work, and the challenges that would still confront advanced AI.

I don't see how this argument even works. Lets change a premise and we get:

'Nick Bostrom is a philosopher, not an nuclear physicist.
... he might have an appreciation for how truly difficult it is to actually build a-bomb.'
Therefore he should not speak about potential dangers/threats of nuclear bomb arsenals.

And as we all know we came extremely close to few false-positive MADs.

> His instantaneous end-the-world outcomes are not plausible and will never be realized.
That's unsubstantiated hearsay claim by you. Can you list a single counter argument against runaway AGI?

>Yet he argues for draconian, fascist controls on technology and society that have real negative ramifications.
At this point I am quite certain you have not read a single thing he Bostrom, and only making claims of articles/comments/2ndary sources.
I think it was in Superinteligence, where he opens with a parable how overlooking dangers in short term is beneficial, but once you open pandora box you cant put it back.
He is not against it AI, but thinks we shouldn't happily jump into something without thinking of future outcomes.

Let me give an example.
Say CERN starts studying micro black holes. Those are absolutely safe to create as they 'fizzle out' due to hawkins radiation. So no one should stop CERN from making any precautions so that they accidentally create a black hole that doesn't evaporate?
Right? It's micro black hole they are safe, we have no tech that could create bigger one, and we have total understanding of Physics. No need for regulation or safety talking.
Yeah, but I think you can be more clever than just doing naive array insertions, by trying to batch them up. At least, we know decreasing sequences of indices can be done in one pass with no changes, and increasing sequences can be done in one pass by accumulating shifts. That leaves alternations to worry about. Now I haven't fully thought this through, but I think something along these lines might work (there may be errors in some of the details here): treat the list of indices you're inserting into as the leaves of a binary tree, and create the intermediate nodes of that tree, initializing them to zero. The intermediate nodes represent offsets (initialized to 0) that will be logically added to all earlier nodes. Then sort the nodes, breaking ties so that the later ones are first. Now perform every insertion at {the given index plus its ancestors}, and then increment the counters for all ancestors of that index so that you account for shifts of later elements. This should get you to O(k log k) or so.

In fact, this makes me wonder why there isn't a multi-insert function in every language's vector implementation...
Was it a thought along the lines of him being selfish because his death (at any time) could leave his family without him?
I'm a stakeholder in the field, I'm in favour of software patents in general with allowance for the need for ongoing reform and improvement.

Unless I'm not a real stakeholder. What's the definition of that?
I wrote a video synthesizer based on the idea behind cha/ves, but used an Arduino to generate the oscillator waves that control the VGA pins. I used an Arduino Uno that was laying around. It ended up spending most of the time just reading the MIDI data. It could do about 10 "pixels" per screen refresh. It was neat to see how slow the code I wrote was though, if I accidentally added a modulo or divide operation I would get half as many pixels onto the screen. Too bad the Arduino standard library uses % for serial buffer checking, random, and other features.. it made some cool glitches but was just too slow. Moving on to a raspberry pi and working through the book of shaders now.
I see- in that case I need to read up on O(k) vs O(k log k)
Addition is commutative.
I backed a indiegogo project that was supposed to deliver a ping pong robot but they did not deliver.

Here's a post I wrote about it https://medium.com/@mkirank/trainerbot-table-tennis-robot-re...

I started playing around trying to see how this works and built one. The robot is built using laser cut and 3d printed parts.

I've used johnny-five, express, sequelize and some python.
A typo is only a (sticky) shift away, and not even obvious!

EDIT: ...and compiles, too!