skysight-inc/HackerNews huggingface dataset:
Exactly. The first thing I thought about when I saw this was the implications of having JavaScript that has not been tested in the context of a website running. You have no clue how it will conflict.

As a website owner you should have the right to verify all code that will run on your website to be sure that it won’t cause issues since only you have the context needed to make that call. What if there’s a global DIV selector that hides the close button, the website visitor is screwed! And they’ll just think it’s a problem with your website.

One more note, there are way better ways to do what they’re trying to do. Even with how terrible IFrames are, they prevent CSS and JavaScript conflicts. A simple position fixed div at the bottom of the screen containing an iframe seems more appropriate. If you are going to run code on my site, make sure it’s as small as possible. This could have been accomplished in 2 lines of code (excluding iframe host).
I think
ilitirit is talking about bookmakers, not exchanges.
Parsing with ANTLR 4 and Go
Ya I was thinking of WWII Germany but I’m not sure if the Nazi party was really socialist or just used the term in place of populist.
Thanks, your blog has pretty good posts, I enjoy reading them.
As more Comcast customers receive JS-based notices like these injected into their normal web traffic, any enterprising jerk can clone the message, change the links to point to their own phishing site, change or omit the phone number, and snag a whole bunch of unsuspecting Comcast customers.

To be a devil's advocate, Comcast customers have been phished before via email too:

http://technology.pitt.edu/news-and-alerts/phishing-alert-em...

...and then there's the various phone and even door-to-door scams, but I'd consider the latter to be much harder to do.
Protobuf seems more complicated to debug manually.
Once the Android platform starts offering a default security posture somewhere above "wide open barn door", that always provides the latest Android updates and doesn't involve installing a rootkit on your phone, I may give it some consideration.

Also don't somewhere around 80% of the available Android phones on the market have JTAG connectors on them? No thanks. Cool if you want something hackable, but not cool for a device that follows you everywhere and knows everything about you.

Edit: This seems to be an unpopular opinion, but really platform and application security are a feature set and it happens to be the one where iOS is kicking Android's ass. Some people may or may not care about it, just like some people may or may not care about battery replacement. For me it's the #2 thing I need my phone to do after make and receive calls.
What's the argument here? Those people didn't really die? Or do you have an alternate explanation for who killed them, something the NY Times isn't telling us the truth about because of their secret liberal agenda that extends to the Philippines for some obscure reason?
Maybe, but if I think of the five or so people I know who are truly brilliant two work at Google, a couple work in finance and one is getting a PhD in math. A lot of people would consider at least two of those fields not worthwhile for such talented people.

But to be honest, the whole "best minds" thing is sort of silly because the actual hard problems that we have to deal with aren't hard because smart people aren't working on them. They're hard because they touch on human issues and have a lot of tradeoffs and no solution that is satisfying to everyone.
You're wildly OT, I suggest Wikipedia.
I would advise against 1099 until you are thoroughly read up on the subject.

There are calculators out there and percentages for employee versus 1099 but really it comes down to risk. You could be out of contract, injure yourself, and need to find income in that state. If you can mitigate that risk then you are ready.

In the meantime you may want to try a few courses in business or entrepreneurial skills at a local college or online.
This is not accurate at all
React Patterns: Global Component Registration
Debian decided to not support using any other init system. If it was just "same breakage as always", devuan would not be created.
I think we're really in "violent agreement" here. Rigid adherence to these "things" (not necessarily methodologies) never work. The benefits of what these "things" offer, to the degree that they are understood by the practitioners, are real. But they are often (perhaps categorically) misunderstood, applied haplessly and held to claims they never made in the first place.
I see. If it can be implemented as something that make code easier to read and not worse. Why not. But I’d need to see a clear example of that.
They do say they try to email you a bunch of times first... Email seems like a decent enough alternate channel.
Use a better JSON library :)

(There are competent JSON implementations, though they're few and far between. PostgreSQL's is the only good example I can point to off the top of my head.)
Not JavaScript is 400+
For those of you getting motion sick but still want to browse the list:

1) hop into your browser console

2) enter this: document.getElementsByClassName("glActive")[0].classList.remove("glActive")

3) enjoy the motionless black background

Also, can someone please let Bloomberg know about this thing called "inclusive design"?
> Snailmail is fine; you try to upsell me constantly through that channel already.

Implying you’d probably miss it and, if not you, the customers they’re trying to reach.
> There are battery life expectations in the prosumer market

That's what the MacBook line was supposed to cover, and MacBook Pro, like the name said, was the professional line.

> It's also not even remotely the only laptop brand that made that same decision.

But from those brands which cater to enterprises, there is always the ultra-high-power lineup that power users can choose from. HP has the EliteBook range, Dell the XPS range and Lenovo the ThinkPad P. Some of them I can even order with 64GB RAM.

Apple leaves me at a quarter of the RAM. Apple has left power users like me standing in the rain. The problem is that it's really hard to switch, because Windows 7 nears its end of business and I won't touch anything above it with a 10 feet pole due to privacy and UI problems, and Linux is way too buggy when it comes to energy efficiency, new hardware support or proper support for Optimus and friends. Of course Hackintosh would at least solve the UI problems but it's difficult enough on a desktop platform, and I would never dare to use a Hackintosh for work stuff due to the legal issues.
Fun fun fun. Good stuff.
What crap. First, Zuck owns the company. Second, you didn’t actually point out how multiple forms of income don’t serve shareholder interests.

People like ads because they get rich without having to make a product people will spend cash on. It’s so much easier to milk views on existing content rather than convince people to pay for, well, anything.

Zuck is a leech on capitalism’s neck.
Really interesting insight.

It reminds me of a talk Bunnie Huang gave at the 30C3.
https://www.youtube.com/watch?v=ruEn7TE4YMM
https://www.bunniestudios.com/blog/?p=3554
Cool. I've wondered about Google's CI a lot, but there are a lot of horror stories online. Most people are complaining about it taking an hour for simple changes (something called "tap", I wonder what that stands for).

Chained code review changes, I refuse to believe that in Google version control (which is perforce according to Linus' git talk at Google) chained changes are easy. Branching in perforce is literally worse than SVN, it's a bit more like the old CVS model, and they've sort-of tried to get the SVN copy-directory model forced into the design afterwards. Also the tool support (merges ...) is bad compared to subversion and stone-age compared to Git's tools.

The one reason I keep hearing for using perforce is that perforce allows the administrator to "lock off" parts of the repository to certain users.

I've done branches and merges in Git, Subversion and CVS (and I've had someone talk me through one in Perforce, but I don't really know). Google's branch/merge experience is very likely to be somewhere between SVN and CVS, and those can accurately be referred to as "disaster" and "crime against human dignity". It's certainly not impossible, but it's very hard and you can't expect me to believe (normal developer) people can reasonably do that in Perforce.

Also: what would happen if you send out 20 chained commits, 10 of which are spelling corrections, 5 of which are trivial, compile-fixing bugs (forgot semicolon, "]" that should have been ")", etc ...), 2 of which are small changes to single expressions and 3 of which introduce a new function and some tests. Perforce, like subversion and cvs doesn't have any way of tracking stuff unless you commit it and you can almost never commit without CI and code review, so would you track changes like that, or would you just leave them in your client untracked until you're ready for a code review ?
Happy Human Rights Day, Humans of Hacker News
Wow, what a memory rush. I used to color on fanfold line printer paper like this. When I was in kindergarten I'd sometimes go with my dad to work on a weekend when he needed to debug a job. I think those are the exact printer and keypunch models.

I would happily play on the punchcard machines for ages. When you turned one on (with the flip of a heavy switch) they'd start humming, giving a sense of coiled power. I loved the crisp thud of each punch, and the fluffy mass of little squares in the bin that collected waste. Compared with modern computing technology, they have a very industrial feel. I remember being delighted that my last name was all on the top row of the keyboard.

I also remember being absolutely fascinated by insert mode on the terminals. I could make shapes with the symbols and then make them move forward by arrowing back and holding down the spacebar. The slowly fading green glow of the phosphors was magical to me, as was the way each letter was composed of visible dots.

There was a haecceity, a thisness to early tech like this that I miss a little in comparison with the incredibly flexible devices of today. I wouldn't go back, of course, but I definitely get why people spent time maintaining and restoring relics like this.
Getting a wallet always felt like the biggest issue. I looked at Ethereum very early on before it caught on, but the wallet situation for that and zcash is so overwhelming and confusing, especially since a multiplier of 0 for a hacked wallet defeats the purpose.

At this point, a wallet for my iPhone that I can back up to say iCloud (accepting the risk that comes with that) and that isn't going to get wiped by accident due to a patch would probably be ideal.

I remember trying to get into bitcoin by signing up for Mt Gox, and we all know how that went. "iPhone-hosted" seems like the ideal thing, but I don't know if there's something like that?
Really enjoyed this even after playing a few minutes. Good graphics and nice controls.
Linear Programming Based Bidding Strategy for AWS Spot Instances
tfw you do a bunch of research you're proud of and write an article that reaches the HN front page, and then someone chimes in on Twitter that actually the research is flawed and only applies to multiple displays, and you have to update the post about how wrong you were. :/

I'm just sad about all the people that already read it and won't see the update so will go away with incorrect knowledge.
> A list comprehension is basically a cartesian product with a filter and map applied to it.

Ah yes, explain me more the concept I've been using for a dozen years, surely
I don't understand it. And with mix of terminology from as far topics as set
theory and functional programming, to lessen the confusion.

> What we have here is an array constructor, which takes one or more ranges as its arguments.

I would never have guessed the arguments thing.

> `x..<y` describes an open range (including x, excluding y).

I would never have guessed it's open range.

> you can also use positional arguments as in `{ ($0, $1) }` instead.

I would never have guessed, and I was writing in Perl with its magic variables
for more than a half of my professional career and most of my studies.

And that's the whole point: the syntax is so atrocious that it takes training
to understand it. I can accept the semantics to need training to understand
(as I did with Perl, Erlang, or now doing with Ada), but with this we haven't
hit that level yet.
>obviously this has not passed legal review //

What makes that obvious to you - appears to pass the "we're unlikely to be fined and any fine will be too small to bother us" legal review.
China’s leadership is mostly engineers, and in the US we have lawyers. Seems to be working well for China.
Mostly because it’s a better world than one where Oracle can control the image of their shitty db.
why am I smug? I totally agree with the premise and personally hate comcast, but if _jal wants to be taken seriously by jlivingood, snarkyness isn't the way to go.

I don't mind the anon downvotes though, it's par for the course anywhere.
Yeah, OK, but let's just say some young person - privileged or otherwise - chooses to scrawl "Corporate Deathburgers" across a fast-food outlet. Nobody's saying they shouldn't be punished for it.

What I think the author is asking is, should that incident then follow them around forever and ruin the rest of their life? I'd say, no, it shouldn't. But nowadays there's a significantly higher than, say, 20 years ago chance that it might.

Justice, even retributive justice, demands that the punishment must fit the crime. Yet what we see nowadays is wildly disproportionate: Justine Sacco's life was completely ruined because she cracked a moderately poor taste joke on the internet. The response and consequences of this were entirely ridiculous, over the top, and unnecessary, and it's taken years for her to reconstruct a relatively normal life. I don't think that's OK. I think the author is suggesting he doesn't think it is either.
Please take some time to expand the README and a few screenshots, perhaps. :-)
ZeroLemon batteries have worked well for me for the last 3 years. I now use a gigantic 10,000 mAh battery with included custom back plate for my phone.
Show HN: Cyptic Tutor – an app to teach cryptic crosswords
You can clearly label it ad fictional and explain. Really the point here is to have some portrayal of oracle’s performance that is legal but pisses off Oracle.
this is fun! how did you make it? give us some details.
Maybe you were in a F-F-A game :D
I would love to join! I am self taught working as an SE; while I feel reasonably competent at my job I do still run into concepts that are unfamiliar to me, which I know I likely would've learned sooner if I had taken a more structured learning path. This sounds like a great idea.
Whenever I felt like that, I used a mental hack to make me feel better. I would sit down and start to think (or write) about all the things I am grateful for. Coming from a third world country, it was easy to see how good it was to be highly employable and live in a relatively safe society. This would instantly put me in a good mood and make me feel proud of my achievements.

Being grateful doesn't mean you should accept your lot in life and stop striving for improvements. It will just help you make peace with where you are at right now, so you can focus on your next steps without the negative pressure.

Today I run my own business and make more money than I ever expected, and I still use this method whenever I'm having a bad day.
> In case a mistake happens (as it sometimes does, as it seemingly did here), reporting outlets issue erratum

That would seem that they reported fake news that could have caused panic but later on just conveniently issued an erratum.

> You can check them yourself

So, it's a standard that "journalists" can disregard with impunity.

> Duterte is in a position of power to actively act against these journalists

But Pres. Duterte does not as this Bloomberg article clearly shows. Maria Ressa still speaks freely and accuses him openly. That's one less reason to label him as a dictator don't you think? I think I will commend him for that. For upholding freedom of speech.

> Examples: [1] [2]

Regarding the live updates[1], He called it out because it may endanger the soldiers. How should you call them out and get them in check instead?

Regarding the NUJP's condemnation[2], Nieto seems to be joking. Well, I consider jokes and figure of speeches as gray areas in freedom of speech. I don't have to defend him anyway. He can do that for himself.

> Again, you _do not_ peddle opinion to hold people accountable

I just playfully used your words peddle and opinion. Calm down :) That may have made it vague. What I meant is that he effectively raises issues using his words such as the Dengvaxia scandal. Now that it has gained awareness, we may now expect accountability to those who administered it during the past and the present administration. I hate it that the people responsible did it to the children out of greed.

> I'm not saying Duterte is credit grabbing but that people are giving him more credit than he is due. There's a difference there.

Well, I'm giving Pres. Duterte credit because he delivered what the previous administration did not. That's the big difference there.

> Because even in legislation, there's a due process that must be followed and the previous administration followed it. Even if for a bill like FOI which I fully support, I will be critical of Aquino had he dubiously manipulated the legislative process just so he could claim the FOI under his belt.

Maybe you should be critical of Aquino if you really fully support FOI. Knowingly that legislative is slow, he should have at least issued an executive order just as Pres. Duterte did. You just gave me another reason to give Pres. Duterte credit because he found a way to do it quickly in his first few months what the previous administration wasn't able to do after many years in office. Maybe you should too ;)

[1] http://www.philstar.com/headlines/2017/10/04/1745517/blogger...
[2] http://www.mindanews.com/statements/2017/11/statement-nujp-o...
Gradle was not a Google invention. Dagger was invented by Square. Google invented Guice (Bob Lee now at Square) which was way better than Spring and J2EE. Guava is far better designed than Apache Commons.

Dagger2 was invented by Google for good reason because it works purely as an annotation processor without runtime bytecode classloader magic. That means it is easier to debug, faster to startup on mobile, and can be crosscompiled with j2objc and GWT/j2cl.

Much of the time in-house stuff is created to deal with scalability or maintain ability problems.
> That's what the MacBook line was supposed to cover, and MacBook Pro, like the name said, was the professional line.

That ship sailed away pretty much right around when Intel Macs started shipping. Stop clinging to the past, honestly.

That market is deader than dead in every brand. Even Thinkpads. Especially Thinkpads. The only strong market (read: at the scale that Apple sells products) that exists for performance (read: 17") laptops is in gaming. It's also _tiny_.
You can avoid this by using HTTPS.
I can totally understand that, I often feel the same way. I think it makes a huge difference how and when you are approached. That’s when a real good salesperson will show their skill.
The most serious snail mail correspondence is utterly and completely plain.
Just a small note that as a customer I would prefer to be redirected to a notice hosted on your website so there is no confusion about the source of the notification. If I saw this pop up on a website I visited daily I would probably think it was spam and ignore it.
Well the difference is this: If I'm sitting at home every evening because I'm too exhausted from work or come home late every evening and thus have very little social interaction is a very different limiting factor than what caps the number of people in a military unit that I can keep social bounds with. In fact I might be very effective at keeping good working relationships with a large number of coworkers. That doesn't translate at all though to having many friends. At one point in my career I knew everyone in an office of about 100 people by name and had frequently very pleasant conversations with then. Yet I had fewer casual (as opposed to close) friends in the city I lived in than can be counted on one hand.
But the MITM can just remove/change those hashes.
It's not really planned obsolescence, they made the trade off of CPU speed instead of battery life when the battery gets old. This is more reasonable than you might think as deep discharges use up batterie life faster. The other option is for the phone to not keep it's charge for nearly as long which would likely be more annoying.

In either case it's a ~40$ repair to replace a phones battery and IMO a good idea at ~2-3 years old on all phones. Assuming you keep your phone for 4-5 years.
> It is kind of a mess, really.

Honestly, that statement applies to pretty much any part of MATLAB unless the behaviour is nailed down by existing mathematical or engineering specifications - and I'm talking as someone that likes MATLAB overall. Mathworks tries a bit to polish and paint it as a coherent whole, but it's patchwork of things built upon and stuck to the sides of the existing structure, optimizing towards a particular kind of "pragmatism" than towards any kind of elegance.
Can you discuss why DOCSIS 3.0 users get this notice? I have a 3.0 modem, and received the notice, but it looks like my modem will still support my speed tier (75mbps in Chicago)
This does not require a different syntax. You'd just construct a lazy list instead of an array.

Neither is an improvement over the other. Sometimes it's more important to have the results up front fast, sometimes generating them on demand is better.
How'd it work out for the Soviet Union?
Super smooth.
What did u use too make the game?
>> There was (and maybe is?) parts of the Git codebase that didn't scale because they were O(n).

This is indeed true, the various efforts to upscale git (msft gvfs, etc) run into this and try to upstream things, but it is slow going.
This is one of those 'common' knowledge things that is pushed forward by non-engineers and further backed up by other non-engineers. Since we account for ~ 1e-3 or less of the population we are so outnumbered it becomes part of the culture.

If you can program you are likely among the smartest people in the world and can do better at any analytical task than almost anyone else.
They may dissolve in the ocean, but the US does not dump its garbage in the ocean. When you put them in a landfill the last for a very long time. A very, very long time. When people want to determine the age range from a core sample of a landfill then just look for paper because it does not degrade in an anaerobic environment.
Officials Announce First DoD-Wide Audit, Call for Budget Certainty
I mean, the end-user who requested the page certainly has a right to voluntarily inject script into the page they requested as it is rendered in their own browser running on a machine they own connected to an upstream internet provider they pay for access? Nice try at false equivalence however.
So, your problem is that Swift's syntax in general isn't to your tastes, not the list comprehension proposal as such? Fair enough, but that's not what you were saying.
This statement completely makes no sense to me. I was not “hyping” monero but merely noting it’s absence in a beginners guide to CC. Nor do I own bitcoin or care what that bubble does.
cash is much better for that, and they catched those slik road guys because they were using bitcoin, if you look at what bitcoin does manly, it cuts off the banks, that's why are so scared, in Bulgaria they stopped all transfer to and from crypto exchanges, so you really think you own your money in bank?