News for hackers. Stuff that matters.

yumaikas

Re:Nova Programming Language on Monday December 08, 2025 @11:15PM (#46201164)
Depends on what you mean by power, I suppose. Nova is Turing complete, so there's that.

One big difference between Nova and -most- logic languages is that "forgetting" things is a normal part of operation. Nova is also forward chaining, rather than backtracking.

The end result ends up with Nova programs being something closer to an interpreter in a lot of cases, and writing inputs for said interpreter.

So, Nova doesn't do as much on your behalf as Prolog does, deliberately trying to be easier to reason about, and to have more predictable performance characteristics.

Re:Nova Programming Language on Monday December 08, 2025 @02:27PM (#46196511)
That is one of a couple syntactical shorthands, explained a small bit here: https://nova-lang.net/introduction-to-nova/sight/#sometime-y...
Re:Nova Programming Language on Monday December 08, 2025 @01:16PM (#46195704)
(Nova dev here)

Nova's execution model is a lot friendlier to implement vs Prolog, for one.

One big reason reach for Nova are when I have something -very- state-machine shaped. It is quite good at that.

I'll try to come back later with more explanations

Re:Onion: Stack Language Compiled to Lua on Monday August 11, 2025 @01:55PM (#44867266)
Onion creator here, happy to answer any questions!
I've been working on https://deja-vu.junglecoder.com which is an attempt to build a JS toolkit for HTML-based doodads that shares some ideas with this.

I don't quite have proper reactive/two-way data binds worked out, but grab/patch seem pretty nice as these things go. Also, the way this uses templates makes it very easy to move parts of the template around.

It's also largely injection safe because it's using innerText or value unless told otherwise.

Re:Core: New way to develop video games on Monday September 09, 2024 @12:38AM (#41485496)
In the GMTK game jam, there was a -dramatic- shift usage towards Godot from Unity this year
Re:Ask HN: Who wants to be hired? (August 2024) on Sunday August 04, 2024 @09:47PM (#41157552)
Location: Denver, CO Remote: yes Willing to relocate: No Technologies: C#, ASP.NET, React, Typescript, JavaScript, HTML, CSS, Tailwind, Godot, Lua, Elixir, Powershell, git, Golang Résumé/CV: https://junglecoder.com/downloads/Resume/AndrewOwenFullstack... email: [email protected]
Re:Ergo: Erlang/OTP patterns implemented in Golang on Saturday January 28, 2023 @05:12PM (#34562548)
They are fairly generalizable, to a point.

The thing about Erlang behaviors is that they rely on several other pieces of Erlang to work well.

One big one is being able to be notified when another process goes down, or is aborted.

The other big one is being able to reason about state in the face of such failure.

Erlang decided to go with immutable data structures, shared nothing processes, and the OTP behaviors generally expect you to decompose the behavior of the various bits into functions that represent a single atomic step.

The more of those properties that you don't share with Erlang, the harder it will be to adopt OTP style semantics in your system.

Re:Ergo: Erlang/OTP patterns implemented in Golang on Saturday January 28, 2023 @04:36PM (#34562201)
So, the big difference between Go and Erlang style concurrency is that go style concurrency doesn't give you a readily available reliable way to keep an eye on other goroutines, as I understand it, where there are mechanisms in Erlang (links and monitors come to mind) to help accomplish that, and, in fact, it's one of the core parts of the Erlang model of concurrency
Re:A first person shooter in 571 lines of GNU Awk (2017) on Thursday January 19, 2023 @05:23PM (#34446530)
Where would you use this? Most languages have good enough string processing to imitate a lot of what AWK does
Re:Sperm counts worldwide are plummeting faster than we thought on Thursday December 01, 2022 @11:38AM (#33818698)
I mean, a lot of people may not have the financial option to have had kids younger. Like, the last 15 years have included two "completely upend your life" level crises, along with a lot of smaller crises that could have swept up someone.
Re:Open Source Personal Relationship Manager on Wednesday November 16, 2022 @01:42AM (#33619713)
Chandler reminds me of another, I'll fated PIM project, documented in Dreaming in Code.
Re:There aren't that many uses for blockchains on Thursday August 11, 2022 @03:33AM (#32422613)
> If you could rely on blockchains instead of trusting based on past cooperation

What about blockchains would make them an effective stand-in for building trust over time? One is a ledger, the other is an interpersonal relationship, and the two really are not the same.

If I'm going to take a risk, I'd rather take a risk where there's some human expectation of managing bumps in the road, and which has some means of redress if sufficient malice is involved, instead of one where a smart contract bug means that I've lost a lot of money.

> Labor is a cost center to be minimized for a business.

It's worth calling out that this is not an absolute value. It's definitely the predominant one, but businesses can and do exist where the core motive is to make sure that everyone working for the company shares in the success of the company equally.

And I think it is past time to be challenging that status quo

Re:“Code” 2nd Edition on Friday June 10, 2022 @06:44PM (#31700195)
The first edition of this book was my introduction into how computers worked at a lower level. It gave me enough of a grounding in various concepts that I was able to understand much of a Digital Systems class.

It also partly inspired my first efforts at building a scientific calculator (which would never be quite finished).

I definitely recommend it for folks who want to build context on the lower levels of computers, as a start into understanding CPUs, binary/hex, and other parts of how we tricked sand into thinking with lighting.

Re:EndBASIC on Tuesday June 07, 2022 @09:27PM (#31662196)
Do you have any plans on adding hashtables/dictionaries of any sort to the language? It seems to be above the cutting-off point for some other retro basics I've seen, like QB64. Perhaps it's too complicated to add, but they feel kinda like part of the bedrock of "scripty" languages these days, so it's something I'd definitely add if I was making a BASIC myself, but I understand that different folks take different tacks on stuff like this.
Re:Erlang/OTP 25.0 Release on Wednesday May 18, 2022 @12:26PM (#31424677)
If you're wanting to use Elixir, it's not going to be nearly as mainstream as, say, Node, but fly.io has support for Elixir apps (to speak of cloud), and I think there's some cool stuff going on in Elixir myself.

Of other note is that Erlang seems to enable folks that use it to punch above their weight class when it comes to running services internally and such.

Serverless is far from the only valid way to run things these days.

Re:Show HN: A programmer's approach to finding gifts on Friday April 22, 2022 @11:24AM (#31122766)
It Splits The Air in Two with the power of the BASS DROP

IDK, an EDM Knife sounds like a cool idea.

Re:Ask HN: How do I develop focus? on Monday April 04, 2022 @01:26PM (#30909403)
As a matter of course, not a medical professional:

Double check against ADHD.

If you have it, it changes how you approach all of the advice you might get, because it means your brain is literally physically different in how it manager attention.

If you don't, that's also valuable intel.

Either way, you'll also want to learn what emotions are in play with your new project cycles. Emotions tend to indicate needs, if indirectly, and if whatever need is driving all of the new projects is not met in some way, it'll continue to frustrate attempts to focus on one project. This is because starting a new project is a well-worn path for you at this point. That goes triple of ADHD or other neurophysical forces are in play.

Games are dramatically simpler.

Like, Commander Keen and the other of those games are the same amount of effort that might go in to a particularly well staffed month-long game jam today, just in terms of assets and total needed code. CV-11s video on Quake has a section covering that transition from mostly 2D to mostly 3D. It caught a lot folks off guard.

So, is this mostly using RSS/Atom feeds from the various websites in question?
Re:The harsh truth of video games programming on Wednesday February 16, 2022 @02:59PM (#30364924)
I'll say that I haven't taken a game beyond a game jam myself yet, much, but I have done that 8 times now, and when I think about the Grenade example OP gave, I believe myself competent to pull it off either in a M-F week of side-project time, or inside of a weekend of the same, depending on assets of course.

Godot does take a little bit to learn, but it is quite rewarding.

There are a number of larger side projects, game and no, that I've either completed or abandoned over the years, and, like you said, scoping down has been a primary way to help actually get them done.

But, I've also just now found a time slot to work on something consistently in, which has made a big difference.

Many folks don't account for how much "project management" is a key skill in efforts like this.

Re:The harsh truth of video games programming on Wednesday February 16, 2022 @02:46PM (#30364764)
I think a huge gap here is between gamedev as a hobby (where throwing away prototypes, or only doing jam-level games is fine and fun) vs trying to make games as an indie with an eye for quitting their day job. One of those is massively harder than the other.

And, I'd argue that if you want to consider indie-level gamedev efforts, it makes sense to spend 6 months as a hobbyist first, to kinda feel out the territory.

And, for me, if someone interviewed and showed off a game project, I know they've dealt with lots of mutable state, and the challenges therein, which is worth something.

Re:Lorinda Cherry, author of dc, bc, eqn has died on Wednesday February 16, 2022 @12:26PM (#30362778)
Niche and Nerdery is fractal, I find. I also find sharing my findings from exploring random niche corners of obscure topics to be rewarding.
Re:Five Levels of Hype on Wednesday January 26, 2022 @11:47AM (#30087870)
It is a rant, a well argued one, with a lot of salient points, IMO.

And ridicule is part of the point of text (not subtext) of the essay. Dan is making an emotional argument as much as he's making a logical one, because a lot of people will hear the emotional one where the logical one would just bounce off. Making something harmful actually seem uncool is a valid tactic, IMO.

Like, calling out Vitalik as a butthurt Warlock main is an attempt to make his origin story around the EVM seem to have a pathetic origin. Instead of applying himself to getting better at the new warlock meta, he went off and created a thing that has enabled a lot of real economic harm.

And pointing out the connection to Peter Thiel is as much about pointing out the involvement of big money in cryptocurrency as any specific character of Vitalik.

And it's not like Vitalik hasn't had a lot of chances to go "damn, the EVM is being used for a lot of harm. Maybe it wasn't worth it?"

Or maybe he has, and I (and Dan, because I think he'd have brought that up) have missed it?

These are a amazing pieces of computational art!

Might I ask what you built it with?

So, it's not GOAL, but I've been starting to work with https://fennel-lang.org and Love2d, and there's a twice-yearly Lisp Game jam that happens.

I've found that I like Fennel (and Janet as well, both created by the same author, though they have different maintainers) quite a bit. Turns out that having simple semantics and a very regular syntax makes for a language that makes writing basic code feel nice.

Re:The Boring YouTube on Thursday January 13, 2022 @12:18PM (#29923491)
I am definitely someone who will re-watch videos, especially video essays, songs, or memes, depending on context.

That being said, one would hope that Youtube would have better user segementation, but I can't imagine that is an easy problem.

Re:LastPass appears to be holding users' passwords hostage on Tuesday January 11, 2022 @05:44PM (#29899398)
If you're going to be paying a subscription anyway, I've been using 1Password for 2.5ish years pretty successfully.

It's also recommended by Troy Hunt, who has a reputation at stake in all of this, since he runs stuff like https://haveibeenpwned.com

At least facebook employs enough devs that, hopefully, the Bacon number to a Facebook dev is 2-3.

Older »