Details
-
AboutHigh school student & Web/game/software developer. Or at least I try.
-
SkillsTypeScript, JavaScript, Lua, Python. In the process of learning Rust and C++
-
LocationUS
-
Website
-
Github
Joined devRant on 11/29/2019
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
> Be me
> Get exhausted with Rusts borrow checker while making games and decide to switch to another language
> C# looked good, I just made a mod in it for stardew valley.
> Start a new engine based on MonoGame.
> All is going ok? Having minor issues with getting .csproj files set up but other than that fine.
> Get advice to switch to .NET core for higher compatibility.
> Start doing that
> Doesn't work at all, random weird errors all over the place.
> ProjectIsFucked.jpeg
> Delete folders, I didn't have much anyways.
> Make some basic boilerplate for both the engine and the game like 5 times, deleting the folders and starting over because errors.
> Finally get something to almost compile.
> Reinstall .NET
> Compile works.
> Compile again
> Compile fails
> Do dotnet restore
> Compile again
> Compile fails
> Do dotnet restore again
> Compile again
> Compile works
What in the ever loving fuck.
In all seriousness, if anybody knows what in the fuck is happening, I'd appreciate the help: https://stackoverflow.com/questions...4 -
> Make a small game.
> Do it in Rust because why not.
> Decide "Hey, why not make the game objects have Lua scripts for their logic because Lua is easier to do quick and dirty code in than Rust?"
> 5 hours later delete all the code related to running the Lua in Rust because AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1 -
I'm probably gonna end up with carpal tunnel by 20. Gonna be a bitch trying to pursue development, which I've been aiming for since 11. Fml7
-
TypeScript has two levels of private values (at least in the beta):
private foo = false; // Cannot be accessed outside the object in TypeScript
#bar = false; // cannot be accessed outside the object in both TypeScript and JavaScript.2 -
Anybody know how I could make an RxJS observable without RxJS?
I'm working on a library and I need it to be small (So including RxJS isn't really viable), run in the browser (IDK if Browserify will work for RxJS), and be fast. I need a way for a given element to 'listen' (or in RxJS terms, 'subscribe') to a value and update its text content whenever the value changes.
My current implementation is just a interval loop that checks if the previous value is the same as the current one, and if it isn't, it modifies the DOM.6 -
Someone should make a language that you read bottom to top, just to really fuck with UI/UX designers :^)
-
@dfox is it a known issue to have crashes on iOS when visiting the notifications tab?
If not here’s what I can gather: When opening the notifications menu, app will crash after the devRant logo wobbles 3-4 times. After reopening the app and repeating the process about 3-5 times, the app will load into the notifications menu. However, when tapping on any individual notification, it will often crash after the same 3-4 wobbles of the devRant logo.
Now, I’m not a mobile developer (Nor a react developer, if you guys are using react) but here’s some things that I would think might cause this:
- An unhandled exception?
- If you use multiple server instances, they may be out of sync?
Not sure what it could be tbh. But I hope this helps, keep up the great work!7 -
Can somebody please explain to me how in the fuck does :
{
"src" : "./template.html",
"format" : "plain",
"input" : {
"noun" : "World"
},
"replace" : "templateExampleSkeleton"
}
Result in:
format: "plain"
input: "[object Object]"
replace: "templateExampleSkeleton"
src: "./template.html"
When put through JSON.parse()???12 -
Just built tested and pushed to production a website based on an injoke. On a Friday. Why am I like this.
-
God, I wish I had even 2-3 friends that did web dev. I know a bunch of people on Discord who do rom hacking and fan games, but no web devs. :sad:7
-
> Tries to be slightly festive by making a ball drop website on my phone using an app called play.js (its an app that lets you play around with nodejs, react native and react)
> Make some progress
> Gets tired of phone keyboard once back at the house so tries to upload to GitHub
> app makes a repo by default so when I made a new GitHub repo it had a different .git history, so i cant push to it
> copy files manually
> JavaScript happened
> Deletes code off pc and deletes GitHub repo. -
So I made my first rust program with just a quick look at the docs on for loops. 20 minutes from nothing to exe. Just fizz buzz but still. Took me 4 hours to get C++ compiling.3
-
I can not fuckin stress how goddamn annoying it is to work with strings in C++. I'm not talking about std::string, those are bearable. But fucking char foo[number], char* foo, and const char* foo. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA17
-
> Error
> Error
> Adds "console.log(valueThatIsRelatedToError)"
> Smiles because I managed to not fuck up logging to the console1 -
So... C++... Yeah.
> Manage to get a MinGw compiler working in VSCode, and all is "well and good".
> Have difficulties installing SDL, follow tutorial verbatim.
> Compile error.
> 7 hours later no progress.
> 10 hours later no progress.
> 16 hours later no progress.
*Throws laptop at wall*3