HNHacker News
TopNewBestAskShowJobs

hashmal

731 karma · joined April 19, 2013

submissionscomments
hashmal··on A Steve Jobs masterclass from a decade ago
currently it's about the "master/slave" dichotomy, not about "master" in the "skill mastery" sense.

I think you're on something though. There will be no end.

hashmal··on Dark Web Price Index 2020
Don't give everyone the secrets! ;)

Joking appart, my question wasn't to learn about drug prices for "practical use". I just think it's an interesting subject: how the web changes underground/illegal markets, what impact it has, etc.

There are lots of counterintuitive things in that field (look at how Portugal handles it), which makes it even more interesting to me. "war on drugs vs war on drug users".

hashmal··on Dark Web Price Index 2020
How can you build a dark web price index and not mention drugs at all?
hashmal··on Sampler for Mac Touchbars
Interestingly enough, my experience has been the opposite. I liked the concept of the Touch Bar at first, then got one with a new macbook. I liked it at first, but the more I use it, the more I hate it. Yes I spent time using it, yes I customized its icons, yes, yes, yes. It's been more than 2 years I use it all day long. My next macbook will be the Air one, just so I don't have to use the Touch Bar again.

And I'm not even using F keys on regular keyboards.

hashmal··on Shoes
They don't have the same precedence.

    foo bar { ... } # bar receives the block
    foo bar do ... end # foo receives the block
The later, paired with the non-mandatory parentheses for calls, allows to read and write some really neat stuff.

The former is most often used for one-liners indeed.

hashmal··on Six eBay executives and employees charged over alleged cyberstalking campaign
He was responsible for way too many bugs I guess.
hashmal··on Grid – A Lua Game Engine
Ease of embedding has been pointed out.

Another reason for using Lua in games is that its garbage collection strategy is well-suited for the task.

Python uses reference counting (which has a predictable performance profile but can lead to long pauses if a large object graph is deallocated at once) and stop-the-world GC for reference cycles.

hashmal··on The effects on cognition of sleeping 4 hours per night for 12-14 days
Here you go: https://www.ncbi.nlm.nih.gov/pubmed/12683469
hashmal··on The effects on cognition of sleeping 4 hours per night for 12-14 days
> I find that my cognitive abilities (i.e. what I am capable of doing) does not seem to significantly decline

It's very common. Studies on sleep deprivation report that subjects do not feel their cognitive abilities decline. However, measuring cognition using objective tests does show a significant decrease in these abilities.

hashmal··on Ask HN: How do you answer “where do you see yourself in 5 years?”
I usually politely decline answering to these bullshit questions.
hashmal··on Daily standups should be async
> Async stand ups are an agile smell.

That thinking is an agile smell. Teams choose their own processes.

hashmal··on Unicorn layoffs keep piling up
Very little oral procedures are urgent. Most of them are essential.
hashmal··on Programming languages are not languages (2018)
In an article that argues that something is or is not a language, I would expect the term to be defined first.

Ironically, a definition for the term "define" is given.

hashmal··on Learn D3
Another comment, at the risk of sounding like a crazy fanboy. After years of use, I still can't get enough of D3, it doesn't feel like JavaScript yet it fully embraces the best parts of the language.

It is indeed a lot more difficult to learn than other solutions, but with the experience it becomes second nature to "think in it" and explore data iteratively, building visualizations along the way all while having fun (and its concepts map very nicely with how Edward Tufte lays out things in his books).

All this to say: thank you.

hashmal··on Learn D3
I must admit that when I combine D3 with modern general-purpose frameworks I prefer to use the provided views/components as simple containers and use only d3 inside. I love the "transformative" approach (as opposed to the "state description" approach you mentioned elsewhere). It's just too good to "re-join" existing DOM elements with new layout rules to build crazy advanced visualizations. The widespread data/DOM binding pattern is easier for simple stuff but becomes convoluted for more adventurous uses.
hashmal··on Learn D3
One of the reasons I love d3 is that it's built on standards such as CSS and SVG/HTML. They are so widespread you can't go wrong learning them, and that knowledge is immediately usable elsewhere (other related benefits include extremely powerful graphic capabilities and tons of documentation).
hashmal··on I Don't Use Classes
Static dispatch or monomorphization?
hashmal··on Manufacturing plant fire threatens worldwide vinyl record supply
I personally mix on vinyl for the feeling its provides. No screen to look at, you have to really be "in" the music, the touch is stellar.

Using CDJs or similar have clear advantages (weight when travelling, fewer chances to fuck up or hear imperfections, no skipping, etc) and I use them when performing for others, but I just don't like using them.

hashmal··on Verlan: French slang that inverses words
> I don't know if au jour d'aujourd'hui sounds horribly redundant in French

It varies from community to community. Some say it all the time, others laugh as soon as someone says it, and everything in between.

hashmal··on The Joy of Coding: Observable
> the fact that its name is the same as that of a primitive in functional reactive programming, as in rxjs, with which it has nothing to do, doesn't help either

It's based on reactive programming though. Cells observe the entities mentioned in them and update accordingly when they change, which is why you can have imports at the bottom, and you don't have to care about cell evaluation order as with Jupyter Notebooks.

hashmal··on Yukihiro Matsumoto: “Ruby is designed for humans, not machines”
I can only recommend the "Simple Made Easy" talk by Rich Hickey.

I suppose it can be said that Scheme is very simple but hard for many, while Ruby is very complex but easy for many.

hashmal··on Shenzhen court rules AI-written article has copyright
> Shouldn't the copyright therefore belong to the robot?

I would consider the robot to be a kind of pencil or typewriter.

hashmal··on This Page is Designed to Last
"not getting your attention" and "can't tell the difference" are not the same thing.
hashmal··on This Page is Designed to Last
> back in the Myspace days, end users would do really tasteless CSS like Comic Sans or an italic font everywhere.

Indeed, typography is a skill. Most designers should have it though, which is why I asked more information to OP.

> The only time I have seen a page use obnoxious fonts in the 2010s is when the LibreSSL webpage used Comic Sans as a joke to highlight that the project could use more money

Ah, the infamous Comic Sans. It's a shame because as a typeface on its own, in its category, it is pretty good. Sadly, it's misused all the time in contexts where it's not appropriate at all.

> It may be a case that the parent poster likes using a delta hinted font, either Verdana or Georgia, on a low resolution monitor, and doesn’t like the blurry look of an anti-aliased font on a 75dpi screen.

Without more details we cannot guess. You're right: a lot of things can go wrong and ruin a typeface, regardless of how the characters are designed. Anti-protip: a reliable way to make any font look like shit is to keep the character drawings as they are and mess up the tracking (letter-spacing) and kerning.

hashmal··on This Page is Designed to Last
Can you elaborate on why/how they suck? Do you have example links, to set a common ground for the conversation?

I think most fonts that get your attention suck, the best ones are invisible and get you directly to the meaning of text, without getting in the way. So maybe there's a kind of bias (selection or sampling bias?) operating here?

hashmal··on This Page is Designed to Last
I agree about monospaced text in code editing. I was thinking about uses such as code excerpts in literature (class names, inline bash commands, etc). Monospaced fonts[1] plays a major role in helping reading and understanding the content. This is more than a stylistic choice.

[1] actually the font doesn't need to be monospaced, but it must be very different than the font used for main copy.

hashmal··on This Page is Designed to Last
"monospace" is a property of a given font but is not (usually) a variant of a single font family as is "bold" (font weight).

While bold text is often used for emphasis and setting it to "regular" doesn't change the meaning much, using a monospace font signals specific things (often, it's used to represent code snippets, but in some contexts it can mean "work in progress"). Changing that font to a proportional one strips a lot of meaning and readability from the text.

In that regard, fonts families are an essential part of the document, and not just their stylistic/emphasis variants (e.g. size and weight, which can still convey important meaning on their own. Think titles and headings.)

hashmal··on This Page is Designed to Last
When you go to a restaurant you let the chef prepare food for you.

Telling him to back off and let you cook because he can't know better than you (his user) would be absurd.

Same thing with design and typography. It requires skill and taste, and hopefully people will be delighted or simply consume the content for what it is, because the design/cooking just reveals that content in a convenient/useful shape.

hashmal··on The Danger of “Simplicity”
Yes, I worked in teams where "YAGNI" would come up all the time, preventing any kind of actual code design/architecture.

Every time YAGNI is mentioned, it should be put against code quality (maintainability, readability, testability, etc) because they are often opposite/fighting concepts: code quality, in the end, is all about making (not yet known) changes easily, which means you have to anticipate different possible futures.

The sweet spot between these two principles is not easy to find. Thinking and discussing about this on projects is a good start.

hashmal··on Why UTC is used as the acronym for Coordinated Universal Time
Maybe we were just trolling english speakers and their curious way to format dates ;)
← PreviousPage 2 of 8Next →