What happened with that guy? Did he ever come back?
Rust is a unique language in that it deallocates memory on the heap without requiring the writer to call free, while at the same time having no need for a garbage collector. Someone correct me if I'm wrong but surely…
Agree with you 100%, and the ability to dynamically define methods is one of Ruby's great strengths. However, metaprogramming is a power that should be used wisely. When implemented unnecessarily it reduces readability…
Just because you CAN do something doesn't mean you SHOULD. Metaprogramming has a place in Ruby but for the examples in the article there are far more readable ways to implement it. Readability > cleverness every single…
Important to note that this isn't STATIC typing (which detects errors at compile-time), rather this is more like a validation library to make sure structures have certain properties at run-time. Not saying it isn't…
Photos are everything man. There are a tonne of average-to-poor looking girls on Tinder who have very good photos of themselves that paint them in a much more flattering light than they really deserve. Take a leaf out…
If you are writing Ruby you already decided you didn't care about speed. Don't get me wrong, I think Ruby is a great language and I use it every day to get paid, but it is not a speed queen. Ruby's strengths lie in…
Actually it does make a practical difference but I would argue in favor of the electric razor. Ever wonder why it itches in those first couple of weeks if you decide to grow your beard out? Look at that picture. Shaving…
Sounds like Rubocop for Ruby: https://github.com/bbatsov/rubocop Fast enough to integrate into a continuous integration build process and catches a lot of dumb mistakes/typos before deploying to production.
Or press cmd-up to go up a dir.
I haven't used it much so please forgive my ignorance, but what is wrong with git rebase?
Unless there are third party C extensions involved.
Must have been utterly terrifying to pilot that thing... the entire aircraft is basically one gigantic fuel tank with a tiny space for a seat at the front.
Ah I see the problem. Actually I used a Ruby console. So what then is the CORRECT way of doing this comparison in C, avoiding potential overflow pitfalls?
WTF? The article states: x = 1987654321 and y = -1987654321? Then the difference between them is -319658654 (negative) which proves that x is less than y. That’s less than correct. Which is completely 100% wrong. Surely…
At the risk of sounding callous, perhaps they are poor BECAUSE they are so indiscriminately generous. Everyone is needy. Everyone always needs help. People have an infinite capacity to suck up your help and they will…
This also depends on where you live, and your responsibilities. I lived for six months in western Australia working only 2-3 days a week as a bartender. Pay was about $160 per day, which works out to $1500-$2000 per…
Forgive my ignorance... but why would anyone want their URL 'forgotten'. If they want to hide from the search engine, isn't that what robots.txt is for?
Hey I'm interested, do you have an email address I can send a cover letter to? The online form doesn't seem to be working...
Well I don't tend to actually write much code out by hand. Usually I use a notebook for sketching out ideas, thoughts or todo lists. For copying out code I use the same text editor that I program in.
I'm sure Quiver is slick software but so often I have seen flashy tools suck up more time and effort in using them than other, simpler solutions. If you want to make quick notes, there is absolutely no better tool than…
You know this is funny, I remember reading comments EXACTLY like this about 3-4 years ago but with pulseaudio in place of systemd. Pulseaudio was Lennart's previous project. It broke everything in linux sound for a…
Nope, I've never seen it either.
If you want to find the 'magic moment' try 'The Little Schemer' by Friedman and Felleisen. I'm on my third read of it. The first time I tried to implement all the exercises in Ruby and failed around chapter 7 when the…
Perhaps a naive question but... what is this useful for?
What happened with that guy? Did he ever come back?
Rust is a unique language in that it deallocates memory on the heap without requiring the writer to call free, while at the same time having no need for a garbage collector. Someone correct me if I'm wrong but surely…
Agree with you 100%, and the ability to dynamically define methods is one of Ruby's great strengths. However, metaprogramming is a power that should be used wisely. When implemented unnecessarily it reduces readability…
Just because you CAN do something doesn't mean you SHOULD. Metaprogramming has a place in Ruby but for the examples in the article there are far more readable ways to implement it. Readability > cleverness every single…
Important to note that this isn't STATIC typing (which detects errors at compile-time), rather this is more like a validation library to make sure structures have certain properties at run-time. Not saying it isn't…
Photos are everything man. There are a tonne of average-to-poor looking girls on Tinder who have very good photos of themselves that paint them in a much more flattering light than they really deserve. Take a leaf out…
If you are writing Ruby you already decided you didn't care about speed. Don't get me wrong, I think Ruby is a great language and I use it every day to get paid, but it is not a speed queen. Ruby's strengths lie in…
Actually it does make a practical difference but I would argue in favor of the electric razor. Ever wonder why it itches in those first couple of weeks if you decide to grow your beard out? Look at that picture. Shaving…
Sounds like Rubocop for Ruby: https://github.com/bbatsov/rubocop Fast enough to integrate into a continuous integration build process and catches a lot of dumb mistakes/typos before deploying to production.
Or press cmd-up to go up a dir.
I haven't used it much so please forgive my ignorance, but what is wrong with git rebase?
Unless there are third party C extensions involved.
Must have been utterly terrifying to pilot that thing... the entire aircraft is basically one gigantic fuel tank with a tiny space for a seat at the front.
Ah I see the problem. Actually I used a Ruby console. So what then is the CORRECT way of doing this comparison in C, avoiding potential overflow pitfalls?
WTF? The article states: x = 1987654321 and y = -1987654321? Then the difference between them is -319658654 (negative) which proves that x is less than y. That’s less than correct. Which is completely 100% wrong. Surely…
At the risk of sounding callous, perhaps they are poor BECAUSE they are so indiscriminately generous. Everyone is needy. Everyone always needs help. People have an infinite capacity to suck up your help and they will…
This also depends on where you live, and your responsibilities. I lived for six months in western Australia working only 2-3 days a week as a bartender. Pay was about $160 per day, which works out to $1500-$2000 per…
Forgive my ignorance... but why would anyone want their URL 'forgotten'. If they want to hide from the search engine, isn't that what robots.txt is for?
Hey I'm interested, do you have an email address I can send a cover letter to? The online form doesn't seem to be working...
Well I don't tend to actually write much code out by hand. Usually I use a notebook for sketching out ideas, thoughts or todo lists. For copying out code I use the same text editor that I program in.
I'm sure Quiver is slick software but so often I have seen flashy tools suck up more time and effort in using them than other, simpler solutions. If you want to make quick notes, there is absolutely no better tool than…
You know this is funny, I remember reading comments EXACTLY like this about 3-4 years ago but with pulseaudio in place of systemd. Pulseaudio was Lennart's previous project. It broke everything in linux sound for a…
Nope, I've never seen it either.
If you want to find the 'magic moment' try 'The Little Schemer' by Friedman and Felleisen. I'm on my third read of it. The first time I tried to implement all the exercises in Ruby and failed around chapter 7 when the…
Perhaps a naive question but... what is this useful for?