HNHacker News
TopNewBestAskShowJobs

hawleyal

214 karma · joined August 5, 2012

submissionscomments
hawleyal··on Apparently transparent – CSS3D HTML5 Experiment
You should not center things vertically.
hawleyal··on My Love-Hate Relationship with Stack Overflow
I am constantly amazed how mods can find a duplicate I could not, and I consider myself a fairly savvy googler.

Edit:

Instead of forcing RTFM on every new user, I don't see why new users should not have immediate tryout without reprocussions and learn the guidelines from a kindly mod or other user replying with a reason why their question is not appropriate/duplicate or whatever. That is the point of upvotes/downvotes and active moderation. This is a learning community, not a cadre of elitists.

hawleyal··on My Love-Hate Relationship with Stack Overflow
Curious about your reaction to this article. Have an opinion?

Or is that too off-topic/closed as not constructive? /s

hawleyal··on Sriracha CEO on why he chose not to trademark the brand
Sriracha is the product brand (e.g. Mountain Dew). Huy Fong Foods is the manufacturer brand (e.g. Pepsico). But like kleenex and saran wrap, it has become a generic term. Sriracha is a proper noun, but is slowly becoming a common noun.
hawleyal··on Banks Paid $32.6B in Bonuses Amid U.S. Bailout (2009)
Well, we all gave it to them. :/
hawleyal··on WikiGalaxy: Explore Wikipedia in 3D
WHy can't I click-drag after selecting an article?
hawleyal··on I have no idea what I'm doing
You're pretending like human shelters are somehow different.
hawleyal··on I have no idea what I'm doing
Does the fact you can communicate why you think do something mean you could have changed your decision?
hawleyal··on Is your programming language unreasonable?
Even JavaScript, which is much maligned for it's poor implementation of dynamic typing, has clear rules for type coercion.

In the author's example in support of "Variables should not be allowed to change their type," the variable "x" is subject to coercion, but the real problem was poor scoping by using the global value instead of the parameter.

This would be the same scoping problem, even if the variable type was not changed. Any non-deterministic function that modifies existing state can be said to produce unexpected/unpredictable/unreasonable results. In this case, the unpredictability was not due to a variable changing type.

hawleyal··on Is your programming language unreasonable?
> How to make your language predictable: > 1. Variables should not be allowed to change their type.

Completely disagree.

hawleyal··on I have no idea what I'm doing
I don't see how you can experiment with functionality by writing tests at all. Tests are basically just pseudocode. It's writing the requirement/interface before figuring out what is possible.

For example. I was recently trying to figure out how to make an autocomplete list faster, as the database was too slow. I already had a functional test taking in search parameters and returning results. But there would be no way to write a test for the actual implementation of the indexed/faster search classes until I figured out a real approach. In the beginning, I had no idea if this would require a separate daemon process to do indexing, or if it could index realtime, or caching, or memoization, or where it might need to keep an index once created. These are just a couple of the unknowns. Once I figured out a workable concept, I wrote tests for those classes and functions. Then I refactored multiple times, altering the tests accordingly.

hawleyal··on I have no idea what I'm doing
I know TDD has been discussed to death. However, I disagree completely with TDD encouraging creativity and material exploration. In my opinion, small, iterative increments are much more useful. Creating a test puts a tight box around how you assume (without any experimentation) an interface should work. As opposed to a tiny iteration to learn about how it could work. Then writing a test after for that tiny bit. Finally, moving on and refactoring with the test in hand.
hawleyal··on I have no idea what I'm doing
Go further. All things behave this way. You were compelled to comment given your current circumstance, your particular makeup of cells and electricity sitting in your chair typing, blah blah blah. The beaver knows it's building a dam insasmuch as anyone else knows what they are doing.
hawleyal··on What Color Is Your Function?
> Java, Lua, Ruby

These are all under the general term threading. You still have to pass messages or set up semaphores to use them. The code is still separated between main and sub/worker/thread.

> Go HTTP server

Every HTTP server lib handles requests in this way.

You cannot write an HTTP client, however, without explicit asynchronous code like callbacks, threads, or what have you.

hawleyal··on What Color Is Your Function?
Seems like there are couple things going on here. Accusation that asynchronous implementations in all languages are problematic, with which I don't think anyone would disagree. Suggestion that threads are way better than other asynchronous implementations. I don't agree that makes things better or somehow different. You still have disjointed code. I would add this as a third to Fowler's famous quote about two hard things (cache invalidation and naming things).
hawleyal··on A Quiet Defense of Patterns
I disagree. Patterns are often just used as a way to work around the limitations of expression in a given langauge. Sure, they can be useful. But in the long run, they are not the goal, they are the unfortunate means to an end.
hawleyal··on Why Privacy Matters Even If You Have 'Nothing to Hide' (2011)
I think you're right, the author doesn't cover those collaterally affected by secret information. However, this is outside of the author's main point.

The author is focusing on the principle privacy is not just about secret keeping things secret. Your example of people who may collaterally affected falls under this category. It's just an example of using the word private to equate secret.

hawleyal··on Why Privacy Matters Even If You Have 'Nothing to Hide' (2011)
Universities, employers, and insurance companies already do that.
hawleyal··on Long term support considered harmful
I think the author is advocating that those scenarios should converge. His argument is that second scenario is an anti-pattern and should be corrected to be more inline. It might be a pipe dream, but it's still his perspective.
hawleyal··on Everyone’s stealing jokes online. Why doesn’t anyone care?
Always downvote reposts. OP's sexual preferense should also be questioned.
hawleyal··on Everyone’s stealing jokes online. Why doesn’t anyone care?
Semantic nonsense.
hawleyal··on Coding is not the new literacy
Reading/writing and comprehension/composition are the same thing. The author is just attributing specific meanings to those terms to draw superficial semantic differences. Reading is just another word for comprehension.

Only a narrow view of reading would be limited to the physical act of moving ones eyes across a page.

Similarly, the word coding is often used to describe a plethora beyond typing if statements and for loops.

The author does have some good points despite this problem, but the entire hypothesis is based on a weak argument of semantics.

hawleyal··on An experimental real world adblock
I'm not sure I agree. A visible logo/brand being itself an advertisement maybe a side-effect of the logo/brand being prominitantly displayed, but I would argue that it is more identification than advertising.

The difference becomes apparent when considering soda pop bottle versus a high-end dress shirt. The soda-pop bottle is a trivial purchase, and is generally available among many other brands offering the same thing. However, the shirt may be purchased with more effort and care, and is generally available among other clothing from the same brand.

The brand on the bottle offers identification of the individual item during purchase and later during selection for drinking. No matter if it is found in a bin among bottles from other brands, or within a section containing only bottles from one brand. Bottles are also discarded after use, so they are not identified individually, but merely as one of many copies. I have several bottles of soda pop, some Coke some Pepsi. The brand is still very relevant.

A shirt on the other hand is probably accompanied by an entire section of clothing for the same brand, and does not need individual identification. Even more so during selection for use, shirts are generally owned by a single person and cared for individually. I only have one pink broadcloth shirt, and it happens to be from Banana Republic. The brand is not as relevant.

No?

hawleyal··on The rise of fake engine noise
I would generally agree about the origin of noises and their alternate purposes.

However, I would also suggest that it is a very strange, unearthly, or extrordinary phenomenon to have such a massive and fast-moving thing traversing in such silence.

For example, there are not elephants that travel so silently that they may accidentally trample rodents underfoot.

Alternatively, though, outerspace and underwater, things are much less certain regarding the danger of large masses moving quickly.

hawleyal··on Hands-On with Microsoft's New Holographic Goggles
Hologram/holographic is already a word. It has a very specific meaning. It is not a new conjured word like Walkman or Iphone, which were just one implementation of a portable tape player or smart phone.
hawleyal··on Command-line tools can be faster than your Hadoop cluster
Flamebait
hawleyal··on New police radars can 'see' inside homes
I think it's not "fuck privacy", but merely realizing there wasn't really privacy to begin with. More like "privacy is an illusion".
hawleyal··on The Mathematics Community and the NSA [pdf]
To be fair, these are the operating directives of his employers. I imagine it's hard to be a completely objective mathematician when your work is actually used to affect substantial political change IRL.
hawleyal··on Google discloses another Windows security issue after deadline exceeded
That is not providing information about how to protect against the vulnerability regardless of a patch from Microsoft. Full disclosure is the only way to go.
hawleyal··on Apple, Your Developer Agreement Tramples on Free Speech and Innovation
Disagree
← PreviousPage 4 of 13Next →