530 reputation
317
bio website
location Budapest, Hungary
age 28
visits member for 3 years, 5 months
seen 2 days ago

I like to hack things together in LISP (clojure at the moment) and java in my spare time. I'm interested in intelligent CMS solutions, AI, data mining and much more. I usually tend to be attracted to topics/technologies which present me with a challenge. If you have ideas which do fit my interests then feel free to contact me on arold (dot) adam (@) gmail (dot) com.

While not at the computer I like to play drums, pick locks and run around in airsoft fields with guns blazing.

I also created the tag on meta.

profile for Adam Arold on Stack Exchange, a network of free, community-driven Q&A sites


Jun
24
comment What's so great about Clojure?
You are a joke.
Feb
22
comment How can I determine the level of talent a prospective programmer has?
An hour of Code is just the thing I need, thanks!
Feb
22
comment How can I determine the level of talent a prospective programmer has?
This is a really cool idea. I actually have SpaceChem from gog!
Feb
21
comment How can I determine the level of talent a prospective programmer has?
and conclude she doesn't have it? this last paragraph seems a bit pessimistic to me. I don't know yet whether she is programmer material or not. I'm looking for a way to determine it.
Feb
21
comment Recursion without factorial, Fibonacci numbers etc
This is a good idea. I'll use it as well in the future.
Feb
21
comment How can I determine the level of talent a prospective programmer has?
Ok, I rephrased my question.
Feb
21
comment How can I determine the level of talent a prospective programmer has?
Is it that bad? :) I mean my main method to do so is to start with the basics, then give exercises which we work out together. And if I pay attention I can tell whether she understands it or not. If she asks good questions it is also a good sign.
Nov
15
comment What's up with the Class::get(id) idiom in PHP
I am faced with these kind of objects in java at the moment and I can tell that they are horrible and nearly impossible to test properly.
Nov
13
comment Which is the most practical way to add functionality to this piece of code?
I am not the user so I can't tell what an user will use. This is just a library.
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
Oh I see. In java you can't be typesafe with a Map<DataType, AnyObject<?>> since even if you make a wrapper (AnyObject) for the value you have to supply a type parameter for it which is lost after compiling so a Map<DataType, Object> with typecasting makes more sense.
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
No, I can understand it now but I still don't see how that will help me. Every Hexagon can contain a different value for all of those facets. BTW that downvote is not by me.
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
If you want to use functionality tied to an id you have to get the code anyway (like the class which implements shortest path search) so using ids will just make code unreadable. In this sense an enum is almost the same but more readable and less error-prone. I don't see why an enum would prevent extension.
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
This approach looks good, +1! The proposed structure needs some polishing though since it is a work of an enum: enum DataType { TRANSPARENT, PASSABLE, PASSAGE_COST, SATELLITE_DATA} and the whole thing can be used in a map: Map<DataType, Object> data;
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
Sorry, but I don't understand how it works from the example. Where does the incrementCost method go? where does the constant TRANSPARENT go? what is a sealed class? Why should get/setData should be private?
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
I don't want the user to have to extend a class since he may have one which is already extending something.
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
You don't get the point.
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
This is the Rule of the Three, right? I in fact already have a demo application but your answer looks like you think this is a Catch 22: I can't write an interface while there are no applications and I can't write applications while there is no interface. So there should be one interface for a start.
Aug
31
comment Does macros support make Scala a Lisp dialect?
I think you still live in the last century.
Aug
30
comment Does macros support make Scala a Lisp dialect?
Says someone who is still using Delphi. Ok. I take your word for granted.
Aug
27
comment Self reference using a new table vs concatenated list of ids
We are using mysql. Yeah this is my other problem. It is impossible to query the database in a sensible way.