I'm surprised that no-one has posted Ashen's review of the PCP station yet:
https://www.youtube.com/watch?v=nBBMnY7mANg
Best posts made by Wukl
-
RE: These Chinese knockoffs are hillarious
-
RE: Re: Go stand behind him
@kazitor Yes it does! The preprocessor replaces comments with a single space.
-
RE: Trustworthy e-mail provider
I use Mailfence, the Entry subscription at €2.50 per month. This subscription has IMAP, CalDAV, a web interface and up to 10 domains and aliases. As well as a document storage thingy that I don't use.
I picked Mailfence over Protonmail or Tutanota because the latter two don't support IMAP. Protonmail does have a "bridge" service, but you need to install this on every device you need IMAP on.
They also have a transparency report.
Before Fastmail I used TransIP, but they're getting expensive. Before TIP I self-hosted, but that was a nightmare. Every upgrade or modification had a chance of breaking the setup. Cannot recommend.
-
RE: Discourse 1.0
The thumbnail of the embedded video clearly illustrates Discourse's current state.
-
RE: Representing a dungeon as a data structure
a) representing such a tree in code (such as a built-in data structure for such things)
There are three common options. I'd go for a graph stored as an adjacency list. Each room has an identifier and a list of identifiers for adjacent rooms. A separate dictionary maps identifiers to room instances. This also makes it very easy to serialize.
b) generating such a tree? Recursion? Some form of iterative tree/graph traversal?
You can use a modified randomized Prim's algorithm: keep a list of walls (or wall segments). While the list is not empty, pick a random wall and generate an adjacent room, adding its walls to the list. You can randomly leave out walls or entire rooms from this list to bias the size of the dungeon and the number of terminal rooms.
If geometry is important, i.e. you don't want impossible, overlapping rooms, you can keep rerolling the room dimensions, use a grid system and "grow" rooms around a seed room, use a spatial tree, and so on. The possibilities are endless. I built a genetic algorithm for generating floor plans based on this paper.
For printing, if the dungeon is more graph-like than tree-like, I'd construct a tree breadth-first so you don't end up with a very deeply nested output. Implementing this is easy: you create a "to-be-visited" queue and a "visited" set. Put the root in the queue, and while the queue is not empty, dequeue a room and add any unvisited neighbors to the set and queue, while erasing the edges to the visited neighbors.
You can then print the tree using depth-first traversal. There may be a more efficient way to do this, though.
-
RE: Asking the TDWTF hive mind [choice of language]
@GÄ…ska said in Asking the TDWTF hive mind [choice of language]:
(and it's all software rendered - be aware)
SDL does have OpenGL-accelerated 2D rendering. It's fairly basic, but enough to build a simple game with: https://git.wukl.net/ancient-project-archive/lbs/-/blob/master/src/main.c. It also has an audio plugin, SDL_mixer.
It's all easy to use, provided you know C. It's probably best to forget about C++ for now. For more serious game projects I'd consider a managed platform first, like C# and Unity.
And then there's this: https://pecl.php.net/package/sdl
-
RE: Moar Cooties
OVH had an outage: https://www.theregister.com/2021/10/13/ovh_outage/
-
RE: Discourse 1.0
It probably isn't useful. It certainly isn't Jeff's house and the only other possibility listed on the Discourse Team is just an advisor.
-
RE: The Official Status Thread
@Tsaukpaetra
ThanksUsually people ask me why I have a penis as my avatar.
-
RE: How do you name your machines?
I name them after HHGTTG characters: my two desktops are Zaphod and Slartibartfast, the servers are Fenchurch, Trillian and Marvin, the laptop is Agrajag, my iPod is Arthur and my phone is Ford.
Naming the boxes is crucial when working together on a hobby project. It's so much easier to say Fenchurch than 'that web server on IP .9'.
Plus I can do
ssh fenchurch
, which is better thanssh <ip> -p 2222
or something like that. -
RE: Microsoftsale.org legit???
I've bought a Windows 8.1 license at /r/microsoftsoftwareswap for $30. I don't know how legal it is, but it activated fine on a Microsoft ISO and upgraded to Windows 10 without problems.
-
RE: Poll: Are polls broken?
Awesome
Breakpoint in the poll script, click vote, then setthis.min = 1
. -
RE: Poll: Are polls broken?
http://what.thedailywtf.com/t/status-whatever-happened-to-ssds/1673/19643?u=wukl
So that's possible too.EDIT: that doesn't look right, does anyone else see 1 voter in the actual post?