News for hackers. Stuff that matters.

butabah

Re:Redis 4.0 on Friday July 14, 2017 @12:44PM (#14771182)
'Bash' is too violent as well. We should rename it to 'hug'.
Re:Goodbye PNaCl, Hello WebAssembly on Tuesday May 30, 2017 @05:47PM (#14448805)
To your second question, WebAssembly shouldn't be affecting your day-to-day standard frontend development, unless you're developing very performant applications like games, simulations, etc.

For resources, MDN has a great introduction. Pretty up-to-date too. [1].

[1] https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wa...

Re:How to Improve a Legacy Codebase on Tuesday May 30, 2017 @11:22AM (#14445981)
You'll find these issues with pretty much any dynamic or scripting language once the codebase becomes large enough.

For JavaScript, your best bet would be to integrate external tooling (such as JSHint) into your gulpfile or grunt.

On GitHub, it seems like the javascript sources behind your pages is throwing their syntax highlighting off. Seems like when you embed HTML it hiccups. Any idea how one would fix this?

Ask HN: Would you leave your company just because you've been there for a while?

I'm currently on track for my fourth year at my current company. It's been my first job out of college. I've been having good growth, good raises and was promoted recently.I've been thinking about changing companies, not because I'm currently bored or have problems with my current position. Merely because I think I've been with this company a long time.Thoughts?

( Read More... | 8 comments | 8 points | on HN )
The article fails to mention all the quirks with JS that will cause more headaches than "scary keywords".
Re:3.5 Years, 500k Lines of Go on Friday March 24, 2017 @11:36AM (#13949594)
Using cloc against the Go source code, I found that it has 934025 loc with 3080 files. This averages to about 300 loc per file. There are 149688 lines of comments, which averages to about 50 per file.

I'd say those ratios are very similar.

Re:Redcon – Fast Redis-compatible server framework for Go on Saturday August 20, 2016 @03:10PM (#12327919)
I don't see how it's useful then. Maybe someone can give me a good use case?

redis is already very bare-bones and dead simple to set up and maintain, what more does one want? Wouldn't adding more logic into a redis-like environment be a little cumbersome from an architecture perspective?

Re:CryEngine out on GitHub on Tuesday May 24, 2016 @12:10PM (#11762734)
Seeing Carmack's thoughts on programming always reminds me that I have such a long way to go. When he was my age, he had already created DOOM and DOOM 2 (along with the wtf? r_sqrt trick).
Re:From web dev to 3D: Learning 3D modeling on Thursday May 19, 2016 @12:03PM (#11731199)
I'm also a programmer who does 3d modeling as a hobby. I'd never do 3d modeling as a job. Not only does it pay less, but a lot of the novelty would be lost. There's something endearing about being able to come home, shrug off my job for a bit, and model something.
Re:Angular 2 versus React on Monday January 04, 2016 @02:13PM (#10837753)
Chrome's PDF viewer is written in Polymer
Re:War of the 3D Engines on Friday March 28, 2014 @08:56AM (#7486868)
I love this. We need more of these powerful tools for cheaper prices.

UDK was a great platform, but the scripting language was hell. It was like being given a helicopter and flying it with your feet. This was really the reason why we moved to Unity, because it was so much easier to code inside their sandbox.

Game tech companies need to realize that developers love fully featured software, and we are willing to pay for it, we just don't want to pay out the ass for it per dev. It looks like Epic sees this and is jumping on it, CryTek following suite, I wonder how Unity will step up to the plate?