skysight-inc/HackerNews huggingface dataset:
This is the first programming hangup I can remember having. Thinking "Why can't I just write it like this?"
Recording myself is an interesting idea, I will try that.

I also told all my coworkers to correct me but of the 10 people I cpeak to often only one does, for which I am super thankfull.
Using the Onymos Media Component in Your Ionic Framework App
What you say is correct, but I think people are not helping the discussion by adding correct but misleading statements such as "the compiler is allowed to print 'screw you'". To me it sounds as if the compiler would be trying hard to find an opportunity to sneak in malicious code -- and then shout "told you so!" into my face with an ugly grin.

The core of undefined behavior, for me, is the following: The compiler will, during optimization, convert your program (as written) into a second program (in its intermediate language, data-structures, assembler code, ...). This second program is identical to the program as written by you only regarding the defined behavior, and the transformation might not be obvious. For some optimizations (automatic vectorization, multithreading, ...) it will be pretty convoluted. For some simpler one, it might just replace mults by shifts or remove an unnecessary check here and there.

If you rely on undefined behavior for calculation, branches, loops (such as INT_MAX+1 < INT_MAX), the compiler may create such a second program which behaves as if a branch may (or may not) be taken, a loop may, or may not terminate, or have a few iterations more or less.

Unfortunately some of the statements that got replaced or mangled could be needed to guard certain invariants, avoid smashing the stack or accessing an array within bounds. And when you loose these guarantees, of course all bets are off as you might start executing random code from the data your program is trying to process (unintentionally, or maliciously crafted).

A simple if(i+1<i){...} never was replaced by puts("screw you"), I'm almost... well... hardly... ...it might only happen rarely. :-)
That could actually be an interesting linguistics problem. In spoken languages, "between" is usually inclusive unless context suggests otherwise.
It can easily be a source of misunderstanding if the context clues are insufficient or the recipient has trouble picking up on them.
I wonder if there are any languages that have different words for inclusive/exclusive "between" so people don't have to rely on implicit clues.
Yeah, I guess the only tip I have is to make a concious decission to want to improve on that, that at least is the first important step as far as I can see.

I'll try to integrate some of the things you point out into my daily life, we'll see how it goes :D
This is essentially what DKMS does and how Debian is shipping ZFS. I can only imagine that Ubuntu wants to make it easier that (perhaps it would be hard to have the installer support ZFS as root filesystem without having the binary ZFS module - you'd have to ship a full compiler toolchain as part of the installer?)
Using Free SSL/TLS Certificates from Let’s Encrypt for Nginx
Introducing the New Curbed
Have you given Arch a try yet? Their are also some family friendly projects like Antergos. Arch wiki is my all time favorite for great documentation, even when not using arch, go figure.
Show HN: Input method for all Unicode characters
I'm genuinely curious about this, since I wasn't around in those days.

For a game being implemented (and probably having design changes on the fly as problems crop up since there was no time for a design phase) in assembly, with instruction- and register-level hacks to save the 128 bytes of memory, with no source control aside from sneaker net, how many developers can reasonably work on it at the same time? 1? 2? I mean at that level don't you need to hold the whole code and memory map in your head? Each change can have huge repercussions.
> Further back we have 2001 and the entire canon of Asimov's three laws stories of computerized morality and how it might be exploited or debugged.

He even has a whole story dedicated to self-driving cars without the three laws (because they're no "true" robots) and how they end up exacting revenge on humanity.
I've noticed an improvement in my vision if I pull outwards on the skin next to my eyes, which I think is the effect you're talking about. I don't know how you could make it permanent though.
That's a good story about authoritarian state, but I'm not sure about the self driving car.
In such state, a today taxi driver would report you to the police with the press of a button and the police would be waiting at your destination.
Well I can't expect HN to agree with this article, but let's face it, technologies pose new political questions.

I think the argument about the iPhone backdoor software is a slippery slope one. As long as the judicial system use mandates and the process is transparent, I think you can't really complain. This is what Snowden is about.

We're talking about homeland defense here, the Islamic State is on the rise, so I would be careful when defending Apple here.

Now I'm not a lawyer nor a political scientist, but I want to side with the FBI on this one. I'm sure Apple is playing their popularity card here. There are things that are more important and go beyond gadgets built in the silicon valley. It doesn't necessarily have something to do with Snowden.

I expect people to disagree with me here, and it's fine.
howdoi beahaves in a very different way. It doesn't give you unix.stackexchange.com answers by default:

$ howdoi unzip bz2

readcsvbz2file <- read.csv(bzfile("file.csv.bz2"))

how2 switches API depending on what language you are querying.
Apple Moves to Shift Battle Over Unlocking iPhone to Capitol Hill
AI that automatically generates royalty-free music tracks by mood and style
This. I prefer these rules: variable first sorted by size of comparison.

x > 5 && x < 10
In my opinion, it'd only be a truly smart phone if it shipped with a compiler onboard so you could build apps for it ..
Show HN: OpenTSDB install instructions Cheatsheet
I prefer "tricorder."
Very interesting stuff. BladeRF looks amazing; I might have to grab one to play around with. I might even have a look at the HDL code to see how they built it.

https://github.com/Nuand/bladeRF
WebRTC: Build vs. Buy
People seem to forget that the Communist states all had a constitution, and everything their secret polices did was perfectly legal.
Yeah, I can imagine how much (and how many) court-side VR tickets to Kobe's last game at the Staples Center would go for.

Or strap a VR rig to the head of one of the towel boys and sit on the end of the bench as the 16th man.

I think this is actually a bigger $$$ market than VR games because of the repeatable sales.
There is also a Fedora spin with Cinnamon as the default DE: https://spins.fedoraproject.org/en/cinnamon/
PoC for getting remote HTTP Server date using gzip compressed HTTP Response
Don't hold your breath for FCC "waking up", no matter the sample size or strength of sci.evidence of hazard. Their Obama-appointed chief used to be #1 CTIA lobbyist. For example: http://microwavenews.com/news-center/cell-phone-carriers-fcc...
I personally find that Debian stable for most packages, and then vendor/Packager repos for specific software (eg percona, varnish, dotdeb, nodesource, etc) works very well.
Nobody said everything has to translate into VR. Even then, showing those abstract concepts in a boundary free VR world could do a lot towards understanding those concepts.
Pocket PC still sounds nice, but Apple's marketing efforts caused the meaning of the word to become unclear. Pocket computer is perhaps the most neutral term available.

For the average consumer this semantic discussion won't change their perception of those devices though. The masses for now have settled on the three categories of smartphone, tablet, and laptop/desktop computer.

(Even more frustrating is that every piece of software, service, and website you use on those devices, and in some countries even a text message is called simply app.)
Open Source on the Battlefield (2009)
Because I can't imagine a policeman ever saying "he can kill you" except in a fictional setting where James Bond is licensed to kill and that policeman somehow knows about Bond.
They won't stop carrying the "phone" connotation until the service providers stop pitching themselves as primarily telephony companies.
$35 for free shipping.
I like the categorisation aswell as a name (and version).

In your desktop environment, 'Open web browser' (as an action), can be associated with whichever browser you prefer. And perhaps a context menu on that to choose between many.

I prefer something like: Gnome file manager: 'Nautilus', to the browser: 'Web'. How ghastly.

To differentiate between many, like both of Windows' web browsers: Edge and Internet Explorer. You could say Windows web browser Edge. Or Edge; Windows' web browser. Windows itself is a confusing name, but that's another conversation.
> Just look at the many open source JS libraries out in the wild–how many of them use prototype objects well? If they use OOP, it’s usually class-based, and it’s pretty ugly, too.

Worth mentioning some that do use prototype objects, such as Closure Library https://github.com/google/closure-library
Tim Cook Calls for Commission on Interaction of Tech and Intelligence Gathering
At first, I thought 'why2'?!

But then I saw the video, the way you can specify a language, and the nice format that results are displayed in, along with the option to see more options - this is actually quite nice!

It would be good to have the option to use it with Server Fault (also from StackExchange network) too.
10 programmers and no source control sounds like a recipe to make this even worse than it had been.
Test Driving the Docker Universal Control Plane
I do exactly this in my own code, for one-sided bounds like "if (0 <= x)" as well as for two-sided bounds like "if (0 <= i && i < length)".

But when collaborating with other programmers, I follow the majority style. There are lots of programmers who prefer to write comparisons with the varying item on the left and the constant item on the right, and "varying item is on the left" is just as valuable a hint to them as "lower item is on the left (if expression is true)" is to me.

So I wouldn't elevate a personal stylistic preference to a rule: this will lead to pointless arguments. Writing code that's clear to all the programmers on a project should be the goal.
I don't want to have a lengthy meta-discussion about titles, but as someone who is not in the mint community (either one), the HTML page title of the comment thread linked is more informative than the editorialized-by-excerpting text from the comment body.
https://news.ycombinator.com/item?id=11149124
I couldn't even bother to finish the article, so I scrolled to the bottom for the conclusion about... G20 and banking? What?
Gavin Newsom on Self-Driving Cars, Legalizing Marijuana and Fixing SF
I realize they have not taken security seriously in designing their delivery mechanisms. However I do not care. Linux Mint solves all my problems of configuration. It is configured so nicely and with Cinnamon it comes with so many useful bells and whistles, I'm not moving anywhere. It's great. Mint will be back after this blow and I am sure it will not happen again. I use it daily and I am super productive on it as my desktop. My family uses it also, on new and old computers, and it is perfect.
New Day newspaper targets 'time-poor' readers
FBI director says Apple encryption demand is 'about the victims'
90% of the time I need direct blind access to simple functions. Now I have to carefully swipe, carefully otherwise the app goes into gallery mode, or the picture is taken, and since I was pushing on the screen, it's blurry and I need two hands to do so.

Side picture buttons are increasingly rare if not defunct, volume rockers are still here though.

A lot of things that could be done quickly is now fragile and subtle. A side effect of translating desktop UX to IRL handheld gadgets, by the promise that software will be smart enough to make it one button away.

psedit: as noted below, I indeed never realized the volume rocker was bound to snapshot. My rant is half void now u_u;
This is interesting, I wonder if there are more related issues. There is a lot of stuff that embeds timestamps.

The first I could think of is the TLS handshake, but it's GMT and several implementations don't set it any more to a valid value (they use a random value instead).
Various image formats use timestamps, they seem to be timezone unaware.

Probably something to look into, and probably a good idea to question whether we need timestamps everywhere. If they don't serve a useful purpose better skip them. (They also happen to be a major issue with things like reproducible builds.)
Not sure why this was downvoted, since it's true. apt does this by default, in fact.

GPG is immensely useful for securely distributing packages and distros.
Are bank hackers creating a global shipping empire?
Indeed I never considered better sources.
The documentation is good, I'm using it to configure KVM on Fedora now.
The natural response of each agency to prevent such massive information losses in the future is to limit the amount of information available, make it accessible only on the need-to-know basis, and introduce bureaucracy into the information retrieval process by keeping the logs and requiring sign-offs.
Chapter 143 – Wealth, Prosperity and Luck Part-10 Explained for All Ascendants
> I'm not sure anyone's managed to develop a commercially-successful game solo

Minecraft?
It does not make any kind of business sense to spend that much money and rely on 1 programmer and such a short project time. What happened if the programmer fell down some stairs or got hit by a bus? Normal project time for a game was 6 to 8 months, they gave this guy 5 weeks and no team. Obviously the programmer should never have agreed to the time frame, but he was 24 and at that age nothing seems impossible. This was not his fault, but shows a shocking lack of planning and communication within Atari at that time.
Personally, I wouldn't recommend Arch (even the "friendly" variants like Antergos) to the less technically inclined. You don't need a to be extremely familiar with Linux to get started with Arch, but you do need to be comfortable at the command line and are expected to be able to read the (excellent) docs and debug things yourself.

It's a very educational experience, but not really something the "average grandmother" is likely to have the patience for, particularly when they're just trying to watch a flash video on Facebook. That's the real strength of Mint, and I'm not sure what best fills that niche if Mint is off the table.
Here's an example indicating how we can use overflow from INT_MAX to INT_MIN to terminate a loop... ...if signed overflow would be properly defined.

/* Write \"hi\" n times, counter will wrap to negative
* to indicate we've written enough greetings.
*
* i=3 -> we want to write hi three times
*
* 1st INT_MAX-i+1 = INT_MAX-2 -> write hi
* 2nd INT_MAX-1 -> write hi
* 3rd INT_MAX -> write hi
* 4th INT_MIN (signed overflow, terminates loop)
*/

int
write_n_times_hi(int i)
{
int j;
for (j=INT_MAX-i+1; j>0; j++)
printf("hi\n");
return i;
}

This will be compiled into an endless loop by gcc 5.3.0/x86_64 for -O3, but will terminate properly with -O0.

If you change the (undefined for j=INT_MAX)

j++

into the (defined)

*((unsigned*)&j)++,

the compiler may no longer assume that j stays >0 all of the time, and the loop has to terminate.
That's actually an exceptionally useful way to think about this. The more intrusive are the ads you sell, the more valuable they are (to brands) - while the more intrusive they are, the more people will block them.

Of course, unless you are Google or Facebook, you have very little ability to lower the 'global' shittiness of ads, but you have a lot of ability to make your own ads more lucrative and targeted.
The german managers will drive electric cars
It's not "tax dodging", it's "tax avoidance", since what they've done is not only legal, but it's the expected and allowed behavior under tax law adjudication in the USA.

You misunderstand how tax laws work to think that there is some "spirit of the law" that individuals or corporate entities should be attempting to follow. There are simply the rules that must be followed and some wiggle room in how those rules are interpreted.

A "spirit" implies that there is some sort of equality between parties and a mutual understanding of something not quite written down. That's not the way that a judge views tax law. If the IRS can't clearly show how rules have been broken, then the IRS has no claim. The government/IRS write the rules and they're expected to write rules in a watertight fashion, not some vague "spirit of the agreement" fashion. If the government or IRS fails to do so, it's not viewed as the tax avoider's problem.

At the end of the day, tax accountants and tax attorneys are trained and paid to ensure that you (or your company) don't pay a penny more of taxes than are explicitly required by the law and it would be unethical for them to do otherwise.
In some countries, 'handy' has a very different meaning :-o
It's also much nicer looking and more interactive, FWIW...I also agree with its defaults.

$ howdoi inverse grep a file

Simply pops this up:

$ grep -L "foo" *

...apparently it scrapes the answer result and print the last occurrence of code-formatted text.

Whereas `how2` pretty-prints the entire answer, narrative and code, so I know what the respondent was actually addressing. FWIW, both tools don't address what I want (I was thinking `grep -v`)...but that's not a fault of the tools, but of the ambiguity in how we ask questions. `howdoi` has far more faith in there being "Just One Answer"...where `how2` let's you move very quickly between the relevant choices, giving you the right amount of context to navigate.

Well done OP!
Flappy Bird?
Wait, so you avoid walled gardens by...exercising your right to include proprietary plugins in software?
I definitely agree that custom storage engines can be scary! In a way you could say the fact we’re used happily by so many applications on literally hundreds of millions of devices is a test of our reliability, although it’s far from being a formal test of course. We field the overwhelming majority of our issues in public on GitHub and StackOverflow, so you can see the kind of issues we have there. We have a bunch of internal testing on top of that of course, including our own device testing, test suites, and fuzz testing. We’re always up for recommendations on testbench for the kind of storage we do (Jepsen concerns itself only with distributed failure scenarios iirc, which doesn’t apply to us since we’re an embedded/centralized database engine by necessity). I don’t know if this helps or not, but I’m always happy to chat if there’s anything more you’d like to know about
> As long as the judicial system use mandates and the process is transparent, I think you can't really complain.

I completely agree that the State can compel anyone to do anything he is able to do. That's why it's so vitally important to build systems which don't allow anyone but the owner to authorise changes.

Apple shouldn't be able to install an app or update OS code without an iPhone owner okaying the change. Google shouldn't be able to read my WiFi password. Mirosoft shouldn't be able to read my OneDrive files.

If it's not possible for someone to do something, then he can't be compelled to do it.

In this particular case, the actual owner (the county) should have maintained an ability to access the phone at any time, but they didn't.
Apple Answers Questions about Apple and security
This site is aimed squarely at your use case:

http://www.filleritem.com/

(I have no financial or other connection except as a past user.)
I agree, that simple loops that you describe are easier to analyse than full recursion.

But simple loops are not as expressive as full loops (where you can modify the loop variable). As a simple example, try to phrase the Euclid's algorithm for computing the GCD using "for(int i = 0; i < n; i++) { ... }" where "i" is not modified in the loop body.
In that case, the customer-friendly move would have been to charge you £0.10 for shipping rather than £4. As things stand, you had to waste time buying something you didn't want, increasing Amazon's costs, and others who did not discover the trick would have been unhappy. I wouldn't mind if the minimum shipping limit goes up, since it's a simpler system — I don't have to waste time figuring out these loopholes.
How does it perform the natural language processing in the search? Or does it rely on stackoverflow for that?
Android Malware GM bot source code leaked
I only hear people using スマホ to differentiate them from feature phones ガラ携 (Galapagos phone, also a homonym for "junk phone"). 携帯 is still the general term for "cellphone".
True, there often is no clear distinction.

On the other hand, I studied CS in South America, and I can count on one hand the lectures which aimed to teach you "how to write good code". Maybe one or two of them, and only in the macro "good software engineering practices" sense. Most of the others assumed you sort of picked up how to code on your own, or that you asked other students or TAs on the side. There absolutely were NO "how to code" lectures, and the overall idea you got was that CS was a theory-heavy degree. Recursion, proofs, type theory, graph theory, etc, were absolutely the focus of the degree.

There was a different degree called "Software Engineering" (and not CS) from the same university, but I think they heavily overlap in content, so in practice the point remains.
The point is a SINGLE person is making almost as much of a family by not working all year. In addition the United states spends a lot of money on schools:
http://www.politifact.com/florida/statements/2015/apr/21/jeb...

Next white students in the united states are doing better than most of Europe. Note that the United states does poorly on the international PISA tests. But if you break it down by race you will notice that the education is working very well for white students:
http://isteve.blogspot.com/2013/12/overall-pisa-rankings-inc...
> Is it well-supported enough to use day-to-day as a developer?

Speaking as someone who knows the developer: no.

> Do you often have to build things from source?

There's ~6500 packages, so it's likely you'll be installing some stuff from source. It's really hard to predict without knowing specifics though. http://hydra.nixos.org/eval/1237359
this topic is nothing new, I've seen it in various forms for at least 10 years. to have conclusive results, long term studies need to be done, which AFAIK so far haven't been done properly.

in this case, I don't get why anybody at least slightly sane would carry wound 10+ hours a day cell phone in their pocket. if all this is true, and you get "damaged", you can blame only yourself then...
The problem isn't they increased the minimum order for free shipping or even that they charge for shipping - it is the deceptive advertising/wording. Among the big companies, Amazon has a reputation for treating their customers well (even if they screw their suppliers, workers etc). That seems to be slipping.
"Luna is the world’s first programming language featuring two exchangeable representations: textual and visual, which you can freely switch at any time."

I have not made an extensive research, but this doesn't sound right to me. The SAS Enterprise Guide version of the SAS language came first (and probably others). In one panel you have the visual version while the other has the traditional SAS text language. There are other environments live Learntomod where one panel shows Javascript while the other has a visual, Scratch-like representation of the same code.
Just like Luna, they consist of an IDE coupled with two languages each: the visual and the textual.
Why is that they don't make that argument false?