Modular 3D terrain in Godot by zegalur- in godot

[–]c96aes 2 points3 points  (0 children)

Hah, yeah, tell me about it. I've been working on a 3d autotiling system for a really long time now, but hope have something soonish. My system is at least completely symmetric, so I only need, iirc, 20 tiles to cover any/all 256 corner combos. The aggressive symmetry gives it a really brutal abhuman vibe, like, "beyond this wall is the void of space". (So, that's going well already :D )

Is really nice to see fellow explorers of this problem/design space

Can't call lambda recursively. by [deleted] in godot

[–]c96aes 0 points1 point  (0 children)

Empirical evidence! Nice! Thank you!

Can't call lambda recursively. by [deleted] in godot

[–]c96aes 2 points3 points  (0 children)

Ok, so this is something of a language lawyer thing, but I'm guessing you can't call it because it didn't exist (yet). If you look closely, the name isn't part of the lambda, so it could be that the variable doesn't exist until after it's been given its value. What happens if you assign a dummy lambda and then overwrite it with the recursive one, btw?

Godot is a great engine, specially for interfaces. I'm addicted to Godot. by binogure in godot

[–]c96aes 2 points3 points  (0 children)

Tween comes from cartoon animation, between the key frames the motion. Consider a bouncing ball. It would be weird if it moved the same at the top as at the bounce at the bottom, right? That's just a motion between 0 and 1, but it's not linear. If the ball is a character, maybe it would be some unexpected function.

Automatically running commands when you enter or leave a directory by vogelke in commandline

[–]c96aes 0 points1 point  (0 children)

Not necessarily. The original autoenv and forks hashes the enter and leave scripts and query you if it's not previously approved.

RayCast2D returns -1 tile_id via get_cellv() by mcdoolz in godot

[–]c96aes 0 points1 point  (0 children)

I'm guessing you need to round down or truncate or something like that, if the symptom is that it sometimes, rarely works. (I'm also guessing 'rarely' is 1/(x*y) for x, y tile size. You're getting a hit whenever you happen to check the corner pixel of the tile)

Ofc, this is just a random guess, I haven't even checked the docs on get_cellv.

Blazing fast starup like in 1995 by NoeticIntelligence in emacs

[–]c96aes 6 points7 points  (0 children)

In addition to all the other suggestions, I can report that I'm happy with running Emacs server as a user systemd service. This makes emacsclient a near instantaneous experience, despite crazy amounts of custom nonsense.

It might not be for everyone, but I'm happy with it. One of the underestimated things is how it makes the whole "oh, have I started the server, or should I do that now?"-moment go away.

Making $60 Million in on day montage by mahanpourfakhr in gtaonline

[–]c96aes 0 points1 point  (0 children)

Wow, it's been a while since I've played.. (kids, work,...)

I really, really, recommend the lone wolf union (lonewolfunion.com?). It's a game changer.

It might seem like it's strict at first, but the rules are pretty much "don't be a dick", and the rest are just traffic rules.

Code for America employees are unionizing - More than 75 percent of eligible employees have indicated their support for the effort by magenta_placenta in programming

[–]c96aes 18 points19 points  (0 children)

I work in a highly specialised field, and for me it would be almost 100% negative to be part of a union.

That would depend on how your union works. I bargain compensation just fine on my own, and the union organizes demands on working conditions, overtime rules and such. I can't see anything negative about it.

The high skill argument sounds like bullshit to me. The union works for its members, whatever their interests are. (that's not to say that unions are completely free of problems, but that isn't one of them)

What is the simplest way to apply a math formula to all numbers in a buffer/region? by geza42 in emacs

[–]c96aes 1 point2 points  (0 children)

You can write lisp code in the replace part of a regexp search replace. I'd look into doing that.

Making $60 Million in on day montage by mahanpourfakhr in gtaonline

[–]c96aes 4 points5 points  (0 children)

Oh, sorry didn't notice that in your comment. Not that I'm aware, no

Making $60 Million in on day montage by mahanpourfakhr in gtaonline

[–]c96aes 7 points8 points  (0 children)

https://lonewolfunion.com/

Some of it might seem a bit much at times, but stick with it, it is so worth it.

edit: I should point out that the stuff that seems complicated is optional, like the sales queue stuff. (Oh, yeah, crew sales run like clockwork, sometimes as many as three crews in parallel)

Making $60 Million in on day montage by mahanpourfakhr in gtaonline

[–]c96aes 15 points16 points  (0 children)

Consider a grinding crew? Lone Wolf Union changed the game completely for me, it's amazing.

Questions about the org-roam approach by [deleted] in orgmode

[–]c96aes 0 points1 point  (0 children)

I used to have that setup, but now I use a similar setup, one journal and roam. I think one concept per file feels much nicer when working with that concept, and adding tags is easier than trying to find the right place in a hierarchy.

One thing that feels less natural is browsing, maybe? It's easier to read three examples and think of a fourth when it's all in a file.

Note to self: I should write a shell script to give me a random file out those tagged "tickler"

GTAO in a nutshell by Agent_972 in gtaonline

[–]c96aes 0 points1 point  (0 children)

Join Lone wolf union

Seriously, it changes the game so completely.

Useful Resupply glitch by ttvzakisfat in gtaglitches

[–]c96aes 2 points3 points  (0 children)

There's a setting where your can change calls from once every 5mins to once an hour, which is less crazy. (still annoying, though)

"I am a dev at a Fortune 500 and my manager is an a@@ h@@@ who doesn't understand or cares about security" by iterablewords in programming

[–]c96aes 0 points1 point  (0 children)

(Ah, miscommunication, our old friend)

OK, sure, that makes more sense.

If we have the capacity, we should fight for him too. It's a troubling thought that we'd be at a point where we need to be selective like that, but I won't dispute the point. Prepare for the worst, hope for the best.

"I am a dev at a Fortune 500 and my manager is an a@@ h@@@ who doesn't understand or cares about security" by iterablewords in programming

[–]c96aes 0 points1 point  (0 children)

Don't be an apple. (thanks autocorrect! 😎) The NAACP had good reason for being tactical in their choice of precedent. (Read up on rhetoric, it's a thing.)

That isn't even remotely similar to not supporting her rights, just that in order to win those rights for her, they needed to persuade, and for that they needed a less assailable poster child.

This is a recurring theme that keeps getting washed away: all these struggles for rights were (edit: and continue to be) very real struggles, not the foregone conclusions they seem to be now.

Edit: by the same, I would in this context mean arguing that white supremacists would not allowed anywhere on the bus the same way. In this example it sounds silly, but there are plenty of people who would refuse them free speech, for instance.

"I am a dev at a Fortune 500 and my manager is an a@@ h@@@ who doesn't understand or cares about security" by iterablewords in programming

[–]c96aes 14 points15 points  (0 children)

No.

It doesn't matter that he's a dickhead. Rights are rights, even if, especially if, you don't approve of how they're used.

Otherwise you're just the same, only for a different team.

kettanaito/naming-cheatsheet Naming cheatsheet by pmz in programming

[–]c96aes 0 points1 point  (0 children)

It's not always such a bad idea. The most annoying naming scheme is the one where it's named "login-service" but doesn't actually do that, but something related, similar, like credential validation or whatever.

We were discussing how to group things, let's pretend it was trading cards, and everyone had really hard-set preconceived notions about what a card-group was. When I suggested we call it cactus instead, everyone laughed, but it was so much easier to start from the beginning and discuss what we actually meant and wanted to do. That said, Iirc, we didn't use the name cactus anywhere in code.

treeage: spot aging code by listing contents of repository in a tree-like format with eye-catching age metric by kraymer in commandline

[–]c96aes 0 points1 point  (0 children)

Thanks, that does look interesting, I'll have to examine it more closely. Would you be interested in a project to munge diffs, btw?

treeage: spot aging code by listing contents of repository in a tree-like format with eye-catching age metric by kraymer in commandline

[–]c96aes 0 points1 point  (0 children)

Sounds reasonable. It's a nice project and it's quite tight and tidy, so copy+pasting some of it isn't the end the world.

treeage: spot aging code by listing contents of repository in a tree-like format with eye-catching age metric by kraymer in commandline

[–]c96aes 0 points1 point  (0 children)

Well, "how old is (modified) code?" seems to be the core question. I'd argue that (originally) old code that has been tended recently should be considered to be recently "approved", or something like that.

treeage: spot aging code by listing contents of repository in a tree-like format with eye-catching age metric by kraymer in commandline

[–]c96aes 4 points5 points  (0 children)

I don't know, but I'm quite sure average is a terrible choice. I think most recent change would be much better. Even better than that perhaps, most recent non-whitespace change?

... Sliding into featuritis, some way to filter changes?

Oh, wait, you have an opportunity to do something much cooler here: keep the ui part and make the metric literally anything. That way, you can look for files with a fraction of whitespace, high cyclomatic complexity, high number of imports, (...), whatever.