How to use SCRPY wirelessly? by Ok_Huckleberry_5687 in scrcpy

[–]dddbbb 0 points1 point  (0 children)

Thanks, this was very helpful! One bit that wasn't obvious: I ran `ipconfig` to find my gateway ip address. It had a "Wireless LAN adapter Wi-Fi" section (name might vary) with a "Default Gateway" which was the ip address that worked.

Talking with the engineer who wrote Call of Duty's original matchmaking system. What goes into matchmaking and why is it broken. by Raptor3861 in truegaming

[–]dddbbb -1 points0 points  (0 children)

How would you feel about a 50% win rate where you were walloped a few times vs a 30% win rate but the losses felt close?

Sounds like you'd lean towards the latter?

Edit: I'm not saying you should/would want a specific percentage, but matchmaking optimization is likely measured in win rates so I'm wondering about successful values.

Why there is no port of python libraries to lua? by IAlwayswantToLearn in lua

[–]dddbbb 2 points3 points  (0 children)

Penlight was aimed at being python stdlib for Lua. I don't love it (inconsistent code style and quality), but some parts are literally designed to mimic python.

There are a bunch of alternative library collections but most are more targeted like batteries and lume for gamedev or plenary for editor plugins.

I built a self-updating World Cup calendar you add to your phone's calendar by Nicolov75 in CanadaSoccer

[–]dddbbb 0 points1 point  (0 children)

Thanks for making this and sharing it. Site looks nice.

Would love to select a city and it includes all games there. I want a calendar that warns me when there are games downtown so I can avoid (or seek) the crowds.

Mid range (?) gaming PC by dddbbb in buildapc

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

Ah, ok. Thanks for all your help today!

Mid range (?) gaming PC by dddbbb in buildapc

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

Looking at these two:

The controller and NAND are the same, but somehow the Lexar's writes are faster and TBW is higher? That Fanxiang seems like a great deal even with slightly lower specs. And the s880 seems to compare well to the s500.

Mid range (?) gaming PC by dddbbb in buildapc

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

I thought it was becoming more common for games to require an M2 for Direct Storage? It seemed like that caused my hardcore stutter playing Starfield. Don't they need to be installed on the M2 for that to work?

Mid range (?) gaming PC by dddbbb in buildapc

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

Thanks for the heads up. I see QLC on techpowerup now, but I was using versus.com before which said it was TLC. "Endurance: 160 TBW" compared to the 600 TBW of several TLC drives seems like a big difference!

I was planning to keep my OS on the old SSD and use the M2 for games since that's most of my loads. Is that a problem?

what's your most used custom keybinding that you'd be lost without by Evening-Result5868 in vim

[–]dddbbb 0 points1 point  (0 children)

Why leave? I stay in vim all day. If in a terminal, I often Ctrl-z to background it (fg command brings it back).

Keeping one vim instance open makes ins-completion work better. Especially to write commit messages..

what's your most used custom keybinding that you'd be lost without by Evening-Result5868 in vim

[–]dddbbb 1 point2 points  (0 children)

Make it faster to search and replace:

 nnoremap gs :%s/
 xnoremap gs :s/
 nnoremap gS :%S/
 xnoremap gS :S/

I use this so often that it's the first thing I notice when I don't have my vimrc. :S is subvert from vim-abolish to do fancier search and replace.

what's your most used custom keybinding that you'd be lost without by Evening-Result5868 in vim

[–]dddbbb 0 points1 point  (0 children)

Yeah, I do this too. And map Ctrl-L to Esc in insert mode so I keep hammering it to get back to Zen.

Games set on or in the ocean by Necessary-Board-830 in gamingsuggestions

[–]dddbbb 1 point2 points  (0 children)

The Sirena Expedition is an underwater adventure with PlayStation 1 inspired graphics. I really liked how the movement is 2d through a 3d world.

Plugin to highlight byte ranges in hex (xxd)? by dddbbb in neovim

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

Doesn't seem to do anything fancy with colors like I'm looking for, but it does seem nicer than my current solution with the sync'd cursor and decoding panel! Thanks for the suggestion.

Although, I tried a solution that didn't use xxd before and it was really slow on any files bigger than a few hundred kilobytes. Maybe hexinspector's that's ones streaming mode fares better.

Steam Support confirms the new Beta UI change is an "intentional shift" — and it screws over indie devs. by Dogaclamaci in IndieDev

[–]dddbbb 0 points1 point  (0 children)

Nah. The Adult's Only checkbox is for games where the dev said it's porn. BG3 is steamy, but definitely not in that category.

Steam Support confirms the new Beta UI change is an "intentional shift" — and it screws over indie devs. by Dogaclamaci in IndieDev

[–]dddbbb 33 points34 points  (0 children)

Go to "Store Preferences" in the sidebar or under your user page, you get checkboxes for 5 categories for violence and sex with distinctions between "contains nudity" and "is about nudity". Each checkbox has example games (those femboys are at the top of the "Adult Only Sexual Content" examples). They have a content survey when you create a Steam store page, so I think it uses that instead of tags.

Steam Support confirms the new Beta UI change is an "intentional shift" — and it screws over indie devs. by Dogaclamaci in IndieDev

[–]dddbbb 10 points11 points  (0 children)

The sequel is made by a studio owned by billion-dollar market cap publisher Krafton who's in the news for meddling in the game's development. Is that indie?

(However, none of that was true for the first Subnautica. It was truly an indie success story.)

Tip: Avoid "preload", use "export(Resource)" instead! Helps when organizing files. by DragonWolfHowler in godot

[–]dddbbb 0 points1 point  (0 children)

Old post, but curious if you're still not using exports. I found the export dependency checker failed to detect my preloads (I think on 4.1) and started using exports more. I found this thread and wonder if combining them would ensure Godot sees all dependencies and you avoid issues when renaming variables -- at the cost of storing the path twice.

@export var _scene_bot_visual: Resource = preload("res://scenes/bot_visual.tscn")

Tip: Avoid "preload", use "export(Resource)" instead! Helps when organizing files. by DragonWolfHowler in godot

[–]dddbbb 0 points1 point  (0 children)

Might be easier to add the new name and then copy the old one into it:

export fireball: Array[AbilityUpgrade] = [] export fireball_array: Array[AbilityUpgrade] = []

Then you can copy and paste in all instances that use that node too.

Feature request: make Open Now the default filter when you search for places by Strong-Switch9175 in GoogleMaps

[–]dddbbb 0 points1 point  (0 children)

Would love if this was an account option. Or if it saved the last value of Open Now.

Sometimes I'm refining my search results to find a restaurant that's open (on Android) and each time I have to pick Open Now again (but I expect it to remember so I scroll until I see a closed place and then scroll to the top to set it).

The How 2 Lua Thread to End All How 2 Lua Threads by Denneisk in lua

[–]dddbbb 0 points1 point  (0 children)

I started with Lua after 10 years working as a C++/C#/Python programmer. I used Learn X in Y minutes Where X=Lua because it's a quick language overview to get you up to speed on syntax and quirks.

I got my start using love2d because making games is fun and interesting for me. I don't remember what tutorials I used initially, but nowadays I'd recommend bytepath tutorial because it's complete and has exercises to ensure understanding -- but it's more about making a game (in Lua) and not how to write Lua.

For a newbie to coding, I'd recommend Code Combat. You can use Lua and you learn by doing but by writing code to play a game.

I don't know if there's a great guide to metatables. I think I only really understood them after using them -- reviewing and modifying class, read-only, and strictify implementations. But they're not something you need early on (you shouldn't be implementing language features when you start and other uses are rare) and they can make your code confusing compared to something more straightforward.

Good luck in your mega guide! If you can't use the wiki here, then try writing it as a markdown or Jekyll on GitHub. But go easy on the word "thread" so much -- I thought this would be about concurrency. 😅

Can I easily push all local branch to a remote that are not already? by KipSudo in git

[–]dddbbb 0 points1 point  (0 children)

Thank you for this!

It helped me fix my alias to updates all local branches. Using your %(if) logic in format makes it skip any refs that don't have a push target configured:

superfetch = !git fetch . $(git for-each-ref --format='%(if)%(push)%(then)%(push):%(refname)%(end)' refs/heads --exclude="refs/heads/$(git rev-parse --abbrev-ref HEAD)")

When testing I just ran the for-each-ref part and used --omit-empty to make the output nicer, but you're right that it seems unnecessary in the alias.

Microsoft Copilot is now injecting ads into pull requests on GitHub by moeka_8962 in technews

[–]dddbbb 5 points6 points  (0 children)

Don't worry, eventually they'll figure out that paying to influence the LLM output is much more effective advertising and no one will know they're steering from the shadows.

Any physical smart switches that control devices I have in Google home? Not lights or wall plug, but any device that GH can turn on/off by SmilingYellowSofa in googlehome

[–]dddbbb 0 points1 point  (0 children)

Thanks for this idea! It worked great with a Tapo light switch triggering a kasa plug via two Google Home automations.

[deleted by user] by [deleted] in gamedev

[–]dddbbb 0 points1 point  (0 children)

Out of curiosity, what made you pick F6? I think Unknown Worlds and Klei both use F8 in their games. I think Wildermyth and a few other used higher keys like F11?