skysight-inc/HackerNews huggingface dataset:
Ask HN: Mac app to automatically upload a screenshot?
Hello HN,

I'm only asking this after searching for this for a few months now without finding a suitable software for this simple task, I even considered writing something myself but haven't had the time for that yet and I'd have to script something. I'm not familiar with Objective-C.

What i'm looking for is a simple app which will upload screenshots created with the default Mac OS shortcuts (ctrl + shift + {3,4}) to my own server and copying the link to my clipboard if the upload was successful. That's it.

Apps that I tested but don't fit my needs:
- http://www.getcloudapp.com/ > not self hosted

- http://www.capturedapp.com/ > no public key auth, short URLs

- https://web.archive.org/web/20101210225932/http://mikeable.com/apps/ > The one I'm using for a few years now, no public key auth, abandoned, no sftp.

The most promising one:

- http://fileshuttle.io/ > Missing public key auth, short URLs, slow developement. Best case scenario: Fork adding these features

I'm searching for a tool with the following requirements:

- simple and lightweight

- retina ready

- using the default Mac OS screenshot shortcuts

- Moving screenshots from the default location (Desktop) to a specified directory or deleting them after a successful upload

- sftp / scp upload using public keys in ~/.ssh

- uploading to my own server, no third party service

- (optional) menu bar icon with a history of the last 5 screenshot links for easy access

- editing features are not needed

- Direct link in clipboard (https://example.com/2014-2348-2342-2342.png)

- A long/not easy to guess and unique filename.

Thanks for any recommendations, I'm happy to pay for an app if it fits my needs.
This is a nit-pick really, but I'd like to see it organize on first run rather than on first download. Unfortunately for me disk I/O can be a bottleneck on this old machine. It slowed down a rather large download while it shuffled things around and unpacked them.
TL;DR: This guy thinks that because people don't have to know math to do it; programming is not math. He points towards specifically "easy to use" high level purpose specific languages as proof. He makes somewhat of a point in that math is becoming less important, and "developer" is versatile enough for space for non-maths-guys.

But given that reality is better understood with maths, and understanding is essential for building upon/extending, you are better off with maths. Unless someone else did or does the maths for you, in which case you're not doing anything too special.[1]

"working out for them, if the fleets of Teslas on 280 are any indication."

Tesla's, build by a man with excellent thick and heavy education. Using mostly mathematical engineering.

"If you took a dynamic methods class in school, you know that big-O notation is pretty much meaningless in the real world. "

Whoop whoop here comes a guy that never works with big N.

"An algorithm that is O(n2) for arbitrary data may actually be constant time (meaning O(1)) on your particular data, and thus faster than an algorithm that is O(nlogn) no matter what data you give it."

Yep. That's not really a magical realization. In fact, if you paid attention in school it was all very well explained (hopefully). We call it typical or worst case, typical being over "averaged" data.

"Indeed, programming is often concerned with logic. [interrupted]"
Golly, did you know maths and logic are both internally coherent truth systems? That that makes them inherently similar and extending into eachother? Principia Mathematica stuff.
"[cont] But the same logical concepts are embedded in our human languages.""
Oh man

"Math is just a formalization of the concepts we use every day when we construct sentences and communicate with other humans."
Nope. In fact, this sentence is so ambiguous I cannot reason directly and meaningfully against it. Concepts, like "your mom", are in fact unformalizations of maths. Huh? Nouns are numbers? Or relationships? I think he just means "there is relationships and they make sense, just like in language".

"The best writers and speakers understand that, and can construct logical statements in human language that are easy for other people to evaluate. Sometimes they even change people’s minds about things."

Believe me, logical is not the most important thing. In fact, it's one of the least important things.

[1] - nope, most people that make money do it with something understandable and useful. Rarely something special. After all; if everyone can buy it, is it really still special?
Ask HN: Compiler testing: Do you know of any automatic test-case generator?
I am working on writing testcases for a new compiler that we are developing. (The compiler is not for C/C++). I would like to use a tool to automate this process...since most of the basic testing is about syntax and typos.

Do you know any tool (free or paid) that automatically generates these tests when told how the syntax looks like (say using BNF format)
I'm not convinced that it's a choice between innovation in connectivity and innovation in startups. I think, in particular, the connectivity innovation is unlikely to happen. The current monopolies offer _terrible_ connectivity (as compared to most other developed countries). Preserving that status quo is not going to do anything to help that. Allowing for "fast lane" connectivity will, in the best case, provide acceptable connection speed for a small number of services. In the worst case, they will offer current speeds and just degrade the slow lane. Because monopoly.
> You have virtually NO consumer protection with a debit card. Once the money is gone, it is gone.

Only if it's a card-present debit transaction (i.e., you entered a PIN). If you use your debit card and don't enter a PIN, it's automatically run as a credit card, and you have the same protections.
This is the classic lights out right? http://en.wikipedia.org/wiki/Lights_Out_(game)
Kotlin's for building large software systems using the tightly-integrated IntelliJ plugin, both from Jetbrains. It was built with that use case firmly in mind, and even had contributions from James Strachan (Groovy's creator) and Alex Tkachman (creator of Groovy 2.0's, ummm..., inspiration Groovy++).

Groovy's for gluing together Java and JVM apps, testing Java objects, scripting for Grails, 20-line Gradle build scripts, and what not, anything that doesn't scale.
One browser is not enough. Image formats have massive network effects — people want to share, save and remix images. You need support the format in image viewers, editors, file browsers, mobile apps, websites.

As an exercise, try having your avatar only in the WebP format and see how useful it'll be.
There are a lot of places that cannot or will not, and might never support, BYOD.

In those areas, and many other corporate enterprise areas, Apple is on is already on its way out, specifically because they never really integrated or put any special effort on integrating with the existing corporate infrastructure.

Meanwhile, Microsoft has used this time that Apple squandered to finally catch up for the most part.

A lot of large corporations gave Apple a chance 5 years ago and nothing ever really came of it. They will not be getting another chance any time soon.
I think a lot of statisticians and machine learners remain to be convinced that's there's much payoff available from trying to do efficient statistical inference in such a general setting. As the article warns, it's inherently really hard in its full generality, and I don't think anyone expects a silver bullet. It seems likely that the most general probabilistic programming tools will be strongest on:

* Problems with few parameters and/or few data (I was going to say toy problems, but there are sometimes important and interesting problems of this nature)

* Problems where the generative model is so complicated that you have no hope of doing any better than this and turn to it as a last resort. A bit like in combinatorial optimisation where you just say "gah, let's throw it at a SAT solver!".

(Perhaps that's not a bad analogy actually. If they can get to the point where SAT solvers are now, that would actually not be a bad proposition.)

* In particular, problems where the generative model is complicated but the complicated part of it is largely deterministic -- perhaps some kind of non-linear inverse problem where there's some simple additive observation noise tacked onto the end, for example.

What I do fear about, is the suggestion that people can just start building fiendishly complicated hierarchical Bayesian models using these things and get valid, useful, robust, interpretable inferences from them without much in the way of statistical training. I suspect even a lot of statisticians would be a bit scared of this sort of thing. Make sure you really read up on things like model checking and sensitivity analysis, that you know something about the trade-offs of different model structures and priors etc. And that's before you start to worry about the frequentist properties and failure cases of any approximate inference procedure which is magically derived for you.

Statisticians tend to favour simpler parsimonious models, not only for computational convenience but because it's easier to reason about them, understand and check their assumptions, understand their failure cases and so on.

I wish these guys lots of luck though, it is a really interesting area and the computer scientist in me really wants them to succeed!
Doesn't work on Chromium in Debian Jessie either
IBM has always represented itself as a serious company for serious, boring grown-ups. Presumably that extends to taking security seriously as well.
I think part of the problem is that it takes several different types of programs working together to make things right. "Hire-a-felon" isn't going to work by itself for people like Nate because he is most likely not a very clean person (sleeping in an alley and wearing shoes you found in the street makes it hard to stay "presentable"), probably doesn't have a reliable way to get to work, and doesn't have anything he can do with his pay after. Even if he remained sleeping in alleys, in order to really have a job, Nate also needs access to a clean set of clothes, a place to shower, a place to keep his money, an alarm clock (so he doesn't get fired for being late), etc.

As the author points out in the comments, even though Nate is a vet, he is not really in a position to get the help he needs because he can't really jump through the hoops they require. This is sad. We should be looking at low barrier ways to get the assistance to those that deserve it.
great to hear, thanks for trying it out.

we've been considering adding flights as a feature, what would be the easiest way to enter your destination: flight#, airport code?
I don't think it's pedantic at all. In fact there's another mistake in that same sentence: the "dangerous" solar protons aren't from the solar wind, but irregular events like CMEs and solar flares. The solar wind protons are too low in energy (1-10 keV) to have any penetrating ability, either in the atmosphere or in crewed spaceships.

https://en.wikipedia.org/wiki/Solar_wind

https://en.wikipedia.org/wiki/Solar_proton_event

Here's a comparison of proton sources in one chart:

http://ocw.mit.edu/courses/nuclear-engineering/22-01-introdu...

(disclaimer: not my field)
Not affiliated in any way, just saw this on Twitter and thought it was pretty awesome.
> Those are two very different things. And most of those R&D shops are attached to companies capable of doing something with the research.

They're often similarly positioned vis-à-vis the patent system. E.g. even with patent protection, SRI got a pretty short end of the stick relative to Apple despite doing much of the real innovation behind Siri.

> If you're looking to come up with ideas and make money from them, as opposed to publishing them for general benefit, academia is the wrong place to do that.

Maybe there would be more innovation if that weren't the case. In any case, I find it hard to fault universities for deciding they don't want to do free R&D for industry.

You probably disagree with this, but the platonic ideal of the patent system, for many contemporary proponents, is enabling a world where everyone who participates in the incremental process of innovation can get compensated for their contribution, instead of a windfall going to whoever takes the last step, or more typically, takes a proven idea and throws UX engineers and a big sales team at it.
It looks like tilt constantly appends ?s in order to resubmit articles:

https://news.ycombinator.com/submitted?id=tilt
Google's own marketing materials claim 25-33% improvement at the same quality, so 5x improvement suggests they didn't compare apples to apples.

Comparing formats in a fair way is hard. "Looks almost the same" is a common fallacy — small change in quality can have dramatic change in file size, e.g. JPEG 80 and JPEG 90 look almost the same, but one is 2x larger than the other!

For example lossy WebP doesn't support full color resolution, but JPEG by default does. If you don't correct for that you're telling JPEG to save 4x as much color, and the difference is usually imperceptible, because that's the whole point of chroma subsampling.
You may also want to check out the sibling project https://github.com/google/openrtb-doubleclick (relevant for Adx bidders, using OpenRTB or not).
100% agree with this. Anecdotally, I know a lot of people who would be great at programming but they'd never consider it because of their pre-conceived notion that they'd have to be good at math first.

I've never been particularly good at math, and learned enough to get by in my CS theory classes. I hardly ever use math to program, unless the problem is specifically math-based or geometry-based. To me, programming is communication and organization.
This is a useful article to show people who are deterred from learning programming because they think they're bad at maths.
http://www.zdnet.com/au/senate-calls-for-release-of-aec-vote...

http://www.brisbanetimes.com.au/it-pro/government-it/vexatio...
He's right. 'Nuff said, a lot of the comments here come from people who seriously think socialization = free and better, but never have anything to say about the economic side effects of "net neutrality" which has never existed anyway.

"I hate this debate. It's mostly politics and buzzwords with 0 cost/benefit analysis. Google already buys last mile access and if people keep acting like profits don't already come from customer choice they're going to end up with slow socialized internet and you'll never see 4k video. Net neutrality helps competition... In what world? That's like saying public schools increase competition in education."
Disintegration! into pieces spread around gmail, drive and YT. That's probably what'll happen :)
Surge pricing is nothing new. You already pay a big price in time and money (lower fuel economy) when you choose to drive during rush hour.
Can you elaborate?

I write LiveScript and never had a problem with this.

I prefer lesser symbols on screen.

On the other hand, LS has syntactically significant whitespace which lets you indent wrapped stuff so the compiler sees that it still belongs to the previous command, in many cases.
NetSurf is an open source web browser which has its own layout engine
I absolutely don't need to commercialize it to keep it running. In fact, commercialization would come with an entire set of issues (and cost factors) of its own.

I have a solid track record of running non-commercial services :)
I bought a used Xbox 360E, which is a really nice console, for $140AUD in almost unused condition. I felt that while there are stacks of games that are coming out that I want to play (Titanfall!) the simple fact is most of those games are also released on the 360. So, I saved hundreds of dollars for an experience that is good enough for me. I'll buy an Xbox One in 12 months time, when the price has come down and a games library has built up for it.
Data Visualization and D3.js Newsletter – Issue 87
> Well, bmp has no alpha channel

BMP have formats which support 1-bit and 8-bit alpha channels http://en.wikipedia.org/wiki/BMP_file_format. Just open any file in Photoshop and save as BMP then click advanced. Not sure of browser support.
I chatted with one of the drivers. He said that he was an independent contractor, and he only got paid when he was actually doing deliveries.

So, sadly, this might be a case where un/underemployed people are keen to make whatever money they can.

I'd love to see a driver chime in on this thread.
Has there really been that much actual progress made lately, though?

I'd say that C++, Erlang and perhaps Haskell are the most recent languages to bring anything new to the table in a way that's at least somewhat usable in practice. And they're decades old at this point.

C++ helped make OO and generic programming feasible. Erlang helped with developing concurrent, distributed, fault-tolerant software. Haskell brought pure functional programming and laziness to a wider audience.

Otherwise, the widely-hyped languages of today, including Scala, Ruby, JavaScript, Go, Rust and even Kotlin generally just rehash what C++, Erlang, Haskell and other languages offered several decades ago.

Some of those languages, like JavaScript and even Go, are arguably worse in many ways than languages developed in the 1980s or way earlier.

At best, we're seeing small, incremental improvements. More realistically, we're just seeing old ideas rehashed again and again, with minor syntactic differences. Thus we aren't really seeing real "experimentation", and we aren't witnessing much "progress".
Book: How to Solve It
I don't see it from the clip...

data class Customer(val name: String, val email: String)

fun main(args: Array<String>){
val customer = Customer("John Smith", "john.smith@somewhere.com")
println(customer)
println("Hello Kotlin")
}

A "data" keyword, "val" and "fun" instead of "def", types postfixed with a colon after the identifier, no "new" keyword for initialization.
The problem is that these kinds of car services depend on a supply of people who have cars to "crowd source" to. Notably, if there's a shortage of people in the area able and willing to drive, the price will reflect the supply.

The real car-free solution involves changing cities and public transportation infrastructure to reduce dependency on single-occupant vehicles.
That's a great point. I was thinking about adding a 'view source' on each script's show page.
I think you're likely right: the two worst answers (lock out implementors we don't like, and let's harvest your data while we're at it) are the most likely candidates.

As I've said elsewhere on this thread, I hope this dies, and it's yet another nail in the coffin for Google's once-deserved reputation for supporting open ecosystems.
Even worse, any businesses or places you review on Google Maps are publicly visible under your G+ account. So an internet stalker can know exactly where you have been, what kind of establishments you visit (e.g gay bars, daycare) and approximately when.
Does that mean new ideas provide no value?

Also, all modern patent systems are intrinsically based on this reality, to the extent that we have a problem with maintaining a high bar on obviousness. Today, patentability is based on how much an invention differs from the prior art, which is based on the premise that all new innovations are built on top of previous ones but we still want to reward "worthy" inventions. Unfortunately, obviousness is so hard to quantify without subjectiveness and hindsight bias that the commonly adopted objective measure of "worth", is the delta from the prior art. You find a delta the examiner cannot refute with prior art, you get a patent.
Doesn't work for me. I'm clicking the blue square and nothing happens. Chrome 37
What Does A Product Manager Do?
... and which can be used only by group members, under RAND-RF terms. It is not an open protocol.
How Sequoia Capital will find its next billion dollar company
The article says "Lebanon is about 2 yards or 2 meters wide (left to right, from this angle)", Lebanon being the largest meteorite (the other one is called Lebanon B).
As far as I can tell it's not a law, just something that could make you suspicious. Which is still ridiculous but not a crime.
I've never found any one particular USB-Serial Adapter to be any more reliable with the FTDI drivers on the Mac. Currently using the Tripp Lite Keyspan, Model USA-49WG, SKU CU8037. Appears on the USB chain as: Product ID: 0x0131, Vendor ID: 0x06CD.

I carry a Dell Laptop when going to customer sites+Putty for consoling into Cisco Routers because I've never found a Serial Cable/USB combination that doesn't cause the Macbook air to Kernel Panic.

I'll give the PL-2303 based device a chance - I see there is a nice comparison site here:

http://www.usconverters.com/index.php?main_page=page&id=60

I'll definitely try the Trendnet TU-S9. Here's hoping 4 years of weekly hell on my mac laptop comes to an end...
> We as a society need to first trust a large entity

That's just not going to happen. Large entities are run by people who are inherently trustworthy. This is why there's a need for privacy. I don't want to be judged on my heart rate, physical ailments, preferred music, or any of the million other items you'd like to be public. I don't think you have any idea what harm revealing such information might cause. Say I'm gay and living in some backwards town in the south. Would I want my neighbors to find out so they can tie me up to a pickup truck and drag me to death? This is just one of infinite possibilities for harm resulting in all data being accessible. Your proposal is absolutely ludicrous.
It's not that this is necessarily a hot debate, in fact I've seen little intelligence regarding what it means. It's that the internet is a bitch. It is of no convenience for "interneters" to click a "Sign this petition" button that promises what somebody somewhere naively calls "fair internet". ..."I like fair!"

In the past these internet movements have gone is a direction that is more about individual freedoms, but like Occupy Wall Street, what it has to say about Net Neutrality is dead wrong, and I say that because the whole thing is based on buzzwords and ignorance.
Indeed, it's like a recruiter asking me to email them my resume in Word format ... for a role working with an almost entirely Free Software stack. Clueless on so many levels, and a great big warning sign.
That's only a UI issue. You don't need compression to be horribly inefficient to achieve that :)

For example <img src=vid.mp4> could autoplay looped video without audio, just like GIF, except using tiny fraction of bandwidth and CPU (thanks to HW acceleration) than GIF.
The Electoral Commission has since refused to comply with the Senate order to release the source code: http://lee-rhiannon.greensmps.org.au/sites/default/files/ron...
Well, that's true; it depends on how complex your protocol is and how often you change it. Simplicity is good!

But this can be tricky for large, distributed projects, where the author of a class might not even be aware that it's used with GWT.