HNHacker News
TopNewBestAskShowJobs

cactusface

171 karma · joined May 31, 2015

submissionscomments
cactusface··on Ellen Pao owes Kleiner Perkins $276,000 for lawsuit costs: judge
I think he just means that sexual harassment is different from "heat", however you want to define that.
cactusface··on Chromium unconditionally downloads binary blob
So a picture isn't a picture until you look at it?

Whether or not people should care, some people do care. If Debian has to edit what you distribute to remove proprietary parts of it, you're probably not distributing something that is open source (which means 100% open source).

cactusface··on Ask HN: What are the greatest discoveries in the last few years?
Search Google books for "green revolution ethiopia", lots of hits.
cactusface··on Chromium unconditionally downloads binary blob
Why do you need to unconditionally download a binary blob? Can't you just download it when "Enable "Ok Google" to start a voice search" is turned on? And also, it's not really open source anymore even though you delay downloading the non-open parts until runtime.
cactusface··on La Ruche qui dit Oui
Sorry, I thought there were antibiotics in US milk.
cactusface··on Uber Drivers Deemed Employees by California Labor Commission
It's like you're trying to say that something obviously good may have a downside. The important point is that Uber and its drivers are partners in a mutually beneficial relationship. If everybody starts contracting out services from each other, and we're all in business together, then nobody will be sitting on top of a pyramid supported by the state. How can that possibly go wrong?
cactusface··on La Ruche qui dit Oui
There's definitely more food now. Most of it is lower quality than what was eaten before, when it was eaten of course. For survival reasons, I would choose availability over quality any day. However, we have more than enough food to survive, so much so that we throw it away. So maybe quality could go up a bit. Like say by banning the use of antibiotics and growth hormones in milk producing cows.
cactusface··on Ask HN: Company got acquired, new contract seems oppressive
It probably would have worked better if I phrased it in the present tense. Every single time a man abducts a child he is not in jail.
cactusface··on Ask HN: Company got acquired, new contract seems oppressive
Every single time a man has abducted a child he was not in jail. Can you think of a counterexample?
cactusface··on Apple’s Bitcode Telegraphs Future CPU Plans
Interesting. Would you choose "three July twenty fifteen", "July third twenty fifteen", or "the third of July twenty fifteen" (substitute "two thousand" for "twenty" if you like)? Assume someone has asked you the date and you're responding out loud.
cactusface··on Apple’s Bitcode Telegraphs Future CPU Plans
Ok, fair enough. What do you say for non-special dates like July 3rd, 2015?
cactusface··on Apple’s Bitcode Telegraphs Future CPU Plans
Are you saying it is commonly referred to as "The 11th of September, 2001" in England?
cactusface··on Apple’s Bitcode Telegraphs Future CPU Plans
MM/DD/YYYY is simply a direct transliteration of spoken English, which makes it easy to read and write dates. In other languages, the spoken version is little endian or big endian, and the written version aligns accordingly. (At least for the languages I know.)
cactusface··on La Ruche qui dit Oui
I don't know, I wouldn't say the downsides of the old ways were that the food was non-local, low quality, or unhealthy. A lot of the food regulations were necessary because when you try to do things on a large scale you run into quality and health problems. The downsides are more like people ate way less meat because it was too expensive, there was much less international variety, and there were a lot more farmers, like 25x more. It's really hard to be a farmer. That said, I think the typical person nowadays can afford to eat much better than your typical peasant in the past, at a lower total percentage of income. It's just that because there's so much to spend money on in life now, today's typical peasant chooses not to eat better and ends up romanticizing the past.
cactusface··on Y Combinator growth equity fund?
Why is it important not to pick favorites? Are they trying to avoid killing companies they thought were bad but end up good later on?
cactusface··on Y Combinator growth equity fund?
Oh ok, I missed the connection to monopolies. Thanks for spelling it out.
cactusface··on Y Combinator growth equity fund?
Why is that playing dirty? I don't get it.
cactusface··on Depression's Upside (2010)
Well, my response certainly was short and snappy, I'll give you that. I know that not taking the time to properly explain myself may come across as naive and can be frustrating to deal with. It's just that I'm not up for a lengthy debate about psychology. In fact, people often treat me like I'm naive about things, even in situations where I have a lot of experience. It's like a disarming technique I learned or something, plus it just makes me uncomfortable to be recognized as good at things. I would rather just do good things.

So... are you guys in therapy? It's been really helpful for me.

cactusface··on U.S. Bans Trans Fat
Well, if it was categorically bad for you, it probably wouldn't be considered food.
cactusface··on South Korea provokes teenage smartphone privacy row
Yeah, I think we basically agree. I was just nitpicking.
cactusface··on South Korea provokes teenage smartphone privacy row
I think plenty of people would alter their content to avoid warnings, regardless of context. But, I only have data for the MPAA and also maybe recordings with explicit lyrics. I don't necessarily think warnings are bad, I just think that in general, if you're going to label people's work in a negative way, some people would rather change their work so that it doesn't get labelled like that. I mean, I try to be polite on HN so that it doesn't get downvoted and greyed out, but this isn't really that bad of a thing.
cactusface··on South Korea provokes teenage smartphone privacy row
I think you're underestimating the effects of content warnings. As an example, studios routinely alter films so as to achieve more favorable ratings from the MPAA.
cactusface··on Depression's Upside (2010)
http://www.google.com/search?q=environmental+factors+depress...
cactusface··on Long sentences
Ok, I forgot about always_inline. That is a good point. Anyway, it doesn't work for polymorphic (technically non-static) or recursive code. If you've split your program up into lots of pretty little functions, which is fine, you probably have a bunch of polymorphic and recursive code. Typically you get rid of those things by inlining and/or cloning. (Recursive algorithms use the call stack as an implicit data structure, which you can get rid of by introducing an explicit stack locally.) So, to force the compiler to inline some stuff, you have to inline some other stuff. Which is also fine, just that compilers are not magic. For really important things, you need to look at the generated output and decide if you can do better.
cactusface··on Depression's Upside (2010)
Okay, we know that CBT works for depression, yeah? CBT postulates that your thoughts cause your emotions. Part of the therapy is identifying and refuting negative thoughts like, "You're worthless!" Well, if other people are telling you that you're worthless, in one way or another, then it has the same effect. It doesn't matter how much CBT you do, if everyone is around you is telling you that you're worthless, you're going to stay depressed, because that kind of treatment makes you feel angry, sad, and ashamed. You can't just reason your way out of it.
cactusface··on UBlock Origin
Watching an ad is paying a price. If it's possible to get something for free without breaking the law and without other tangible negative consequences for yourself, why would you pay a price? Altruism, right? So watching ads is my altruistic duty now?
cactusface··on The Bad News About the News
What do you mean news/classifieds have next to no digital value? They're a delivery vehicle for ads, just like TV. They just can't be sold as their own thing. Then again, Craigslist makes a good chunk of its money by charging for classifieds:

https://www.craigslist.org/about/help/posting_fees

cactusface··on I've been scrubbed
I just feel bad for the guy. Originally, I was just pointing out it was a kind of censorship greater than downvoting that has some unsavory aspects to it. Like I wrote above, it's not clear what a better solution would be, except perhaps if I was running things I would try just deleting his accounts. Oh, and you can't reply to his posts, but whatever.
cactusface··on Tech Startups Woo Investors with Unconventional Financial Metrics
Oh yeah, I had HTTPS-Everywhere on. Thanks a lot!
cactusface··on Long sentences
I'd be very interested to see a compiler where you can force inlining. How does it handle cycles in the call graph? How does it handle code bloat because the inline keyword was used too often?

In GCC at least, you can only give suggestions. The following options control the inliner:

--

max-inline-insns-single: Several parameters control the tree inliner used in gcc. This number sets the maximum number of instructions (counted in gcc's internal representation) in a single function that the tree inliner will consider for inlining. This only affects functions declared inline and methods implemented in a class declaration (C++). The default value is 300.

max-inline-insns-auto: When you use -finline-functions (included in -O3), a lot of functions that would otherwise not be considered for inlining by the compiler will be investigated. To those functions, a different (more restrictive) limit compared to functions declared inline can be applied. The default value is 300.

max-inline-insns: The tree inliner does decrease the allowable size for single functions to be inlined after we already inlined the number of instructions given here by repeated inlining. This number should be a factor of two or more larger than the single function limit. Higher numbers result in better runtime performance, but incur higher compile-time resource (CPU time, memory) requirements and result in larger binaries. Very high values are not advisable, as too large binaries may adversely affect runtime performance. The default value is 600.

max-inline-slope: After exceeding the maximum number of inlined instructions by repeated inlining, a linear function is used to decrease the allowable size for single functions. The slope of that function is the negative reciprocal of the number specified here. The default value is 32.

min-inline-insns: The repeated inlining is throttled more and more by the linear function after exceeding the limit. To avoid too much throttling, a minimum for this function is specified here to allow repeated inlining for very small functions even when a lot of repeated inlining already has been done. The default value is 130.

max-inline-insns-rtl: For languages that use the RTL inliner (this happens at a later stage than tree inlining), you can set the maximum allowable size (counted in RTL instructions) for the RTL inliner with this parameter. The default value is 600.

--

So, while the inliner is great, if performance really matters for a hot loop, and you definitely want that code to be inlined, you might end up having to do it by hand. Because otherwise, if you change something somewhere else in your program, the inliner might suddenly decide not to inline your function anymore. You could say the same thing about virtual functions: devirtualization is great but it's not guaranteed. Or loop unrolling. Or codegen. Or whatever.

← PreviousPage 3 of 6Next →