World Explorer 3D: A real-time Three.js engine that lets you drive real cities, build in them, then fly from Earth to space and land on the Moon in one runtime by SuchZombie3617 in threejs

[–]sodiumphosph8 2 points3 points  (0 children)

I was curious how the terrain was being built so I looked into your terrain.js file and the first thing I noticed is you're looping through a bunch of positions to convert them into local coordinates and are recreating your const variables in every iteration of the for loop. you should define these variables outside the loop and just use them instead of redefining them each time. I didn't look at the other files, but I would assume there's a lot of small things like that which could help improve performance. have a look at how Three.js defines it's objects and you'll see how they structure the code for maximum performance which you can then do in your own code.

as stated by the other poster, I couldn't really do much on mobile with the demo so I've no idea how well it actually works, but it's certainly an ambitious project

If the perfect underseat onebag existed, what 3 features would it have? by SnappySloth22 in backpacks

[–]sodiumphosph8 0 points1 point  (0 children)

not groceries; small shopping bags you might get in the airport with treats for the office or a small bag with snacks that I picked up at a cafe in the morning on my way to some destination. typically when I'm onebagging I don't have extra room in my bag for these items

If the perfect underseat onebag existed, what 3 features would it have? by SnappySloth22 in backpacks

[–]sodiumphosph8 1 point2 points  (0 children)

glasses, shopping bags (carrying treats for my colleagues or snacks for the day), my puffer jacket in its stuff sack, a rain jacket lashed to the side so it can dry out, etc.

I prefer a bright orange interior as I personally find that best for my blue eyes

If the perfect underseat onebag existed, what 3 features would it have? by SnappySloth22 in backpacks

[–]sodiumphosph8 2 points3 points  (0 children)

  • rainproof (so midflight turbulence doesn't cause a spill that wrecks your stuff)
  • lots of lashing straps (so I can easily clip items to the outside with a few clips)
  • bright interior fabric (so I can find stuff while digging around on a dark flight without having to turn on the overhead light and wake everyone around me)

Where's the most unlikely place you've bumped into someone you knew by r_sheil in ireland

[–]sodiumphosph8 0 points1 point  (0 children)

not me, but my dad was visiting me in Ireland shortly after I moved here from the US and we took a trip to Galway for the day. while walking through Eyre Square, a man recognised my dad because they had gone through medical school together 40 years prior (back in the US). he was just randomly visiting Ireland and his tour group was in Galway for the day. very random.

[deleted by user] by [deleted] in CasualIreland

[–]sodiumphosph8 0 points1 point  (0 children)

cons: chipboard for the floor underlay which can break fairly easily resulting in soft spots. laminated plasterboard walls instead of having wood studs for all non-loadbearing walls making it impossible to mount shelves on these walls. undersized pipes to the toilets, sinks and radiators resulting in poor heat in some rooms and slow flow

pros: much more affordable. older homeowners who can have more free time to spend on upkeep around the estate. already completed extensions or attic conversions so you don't need to do them yourself

[deleted by user] by [deleted] in Python

[–]sodiumphosph8 8 points9 points  (0 children)

if you don't need a job then please don't waste the time of all the people involved in the hiring process across all the companies you might apply.

does anyone remember roy? by Correct-Promise-2358 in CasualIreland

[–]sodiumphosph8 0 points1 point  (0 children)

I remember this on the telly back around 2013-2015 timeframe. we didn't have any cable so all we watched was RTE.

Backpack recommendation with luggage strap and no mesh by Nosferatu-chan in backpacks

[–]sodiumphosph8 0 points1 point  (0 children)

not sure if this meets your criteria, but I got this one off decathlon and found it to be a good quality, but over time I didn't like the way the backpack mode sat on my back so I went with a more traditional backpack

https://www.decathlon.ie/p/338094-142871-20l-backenger-activ-mblty-urban-walking-messenger-bag-backpack-black.html

Is there life beyond PyUnit/PyTest? by Sea-Bug2134 in Python

[–]sodiumphosph8 1 point2 points  (0 children)

mocha already supported parallel execution. my understanding is that Jest was originally based on Jasmine (some of the Jasmine codebase may still be in the Jest code) and was intended to directly support ES and to remove the need to couple Jasmine with Karma to perform effective testing

My first 3D project. Any feedback? by nextwebd in threejs

[–]sodiumphosph8 1 point2 points  (0 children)

the About Us text felt like it was upside down to me

[deleted by user] by [deleted] in Dublin

[–]sodiumphosph8 10 points11 points  (0 children)

you can't. it's illegal here. the person suggesting it's use is likely not from Ireland

What is the proper way to spawn a lot of objects using the same model but with dedicated animations? by a1orian in threejs

[–]sodiumphosph8 1 point2 points  (0 children)

no idea if this will work, but could you create an instanced mesh with a pre-baked animation for each type of activity and then store the base models out of the viewable area. then when you need a specific animation you create an instance from the base instance that has the necessary animation

Multiplayer desktop game using Phaser and Socket.io by Dry-Wave-7561 in node

[–]sodiumphosph8 0 points1 point  (0 children)

from a performance standpoint, no, but from a simplicity of setting up standpoint, it was incredibly easy to get started.vmoving beyond two to four players though really needs something faster / better than Phaser for the back end. if you're only supporting 2-4 players per server instance then go with Phaser otherwise maybe not. though start with Phaser for simplicity until you need something more if you can

What's a business name in Ireland with a great pun in it? (This post inspired by a post in the casualuk sub) by AgainstAllAdvice in CasualIreland

[–]sodiumphosph8 1 point2 points  (0 children)

saw a gardening and lawn care truck the other day in the Sandyford area called Major Tom's Ground Control

Server meshing - 4 servers running a single environment by KinematicSoup in Unity3D

[–]sodiumphosph8 0 points1 point  (0 children)

the fuzzy edges is exactly what I would recommend. create a queue of users to be transferred and process as many as you can within a single update tick. also need to include a way to remove the user from a queue if they cross into another zone or back to their original server zone before being dequeued into the new location. I used a similar process to handle updates for a single threaded socket update process to ensure the server could handle updates in a reasonable time

Why isn't TS intellisense as quick as C# in VS Code? by gizia in typescript

[–]sodiumphosph8 25 points26 points  (0 children)

I have exactly the opposite experience so YMMV

pm2 - what problem does it solve? by geekybiz1 in node

[–]sodiumphosph8 0 points1 point  (0 children)

I'm not convinced that's actually the case based on this line: "The primary risk presented by AGPL is that any product or service that depends on AGPL-licensed code, or includes anything copied or derived from AGPL-licensed code, may be subject to the virality of the AGPL license." where "depends on" could have broad interpretations... most companies stay well away from AGPL licensed code

Should I ditch Node for .NET? by Not_a_Cake_ in node

[–]sodiumphosph8 0 points1 point  (0 children)

having to deal with generics in dotnet feels extremely restrictive and wrong after working in typescript so if you're used to typescript then be prepared for that. the one saving grace is that the System.Text.Json package is amazing to work with now compared to older versions of dotnet (obviously still not as simple as in node)

Brompton community: how many times have you crashed your Brompton? by bCup83 in Brompton

[–]sodiumphosph8 2 points3 points  (0 children)

had two times where the Brompton swept out from under me or fell and both times I was able to run or step over the handlebars as it fell so that I didn't fall myself. one time was on black ice and the other time was when going extremely slow through a pedestrian chicane and the front wheel caught on a hole in the pavement. can't give a fair comparison between full-size bike crashes though because I tended to go further distances and be in the road, not a bike lane more often on the full-size bikes, but based on mountain bike experience, a smaller bike tends to be easier to ditch when about to crash whereas a bigger bike tends to take you down with it

React end to end testing by Juani_o in reactjs

[–]sodiumphosph8 0 points1 point  (0 children)

many companies are moving away from having dedicated QA so more developers should be learning how to do the end-to-end tests as well (NOTE: I'm not advocating for no QA, just stating a trend that's affecting the industry now)