Better HN
topnewbestaskshowjobs
Log inSign up

darkFunction

316 karma · joined Jun 23, 2013 (13y ago) · 118 submissions

Submissions

comment 11y ago · link · parent

Wow, the audio example... It's like a solid wall of pure data.

comment 11y ago · link · parent

I'm a real newbie in terms of web server deployment, but for my first web app I went with an EC2 VPS because I had no idea what sort of traffic to expect and how I would handle spikes. Despite having a pretty decent VPS from Inception hosting (whom I recommend, no affiliation), I wouldn't know what to do to scale up.

EC2 seems to handle all that nicely by letting you just upgrade instance types as you need them, and providing burst performance for spikes in traffic. It seems like a pretty fire-and-forget solution and I've not paid them any money yet (10 days, 30,000 hits)... So far I'm happy but really I've no idea what I'm doing.

comment 11y ago · link · parent

Why do the prices vary so much? I can understand trends like .io, but why does .iq cost $660?

64.

Show HN: Verbe du jour. Learn a new French verb every day(verbedujour.com ↗)

3 points · by darkFunction · 11y ago · discuss

comment 11y ago · link · parent

I agree entirely. It's just as fast to read and typing abbreviations is actually slower than typing full words most of the time because of keystroke muscle memory. Sure, it can make a screenful of code 'look' uglier but in the end it reads explicitly and that can only be a good thing.

comment 11y ago · link · parent

I see. In that case, why not just put the exercises online?

comment 11y ago · link · parent

I think it's a great idea. I would rather a set of tutorials though. I don't want to email and waste somebody's time if I'm not able to commit to anything.

comment 11y ago · link · parent

I wrote something similar- first I did a hill climbing implementation and then a genetic one. The genetic algorithm worked way better:

https://github.com/darkFunction/PolygonPainter

comment 11y ago · link · parent

I don't like the idea having long-running branches and especially TODO comments in code before a review. I would argue that it is better to discuss large architectural changes as a team, and split the task into smaller, more manageable tickets and branches which can be reviewed and/or QA'd individually. I think this is key to maintaining clean and reliable.

I think the approach outlined is a bit upside down, and significant API changes should be agreed on first. Not necessarily documented or thought about in detail, but the implementer should walk away from the preliminary discussion with a good idea of the agreed structure in order to be able to flesh it out further.

This means the architectural changes on a high level are understood and agreed on by the some or all of team first and the implementation is what actually needs to be reviewed afterwards.

Thinking about a solution, pushing a draft to code review with your thoughts explaining the changes typed out in full, responding to comments on the review two days later, and repeating the process all over again- it just seems like if you need this sort of feedback it would be way more efficient to schedule an informal exchange in front of a whiteboard with one or more team members.

comment 11y ago · link · parent

To paraphrase:

- I want to make money selling anything no matter how meaningless, animal silicon bracelets will do, I really don't care.

- Get a cheap supplier in China and pay a broke student to redesign the box.

- Order thousands of said items and sell on eBay.

Did I miss anything?

71.

Show HN: Collaborative data logger for iOS(codalo.appsites.com ↗)

3 points · by darkFunction · 12y ago · discuss

comment 12y ago · link · parent

Do you have a Github link? Or can you post back here when you're finished? I'd like to see the final result :)

comment 12y ago · link · parent

> I see you take the two most fittest as is, maybe this could be useful for picking the second one?

Yep, we take the two most fittest unchanged, and breed the rest randomly along a non-uniform distribution tending towards the top.

> Also, when the Mona Lisa thing was posted on HN, someone suggested marking areas of the target image as "more important", to maybe make facial features etc. more recognizable.

This is a really good idea and would definitely make a difference. In my penguin example, with too few polys, sometimes we reach a local maxima before the eyes (small details) look any good. I combatted this somewhat by encouraging new polys to be (a) small and (b) regular. But I like the idea of a more guided approach.

There's an awesome javascript example you might find helpful: http://alteredqualia.com/visualization/evolve/

Edit: Your images look amazing. How do you make the vector shapes?

comment 12y ago · link · parent

100, 6-sided polygons :) Though it looks pretty good with as few as 50

comment 12y ago · link · parent

I did this recently, the results were surprisingly good! https://github.com/darkFunction/PolygonPainter

Edit: Roger Alsing's implementation was a single entity population (mutated then reverted if the mutation was no good). I copied this approach in my first implementation, but found that much better results could be achieved with a breeding population of genes.

comment 12y ago · link · parent

I dislike puzzles too. I guess because you're just finding the creator's predefined path, and it often feels like a pointless task. Programming is coming up with original solutions of your own, so I don't see the two as wholly related.

comment 12y ago · link · parent

Have you tried http://luapower.com/

comment 12y ago · link · parent

It's pretty simple to get bitcoin today. Especially now Circle has launched.

comment 12y ago · link · parent

I stumbled across a video on Youtube some time ago which demonstrates sword-and-shield tactics likely used by the vikings, backed up by well thought out and credible explanations. It's a fascinating watch and for me it really brought home the fighting intelligence and elegance of viking warriors: https://www.youtube.com/watch?v=dkhpqAGdZPc

comment 12y ago · link · parent

It's the distinction between producing and consuming. It's important these days to make a conscious effort to produce more and not slip into constant information consumption mode, which new technology seems to encourage.

comment 12y ago · link · parent

Mushrooms can be extremely introspective, I would imagine this could easily lead people to re-evalute their life choices in a more permanent manner than normal.

comment 12y ago · link · parent

Googling around turned up some pretty interesting results from programmers specifically: http://www.reddit.com/r/Psychonaut/comments/1n93n4/the_lsd_m...

comment 12y ago · link · parent

Good work!

comment 12y ago · link · parent

Who exactly was being exploited here? Everything was completely transparent.

comment 12y ago · link · parent

I can relate to this somewhat. My grandmother always said I was lucky in life, and joked that if I walked up to a bus stop then three buses would turn up. I do consider myself to be observant to the point of distraction (I am also forgetful, lacking common-sense, and lazy).

Of course, I've not measured just how observant I am against anyone else, and it's just a hunch, so I could be talking shit. Enjoyed the article!

comment 12y ago · link · parent

It's based on the argument that a simulation of yourself is not just an exact copy but actually you and that you will experience what the simulation experiences. I remember reading about an interesting thought experiment where we imagine two separate people able to experience each others' perspective through some technology, being able to switch at will. The author was able to gradually blur the lines between both conciousnesses to really make you confused about where one mind ended and another began. I'm not doing a very good job of explaining, but I think that's what they are building on here.

I agree though, it's stupid.

comment 12y ago · link · parent

Story in the sense a game of football has a story.

comment 12y ago · link · parent

The appeal is in infinite possibilities, sport and teamwork. Single player games don't appeal to me as an adult, the outcome is scripted and the characters are hollow for the most part. It's entirely passive and a film or book gets to the point quicker for me. Violent multiplayers though- Counter Strike or Battlefield- give rise to fluid, human, tense stories. Stories in the context of violence sure, but real and non-scripted. It's yours and not the developers'.

comment 12y ago · link · parent

I have lived in London for six years. The tech scene is very vibrant, but I struggle with the 'big city' aspect. Strangers are generally ruder in public than elsewhere in the UK (not a reflection on them, more a side-effect of nobody ever having personal space). The commute is miserable, and nights out in Zone 1 & 2 tend to be overly commercialised, tacky and unfriendly, with the exception of a few hidden gems.

It's not somewhere you can clear your head by going for a walk, even the numerous and beautiful parks are crowded with young families on a sunny day. Quaint, village-type areas are well known and swarming with tourists. "Going for a walk" means something totally different in London- you're not going to escape the bustle, and will probably end up spending money.

If you are somebody who can deal with a complete absence of personal space while outside, don't mind being herded around like cattle, and the constant drone of traffic/sirens, London otherwise has a lot to offer (good restaurants, museums and art galleries, lots of tech Meetups).

comment 12y ago · link · parent

Well it is. You can make branching as complex or as simple as you want. Where I work the developers are only ever exposed to the feature branch they are working on, which is even created automagically for each Jira ticket from the correct release/integration/dev branch. So for a developer it really couldn't be any simpler.
1234