HNHacker News
TopNewBestAskShowJobs

tsewlliw

261 karma · joined November 22, 2010

submissionscomments
tsewlliw··on Rails 4.0 rc1 released
Wow, that is a bunch of places to make the same change.
tsewlliw··on Rust will likely not support tail call optimization
Amusingly, "losing stack trace information" is among the reasons the JVM doesn't do TCO -- it needs to keep it around for the security manager to do its thing. Its especially annoying there because references are held by higher stack frames and prevent GC, and the destructor excuse isn't present.
tsewlliw··on Rust will likely not support tail call optimization
I'd vote getting to use RAII is a better win than TCO.

And really its by definition not a tail call when you have to run destructors after a "tail" call, and tricky/annoying to express that destructors should be run prior to a tail call.

tsewlliw··on Excel as a database
I don't remember exactly how, but yeah, you can totally do that. Set up your DB as a data source or some such.
tsewlliw··on Concurrency Models: Go vs Erlang
the PHP devs I know really seem to embody a culture obsessed with 'shipping' that I'm not sure can be matched, and I'm really a big fan of it for that, in spite of PHP's huge wackyness.
tsewlliw··on Logical fallacies
Read this as a list of effective ways to communicate your point beyond mere facts. If anyone has ever said your appeals are dry, sprinkle in these lightly.
tsewlliw··on Chicken Scheme
I'm totally going to read that.

Also, I'm really interested in the debug-ability of Chicken. Instead of a stacktrace, which sort of captures "where you're going", a stacktrace in Chicken captures "how you got here", which in conjunction with using immutable data structures would make the most absolutely amazing blob of data to be sent back by a customer - you could potentially restart execution with their data and step thru.

tsewlliw··on Chicken Scheme
The absolute most interesting thing about Chicken Scheme is the way it does allocations and garbage collection. I've wanted for a long time to make the time to add a always-on cpu and memory profiler to Chicken Scheme that just tallys the "return" addresses during the gc, meaning at each cg cycle you have a pretty darn good tracing profiler, and keeps the "return" addresses in cells when they are moved off stack, so at any moment you can blame your memory usage on particular code. Clearly you could do this sort of thing with a lot of runtimes, but Chicken's design really lends itself to it.
tsewlliw··on How can I tell if a plant given to me is patented?
Sucks for them, innovation doesn't always come at the right time for a big payday. But their payday can still be fantastic without (to my mind at least) ignoring what kind of activities patents are supposed to protect.

RR crops still boost demand for roundup and clones, competing on brand is a valid and proven strategy, and you can still sell RR(tm) branded seeds that you guarantee are roundup ready at perhaps a lower markup. And you can target your next herbicide immune crop at a patent protected herbicide.

tsewlliw··on How can I tell if a plant given to me is patented?
Monsanto already has a great incentive to make things "roundup ready" - they can sell more roundup as a result. They've done something of debatable patentability that drastically increases the value of their existing assets. If you want to milk it for more, raise the price of roundup, which as a fancy chemical cocktail that isn't self reproducing, is much more viable for patent and trade secret protections.
tsewlliw··on Introducing Sodium, a new cryptographic library
you can chroot yourself away from access to /dev/random
tsewlliw··on Ruby 2.0.0 Released
Wow, that reminds me of the classloader magic Eclipse/OSGi does so that plugins that depend on different versions of the same library can work together in the same JVM.
tsewlliw··on Using a Hosts File To Make The Internet Not Suck As Much
it does wait for a timeout, so "route" was poorly chosen. it just wont get anywhere on most configurations because they respect the 192.0.2.x is examples only convention.
tsewlliw··on Using a Hosts File To Make The Internet Not Suck As Much
for domains you don't want to route try 192.0.2.x - that range is reserved for examples and won't end up with spurious requests to stuff you're running on localhost.
tsewlliw··on Good sleep, good learning, good life
"Safe Sleep". Hopefully that campaign of education will eliminate the idea that these infants are just randomly dying and promote -- the mechanism is not unclear, just nobody wants to tell a grieving parent that they are responsible for death of their child.
tsewlliw··on Mistake found in invariant subspace proof
I'm curious, but I think I'd need a practical example
tsewlliw··on PHP needs a vision
> But if you want to go beyond a simple CRUD-app, Ruby poses a lot of challenges that can be hard to solve whereas PHP, well, just works.

I write PHP professionally. I like PHP programmers. I'm starting to have a soft spot for PHP. PHP and its standard library are a minefield.

tsewlliw··on _why's site is back up
> If he didn't want people to snoop he wouldn't have given them something to snoop into.

This remark is rather parallel to "she shouldn't dress that way...". If doing something makes some people behave like creeps, its generally the fault of the creeps. And if the would be mystery man is prepping something, I'd rather he unveiled it than a cabal of creepers.

tsewlliw··on BLAKE2, an improved version of the SHA-3 finalist BLAKE optimized for speed
fast hashing is bad for storing one way functions of passwords because it makes them easier to attack and make many guesses about the original value from the transformed value, hence all the noise about using slow "key derivation functions" instead. for all other common use cases, faster is better, all else equal.
tsewlliw··on The 10X Developer In You
if you can't fizzbuzz you are a 0x or worse programmer, or need to find some anxiety meds before your next interview.
tsewlliw··on Congress Is Quietly Abandoning the 5th Amendment
Wow, this is truly absurd. Just the other day an article at theatlantic.com was posted here (http://news.ycombinator.com/item?id=4935679) and it was advocating exactly this kind of constitutional circumvention behavior.

I think this is the business model devaluing the product. "the Atlantic" both in name and typography wants to evoke a newspaper, but the internet broke the model that allowed newspapers to do real journalism.

tsewlliw··on No, Really, Regulate the Bullets
Its not about statistics. If it were, we'd be contemplating things like taxing food in inverse proportion to its nutritional content and glycemic index.
tsewlliw··on No, Really, Regulate the Bullets
That article is utterly unimpressive, and its attempt to be smug at finding a "loophole in the constitution" is absurd.
tsewlliw··on Code Reviews should be the universal rule of serious Software Development
Reviews are undeniably important. I've spent a far above average time on this problem when I was on the dev team for CodeCollaborator so I feel qualified to suggest:

a) its a code review, not an author review

b) be respectful of your reviewer's time:

1. 200 lines is a big review obligation, 500 lines should be a hard maximum. Remember that boilerplate code does have meaning, and it counts. If you can't make time for reviews, then don't rubber stamp, just don't review.

2. Run whatever automation and analysis is available to you before submitting for review, and fix what it tells you to fix or note the trigger and document why its a false alarm.

3. You may count unit test code at 1/3 the normal rate, and even get 50 lines totally free. This relieves the burden of mentally running your code, and makes it easy to request additional test cases, which will be easier on your ego than bugs.

All the big problems people have with code reviews are about checking your ego, respecting your peers, and clear communication.

tsewlliw··on Pushing Nginx to its limit with Lua
That sounds interesting. Want to post your writeup of your experience with it?
tsewlliw··on A Funny Thing Happened on the Way to Academia
I really like knowing that there are people dedicated to thinking deep thoughts. There was a recent potential proof published on a tough math problem, and apparently the author had gone dark for 15 years creating a fantastic mathematical universe and vocabulary all on his own. Thats worthwhile. Maybe not for everyone to go off doing it, but definitely for some.
tsewlliw··on How to Run a 5 Whys (with Humans, not Robots)
Brilliant, I've definitely struggled before with how to get people to 1)not worry about being blamed and 2)claim they won't repeat a mistake. This is totally actionable, thanks!
tsewlliw··on Musk's Hyperloop
Perhaps I am just much more impressed with the last 30 years than you. I'm not a point-by-point rebuttal man, but its very tempting. Try thinking about the massive changes if you don't limit radical progress to being in a straight line going the direction you want.
tsewlliw··on Brainfuck interpreter written in the C preprocessor
If there's a recursion limit, can you not write a program that fails to terminate?
tsewlliw··on The Dangers of Code Review
I would suggest changing the title to "the dangers of not fixing problems found in code review", the very first example shows code review being an effective means of finding problems, and the presumption is that they just let the problem slide instead of refusing to merge the change until it was fixed.

The problem of changes being to big ... is another instance where you're ignoring the results of the code review. "This change is too big for me to review effectively" is a 100% legitimate problem with a change. The change should get rejected on that basis alone.

← PreviousPage 2 of 5Next →