Better HN
topnewbestaskshowjobs
Log inSign up

sjs

3,189 karma · joined Apr 9, 2007 (19y ago) · 1,087 submissions

i make computers do things

twitter: _sjs

[ my public key: https://keybase.io/samsonjs; my proof: https://keybase.io/samsonjs/sigs/h0ncMbrjLl-19hSn1MR0uCpq2dkec4dYwwftFchsPU4 ]

Submissions

comment 3y ago · link · parent

Plus Shopify and GitHub must drive most development of Rails so it’s basically an in-house dependency to some extent. I know that’s simplifying things.

comment 4y ago · link · parent

Users care they just don’t know why many modern websites are bad websites. Every website is now an app whether that actually makes it better UX or not.

3.

Shopify CEO says long hours aren't necessary for success(twitter.com ↗)

552 points · by sjs · 6y ago · 238 comments

comment 8y ago · link · parent

In some countries what you read may be sensitive info for many people.

comment 10y ago · link · parent

Touch screens and gestures for one thing.

comment 11y ago · link · parent

Time Machine + SuperDuper! clone + Backblaze + Arq (to S3 Glacier). I'm ready for meteors, bring it on.

comment 11y ago · link · parent

I have to fly or take a ferry to get to an Apple Store. There isn't one on Vancouver Island. So it's great when you can get to one, but if you can't the support is not so good.

comment 11y ago · link · parent

Please put dates on things that are published. It can be important information for readers. Leaving off dates is frustrating and doesn't make the content any fresher in any way.

comment 12y ago · link · parent

Simpsons did it. https://en.wikipedia.org/wiki/Treehouse_of_Horror_XII

comment 12y ago · link · parent

I have the fastest upload available in my area (5 Mbps) and my initial backup may have taken a month or two for something to the tune of 900 GB. You certainly don't need 1 Gbps to backup remotely but 500 Kbps might not be quite enough.

comment 12y ago · link · parent

Code is text last I checked. I see what you're getting at, but "text editor" encompasses that already. For everyone I talk to anyway.

comment 12y ago · link · parent

It's a crummy pattern. broccoli.js FTW!

comment 12y ago · link · parent

Colloquially they are synonyms. Especially amongst people who don't make software. It's not derogatory and not worth getting bent out of shape about.

BUT ... (Bet you saw this coming)

Coders turn detailed specs into code. No real thought required.

Programmers, or software developers, design systems and code them themselves.

That's the distinction I make anyway. I've seen coders at some workplaces. It's a dreary job and I would never do it.

comment 12y ago · link · parent

I had a Creative Nomad jukebox and it was so bad I went back to an MP3 discman (all the while laughing at the $500 iPod). I had never owned an Apple product. After trying a Mac I saw first-hand that Apples makes great products so I tried an iPod and loved it. Not because of marketing or advertising. People who claim that Apple is successful because of marketing – and think Apple's millions of customers are brainwashed – are the ones who are brainwashed.

comment 12y ago · link · parent

Anand is excellent, but he looks at things and writes from a completely different perspective. They are not comparable in my opinion.

comment 13y ago · link · parent

That is not a popular stance. See cable television.

comment 13y ago · link · parent

His wife is a pro photographer but he is not. He just gets to play with high end equipment because it's available to him.

comment 13y ago · link · parent

Facebook has dealt mainly with software till now, but look at all the projects Google has tackled. Self-driving vehicles, fiber Internet service, blanketing cities with wifi, Google Glass, fighting for net neutrality. Google has the talent, bank roll, and ambition to tackle something monumental that spans hardware, deals with regulatory overhead, involves a lot of on-the-ground grunt work, etc. Apple has the resources to tackle such problems as well but hasn't shown the will to do things like street view or fight for net neutrality, which is probably why people think of Google more than Apple when they think of such problems.

comment 14y ago · link · parent

More outdated than unconventional.

comment 14y ago · link · parent

The easiest and naive way to fix that is to buffer the whole thing. Don't use this to do `ls-comma -lR ~`, but only on small directory hierarchies.

https://github.com/samsonjs/bin/blob/master/ls-comma

It's a disgusting hack and it works very well. I didn't find anything useful in the man page so I wrote this instead. Looks like there is something in the man page but I think my hack was probably faster.

comment 14y ago · link · parent

You can check for many things on either side. Even if you're paranoid checking 2-3 of these should suffice. There's nothing bullet-proof if someone is trying to fool the test.

In the browser: window, window === this, document, navigator, many JS APIs such as Audio, Canvas, many DOM and CSS objects, etc. The top level is littered with these things.

Node: module, process, require.main === module, Buffer.

comment 14y ago · link · parent

The definition you're looking for in this context is: Glib; flippant

comment 14y ago · link · parent

Racist?

comment 14y ago · link · parent

It's most common use is to take some stuff on stdin and then use those as arguments to a command. Here is a fancy way to do `ls * `[1] using xargs:

    find . -print | xargs ls
`find` dumps the results to stdout, the pipe shuttles `find`'s stdout to `xargs` stdin, `xargs` uses its stdin as arguments for `ls`.

(Don't run this in your home directory)

[1] Pedants will realize this is actually equivalent to `ls .* *` as hidden files are found by `find`.

comment 14y ago · link · parent

No, they have <thing> and <thing data> tables for each entity. This is a grave misunderstanding of what was actually said.

comment 14y ago · link · parent

> Window and Linux applications are not disposable, they can be launched more than once.

But when the last window is closed the application quits. What if I want to keep it running because I will switch back and open something in a minute? On Windows & Linux I have to launch the app again.

I'm not arguing for one or the other here, just illustrating that this argument is based on familiarity not one actually being better than the other. Each has pluses and minuses.

comment 14y ago · link · parent

It sounds like you expected a clone of Windows and were predictably disappointed.

> I got maybe three hours of the supposed 7 hour battery

You should have taken it back. Seriously.

> Perhaps I'm set in my ways

You hit the nail on the head here. There's nothing wrong with that but most of your complaints amount to "this is not what I am used to".

> the absolute insanse window switching behavior

On Windows and Linux I cannot switch to an app bringing all windows to the front, I have to do it one at a time. Anyone used to one behaviour could claim the other is insane just because it is different.

> the piss poor excuse for a terminal

What on earth are you talking about? The Terminal app? Get iTerm2 or something else then. If you don't like gnome-terminal you don't whine about it, you just install urxvt or whatever.

> the fact that apps continue to run in the background after you close the last window

The fact that you have to have visible windows for an app to run on Windows and Linux could be perceived the same way. What if I wanted to switch back and use that app again?

comment 14y ago · link · parent

> It's silly to pretend that Mac is somehow perfect in these matters.

Straw man. Nobody said OS X was perfect.

> In my experience it's only been marginally better than Linux, if at all.

I used Linux on my desktop for several years and have now used Macs as well for several years. I won't say this is bullshit because I don't think you are lying about your experience, but I think you are extrapolating way too far.

> And with Linux you have some hope of finding a solution, whereas for OS X you're pretty much hosed.

Forums and mailing lists are "hope for a solution" while the genius bar is "pretty much hosed"? How on earth did you arrive at this conclusion? That just doesn't seem reasonable.

12345
37