Better HN
topnewbestaskshowjobs
Log inSign up

rtp

234 karma · joined May 29, 2009 (17y ago) · 70 submissions

Submissions

comment 14y ago · link · parent

A while ago I made this bookmarklet to easily geocitize a webpage:

https://gist.github.com/2141034

The code is quite dumb but it works rather well.

comment 14y ago · link · parent

In Firebug, I see that just opening that page makes my browser do 281 requests for scripts and what not.

That's insane, users don't like to wait.

33.

Docs for dquery, a useful tool for handling dates and times (javascript)(torholm.github.com ↗)

1 points · by rtp · 15y ago · discuss

34.

Introducing dquery: Utility Library for Date Objects (Javascript)(github.com ↗)

2 points · by rtp · 15y ago · discuss

comment 15y ago · link · parent

My suggestions:

Paul Irish (jQuery): https://plus.google.com/113127438179392830442/posts

John Resig (jQuery, Khan Academy): https://plus.google.com/115675748062237570841/posts

Ryan Dahl (node.js): https://plus.google.com/115094562986465477143

Yehuda Katz (Ruby on Rails, jQuery): https://plus.google.com/106300407679257154689

36.

Give suggestions on people to circle on Google+

1 points · by rtp · 15y ago · 2 comments

37.

Software testing is scientific(enterthetardis.wordpress.com ↗)

1 points · by rtp · 15y ago · discuss

comment 15y ago · link · parent

One problem with a service like this is: how do I know if I can trust it with people's email addresses? How do I know that this site doesn't store the emails tested and sell them to spammers?

comment 15y ago · link · parent

Just because it is within the rights of Twitter to be a dick doesn't mean that it _should_ be a dick, and from where I am standing, Twitter is currently acting like a dick.

comment 15y ago · link · parent

Do you have a source on that? I live in Sweden, have an average wage, and we have pretty high taxes, yet I could potentially buy a lot of movies and CDs if I wanted to, and I gather Denmark doesn't have that much higher taxes than Sweden, so that is why I'm asking.

comment 15y ago · link · parent

If you are a people-pleaser (and this doesn't necessarily carry a negative connotation), then it's a good tactic for any employer to play the victim card by talking crap about previous "walkers" in order to instill loyalty. You don't want to be a "walker", do you? ;)

Actually, I think you should pay extra precaution when dealing with "trashtalking victims", because I think the risk of dealing with a toxic customer is greater than losing a bit of revenue from someone who was genuinely burned.

comment 16y ago · link · parent

Sounds like a great "plan to skip jail and fine".

Well, I didn't say it was a good plan. ;) I was merely pointing out that I thought they were anticipating that this was how things would turn out.

I would like to add: The statute of limitations here in Sweden for a jail time of <1 year is max 10 years or so (according to Swedish Wikipedia it's 2 years, but I'm not sure if the fines complicate the matter).

comment 16y ago · link · parent

AFAIK, every one of them lives in Thailand/Cambodia except for Carl Lundström.

I think they were all aware (except Carl Lundström) that luck would run out sooner or later, and from what I've seen, they had the plans all laid out on how to skip jail and fine.

I would be surprised if any one of them except Lundström would serve any of their prison times, or pay any sum of money to pay for their fines.

44.

Ask HN: Good Twitters to follow?

5 points · by rtp · 16y ago · 3 comments

comment 16y ago · link · parent

Nope.

I'm saying that the models should fit the past data. I think I misunderstood lzw. :)

comment 16y ago · link · parent

Are you saying that the projections for the future should fit the past? I'm sorry.

comment 16y ago · link · parent

You don't understand it correctly. Models are supposed to fit the evidence, otherwise they're incorrect. That's how science works. Say you've gathered evidence of the big bang. You create a model for it. Then, suddenly, for some reason observations and measurements of background radiation doesn't fit your model. If that is so, you'll have to either adjust your model as to fit the data, or throw it away and build a new model that fits the data.

comment 16y ago · link · parent

This should be implemented as a bookmarklet, or more preferably a userscript.

comment 16y ago · link · parent

To those downvoting, please specify why. Personally, I can see that parent post shouldn't be here, but a suggestion on where to post it would be helpful so that others don't repeat the same mistake.

comment 16y ago · link · parent

I see it like this:

Success is relative, yet you can measure success. The more projects you've done, the more successful they ought to become (although some variance on that graph is perfectly normal, I presume). If you don't improve in pulling off your projects, you are doing something wrong, and then you should revise on what to improve upon in order to progress.

Having failed before is actually an indication that you're more likely to succeed (relatively).

comment 16y ago · link · parent

IE6+, Firefox, Chrome, Safari, Opera.

Suggestion to avoid falling into the trap of wasting a huge swath of time on fixing stuff for IE: test often. Really often. Test your approach as soon as you can, so that if you find that your approach isn't working, you'll catch it early and can avoid using the same approach in the future and have to fix it everywhere once noticed.

52.

Ask HN/Webdevelopers: Do you use separate HTML for mobile devices?

1 points · by rtp · 16y ago · discuss

comment 16y ago · link · parent

Nice! One thing I like about this service is that I can pretty rapidly wrap up a prototype of the layout of a site I'm about make a design for, and then try out different colors, fonts, paddings and margins etc. Excellent tool to get a rough idea on how to further expand a design.

54.

Ask HN: Is it bad to entertain an idea that has already been tried?

9 points · by rtp · 16y ago · 15 comments

comment 16y ago · link · parent

> I’d assume the goal in web development is the end product or service and not the means to it.

I don't think I agree. The end product's possibility to be exist at all depends on the mental health of your employees, how efficient they are, and what tools they use. Someone who is unmotivated due to using a language or a tool that is horrible will work only on work morale as a resource for motivation, and it's only a matter of time before that resource runs out, and they'll start feeling miserable and perform sub-optimally.

I don't have an opinion on PHP, although I've made a few cool things with it and enjoyed coding in it, so I don't think it's necessarily that bad.

comment 16y ago · link · parent

You mean like putting the methods into the native classes' prototypes? That's a bad idea. The reason why it is a bad idea is that you cannot extend a prototype only within a scope, i.e if you change the prototype, it'll be changed regardless of whether it'll break another library, or that another library replaces your methods and thus render your library broken. This opens up the risk that you'll end up with bugs that are hard to trace to their source.
123