skysight-inc/HackerNews huggingface dataset:
Ideally you'd put it in a bucket of water to contain the blobs of liquid hot magma and to generally cool the thing. But who has a bucket of water ready and is willing to handle a flaming device?

"the FAA instructs flight attendants to use water or soda pop. Water-based products are most readily available and are appropriate since Li-ion contains very little lithium metal that reacts with water. Water also cools the adjacent area and prevents the fire from spreading. Research laboratories and factories also use water to extinguish Li-ion battery fires. "

http://batteryuniversity.com/learn/article/safety_concerns_w...
If I got paid a revenue split whenever someone paid to get public data that involved me, I'd be OK with it.
I'm not sure what you mean by "Realistic" tests. Perhaps you mean integrated tests that exercise, say, the entire stack from handling the HTTP request down to the database, if we're talking about a REST API.

If you don't care much about covering large portions of the state space and your tolerance for defects is high, then I'm sure your claim about improved productivity is true.

My tolerance for defects is low, which compels me to try and cover the state space more - happy paths, unhappy paths, etc. I've tried doing this with integrated tests, and found it to be very difficult to do in a timely manner. When I switched to using DI, coding to interfaces, and using mocks across architectural boundaries, my ability to cover the state space went up, and my time to deliver code with few defects went down.

I think this is because often the code I care about exercising is limited to a small section of the call stack. In an integrated test, I have to set up too much state and have the machine do too much irrelevant work just to verify this small portion of the code. With DI, interfaces, and mocks, I can isolate just this behavior much more quickly.

That leaves coupling and maintenance. This is a valid concern in the mockist style, but I haven't found it to be a limiting factor in maintaining my code. I think it comes down to testing the right things. If you're using mocks to verify a contract between two objects, and you want to change that contract, naturally your tests for the contract will break. In that case, I think it's fine to just delete them and write new tests that establish your contract. This kind of approach isn't right in all situations, but mockist style testing has helped my write some stable code that would have been a real pain to test due to external dependencies otherwise.

EDIT: That is not to say that your tolerance for defects is high, but rather that productivity is relative to your goals. Sometimes the time spent preventing defects and keeping maintainability high isn't worth it if the repercussions don't translate to dollars and cents.
On a similar note, the joy of automating stuff is amazing.

My previous non-software job was with an engineering company and I ended up having to do stuff like manually typing values from a PDF report into an excel file.

I got so annoyed with doing this task that one day I rage-coded a parser in python that took in raw PDF data and outputted a CSV file.

The first useful thing you ever code is really motivating.
Do you have some code samples you could link? On the face of it, this is the exact opposite of what React, Vue, Angular, Ember, Backbone, etc. do.
AdBlock. The software that unblocked ads. Orwell intended 1984 to be a cautionary tale, not an instruction manual.
It's not 100...

but according to my Unifi Controller at home right now?

> ALL (53) WIRELESS (16) WIRED (37)

(many of the wired devices are bridged VMs for dev work, in case you're wondering).
Feature watch: ECMAScript 2018
> (though obviously tied to GitHub)

You can actually use GitHub Desktop with any repo: https://help.github.com/desktop/faq/articles/do-you-support-...
(Although it looks like you have to clone it first?)
The Evil Script
Unintelligible death metal is a good fit too.
I think you are as well but it does mean the person signing has to include a signature that spans both the post-it and the book's paper to show that the post-it wasn't put in later. Also it raises questions as to what is not getting recorded (which is absurd since of course you could simply use a notepad and hand copy in what you want, but this is human nature and suspicion, we're talking about).

I understand the US Secret Service has analyzed lab notebooks in some major disputes.

(To the best of my knowledge nobody has ever looked at my notebooks after I was done with them).
This, to me, is the most important point. We make such a big deal about making sure our tests actually test the thing we care about; why aren't we doing the same thing with our interviewing processes?
Don't confuse the argument of "you don't have to use language features you don't understand" with "certain language features are heavily restricted, if not verboten, in many organizations'/projects' style guidelines." Certainly, many programmers don't understand variance, type classes, and other language tools Scala either has direct support for or is powerful enough to implement and use in a simple and clean fashion. Those advanced tools are often used to reject errors at compile time rather than run time and implement certain types of optimizations without sacrificing safety, code maintainability, or legibility.

Again, using Scala's advanced features isn't akin to something like using raw pointers in C++. I find Scala's collection library a good example of that - programmers of all levels can use Scala collections without understanding all the type-level tech they're implemented with.
Read 2 Me
This article is full of great advice on how to write a book, whether you publish for yourself or for someone else.

I have written 10 books. 9 for the Pragmatic Bookshelf. I've made a nice side income on my books by doing many of the same things he lists. This isn't so much about self-publishing as it is about writing great technical content.

Full disclosure - in addition to writing, I am a development editor for the Pragmatic Bookshelf. But I publish my own books with them because they offer the best of both worlds. They split the profits with you 50/50, but you get an editor to work with throughout the process, and they take care of a lot of other things, like distribution, sales, billing, copy-edit, typesetting, etc so you don't have to.

But the important thing is to get your message out there to people in a quality way, like this article suggests. Do the research, find your voice, write about something people care about. If you go the self-published route, get technical reviewers, hire a development editor, and get a copy editor. Your end results will go far.

[edited to clarify value add for publisher]
"Andrew Gust" is a real name, there's zero reason not to disclose the affiliation, and the fact he himself has disclosed it before points to him understanding it's potientally not obvious.
Web Components are damned awkward because they extend the damned awkwardness of the DOM rather than address it.

DOMNodes are these hot data structures when they're linked into the DOM tree. Writing (and even sometimes reading) from DOMNodes can cause whole page reflows or paints to occur, sometimes synchronously. The advice to "touch the DOM as little as possible" stems from the fact that the DOM has so many performance pitfalls.

The DOM is so damned awkward that it's faster to maintain a virtual DOM tree, diff changes to it on the next tick with those of the previous, and then only modify the real DOM tree with those changes like React does. Couple that to the fact that React's DOM update strategy is tuned for speed and they can hide/handle most weird DOM object creation/insertion rules, and overall you wind up with a less awkward system.

If I compose my page entirely out of Web Components, the chief benefit I see is good looking markup representative of what's on the page.

If I were to have designed a component system from DOM, I would have added a lightweight iframe-like tag that could be instantiated from a script/css/markup template package. Performance-wise, I thought that having a nested element's box be laid out and painted independently from the parent page could mitigate some of the global ripple effects of touching the DOM. Of course, this lite iframe's box itself would need to live in the parent page and its dimensions would have to factor into the page flow, and that could have global effects. I suspect there could be clever JavaScript or event system additions that would help limit the reflow and paint damage there.
Instantly convert articles from your favorite websites (Medium, New York Times, anything that's in English) into podcasts.

My first web app :P
The Ghost Bosses
I think the point is, if one could guarantee no malware and tracking built into an ad (you can't, no one can) then many more people would be ok with ads all over to a certain extent. I'm not sure what you're getting at with the reference to magazine ads though- magazines are basically gigantic advertisements with some content mixed in. Do you really want that for the web?
seems relevant

https://www.youtube.com/watch?v=At3xcj-pTjg
Does it come with the naked girl?
This script is hilarious
> In most households having a limited single-stream throughput isn't a big deal, but it IS a big deal specifically for things like your 4K streaming. It's VERY difficult to do TRUE sustained 4K streaming over any kind of distance. If your ISP happens to have a Netflix caching box at the local pop you're golden. If you need to traverse any kind of distance across the internet - good luck.

We're talking about TCP - but most 4K streaming shouldn't be using TCP though, right? Especially not if you actually have 100MB/s bandwidth.
Office 365 support
We are providing solution of windows technical support, They are unbeatable services, Because our services are latest technology and our technical staffs are highly Trained, Professional and Certified .Microsoftoutllokoffice365, We will charge cheapest price by compare to other company and we our services at 24*7. We are third party windows technical support provider, on Office 365 support.
To know more information;
http://www.microsoftoutlookoffice365.com/microsoft-support-number.html
You-fucking-Tube?!

Possibly second only to radio as a poor choice of medium for exhibiting a collection of photographs.

Mind you, I'm sure the:

"Yure mom photograph dicks in da war"

"Well youre mom getted raped by Hilter"

debate in the comments, on the historical significance of the discovery, will more than make up for it.
Oh nice, I just bought it because it looks useful. I would have liked to see more photos of the oscilloscope hooked up to boards, esp. with clips on both the probe and ground pins. I plan to hook up probes to it and not have to hold it in my hand as it runs. I have a small office and I bought it to replace my much bigger oscilloscope, since all I use it for it to hook up a voltage graph to my boards. And I already use the µCurrent Gold to measure current.
HN at work is usually also discouraged ;)
So how to chat with robot?
Also interesting:

I have used the docker integration of logdna beforehand, before moving to Kubernetes.

The integration was done using docker compose per docker compose environment.

The logs which contained `err` were marked red as errors in logdna and I could trigger an alarm.

The same containers in Kubernetes with the same logs seem to marked as `info` now.
I am not sure, why this is and how I can get the same behavior as before.
Is there a way to tell Kubernetes about stderr/stdout? Or how would I trigger logdna to treat a log as error instead of info?
Actually, I'm not so sure. If you used inverse temperature (i.e. "coldness") and scaled it properly, it wouldn't actually be all that different, in practice, from a positive temperature scale.

Here is a plot of Temperature vs. Coldness from 0-100 C, scaled such that water freezes at 100 coldness units and boils at 0 coldness units[1]: https://i.imgur.com/fluOSY2.png

It traces out a pretty gentle curve, which seems like it's not appreciably less linear than our ability to perceive differences in temperatures (from eyeballing this: https://biology.stackexchange.com/a/28522), so probably for day-to-day use inverse temperature would be a perfectly acceptable substitute.

Of course, this is just to say that if we were starting de novo today in determining how to discuss temperature, coldness could be a reasonable choice. I don't think it actually offers substantial advantages over the current system and it would likely be very costly to switch everyone over just for the sake of making it a bit easier to think about why temperature has an absolute zero.

[1] Python source code: https://bpaste.net/show/76bf4f7c36cb
> As God’s name is not explicitly mentioned in the Book of Esther, it was considered permissible to illustrate it.

Wow. Does anybody have some good info abut this aspect of Judaism, wikipedia doesn't have much. Specifically I'd like to know the historical reliable sources about it, not the qoutes from the Bible, that is, I'm interested in the evidence for and against the use of illustrations among the Jews.
Millions of Germans want to fart towards USA
Original post from “Otto joins Uber” – Interesting to read now
5 Reasons Your Company Needs Identity and Access Management
Thanks to HTTPS everywhere, not really.
too bad, thanks for the heads up
Code Golf: “Hello, World” in esoteric programming languages
> Incorporating as a C-Corporation in Delaware is the gold standard for high growth startups

Not every business is designed to be a "high growth startup". Consulting firms, bootstrapped startups, small micro-ventures, self-published presses, all of these benefit from the ease and simplicity of an LLC. Unless an investor is cutting you a check for $1mil+ I would lean toward an LLC.
> Both of these are undeniably true about specific ads, but surely not the genre of advertising in general? I think that magazine ads, for example, are neither infection vectors nor privacy leaks.

We're obviously not talking about magazine ads, and an infection vector doesn't necessarily carry an infection (just like not all flies carry disease).

> I _think_ that, even among those of us who would like a web with no ads, the position that there is no level of advertising that's acceptable is extreme.

There are some people who block all javascript. That's far beyond "no level of advertising".

> Nonetheless, since some people do use it, surely this divestiture from a conflict of interest is a good thing, even if it's not perfect.

ABP has always sought revenue. Every time I installed it back in the day, a web page with the author and his significant other would pop up saying something like "I want to marry my fiance, please give us money!". Later ABP turned into a bait and switch. They gathered a lot of people who thought were protecting themselves, reducing load times and cleaning up the web, and then they violated their user's trust by making them targets for the highest bidder. I find that infuriating and disgusting.
Very neat idea. Btw, don't forget to add .DS_Store to your .gitignore file.
No ads are acceptable if I choose to have an ad-blocker installed.
Awesome article!

It says you asked 100 campaigns. Does that mean you got 100 answers or you only 100 campaigns? I'm curious as to how the bias of who responded to you would affect your data.
> I remember when I was learning Ruby, and everyone online was "Read that _why guide it's great!!" It was a mess. I couldn't learn anything from it at all.

I had the same experience (started Rubying in late 2015). I had much more success with RubyMonk, Metaprogramming Ruby 2, and some other "Ruby for Perl hackers" blog posts and such.
It is definitely true that a sign was improve the drivers understanding and be helpful, however the light is still necessary. Stop and yield is not sufficient... that puts the decision of when to turn on the driver of the car, instead of being dictated by the light as is the desired behavior...

I still see this as the only way to communicate correctly the rules of the intersection. And yes, add a sign as well to let people know they can only turn right.
So it's "a few thousand" when/if the need arises vs, at a minimum, $2.4k/yr definitely.

That doesn't sound clear-cut at all.
Those uses of AtomicFoo classes could probably be updated to use AtomicFooUpdater fields (e.g. AtomicIntegerFieldUpdater). VarHandle is like AtomicFieldUpdater but with all of the concurrency semantics that were accessible only via Unsafe access.
Do they actually check to see if it's actually a person of you? Or could you provide, say, a picture of a fluffy bunny?
This was a really fun read, thanks.
I first made it onto the web in 1999, those were the days!
Whether or not there is a sign, you still need the light.. A sign is not sufficient as it puts the decision of when to turn on the driver of the car, instead of being dictated by the light as is the desired behavior...
Angular testing made easy
The information in this post is not entirely accurate.

You can certainly issue incentive equity, divide up ownership, AND take money from outside investors with an LLC. We did it frequently at the private equity fund I worked for a few years back.

Little known fact -- if you structure your employee's incentive equity as LLC profit interests, the ultimate payout is treated as capital gains as opposed to ordinary income (which is the case for vanilla options) for tax purposes. It does take a little more structuring but definitely worth the hefty payoff in my opinion.
Dancing on My Own – Robyn – Rachel Knight
If anyone could summarize what makes DragonFly's stack different I'd be obliged.

I understand FreeBSD's networking stack has been well-regarded since the 90s[1] and has shipped in many environments and consumer devices. Now that it's 2017, it's interesting to see what else is out there.

[1] https://people.freebsd.org/~andre/tcpoptimization.html
One trouble with fiber is that most people (who have cable) think the cable service they have is "good enough" in terms of performance

So wait.. if the customer is satisfied with the service they're receiving (eg, it's "fast enough") then exactly what problem are we trying to solve? The article talks about an "urgent demand" for faster home Internet, but I'm honestly not seeing it. My cable service (from TWC) is "fast enough" to the point that I don't even think about it. I have no idea what bandwidth I have, but I can't recall any time that I felt limited by it.

Would I take 1Gbps (or higher) home service? Sure, I guess. Do I need it? I don't see any reason to say that I do.

Edit: To be fair, I don't live in a rural area. So yes, it is possible that people in rural areas face a more urgent need for higher bandwidth than I do. That said, I grew up in a rural area and when I go home to visit, my friends and family all seem pretty happy with the Internet service they have. So even some rural areas seem to be getting at least a respectable level of service.
A stop with an arrow is not sufficient as it puts the decision of when to turn on the driver of the car, instead of being dictated by the light as is the desired behavior...
What would be the language to use? JavaScript won early, so it's been the de-facto choice every since to the point where browsers probably don't even run other scripting languages with the script tag. The first major hurdle in changing all of this would be getting everyone to agree on what to use. Different languages are suited for different jobs. HTML is perfectly fine for static UI, which is what most sites need it to do. What would a better language or set of tools for the web even look like?
It also occurs to me that if you do get to the general location by paddling, as many have speculated, if someone posted or emailed him with the correct put-in spot he would know that they would have passed by the treasure.
A demo of sorts:

http://quickenloans.github.io/Behaviors.js/

The code will look extremely non-idiomatic to most frontend engineers. Treat it as a thought experiment (which it is). The important thing isn't the particular implementation, but the ideas I outlined above. There are other, often simpler, ways to implement the same concepts.

One property of these libraries that might not be immediately obvious is that they "automatically" adapt to changes on the page. So you can add an element with a behavior via AJAX or dev tools and it will actually work. This is why using timers and global events is a part of that list.

Another thing is that none of these libraries have an API or modify the global JS namespace. This is part of the thought experiment not directly related to the main concepts. It drives some of the complexity.

Edit: Fixed the link.
Have tried similar, and included a widget on my phone's home screen. Moved too slowly to be motivating/demotivating, though could be interesting longer-term.
That would get annoying soon. You won't want your browser to ask for that permission or throttle page layout to use 1% of a single core during page loads or the moment that browser-based shooting game gets lively and requires fast reactions, for example.

I think it would be better to give each tab a power budget that, initially, allows it to run for S seconds at full power, and that give it new budget at a rate of x < 100% of max power every second.

However, I fear that still won't be enough. The list of heuristics and exceptions could get so long that the resulting benaviour becomes difficult to explain.
> We all accept, to a greater or lesser degree, that the end user of our work is the one that matters. In theory. In practise most programmers have a mix of dread and revulsion for the user. Even when the user may be a future self. Look at Dahl’s language in this supposed paean to the user.

>> “The users - the one who just want to see a webpage - don’t care.”

> Yeah users. Those passive consumers of stuff. How he loves them.

I don't think you've got this right, here. When Dahl says that users don't care about those things, he's not insulting users. It's true, they don't care about those things. But that's not a criticism; why should they care about them? They've got their own things to worry about, their own concerns and goals and none of them are served by having to care about the morass that we've created. You're reading it as "users don't care because they're too stupid to know that this stuff is important", Dahl meant it as "users don't care because how dare we waste their time with this shit?"
> I think that magazine ads, for example, are neither infection vectors nor privacy leaks

We are talking about AdBlock here, right? The context is online ads.

With the advent of e-ink and other paper-replacement technology perhaps your point about print ads not being vectors for infection or privacy leaks may be premature.

What about Ads that induce violent/sexual/medical reactions in their viewers? (e.g. blinking ads causing epilepsy).

Ads are unwanted draws of attention at best, and injurious at worst.
Here is my question:

How can issuing options be worth the cost of taxation?

I mean, eventually, you get taxed 35% extra! How can the ability to issue options possibly offset that massive value transfer out of the company?
How Grassroots Innovation Created Jobs, Challenge, and Change (Book Review) [pdf]
Sorry this happened to you, I’ve brought it up with our PeopleOps team and we’re looking into it. Something like this absolutely shouldn’t be happening.

If you have any more information you can share, it'd be great if you could send it to peopleops at gitlab.com.
Not sure about the TCP not moving a gig over the public internet. Care to expand on why you think that?