skysight-inc/HackerNews huggingface dataset:
Thanks. It's good to hear that you've tried to enjoy it and drawn conclusions from that experience.

Imo Perl 6 has some easy on ramps and then a long and winding learning road that can be tiring to navigate due to pot holes, inadequate doc and tools, and lots of yak shaving. I wonder if you agree that bugs, weak doc, and an immature ecosystem and tooling are a significant contributor to the toll exacted by the long (endless?) learning curve?

Also, if you've used and liked Perl 5 I'd be interested in your opinions about how you think the relationship of the two Perls will evolve.
I hadn't bought a ticket for the first one. I had a "JR pass" which gives unlimited access to a variety of lines, but not the one I ended up having to take.

That said, I didn't think to ask about getting a free ticket on the later train.
As someone that uses Python intermittently it seems like there's still a lot more tutorials, Q&A, and documentation for v2 on the internet than for v3. When searching for info about python it's often difficult to tell if I'm looking at something for v2 or v3, and when I can tell it's usually for v2.
I spent my money to buy dollar bills. A overall poor investment because of the expected lost, but an investment all the same.

Money is always invested, even if you have it invested in the generic dollar instead of some other product. While it is common to think of the dollar as not being an investment, I find considering it an investment that is constantly losing value due to inflation to work better in my mental model.
I've been experimenting with Rust for a few weeks, and I really like it, but I hope they improve how you write functions that return iterators. I can't find all the discussion now, but here is some of it:

http://stackoverflow.com/questions/27535289/correct-way-to-r...

https://www.reddit.com/r/rust/comments/2h26cj/functions_retu...

https://github.com/rust-lang/rfcs/pull/105

https://github.com/rust-lang/rfcs/pull/1305

Reading those RFCs can be frustrating, where a discussion goes on for over a year and people add more and more wants to an idea until it sinks. Same thing with the discussion about a `yield` keyword:

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

https://github.com/rust-lang/rfcs/issues/388

It reminds me of the JCP in Java. I guess every standards committee is like this, and I actually like how careful the Rust team is about extending the language---but I think we should be prepared for it to evolve slowly. Right now I feel like Rust's pace will be more like Java than C#.
Looks like my information about returning functions is outdated (although issue in tracker isn't closed). Thanks to all who pointed it. Now I love Rust even more and sure with time all other minuses will be polished out :)
Vulnerabilities Found in 0Auth 2.0 Authentication Protocol
49 Headline Formulas to Skyrocket Conversions (And Where to Use Them) – SumoMe
Lots of things leak information in ways that aren't considered and infection. Tools used to administer corporate infrastructure, for instance. Windows 10 might fit in that category too.
Mine as well but this is contingent on having people on hand who can open the hood and troubleshoot, if not and you are weak on the OPS side or earning so much per customer that hosting is a secondary consideration then I can see the value in AWS, it's just not my default choice.

Also frankly I loathe dealing with AWS's web interfaces for anything - frankly they are embarrassingly bad for a company that prides itself on end user experience.
I think this is the fault of the users who encode them. They don't do the bitrate calculus right. That's why I mostly avoid HEVC releases.
Epic List of Side Project Ideas for Programmers
Ask HN: What software would you pay for right now?
Looking for some ideas on what to build for small-medium sized businesses/startups.
It's a custom SSH authentication method invoked with a special username, "Fortimanager_Access". The protocol is a weak "challenge/response" using hash of the challenge concatenated with a string (used in multiple firmware versions and not at all unique to the device).
> It's time for Gov't IT to learn open source tools.

Would there be enforceable accountability with this approach? (Not that there's much now.)
Developers Talk Mobile Predictions for 2016
The forum Something Awful does something like this: They charge $10 per signup. When you get banned you have to pay again to get back in.
There is a hard coded SSH password, 'FGTAbc11*xy+Qqz27', in Fortigate devices < v5.0.7. You can use this script to access any device before that version.

EDIT: 5.0.7, not 5.0.2
Telegram’s Troubled Times in the Middle East
You can use yubi's PAM modules in conjunction with SSH PAM auth, no need to patch OpenSSH.

https://developers.yubico.com/yubico-pam/
Most of these recommendations are based on measurements. I recall a coworker doing several experiments on Google Search about inlining CSS vs. making a separate request, and the break-even point was surprisingly high (~10K or so of CSS).

Publishing recommendations like this is a recognition that many small companies don't have the resources that Google does to rigorously experiment with different approaches and collect data.

That said, if you do have the resources, you should always measure & experiment with your own situation. Many of these recommendations go away with HTTP2, for example, and it's likely that the guidelines won't be updated until long after HTTP2 is widely adopted.
"Don't know what the big deal about that is."

Verified was originally sold as twitter saying the account belonged to a verified person or business. We could trust it was that person or organization and not some fake account.

This isn't true anymore and they should rename it to something else. The other part is that their are apparently some advertising requirements associated with verified for businesses.
Captain401 (YC S15) is hiring a growth marketer
The Evolution of Content Marketing: Two Trends You Should Pay Attention To
OpenShot 2.0 – Beta Released
I like FOG, It looks amazing isn't it?
The shim layer would have to convert all strings from v2 representation every time to the v4 implementation. Slower, but at least v2 could run unchanged. As we all know certain code won't be touched for whatever reason. It could certainly prevent some from deciding to move off to other languages like Go, Elixir, Node.
So is the Canadian Federal and Provincial governments.
Surely it's `import twentyfour`?

2 x 3 = 6
=> 2 x 3 x 4 = 24

;)
I am confused by this statement.
Though I don't think it's well argued, I agree with the general principle: problems are generally much more complex than they seem from the outside. It's interesting that you mention gun control, because if I talk to my European relatives their answer is "make them illegal" as if Americans are too stupid to work this out on their own. The fact that you even say "solution" to something not everyone agrees is even a problem is an example of how difficult policy is to make in the US. I deal in my day job with a large homeless population and I can tell you the vast majority of policy discussions I have rotate around "what is the problem?" before we even begin to discuss solutions. And that's not bringing in the people themselves, who may not see the situation as a problem at all.

So I agree that the article is a bit provincial, but I also agree that a very in depth understanding on issues and their complexity is often required, and very difficult to achieve from the outside.

Incidentally, this is why, at least in my experience, federal programs are so inefficient compared to state programs which are, in turn inefficient compared to local ones. This isn't to say that they don't all have their place, especially when it comes to enforcing consistent standards in a large geographical region, but it's definitely the people closest to an issue that have the biggest impact.
I agree

It's ridiculous when people (not Quebeckers) can't get a job in Quebec, then they go to other provinces and get a job quickly.

This is something I've seen from close

Not to mention the big gap between provinces, it seems they're more apart than US states
And when 2/3 of the states support that change, it'll happen.

The whole point of the constitution is that it is not driven by politics or emotional events. It is changed when a super majority of our citizens / states feel it should be changed.

I don't like the ambiguity in the second amendment, but allowing an emotional event to be the catalyst to circumvent one of the other liberties enshrined in the constitution is scary.

Regardless, with the advent of 3D printing, it's a stupid fucking argument anyway. Over the next few decades, every evil doer will be able to print a weapon.
Wow.

For example, with Windows Server 2016 Technical Preview we now enable OpenGL applications with RemoteFX vGPU scenarios which enables support for additional high-end engineering design applications that use OpenGL.

This strikes me as really huge. For a while one of the intrinsic advantages of X over the Windows GUI was the ability to have remote, accelerated OpenGL sessions over GLX. Linux GUIs have pretty much abandoned proper support of this but Windows is getting it?
Just reading the code, it looks like it connects to an SSH session with the name Fortimanager_Access and does some special handling of the password request (see custom_handler) which grants access. Once that's complete, it turns control over to you to type and run commands on the firewall.

I don't quite understand the special handling. Looks like it takes a byte from the server's output, hashes a special string containing that byte, and passes that back to the server. This is the backdoor.

Edit: Maybe that "special handling" is just standard protocol and it's just sending a plaintext password. I dunno.
All Moto Smartphones in 2016 Will Feature Fingerprint Scanners
Counting bits in hardware: reverse engineering the silicon in the ARM1 processor
Their description of how people could use 3d printers talks a lot about "sharing" of CAD files but their enforcement conclusion talks about "selling" of CAD files. Sharing and selling are very different, selling is very easy to track while sharing (as shown by things like enforcement of bittorrent copyright infringement enforcement) is a bit harder.

I could easily see that selling a CAD file which infringes on a patent could be enforceable. In theory, also sharing of a CAD file which infringes could be enforceable but it would be much harder to do so as there's much less of a paper trail.
patio11 sold his business through this site and said only positive things about it: http://feinternational.com/

Considering that it is worth how much someone is willing to pay, might be a great place to some benchmarking.
There's a really interesting book called [A Pattern Language](https://en.wikipedia.org/wiki/A_Pattern_Language) that goes into this.

They attribute tall buildings with insanity, as denizens begin losing scope of their world simply by virtue of not being able to see beyond buildings.

Another thing to note is that "Centers of Culture" are beginning to become more amorphous, as tech gentrification is whitewashing a lot of what gave San Francisco its identity. The Mission is probably the most glaring example of transformation, for better or worse.
Nice article about how to make everything sound like clickbait and spam. ^^
They could always take the Microsoft route: Python 4 will be internally versioned as Python 3.1 to avoid this sort of problem.
Bootstrap Export Table to PDF
Authy provides something similar, I wonder if one is better than the other.

https://github.com/authy/authy-ssh
DietSensor that tells you how much calories are in your dinner plate
I almost never get food delivery (SF is loaded with good food you can walk to) but I have tried Munchery and it is impressive. The food is delicious and tastes fresh, and they delivery it really quickly since there is nearly no prep time on their side. The only thing is they tend to sell out by the end of the day, you have to order before you're hungry.

I think there's a spectrum of food options, and Munchery fits into a slot where I had not previously seen an option:

* Shop and cook yourself
* Get grocery delivery that you order, cook yourself (Instacart)
* Get grocery delivery that someone else chooses, cook yourself (Blue Apron)
* Have someone else deliver and cook a fresh meal for you (Munchery)
* Have someone else deliver a restaurant meal for you (Seamless)
* Go to a restaurant
Amazon deploys huge physical machines sells virtual machines, why would they not charge linearly? Doubling your compute isn't cheaper than selling someone else the same compute as you.
That is exactly the problem. Code that assumes `not six.PY3` means Python 2 will start breaking.
The EMH says it shouldn't matter too much. The transition from private to public adds more liquidity for traders, but in accordance to the EMH it should work both ways (50% chance of buying or selling). Those who wanted to buy but couldn't will do so now that the shares are public, and some will sell. There should be no expected edge shorting companies that go public, after taking into account borrowing costs and other factors. The evidence suggests such a strategy would probably break-even, in accordance with the EMH.

https://qph.is.quoracdn.net/main-qimg-ef1c7da1ddf19c2c7c7d90...
LCM(2,3,4) = 12
Yeah, I think it's someone looking at the digital media endgame and deciding that it's not long before even complex physical objects can be "digitized" and replicated.
This is the progress for the past year:

https://arewecompressedyet.com/?r[]=master-2016-01-01-082473...

Select "Entire curve (old method)" to see BD-rate numbers (the new method requires data overlap in all three bitrate ranges in order to work, which the old curve does not have).
5 things you didn't know about Google Cloud CLI
Note that XMonad, as the name implies; will only work with Mac windows that are being managed by X. Standard mac windows will not be affected.
This should be normal routine -- it is called "defensive programming".
Ruby Rogues Podcast 241 What Makes a Great Developer with Phil Spitler
And the supreme court specifically called out in their rulings that they did not imply that it was a constitutional right to carry a concealed weapon.

That also doesn't mean it should be illegal... we've seen immense decrease in violent crimes over the past two decades -- we've also seen a dramatic shift in state laws allowing the right for people to conceal carry.

Correlation != causation and such, but science and numbers matter... They are really interesting when you review them.
The Making of Drone 100
I am reminded of the horrible hacks that got encoded in various http user-agent strings so that new versions of browsers would be identified as various other older browsers so that badly written sites would send them the right version of the site for the features that they supported.
i took the quiz to realize that i'm an active learner.

is this quiz reliable?
Steam sales leaked details – the end of flash sales?
>Or just giving money, so that people can buy what they need.

And potentially sink that money into large, corrupt systems (such as some 3rd world governments) that at best use it inefficiently and at worst make the problem worse...

Which is, I suppose, the point. There is no single solution, a combination of outside groups and internal tools are needed to resolve systemic problems. The can't be fixed exclusively from the outside.
I would certainly hope code written today at least _could_ last until python 4. The idea that everything has to be rewritten just because of a language version bump is a flawed thought process IMO.
Hopefully ffmpeg will get speed improvements for H.265/HEVC, last time I checked it was way to slow to be used.
There's always Nim if you want nice syntax but then you're working with a garbage collected language without a borrow checker.
I get the sense Manhattan was established, and then tapped out, hence Brooklyn. Whereas San Francisco is neither of those. San Francisco is the hip place to be (for tech) and Oakland is perceived as the fallback for companies that can't afford to host. Which really surmounts to: I would much rather work in SF than Oakland (I really base my decision on what food & bar options I have around me, though).
Inside the Lab Where Invisibility Cloaks Are Made
I wonder if this Night Shift feature has anything to do with the rumors of Apple switching to OLED displays for future phones. Reducing the amount of blue light emitted dusk to dawn would help extend the overall life of the panels.
The thesis is not "22yo's can't solve problems!"

The thesis is that when you look at someone else's problem - someone that you don't know, understand, know their culture, see the situation leading into it, or the ripples coming after - that it looks simpler and more obvious than it really is. It's a variation of the "grass is always greener" mindset.

All of those sticky, messy details are hidden away. Some of them because they're cultural things the participants take for granted while others are glossed over because they distract from the story being told.

If you want to solve problems, great! Do it!

But make sure you understand the problem before you offer your solution.
CS:GO economy hit by counterfeiters
You can compare various codecs: HEVS (x265), VP9 and the latest Daala build) at:

https://arewecompressedyet.com/?r%5B%5D=x265_1.6_ntt-short-1...

The results vary wildly depending on test clips, the metrics used and bit-rates, so an accurate comparison is quite difficult to do
Persona is the easiest one I've worked with, including usernames and passwords, because getting that correctly working with the best practices of 2015, even with built-in support in most frameworks, is and will always be a PITA, and heavily dependent on fragile DB schemas specific to a given framework's whims.

I think that usernames and passwords are "easy" is something of a sunk cost fallacy, both for developers and users, and we tend to forget how much time and effort we "waste" on this year over year. My password manager is up to hundreds of different passwords I use, and I know a lot of users these days whose "password" starts with the now ubiquitous "Forgot Password" button (which is its own headache to setup and get right), as they are okay relying on the relative security of their email address over the fragility of their own memory.
There is no need for a devil's advocate argument - having some diversity in recommendations is good for many reasons. But they they need to start by getting the base recommendations done well, and then mixing in the diversity. Sadly they fail dismally at the former.
When it comes to shared objects (.so, dll, dylib, etc.) not even C++ interoperates with C++, when two different compilers are involved. Name mangling is not standardized, so everyone does their own thing. This breaks binary compatibility.
Uber Trip Experiences
Import.io Raises $13M Series A for Its Data Extraction Platform
Interview with Oli Gardner (swearing left in)
Yeah, I just want to live my life as whatever the fuck random people who really don't give a damn about me (and vice versa) equate to being as "professional"… lol

Surprisingly, it doesn't stop people who want to work with me. I guess it helps when you can do useful stuff a couple standard deviations away from the vapid/banal bullshit most seem satisfied working on and aggrandizing such efforts :P
No, it means that the scientists were incorrect when thet built a model of a dinosaur from fossil, and the actual dinosaurs were smaller than the model predicts.
Can H265 benefit from Quick Sync hardware acceleration or is it just for H264?
Interview: Oli Gardner (Unbounce) and how he “makes it epic”
That's true until residents start to accept payoffs to defect, which is what's happening in SF when wealthy outsiders pay above market to get their hands on property.

Residents can do nothing and just let that keep happening, but if they do, they'll eventually end up getting priced out.
The reasonable solution is to use one of the many native tiling applications for OSX. I personally use Spectacle[0], but there are many others[1]. They aren't xmonad, but then again OSX isn't Linux.

[0]: https://www.spectacleapp.com/
[1]: https://apple.stackexchange.com/questions/9659/what-window-m...
You misread the article (six.PY3 is already like that).
I think the Toronto scene is the strongest I have seen. A lot of great companies doing exciting things and growing fast.
> It should never be the same step.

This is just going to be a preference then. I much prefer not having to type two things to do what's conceptually one: please build my code.

"cargo fetch" means you don't have to do the download step manually. IE, you _can_ do it in two commands if you'd like.

> It means it's pretty much random for your purposes.

We are just going to have to agree to disagree on this one. First of all, you _already_ need an equally 'random' binary: rustc itself. Which is also bootstrapped. Second, it's not clear to me why bootstrapping is valid for a compiler, but not for any other kind of project. Cargo is a build system, written in Rust, so it uses Rust's build system.
RBS: Sell Everything
The problem with the "Fallacy #5: The database is the wrong place for business logic" bit is that, even if you accept that there are things your DBMS can do better than your application tier can, if you shunt the logic for those things into stored procedures or the like you're splitting your application into two parts, each with logic written in different languages and stored in different places. Which makes it hard when problems arise to easily run down what their source is, since you can only follow the breadcrumb trail so far before it disappears into the black box of the other part of the system. And unless you are the rare unicorn developer who is as skilled with your database as you are with your programming language, that means having to rope someone else in to take it from there, which slows you down and introduces the potential for communications problems that complicate things further.

None of which is to say that you should never put business logic into the database, just that if your priority is to have a small team where everybody owns large chunks of functionality and iterations are rapid, taking a notional performance hit to avoid overcomplicating your architecture is a valid tradeoff.
Reminds me of when Linus tagged Linux 3.0 and it broke a bunch of peoples code due to their bad version checks. Linux 2.x had been going for about 15 years.
Why don't they just stop changing the syntax? They already ruined print statements. Don't engineers have better things to do?
This is worthless without a comparison to other engineering fields or other comparable industries like finance, management, politics, business, etc.

(Not saying it isn't happening, just questioning whether our industry is worse than... say... Wall St.)
Sharecropping literally means farming on someone's land and paying rent.
pretty standard stuff if you're familiar with python...
JOB: Reporting Analyst, Farmigo (Brooklyn, NY)
It's bit more complex than that; it uses challenge-response system, the "FGTA..." string is used as a "key"
Check out amethyst

https://github.com/ianyh/Amethyst
It uses a kind of challenge/response, where the device provides a salt that is used with a hardcoded password for that account. It seems to look like 'AK1' + base64(salt|SHA1(salt|password|Fortinet magic)) according to http://fossies.org/linux/john/src/FGT_fmt_plug.c, a cracker for Fortigate passwords.
these companies (snapchat, uber, dropbox, pinterest, etc) are rapidly growing, that's a major why
This is a joke, right? Obviously we can't write code that will work on python 4.
When Restless Billionaires Trip on Their Toys