HackerTrans
TopNewTrendsCommentsPastAskShowJobs

larrry

no profile record

Submissions

Craft and Industry

takezo.bearblog.dev
4 points·by larrry·9 เดือนที่ผ่านมา·1 comments

comments

larrry
·17 วันที่ผ่านมา·discuss
I would love to see all of these come to LuaJIT (and love2d to support the new version too). It’s nice that Lua is simple, the syntax changes should hopefully make Lua code even simpler to read too
larrry
·20 วันที่ผ่านมา·discuss
Hi! A few years back I quit the industry and moved out of NYC. My goal is to live a humble life of subsistence. I’ve been told repeatedly by pretty much everyone in my life that I don’t actually want this, but the more active steps I take toward living alone in the woods, the happier I feel. I don’t deny extreme tradeoffs are required, but I grow more convinced that those tradeoffs are personally correct for me.

Perhaps not a common perspective (especially among NYC residents, city life offers a very different tradeoff), but just wanted to share that a real person does wish to be a “farmer” of sorts.
larrry
·2 เดือนที่ผ่านมา·discuss
A goofy skater’s head faces right, over their shoulder, and body faces left, relative to their forward movement.

Orientations are so confusing, I thought the parent was describing regular too
larrry
·2 เดือนที่ผ่านมา·discuss
What modifications did you make to help with gamedev?
larrry
·2 เดือนที่ผ่านมา·discuss
Valve and Panic should be models for software companies
larrry
·2 เดือนที่ผ่านมา·discuss
I’ve found that sometimes p2p connections will have large lag spikes when communicating across the country (and on WiFi networks, that’s likely the true culprit).

I would see rare bursts of packet delay for ~1 second, that would quickly resolve. In a rollback game where inputs are predicted well, often times this would be unnoticeable.

I send up to 2s worth of input history every frame to handle these lag spikes. I also confirm inputs received, so in practice usually players are only sending a handful of recent unconfirmed inputs (with the 2s buffer available if unconfirmed inputs pile up due to lag).

My guess is their 2s window is for similar reasons, as buffer for rare connection issues. Even if lag spikes are incredibly rare, they need to be handled for a reliable player experience
larrry
·3 เดือนที่ผ่านมา·discuss
I have a lot of respect and admiration for Panic, they make good quality software, made the Playdate (which hopefully has turned a profit, “spiritually” it seems like a huge win), and publish really cool games. It would make me happy to see more software companies follow that lead

I am working on a game myself, maybe I should reach out to see if it’s something Panic might be interested in publishing…
larrry
·3 เดือนที่ผ่านมา·discuss
Replays are very common in fighting games as well, rollback netcode gets you most of the way to a replay system already (replaying game state from inputs is a core requirement for online play)
larrry
·3 เดือนที่ผ่านมา·discuss
Some environments only expose float as the number type, love2d being one I know. Fortunately love is built on LuaJIT, which does support integer math through the built-in ‘ffi’ library.

My multiplayer arena game rounds reasonably-sized floats and compares them in the presentation layer, but uses fixed point integer math in the core rollback simulation

(I believe JS is a similar story, its number can be either int or float with no way to guarantee integer-only math. I never needed to consider the difference outside of currency for webdev, so I’m less sure)
larrry
·3 เดือนที่ผ่านมา·discuss
The core of my multiplayer arena game is in fixed point

I wanted absolute certainty that the rollback netcode would result in identical simulations on any platform, and integer math provides that. With set of wrapper functions and look up tables for trig it’s not that much worse than using regular floats

I am still uncertain if I actually would have been fine with floats, being diligent to round frequently and staying within true integer representable range… but now at least I’m far less afraid of game desyncs and it wasn’t that much work

Cross platform, cross USA games have been stable and fun to play, no fixed point complaints here
larrry
·3 เดือนที่ผ่านมา·discuss
I played with mine for a couple months, put it down for a year, and played it for a couple more months recently. There are some good games and the device just oozes fun, I haven’t regretted it
larrry
·3 เดือนที่ผ่านมา·discuss
I have an Ergodox EZ setup with a layer switch under my left thumb to a code-symbols layer on my right hand, formatted kinda like numpad but for brackets and boolean math. It’s been a good way for me to eliminate a lot of pinky use
larrry
·9 เดือนที่ผ่านมา·discuss
Yes, definitely. Despite struggling to describe the process, I would hope the end results still demonstrate the process can be rigorous even without words (is the drawing any good, did I find morels this season, does the code work as required)
larrry
·9 เดือนที่ผ่านมา·discuss
A fellow less/non verbal thinker! I resonate with a lot of what you wrote. I can think in words, but it’s not my default or most productive.

I kind of understand what you mean about reading, I find I have to invest a lot of time to comprehend the same amount as others. If I encounter an unconventional style or shape of writing it’s much harder.
larrry
·9 เดือนที่ผ่านมา·discuss
When making visual art, I don’t think in words. Shapes, colors, shading, perspective together turn into a final drawing; at no point do I translate this to words. I’m not sure what trying to draw by thinking in words would even look like.

Identifying and searching for morel mushrooms in the woods also feels largely nonverbal (although near a dying elm in late spring after a rain captures an essence of the idea, and those words provide a good starting point).

Coding ends in “words”, or at least some form of written language. But when I try to solve problems I do not think in words until it is time to put fingers to keyboard.

Words are useful (I could not convey this comment otherwise), but they’re not everything. It feels extremely difficult to convey my nonverbal thoughts through an inherently verbal medium like an HN comment. Perhaps to make a wordful analogy, the difficulty is like translating an idiom from one language to one of completely different context and origin.

I don’t deny that words do shape some of my thinking, but to me it’s just one part of the whole stream of conscious.

I’m curious if anyone else feels this way about words?
larrry
·9 เดือนที่ผ่านมา·discuss
[dead]
larrry
·9 เดือนที่ผ่านมา·discuss
[dead]
larrry
·9 เดือนที่ผ่านมา·discuss
I too am a Charles Addams fan! The best ink painter in cartoons (IMO), and definitely plenty of grin worthy gags.

Peter Arno is also another good ink painting cartoonist, although his subject matter has generally aged much more poorly…
larrry
·9 เดือนที่ผ่านมา·discuss
Have you ever laughed out loud at a cartoon? I don’t think I have, and I would say I enjoy cartoons quite a bit. A grin is about the best reaction I can give to one myself
larrry
·9 เดือนที่ผ่านมา·discuss
Panic’s Playdate has been easy to pass around to friends to try. The device intro is a lot of fun and shows the main interactions, and then the games a snappy and easy to jump into.

Definitely would recommend playing with one if you get the chance. Buying one… it depends on how much the device appeals to you, mine got active use for a couple months and then has fallen off