skysight-inc/HackerNews huggingface dataset:
If it were being used only in places in the code where it was rarely called, it would be fine to create a handful of extra functions, make a few dozen function calls, etc. In my opinion, anything that aspires to be a library of basic infrastructure type code should try to have efficient and simple code at the expense of being slightly syntactically longer than the highly abstracted version.

Because if people start using it for such things as an "is positive integer" check (Which, to be fair, they should not be doing. Nobody should be constructing 2 new javascript functions every time they want to check if an object is a positive integer. But apparently they are...), then it could easily make its way into somebody’s inner loops.

The end result of this general culture (not picking on anyone in particular) is that trivial Javascript programs end up having their performance tank, because every tiny bit of useful real work gets weighed down by two orders of magnitude of incidental busywork creating and tearing down abstractions built on towers of other abstractions. Because CPUs aren’t very well optimized for this kind of workload, which involves lots of branching and cache misses, it’s worse still, probably more like 4–5 orders of magnitude slower than optimized code written in a low-level language.

Ultimately every idle facebook page and gmail page and news article in some background browser tab ends up sucking up noticeable amounts of my laptop’s CPU time and battery, even when they’re doing nothing at all for me as the user.
My Answer To: I want to learn programming, should I attend a code school?
This reminds me of the phrase "practice makes perfect" and of course, the oft-repeated correction: "perfect practice makes perfect."

I can't say I'm a fan of the domain name, though. There are certain connotations you raise in people's minds when you use incredibly common/trite Japanese phrases within a given subculture for a domain names, especially one that sounds like "I'm retarded dur dur."
This module is a joke, right? Right?
IdeaMarket Shutting Down
Oh, but javascript is dynamically typed, so it doesn't matter if your sin-module works with a different kind of arbitrary-precision decimal number module than your geolocation module, your cosine module or your openg-draw-triangle or opengl-draw-circle modules... /sarcasm
>If ... something ... was viable, it seems like somebody would already be doing it

This kind of thinking is useful as a first pass check, but one should not carry it too far. I would hope that by now the company has considered why no one has done it, and concluded that the obstacles are not insurmountable, and the prize in the end is worth it. Like so many other innovative companies, e.g. Tesla.

Also... "Somebody who would be already doing it" would have had to pass exactly the same hurdle.
Pretty much the opposite of libertarian, IIRC.
Cloud Security can’t be ignored anymore, thanks to Millennials
Couldn't they go the the same route they took with classifying objects in images by using their users to label them? I know recaptcha provides an option to verify yourself by transcribing audio.
Bear in mind that Erickson's original research involved classical musicians. They're competing in a field where high standards were largely defined 150 years ago. Those standards have stayed remarkably similar. If you want to be a great classical pianist, cellist, etc., you need to put in a lot of time to rival the performance levels of prior masters like Heifetz or Rubinstein. And, yes, focusing on the hard stuff (deliberate practice) is crucial.

These insights extrapolate to some current-day fields -- but not everything. Not by a long shot. It doesn't take 10,000 hours of deliberate practice to get great at a lot of newer areas where standards are being defined on the fly. Newcomers with boldness and originality can go a lot further in such situations.
Left-pad as a service
Good to see Prolog getting a mention!
Poor delusional.
> By relying on these small rigorously tested libraries they are avoiding the need to test their own code, and thus avoiding basic null check or conversion errors.

In practice, many, if not most, of these one-line modules don't even work correctly, and it is difficult to get people to care to collaborate on fixing them instead of just replacing them with a new one-line module that works slightly better as the concept of complex collaboration to perfect one line of code is so foreign to a generation of developers who would rather just throw code to the world and never look back (an issue made all the worse as tiny bugs in these one-liners can almost seem dangerous to fix when you aren't really sure how they are being used: maybe it actually is better to not fix anything and just have people rely on the replacement better module :/).
Ask HN: Is Apple Sneering at Virtual Reality?
I can't help feeling that Apple is looking down it's nose and sneering at Virtual Reality.

As though pure games and pure entertainment is beneath it.

Does anyone else get that sense?
Clearly 2^32+2^32 < 2*53, so there is no problem ;-)
Invest in renewables research, marketing and sales.
My car is about 20 years old. In my country it's far more normal to buy a cheap car outright (say 2.5k USD) rather than get a lease or a loan for a new car (say 25k USD).

There's nothing wrong with it, i'm not sure why i'd want a newer one.
A 50$ Android smartphone can do all of those, and more.
The huge difference is that PHP package manager support namespaces and dependencies ARE FLAT. You cannot import 2 versions of the same package under the same namespace. Which

1/ forces package authors to write stable libraries

2/ forces dependencies to narrow the versions of their dependencies

3/ prevents name squatting to some extent. You cannot have a package named "forms" and then sell the name for real money, like seen on NPM. your package needs to be "namespace"/"name". NPM made a huge mistake with its gems like global namespace and it explains half the problems it is having today.
I feel bad for anyone who can't view an animated medical diagram of a penis at work for fear of it being NSFW.
That's why Apple prioritizes reuse over recycling.
Not OP, but I used Google's Long.js (among other things) in a project[0] to get around the limitation of not being able to do as in Python:

import fractions
print str(fractions.Fraction.from_float(0.3333).limit_denominator(10))

Almost anything that compiles to JS would be better than by-hand JS; I'd love to use ClojureScript with re-frame at work...

[0] http://www.thejach.com/pseudo-public/webgl_coursera/assignme...
OK. Well, we have to consider that. There's companies making money on the ISA's and implementations. Intel's main business is the ISA and implementation of x86. By that standard, they have quite a huge chunk of a oligiopoly with only 1 real competitor and a niche competitor in low-power space. For ARM, there are at least 10 companies that fully licensed and extended the I.P. plus academics doing their own. Additionally, Intel and AMD extend their own stuff in their semi-custom business whereas I can extend ARM or MIPS myself after licensing it. The PC builds on blackboxes from Intel and AMD plus a few others that differentiate at the board level. Barely a comparison to ARM, MIPS, etc differentiating at SOC and transistor level.

So, Intel is dominant in their ISA, its implementation, and in a profitable way. ARM and MIPS don't come close despite their monopolies on the ISA's themselves.

"x86 is an older product and hence more open than most successful newer products; it was perhaps less open than its competitors at the time, which in part explains why it was more successful than those competitors... "

This is news to me. Far as I knew, it dominated desktop due to backward compatibility and other strategies. It wasn't open in many ways. SPARC and PPC even adopted OpenFirmware while Intel still had closed microcode updates. It's still the least open ISA of the high-sellers.

"In general I think that the "vertical disintegration" where you have fabs which are open to everyone making chips integrating cheap IPs, instead of companies with their own fabs, has destroyed "openness" - it used to be the case that you knew exactly what the hardware was doing, and it is now the case that you need to sign a draconian NDA to program most of the components in most chips"

That I agree with. Fortunately, there's work from companies and academics to change that with actual silicon being prototyped. This will be an uphill battle but is becoming feasible. The main drawback is that the cost of EDA and prototyping means closed I.P. might stay the norm. Only exception is if we can get academics to put key I.P. in public domain as they develop stuff. PCI or USB here, analog stuff there at 45-90nm at least. Make it cheaper.
But the point is they cannot be edited or replaced.
Well wannabefounder you ask an excellent question.

I'd pay $10 a month for a service that was really useful and valuable that did things I wanted and needed it to do.

The sort of idea that YC would fund.

How about we start with all the ideas that you have - can you post them?
And carbon sequestration...
Because finding code that passes arbitrary tests is undecidable in the general case.

(Same reason the pseudo-Idris language would have to be non-Turing-complete)
I doubt any money has changed hands (if it has, Boom would trumpet the figure). This is a pure publicity move for both Boom and Virgin. I doubt, tbh, that Virgin rates highly the chances for this to succeed, but they lose nothing by saying that if the plane is as magnificent as promised, they will buy a bunch.
Bullshit, in the sense that it's relation to truth is irrelevance.

Just a puff piece about how we should all put in face time.
Reminds me how lame those geek t-shirts are, and how vulgar it is to put stickers on laptops!
The thing with DCVS is not that central hub does not exist. It is that you do not need specific central hub. That means if github dies, I can take any of my git repos I checked from github and continue working with them, and create a local git server that would allow others to work with it. Of course, there is a convenience value in having central hub. The point is not denying that, the point is turning it from necessity to option.
For a less sensational review of this situation, NPM published a post-mortem:

http://blog.npmjs.org/post/141577284765/kik-left-pad-and-npm
What would you recommend to a junior CS major to avoid falling into this pattern?
US Navy Ship That Vanished 95 Years Ago Is Found Off California
Yeah, it probably should be "Bootstrap me", but I did modified bootstrap.css to fit into this context. Also you are right with jQuery and popup.css.

Thanks

Cheers
Very constructive, I feel I learned something from you.
You're just trading in the complexity of the code you'd have to write for the delayed complexity of dealing with dependency issues down the line. It's a waste of a trade off for tiny things like this.
> "dependencies": {
> "babel-preset-stage-0": "6.5.0",
> "babel-preset-es2015": "6.6.0",
> "babel-runtime": "6.6.1",
> "babel-plugin-transform-runtime": "6.6.0",
> "babel-cli": "6.6.5",
> "babel-core": "6.7.4",
> "twit": "2.2.3",
> "entities": "1.1.1"
> },

The problem right here. Just to run a script you now need to import a whole third party language runtime ? what other language does pull this kind of stunt ? Javascript is madness.
Klabnik himself being influenced by Marxism and committed to overthrowing the democratic state, presumably through armed revolution:

https://twitter.com/steveklabnik/status/514125493663436800

Communism has killed millions and millions of people yet its advocates don't get blacklisted for wrongthink.

And despite Klabnik's efforts to police the ideas of tech speakers, his chosen software licenses don't prohibit use of his software by repressive regimes:

https://github.com/steveklabnik/request_store/blob/master/LI...
Great support? My wife's experience with them has been terrible, I don't even want to talk about it. They basically blocked us from using warranty, and told us to pay fully for a new device. And I promised that's the last apple product that will enter our home.

And after the iOS update rendered many "old" devices unusably slow, the "great" customer support basically told them to spend more money on new models.

> wouldn't need a full PC because

Your pitch is wrong: people already own a PC, what they don't need is to buy apple gadgets, and replace them with newer apple gadgets every couple of years. My parents are totally happy with their ~10 year old PC with SSD, running LTS Debian, and are able to do everything they want freely.

As for myself, I do own an Android smartphone, but that's only because the phone company gave it for free, not that I asked for it, and such a "toy" system definitely isn't going to replace my PC, or a true POSIX environment.
"DRY is the most obvious one, but one that may be less obvious is for better testing."

Isn't that why we just write functions? Turning simple functions into entire modules just adds an unnecessary level of abstraction that helps nobody.
Not sure if this counts. But I use a static site generator [1] that I wrote in Python3, to create my blog. Every time I watch a foreign language movie, I use a tool that I wrote in haskell [2] to search, download and find the perfect subtitle for that movie.

Right now I am rewriting it in Rust, with the added capability of syncing the subs in case I am not able to find the perfect subtitle. It is almost done. Now I am trying to put it online.

[1] https://pypi.python.org/pypi/Feni/0.9

[2] https://hackage.haskell.org/package/hastily
The iPad Pro's Embedded Apple SIM
How about a service that would do my thinking and market research for me? Maybe even something that could gauge my aptitude and expertise? But I'd only pay £3.50 max, because I'm a cheapskate and don't like people.
My goal was for it to be entertaining and educational[1]. I love npm (which made this possible to begin with!)

[1] ES6 features (arg defaults, destructuring, modules, template literals, String.prototype.repeat), babel configuration and runtime compilation, async / await
This is, finally, the "Fractal Of Bad Design" moment for JavaScript.
I've always wanted to build a spring loaded 30cm titanium spike that would shoot from the seat pole through the seat if not disarmed. Obviously completely illegal, but a satisfying mental exercise.
...Good lord.

Worst part of this is that it's useful. ȱ_ȱ
Not a good constraint. Just make each tweet module export a string, and concatenate them and eval().
Are the tweet modules allowed to requireFromTwitter other tweet modules?
Cernatel-cerentel PLANTA MEDICINALA
The youth unemployment rate in the US is around 10 percent. I'd say a two and a half times difference is pretty significant.

Would you rather move to San Francisco or Paris straight out of college? Which you do think has better career prospects? Do you think that has anything to do with the extreme difficulty of hiring and firing workers in France?
Most of that is so people can use the slightly nicer syntax of the newer version of JavaScript in a more supported way as it's transpired. Honestly I'm not a fan because, as you can see, it's a big ass bucket of extra complexity for some extra, albeit nice, syntax updates.

I'm waiting for wide support of ECMAScript 6 before I start using it widely. Though I feel I'm a bit in the minority here I just don't want to deal with all of the transpiling complexities if I don't need to.
original purpose: building a giant airship

new purpose: pasty white germans eating barbecued sausage and drinking beer on a fake tropical beach
Neither can npm module versions without direct assistance from the company (which, if you were able to gain favor, you might be able to get Twitter to do the same).

The only difference is someone can't take over a tweet should the original tweet author delete their account.
Virtual reality city visualisation with live traffic updates also showing Uber cars and available AirBNB beds and restaurants.
And Gliffy is back up.

https://www.gliffy.com/apology/
A lot of models were not mentioned in that list: Audi A8, any Mercedes, etc. I wonder if they just weren't tested or if the hack doesn't work with them. (And if that's the case, what is different about those models?)
I mean, okay, maybe, but that just means that they'd be hosting a conference about "nazis suck" and hey, I'm okay with that. That's a message I can get behind.
Virtual reality home designer.
Virtual reality meeting system.
Virtual reality supermarket.
> What concerns me here is that so many packages took on a dependency for a simple left padding string function

Clearly to mitigate such a tightly coupled dependency, Left-Pad should be a micro-service. :-\
Virtual reality holiday destination resort and hotel explorer.
Why that convoluted title? It's called, rather unambiguously, "sex". (That's a rhetorical question; I understand perfectly well why it is phrased like that.)
Data gets bigger because instruments have bigger/better sensors (the biggest of which are built like computers) and there is more storage and bandwidth. So it basically advances in lockstep with computing power.

There's a lot of hand-waving and details, but that's the overall answer.
Virtual reality chat system.
Not really. Usually people include them as "devDependencies", and Babel will transpile to ES5 before publishing.

I think Guillermo simply didn't care. Because it's not important for a joke.

---

Uninformed presumptions are madness.
Tell that to my boss. I personally don't give a shit.
And how is this bad? I bricked my phone several times and fixed it. I cannot buy a phone that I can't tinker with (which is i have a Nexus now). I don't understand how inability to tinker is a good thing.

Take that argument one step further and it's the net neutrality condition.
Saying "People have different opinions" about nazi bullshit is kindergarten-level analysis.

Nazis are bad. Racists are bad. Claiming these "opinions" are equivalent to any other is childish and immature. Grow up and realize you live in a society with other people, and the positions you advocate for (and encourage others to advocate for) have real consequences.
I feel like you might be hinting that software is one such field.

IMHO software's problem is not that it doesn't take 10,000 hours of practice - it is that it takes much, much more. It can be months (or years!) before you receive feedback on your decisions. Given this, boldness and originality can go far not because it's easy to be an expert, but rather because almost no-one is an expert.
If this is a trend I guess HP wishes it would never have so readily worked with the NSA bugging servers.
or 'started' not sure if I'm joking
<rant>
The problem here is JS developers have baked in the notion of having NPM as the alternative to Google + StackOverflow + own thoughts. It's really a no-brainer (literally) to just slap another package than to bother thinking about what a piece of code does, the edge cases and pitfalls. Move fast and break things, right?

Sure there was some argument about Unix philosophy, small module doing one thing and does it very well. Did anyone bother considering the quality of most NPM packages? Quality is not reflected with passed Travis CI or extensive community testing and feedbacks. Not at all. Look at the those packages on apt-get. They are modular and robust. They do what they were supposed to do.

Now take a long hard look at the state of NPM. What do we have? People clamoring for reusability and whatnots. Most of them don't even know what they're talking about, just reciting the latest hip statement from the Internet. Being mature about development means accountability for what you do, not pushing shit around that you don't even have knowledge off. As a self-proclaimed polyglot, I love JavaScript as a language but not the ecosystem. It's like watching a dog chasing its tails:

- Endless loops of discussion that help stroke the egos but not improve anything else.

- Craps for resume/repository padding, not for actual developers to use.

- Bandwagon mentality that just pushes the latest fad along, and the herd towards the cliff.

The notion that JS developers are kids playing grown-up, has been reinforced with this NPM incident. If we want to discard that notion slowly, we need to be more mature developers. It's that simple. Here's what I think we could do:
- Have a clear idea on what dependency you need. Browser, IDE, terminal etc are dependencies. Basic type checking is not.
- Be better craftsmen. Roll and maintain your own toolboxes. Only share a working hammer, not a broken nail or a wood chip.
- Note that for each package you publish, thousands more hours would be spent on learning, adapting, using and reporting mistakes. Collectively, the current community wastes so much time with finding the right things to use. Often times, we learn much more by playing with code, even posting on StackOverflow. That's hands-on, `npm i` is not.
- Own the code better. The idea that teams like Babel and React devs with all the brilliant developers choose to put their eggs in a private corp's whims is just scary. You can't hope to build robust software while playing Jenga tower.
If it's so easy for me to tell if AngelList is a real by performing an online business search, then why doesn't AngelList determine if companies are real that way, instead of violating my privacy by sending my employers first person email with headers implying it's directly from me, on my behalf, without warning?

Do you also think I'm being dishonest to insinuate that they ignored my repeated emails to team@angel.co reporting the problems I encountered?
almost certainly those models are affected too. The Audi A7 wasn't listed, but it's 90% the same as the A6.
That's... prolific. On a very unrelated note, are you the same patio11 who was a parli debater a while back? I've seen your username across HN before but never drew that connection until now. Assuming that's the case, I've got a really embarrassing question for you.

I remember reading a comment of yours on Net Benefits years ago on critiques (I think it was about how some critiques more or less used the subject as a one-dimensional cutout to haul out in the middle of rounds and stick back in the box when done) and you talked about a Japanese phrase that meant something along the lines of "wallflower" (?) in that context.

I searched for that comment a few times, but never could find it again. It drove me up a wall in a few rounds because it was always on the tip of my tongue but I couldn't remember. Then it didn't matter after my school decided to screw up our debate program, but it was one of those dumb little things that continued to bug me. Any chance you remember what I'm talking about, now that the annoying itch to know has come back? :)
The car could log the signal strength of all successful auth attempts from the key fob and determine an acceptable range. Anything outside of the acceptable range could then require use of the mechanical key (for those fobs where the mechanical key is built in) as a precaution.

Fobs could require a 'wake up' key press after a certain duration of inactivity.

Fobs could have a physical switch on them, enabling an airplane mode.

These ideas all give up some manner of ease-of-use.
Talk to anyone who is running iOS 8 on iPhone 5 . it's worse.
But the best part - you can't run iOS 8 on iPhone 4...even if you want.

A Nexus may be hardware limited after 2 years, but it doesn't stop you.

Nexus 6p is still considered to be the best phone (and camera) all around even though it's last year's phone. And it's selling for massive discounts.
I am posting the article "No silver bullets" again, in the wake of the npm fiasco. I think it is an essential reading for every programmer, every year!

https://news.ycombinator.com/item?id=11350728
He has not said that, nor has any representative or DOJ official.
How does this match up to Launchy?