HNHacker News
TopNewBestAskShowJobs

Rygu

814 karma · joined November 4, 2010

submissionscomments
Rygu··on New-less JavaScript (2013)
I use `delete object[key]` all the time to unset a property. I do think in the JS world the use of `new` is inconsistent, but avoiding the keyword does not rid of that fact. Your new-less libraries may be consistent with each other, but not the rest of the JS world that do it their own way. (http://xkcd.com/927/)

This seems like a problem the language should solve incrementally. Especially with ES6 classes and modules!

Rygu··on Google Calendar for iPhone
Loving the calendar+tasks hybrid view. It even resizes as you interact with either so you can fully make use of the available the screen estate. One can say it's "Touch-Responsive Design".
Rygu··on Show HN: Essential React, a minimal skeleton for building React apps using ES6
Last week I pushed my own isomorphic React starterkit to GitHub, where it was trending:

- https://github.com/RickWong/react-isomorphic-starterkit

The starterkit's focused on the build tools and overall ease-of-use. You can get started in less than 5 minutes. The included example showcases how the server & client work together elegantly to produce the page. The goal of the starterkit is to enhance productivity so there's one single cli command to watch and rebuild both the server with auto-reloads, and client with hot (instant) code updates. Everything happens automatically on-save.

Check it out, it just works. I'm looking for feedback.

Rygu··on For Asian Americans, a changing landscape on college admissions
According to you, it's even more racist then. Because, what about the asian students that come from poverty? Why is the adjustment (still can't believe they do this) based on ethnicity and not on the parents income or bank account?
Rygu··on What every programmer should know about solid-state drives
Also, make backups regularly.
Rygu··on How Google Inbox shares 70% of its code across Android, iOS, and the Web
You gotta be a little insane in a particularly good way.
Rygu··on Falsehoods programmers believe about addresses
Learning is important. Part of being a developer is that you must keep learning new techniques and facts that help you accomplish your goals or your clients goals. So I'm not saying we don't need to deal with internationalization, localization, and globalization. When the time comes, deal with it. I'm just saying there's no shame in being a developer with little or no expertise in those subjects. Many commenters here don't seem to acknowledge the many amazing technical things that developers generally do know about.

Thanks for taking the time to respond in words.

Rygu··on Falsehoods programmers believe about addresses
Developers can't know everything there is to know in the world. Developers aren't suppose to know specific stuff like this. Some parts of modern society are easy to digitalize, other (often historical) parts aren't. I think it's up to entrepeneurs to find ways to solve these problems, and create a better world by doing that. Don't blame/shame developers for stuff like this. It's not even remotely fair.

When you're training developers remember that you're not training demigods.

Rygu··on Show HN: Crapify, a proxy for simulating slow, spotty HTTP connections
If you simply need to test a website on a simulated slow connection, then Chrome Devtools. For all other purposes, this looks great!
Rygu··on PHP Install Statistics
PHP minor releases are bug and security fixes. But as long as the latest minor release fixed a vulnerability, in 99% of the cases, you can assume that all previous versions contain that vulnerability. (I know, I know, regressions do happen)
Rygu··on Generation JavaScript
If few people hate programming in Javascript then explain this to me:

https://github.com/jashkenas/coffeescript/wiki/list-of-langu...

Rygu··on Xbox and PlayStation hit by 'hack'
Perhaps legacy software is becoming the problem. In any system there's bound to be a dependency or any kind of use of a legacy piece of software with known bugs/exploits. Hackers identify these weakest links/weak spots and use these 0-days as entry points to breach the system further. As more systems are developed, it takes so much more time to track these weak spots, let alone maintain them.

So I think you're right. It's a miracle that the Internet even works. At all.

Rygu··on PHP CommonMark
It already implements count() and the corresponding interface so it's possible to write count($collection) as if you're writing $collection->count(). It's a valid question why this type of object needs two methods for checking the same property.
Rygu··on Merry Christmas to HN
No worries. That's why we have 2 Christmas days.
Rygu··on Merry Christmas to HN
At the moment now it's default orange again. Xmas theme turned off?
Rygu··on Merry Christmas to HN
Vrolijk Kerstfeest!
Rygu··on No more JavaScript frameworks
* HTML Imports

* Object.observe

* Promises

* HTML Templates

Sorry but IE8 support. Nuff said.

Rygu··on Show HN: One click image optimization for GitHub
Fun side-project, kudos. Also for humans: https://imageoptim.com/
Rygu··on With 5000 apps, Pebble is winning the smartwatch developer war, at least for now
Well if "Pebble" is a platform and iOS is a platform, my bet is that Apple already won this.
Rygu··on Amazon Unveils One-Hour Delivery Service
Just heard about Shyp yesterday. Seems like it's the same idea but selling the concept of regular people helping each other for a more personal service (like Uber, Lyft). I kind of like that approach. http://www.shyp.com/heroes
Rygu··on CSRF in Doorkeeper OAuth2 gem
This is why it's increasingly important to not only test your code, but also develop useful vulnerability scanners. I know, it sounds impossible to write a complete vulnerability scanner, but many companies would pay for such a thing.

Existing solutions are either lacking or way too difficult to operate.

Rygu··on Focusable – Set a spotlight focus on DOM element
Create a 5th div that exactly overlays the focussed element, and give the overlay an inset box-shadow. (You may need to pass through mouse events programmatically.)
Rygu··on “Was isolated from 1999 to 2006 with a 486. Built my own late 80s OS”
The truth. Take web development. If you're willing to look objectively at the state of HTML5 and the lack of feature support for browsers (that stick around), then yes we've established many good specs and communities, however for the enduser comparing it to Flash back in the days, nothing different. At least Flash development was easy.

goes back to building JS and CSS files with his frontend build system, and testing in IE8

Rygu··on Workflow for iOS
Ok, I thought it was an Apple product because of the (apple.com)
Rygu··on The Stick of Jan Sloot (2004)
I wonder where the investment money ("millions") went. Knowing that, probably means knowing the truth.
Rygu··on ASK HN: Where can I find NSA's first open source project NiFi source code?
I imagine the tags "government" and "open source". And if the answer to the question is "nowhere", then another topic is spawned.
Rygu··on Cantonese Proverbs in One Picture
Hilariously effective education. It's also a great display of the Cantonese' history, culture, and (wise) humor. Wonderful!
Rygu··on Go home Twitter, you're drunk
Seems that he was able to execute the "uptime" terminal command via that URL, and the output was served as page content. Now imagine what other dangerous terminal commands he could run.
Rygu··on Apple allows hot code push for JS downloaded and run by WebKit
This doesn't come as news to me. Every website can be shown via WK/UIWebViews as a "mobile app". Each javascript therefore is "hot code" being pushed. But I don't think Apple ever disallowed that, on the contrary it was the only way to develop for iPhone 1.
Rygu··on BitPay and PayPal
BitAuth is an overly complex system that's seriously standing in the way of mass developer adoption.

http://blog.bitpay.com/2014/07/01/bitauth-for-decentralized-...

← PreviousPage 3 of 6Next →