HNHacker News
TopNewBestAskShowJobs

davvolun

271 karma · joined May 9, 2013

submissionscomments
davvolun··on The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
Hmm...except that I would guess search should do one thing well -- searching. Which, incidentally, using --name-only and/or regex, it does.
davvolun··on “I was sued for sounding like myself”
If I were sued and the expected costs of litigation were $1.35M, 'successfully' and 'unsuccessfully' would be purely academic -- I would never be able to afford to get to that point!
davvolun··on Microsoft Open-Sources Git Credential Manager for Mac and Linux
http://www.funtoo.org/Keychain
davvolun··on Tmux Resurrect – Persists tmux environment across system restarts
Been using tmux resurrect for awhile now and I love it...one thing occurs to me though: does anyone have a hack to automatically save my tmux session on disconnect?

Edit: ahha, not exactly what I asked for, but linked on the tmux-resurrect page is tmux-continuum, automatic saving of tmux sessions. Perfect for me.

davvolun··on A Simple Proof That Pi Is Irrational
Note: Not a mathematician, by any means

I'm not a fan of how the proof is explained, specifically why are we doing x or y.

I would prefer this --

Let pi be a rational number thus ( * by the definition of rational numbers) pi = a/b, the quotient of positive integers. We will show no such a and b can exist, therefore pi cannot be rational.

( * is not completely necessary, since the definition of rationals is so elementary)

<Next Paragraph, and so on>

I suspect a lot of mathematicians prefer the format given because it is more obtuse...

davvolun··on Git from the Bottom Up (2009) [pdf]
> as a belt to sport with one's lederhosen

That sounds to my American ears like the most German thing I've ever heard.

davvolun··on Evading all web-application firewalls XSS filters [pdf]
The title sounds misleading to me; this paper is about evading the set of WAFs which may include the universal set at this point in time, and further only including specific versions and rulesets of those WAFs. I don't know...the title made me think "well, then why bother using a WAF at all?", the paper actually implies that I should use a WAF as one line of defense, but I don't think anyone ever got the warm fuzzies thinking their app was fully protected behind a WAF.

If the game is to survive the bear, I don't have to out-run the bear, I need to out-run you. A WAF is a nice pair of sneakers against your flip flops--doesn't help me much if my legs are broken.

davvolun··on The Hardest Program I've Ever Written
So you're arguing we should continue arguing about code formatting, esp. during a code review?

I disagree with the comparison, but go ahead with it, what's your point?

davvolun··on KeyChair: Extract RSA private keys out of .keychain files
Can we get the title updated to say '...keys out of OS X .keychain files', something like that? I feel like there's enough different keychain programs out there, it seemed confusing to me.
davvolun··on Easy parallel Python with concurrent.futures
> If you wanted extreme performance Python is a lousy choice in the first place.

Agreed; assuming the problem is "we need blazing performance here," I don't think you should choose Python.

However, that doesn't preclude looking at improving performance. E.g. I have a python process that takes 10 minutes to run. If I rewrite it into pure C, I can get it down to less than a second, but if I (minimally) rewrite it to take advantage of concurrency, I can get it down to two minutes, I see that as potentially worth it. As in, I need to run this process 7 or 8 times a days, the hypothetical concurrent Python makes a lot of sense. If I need it to run 1000 times an hour though...

I see where you're coming from but I don't think parallel python is an oxymoron, I see it more as the old range() vs. xrange() issue. It's been awhile, but as I recall, there is no reason to ever use range(), but if I see it in someone's code, I'm not going to start freaking out. Similarly, I think rewriting a Python 'subroutine' to something faster when the optimization is found to be necessary is well-covered ground, and is incidentally more essential than parallel python, but I see value here.

I guess I can summarize my position to considering better performance (parallel python) versus extreme performance...

davvolun··on Silicon Valley Isn't Run by Straight White American-Born Men
> A lot of people...believe that everything is the result of class problems

As someone who kind of feels all of the problems we have tend to come from class issues, I'm trying to understand what you mean.

First, let me preface, this is all my personal opinion, I don't know if I fit into a stereotypical group you're referring to...probably do...

> And class problems are completely independent of race.

Second, class problems definitely do not seem to be independent of race; racial distinctions in the inner-city for example.

That said, I do think there are equity issues completely unrelated to race. For example, in the American South, there are extremely poor areas of whites ("poor white trash"). Or, for example issues of ethnicity instead of issues of race--injustices in the past for "white" Irish or Catholics i.e. non-WASPs in America.

That said, I don't think my belief that all of these problems resulting from class problems precludes tackling all of the angles of the problem. For example, though I have some reservations about Affirmative Action legislation, encouraging e.g. diversification of student populations through AA is laudable and worth pursuing.

Another example, in a hypothetical major city composed 25% of some minority X, a company employing say 10% of the local population should reflect that population; we should see the employee population roughly match the city's population. Implementation can be difficult, obviously ("oh that guy was just hired to check the diversity box, ignore him"), but equity, providing opportunities for life improvement to everyone, is something we as a society absolutely need to pursue.

I guess what I'm saying is that I believe everything is the result of class problems, class problems being what always cause opportunity inequalities, but class problems are often dependent, though not completely, on race. Does that make sense? Do you feel like I'm way off base here?

(Quick aside, I think of the problem more as income and opportunity problems -- class problems and the rhetoric of bourgeois v. proletariat gets us side-tracked on capitalism v. communism/socialism, in my opinion a discussional red herring)

davvolun··on Taiwan is right to ban iPads for kids
I don't know what I was thinking, but I read 'In the Court of the Crimson King' and thought that was probably both really cool and maybe not the best thing ever. As it is, I think it's just the former. :)
davvolun··on Obama and Rand Paul Face Off Over the Patriot Act
- he's against treating addicts like criminals - he's in favor of significantly reducing the incarceration rate in the US. - he's against the police state, the militarization of police, and the surveillance state. - He's against the vast government...

Towards all of these points, at least, I don't know that they show he is clearly anything. I would guess you would be hard-pressed to find the politician who says they are against reducing the incarceration rate in the US.

davvolun··on Obama and Rand Paul Face Off Over the Patriot Act
Keep in mind Nazi was short for National Socialist German Worker's Party -- so what's in a name?

Does the Democratic party espouse that we should recreate the US government as a democracy instead of a republic?

davvolun··on No more JavaScript frameworks
> The problem is that now you have two systems to learn, HTML+CSS+JS, and the framework

Besides that there are 4 things listed there, not to mention how each interacts with the other, this is not a problem. If you shy at learning an additional thing, you should get out now.

That's not to say you shouldn't strive to reduce complexity and dependencies, that's a laudable and useful goal. But it's my personal opinion that every programmer out there should know at least a handful of languages, concepts, paradigms or frameworks that they don't like or have no use for--it's the same basis of learning more from failure than success.

That being said, I sincerely disagree with the assertion of the article, if on nothing more than the abstraction argument. The abstractions of jQuery have saved me so much time over the years with systems that work great in the latest and greatest browser, and work well enough, possibly with minor tweaks, in older browsers. Rewriting browser detection junk and making sure each control mostly works independent of browser and engine would be a much larger waste of my time than learning three or four js frameworks.

davvolun··on Space Tourism Isn’t Frivolous, or Impossible
"Sacrificed" seems a little hyperbolic, considering no one is forcing anyone to take these jobs. Compare e.g. crab fishing: http://en.wikipedia.org/wiki/Alaskan_king_crab_fishing#Dange...
davvolun··on Space Tourism Isn’t Frivolous, or Impossible
It's already been noted but:

> A year after entering commercial service the Comets began suffering problems, with three of them breaking up during mid-flight in well-publicised accidents. This was later found to be due to catastrophic metal fatigue in the airframes, not well understood at the time. The Comet was withdrawn from service and extensively tested to discover the cause; the first incident had been incorrectly blamed on adverse weather. Design flaws, including dangerous stresses at the corners of the square windows and installation methodology, were ultimately identified. As a result, the Comet was extensively redesigned with oval windows, structural reinforcement and other changes. Rival manufacturers meanwhile heeded the lessons learned from the Comet while developing their own aircraft. [http://en.wikipedia.org/wiki/De_Havilland_Comet]

Perhaps (nautical) ships had round windows, but it was for an entirely different reason, and clearly some planes used square windows and found out a good reason not to use square windows.

davvolun··on Why It Took 23 Yrs to Link Amelia Earhart’s Disappearance to This Scrap of Metal
To be completely fair, a list such as insulating foam peeling off and striking the wing (http://en.wikipedia.org/wiki/Space_Shuttle_Columbia#Final_mi...) or a random bird striking a plane and causing a failure (http://en.wikipedia.org/wiki/Bird_strike#Incidents)? I'm not saying it happened, or even that it's likely, I'm saying stranger things have happened.
davvolun··on Why I can't have conversations using Twitter
Wow, you really, really nitpicked OPs argument and completely ignored things to make your point. The comment was "you're either using the wrong medium or thinking too far". Assuming the false dichotomy here (notably, of a quick comment on HN...), maybe, just maybe, it's not that people who can't fully express their thoughts in around 300 characters are thinking too far, maybe it's the other part -- that they're using the wrong medium?

The only portion of OPs comment I can find to "describe the benefits of terseness" would be the last paragraph. If I shorten that paragraph to the last two sentences, it fits in a tweet.

davvolun··on PostgreSQL is more popular than MySQL
It's not a deal-breaker per se, but I need someone to explain to me why, at this point in history, you need to make a choice, at some level, between relational integrity and full text indexing (InnoDB vs MyISAM)?
davvolun··on The mystery of the disappearing Silk Road murder charges
Fair enough, I always go back to something a high school teacher mentioned when these types of arguments come up. Martin Luther King Jr. broke the law to make a point, to fight injustice, to "stick it to the man." But MLK unequivocally and publicly broke those laws; he made the statement 'these are unjust laws and they need to be changed' and suffered the punishment for breaking those laws, as determined by a court of law, mitigated by public outcry. Illegally copying and selling movies because you think copyright law is bullshit, as an example, is not living up to MLK's method, it's having your cake and eating it too. You think a law is unjust, fight the law, don't break it and try to get away with it. That makes you, at best, little better than those in organized crime. And, at the end of the day, if you've made tons of money off of the crime, and you stand to make more if the law is repealed, it really waters down your moral/ethical argument.
davvolun··on Writing C in Cython
I don't see where this is premature optimization. You, and the author, clearly know a lot about the field and the nature of the problem, so you're already past the 'premature' portion. If I know from the start that I've got a function that will be called 10,000 times per second, there's no reason I should write the un-optimized version first. That's like starting every sort off with a bubble sort; I don't need to optimize to quick sort switching off to insertion as appropriate from the beginning of coding, but I know I can do better than bubble from the get-go.

Defining "premature optimization" as the less hyperbolic "optimization before we know we need it," I think it's clear that the problem you've written shows you already know you need it!

davvolun··on Strategies to quickly become productive in an unfamiliar codebase
Wow, I'm lucky to get 8 hours on a new code base before I have to ship a bugfix. << spotted your problem. If you're constantly working in completely unfamiliar code with at best an 8 hour lead time to get a fix in, you're being setup for failure. Yeah, sometimes you have to just get a fix fast, but spending your whole life coding like that is going to burn you out. I only have my own anecdotal evidence to go by, but I'm inclined to think your experience is not the only way.
davvolun··on EFF Dismayed by House's Gutted USA Freedom Act
You have sort of a logical fallacy there. You're presuming that people assume "if (bloodshed) then (reform)" but I think what is generally assumed is "if not(bloodshed) then not(reform)". Using boolean algebra, let p be (bloodshed) and q be (reform), then what is assumed is !p -> !q which (and it's been a little while since my boolean algebra classes) would be identical to q -> p, i.e. the inverse of what you said, reform implies that there was bloodshed or rather that reform cannot happen without bloodshed. In that light, I think how many people naively supposing that reform can only come from bloodshed is pretty surprising. However, it seems to be the case that the threat of bloodshed tends to be a strong motivator for action; however, the action is not always what's desired. What is viewed as an external threat (e.g. Oklahoma City Bombing, McVeigh et al are viewed as dangerous extremists not "America's own sons") and thus reaction to their wishes--apparently that the US move away from a dominant federal government--was largely in the reverse; whether by their actions or others, the federal government since 1995 has probably gotten considerably more powerful.
davvolun··on Dear Internet: Let’s Demo The Slow Lane
Are you arguing that no one saw and thus there was no impact when Wikipedia ran the anti-SOPA blackout?

Further your examples don't make sense. Youtube is owned by Google, which doesn't have a 100% support track record for net-neutrality, but is mostly supportive. Netflix is on the record as completely for net-neutrality -- they are one of the major services cited by ISPs as causing the need for an internet fast lane, which directly impacts Netflix and Netflix consumers (negatively, if that wasn't clear). I don't know about facebook off-hand, but frankly, who cares about facebook's leadership on the web? It would be great for them to join in, the exposure would be great, but I think more people distrust facebook and their support is the internet equivalent of being on the same side of an argument as the KKK.

How about instead of just slowing your sites down arbitrarily you do exactly what wikipedia did -- explain to the user what is going on, and at least force them to click through to the actual, full speed version of your site -- even better, let them see what your site would be like speed-capped and what your site is like now.

davvolun··on OkCupid/IAC Employees Donated Thousands to Anti-Gay Marriage Politicians
Sort of agree...

I've never been to Chic-fil-a because anything I purchase there is presumably having a portion donated to anti-gay legislation. I'm not comfortable with Orson Scott Card's activism (historically, though apparently he's reversed his position to more of a 'ehh, whatever') but I did purchase Shadow Complex. I've never used OKCupid, and if the company itself or major profit holders were donating large sums to anti-gay legislation, I would be comfortable personally boycotting them, as it were, but calling out individuals for their beliefs like this...I feel like it's going too far. As much as I support gay rights, I don't think being unable to get legally married is on the same level as human slavery or women's suffrage...

davvolun··on Google Reader announced its shutdown exactly a year ago
Your closing argument falls pretty flat to me since I ingest Reddit and HN entirely through RSS. The first step is filtering out the junk I don't care about to find the interesting articles, and besides subscribing to sites that are weighted more towards interesting articles than junk (HN, e.g.), RSS allows me to quickly filter out the junk. Then I go to the article and participate in the conversation.
davvolun··on News is bad for you
Yeah, ignorance is bliss, but, while the premise is fundamentally flawed, I'll direct you to Idiocracy about what happens with an uneducated populace.
davvolun··on This Is the MIT Surveillance Video That Undid Aaron Swartz
So stealing three gallons total? I guess I'm not clear here. The idea is that I steal a gallon of milk, am convicted, punished, then three months later steal another gallon, repeat, and the third time (three more months later) I potentially face the three strikes rule, right? (Ignoring that stealing milk probably doesn't trigger the three-strikes rule being non-violent; also the 'three months' is just to suggest "some time has passed since conviction").
davvolun··on Denial-of-service tool targeting Healthcare.gov site discovered
I disagree. The name 'obamacare' began as an attack on the legislation, but the other side has taken over the term as in 'Obama cares', so in some circles it's derogatory, in some it's posiive, but I think both sides accept and are relatively happy with the term--for better or worse.
← PreviousPage 9 of 11Next →