Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 10y ago · link · parent

this implies the government is a monolithic entity that decides everything.

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

There was a freakonomics episode on this. People believe they have control, but it turns out that , even if the amount people tip differs per person, people basically never change how much they tip.

comment 10y ago · link · parent

Isn't it a little cruel to these people's agency to reduce them to "Clinton lackeys"?

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 think it's also important that sometimes it can be misunderstanding the question.

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

pedantic but you're off 10+ years. We still needed 9 volts in the 90s.

comment 10y ago · link · parent

Honestly, I much prefer the US having control of DNS over pretty much any governmental body. Pretty much every other government has a pretty strong history of wanting to wipe things from the internet without any judicial proceedings.

Though it seems like it's more the US giving more power to ICANN

comment 10y ago · link · parent

Shows what I know about selling houses. Definitely sounds like a better solution

comment 10y ago · link · parent

Well as the landlord, would you rather spend 2 months going over the appartment with 12 people or just take the first offer at 10% over list price?

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

Well you can tell them this, right? The essential part is having some code out there in the open. I imagine if you host your projects on bit bucket it's OK too.

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

All taxis I've gotten into had a GPS and I could just give the address.

comment 10y ago · link · parent

They might be cash flow positive but would they have enough to pay back all the leveraged debt they've taken on?

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

My reading is that the wifi sender needs to be sending at a pretty constant rate, but maybe that's just to make testing easier.

comment 10y ago · link · parent

How worried should I be about this? The paper doesn't mention any mitigation strategies and kinda makes it sound like anybody with a wifi router ("Free Wifi") could get me.

comment 10y ago · link · parent

Agreed. Main issue is everyone's downloading Electron over and over to run the apps. Would be nice to have an EVM or something so that Slack could just be the ~1 meg or so of actual app-dependent code.

comment 10y ago · link · parent

One way to work around this is to write programs that work in memory and have a button that manually triggers side effects

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

I feel like nobody's really obliged to do anything. Maintenance is work, after all. Though I think it's cool when things exist for the community.

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

As a fellow FPer who does the monadic stuff in other languages, I think it's usually more trouble than it's worth in Python. Instead, trying to use more of the python-specific language constructs can help you get what you want.

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

python had the opposite problem where so many major libraries didn't take make the jump to Python 3, so even if you really wanted to use Python 3 it was extremely restricting to do so.

comment 10y ago · link · parent

I think a lot of this is due to these problems being solved through standardised processes in python.

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

What's the argument that this is gambling? Or rather, that this is gambling while eBay is not?

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

the practical reason for this happening is that you can put images basically everywhere (github PR comments, emails, etc.), but these facilities rarely support video. Video support on the net has until very recently been pretty awful too.

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 final advice is "invest in tech stuff, because there's a lot of opportunities in the old big companies". That's true, but there's some stuff in between about the old big companies being doomed (as in Oil companies going bankrupt). I don't really agree with that reasoning.

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

Do you not think that French rail has generated at least 50 billion for the economy? After Japan, France is the highest user of rail (km per person per year).

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 understanding of securities law is that intent is 95%. If you're doing market manipulation "just to make money" (instead of, say, to buy a company? Not really sure) then it's illegal.

comment 10y ago · link · parent

Right, it's not about what "really" happens, but more about what is ideally happening (I mean you can put IO effects in pure values through `unsafe` too).

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

True, this is maybe more about the ecosystem than the language itself.

comment 10y ago · link · parent

One flaw I'd point out after working with Purescript a lot is that Haskell's "IO " is very large, to the point of not meaning anything.

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

I share this feeling , esp. when each third party lib wants to introduce some variant of <$../<>).

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

Right, if you look at the contents of the license in the discussion, they are variants of "if you try to fight us with patents, we will deny you a license/patents".

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).

1
149150151
225