News for hackers. Stuff that matters.

sea6ear

Re:Ask HN: What're You Reading? on Tuesday September 29, 2026 @08:55PM (#49903031)
I guess I am reading Elric of Melnibone - although I can't say I'm really enjoying it, and looking forward to getting back to something like Earthsea that is more hopeful.

For programming I am reading HTML5 Games: Novice to Ninja, which I quite like so far. And JavaScript for Kids - both with the intent to entice my kids into game programming.

For work I am reading Learn dbatools in a Month of Lunches and outside of lingering questions about whether anything command line oriented matters in the age of AI, it has been really helpful in encapsulating solutions to things that are distinct problems in administering SQL Server.

Re:Tcl/Tk 9.1 Released on Tuesday September 29, 2026 @08:35PM (#49902862)
I loved your 'expand' utility - and wrote a truly heinous Tcl to PHP framework/translation layer using it, because I preferred Tcl to PHP at the time - still do, but the early hatred for PHP has muted - that powered an application at the college I attended for an embarrassingly long time.
I think this was created by kazinator who has posed a fair amount about lisp here over the years.
I've been playing around with the Godot game engine as a sort of modern successor to Delphi / Lazarus. I'm currently messing around with trying to create some database server management software using it.

GDScript is pretty similar in feel to Python, and you can also use C# if you want to. It has some level of GUI controls in the framework (not sure how many yet, but all of the GUI controls used to build the editor are available for use).

I want to believe the 3d capabilities might be useful for some kind of UI stuff, but I don't really have a real idea how to make that work - just a "wouldn't it be neat if..." question about it right now.

Re:A rant on personal engineering projects [video] on Wednesday February 12, 2025 @07:17PM (#43031317)
I love the framing in this video in terms of the decisions I need to make when I'm doing personal projects.
Re:What I Wish Someone Told Me About Postgres on Tuesday November 12, 2024 @03:43PM (#42119523)
With the caveat that you probably shouldn't listen to me (or anyone else on here) since you are the only one who knows how much pain each choice will be ...

I think that given that you are not really dealing with structured data - you've said that different sites have different structures, and I assume even with processing, you may not be able to generate identical metadata structures from each entry.

I think I would go for one column of XML, plus maybe another column that holds a parsed data structure that represents the result of your processing (basically a cache holding the post-processed version of each site). Hopefully that could be re-evaluated by whatever language (Python?) you are using for your application. That way you don't have to do the full parsing each time you want to examine the entry, but you have access to something that can quickly give you whatever metadata is associated with it, but which doesn't tie you to the rigid structure of a table based database.

Once you know what you are really doing with the data, then you could add additional metadata columns that are more rigid, and which can be queried directly in SQL as you identify patterns that are useful for performance.

Re:How to read C type declarations (2003) on Friday May 17, 2024 @02:02PM (#40392572)
It's not listed as cdecl and (therefore?) not findable in the index, but in chapter 5 - Pointers and Arrays - the book presents the programs dcl and undcl that translate between C declarations and English renderings of them.

I believe dcl mimics the cdecl program.

Re:Ask HN: Modern Day Equivalent to HyperCard? on Wednesday May 01, 2024 @09:53PM (#40231939)
My suggestions would be Tcl/Tk or Pico 8.

Tcl/Tk is still the easiest way I have found to make small gui apps and the language and standard library is small enough to keep in your head easily.

Pico 8 is my recent love. It's a great way to make small retro style games. There's a free educational edition or you can pay $15 for the full version which has some extra export options. I've been playing with it for the past couple months and my kids from 6-11 have started to get involved. It's programmed in Lua and I and my kids prefer it at the moment to our previous attempts at Scratch.

Re:Ferret Lisp on Monday February 26, 2024 @04:54PM (#39517186)
Couple questions / points of note:

o I believe this manual is downloadable as a literate org file that contains both the full documentation of the system, and the code of the system itself

o This system produces C++ code that can be compiled down to binaries.

o I am curious how this compares to Jank - another Clojure (ish?) dialect that also targets compilation via C++.

Re:Implement Tcl in Tcl (2007) on Tuesday February 13, 2024 @03:01PM (#39362122)
There were a number of really mind-blowing programmers that hung out in the Tcl ecosystem back around this time.

antirez, Richard Succhenwirth, Jean Claude Whippler, more.

So much of my early programming education was just wandering around the Tcler's wiki and messing around with the amazing random toy projects they came up with.

And then dipping down into the C code for Tcl was always really cool - the Tcl C style has always really impressed me. And it seems like that style was carried on in related projects like SQLite.

Re:Implement Tcl in Tcl (2007) on Tuesday February 13, 2024 @02:50PM (#39361989)
In case it's not clear without clicking on the username - SS (Salvatore Sanfilippo) is 'antirez' the later author of Redis.
Re:Embracing Common Lisp in the Modern World on Tuesday January 30, 2024 @02:41PM (#39194668)
Sorry for responding late, but I don't think Termux includes SBCL - at least it doesn't on my android devices. But it does include ECL (Embeddable Common Lisp).

Apparently, you can compile SBCL using ECL, so if you really want SBCL itself instead of just a Common Lisp implementation, that might be a path to it.

Older ยป