HN user

kremlin

395 karma
Posts11
Comments139
View on HN

considering typing time isn't even close to the most time consuming part of programming, I don't think this will be relevant to programmers apart from the programmers who want to do it for fun

I got inspired by a video, Paint like a Sculptor by Sinix on YouTube. I got reinvigorated to do art, so I got a tablet with a screen and started learning to paint in Photoshop starting in may. I'm on a nearly 150 day streak of drawing or painting something every day! I think I've had some good results as well, though I've got no link to share.

my first thought was the same, but I still had an intuition that it makes sense to call this sort of thing quantum as opposed to other, say, chemical-based senses which, although still at some level obviously relying on quantum physics, are more readily explained by using higher level concepts.

I suppose it comes down to emergent phenomena: what's the lowest-level concept you HAVE to invoke to understand what's going on here? when you want to explain how taste buds work, you can talk about neural paths and chemical chains, and even though each of those things relies on quantum physics to exist, you don't have to invoke the concepts or objects of the quantum world to understand the phenomenon in question. but with this particular phenomenon, you do. you can't just explain how this works with higher level concepts, you have to get low down.

I had this thought while I was reading this. when he said the bit about there being so much oxygen in the atmosphere that the whole thing could light on fire, I thought, "maybe there's some planet that that happened on. maybe most planets with live have that happen eventually".

I'm not. Several of the people in the centre of this drama have a number of Twitter posts saying things like "kill all men" and "all men are terrible" etc. I'm completely willing to believe that these 4 people have a lot of fun, and a lot of invested identity, in being "offended" by things white men do. It doesn't reflect on his character all that much to me.

I had a local git repo with a month's worth of commits. I hadn't pushed any of them so they were all _just_ local (though the head was constantly being uploaded to an online store).

I got a new computer and when I was getting rid of my old one, it didn't occur to me to push all the commits or save the git repo. So, my next commit consisted of all the changes for that entire month.

Frame-Based Editing 11 years ago

In my first programming module we used a language called Sense, which was a visual drag-and-drop block editor. I sometimes imagined an editor that used plain text but showed what block you were in visually.

It's not automatic for me, which is why I found it annoying enough to ask. If a writer writes 'an SQL query', that doesn't bother me at all, but if a writer writes 'a SQL query', it takes me a while before I start hearing it in my head as 'a sequel query' -- until then, it just sounds wrong.

Worse is that some writers seem to mix it up, use both periodically.

I'm doing the course, as it's something I haven't learned in depth yet.

They mentioned pronunciation : 'S-Q-L' vs 'sequel'. I've always pronounced it S-Q-L. The lecturer implies there's no right answer, that 'sequel' is historical but 'S-Q-L' is preferred for international use.

The annoying thing, though, is that in writing a choice has to be made. If someone pronounces it 'S-Q-L' then to read 'a SQL query' is weird -- it should say 'an SQL query'. And vice versa for someone who pronounces it 'sequel'. 'an sequel query' isn't right.

So, in writing, what is correct? 'An sql query' or 'a sql query'?

This is just in time. I just read a chapter in a JavaScript book about OO programming in JS and finished the chapter very confused. It demonstrated about 12 different patterns people have used for creating 'classes' and 'subclassing' them, each with a list of advantages and disadvantages.

Eg there's the 'parasitic instantiation' and then there's the 'Constructor pattern' and then there's the 'Parasitic Constructor', and there's like 3 other patterns that have their own permutations. Coming from Python and then Java, where classes just work...it's kind of annoying.

[edit] I was being a bit hyperbolic, the book discussed 6 ways of inheritance in JS, those being (1) Prototype Chaining (2) Constructor Stealing (3) Combination Inheritance <- most popular one according to the book (4) Prototypal Inheritance (5) Parasitic Inheritance (6) Parasitic Combination Inheritance <- pattern that is generally the best according to the book

indeed. The problem, I think, is that most people implement the naive solution before they realize that it's the naive solution. As each person gets only one click of the button, a lot of people don't get the chance to implement that easy fix -- they get it wrong once, and don't get to ever get it right later.

[dead] 11 years ago

I came up with a pretty good 404 page recently. The company has a logo that features the silhouette a man on a horse playing polo. The 404 page features the same logo with the horse taking a tumble and the polo player being thrown off.