Better HN
topnewbestaskshowjobs
Log inSign up

cachehit

6,998 karma · joined Dec 14, 2008 (17y ago) · 1,808 submissions

(Account pending deletion)
Submissions

comment 7y ago · link · parent

Fever is likely a mechanism that the body exercises to fight infections, just the way diarrhea is probably a way for the body to flush out vira and bacteria quickly. In both cases, excess can be dangerous but that doesn't mean they should be stopped per default.

Would you also give your kid anti-diarrhea and let the disease spread in order to stop the immediate unpleasantness?

comment 7y ago · link · parent

I am sure there are nuances to your statement that get lost in the short text so I assume that you don't mean it quite as hyperbolic as it comes across but my immediate reaction to that sentence is: you can't protect your child from pain forever -- physical or emotional. How will they learn to handle it if they aren't exposed to it gradually?

comment 7y ago · link · parent

Glædelig jul!

comment 7y ago · link · parent

>there will never be direct DOM access from WebAssembly for security reasons

You should contribute this knowledge: https://github.com/WebAssembly/proposals/issues/16

>developers, [...], tend to be deathly afraid of touching the DOM

I truly have never seen this. In fact, I'd say I often see a rather careless culture of doing DOM manipulation here and there because it solves an immediate problem, albeit by short-circuiting the abstractions that may be in place and are now a bit more fragile.

I am writing JS in the entire stack at the moment and I am mostly happy with it. I don't think that ability will go away but I look forward to the day where I can do the same in Rust or F# or whatever. And it doesn't seem unlikely to me that one day we will see wasm becoming the foundation in browsers, with JS running on top of it like any other language.

comment 8y ago · link · parent

I switched from Express to Koa for a few months now and I honestly don’t understand why this doesn’t seem to be the trend. It was a simple transition but everything feels more correct to me, and easier to reason about.

comment 8y ago · link · parent

I bought the book ages ago and remember not really finding anything of value in it. I don't mean to sound like someone from /r/iamverysmart but I recall thinking I would benefit in the way I did from the design patterns book: by giving me terminology for things I already did. But as far as I remember, the names were really obvious ("rename parameter", "extract method", etc.) and the instructions equally so. Can you give an example of something you learned from it?

comment 8y ago · link · parent

If you happen to search Google for "poppy seed tea" out of curiosity like I was, this site pops up. I think it serves the intended purpose.

968.

Poppy Seed Tea Can Kill You(poppyseedtea.com ↗)

31 points · by kristiandupont · 8y ago · 11 comments

comment 8y ago · link · parent

I am curious (as a VSCode user) what makes you conclude that junior devs are likely to use VSCode?

comment 8y ago · link · parent

It's not a "mindset" that there is an inviting "click here for the next recommended video" link when one is done playing.

comment 8y ago · link · parent

While this is cool and surely an improvement technically, it makes it clear that I will have to move off of Now. That makes me sad as I immediately became a paying customer and have loved the product more and more each day.

It’s not that I couldn’t upgrade, surely I could. It’s inconvenient but not impossible. The problem is that I need my hosting to be as reliable and invisible as possible. Being informed that I need to change my infrastructure out of the blue is unacceptable unless it’s because there is a security reason or perhaps because I am using severely outdated technology. I will now have to spend precious development time figuring out which alternative will match my build process etc.

comment 8y ago · link · parent

I used to have this feeling to an extent as well but I got over it. Because my coworkers are using a different editor altogether. Or a different operating system. Or a different keyboard. I can't write code productively on any other system than my own, so I just embrace that and optimize.

comment 8y ago · link · parent

I am curious what you would prefer over this?

"200 extensions with random vote counts" is what you get when there is an engaged community. Would you rather MS told you which extensions they think you should use?

comment 8y ago · link · parent

This is the variation that I have heard and enjoy: you should always meditate 20 minute per day. Unless you don't have the time, in which case you should meditate for an hour.

comment 8y ago · link · parent

I am guessing you are not suggesting that the goal with meditation is to achieve cold hands, so maybe you are assuming that my heart rate goes up or something similar. However, I can assure you that is not the case.

There are theories that Raynaud's syndrome (unreasonably cold hands and feet) can be triggered by stress and so one could hypothesize that the opposite holds true as well. That may be related, or it may not be. I am just pointing out that such a simplistic view of something so extremely complex like our bodies can be misleading.

comment 8y ago · link · parent

"It's common sense that the sun revolves around the earth".

Logic is only helpful if you have the right premises. You might well have that, but they could also be too simplistic. Case in point, meditating tends to make me feel not cold but warmer (specifically, if I have cold hands and feet, that goes away).

comment 8y ago · link · parent

Wow, they both sound a lot like PG! I guess it’s a sign of a true leader when people end up adopting mannerisms and idiosyncracies. Can any YC alumni share information on how much this is the case?

comment 8y ago · link · parent

I might add vscode to this. You probably don't want it running solely as a terminal, but I've become used to it while developing and it's pretty nice on both Windows and Macos.

comment 8y ago · link · parent

Legacy code.. It's everywhere!

980.

Current State of Webdesign(fczbkk.com ↗)

3 points · by kristiandupont · 8y ago · 1 comment

comment 8y ago · link · parent

It seems there's a weird fetish in C++ land where non-letter characters seem more "pure" than words. I remember suffering from it myself, implementing atrocities like a subtraction opeartor on a path class which would give you the relative path between two paths. It made me feel very clever but I feel sorry for anyone who would have to look at my code now and try to figure out what the hell was going on.

comment 8y ago · link · parent

While sitting by it, perhaps. But using my laptop causes me to walk around, sitting at my desk, in a café, in soft chairs outside the office etc., which is an ergonomical win.

comment 8y ago · link · parent

New York, SF, Boston and San Diego are quite nice for walking IMO. But it's definitely more prevalent in Europe. My commute here in Copenhagen consists of a 10 minute bike ride and it makes me happy every day.

comment 8y ago · link · parent

:-D it has its ups and downs..

comment 8y ago · link · parent

Slightly related, I made this name generator that will make up words so you are unlikely to run into something that already exists: [link redacted]

It uses a couple of different techniques, I'd love to add more if you have any!

comment 8y ago · link · parent

LISPs seem to me the best candidates for an alternative to the traditional text editor. I could imagine a mind-map sort of view which would allow you to expand and collapse sub-trees etc. Does anything like this exist? To me, that would be reason to experiment with something like Clojure.

comment 8y ago · link · parent

Most of that isn’t necessary until you’re pretty far into the game. I’d argue that the barrier to starting a startup gets lower every year.

comment 8y ago · link · parent

I just meant that the virtual DOM feels like a backbuffer that you can render "from scratch" with every frame. I am well aware that the technicalities are quite different.

comment 8y ago · link · parent

Having grown up with this, I think it's part of the reason why React feels so natural and "right" to me.

Whenever I've used frameworks based on data-binding, my mind tries to rely on an analogy like modular synthesis where elements are connected with wires (https://modularsynthesis.com/DJB-synth.jpg). That works great for tiny demos but poorly for highly dynamic UI's. Maybe I just need a different analogy to properly grasp it.

1
323334
61