skysight-inc/HackerNews huggingface dataset:
>I saw questions about webcomponents/polymer pop up all the time for aurelia and other frameworks (how to integrate nicely), github uses components too, salesforce. It seems that here is it treated like something that doesn't exist.

I don't think it's only here (on HN) though. Check Reddit reactjs, polymer and webcomponents subreddits for example. The first has constant traffic everyday, the other have 1-2 recent posts, and get to month old posts on the first page.

Same for tutorials and blogs. Polymer/WebComponents related ones are few and far between, React ones are everywhere.

GitHub: polymer 14000 stars, react 37000 stars (and 4 times as many forks).

Regarding the "shadown-dom", yeah, you're right, meant to write "virtual-dom" (a much lightweight dom copy, with faster access and the ability to diff to avoid doing costly work to the real DOM).

>This is cool and a nice selling point, I've been interested to do that multiple times but it appears that this is only possible if you build your app in node.js?

You can run it at any app server that can execute JS. So not just Node but also Meteor, and Java servers to (Java as of late comes with JS interpreter built in).

And you can also fork out from any other framework and do the rendering part in a JS interpreter, e.g. like this:

https://github.com/tildedave/universal-react-without-node

I'd say the most practical versions would be Node and Java though.
Self driving car, image / voice recognition, or even getting the classification / meaning of language texts is a far simpler task than a full self-conscious AI, or even an AI that can simulate a conscious mind but not really have one (e.g. a https://en.wikipedia.org/wiki/Philosophical_zombie, i.e. such an AI can talk about art all day, perhaps even create art and pass a turing test, but it never "experienced" art).
Were there any advances in cognitive AI that justify all this "AI revolution" talk? didn't we simply get really good at deep learning and better at image recognition / voice recognition / language translation that is definitely laudable but still far from the "Ex Machina" depiction?
IMO, part of this is the current "simple" systems-design that's been happening everywhere. Instead of giving users good defaults, with the ability to override almost any setting, we've designed things so it's "manufacturers choice, or none at all". This used to be just web-pages, and then it started leaking to browsers, then phones, etc.

There are a lot of other issues (security, phoning home, etc), but a lot of these wouldn't be as noticeable if they didn't follow the "simple" design.
4 steps to building a holodeck for less than $15 ($13.37)
Just a little trivia: the original model for the teapot did not have a bottom.
I dread re-formatting my laptop because of this.

Getting all my (legitimately purchased) plugins back onto the system is an absolute nightmare.

I've started paring my setup down to just Ableton and a handful of plugins for this reason.
"Street dealers don't really sell weed as they used to now that better and legal weed exist, so they went on heroin."

This is an extremely misguided statement. The demand for high quality weed has never been higher. It doesn't matter if you legalize it, because you are still taxing it 50%. The individual sellers and producers will keep doing their thing. I can tell you right now that people who sell weed don't just magically start selling heroin. The types of people who sell weed are TOTALLY different that the types of people who sell heroin.

Yes, some people exist who sell both - but those types of dealers have been selling every kind of drug they can get their hands on and will never stop.

I think you need to take another look at the supply and demand of high quality marijuana. It is hard to consistently produce high quality marijuana - and once you do cure it correctly and get it packaged, it flies off the shelf as fast as you can answer your phone, regardless of if you are in a state where it is legal or not. Furthermore, there are many people who deliver marijuana on bikes and in cars and make a very good living. These people are not going to loose business to legal dispensaries I can guarantee you. There is always demand for reliable dealers who deliver high quality to you asap. Independent producers and dealers will be able to consistently undercut dispensary prices because the government is taxing it 50%. Combined with the value of delivery and you are not going to see marijuana dealers switch to selling heroin because weed is legalized.... it doesnt work that way. Two completely different clientele/lifestyle/risk factors.
Automated Testing for League of Legends
"Well--no one is fighting over her anymore. The labial facial lines are deep. The gray is comming through the black die. The magic is gone. Her fiery personality is now just angry, and bitter. Age is a leveler of that beauty asset."

You captured the "bar hottie -> bingo lady" transition very nicely
I mean this in the nicest way possible... It's cute that you think that. By that logic, assuming you are a tax payer, you are $159k+ in debt thanks to the government acting on your behalf.

http://www.usdebtclock.org/
Sure, but if it wasn't there already, how expensive would it be to rewire, vs how much does a wireless switch cost?

And what if you're a renter and don't have the option of rewiring?
I also expect Apple to be the winner here, but for a very different reason -- they just seem to be the only ones involved in this market that also have the ginormous financial and management services required to pull this off.

The hip startups who sell web-enable smart watches or whatever is trendy nowadays won't come up with the first smart fridge that's actually useful, not because they lack vision or understanding but because they won't be able to build a fridge that doesn't suck in the first place. The SF get-something-through-the-door-quickly development model is fine for stuff that you patch in production, but it can barely produce a working thermostat, a device of barely sufficient complexity to be considered as an engineering diploma project.

I've seen at least five projects ran this way. All of them were utter failures. In some cases, by the time the umpteenth prototype had revealed the correct direction, the market had long moved on or the amount of money and time spent had long outweighed even optimistic sales provisions. In other cases, the first thing that lasted through a fifteen-minute demo without crashing was christened an MVP, but it later turned out to be not quite what was needed because no one bothered doing specifications and studies, so the devil in the details made it a nightmare to use. By the time this was realised, it was too late to change anything anymore and an almost-but-not-quite product got released.

Developing connected appliances is a complicated and expensive business and they require a great deal of interdisciplinary expertise that's very hard to find. It may not seem so, but a dishwasher or a refrigerator worth their money are a lot harder to design and build than the Pebble.

(I should stop eating chips over my keyboard. Half of my past tenses are wrong because I have bread crumbs uner my D key. Crap).
An Open Letter to Rich Startups
People should not stalk or harass. Authorities and all other members of society should take stalking and harassing seriously. BUT potential victims should take reasonable measures to protect themselves too(not saying that a "firm rejection" is enough or even safe though). I hope Internet safety instruction becomes more of a thing in our education system.
Cisco confirms Leaba Semiconductor acquisition
What I'm really looking forward to is a virtual desktop, where I can work on a tropical beach with a very large high-res monitor in front of me (virtually).

But it seems that the resolution of the current VR goggles is not sufficient :/ This seems a bit weird given that "retina" displays are already quite mainstream.
While Idris doesn't have a module syntax, it's type system allows you to express ML modules with relative ease. It's not a great solution, but it's above Haskell in terms of this.
Neat demo, though it doesn't work with the default url due to a https vs http conflict in firefox. From the js console I see "Blocked loading mixed active content" and changing the url to some content served over https (e.g. the project's package.json) seems to work fine.
Show HN: Teleport Zen a personalised moving checklist and guide
Franz – One application, eight messenger services
Why not try to post in this month's Who is hiring? thread?
Just came across this at https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=1383... which doesn't bode well:

> The VC4 dev team is disbanded (Broadcom closed down the division making us all redundant)
submitted by the author and discussed here: https://news.ycombinator.com/item?id=11204785
Someone go throw a drone up and get a live feed with audio. Problem solved.
Be a guy and have a women ask you why their car isn't starting or can you help change a tire. Saying no in many parts of the world / US is unacceptable and considered rude. So, I guess male agency can be constrained in the same manner. Its amazing what guys will do not to look like an a__hole.
And what do children do? They replace their parents. Is it possible that robots will enter the fray of evolution and only time will tell if they are more fit for survival.
That's fine. If OP had an email address in their profile, I would have sent a private message. I'm not trying to make some big statement here, just share a reflection.

From the Little People of America organization:
"The word 'midget' is used as a derogatory slur to refer to people of short stature. Whether or not the intention of using the word is to bully and to demean, or just as a synonym for small, the term has been deemed a slur by those within the community and should be eliminated accordingly. In a recent organizational statement, LPA put forward a call to action to abolish the word from the everyday nomenclature and to replace it with synonymous designations when necessary."
> Just text is fine, thank you!

And Unicode has a non-negligible footprint.

I tried few times to handle that in C or C++ and everything becomes complicated (even with a library like ICU).

Each time,I had to ask myself:
- What's the encoding ?
- How to detect it ?
- What's the collation ?
- ...

I read Java strings are switching to ASCII (or 16b) because it's too much inefficient.
> Back in his lab, he entered the sketched coordinates—called bézier
> control points, first used in the design of automobile bodies—on a
> Tektronix storage tube, an early computer memory.

Urg. Not a ‘memory’ in the computer sense, not being readable by the computer. What this means is that he used a Tektronix graphics terminal that had a self-persisting CRT display.¹

¹ https://en.wikipedia.org/wiki/Direct-view_bistable_storage_t...

Edit: Teapot on a Tektronix 4014: https://youtu.be/bZOrL7f1-kE
Butteraugli – a tool for measuring differences between images
> I can tell the state of the switch from its physical position

Until some Goofus installs it sideways.
But once you find it, oh boy, can you make it make money. I'm always astonished at how companies like Activision can make billions per release of Call of Duty. EA with their yearly cadence of sports sims is another example.
Many developers will be looking for a larger premium (50-100%) to work in finance, rather than a tech company. To express this with arbitrary numbers:
Who'd actively choose Goldman Sachs at 120k over Google at 100k ?
Don't mean to derail the thread, but how come applicants for adult-content were plentiful? I would expect most people to try to avoid that area, if only for the reputation "costs"?
As an owner of Hue lights, I can unequivocally state that the Tap sucks. I have all sorts of alarms and geofences so that my lights turn off and on with little or no manual intervention, so the Tap might get used only a few times a week. Since the device didn't hold much of a charge, I would have to tap it multiple times before it responded. The damn thing also turned out to be pretty flimsy; it just plain stopped working after about 6 months.
What differentiates it from Firebase?
CNET Discusses the New Facebook Reaction Button, Be Careful
The main use of my electric kettle is parallel processing for my cooking water. I put one fourth of the cooking water into the pot and turn on the stove, then I put the other three quarters of the water into my electric kettle and turn that on as well. The kettle is usually done right before pot and then I pour all the water from the kettle into the pot. This greatly reduced the time to get boiling water for cooking.
There is, sort of. If you're hosting on Linux, you can use iptables to artificially delay responses.

That and some other methods are described in a post on the Yelp engineering blog[1].

1: http://engineeringblog.yelp.com/2015/04/true-zero-downtime-h...
I was responding to varjag's post, which was saying that the grandparent post was downplaying the societal pressure, which it wasn't. It was a correction to that false statement.
Our society has a difficult time talking about power. You're better able to get actionable advice from experienced people in an intimate setting, like a classroom, than you will be able to from books. Which is why an MBA may work better in this regard.

A good way to learn is to pay close attention to the way managers talk about it. Movies like Office Space and The Office cut close at the truth, but don't quite get you there. They're dramatizations, moving at the speed of narrative, whereas real situations move at the speed of conversation.

One of the key things to remember is that qualifications have very, very little to do with it. The main thing they're looking for is for other people to like you. "Like you" is manager-speak for the sort of respect that will get them to take you seriously as a manager. If you ask them to do something, will they do it? Even if it has nothing to do with their job duties? That's a quality of a good manager.

Second, they need to need your services and they need to get it at the right price. They once tapped me to hire a junior engineer under me. I could not find anyone willing to work for the prices they wanted to pay, so I couldn't move up. Eventually they decided to switch technology stacks rather than acquire human capital.

During these talks, it was all I could do to keep up with the hidden meanings behind the things they were saying. In fact, now that I'm thinking about it with the benefit of hindsight, there are aspects of that experience that clearly show why there's so much coded language around this process and how I screwed things up by not understanding the language and expectations beforehand. I regret nothing, as I've got way better options than middle management at a non-technical firm.
Has the time come for cybersecurity insurance?
Very had to compare to Japan because Japan essentially legalize organized crime. Yakuza are allowed to operate as long as the follow a minimum set of laws.

Basically Japan is following a tradeoff where they have chosen organized crime of lots of unorganized or violent crime.

So it will be very hard to compare such a system with a western country which deals with these issues in such a different manner.

I can mention that drug use is fairly low in my home country Norway as well despite pretty lax laws.

We are doing something very wrong with respect to heavier drugs like heroin though since we have a lot of overdose cases. But Switzerland and the Netherlands seems to be quite good at this and they have very liberal laws.
thanks for saying this. it's shocking to see the cesspool that the comments become whenever gender and race issues are raised on this site. are people really this clueless?
My favorite description of an MBA is "summer camp for adults".

Yeah you're not going to suddenly come out of an MBA as a master of the universe, but you're going to learn some cool topics, immerse yourself in your choice of extra-curriculars, meet some amazing people, and have a surprisingly enjoyable experience.
I'm thankful that my calculus courses were extremely heavy in showing how the tricks actually worked. It wasn't on the level of grad school analysis, but the professor pulled no punches and we went extremely in depth.

Years later when I was learning multi-variable calculus, I found most of it easy because, even having forgotten most of the tricks within those years, the method behind the madness was still there.
This is handled quite elegantly here.

Possession of drugs remains illegal indeed (we are not talking about marijuana here — this is about "hard" drugs). But you can come to one of Quai9 centres and there are drugs available directly from the government (I am not sure whether for free or for nominal price — perhaps the latter), all of Swiss pharmaceutical quality. Heroin is definitely available (the personnel will try to move heroin addicts to replacement therapy ASAP, but at first, they can continue their habit), not sure about cocaine, but I think it is there as well, as there are mentions of "sniffing places" installed, whatever it is.

Thus, there is no possession and no trade (and it's pointless to engage of criminal trade of something that is legally available from the government).

The same goes with guns. It is legal to own, buy and sell very impressive guns in Switzerland, but it is illegal to own _ammo_ (unless you are hunter, or can prove that you need self-defense — but this is how it is handled in most European countries; Switzerland is different by making actual gun trade legal).

So, how do you fire these guns? Simple: you take one of them, go to the shooting range, and there you can buy some ammo to shoot with (it is very illegal to take it home). Shooting ranges are government-supported and regulated (Swiss government actually encourages citizens to train at shooting ranges).
> What's the problem?

A company looking for a billion dollar valuation (see Nest).
$500k is a pretty hand waved calculation.

It seems like he did the math (annual salary pre-tax * years in school + tuition + living expenses) and arrived at $500k.

That ignores the fact that you have living expenses whether you do the MBA or not. It ignores the fact that that the difference to your net worth between making $150k a year in pre-tax salary and $0 a year in salary is not $150k. You have to incorporate taxes.
The case of the disappearing teaspoons
Also, for a European fintech startup, not being located in London is a riskier choice re. staffing.
>The implication seems to be that students can't do the trial-and-error, understand then apply the theory. I agree with parent comment that this is awfully defeatist.

All teaching is a balance between various factors, and perhaps the instructor didn't get right in this specific instance.

Ideally the instructor would teach the theory, allow some trial-and-error as students grapple with new information, and then step in with prodding towards how to do it - but fundamentally, there is a limit on how the instructor can let the class wander without needing to move on to cover the rest of the material (this wasn't a special topics class covering how to solve this one specific problem).

Hence, go through the information but provide the technique involved after suitable time passes. That's just the nature of teaching/learning when the students don't have infinite time to essentially re-invent the material they are trying to learn.
The Log: what you should know about real-time data's unifying abstraction (2013)
This is exactly why I don't understand why people buy publicly traded video game stocks. Nintendo, I can understand. They're a platform company. Their ability to make money depends on overall industry trends and the ability of other companies to do the heavy lifting of outputting hits. Although even they're a bit strange in that they depend a lot on a portfolio of homegrown titles.

But normal game companies? Especially casual game companies? Do people really have that much faith that Candy Crush and the like is more than a generation's flash in the pan like Tetris, Pogs, or Tamagotchis?
> The third paragraph in your post describes the current flow of Fleep sign up

That's good. In that case either blog post is misleading or it has been changed in the hours since.

Edit: I see the original blog post has been updated with more information.
Yes, there are a lot of operations that can be implemented just in terms of bind and return. It is possible to make some functions more efficient by implementing them directly but having a generic library to fall back to would help with consistency. For instance both `lwt` and `async` are monadic, but `async` provides a richer API. I think having a generic monad library would help to bridge the gap a little bit*

* Since I am only dabbling in OCaml and only use `lwt` and `async` occasionally I'm not entirely sure. But judging by the usual structure of Haskell libraries, it should help
>had no idea about it

Did you look out your window as you came in from the airport? its shanty towns and shacks until you are surrounded by buildings.
The non-breaking space is certainly not 256 in ASCII (ASCII only extends to 127) and not even in Latin 1 (goes up to 255) and also not in Unicode – it's 160. While you can use &nbsp; in HTML you can also use &#160; or &#xA0;, both of which work in XML as well. And since numeric and hexadecimal character references are much easier to generate (you don't need a lookup table) I'd say they're a far nicer choice these days.
I understand that what Kanye did was as wrong as any other pirating. However, as a result of that screenshot that software got a free endorsement from Kanye West. I imagine that guy is going to wake up surprised this morning when he looks at total sales from last night.
Thinking about an MBA? - check out this guy instead https://www.harrisonmetal.com/

Full disclosure - my company worked on his site.
I don't know about his particular setup, but remote control lights do have their uses.

I've got a couple of wifi-controlled Philips Hue lights. There isn't a simple "on" or "off" for these - they can be set to just about any colour and brightness. One, for instance, is set to wake my daughter up with an artificial sunrise over the space of about 15 mins in the morning, is off automatically during most of the day when there's no one in the house, and goes a very dim red at night.

As my wife has a habit of forgetting that they switch themselves off, she still fairly frequently physically switches it off at the wall. If it's still of at the point that the "dim for the evening" program is due to run, then it doesn't get triggered and I have to dig out my phone app to kick it off.

So I've just built a little switch using a Pi and a very cheap (in both senses of the word) touch screen running a web page with buttons on it that triggers various actions on the light such as setting the dimmer colour.

I'm waiting for the day when there's a cheap and good off the shelf switch that does this kind of thing properly for home automation.
You could encode a module as a record with a stored type and functions for it for Idris. Then you can simply create functors as functions that take one type of record in and return another type. The syntax is ugly, but you can define macros to make it slightly more appealing. It's not an optimal approach because of namespacing of record fields, but I remember hearing that one of the next few Idris releases was going to change how record fields get namespaces.
Enable the world’s foundational institutions to focus on what really matters
And by Tips and Tricks they mean the 101s of how to use dev tools? This article contains absolutely no new information to anyone familiar with DevTools.

The first "tip" is literally how to open DevTools, then they tell you about each tab... Then we're done. Where are the tips and tricks?
Yes, I think it is still illegal to buy and sell marijuana here. And I am not sure if it's possible to smoke a government-issued joint at Quai9. :) Probably not.

But: you can legally grow it for your own consumption!