HNHacker News
TopNewBestAskShowJobs

b123400

181 karma · joined October 5, 2013

A dev from Hong Kong, live in Japan, makes iOS / Mac apps, websites.
submissionscomments
b123400··on Elm from a Business Perspective
Yeah I figured the "rules" to write a native module for a while, but there is no tutorial, no support at all, which makes me rather uncomfortable, and I am never confident with that code.
b123400··on Elm from a Business Perspective
You definitely have access to something we don't, and that might changes how you view Elm. For example a normal Elm user can only send/receive values to/from JS via ports, and that is not scalable, e.g. you are not suppose to use ports in library. But at NoRedInk I guess you have some sort of native module wrapper (https://github.com/NoRedInk/take-home/wiki/Writing-your-firs...) that we cannot access?
b123400··on Elm is Wrong
Wow, I never heard of that! Thanks, will check it out :)
b123400··on Elm is Wrong
I tried Halogen for a while and found it too complicated. I need to create a type with 6 type params (something like `ParentComponentSpec s s' f f' g p`) for embedding a child component! Also, most of the operations are wrapped in monad, which ultimately bring me back to the procedural way of thinking.
b123400··on Elm is Wrong
I have some similar thoughts when trying out Elm.

Every function that a language support/does not support shapes the ecosystem, and that is arguably as important as the language itself. With Elm, decision making is done by a small group of people and they can be quite opinionated.

I started when 0.15 is out, amazed by how beautiful FRP can be, then it is gone now. I cannot add / remove fields from dictionary, I cannot have multi-way if. My code base is still simple, so I can get around it, but I really enjoyed the good old FRP style. In JS, you can definitely choose your favourite frameworks, but in Elm, there is no alternative, there is only a single HTML framework `elm-lang/html`, if they decide to drop FRP, you cannot escape! This also means choosing Elm is also choosing to follow Evan, you are betting on a person.

I hope things getting better someday, we will have a standard JS interop that allows people to make their own 3rd party frameworks in Elm. Competition makes things better.

b123400··on Yarn – A new package manager for JavaScript
So many package managers, we need a package manager for that!
b123400··on JavaScript Conquered the Web, Now It’s Taking Over the Desktop
1. File size is a big hint. 2. Most of the electron apps doesn't replicate native elements completely, so you can guess it from tiny details like shape and shadow of text field. 3. It is also very common for their windows counterpart to look exactly the same.
b123400··on JavaScript Conquered the Web, Now It’s Taking Over the Desktop
When I choose softwares, I tend to choose native one over electron or JavaFX ones. It feels more native and more "sincere", like the developer really want to make it a good software. I know this logic doesn't make sense, but I don't mind paying more if it is native. It's like a handwritten letter, not a printed one.
b123400··on From web dev to 3D: Learning 3D modeling
I am always amazed by how motivated Pieter is, he seems to just do it whenever he has an idea. I have lots of friends saying/claiming that they have a new goal (e.g. diet, learn new things, work out, etc) and do absolutely nothing, then switch to another goal again.
b123400··on Swift Programming Language Evolution
While the language is nice, I find it hard to work with existing frameworks, given they are designed for a language as dynamic as objective-c. For example, NSError, NSNotification's userInfo is a `[AnyObject:AnyObject]`, but its member types are specified in documentation. It would be nice if we can have specific error will typed userInfo. Working with storyboard is the same story, there is no type check for VC and segue because identifier is a string, instead of something like `R.id.view` on android. Working with this kind of API requires lots of casting, I wonder will Apple design Swift-centric API later.
b123400··on Xcode 7.3.1 is available on the Mac app store
Glad that the XLIFF file import bug is fixed
b123400··on Do You Earn Less Than a Silicon Valley Intern?
I joined an internship in San Francisco last year, and surprised that they are only willing to pay me $1.5k per month, I later realized it's even lower than the minimum wage of SF. It is a small but funded company with less than 10 people.

A friend of mine even got an unpaid internship, because the J1 internship visa was considered as a return, and he "earned" the experience to work in SV.

I wonder how are the salaries distributed? How much do small startups like this usually pay? Standard deviation?

b123400··on Software error doomed Japanese Hitomi spacecraft
This, exactly. Stackoverflow does have Japanese version, and there are sites like Qiita for programmers to share knowledge. But the problem is most of the existing discussions are in English, and a Japanese version of the sites wouldn't help much except all contents are translated (not possible).
b123400··on Software error doomed Japanese Hitomi spacecraft
I work for a Japanese company and sometimes work with people from other companies as well. Most of the people around me avoid English at their best, therefore cannot not access to the knowledge on stackoverflow, also documents in Japanese are usually old or incomplete. Of course it depends on the field (e.g. Japanese documents of ruby on rails are pretty good), I am not sure about aerospace engineering, but I'd not be surprise if most of them feeling uncomfortable reading English.
b123400··on Ask HN: I've made a huge mistake; working in tech is killing me
How about joining NGO that you think it really makes the world better? Like Wikimedia / Mozilla?
b123400··on The Swedish Number – Talk with a Random Swede
I wonder how long will it last until it is filled with junk calls
b123400··on Thank you for ad blocking
"Full stack" is an alias for web developer nowadays, and I thought everyone kind of assume that. Btw if one shouldn't use the term "full stack" unless he is also writing operation system, then maybe anyone who doesn't write hardware driver is not full stack as well.
b123400··on A man overrides his camera's firmware to bring rare pictures of North Korea back
I went to NK few months ago, while they do check cameras on train, they didn't check anything at all when I leave the country via airport. They call this "internationalization", I felt a little bit stupid for encrypting all the photos I took.
b123400··on Bullshit Startup Experiences
We are working in a coworking space, but the CTO doesn't seems to like this idea at all, he keeps asking people in the common area to shut up.
b123400··on GitHub hit by DDoS attack
Did Baidu or its employee said anything about their script being used to attack Github? Would like to know how they think about it
b123400··on Snap webcam photos whenever your app crashes
No, it is not a function of the app, but a breakpoint action in XCode. It only works when you are debugging the app.
b123400··on Twitpic is shutting down
When is Twitter shutting down its API?
b123400··on Carota - Rich Text Editor With HTML5 Canvas
This is exactly what I have been looking for! Rich text editing in webpages is complicated, and I haven't find a good solution until now. Google doc ends up with thousands of divs and span elements, TinyMCE uses iframe. While both of them seem to work, they are not elegant and sometimes I experience bug with incorrect text cursor location.

Another reason I like about canvas implementation is the flexibility. I have been working on a text rendering engine for Japanese for some time, and found that DOM is simply not good enough for special layout. Here are some examples:

1. Writing direction. CSS does have the writing-mode property, but that doesn't work well in different browsers.

2. Ruby tag support in vertical writing mode sucks.

3. No browser supports hanging-punctuation yet.

More to be listed... It should be the browsers' job to fix these problems, but anyway, I finally end up with using canvas to calculate the position for every single character, that gives me flexibility that DOM doesn't have.

Keep up the good work!

b123400··on I Got Fired Last Week. That’s a Good Thing. Here’s Why
I think being a generalist is somehow better (or safer?) than a specialist.

Although you may not be able to find a position in a large company, small companies really need this kind of people. Maybe the salary isn't high, but it's relatively easier for a generalist to find a job. This can be important especially in the technology world where everything changes very fast. Imagine if you were a specialist in Blackberry making the best mobile hardware keyboard in the world ten years ago, you would not expect everyone uses touchscreen now, it would be difficult for you to find another similar job. Even if you are willing to give up on the aspect you are good at, and learn something new to chase the trend, it takes time as well.

b123400··on Twitter Quitters And The Unfiltered Feed Problem
Personally I don't think Twitter cares much about the quality of users' timeline.

Twitter doesn't provide any easy way to manage followings while keep suggesting people to follow, because promoted accounts will be unfollowed easily.

I am one of the user in the official popular users list in China region, but most of my tweets are Japanese. This kind of careless mistake should not happen if they had do a simple review before selecting me. I've ask them to remove me from the list, but they never reply.

They seems to encourage users to keep following, increase the quantity not quality.

← PreviousPage 2 of 2