HNHacker News
TopNewBestAskShowJobs

Al__Dante

28 karma · joined January 22, 2014

submissionscomments
Al__Dante··on Ask HN: What should I give priority, Lisp, Haskell, or the Dragon Book?
If you want to learn a functional language, Lisp is a good choice. It has been around a long, time, so it is stable and well supported, and it is also the basis for many other languages. Haskell, while also an excellent language, is more niche.

Deciding whether to learn a language or learn how to write a compiler is more difficult. If you are struggling with the Dragon book, have you condidered "Modern Compiler Implementation in ML"? Although ML is even more niche than Haskell, it is a functional language and the book takes you step-by-step through the process of writing a compiler for (a subset of) it.

Al__Dante··on 12 most influential programmers working today
Great quote: "Danish computer scientist Bjarne Stroustrup invented the C++ programming language in 1978, taking the C language invented by the late Dennis Ritchie and adding new features that made it more usable by the masses. “

Yeah, right. :-)

Al__Dante··on Technical advances that could make wind power viable everywhere
One thing to bear in mind is that there are theoretical Limits to windmill efficiency: http://en.wikipedia.org/wiki/Betz's_law

In short, we can't extract more than about half of the available wind energy, no matter what the design.

This is because if all kinetic energy is extracted, the air would no longer be moving behind the windmill, so it would stop turning. Betz's law is the optimum compromise between extracting energy and sufficient airflow to keep the windmill rotating.

Al__Dante··on Ask HN: USB Over IP – Odroid vs. Raspberry Pi?
http://pietrushnic.github.io/blog/2014/08/18/linux-rpi-and-u...

Describes how to setup usbip on the Raspberry Pi.

Al__Dante··on Ask HN: Does anyone have an old computer laying around unused in Brisbane, AU?
If you don't need Windows or the mobility, a Raspberry PI 2 may be an alternative. They are about $35 plus tax and the model 2 is as capable as a five year old Laptop.
Al__Dante··on Turbocharged Raspberry Pi 2 unleashed
Thanks for the catch.
Al__Dante··on Turbocharged Raspberry Pi 2 unleashed
It's a 900MHz quad-core ARM Cortex-A7 CPU. ARM7, it's official: http://www.raspberrypi.org/raspberry-pi-2-on-sale/
Al__Dante··on A Raw Deal in Michigan
I think this might be the relevant change (contained in bill S-1 which was substituted in the Regulatory Reform Committee):

"2 (i) Sell any new motor vehicle directly to a retail customer 3 other than through <del>its</del> franchised dealers, unless the retail 4 customer is a nonprofit organization or a federal, state, or local 5 government or agency. This subdivision does not prohibit a 6 manufacturer from providing information to a consumer for the 7 purpose of marketing or facilitating the sale of new motor vehicles 8 or from establishing a program to sell or offer to sell new motor 9 vehicles through the <del>manufacturer's</del> FRANCHISED new motor vehicle 10 dealers THAT SELL AND SERVICE NEW MOTOR VEHICLES PRODUCED BY THE 11 MANUFACTURER."

Link to the passage of the bill: http://www.legislature.mi.gov/(S(zkgdwb45ddzp3imtvsszat55))/...

Link to the substitute bill: http://www.legislature.mi.gov/(S(zkgdwb45ddzp3imtvsszat55))/...

Al__Dante··on Ask HN: When was the first usage of “Hello, world”?
The first use I know of that gained wide recognition was in Kernighan and Ritchie's "The C Programming Language" from 1978.

"1.1 Getting Started The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages: Print the words hello, world"

I find it interesting, because K&R seem to assume that this was already a standard approach, and also because of the comma after hello. In my first attempt in a new language, I don't think I would be paying that much attention to grammar...

Al__Dante··on The Magnus Effect and the World Cup Match Ball
It can definitely be greater, because a table tennis ball with backspin follows an upward trajectory.
Al__Dante··on The Economics of a Kickstarter Project
First and foremost, congratulations on a wonderful piece of art. The realities of accounting should not distract you from the fact that the project was a success and enriched people's lives.

Although you paint a pretty bleak picture of the finances, as others have pointed out above, this does not reflect the economic reality.

The typo impacted your profit margin significantly - without it, you would have had an additional $7k and a margin of 19%.

But this is only a side show. Even if you had made 0% on the posters shipped to the Kickstarter backers, the 800 posters remaining represent a book value of $96k. (Less a few hundred dollars for storage).

Assuming you can sell at this price, your three years work will be amply remunerated for a part-time project.

In the end, Kickstarter functioned as it should. It reduced your risk by providing a pool of known buyers and left you with the infrastructure for approaching your market. That market is your final reward.

Al__Dante··on MIT-related work that has transformed computer science
And not mine either :-)
Al__Dante··on MIT-related work that has transformed computer science
Also because spelling is apparently not one of MIT's 50 achievments...
Al__Dante··on Ask HN: Reasons behind renaissance of functional programming languages
And Lisp :-)
Al__Dante··on Raspberry Pi Clones Match the Connectors, But Boost the Firepower
It would have been interesting to see the power consumption compared. The Raspberry PI model A can be operated below 0.5A, in some cases 0.25A, which makes it attractive for mobile installations. How do the other two boards compare, do you know?
Al__Dante··on Ask HN: What are some new things to try in life?
Walk from Whitechapel to Portobello Road via Harrods

Learn 10 Chinese or Japanese characters

Learn 10 phrases in Hindi, Indonesian, Russian and Spanish

Visit a refugee camp

Go to Botswana

Build something with a Raspberry Pi

Cook scrambled eggs sous vide