Hacker Newsnew | past | comments | ask | show | jobs | submit | more hunterb123's commentslogin

missing the most important part. the underbrush.


Yeah for sure, the goal was to learn egui and validate it's portability. The logic is largely lifted from the NetLogo model library (https://ccl.northwestern.edu/netlogo/models/Fire) and represents only the relationship with density and how far a fire is able to spread. I added a couple variations for fun (like using Perlin noise).


No when you have ADHD it's really really hard to get started on a new task, but you do obsess over a task once you get started on it.

You'll do everything you can to avoid it first though, until the stress of the deadline overweighs the dread to start.


I always find that portion of ADHD somewhat amusing. Getting fixated on a task and unable to context switch is a big thing, which I think is surprising for many people.


You forgot to link the source


> based on his enthusiasm to invest in Elon's takeover of Twitter

Could you explain what you meant by this?



$67 million (D) vs $2 million (R) is significant. It also depends who it was given to.


I've had some success with https://github.com/TypeScriptToLua/TypeScriptToLua

Luau may be an alternative as well, haven't tried it.

I love Lua, but at larger scales it's unmanageable.

Nim is used heavily in the gaming industry as a Lua replacement as well.


> ...but at larger scales it's unmanageable.

Can you elaborate on what it is you find unmanageable about Lua at scale? Is it just typing that you're missing?

The biggest difference between Lua and TypeScript in my mind is that Lua has been going on a minimally-invasive and continuous upgrade path for decades, so I assume that it will likely keep doing that for several more decades. With TypeScript I can't tell whether it's here to stay or just this week's iteration of CoffeeScript on the JS fashion treadmill.

That may be less of a consideration for more ephemeral types of applications like websites and games, but it becomes a huge consideration for applications that require large spans of time to ammortize the cost of building them like individual software in the corporate space or applications that are somehow highly specialized. (This is the area that I'm in).


Teal is like typescript for Lua:

https://github.com/teal-language/tl


I want to like Teal, but the lack of nil checks[1] is a pretty big sacrifice in the name of "staying true to Lua idioms".

>>> Every type in Teal accepts nil as a valid value, even if, like in Lua, attempting to use it with some operations would cause a runtime error, so be aware!

I know you can use (or implement your own in about 8 lines) strict.lua[2], but that just seems like such a shame to omit nil checks from a gradual type system. I still follow the project, but I put a little more hope in Pallene's[3] development, although the aims are slightly different.

[1]: https://github.com/teal-language/tl/blob/master/docs/tutoria...

[2]: https://www.lua.org/extras/5.1/strict.lua

[3]: https://github.com/pallene-lang/pallene


"All of the people who have different life choices than me will die out one day"

Is that all cultures you're waiting to die out that are using ICE vehicles and eating chicken, or just Western peoples?

Lots of babies and and future babies who live those lifestyles you're going to have to wait to die...


that proves their point does it not?

some transit costs $5m per mile, some transit is $1b per mile, find the corrupt one.

anytime you have a large spigot of taxpayer money you'll have people in charge trying to funnel it away using contractors, lobbyists, etc.


It does not prove their point.


anyone can eat algae if they want to, most don't want to.

some people do want to eat crab and lobsters, some don't.

it's not a naming issue or a perception issue, it's a choice issue.


I don't think anyone is saying to not eat what you want anymore, it's about having another option.


The entire piece is about guilt tripping the reader into eating algae under the threat of climate change.

The title is called "Is it time to start eating algae?" even...

The answer to the title is no, unless you want to, which you can already.

If it was about another option it would be a recipe article, not a climate change article.


You first, Sarah Gibbens


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: