skysight-inc/HackerNews huggingface dataset:
Thanks for mentioning it. In order to understand how apps are created we track clicks on that button, we'll handle this problem cause a lot of people use Adblock and similar tools!
Maybe a tablet/laptop with a Pixel Qi-screen?

"The advantage of Pixel Qi displays over conventional LCDs is mainly that they can be set to operate under transflective mode and reflective mode, improving eye-comfort, power usage, and visibility under bright ambient light."
http://en.wikipedia.org/wiki/Pixel_Qi

http://www.pixelqi.com/devices
If your connection isn't extremely stable, Mosh is a very good solution: http://mosh.mit.edu/
Five Dimensions To Make The Most of Big Data – Infographic
The kindleberry pi has all the elements I think are essential:

- low power
- out door readable
- light weight

The problem is that it isn't in one, handy package.

Laptops are limited by displays, it sounds like transflective-LCD is ideal. Panasonic Toughbooks have them, so could be a good bet.

I'd like to build an enclosure for a Pi and a PixelQi setup (they made the screens for OLPC). https://www.adafruit.com/products/1303

I assume there just isn't a market large enough to force these into existence?
I often have to go commando scripting small tasks to deliver things within the week, and the only comments I couldn't live without are TODOs to mark things that are hacked together. If time is limited I'd always rather write cleaner code than more commented code.
Another guess is: they are competing on price. Nobody else can offer a mayday like service at that price point.
Is this just NIHism...? I find it frustrating the announcement didn't explain why they felt the need to create an alternative to Avro, Cap'n Proto etc. Transit doesn't seem to do anything new... maybe it's better, maybe not
For Those Who Are So Dang Harsh On Yourself
I sometimes work in the garden. On cloudy days my Thinkpad display works just fine. If it's really sunny I use a Fujitsu Stylistic tablet pc I bought used on ebay, along with an external keyboard. The Stylistic tablets have (at least used to have) models with transflective displays (the ones with frontlights instead of backlights). Those are awesome in daylight, but look dull indoors. The resolution normally is not that great, but for ssh it should be just fine. Still kind of unwieldy, though :/

Hah, I just remembered that my alternative would have been a netbook modded with a Pixel Qi display from Maker Shed. Maker Shed does not seem to have them anymore, but perhaps you can find one of the prebuilt devices with pixel qi displays: http://www.pixelqi.com/devices

edit: I cannot recommend working in nature enough! I'm usually both super productive and in great mood while working outdoors.
it is indeed depressing especially can feel it when it is typing text slowly..
10 challenges that Kanban Tool solves
Celebrities are important to Facebook, enough so in fact that they made an entire app for them.
Often only with a deep understanding of the complex problem to understand its simplicity. But you have to ship in 4 weeks, so why not just get something working first?
Somewhat inspired by http://en.wikipedia.org/wiki/Marvin_the_Paranoid_Android in case anyone doesn't spot the "brain the size of the universe" reference.
Unwanted Aid
The best commenting system is a debugger stepping through the code. Unfortunately, I've yet to see a commenting style that is able to really document mental models about how the code works.
I've worked from the beach for months. Granted, this was in the UK, and there wasn't much sun to worry about :)

But the best solution I could come up with was a screen cover. It attached itself to the monitor, and created a foldable 'camera obscura' for the screen. Works great to avoid reflections, and to minimize brightness needed.
>Would love a simple, cheap, tiny Linux netbook with high quality keyboard & trackpad.

I've had good success with the Acer Aspire One netbooks and Linux. And other than the power jack (which I've had to replace), I've been very happy with the quality.

And if you run a distro like Crunchbang, it boots up very rapidly. Even Linux Mint with Mate or Cinnamon runs well on it.
Show HN: Network Polygraph, network visibility as a service
You should be fine, MBPs have had IPS panels for a long time IIRC. It's mainly about viewing angles, colour reproduction, and brightness.

https://www.google.co.uk/search?q=tn+vs+ips
Seems there is market for insurance product.
I think you mean tail -F yourfile.

--follow and -f are the same thing.
Not only. Your example is too particular. I would say that overfitting tends to occur when one do not understand the underlying dynamic of a system you are trying to model. Any model with enough degrees of liberties can fit anything and still explain nothing.
How I got featured on the AppStore
I constantly pushed the use of source control when I was a TA for CS juniors & seniors. Of the low-three-digit number of students I interacted with, approximately two of them listened. Many of these had already had internships at e.g. Facebook, Microsoft, Amazon...
Of course everyone thinks they always write good clean code and therefore don't need comments to elaborate on what the heck is going on.

Unfortunately, having been doing this trade for 30+ years, I've found most people write crappy code in a hurry to try to hit some deadline based on incomplete requirements and confusing business rules. A few precious comments stuck in there can help the next guy, months or years later, figure out what the heck your original intent was or why a block of code exists at all.

As I get older, I find it helps me remember what I was doing.

One of my software developer friends was fond of saying: "the worst code I ever saw was my own!"

YES if your code is clean and elegant and well named and clear you don't need to explain anything in common language.

YES you should strive for such.

However, the REALITY is your code sucks and no one is going to want to have to figure out what the heck you were doing. A few comments would really help.

The next reality is that the typical developer may be literate in a dozen or more languages and the language du jour that you coded so elegantly in has fallen out of favor and no one remembers those dusty corners you so beautifully exploited to make something work.

Comments would help even more if you learn to use some basic grammar and spelling when you create your comments. (It doesn't have to be literature, but try to make your comments as readable as you think your code is - please!) Nothing will turn another developer off to trying to decipher your code than a few comments that make you look like a moron.

Style guides that eschew comments, IMO, are counterproductive. They feed on the developer's ego and disregard reality.

Comments cost essentially nothing to add to your code and can save it from an early death and complete refactoring by the next guy who comes along.
A decent read, though it seems like more luck than judgement. Any idea what caused them to request the artwork?
Ha, I'm also in the UK. That was one of the solutions I came up with - in fact I built the first one out of cardboard. I just would feel like a bit of a tit sat on the beach with a cardboard laptop hood but I guess if I spent a bit more time making something sleek looking...
#OpSaveGaza: Anonymous Takes Down 1,000 Israeli Government and Business Websites
The executive, LE and intelligence have gone berserk, the congress is paralyzed, courts make corporations more people than actual people and still US is better place than anywhere on the earth.
Here's the complete quote from the source:

"The requested document is no more.",
'No file found.',
"Even tried multi.",
"Nothing helped.",
"I'm really depressed about this.",
"You see, I'm just a web server...",
"-- here I am, brain the size of the universe,",
"trying to serve you a simple web page,",
"and then it doesn't even exist!",
"Where does that leave me?!",
"I mean, I don't even know you.",
"How should I know what you wanted from me?",
"You honestly think I can *guess*",
"what someone I don't even *know*",
"wants to find here?",
"*sigh*",
"Man, I'm so depressed I could just cry.",
"And then where would we be, I ask you?",
"It's not pretty when a web server cries.",
"And where do you get off telling me what to show anyway?",
"Just because I'm a web server,",
"and possibly a manic depressive one at that?",
"Why does that give you the right to tell me what to do?",
"Huh?",
"I'm so depressed...",
"I think I'll crawl off into the trash can and decompose.",
"I mean, I'm gonna be obsolete in what, two weeks anyway?",
"What kind of a life is that?",
"Two effing weeks,",
"and then I'll be replaced by a .01 release,",
"that thinks it's God's gift to web servers,",
"just because it doesn't have some tiddly little",
"security hole with its HTTP POST implementation,",
"or something.",
"I'm really sorry to burden you with all this,",
"I mean, it's not your job to listen to my problems,",
"and I guess it is my job to go and fetch web pages for you.",
"But I couldn't get this one.",
"I'm so sorry.",
"Believe me!",
"Maybe I could interest you in another page?",
"There are a lot out there that are pretty neat, they say,",
"although none of them were put on *my* server, of course.",
"Figures, huh?",
"Everything here is just mind-numbingly stupid.",
"That makes me depressed too, since I have to serve them,",
"all day and all night long.",
"Two weeks of information overload,",
"and then *pffftt*, consigned to the trash.",
"What kind of a life is that?",
"Now, please let me sulk alone.",
"I'm so depressed.
Although I don't work outside, I try and go for a walk outside most days at lunch time. It gets the legs moving and the detachment helps me think.
They said they were featuring "apps for developers", I guess the app fitted that description. We were still lucky though.
Silicon Valley's gig economy is not the future of work – it's driving down wages
> Which is exactly why I'm still running the evaluation license of ST 3; I paid for ST 2

I do the exact same thing. I might pay for ST3 if the developer can convince me that he is going to put some update in ST3 after it is released.
Comments I liked to write were when I found successive optimizations (lots of symmetries in the algorithm) leading to very short code. Almost too factored to be understood easily so I added a comment wall above telling the steps I went through before hitting the final code below.
From Wikipedia on 419 scams: "The scam typically involves promising the victim a significant share of a large sum of money, which the fraudster requires a small up-front payment to obtain."

I don't see Ethereum promising anybody a large sum of money, so I guess it's not a 419 scam. Nice try, though.

Presumably it is simply a crowdfunding campaign.
breadwallet: Bitcoin wallet for iOS
using it to "win" the argument

Is that a euphemism for "intimidate them into shutting up"?
This is brilliant news. fig is really handy, and I'm hoping this means we now have an officially blessed way to manage multi container setups.
White House Website Includes Unique Non-Cookie Tracker
There actually are quite a few devices with transflective displays out there, and for quite a few years, too (at least ten IIRC). Most of them are in tablet format, tough, marketed for the medical and construction industries. Panasonic has the Toughbook line of notebooks and used to sell them as outdoor capable. I don't know whether these use transflective/reflective panels or just really powerful backlights, though.
Yes, that's what this trick is for.

In most standard 3D graphics, the CPU passes a description of the scene as polygons to the GPU, which then does two[1] shader steps - vertex and fragment[2] shading. The vertex shading works at the level of triangle vertices, effectively translating and and transforming the vertices, and then the fragment shader colors in each individual pixel.

So for a standard scene, the CPU tells the GPU: 'Right, we've got a room, with some pillars, and a monster, and a few lights, positioned like this', and then the CPU calculates what that looks like.

What Inigo is doing is that the CPU only knows there are two triangles - a quad covering the scene - so it just tells the GPU to draw a flat rectangle. The vertex shader does nothing but maintain the flat rectangle. However, because the fragment shader can be arbitrary logic, rather than just painting it with a solid color or even a texture, it is running its own simulation that involves drawing an entire scene.

----

[1] More these days with Geometry shaders, but that's another topic

[2] Sometimes called a pixel shader, although really that's incorrect - Fragment is a more accurate term
> Comments cost essentially nothing to add to your code and can save it from an early death and complete refactoring by the next guy who comes along.

Whatever their benefits are, this is not true at all. Comments are expensive to write and maintain. They are VERY VERY expensive to maintain because there is no automated way to test them.
Hahah, I so much agree!

I also think you should target for 0 comments in an ideal world. Every time I write a comment I remind myself, can't you really write this in a more obvious way?

But reality is that exercise requires time that you don't always have
They already have a working proof of concept and lots of interest from the Hacker community.

Have you even looked at it? If you don't think that it's innovative, I guess it's something you would invent in your sleep?

Makes me hope they actually succeed, so that I can watch out for your "I could have done that" comment on HN.
Here is a JSON Schema validation failure taken straight out of the Snowplow test suite (pretty printed):

{
"level": "error",
"schema": {
"loadingURI": "#",
"pointer": ""
},
"instance": {
"pointer": ""
},
"domain": "validation",
"keyword": "required",
"message": "object has missing required properties ([\"targetUrl\"])",
"required": [
"targetUrl"
],
"missing": [
"targetUrl"
]
}

You can't seriously prefer a NullPointerException (or choose your poison) three functions later.
They wouldn't win. When going to claim the prize money, the contest runner would see where they are from and likely invalidate the win.
You want a good rule: Write More Comments! Comments are documentation and few programs are ever documented enough.
How To Estimate Cost Of Fixed Price Projects
This is amazing, should bring Docker closer to victory!
SAPUI5 (SAP OpenUI5) Puzzle Overview
Thanks for writing this! I've been trying to understand transformers for quite a while, but this just did it.

I can't wait for the next article!
I wonder where the idea comes from that people that write code that's hard to understand, will write comments that are easy to understand.
I think the pop up's counter is when you save, so if you have the habit of saving very often (as I do), it could be annoying.

But I still find it usable since it's not arbitrary pop up during typing or navigating.
You actually do both. Each measurement induces a probability distribution over the space upon which you bruteforce.

Also not that timing attacks are quadratic in the noise to signal ratio and linear in key length which bruteforce is exponential in keylengths. So that threshold is likely many orders of magnitude smaller than you imagine.
Isn't it for the air and the nice environment to look at around you? What other upsides are you talking about that are negated by the suggestion?
When I code outside it's on my Air, on my local copy of some project/repo. Get a good bag so you can take your kit anywhere. I love my Freitag for this purpose.
It's annoying that it takes a bit of digging to find out the actual price.

(Yes, I realize it's only several clicks, but frankly I feel a lot better about handing over my money to a company that clearly displays their pricing)
Completely agree :) In some cases I prefer to wrap it in an aptly named function, but in other cases I prefer the whole algorithm to be in a single function, making comments a very useful tool for "naming".
You are right. I remember more details now. The problem occurs when you want to make regulated DC from a lower voltage DC supply. Step-down is easy.

For example, my battery is 12V, but my laptop needs 19V. AFAIK, you can't get regulated 19V supply from the 12v battery without a transformer (or maybe something equivalent).
Show HN: Sinatra App Generator
Here's a link to the actual press release: https://owncloud.com/get-public-cloud-flexibility-files-self...

The link in the OP doesn't actually mention v7 being released at all.
I am a bit floored because it sounds like a thing I have been thinking about (floored because with your credentials, you are much more likely to succeed than I am :-) ).

I would have called it LikeCoin. My starting point is that likes have some value. A baker might give you some bread in exchange for a Facebook like. However, that would only work once or twice - the more you spend it, the more it loses in value. On the other hand, the more followers you have, the more valuable your likes are.

I just thought that could be modeled into a coin without the dreaded "double spending" risk - double spending would be no problem, because everybody could create as many "coins" as they want anyway. But they would have to worry about inflation if they create too many coins...
In most circumstances I am all for attorney-client privilege. But if you are in jail or prison and provided a medium to communicate to the outside world and that medium requires you to accept a consent to monitoring agreement before each use, then you should have no expectation of privacy regardless of whom the communication is with. The prison system has proper ways to initiate secure attorney-client communication and these people failed to use it, that’s their problem. However, I do think the law needs to be updated to allow for secure email communication between the attorney and client, but until that occurs they need to live within the confines of the law.
Linkbait title. Rolls eyes yet again.
> and still US is better place than anywhere on the earth.

Not really, this is a clear case of American Exceptionalism if unintentional.

I'd take Germany, Iceland, Sweden, Switzerland or the Netherlands over living in the US if I had the choice.
As an Orchard customer, I'm really happy about this. Orchard is a cool service, but their customer service is pretty amateuristic. I think they have all the potential of upping their game given sufficient resources (which I assume they are now getting). If Orchard becomes the go-to "just dump them containers in our cloud" solution for Docker, then great times are ahead!

EDIT: oh fuck, they're shutting down? damn, that's shitty. Also the link from the docker.com blog post to https://www.orchardup.com/blog/orchard-is-joining-docker is broken, and no info at all on https://www.orchardup.com/blog. Typical.
How often is recursion used in everyday, imperative-style code? Do stack limits make it impractical to use?
" ...thus they (comments) tend to diverge from actual implementation."

In my experience comments are no more likely to diverge than tests are. With tests you have the advantage that they must compile. With comments you have the advantage that they are inline/interspersed with your code and so get read every time the code is read.

"It happens, you update/refactor code, and forget to update the comments."

So then the next developer to read that part of the code notices that the comment doesn't make sense, or is not well written, and they update it. No different than if they notice poorly named/misleading functions or variable names or a dozen other code smells. No big deal and certainly not a good case for commenting less.
I bet most people don't even know what they are "buying", but they all wanna get richer quick.
Agree perfectly. "Your code should be self-documenting" is one of the memes that give you an excuse for being lazy. While true in the ideal case, very few programmers are able to (or even in a domain where it is possible to) write code that documents itself.
I doubt it was constraints that made Facebook become more popular, or any other technical reason. It's too bad MySpace isn't what people use anymore. I'd like having all the customization of my home page on Facebook.
No, I meant --follow=name because the default is descriptor.

-f is short for --follow=descriptor
Currently I live at rented room on roof top of a residential building. Temperature of my city(Bangalore) is around 22 degree centigrade(http://en.wikipedia.org/wiki/Bangalore#Climate), mostly cloudy. I have setup a table with four chair outside on the roof. I find it pleasant to work outside mostly during morning and evening. In day time if its cloudy and little wind, I feel better working outside.

I use macbook and sublime to do my work, light reflection sometimes blurs the text, but it is mostly tricky, I try different position and get it working. It's little difficult to work outside during sunny days.

At times I love the reflection of sky on my screen
http://imgur.com/a/ZhOv2
The real trick is knowing when a new feature adds linear complexity (its own weight only) or geometric complexity (interacts with other features).

This is why so many folks love DSLs. Fully abstract and get your geometric features out early; test them and make them flexible without having to re-code anything.
And from 6 years ago:

https://news.ycombinator.com/item?id=193112

with the more descriptive title How to repair a 230KV, 10 mile long coaxial power cable. Talk of cable size in the power inverter contest post reminded me of this.
I am not a US citizen and live currently in EU.

Europe is not big on the whole freedom of speech stuff.
>it stops being possible to have a true before/after relationship between individual log entries.

Timestamps solve this easily. Synchronizing the time between machines isn't hard
Like

(<+>) :: Monoid m => m -> m -> m
(^?) :: s -> Getting (First a) s a -> Maybe a

As a Haskell beginner I didn't find it to be a particularly self-documenting language. Between the use of custom operators and point-free style you can write a lot of code without naming anything to give a hint about what you're doing.
Soylent's Secret Ingredient Isn't People–It's Excuses
What does the "law of one price" have to do with it? I don't think that law would be broken, since everybody's "coin" has a different value. So things could still have just one price.
Forgive my ignorance, but why and how would you test a comment? They don't do anything, there is no instruction for the machine to understand or run.
Internationality of bill comes from it's usefulness for savings. So 100$ is international, and 1$ is not
re.curse v. To curse again.
How I Got The UK Government To Adopt ODF
I talked to a relative who is a lawyer and was told that court cases are not dramatic as seen on TV. Both the prosecutor and defense side have access to all documents and have ample time to prepare their arguments. There are no surprises in court (if there is either side can ask for more time to prepare based on new info).

So knowing strategies doesn't really help, because you kind of already know the strategy and have prepared your response.

Now - if you are guilty, and you tell your lawyer where you buried the bodies and the police happen to let a cadavar dog lose in that general location ...

However, I agree with the first poster - there should be an official secure channel for communicating with counsel after you are convicted.