skysight-inc/HackerNews huggingface dataset:
Sure it isn't cancer. It's plague.

> JS actually has a fairly small amount of quirks compared to other dynamic languages.

...like Python or Lisp or Erlang or Objective-C or Lua?

Your argument on Ruby's quirks is also weak. Ruby's "semantic richness", like
modules and classes, or blocks, procs, and lambdas, at least doesn't bite your ass on every step. It's not comparable to JavaScript's type system and
asynchronity built into the language's environment, where you constantly need
to watch out.

> What do you get? You get a TON of people working in it to extend it in various different ways. And they invent a TON of stuff!

...like left-pad or other similarly important modules. Most of this "ton of
stuff" would be completely unnecessary if JavaScript had a standard library of
any usefulness.

> Will JavaScript finally gain the status it deserves then?

It already has. JavaScript and its community worked very hard to earn how
they're seen by the rest of the world.
Sorry, where is that? Cannot see at all and the link in the title sends me to the paywall.

Thanks.
I agree people shouldn't have to remember APIs, but you should at least have a vague idea of roughly how to go about reading a file and parsing numbers from it.
intellectual dishonesty.

if you think that trump has been talking about illegal immigration only, I would like to point you to the term "dog whistle politics". Do you think that the white supremacists that have come out in support of him are only referring to illegal immigrants when they talk about the threat posed to "our" culture?

Lee Atwater once explained in a speech that because of changes in social moirés you couldn't call black people "n*" anymore. Instead you could refer to racial issues in terms of tax cuts and school busing. Tax cuts keep your hard earned money from benefiting "those"" people and school busing...they were going to make your kids schools worse by bringing "them" in.

Are there issues with the US immigration system. Yes. Has that been at issue in this election? Not really. That's just not what's going on here. The issue of immigration is a surrogate for a perceived loss of power by one population relative to another.
Why so salty? You don't have to waste time at all, not even so to comment on my post.
This is the second article i can't access in a short time. Please consider changing the url to the nytimes article or deleting the article on itselve.

I don't think HN should contain links to paywalled sites like wsj.com
The Galaxy Note 7 is dead
Apparently some rare manufacturing fault that put pressure on internal poles, short-circuiting the battery: https://www.cnet.com/news/why-is-samsung-galaxy-note-7-explo...
I'm not sure how Bloomberg News stores/sells their photos, but on a service like Getty Images, you'll find plenty of b-roll type images, because some clients will want "normal" photos, or alternate angles. Here's the Getty results for Elizabeth Holmes: http://www.gettyimages.com/photos/elizabeth-holmes?family=ed...

In any case, it's not the publication's job to make someone look good or glamorous. It's not the most flattering photo of Holmes but it's not terribly off from what she normally looks like (in general, photos of someone while they're talking/eating aren't going to be ideal, in terms of attractiveness).
Kubernetes is awesome Overview from a beginner
You should look into alternative financing methods.

How long is the period from needing the cash to pay for production to availability in retail, roughly?

If it's all about volume, accumulating orders over a long period using some non-reversible payment method could, perhaps, get you into millions of units. It's all about how long people are willing to wait in order to save on per-chip unit costs.
ObjC is a native language and a direct descendent of C, and powered the phone's built-in apps. JS was provided for 3rd party developers, who incidentally rejected it. I wasn't aware of the SIM card running Java. I guess Java was good enough for that job since I never noticed any performance issues with the iPhone, unlike my Palm Pre which was plagued with them, and had a terrible battery life.
The blog post is incredibly biased. The police have posted there proceedings and it seems the individual had done alot more than run a blog. Maybe PIA should do some more research before slamming the keyboard with utter rubbish.
You have to go to the comments page for a link, and then you'll see it just below the main link.
Hotel california cover
They still haven't actually started a recall of the 'fixed'versions of the device though. I know people who bought them from carriers can get refunds/replacements but some buyers on Samsung's own web store have already been waiting weeks to arrange replacement or refunds of the v1 devices.

Manufacturing defects happen. Design defects happen. Even criminal activities by employees happen, but it's up to the leadership and the culture of the company to get on top of these issues and steer the ship back on course.

Overall Samsung has a decent reputation at competently engineering phones and batteries. But the way they've handled their responsibility for this issue is inexcusable. Ceasing manufacturing is about managing their own costs. What are they doing to actually help their customers?
Nope, I mean.. I would definitely like to work at a place where there is an all-hands and I actually appreciate it. They exist. Spend any significant portion of your life at any of the 50k+ employees companies and you'll end up cynical about this kind of thing.

We have one scheduled for today (Yay!) and I'm already looking forward to the incompetent mucking about with the mute buttons (or lack thereof) and enjoying twenty minutes of "Can everyone please put the call on mute?" screaming children and people doing the dishes in the background) followed by a bunch of delusional execs handing each other "awards" for stuff that in reality never happened (but we pretend to because contractual obligations).

Ok enough cynicism for today. Back to coding!
I made my own keyboard in college for the simple reason that I couldn't afford to buy one. You couldn't get one at Goodwill for $1.99 in those days :-)

I salvaged the keys from some IBM device. Drilled a bunch of holes in a fiberglass board, mounted the keys in the holes, connected them in an XY grid with diodes, and used a 6800 processor to poll the grid to see which key was pressed, and send the corresponding ASCII value to a serial port.

It was a simple design, and worked well. Later, I connected a 6845 video controller chip, some code, and a display, and voila! a VT52 clone.

Sadly, the thing got lost in one of my many moves.
Show HN: Complex Python3 app in 4 GUI frameworks
The same graphical curve fitting and surface fitting application coded in four different Python3 GUI frameworks, with code on GitHub:

tkinter https://github.com/zunzun/tkInterFit

pyQt5 https://github.com/zunzun/pyQt5Fit

pyGtk https://github.com/zunzun/pyGtkFit

wxPython https://github.com/zunzun/wxPythonFit
I agree -- I have two blogs in Hugo, which I really liked, but have built the biggest site in Jekyll and the Liquid templating language is super powerful. However, Jekyll quickly got slow owing to the same powerful templating language. Always tradeoffs :)
A Friend for Pluto: Astronomers Find New Dwarf Planet in Our Solar System
Let me try that again with formatting this time:

#define HANDLE_ERROR(label) bool label = false;
#define ENSURE(label, pred) if (!(pred)) { label = true; goto label; }
#define RESOLVE(label) label: if (label)
Fuck You Startup World
Click on 'web' link below the title above, this will take you to a google search for the story, which generally allows you to read the full story (for SEO purposes)
They did rush - they launched Note 7 a year ahead of its time (last year we had Note 5) when they were only supposed to release Note 6. That takes, dare I say, courage. (just a joke, they just skipped the number 6 to put it in line with the Galaxy S generation).
Check https://www.reddit.com/r/AntiFacebook
Most paywalls check the request referral and let it through when it comes from the big search engines. This ensures they will remain listed and hence relevant.
Note 7 could have one day extremely high value as rare device.
Hey, I grew up with dome switches. I've tried the MXes, and they just don't feel right to me.
I didn't really appreciate that feature when I realized that it assumed that I was in San Francisco and was muting conversations at 6PM pacific.
That is also what the 'web' link at the top of this page below the title is for ;)
Let's count.

According to https://workplace.fb.com/pricing/, it's $1-$3 per user.

A cheaper server is ~$7k. It means that a company of of 9k personnel ( which is not too small ) will produce $18k per month. That can buy 2 servers per month and maybe cover some of the bandwidth costs.

To get a rack of servers - which I believe is the minimum to actually serve a company of this size - you'll need to have them on board for about 2 years (!) before profit starts to flow in. Unfortunately by that time you'll need start replacing the servers, since they have ~3 years of warranty these days.

For me this looks like no profit, which could mean two things:

1. The pricing is deliberately low, so it's either going to be raised later or it's covered from other parts of the company, and this is a step only to buy into an area currently covered by others.

2. The will use the data you provide for other purposes.

( 3. Both. )

With the first scenario, this will probably not live too long; a few years, maybe, but it's hard for me to believe that they would just pump money into this, just to eliminate others, but you never know.

With the second scenario... corporate espionage becomes obsolete.
The Note was not a flagship line. Samsung has so many other industries that I think it will do just fine in the long run.
I've been using TagSpaces for a while (mostly ass desktop note taking app). Nice project, but went back to Tomboy for two main UX reasons:

* no ctrl+n for new file

* no auto-saving of the file itself (I have to say last version I've been using was 2.1.1. I've downloaded / updated the software on my computer and will check this soon (apparently is missing)
Qualitative Analytics: The Future of Growth Hacking
Not anymore, that was true once, but doesn't work for me anymore (Germany).
It's some homosoexual ritual that is common for business in the Bay Area. It's fun if you're into that kind of things, but can be a bit awkward if you're heterosexual or married.
The value of EOF is platform-specific, but is commonly -1. I'm fairly sure it's never 0.

But I was referring more to the fact that c is set exactly once in line 4 (`int c = getc(fd)`), outside of the nested loops, and never touched again. So if it's not initially a NULL, newline or CR, it never will be, and the inner loop will never exit.
If you already have your own domain, why not just get a cheap shared hosting account, and use the mailboxes that come with it for free? They generally come with unlimited mailboxes with IMAP/POP3 support, and cost < USD$4/month.
This doesn't help anymore ( or it is because i already surfed to it).

But i read that it is not possible anymore on another topic https://news.ycombinator.com/item?id=12680380#unv_12680507

They "upgraded" their paywall game. Also, the first topic with the most votes is ALWAYS a link to another article with the same information or a TLDR; for those who can't access the paywalled article.

Please just ban the wsj domain, so people would search for an alternative article immediatly. This is, after all, what wsj seems to want :)
> First, all those sales are now refunded.

I've heard actually that people are having an enormous difficulty getting refunds for the phones they already purchased, with Samsung responding to their requests with verbose but meaningless legalese.
Live Q&A with Jules, Rob, and Stephen from the Angular Core Team at Google
It's a by-product of the broken paywall model. Sites want to protect their content, but they still want traffic to their site. Checking that the referrer is a search engine is a weird middle-way workaround.
Except that their washing machines are also exploding.
There are a few reasons why I don't use stuff like 1Password or LastPass:

- Not open source (or in part, e.g. the server side is closed);

- Uploads stuff to the cloud (I want to self-host);

- Not available on mobile;

Bitwarden sounded quite good at first: mobile, sync and open source. I can inspect the code and run the web part (the vault, they call it) myself. Then I had a look at the web part:

https://github.com/bitwarden/web/blob/master/src/Web/Program...

It's C#. I'm not going to run a Windows Server just for this.
Seconding this -- I use HTML inside hugo all the time. The problem hugo has is that you cannot include _partials_ in your markdown, like you can with Jekyll.

And as parent5446 said, the shortcodes don't give you enough information in some cases.

I also think that people who aren't very technical will have a hard time getting started with the Go templating language, whereas Jekyll is dead obvious (super loose scoping, it looks like any other scripting language, etc.)
Works for me. Also from Germany here.
That stopped working for me a few weeks ago (I'm in Germany, using Firefox Nightly latest).

Even from Google I only get the paywall now.
Papertrail, super friendly and insightful support.

So let me elaborate. Mostly what will you get from support is: "We are fixing problem", but in our case they were specific, "We have problems with Heroku logspout connection, 'heroku log' should still work." And the other time we went a bit over limit so they upped plan for free for a short period, se we could figure about what the problem was. Alerts are also what we use the most (no limits, no delays) which cannot say for the other providers.

Good work Papertrail, if you are reading this.
NTFS can have additional data streams associated with a file. It's used for stuff like the warnings you get when you try to run an executable downloaded from the Internet. This seems like a perfect solution for me, at least on Windows.
The replacement/fixed versions are also being recalled.

https://news.samsung.com/global/samsung-will-ask-all-global-...

http://www.samsung.com/us/note7recall/
In the same way that Windows 10 was rushed to be a year early because they 'skipped' Windows 9?
Of course the Note is a flagship line. And they did everything they could so they could have this phone out to compete with the iPhone 7.
Well, first off, legality in immigration is a cloudy term, meaning it's often tried in immigration courts, of which there are 58 in the entire country [1]. Also notable is that you are not appointed a lawyer in these courts [2]. There are only 250 judges in the country, handling more than 3 times the cases regular judges do [3]. Here's one example of an American being deported: [4].

This is the case right now. Ramping up deportation as Trump has suggested would obviously not yield better results. The immigration courts right now have a backlog of more than half a million cases [5]. I've not even touched stop-and-frisk, religious profiling, etc.

Now, and this part is speculation, this part of history comes to mind: [6]. If it's TLDR, then search for "repatriation".

[1]: https://www.justice.gov/eoir/office-of-the-chief-immigration...

[2]: http://naij-usa.org/wp-content/uploads/2016/01/2016-01-14-Re...

[3]: https://www.washingtonpost.com/national/in-a-crowded-immigra...

[4]: http://www.newyorker.com/magazine/2013/04/29/the-deportation...

[5]: http://trac.syr.edu/whatsnew/email.160915.html

[6]: http://www.npr.org/2015/09/10/439114563/americas-forgotten-h...

Edit: Bonus: http://www.theatlantic.com/politics/archive/2016/09/trumps-p...
It will definitely harm the company-as-a-brand, though. People following the news who haven't owned a Samsung phone before might well be put off any Samsung device, ignoring the distinction between the Note and other lines. If it were only about the phone model, the fallout might be much smaller, but it's now become about Samsung's appalling handling of the problems too.
Optimizing V8 memory consumption
I would honestly expect the supply to outstrip the demand quite quickly ... however it looks like ebay prices are still pretty respectable.

At least for me, the fire risk would make me entertain the other less flammable options in the vast market of android devices - regardless of a pricing point. The thought that it could combust into flames unsupervised while I'm say, in the shower is enough to make me really not want it.

I know the chances are small but reputation goes a long way especially if that reputation is "may explode".
Note that this tracking without prior consent is illegal in the EU.

It's a law not everyone seems to like, but it cannot have had much support from big corps so I doubt it was lobbied in. It's something they apparently care about. I hate all the "will you accept our cookies" screens but overall, I'm actually a proponent of the law. Functional stuff like login cookies are fine (don't need consent) so those screens actually warn us "this website wants to make a behavioral profile or sends your data to third parties who want to do that, you wanna continue?"
How long have you profited on this op? Is it actual arb or stat arb?
Reading the article I expect the HN comments to be really negative, but I think he's right. As a company grows it's very easy for people to feel like unimportant cogs in a machine. All-hands meetings with the top leadership is great to let everyone know where the company is going.
> The vast majority of them are terribly boring, by way of example, the very first one on the page:

> [...] ἡ παρθένος ἐν γαστρὶ ἕξει καὶ τέξεται υἱόν [...]

There is a more glaring problem here: "παρθένος" here can be translated as either "young woman" or "virgin", with the former being the more common original meaning. The virginity of Mary can, in fact, very well be a striking mistranslation that's stuck over the centuries.
"Somehow the Americans don't like wire transfer in Euros"

I'm really not surprised. It's the same with EU countries having to wire money to some non-euro currency.

Why not setup a US dollar account? After receiving payment in your client's currency, you can rather cheaply convert it to your own currency.

In my experience, US companies are interested in PayPal or TransferWise or other such methods only when for some reason wire transfer is not an option. I don't think you are in such a situation. Depending on the amount, using those services could be more expensive than handling a US dollar wire transfer with SHA (shared costs).
In other news Apple stock surges, despite the iPhone 7 falling short of expectations.
Many of us agree. Unfortunately per dang policy such links are allowed and we're not even supposed to discuss it in the comments here. I don't know what to suggest other than looking for alternatives to HN. If you would like an invite to lobste.rs I'm happy to send you one.
Any remaining units left in the wild will probably be in pristine condition as the owner will be too scared to turn it on.
I second the banning of paywalled domains; trying to maintain hacks and workarounds for each and every popular third-party just doesn't seem worth it in the long-run. HN should be for open discussion on content that is freely available to all rather than locked down.
It works okay on my X1 Carbon, but it's still not perfect because the interface font size cannot be changed. That means you have tweak your editor font size and zoom factor to get a good result.
It doesn't work on mobile. Please stop linking to WSJ.
Thanks. The pricing and features look nice. But it does not allow importing existing emails into the mailbox account (and thus provide a way to permanently get rid of the older account while having a way to access older mails across multiple devices).
Samsung permanently ends all Galaxy Note7 manufacturing
Is the NHS wrong about passwords?
That's not what the Verge article says. Verizon is taking back devices that they have sold, as are other carriers, but Samsung has not issued a recall of the replacement Note 7 devices.

Offering refunds to customers isn't the same as issuing a formal recall of all devices. They're doing the absolute minimum they can possibly get away with and trying to sweep the 'fixed' replacement Note 7 situation under the carpet.

At best they might be trying to put the replacement Note 7 non-recall recall under the umbrella of the original Note 7 recall, in order to avoid the embarrassment of issuing two formal recalls. But that's pure bullshit.
Unless it starts fire by itself. "Could explode any moment now, get it while hot"
Ditto, but I settled on Pelican because Python, which makes it far more hackable IMO.

Hugo's speed is overrated (and overstated). Anything with caching (like Pelican) makes this somewhat of a non-issue IMO. Incidentally, the longest part of generation for me is thumbnails and other asset bundling, which is essentially imagemagick.

Having said that, Hugo does many things right and is pretty fully featured, so it's hard not to recommend. It would be nice if all static site generators used the same format (front matter?) so switching engines could be more seamless.
You clearly don't know anything about the news photo business or photojournalism for that matter. It's not grip-and-grin posed ribbon cuttings and staged portraits for annual reports. It's photojournalism. An AP wire story written quickly about an explosion isn't going to have the literary gravitas of James Joyce. That doesn't mean that the AP writer is 'incompetent.' They're doing completely different work. Rarely you do get a Hemingway-level reporter or photojournalist that can elevate the mundane to high art, but those photographers aren't getting assigned to Theranos stories but stories of more value than some quick corporate headshot.

When I shot for Reuters (1996-2002) some of my most 'boring' images played all over the world and my favorite photos only occasionally made the wire. Did I look incompetent? I don't really care; My byline in The NY Times for a crap photo was much more valuable than the 'perfect' photo nobody sees.

Pro news photographers don't care; they aren't trying to audition to be your wedding photographer, they're chasing news and not giving a second thought to where some quick corporate headshot is running.
Couldn't they replace the defective design from their other product lines? What is the actual root cause, battery or controlling electronics?
> many consumers won't buy Samsung phones again as a minimum when they're first released, maybe never as a worst case scenario.

I think this is an overreaction. I have a Samsung, and will buy another if it's the best value for what I need next time I'm phone shopping.

Consumers have short memories and there aren't that many legitimate alternatives to Apple.
The Note brand is burnt, and the Galaxy one is tainted. Even if they try to pull a fast one, it will be under another moniker.
I guess that's what they meant. While the scaled-up result has the correct size and avoids other artifacts of broken high-dpi rendering, it's, well, blurry.

However, I suspect that this is more a Chromium/Electron issue than one for VS Code and other applications built like that. Heck, not even Chrome scales properly on high-dpi displays, which is pretty poor in my eyes.
Have you seen https://github.com/silvermine/serverless-plugin-write-env-va...?
All Scandinavian countries have these rules, FWIW.

Height adjustable desk is nice-to-have rather than essential (would hate to go without it though, since it allows me to stand while working once in a while).

But external monitor should rightfully be mandated by law, IMO. Looking down, even slightly, puts a lot of strain on your neck muscles and can easily cause injury over the longer term. Your head and neck is like a bowling ball balancing on a pencil - fine when it it right on top, but dangerously heavy if tilted slightly off center.