Ranter
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
Comments
-
iamroot41216y@beegC0de it still won't work because it's not a file type then but that goes for a file with any name
-
@iamroot oops I meant what if YOU accidentally did that. Looking back it sounded like I was suggesting it haha
-
endor56706yWait, why would you make a stratum generator in js and 'use it anywhere in the site'?
I haven't touched that stuff in a while, but I remember stratum being a backend program that a miner connects to directly - nothing to do with it being included in a website 🤔
Or am I missing something? -
iamroot41216y@endor it's nothing to do with backend code it's a small form where you type in you info and it spits out a commands that you use to connect to the stratum
-
iamroot41216ySo I figured out the problem, I somehow register stratumgenertor.vue to a text file type
-
endor56706y@iamroot oooh, for whatever reason I thought you were generating *actual* stratum data to feed into the miner's hashing algo, not just connection info 🤣
Related Rants
This type of post might be good for a weekly rant (if it has not been done yet) "Most Bizarre bug"
So I am working with laravel and vuejs and I use phpstorm as my IDE and today I had the MOST bizarre bug. I'm working on a cryptocurrency website and I'm making a vue component that is going to be a stratum generator for miners and I wanted to make it a component in vue so it can be used anywhere in the site. So I wanted to call the component "StratumGenerator.vue" and i didnt think that this would be an issue. Oh boy was I wrong. So immediately my syntax highlighting did not work nor did emmet autocomplete which is something I can't work without. So i go on for about an hour to fucking figure out how to fix jetbrains vuejs syntax plugins and a very long story short it was because THE FUCKING NAME WAS "StratumGenerator.vue" LITERALLY ANY OTHER NAME WORKS
I've checked its not a blacklisted keyword Stratum and Generator work fine on there own its also not a length thing so right now I have not a fucking clue on why it does not work but i'm glad I figured out.
rant
laravel
bug
vue