HNHacker News
TopNewBestAskShowJobs

286c8cb04bda

414 karma · joined October 31, 2011

submissionscomments
286c8cb04bda··on Warby Parker (or, Finding Broken Systems That Are Full of Money)
> A lot of this article rings completely false.

Such as?

286c8cb04bda··on Practical functional programming in JavaScript
There are an infinite number of circumstances where one would want 'first'.

In Lisp terms[1], 'first' is 'car', which, in conjunction with 'cdr'. With that combination recursive logic is regularly implemented.

[1] Some Lisps already include this alias.

286c8cb04bda··on Microsoft’s Downfall: Inside the Cannibalistic Culture That Felled a Tech Giant
> Link?

Go here: http://www.ussrphoto.com/Wiki/default.asp?ParentID=1

Check out the GOMZ/LOMO sections.

286c8cb04bda··on Microsoft Introduces New "Surface" Tablet
Yes, you are:

http://store.apple.com/us/product/MD098ZM/A?mco=MTY3ODQ5OTY

286c8cb04bda··on Netflix Quietly Smothers 3rd Party App Ecosystem
Those are called "hanging bullets"[1] -- It's a very old typographic convention that was up-ended by the default behavior of the web.

[1]: http://en.wikipedia.org/wiki/Hanging_punctuation

286c8cb04bda··on You Should Probably Send More Email Than You Do
> (The predicted future value of a customer is an odd duck for many SaaS companies. I’ll sketch out the shape of the curve some time. It’s a weird snake that requires a bit of explanation.)

I'd be very interested in hearing that bit.

286c8cb04bda··on Eric S Raymond's Setup
What monitors do you use?

I've tried that a couple times now, and always revert to having both horizontal because rectangular pixel shapes were messing up the font rendering.

286c8cb04bda··on Elon Musk entrepreneurship lecture.
> Of course what I say is just my viewpoint, and what you say is your viewpoint.

Yes, but many people do not recognize this part. After they speak their mind they will carry on as if those statements are an absolute fact.

When they recognize that they are voicing an opinion it signals to me, whether I agree or disagree, that they a likely to be the sort of person with whom constructive debate might be possible.

286c8cb04bda··on Of abusive behavior in programming communities
s/tenant/tenet/
286c8cb04bda··on My Biggest Temptation
I know what it is to be in need, and I know what it is to have plenty. I have learned the secret of being content in any and every situation, whether well fed or hungry, whether living in plenty or in want.

Even though I'm not a Christian, I'd certainly consider that valid advice.

When you are content to be simply yourself and don't compare or compete, everybody will respect you.

To this non-Taoist, that one seems pretty wise, also.

I try to consider the message, and not the messenger.

286c8cb04bda··on GM Says Facebook Ads Don't Work, Pulls $10 Million Account
Your description reminds me of the Target/pregnancy story from a February[1]. The evidence there proves it's possible. The question then: Is Facebook's data as good as Target's? For Facebook, certainly. Can they get away with exposing that information to advertisers? I'm not sure.

[1]: https://news.ycombinator.com/item?id=3601354

286c8cb04bda··on OpenShift by Red Hat
Redhat stopped targeting the "cutting edge" demographic about 10 years ago. They enlist them as QA for their real customers now.
286c8cb04bda··on Git-based fabric deploys are awesome
If you have 1000 servers and you're using Fabric to modify your init scripts, then I weep for you.

Well before you get to that level you should be using configuration management software (cfengine, puppet, et al.) to handle your servers.

286c8cb04bda··on Miso pays disputed $10k referral bonus to ex-engineer, apologizes
> Perhaps by not asking for his bonus, the employee lost his opportunity to make a claim, and cannot make a claim after resigning.

That would depend in the terms specified in the contract. If the entirety of the contract is the email message which says "We'll pay 10K for a referral that lasts 6 months", then it defaults to the contract laws in their state. I can guarantee that the contract laws of their state do not say "debts owed to employees are void after employment is terminated."

> How long is he allowed he wait? 10 years? 100 years?

Most, probably all, states also have a law defining what the limit on collecting a debt is. It usually falls between 3 and 6 years, and is considerably longer in a few.

286c8cb04bda··on Just say No to brainteaser questions at interviews
Intent is often irrelevant. If something is shown to have disparate impact on a protected class then it is likely to be ruled discriminatory, and therefore illegal, regardless of intent.
286c8cb04bda··on Once
It's available at: http://news.ycombinator.com/classic
286c8cb04bda··on On Why I Am Not Buying RubyMotion
Yes, you'll be typing Nu code in a Nu interpreter.

Even though it's a Lisp dialect, Nu was designed from the beginning to be interoperable with Objective-C, so translating between them is easy. (Convert brackets to parentheses and you're 80% of the way there.)

As a contrived example, this:

  if(![self.address startsWith:@"https://"])
    self.address = [@"https://" stringByAppendingString:self.address]
Becomes this:

  (if (not (@address startsWith:"https://"))
    (set @address ("https://" stringByAppendingString:@address)))
286c8cb04bda··on On Why I Am Not Buying RubyMotion
Aye, pretty similar. F-Script has some features that Nu does not (like the object explorer), while Nu is the only one that works on iOS.

The big difference is heritage: F-Script is Smalltalk and Nu is Lisp.

286c8cb04bda··on On Why I Am Not Buying RubyMotion
> How do I use the console to interact with my app in the simulator?

Nu builds as a static library. You need to include it in your project and link it into your binary to make it available. Then you'll need to instantiate a NuRemoteHost object after your application has launched.

Once it's running you can launch a Nu interpreter and execute NuRemoteClient to connect to the host you created earlier.

286c8cb04bda··on On Why I Am Not Buying RubyMotion
> ps2: How cool would it be to have a REPL console like the one in RubyMotion on the Xcode console?

You can!

Every time it comes up, I'm going to repeat this suggestion: Use Nu[1] as a REPL for iOS[2] and OS X[3].

[1] http://programming.nu

[2] http://groups.google.com/group/programming-nu/browse_thread/...

[3] https://github.com/timburks/nu/blob/master/nu/console.nu

286c8cb04bda··on Improving your (Python) code with modern idioms
How do you handle it when you need to convert, e.g., "American woman" to "femme américaine"?
286c8cb04bda··on RubyMotion pros and cons
> Maybe someone should take Squeak/Pharo Smalltalk and create a utility that can be used as a REPL working with the iOS simulator.

I'm gonna keep pimping it here on HN: Use Nu[1] as a REPL for iOS[2] and OS X[3]. I do all the time.

[1] http://programming.nu

[2] http://groups.google.com/group/programming-nu/browse_thread/...

[3] https://github.com/timburks/nu/blob/master/nu/console.nu

286c8cb04bda··on A review of RubyMotion
> I tend to like command line / REPL interactive development... but does this really add any significant benefit when making iPhone Apps? I would imagine if you have a lot of calculations or String manipulations involving non GUI/device interaction this could be handy.

You could certainly us it for GUI interactions. Take the MacRuby equivalent to:

    [[[[[[[UIApplication] sharedApplication] delegate] window] rootViewController] view]
That gets you the main view on screen, to which you could add or remove elements at your pleasure.
286c8cb04bda··on A review of RubyMotion
Somebody already did once[1], though it's gotten a bit out-of-date. It needs to be manually revised every time a new SDK comes out, so it's going to keep falling out-of-date.

[1]: http://www.vim.org/scripts/script.php?script_id=2674

286c8cb04bda··on RubyMotion - Ruby for iOS
That's a great example, thanks!

I did some looking, and I found a few[1] examples[2] of coroutines in Objective-C, though none of them seemed fully fleshed-out. Even if they were, none were, as you say, nearly as nice as "yield".

[1]: http://cocoadev.com/wiki/CSCoroutineTest

[2]: https://gist.github.com/1033477

286c8cb04bda··on The return of the Unix wars?
Apple has effectively abandoned[1] the server room. All of the 'Enterprise' features of iOS require Microsoft Exchange[2]. For the plebeians, they make of point of supporting what ever is most popular: The email setup has custom paths for Gmail and AOL.

[1]: http://en.wikipedia.org/wiki/Xserve

[2]: http://manuals.info.apple.com/en_US/Enterprise_Deployment_Gu...

286c8cb04bda··on Patching the Internet
I think the argument could be restated as:

CloudFlare, insomuch as it is encouraging people to use it's platform while is it under the jurisdiction of the American government when that government is demonstrating the behaviors is it demonstrating, is as equally culpable as that government for the type of events which we are currently expressing concern of.

Think of is as an attractive nuisance doctrine[1] for the Internet.

[1]: http://en.wikipedia.org/wiki/Attractive_nuisance_doctrine

286c8cb04bda··on RubyMotion - Ruby for iOS
What language features does Ruby have that Objective-C lacks? It's a bit more succinct, perhaps, but when you're calling out to Cocoa all the time, that succinctness is going to get thrown out the window.
286c8cb04bda··on Skype replaces P2P supernodes with Linux boxes hosted by Microsoft
Command line is good enough for me; Where can I find it?
286c8cb04bda··on Everything I wish someone had told me (about freelancing)
Business with significant capital get loads secured against that capital. Smaller or low-overhead businesses get loans personally guaranteed by the company officers (often against their personal assets) Or they get by with corporate credit cards (which they used to hand out like candy at the doctor's office) and work out separate payment terms with the vendor for any bigger-ticket items.
← PreviousPage 3 of 6Next →