HNHacker News
TopNewBestAskShowJobs

simonlc

357 karma · joined October 10, 2012

http://simon.lc
submissionscomments
simonlc··on Sony Aibo
They're quite big now in the imaging market (cameras and sensors).
simonlc··on A curated list of things related to Vue.js
Is there an equivalent of this for React and Angular?
simonlc··on JavaScript for People Who Hate JavaScript
Lots of people relate ES2015 to giving us a better javascript, but the core language remains the same; the changes are just additions.

Building a tool chain can be an extreme pain in the ass because everyone is still experimenting, and trying to make the web better. Things like web workers, hot module reloading, and code splitting are relatively new, and don't have mature tools or patterns. Yes it's hard to learn, and yes it takes a lot of time, but once you learn a few tools you can keep using them over and over. I've been using gulp and browserify since 2011, and recently switched to gulp+webpack for code splitting, and HMR, and the switch couldn't have been easier.

simonlc··on JavaScript for People Who Hate JavaScript
That was actually a css bug in chrome.
simonlc··on JavaScript for People Who Hate JavaScript
What are the flawed parts of the core language?
simonlc··on Introducing Twitter Lite
Its another step to try an unify building apps, and web apps with the same code.
simonlc··on Introducing Twitter Lite
I believe the author of that module is also one of the main people who worked on the react twitter mobile.
simonlc··on Entr(1) – Run tests whenever files change
Yeah this is a huge difference if what you're working on has state, being able to patch styles or modules makes development much smoother.
simonlc··on What the death of the CRT display technology means for classic arcade machines
I own a Japanese arcade machine, and while they are still somewhat common in Japan, and the US, it was not easy to find in Canada.

The nostalgic feeling and experience of playing not only on a CRT, but actual machine from the 1990's can't be replicated on an LCD.

Static on the screen, the hum of the monitor, the flickering of the colors, the look of the glare on the surrounding arcades, the sound of coins dropping down the chute, are the little things I bought my arcade cabinet for.

I dread the day that my monitor fails. As it'll mean the death of this experience for me without traveling to another country.

simonlc··on We Tried Slack and We Deeply Regretted It (2015)
He never said he had no intention, I just think he didn't want to pay half a million dollars for slack.
simonlc··on Faster Images using HTTP2 and Progressive JPEGs
Flickr does use progressive jpegs now. Imo I hate seeing the blurry image first.
simonlc··on Hyperpolyglot
Math.min.apply(Math, [1, 2, 3]) Math.max.apply(Math, [1, 2, 3])

Could just be:

Math.max(...[1, 2, 3])

simonlc··on Node.js v7.0.0
Yes but it's definitely not anywhere near ready to ship with node lol.
simonlc··on Next.js – A small framework for server-rendered universal JavaScript apps
in the event handler you have to manually check if ctrl is being held or if the lmb was pressed or not. Most people forget this which is a shame.
simonlc··on Revenue from self-driving Teslas only allowed through the Tesla Network
I doubt driving for Uber will earn you a net profit, considering the millage on your car.
simonlc··on The cost of small modules
I've been using rollupify in my projects for a few months now with no issues, but I didnt know it didnt work on npm modules. I would be interesting to see benchmarks of rollupify vs rollup on ots own to see if its worth changing bundlers.
simonlc··on The Doom Movement Bible
There are a ton of quake clients, some that are very minimal (and just try to fix bugs and support new machines), and some that add or enhance new features or engine effects. There are also some that are built with competitive multiplayer in mind. My two favorite are Fitzquake and Fisheye Quake.

Also you might want to check out http://celephais.net/board/news.php which has a ton of very high quality user content for additional chapters, like mini expansion packs. Some really great level designers and artist who are making still making stuff for this game.

simonlc··on Ubuntu on Windows
I completely agree. I only really switched to OSX because getting node tools to work on windows and cygwin is a pita.
simonlc··on Dropbox’s Exodus from the Amazon Cloud
Someone said above that they support 10 and 14TB drives.
simonlc··on A Collection of CSS Tips
A lot of these are actually bad practice, or things you should already know. Before you use any of them, you should research each of the rules separately to see how they work.

Code maintainability is #1 in css, and is the hardest thing to do. The main focus should be on that, and not trying to be clever or tricky.

simonlc··on New Chromecast 2015
As far as I can tell, that's the only difference. I just bought mine yesterday knowing there was a new one on the way, I don't think I'm missing much.
simonlc··on Tetris Written in Go
They typically wont bother with small projects like this afaik. I've had a semi popular one going for a while with no contact from The Tetris Company.
simonlc··on Tetris Written in Go
I did the same thing, implementing all the guideline rules into my JS version of tetris here: http://simon.lc/tetr.js/

However over the years, even after the guideline was instituted, there have been many different types of randomizers used. Of course, the original having none, and many a long the way having bugs.

simonlc··on Fired
Why was he fired?
simonlc··on Bunnyhopping from the Programmer's Perspective
That sounds like how certain types of combos work in games like Street Fighter.
simonlc··on Bunnyhopping from the Programmer's Perspective
Bunny hopping was removed from competitive play with zblock, and later on made to be disabled by the server. CS has a whole other side to it where people don't even play on normal maps, and bunny hopping is part of it or the main challenge.

Continuing my point, during the development of Quake 2, bunny hopping was "fixed" but players complained, and it eventually got added back in. It remains a central part of Quake gameplay. Action Quake 2, a mod for Quake 2, had bunny hopping in it like Quake 2. The mod developers then moved on and made Counter Strike. CS featured bhoping prominently up until version 1.3.

These games have always lived and breathed bunny hopping, it has been a huge part of the game, and has influenced the creation of many games (CPMA, Warsow, DeFRaG, etc), and even started a new genre of game that requires of focuses on skilled movement.

simonlc··on True-color GIF with 32697 colors
Same thing in Firefox.
simonlc··on Playing Tetris forever
Someone used this pattern to make a very simple 'bot' with autohotkey, it is used here: http://www.youtube.com/watch?v=-aiXCnpXBfc

That game is event based, not frame based, so it is possible to put down multiple pieces in one frame.

Here is the same bot on a frame based game: http://www.youtube.com/watch?v=H1y_m1W-go8

simonlc··on Dive Into HTML5
Great book, always a good introduction to an HTML5 feature I need to use for the first time.
simonlc··on Flat UI jQuery Theme
The vertical align is off in his screenshot, but in Firefox it seems to be spot on. Also I wouldn't worry too much about the colors, that's about the easiest thing to change yourself.
← PreviousPage 4 of 5Next →