skysight-inc/HackerNews huggingface dataset:
If you find yourself compiling Google-stuff a lot on Arch, you might find this useful: https://github.com/mortie/nixConf/blob/master/bin/py2

I wrote that script exactly because of the issue you described, and I got tired of changing what /usr/bin/python is symlinked to constantly. With that script, I just run `py2 gn gen out/Debug` or whatever, and my /usr/bin/python stays intact so everything else which expects python3 works, and only the `gn` process and all subprocess sees python2.

This definitely doesn't excuse Google's behavior, but I don't expect it to be fixed soon. My bug report about it (https://bugs.chromium.org/p/webrtc/issues/detail?id=7376) was closed as wontfix (though I'm not entirely sure the person who closed it understood that I was asking for the python scripts to explicitly use python 2, not for them to port the scripts to python 3).
> For a Christian, at least, the world is a sinking ship.

That isn't universal and as a Theological student it isn't even what is written in the scriptures. In fact you can't read anywhere in the scriptures where people go to heaven, but it talks about people living here on earth.

It's hard to make universal statements.
Why do they call it "Facebook Container", and not just "Container"?

I mean, the container concept can be universally applied to any website.
Yeah, I'm now remembering a handful of really frustrating sessions of pouring over my history looking for a now-important resource I didn't bookmark, triple-checking and etc... and it may have not been there in the first place? That's awful.
I find Spinoza more understandable when substituting 'God = Nature' with 'God = Reality'. I believe that's closest to what he meant, in modern vernacular.

That equivalence was (and still is) anyhow a reasonable (i.e 'unmystical') starting point for carving out a sliver of understanding from existence in it's totality, including religious aspects.
>If you only target standards, the lowest-common-denominator of functionality, you will be poorer for it.

In this case, you won't. I addressed this a few comments ago:

>By the time you need the things bash offers you might as well not use a shell script at all
Show HN: App Architecture
A(sh)it Pi, Linux Distro for RPI3, Fullscreen Webkit
I urge you to read Spinoza for yourself if you are under the impression that his philosophy is like Ayn Rand's. I assure you, they are worlds apart.
Yes, by raising pups with surrogate parents. However, the study was criticised for other reasons (lack of statistical power, no explanatory mechanism) and, in the intervening years, nobody has successfully replicated this experiment.
> immobilizes his or her opponent by more effectively controlling territory

I like how he even talks about go like an imperialist.
Such cynicism in the video description update, and comments disabled. Sad to see that happen to such awesome hobby of deep zooming fractals :(

About the code: I don't know about the specific techniques they use, but in general some type of arbitrary precision math is likely used, where you represent numbers with a variable amount of bytes with more bits for higher precision, and using optimized multiplication algorithms that use less than O(n^2) time with n the amount of bits of the numbers
AWS EBS Performance – Confused? Factors That Impact EBS Performance
Wasn't this already known though? There was an undiscovered bug that allowed organizations access greater than they were supposed to have, I feel like it's beating a dead horse by this point.
The reaction is the result of when people's expectations from reading about the attack do not match the actual impact. It has been presented as a fundamental issue with PGP with the recommendation to uninstall and stop using anything associated with it.

I use such programs every day, have developed software which directly use GPG, and administrate servers that depend on GPG every day. Not a single use case is affected by EFail. GPG can still be used by Debian maintainers to sign packages and emails, backups can be encrypted, passwords stored in managers, and so on. Even encrypted email, which is the target of the exploit, have minimal or no impact on me since everyone I know who communicates with encrypted emails have HTML turned off and get big massive warning when the signature is missing (or failed).

EFail can be describe in a single sentence: unsigned PGP data will only give warning when MDC is missing, potentially leaking plaintext in mail clients that render HTML. The scope of this looks to be quite small and a far cry from the suggested idea to uninstall GPG and abandon everything it has touched.
Hi HN,

After over a year of writing, we released our new book App Architecture. Very happy to answer any questions.
I'll write fairly long bash scripts from time to time, but my rule is more: "Do I plan on running this next week?" or "Do intend this for anybody else to run?", and not so much "How many lines is this".
> I know that an unsanitized HTML input is a stupid issue to begin with

Input is never the issue, output is: you don't know how the input will be used/rendered, so it should be messed with as little as possible.
I'm technically wrong per POSIX but practically right per your principle motivation of portability: https://www.gnu.org/software/autoconf/manual/autoconf-2.66/h...

> Unfortunately, even in 2008, where shells without any function support are far and few between, there are pitfalls to avoid when making use of them. Also, finding a Bourne shell that accepts shell functions is not trivial, even though there is almost always one on interesting porting targets.
I'm really surprised they went with:

#!/bin/bash

as opposed to:

#!/usr/bin/env bash

the latter feels more flexible and dependable for a script to be passed around.
> I am honestly surprised

Oh, sweet summer child. You have no idea. Welcome to HN, where this is the norm.

And don't for a second believe Apple hasn't benefited from this attitude in the past. Quite the contrary, some could make the argument that not caring about copyright helped bring Apple to where it is today.
> (you should be!)

I don't see how going from one IM silo to another just because it's encrypted is going to help with anything. Especially one that's hostile towards alternative clients. I'm using XMPP with OMEMO, as I should be :P
At the article's end: '[...] AI developers, as inexperienced in politics and philosophy as I am in technology [...]'.

What a nice piece of flawed logic: 'I am not educated in technology but I'm educated in politics and philosophy, therefore anyone educated in technology is not educated in politics nor philosophy'.
There's a great talk by bwk where he complains about exactly this kind of behavior...before admitting that anything useful in a language will be abused in order to do silly things.

https://www.youtube.com/watch?v=Sg4U4r_AgJU

I'll admit, I'm no fan of Python, but this has little to do with the language itself. I found Bash and Ruby first, so Python just seems like too much work to get right.

Requisite xkcd: https://xkcd.com/1987/
one character sequence is interpreted as EOF

I know this is just an example, but how would that happen?
There was a joke being said frequently on online forums and messageboards about flame wars and trolls on the Internet, "the internet was serious business!", but now nobody even refers to the joke anymore, because it has actually been turned into one, or is not a fun place anymore.
Haskell-style types aren't a prerequisite for functional programming. Lisp and Elixir are dynamically-typed, which is why you don't see monads in those.

That said, they do occasionally form useful abstractions.
Can I ask which country that was in?

I am a European Starbucks regular and IIRC whenever you order inside here, you will get a mug unless you answer the question "To go?" in the positive.
So your stance is that companies have no legal right to decide how their software is used by those who license it? Their only option is to make such uses impossible?

That seems like a strange stance to take. Why shouldn't companies have legal protection over how their software is used? I can lease a car. Why not software?
Looking forward to the Zotac MA551:

https://www.anandtech.com/show/12319/zotac-displays-zbox-ma5...

They said 2nd quarter but there has been nothing but silence since CES.
The subject matter may not appeal to some on HN, but here's an installation I set up at a previous employer over three years ago, that is thriving:
https://discourse.biologos.org/
1. It wasn't a bug, it was a feature. The API explicitly allowed apps access to friends' information. They weren't exploiting the API.

2. The article describes the Cambridge Analytica database in particular being available "to verified researchers" but someone threw credentials onto GitHub where anyone could have borrowed them
I'd like to hear that argument. My guess is that it has something to do with iTunes and music piracy but I'm not sure.
I feel like this issue, and others like it, cannot be thrown in people's faces enough. People need to get angry to affect change.

If we want our industry to take privacy seriously, we need people to take a principled stand. Making them aware of, and outraged over, flagrant violations of your privacy, and trust, is the easiest way to do that.
This is excellent. But man, I don't think I can ever go back to not feeling like there's a huge pedagogical gap between the local maxima the functional programming explanations engineers are typically exposed to, and the much higher (though probably still not a global maxima) point that pure mathematicians have been adapted into. I just wish we'd embrace the geometric (topological, differential geometrical) threads that a lot of these concepts (like lifts etc) are connected to, instead of being arbitrarily tied to a pedagogy textured by the sociological context that coding originated from (i.e. heavily influenced by logicians etc).
1. CS Lewis is my all-time, favorite author.
2. I am a Christian who believes in Christ.
3. I love the Narnia series.

But I really dislike how Lewis uses allegory in his Narnian series. The Space Trilogy is much better in that respect and I highly recommend it.
This is literally what switched me back to Chrome on Android. When I want to continue browsing from another device, Chrome is always up to date. With Firefox, they were always at least a few hours out of date, and often up to days. And either there was no way to manually refresh, or it didn't work... can't remember.

This is a feature I use mainly when I've just left my computer but need to continue reading, so the list being up to date is paramount. In a few hours, I'll have moved on or gone back to my desktop.
Clearly the WONTFIX was wrongly issued. The issue should be re-opened.
Is there anyone from EFF here take notice ?
I can't wait to discover that the whole thing was engineered by or at least sponsored by a nefarious three letter agency.
Missing: EROS, L4, CapROS, Coyotos, Amoeba, VSTa, Minix, Qubes, Just off the top of my head.
Wrong. The bags are a tax on the poor. Not everybody has a car, are they supposed to carry several reusable bags on their person at all times? The poor also reuse plastic bags to bag trash, now they need to buy garbage bags.

Wasting is a first-world problem. The "culture shift of reusability" is a rich person's luxury, like those alarm clocks that shred money, except it is mandated for everyone. I hope you see the absurdity and arrogance of it all.
After 5 years and $3M, here's everything we've learned from building Ghost
Kaspersky Lab to Move Core Infrastructure to Switzerland
Ask HN: Anyone familiar with markov models for web server performance
I am facing issues in using markov models to model web server performance. Any resources will be helpful
Yes, "PGP has a flaw so you should disable plugins," sounds extremely fishy.
Or SIGINT, would be a good NSA joke.
https://en.wikipedia.org/wiki/SIGINT
>It really is a Google guide, tailored to Google engineers.

And posted in a public forum, which is why I made sure to protest its adoption by the broader public.
There is definitely a market for this. When you hit really high levels of the corporate or governmental world, time becomes enormously more valuable than money. The market might bear a cost many times that of a private jet flight if the time were this short.

This is an incredible idea for subsidizing the Mars rocket program via rapid transit for executives, heads of state, etc.

Of course it would also have to be demonstrated to be at least as safe as air travel first before it would hit the mainstream in that market.
...and 3 year next-day onsite warranty.
I mean, you’re totally right to be sceptical of heritable learned experience but your description is off: Firstly, what do these 16 bits refer to (a single nucleobase encodes 2 bits of information and there are easily > 8 mutations from a given individual to the next)? Secondly, the posited mechanism for these acquired traits would be epigenetic, not genetic. I.e. it wouldn’t be encoded in genetic mutations but in other chemical modifications of the DNA (and, more generally, the gamete).

This has conceptual and practical problems in itself (notably due to germline reprogramming) and as I explained in other comments, the current majority view in the field is that it plays a minor role in evolution at best. But it’s not fundamentally impossible and, at least under very specific and constrained circumstances in certain species, it does happen.
Is this a joke?

>Solution/Vendor Information/Workaround

>For safer communications on desktop systems, please consider the use of a safer end-point client like PGP or GnuPG instead.

---

Meanwhile, regarding yesterday's PGP flaw:

https://www.eff.org/deeplinks/2018/05/not-so-pretty-what-you...

>EFF’s recommendations: Disable or uninstall PGP email
plugins for now. Do not decrypt encrypted PGP messages
that you receive. Instead, use non-email based
messaging platforms, like Signal, for your encrypted
messaging needs.
Real-time data streams for the Hospitality industry
Institutional accounts have already existed on Coinbase for a long time. Maybe the splash page is new?
> Wow, this comparison is totally whack

Did you really say whack?

> Javascript and C are both standardized and the former is the only option when using a web browser.

Javascript isn't the only option. It is the most popular by far and hence the "de facto" language of the web. And javascript certainly isn't "standardized" in the sense you are writing. Do you know anything about web development, browser implementation of javascript and javascript itself? Javascript is no more "standardized" than SQL is standardized. Every RDBMs implements their own flavor of SQL just like browsers do with javascript.

>It's never too late.

Did I say it was too late? Of course I didn't. Maybe if you took a step back from your fanboyism and read...

"It may change in the future, but bash is so entrenched, it's going to take an extraordinary use case for people to move from bash."

> We managed to get people off of ANSI C and there's a similar amount of difference between ANSI C and C89 as there is between bash and sh.

ANSI C and C89 are the same thing. ANSI C is just another name for C89... Sigh...
11 Tech Talent Relocation Trends in 2018
John McAfee Under Siege – Going Underground
I'd just like to say, as kindly as possible, that this is another thing that drove me away from Firefox. There is so much community support! ...but it's always of the "works here, have you tried rebooting" school of thought.

The classic is deleting your profile, that unique Firefox troubleshooting standby. As if regularly nuking all of your browser personalizations to fix inconsistent bugs is at all acceptable even if it did work.
What's the problem with bringing bags as needed if you know you might go buy stuff?
If it comes from Latin (as it seems to be) the stress is on the A and you should pronounce it something like ah-qui-lah (with the "qui" sounding something like "quick").

But I'll wait for the author to correct me :)
I guess this story has turned in to CA doing things that others could do anyway... the real story is that this information was weaponized, and used on a populace to put in a far right type of gov.
Mozilla made an extension specifically for Facebook.
9 Types of Animations You Can Use for Mobile Apps
Six Top Tools to Build Augmented Reality Mobile Apps
Astrobotic and Arch Foundation team up to put Wikipedia, Long now on moon
Let us discourse on the necessity of the 13th through 15th amendments of the US constitution.
On 5th anniversary of Snowden leak, Michigan effectively bans the NSA
It's a 10-20 line Python script if you write it without any support code. If you're writing any amount of Python code that does shell things, you should either write or get an existing library.

Also, it really isn't 10-20 lines to spit out the contents of some files in Python:

>>> filelist = ["tmp.pl", "tmp.go", "Tmp.hs"]
>>> for f in filelist:
... print(open(f).read())

It's trivial to code golf that down to 1 line, but if we're writing in Python at any sort of scale, this is more realistic. Easy things are still generally easy. They just aren't optimized down to shell level in terms of keystroke count. They're often more optimized than bash in terms of conceptual complexity, though.

For instance, if one of my files has a space in it, shell becomes a conceptual minefield, requiring you to understand the half-a-dozen ways it might process strings and how that interacts with filenames and arguments passed to commands, whereas the Python just keeps doing what you probably meant, because it knows what's a string and what's something else. Shell makes a lot of sacrifices for that concision, and there's a lot of "Well, this will probably be OK on anything I run it on...". I never put spaces in my file name, but use periods or underscores instead, precisely so I don't screw myself over with shell. I shouldn't have to do that. Personally I think the crossover point is in the high single digit number of bash lines. The only advantage bash still holds over Python at that point is large pipelines, and 80% of those can be replaced by Python functions. For the remainder, use a pipelining library.
Agree totally.
This document is 10 years old, and even then it acknowledged that finding shells without function support is a tough ask. You're not practically right, either.

When a system does not (correctly) implement portable standards, it is a bug in the system and software should not be corrected to accomodate for it. autotools disagrees with me on this point.
This is either outdated or only for the public version of the guide: the internal guide, and all our python code, has 2-spaces indents.
I wonder if it would be harder to make this in .css vs .less. It would be cool to see some hand written SVG as generated SVG is always ugly and bloated.
> For safer communications on desktop systems, please consider the use of a safer end-point client like PGP or GnuPG instead.

It seems like rather poor timing to make such a derogatory comment.
As soon as I saw the Signal client was a web browser disguised as a desktop application, I have expected the discovery of similar issues. But as I only use Signal as an upgraded version of Plain Old Telephone for secure communication of the common people (I guess this is why the OP said "you should", not as an attack to other chats, because it serves a purpose), only talk to those people who knew my personal phone number, I didn't worry it too much. For other communications, I use PGP+E-mail, OTR/OMEMO+XMPP, IRC, Matrix, etc.
I sell AI robots and its bullshit
>the vast majority of programmers have made it clear that they DO NOT want to READ code in S-expression format

I don't think this is true. I don't know of many people (who actually use Lisp -- meaning they took the time to read a book and build a smallish, mostly complete project) who are actually bothered by reading s-expressions. They do take some getting used to, but I really don't see the problem. s-expressions scare newcomers, but eventually it isn't an issue. It's just different.
The battle is lost. People by and large have decided that it is worth sacrificing most of their privacy to use "free" services like Facebook and google. The only relief at this point is regulatory.
MoviePass: the unicorn that jumped into Wall Street too soon
>Javascript isn't the only option. It is the most popular by far and hence the "de facto" language of the web. And javascript certainly isn't "standardized" in the sense you are writing. Do you know anything about web development, browser implementation of javascript and javascript itself? Javascript is no more "standardized" than SQL is standardized. Every RDBMs implements their own flavor of SQL just like browsers do with javascript.

This is nonsense. I am very familiar with web browsers. Javascript is standardized as ECMAScript:

https://www.ecma-international.org/publications/standards/Ec...

The "standard library" browsers implement is also standardized:

https://www.w3.org/standards/

You're off your rocker.

>Did I say it was too late? Of course I didn't. Maybe if you took a step back from your fanboyism and read...

Here is a direct quote from your comment:

>It's a bit too late for that. Bash is pretty much the de facto default shell for linux.

>ANSI C and C89 are the same thing. ANSI C is just another name for C89... Sigh...

Derp, I meant K&R C or pre-ANSI C. My mistake.
OWASP Juice Shop – An Intentionally Insecure Webapp for Security Trainings
I accept your points about limiting the surface area, but it applies more to tech companies than it does to other types of companies. For many (maybe most?) companies, their proprietary code is barely useful enough for its intended purpose within the context of that company's operations, and would be less than useful to a competitor.

"Who reviews code who has never written code?"

I'm not talking about reviewing code as in 'code review', but reading code to understand what it's doing.

And I didn't talk about anyone who has 'never written code', but someone who has never written production code. The article also wasn't talking about people who have never written code; if you do a Udemy coding course, you'll write at least some code.

I worked at a place a few years ago that had some popular consumer tech products. I was using one of them, and experienced what I thought was a strange error message. I was able to search the code base for the error message, and read the ~20 lines of code before it, to understand how it was triggered. I was then able to file a very specific bug about what I thought was wrong with the logic. I didn't need to be a SWE, tech lead or engineer manager to do that. I didn't learn to code using Udemy courses, but someone who did could have done the same thing in the same situation.
Meaningless jobs that are killing the human spirit
A factor two or three in memory consumption.
There are a few outstanding issues that are keeping me from using it in production but it's pretty stellar as a home system. There are a few companies using it though. Biggest issues I have at the moment relate to secrets/keys not being storable in a sensible way. That and the dev environment is in my opinion so different than the norm that it seems to break some tools like spacemacs and some embedded arm tools in my case
Meet Surface Hub 2
https://github.com/jaytaylor/sql-layer Here's the old layer :)