Better HN
topnewbestaskshowjobs
Log inSign up

basicallydan

2,501 karma · joined Mar 17, 2012 (14y ago) · 582 submissions

Software Engineer and Musician. Read more at https://danhough.com. Get in touch if you'd like to work together :)

Twitter: https://twitter.com/basicallydan GitHub: https://github.com/basicallydan

Submissions

comment 12y ago · link · parent

Have you considered open-sourcing this? It's very cool but I think it could be improved.

I think a more useful view would be to show the flash drives in terms of price per GB, within a certain range. By plotting them in this discrete (best word I could think of) where they cannot occupy the same space in the graph it's misleading about the best value for money.

comment 12y ago · link · parent

Cool. I agree, incidentally, and I like that you see that as one of the differences between 'shared office space' and 'co-working space'. It is so about communities.

If you don't mind me asking a couple of follow-up questions, how far in advance do you tend to book, and is it daily or weekly, or does it kinda just vary?

comment 12y ago · link · parent

I like the idea of podcast hosting. Was it like a dedicated booth, or some room which could also be used as a podcast booth?

Thanks for sharing, anyway. I appreciate it!

comment 12y ago · link · parent

Right, so espresso machine = must-have! Thanks :)

comment 12y ago · link · parent

That's great feedback thank you :)

comment 12y ago · link · parent

I think when he says "shop" he means it on the sense that an "auto shop" is a place that makes or fixes cars. So I think he's talking about starting a small bespoke software company.

OP can you confirm this? If so it sounds like you're half way there with your experience!

comment 12y ago · link · parent

Thanks, I'll give it a listen! I still hope people here will share their personal experiences though.

248.

Ask HN: Could you tell me about your coworking space experiences?

10 points · by basicallydan · 12y ago · 13 comments

comment 12y ago · link · parent

"This is a big day for evolving the Web as a platform for gaming and we are very excited to see what experiences developers will bring to the Web using this powerful technology."

Slightly off-topic: I wonder if we're going to see more games being written to run in Web Browsers, or more games being written using web technologies like JS + WebGL but for desktop/mobile devices using things like phonegap/node-webkit [0] and then sold through various app stores such as Steam, iOS & Android.

The infrastructure for monetising web games in the same way that Steam and the App Stores has done isn't there yet, but maybe it will be soon?

[0]: Like A Wizard's Lizard http://steamcommunity.com/sharedfiles/filedetails/?id=205801...

comment 12y ago · link · parent

Yeah, I know. But it's possible they'll go a bit more mass market in the future. But, like I said, I doubt it will happen any time soon with such a big jump.

comment 12y ago · link · parent

Greyp! Hey not bad! Personally I'm not a huge fan of the aesthetic, it looks very much like a utility to me. But it's cool.

comment 12y ago · link · parent

Looks like the range of this car, 310mi, is the same as Tesla's Model S on a full charge [0], but according to Rimac's main Wikipedia page [1] the range is 600km (~373mi).

It is more than 10x the price of the Model S though. Perhaps, with time, Rimac will become a competitor to help the electric car market become more mainstream. EDIT: I kinda doubt it, though. With a price of $980,000 that's a long way to go.

Very cool indeed.

---

[0] http://en.wikipedia.org/wiki/Tesla_Model_S

[1] http://en.wikipedia.org/wiki/Rimac_Automobili

253.

A simple and flexible way to do a game loop in JavaScript(danielhough.co.uk ↗)

2 points · by basicallydan · 12y ago · discuss

comment 12y ago · link · parent

I think a government is capable of trolling. I think it's less likely for a government to troll than an individual Internet user, in the traditional "trolling" sense.

Trolling isn't just "pissing off other users", it's "pissing off other users for the lulz". That's a very dumbed-down definition of trolling, too. I think it's unlikely that a government would piss anybody off just for the sake of it. I suspect they'd have motives to do with economic or social goals on some national or international level.

However, that doesn't mean that this alleged power can't and won't be abused in the way that a troll might abuse the flag power.

comment 12y ago · link · parent

It makes it sound like Google is humouring the Home Office a little.

I suppose the point of the "super-flagger" status is that whomever has that title is known by Google to not be a troll, who flags wildly and arbitrarily.

comment 12y ago · link · parent

> That said, I agree that making something into a single page app just to get this separation isn't going to be useful.

I agree, but there are other benefits too :)

comment 12y ago · link · parent

Yeah, you're right, not the same. I was generalising and lumping them together as the same thing though for the sake of praising the Trello way of doing it and encouraging more people to keep the data and presentation separate. I personally like the single page app approach though for reasons other than the fact that it just creates the separation.

comment 12y ago · link · parent

> I love the separation of concerns that is possible with JS apps - you can have one team working on the API and one on the interface and the only place they really need to communicate is in the API documentation.

Yeah, me too. Apart from the actual, observable benefits you mentioned, I just find something really satisfying about the separation. Fewer hacks, easier to modify things.

I think the rise in the popularity of doing things this way is largely thanks to the increase in popularity of test-driven development. Creating a client app without an API is so easy given all the tools available for mocking or faking APIs, and creating a standalone API is easy given that most of the time, you're just testing the JSON or XML output of a bunch of functions.

comment 12y ago · link · parent

Fog Creek are the _kings and queens_ of dogfooding. Spolsky, you sure have nurtured a group of very loyal team players. I applaud you all. It must be really nice to work at a place where the love of the process and the product are both so strong.

In my opinion if there's one thing a reader should take away from this it should be that Single Page Apps and separation of server and client are The. Best. Thing. Ever. From the start, design your system this way.

Good post, and an entertaining read.

comment 12y ago · link · parent

For the first time since it was introduced nine years ago, the price of Prime is going up.

Nine years? Is anybody else completely surprised by this? I only heard of it the first time when it was introduced in the UK about two years ago.

comment 12y ago · link · parent

On the face of it, yes: it is quite sad that money is priority. But I think it's less that money is a priority, but more that his family's safety and security is a priority. By leaving his wife with this epic mortgage to deal with on her own he'd make her life after he's gone very difficult, so he wants to make it as easy for her as possible.

comment 12y ago · link · parent

It's so hard to tell sometimes but I'd hypothesise a few reasons:

1. It's really simple-looking and uncluttered

2. It's an easy game to understand the rules of

3. You can get a real sense of achievement early in the game

4. It's hard to finish the game on the first go

comment 12y ago · link · parent

> I'm just wondering if there's some set of variable assignments that actually behaves differently depending on which of these two presented patterns are used. So I'll need to do some testing I think.

You could be onto something, I'd love to hear if you come to any conclusions about that. Off the top of my head I can't actually think of anything since as far as I can tell, the only difference is that one `var` statement is used and in the other it's one for each variable - they are still declared in the same place.

As for the code smell thing, that's a good point. I think after roughly the same amount of time using multiple vars would cause the same indication but it's probably more obvious with single var.

comment 12y ago · link · parent

I like the last one as a middle ground.

As I said at the end of the post though, I find the comma-first thing to look pretty weird. Is it really so tiring to write `var`? Having to introduce the comma-first solution seems almost like a further argument for why the single var pattern isn't as great as it first seems, to me.

265.

A criticism of JavaScript's Single Var Pattern, and a simple alternative(danielhough.co.uk ↗)

18 points · by basicallydan · 12y ago · 7 comments

comment 12y ago · link · parent

Cool, I did think it might be that, but when I read "LiteScript is written in LiteScript, every new version must be able to compile itself to be ready for release" it just kinda makes it sound like some kind of magic is happening, where a version of the language, before even being compiled, can somehow compile itself in some super clever way that I was just missing.

Thanks for the explanation :)

comment 12y ago · link · parent

This is great, I love scratch! You should share this as much as you can with IT teachers in your area, I bet they'd appreciate it.

Here in the UK we have a nationwide organisation called Code Club [0] which supplied volunteers with curriculums. They're available on the CC website but also in their raw forms on GitHub. Check it out if you want some inspiration for further lessons: https://github.com/CodeClub/scratch-curriculum

[0]: https://www.codeclub.org.uk/

comment 12y ago · link · parent

From the GitHub Page [0]:

---

Real use cases so far

On the server: LiteScript itself

LiteScript is written in LiteScript, every new version must be able to compile itself to be ready for release. LiteScript is a real-use case of a heavy, server run, text processing, class based program written in LiteScript.

---

I'm must be missing something here, but this kinda blows my mind a little bit. Somewhere in the compilation process there must be somethign which isn't LiteScript?

Anyway, this does look cool. Good job.

[0]: https://github.com/luciotato/LiteScript#real-use-cases-so-fa...

comment 12y ago · link · parent

AlwaysTwisted has a really great guide on this for more info and copy-and-pastability. http://alwaystwisted.com/post.php?s=2014-02-27-even-easier-b...

So excited about this, absolutely brilliant. I did notice some frameworks that I was using (I think it was Bourbon) breaking with SASS 3.3 though.

1
8910
20