skysight-inc/HackerNews huggingface dataset:
> Maybe passing around a random generator explicitly is not what we want.

That's fair. What I often want is to pull a function out of my program and test it without a lot of work. This is easy if the function is pure.

> My point is that hidden state is not bad when the explicit simulation of state is cumbersome to use.

That depends on your goal. If your intention is to make state explicit, then by definition there has to be more code to make it so. Again, a preferable abstraction for this makes the boilerplate go away, while keeping everything pure. That added effort gives you testability but I know there are instances where that effort is not worth it.
Glitch art: Meet the artist who knitted Stuxnet into a scarf
ML is easy to get set up, but often difficult to debug if you don't really understand the details. Within the last week I pair reviewed a recommender system written in MLlib (ala this post http://spark.apache.org/docs/latest/mllib-collaborative-filt...), that was doing strange things, despite performing well on a test set. It turned out the metric being used on that page was not a good one for our purposes, and the algorithm had zoomed in on a degenerate solution that nailed the test score. This was clear to me after about 2 minutes by looking at the auxiliary matrices generated. The less experienced person I was helping did not how to proceed.
So let's import Chinese and Indians and have them build it. If American labor can't get the job done, let's not use it.

The goal is getting train service rather than funneling money to unions, right?
Oh! I never was into BBS either (though I was into BTX for a bit as a kid haha), but I have an A4000T with a non-functioning HD.. I've been meaning to fix that up with a CF card reader for ages, and I think it's time. Bookmarked, thank you <3
I didn't say it could be built in it's entirety for a fraction of the cost, I said the existing air travel infrastructure could be improved and made more efficient for a fraction of the cost.
According to this blog post[0] the same used to be true in the U.S.---light rail was payed for by property developers.

Interestingly, he says this eventually led to the collapse of the Los Angeles street car system, because it was financed by the the increase in land value, and once the development was complete there was no longer a cash stream to pay for operating costs.

[0] http://kontextmaschine.tumblr.com/post/144726791758/was-thin...
> (Also I can't program while listening to podcasts, it gets in the way of thinking)

Agree to that completely.

I am anticipating a change in my commute next year. I may have to start using a car instead of public transport. The drive could be ~35 minutes. Thus trying to curate some content.
I think this is absolutely acceptable. Automatic updates are generally useful. I guess the only aspect to improve from a usability perspective would be making users aware of the fact that something is being downloaded in the background – think of app updates in iOS with the pie chart animation on the app icon. There could be a similar notification in macOS's menu bar.

The real problem, obviously, is that the OS itself does not know if it is tethered to a data-capped mobile connection or an unlimited fixed line. If operating systems (both on mobile and desktop computers) were built to handle the first case, the user would have an option to stop any background activity or app updates. Like a “data-capped mode” for the entire OS.

I frequently use my mobile (with limited data) to give Internet access to friends who come from abroad and therefore have no data roaming enabled. Of course, once these mobiles see they're on WiFi, they assume they can download app updates. With LTE, it's easy enough to burn through a lot of data in no time.
Curated list on awesome material on distributed systems: https://github.com/theanalyst/awesome-distributed-systems
Epson L805 Driver Download – Epson Printer Driver
I'm afraid the same kind of security theater would apply to a high speed train, though the chances of it being driven into a building are low, it still would be a choice target. I would take a few billion out of that 64B price tag and improve air travel security to make the checkin process take less time and be less intrusive.
Sooo crunchy there, jeez! Tunneling isn't as unpredictable as you suggest, rail lines are often completed on time and under budget[1]. When you do crazy stuff like try and build the largest tunnel ever built with cutting edge technology and don't plan for failure[2], that is when things go bad.

Luckily, rail doesn't need giant tunnels, tunnel boring machines for that size tunnel are a known quantity.

1 - https://www.ch2m.com/newsroom/news/new-seattle-light-rail-li...

2 - http://q13fox.com/2016/07/21/bertha-seattle-tunnel-project-2...
Totally agree, I've got a solid applied calculus background from my electrical engineering undergrad degree and some DSP in my first job, but avoided learning statistics and probability because I thought it was intuitive. But after doing a MOOC course on Machine Learning, I realise that statistics and probability is more complex than anticipated.

If you don't work on your fundamentals, you end up simply memorising the algorithms and basic applications. Much like the neurons discussed for deep learning, we need to create rich relationships between our own to ensure we retain and can apply the knowledge in the long term, which starts with laying a foundation of fundamentals.

For brushing up on those fundamentals, I recommend Bertsekas & Tsitsiklis : Introduction to Probability. Theory supported with lots of examples, as well as comparing the theory to "intuition" and why it is much more effective to apply the theory.
That's known as the Gell-Mann Amnesia effect.

https://seekerblog.com/2006/01/31/the-murray-gell-mann-amnes...
My dad told me the first time that he saw a television was in Ann Arbor, Michigan in 1947. He went on a sales call and noticed there was a crowd of fifty people on the sidewalk in front of a business.

He returned thirty minutes later and there were now a hundred people so he found a parking space and walked across the street. Everyone was standing around a storefront window watching a baseball game being broadcast on a tiny round screen, probably an early Zenith.

Wonder if there's any technology that would draw a crowd to a store window like that today?
Sure, if we restricted eminent domain litigation and returned environmental impact statements to being under 75 pages (as they are legally required to be already) we could build rail much cheaper, but Trump has not said jack in regard to getting that cleaned up.
I want to learn C++, specifically for the Ue4 engine. I have spent a few years using blueprints and prototyping games for mobile, PC and VR and it looks like I might be able to actually get into the VR thing full time next year. I imagine I will need to have a good grasp of C++ to really commit full time.

Planning to use the Unreal tutorials and then a few YouTube tutorials I found and I'll check out Pluralsight, and then just start building stuff!

I'm coming from a C# base so any suggestions would be greatly appreciated.

Sorry no links, on mobile and don't have access to my bookmarks.
Right now, if someone is clinically depressed, we just shoot their serotonin levels higher (SSRIs) without going deeper into the root cause of the lowered serotonin levels.

If we could pinpoint the places on that person's pathway of serotonin production and distribution, we could fix just the places that are broken. Essentially, getting the person to function normally with minimal side effects.

Not to mention all kinds of problems where SSRIs don't help, are too generic (because it's just certain receptors that are broken, so driving serotonin higher makes certain system go overdrive), or not effective at all at inhibiting the reuptake.

If I were to find a tech analogy... Imagine that we fix every car by attaching jet engines on it's back, without investigating the issue deeper. Jet engines will make the car go regardless of whether it's a broken wheel, messed up fuel injection, or whatever else.

But, having a jet engine has it's faults, and really sometimes a bit of scotch tape would help and do a much better job. It's just that we need to know where to apply that scotch tape.

Finally - right now it sometimes takes people a few years before they figure out the proper medication schedule. It's years of wasted work-hours, messed up relationships and life in general. Even if the cost was $20-$50k per one analysis - if the result was an exact schedule of drugs to take, and delivered within a week or so - it would still be a good investment for most members of society.

And the price might not be $20k in the end, but closer to $1k, or less. That's cheaper than ten visits to a psychiatrist, so it ends up better economically compared to current solutions.
See QuickCheck for Haskell https://wiki.haskell.org/Introduction_to_QuickCheck1
Theories for junit https://github.com/junit-team/junit4/wiki/Theories (see http://junit.org/junit4/javadoc/4.12/org/junit/experimental/... )
quickcheck for rust https://github.com/BurntSushi/quickcheck
etc.

There are many programming-language specific libraries for this where you define semantically appropriate suppliers of random parameter values.

It would be nice to use write tests like this, then run them to get a set of seed data for the fuzzer.
Uhh, they cut corners on their train cars. Where we allow 1 inch of crush when an impact happens and limited twist, they allow a foot & change, with significantly more twist allowed. There are other safety standards they are not bound to too, unlike rail in the US.
How to do nothing!

I want to learn how to chill out and take it easy in stead of cramming every single minute of my day with something or the other.
Convenient? To me adding cron jobs/systemd timers without question is user-hostile.
New poker app in the town
Play the online poker on Poker Square. Enjoy the fast, dynamic and customizable app!
Download here: http://psnow.co/psr
Mac Pro is ‘very likely dead’, developer Marco Arment says
Your example can be written more clearly (IMO) in Haskell like this:

sum $ map (^2) $ filter odd [1..10]

Or, defined as a function:

> let foo = sum . map (^2) . filter odd
> foo [1..10]
165

You can write it without using the composition operator at all, if you prefer:

> let bar xs = sum (map (^2) (filter odd xs))
> bar [1..10]
165

In general, you can write out your programs as crazy sequences of operators (whose precedence may not be obvious to the reader):

> take 5 . unfoldr (Just . next) <$> getStdGen >>= putStrLn . show
[1336079013,234736121,108049288,410228860,1573295749]

But you don't have to:

> let infiniteRandoms = unfoldr (Just . next) :: StdGen -> [Int]
> gen <- getStdGen
> let fiveRandoms = take 5 (infiniteRandoms gen)
> putStrLn (show fiveRandoms)
[1336079013,234736121,108049288,410228860,1573295749]

People seem to think Haskell is all about writing your whole program in a single hideous line of code with incomprehensible sequences of arcane operators glued together by a glut of anonymous functions, but that's just bad code.

As for left-to-right vs right-to-left, I have never had a problem with the way Haskell does it. I think if you're coming from a language that does it differently, it makes sense that Haskell would trip you up in that regard. Haskell's composition operator matches the way it's usually written in mathematics, but there's nothing special about it and you could change it to go the other way if you really wanted to (but please don't):

> let g . f = \x -> f (g x)
> let foo = filter odd . map (^2) . sum
> foo [1..10]
165

`(>>>)` from `Control.Arrow` is a more reasonable way to get that sweet left-to-right action but using it might still throw people off:

> let foo = filter odd >>> map (^2) >>> sum
> foo [1..10]
165
Ask HN: Should I get an MBA?
I'm graduating this year with a B. Tech in Computer Science. I have obtained a job at a leading tech company. Will getting an MBA benefit me if I wish to stay in the Tech industry?(I'm in india)
We actually did this with the Chinese and Irish immigrants [1], and some rail lines would kill off workers to avoid paying them once a rail line was complete.

That being said, American labor isn't the issue, Chinese already cost $4/hr and importing them costs quite a bit, whereas the labor market stateside is pretty soft in that segment. It likely would not make sense unless your good with mass executions to cut costs.

1 - http://web.stanford.edu/group/chineserailroad/cgi-bin/wordpr...

Edit: dmoy states labor is $4/hr in China, not $3/hr.
As an aside, my offer to help find learning resources stands, just say so here or shoot me an email.
Whether it is theft or not it does harm the compensation potential of whoever came up with the original IP.
If we can't figure out a way to deal with it in a couple million years, we deserve extinction.
Yeah, in China they lease the land out to the developments, so there is a constant revenue stream. That is illegal to do in nearly any other country though, the US included.
Cooking, Elixir/Phoenix, refreshing my French

Probably in that order.
I want to learn Machine Learning from scratch. Please let me know all prerequisites for the same. Please help me learn.
Freight is easy, a few hour delay while you repair some trackage, move another 100 car train, etc. is far from the end of the world. Comparatively, getting BNSF or UP to switch gears and be timely for passenger rail service is very expensive, esp. since they do not have an internal culture that supports that.
A mnemonic that helped me was learning relative notes in 'shapes' on the fretboard.

The octave is 2 strings higher & 2 frets higher.
The perfect fifth is 1 string higher & 2 frets higher. (Same shape as one of the movements of the knight/horse piece in chess :-) )
The minor third is same string & 3 frets higher OR 1 string higher & 2 frets lower.
The major third is 1 string higher & 1 fret lower.

On a normal tuned E-Bass this is valid for every string and every fret.
On Guitar you have to add "1 fret higher" if your start point is on string 1-4 (E to G) and the target is on string 5-6 (B, e) because the interval between string 4 and 5 is different (major third instead of perfect fourth).

Good Luck in 2017! My goal is also "continue learning Clojure and build stuff with it"
Largest DDoS Attack Ever Mitigated – 650 Gbps
I'm not sure why you're telling me. I haven't upvoted this story; I haven't tried to defend this submission.
Brother DCP-1610W Driver Download
>In 2014, the only legend was Robin Williams.

If you don't count Shirley Temple, Joe Cocker, Mickey Rooney,
Jack Bruce, Richard Attenborough, Gabriel Garcia Marquez and others.
The basics of what's required to become a quant for trading algorithm research. I already do a lot of linear algebra and calculus in my day job, and I love the challenge. I also have some experience with competitive predictive analysis during game AI competitions, which I turned out to have a knack for. I see Ito and related fields as the next level, and the money doesn't hurt either.
Seen this? http://superuser.com/questions/834475/how-do-i-wipe-a-micros...
Welcome to Gitea
Show HN: Has LinkedIn Killed Online Privacy?
Lol - welcome to the club! (the confidence) find yourself a good business coach. You may burn through a few but that's all part of it.

I can relate to your comments, I was there about 18 months ago. You would be surprised just how many people talk about confidence (or lack thereof). Also, look for a good mentoring group. Find people that are on the same path (family / business / financial).

If I can help, my email is in my profile.
The piece of paper may or may not be worth much. But, especially coming from an Indian tech environment, an MBA provides important skills to analyse and understand the entire business environment -- marketing, finance, organisational behaviour, etc. This is important both as a developer to understand why decisions that might not make sense from a technical perspective are made and will also help you in a startup or other entrepreneurial environment where you need a wide approach.

Unfortunately MBAs are becoming too common and qualities vary widely so only some MBAs from top tier schools offer the salary boost that they used to provide.
I'm in a similar position. We should create a group for the subset of solo founders who are inclined toward product and not sales. It is a tough position to be in for sure (though I imagine the inverse has its own problems).
Creating an ELF Virus with Assembly
>As news these days is generally aimed at boomers

Enough already. No boomer myself (born in the eighties), but we have been hearing this crap and people blaming the boomers for like 3+ decades.

News today is not "generally aimed at boomers", except if Kanye and the Kardasians are of interest to boomers...
How is the farebox recovery rate on roadways in Oregon State? Wait, I forgot, those operate as a massive money bleed.

In regards to headways, unless you are fully grade separated you can only go so tight with scheduling (fuckin' cars man, fuckin' up my mass transit!), also the number you cited appears to be made up, please cite sources.
That is a bit unimpressive, right?

They could just randomly pick anything from the menu, and say it was because of the scan, and it would still have the same PR effect, wouldn't it? (since no one would suspect it of getting it perfectly right in the first place)
YouTube requires YouTube's new “survey” for AdBlock/uBlock/Origin Users
Needless to say when it comes to roads they're opposed to tolling, and aren't willing to staunch the bleeding when it comes to maintenance or roadway construction.
To who it may concern:

Title was too long. Hence, I "summarized" it.
Yeah, aside from the sexual revolution, rock and roll, civil rights, protesting against the vietnam war, creating anything from rock'n'roll to Detroit Techno, and working their ass off for 40+ years, what have the boomers ever done for us?

Meanwhile, the Gen-X, millenias, latte sipping hipsters, etc generation have achieved so much...
Overcast for Android is rubbish, though, anyone have any alternative recommendations?
I suffer from the same problem, I started meditation this year and that's what helped me the most to combat this.
Hope This Helps.
I recently started to brush up on my Linear Algebra and found this very useful

https://m.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVF...
Worse yet, Hyperloop would move 1/20th the passengers, to the tune of only 1000 people an hour. Hyperloop is horribly inefficent, and has worse right of way needs & engineering costs compared to High Speed Rail, not to mention the lack of existing talent to build it.
Tinder helps.
Partner at a global law firm charges ~$1k/hr, this would take 500 hrs of their time and 1000 hrs of an associates? Seems a bit vague?
Uhh, you can't take a train very far off its tracks, unlike a car, truck or plane.
> Buildings are much more complex in the way they live and breath and the ergonomics they offer than what a lot of people give them credit for.

Too true. Anyone interested in this topic should check out "How Buildings Learn". Well worth reading: https://www.amazon.com/How-Buildings-Learn-Happens-Theyre/dp...

Also made into a 6-part TV series by the BBC: http://www.openculture.com/2015/07/watch-stewart-brands-6-pa...
For sure, completely understood, but it's hard to say that something exists without giving some kind of evidence that it actually does.
Diving deeper into Rust. It strikes me how this language is exactly what I want in the future. From building Webapps/services (good libs/frameworks will arise) to codify algorithms as efficient as possible, and so on.

I have some libraries that I tend to rewrite for every new language I learn, but once I wrote something in Rust, its written once and for all, highly efficient and considerably safe, and I can use it from all other languages (node, elixir, ruby, ...).

And I have high hopes for webassembly to replace the brittle and overcomplicated frontend stuff in the next years, Rust should be the ideal candidate to write enterprisey stuff which must not fail.
Senior leader at Facebook's Oculus arrested after allegedly soliciting sex
Shellcode: A Windows PIC Using RSA-2048 Key Exchange, AES-256, SHA-3
To be fair this thread is an example of the Haskell community agreeing with you: https://www.reddit.com/r/haskell/comments/2ory86/there_is_a_... (2014)

After using the language for two years I find that the types are actually enough to understand a new library, however, am taking for granted that it's an acquired skill.

Looking back I do recall being in the same position as you, someone who just wanted to wrap their head around something and get an example working. I was stubborn and plowed through things I didn't understand until it clicked, but do realize that not everyone is as hard headed as myself.
China and India do not currently execute their train construction crews, so I don't see why we would need to.

If we can hire American labor for cheap (i.e. less than Davis Bacon wages) let's do that - but then don't use labor costs as an excuse why CA rail costs > 10x what Chinese rail does.
1. Raise my algorithms bar. This will definitely boost problem solving skills in general. I'll do this mostly via Competitive Programming.

2. Get one open-source project shipped.
2016: The Year That Deep Learning Took Over the Internet
How to Communicate Hidden Gestures in Mobile App
like npm?
Why the Computing Cloud Will Keep Growing and Growing
The Rise of the Intelligent (cloud) Machines
There's a 3rd factor: memory. I.e. a somewhat static NN can still make input/output to more dynamic memory.

E.g. you could have basic feature detection (edges or maybe even something relating to facial features) prebaked into your visual system. General object categorization gets learned by the visual system while recognizing locations where you have been before needs to access memory.

Of course in the human brain memory is just another big web of neurons with different tradeoffs, but in software you can use other things.
> improve air travel security to make the checkin process take less time and be less intrusive

Air travel security in the US isn't meant to be good, it's meant to be visible
Why Python Is Not My Favorite Language
I've been interviwing for ML positions and what struck me was the general disdain for details. I had one manager claim that they're set to beat their competitors now because they're moving to GOOG's new tensorflow. Others knew little more than Tensoflow and Backprop.

Frankly I regret spending time understanding all the math, instead of working for some company, munging through their data and applying some black box stuff. The hype is quite bad IMO.
A Glimpse into Features of High Frequency Data
WordPress 4.7 è arrivato Ecco le novità
tl;dr; those prone to schizophrenia may increase psychosis risk if they are consumers of marijuana.
It is simple really, it has gotten to large to work. Worse, far too much of it is not accountable to anyone. Look at the VA, how can this have gone on for so long and how is it even going on now?
Ask HN: What would happen if Trump's Twitter account got hacked?
And why doesn't anyone see that at a problem?

I imagine his password isn't hard to crack either its probably something like landslide2016

lol...
Sam Newman's The Magpie Talkshow http://samnewman.io/podcast/
Ask HN: What are the technical skills you have aquired in 2016?
What was the interesting problems were solved with your newly acquired technical skills in 2016?