HNHacker News
TopNewBestAskShowJobs

stuffihavemade

216 karma · joined April 28, 2011

submissionscomments
stuffihavemade··on Burner Phone
You know that Walmart, and gas stations, and bodegas sell these already right? That's why this is a bad idea. Not only is this less anonymous from buying from Walmart, but it's more expensive as well.
stuffihavemade··on Duck Wrapping
To expand a bit on with tikhonj is saying, consider the type signature of map:

map :: [a] -> (a -> b) -> [b]

In an implementation of map with this signature, the only way to get a list of b's is to use the function passed in. So, there's no way to do the array unwrapping shenanigans from the js example.

stuffihavemade··on Why It's Time to Sunset jQuery
Almost no-one really needs to write code like your “bad” example today, and even if they do, it’s the sort of thing you only do once and wrap up in your own library so you can reuse exactly the ideas you need and optimise it using the same tools as any other JS you write.

If you're going to do that, it'd be good to open source it so other people can take advantage of it. Maybe abstract out some other cross browser stuff as well. Also, it would cool if it made the DOM api nicer to work with.

stuffihavemade··on Akka design patterns – Scala actors
Have you experimented with typed channels (http://doc.akka.io/docs/akka/snapshot/scala/typed-channels.h...) at all? I've played around with them, and they seem to work pretty well, but don't seem to compose with the other "extensions" (e.g. the FSM one)
stuffihavemade··on UCSD Computer Scientists Develop Video Game that Teaches How to Program in Java
So, I just tried this out. I think it would be a lot more user friendly if you could see what "spells" are available when making a new spell (i.e. have auto completion in the text editor). It's a pain to have to look at the spell book, and limits experimentation.
stuffihavemade··on Coinbase Merchant Data Leak?
That wouldn't do anything. If it's readable, it could be OCR'd.
stuffihavemade··on Meteor 0.6.0: brand new distribution system, app packages, NPM integration
So, does this mean meteorite (http://oortcloud.github.com/meteorite/) is now obsolete?
stuffihavemade··on Steve Jobs' first boss: 'Very few companies would hire Steve, even today'
Plus, who's to say he wouldn't have cashed out at some point during the downward spiral in the 90's?
stuffihavemade··on I Bought A Firetruck
How does that work zoning wise?
stuffihavemade··on Ask HN: Does anyone know what's going on at Coinbase?
It's absolutely insane if they are using Mongo as their source of truth (and not say some kind of caching layer). If there is one thing that should be ACID, it's financial transactions.
stuffihavemade··on Show HN: Heap is a new approach to analytics. Just capture everything
If they can sell successfully at that price point, I'd consider starting a competitor and undercutting them.
stuffihavemade··on Designing a RESTful API That Doesn't Suck
You could use PATCH instead (which Rails will be using in 4.0).
stuffihavemade··on Designing a RESTful API That Doesn't Suck
No, POST for create and PUT for update is correct. PUT is supposed to be idempotent.
stuffihavemade··on Designing a RESTful API That Doesn't Suck
How about the most important concept, http://en.wikipedia.org/wiki/HATEOAS ?
stuffihavemade··on Show HN: Webflow - Design responsive websites visually
Did/have you considered making this into a native application? I can see this competing with fireworks, but not if it's web based.
stuffihavemade··on Pharo 2.0 Released
Ah, I see. I stop by seaside.st every once and a while, and it doesn't seem to have been updated with any new news for a long time. It would be cool to mention some of these developments on its front page.
stuffihavemade··on Pharo 2.0 Released
Is Seaside still being developed? Seems that it died out with DabbleDB being bought up and the take over of the client side js frameworks.
stuffihavemade··on Is The Death Of JavaScript Upon Us, Or Is A Transformation Underway?
"Startups identify with JavaScript. When you’re just starting out, you need to be dynamic. You need to be flexible. You need to be able to bust out a prototype that just works, and you need to be able to change it on a dime without recompiling your code. JavaScript was once the startup of the browser wars, and it crushed Java and Flash for the same reasons that startups have the ability to disrupt markets and displace the established players: agility and flexibility."

What nonsense.

1) " When you’re just starting out, you need to be dynamic. You need to be flexible. You need to be able to bust out a prototype that just works, and you need to be able to change it on a dime without recompiling your code."

Unlike Perl, PHP, Python, Ruby, any of the Lisps, Lua, etc.? The real reasons js is interesting on the server side is code sharing and node's (flawed) concurrency story.

2) "JavaScript was once the startup of the browser wars, and it crushed Java and Flash for the same reasons that startups have the ability to disrupt markets and displace the established players: agility and flexibility."

Comparing apples to oranges. Also, the term "browser wars" means browser vs. browser, not embedded scripting language vs. plugins.

stuffihavemade··on Ask HN: How do I begin web development without local files?
Just curious, why can't you get a computer? You'd be better off with even a 10 year old model than an iPad, if for no other reason than having a keyboard.
stuffihavemade··on Strikingly Creates Simple, Beautiful Web Sites in Minutes
That logo has some major (anti aliasing?) issues on the edges of its letters.
stuffihavemade··on Show HN: UI stickies for web, mobile paper prototypes
Is there something to try? It looks like you just want my email.
stuffihavemade··on Linux cheat sheet
ls -a should be ls -la if you want "maximum information" (not really maximum)

Also, ifconfig is deprecated.

stuffihavemade··on Things Java Programmers can learn from Clojure
http://www.haskell.org/haskellwiki/Template_Haskell
stuffihavemade··on Meteor in the Wild: How I Learned to Stop Worrying and Love Reactive Programming
What are the advantages to using Meteor over Rails/Django/Express, etc., for a dating site? Sure, the client server model is compelling, but you're giving up not only the Ruby/Python ecosystem, but the Node one as well. Did you consider something like Derby.js, which uses npm and is built on express?
stuffihavemade··on The new SimCity
Whoa, you weren't kidding: http://cdn.arstechnica.net/wp-content/uploads/2013/03/city-o...
stuffihavemade··on Monads explained by Eric Lippert
What do each of these equal?

  1) Just 1 >>= \_ -> Just 2

  2) Just 1 >>= \_ -> Nothing

  3) Just 1 >>= \_ -> Nothing >>= \_ -> Just 2

  4) Just 1 >>= \x -> Just(x+1)

  5) Nothing >>= \x -> Just(x+1)

  6) Just 1 >>= \x -> Just(x+1) >>= \x -> Just(x+1)

  7) Just 1 >>= \x -> Just(x+1) >>= \y -> Just(x)
If you can answer all of those correctly, you should have a decent understanding of monads.

answers:

  1) Just 2

  2) Nothing

  3) Nothing

  4) Just 2

  5) Nothing

  6) Just 3

  7) Just 1
stuffihavemade··on Ask HN: Why not build CRUD app generators and be done with it?
What stuff are you thinking of specifically? The biggest web time waster to me is the culture of "every site must look unique". Tools like bootstrap mitigate that to an extent, but using them heavily makes your product look amateurish. On the other hand, your application looks and feels amateurish if you don't use Cocoa, or WPF, or Qt/Gtk natively.
stuffihavemade··on Ask HN: Why not build CRUD app generators and be done with it?
A lot of CRUD apps (especially enterprise ones) are icebergs. From the user's perspective, the application is fairly simple, but there is a ton of business logic behind the scenes. Something like Rails provides an easy way to serve the "real" program on the web.
stuffihavemade··on The Rise Of The Artist
Thanks for the clarification. I actually watched "objectified" - http://player.vimeo.com/video/50944978 today, a good documentary about industrial design.
stuffihavemade··on Harlem Shake JavaScriptifed
He/she is referring to that this fake Harlem shake from youtube has nothing to do with the real Harlem shake, a dance that's been around for 30 years.

Also, the term "trap music" for that electronic music isn't the original trap music either, see http://www.youtube.com/watch?v=GfPjYdef1lg

Page 1 of 4Next →