Hacker Newsnew | past | comments | ask | show | jobs | submit | boofar's commentslogin

Yeah, fun idea. So when I didn't recognize some of the options, I've looked them up with :help and of course "autoindent" and "ai" are the same, so should be really added together.


Functions are public by default. You could leave that out.

The main function has to be static and will serve as the entrance point of the program, not the class. So this might just look like too much when in fact this is just a very small code sample.

Did I address some of your concerns, or did I miss the point entirely? Just curious.


I think his comment could be refrased as "This language looks like Java"


Also, IMHO the fact that Haxe looks familiar to people coming from Javascript, ActionScript, or Java is a plus.


Agreed. I'd wager there are substantially more people learning JavaScript these days than PHP, not that PHP looks too foreign, relatively speaking.


Well at least it doesn't look like PHP...


Actually functions are private by default.

"static function main()" seems to work as an entrance point, though, which makes sense somehow...


I'm sorry, you're correct of course! Private is the sane default obviously.


Keep in mind that in a language like erlang this is enforced for all it's users. So the whole eco-system is build around that premise.


Most here have commented 3-4 hours ago, but 2 hours ago Isaac Yonemoto left an excellent comment on the blog. So if you read this message, because you're checking the thread for new discussion, I encourage you to check out his comment as well. :-)


Yes, he says something like you burnout when you effectively condition your brain to associate work with failure.


Indeed the comment is better than the post.


Half-relevant: Funnily, I just arrived at this passage in "Willpower: Rediscovering the Greatest Human Strength"[1]:

"We devoted chapter 3 to the glorious history of the to-do list, but we realize that some readers might still not feel like drawing one up. It can sound dreary and off-putting. If so, try thinking of it as a todon’t list: a catalog of things that you don’t have to worry about once you write them down. As we saw in our discussion of the Zeigarnik effect, when you try to ignore unfinished tasks, your unconscious keeps fretting about them in the same way that an ear worm keeps playing an unfinished song. You can’t banish them from your brain by procrastinating or by willing yourself to forget them. But once you make a specific plan, your unconscious will be mollified. You need to at least plan the specific next step to take: what to do, whom to contact, how to do it (in person? by phone? by e-mail?). If you can also plan specifically when and where to do it, so much the better, but that’s not essential. As long as you’ve decided what to do and put it on the list, your unconscious can relax."

[1]: http://www.amazon.com/Willpower-Rediscovering-Greatest-Human...


Could it be, that you're looking for this thread? http://news.ycombinator.com/item?id=3707338


So it's not the fault of programming or any other activity per se, but that of the stressful (work) environment.


What I'm saying is that programming for fun on your free time is absolutely not the same as programming to pay the rent, and this is not straightforward when you start learning computer science (and that's what this article is about, right?). You have to respect a lot of things that stops you in the creation process, because the goal here is not to do cool things but do as you're told, to take decisions not for your entertainment but for your boss. Sure there are people that do whatever they want at work, but it's relatively rare. And this, my friends, is just my humble opinion.


Let me put it this way. On a regular week day, I spend around 12-14 hours a day programming (that might change with a kid on the way), only 10 of which are done for my boss. The point is I don't program to make a living. I just make a living by doing what I do best.

In other words, programming to me means so much more than what I give my employer. Just like the article says, it defines a way of life, that puts knowledge, learning and improving on top of everything else.


There are some video tutorials by Derek Wyatt that have been recommended on HN a few times:

http://www.derekwyatt.org/vim/vim-tutorial-videos/


Vimcasts is also a nice series of video tutorials, and the author's accent is lovely to listen to.

http://vimcasts.org


If you don't mind: which are those more exclusive advertising networks, and what are the hurdles you have to take to get in? What's an average ecpm there?


The exclusive networks you can find simply by googling.

They all require a large amount of unique visitors (1 million+ per month) and not controversial content like adult material or guns.


Working out at home is a possible answer then. I regularly use and therefore highly recommend the simplefit[1] routines. It consists of 3 different "days" (endurance, strength and judgement) which all consist of different combinations of pull-ups, push-ups and squats.

All you need equipment-wise is a pull-up bar. I have a wall-mounted pull-up bar which is very stable. Maybe a cheap one for the doorframe will do the trick as well.

simplefit consists of progressively harder levels[2]. If you manage to finish "day 3" (judgement) in under 5 minutes, you go to the next level.

[1] http://www.simplefit.org/ [2] http://www.simplefit.org/workout.html#workouts

EDIT: forgot to mention that the simplefit exercises are done with bodyweight only. Also, they are laid out in a way that will keep your heart pumping and thus you will get fit pretty fast and in a time-efficient manner. No routine takes longer than 20 minutes. In fact, only "day 1" is ultimately bound by time (20 mins), the others are to be finished "as fast as you safely can". This is key for me and the reason I stuck to it over many weeks now. It doesn't take long and I still see results.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: