Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arunix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
arunix
6y ago
The whole concept of a two-wheel vehicle with no inherent balancing mechanism is very unintuitive (at least to my mind).
122.
▲
by
arunix
6y ago
What does "really obfuscated handling of nested data structures" mean? Can you give an example?
123.
▲
Programming Parrot (2001)
(web.archive.org)
1 points
by
arunix
6y ago
|
0 comments
124.
▲
by
arunix
6y ago
My copy of the GoF book does not have that sentence as the only one on it's page, however there are only two guiding principles mentioned in chapter one, the other one being: "Program to an interface, not an implementation" a
125.
▲
by
arunix
6y ago
It wouldn't be much of a future if the large amount of existing Perl code couldn't be utilised. The original vision for Perl6 included a runtime called Parrot which would have been capable of running both Perl6 and Perl5. If Parro
126.
▲
by
arunix
6y ago
I think that's what Larry Wall was trying to do with Perl6/Raku: https://thenewstack.io/larry-walls-quest-100-year-programmin...
127.
▲
by
arunix
6y ago
I remember reading Kent Beck's TDD book many years ago. Most of the example code is in Java. There's one chapter that uses Python, but that's just to show how a TDD framework could be implemented in a language which (at that
128.
▲
by
arunix
6y ago
That looks really useful! Both of these are closed source I guess?
129.
▲
by
arunix
6y ago
Perl has had this for a long time. Tagging a getter with ":lvalue" will make it assignable, even usable with the increment operator: pirl @> sub hats : lvalue { my ($self) = @_; $self->{hats}; } @var = (); pirl
130.
▲
by
arunix
6y ago
One of the tips in "Practical Vim: Edit Text at the Speed of Thought" is to learn touch typing, which is what prompted me to take the plunge. I got a 2nd hand CD of KAZ and within about two weeks I'd got the "I know kung
131.
▲
by
arunix
6y ago
> Is there any specific tabla percussion associated with a Raga? No, percussion (meter) has it's own framework called Taala [1], which is orthogonal to Raaga. As a concrete example: Raaga Hamsadhwani in Rupak Taala (7 beats) [2] vs
132.
▲
by
arunix
6y ago
What's the status of Kiwi (couldn't find it on your github) ?
133.
▲
by
arunix
6y ago
> toothed whales are a parvorder of cetaceans that includes dolphins, porpoises, and all other whales possessing teeth The article for whales [1] linked from that sentence says "They are an informal grouping within the infraorder Ce
134.
▲
by
arunix
6y ago
Which Lisp is that?
135.
▲
by
arunix
6y ago
But they aren't really advocating argument from authority e.g. > Be careful though: not everything from evangelists will apply to your specific problem. Don’t invoke the Single Responsibility Principle spell without any argument why
136.
▲
by
arunix
6y ago
I use command mode a lot, so have swapped ":" and ";". With that, :x + enter is 3 keystrokes, and hitting x is a bit easier than hitting z.
137.
▲
by
arunix
6y ago
There's more to it than that. Looking at its early history [1], it is clear that Perl6 was conceived/intended to be the next version of Perl after Perl5 e.g. First, Perl will support multiple syntaxes that map onto a single seman
138.
▲
by
arunix
7y ago
Bear in mind that underneath the ice, Antarctica is an archipelago, not a continuous land mass. https://worldbuilding.stackexchange.com/questions/18757/what...
139.
▲
by
arunix
7y ago
It does dispatch on the types of all arguments, ... that's the point of it. Some sample code (I modified it to be commutative on the argument types): https://gist.github.com/arunbear/caef7546d297c01fddbd3f67117...
140.
▲
by
arunix
7y ago
This seems like a lot of work for a result that isn't even very self documenting compared to some earlier efforts e.g. Guido's post on multimethods: https://www.artima.com/weblogs/viewpost.jsp?thread=101605 C
141.
▲
by
arunix
7y ago
Any thoughts on why TCL isn't more popular?
142.
▲
by
arunix
7y ago
But in that case what is the benefit of Clojure being a Lisp?
143.
▲
by
arunix
7y ago
Discussed here recently: https://news.ycombinator.com/item?id=22443363
144.
▲
by
arunix
7y ago
I think they meant 1-2 million years, which is how long ago homo erectus appeared. ~2 hundred thousand years is the age of homo sapiens.
145.
▲
by
arunix
7y ago
?- yet_another_prolog('yap.chat'). false. ?- This reminded me of the Prolog of the same name (it's website seems to be in limbo). https://en.wikipedia.org/wiki/YAP_(Prolog)
146.
▲
by
arunix
7y ago
Rather than banning castling outright, what if opposite wing castling was the only type of castling allowed? That should also make draws more unlikely.
147.
▲
by
arunix
7y ago
I've seen little girls chasing the pigeons on a few occasions, so ... no longer sure about the hunter/gatherer aspect of this.
148.
▲
by
arunix
7y ago
Why?
149.
▲
by
arunix
7y ago
Aye, it sounds like the Borg assimilated the late Prof Hawking's speech synthesizser.
150.
▲
by
arunix
7y ago
This hasn't been true since 2015, when the software became decisively stronger than human players. https://www.kingpinchess.net/2015/07/arimaa-game-over/
More ›