Better HN
topnewbestaskshowjobs
Log inSign up

selectnull

2,376 karma · joined Nov 25, 2010 (16y ago) · 453 submissions

I write software, mostly Python guy, have love/hate relationship with JavaScript, love exploring programming languages.

Email: sasha@selectnull.com

meet.hn/city/45.3267976,14.442208/Grad-Rijeka

Socials: - bsky.app/profile/https://bsky.app/profile/selectnull.com - github.com/https://github.com/selectnull

Interests: Networking, Programming, Web Development

---

Submissions

comment 15y ago · link · parent

Hi, this is not a "what would you do" type of answer, but rather a quick observation. I like your site rapidefs.com (btw, you're missing a dot between www and r in your post). It's fast, it's useful, it looks good. But it's not really anything new. It's a dictionary just like many others. Or have I missed something?

Also, I have clicked on fb like, and then noticed "US patent pending" in footer. Nothing personal, but I immediately unliked your site. I do not claim I know what the patent is about, nor do I care. I'm just, in general, against patents. Too many ridiculous ones out there, wouldn't you agree?

comment 15y ago · link · parent

Awesome. Thank you. :)

comment 15y ago · link · parent

Ecmascript 262, 3rd edition, section 7.6 http://www.ecma-international.org/publications/files/ECMA-ST...

"This standard specifies one departure from the grammar given in the Unicode standard: The dollar sign ($) and the underscore (_) are permitted anywhere in an identifier. The dollar sign is intended for use only in mechanically generated code."

It was removed (or I can't find it) in 5th edition. Also, I can't find a reference for underscore.

comment 15y ago · link · parent

Thank you for the explanation. It would be awesome if that gets "fixed". :)

comment 15y ago · link · parent

Yes, I've noticed that. It's the same in Firebug too. It definitely bugs you in debugging :)

I'm not exactly sure what defines it, I think it's devtools (or firebug) itself, but it's a function that returns a dom element with id of first argument.

Very annoying, although truth be told, $ and _ should have never been used in js libraries: those names were reserved for internal use in javascript.

comment 15y ago · link · parent

$0 tip is awesome and new tip to me. Watch the video for demo, but basically it's a reference for selected DOM element. It also appears (not mentioned in the video) that $1, $2, etc references are also created for each DOM element you select in DOM tree view.

comment 15y ago · link · parent

This is an old article, already discussed on HN. For those interested in previous discussions, here are the links:

http://news.ycombinator.com/item?id=515684

http://news.ycombinator.com/item?id=23899

comment 15y ago · link · parent

I wouldn't say twitter must or must not expand the limit, or even if they should or shouldn't, but I would most definitely welcome that change. Sometimes 140 char limits is too limiting and that's the reason for other microblogging platforms like tumblr gaining popularity.

Of course, twitter has more important issues at hand like monetization, and it's not very likely expanding limit has high priority.

comment 15y ago · link · parent

I applaud the willingness of Jenkins developers to stand up against Oracle. I wish you all the best guys!

comment 15y ago · link · parent

http://www.webfaction.com/ might be a good choice. I used it two years ago for a while and was very satisfied with performance and their (custom) control panel. Also, I remember they had very good docs and support staff that actually knew what they were doing.

Highly recommended based on my two years old experience.

edit: It's not a VPS, but based on your description, you should check it out.

comment 15y ago · link · parent

I have experience in jQuery and javascript, so I'll give you my 2 cents on that, but I'm sure the same can be applied to other frameworks.

jQuery is awesome framework and its core (the way I see it) is simple. It's about:

1) DOM selection, traversal and manipulation 2) CSS manipulation 3) event binding 4) ajax 5) a couple of (but still awesome) utilities 6) extensibility, as proven with very popular jQueryUI framework and a huge number of plugins

You know where I got these 6 bullets? It's from jQuery docs page (http://docs.jquery.com/Main_Page) under API reference (in the left sidebar). Why is it important? Because that's actually what the whole browser/DOM/javascript ecosystem should have been. DOM API is really screwed up, that's why we use jQuery (or something else, but I also think jQuery has clearly won the framework war). And to do any of that work, among all A grade browsers is an exercise in futility.

Majority of my work in javascript consists of leveraging jQuery, because most of my work is DOM manipulation. But that doesn't mean I can do it without knowing the language.

My point is: jQuery is defacto the DOM API because the real DOM API simply sucks. It does not replace the need to use the language, it adds value to it.

And maybe, just maybe, we haven't yet seen the best way to work with DOM, or ajax. There may still be posible for completely new framework to emerge and shows us the light.

432.

Truth, Equality and JavaScript(javascriptweblog.wordpress.com ↗)

11 points · by selectnull · 15y ago · discuss

comment 15y ago · link · parent

To the author of the website: you have modified google analytics code and removed semicolons, I congratulate you on that. It shows true conviction. :)

Joke aside, that's a good content put together in very clear and concise manner.

comment 15y ago · link · parent

Gmail has been so reliable for me, that once or twice it was down, I actually celebrated the off time.

That said, it's not down at the moment. Damn...

comment 15y ago · link · parent

It is not final version, just another alpha release. For now, the change log can be viewed here: http://www.sublimetext.com/2

comment 15y ago · link · parent

I use fabric http://fabfile.org for deployment and though I don't have multiple servers, it's really easy to add more servers to a fabfile (a python script). Deployment is easy and flexible, for example I use something like this:

fab release pull update touch

The above will work on release version, will pull in changes from repo (hg in my case), will update to tip (or any tag I want), remove any *.pyc files and recompile and finally touch wsgi file. All these (release, pull, update, touch) are custom written python functions using fabric library.

If I want to restart apache, I use this (could have combined it with previous example and it would work)

fab apache_restart

Fabric is joy to use, very easy to write powerful deployment scripts and has good documentation: highly recommended.

comment 15y ago · link · parent

I use Vim and Terminal on Ubuntu.

Having spent a majority of my career so far developing on windows in Delphi and Visual Studio, this is a complete change for me. I have been programming in python for two years now, and spent a first year trying different IDEs: Eclipse with Pydev (on windows and ubuntu), PyScripter (windows), NetBeans, Komodo, WingIDE, recently tried PyCharm and MonoDevelop, but they were all too slow or cumbersome for me.

The speed and flexibility of good editor (vim) and unix tools is the way I feel most happy.

comment 15y ago · link · parent

- E-mail/calendar/docs: Google Apps standard edition

- Hosting: Rackspace cloud

- Project management & invoicing: our own app (which is what the startup is about)

- Analytics: Google Analytics

- Version control: Mercurial

- Backups: rsync

- Instant messaging: Skype, GTalk

comment 15y ago · link · parent

Although we are not in the same situation, I can help you with some tips. I work for a web development company in Croatia and recently we started to search for a great salesperson.

We wrote a post on our blog http://www.logit.hr/blog/logithr-hiring-it-sales-specialist/ describing what we do and what we don't want in a salesperson. (the site is in Croatian, but that post is in English). We ran a marketing campaign advertising that post on several ad networks, including Google Display Network (AdSense). It's intentionally provocative, but it did produce the results we expected, namely, a few good men worth interviewing. We treat hiring the same way we treat any other marketing ad. We want to attract great people, therefore we make an effort to make it look really good. Of course, that is only a first step in hiring process: the next step is an interview part, which is another topic altogether.

The main point is this: first you need to find quality people to talk to and you need to sell them your idea. Advertising a job post might be one good way to do that.

comment 15y ago · link · parent

But those that do will like you more :)

comment 15y ago · link · parent

Very well said and with that, consider this:

"Allowing some customers to bypass channels may seem helpful, but once everyone becomes special, no one is special."

Well, some customers may actually be special. It depends if the customer is willing to pay for the special status. I'm sure that kind of philosophy can't be applied to all situations or kinds of businesses, but it's not absolute: it can work. I try to apply the same thinking to emergencies: I meet customer's emergency with higher price. Most of them back off and figure out they can wait for our normal procedure. A higher price is great filter to customers who have a real emergency and are willing to pay for it. With that, you can really have some customers to be special, but not everyone.

I can only agree with the rest, very well said.

comment 15y ago · link · parent

I believe the story goes something like this: in the google beginnings, a lot of search were in programming domain, and a lot of languages used underscores in functions names, variables and such. Therefore, it was decided that it wouldn't be used as word delimiter, the alternative was to use dash. I'm not sure if the same applies today, but historical reasons are powerful enough that most people use dashes.

comment 15y ago · link · parent

Well, at least nobody can accuse them of not having a sense of humor; from their status page: "We now join the ranks of MasterCard, Visa, PayPal, et al.—an exclusive club!" :)

http://status.4chan.org/index.html#2340645311017721788

comment 15y ago · link · parent

Go to http://developer.yahoo.com/yui/theater/ Search within that page for "Douglas Crockford", you'll find direct download links for these and other videos by Doug.

comment 15y ago · link · parent

That's a great resource recommended to anyone who has to write any javascript.

There are two more lectures, sort of a series when put all together:

Advanced JavaScript http://video.yahoo.com/video/play?vid=111585 (3 parts)

An Inconvenient API: The Theory of the DOM http://video.yahoo.com/watch/111582/992708 (3 parts)

comment 15y ago · link · parent

efreedom is annoying and they are not the only site with http://stackoverflow.com/ data. I don't even want to link to the other sites.

If you are using chrome, you might be interested in this extension: https://chrome.google.com/webstore/detail/gledhololmniapejef...

There might be such extensions for other browsers, I don't really know of any.

comment 15y ago · link · parent

It's awesome you want to help development of the this magnificent text editor: you can help in two ways I can think on top of my mind, if you browse the www.vim.org site, I'm sure you will find more ways.

1. it's open source project: donate your development time, write documentation, develop useful scripts, anything you can really... 2. you still can donate money, regardless of helping the children in Uganda, because "donations increase Bram's motivation to keep working on Vim". That's a good cause, wouldn't you agree?

comment 15y ago · link · parent

I have been using Vim for almost a year now, and I've thought about donating before. Thank you for reminding me. I will continue to use Vim, and I will continue to donate.

comment 15y ago · link · parent

Actually, that's not what Crockford is saying. From the same link: "Figure out where the semicolons go. Put 'em in the right place. You'll be very much better off." That is a quote from 13:02 into the video. There is a trancript on the video, so you can read it too.

I won't claim Doug has never said something like that, but I doubt it. I watched many of his videos that can be found and he is always evangelizing learning the language, instead of blindly cargo culting.

comment 15y ago · link · parent

On 1) There are parts of the stack that do some of the things you describe here. For example, on HTTP level there is ETAG http://en.wikipedia.org/wiki/HTTP_ETag and there is offline web app proposal http://www.w3.org/TR/offline-webapps/ They are used for different purposes and they work (whether they work well is a different matter), but in a way they can be used for "constant resources". I don't really see how such mechanism can be used as a guarantee against sending a password in the clear.

On 2) I would rather see someone work on solving the underlying problem, which in a nutshell is security. That's a hard problem and I don't really see it solved with iframes.

All that said, you are absolutely right: these are problems and should be worked on.

1
1213141516