skysight-inc/HackerNews huggingface dataset:
You can enforce most of those rules through static analysis and annotations. Of course it won't be as solid as having it in the core language specification but you can achieve most of the same benefits.
DevOps is dead – Let’s be DevProds (2015)
The cache will hold references to every single item and the GC will never be able to destroy them, that is, unless the cache goes out of scope

Had the reverse happening a while ago and it's nasty as well: some C++ objects were holding references to a Python objects, but due to the GC not scanning those memory regions (they're not Python-owned after all), the Python objetcs would get GC'd and all hell broke loose when the C++ tried to access the now dead Python objects. Solution is forced 'lingering', i.e. is applying some RAII adding the Python objects to a global dict and removing them when the C++ objects go out of scope.
You've got it the wrong way round. Amazon doesn't allow you to post your affiliate links on sites you don't control.
Not "as well" because only Fnoord was missing the point.
>>During the speech [1], Yann (surprisingly) didn't mention consciousness at all.

I thought this ommission was deliberate to avoid distracting philisophical ratholes that weren't core to his talk.
Why do some country names have 'the'?
sctb, for the record I feel that this removed a lot of the on-topic content I worked hard to write.

I feel as though my comments, as removed, were not uniquely off-topic, and am surprised that the parent topic is still included in the public thread.

I find this to be very unfortunate and aggravating. I had been posting about the use of moderation to censor certain ideas. I find the removal of this comment in this context ironic.

Thank you for your moderation. Do I have paths forward to have the subthread reattached?
They're getting better at describing which features are shimmed, but the easiest way to check is by running a single plugin on a bit of code and seeing for yourself.

For instance, I decided just now to check if `transform-object-rest-spread` included an Object.assign polyfill (because spread syntax transpiles to Object.assign behind the scenes.)

With the following input:

var foo = { x: 1, y: 2 };
var bar = { a: 3, b: 4, ...foo };
var baz = new Promise(function(resolve, reject) {
resolve("quux");
});

I get the following output

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var foo = { x: 1, y: 2 };
var bar = _extends({ a: 10, b: 11 }, foo);
var baz = new Promise(function(resolve, reject) {
resolve("quux");
});

The problem here, (to borrow phrasing from the docs) is that "Babel uses very small helpers for common functions such as _extend. By default this will be added to every file that requires it. This duplication is sometimes unnecessary, especially when your application is spread out over multiple files."

To solve this problem, many people use the `transform-runtime` plugin [1] as well. To put it shortly, it replaces inline helper functions (like _extends in the example above) with imports from an adapter module called 'babel-runtime', which itself exposes the relevant polyfills (regenerator[2] and core-js[3]).

With `transform-runtime`, I get the following:

import _Promise from "babel-runtime/core-js/promise";
import _extends from "babel-runtime/helpers/extends";
var foo = { x: 1, y: 2 };
var bar = _extends({ a: 10, b: 11 }, foo);

var baz = new _Promise(function (resolve, reject) {
resolve("foo");
});

Notice that the Promise implementation was polyfilled as well.

> I didn't know how to tell Babel which browsers I was targeting...

You might *really like babel-preset-env[4], a new project they just launched. Basically, you give it a set of browser targets (much like autoprefixer) and it works out exactly which plugins you need to support the latest (currently es2015, I think) version of javascript.

Hope that helps! Sorry for going on a Babel-related spiel in a Typescript thread, couldn't help myself. ;)

1: http://babeljs.io/docs/plugins/transform-runtime/#technical-...
2: https://facebook.github.io/regenerator/
3: https://github.com/zloirock/core-js
4: https://github.com/babel/babel-preset-env
Run a webserver on localhost that only accepts local connections (most golang utilities with GUIs do this) or use a sain UI framework.
You're actually very much right, in this case, if we choose z to be the preferential element (say, the largest, such that x->y iff x≤y), the addition operation would be the same as 'adding' elements/orderings to the poset in question; this operation does, in fact, form a lattice.

EDIT: I'd like to say this algebra is more general since in the lattice sense, any undirected graph is just equivalent to a poset in which all of the elements are equal (e.g. since x->y+y->x ≅ {x}, where x=y), but there's obviously more interesting structure than that within the graph. In general, there's only truly interesting structure within the graph when the graph has a topological sort (anything else gives elements which are equal under the partial order).
Why the most boring IoT data may actually make the most money
>Also, the Core was going to be awesome. Too bad it didn't happen.

Yes, it was, and they even had Alexa integration planned. It made it a really interesting product, something that not even Apple or Google had. A little hackable 3G box with voice assistant. Really bummed.
This. The author has discovered the disjoint union and the join. The article looks correct but comes off a little pretentious for describing some rather simple (and well-known) things.
Because that’s how the real world works? If you tagged on the responsibility, they would’ve just paid less for it. It’s Pebble and their investors that only sold the good stuff to maximise their returns.
To me the premise to this argument was always incomplete. It's true that college does not matter "to some people". You can always find individuals that will be successful whether they go to college or not. There's a reason Thiel hand picked the people that would get his money. He picked the best he could find because he knew that they had a better chance to succeed. If he really wanted to prove his point, he would have picked them at random from those that were slated to go to college anyway. To me he has not proven anything, college is still important to the great majority of people and telling people differently does not help society worse yet it makes it more difficult on those that follow his advice.
Like patenting the work of others?
Not sure, I guess this video could be interesting:

https://www.microsoft.com/resources/msdn/en-us/msdntv/200511...

For dynamic invocations, Objective-C style, you can see here:

https://msdn.microsoft.com/en-us/library/dd264741.aspx

https://msdn.microsoft.com/en-us/library/ee461504.aspx#Ancho...
I used http://leandomainsearch.com and found a six letter domain that was made up of two English words. The name has nothing to do with my offering, but it's short and easy to pronounce / spell without any confusion.

Bonus: Since it was available, it only cost 99 cents for the first year (with coupon).
Honestly, fixing Icinga's broken architecture (shared with Nagios, Shinken,
Zenoss, and Zabbix) with a bunch of shell and Ansible scripts doesn't seem
like very robust solution.

And install instructions from README on GitHub looks like one big let's not,
with half a dozen of modernish tools that obscure what's actually happening
(basically, `apt-get install icinga2' and putting some config files in place).
What features or changes would make the JVM more amenable to other, non-Java languages?
You can stop being dishonest anytime now. You have a limited perspective. They had to make several internal rule changes specific to them (which they enforce) before any site wide changes happened. They get brigaded and attacked just like any other major political sub, but only they have unique rules made for them. Why are you purposefully ignoring why they act that way? It's like having a guy in the group who thinks it's acceptable to push people around because they have a majority opinion, and double down when people don't accept it. They had several posts at the top of /r/all yesterday [1-4], but I guess they don't go as high.

1. https://www.reddit.com/r/The_Donald/comments/5gvy1j/the_new_...

2. https://www.reddit.com/r/The_Donald/comments/5gwnwx/reddit_v...

3. https://www.reddit.com/r/The_Donald/comments/5gvazb/boom_tru...

4. https://www.reddit.com/r/The_Donald/comments/5gwe8n/posted_t...
> But with that said, a smart watch makes me feel hyper-connected. Putting it in quiet mode (and/or taking it off my wrist) every now and then is liberating and definitely makes me more productive.

I feel that you probably did not configure notifications. Each time I received a notification that is not important I went to Pebble, and disabled it, after a while pebble was no longer as annoying.
Front page weight is also determined by commenting. Lots of comments tends to weigh it down I believe. Those linked posts have similar comment counts but they are probably over a longer period of time. I recommend hckrnews.com over the frontpage fyi.
Is there any chance that the "combined photon" will have the same direction as the original one? Otherwise there will be no image, just light.
Let’s Build a Simple Interpreter. Part 12
No, these are innovative _techniques_ for designing and training networks. What you're describing are just good _applications_ that "look cool".
I like Facebook creating platforms but it is unclear, at least to me, what the problem is they are trying to solve here.
'But I don't think it helps anyone for you to jump from there to assuming that what's going on inside their head is "[I don't] respect [this person] as a human being".'

Probably true. However, that's also applicable to most other forms of discrimination. A police officer responding with greater force to a black person than they would to white person is probably not thinking "I don't respect this person as a human being", but nevertheless, their actions and thought processes are different, and are legitimately -not- treating the person as, well, a full person, but as some sort of 'other' that does not demand the same respect, the same courtesy, etc. Eye contact is part of that; if they offer eye contact to able bodied people, the fact that they don't to the disabled, irrespective of the explicit thoughts going through their head, is indicative of them viewing the disabled as an 'other' that does not necessitate that same courtesy.
Electron is objectively horrible. The only upsides are 1 "it's easy" and 2 "it's pretty" neither of which make for efficient or minimal programs. To be quite honest, "pretty" GUIs are usually the worst anyway.
Doesn't work at all for me. My project has about 500k+ LOC.
I suspect though it isn't the size of project, but certain patterns of design that work or don't work in non typed JS.

However Brackets does better at finding method definitions. Even in my mess of a project with non typed JS, Brackets can always find the method definition or at least give me possible choices.
Clearly that did not happen, because they stopped support for warranties. So only a moral, not factual, argument could work here.
I'm so stupid, can someone ELI5 what this is for?
Oh yeah, drug abuse is a common thing to come across in TBI support groups. Executive functioning and self regulation issues, frontal lobe stuff and impulse control. It's where the TBI people go Venn diagram with the ADD/ADHD people.
By most definitions, people have been building hierarchical NNs of many different kinds for years.
Seems to me the grandparent poster was using 'sociopathic' in a technical rather than pejorative sense, but it's true the word has become politicized. Perhaps 'hyper-individualist' would be a better representation of the philosophical dynamic at work.
I noticed you said that in another place too and replied there: https://news.ycombinator.com/item?id=13125358.

This is randomness doing its usual thing and looking like narrative rather than randomness. Not only do we have no idea whatever of anybody famous's schedule (or care, really), the odds that some "what a strange coincidence" event would come up this week are surely not that small.
With an obvious notion of negation of graphs, wouldn't the `connect` operation be \g1 g2 -> not $ (not g1) `overlay` (not g2)? (I've already asked about lattice theory elsewhere (https://news.ycombinator.com/item?id=13125334 ); this thought makes me wonder if there's any connection to modal logic https://en.wikipedia.org/wiki/Modal_logic, where modalities are often defined in these sort of "de Morgan pairs".)

EDIT: I originally typo'd and proposed the above as a definition of the `overlay` operation, which would be both a pointless circularity and wrong.
HN Comments are ephemeral... this would make a nice blog post!
A good paratha stuffed with something like peas dipped into a slightly sweetened yogurt is revelatory.
Show HN: C++/.Net SDK for offline text analysis
You could say the same about smartphones. Mobile computing was a couple of new tricks and features that only really became powerful when people had computers in their pockets (like GPS), and for the most part the real discoveries have already been made, but it's all a step in the process and there's still a ton of applications present-day ML can do.

We haven't created true AI yet, but that's ok. We can make things better than before as we work on an even more advanced future.
Show HN: A simple Git workflow demonstration under Windows
2x the speed.

4x the range.

8x the capacity "to send messages"

Not using the x.x versioning anymore. Just Bluetooth 5 and the next will be 6.

Also, apprently, there's 30.000 companies in the 'Bluetooth Special Interests Group' ?

[Thanks Krasin, gerardnll for correcting me]
Thanks! My question, though, was whether the decomposition axiom is a familiar lattice axiom (such as modularity or distributivity) in disguise.
A phenomenal candidate can leave pretty easily, too.

But when I'm taking about not being afraid to make a "no hire" call, I'm not talking about the incredibly strong candidates. They tend to shine pretty well if you don't have a hiring process that is difficult for the sake of being difficult (e.g. brain teasers and whiteboarding). When I talk about not being afraid to dismiss someone, I'm talking about the (perhaps admirable) human urge to give an underwhelming candidate another shot.
Show HN: YouPoll – create real-time polls (multiple choice, rating, ranking)
Dutch police looking to fight crime with augmented reality
Dear TS authors:

Thank you (!) for your amazing contributions. TS is the best new thing in tech.

That said:

Your linguistic genius is way ahead of the tooling.

I feel as though some of these 'new and cool' 2.1 things are a little bit intellectual, maybe useful in some cases ...

But getting TS to work in the real world, the various build configurations, tool-chains etc. - it's still clumsy.

It was difficult to grasp the difference between AMD and other paradigms. I still have problems with circular dependencies, or rather, things happening before modules are loaded.

Here's one pain point:

Creating a static attribute on a class and initializing it right there, as in:

class A {
static b:B = new B();
}

Means that 'new B()' will get executed right when that module is loaded, possibly before the module containing B is loaded.

It's ugly, mechanical - but it's not a 'fine point'. I think these are the kinds of issues which are more likely to hold people back, as opposed to the lack of some rather fancy new paradigms such as 'Mapped Types'.

Anyhow, keep up the good work. Lovin't it.
Haven't look at the spec yet, but curious if they've improved the security side of communications.

edit: Here's what I'm referring to, bluetooth 4 LE mode is vulnerable to certain attacks: https://lacklustre.net/bluetooth/Ryan_Bluetooth_Low_Energy_U...

https://pomcor.com/2015/06/03/has-bluetooth-become-secure/
Hi, you can use it when you are tired and your eyes can't concentrate ;P (joking)

One cool thing about GUIs is that (usually) you can run multiple processes and commands while other processes are running without having to open multiple tabs or shells or to go through the shell outputs to see errors and/or warnings.

But this is not to say "a GUI is better", they are just complementary in my vision.

Personally i use and abuse the CLI for most of the time, because i love to feel the machine is in my hands, then sometimes i feel more comfortable on a GUI or a Wizard process, it' human i guess.
For sure, pizza delivery while occupied watching a sporting event. It makes sense. For this to make sense for restaurants, for example, they are going to have to achieve the economies of scale Dominoes enjoys --but that's not something most small scale restaurants are going to be able to achieve.

I don't think the good pizza joint (sit down) I go to is going to be able to deliver pizza at $14/pie with coupon while maintaining their quality of ingredients and process.
Fair enough I've just kinda avoided things not supported fully in evergreen browsers when I can. I should probably re-examine that more often.
It's not really 'extending the dimensions of the matrices' -- we live in a universe with an infinite number of distinct vertices, so the matrices are necessarily of infinite degree. It's only the sake of notation that we project them to finite dimensions.

A: x x x B: y y y
x x x y y y
x x x y y y

A join B:

x x x 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 x x x 1 1 1
x x x 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 x x x 1 1 1
x x x 0 0 0 + 0 0 0 0 0 0 + 0 0 0 1 1 1 = x x x 1 1 1
0 0 0 0 0 0 0 0 0 y y y 1 1 1 0 0 0 1 1 1 y y y
0 0 0 0 0 0 0 0 0 y y y 1 1 1 0 0 0 1 1 1 y y y
0 0 0 0 0 0 0 0 0 y y y 1 1 1 0 0 0 1 1 1 y y y

This becomes much less accessible when dressing this up as a novel 'algebra of graphs' and obscuring it in Haskell syntax.
The gotcha is that Lombok thinks classes should be structs, and will try to persuade you of that too.

A fundamental plank of good object-oriented design - which i admit that i rarely see or even practice - is information hiding. Lombok rips that up and burns it. And that may give you a warm feeling for a while, but at some point, you're going to fall through the floor.
Your Brain Can Resurrect 'Forgotten’ Short-Term Memories
Thanks for sharing your story.
The wearables market is trying to find it's sustainable model at the moment and we are at the low point of the hype cycle. Part of the issue has to do with the business model with hardware devices like this. IE: A one time hardware purchase that needs to fund all further software updates etc. and the reliance on continually selling new hardware to stay in business.

Then there was the issue of needing to learn another dev stack to write applications with it vs the Apple or Google offerings that leverage Android and IOS development skills. Right now the largest market in the space is with simple devices such as fitness trackers. The disappointing thing is that Fitbit isn't as open with their bluetooth stack/Gatt profiles, but that's another discussion.
"Please implement this user interface for Android, iOS, and Windows Phone."
Ironically, I think you failed to comprehend the article. Adjacency matrices (which you are presumably referring to, but were not mentioned in the article) are neither efficient nor algebraicly convenient. No one represents graphs as matrices in computer science, and graph theorists rarely touch representation theory. It's not that useful when the natural representations are normally much simpler and easier to work with.
I'm genuinely saddened by this.

My Time Round is the only smart watch I've found that looks like a real watch (THIN) - they seemed to be the only ones that understood all the functionality in the world means nothing if you've got an ugly brick strapped to your wrist.

(And as for a screen that only switches on when you raise your wrist - it's like those people have no idea what a watch is for)
Classes work for this as well, I've found.

I use a lot of classes.

It feels like Java sometimes, but it does make debugging easier...
Thing is, he's been entirely right about all but maybe one of the stories he's left a comment on? These stories are political. The whole problem is that these things are political and HN doesn't see that.
The JVM community tends to prefer pure Java implementations of everything, rather than using existing C libraries like Python and Ruby. Some may see this as a bad thing, but it definitely has its benefits. One particularly relevant benefit in the context of this article is that the amount of code that can leak memory, in the conventional sense, is dramatically reduced. I suppose the same thing is happening in the Node.js ecosystem, though I don't recall if Node uses native code to parse XML.
I mostly eat roti/chapatis and puris; are they in this article under a different name?

Is uttapam just an appam variant?
Don't fix something that isn't broken.

Can the institutionalized top down approach to education have room for improvement? Yes. The education to economic output per student ratio can always improve (I don't have a number for this).

But the role diploma, degrees, certificates play as social credits that gives preferential treatment over the have-nots in terms of opening doors is understated.
Wow, thanks for the link. I use flexbox for layouts and usually can get away with fiddling with wrappers and such until it looks right, but I can easily see myself losing at least a half a day to each one of the bugs on that list. :)
Hmm good question. The last time I did C# I did a little WPF and mostly Win or Web Forms so I'm not sure what the state of creating GUIs with C# / .Net is. If this technique affords me better cross platform support then it likely makes sense to use it but as far as using it versus a template I'm not really sure.
> will this be eventually ported to JavaScript?

It's already cross-platform; cross-language would probably be a little much to ask :)
Vote manipulation is against the rules regardless of what tool you use.

They just used stickies as their tool.
Or use blockchain. https://steemit.com/
Show HN: You can cook an amazing meal right?
Perhaps we could've detached the original parent comment, but this one was flagged by users for being overtly political, which they were asked to do this week: https://news.ycombinator.com/item?id=13108404. We don't always snip threads in just the right place, but when the community sends us a strong signal we often go with that.
The press release above has somewhat different numbers: "four times range, two times speed, and eight times broadcast message". For the speed it's just 2x, and the 8x is only about broadcast messages.
Fifth time lucky, guys.
Agreed. Any good paratha, with a stuffing and/or a side, actually. Some common stuffings I've had parathas with: radish (mooli), peas (matar), potato (alu), fenugreek leaf (methi), Indian cottage cheese (paneer), ... And a hot (aka spicy) chutney to go with it is even better.
I'm really looking forward to something like a Trivoli [1] or Chronos [2]. It gives me most of the things I use the watch for (alarm and silent notifications) and allows me to use a nicer watch (or different watches, even). I don't get screen that allows me to deal with notifications, but over time I've found that to be 1) kind of rude if I'm talking to someone. 2) For the most part if there's something I need to deal with, it's easier to take the phone out. Mostly I just want to be notified if certain, important notifications come in (SMS, Google Hangouts, possibly one of my email addresses). Your use case may vary, of course.

Obviously we all need something different, but that's what I'm waiting for.

[1]: http://www.trivoly.com/en
[2]: https://wearchronos.com/
fantastic points, and spot-on about aiming for a solid community (if small) over "the next Reddit"