skysight-inc/HackerNews huggingface dataset:
> If I have to work in this language, and I'm allowed to bring in packages, I'd go look for the community's attempt at fixing the standard library ... If it's really just this, I'll probably paste a Stackoverflow answer.

Sorry, can I get this straight, we're talking about sum() now, right? I'm genuinely amazed.

> thinking through the pitfalls of the implementations of basic math operations is not a good use of time

I suppose there's a trade off, at some point it is less time to find, check, and invest in a package rather than write its contents. For lots of cases it is definitely faster to use a package. But we're talking about averaging a list of numbers here, or adding them, right? Doesn't this strike you as rather bizarre to be having this discussion over things you should be able to write trivially?

> What would you do if your language didn't have exponentiation?

It depends what I need it for and what kind of exponentiation. I'd use inline exponentiation by small positive integers. I'd be concerned if my team were writing pow(x, 2) + pow(y, 2), for example. If I needed fractional exponentiation (e.g. pow(k, 3.567)), then I know that's beyond the realm of something that could be implemented in a couple of lines. If the language didn't have it, I might write it, certainly, especially if it wasn't part of a bigger suite of functionality I need.
No, astronomy keeps insane amounts of datasets, because things turn up often enough that what was interpreted as a star fifty years ago is actually a planet. Going through, looking for precovery images means that the more data you have, the more you can sift through later with more knowledge. The old data may never be analyzed, but it still waits there until we discover more about the universe to find its significance.
Non-atomic writes to a single memory location, from what may well be separate cores etc, happen essentially at random due to out-of-order execution. What are the downsides to using the value from the last thread ~spawned~, and calling it a day?
I think Apple would probably just use ARM chips; they already have the license and they have lots of experience designing their own.

OpenPOWER is awesome though. I'm hoping Talos will get enough interest; I'm ready to throw money at them if it succeeds. POWER chips are super good, I don't know how IBM has managed to keep up with Intel's R&D but they're definitely competitive in performance.

1. http://0pf.org/j-core.html
I'm no expert on this, but the article seems to ignore vertical-align. I could be confused though
No, you see "is-bigger-than-5" clearly does 4 different things. You need these modules:

module.exports = exec("===");

module.exports = bigger(a, b){return a > b};

module.exports = () => return "than";

module.exports = (a) => a.search('ABCD...');

.. or something like that. These are all plugins of course.
As I read the author's knowing quotes of the various poems, and one by one they fly over my head, I recall why I never was able to get into poetry. Perhaps it's a language and a context that I would have to steep myself in. Perhaps I should take it as a challenge and start to read more poetry. Any suggestions, hacker types?
don't feel bad, it's very useful to hear what people need. feedback guides development. so thank you very much.

i hear you on 1 -- agreed & some help is on the agenda: https://github.com/twosigma/beaker-notebook/issues/3688. and then editing regular flat files for inclusion via the backend's native import (even into non-beaker programs).

on 2, yes many plotting APIs have that problem. beaker's native plotting library produces a thumb so you can drag to resize: https://pub.beakernotebook.com/#/publications/568ddaed-b648-...
Building in the Open: Introducing Buffer’s Transparent Product Roadmap
It's not that anyone has forgotten, it's that a lot of people never learned how to in the first place. Every programmer community is riddled with these problems but the NPM world seems to be the worst. The ruby gem "american_date" annoys me to no end. It's just a highly-specific implementation of Time#strptime. Gah
Just finish play-testing that level than rerun the PM's comments about that new level design!
I said bank shipment because I did not know of a more secure way of transporting a high value target. :/
That argument sounds like an enterprise architect explaining why the AbstractReusableBeanFactoryGenerator is going to increase productivity.
There's nothing - NOTHING - that would please me more than seeing Appalachia's coal industry go away. My family just buried an uncle with chronic black lung. His dying words to my aunt were "Get the autopsy done. Don't let Massey take away your death benefits."

Thing is, there's nothing in the southern half of the state to replace $70K/year jobs. Nothing. I understand why the few remaining residents are hoping for a miracle.
The composer is Chris Huelsbeck [0]. Unquestionably one of the most important Western video game music composers.

[0] https://en.wikipedia.org/wiki/Chris_Huelsbeck
Often they're even publicly traded billion dollar companies.

I'd like to propose the phrase "new-economy company" to replace startup.
Strikingly (YC W13) Is Hiring SEO Specialist, Marketing, Blogger – Shanghai
Yes it will. http://www.pcworld.com/article/2887275/intel-moores-law-will...
Angular Drawbacks
I think this is the fundamental thing people don't understand about NPM and JavaScript, and the web in general:

Nothing is included. And that's a feature. The web is not trying to be the kitchen sink. That's iOS. They provide high level APIs for everything. And as a result, the platform is architecturally only as vibrant as Apple can make it.

Now maybe you're happy with Apple, maybe you love the iOS APIs. But if you don't, you're stuck. There's not a rich bed of alternative view layers that you can draw from to build your own vision of how software should work.

Node and the web browser strive to be lowest common denominators. They provide just the very basics: a document format, a very simple programming language, and an http server. The rest is up to you.

That's pretty scary, and so the JavaScript world has dabbled in frameworks. In the end all-inclusive frameworks are antithetical to the spirit I'm talking about, so things trend towards small modules that do one thing pretty well. People go overboard sometimes. I would argue left-pad should just be a copy-pasted snippet rather than module. But that's not a sickness in the community, it's just developers feeling out how far to go.

If you like every application to look the same, and you don't mind being chained to enormous and restrictive standard libraries and frameworks, then you will hate JavaScript. If you like writing software from scratch, forming opinions about all of the different parts of the system, and allowing each application to be built out of different parts, out of the right parts, then you should give JavaScript a closer look.
I saw a comment on another post that captures the 'nature' of Medium quite nicely.

Medium, somewhere between half-baked and well-done.

Considering the sheer number of 'self-promotion disguised as content' and 'Dear whatever subject I feel like complaining about today', or 'Dear Dear response to complainer' posts, I wouldn't consider it a good Medium (pun intended) for any content that matters.

Unless, of course your business is shameless, thinly veiled native advertising.
I don't have details but the Boom CEO is positive:

>YC has been awesome and supportive in so many ways, far beyond money. 5 stars, would do again!! :-)

YC have a lot of knowledge, connections and name recognition
Why not both? From Josh Earnest's comments last Friday, it seems the President and he still do not understand that no law can keep encryption out of the hands of criminals [1]

This needs to be understood by the President and the DOJ. Maintaining public security is an important, difficult job. We cannot rely on our family and friends to keep us safe, and our society and unity depends largely on law enforcement.

[1] https://youtu.be/LRR2B5f82e0?t=38m25s
NSFW warning.. there's a catheter/penis combo.
IMHO, this is all due to lack of a standard library in the Javascript world.
Interesting point!! Could definitely be repurposed for any industry.

Selling it as a SaaS system is definitely one option, though it would mean I would have to spend time selling, promoting and supporting it, which isn't something I'm toooo keen on.

Thanks for the great advice though! Definitely a thought to keep in mind.
> Yes they are, in the same way that a book in which every page consists of a single word is easier to understand than one with more content per page.

A more apt metaphor would be separating a book into many small paragraphs that each serves a single purpose makes the book easier to understand. Regardless, the book metaphor misses a lot of the nuance.

Of course taking the approach to an extreme would be detrimental. However, a vast majority of these small modules that are actually widely used consist of functions that may seem trivial at first sight, but actually contain a lot of corner cases and special considerations that a naive inline implementation could miss.

Sure, there are also plenty of trivial one-line modules on npm that don't fit into a such a description, but those are simply side effects of the unprecedented popularity of the platform and its completely open nature, and shouldn't be used to infer any kind of general trend towards "hypermodularisation" because very few reasonable developers would ever import them into their projects.
Except the stream is not continuous, as the the liquid speeds up it tends to separate into droplets.
remote teams, not remote people
A lot of people (me included) use Slack/HipChat like a news feed, in which chat is an incidental feature. My servers, databases, CI/CD, bug tracker etc all publish to Slack and then (maybe) a human discussion will form around a particular event.

To disrupt Slack, make an awesome news feed, with chat and publishing API and search. Add an API for reading (like Twitter's API). Make it easily compartmentalised (faceted search maybe?) Then you'll pick up users like me, who used to use email and find group chat better but really need "Hootsuite for infrastructure".
> Also as far as I know there's no first party app to directly view your keychain items in iOS, which makes it useless when the domain detection fails

They fixed that in either iOS 8 or 9, there's now a "Other Passwords..." option that lets you browse/free-text search through all your saved passwords.
>> "...which of these have been...compromised...?

~All of them, though likely without bothering to intercept your specific hardware, since you were relatively unimportant. Instead, the breaches were built into commodity hardware far upstream of you, for fully general attacks.
This is a great question, but it's not HN's job to answer, it is the DOJ's.

We really need to get the point across that no government would be able to enforce a law that requires a certain software design (in this case, back doors) in all commercial and free software.

It's the equivalent of requiring people to say or write only certain things. Even China and North Korea do not do that successfully, and they try really really hard.

Our representatives and law enforcement are woefully uninformed about this issue, and it hurts the public because fingers are being pointed in the wrong direction. While we are infighting, terrorists are making strides.
Yes, but it's MIT licensed. We also need average_GPL to go with it.
If there's critical a weak point in the design that they're well aware of, that's known to be triggered by certain conditions, and those conditions are in force, then I'd say quite a few.

It takes a huge amount of guts, though, to try and pull the plug on something like a shuttle launch over something as innocuous-sounding as some gaskets. No matter how certain he was that it would cause a disaster, the non-technical brass must have just thought "eh it's a gasket, I had a leaky gasket in my car once, we can handle a few drops of oil."
I guess the author missed http://www.nytimes.com/2013/01/09/us/nashville-takes-its-tur...
Opensourcing business processes, with tech skills to back it up. Rare combo.
Long ago, like anyone else who was paying attention. See among (many) others the PC mag links given elsewhere in this thread.
Hmm. Take it from a resident of Scotland, the words are Scot and Scottish. Scotch is whisky or tape, and when it is applied to people is likely to result in contempt at best
But index calculus is the right way to do it, and it's not particularly difficult to exploit. P-H only puts a quadratic (at best) factor between you and an attacker; index calculus makes that gap subexponential.

Below is the prime number corresponding to the interpretation of the byte array I was speaking of:

3c6d8e07b9ec437a4177a6c5efbc95994aaf1246780e7d17
4d7f75538ecebfabf5af04f66d4f37f086734a0b046928ac
bdbb8f7a43c8d38df5f890a8d66dfc00c6058e9908c6609b
03bff987e840bc0ecbbfc857cbc822bf941c9259255f5b22
cea945a2d8a91694b3bfa7bcc1cee388550cb8263e0e46c5
59a496dff2dccc17
> you left the freedom of your device to jail yourself into simple interface...?

"Is this not... better?" - Loki
> it can manage to collect its servers directly from the manufacturer/supplier rather than rely on a third unrelated party for transportation.

Until it hits customs.
if leftpad were in the node stdlib, would you still be making the same point about knowing computer science and using leftpad?

in python: https://docs.python.org/3.3/library/stdtypes.html#str.ljust
We also need an IPFS source cache, not just binary cache. It would be an immutable source mirroring for all of our dependencies allowing reproducible builds from source (which is sometimes required as not all compiler flags are specified by default). I've had tons of problems buildings from source in Nix because upstream source urls break.
HN has grown so much since then. That might not seem like much of a response compared to what a top story gets now, but it was a big deal at the time. It was in the top 10 on the homepage for at least a couple days.
How does that help? Besides they overflow to doubles if they get bigger than 2^31-1 anyway.

The problem with a naive average like this is that if you're averaging a bunch of big numbers there is a very high chance of overflow when you're summing, so even if all the numbers fit in 32 or 53 bits your calculation will be off.

If you're not averaging thousands of large numbers, why are you even using a package instead of nums.reduce((a,b)=>a+b) / nums.length anyway?
It's not like the President understands that encryption is ungovernable and is pursuing a fruitless path on purpose. He just doesn't get it.

We should be begging smart people to get in the White House and help relate the facts to him. The current CTO Megan Smith is there calling for more people to join. She says the discussion about encryption is "ongoing". She's obviously outnumbered. Tech does not have proper representation in the White House.
"Almost no tech conference has the capability to seriously address systemic issues of inclusivity."

Out of curiousity can you describe how one could " address systematic issues of inclusivity"?
The arguments can get unfortunate, yeah.

With copyright (unlike patents), when I offer some code under some conditions, to first order I haven't subtracted anything from you -- you're free to ignore my code, maybe write your own. This isn't so different from offering you a banana for a buck, or a free bench in the park provided it carries a memorial plaque to my grandfather.

I used to default to the MIT license, basically saying "just don't be a dick about the authorship or the non-warranty". Over the years many companies, like Apple, incorporated this sort of software into platforms and products that circumscribe my freedom -- products that I "own" but can't legally control. The GPL (especially v3) is a compact of people building an alternative to this locked-down world. Closed platforms seem to me a much greater, and increasing, encroachment on our freedom in practice than the inability to legally incorporate GPL code into closed software. Both of these restrictions, closed-only platforms and open-only code, are things someone is choosing to offer and you are choosing whether or not to use -- I don't see a difference re: positive or negative rights, technically. (But I'm not super-interested in rights-centric political theory.)
Yeah. The browser is more like a hypervizor that Amazon might be running to run arbitrary people's VMs. But it has an unimaginably larger surface area than Xen.
Looks like he created it to find out.
At least they didn't bury the lede.

People just need a reason to aim, not more technology. [1]

[1] http://images.dailykos.com/images/214735/story_image/Trump_U...
ICBM-deliveries, guaranteed untampered with if on time!
Hah, I don't see your comment as harsh at all :)

So as for your feedback:

1. I myself also wish that I could login, comment, etc. Unfortunately the official API doesn't allow it yet. Other HN apps implement those by scraping HN, save your username/password somewhere but I didn't choose this route because it might be a maintenance nightmare for me :(

2. Regarding the 'open new tab/window' preference for links, I've been thinking about this for a long time. Will experiment soon :)

3. Animations. I'll need time to implement those :P

Glad to know that you like my app! Cheers.
Good for RH! AFAIR they abandoned the freely-downloadable Red Hat Linux, and started charging for the pre-compiled versions of Red Hat Enterprise Linux (RHEL), and this is when they started making money to be where they are today. Didn't they have a falling out with Linus?
I'm reading it as a sarcastic line and I secretly hope that is the case.
We could have something similar with full dependent types a la Idris: you could write a proof and search for a function that satisfies it. If such a thing were popular and huge amounts of Idris code were written, you could write only proofs for your program and the Idris system could go download and piece together your program!

That would be very cool, but I'm not sure how much easier it would actually turn out to be. Also to do anything useful you'd probably have to restrict the language to be non-Turing-complete.
Nashville does not have a population of 2m, not even close to 1m. Try 644k.

http://www.tennessean.com/story/news/local/davidson/2015/05/...
I have an iPad and am generally happy with it, but the lack of webm support is the main thing keeping me from considering an iPhone as my next phone.
I feel like I'm missing a large fact. The gem looks interesting, what is the experiment?
I'd say you're playing fast and loose with the term "edge case" there. I call that a bugfix, for a feature that does not work.
Abusing bugs in the Locky ransomware to create a vaccine
What bums me out is the Thiokol executives who really were responsible for this national tragedy, did they ever feel any remorse? Did they repay their debts? Did they even acknowledge that they royally fucked up? No, they collected millions and sipped their brandy.
Firstly, this isn't about me. I'm not the one who started this project, I don't have any stake in maintaining it, and I'm definitely not the only one to notice that the tickets are piling up. Frankly I thought it was widely known.[0][1]

As it happens, I am probably in the running for worst/poorest developer on HN, and that's using the term "developer" broadly. To the degree that I have any resources that aren't being put towards subsistence, I'm not sure I could help anyone with anything. It doesn't feel particularly good to have to explain that, especially since everyone on here seems to be in a vastly different social situation, but either way, I'd appreciate fewer personal reflections.

[0]http://joshldavis.com/2014/07/26/oh-my-zsh-is-a-disease-anti...
[1]https://www.bountysource.com/issues/102375-move-plugins-to-s...
Need more of this WTF stuff? Have a look at the docker registry/repository/hub and those pearls of wisdom of the new DevOps guilde.
"selling [open source] services [for your own product]", in the context of the thread.
Except they don't for the store in question, as stated in the very next sentence of my post:

"And, at the store I order from, prices are exactly the same as in-store so there's not much (if any?) profit they could be extracting on that side."

citation: http://www.centralcoop.coop/page.php?PID=1042
Yup. Every startup bio story and advice hypes up how much you have to have good communication with customers.

It must be all those MBAs that flock to these companies that don't read up on HN.
There have been a few polls about the specific iPhone issue [1] [2]. (All tend to be worded imperfectly and public opinion swings depending on how it is worded, suggesting the more the public is informed on the issue, the more they side with Apple's stance.)

I tend to think that "public support for reform of mass policing" is too vague to get a real public opinion on. Everyone has different ideas on what needs to be reformed. By asking this questions you make citizens feel involved, but you don't get a real public discussion unless you are talking about something specific like putting back doors into phones. This was part of the problem with the Snowden revelations, in my opinion. There were so many that we had trouble attacking more than a few at a time. The larger issue of course is that the FISA court makes it impossible for the government to sufficiently comment on any of that.

[1] https://www.techdirt.com/articles/20160224/18124533706/way-y...

[2] http://www.nytimes.com/interactive/2016/03/18/technology/doc...
Physio Health: "Time for a nice strecth!"
https://www.google.com/search?q=nashville+metro+population
This was covered in depth on the Security Now podcast in May 2015 (Transcript [1]). The Passive Keyless Entry and Start PKES system relies on the assumption that if the car can "hear" the key, the key is in close proximity. Normally that's true but it is technically trivial to build a radio system that picks up and amplifies the car's continuous "ping" transmissions. So the key, which might be in your pocket in a restaurant, hears its car's ping, it responds, and the bad guys pick that up and amplify it and the car says, ok, key is here, open the door.

[1] https://www.grc.com/sn/sn-508.htm
Not in my case, as I stated above:

"Except they don't for the store in question, as stated in the very next sentence of my post:

"And, at the store I order from, prices are exactly the same as in-store so there's not much (if any?) profit they could be extracting on that side."

citation: http://www.centralcoop.coop/page.php?PID=1042
I have a zsh configuration that I've built over time and thoroughly customised... on Linux. For mac, which I have only recently started using at work, I use oh-my-zsh since it takes all of the environmental differences guesswork out of getting set up again.
Speaking from experience (locksmith), you cannot download the skills required to use a slim jim. Well, you kinda can, being that there are books/catalogs that show you where the lock's internal mechanism is, but being able to manipulate it requires more than simply pressing "exploit car radio".
Thanks! If you're interested in the issues I encountered for dev, I recently blogged some of them in my article here: http://cheeaun.com/blog/2016/03/building-hackerweb-ios/ (Also note that I've released an iOS counterpart of the web app).
& I do ... but the tip goes to the driver, not Instacart.
> Nothing fixes the pains of having to download a large app over a potentially slow/spotty network

You mean like the 12 MB it takes to load a Google Sheet? At least with a native app, once it's downloaded you know it's there and it won't go into an indeterminate state if you happen to try to use a feature that hasn't been loaded yet.

> sacrifice an unknown amount of privacy, then having to twiddle a variable amount of options to get the thing to stop sending you notifications about every single action or event

These are not issues when you have iOS's permissions model