HNHacker News
TopNewBestAskShowJobs

claystu

178 karma · joined November 8, 2011

submissionscomments
claystu··on Lisp as an Alternative to Java (1999)
I've never tried clojure; it looks interesting, though different from Common Lisp. I have invested some time--though not a lot--in Common Lisp and enjoyed it.

I would like to actually use CL for something. Unfortunately, my feeling was that the infrastructure--especially for GUI's--wasn't there the way it is with lots of other languages and that was a real deal breaker. In this, I don't believe I'm alone.

Armed Bear Common Lisp already exists. The JVM with all its libraries exists. Common Lisp on the JVM seems like an easy win-win to me, but I would like to see somebody really proficient in CL explore that in depth first.

claystu··on Lisp as an Alternative to Java (1999)
For me, it's a question of tooling.

I would love to see a Common Lisp expert do an entire book on Armed Bear Common Lisp (Common Lisp entirely on the JVM). Edi Weitz hinted at what might be possible in his book, Common Lisp Recipes, but only very superficially.

To me, the power of Common Lisp married to the ubiquity and library of the JVM is the great possible future for CL.

claystu··on After 100 years World War I battlefields are poisoned and uninhabitable
Is this where people march out and demand we program in Forth?

More seriously, I don't see the West responding to a call from the Pope to reconquer Jerusalem.

claystu··on The 2016 Top Programming Languages
You should check out Minimal Perl [https://amzn.com/1932394508] if you haven't already done so.
claystu··on The 2016 Top Programming Languages
I honestly have no idea. Given that there are different versions of awk and different versions of python, I'm not even sure there is an answer.

Given awk's age (1977-when computers were much slower and memory much more expensive) and pedigree (Aho, Weinberger, and Kernighan), I wouldn't bet against it for a task like you describe, but that's just a feeling. Again, I don't have any numbers to support that.

claystu··on The 2016 Top Programming Languages
To accomplish the same thing in awk:

  $ awk '{if ($3 < 36) print $1; else print $2}' data.txt 
  doe
  jane
  jack
  bob
Python has a lot of strengths and is better than awk at a lot of things, but one-liner column based text processing on the command line is literally awk's bread and butter.
claystu··on Why Turtles Evolved Shells
There's a really good Stephen J. Gould essay on exaptation titled, "Exaptation - a missing term in the science of form"
claystu··on FreePascal and Lazarus Foundation
You're right...it's still doable. I could if I wanted, but the cost/benefit analysis of my time vs the payoff of using Lazarus just doesn't make it worth the time.

Interestingly, here's a new link on HackerNews for the new haskell website: https://haskell-lang.org/

Now that's what I'm talking about...

claystu··on FreePascal and Lazarus Foundation
I mean docs that assume I've never looked at any other GUI system and don't know what an event even is, much less how to register one.

What if I'm a first-time programmer or have only ever programmed in MIT Scratch? What if I'm a PHP programmer? Do the Lazarus components work like Swing? Do you register event handling the same way?

I want tons of examples for every component--examples that start simple and work up in terms of complexity with comprehensive explanation along the way and I want it all linked under "Documentation" off the front page.

Now that's a lot. I recognize that. But I don't care. There are whole books available for Swing, JavaFX, Windows Forms, and WPF, not to mention Web Design. That's the standard today. Book scale documentation...

I'll say it again: I'd like to use Lazarus. I spent the morning programming a desktop application that could have been done in Lazarus, but it wasn't because I'd rather build programs than decipher an undocumented system, and I suspect I'm not alone.

claystu··on Oracle and the fall of Java EE
Well, the oracle website does tell you how to disable the toolbar, though I agree it shouldn't be there in the first place. As for uninstalling the old version, are you saying you want the new version to automatically uninstall old versions?
claystu··on Oracle and the fall of Java EE
What's so hard about the JVM install? I googled for "java download" and this was my first hit: https://java.com/en/download/

Went there and found a single, totally obvious button labeled "Free Java Download" that detects your browser and Operating System and makes sure you download the proper version of the JVM.

How much easier could it be?

claystu··on FreePascal and Lazarus Foundation
I wonder how hard it would be to poach the best parts of the GUI system from Lazarus and put it into a Turbo Oberon system.
claystu··on FreePascal and Lazarus Foundation
Did you ever look at Oberon?
claystu··on FreePascal and Lazarus Foundation
I just checked. Help shows documentation on FreePascal and what the different options are for Lazarus as an IDE, but I don't see any more documentation on how the GUI system works, which is supposed to be what makes this system so special in the first place.
claystu··on FreePascal and Lazarus Foundation
So, I downloaded the latest version to OSX. Effortless install. Opened Lazarus and it looks great. Threw a few gui components onto the blank form and hit compile. The program compiled almost instantly, popping up a native gui that looks great.

Excitedly went to click on documentation to learn more and...there is no documentation! Instead, there is a sort of slush pile wiki that, at best, might be considered an unorganized outline for documentation, but that's all. In 2016, that wiki doesn't cut it.

To the Lazarus developers: Lazarus looks awesome. Technically, it appears very mature, but without solid, deep, well-organized documentation how do you expect anyone to learn how use it?

claystu··on FreePascal and Lazarus Foundation
I think the parent meant Delphi
claystu··on Difficulties in Saving Moore’s Law
I wonder if hardware restraints might actually improve software. Instead of "what the hardware giveth, the software taketh away," the industry will instead begin to say, "well, this is all the performance we've got so let's make the code half the size it is right now and eliminate 50% of the bugs."
claystu··on How to Make an RPG
I disagree. The presence of several typos on the main page is a big red flag for a technical book.

Having said that, I'm still interested, but the lack of proofreading on the author's release announcement for his book is definitely counterproductive.

claystu··on Over one million people sign UK petition for second EU referendum
"Democracy doesn't work by voting until you get results you want."

What are you talking about? That's exactly how it works! You vote for what you want and hope the majority votes the same and you keep doing it for the things you believe in.

claystu··on A Behind-The-Scenes Look at Pixar’s New Short Film “Piper”
Watched "Piper" before "Finding Dory" the other day. We liked it better than the feature film.
claystu··on Nano is no longer a GNU project
This is what I do as well. I think it's pretty standard.
claystu··on What happened to Austin, Texas when Uber and Lyft left town
I think it's very likely that Uber and Lyft are going to revitalize the transportation industry by disrupting the old, taxi mindset; however, for everyone bemoaning the loss of Uber, the lesson of capitalism is that once a market gets discovered--or rediscovered--firms move in to exploit it.

The new services might be rocky at first, but competition in the marketplace should rapidly evolve them towards something better.

claystu··on What happened to Austin, Texas when Uber and Lyft left town
Do you go anywhere else except to work? What about groceries? Doctor's appointments? School stuff? Etc...

It's hard to imagine that you never leave the house except for work.

claystu··on What happened to Austin, Texas when Uber and Lyft left town
If there really is a big demand for this service then something else will probably come along to fill that niche.

I've personally never been to Austin, but I doubt the city is going to suffer any major decline in business because Uber and Lyft have left town.

claystu··on Brian Kernighan on the Typesetting of “The Go Programming Language” Book
What platform do you write on? Linux? Mac? I'm genuinely curious.

I have been looking for substitutes to Latex ever since writing my dissertation in Latex and having to debug/tweak an already horrendous Latex .sty file. I basically decided that I would either write technical documents in Tex or not at all after that. For me, Latex is great, until it isn't, and then it's Jinga-on-a-unicycle frustration.

claystu··on Can Extreme Exercise Hurt Your Heart? Swimming the Pacific to Find Out
I would go even further to say that after years of competitive swimming, I literally never heard it called "front crawl" by anyone. Every coach, swimmer, heat sheet, swimming record, etc...says freestyle.

NPR calling freestyle "front crawl" would be like referring to Tuberculosis research as "the consumption."

claystu··on Usborne 1980s computer programming books for kids become free downloads
They feel like the Head First series...only more fun.
claystu··on An awesome, easier fun way to begin Haskell
Wow! Great response. I have to say, I'm excited about your book. It sounds like a wonderful project.

It's also interesting that you are really paying attention to beginners. That's definitely something that Haskell needs. The first time I tried learning Haskell, I totally couldn't figure out what was going on. I didn't really understand it until after I played around with Erlang and then came back for a second look.

Anyway, this is a cool, educational project. I hope you keep it going and that the sales pan out.

claystu··on An awesome, easier fun way to begin Haskell
This looks like a really good start. I like it.

My request is that you include some real case studies. That's something that Peter Seibel did with his book, "Practical Common Lisp," and it was terrific. I bought Seibel's book--even though you could read it online for free--because he took the time to include those examples.

If you want to distinguish your book and encourage sales, show us how to do something that others have not. Build a game using a graphics library. (Real World Haskell just flirted with a GUI) Show us some web scraping or maybe build a stream editor. Make a server for the web. It doesn't have to be Apache, but if it serves web pages, I'll be impressed.

Anyway, I'll be following your progress, but there are already good Intro to Haskell books. If you want to stand out, go the Seibel route and include a final part that has real programs that showcase Haskell as a viable alternative to python/ruby/java/c/c++/etc...

claystu··on Show HN: A Forth-inspired game to teach kids programming
I don't think any kid--or adult for that matter--without experience in Forth would be able to figure this out. Even if they did, it wouldn't teach them programming.

All I saw were stack manipulation puzzles. Granted, I quit at the (oddly depicted) swap puzzle, so maybe it gets better, but I didn't see any sign of that.

At a minimum, provide help, hints, points for passing a level, and some kind of roadmap of what I will accomplish if I finish the game.

Edit: If you want to find out more about Forth, here is a tutorial from the One Laptop Per Child site: http://wiki.laptop.org/go/Forth_Lesson_0

← PreviousPage 2 of 5Next →