skysight-inc/HackerNews huggingface dataset:
I don't have anyone in my circles and enjoy the guilty pleasure of seeing the auto suggested bland but worldly "interesting stuff", hot cars, volcanoes, a spicy recipe, pictures of mars,smart quips and bold quotes with pets followed by my favorite happy ending of finding where click to log out...
Is there any way to suggest improvements, or heck, raise PRs, instead of using the feedback button?

For example, the for in Python should include an example using enumerate too which I'd be happy to add and contain some additional docs on xrange vs range in Python 2 vs Python 3.
Is there a reason why this isn't an add-on to something like grease monkey? Just simply inject a little script into the page if the URL is GitHub and change the styles there? I don't normally personally do anything web wise but I've heard grease money is good?

I haven't added this to my browser, but how well does it display code too?
I assume it's a running success rate.

It's making a (hidden) prediction about what key you'll press, and it's displaying the number of times it was correct over all your key presses.

So, the more you've pressed the keys, the less each successive press will change it's overall success rate.
Google Cars Are Now Allowed to Honk
Hey HN, I'm Denis, one of the creators of Mediachain. Very excited to be on the front page twice! Happy to answer any questions!

For more context on the repo, here is our latest developer update, and feel free to check out the other posts!

https://blog.mediachain.io/mediachain-developer-update-x-c0b...

We also have a public Slack and invite anyone interested to participate: http://slack.mediachain.io

This Co.Design article does a great job of explaining how Mediachain helps creators:
http://www.fastcodesign.com/3060426/could-blockchains-solve-...

Here is our official fundraising announcement with more details:
https://blog.mediachain.io/mediachain-labs-funded-by-union-s...
Prince Charles claims that 'climate change is to blame for Syria’s civil war'
What Are the Biggest Content Marketing Strategy Mistakes?
Mistake #1 — Content strategy is only for the marketing team

While it is essential that marketing should own content strategy, it’s also critical to involve the whole company and especially sales and customer success to your content strategy and content creation process. Sales reps are hearing the same or similar objections during the sales process and over time they understand how one message can be more effective than other. Customer success teams frequently receive the same questions from multiple customers, so why can’t this information be used in content creation.

One of the most underrated and, at the same time, the most effective ways for company to create high performing content is to use internal customer usage data. If you sell a solution for outbound email automation, dig into your internal data and share data about average response rates, best days to send emails, how many emails it takes to receive a reply, how many steps the average outbound sequence takes, and so on. Your customers will love this and your competitors can’t easily replicate it.

Mistake #2 — Not creating a clear positioning and story

The way you position your company and product will drive your content strategy: what topics to write about, what voice to use, what terms and definitions to include in your content writing. Check out a few examples of how top tech companies position themselves to increase brand awareness and recognition.

Mistake #3 — Starting with content before creating target customer profiles

Mistake #4 — Focusing too much on awareness content and not enough on educational

Mistake #5 — Not taking content distribution seriously

Mistake #6 — Giving up too quickly

Read more about content strategy and how it impacts customer acquisition:
https://medium.com/@myxys/how-to-track-customer-acquisition-9d04b903535#.7va5h1v1f
Hey Denis,
What differentiates your company from the hundreds of other "blockchain-based" identity companies that do almost the same thing?

I've seen a lot of companies throwing around these exact buzzwords and fancy landing pages for 5 years now and most just seem to be raking in VC funding while fading into obscurity a year later.

There's a list if you scroll down on this link:
http://www.blockchaintechnologies.com/blockchain-companies
Pill is almost 400 lines just for the grid. Here's a 48 line alternative that's customizable:

https://github.com/doximity/vital/blob/master/source/stylesh...
Fleet died once Kubernetes became a thing, even though they serve entirely different use cases.
oh I agree completely. not to mention those nasty dangerous benzedrex inhalers. I'm all for full legalization of all substances combined with harm reduction and education.
Is this based loosely off JetBrain's style? I notice they said "twilight" which looks/feels awfully similar (which is my favorite).
And Mr Strong https://www.fbi.gov/news/pressrel/press-releases/john-a.-str...
Not odd to include the null terminator if you want to ensure another string is "equal to", not just "starts with" the string you're comparing it to.
I work on the Watson team, so I'm probably biased, but I think our AlchemyLanguage Emotion Analysis is pretty good: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercl...
Just a small utility for people who are tired of remembering what babel presets or Webpack loaders they need to build a relatively up to date React project.
CSS Zen Garden was more close to art than to real world production work. It existed to draw a line between the old days' table-based layouts and what CSS brought to the table.

In those days CSS was perceived as not powerful and flexible enough, and capable only of boring boxy layouts (which is in fact the favoured aesthetic nowadays) and CSS Zen Garden and other similar sites existed to disprove that notion.

Also, some of the core ideals of the time, like obsessing over having 100% semantic markup and the ability to change styles without having to touch the markup turned out not to be that important.

And, lastly, if you look at the provided source in CSS Zen Garden you can see that it has a lot of DOM affordances like classes, IDs and even some extra markup to make sure that the CSS author had everything she needed to make his design work.

source: I got a design published in the garden a long time ago http://www.csszengarden.com/110/
>Maybe it is. Maybe it isn't.

Haha, the philosopher arrives.

OK: Is civilization beneficial to society?

Was stopping hunting/gathering and loading ourselves up with long work hours and unhealthy civilization-required carb diets beneficial?

If you want to play the game of philosophy like this then we can just as easily argue that electricity, the internet, the internal combustion engine, coal-derived electricity, splitting the atom, computers in general, the Green Revolution of agricultural modification, all of this isn't beneficial.

But, if we dive under the clouds and use a bit more grounded definition of benefit, it becomes much harder to dismiss the benefit of real utility.
I'm also using the Python-based Pelican for my personal blog [1]. I was originally using a homebrew solution, but decided to switch over to something a little better-tested. The Fabric deployment options [2] are really great. Of course the static nature means that a JavaScript-based comment system is needed, for which I'm loving Isso [3] - it's self-hosted, lightweight, doesn't have spam issues and respects user privacy.

[1] https://mikeanthonywild.com

[2] http://docs.getpelican.com/en/3.6.3/publish.html

[3] https://posativ.org/isso/
I’m an admirer of the writing of George Orwell so I thought it would be fitting to paste the first two paragraphs of his 1946 essay, “Politics and the English Language”.

It suggested removing a number of modifier phrases. These phrases were not redundant and removing them would result in loss of important detail, information and/or emphasis. In some cases removing those words would result in nonsensical or syntactically incorrect sentences. Further experimentation showed that it complained about “mostly” and “many” as modifiers but not “some”.

It highlighted a number of long noun phrases but none of these could be suitably shortened, and Orwell’s uses of the passive voice were mostly appropriate; re-phrasing these to be in the active voice would result in awkward prose. Its left branching sentences were not rambling at all.

On the plus side, I thought its highlighting of long sentences worked well but not all long sentences are difficult to parse and a succession of multiple short sentences can have an unnatural rhythm. It also failed to take into account that colons and semi-colons can be used to separate main clauses.

I wouldn’t use it myself, but I can see how it could be a useful tool for considering how a sentence can be rephrased and encouraging awareness of the issues it highlights.
You're not the one that gets to decide if that was offensive. If he was not comfortable enough to be out at the time that was written, then yes, that could be completely offensive to him.
Uber ran a promo recently when the expo line opened to discount uber pool to or from a station. Uber/Lyft has already beaten the taxis opposition to picking up at LAX. They don't seem to think of these transit options as threat like the taxis do. Maybe more public transit enables more people to ditch personal cars and increase both public transit and uber. I know that my Uber use has increased after moving to more bike commuting.
Pretty pointless article: "Is it a myth? Yes, because!"

Not writing this article would have saved the author an hour already without any loss of information....
Agreeing to all the whims and fancies of western companies is something governments should never do. In my view free market is propaganda by these companies to make these kinds of restrictions feel dirty. Before you attack me, hear me out.

China has many such restrictions on many such products. China blocked out internet and internet companies, which resulted in home grown products emerging and becoming really successful (alibaba, tencent, baidu, didi etc). Indian government did not put any such restriction on virtual products. This has resulted in Google, facebook and microsoft having literal monopoly on the market. There are some restrictions for companies like Amazon and Uber. This has resulted in a healthy local competition and ecosystem to develop and compete with international competition like Uber and Amazon. In the end, some of these local companies won't survive independently and got bought by international players. This, in my view, is a much better outcome as this makes international players to entrench heavily and invest in the local market.

Lets look at telecom, banks and airlines. Govt discouraged entry of foreign players into Indian markets by making rules of entry tighter. This has resulted in companies like Airtel, Idea, Reliance and Tata to become strong players in telecom. Believe me, Indian telecom sector has lowest tariff in the world and has really huge reach with more than 850mn subscribers. These companies have innovated and made sure that global competition did not kill them. Sure some companies got bought by likes of Vodafone. However, companies like Airtel managed to go global.

In banks, none of the foreign players have managed to pickup any significant market share in view of healthy competition by private Indian banks like HDFC and ICICI. In airlines, again, government disallowed foreign players. They have to be content with buying large chunks of really successful Indian homegrown players.

Lets look at mobile phone market. Indian government did not put a barrier for phones to be imported. They just blocked second hand phones by slapping a large anti dumping duty. This has resulted in virtually zero production of these mobile phones. With more than 400 mn smartphone users, who lost by letting big smartphone makers to import ? No Indian homegrown industry, no ecosystem. All they managed to do is to make sure all these phones where new and not refurbished.

I strongly believe that big countries like India, should have some sort of protectionism in the infancy stage of an industry. When you have strong local competition, only then these markets should be opened up for global competition. If the local competition that has managed to sprout is capable it will ward off global competition and establish a healthy equilibria. If not, global competition would rule the market and that should be fine. Point being, give local ecosystem a chance. By letting Apple sell second hand phones, India would open itself up to be dumping ground of the world. Soon enough all end of life phones would end up in India masquerading as refubrished.
Women Who Code (YC S16) helps female engineers level up in their careers
I think 'fault' is wholly irrelevant here. If we try to understand the position of the French ministers, etc, we observe changes which are destroying their culture. They are fighting to preserve it. The fact that the destruction wasn't intentional or the fault of google, facebook, amazon, etc doesn't really come into the picture.

And there are a number of reasons you can give for why people tend to prefer these behemoths: network effects, production quality (i.e. enormous infusion of cash to make things flashy and glossy and shiny with no real valuable content), youth tend to rebel against their culture and adopt an alternate culture only to, as they age, realize they lost a part of themselves and reclaim it, etc.

At least try to put yourself in their position and understand their argument.
The authors calls out:
[Important note: here we are not using the term “confidence” in the technical sense used in statistics, but rather as an informal term for “subjective probability”.]

But then goes on to use a very technical, statistical version of confidence where 0% confidence is somehow equal to 100% confidence you picked the wrong answer.

All of this leads me to assert that despite the math being internally consistent, it does not apply well to the situation. A rational outside observer without reading such an article would assume that 0% confidence in your answer is equal to a 50% chance of being right.

The phrase "confidence that the answer is 'true'" can easily be interpreted as "confidence that the answer I marked is correct".
Activate the async-to-generator plug-in during the development, it is a simpler transformation so have a massively better source map support, but still have some difficulties to place some breakpoints. Sadly uglify still doesn't support generators so we can't use it in production mode.
> In one week in May, she earned $604 for 28 hours of work

I wonder if they count "hours of work" as hours with a
passenger or as total hours driven. If the latter then she actually "worked" longer hours.
"and can use other technologies"

The fact that they are not using these technologies to stay in touch after choosing to eschew the primary technology demonstrates reality.

It's not my job to cater to every individual persons tech interests.

If you don't want to use Facebook, thats fine, but you cannot complain when you don't get the benefit of Facebook.

If you don't want to own a car, that's fine, but you cannot complain when you don't get the benefit of a car.

These are personal decisions here. Conformity is disliked but presents great benefit to social cohesion. If you're a nonconformist, you don't get to have your cake and eat it. You have to deal with negative side effects of non-conformity.

They're welcome to use secondary technologies to communicate and stay in touch, but in practice, it takes dramatically more effort and brain space to do this, and as a result, they do not accomplish their goal
Typically the problem is that smaller publications don't have the luxury of hiring a copyeditor dedicated to catching these things. The economics of publishing require a certain volume, and generally it is hard to balance both the volume and the meticulous copyediting required to pass muster under an absurd rubric like this. Typos like ever --> every are nearly impossible to catch without a fine-tooth comb.
For what, 5 inputs?
Internationalization Internationalization support for different languages in NativeScript
When I see these when I'm out biking, all I can think of is "Man, the rolling resistance on that bike must be immense." I live in the Midwest so we can get some snow but funny enough, I never see those bikes out in it. Also, it's flat as heck here and there's no trail biking to speak of.
This is pressing two letters, and you're explicitly told to press them in a way which feels random (which is going to be culturally determined). Aristotle would say that this is about habit, not free will -- unless you're opting to ignore the instructions.
Does 0.375 has same randomness as 0.625?
How Twitter’s Fabric team built their mission control with GraphQL and Relay
Let's put it this way: there is nothing I would do in Python, that I wouldn't do in Elixir. For all intents and purposes, that's general purpose.
A good press also does not do things like publish illegally obtained sex tapes simply because someone was famous, or out someone as gay simply because they can.
I've done a lot of work with the Watson Speech to Text service (I work on the Watson team), and I've been pretty impressed with the results. You can upload an audio file (wav, flac, or ogg/opus) to the demo to try it out: https://speech-to-text-demo.mybluemix.net/
New praying mantis honors Ruth Bader Ginsburg, equality and frilly neckwear
To expound on this connection: the basic idea is that a Promise has a `.then(fn)` method call which takes this `fn`, which returns a value. If that value is not a Promise, then it is lifted to a new promise; either way that promise is what's returned by the .then().

In Haskell, for type safety, you have to explicitly write this conversion and the function which does it has the somewhat-confusing name `return`. The `.then()` method then has the name `>>=`, pronounced "bind".

If you have these, you have a template for type-safe functional metaprogramming. Given any x, you can produce "a program which produces an x" (return), and given any function from an x to a program which produces a y, you can bind that onto a program which produces an x, to produce a program which produces a y:

return :: x -> ProgramWhichProduces x
(>>=) :: ProgramWhichProduces x -> (x -> ProgramWhichProduces y) -> ProgramWhichProduces y

This was huge historically because you can still metaprogram in a purely functional language, even though you cannot do things which have side-effects. So I can give you a pure primitive like `println :: String -> ProgramWhichProduces Nothing` and you can build `println("Hello, world!")` with it, and there are no side-effects in running that function on that input, so this is purely functional. In this way the act of actually running a `ProgramWhichProduces x` as an executable is deferred until the language is no longer in play: when the compiler is run, it looks for a `ProgramWhichProduces Nothing` called `main` and writes that out as the actual executable generated by the compiler.

Monad refers then to precisely this design pattern of saying "I have some trivial embedding `x -> m x` into my problem domain `m` and I have some way to combine an `m x` with an `x -> m y` to produce an `m y`, hey, that's a monad!" ... One example is list comprehensions; there is a trivial way to embed any element as a singleton list [x] and then you can always use any function x -> [y] (called a "transducer" in Clojure) to process a list [x], concatenating together all of the [y]'s you get along the way. With ES6 generators this looks like:

function* forEach(iterator_x, ys_from_x) {
for (let x of iterator_x) {
yield* ys_from_x(x);
}
}

Hey, that's a monad. You can write a list comprehension like:

// equivalent to Python's [f(x, y) for x of list_x for y of list_y if predicate(x, y)]

forEach(list_x, x => forEach(list_y, y => predicate(x,y) ? [f(x, y)] : []))

In Haskell you can write all monads with a special syntax called `do`-notation; you can write the above in any of three ways:

[f x y | x <- list_x, y <- list_y, predicate x y]
-- which desugars to...
do
x <- list_x
y <- list_y
if predicate x y then [undefined] else []
return (f x y)
-- which desugars to almost exactly the JS above...
list_x >>= \x ->
list_y >>= \y ->
(if predicate x y then [undefined] else []) >>= \_ ->
return (f x y)

So that's the general pattern of monads and do-notation in a short, sweet lesson.
>I don't really like await. It seems to be a syntactical fix which acts in a quite magical way. Not sure if introducing magic to a language syntax is what we want.

You mean like having "for", "if/else", "functions", etc, instead of just "load" to some address and "jump" to an instruction?

There's nothing magical about async/await.

The main people I know that like programming with callbacks directly is people who only first learned async programming in JS (and thus don't know the relevant PL history).
I came here to post the same thing :)

Indeed, pretty much any imperative control flow construct you can think of has a very similar method-based equivalent with promises.
Our zeal for antibiotics in agriculture could become an economic nightmare
I agree with you. There wasn't anything in that blog post that I hadn't thought before - but a lot of those are thoughts I keep internal to my management peers here, and then work through the issues to identify just what might be holding us back from acquiring the talent we want.

The other piece I see is very frequent among smaller companies, maybe less so in the very large orgs that I've spent my career in: The hands on Director role. I've been there, done that, and can tell you it's very far from optimal. I'll use myself as an example - I've managed anywhere from a single team of 5 in FinTech to my current 3 Scrums (8 people per) in Data Engineering. When I had the team of 5, the expectation was that I'd be very hands on in addition to managing and developing people. It was natural, I had leadership skills and I also happened to be the best programmer of the bunch. The problem was that there were not enough hours in the day to take on individual work and also do a respectable job of coaching/teaching/mentoring junior engineers. I sure could crush the hard problems, and depending on who you asked, that was often my #1 priority - but my real objective that I walked in with was to teach other people how to think about the hard problems so that they could crush them like I could. My management, however, wanted me to clear roadblocks as an engineer and not as a coach. And this, in a nutshell, happens more or less everywhere that I've seen the hands on Director role.

My advice to any startup is to decide early - is your Director going to be a coach and manager, or is he (or she) going to be your Super Senior Engineer? You probably feel like you want both, but the budget says you can only hire one. Figure out which one you need more and fill that role. Fill the other one later when you have the money. It may seem like you're hiring someone who doesn't "do" anything if you go the coach and manager route, but I fully assure you that making other people better at what they do is a full time job and then some. To be clear, I'm not talking about a resource manager here, but someone who can actually make good people better at what they do. That is what a Director of Engineering should be doing, IMHO.

I'll leave it to anyone else evaluating me as to whether I'm the elusive engineering director type or not, and don't get me wrong, I'm happy to be the highest paid engineer in the bunch if that's what the role really is. But you do reach a ceiling quickly on what one person can accomplish, and if you're going to throw out Director money to me (or someone else), your money is probably better spent letting me (or someone else) develop those junior engineers.