skysight-inc/HackerNews huggingface dataset:
try = IF IT BLEEDS
catch = WE CAN KILL IT
I asked a lot of questions. Some were oddly-specific, and usually (but not always) answered in the negative. If the answer was probably already supplied by context the question would be rather general, so as to avoid putting my foot in my mouth like that one time I made an assumption about where the passenger was going...

This is something I intend to flesh out some day on my site (url in profile).
The hardware and software changes. The infrastructure it connects to changes. But most importantly, your workflows must evolve if you are to remain efficient.

All true, but in a larger organisation with all the overheads and co-ordination that entails, you're looking for a pace of change measured in years, not weeks. You have better things to do than constantly redoing work you already did because software changes, and IT systems that aren't set up accordingly are simply failing to meet one of the most basic business requirements for being useful.
dude wants a motor bike he can ride in bike lanes and pedestrian paths.

you can get a 3000w+ motorbike thats electric if you pass a motorbike license ans drive it on the road.
I mostly agree, but I felt like they were bursting at the seams to criticize Trump. Hardly a piece on the site that I RECALL had anything positive to say about the Brexit, Trump, or other movements. I like to read positive and negatives for both. Overall, a good site/magazine.
ProxySQL vs. MaxScale: Persistent Connection, response time, and bugs
I know this isn't always the case, but how does one note competency in a given language or with a given tool(set) while fitting a resume on a single sheet. Especially if it's for a senior/lead or higher position?

There's a lot that's broken with the hiring process. One of the toughest thing as a potential candidate is how to properly tailor a resume to fit the bill without "gaming" the hiring process. There is no standard - only methods that work better than others in most situations.
In the given case, it's actually the "English words" limitation that saves the question. An exact answer to top-k problems is O(N) is storage space where N is the number of distinct items. So since N is ~200k, it's not a terrible problem to deal with. When N is 3 as in your given case, it's not really a problem. The general case, of when the stream is unbounded in the number of distinct items, is much harder, say the stream is 1 quintillion non-repeating words, then starts repeating. This requires an approximation algorithm, but is not likely the solution that was looked for since the person specifically said "slight less trivial", and the streaming approximation algorithm is more complex.

Though it could be still be saved by flipping the question back onto the interviewer's phrasing. They said "don't run out of memory", not "don't run out of disk space". So you could also solve this problem by, for example, writing the data into a database, then using SQL group by and top X functions to solve it once the stream has ended. But as an interviewer, I probably wouldn't be amused.
Popular HN Deep Learning Stroies
Washington Post became so profitable in 2016 because of the constant Trump bashing (deserved or not, but that's not the point here), so mainly from opinion pieces, not "investigative journalism".
The tallest building in Poland
But does that actually translate into a better user experience for you? It doesn't seem to for me.
Everyone calculates. In my mind, "shut up and calculate" refers to a very strong emphasis on calculation and symbolic manipulation to the near or total exclusion of conceptual analysis expressed in words and pictures.

In particular the "losers" at the 1927 Solvay Congress -- Schrodinger, Einstein, and de Broglie -- seem to be the antithesis of "shut up and calculate" and all contributed very critical elements of quantum theory.

Schrodinger found the Schrodinger equation, the differential equation that describes so much correctly, through his approach. This is significant because the operator methodology of Heisenberg and Gottingen either did not work, despite the claims it is equivalent to the Schrodinger equation, or was essentially impossible to use to make predictive calculations. Schrodinger's publication of the Schrodinger equation provided an easy way to calculate results in QM that proved correct using well-know differential equations/calculus methods.

For whatever reason, perhaps to keep their research program afloat, the "winners" at the Solvay Congress jettisoned the conceptual underpinnings of Schrodinger's approach and married it to the operator formalism leading to quantum field theory with its intractable infinities and other problems that remain to this day.
Rust has very limited higher-order functions. True functional-style HOFs require passing around arbitrarily-sized heap closures, which doesn't work with rust's memory model. You cannot, for example, have a vector of functions in rust. You can sort of get it with boxed closures, but it's very inconvenient compared to in any of the languages I mentioned. That's why I didn't include it.
It's always been the problem that the previous social orders tried to excuse as a natural consequence. Be it divinely ordained or a material necessity (calling the rich job creators when in practice their ventures act as a conduit for which demand is satisfied). Folks like Adam Smith and David Ricardo were acutely aware of this (go back further still to Thomas Aquinas and the scholastics for just price theory) problem but people continue to clutch pearls whenever any distributionist notions are entertained. It seems to me that it's time to push back hard against anti-distributionist (be they anti-Marxists or otherwise) because it's gotten to a point that the next generation after the Millennials may be poorer than them.
Truck Alliance raises 115M for an Uber-for-trucks logistics platform
> "It's much better to move fast and iterate quickly than to create an illusion of care and add friction to every aspect of the development process."

This!
I've been using PHP for most of my life, and used various template engine and it always end up with one question : what is the real purpose of a template engine in PHP instead of just using PHP ? When I see the examples in twig homepage it just looks like they tried to make PHP examples verbose for the sake of it.

I don't really mind them, but I find it extremely boring to have to register in the template engine every function that you will end up using somewhere else in your code and eventually have a language with less feature than plain old PHP and an other layer of cache.

So which use cases make you need Twig, for instance ?
Damn right. I remember playing the original Unreal Tournament and if you had a ping time under 350ms you were doing incredibly well. It was about the slowest you could have whilst still having any chance in the game.

And that was of course fine until these people with cable or DSL broadband started getting in on the act with their 70-80ms ping times, and wiped the floor with all us saddos still on dial-up connections. (Or equally, you'd get some cocky sod jump on from their university network and, equally, annihilate everybody else.)
We use a lot of open source packages at work and if something is wrong, it is equal responsibility of us to fix it. The hardest part (or) blocker is understanding the large codebase (A good read - http://devblog.nestoria.com/post/96541221378/7-strategies-to... ) Don't be afraid to ask questions in IRC (or) mailing list. Get started with mentored bugs. When you fix couple of bugs and understand the codebase, you will make/find more time to contribute to the project.
The man who tried to make human-ape hybrids
How I Write Tests
Try porn mode.
Game in-app purchases are warping kids’ understanding of basic economic ideas
Try Al Jazeera English.

It's not completely without bias (no one is, especially the BBC running scared of their own shadow post-Hutton), but it is a good place to find other points of view and shows some incredible documentaries and highlights some stories from around the world that western news channels just ignore either because of cost, because they are beholden to corporate sponsors or because it's just not entertaining enough.

As with the BBC, having state sponsorship can actually work well to provide funding to fill in the gaps that market-driven news leaves behind.

Yes, it happens that the country sponsoring Al Jazeera is a piece of shit for human rights and democracy but this isn't reflected in the output of AJE which feels like it has a good degree of editorial independence. It's not Russia Today by any means.
There's also the concept of the spirit of the law.
There was a lot of stuff in the 1930's that was not so great, but we don't know what the 2030's are going to be like. Making the question hard to judge. However, if you would have said 1900 vs 1800 that's a more interesting question and I would probably pick 1800. But, I would also pick 1950 over 1850.

More interestingly I would pick 10,000 BCE over 500CE if I was stuck in a random body, but 500CE if I got to chose my parents.
It's a sad state of affairs when the Economist, the mouthpiece of globalized freemarketeer elites, can be nonchalantly branded "left-leaning". Left of whom, Darth Vader?
These are literally consecutive sentences:

"Ebikes in China... got so out of control that many large cities have banned ebikes (known as ‘silent killers’) from the major roads to cut down on the massive number of traffic fatalities that happen from people riding ebikes. Ebikes have the potential to solve most of the traffic problems in many of the major cities (not to mention global warming), but instead of embracing them in the US lawmakers shun them entirely."
I have no idea, but I would strongly suspect that they have two batteries, and keep one in a charger inside the restaurant. It's not like they're going to sit outside and wait for it to charge when there's work to be done, right?
> By the way, technically in the EU there is no power limit. There is a 250W 'continuous' power limit, but 'continuous' is never defined, and Bosch's bikes go up to 500W for at least 10 minutes.

It's not defined, but the way the law is applied it's based on the rated wattage from the manufacturer (i.e., what's stamped on the bottom of it). Most bikes you can buy in EU go over 250W but the motors are rated by the manufacturer as 250W. My 500W motor will never be legal because it was rated 500W by the manufacturer (even then, in reality it does 700W continuous with ~980W peak).
Sales is challenging for every business. If all your work has come through client references and personal networks, talking with clients and references is likely to be a fruitful path to more work.

Well established and known consultants may occasionally get work solely off their internet presence. But mostly their websites support their other marketing channels: their websites provide more information to potential clients that have heard of the consultant by other means (not via Google SEO'd search).

Good luck.
I think that safety is often doing small things clearly. When you read about thread safe computing, you end up with many rules FP make impossible. So even it's mostly safety, it encompasses a larger area in disguise.
I think there's always been a "just ship it" and "let's make sure it's well tested" split. I find that there's also the cowboy coders, who tend to create nasty problems constantly pushing to production and breaking things for users, and the folks who push to production often but make sure what they've pushed is well covered by unit and functional tests, as well as having been properly designed and signed off before starting work at all. The former seem to have commented a lot on this article, which I find quite sad if it's a growing trend :(
I wouldn't deem my sentence as blaming. But I don't think collaborating with what reads from the article with one person (read: Rajeev) as an ambitious yet confused grad student, for what seemed as years, is the right way to go about seeking the Holy Grail. Especially considering the Holy Grail was something arbitrary Henderson had concocted in his head.
Correct. True functional-style HOFs require passing around arbitrarily-sized heap closures, which doesn't work with rust's memory model. Rust lets you Box closures, but it's very inconvenient compared to treating them as first-class values, so I didn't count it.
The oil & gas industry in Texas is just like that. Someone else mentioned Silicon Valley too.

We need to figure out how to expand this to other regions and industries.
Depending on the platform, there's at least 2 ways to do that :-)

E.g. - "functional" is simply something like:

subset = filter( predicate, superset )

... but on a "procedural" platform, it's a bit more challenging, starting with how much space to allocate for the result, or whether to mutate the input, and other wading through the swamp.

But, yeah, I can see how it would get people to start up talking somewhere, or else go into "deer in the headlights" mode.
Thanks for posting this. It's incredibly Euro-centric to sit here and complain about the perceived child/human rights abuses that happen in China when those very exact things are what industrialized Europe.

I really wish we would all just spend more time focusing on our countries and improving our quality of life through trade and the free exchange of ideas. Other countries don't have to listen to our lessons or advice, or our experience, but being critical gets us nowhere.
al jazeera wears their biases on their sleeve, when I read something from them I know to read it with the understanding that its from the Qatar state-run media outlet. My primary issue with outlets like WaPo is that they pretend to be objective journalism while publishing rather blatant propaganda pieces. Same reason why I can (and do) read sites like breitbart, they don't pretend to be objective news sources.
I dont get ebikes. Surely the extra weight of a motor + battery offsets any advantages. Whats a more efficient source of work than the human body?
I average about 25kph on my road bike, on extremely hilly/crappy roads out where I live. I've gone over 70kph on it, but I would very rarely do that as it would be dangerously fast in most situations. If you cycle in and out to work every day your performance will increase as you get fitter / build up certain muscles. Cycling is an elegant, low carbon, solution to commuting + getting enough exercise.
> Why is it that product built in foreign countries that do not adhere to US laws and regulations on manufacturing and labor are allowed to be sold in the US?

Because of our trade rules. Modern trade agreements are pretty much about mandating labor/environmental regulations and respect of IP (mainly pharma/movies/music) in exchange for easier access to the the US market.
That's what I meant, I'll leave the comment as it stands though.

Edit: I guess you could say, that was the spirit of my post :D
Right, I'm basically saying the a separate service / utility would generate the image which would, in-turn, be placed in a markdown doc.

An inline image, as unnatural as it might appear in a markdown doc (as the DF post notes) is more "readable" in plain-text than what is essentially a block of YAML for configuring a chart in the middle of a document.
The cube is too distracting for most people to be involved in regular daily work, but more subtle 3D desktop effects really do make the experience more pleasant and are an important part of a modern, functional desktop environment. The "Expose" functionality popularized by OS X is one example of one such widely used and fully incorporated effect. Others include smooth animations on minimization, smooth flyouts (e.g., Windows 10 Start Menu), transparency, and tiling effects.
Its the safe and performant that attracts me.

If you look at Rust from C then the point is safety, but if you look at it from the other direction, e.g from F# then what attracts you is that you will get the same safety guarantees (and perhaps a few more) but without the GC and heap overhead.
I would say The Intercept is pretty "neutral" - but less in the "we don't take anyone's or anything's side, ever" (a mantra the NYT also abandoned in 2012, because it found it lacking - like with climate change, etc) sense, and more in the "holding government (whichever it may be) accountable for wrongdoing" sense, which I think is the original purpose of the media (or at least the purpose most democracies attribute to the media, even if that's not true in many cases anymore).

I thought this article described rather well the main problem with the media today and how it could get back on the right path:

https://popehat.com/2016/12/15/deserving-trust/

The mainstream media is just as responsible for the rise of fake news as anything else, if not more so. If it didn't give people a reason to distrust it as acting not out of principle, but out of love for a certain faction of the government, perhaps fake news wouldn't be such an issue today, because most people would keep reading the same mainstream press, knowing they can trust it.
Working with designers who just want to make a few changes. All that PHP can be intimidating, but basic templating is doable.
To point one, a former co-worker of mine cooked up a great algorithm that measured how much time a user spent on your site and how far down they scrolled and then presented that as aggregated data on the different levels of engagement users displayed.

It was brilliant work, and exposed deep flaws in many customer's traffic data. But no one cared all that much and it became a buried tool in a much bigger startup idea.
Cool! But let's get classy too:

http://shakespearelang.sourceforge.net/report/shakespeare/
Hey thanks for these donated my share, is there a phone number I could reach to conduct an interview?
I would highly recommend the VR demo that you can download for free if you have Battlefront and Playstation VR. Played on it at a friend's over Christmas and was absolutely blown away. The resolution isn't awesome but it's so well done: there's literally no perceptible lag when you look around so it's a much more immersive experience than, for example, demos I've played on the Oculus Rift.

Went home and immediately ordered a PS4 Pro and Playstation VR on the strength of it. Wondering how hard it would be to start hacking around with it. Honestly, I haven't been blown away that much by a game since I the first time I played Doom way back in 1994.
Out of interest, what breaking changes have been introduced to C in C99 and C11 (I’m assuming we’re using C89 as a baseline) beyond changes in corner cases in tokenization due to the introduction of “//” comments (and perhaps the removal of gets)?
I so want to enroll and take the OMSCS; I know I could succeed at it if I took it, but the school requires you to have at least a Batchelor's degree to attend (they don't count work experience in software development - so my 25+ years mean nothing).

I found out about the OMSCS after I started my work on Udacity's "Self-Driving Car Engineer" nanodegree course, which I am currently taking. My plan (hopefully) is after I complete the nanodegree, I'm going to take some kind of online BS program (maybe accelerated if I can find one), then hop over to the OMSCS (hopefully it or something similar is still running). I mainly want to do it to prove to myself I can do it - I believe that I can.

I made some early life choices that have led me to where I am at, and while it hasn't hindered my job or career prospects, I have always wanted what I should have done in the first place.
> “We could soon have security cameras in stores that identify people as they shop,”

I stopped using Facebook 5 years ago because I noticed using it made me unhappy. I continue to not go back because of privacy concerns like this.
Is that a plus or a minus? If you're not a purity zealot, then you can step out of those rules where it makes sense, and regard the ability to do so as a plus. If you are a purity zealot, you're appalled at the thought, and want to force people not to do that.
Rust has first class functions and thus has higher order functions. Iterators have a bunch of higher order functions, map for example:

let a = (0..10).map(|x| x*x).collect::<Vec<_>>();
I think the speed limits would be better enforced in a similar way as car speed limits are - instead of a limit on the controller, trust the rider to obey the law and bust people who don't.

A 25km/h speed limit is probably very reasonable in a dutch city. If I'm riding my bike on a deserted highway in Iceland with 150km between towns, allowing riders to go to 35-40km/h would make ebikes much more practical.

My main problem with the regulations is how they're all based around what a bicycle can do, which restricts development of new, innovative use cases for ebikes. The 250W limit was decided because that's what an average healthy adult can maintain for a decent amount of time. But why should an ebike be limited by that? I can get a cargo ebike that can carry 200kg of cargo, but that 250W motor isn't going to get it up the hill. A speed limit on that kind of vehicle makes perfect sense, but a 250W power limit seems much too restrictive.
Related discussion nearly two years ago on "The Tesla of Scooters": https://news.ycombinator.com/item?id=9431394
Better to say that The Economist is pro-globalism, right or left.
How is Rust better than and different from D?

https://dlang.org/

Does anyone concerned about security use D?
Thanks dang for commenting. I would like to see my past contributions - is there a way to see them? I can't seem to find that option.
Atom-in-orbit: Putting Atom in the browser
Uber mentality
The Morning After Hacker News
Creative Tim: Growing a side project into a $17k/month business
That, and it's going to be really hard to extract the facts of a case through automated means.

There are two big benefits to AI in the legal realm -- automation of rote tasks, such as constructing simple contracts, that companies like LegalZoom already do; and predicting outcomes of trials based on the lawyers and judges involved in the case.
Most stuff is at least secondarily labeled in metric units. In many cases the metric measurement is actually the authoritative one in the specifications and contracts, even when it's in smaller print or parentheses on the package.
25km/h isn't that much when you are commuting. The only thing it does is make it more attractive to drive, which clogs the roads.

At least make it the 30km/h mopeds are allowed to do on bike paths here in Denmark. Those don't require a separate license if you are over 18 either.
If you have a designer who's worked with templating engines in other languages (e.g. Django/Python projects), they already know what they're doing.

It also makes it easier to separate your presentation logic from your business logic.

For example: https://github.com/paragonie/airship/blob/master/src/Cabin/B...

This uses macros and other fun things. Doing that in PHP would get messy.

https://github.com/paragonie/airship/blob/master/src/Cabin/B...