Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
90 ms
·
361.
▲
by
amix
17y ago
If you are into puzzle games I really recommend Braid ( http://braid-game.com/ ) - it's a game where you manipulate time to solve puzzles. There's an surprising end ;)
362.
▲
by
amix
17y ago
It's very easy to define bind and return for event driven code, so most event driven programming is or can become monadic.
363.
▲
by
amix
17y ago
Deferred[1] is originally used in Python's Twisted framework. It's also used in Bob Ippolito's MochiKit's library. Generally, it's a great abstraction and I am looking forward to see your results. As I recall Twisted has an ability to chai
364.
▲
by
amix
17y ago
I agree on the usefulness, but I don't think it would produce more elegant code and I don't think the event driven paradigm should be used for everything (even if there are some advantages). This said, event driven programming is quite natu
365.
▲
by
amix
17y ago
I don't find it natural to access data via callbacks, especially since data is usually connected (e.g. you need to query for the user, then the settings and then the item): The node.js documentation also illustrates an example of this when
366.
▲
by
amix
17y ago
I am referring to the slides which for me shows the ignorance of the Perl community and especially Larry Wall. For example this quote from Larry Wall which showcases his views on teh Powerness of Perl (Steve Yegge has more quotes from your
367.
▲
by
amix
17y ago
Yegge's old rant still holds true for both Perl 5 and Perl 6, nothing has changed. There isn't a table of Perl 5 operators - - and the Perl 6 operator table shows what kind of design principles are behind Perl. Anyhow, I wont stay back on t
368.
▲
by
amix
17y ago
This is a common practice in Python and most of the implementations I have seen (and used) use it in a following way: handler = { 'football': handle_football, 'comedy': handle_comedy, 'crime': hendle_crime
369.
▲
by
amix
17y ago
I will reference to Steve Yegge's rant on Perl. It has a lot of examples on Perl operators that are overloaded: http://steve.yegge.googlepages.com/ancient-languages-perl - - and how their man pages isn't a big help. While other languages
370.
▲
by
amix
17y ago
I think you got a point. Other well designed languages don't require an expert level for understanding of well written code. Perl (and at some extent C++) requires a lot of knowledge and experience before you can read code. I, for example,
371.
▲
by
amix
17y ago
First steps towards quantum computers...!
372.
▲
by
amix
17y ago
I wonder what kind of problems TechCrunch is going to face suing a company in Singapore... The laws in Singapore might be very different and Fusion Garage might be favorable since it's a local company. At best they can sue distributors of C
373.
▲
by
amix
17y ago
Given that Michael Arrington was a lawyer it would surprise me a lot if they don't have any contracts.
374.
▲
by
amix
17y ago
I think designers have this problem since anyone can have opinions about design. It's also hard to argue objectively why one design should be better than another, since design is subjective (for most parts). Maybe the design process should
375.
▲
by
amix
17y ago
I would see it as a feature - most of the time Google's (spell|domain) correcting is very useful if I have miswritten something.
376.
▲
by
amix
17y ago
Most times you are interested in doing the simple, e.g.: filtered = [x for x in seq if x>10] Python's list comprehension is much more readable than using map/filter/reduce - at least for Python programmers :) Anyhow, I really lik
377.
▲
by
amix
17y ago
Python's optional arguments feature is useful for these kinds of polymorphic usages - and I miss them every time I program in other languages (especially Java). In JavaScript I miss named arguments (e.g. def fun(name, age, gender=1, height
378.
▲
by
amix
17y ago
Their proposed blackholes are small - some of their calculations use 4 × 10^11 grams [440.924 tons ~ comparable to Empire State Building which weights about 300.000 tons].
379.
▲
by
amix
17y ago
I don't think he will break religion's special status by attacking the beliefs of people. The likely results from his offensive tactics is hatred and opposition against science and more religious fanatics - simply because most people are re
380.
▲
by
amix
17y ago
While Dawkins has some good points, I don't think attacking religion is a way to go, it leads to hatred and tribalism (us vs. them). The better way is to educate people better and let them decide what to believe in. In Denmark where I live
381.
▲
by
amix
17y ago
I didn't specify that a string should be a distinct datatype, but merely a datatype and a first class citizen of a language. If a language's type system is strong enough, then obviously a distinct data type isn't needed.
382.
▲
by
amix
17y ago
I think you miss my point: Comparing Erlang's string handling to one of the first mainstream languages is pretty ignorant of the evolution that has happened the last 30 years. He should compare Erlang to recent languages, before concluding
383.
▲
by
amix
17y ago
I disagree with your proposition. Languages should have a string type and not only for performance, but also for ease of programming, since strings are an important and special data type. I don't really care how this string type is implemen
384.
▲
by
amix
17y ago
I would prefer if strings were treated as a list of characters and NOT as a list of integers (as they are in Erlang)...! I.e. your reasoning does not really apply to Erlang.
385.
▲
by
amix
17y ago
If he has done experiments and research to see how belief of God affects the brain, then his approach could be scientific and he may even conclude that belief in God affects the brains of partitioners. Reading on Wikipedia he has also resea
386.
▲
by
amix
17y ago
Performance and ease of use are the main reasons why strings should be first class citizens. Strings are one of the most used data structures and most of today's popular languages have very good support for them, encodings of them and man
387.
▲
by
amix
17y ago
He compares Erlang's string handling with C... And C sucks at string handling. He should compare Erlang to all the modern languages where strings are a first class citizen. Comparing Erlang's string handling to Java, Python or Ruby might ch
388.
▲
by
amix
17y ago
So what... He has looked at how "believing in God affects our brains" - his idea that yawning could be a good thing is still valid and interesting. He is a neuroscience professor (but then we'll fall into "Appeal To Authority"). Anyhow, I t
389.
▲
by
amix
17y ago
I don't think this post is that interesting since reason is a large part of science, but I do want to share some history on "pure reason" and how it blinded humanity for 2000 years. Pythagoras was a great mathematician, but also a big promo
390.
▲
by
amix
17y ago
The understanding of the atom world lead us to nuclear energy and nuclear bombs, a better understanding of the quantum world might lead us to similar discoveries (for example, quantum computers or anti-gravity). The bottom line is the more
More ›