Better HN
topnewbestaskshowjobs
Log inSign up

Scriptor

1,852 karma · joined Nov 10, 2008 (18y ago) · 533 submissions

Github: http://github.com/Scriptor
Submissions

comment 17y ago · link · parent

Well, I'm going to NYU, so theoretically my being a heterosexual male already gives me an advantage.

comment 17y ago · link · parent

I'm with you on this one. Tonight, while couples are happily enjoying each other's company, I will be eating dinner at a dining hall in my college.

513.

Native JSON Support in Firefox 3.1(blog.mozilla.com ↗)

6 points · by Scriptor · 17y ago · discuss

comment 17y ago · link · parent

I'm amazed at how staunchly biased you're approaching this. Not only does this article take the first leap of paranoia in stating that Google is doing this to sabotage competition, it goes further to say that somehow Google Analytics will be untouched. It is as if that last one was added just to satiate the author's anger:

"I don't know how they're gonna do it, but...but...they're bad...'cause they're gonna hurt competition, so they'll find some way of not hurting themselves, they have to!"

Besides, the hashmark is a standard of its own when it comes to Ajax applications. Google isn't doing anything suspiciously new with that.

comment 17y ago · link · parent

Make sure you read the guidelines then: http://ycombinator.com/newsguidelines.html

comment 17y ago · link · parent

I'm worried about exactly how that person received so many upvotes. This person does not seem to have much basis to his/her hate other than some blog posts. More importantly, there seems to be a sizeable number of people who agree with the idea of "I disagree with you and don't like what you write about, so you must be an asshole."

comment 17y ago · link · parent

Also, the title of the submission is poorly worded, suggesting that the Arab producers were asking the question.

comment 17y ago · link · parent

As he stated in the submission's text, he is not starting a website for the average web surfer, but a system that detects money laundering in bank transactions.

comment 17y ago · link · parent

This guy is pulling "facts" out of thin air left and right.

The average person doesn't trust computers, automobile mechanics or lawyers

Hello? Statistics? Data? Evidence? I guess those are obsolete too now that we have the cloud. You see Dare, unlike with automobile mechanics, people have an alternative with things like storage. They have plenty of easily available storage right on their computer. Also, people don't trust mechanics with charging a fair price. To apply the mechanics analogy to clouds, it would be like a mechanic that goes out of business and takes your car with him, never to return again.

Given the massive adoption of the Web from search engines and e-commerce sites to Web-based email and social networking services, it is clear that the average computer person trusts the cloud enough to part with their personal information and their money.

Search engines have nothing to do with giving up personal information. Web-based email has been successful because people associate email is very much associated with the web (think of all the sites that need to email you in some way). In what sense are social networks cloud-like?

the average computer user doesn't have a data backup strategy than it is likely to occur if their information is stored on some Web company's servers

Another unjustified claim. Giving a personal anecdote is not proof.

Articles like these make me more and more confused about what the cloud really is. Is it just about storing information online? In that case, this entire phenomenon is hyped up several degrees more than "web 2.0" and should be thought of as nothing more than marketing-speak. Storing information online is nothing to be excited about, how sexy does "cloud" sound when you realize it just means some data is saved on a network of servers somewhere.

comment 17y ago · link · parent

This is a great idea. I'd love to see a language that was somehow compatible with mod_php yet was redesigned with sound principles in mind. PHP is handicapped in that it started as more or less of a tool for counters, and also because its inner workings don't seem to change very much.

It is because of this that major new features seem to be dirtily patched on: Namespace separators require a completely new syntax, anonymous functions that inherently can't behave like closures. Also, the language just seems like a meddle of things that have to be forcibly patched together to work together. For example:

  array(1,2,3)[0]

  (new FooObject())->some_method();
Neither of those work, yet the equivalent works in other languages. Personally, I like the idea of a language where new features emerge out of smaller bits bit put together in different ways. This is clearly not how it works in PHP.

comment 17y ago · link · parent

I know exactly what you're talking about and have done a similar thing in one of my own projects. Basically, you need an iframe to contain the HTML, and fetch the actual page through the server. If you load the page directly though the iframe, Javascript will not be able to manipulate its contents.

I've posted a Pastie of the Javascript code here: http://pastie.org/369649. It does use jQuery though. The w variable points to the window object of the external page that's loaded, so you can pass it around to other functions. Note that 'pageframe' is the ID of the iframe element.

As for the server side code, I used Django, with Python's urllib2 to load the page and BeautifulSoup to turn relative urls into absolute urls. If you end up using BeautifulSoup, note that even though it's supposed to handle invalid HTML, there are some pages that still won't work because Python's HTMLParser library isn't robust enough.

comment 17y ago · link · parent

I used to play the violin for my high school orchestra. I wasn't great, and I often wondered how professionals could practice for hours on end. Now I realize that it may very well be asked how I could sit in front of a computer programming for hours on end.

comment 17y ago · link · parent

Wow, I hadn't even noticed that the images were linked, let alone they were affiliate links. This is a pretty low-quality attempt, both for a blog post and a pitch to get money.

comment 17y ago · link · parent

This is coming in a whiles after your post, but hopefully I can still put in some input.

I am a freshman in college with my first semester finished. In high school, I had about 3 good friends I enjoyed hanging out with. Besides them, I rarely had any social interaction. I was rarely (maybe once or twice?) invited to anything by anyone other than those 3 friends. The end of my senior year especially was depressing. I got to see everyone else, including my good friends, get invited to a good number of graduation parties while I stayed home. Weekend nights on the computer (like this one now) were common.

Enough about myself, but hopefully that gives you an idea of where I'm coming from. This advice is from very recent experience. I understand what you mean by having people you only have a specific interest with. While others say this is normal, I don't think they git it. If every time you're with them, the conversation turns to just computers or whatever, it's not real friendship. One piece of advice is that you could try doing something or going somewhere with people, so it's not all about a conversation. I also know that living in certain towns (like my hometown) finding something to do can be near impossible.

Now, for making new friends. Honestly, this is hard in high school, but not impossible. Friendships ebb and flow, and all of my friendships have seen different levels. Joining clubs is one good strategy. You could even try starting a club with someone else. For example, if you know someone who enjoys programming and you do too, you could both start a programming club. Why when I just said that only talking about computers is not frienship? Because having a club means you have to interact with people and it can bring in situations for meeting other people. Often, just having a good time with someone is a good sign.

Now, for the advice that is probably most important, what will happen at college. I'm a geek, and I chose NYU, a college that I'm pretty sure is not very geeky at all. I did this on purpose, because I wanted a clean slate and an environment that actively pushed me to become more social. Here's some tips:

- You have to do whatever you can to meet random people in the beginning. Sit with people at lunch, talk to people before class, join clubs, go out with floormates. I didn't do this at all, and now I regret that my only friends are from my floor. You just have to take advantage of this critical period when socializing is extremely open.

- I was extremely depressed during my first few days at college. Many others seemed to have something amazing about them, playing an instrument, photography, acting, etc. Everyone else also seemed much more sociable while I stayed quiet most of the time. I often thought whether I made the right college choice. But after those few days, I suddenly fit in well enough. I was still very much the same person, but after all the stuff about "whoa! you play guitar!" or "dude, you've got so many movies", personalities became more dominant. I wasn't an asshole, and I could be funny on occasion, and I danced like an idiot, but a funny idiot. So the moral of this is, do something in high school that you can show off to other people so those first few college days won't be as painful. Otherwise, just be a nice guy and if you come up with something funny, clever, or interesting, say it!

- After a few weeks of college, you will notice that everyone seems to have an individual label. I don't mean prep, jock, goth, or things like that. More like, everyone has a few personality traits that make them who they are. Somebody might be the big, outgoing guy, or the californian Asian dude, or the quiet we-need-to-get-this-guy-a-date nerd (guess who I am). Whatever happens, don't be the awkward guy. This will mean being natural and casual. If you don't think you can hold a one-on-one conversation with a girl, even if she's just a floormate, then frankly, don't. Large groups are your safest bet.

To return to your high school troubles, here's one last piece of advice. Even though the guy who might be good at acting or talking to girls has his own kind of smartness, make sure that both you and other people respect you. Don't mix with people who disparage science if you're into science. Find people who are willing to be intellectual.

I'm afraid that much of the above was too long, off-topic, or just weird. I'm pretty much writing this as stream-of-consciousness. Just remember: Be yourself. You can change yourself. You have to like what you change into.

comment 17y ago · link · parent

My French is a bit rusty, but here are some examples I can think of right now:

Je le mange - I eat it.

Je tu le donne - I give it to you.

'le' means 'it', and 'tu' means 'you'. So literally, the first example would be "I it eat", and the second would be "I to you it give".

I don't know Spanish very well, but I pulled this off of Google translate:

Yo lo vi - I saw it

I'm assuming 'lo' is 'it', and 'vi' is 'saw'.

comment 17y ago · link · parent

Actually, French is S-O-V when you're using pronouns. Some quick testing with Google Translate suggests that Spanish might follow the same rule as well.

My first language, Bengali, an Indo-European language spoken in Bangladesh and thus distantly related to Latin, is S-O-V. I'm assuming from this that Hindi and other Indian subcontinental languages are as well.

I think S-O-V makes sense when communicating visually. Say someone kicks a ball. Initially you see a person and a ball. Then you see the person kick it. The action comes after the presence of the two objects. You don't see a person, see him kick, and only then see the ball.

comment 17y ago · link · parent

This got me thinking. I am otherwise normally in favor of health care for everybody, but that would also mean health care for those who chose not to get vaccinated because of their own or their parents' beliefs. That would mean that when they get sick it's the public that has the further burden of supporting them.

comment 17y ago · link · parent

No, it's just old and might get a few heads turned from some people who say, "Yeah, that guy's a nonconformist. Just like me!" Then nothing happens.

We need to do something against the man.

comment 17y ago · link · parent

Good point, I meant that the introductory tut was only 4 pages. THanks for correcting me!

comment 17y ago · link · parent

Javascript is interesting but it has many quirks and powerful features. I'd say start with Python first, since you can start off with just the language. I actually enjoy writing in Python myself because I feel that it pushes me to stick to coding standards. Also, Python's class-based OOP might make more sense at first to Javascript's prototype system.

Good Javascript programming requires coding differently than you would in Python and C, you have to understand and use strange but cool features like closures and prototypal objects.

comment 17y ago · link · parent

Agreed, they're just 4 pages, but they cover a great deal and you can definitely start a decent site after going through the tutorial. At its end, it also points you to more docs that describe specific things such as forms, urls, and caching in great detail.

comment 17y ago · link · parent

As others have mentioned, datetime is basically a module that deals with everything related to dates and times. datetime.datetime is a class that deals specifically with date and time combinations. So basically datetime.datetime.now() would return something that contained both the present date and time, while datetime.time deals with time objects.

comment 17y ago · link · parent

I would agree with your opinion if a vast majority of people who have computers and Internet connections could not afford another $20. But what if there was no pirated version of this game available? I think you'd find that, if it's not too inconvenient, more people would actually buy the game.

For example, console games don't suffer as much from pirating, but what if hypothetically it was as easy to pirate a game for your Wii or 360 as it was for your PC? I very much doubt that people would continue to buy the games.

So basically, the very presence of pirated games available for free is taking sales away from the game makers, people are simply choosing the free option.

1
1415161718