Recent submissions

Comment · 9 years ago
I once started with DOS, moved to windows, linux (various distro's), now already for a few years on osx.

Windows doesn't even come close to the reliability and comfort of my macbook-pro. I was always reluctant to move to osx, but I have to admit, this is simply the very best and most reliable machine I've ever had! It never crashed once, while I push it to it's limits every day!

Comment · 9 years ago
I think the drop in revenue is because the market is really saturated. All those millions of guitars produced are not destroyed, it's not the kind of product that you can apply 'planned obsolescence' to. Instead, the vintage one's are often better sounding and therefore more popular. Also, if you find a good vintage guitar you are almost assured it will remain good as the wood has proven to be stable.

If there is a slow death to guitar than it is because it's almost impossible to earn any money with it, except for the lucky few. Learning an instrument like guitar takes many, many years, which is quite a hobby.. If you would spend the same amount of time in learning software development you are almost assured to have a solid income as result.

Comment · 9 years ago

  if (__guard__(does.that != null ? does.that.prop : undefined, x => x.exist)) { console.log('yes, no crash!'); }
  function __guard__(value, transform) {
    return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined;
  }
oh my..

This was 1 line of CS, how to clean this up without a chance of creating bugs?

How on earth is ESxxx an improvement on CS anyways? It's just not true, it's a leap back.

Comment · 9 years ago
Sorry, no weird hostility, just an observation. The weirdness comes more from the way how you guys think about creating a typed language. What the heck would a CS compiler with static type checking have to do with var statements apart from generating them in the final JS as it does now already?
Comment · 9 years ago
You mean only ES2016 from that list?

> Producing readable code is certainly the intent!

This is hilarious! Transpiling from the most readable JS alternative to ES6? Then you need to clean up some things, making it ready for yet another transpiler called Babel? And then everything is OK?

Show me how you are going to make this pretty:

  if does.that?.prop?.exist then console.log 'yes, no crash!'
Comment · 9 years ago
Instead of wanting projects to move to a language you know, you can better first learn the language they are written in, and try to understand their decision in the first place. If you know CS very well you would not be so eager to move to Babel transpiler imao.

There is also a nice comment in here about a large project that became a misery because of TS. Think twice before you hope!

Comment · 9 years ago
> it has all of Coffeescript features and more

No! It seems you've never learned Coffeescript well enough to know the differences, just like too many other ES6 proponents.

Comment · 9 years ago
> $70 is nothing compared with the performance that you get.

Maybe on a slow pc, but with Atom on my macbook pro I have no performance issues at all period. I code 8+ hours a day (for many years), and no my fan is not spinning all the time because of Atom. I have 16Gb ram, have multiple apps open at the same time, Chrome with 30+ tabs, listen music via youtube, etc..

I was a long time Sublime user, but the $70 they're asking is really way too much with so many great open source alternatives today. Would they at least divide the $70 to all the package writers that actually make Sublime a great editor I might be willing to spend it, but unfortunately they want all the money for themselves..

Switched to Atom a while ago, I gained (some really great) features and finally got rid of the trial pop-up.

Comment · 9 years ago
This is a true loss for the world. Although his revolutionary ideas were IMHO by times a little over the edge, he envisioned and fought for a world without poverty and war, where earth's resources are not being depleted by hunger for money and power; A resource based economy.

Thank you Jaques Fresco for opening my eyes to this and RIP.

Comment · 9 years ago
For some reason the focus is always on preventing re-rendering if it comes to optimising a React app. I understand that it can be really effective and is often the easy way out, but re-rendering in itself is not costly and I don't really care about it the most of the time.

I am more concerned that the code that runs during a re-render is not rebuilding huge static lists that never change and so. I see that over and over again in React apps. I tend to build a lot of the static stuff in the ComponentWillMount stage to prevent that. Only when already optimised code is getting to slow I start thinking about preventing re-rendering if possible.

My reason for not starting with ShouldComponentUpdate is that you have to be very careful not creating nasty bugs with that like I did some times. If a year later you write some code and it doesn't work for some reason it is painful if you find out after a long search that a stupid child component did not update for some prevention rule you forgot about. I really try hard to avoid premature optimisations.

Comment · 9 years ago
I didn't say all people who use it are idiots. But willingly sharing your private data for free while waiving all your rights? If you realise that facebook runs AI on that data and knows much more about you then you could ever imagine, and if you realise they are selling that data to companies you might not like so much, or what else more, that's pretty stupid imao.
Comment · 9 years ago
You should have learned to be very happy they disabled your account! Facebook is for idiots and for companies that milk those idiots. This event likely saved you for wasting even more of your precious life time. Be happy and do some great things with your life without feeling the need to constantly show off.
Comment · 9 years ago
Turning off Windows update is not enough I'm afraid. Better remove this misery-ware completely from your pc and move to Linux. Linux is better, safer, cheaper, and more fun overall!

For apps that don't run on Linux for now, like Adobe, I'd rather move to OSX. Only reason for me to install Windows would be some obscure game that only runs on that platform. I honestly cannot think of any other reason to install Windows.

Comment · 9 years ago
It's not wrong, just feels misleading. For me it's like Sublime text comes with a little tutorial with the title "Get started making apps", and only give an intro on making a hello world program in C++, to sell their product.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton