HNHacker News
TopNewBestAskShowJobs

potatosareok

198 karma · joined May 19, 2014

submissionscomments
potatosareok··on Show HN: Ghostnote – Contextual notes and todo app
Hi,

It says available on mac store at the very top. The buy link redirects to the mac store. If those aren't clue enough, I doubt anything but 72point font size might get through to you.

Who is this rant aimed at anyway? The developer? S/he's perfectly within rights to make it for whatever platform they want.

Mac users in general? I think you could take some of your own advice from 23 days ago, "Never let the truth get in the way of a good story."

potatosareok··on Warn HN: Elance clients are stealing code from GitHub
Hey, sorry about that comment, I went off on a bit of a rant and wasn't even really responding to things you actually put in your comment.

Anyway, hopefully your PSA helps some other programmer consider the consequences of open sourcing their code.

potatosareok··on Warn HN: Elance clients are stealing code from GitHub
This is probably not the place for me to go off on tangent, but why are you getting upset? Do you think he can finish this project on elance for $500 dollar? How is this going to affect you?

He is scummy guy. Ok. Agreed. But like eru said, you make your code available under MIT license. You can't have it both way of putting your code under a license like that and then complaining when someone uses it in a way you don't like. It seems very hypocritical to me to be angry if he is using your license properly. If I put $100 dollar out to charity and they don't use it in a way I see fit, that is my fault, not theirs.

Worst case scenario he makes someone to finish the app and makes a lot of money off it. And then you have a right to be angry if he violated your license in any way. But also you should think that you are very angry because you had app 90% of way done and someone gets all credit for taking it that last 10%. But then that is your fault for not taking it that last 10% yourself.

I will most likely lose all my 10 hn point for this but I would just drop a note to elance and then forget about this issue. Don't be vindictive about this. You are amazing person and have an amazing day, be more happy :) Good luck on being a doctor, forgot about this guy.

potatosareok··on Java 8: No more loops
Thanks for taking time to reply. Didn't think about having toString use the getters instead of accessing the instances directly. I guess in some way that's the more proper way of doing it in the context of OOP.

I'm familiar with Java private constructors and builders/factory methods though, that was more of a minor nitpick, but again thanks for explaining on that.

potatosareok··on Java 8: No more loops
For some reason seeing your code really bothers me. Is it normal to ever use private variables in inheritance like that?

Say you had toString() in Article class that returned ("%s%" author, title).

Now if you create a MutableArticle on it, ma.toString() will return null unless you override toString on it as well (since Articles variables are private and not inherited).

I don't code much so I don't know is it normal to see code like that?

Also less relevant but Articles constructor should probably be public?

potatosareok··on The laws of shitty dashboards
I was wondering about that too. At my work they extensively use Wily Introscope performance monitoring. It's my first job, so I don't know what other options there are, but Wily seems pretty useful in providing real time and historical data about JVM based applications, as well as other components we use like message queues, time taken by SQL statements, as well as other configurable metrics like process/thread counts, CPU useage, etc.

Wily has dashboards about overall application stats that you can configure, as well as dashboards (?) on a per application level. So I can take a look and see the threads on one JVM are getting stuck and also some SQL statements/service calls are taking longer then expected on that same JVM/overall application. Also useful in dashboards on a per datacenter level to help figure out what's going on.

I'm genuinely curious, because I don't know any better, how do other companies monitor their applications? Anyone else have any comments about Wily monitoring?

potatosareok··on Useful Unix commands for exploring data
What if you want uniq -c? Any simple way to replicate that functionality better then...sort | uniq -c?
potatosareok··on Ask HN: Which is harder Front end or Back end?
I can't see why there would be a consensus best answer for this. People enjoy different things and are better at different things. If you want to get your friend into web development, I'd advise having him work through one of those complete tutorials where you write a bit both sides of a site, and see what he enjoys more. I know there are different languages for back end but I think any good tutorial should do, as the problems you solve on the backend I think are pretty consistent over the different languages.

Some people really like working front-end and doing all types of things to make a page load quickly in all browsers/look good or whatever, and some people like working on the back end and getting it up to 10kqps ro something.

I like back end but that's just my personal taste. Let your friend be good at what he's good at, I think the job market wanting both skills right now if that's the reason your friend is trying to learn web development.

And don't forget the whole world of non-web programming :)

potatosareok··on Google tips off cops after spotting child abuse images in email
Searching for collisions in a corpus of robust hashes seems to me like the post office drug sniffing packages, and people seem to be ok with that. The same way the drug sniff dog won't give away anything other then drug/no drugs (is that how they work? I thought so?), this scheme shouldn't give anything away more then CP/no CP.

At the same time I think that to eliminate CP entirely you need to get rid of some of the freedoms we enjoy. I'm sure you can 100% get rid of CP if you track what everyone is looking at on their computers, but is that a tradeoff you want to make? Even if the filter really only can ever report looking at CP/not looking at CP, would you be comfortable with that running on everything you own?

I could be arguing to a nonsensical extreme, but the NSA tracking all data is following this to some perverted extreme - if we can track EVERYTHING that is going on, and eventually actually make actionable data out of it, we can catch all the criminals/stop crime. But I think we accept the possibility of a bit more crime in exchange for preserving some of our freedoms.

potatosareok··on Rum Deal: America’s booze laws are terrible
I can't speak to this as a subject I've done a lot of research on, but this reminded me of a story I heard on NPR a few years ago. The story argues that taxis actually spend a disproportionate amount of time on the street, relative to other cars, and so have a disproportionately large effect on the overall city congestion. This is because cars drive point-to-point but taxis stay on the street all day. The conclusion drawn is that this increased congestion will actually cost tons of money.

This point is directly opposed to your statement that "Taxis are better optimised resources in urban areas than car-ownership".

I can't argue that either point is right or wrong, but I'd like to know if you had any information I can read supporting your point about taxis being better optimized for cities.

In any case, I just wanted to contribute this story as another data point along the way.

http://www.npr.org/blogs/money/2012/07/31/157477611/does-new...

potatosareok··on Sourcegraph: "A single example is worth 1000 lines of documentation"
Really cool looking site, but I'm not entirely sure how to use it! I went to the site used one of the suggested searches (djano Charfield). A lot of the search results actually brought me to a 404 page (confusing?). Even then, since most of the examples listed were classes, I'm not entirely sure how this relates to "a single example...", as these weren't examples?

At the end of the day I love Javadocs though - I really feel like I get the best understanding from them because of ability to easily browse packages, go up and down inheritance hierarchy, see all implementing classes, and there are typically some good examples in it too.

potatosareok··on Investors must recognize what ‘this time it’s different’ really means
So I was thinking of picking up this book on your recommendation. However, the names seemed vaguely familiar to me already, which reminded me of the scandal where some grad student reran numbers from one of their papers, and found that Reinhart and Rogoff had made basic coding errors in Excel (I think Excel?) running the data (as well as cherrypicking data to some extent). When the data was processed correctly, it actually showed the opposite of what Reinhart and Rogoff had argued for.

Since I obviously don't have time to fact check all the numbers in their book, and they have a demonstrated history of biased results, I think in the end I'll pass on the book. Just my 2 cents.

← PreviousPage 3 of 3