skysight-inc/HackerNews huggingface dataset:
The level of verbosity is good, however when you replace almost all your catch exceptions with ex.printStacktraces() it gets enormously large and unmaintainable across a large project when too many things prints stack taces concurrently. Not the way I like to do it, however too many people do that unfortunetaly: http://plg.uwaterloo.ca/~migod/846/current/projects/09-Naksh...
How can more layers be more efficient?
"X is considered a really good sports team, but they only won 48 of 49 games in the regular season so basically they're shit because they lost."

No, it doesn't work that way.

News organizations, like people, make mistakes. It's how they address those mistakes that matter.
> Endless learning of grammar doesn't make one a good author

Being able to write out passages from your favorite book doesn't either. Even if you can write out Ulysses from memory.

Having a strong knowledge of the rules of language and the structure of story will make you a better author.
It might be possible to use multiple screens to form a sort-of synthetic lens. Also, there is such a thing as a single-pixel camera (http://dsp.rice.edu/cscamera).
Lots of languages allowed for a) and b), including the ones I mentioned, C wasn't neither the only one nor the first one.
Facebook is basically "satire" at this point, and by that I mean "full of bullshit". Smoking is probably better for your health than Facebook is.
Tens of thousands of broadband modems (in Ireland) wide open to hijacking
Undefined behavior is not specified, by definition! It is the absence of requirements, including the requirements to diagnose.

C++ has something called "unspecified behavior" also, which is stronger than undefined, because it gives requirements. It denotes some circumstances when an implementation can behave in one of a finite possible ways (none of which fail) and must choose one of them without documenting which choice is made. For instance the expression f(a(), b(), c()) can call the functions a, b and c in any of the six possible permutations of the order: no particular order is specified. (This arises due to the order of evaluation of function arguments being unspecified, together with the sequenced evaluation of function calls.)

The specifications of C and C++ contain large number of places in which they carefully state that no requirements apply to some situation. This is not a good thing; it's basically a myriad holes punched in the requirement spec, any one of which could be a pitfall.

Few languages are so chock full of holes in their requirements.
"I have to say, I'm really impressed by the single-cable solution. The monitor charges the laptop"

Is this a new feature? I've never heard of monitors charging laptops before.
And if the switch is too prominent people will whine about accidentally switching things off when they didn't mean to. So the switch would get moved out of the way, and pretty soon people would just turn it off (if it's even on by default, which it probably won't be) and leave it off, because most people can't imagine why anyone would bother to exploit such capabilities.
Earn like a pro from YouTube.Every YouTuber must know this
Did it have any actual Aloe Vera in it?
Well, that's not news.
My preference would be that pip install only has one mode. Realistically, there is going to be backwards compatibility stuff, but ideally, even in advanced use you should never have a reason to use anything other than pip install, and the rest should be specified in config files.
I'm thinking around messenger bags from Morrison's plastic/cloth shopping bags. Just need to work out how to stitch the stuff without a machine (sailing type needles or something and really strong cotton) and what to use for a strap.

Nice.
It would have been interesting to read about tests for web-hooks. How do you do integration testing for example?
Why should we spend tons of money on regulating every single item? That are cost that have to be payed by somebody.

Also its incredible difficulte to design these standard. Its almost impossible to remove bad ones because the burocracy has a clear interest in having asany as possible.

There is a clear insentive for regulatory capture. If you do it the libertarian way you just have universal courts that are much harder to be captured by interest groupes.

This system is superior to regulation because once you have, you have little ongoing cost. New products don't have built in extra cost as it would in a regulatory system and only if somebody bother to actually sue that person, one would have to spend money.

The money spent on the investigation is largly spend privatly. This means that the investigation is done effectivly, while a burocracy usually has the opposite insentive.

Also,any of the countries you mentioned are some of the most libertarian in the world. Look at the economic freedom index (doing buissness index is part of that).
Do people really complain that size is an issue in syncing password data? The author of this article's file was 512 KB, personally mine is 10 KB. That's basically none.
> (2) When the display goes to sleep, it disconnects all the devices on the hub. This is a problem for external disks, as the OS complains that it has been detached without being ejected first. I hope LG fixes this in a future firmware version.

This is why I'm quite disappointed that Apple exited the display business. Small issues like this highlight the different scope of LG and Apple business models. As a display manufacturer, LG is primarily concerned with a display that works well in its primary use (e.g. when it's on) and much less concerned about secondary uses - it's not really their problem. Apple, on the other hand, is concerned with the overall user experience, and has designed their business model around this (including cost centers like customer service / genius bar appointments). LG just feels a lot less pain on this issue than Apple would.

Hopefully Apple can find a way to preserve a certain level of user experience now that they're no longer manufacturing. There's no MFi certification equivalent for Mac, but it seems like there should be.

This is probably also relevant for wifi routers, now that they've left that business too.
> OK, so you define effect-freedom using the language's equality operator.

Not the runtime equality testing operator. Rather, the language's static notion of contextual equivalence.

It just happens to be the case that most high-level languages provide a built-in equality testing operator that works on primitive types, returning `true` iff its operands are contextually equivalent values.

> I think assembly language and BASIC would still qualify as effect-free

I don't even know what a good notion of contextual equivalence for any assembly language would be.

As for BASIC, I haven't used the old ones, so I can't comment on them. I've used Visual Basic, which most certainly has effectful procedures.
I created an extension to solve this problem while I was preparing for GRE and it has served me quite well since then! Here is the link in case someone would like to try: https://chrome.google.com/webstore/detail/fb-feed-modifier/h...
Publish those numbers with the sample code to reproduce them. Your first paragraph is enough for an awesome white paper/use case to drive adoption. Don't let silly AWS internal politics get in the way if you work there. Find a workaround.

Amazon is at its best when it's customer obsessed and at its worst when it puts politics first.

All IMO of course.
That is massive overkill.

128 bits of security is way more than sufficient. 23 characters (uppercase, lowercase, numbers) already gives much security.

Honestly, 128 bits is already overkill. An attacker that determined is probably quite proficient at rubber hose cryptography.

The point of PW manager is to prevent compromise from spreading. Not to keep a motivated NSA out of your PC.
> Robot monkey scientists

Now, you'd have to agree that would be an achievement! We've banned this troll account.
Reputation doesn't work that way, I'm afraid.

If genuine mistakes are made, those responsible admit those mistakes and issue corrections. When that happens, one's reputation can remain mostly intact.
If this is true then i will get some extra money :D
I think the only lesson here is to try and take the best parts from whatever your partake in, be it friendships, relationships or the internet.

Or maybe rather: apply the tool at hand to the best of your ability and with purpose only.
I agree. And for myself at least, I could also say:

I'm not particularly fond of fully OOP languages, but they have some nice ideas that I've been enjoying using.

If a thing I want to make is a stateless process, modeling it as a function seems nicest. If that function can be truly a function (i.e. pure), that's best. If it can be semi-pure, in the sense that its only access to mutation is via its arguments (e.g. it takes in a DB handle explicitly), that's alright. If it has other access to global state, perhaps reconsider.

If a thing I want to make is a container for state, and its state transitions have some structure to them, then I hear there's this thing called an ADT, and OO seems pretty nice.

Neither of those statements is an architectural manifesto, and OO design and functional design both seem like bad ideas to me. That is, requiring modules to be instances of language-syntax-level functions or language-syntax-level objects seems like a bad idea to me. I guess if you go read the plain-English descriptions of Smalltalk objects, that matches my idea of how modules should work, except when they should be functions in a plain-English sense.
I like MXNet, and I think it's great that Amazon is backing it publicly. TensorFlow needs competition for the minds and hearts of developers.
It's maybe just differing semantics between regions. In the US, no one would reasonably expect "Greek yogurt" to come from Greece -- "Greek" would be a category or style, not an origin.

If a yogurt was labeled as "made in Greece" then it would be expected it came from Greece and would be pretty uniformly agreed as fraud / false advertising if it was learned the yogurt wasn't made in Greece.
I don't know why, but the fact that this is an actual tool that's been designed to solve a real problem that you guys faced (as opposed to being a random project that somebody dreamed up to make fun of Java or to see if they could do it) makes me really happy.
Clojure at a Newspaper
Aloe Vera is very easy to grow at home. There's literally no reason to buy this at a store.
pypa, the Python Packaging Authority, is a working group that maintains many of the Python packaging projects (e.g pip) and therefore pipfile in time will likely be the new accepted standard.
Better wine comes with a screw cap because there is no risk of corkage. New Zealand makes some fantastic "new-world" whites, and NZ doesn't use corks.

Crappy wine comes in a bladder or tetrapak.
The difference between fake news, à la The Onion, and fake news that's propaganda is the propaganda has an agenda that isn't advertised.

Pieces in The Onion do have an overt political leaning, but the publication's primary function is comedy, not news.

A lot of these so-called fake news agencies may quietly label themselves as satire simply for legal reasons but make an effort to conceal this whenever convenient.

I'm not sure if you can categorically differentiate between the characteristics of an Onion piece full of hyperbole and some typical nonsense fake news piece, but the impression left in the readers is probably the differentiator: Fake news sites are trying to convince people that they're true, where actual parody and satire sites do not.
This is essentially the same format as Gary Bernhardt's 'Destroy All Software' screencasts, which are absolutely delightful.
I was once chased by a flock of geese, honking and half-flying, nipping and twisting with their devil beaks... until I hid in a horse stall.

Evil... evil creatures.
Thanks for clarifying. Text-replacement makes sense in that context, definitely related to both white label & internationalization.

RTL... most browsers have some sort of RTL support, correct? `dir="rtl"` (I'm not an expert on RTL... I'm confident that given a piece of paper with Hebrew text on it I will still rotate it 3 times before realizing that it is not upside-down English).

I'll get these all worked into the guide soon (or if you're feeling enterprisey... it's open source and we'd love contributions: https://github.com/enterpriseready/enterpriseready/tree/mast...)
The take-away for Haskell tends to be if there is some kind of a commitment at some "core" level to it (i.e the the long-term members of the tech team, CTO, etc.). If there is none and people move in-and-out of the company, then it's more practical to use a more mainstream language, which is easier and less far-out to learn.
You mean by the way it is Bloomberg who did the investigation ?
John Walker's The Autodesk File is definitely worth reading. https://www.fourmilab.ch/autofile/ has the book available in several formats.
Yes we would because if Clinton won there would be way, way more of it.
I'd like to follow up on the statement that the OpenAPI tools do not support webhooks. This is slated to change in an upcoming version of the OpenAPI-specification. Check out https://github.com/OAI/OpenAPI-Specification/pull/763 to see details. As soon as this is released, it only be a matter of time before Swagger and the rest support webhooks.
I think all of this talk about "fake news" in the abstract is unhelpful, because I suspect we all have something different in mind for "fake news."

I mean, if there's a widespread belief that Secretary Clinton is running a child sex ring out of a Washington D.C. pizza parlor[0], widespread enough that it's turning up in response to random phone polling in the days before the election, that's a different category of "fake news" than "Restore hair growth with this one simple trick."

If a tweet of some parked busses for a Tableau conference in Austin, Texas, can result in a tweeted claim by the President-Elect and a thread that runs for more than a week on cable news about "paid protestors,"[1] that's not the same as "Aliens take President-Elect for a ride on their flying saucer."

These seem to be in a different category than the NY Times' in-retrospect-horrible reporting prior to the US invasion of Iraq. It's possible to be certain but wrong, and marshal evidence in support of your beliefs. In the case of the NY Times, that mistaken reporting was enormous, and the impact of it was enormous, but it is reasonable to think that others given the same information would have made the same mistakes. Lots of people did, in fact. In the meantime, 99% of the rest of NY Times reporting was accurate, as is usually the case. The two examples of "fake news" I linked seem ludicrous, and they're just the tip of the iceberg.

Anecdotally, I personally saw claims about eight LGBT youth having killed themselves as a result of the election, but those claims seem to be unsubstantiated at best, and most like "fake news" from the other political side. It's not entirely a partisan issue.

So yeah, Judith Miller's reporting turned out to be terrible. I'm not sure how that counters the fact that the so-called "fake news" currently being discussed is reprehensibly awful, and apparently effective.

[0] https://news.ycombinator.com/item?id=13011496
[1] http://www.nytimes.com/2016/11/20/business/media/how-fake-ne...
Open-V: The World's First Open Source RISC-V-based 32-bit Microcontroller
I find taking an average 8 year old and 6 year old kid with you for protection works like a charm. As aggressive as geese can be, if they see my kids come charging at them (which they do, because they're farm kids and don't really seem to give much of a about anything), they tend to run away.

Your mileage may vary XD
FriendFeed focused on being loved more than growing users and had a $50MM exit.
I'm sure you long-time mac users are a little disappointed with the current generation of macbook pros, but as a long time ubuntu-linux user, I feel that linux distro's have comprehensively fallen behind the times and am excited to be with everyone else and have a macbook pro. It's like when I had an android for a long time, and I actually thought androids were competitive, and then when I switched to an iPhone 6 it was an incredible difference, all things considered it was just a superior experience and phone. I had no idea that it was that much better, and was unsure how people ever talked about androids vs iPhones like they were even, I'd had an android for 4 generations.

I'm assuming OSX vs linux distro's like ubuntu is the same thing. The sum of the little things must make you a lot more productive. I cant wait to be honest. I just need to decide, 13 inch vs 15.

When you do everything 1-off, like different phones than every one else, different clothes, different hobbies, don't listen to mainstream music even if it's fun you really get left behind in life & it's a lonely affair.

It was a nice change when one morning I woke up after a long time of running my life in a different direction than every one else that I got to hit traffic with every one else. "Oh, this is where every one is, thank god". I think it's a bad idea to do everything 1-off for some minor advantage in your head.
File IO got a rework with java.nio.

"Several classes" Are you taking about input/output streams, not file I/O?
An Executable Prime Number?
Truly impressive overall. Unfortunately, it looks like training set was way too small. Look for example at reconstruction of #13 here:

https://phillipi.github.io/pix2pix/images/index_facades2_los...

Notice white triangles (image crop artifacts) present on the original image, yet completely absent on the net input image. They make re-appearance on the output of 3 (4 even?) out of 5 nets despite the lack of corresponding cue in the input image. Looks like network cheated a bit here, i.e. took advantage of small set size and memorized the input image as a whole. Then recognized and recalled this very image (already seen during training) rather than actually reconstructing it purely from the input.

Same (but less prominent) for other images where "ground truth" image was cropped.
"Italian sausage" -> no one assumes it was actually made in Italy

"French wine" -> everyone would assume it was actually made in France

I don't know if there's a hard rule that anyone can come up with about this sort of thing.
Yes, apple has been quite good with batteries.

Indeed part of battery quality is to let the device manage when charging happens, but a big problem is that the device is expected to be charged when being hooked up to a charger for a bit.
You don't want customers to walk away from home thinking they have a charged device, but end up only being able to use the device for a short time.

I guess there is some well thought out system to it.
> ABX Air President John Starkovich said the airline is seeking a court order to force the pilots back to work.

How are these kinds of court orders possible in a free country, with largely at-will employment? Employees are not slaves.
This is exactly why I started using a password manager, the situation you described is infuriating. Additionally, all it takes is one site with poor security practices having a breach and someone could figure out your scheme and use it to figure out other sites passwords or even seed a dictionary attack with the "shape" of your passwords
Significance Testing for Ratio Metrics in Experiments
Perhaps something like the Eigenharp (https://en.wikipedia.org/wiki/Eigenharp) with some tweaked software.
>"Comparing a bootcamp to random schools in developing countries is laughable."

First of all, your characterization of Taiwan is both laughable and offensive. It's a developed democracy of 23 million, a stronger economy than many EU countries and a better transit/medical/internet infrastructure than I've seen in any western country. In terms of educational attainment, Taiwan is world-class.

Secondly, it looks like you misread my comment. I wasn't even comparing a boot camp to "random schools in developing countries". I was comparing one of the very best programming immersion schools, Hack Reactor, with one of the very best language immersion schools for Mandarin, ICLP (which was started by Stanford FWIW).

>"Code camps are comparable to an associate's degree or certificate."

No. It's not about credentialing. It's about what you can do. I got no credential whatsoever and I wouldn't have respected it if I had. Nobody had ever graduated when I started and when I finished, my prospective employers had never heard of the school. It's about the education, not some stamp of approval.

At least in my own opinion, there is no evidence whatsoever that our centuries-old model of higher education (or our k-12 educational system based on Prussia's model) are the pinnacle of efficiency. There are many ways to learn more quickly, ranging from working through OCW on one's own to getting help from experts while studying in an immersive school.
From the code samples in README:

var payload: ()

What does that mean? What type has payload? I throwed it inside Xcode, it does compile but i still don't understand it.
And note that many, many companies still do not understand UX. There's a good chance your interviewer/manager will have little to no understanding of UX. They will favor the visual beauty of your work over any of the aforementioned qualities that make a great UX designer.
https://en.wikipedia.org/wiki/Chinese_room

If you have a challenge to the Chinese Room argument, go read and respond to Searle's original essay. There's no point in responding to my TL/DR version -- offered only to correct your initial misapprehensions -- with further misapprehensions.
> Undefined behavior is not specified

> unspecified is stronger than undefined because it gives requirements.

I do not understand what you are saying.
Custom fields makes sense... do you think those are part of making integrating with other apps easier? https://www.enterpriseready.io/features/integrations/

As for easy branding, do you think that only applies a "must have" if the application has some sort of end-customer/consumer facing interface (ie Zendesk, Readme.io etc)? Or do you think that is equally important for applications that are used exclusively internally by employees.
For me, it was nested loops.
It's part of the benefits of Thunderbolt (and now, USB-C). The Apple Thunderbolt Display also charged Mac laptops via its built-in MagSafe cable.
109,500 gallons of diesel/year is ~$265,100/year[1].

1.4 Megawatts (5328 solar panels) is from ~$4.3M to ~$7M[2].

60 Tesla Powerpacks (6 Megawatts/hour) is ~$8.7M[3]

So it's at worst a 50 year bet (if gallon's price doesn't increase) which is pretty good for a reliable continuous source of power.

[1]: https://www.wolframalpha.com/input/?i=how+much+is+109,500+ga...

[2]: http://www.freecleansolar.com/What-is-the-price-cost-for-a-S...

[3]: https://en.wikipedia.org/wiki/Tesla_Powerwall
Yeah I can understand that. I've worked with plenty of designers who can't code, and to my taste the only part that can be a little frustrating is when they don't accept that some great ideas really can't be built. But that said, I do think that negative is usually outweighed by the value of keeping the ideal in front of the reality...it's just they need to be sure to also help with what needs delivered in two weeks!

As sort of a joke, I've been on the flip side of that---especially with more enterprise-y Microsoft stack style dev teams---where I propose a design and am told it's impossible and I respond with a detailed explanation of how to build it within their constraints. I think they like that even less! :)