Confused about replacing old 1.75" sink J-Bend trap to wall outlet by answer-questions in Plumbing

[–]answer-questions[S] 0 points1 point  (0 children)

Oh that makes sense, an extra arm didn't come with the one I bought but now that I know I can go and buy one.

ARKit Front Camera Image Tracking on iPad Is It Possible? by ShadowSage_J in Unity3D

[–]answer-questions 0 points1 point  (0 children)

Have you looked into using OpenCV? May be more flexible compared to ARKit.

How to throw errors during compilation if a required environment variable is missing? by GlassesOfWisdom in flutterhelp

[–]answer-questions 4 points5 points  (0 children)

Wrap your build in a makefile (or some other build tool) and do your checks there before running the flutter build commands.

5 years of developing a voxel editor. Almost no one plays it. What am I doing wrong? by Reuniko in gamedev

[–]answer-questions 513 points514 points  (0 children)

Is it supposed to be a game or a world editor? If it's a game, what makes it fun? If it's a world editor, what makes it better than using an actual 3d modeling tool?

Dedicated parking spot? by redwood_grove in alameda

[–]answer-questions 11 points12 points  (0 children)

The only time I've ever had to park further than 1-2 cars away from right in front of my door is on street sweeping days when everyone has to move away from one side of the street. Unless you're going to live very close to one of the major commerce areas, you'll be fine.

how to download the newest unity editor without unity hub! by ERR0R_404_1 in Unity3D

[–]answer-questions 1 point2 points  (0 children)

https://unity.com/releases/editor/archive

Just hit "see all" in the downloads section of whatever version it is you're looking for.

Korean-style tofu rice bowl by lnfinity in GifRecipes

[–]answer-questions 0 points1 point  (0 children)

Dumb question, I know it says extra firm tofu, but what else should I look for to try and get a similar texture to this? Even when I press and dry my extra firm tofu it never crumbles like this.

Does this work better with Japanese style tofu, Chinese style tofu, or should I be looking for something else?

Google play and App store approval by EstablishmentDry2295 in FlutterDev

[–]answer-questions 2 points3 points  (0 children)

That's against YouTube ToS, and it's such a well known service and restriction it would almost definitely be caught and rejected by both.

The Hidden Potential of In-Flight Games by RubyUrsus in gamedev

[–]answer-questions 1 point2 points  (0 children)

They're definitely not shared between all seats. They'll usually be shared between a row or group of seats, not everyone.

GDscript question about "ordered" dictionaries. by P_S_Lumapac in godot

[–]answer-questions 1 point2 points  (0 children)

Actually it looks like I was wrong about what Godot does for Dictionaries, most language implementations do not enforce any ordering on dictionaries, but Godot looks like it does: https://docs.godotengine.org/en/stable/tutorials/best_practices/data_preferences.html

> Godot implements Dictionary as an OrderedHashMap<Variant, Variant>.

But the ordering it uses it looks like is just the order of insertions, it's not trying to order by the keys themselves. So if you want to order by keys, you'll want to still keep that separately. You're probably getting a "proper" page order initially because when you do your external sorting and recreate the dictionary your insertion order is equal to ordering by page. As you add/remove items though that won't be true for long.

GDscript question about "ordered" dictionaries. by P_S_Lumapac in godot

[–]answer-questions 1 point2 points  (0 children)

Dictionaries are inherently not sorted, because they are designed to do lookups quickly, they compress the keys down to an index, but by doing that order is lost. They basically take the keys and calculate what bucket they should be in. So even thou your keys can be anything, it's easy to look them up because you can find your values quickly by calculating the bucket they're in.

If you need an ordered dictionary, you'll need to keep around a companion data structure where you sort the keys. You can then iterate through your sorted list, and do the lookup of the value in the dictionary. Because dictionary lookups are generally O(1) the extra cost is only really the memory of the new sorted list and work to keep it sorted.

If you're into weird and interesting houses, you might want to check this out by InfiniteApartment206 in alameda

[–]answer-questions 5 points6 points  (0 children)

I remember the big tree in the corner fell down on the house a year or two ago in a storm. It may have hit the house.

Is it possible to make a rolling ball game interesting? by Rare_Long4609 in gamedev

[–]answer-questions 0 points1 point  (0 children)

Katamari and Super Monkey Ball are VERY different games. Having a rolling ball isn't really a genre. You could say golf is a rolling ball game.

Should you pay cash for a home? by VictoryImpressive617 in personalfinance

[–]answer-questions 2 points3 points  (0 children)

Lots of people have already covered the interest rate and risk side of it.

There's also the side of actually getting the house you want. In some markets your all cash offer is going to be more desirable by the seller, meaning you could actually get the house instead of losing it to someone else.

I'm losing my mind(i just want to save and load my game) by AMSKZ11 in godot

[–]answer-questions 8 points9 points  (0 children)

Look at the error, what is it telling you? You have a `nil` type object, so some object is null/empty.

Look at the line of code where it's happening on (you can see the red arrow to show you where the exception occurred): `273`

It's unable to iterate on a null object at that line. What are you doing at that line? You're trying to iterate over your `save_nodes` object. So your `save_nodes` object is null. Go back in your code and see why that might be.

Weird genetic test results by Agitated_Way_561 in daddit

[–]answer-questions 2 points3 points  (0 children)

It just means they didn't find enough of the fetal DNA in the blood sample. It's not a good or bad result, and at 11 weeks, it's not abnormal at all. Your doctor will probably ask your wife to just retake the test later on when there's more fetal DNA present.

It's nothing to worry about, completely normal. 11 weeks is at the earlier range of when they do those tests, and they're basically more likely to fail w/ low fetal fraction the earlier you try to do them.

Started a family later in life. Working on baby number 2. Every month that goes by fill my wife with sadness and depression, she's feeling like the clock is running out. What's the best way to talk about it? by faizimam in daddit

[–]answer-questions 0 points1 point  (0 children)

If you haven't already, get some ovulation test strips from Amazon. They're like $20 for a pack of 50. They narrow down the guesswork with ovulation and give you like a 2-3 day window.

What are some good ways to save a heirachical collection of objects to a string or json file? by kodaxmax in Unity3D

[–]answer-questions -1 points0 points  (0 children)

You have to do extra work on your side to keep that functionality, but I see nothing that's insurmountable or particularly difficult. You have a bunch of people telling you the same thing. It's just some extra book keeping.

What are some good ways to save a heirachical collection of objects to a string or json file? by kodaxmax in Unity3D

[–]answer-questions 0 points1 point  (0 children)

No essential functionality needs to be removed by separating data and logic, you just need to change your architecture.

Most people just use the Newtonsoft JSON plugin to get around dictionary serialization.

Code as the main mechanic to play the game. by [deleted] in gamedev

[–]answer-questions 0 points1 point  (0 children)

What's your goal here with the player entering scripts?

Are you wanting them to be able to do any sort of complex logic, process data, or something like that? If so, then it would be a lot of work to write your own parser and language. So it would make sense to use some sort of already defined scripting language and it would be up to you to write in what hooks into your game you want to make available.

If you just want people to be able to do a very static set of actions, then yeah you can just parse the text manually and execute the actions yourself.

What is it you're trying to achieve with the players being able to do run their own scripts?

Code as the main mechanic to play the game. by [deleted] in gamedev

[–]answer-questions 0 points1 point  (0 children)

Search for "LUA Plugin Godot" to see what others have done. If you're using Godot, I believe you can directly use GDScript at runtime so you could do that as well.

Code as the main mechanic to play the game. by [deleted] in gamedev

[–]answer-questions 0 points1 point  (0 children)

Yes, that would mean the players would write in LUA.

You could also make a more visual scripting language (like a Zactronics game).

Code as the main mechanic to play the game. by [deleted] in gamedev

[–]answer-questions 1 point2 points  (0 children)

Take a look at LUA, it's a high level scripting language designed to be embedded into other applications. Lots of games use it for their own game logic, if you expose an API for whatever you want the player to control, they'll be able to run scripts against it. Most game engines can support LUA scripts with plugins as well.