21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 10y ago · link · parent
This is why we have elections and a separation of legislative and executive branches. This is why Congress holds hearings on intelligence. The Church Committee happened, after all. And the courts can tell the NSA to not do things, and it (mostly) happens.
The incentives are mostly aligned, but the people being voted in seem to disagree with the idea that government whistleblowers need as much protection.
comment 10y ago · link · parent
Not to mention that it's pretty normal to feel at least a bit bad when someone you were working for and admire says you're whining whenever you talk about your difficulties.
Plus I'm pretty sure Schmidt is beholden to no-one at this point. "Fuck You" money is an understatement....
Though I can get these people rationalising a defence due to emotions, I don't think there's a big web of conspiracy. Popular people get defended by a lot of people...
comment 10y ago · link · parent
I know it sounds silly because it's written clearly here, but in a spoken interview it's possible an interviewee can miss a detail and suddenly think they're faced with travelling salesmen. Or are worried about I/O
Of course in those situations, the "right" thing to do is ask for clarification, or think out loud. And an interviewer should make sure the interviewee is solving the right question (in the real world, people help each other).
comment 10y ago · link · parent
Though it seems like it's more the US giving more power to ICANN
comment 10y ago · link · parent
Especially if you could go through 12 people and end up with nothing (since that gives time for people to find alternatives)
comment 10y ago · link · parent
Though I agree that a lot of skilled people don't have the will/feel the need to build a public profile of their work.
comment 10y ago · link · parent
If they pulled out of a bunch of markets (why is Uber wasting its time in places like Japan where taxis are basically fine?), then they could no longer justify their valuation.
Their prices are going to go pretty high up, meaning they'll only survive in places where taxis are super awful (so, basically the US).
All that stock they've handed out would start dropping like a rock in the private valuations of the institutional holders, I bet some loan conditions will trigger, and they're going to suffer quite a bit. Not to mention the talent exodus.
It's like austerity. If your company is suffering due to a lack of growth to meet ambitions, is cutting costs going to make growth go faster or slower?
That said, I think Uber will figure something out, even if it ends up not hitting its goals.
comment 10y ago · link · parent
So you do all your manipulations and then hit a "Save" button at the bottom which triggers the save to disk.
Similarly if your input depends on a side effect (web resource?) You place a button on the top which will "start" your program.
Of course, the programming environment can offer primatives (debouncing and the like) to help make this stuff easier.
comment 10y ago · link · parent
If you're abandoning a project, releasing the source seems like a Good Thing To Do. But people should be allowed to walk away from things if they do not enjoy it as much anymore (modulo service contracts).
comment 10y ago · link · parent
Python is pretty imperative, and the language design ethos is pretty against designing around functional programming. But if you try to absorb some of the python-specific stuff like list comprehensions, generators, and context managers, you can write some tooling to help you get a DSL a little closer to what you're used to.
comment 10y ago · link · parent
For example, with dependencies, production dependencies and dev dependencies are defined through two requirements files: requirements.txt and requirements-dev.txt. requirements-test.txt for testing. No need for tooling, just pass those into pip.
Most python tooling is pretty limited in scope but works well. From my side, I've had more trouble with "turing complete tooling" that ruby has offered me. I have not had to use ruby a great deal though.
I think the difference in philosophy between the two communities is that python stuff will usually value ease of debugging/implementation over "ease of use". Most things in pyhton and its echosystem are straightforward. None of this "Library A adding methods to classes of Library B" stuff (not that it's impossible). Of course, you then end up with more boilerplate.
Py2/Py3 has definitely been a major pain.
comment 10y ago · link · parent
I understand on a rational level that this is less fair to bidders and a bad model if you want to just buy things, but I don't see where this is a game of chance instead of a consequence of who is participating.
comment 10y ago · link · parent
Now that the video tag can be reasonably expected to work, in a couple of years we might have the tools to just embed video when we want to.
comment 10y ago · link · parent
The thing I don't quite know is how the tech culture is going to generate a replacement to Johnson&Johnson in the next 20 years.
Unilever bought dollar shave club, right? So that's good for investors. But if all the big companies buy the successful unicorns.... didn't the big companies win? A win/win, sure, but not the "GE is finished" sort of opening.
I think that a core argument here is that SV can come in and eat these conglomerate's lunches in certain verticals. But that's fine! So many of these companies are in so many domains that having one division go to zero is something that's happened at the beginning of time, right?
So there's an argument that going against these huge companies is a Good Idea(TM). But the success of the SV company does not mean the collapse of GE/J&J/Coca-Cola. Not to mention Wal-Mart.
Amazon is a good counter-example to what I'm saying, as it has taken significant market share from so many different industries. I wonder if SV really has the guts to make "real" capital investments like with Amazon again.
Space X happened because a billionaire just through all his money in, but the "traditional" financing companies (banks) are making those kinds of big bets all the time! I think we're still a ways off from capital-intensive startups ("real money") from getting those. Especially with the 20+ year lead time necessary.
I kinda see the argument for oil going to zero, but transportation is only 1/3rd of oil expenditure. I think Exxon-Mobil will still sell stuff for a while.
comment 10y ago · link · parent
It's fine for public transportation to not make back the investment if the advantages to the public are high enough (though with the Franc that's easier to deal with than the Euro)
comment 10y ago · link · parent
My main gripe with monad transformers is that it doesn't really let you capture a "sum" of effects. Combining happens through a monad stack.
The effect systems let you describe "this and that" instead of "this in that", or "this, then that". For a lot of IO, "this and that" is much more useful.
comment 10y ago · link · parent
printing to screen? IO
network connections? IO
launching the nukes? IO
You get this weird effect of having pure code, then _all_ your effectful code inhabiting the same types. Though this helps make you write more pure code, when you do write effectful code, it's not nearly as safe as one might want.
Purescript's effects is a nicer granular mechanism.
comment 10y ago · link · parent
But I've found some of the more common symbols end up being how you think about your code when you become more versed.
The big one is <$> for fmap. If you have some functor/monad/thingy, you'll often be like "I have this pure function that I want to apply to the inner value of my functor", and <$> is the perfect analog to $.
The high abstraction level of Haskell makes reaching for these really tempting and easy. And the alternatives are verbose and harder to read in many situations.
compare "capitalise <$> readStrLn" to
do val <- readStrLn
return capitalise val
(though "fmap capitalize readStrLn" isn't too bad)comment 10y ago · link · parent
So you can compete with FB without losing a license. The first blog post you quoted shows a misunderstanding of the license (the word "compete" doesn't show up in the license).
So the correct representation is "If you claim patent infringement by FB, you can lose the license.". This is what the linked comments say, but what your summarised statement didn't properly capture (hence my comment).