skysight-inc/HackerNews huggingface dataset:
I've actually played with OCaml a bit, and Haskell a bit less. The problem is that I don't know what "problems to solve" with them, and there is no way I'm going to use something like that at work, so I kind of run out of steam before I really get into it.

I might shoot for Scala next time. We don't use Java anywhere at my current job, but I might play around with it in a personal project for a while.

I really like the functional style, and I can see how strong typing works REALLY well with it, but I've already found that it's pretty hard to bring other devs up to speed on it. And that really limits where I use it.
Terrible stuff, yes.

No mention of terrible problems created by the alternatives: Fukushima, Deepwater Horizon, and Oklahoma's sudden jump in seismic activity.

One could write the same article for any energy source.
Actually it defeat both the convenience and the security, because people will forget to switch it off. This is terrible.
Interactions with smartphones generally are of two types. Type one is full interactivity, you're using the phone to "do something" that takes at least a minute, maybe many minutes. Type two is reading a notification, which often takes a few seconds and often isn't immediately actionable. For reading notifications smart watches are perfect, because they reduce the friction of reading notifications significantly. You don't have to take your phone out of your pocket, you don't have to unlock it, you don't have to pull up the notification, you don't have to put your phone back. In situations where you are likely to receive a lot of notifications, which is increasingly common for many people these days, it makes it trivial to keep caught up on notifications even if you're busy doing other things. Granted, that's not always what you want (though it's also trivial to put a smart watch away or on mute) but when it is it can be anywhere from highly useful to a lifesaver.

For me, I started using a smart watch exclusively while working events where me and my team would coordinate using group chat. It wouldn't be uncommon to receive hundreds of messages per day, and sometimes dozens over a few minutes. The vast majority of which wouldn't require a response, but being caught up on what was going on would be critical. And often everyone would have their hands busy doing something else, so being able to just look at your watch to read a message is an amazing improvement.

I started wearing my pebble every day maybe two months ago just as an experiment (after spending something like 2 decades not wearing a watch). So far it's been a success. Being able to stay caught up on my messages with little friction is helpful, and surprisingly having a watch is actually useful fairly often as well.
I have 'tools' repository on my local gitolite server just for that. Saved a lot of time already.
That some people are bad parents doesn't seem to justify making cannabis consumption criminal.
I think a lot of the confusion here is that in most languages "isArray" or "is-positive-integer" are simple functions of simply build into the language.

Dynamic typing and diversity of devices and virtual machines mean the ability to simple tell if something is an Array could be multiple lines of code that could take a considerable amount of time to test.

Delegating this to the community is arguably the only sane choice, however strange that may be to someone come from another environment.
Tesla Model S price hike rumored for US
Machine Learning Starter Kit [pdf]
I have been told by the CoreBoot developers that it has its own separate flash inside the chipset. There is definitely something loaded by the BIOS though.
I do not know much about trademark laws, but can you explain how having a npm package on another company's name infringing their trademark ? Just what level of detail can a company have trademarks on ?
Just objectifying, but not sexist, I'd say. So bring on the hot studs, maybe then I'll buy whatever game Microsoft is selling.

Also can I be the first to say that articles really shouldn't include hyperbolic messages from Twitter? They destroy any nuance and levelheadedness.
Sorry for the nitpick, but "hyperabstraction"?

left-pad isn't even slightly abstract.
Young professionals trying to create careers/long term lives here are completely priced out of the market. I'll be leaving soon. San Fransisco like property prices, with far, far less compensation.

You simply can't own a house unless you're a millionaire, and a small condo will be upwards of $200k for a mortgage when you don't own the property. It's just insane.

http://www.payscale.com/research/CA/Location=Vancouver-Briti...

Even if I'm pulling in a quality $80k (high-ish by here standards), I'm nowhere near affording a $2mil property. I'll be lucky to have a small condo with 2 bedrooms. What's the incentive to stay?
I couldn't find anything authoritative on the matter so I hope I can ask this here with Canadians reading. I'm curious if the only reason for the large asian population in Vancouver is solely due to immigration from California around the turn of the 20th century.
I see i'm not the only one who did this. Leftpad for Swift https://github.com/coryalder/SwiftLeftpad
Satire, most likely.
Why would they need to convince Intel when they could infiltrate them for what they want?
Having a full set of math functions isn't kitchen sink, it's the right level of granularity for a module. If I want math functions I really want them to all be written by the same author and kept in lock-step as a unit.

Why don't you want the whole module? Because it's bloat? Surely it's far less bloat than one submodule per function?
CALTECH CS 155 Machine Learning and Data Mining
http://risky.biz/ is a great security podcast.

For me the earlier stuff from SN was far better, but now it is mainly adverts and talk about non security stuff.
You are assuming well tested is referring to unit tests, rather than the wealth of developers depending on and running it in their projects daily.

Don't forget how many different targets there are for JavaScript, even if you had a test environment with limitless budget, it wouldn't compare to having a popular package on NPM.
I pretty much came to the comments to post something similar. I'm sure there was a long comment thread here on HN discussing the perils of NIH this week. This seems like the end point of the alternative.
Or aiming for > 2000000 downloads ;)
If your life is significantly "digital", if you're interacting with people constantly via email, twitter, messaging apps, etc. then you're going to have a lot of notifications every day. And cutting out the "few seconds" of hassle to pull out your phone and check those notifications is a significant savings when multiplied over all those interactions throughout the day.

As for battery life, my pebble time steel lasts about a week between complaining about needing charging, which is at about the 35% range, where it could survive probably several days of use if you forgot to charge it. And if you have a smartphone it's probably not a significant inconvenience to add another cable to your charger one day a week overnight.
Leftpad C++
No it is you and the other zealots who are praising OO for something it got absolutely nothing to do with.

When someone is claiming that OO leads to a better maintainability of a large code base it's just a shameless lie. Modules are responsible for this, not anything OO.
string[0] isn't necessarily one code point.
I'm not at all clear why this blog post is touted as evidence that the tiny modules approach is correct. I think it might be all the people after it congratulating him.

"It's all about containing complexity." - this completely ignores the complexity of maintaining dependencies. The more dependencies I have the more complicated my project is to maintain.

Dependencies are pieces of software managed by separate entities. They have bugs and need updates. It's hard to keep up to date.

When I update a piece of software I read the CHANGELOG, how am I expected to read the CHANGELOG for 1,000 packages?

Depending on a bigger package (handled by the same entities, who write one changelog, in the same form) is more straight forward.

I'm not saying this is wrong - but there's a balance here, and you must not ignore the complexity of increasing your number of dependencies. It does make things harder.
Managers that don't listen to their own engineers... pretty sure there is a wise soundbite in there somewhere ;)
Native Windows-S does nearly the same thing, does it not?
Instructor Yisong Yue @ CalTech, Winter 2016

homepage for reading list and slides
http://www.yisongyue.com/courses/cs155/
Another option is to run a DNS server that reurns results based on the ec2 name tag: https://github.com/ConradIrwin/aws-name-server
Here's the actual "study" (see page 3): https://nbf.bluematrix.com/sellside/EmailDocViewer?encrypt=5...

Although this "study" was based on back of the envelope estimates, and the 1/3 estimate is probably inaccurate, there is anecdotal evidence of large-pursed foreign investors from around the world -- not just China but Australia, Russia, etc -- who are sustaining, if not increasing the demand for housing in populous areas.

This foreign investment is great for people who are trying to sell a home in one of these markets but horrible for buyers, who can't compete with all-cash fast-close-best-price offers. Further, the few realtors who are boots-on-the-ground for these investors have market insights -- they know what's potentially about to go on the market but hasn't yet, get insider information, etc -- and use this information asymmetry to their advantage by offering on homes even before any real home buyers have a chance or offer on the first day of listing! I have personally gone through losing multiple times to these sorts of customers while trying to buy a new home (in the NYC metropolitan area on the NJ side), not an investment property.

The experience of buying a home in a high-demand housing market where institutional/major investors are participating really challenges my thinking about whether free market practices should be allowed to operate in housing at all. Considering the rising cost of housing, it is tough to side with capitalism on this subject.

I'd like to see a study about the "artificial growth" of housing prices by investors. Interestingly to note is that such a study may conflict with the agenda of at least some leading universities who tend to publish reports about rising cost of housing after receiving generous funding from housing investors. NYU Furman, for instance, has a long-lasting public relationship with Capital One (and god knows who else in private).
> What's not to like?

That depends; in the case of mathematics libraries they have to be bundled together because of functional dependencies. It's either that or ignoring DRY principles -- which if you do that, you're ignoring the entire point of what breaking things into submodules is intended to do.
Memories of a march against DRM
He says the single word which best describes him is small c communist, so at best this sort of anarchism is a violent tactic, and historically a very unwise one. And would be a quickly lethal one in the well armed US.
I bought an LG Urbana a while back, mostly because I wanted to get a watch after going most of my life. The fact that I could get a tech toy at the same time was good enough (+I wanted to eventually play around with Android Wear). The Urbana was the first watch that appealed to me aesthetically which is why I decided to buy it. Here's how I use it:

- Tell the time [often]

- Quickly browse mail and instant messages to see if it's worth getting the smartphone from the pocket. Side benefit: I use my cell in public a lot less and communicate more like a human being. Mostly just quick glance at the watch instead of being distracted into doing a bunch of stuff with the cell while sitting at a table with other peopel [often]

- Navigate via Google Maps while on foot in a city I'm not familiar with [occasionally]

- Maybe strange: Call notification via watch vibration = no missed calls (I missed some on standard cell vibration which is bad since I have my phone on vibrate 100% of the time)

It's only very simple stuff really but well worth it for me. Battery time is bad compared to Pebbles but I don't care because I take off the watch when I sleep and put it on the charger and it gets roughly two days without charging.
inb4 "leftpad-as-a-service"...
To exaggerate your statement you're basically saying that Pebble is making a crap product that doesn't appeal to anybody, though that's provably incorrect by their market penetration. You could say that they could make a better product, but that's a very different argument.
What's new in NW.js v0.13
too late: http://left-pad.io/
Stanford Video Lec; CS231n Convolutional Neural Networks for Visual Recognition
Maybe F1axs knows that at this particular spot the string will never be empty? There are two philosophies in libraries; one is to check for every possible error in the lib function, the other is to state the pre-conditions in the documentation.
Download Power 2016 Kalkata Bangla Movie HD Print Free
Off topic, but does anyone know what program they used as a screen recorder in the README .gif?
FOURTY FIVE MEGABYTES

/facepalm
Announcement: http://nwjs.io/blog/v0.13.0/
That is only about two months of the cable internet bill or cell phone data plan that you would need to really be able to use the computer. To do anything that the vast majority of people want to use a computer for, anyway...
A lot of javascript is going to be deployed to a website.

Every line of code that isn't used is bytes you're sending to every user unnecessarily

> Surely it's far less bloat than one submodule per function?

How is that bloat? It's the same LoC whether it's 1000 modules or 1 after it's been compiled/minified
Someone wrote ‘Trump 2016′ on campus. Some students say they don't feel safe
Oh my god, I'm crying
Then you can do variants.

A Java left pad implementing a Padder class instanciated by a PadderFactory that you can get by a PadderInjector from a PadderRegistry all that accepting an AbstractPaddingString.

Then one in Ruby where you monkey patch the string to that it pads, then add an AUTO_PAD settings set to True by default and a fluent API to chain padding.

Then one version PHP version containing pad_string, then real_pad_string that deals with unicode, then real_pad_string_i_swear_this_time that that call str() on parameters automatically.

Then a Haskell one with a monad and a trampolin and some |=> giberrish to mix it all.

Then a Go one that creates a string padding microservice. With a docker file, just in case.

And the last trend in Python, an aio_string_pad which gives you an asyncronous padding coroutine, but under the wood calling run_in_executor, and optionally auto start an event loop.

This is 99 bottles of beer all over again.
Lessons from a startup, two kids and a serial entrepreneur
Leftpad should be the new fizzbuzz in interviews.
You can use it in situations where pulling a smartphone out of your pocket is impractical. For example:

1. While driving. You can easily take a quick glance at your wrist while your hands are on the wheel and your eyes are on the road. Rummaging around for a smartphone in your pocket is significantly more unsafe. I've saved myself 20 minutes on a couple occasions because my wife IMed me to tell me the place we were meeting up has changed, or that she'd already gone to the grocery store and I didn't need to stop there.

2. While exercising. A lot of people don't like to wear things with pockets while out for a run or cycle.

3. In a meeting. It's less rude and less obvious to glance at your watch than to pull your phone out and start fiddling with it.

4. While cooking. This is a pretty big one: oftentimes your hands are very messy and a call comes in, and you'd miss it if you washed your hands. This is also why half of Apple Watch owners have used their nose as an input device.

5. While carrying things. This is great at the grocery store; I always found having to juggle my bags to grab my phone out of my pocket to be a huge hassle. I can flick through my shopping list without dropping what I'm doing now.

6. When your phone is charging. I'm much more inclined to leave my phone in the charger when I'm home now, because I'll get notifications on my wrist if an important call or message comes in. This in turn frees me up to wear pants that don't have pockets at home, which are often more comfortable.

It's also great in general for screening your notifications so you don't have to take your phone out of your pocket.

I think that the best uses for it will actually come about later, when devs realize they aren't like tiny screens for the phone in your pocket. Rather, they're tiny computers that can deliver information to you in bursts of 1-5 seconds (and from you continuously). How many moments are there where the right information could've led you to make a very different decision? I've encountered several - knowing not to go to the grocery store because your wife has already been, or that the person you're meeting will be 15 minutes late, or that your meetup has changed locations, or that it's about to rain in 10 minutes and so it's time to cut my walk short. I can brainstorm several others: remembering that it's your client's daughter's birthday just as you're about to sell to them, or that the item you're looking at at the store is on sale on Amazon right now, or that your employees think that this presentation you're giving is full of bullshit. What else can devs think of? There are a lot of 1-5 second moments in the day, and historically, whenever computation has reached new situations new $100B businesses get founded.
an engineer is more like a plumber than an inventor though.

you don't need to design a new type of screw to make a one off aquaduct, you don't need to design new bearings to make a gear box, you don't need to design a new opamp to make an amplifier, nor do you need to design a new MVC framework to make a one off CRUD app.

You use off the shelf parts and combine them with your knowledge and skills to produce and effective solution for your constraints. If you can't do it with existing stuff, then you design something new that can do it.
What I want to know is how many systems does the author of is-positive-integer have implicit root access to?

Sounds to me like publishing oneliners on NPM is a trivial way to build a botnet.
Because someone already did that.

https://github.com/Wox-launcher/Wox
Stencila – Spreadsheet-like live reactive programming environment
Well, it bundles Webkit and a kitchen sink.
Are you thinking of the new flat-tree npm? Because in my 1.3.10 installation, I see this:

$ find node_modules/ -type f | wc -l
56278
$ find node_modules/ -type f | xargs md5sum | gawk '{print $1}' | sort | uniq | wc -l
8545

That's a lot of duplicate files.
Ah, thanks, again honestly.

That is my main complaint against anything Node.js: after having struggled with Node.js before I don't feel like building anything bsed on it.

Guess I'll stay with Launcy (or even the new Windows start menu) but this sorts most of my issues.
Bloat in the source code, build system, dependency management, overheads per submodule, complexity.

I'm not arguing that there shouldn't be a math module but that you shouldn't split it up into such (imho) crazy small parts.

Closure Compiler can remove any unused functions.
Uh, where did you get the VB for terrible performance and CPU usage? There's nothing inherent to the language that makes it less efficient than C# or anything else running on the CLR.
Heavy Use of Social Media Linked to Depression in Young Adults
I may have missed it but it looks like the plot from cell 'In [64]' hasn't converted from Euros and GBP to Dollars.
A config.fish consisting of the line 'alias a=echo' repeated 200 times takes 3 seconds to start. No config file starts out in 50 ms. So my 200 aliases seem to be the culprit here. And to be fair my init time is actually a bit over 2 seconds.
Its too vague. too much wanting to convey in one article
Mathematical intuition better explained.
> Even if it does take the same amount of time (which it shouldn't), a 1-line call to a standard module imposes less of a future maintenance burden than 14 lines of custom code.

In my experience with using npm since it's release, module authors will spit out modules very quickly then, after some period of time, abandon them without passing them onto other people. At which point I have to assume all future maintenance anyway. This has happened to me so many times, in fact, that I try to make even picking my dependencies based on the author's interests. For example if it's owned by a company or organization that still uses the module then it's usually one of the safest to pick.

Regardless I don't think I'd ever call very elementary code a "maintenance burden". Ever.

> That's a non sequitur. Reproducible builds are important, but unless you write code with 0 external dependencies you already have a system in place for handling library dependencies in a reproducible way. So why not use it?

Completely disagree here. As we saw with this "npm gate", even if you're using a shrinkfile, npm doesn't completely provide handling dependencies in a reproducible way. Not always. Maybe most of the time though our build server certainly has logs where npm was unreachable, having issues, etc on a very regular basis.

The point being: where it's possible to mitigate and remove dependencies I think you'd be crazy not to. Every dependency you can lose is another potential build issue or attack surface you're removing from your project.

> This is the opposite of my experience.

That's fine. In my experience people will take DRY so far that even meta data and comments will be abstracted so you can't even understand a piece of code without opening multiple files. I think it's perfectly reasonable to repeat yourself at times but those cases where you have to open up 5 files just to understand what a REST endpoint accepts as input is crazy.

I think DRY in general is fine as long as it's not used as an absolute "we have to do it this way because DRY". :)
FWIW I'd just finished a large blog post researching ways to automate podcast transcription and subsequent NLP.

It includes lots of links to relevant research, tools, and services. Also includes discussion of the pros and cons of various services (Google/MS/Nuance/IBM/Vocapia etc.) and the value of vocabulary uploads and speaker profiles.

http://blog.timbunce.org/2016/03/22/semi-automated-podcast-t...
Write a damn unit test for your padding function. We should share unit tests, not one-line libs.
Libs with unit tests can be one-liners and be as fine-grained as we like, since it's something your users don't have to download
That's not true; I suspect it depends on how many other receptors they hit. One reason Lexapro/escitalopram is liked for its laser precision, in the prescribing information it has the following aside, relevant to receptors it doesn't hit:

"Antagonism of muscarinic, histaminergic, and adrenergic receptors has been hypothesized to be associated with various anticholinergic, sedative, and cardiovascular side effects of other psychotropic drugs."
I think one of the best things about BCC was it broke out of the "software developers creating products for other software developers" cycle.
> The car industry has a lot to learn about security.

Not only security; with GPS and radio having access to the breaks, the car industry has a lot to learn about safety.

The entire industry that allowed this kind of terrible design needs to study the lessons of the Therac-25. Nobody seems to understand what "fail safe" means anymore.
Yup. I'm working on a Polymer project in ES6. I develop in Chrome with it pointing directly at my source, so I get a full debugger and quick reloads by hitting the F5 button. Then I use crisper/babel/vulcanise via a ninja build script to generate an ES5 deployment package for the other browsers. It works really well.

(ES6 is so, so much nicer than ES5. It's almost like a real language now!)
iVascular