u/andywade84
In this archive from Jul 2013 to Nov 2021
- 7
- posts
- 81
- comments
- 2
- media
- 246
- score
Top posts
Strange Situation
What's your most commonly used "dodgy" code
I have been using laravel for a while and sometimes I just can't be bothered to make stuff work... so I budge it. Currently I have about 200 {{$foo->thing ?? ''' }} statements in all my blade files because I honestly don't care if that variable is set or if the model even exists!
firstOrCreate problem
I have several controllers that I want to run firstOrCreate on eloquent models before the view is rendered however I am having issues where the create command is not completing on the database before the view is rendered. How do I delay the View method to ensure the new record has finished creating.
Socialite with Azure AD B2C
Hello all, I'm trying to get my application to authenticate via an Azure B2C Tennant. Has anybody modifier, or created a Socialite provider for this as the Microsoft packages from https://socialiteproviders.netlify.com/about.html are only applicable to Microsoft accounts, and not for B2C Modifying t...
Did you find that font on Google fonts and just, copy it?
Doesn't sound like PvP would be fun. PvP should be a viable career path for players in a sandbox MMO but I wouldn't be interested in it the risk outweighed the rewards, one way of dealing with this is varying the risk/vs reward for PvP so some areas are much safer than others look at EVE online it has a system that works like this.
Of all the games I've played I think EVE has a very good risk vs reward model that centeres on PvP. Its too complex to describe in detail here but you have a security status, linked to what areas you can go into. Non consensual PVP can happen anywhere, but the risk/reward ratio changes depending on the security status of the area you are in. Each of these different areas also offers better NPC's to kill - if you want the best bounties and loot you need to go to areas with less security. The rewards for PVP in eve are that when you kill another player they drop loot that you can pick up and use/sell for profit. in the lowest security areas anyone can attack anyone else without repercussion (other than possibly dying and losing their stuff)
Drunk and its boxing day. Figure out my typos yourselves
Looks good, Love the style and it looks ridiculously simple to make things.
Tutorial pages are not working on the website though so I'm stuck at the minute. http://wiki.craftstud.io/Tutorials/2D_platformer gives me "Cannot GET /Tutorials/2D_platformer"
Also a demo version is great, but not being to run my game at all limits me so much that I couldn't actually evaluate if my blocks or scripts work so I can't make a purchase decision based on it.
A more realistic restriction would be, No exporting, No Publishing but the ability to run a Scene but not a full game
For testing the product that would suffice but to actually make a game having only 1 scene is too restrictive.
Might point you in the right direction.
https://github.com/muaz-khan/WebRTC-Experiment/tree/master/RecordRTC/RecordRTC-to-PHP
I wouldn't save the audio file to the database, I would upload to s3 or your preferred storage and save the name to the database and retrieve the file with laravel storage facade when you need to do.something with it.