HNHacker News
TopNewBestAskShowJobs

xKingfisher

202 karma · joined July 19, 2014

submissionscomments
xKingfisher··on A68 iceberg on collision path with South Georgia
I was on the Ocean Diamond. Not the newest or nicest but still more than comfortable. And barely over 100 passengers, which is the max that can be on shore at one.

I can't say enough good things about Quark, they were incredibly professional and the expedition staff were all top tier. I still keep in touch with quite a few of them.

xKingfisher··on A68 iceberg on collision path with South Georgia
I went on a cruise through Quark Expeditions. We saw the Falklands, South Georgia, and Antarctica.

Going in Antarctica was what I was most excited about but South Georgia proved to be the surprise favorite of the trip.

If you have the time and the means I would highly recommend it. Especially because due to increased tour volumes the tour companies are starting to limit their activities to limit environmental damage. Starting this year they are limiting daily landings from 2 to 1 (or that was the plan at least).

xKingfisher··on A68 iceberg on collision path with South Georgia
I had the pleasure to visit South Georgia at the start of the year and it is one of the most wonderful experiences I've ever had. The island is beautiful and just teeming with life.

There has been a tremendous effort to help the ecosystem recover from the damage done by whaling. I don't know what can be done but I really hope the best for the island. It'd be a shame to lose it, both for a wildlife and for future generations.

xKingfisher··on Cats Cannot Taste Sweets (2007)
My old cat was obsessed with margaritas. It made zero sense.

One time I caught him licking a counter that I had just sprayed with a bitter lime deterrent.

Cats are weird.

xKingfisher··on Cats Cannot Taste Sweets (2007)
Interesting. On the rare occasion that I use a q-tip I've noticed my kitten would aggressively fish them out of the trash and chew on them.

I always figured that they were just fun to bat around. This explains a lot.

xKingfisher··on How We Built a Vectorized SQL Engine
A question I've never found a good answer to for columnar query engines is how to handle indexing.

For queries with very high selectivity it seems like any gains from increased cache-friendliness or SIMD would be erased by still needing to make random forward strides through the data.

The only solution I can really think of is to make the index point to a block of N elements and then take advantage of vector processing on the matching blocks. Have you run into this issue?

I haven't been able to find any examples of column SQL engine discussions that don't require whole-table scans.

xKingfisher··on Housing Can’t Be Both Affordable and a Good Investment (2018)
There was a fantastic post on this subject by an architect in the Los Angeles subreddit last year.

The general gist is that building requirements (parking in particular) make anything other than luxury condos financially infeasible.

https://www.reddit.com/r/LosAngeles/comments/6lvwh4/im_an_ar...

xKingfisher··on Why OO Sucks by Joe Armstrong (2000)
Well yeah, that's the expression problem[0].

With OOP I can add a new datatype easily, but when I want to extend the behavior of that type I now need to go to M different places. With a functional style I only need to do one. You're open on types but closed over behaviors. Functional styles are the opposite.

In some sense, I would even go as far as saying the idealized 'UNIX philosophy' is a degenerate example of this. We have a very limited set of types (the file) and a bunch of independently implemented behaviors. Imagine implementing sed or grep on a per-file (or per filesystem) basis.

These both get really interesting when you consider libraries/user extensibility, since unrelated actors could now add either new types or new methods. Most languages just punt on this by banning one or the other.

A pattern matching style would allow me to add a new sql() system call to query into the filesystem. Look at how much trouble there is adding new features to CSS, TCP, Java, etc trying to coordinate among so many different actors.

Or consider the case of a programming language AST. I can make a pretty printer, an interpreter, an optimizer, a type checker, a distributed program runner. But trying to do that with an OOP style is much harder for a large AST.

At the end of the day, we have NxM (type, behavior) pairs and there are pros/cons to each way of slicing them.

[0] https://en.wikipedia.org/wiki/Expression_problem

xKingfisher··on Google is buying Fossil’s smartwatch tech for $40M
Seconded. I really miss my Band 2.

The whole UI was incredibly well designed for the form factor. The app design guide was a very good read. I also liked how it wasn't trying to pretend to be a normal watch but with a screen.

I dabbled with Android smartwatches for a bit after, but they never were able to scratch the same itch.

xKingfisher··on DragonFly BSD 5.4
I'd be curious to hear more about your experience doing this. What hosting provider do you use? Most of the major ones don't seem particularly BSD-friendly.

I've always been tempted to try running my website off a dragonfly instance vs managed hosting, but it's a pretty daunting switch.

xKingfisher··on Automatic Differentiation in Machine Learning: A Survey [pdf]
The KLEE project[1] does something similar for general code, with symbolic variables.

[1] http://klee.github.io

xKingfisher··on Daryl Bem and the Replication Crisis
The Slate Star Codex has a good article on the same topic.

http://slatestarcodex.com/2014/04/28/the-control-group-is-ou...

xKingfisher··on Plastc will cease operations and will not fulfill any pre-orders
My dream for something like this is having everything on one card would let you manage the complexity a lot better.

Having one single interface to pay all bills and see spending breakdowns aggregated across all your cards, recommending the optimal order to pay down cards (if you are going to carry a balance).

Then on top of this, automatic fallback in case one card is declined, new numbers for every online transaction (not tied to a single provider).

You could even layer on top a simple scripting language to choose the card to be used for a given transaction. E.g. Use my rewards card when buying gas, but if I've maxed out the points then use the lowest interest card. Or round robin the cards to spread out the balance.

Or imagine a group outing where everyone can all combine into a single virtual card, with the ability to distribute charges however you want on the back end.

There are a ton of cool possibilities available (albeit very challenging to get right). And in theory, many people have at least 2 cards for redundancy purposes. Add in no fee rewards cards (Target, etc) and it will add up even for non hardcore points collectors.

xKingfisher··on Show HN: A multi-syntax programming language with bidirectional grammars
I actually built a prototype multiparadigm programming language for a class Alex taught using Ohm: http://chimera.kaseyc.com

It's a great tool.

xKingfisher··on Avoiding the Adjective Fallacy
My understanding from my algorithms class is that it is simply a matter of choosing your abstraction. Big O is meant to provide a general framework for qualifying and comparing algorithms free of machine dependent factors like execution time. It is not possible to account for every possible facet of every operation so some operations are chosen to be O(1) even though in reality they take multiple machine code instructions or have slightly varying real world performance. Saying array access is O(1) also does not account for different architectures or cache misses, which have major performance implications.

So in the case of arrays, since we do not need to read A[0] and A[1] to access A[2], it makes more sense to say it is an O(1) operation.

Another example is arithmetic. Addition and multiplication are considered O(1) operations for many algorithms even though multiplication is slower than addition. At a lower level, addition could be considered O(log n), since the binary representation of numbers has O(log n) bits of input. But the abstraction of addition as an O(1) operation is more useful at a higher level.

Also in Big-O, we drop everything but the major term, so accessing element 0 may be O(1.0001) while accessing element 20 is O(1.0003), they are both still considered O(1).

This is purely my takeaway from my undergrad algorithms class, so it may not be entirely accurate. Please correct me if I am wrong or misleading.

xKingfisher··on “It’s done, there is no way back. We tried, we failed”
From industry people I've talked to, browser/rendering engine teams have had success with and like ex game-engine developers, since the fields have a number of similar requirements.
xKingfisher··on Servo: Building a Parallel Browser [video]
As far as I know, there are no plans to replace Gecko, though they may pull in parts or ideas from Servo. Servo is still primarily a research project into parallelizing a web browser.
xKingfisher··on Announcing Rust 1.0 Alpha
You should still be able to use phantom types with empty traits or enums. Here's an article[0] (admittedly from ~6 months ago), about using phantom types in Servo.

[0] https://blog.mozilla.org/research/2014/06/23/static-checking...

xKingfisher··on On Interviewing as a Junior Dev
Yeah, I know I would want the rules explained to me. Personally, I think that it is a positive that an interviewer doesn't assume any extraneous knowledge on the candidate's part, since it prevents the candidate being in a position where they may feel anxious or embarrassed about asking for help or clarification, and lets them focus on demonstrating the coding abilities. It also presents a way to clear up any ambiguities right at the start.

Replace soccer with something like curling, or analyzing corn yields, or whatever obscure topic an interviewer wants to use to frame a question, and the interviewer's question comes across as perfectly valid thing to ask.

xKingfisher··on Rust 0.12.0 released
The most common case I have run into is storing a reference inside another data structure.
← PreviousPage 2 of 2