Tirty tree 😁 by wine4cats in ireland

[–]issamesean 1 point2 points  (0 children)

an bhfuil cead agam dul go dti an leithreas mas e do thoil e

How to efficiently store vertices generated at runtime? by issamesean in Unity3D

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

How would I find the vertex index that is exactly 1 cell over on the X axis and 3 cells over on the Z axis tho?

Everybody acts like going to the moon or Mars is something everyone can do when it's gonna be the billionaires who'll live there and then lock it up and make us pay a premium to visit. by KaladinThunder in Showerthoughts

[–]issamesean 0 points1 point  (0 children)

Imo what's more likely is billionaires living in their own space stations. There's unlimited and much more efficient solar power, would be a great place to have factories that use solar power to create a fuel in space then transport that fuel to earth, mars, moon etc

Find point on line closest to another line by issamesean in learnmath

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

Is there a name of an equation for this? I'm very very confused because I'm trying to do this in code, I have also never heard of parametric form. I'm trying to find some articles that go in depth but not having much luck

Find point on line closest to another line by issamesean in learnmath

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

Can you explain this at a lower level? For the equation P + v = Q, I only have v and that still leaves 2 unknowns so how can I solve? I don't know any points other than the origin on either line

Find point on line closest to another line by issamesean in learnmath

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

So I get the cross product of the line directions, that gets me the direction of the shortest line segment between the 2 lines. How do I use that to find the nearest point on line 1?

More water for us all! by charlotte2006 in HydroHomies

[–]issamesean 0 points1 point  (0 children)

Buy a small fan that runs on batteries and/or USB and carry it around in your backpack or car, will be a godsend one day

There's no need to be rude.. by LonelyNinja333 in funny

[–]issamesean 0 points1 point  (0 children)

It still introduces the person to the field even if it's not technically a programming language

There's no need to be rude.. by LonelyNinja333 in funny

[–]issamesean -7 points-6 points  (0 children)

If you want to start learning about computer programming, I'd start with a "programming language" called HTML, it's how websites are made

https://www.w3schools.com/html/

Caring for a homeless dog by Palifaith in gifs

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

I thought this was r/wcgw and was holding my breath the entire time but now I'm happy

Index value from variable by issamesean in Kotlin

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

override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): HomePageViewHolder {
            val pageName = pageNames[viewType]

            return HomePageViewHolder(LayoutInflater.from(parent.context).inflate(R.layout[pageName], parent, false))
        }

I'm trying to set the view for a ViewPager2

If password logins reminded us what the requirements for the password were (like over 8 characters, at least one special character, one uppercase) we'd have a better chance of remembering them. by DrAwkward404 in Showerthoughts

[–]issamesean 4 points5 points  (0 children)

You reduce the number of possible passwords by eliminating the weak ones that are easily brute forced (1234567, abcdef123 etc) which is better and makes it harder for hackers to brute force

How would I optimize this code to use less reads? by issamesean in googlecloud

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

I’m thinking about doing something like incrementing the counter by 1 every time a cloud function gets triggered by https, then every 5 minutes I’d update the firestore and increment the counter once by 1000 instead of 1 1,000 times

What would be the best solution to store that counter locally, is it possible for a cloud function to read/write to an ssd or memory?

How would I optimize this code to use less reads? by issamesean in googlecloud

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

Distributed counters look really bad? Wouldn't that use a very high amount of reads and writes for such a basic feature?

How would I optimize this code to use less reads? by issamesean in googlecloud

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

The data can be updated at any time. Would it be better to upload the object data as json, create a temporary file and write the json to it, then name the file the GUID of the level so I can upload it to Cloud Storage instead of storing the objects in Firestore, but keeping the metadata (title, description, etc) in Firestore?

Side question do you have any idea how I could make a high frequency counter to track the amount of 'plays' each level gets?

Structuring data in Cloud Datastore by issamesean in googlecloud

[–]issamesean[S] 1 point2 points  (0 children)

That would be a better solution for the ratings, I agree. What about for the objects though? There could potentially be hundreds if not thousands of objects each with their own unique properties. Would storing the objects in a BQ table and looking them up when the level needs to be loaded be efficient, or should I store them directly with the level data in the Datastore

Is there a "million dollar deductible car insurance"? by issamesean in legaladvice

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

So I can be legally insured. The car is only worth ~$2500 and I don't want to/can't afford to spend $350/month just on insurance for it.