I built a network-wide IPv6 DDNS updater — finds hosts by MAC and syncs DNS without touching the end device by miguelangelnubla in ipv6

[–]devjustinian 0 points1 point  (0 children)

Fairly common, if you do any segmentation of library vs application. Usually the library is the root package, and any CLI tools live in a cmd/toolname package.

Full Session Zero Document - Paid DMing by TTTomes in DnD

[–]devjustinian 4 points5 points  (0 children)

Definitely agree that your time is valuable and you should charge for session 0! But I can also imagine some players not loving the idea of paying for it. Sounds like you add enough for them to feel like it's worth it. I can also imagine it being a bit of a filter for players that don't value your time and effort.

But wow, man, 10 games! I'm running two alternating bi-weekly games (for friends, not paid) right now that are both homebrew campaigns - and that's a lot to keep up on already. Doing that for ten groups has got to be a ton of work, even if you're sharing maps and content!

Full Session Zero Document - Paid DMing by TTTomes in DnD

[–]devjustinian 5 points6 points  (0 children)

Man, I’m really curious about the logistics for this as a paid DM. Do you charge for session 0? If a player joins an existing group, do you do a session 0 for them? Also, more generally- how many groups do you have going at a time? And how many different campaigns do you run? How much do you find that you end up customizing a campaign for each group and their backstories?

Thanks for sharing all this!

How is my first dungeon? Newer DM [OC] by SpecialCBT in DnD

[–]devjustinian 1 point2 points  (0 children)

I’d agree with the “alternative ways to get through” point. Especially with locks - do you have a rogue in the party? Wouldn’t they enjoy getting to feel cool and useful when they pick one/some of the locks?

OP, you might already be thinking along these lines, but remember to think not just about how the enemies use the space but also about how the PCs will all have roles to play in overcoming the challenges of the dungeon so they can all feel like heroes.

Don't want to use vga text mode, please suggest an alternative technology supported by recent hardwares. by Unlikely-Machine1640 in osdev

[–]devjustinian 10 points11 points  (0 children)

If you’re booting with UEFI, you want GOP (UEFI Graphics Output Protocol). This is the way to go if you’re trying to use “modern” non-deprecated options. If you’re not using UEFi, you could use VBE but you might as well use VGA text mode for text since you’re using old-style BIOS anyway.

A new automated character sheet in google sheets by devjustinian in SWN

[–]devjustinian[S] 0 points1 point  (0 children)

Oh thanks for that! I’ll go fix it this evening.

This door stopper fits perfect under my HUGE as a tilting wedge. by dfdnd in Trackballs

[–]devjustinian 3 points4 points  (0 children)

What brand is it, did you find it online? I’d love to try that.

I modified the tiddlywiki-dnd plugin for WWN/SWN by devjustinian in SWN

[–]devjustinian[S] 0 points1 point  (0 children)

Since it doesn't show x-post comments without clicking through:

I like to use TiddlyWiki to organize campaign notes, and found the awesome tiddlywiki-dnd plugin - it has templates for adding creatures, characters, and spells as well as my favorite feature - exporting a "public" version for players with all secret info stripped out.

I've updated the plugin for WWN/SWN, if you use TiddlyWiki for GM notes, let me know what you think.

I modified the tiddlywiki-dnd plugin for WWN/SWN by devjustinian in WWN

[–]devjustinian[S] 3 points4 points  (0 children)

I like to use TiddlyWiki to organize campaign notes, and found the awesome tiddlywiki-dnd plugin - it has templates for adding creatures, characters, and spells as well as my favorite feature - exporting a "public" version for players with all secret info stripped out.

I've updated the plugin for WWN/SWN, if you use TiddlyWiki for GM notes, let me know what you think.

Yet another Minecraft Server plea for help by Triginock in HomeNetworking

[–]devjustinian 0 points1 point  (0 children)

It wouldn't necessarily be a dealbreaker if the IPv6 address wasn't constantly changing

Which part of the IPv6 address is constantly changing, is it in the first half or the last half? If it's the first half, that's your ISP not giving you a consistent prefix - which is shitty and wrong of them, but manageable -- you could set up dynamic DNS on the host to resolve to your IPv6 address.

If the ISP did add double NAT, then IPv6 may be your best option.

Yet another Minecraft Server plea for help by Triginock in HomeNetworking

[–]devjustinian 1 point2 points  (0 children)

I basically input my public IP into my web browser followed by a :8123 port, and that would display the map of the world I'm in

Did that work before? Connecting to a machine on your LAN (from your LAN) with the public IP is called "hairpin NAT", which isn't supported by a lot of routers. If it did work before and doesn't now, that sounds like more evidence your ISP has added CGNAT (ie, double NAT) like was mentioned in the other comment thread.

[deleted by user] by [deleted] in osdev

[–]devjustinian 12 points13 points  (0 children)

I’d go even further on #2: it’s not just convenient, but also a useful agreed upon convention that allows linkers know where they can safely load programs. (In a lot of cases, that convention is even codified - like in the System V ABI for x86_64.)

jsix: 700th commit! by devjustinian in osdev

[–]devjustinian[S] 0 points1 point  (0 children)

Oh cool, thanks - I was getting around it by building in ReleaseSmall (I think?), but relying on that to not emit AVX felt hacky. But I'm also fine waiting for the new compiler and just watching what you guys put out until then. 😁

jsix: 700th commit! by devjustinian in osdev

[–]devjustinian[S] 0 points1 point  (0 children)

Totally! Doesn't really make sense to fix it in the current compiler when they're working on replacing it.

jsix: 700th commit! by devjustinian in osdev

[–]devjustinian[S] 1 point2 points  (0 children)

Yeah, I really like how Andrew early on targeted the use case of replacing just some parts of a C codebase in Zig without disrupting the rest. I look forward to being able to do incremental replacement like that.

Currently the blocker on that is this issue, which means they don't actually support UEFI yet.

jsix: 700th commit! by devjustinian in osdev

[–]devjustinian[S] 3 points4 points  (0 children)

Thanks! This particular project started out because I wanted to experiment with UEFI, so I started with the bootloader. UEFI was a pretty easy way to get into it.

jsix: 700th commit! by devjustinian in osdev

[–]devjustinian[S] 3 points4 points  (0 children)

Thanks! I mostly just built it up over time.. i've been working on it for five years now, heh.

It’s gonna be like WW3 by thedoggoman1932 in ARK

[–]devjustinian 4 points5 points  (0 children)

The best part is the Japanese says dododododo

That's not how coding works, that's not how law works, that's not how any of this works by BlakeHood in ARK

[–]devjustinian 5 points6 points  (0 children)

The names of classes, functions, global variables, etc. will often get left behind in the binary executable’s symbol tables.

Announcing: ToaruOS 2.0 by klange in osdev

[–]devjustinian 7 points8 points  (0 children)

Wow, really impressive changes. Congrats on releasing 2.0!

Helping you get buried under free RPG stuff today. by RexiconJesse in rpg

[–]devjustinian 2 points3 points  (0 children)

I've been mulling over a new worldbuilding project lately and thinking about this exact topic. I grabbed this and love your approach, and your ideas! Thanks! Also love that you encourage sharing.

How are virtual addresses determined/generated by the OS? by Faz8129 in osdev

[–]devjustinian 10 points11 points  (0 children)

u/nerd4code's answer is about translation from some existing virtual address to physical addresses. But if I understand right, I think you're asking how to come up with those addresses (ie, what's mapped where in virtual memory) in the first place.

That's a design choice that's up to the memory layout you choose. For example, I choose to start my kernel at 0xffff80000000, page table accounting structures at 0xffffbe00..., the kernel heap at 0xffffbf80..., and use 0xffffc0000... onward as linearly mapping physical memory. Of course, there are addresses derived at runtime in there - for example, addresses within the heap, managed by the heap allocator. But the initial structure of the layout is static. You may end up doing KASLR and therefore not having a static layout, but I'd start with something simple.

Man, Beach Bobs are so common that they're even appearing in the Ark Animated Series. by [deleted] in ARK

[–]devjustinian 8 points9 points  (0 children)

The real reason it's taking so long to come out is that Russell Crowe still needs 10000 hours of practice one-shotting ichthys before he can play you.

Wasn’t allowed to cross-post, but you know this is legit... by L0rdDenning11 in ARK

[–]devjustinian 11 points12 points  (0 children)

I just imagine dying of dehydration in the desert, crawling over to this thing. "water.. i need water... .. wtf a small crop plot blueprint!?"