Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

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

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 13y ago · link · parent

Nice list of stuff, especially for people relatively new to command line stuff

there's a cool twitter account called "Command Line Magic" (https://twitter.com/climagic) that does some fun stuff, and is pretty shell-agnostic.

Also, for those willing to, I'd strongly suggest checking out fish. it's not bash-compatible, but there's a lot of good usability aspects to it (especially compared to vanilla bash), I love it.

Out of curiosity though, this command : tar zxvf package.tar.gz -C new_dir

it's always intrigued me that the tar command (I imagine it is mainly used to "unzip" things) does not make it very simple to do this. I've started to memorize the 4-letter combo but for a while I had to google it everytime (man pages are not useful for learning things for a lot of unix cl tools).

comment 13y ago · link · parent

This highlights one of the more disappointing aspects of the internet, where group-think leads to essentially mobs of people creating fake reviews on amazon.

I wonder what goes through the minds of people when they do that. I mean they're probably aware of the fact that they don't have the console. More than that, what do they have to gain from doing this?

6303.

Katie Couric to Become Yahoo’s “Global News Anchor”(allthingsd.com ↗)

2 points · by rtpg · 13y ago · discuss

comment 13y ago · link · parent

I'm not sure of the types of the functions, but Haskell's arrow typeclass could do arrows in theory.

comment 13y ago · link · parent

This is a pretty old paper, but it covers a lot of ground in how Haskell deals with the "sticky" parts of programming. SPJ is also a master pedagogue , and this is probably the best explanation of many of these topics out there.

6306.

The Awkward Squad:IO,Concurrency, and Exceptions in Haskell (research.microsoft.com ↗)

3 points · by rtpg · 13y ago · 1 comment

comment 13y ago · link · parent

The most frustrating thing (experienced in both Javascript and Python) is the "oh uncaught exception? let me just quit everything" model. Most of the time, if I were just given an interactive prompt right then, I could spend 1 minute looking at local variables, maybe get a special stack trace variable to look at that, then be over with it.

Instead I have to stick in some print statements and start everything over again.

comment 13y ago · link · parent

First time I read this I honestly thought they were talking about a helicopter painted green...

I wonder if this can allow for bigger sizes. The most common use cases for helicopters (transporting people like for medivac) can't seem to be filled by this. I did hear once about IBM using a helicopter to fly in a technician to some server farm to fill in a "on site in 60-minutes" contractual clause with a client.

comment 13y ago · link · parent

There's no functional difference between a flat tax with tax credits to booksellers than an equivalent reduction in sales tax. Conditional tax systems are policy.

comment 13y ago · link · parent

the google apps aren't entirely linked to Android a priori. In practice it's always bundled, but they can be seperate.

The Messaging app has always dealt with SMSs, Hangouts replaced the google talk app, which never did SMS integration because it was supposed to be a chat client for google's network. The strategy's changed, and so there's this transition period.

comment 13y ago · link · parent

So does this not work at all for PIN cards? Because I have seen very few swipe machines at least in France.

comment 13y ago · link · parent

Prohibition, price controls, so many monopoly regulations, financial regulation, etc,etc.

comment 13y ago · link · parent

it's never been said they're actually good at spying (see http://www.bbc.co.uk/blogs/adamcurtis/posts/BUGGER)

comment 13y ago · link · parent

Using "Guilty until proven otherwise" implies a rights-based discussion, or else it wouldn't be used.

I agree that it's really bad press though (especially given how this has been a consistent issue ever since G+ appeared).

comment 13y ago · link · parent

You can sue them for libel, but I only think that charge can go anywhere if you show material harm done due to their actions.

Considering this message is not plastered on the front page of the NYT, I don't think it could go far.

comment 13y ago · link · parent

I am generally pro-consumer protection, but filling in a sign-up form is in most cases not binding the company to much. Data protection laws is one thing, but obligation for eternal service isn't.

Generally an EULA specifies that a company has the right to suspend an account without cause (leading to termination of obligations on both sides, so you don't have to pay for a service anymore). I'm not sure how valid that has held up in courts, but the notion of ending a contract is not a new one.

>But corporations do not have the absolute right to arbitrarily refuse or suspend services.

I agree they can't arbitrarily suspend services if there's some sort of agreement, but I thought that , by default, they can refuse. There are exceptions but they have to be codified (healthcare, for example).

comment 13y ago · link · parent

>A straight up accusation of potentially illegal acts. There’s no ambiguity, I’m guilty until proven innocent

Usual complaints, but it's weird how people expect corporations to somehow adopt a charter of rights like "the right to a fair trial for your corporate ban-hammer". Much like complaints about "free speech" when reddit bans some subreddit.

There's no obligation for Google to prove anything (until you start paying for something, in which case you start entering contract law issues).

There's a lot of value-add in offering a minimum of customer service nowadays, considering the complete lack of service by most companies.

comment 13y ago · link · parent

There's a large enough class of people that would tone down what they say if they were tagged about what they say ( what if I could link you back to some posts on Stormfront?), or if the person they were wishing to die had a name.

comment 13y ago · link · parent

>It's abundantly clear now that there are more than enough people who are willing to be jerks under their real names.

I hate this argument, because the argument has never been that no person would be rude under their name, it's that there would be less rudeness:

I think axiomatically we can assume that real-name policies won't make people more rude (except maybe on the topic of real-name policies). Here by rude I mean the stupidity of the sort you basically only find in online comments.

So we can then say that there just as many (or less) people being rude on the same site with real-name policies as a site without. I feel less incentive to be rude when my name is next to the comment. I use YouTube. Therefore there is less rudeness thanks to this policy.

For every website I use that has a real-name policy, it has been effective in reducing the amount of rudeness by 1 person's worth.

I would really hope for some scientific studies on how much awfulness we could avoid by people owning up to what they say.

comment 13y ago · link · parent

if the objective of this is to make the car cheaper, you shouldn't really expect Renault to abuse this. If it isn't, then someone else can come in and offer a cheaper package.

I feel like if I were to make a same form-factor battery for a car I'd get sued on design patents. Cars have always had super tight vertical-integration. It might change, but this situation is pretty close to the status-quo.

comment 13y ago · link · parent

you're comparing unsustainable loans with a system to make a patently better (on most fronts) mode of driving available to the masses that can't afford a Tesla.

comment 13y ago · link · parent

maybe if Gillette razors were made of diamonds this would make sense. I honestly don't think they'll be making much off of this scheme.

comment 13y ago · link · parent

can you explain why? DRM might be important for some people, but weighed against their primary mode of transportation, I feel like it's a values concession I'd be slightly willing to make (making it clear I'd be willing to go for an alternative).

comment 13y ago · link · parent

Isn't this still pretty true? I've seen a lot of job offers for RoR (granted, when looking in Japan it might be biased).

Just because it's not Java-sized doesn't mean the community isn't there.

comment 13y ago · link · parent

The DRM stuff aside, the obligatory battery rental is probably because the battery itself is expensive, and it allows them to hide the price of that.

comment 13y ago · link · parent

They seem to be killing this car intentionally. You can't use wall plugs to charge, and the battery rental stuff is also a mess. Apparently they were trying to sell 40k in 6 months, and only ended up selling 10k.

comment 13y ago · link · parent

Could Zuckerberg be forced out of the leadership now that FB is public? sounds like a good reason to push him slightly aside, especially given how aqui-hire-y everyone is recently

comment 13y ago · link · parent

> [NZ/BN/MY/VN/CA/JP propose; US/AU/SG/MX oppose: The term of protection of a work, performance or phonogram shall be determined according to each Party's domestic law and the international agreements to which each Party is a party.]

On a sidenote, wouldn't it be great if we could at least get unified copyright law? From the draft it seems like the US is pushing more towards that

1
210211212
225