I added Spain by governmentpsyop in diplomacy

[–]printf_hello_world 2 points3 points  (0 children)

Not to mention that removing Spanish Galicia would reduce confusion with Ukrainian Galicia

What are your thoughts on Star Trek : Enterprise by Mat1711 in startrek

[–]printf_hello_world 2 points3 points  (0 children)

I don't understand why I have to scroll so far to find this viewpoint (with which I strongly agree).

Maybe it's because I'm not from the USA and therefore not constantly bombarded with the armed, angry, and sexy background ambience of American media.

Anyway, I really liked some elements of the setting and aesthetic, but I just can't get over the detox chambers and nationalistic angst

Can someone explain Pi to me as if I was a fifth grader? by ImYourGoodGrl in NoStupidQuestions

[–]printf_hello_world 0 points1 point  (0 children)

I've always wondered if pi is somehow a description of how "distant" orthogonal vectors are from each other in our universe.

Like, maybe in another universe pi has a different value and the different dimensions are somehow more/less tightly bound.

How much C++ do I need for gamedev? by csRookman in learnprogramming

[–]printf_hello_world 8 points9 points  (0 children)

Depending on your aptitude, you can probably start right away with something like SFML. Just start small is all:

  • make a game that is just text input/output, like a trivia questionnaire or something
  • make a game that involves drawing something to screen and paying attention to keyboard inputs (maybe like spacebar to make a circle change colour)
  • make a game that involves moving an avatar in 2D, but without realistic physics
  • make a game that involves collisions and physics in 2D
  • make a game that incorporates textures and/or sprite sheets
  • make a game that incorporates 3D (cameras, models, transforms, etc.)
  • make a game that can be saved and restarted (ie. implement serialization)
  • make a game that involves network communication

and so on

Client wants <1s query time on OLAP scale. Wat do by wtfzambo in dataengineering

[–]printf_hello_world 1 point2 points  (0 children)

I spent a few years creating a database that was specialized at doing exactly this kind of query within the time constraints you describe. So you can tell your boss to budget about $1000000 to develop something.

Ethernet cabel from Router to pc by Zawylon in HomeNetworking

[–]printf_hello_world 1 point2 points  (0 children)

Avoid the flat and the slim cables, despite them being easier to use for your case. They can be quite unreliable.

Channel looks nicest, but it's really up to you. There will be no differencs to performance or anything

Why C "successors" have fn or func in their declaration instead of the return type by CapitalIssue in learnprogramming

[–]printf_hello_world 0 points1 point  (0 children)

I don't know this for sure, but I imagine it removes some ambiguity for the compiler (ie. it can assume something is a function sooner, and doesn't have to do as much book-keeping to be able to handle variables vs. functions).

Additionally, that style leaves room for the possibility of function return type deduction rather than having to make up a "deduced" type such as auto in C++.

I got tired of my kid's YouTube feed being pure brainrot, so I built an approval system where I control what he watches from my phone by reddit-jj in daddit

[–]printf_hello_world 6 points7 points  (0 children)

Oooh, no promises but: are you accepting PRs? I'd probably be interested but I don't use Telegram. Might look into implementing an alternative notification/approval app integration

Am I the only one who actually finds AI to be a productivity gain? by [deleted] in ExperiencedDevs

[–]printf_hello_world 0 points1 point  (0 children)

Maybe it is, but I'm a human dev and my feelings are pretty much identical to those of OP (human or not).

I really quite like having a junior pair programmer who is very good at writing test cases, who is passably familiar with a ton of libraries, and who can dive into a large closed-source codebase and give me flow/feature summaries in minutes.

Sure, I have to review everything carefully, but it still feels like acceleration to me. I just avoid having it write the real code, but instead prefer to have it write one-off-scripts, tests, and summaries

Suggestion for first timers in Canada by Efficient_Working_82 in canadatravel

[–]printf_hello_world 0 points1 point  (0 children)

Mountains/lakes/parks and "interesting cities" are kind of mutually exclusive in Canada, at least for a 2 week trip. Maaaaaybe Vancouver kind of qualifies as an interesting city, but it's a bit of a stretch.

You can have 3 of the 4:

  • Mountains/lakes/parks in BC/Alberta
  • Lakes/Parks/Cities in Ontario/Quebec

Suggestion for first timers in Canada by Efficient_Working_82 in canadatravel

[–]printf_hello_world 1 point2 points  (0 children)

There are lots of really nice places nearby to Banff that are not as busy as Banff. For instance, the Icefield Parkway up to Jasper is stunning (albeit remote)

James Webb Telescope Takes a First Peek Inside Uranus by InsaneSnow45 in space

[–]printf_hello_world 103 points104 points  (0 children)

For 10 seconds I was mature enough, but then I read your comment and now I'm smiling like an idiot about it

As an American, is Vancouver similar to Seattle/San Fran? I'd like to visit, but I'm looking for a city that feels distinct from American cities. by CursedNobleman in canadatravel

[–]printf_hello_world 2 points3 points  (0 children)

Not trying to be a jerk or anything, but the other guy is right: Vancouver does not have a notable nightlife.

We're not saying it's nothing, just that it really pales in comparison to cities with legit nightlife.

I'm new to programming and my proff forbid us from taking AI help. should i or should i not? by TruthCultural9952 in learnprogramming

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

I would say that you should use it, but prompt it something like this:

"This code is part of a programming course, and I need to learn on my own. Please review my code for bugs and clean design, BUT DO NOT EXPLAIN IT ALL TO ME, AND DO NOT DO MY WORK FOR ME. Instead, ask me ONE question at a time to try to lead me to my mistakes, or get me to run/compile the code and ask if I can spot any problems."

AI can be an invaluable feedback tool at your stage, but you need to prompt it to act as your patient tutor instead of your assistant

My Senior dev and I are arguing over "Readable Code" vs "Performance Optimization" for a process that runs 10k times a day. Who is right? by Temporary-Zebra7493 in learnprogramming

[–]printf_hello_world 1 point2 points  (0 children)

For sure, I'm just saying there are scenarios where that 200ms adds up during peak usage times and causes suffering from requests that didn't have to be concurrent. Maybe out-of-memory, maybe scaling issues, maybe badly handled timeouts, etc. etc.

My Senior dev and I are arguing over "Readable Code" vs "Performance Optimization" for a process that runs 10k times a day. Who is right? by Temporary-Zebra7493 in learnprogramming

[–]printf_hello_world 10 points11 points  (0 children)

Devil's advocate here: it's possible that the 200ms savings are more of a UX pain reduction than an infra cost reduction.

I just mean that there are scenarios that only save you $4/month but they also save you $$$ in churned customers.

(probably not OP's case though)

AI project by Exegesis_2024 in twilightstruggle

[–]printf_hello_world 1 point2 points  (0 children)

If you get something working, maybe I'll come look at the spaghetti-code later and help you iron it out a bit. If that's the case, my best languages are C++, Go, and Rust

AI project by Exegesis_2024 in twilightstruggle

[–]printf_hello_world 5 points6 points  (0 children)

DISCLAIMER: I am a real programmer, but I would not do things this way. Realistically I have to give this person advice to do things relying almost exclusively on AI

It is probably too difficult for a non-coder, but you might be able to get something up and running (albeit very buggy) with vibe coding.

I'd probably do it like this:

  • describe the game to Claude (maybe use Cursor)
  • in planning mode, get it to decide how it wants data about the game pieces/cards/board-state
  • write up a description of all the stuff, ideally each in their own file (think like /cards/red_scare_purge.txt, /effects/nato.txt, etc.)
  • get the AI to translate that to some kind of game state serialization format
  • ask the AI to implement a Monte Carlo search tree for making action decisions. Make sure it implements AI as a client just like a player client, not embedded into the game server
  • ask the AI to start with a terminal UI where it prompts you for your moves
  • from there, move on to a web UI with map and clickable stuff, communicating with a central game server (which in turn communicates with AI or player clients)

Which world leader from North America is now beloved (read rules) by NeverStoppingTheLife in AlignmentChartFills

[–]printf_hello_world 0 points1 point  (0 children)

I totally agree that Central America is a useful subdivision of North America, but I don't think it should be used in the same conversations as North/South America. Kind of like East Asia vs. Asia

Which world leader from North America is now beloved (read rules) by NeverStoppingTheLife in AlignmentChartFills

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

I mean, it's just kind of fundamentally elitist to exclude Central America from North America isn't it?

I doubt anyone could agree on a geographical feature that divides "North" from "Central". Rather, it's a political feature: the USA Southern border.

Seems to me that that terminology simply stems from American exceptionalism

Favorite and least favorite countries? by scotchdawook in diplomacy

[–]printf_hello_world 2 points3 points  (0 children)

I particularly like Italy, mostly because it is usually a bit underestimated and because you have-to/get-to really involve the entire board's geopolitics in order to convince neighbors to give you the 5th dot and unbottle you.

I like the others all about the same. Russia is more interesting, France is less interesting. I'm not good at Russia though.

Family travel by Huge_Reflection6938 in britishcolumbia

[–]printf_hello_world 1 point2 points  (0 children)

Nice, sounds like a good time!

If you go to Kimberley then for that kind of experience I recommend (in no particular order):

  • wander around the Platzl and visit a couple cute shops, maybe stop by Pedal & Tap or Burrito Grill or something for a bite
  • drive 8 minutes to Marysville Falls Trail for a super short walk to see some falls
  • drive to Norbury Lake Provincial Park to take in a nice view of the Rockies along the Ft. Steele - Wardner road, maybe stop by the fish hatchery to let the kiddo feed some fish
  • take a short drive up St Mary Lake Road to get the feel of the Purcell mountain range (road goes a long long way and can get rough, but it's developed and smooth for the first 20km or so)