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
Search - "generator"
-
This story is 100% true.
I got hired onto a team of construction workers to build a house. We set up a meeting with Management to find out what kind of house they wanted us to build, where’s the floor plan, what it’s going to be used for, who it’s for, etc. Management said that they didn’t know all that, we should just get started. They told us that we were going to use “Agile” which means that we just work on small deliverables and build the thing incrementally.
The developer team lead argued that we at least need to know how big the thing is going to be so that we can get started pouring the foundation, but Management told him they just don’t know. “What we do know,” Management said, “is that the house is going to have a bathroom. Just start there, and we’ll know more when it’s done. You have two weeks.”
So we just bought a port-a-potty, and screwed around on the internet for two weeks. Management was outraged. “You call this a house? This is the worst house ever! It doesn’t even have a tv!”
So we bought a tv and put it in the port-a-potty, attached to an outdoor generator. We were going to buy a a dvd player and get it hooked up to cable, but Management rejected the expense request, saying that they didn’t know if we needed it, and we’d come back to that later.
Management decided that we definitely need storage space, so we bought a boxcar and duct-taped the port-a-potty to it. Then to our horror they set up some desks and put a few miserable business interns in there. It went on like this…
After a few years the boxcar grew into a huge, ramshackle complex. It floods, leaks, it’s frozen in the winter and an oven in the summer. You have to get around in a strange maze of cardboard tubes, ladders and slides. There are two equally horrible separate buildings. We’re still using just the one outdoor generator for all power, so electricity is tightly rationed.
Communication between the buildings was a problem. For one of them, we use a complex series of flag signals. For the other we write notes on paper, crumple the paper up, and toss it over. Both of these methods were suggested as jokes, but Management really liked them for some reason. The buildings mostly talk to each other but they have to talk through us, so most of what we do is pass messages on.
It was suggested that we use paper airplanes instead of crumpled up balls, but the fat, awkward fingers of the Business Majors who inevitably take those jobs couldn’t be trained to make them. I built an awesome automatic paper airplane folder, but once again they couldn’t be trained to use it, so they just went back to crumpling the notes up in balls.
The worst part of all this is that it’s working. Everyone is miserable, but the business is making money. The bright side is that this nightmare complex is done so now we know what kind of building they actually needed in the first place, so we can start work on it. Obviously we can’t tell Management anything about what we’re doing until it’s finished. They noticed the gigantic hole in the ground where the foundation is coming in, but we told them that it’s a cache reset, and they mostly ignore it except when the occasional customer falls in.
I’ll probably be out of here before the new building gets finished. I could get a 50% raise by switching jobs, but Management still doesn’t think I should get a raise because I missed a couple sprints.7 -
Wan't your own personal devBanner?
Now you can have one!
We're building a powerful banner generator over here: https://devrant.com/collabs/...
The first version is up and running, still basic tho.
You can generate your own by calling this URL:
https://devrant.nuernberger.kim/api...
You'll have to replace "Kimmax" with your devrant name and the value after subtext with the extra text.
A cool domain is already on it's way!
We'll be working on a frontend and a ton of extra features to make this banner even more awesome.
If you got any nice ideas add them to the issue tracker here: https://github.com/cozyplanes/...
Have fun!95 -
Working very quickly on the swearing word/sentence generator right now.
I'm scrolling through @AlexDeLarge's rants like there's no tomorrow xD11 -
Normal devRant user:
- Look, the algo it's awesome, it matches similar content posts, it's so funny!
Meanwhile at devRant Headquarters:
trogus: When are you telling them?
dfox: Ignorance is bliss, my friend
trogus: Well, at least we know the random number generator it's not coded by Sony though, otherwise they would suspect10 -
I thought I knew English until I heard my neighbour explaining the difference between Email and Gmail,
(1)Email - the mails which are sent using Electricity
(2)Gmail -the mails which are sent using a Generator11 -
So I've been pulling my hair out as for WHY ON FUCKING EARTH MY CHANGES DON'T SHOW WHEN I RUN THE RSS FEED GENERATOR.
Oh right maybe I should upload the file first 😅🔫9 -
I usually don't work for indian clients. But when I do, they make sure I don't get paid.
Some highlights from my last project,
Client: Do you know ERPnext?
Me: No, but I am good at python.
Client: My boss wants me to find a guy who can create barcode generator for erpnext.
Me: I can use pyBarcode to do it.
This is exciting I thought. I get to learn a new framework. Start working on it. Not an hour passes by,
Client: hey can you remove this menu item?
Me: Which one?
Client: Also can you add the dashboard icons to left sidebar? Like Odoo? Do you know it? It is also python based.
Me: Then why don't you just use Odoo instead?
Client: My boss wants it. He doesn't understand computers. He is pissing mr off.
Me: Then how come he suggested erpnext?
Client: His friend told him.
*experience mindfuck*
For the next 3 days he has me working on these UI tweaks, never mentions barcode again.
But I finish the barcode stuff. Tripple check everything to make sure they work. Tell him to check so I can get paid. Guy asks his boss to check.
Boss > Client: It doesn't work
Me: What doesn't work?
Boss > Client: Everything!
Client: I actually tested everything and they work. My boss doesn't know how to use it. He is very old.
Makes me make more changes and finally when I ask for the work done so far,
Client: Boss didn't come to office today. I'll get you paid. Please try to understand my situation.
Me thinking, "mofo your boss didn't hire me,l. You did". But I keep calm and tell him I won't work until I get paid 50%.
3 days passed. No reply. Set his skype status to "Away" forever.
*spidey sense tells me I'm not getting paid, again*
U am beyond pissed and burnt out. I fucking wish there was a mafia I can request to collect my fucking money from them.20 -
*sees that the high voltage generator kit got delivered today*
Cool, let's build this thing and integrate it into my old bugzapper! Mosquitos beware 😈
*starts building the kit, all is going very well*
Oh wow, isn't it Monday? But it's taking only 15 minutes of soldering and everything goes super smooth.. what divine power is giving me such good luck?
Alright, last thing, the transformer and then this circuit is done!!!
*solders in the transformer without realizing that the wires are coated, and the solder isn't protruding through*
Fuck. Time to desolder this shit and blast the wires with my lighter to flash that coating right off!
*engages solder pump and solder goes off extremely easily, because it only adhered to the pad*
*takes off transformer*
Me: "Nnngh..!!! Get off you piece of junk!!!"
Transformer: "Hmph!! I will stay in here no matter what!"
Me: "Get the fuck off already!!! 😡"
Transformer: *leads break off* "Alright, but these leads stay here!!!"
Me: "MotherFUCKER!!!"
Yep, it's Monday after all.15 -
tl;dr I need ideas on how to warn the next dev(s) that the company is a dumpster fire.
------
For the past week (actual time: three days) I've been writing documentation for work, since there isn't any. It's been okay, I guess. Certainly more interesting than anything else I've done at work in months.
I'm up to 10k words / 67kb of markdown, and I think I'm done. I could easily write another 30k words on everything, but I just can't care enough.
However, what I do care about is warning the next dev(s) about how terrible the place is to work, so I want to add little references or hints or other such things to my writing. To complicate that, there's a contractor dev who said he will edit the document to strip out my commentary and make it "friendly" for the next person. (I can kind of see why: I've been quite honest about the situation of everything, and it's pretty dire. If they read it as-is, they might just walk out the door. I certainly would have.) I'm also going to commit it to the repo, and afaik he doesn't have push rights, so he can't force-push and remove it. (and a force-push by someone else, adding my documentation immediately after I leave... that would be pretty fishy, too.)
Anyway, at someone's suggestion, I added a "three envelopes" reference in the access phrase generator section. I also wrote "Promises made outside of ES6 will not resolve" -- in the warning section of a document almost entirely about Rails. (because the boss has broken every single promise he has ever made me.)
What other hints and subtle warnings could I add?
(And hurry: tomorrow is my last day! ;3)question warnings run run or you'll be well done! pocket full of mumbles documentation hint: gtfo three envelopes16 -
(tl:dr at the bottom)
context:
my partner programming skills are pretty basic and he does not work in software development. instead he is in the largest (and only) electricity company here.
history:
one day his boss ask him "hey, do you know how to use google maps?"
Partner: "yeah, what do u need?"
His boss: "great! please make 10,000 routes with these coordinates, i need them for tomorrow"
Partner: "WTF!" ,grab his phone and call me, "(explains me te situation) dude, can you make like a script or something?"
Me: "Sure, but we'll need a loooot of coffee"
We spent 18 hours developing a routes generator with java-fx, mysql and JS.
Next day we went to deliver those routes and to "show" the system. They told us that after searching for 6-7 months, they wasnt able to find such a solution as ours.
Next day, I took a plane to this company HQ (My partner was food-sick, so i had to be there by my own), had a meeting with the TOP Bosses (on of them arrived in a Helicopter, lots of body-guards) and after a 3-4 hours, just like that, we had our first Big Contract with a huge ass company.
tl;dr:
we ended making an 8 months national project with the biggest and only electricity company with an 18hrs-developed system.7 -
!rant
This dumb pretentious bitch.
We are both computer science students, she is writing her bachelor thesis, I'm in 4th semester, but have 6 years of professional programming experience.
So naturally when she had a problem implementing the MOTHERFUCKING PREPARING SOFTWARE, which she needs to begin writing her thesis I helped her.
First I started explaining every last bit of code, trying to teach her something, so that she wouldn't need my help ALL the time.
After a while I realised that this BLOODY GIRL FROM HELL acquired nearly half her credits by other peoples help, so I just fix the code hoping it would be over soon.
When that software was done, keep in mind, I coded nearly 90 FUCKING PERCENT OF THAT SHITTY ASS PIECE OF CRAP SOFTWARE, she asked me to also "help" her implementing a generator for samples she could test the software with.
Naturally at this point I said I'd be busy with own projects etc. And declined.
So now, nearly 1 Month after she didn't talk to me, THAT ARROGANT PIECE OF SHIT WANNABE SCIENCE BACHELOR asked if I could help her with LaTEX.
At first I was speechless. How could she have that amount of balls, asking me that. As I only am a ranting asshole inside, I declined in the most polite way.
WHAT THE FUCK! I HOPE YOU WILL FAIL YOUR THESIS AND ALL THE 12 SEMESTERS YOU STUDIED WILL HAVE BEEN FOR NOTHING, THUS SENDING YOU TO LIVE ON THE STREET WITHOUT MONEY AND DIE A HORRIBLE AND LONELY DEATH SURROUNDED BY BEGGERS TRYING TO STEAL YOUR KIDNEYS!
Sincerely,
Me.14 -
This is what I found in the logs:
3280546 I had a cup of tea and now it's fixed
9daaf6c copy and paste is not a design pattern
958ca5b It compiles! Ship it!
a9edf8d LAST time, Masahiro, /dev/urandom IS NOT a variable name generator...
438072f 640K ought to be enough for anybody
1fb839b Too lazy to write descriptive message
4d70890 ...
d6ce0c8 Ugh. Bad rebase.
a00b544 Programming the flux capacitor
49715cb Fix my stupidness
4babf07 Do things better, faster, stronger
49b3a7b SEXY RUSSIAN CODES WAITING FOR YOU TO CALL
12c7b55 formatted all
2658c87 and so the crazy refactoring process sees the sunlight after some months in the dark!
2376c89 - Temporary commit.
a83220a I honestly wish I could remember what was going on here...
3347007 work in progress
3382b4c well crap.
109748a Glue. Match sticks. Paper. Build script!
c3f025e Useful text
70394e7 Who knows WTF?!
0d78f14 breathe, =, breathe
5344e39 removed tests since i can't make them green
8a3a6bf better grepping
2777cc4 first blush
cf620ff Continued development...
9591c19 Too lazy to write descriptive message
767e0cd Some shit.
763602a Yes, I was being sarcastic.
8d7a602 /sigh
c6296e5 rats4 -
I love the Hollywood Technical Jargon Generator:
"The SDRAM transmitter is down, compress the auxiliary address so we can synthesize the GB matrix!"3 -
Fuck my life...
Okay, so I’m working on a web app with a small group... the app is basically a lead generator for new business in another country. We just need contact details cause they’re a fucker to buy.
Step 1: prototype to the investors, working with the ceo to make this thing look shiny AF.
Goes well as fuck.
CEO: “when can we get this out?”
Me: “it’s basically done mate, get your guys to look at it and we can talk about marketing”
Que a shower of 10 or so bellends with senior in their title going into a room and coming out with:
Bellends: “so on this page we want the user to confirm and accept the contract”
Me: “cool, makes some sense, that’s what it’s already doing.”
Bellends: “afterwards we want to show them the price and have them put in their banking details.”
Me: “Wait, you what when?”
Bellends: “Yeah, well Jenny says we should have as few clicks as possible to get to the final stage and have the customer accept.”
Me: “Jenny’s on fucking crack, moving the contract formation phase to after the contract acceptance stage is not an option”
Bellends: “Oh it’s okay, Andy in legal said that would be okay”
Me: “Andy’s a fucking moron, tell him that online contract formation laws were updated 2014/2015 and you can’t do that anymore”
Bellends: “No, andy’s legal, surely he knows”
Bellends: “We want all of this above the fold”
Me: “OH FUCKING SUCK A DICK YOU ABSOLUTE BAND OF FUCKWADS... which one of you, which one hasn’t looked at a website this millennia!?”
Needless to say I ignored all their shit, got the lead generator out and told the CEO those ten people are certifiably fucking useless.
Bonus round; recent, but “it has to be on internal infrastructure”
“Why? It’s a mobile app sending rest calls to a third party saas.”
“It just has to, we have this thing called the private cloud and w”
“Wait... you what son, priv 🤦🏼♂️ private what mate?”
“Private cloud”
“You... you mean a server rack?”
“Nah we spent £2mn on it, it’s brilliant”
“Hahahaha you fucking dick, you blew £2mn on server infra with fuckall to put on it!?”
“No, no it’s the private cloud”
“Fucking idiot, aye son, where’s the fucking bean stalk you prick!?”
“It has to go on internal infr”
“Shut up, that won’t work”9 -
I’m a graphs designer, hardware expert, free software generator, marketing evangelist, networking wizard, and troubleshooter bot9
-
Just found a 1000kV arc generator on AliExpress.. huehue :v
1 megavolt? That's the usual voltage level on lightning bolts. And with air's breakdown voltage of ~15kV/cm (could differ depending on humidity), you'd need nearly a meter of distance between the prongs *and* be able to achieve an arc between that distance without having shit arc internally, before you could ever reach 1MV. Yet arc generators' prongs are usually within 1cm of each other. I'd give it 10kV at best.
Also, they're generating the voltage of a lightning bolt for €3.65 apparently.. way too good to be true. Even components able to handle 10kV are quite costly, and components having a breakdown voltage of over 1MV is completely unheard of. I'm gonna buy one of those puppies to see how the circuit is designed and to zap the shit out of those bloody mosquitos in here - the only women that love me :'( - but I wouldn't be surprised if it just boosts the output voltage up to whatever until it can arc and short out. Completely unregulated of course.. which is fine but eh, I doubt that any of those components are rated for 1MV so probably the regulation is in smoking components acting like fuses when the prongs are too wide apart :v
As for the purpose of this rant.. nothing in particular really. Perhaps it'll educate some, I don't know. Just wanted to put it out there :)
Also if you'd like to watch some video material about this, you may find ElectroBOOM's coverage interesting: https://youtube.com/watch/...29 -
It's really funny to build a PHP based RSS feed generator when, this morning, I hardly knew what RSS even was 😆11
-
My friend loves Dreamweaver... And continuously says that he doesn't understand what people see in it that is so wrong... It does the job right?...... Fucking blind...
Uses a bootstrap plugin which generates HTML code for bootstrap.
I did not know this at the time.
Comes to me the night before submission.
He: Dude i need help quick! I've got the presentation tomorrow morning and bootstrap fucked up the links to my style sheets or something, my page is broken and won't work. I should have done what you did and gone for Foundation...
Me: Yeah, because the bootstrap framework definitely affects the style links...
He: help me out man, please! I can't do this anymore!
I had my submission the day after him to prepare still...
Me: Teamviewer. Now.
Log on to Teamviewer.
See what he's using to code...
Dreamweaver..... Niiiiice....
I go through the code. There are empty divs with &nbsc; in them everywhere.. some HTML elements haven't been closed, no comments, indentation seems to be completely random. All the usual shit storm of a novice web designer.
The only thing is, this guy I know knows how to indent, I've seen his previous work. Why is this so horrible then???
I ask what the hell happened, it looked like a nuclear explosion happened!
He: Yeah I'm using this great plugin for Dreamweaver which lets me click and it puts in Bootstrap elements! It's great!
........ You're blaming the bootstrap framework for affecting your links to your stylesheets, you're using an elements generator, you're not checking what the FUCK it puts into your code, not fixing the indenting, not checking the standard HTML rules are followed AND YOU WONDER WHY IT'S BROKEN???
Kill me now.4 -
– we’ll be making money teaching people to code
– okay, so what should I do?
– it’s up to you. Develop the whole course and start making money for us
– ...
Another one, same boss:
– let’s develop paid website/press kit wysiwyg generator, it should be ready today
– it’s not a fucking landing page, it require more time, so let me do some research first
– you’re fired
Boy, was he an asshole. Me and my gf worked there for several months, then we left and boom, a month have passed and his company stopped existing6 -
This page doesnt look like much until I tell you it is written entirely in Clojure using a custom built HTML generator.9
-
My first dev job was a paid internship at Oak Ridge National Laboratory. But I wasn't in the computing division with the supercomputer and the 30-foot 18-screen wall display. In a way, I was doing something more exciting. I was in the Hollifield Radioactive Ion Beam Facility.
That meant that I was working next to a radioactive ray gun that they fired at different targets to try and make new kinds of particles. To refine the beam components, there was a tower with the world's highest voltage Van de Graf generator at 25,000 kilovolts. I got training on how to put on a radiation suit, and was told that if I got locked in the wrong room and red lights began to flash, I had about five seconds to run to the far wall and push the E-stop, before I got irradiated and died slowly over the next five weeks.
But, I was reassured, that never happened. Radiation leaks are rare too (that's why we wore dosimeters). More likely, there would be a leak in the generator tower. To explain why that's bad, that tower wasn't filled with normal air. 25,000 kilovolts would punch through that like nothing, arc against the walls, and we'd lose the electric charge. No, instead, the tower was filled to a few atmospheres of pressure with sulfur hexafluoride gas. You know how helium makes your voice go up? This stuff makes your voice go down. It's heavier than air, and it kills you by displacing and starving your lungs of oxygen.
So, while I was happily coding away on PHP, CSS and the Bash shell, making a log book for all the ion gun settings and targets the scientists used in their experiments, I was keeping an ear out for the oxygen alarm. I had a blast!2 -
This could be an exponential rant generator.
Guess my colleague who leaves his PC without lockscreen will have SO MUCH FUCKISH FUN . . .8 -
It's not motivation that you need, it's dedication.
You see, motivation is temporary thing, that sudden flow of dopamine running through your body that you get after some success or after being admired by someone or simply after good sleep and nice morning shower.
But the problem with motivation is that it's just temporary thing. After a while (hours, days, if you're lucky weeks) it just wears off and you're left pretty much where you started.
But there's one thing that remains and that's persistent. It's called DEDICATION. If you dedicate yourself to something, you are willing to do it no matter what it takes from you. Even if it frustrates you along the way or makes you angry, you wanna be able to say "It's finished. I'm satisfied with it" after you finish it. You are willing to crawl to the finishing line but no matter the obstacle, just knowing that you're getting closer to the finishing line is gonna motivate you. Your dedication is gonna become motivation generator. And that's the key. You need the passion and dedicate yourself to it.
But hey, sound simple but we all know the struggle. Sometimes it's even hard to recognize dedication from motivation. And sometimes you just go "Ok. Fuck it. I'm done" and leave it and that's okay AS LONG AS you get back to it after a while. As long as the inner you, the dedicated you that got you here in the first place, goes "Dude, it's tough. But it's alright, we refreshed a bit and now we're gonna fucking make it" (nope, I don't have schizophrenia) and you listen and get back at it.
Dedication is tough. It's about self control and understanding yourself deeply and balancing your mind. It's nirvana of success. It's the ultimate balance. But you can get there. If you want. Badly.
TL;DR You need dedication, not motivation. Punish yourself and reward yourself. Not too harsh and not too much. Just so that you don't lose track.
But most of all, GOOD LUCK YOU AMAZING FUCKS!5 -
My first real "rant", okay...
So I decided today to hop back on the horse and open Android Studio for the first time in a couple months.
I decided I was going to make a random color generator. One of my favorite projects. Very excited.
Got all the layouts set up, and got a new color every tap with RGB and hex codes, too. Took more time to open Android Studio, really.
Excited with my speedy progress, I think "This'll be done in no time!". Text a friend and tell them what I'm up to. Shes very nice, wants the app. "As soon as I'm done". I expected that to be within the hour.
I want to be able to save the colors for future reference. Got the longClickListener set up just fine. Cute little toast pops up every time. Now I just need to save the color to a file.
Easy, just a semicolon-deliminated text file in my app's cache folder.
Three hours later, and my file still won't write any data. Friend has gone to sleep. Homework has gone undone. My hatred for Android is reborn.
Stay tuned, the adventure continues tomorrow...11 -
Hunted a bug for 8 hours, thinking it was a problem in my code....
Found out it was someone else's code generator that injected the bug...
Contacted the concerned dev... Had to convince him for another 3 hours that it was his change to the code that caused the issue. He is still sure that his change can't break the code...... What the fuck are you..? A fucking God programmer who never makes mistakes??
I mean how hard is it to just accept when I just proved it to you??6 -
I wish people would stop claiming their product is an AI when it isn’t.
Guy on product hunt today says his name generator is an AI. This is how he describes the process:
- first it passes your input keywords through fasttext
- we get a random sampling of the top 100 or so words most related to your input keywords
- the top words are used as the dictionary input to a markov chain word generator, which generates 10~15000 random words
- the results are passed again through fasttext, we take the cosine distance of the resulting word to your input keywords (by using the out-of-vocab feature of fasttext)
- the top 100 most relevant results are returned6 -
A random number generator in my code just gave "0000". I even thought that could be some bug and was investigating. How cool is that?2
-
I programmed a random credit card generator at school and saved it to my :F drive which is the private drive for students to save stuff to. That night I tried accessing my account and it had notified me that it had been locked. I went into school the next day and was called into the office, the principal and Tech Administrator were there waiting for me and asked what the file was. The Tech Administrator tried to describe to me what he found
"This gen.html file seems to be malicious and puts our school at risk. It seems to be some sort of malware and stuff like that is prohibited at school."
Now me sitting in the chair listening to this, laughing in my head just said "okay" and nodded my head because he is the type of person to argue forever. They came to the conclusion to unlock my account by the end of the semester.
Just goes to show that it doesn't take much to get a Tech Admin position at a school.15 -
Finally finished the blog post and (nearly) the last bugs (few remaining, still gotta think about how to solve them) are fixed.
The new blog post is online! I've taken a look at the Telegram messaging app and basically burned it into the ground. (Provided sources as well)
Next to that, a new domain name! As this blog is about online security AND privacy, I decided to change the domain name. The new one:
https://much-security-such-privacy.info/...
Dark theme can be enabled but will only work on one domain, you have to enable it on the other one as well to get a dark theme there. It stores the value in a cookie so it will remain when you reload the page and don't remove the cookies.
The RSS feed generator has a bug right now which makes that the page doesn't get updated, will work on that one tomorrow.
Thanks!
Last but not least, you can email me suggestions and so on at linuxxx@much-security.nl :)34 -
Just heard at the coffee machine: "Well, does that mean I'm not allowed to use Trump's quotes to seed the random numbers generator?"1
-
Most of things I'm about to say are experienced by almost 99% of developers in Africa including my country so I'm going to make it a more general rant.
As an African developer, life is both exciting and frustrating at the same time. Some of the challenges that make life difficult for developers in Africa include:
1). Slow Internet Speed: The internet in Africa can be extremely slow and unreliable, making it frustrating to work on projects that require large file downloads. This is a serious challenge for freelance developers who work from home.
2). Unstable Electricity: Frequent power outages due to inadequate infrastructure, insufficient investment in energy production and distribution, and political instability makes it difficult for developers in Africa to work consistently. Most times I get frustrated because you can experience black out at anytime of the day which could last for hours to days automatically rendering you useless if you have no power backup generator at home.
3). Low Pay: While the opportunities for software developers in Africa are quite high, the salary is often disappointing. Many talented programmers end up seeking better opportunities overseas. In fact I quit my full-time job because of this reason.
4). Lack of Support for Tech Start-ups: There are few venture capital firms in Africa willing to invest in new ideas, which makes it difficult for tech start-ups to get off the ground. It's just sad, you can have an idea and just die with it.
So in summary, it's not a walk in the park to be a developer in Africa, but despite all of that I am glad to be a part of the African journey, having the opportunity to had work at a tech agency firm on various projects ranging from healthcare to finance, I find it rewarding to know that my work has contributed to a better future for my continent. 🤞6 -
Hi, rant. I've just finished one of my hobby work. :D
Just another O'RLY book cover generator, written in Golang/Vue, supporting more glyph like CJK.
You may try it on https://rly.nanmu.me/
Source code is available via MIT license on https://github.com/nanmu42/orly
Cheers. :)10 -
If your npm/yarn config breaks on windows clap your hands
👏👏
If your npm/yarn config breaks on windows clap your hands
👏👏
Express generator doesn't work, and sass will up and break because there is no support for windows clap your hands
👏👏🎵🎶
Sigh.......das it...i am bringing the mac or one of my Linux machines tomorrow........11 -
Russian Roulette - Developer Edition:
Have a random generator for a number between zero and one hundred. Every developer present picks a unique number.
The generator must then reroll until somebody's number of choice is the result. It is now this person's responsibility to begin an untested deployment at 4:59pm the next available Friday.4 -
My first job stared when i was 16 when i make my first power generator with some hardware stuff and c++.
I remember when it explodes one week later.6 -
South Africa Electricity:
This is after I lost my 7th 3000VA online UPS...
In South Africa we have 240V power most of the time which is great, but then there is scheduled power outages (because our electricity companies cannot "handle the load").
When we have a power outage we have automatic generators which brings everything back up although there is still the 1 minute drop which has weird spikes and odd voltages before switching to the generator (as the generators wait until they are stable)
This has being destroying our equipment, we had a $2000 repair bill 3 TIMES for 3 SEPERATE Xerox Machines that have surge protectors although their circuit board somehow fried.
We have lost 7 3000VA UPSes (3 different brands) and 5 voltage regulators we put to protect the UPSes.
The one UPS that fried just had 2 dead fuses, I decided to replace them (unplugged the batteries to avoid 240V) and when plugging the batteries back in there was a huge spark and flame and the metal and plastic melted onto the board and turned black (the metal pins to connect the battery are non existant now)
I am done with electricity...
P.S. 2 of our generators also got hit by lightning as we are high on a hill and ALL the plastic cable coverings inside the generator were melted14 -
Story time!
About seven years ago, I was in high school and had friends who kinda rocked with computers. I mean, they knew how to build one, how to make cross tests to find what was wrong with one, which softwares to install to detect viruses, etc. Once, I was with one of these friends, A, when another friend, G, came to us to explain his problem: his computer didn't turn on anymore. He said that he opened the computer, took off the RAM, that let the computer start once, but when he switched off again he wouldn't start anymore.
I was just a silent witness, and A started to ask G how it did happen. "Oh, I was downloading an Allopass generator, when my computer froze."
I smiled.
"But where on hell did you download that? So we can try to find exactly what virus you downloaded! " "Actually", said G, "I was on a streaming site at first, then saw an, then another, and after a dozen sites I found this soft..."
"But", A couldn't believe it, "you don't have antivirus or anything that would have told you not to download it?"
"Oh, it tried, but I reaaaaaally wanted this software. So I shut down it and managed to download it."
I burst in laugh. At the same time I was feeling bad for this poor computer. What amazed me it that not once during the process, G thought it was a bad idea to download an Allopass generator found in an ad that even his antivirus told him it was dangerous.
Nice ending, A took the computer, and managed to make it work again. He even managed to keep important stuff that wasn't destroyed by the virus. G got a little lesson by A, then got yelled at by his parents, because the computer was in fact theirs.
Thanks for reading, and sorry if there's any mistake (grammar, punctuation, etc.), I am on my phone with autocorrect set on french. Have a nice day!5 -
Part of a product I used to work on contained a one time password generator that randomly strung together a few words from a word list.
Nothing wrong with the security, but this word list hadn't been filtered, so we did have a "bug report" from a customer who had a one time password that contained a questionable phrase:
"fucking pork Muslim"
...Call me a terrible person, but I never did get around to fixing that...3 -
I'm curious to know, what was the first problem you've encountered, but solved through programming?
For me, since I'm a writer, I try to complete one random writing prompt a day.
However, I always have trouble deciding which one I should do. So, I created a prompt generator in Python.
Whenever I run the program it would display a random prompt.8 -
So I decided to commit to a big project. Since I want every user to have some default avatar before I implement file system, so I wrote a simple avatar generator:
https://txstc55.github.io/simple-av...
Feel free to generate some avatars!32 -
There was fire in the below ground generator, smoke pulled out, in home, alive. Electricity not coming, hope it gets fixed soon.
Thank god i am alive.
And i managed to save my final year project files.
Yay!8 -
I am interviewing people for a job position with python knowledge.
My first question is how to reverse string and second one what’s the difference between set and list.
So far no one knows.
Fairly speaking I am asking only basic questions about what is decorator, generator, lambda. Also some basic data structure questions.
Is it to hard ?
I lost my faith in humanity.15 -
Back when I was in school, there was me, these 2-3 other guys, we maintained the school's sites + graphics and what not. If there was a problem, we could solve it. The school hosted big events and the site had over 50k hits in 2 days.
We used PHP then (was a new thing then for us)
Was looking at the schools site now out of nostalgia,
THE SHIT DOESNT EVEN SCALE WELL.
Graphics look like they were made using MS Paint.
Has a prominent 'designed by so n so' who is a student there.
Was checking the source code,
has
<meta name="generator" content="Zyro - Website Builder" />
FUCKER DIDNT EVEN CODE IT HIMSELF.
I wanna go back to my school and spank those bastards there.
This LITERALLY hurts.5 -
Just finished the Terrible Word Search Generator, inspired from the Kayak Word Search. Kind of funny in a way.
https://terrible-word-search.netlify.com/...
https://github.com/hparcells/...9 -
So here I am, skrewing around with the Google Authenticator app and the dodgiest base32 code generator I've ever built and generating a 56 char unique ID, and a 8 digit time based code.
WTF, all these products, services and logins that use 6 digit codes... and this fucking thing can handle 8 without breaking 😑
Now... to hook it into a QR code class... and spit out an image I can actually scan, without calling google charts api.
I can't say I've written one of those before 🙃6 -
I think my productivity at work seriously went up when I discovered this site with custom noise generators. Blocks out my coworkers, and I can pretend it's raining all the time. Perfect for coding!
http://mynoise.net/NoiseMachines/...2 -
Third World country: *has power outage because of corrupt government*
Our outsourced devs: Hey sorry boss, we will not be able to work today because there was a power outage. We'll make it up for it during the weekend! We're saving up for a power generator so this doesn't happen again!
Manager: These lazy @#$@ (racial slur) are so lazy and stupid!7 -
I know it is 1 week too late but i dont care. Im aware that my workbench looks like shit but in reality it is a "creative mess"
@Condor Do you envy me now? I have 1054z that is hacked and has all its features unlocked! I have desoldering station and crappy (very crappy) soldering station. In addition to that i got simple sine/square generator that goes to 1Mhz (old communist poland tech - indestructible and great)
Situation with my pc is complicated. My main pc (with the curved monitor)
-i5 3350p
-12 Gb or ram (2*4Gb and another 4 that friend gave me)
-radeon 7800hd (*RIP* cant play games anymore 😥)
-256Gb sata SSD
-2Tb WD blue HDD
In addition to that i have a laptop
i5 4 cores, 8Gb ram, 1Tb HDD, GTX1050
I use my lap for gaming now, i even connected that monitor as main lap.
(double monitors yay!) sometimes i use my old pc for minor things but i use rdp for that, it is great experience! (my lap displaying rdp from my old pc on second monitor that was my old pcs main one 😂 i find it a tiny bit funny)15 -
So this is an update of the afore mentioned IT related RPG I am making. I have settled on the title "Lords of Bullshit: a tale of corporate incompetence".
I need some ideas guys. I have Java, C, Python, PHP, bash and git as skill types, but I need spells for each.
For example in C I have malloc and dealloc as spells (revive and death spells).
I am having trouble with Java spells. I am trying to come up with things that focus on OOP or reflection and meta programming, but I am having trouble.
Any ideas? Also, anyone want to help with some sprites? All of the sprites the character generator can make are medieval looking.19 -
Currently I'm working on 3D game engine and making a 3D minesweeper game with it.
I have started creating a compiler not long ago using my own implementation (no Lex no tools nothing just raw algorithms application) to hopefully some day I will be able to make a language that works on top of glsl inside my game engine. I have compilers design class this semester which haven't even started yet and made a lexical analyser generator. I also have another class about geographical information systems which I will be using my engine to create some demos for some 3D rendering techniques like level of details or maybe create something similar to arcgis which we will be using.
Oh man I have many stuff I want to do.
Here is a gif showing the state of my minesweeper game. I clearly lack artistic skills lol. One thing I will be making is to model the sphere as squares not triangles.
Finally I want to mention that I months ago saw someone here at devrant making a voronoi diagrams variant of this which inspired me to make this.
I made long post so
TLDR : having fun reinventing the weel and learning 😀 -
My mum - "Something to do with traffic lights"
Because I told her I was designing an Ethernet traffic generator device.1 -
A colleague of mine had to debug performance problems in a foreign, proprietary application that is ancient.
To be crystal clear: Only reason that thing exists is because some old geezers fear change.
Asked me for help cause it's an _ancient_ MS SQL server that is luckily running on hardware owned by us.
Finding the credentials was already a funny task.
We had to access the vault (not joking here, we have a physical vault for storing sensitive data and critical backups), grab a folder and find the necessary data cause no one ever dares to touch that thing.
The application is btw for a sort of ERP / inventory system that is used in some ancient shops not yet migrated...
Yeah. Story speaks for itself.
Anyway, after dusting off ourselves, we were able to connect.
Was a bit ... Interesting. Everything's in german. The worst kind of german.
After looking at the first tables, I started giggling.
My colleague knew immediately that this was a sign of danger (insert Simpson meme here), raised his eyebrows and asked "How bad is it....".
Me, still giggling, "lemme take a further look, this is gold".
*long sigh from the colleague*
Well... It ended with me putting my hands in front of my eyes, turning around and saying: "I cannot look at it anymore, it hurts too much...."
To summarize:
- German table names
- When a table exceeded 300 plus columns, they added another table with the same plus suffix "_ddd"… where ddd is an zero filled integer sequence like 001
- To join this mess, they created views... Named "generator" - Sequence Number ... Some had the beginning of table names appended, which doesn't make it less confusing.
- the process list was listing queries running longer than 5 mins.
Which isn't at all surprising when generating carrtesian products of N tables with left join.
I've seen shit.... I've seen a lot of shit.
But that shit scared me.1 -
You know what I always hated about Stack Overflow?
When a newbie asks a question and really wants to learn something they get downvoted for 'we're not your teacher. Go learn it somewhere else'
When someone else asks a question and just expects Stack Overflow to magically produce working code for him they also get downvoted for 'we're not a code generator'
When someone finally asks a 'good question' but mentions in the last line it's homework they also get downvoted for 'We won't do your homework'
They also don't tolerate fun or opinions.
I never actually participated in Stack Overflow because to me it felt that whatever I asked, it would get closed for god knows why. And when I actually answered questions, and wanted to help someone, I would get downvoted for 'don't make someone else homework' or 'don't waste your time if they're not willing to put effort in it'
I still always 'used' Stack Overflow but read-only thanks to Google.
Anyone else feels/felt the same way?7 -
I rewrote my static website generation from jekyll to custom python code over single night.
Literally all jekyll plugins I use including seo, rss, syntax highlighting inside markdown content, sitemap, social plugins, css sass, all of it.
Now it’s around 400 lines of python code that I understand completely. I didn’t touch any existing templates and after comparing output I got even better results now and it’s working faster.
I skipped drafts as I don’t need them now.
Why ? Cause now I can make better generator for my side projects that can include some partial website generation, better modification and date handling, tree structure, etc.
What I will do now is that I will parse bunch of content to create markdown files that will be sucked by this generator to create static web pages that will flood internet lol.
Still I didn’t believe it was possible to rewrite all of it so quickly. I sit yesterday around 4pm and finished around 6am.
I started thinking that maybe I am crazy and no one can help me.9 -
*Makes a small change in Webpack generator for Eclipse Theia*
*Takes 10 minutes to complete all tests*
*PR*
*Travis CI builds*
*Takes 30+ minutes*
Uh, Travis, you okay? -
has anyone seen Google's AI face-tree nightmare generator? (a joke from another thread)
They need to be stopped!12 -
Before becoming a developer, I used to work as a sales rep at this company that spent a good amount of time building what they believed to be an innovative state-of-the-art “code generator”. It was basically a scaffolding tool for generating software.
They were using it to auto generate customized iOS and Android native mobile app templates, along with a web backed.
The problem was that the generated code was shit, and the developers on the team basically spent more time fixing bugs than if they had built everything from scratch. But their passion for the product meant they just kept using it.
For some reason they never fixed issues in the original templates, so basically all the bugs that were found, kept showing up with each new app!
I have never seen apps like this that essentially had more bugs than features. Opening more than 10 app screen meant the app would freeze and crash. Sign up forms were actually dummy forms. The list goes on...
All the apps had the same shitty UI. For example, Product pages had a product image area that was like 5% of the screen view!
Last but not least, apps had a backend IP address hardcoded pointing to a server with an IP address that was temporary. So one day they had to restart the server and suddenly all customer apps stopped working and required a software update to work!
It was amazing seeing how a team of 3 developers trying to fix messy autogenerated code, couldn’t accomplish what was essentially a website on an app that I managed to build in my free time.
That’s how I knew it was time to quit my job and code full time.2 -
World's best random string generator
Open a vim session in front of a designer and tell him to exit 😂😂1 -
Today I had to write a unit test to test a method that internally used a random number generator...
Aha
Ahaha
Ahahaha
My test was literally just assertNotNull...4 -
Doing an exercise in college. The lecturer provided random number generator code that continuously outputs the number 10. But that's none of my business3
-
Well today we got to test our system to the extreme and I'm pleased to say it passed. Major power surge followed by a black out. UPS for all networking and servers kicked in without missing a beat and the standby generator outside about 45 seconds later. After explaining to users how to turn on their computer (😑), we were able to get everyone working again in about 5 minutes. Lasted three hours without power from the grid without any client downtime1
-
Two big moments today:
1. Holy hell, how did I ever get on without a proper debugger? Was debugging some old code by eye (following along and keeping track mentally, of what the variables should be and what each step did). That didn't work because the code isn't intuitive. Tried the print() method, old reliable as it were. Kinda worked but didn't give me enough fine-grain control.
Bit the bullet and installed Wing IDE for python. And bam, it hit me. How did I ever live without step-through, and breakpoints before now?
2. Remember that non-sieve prime generator I wrote a while back? (well maybe some of you do). The one that generated quasi lucas carmichael (QLC) numbers? Well thats what I managed to debug. I figured out why it wasn't working. Last time I released it, I included two core methods, genprimes() and nextPrime(). The first generates a list of primes accurately, up to some n, and only needs a small handful of QLC numbers filtered out after the fact (because the set of primes generated and the set of QLC numbers overlap. Well I think they call it an embedding, as in QLC is included in the series generated by genprimes, but not the converse, but I digress).
nextPrime() was supposed to take any arbitrary n above zero, and accurately return the nearest prime number above the argument. But for some reason when it started, it would return 2,3,5,6...but genprimes() would work fine for some reason.
So genprimes loops over an index, i, and tests it for primality. It begins by entering the loop, and doing "result = gffi(i)".
This calls into something a function that runs four tests on the argument passed to it. I won't go into detail here about what those are because I don't even remember how I came up with them (I'll make a separate post when the code is fully fixed).
If the number fails any of these tests then gffi would just return the value of i that was passed to it, unaltered. Otherwise, if it did pass all of them, it would return i+1.
And once back in genPrimes() we would check if the variable 'result' was greater than the loop index. And if it was, then it was either prime (comparatively plentiful) or a QLC number (comparatively rare)--these two types and no others.
nextPrime() was only taking n, and didn't have this index to compare to, so the prior steps in genprimes were acting as a filter that nextPrime() didn't have, while internally gffi() was returning not only primes, and QLCs, but also plenty of composite numbers.
Now *why* that last step in genPrimes() was filtering out all the composites, idk.
But now that I understand whats going on I can fix it and hypothetically it should be possible to enter a positive n of any size, and without additional primality checks (such as is done with sieves, where you have to check off multiples of n), get the nearest prime numbers. Of course I'm not familiar enough with prime number generation to know if thats an achievement or worthwhile mentioning, so if anyone *is* familiar, and how something like that holds up compared to other linear generators (O(n)?), I'd be interested to hear about it.
I also am working on filtering out the intersection of the sets (QLC numbers), which I'm pretty sure I figured out how to incorporate into the prime generator itself.
I also think it may be possible to generator primes even faster, using the carmichael numbers or related set--or even derive a function that maps one set of upper-and-lower bounds around a semiprime, and map those same bounds to carmichael numbers that act as the upper and lower bound numbers on the factors of a semiprime.
Meanwhile I'm also looking into testing the prime generator on a larger set of numbers (to make sure it doesn't fail at large values of n) and so I'm looking for more computing power if anyone has it on hand, or is willing to test it at sufficiently large bit lengths (512, 1024, etc).
Lastly, the earlier work I posted (linked below), I realized could be applied with ECM to greatly reduce the smallest factor of a large number.
If ECM, being one of the best methods available, only handles 50-60 digit numbers, & your factors are 70+ digits, then being able to transform your semiprime product into another product tree thats non-semiprime, with factors that ARE in range of ECM, and which *does* contain either of the original factors, means products that *were not* formally factorable by ECM, *could* be now.
That wouldn't have been possible though withput enormous help from many others such as hitko who took the time to explain the solution was a form of modular exponentiation, Fast-Nop who contributed on other threads, Voxera who did as well, and support from Scor in particular, and many others.
Thank you all. And more to come.
Links mentioned (because DR wouldn't accept them as they were):
https://pastebin.com/MWechZj912 -
One of those days when i feel like complete shit and wish i hadn’t woken up.
I heard back from an interview i did last week (one of the faang type) and the recruiter started with “You didn’t impress any of your interviewers”. Man that hurt. I can’t unhear that. He went ahead to say they all recommended a mid-level role for me (they apparently said i had potential and could easily grow into a senior eng) instead of the senior lead i applied for. This is also subject to getting approval to hire mid-level engineers because the team needs more people but they only got approval to hire senior engineers. This cunt also added “dont worry about it. Just go about your usual business and i’ll call you next week if we have gotten the approval”. Ass! All i can do is worry because that is what i do best.
I think i am more sad and disappointed in myself because i thought the interviews went well. Wrote decent code and came up with good solutions on time. Had a good conversation with interviewers. Apparently for a senior, you cannot make mistakes which i did but once the interviewer gave me a clue, i got back on track.
Anyway, i slept with this anxiety, then woke up with tummy ache. On the drive out this morning to go to the bank, i drove my car into a pole and broke off my side mirror. Then my fucking power generator stopped working. And on my way to go and get my fixed mirror from the mechanic, my exhaust pipe broke in half due to a possible pothole i drove into.
Those fucking days where all that could go wrong goes wrong. My head is fucking pounding i can barely move my head without wincing. I am running out of money fast (i support my entire family) and i am worried about not getting a job. This blow to my confidence makes me feel worthless like i am not good for anything. Recruiter suggested i do another senior engineer interview for a different team which i passed the test for but i know the outcome would most likely be the same and i wanted the first team really bad. I just want to lie in bed and cry all day but this fucking headache won’t let me. -
When you spend two weeks coding something only to find out there is a cool generator that could write 90% of your code for you7
-
Tired of hearing "our ML model has 51% accuracy! That's a big win!"
No, asshole, what you just built is a fucking random number generator, and a crappy one moreover.
You cannot do worse than 50%. If you had a binary classification model that was 10% accurate, that would be a win. You would just need to invert the output of the model, and you'd instantly get 90% accuracy.
50% accuracy is what you get by flipping coins. And you can achieve that with 1 line of code.5 -
Recreated minesweeper... Sort of
Some how Medium is still extremely hard.
Seems just using a random number generator for Mine placement doesn't make good games...16 -
You mother fucking piece of shit.
Whoever taught you programming should be removed from history.
And whatever form of intelligence you claim to possess, let me assure you: breathing is the limit of it.
--
Some of the projects I'm working on are really the epitome of "YOLO let's turn the poopomat machine on in diarrhea mode".
The worst: I cannot really give examples.
I've seen the last days everything.
(bash scripting, docker, services like nginx /haproxy/...)
Eval as an template generator in bash...
Declaring an whole environment in an Dockerfile, that should never be used as it is only necessary for building... But not checking if an env file is provided, so the whole thing can blow up spectacularly.
A nearly 1k long bash calculator for system limits, reading out all kinds of stuff from /proc and /sys, seemingly partially stolen from NGINX Docker.
Declaring and starting an own DNS Server to bypass the Docker DNS service inside an docker container.
Mkfifo fun for creating several stdout and stderrs for seemingly no reason...
Actively not using bash, instead of creating shell only functions to emulate bash...
I could go on.
But really. I'm getting too old for this shit.3 -
FRIDAY MADNESS:
As I was so busy coding, one colleague was taking a break and distracts me as he's done with his task. As he approached, I snobbed.
Him: Dude, did you know that there's a generator for all the images in sprite?
Me: really? How?
Him: spritegen.website-performance.org. What's cool about it is that the html and css are already generated just like in font awesome. For example, that i tag...
Me: cool. I wonder dude, why would they use i tag when it makes the text italicize, right?
Him: right. Probably because its used for icons also because icons starts with letter i.
Me: LOL.
Him: LOL. -
Will happen:
- Leave current shitho...job and join something exciting
- Draw at least 1 manga chapter, im fine if its a one shot or something, i just wanna do it
- Master ocaml
- Move to a big city
Will happen, just not necessarily in 100wks:
- Arduino up my car
- Start a company
- Have at least one open source project that is somewhat successful. Id be more than happy with like 20 stars on github. Currently working on a REST backend generator, that might be big.
- Get a cat.
I hope will happen at least sometime:
- Move to USA
- Finish a Volkswagen collection
- Have a career as an anonymous dubstep artist2 -
I am so sick and tired of hearing “AI” everywhere all the time. Yeah how about we integrate some AI into your super smart toaster so that it knows when to start preparing for when you put toasts in it in the morning.
Not even mentioning all these idiots being like “oh yeah AI is becoming sentient. Oh yeah AI is gonna take over the world”.
Brother the current state of AI is just machine learning, it’s a stupid pattern detector and generator it doesn’t have thoughts, emotions. Please just stop it.2 -
Living with a 1yo rugrat is like having an agent of entropy at home.
Need a way to hook up /dev/urandom to this chaos generator1 -
Not as much of a rant as a share of my exasperation you might breathe a bit more heavily out your nose at.
My work has dealt out new laptops to devs. Such shiny, very wow. They're also famously easy to use.
.
.
.
My arse.
.
.
.
I got the laptop, transferred the necessary files and settings over, then got to work. Delivered ticket i, delivered ticket j, delivered the tests (tests first *cough*) then delivered Mr Bullet to Mr Foot.
Day 4 of using the temporary passwords support gave me I thought it was time to get with department policy and change my myriad passwords to a single one. Maybe it's not as secure but oh hell, would having a single sign-on have saved me from this.
I went for my new machine's password first because why not? It's the one I'll use the most, and I definitely won't forget it. I didn't. (I didn't.) I plopped in my memorable password, including special characters, caps, and numbers, again (carefully typed) in the second password field, then nearly confirmed. Curiosity, you bastard.
There's a key icon by the password field and I still had milk teeth left to chew any and all new features with.
Naturally I click on it. I'm greeted by a window showing me a password generating tool. So many features, options for choosing length, character types, and tons of others but thinking back on it, I only remember those two. I had a cheeky peek at the different passwords generated by it, including playing with the length slider. My curiosity sated, I closed that window and confirmed that my password was in.
You probably know where this is going. I say probably to give room for those of you like me who certifiably. did. not.
Time to test my new password.
*Smacks the power button to log off*
Time to put it in (ooer)
*Smacks in the password*
I N C O R R E C T L O G I N D E T A I L S.
Whoops, typo probably.
Do it again.
I N C O R R E C T L O G I N D E T A I L S.
No u.
Try again.
I N C O R R E C T L O G I N D E T A I L S.
Try my previous password.
Well, SUCCESS... but actually, no.
Tried the previous previous password.
T O O M A N Y A T T E M P T S
Ahh fuck, I can't believe I've done this, but going to support is for pussies. I'll put this by the rest of the fire, I can work on my old laptop.
Day starts getting late, gotta go swimming soonish. Should probably solve the problem. Cue a whole 40 minutes trying my 15 or so different passwords and their permutations because oh heck I hope it's one of them.
I talk to a colleague because by now the "days since last incident" counter has been reset.
"Hello there Ryan, would you kindly go on a voyage with me that I may retrace my steps and perhaps discover the source of this mystery?"
"A man chooses, a slave obeys. I choose... lmao ye sure m8, but I'm driving"
We went straight for the password generator, then the length slider, because who doesn't love sliding a slidey boi. Soon as we moved it my upside down frown turned back around. Down in the 'new password' and the 'confirm new password' IT WAS FUCKING AUTOCOMPLETING. The slidey boi was changing the number of asterisks in both bars as we moved it. Mystery solved, password generator arrested, shit's still fucked.
Bite the bullet, call support.
"Hi, I need my password resetting. I dun goofed"
*details tech support needs*
*It can be sorted but the tech is ages away*
Gotta be punctual for swimming, got two whole lengths to do and a sauna to sit in.
"I'm off soon, can it happen tomorrow?"
"Yeah no problem someone will be down in the morning."
Next day. Friday. 3 hours later, still no contact. Go to support room myself.
The guy really tries, goes through everything he can, gets informed that he needs a code from Derek. Where's Derek? Ah shet. He's on holiday.
There goes my weekend (looong weekend, bank holiday plus day flexi-time) where I could have shown off to my girlfriend the quality at which this laptop can play all our favourite animé, and probably get remind by her that my personal laptop has an i2350u with integrated graphics.
TODAY. (Part is unrelated, but still, ugh.)
Go to work. Ten minutes away realise I forgot my door pass.
Bollocks.
Go get a temporary pass (of shame).
Go to clock in. My fob was with my REAL pass.
What the wank.
Get to my desk, nobody notices my shame. I'm thirsty. I'll have the bottle from my drawer. But wait, what's this? No key that usually lives with my pass? Can't even unlock it?
No thanks.
Support might be able to cheer me up. Support is now for manly men too.
*Knock knock*
"Me again"
"Yeah give it here, I've got the code"
He fixes it, I reset my pass, sensibly change my other passwords.
Or I would, if the internet would work.
It connects, but no traffic? Ryan from earlier helps, we solve it after a while.
My passwords are now sorted, machine is okay, crisis resolved.
*THE END*
If you skipped the whole thing and were expecting a tl;dr, you just lost the game.
Otherwise, I absolve you of having lost the game.
Exactly at the char limit9 -
Here is the bootleg adidas generator i made yesterday, feel free to contribute
https://razorsh4rk.github.io/bootle...22 -
People didn't find me cool enough when I said I develop websites,
So I ran https://github.com/svenstaro/genact as a screen saver.6 -
New project team name needed
Random team name generator suggested "The snowballers"
Errrr no I don't think so 🤢
https://urbandictionary.com/define....4 -
Idea for a next gen image compression method:
* Put your image into a reverse AI image generator to get the prompt for that image.
* store the text string as the compressed image
* Put the text string into to AI image generator to get back your compressed image.14 -
When it's a severe thunderstorm but you still have to work because your backup generator has a backup generator1
-
Tesla is 3 months late delivering our power walls after their 9 month estimate and now we are going to lose power from this tropical storm! Uggg extension cords and a diesel generator it is. Since this is a small company the “Director of Technology” title is very inclusive, so guess who’s gotta deal with getting this stuff situated, yep, yours truly.3
-
Oh I have quite a few.
#1 a BASH script automating ~70% of all our team's work back in my sysadmin days. It was like a Swiss army knife. You could even do `ScriptName INC_number fix` to fix a handful of types of issues automagically! Or `ScriptName server_name healthcheck` to run HW and SW healthchecks. Or things like `ScriptName server_name hw fix` to run HW diags, discover faulty parts, schedule a maintenance timeframe, raise a change request to the appropriate DC and inform service owners by automatically chasing them for CHNG approvals. Not to mention you could `ScriptName -l "serv1 serv2 serv3 ..." doSomething` and similar shit. I am VERY proud of this util. Employee liked it as well and got me awarded. Bought a nice set of Swarowski earrings for my wife with that award :)
#2 a JAVA sort-of-lib - a ModelMapper - able to map two data structures with a single util method call. Defining datamodels like https://github.com/netikras/... (note the @ModelTransform anno) and mapping them to my DTOs like https://github.com/netikras/... .
#3 a @RestTemplate annptation processor / code generator. Basically this dummy class https://github.com/netikras/... will be a template for a REST endpoint. My anno processor will read that class at compile-time and build: a producer (a Controller with all the mappings, correct data types, etc.) and a consumer (a class with the same methods as the template, except when called these methods will actually make the required data transformations and make a REST call to the producer and return the API response object to the caller) as a .jar library. Sort of a custom swagger, just a lil different :)
I had #2 and #3 opensourced but accidentally pushed my nexus password to gitlab. Ever since my utils are a private repo :/3 -
So I just bought an iubenda GDPR privacy policy, and literally filled it with any services I ever used, ever seen, ever could come in handy and have a genuine laugh how it would look like, if one single website used all the services, with all the options.
Great 9$ for sure, now I'll probably make myself a template generator, that removes and adds things, depending on what services I use.2 -
Motherfucking stupid windows 10.
Wanted to try out cortana with all features after disabling it via regedit.
So naturally I created a Microsoft account and linked my user to it. Of course I used a random password generator and saved it in a passwort vault.
Then an update happened, I restarted my computer and guess what this stupid piece of SHIT garbage software did?
It prompted me to enter my password. Not the password I had for my local user BUT THE MOTHERFUCKING 15-DIGIT RANDOM PASSWORT GENERATED AND NOT EVEN VIEWED ONCE FUCKING SHIT!!!
Did they even ask if I wanted that? No they fucking didn't. Did they WARN ME? NO. NO THEY FUCKING DIDN'T.
That's the last straw. I'll kick windows down the garbage bin where it belongs and programm my own AI with open source software.4 -
I really feel the need to just blacklist the entire EU, to not deal with additional shit like gdpr, I do see its benefits, but I am already busy with getting my client approved by paywalls, other services and get all that bullshit integrated - I really don't need having to also shit out some very detailed statement about it all, if you want something like that, then create a generator that gives me all you want with couple clicks, else get fucked outta my sight.13
-
We're a data science company. We do medical research. We have patented results.
My manager describes half of our code base as on par with a random number generator. At least 1 part of our pipeline overfits random data with 99.9% accuracy.
My manager is a wise man.3 -
When I was starting my programing adventures I was intern in a "java position" that sucked so hard that I quited about 2 weeks in....
We would actually not code any single line... It was a fucking bullshit code generator for some shitty thing that I really didn't get and all we did was watch video tutorials about how to use it...
I was going insane...
There was this "senior" php dev at the team that used to brag that php was the most awesome fucking shit in the world and once said something like "I mean... Come on ... You can do anything in php... What can you do in java that you cant in php"
Oh boy... If it was today I would teach him some manners... -
I just compiled a color palette for devRant-related drawings that anyone can import into GIMP and Inkscape. Already successfully using it for graphics promoting dR Community Matrix (more on that later), hence the name: "drcm-palette".
🎨 https://github.com/drcmatrix/...
For reference I used colors produced by "Tailwind CSS 10-color Palette Generator": https://tailwind.simeongriggs.dev/19 -
Ugh I was so bored creating icons that I decided to create an app icon generator with Webpack-style config and icon generation for multiple platform + custom shape for desktop2
-
It powers nodejs.org. It has 7.8k stars on Github.
It was installed 5x as much on NPM in the last 4 months as it was in the previous 5 years. https://metalsmith.io
I've been doing a lot of outreach to individual users, websites, and related Github projects, yet community involvement is hard to get by. If you value copy-left or free open-source software and are interested in bloat-free nodejs static site generation or build pipelines, please reach out.
I have a full-time job and am thankful for any help, be it feedback on the Gitter chat: https://gitter.im/metalsmith/... maintaining one of the 15+ core plugins, creating starters or writing blog posts.1 -
I was so fed up with being spammed with generic messages from recruiters on Linkedin I decided to create a parody generator - Linked xD (http://devpurge.com/linkedxd/en). It was first launched in Polish and went viral; a few months later I heard even recruiters started to use it on a daily basis as an anti-pattern.8
-
Slept at 3am working on a personal open source yeoman generator that will probably be used by left than 10 users. 😀😀2
-
Fuck this I need to ventilate.
Thinking about job change because maintaining and extending 3 years old codebase (flask project) is FUCKIN exhausting. It was badly written since start by someone who obviously didn't know much about python. (Going by commit history.)
Examples:
- if var != None / if var == None
- if var is not None / if var is None (well..)
- Returning self-parsed obscure JSONs from dict variable
- Serializing dictionaries into database by str() (both sqlalchemy and mysql support JSON format) - THEY ARE ALMOST UNUSABLE OTHER WAY AROUND (luckily, python can deal even with that)
- celery tasks, the way they are called they BLOCK the whole flask (not bad in itself, but if connection breaks there are no errors, nothing it just hangs)
- obscure generator/yielding that contains return of flask's response in itself
- creating fifteen thousands of variables one by one where they would look so nicely as dict keys, and hey they are then both MANUALLY SERIALIZED into returning dict by "%s" (string formatting) [okey, some of them are objecst like datetime but MATE WTF]
- many, many more, PEP lint shall not pass
I would rather deal with fresh startup owners wanting me to program unicorns in one week then trying to extend and manage zombie-like projects.
Nothing personal against the firm I actually like the place.3 -
What you could have:
- simple project structure
- common lib with modular logic
- import logic as needed in you services
What you do:
- waste months to write an opinionated framework that works only if used in a super specific way
- have a fat sample project as example
- use a code generator to copy and rename the said sample project whenever you create a new service
- have everything break whenever something new is added in the framework
- oh and keep the framework in active development while others work on the client services, so lots of things will break often and out of nowhere
Fucking god, i hate when people make pet projects out of work projects2 -
Found a clever little algorithm for computing the product of all primes between n-m without recomputing them.
We'll start with the product of all primes up to some n.
so [2, 2*3, 2*3*5, 2*3*5*,7..] etc
prods = []
i = 0
total = 1
while i < 100:
....total = total*primes[i]
....prods.append(total)
....i = i + 1
Terrible variable names, can't be arsed at the moment.
The result is a list with the values
2, 6, 30, 210, 2310, 30030, etc.
Now assume you have two factors,with indexes i, and j, where j>i
You can calculate the gap between the two corresponding primes easily.
A gap is defined at the product of all primes that fall between the prime indexes i and j.
To calculate the gap between any two primes, merely look up their index, and then do..
prods[j-1]/prods[i]
That is the product of all primes between the J'th prime and the I'th prime
To get the product of all primes *under* i, you can simply look it up like so:
prods[i-1]
Incidentally, finding a number n that is equivalent to (prods[j+i]/prods[j-i]) for any *possible* value of j and i (regardless of whether you precomputed n from the list generator for prods, or simply iterated n=n+1 fashion), is equivalent to finding an algorithm for generating all prime numbers under n.
Hypothetically you could pick a number N out of a hat, thats a thousand digits long, and it happens to be the product of all primes underneath it.
You could then start generating primes by doing
i = 3
while i < N:
....if (N/k)%1 == 0:
........factors.append(N/k)
....i=i+1
The only caveat is that there should be more false solutions as real ones. In otherwords theres no telling if you found a solution N corresponding to some value of (prods[j+i]/prods[j-i]) without testing the primality of *all* values of k under N.13 -
I wanted to develop a programming language since all programming languages have some shortcoming of their owns so as I walk further along in developing custom parser generator and so forth, I get to the point where I have to consider implementing the Language Server Protocol for the programming language only to realize that while ironically LSP was supposed to make it easy to to have autocompletion features and other stuff made available to other editors, you still end up requiring to make plugins/extensions for such editor like Visual Studio and Visual Studio Codes anyway despise the fact that LSP was meant to solve that. Meanwhile over at Linux Land, we have Kate editor that can be configured to simply connect to LSP server and require no plugin/extension to do so, you just specify it in json config and that's that.
Microsoft... you created LSP protocol and yet you want Plugin/Extensions still for VSCode/Visual Studio even though LSP was made to address that... Make up your mind, ffs. P.S. I have no interest in writing 100,000 LOC of extension/plugin for your editor if it can't get it's $#!^ together.19 -
Google announced a little piece of wizardry called MusicML, which seems to be a pretty decent music generator based on text prompts or sample imputs
I can only think how much would this thing help indie game developers (if available), but then there are a lot more industry (beside music itself) that could save lots of money with this kind of stuff
I mean, yeah, the results are not so great or ground breaking, but so would be most of the human generated compositions as well; if the music is not the main focus, most of the results are just enough. Just think about an elevator with a custom generated track for day, or so many other places where sound it's just a side stimulus
What a time to be alive c:5 -
Just started today with Python 3. I don't know but I really start to like the language. Its not to difficult and it has nice syntax. Currently I'm working on a little financial overview generator. It parses the CSV file from my bank and sorts it into categories. Really fun to make. Do you guys made some nice projects in python?4
-
Just found I can bypass CORS / Same-Origin-Policy with anyorigin or crossorigin in Javascript.
Now I can easily scrap motivational quotes, Hell Yeah.
* btw I am building random quotes generator but want to generate quotes with web-scraping *8 -
I fucking swear the power goes out in my small ass town once a week. Every fucking time it knocks my servers offline. I’m about to sue the fucking power company. This is fucking ridiculous.
Yes they are on UPS, they were also on backup power until the fucking maintenance guys decided “on they don’t need on the generator...” you fucking cunt!2 -
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.8 -
It's Friday and you're tired. You're working beyond 8 hrs already. Sure it's paid OT but you want to go home. Just finishing the last 10 API endpoints. But you execute the wrong script the overwrite the directory of the last 10 API endpoints instead of the swagger doc generator script. GRRRrrr.... NO!!!!! T_T2
-
!rant
Just realised my game development and design teacher is the senior game designer of sacred 2. Well next lesson gonna be a constant flame of this shitty random drop generator which literally mostly drops you stuff for all the other classes. -
So I think my dumbest project so far was when I created a pseudo-random number generator which instead of using some proper source of randomness used freaking Minecraft Villagers.
I wrote a blog post on it, so feel free to take a look there to see how I did it and perhaps learn something about randomness.
Blog post: https://adampisula.pizza/posts/...4 -
Oh no AI can destroy hummanity in the future! It is like skynet and such... Bad! It will be the end! FEAR THE AI!
Yeah so i cant sleep now so im writting a rant about that.
What a load of bullshit.
AI is just a bunch of if elses, and im not joking, they might not be binary and some architectures of ML are more complex but in general they are a lot of little neurons that decide that to output depending on the input. Even humans work that way. It is complicated to analyse it yes. But it is not going to end humanity. Why? Because by itself it is useless. Just like human without arms and legs.
But but but... internet.... nukes... robots! Yeah... So maybe DONT FUCKING GIVE IT BLOODY WEAPONS?! Would you wire a fucking random number generator to a bomb? If you cant predict actions of a black box dont give it fucking influence over anything! This is why goverment isnt giving away nukes to everybody!
Also if you think that your skynet will take control of the internet remember how flawless our infrastructure is and how that infrastructure is so fast that it will be able to accomodate terabytes per second or more throughput needed by the AI to operate. If you connect it to the internet using USB 2.0 it wont be able to do anything bloody dangerous because it cant overcome laws of physics... If the connection isnt the issue just imagine the AI struggle to hack every possible server without knowing about those 1 000 000 errors and "features" that those servers were equiped with by their master programmers... We cant make them work propely yet alone modify them to do something sinister!
AI is a tool just like a nuclear power. You can use it safely but if you are a idiot then... No matter what is the technology you are going to fuck shit up.
Making a reactor that can go prompt critical? Giving AI weapons or controls over something important? Making nukes without proper antitamper measures? Building a chemical plant without the means to contain potential chemical leak? Just doing something stupid? Yeah that is the cause of the damage, not the technology itself.
And that is true for everything in life not only AI.5 -
I made a thing.
I then turned it into a CodeSandbox template so other people could make the thing.
I then turned it into an npm package.
The thing is a cat clock generator.
https://codesandbox.io/embed/...
https://npmjs.com/package/...3 -
I'm looking for a kind of "lorem ipsum" but not for text, for code. Some kind of random code generator with configurable language to test code rendering, compare programming fonts, etc. Any suggestions?8
-
Wondering what is the best true random generator ? Weather in Paris. One month ago, snow chaos. Last week it's almost 30 (celsius) and now it's raining and the windchill is around -100 celsius.2
-
Just gonna leave this here because I am too lazy to write a proper article for my website:
If anyone is trying to create a Vue.js website with Node.js backend do NOT use express-vue, it is unnecessarily complicated and broken. Instead use this method I found.
You will need:
- IntelliJ IDEA / WebStorm / other IDE supporting multiple modules per project and tasks
- Nodejs and npm
- vue-cli
Step by step:
1. Create new empty project
2. Add your frontend module using vue-cli generator
3. Add your backend module using Express generator
4. Run npm build in your frontend module once
5. Move or remove public folder in your backend module
6. Create a symlink from your backend module root called public pointing to dist folder in your frontend module root
7. Make sure to add "Run npm build" from frontend module to your "bin/www" task (default task for Express module)
8. Enjoy developing your REST API in Node/Express and your frontend in Vue.js with single-file components and it being served by the same server that is providing the backend.
(Since they are separate modules and you are not mixing webpack and Node/Express you can add ts-loader, stylus-loader, pug-loader or any other loaders without screwing anything up)
For deployment you just need to copy the contents of dist into public on the server. (and not upload the symlink)6 -
Dear Devranters, since recruiters love personal websites (and I'm looking for work), I spent the last two days making my own personal site using all the tools I know, including some 3d modeling of the stack I know
DO YOU HAVE YOUR OWN SITES? can you share so I can compare? thanks.
site is here https://bransongitomeh.github.io and I'm attaching the 3D render of my stack done in blender and rendered using cycles
the site itself is done in HTML and CSS is using some paid bootstrap template and I put it all together using https://github.com/BransonGitomeh/... so its minified and stripped down (could do more) and it's cute I think.
I'm not sure if recruiters care if I should use react and vue and angular, lol. I figured I should use the right tool for the Job.
what do you think?39 -
Ugh power's out.
Luckily it's pretty warm out so we're not suffering. I'd normally have a fire going but my fireplace is out of order.
I hauled in my portable generator in the hopes that if I was well prepared the power would come back on and it would have been wasted effort but I may end up running it later to cool down the refrigerator and maybe charge a few batteries.
Hopefully I have power by morning or I'll have a hard time getting our services deployed...4 -
This weekend I was working on a fun hobby project with a friend of mine. While he was modeling items for the game I started with a dungeon generator.
This morning I got stuck at a bug which took me more than 12 hours and 4 developers to fix. In the end I found the issue. I was checking
If y > arraySize && somethingElse
DoSomething();
It had to be:
If y < arraySize && somethingElse
DoSomething();
After I changed that everything worked without issues... Day well spent... -
Meanwhile I was sitting in my Python class.
Suddenly she starts teaching about CGI Scripts and how widely they are used in these days' web interfaces.
:3
Being a web dev myself, this felt so sad.
Considering the advent of so many web frameworks that make it so much easier for the developer to ship a website, who'd use CGI scripts until it's a total nessecary.
Now , what's much worse is she wants us to write a CGI Script for making a resume generator?
I don't know what to do with her..! -
tl;dr; A co-worker and I had an disagreement on our package structure. They went straight to our team lead instead of trying to solve this in our team and by that letting me do my job.
Do I overreact by assuming that this was malicious?
A co-worker asked me to do their code review today. There was nothing really wrong there, mainly something a bad generator created.
However at one point we had a disagreement about the naming structure of the packages. We both agreed to disagree, so I thought we could bring that up in the next daily, as it's something the team should agree on.
Shortly after that, they told me on Slack, that they relayed the matter to our team lead to get their opinion. Wtf.
My role in the team is that of a technical lead. Even though I like to discuss such topics in the team and not straight up dictate decisions.
By going directly to our team leader, they basically circumvented the whole team. This really rubs me wrong the way.
Maybe I'm just overreacting?5 -
I'm writing a devrant like site, so a kind of forum that supports live chat under every article. Login will be just username and password to stay anonymous. Email is optional for password reset. Also it won't have password requirements. Who cares if user uses insecure password. I do like the devrant avatar thing. I will use the ducky generator instead. So everyone on the site is a custom duck. K-SASS prolly never expected his generator to be used anywhere. The requirement of this site is that it scales very well. I have db calls of 0.006s, this is for persistent data only and will be used by all site instances. I expect that it can handle many clients concurrent as long I do not return more than 30 rows or so. Events get handled by a self written pubsub server.
All sounds great and development goes fine. But why is this a rant? Because the same thing as always is biting me, I can't design a site at all. I know how but I don't have any feeling for design at all making me almost incapable of building an attractive site. The only thing I can 'design' is an application in bootstrap or smth. I spend so much time one design while I don't like to do it ironically. But looks of site is almost as important as an good working site. Good working site doesn't get used if looks bad in many casee. This is since the start of my career an issue and it sucks that I appearantly can't deliver a whole site on my own meeting my standards.
My backend work is top notch tho. Btw, this application is not to be an alternative for devrant. I do not think I can attract more users than it already has and I've seen two communities disappearing once because someone decided to make a new one, took half of community with him and both communities died after short while.
End product of this project is a working project, not a live site hosted somewhere. It's pure about mixing mostly self written tech to get the best performance. Reinventing wheel on many levels. I wanted maybe to do the site in C but decided that it's way to much work for the value. I change the site so rapid since I don't have decent plan that python aiohttp is the best choice in amount of writing it yourself and fast. It's very lightweight.
More a story than a rant, sorry29 -
HOLY SHIT. short story, just dodged a bullet. Using the Samuel L Ipsum generator and not thinking. I then use this copy to test the notification system with the following text. luckily the system email only went to me!
"Look, just because I don't be givin' no man a foot massage don't make it right for Marsellus to throw Antwone into a glass motherfuckin' house, fuckin' up the way the nigger talks. Motherfucker do that shit to me, he better paralyze my ass, 'cause I'll kill the motherfucker, know what I'm sayin'?
Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing."1 -
I asked on StackOverflow how to use Angular2 and NodeJS together, that's the foundations of MEAN stack. The answer was "use a generator". SERIOUSLY? It's the stack most famous ever and nobody knows how to serve a fucking static folder without using a generator? What if I've already my own generator? What if I want just to add API to my current project? What if I just want to know what fucking is happening under the hood? What the fuck? Seriously? A generator? Oh my God! A generator!2
-
most productive workflow I ever seen.
excel 1 : stock
excel 2 : order
compare stock with order manually 1000+ product.
excel 3 : check history of order generator (shop)
excel 4 : today's price of product + tax
excel 5 : alot specific unit's of product
excel 6 : maintained bill credit/debit
next step : forword to managers for approval
excel 7 : edit's from nanager
process repeat till managers approval
excel 8 : dispatched history
excel 9 : return product (reason's/unit)
excel 10 : stock update return + new product's
and few more excel's
data of 5+ year's
daily 500+ order's
lPO listed company
i have not mentioned account and other stuff
(╯°□°)╯︵ ┻━┻2 -
In the 90s most people had touched grass, but few touched a computer.
In the 2090s most people will have touched a computer, but not grass.
But at least we'll have fully sentient dildos armed with laser guns to mildly stimulate our mandatory attached cyber-clits, or alternatively annihilate thought criminals.
In other news my prime generator has exhaustively been checked against, all primes from 5 to 1 million. I used miller-rabin with k=40 to confirm the results.
The set the generator creates is the join of the quasi-lucas carmichael numbers, the carmichael numbers, and the primes. So after I generated a number I just had to treat those numbers as 'pollutants' and filter them out, which was dead simple.
Whats left after filtering, is strictly the primes.
I also tested it randomly on 50-55 bit primes, and it always returned true, but that range hasn't been fully tested so far because it takes 9-12 seconds per number at that point.
I was expecting maybe a few failures by my generator. So what I did was I wrote a function, genMillerTest(), and all it does is take some number n, returns the next prime after it (using my functions nextPrime() and isPrime()), and then tests it against miller-rabin. If miller returns false, then I add the result to a list. And then I check *those* results by hand (because miller can occasionally return false positives, though I'm not familiar enough with the math to know how often).
Well, imagine my surprise when I had zero false positives.
Which means either my code is generating the same exact set as miller (under some very large value of n), or the chance of miller (at k=40 tests) returning a false positive is vanishingly small.
My next steps should be to parallelize the checking process, and set up my other desktop to run those tests continuously.
Concurrently I should work on figuring out why my slowest primality tests (theres six of them, though I think I can eliminate two) are so slow and if I can better estimate or derive a pattern that allows faster results by better initialization of the variables used by these tests.
I already wrote some cases to output which tests most frequently succeeded (if any of them pass, then the number isn't prime), and therefore could cut short the primality test of a number. I rewrote the function to put those tests in order from most likely to least likely.
I'm also thinking that there may be some clues for faster computation in other bases, or perhaps in binary, or inspecting the patterns of values in the natural logs of non-primes versus primes. Or even looking into the *execution* time of numbers that successfully pass as prime versus ones that don't. Theres a bevy of possible approaches.
The entire process for the first 1_000_000 numbers, ran 1621.28 seconds, or just shy of a tenth of a second per test but I'm sure thats biased toward the head of the list.
If theres any other approach or ideas I may be overlooking, I wouldn't know where to begin.16 -
Started with some inspiration for making a 2d MMORPG.
These are how i make the world generator:
Decide you want to generate paths/roads.
Realize you need pathfinding function.
Realize you totally forgot how astar pathfinding works.
Search for implementation.
End up getting bored and implement other cool feature instead.
I literally made a bunch of stuff before writing a 20 or so lines long astar cause its boring. -
Why, in the name of all that is holy would you use a secure token generator, and then override it with a short, easily guessable token?! Why take the time? I hate my outsourced devs
-
For the people who can't sleep. It looks easy, but there's smth in it what makes it hard. Sooner or later you'll fail. Not even generated with my advanced sudoku generator. This one is generated by my sudoku js widget what does a bare minimal of complexity in its generated puzzles. Let me know if you're able to solve it8
-
!rant
Today I took a look at https://hexo.io/ as a static website generator for github pages.
It seems pretty decent and you can create your content in any of the 'layers' you like. (markdown, jade, scripting or plain html)1 -
The first fruits of almost five years of labor:
7.8% of semiprimes give the magnitude of their lowest prime factor via the following equation:
((p/(((((p/(10**(Mag(p)-1))).sqrt())-x) + x)*w))/10)
I've also learned, given exponents of some variables, to relate other variables to them on a curve to better sense make of the larger algebraic structure. This has mostly been stumbling in the dark but after a while it has become easier to translate these into methods that allow plugging in one known variable to derive an unknown in a series of products.
For example I have a series of variables d4a, d4u, d4z, d4omega, etc, and these are translateable now, through insights that become various methods, into other types of (non-d4) series. What these variables actually represent is less relevant, only that it is possible to translate between them.
I've been doing some initial learning about neural nets (implementation, rather than theoretics as I normally read about). I'm thinking what I might do is build a GPT style sequence generator, and train it on the 'unknowns' from semiprime products with known factors.
The whole point of the project is that a bunch of internal variables can easily be derived, (d4a, c/d4, u*v) from a product, its root, and its mantissa, that relate to *unknown* variables--unknown variables such as u, v, c, and d4, that if known directly give a constant time answer to the factors of the original product.
I think theres sufficient data at this point to train such a machine, I just don't think I'm up to it yet because I'm lacking in the calculus department.
2000+ variables that are derivable from a product, without knowing its factors, which are themselves products of unknown variables derived from the internal algebraic relations of a product--this ought to be enough of an attack surface to do something with.
I'm willing to collaborate with someone familiar with recurrent neural nets and get them up to speed through telegram/element/discord if they're willing to do the setup and training for a neural net of this sort, one that can tease out hidden relationships and map known variables to the unknown set for a given product.17 -
Folks,
What static site generator do you prefer, and why?
I want to set up a website for a small business and do not want to spend a lot of time on it but it also should be blazing fast.
My familiarity with react leads me to Gatsby, but there are probably good alternatives.
It should also be easy for the (non-tech) admin then to create posts on a news page or even new pages (probably with Markdown).
Thank you in advance!4 -
Once again, I urge you all to read any LLM threads on hackernews... its funny seeing tech bros debate things they clearly don't understand
it also wouldnt hurt for them to read perhaps just one philosophy book, since they are attempting to argue about what conciousness actually is (still an open question anyway) so ultimately, what i am trying to say is, these stupid threads end up being a bunch of hot air being blown around that doesnt really accomplish anything
i will say it is funny though how close some of these tech bros think we are to AGI with these LLMs 😂
imagine thinking a text generator is nearly general intelligence = clueless10 -
I'm going through a KhanAcademy course learning about cryptography. I learn better by doing, so I wrote a script. It shifts bytes up depending on a random int produced by a high entropy pseudo random number generator using a sha256 hash as the seed. I'm trying to find information on the flaws with this method, that lead us to create DES, and then AES.
-
So I just ditched Windows, but then realized that my music production stuff (mostly REAPER and a few free VSTs) are all Windows/Mac only.
Audio on Linux is fun (as in, pain). JACK seems to be really flexible but is a pain to set up correctly.
Any of you use Linux for music production? Any advice?
I'm using Elementary. Essentially, I need:
1. A good DAW for recording, minimal MIDI.
2. A good sampler.
3. Standard plugin suite - reverb, eq, filters, compressors, delays, etc. I'm not too choosy.
4. Basic synths (I'll be happy with a simple saw/square wave generator, but the more the merrier).
How's Ardour? Compiling it from source right now.
REAPER on Wine doesn't run well for me, so that's out. And they don't have a native Linux version yet.
(no Bitwig, please, I'm not ready to pay $300 or whatever right now)28 -
I spent about an hour writing my own password generator at work... (And probably my item password safe) because my company doesn't allow using Keepass...
But require super complex passwords... That need to be exactly 8 characters...
And they expect us to somehow think of and remember them... And change it every 6 months....
As a developer, isn't it a given that if we can't have something, we'll just build one ourselves... But one that is lower quality since it is adhoc and with by a single dev... That doesn't have time or the experience of a domain expert...
They also blocked GitHub/Sourceforge so I can't just download from my own repo... And basically need to do it on company time... For better or worse.8 -
When you install npm to install an older version of npm to install a yeoman and install a generator that generates a generator.2
-
I hate filling out status reports, so I build a generator which collected all the data from the dev and ticket systems and formatted it so all I had to do was copy the output and then provide “management friendly” notes.4
-
god damn it c++, you and your ambiguous, contextual grammar!
currently working on a c++ and c parser, went from trying to use a parser generator to now writing a parser by hand.3 -
Sometimes it's fun watching new developer who don't want ur help end up writing random number generator code who he thinks works great and u break it in seconds. So much for innovation.
-
Generator functions should be treated like sorting algorithms: Not worth your time if all you have is 4 or less async instructions.
Callback hell is actually kind of nice and warm when you're a just a few levels down. If you're really confused by your obfuscated code, you suck at node. -
I wanted to post my avatar generator on r/internetisbeautiful, but I’m banned from that subreddit. So I waited, and for two months any time I ask for a unban I get muted.
I’m devastated10 -
When I started, in the early 80's, there was no internet, and books related to programming were hard to come by, so everything had to be learned by going to the library, or reading the manual that came with the compiler. Finally, in the early 90's, I got to attend programmer training in the Air Force. My first successful program was a D&D character generator.5
-
Obligatory this happened last night, roughly 1-2 hr before my first rant. And obligatory this is rookie and human error
After some encouragement from a few folks from a programming Discord server, I decided to give git a try. And it feels good! After an hour struggling, scouring the web and reading, I finally got the hang of git 101 and made my first working repo on GitHub!
.......except for one thing. My Picross generator (doesn't generate the image, just clues) was lost while I was struggling to get rid of the SCM from my generator in VSCode (turned out it was as simple as deleting ".git" folder), I accidentally deleted the generator. 4hr of work, down the drain. At least I kept the papers on the generator's logic so rewriting isn't gonna be a pain in the ass but...ughh.....3 -
We needed to generate secret tokens for the app, me being as curious as I am, asked what encryption algorithm they were using, little did I know the the answer would be a random string generator.
Every day further from god.9 -
I just spent 4 (four) hours debugging why my perlin noise used the same gradient for every point. Turns out I forgot to assign the seed for the random generator so it defaulted to 0. (I seed it every round with the map seed and coordinates so I don't have to store anything for visited regions)
So, how's your sunday night going? -
Metalsmith is an older but still awesome NodeJS static site generator. Due to metalsmith's original founding company not having done a complete open-source ownership transfer however, active development has stalled for years.
I am super-happy to have been accepted as a member of the Github metalsmith org today in the role of maintainer. Hope I can help bring it back on track. If you're curious please npm i metalsmith and head over to the newly created Gitter chat to share your input: https://gitter.im/metalsmith/... !2 -
I'm getting pretty tired of all those fuck faces calling themselves "evangelists" and are talking constantly and euphorically about "digitalisation" and "industry 4.0", as if their "skills" (using a smartphone to share kitten videos and making pointless PowerPoint slides using stock images showing some stupid motherfucker with VR goggles making weird gestures) would help them to rise to the pinnacle of "the future" (as conceived by them), while those stupid shit heads are exactly those we'll get rid of first as soon as somebody develops a bullshit generator AI for technobabble (with an export function to PowerPoint), putting those morons out of business for good.1
-
Online logo generator, but it automatically buys an .io domain of your company name and ask you to buy it for 100 times the price.6
-
Felt like helping out a local brewery with a website due to the pandemic for free beer.
OMG feel like an idiot on how long it takes to set up static site from scratch.
Using the static site generator Hugo is easy but customizing the templates, content writing and the graphics are becoming such a fucking bitch! Especially the fucking graphics and not using photoshop but gimp. Is there something else do not want to learn anything else.
Not even to the hosting yet, I hope AWS for hosting static sites is as cheap as eveyone says. I know there is a learning curve but that is why I took this on so I would have experience with it and can out it on my resume.
New respect for free-lancers that do it all.9 -
Built my first App - the BOFH returns
So I started to learn programming about 7 weeks ago, learned some Java, immersed myself in git and then via a friend got introduced to android studio. To get some practice I decided to code my own app, and what better way than to create a quote generator for the funny and creative error messages as seen in The Bastard Operator from Hell. Now I wrote the thing, started adding a feature and before I know it, it works and I'm contacting the original author, if I may publish it to the playstore.
Io and behold: Merely 32 hours after the idea had sparked, in an act of spontaneous madness I've pubished my first app.
This was an absolutely electrifying experience and a huge feeling of success to me, to see my own creation on my homescreen.
Sorry for annoying you with this antirant, but I just had to get this out!
Btw here's the link if anyone is interested:
https://play.google.com/store/apps/...
Constructive critisism is appreciated!1 -
Damn happy to see this much traffic in my repo...
Title: Audio book generator
GitHub link:
https://github.com/globefire/...
Demonstration:
https://youtu.be/xhMvGg1dAsg
Star if you like it.. :)rant speech to text audio books? text to speech innovative github audio books github audio project ebooks github star nailedit -
Oh my dear internet,
FUCK THIS FUCKING SHIT
I AM SICK AND TIRED OF IT, WHO BUILT THIS HACKED TOGETHER ORWELLIAN SWAMP PIT?
Fuck the same fucking Envato template on every content page with 70 layers of sidebars, inline ads, popups, cookies and content shifting as if I was playing CATCH UP WITH YOUR FUCKING CONTENT.
FUCK the same fucking annual upselling 'plans' on every 7-day trial overengineered scam app that requires me to sign up for 1 fucking, falsely advertised task where my fucking password generator doesn't even recognize the input as a password field so I have to cmd+, to my FUCKING BABYLONIAN PASSWORD ARCHIVES PROMPTING ME FOR THE MASTER PASSWORD.
Thank god I can at least CREATE A BURNER CREDIT CARD THAT FREEZES ITSELF BECAUSE I CANNOT BE BOTHERED TO UNSUBSCRIBE FROM YOUR FUCKING STEAMING CRAP.
FUCK every fucking step I take being recorded by our CYBERPUNK OVERLORDS REQUIRING ME to sign up for 5 different fucking privacy protection tools' annual plan or duct tape some open source shit onto my browser just for some BASIC PRIVACY WHILE TRYING TO NAVIGATE ALL THE OTHER 5000 annuals plan naval mines like A FUCKING FRENCH SUBMARINE IN 1940 GERMAN WATERS.
FUCK my walled garden scam ecosystem not being compatible with your walled garden scam ecosystem prompting me to reactivate my old SATANIC GOOGLE DON'T BE EVIL ACCOUNT from 2012 sending me on a DANTE ALIGHIERI STYLE ODYSSEY THROUGH THE 9 LAYERS OF PASSWORD RESET QUESTIONS, UNEXPECTED ERROR, 2FA MY PHONE DIED HELL to come out on the other side as a broken man.
Thank GOD I have your useless SUPPORT PAGE to aid with my signup problems that is actually just an FAQ with a hidden EASTER EGG HUNT for your support form CRISP AI BOT THAT IS ALSO 'currently experiencing high demand due to COVID' which is peculiar since that has been 3 years ago, but fortunately for you enabled you to fire ALL YOUR SUPPORT STAFF AND REPLACE IT WITH THIS BANNER.
I might as well just SCRAPE your fucking content, it'd be faster.
And although it is quite funny, FUCK THIS PAGE TOO for having me create another of 10.000 accounts to write this shit, where my browser firmly placed a newly created burner email into the PASSWORD FIELD.
I do not know how we managed to create something that is even more unwieldy than 56k DIAL-UPS, but I know that if this shit continues I'll have to train my own AGI to proudly interact with of all this STUPID SHIT on my behalf or I'll have to move into THE FUCKING MOUNTAINS AND LIVE WITH THE DEER.1 -
!rant Scary Stuff...
Not sure what are the rules on sharing external content, but this story freaked me out and I wanted to share with you.
Pretty scary stuff, maybe something like this is already in the wild? Especially with the NSA and other power groups trying to exploit vulnerabilities and infiltrate everything...
Found it originally on the rational subreddit. Here is the link:
https://teamten.com/lawrence/...
Spoiler alert:
It's about the The Ken Thompson Hack:
"Ken describes how he injected a virus into a compiler. Not only did his compiler know it was compiling the login function and inject a backdoor, but it also knew when it was compiling itself and injected the backdoor generator into the compiler it was creating. The source code for the compiler thereafter contains no evidence of either virus."
How to detect/deal with something like this? better no to think too much about this. -
They told me Xamarin Forms could create an app for many platforms
They didn't tell me that the Forms extensions for APIs would not work at all with the Android extensions, iOS extensions and I would need to reinstall them for each platform
They didn't tell me that at the end, I have to write individual code for each platform.
I was promised an all-in-one toolkit. I'm just writing code for Android and iOS apps, PLUS forms
I can't even find a reliable PDF generator for this. Documentations are outdated and don't work, either that, for it takes a million steps to generate a PDF file2 -
Currently working on a GUI config generator using MFC in VS.
Firstly, fuck sake Microsoft. Why can't I just use a normal string? The amount of times I've had to do god awful conversions to/from CString using their numerous typedefs L, _T and don't even get me started on LPCTSTR, LPCWSTR... It's just ugly and tedious. I've gotten used to it and all but still, ugh.
Secondly, some of the functions are just stupid. Want to disable a control? Hmm, we'll there's a function called EnableWindow, but no DisableWindow. How did I do it before? Oh, so to disable the control it's EnableWindow(FALSE). Of course it is, duh. Why am I so stupid?
Let's use the GetWindowText function. Simples. CString something_txt = GetWindowText().
Nope, it takes the CString as a parameter and copies it into that rather than just returning the text. Now one line becomes two. I get that this is a really small semantic thing but it irks me.
I just want to go back to my fedora partition. Wah.
PS: I'm sure there's good reasons for what I'm ranting about, but I really don't care. I just need to rant about my frustrations. 😂1 -
Up all damn night making the script work.
Wrote a non-sieve prime generator.
Thing kept outputting one or two numbers that weren't prime, related to something called carmichael numbers.
Any case got it to work, god damn was it a slog though.
Generates next and previous primes pretty reliably regardless of the size of the number
(haven't gone over 31 bit because I haven't had a chance to implement decimal for this).
Don't know if the sieve is the only reliable way to do it. This seems to do it without a hitch, and doesn't seem to use a lot of memory. Don't have to constantly return to a lookup table of small factors or their multiple either.
Technically it generates the primes out of the integers, and not the other way around.
Things 0.01-0.02th of a second per prime up to around the 100 million mark, and then it gets into the 0.15-1second range per generation.
At around primes of a couple billion, its averaging about 1 second per bit to calculate 1. whether the number is prime or not, 2. what the next or last immediate prime is. Although I'm sure theres some optimization or improvement here.
Seems reliable but obviously I don't have the resources to check it beyond the first 20k primes I confirmed.
From what I can see it didn't drop any primes, and it didn't include any errant non-primes.
Codes here:
https://pastebin.com/raw/57j3mHsN
Your gotos should be nextPrime(), lastPrime(), isPrime, genPrimes(up to but not including some N), and genNPrimes(), which generates x amount of primes for you.
Speed limit definitely seems to top out at 1 second per bit for a prime once the code is in the billions, but I don't know if thats the ceiling, again, because decimal needs implemented.
I think the core method, in calcY (terrible name, I know) could probably be optimized in some clever way if its given an adjacent prime, and what parameters were used. Theres probably some pattern I'm not seeing, but eh.
I'm also wondering if I can't use those fancy aberrations, 'carmichael numbers' or whatever the hell they are, to calculate some sort of offset, and by doing so, figure out a given primes index.
And all my brain says is "sleep"
But family wants me to hang out, and I have to go talk a manager at home depot into an interview, because wanting to program for a living, and actually getting someone to give you the time of day are two different things.1 -
I've complained about this friend who I help out with a side project before and I don't know how to deal with this anymore.
He decided he wants to send out a free weekly newsletter with content that takes a lot of time to create.
He got burned out from all of the work. I tell him to only do it bi-weekly. Still doesn't listen.
He doesn't work, whereas I have a full-time job, his mom feeds him and does everything for him.
Someone on the newsletter said they didn't receive a newsletter they signed up for and now he's dumping that on me. I refuse to deal with it. I have paid a lot of my own money for the website he uses to post stuff. He knows more about the newsletter software than I do. The least he can do is deal with the people on Discord and the email newsletter issues, because I honestly don't have time. He has a solar generator at his house, so he can work through the power outages we have on a daily basis, I do not.
He keeps wanting to give out free shit to people, whereas I told him this side project needs to start making money to make it worthwhile for me. He's always making excuses that he doesn't have money, blah blah blah. We designed a cool magazine and it's pretty much finished, but now he's stalling with things he needs to do to get it published on Drivethrurpg.
He just hassled me again to check this gmail I made for him to use for the newsletter and this YouTube he wants to start. I told him, no I haven't had time.
The other day I went to his house to hang out, he gave me a taste of his home made ginger beer and I said it's great, but then he went and drank a pint of it without even offering me some, right in my face. His mom came out and asked me an hour later if I wanted tea. These people are weird. Maybe I am weird.
He also doesn't use the project management software I showed him how to use, so I don't know what's going on. And I told him this a couple of times.
Think I should tell this dude that I don't have time to work on this stuff? And how do I do it politely, yet sternly?5 -
I taught myself C. I had a Commodor-64, and I bought a C compiler for it. My first project was a random character generator for the original D&D RPG. That was in 1985.
-
So a rant ago I was actually ranting because I couldn't think of how to do anything and such. Fair reminder I'm still kinda new so I decided to program small stuff to build me up so I can learn. AND I JUST MADE A PASSWORD GENERATOR ON MY FIRST TRY!!5
-
I added a "pointless button" into the "about" popup of a Password generator I wrote some time ago.
It did what you expect it to do. -
To all developers working on publicly visible APIs or writing public documentation.
DON’T BE A DICK !
Do not just put a screen capture of your curl request which takes 10 minutes to write by hand.
Do not show me list of arguments as an image.
Have AT LEAST one executable demo project (Any language)
And, it’s 2020, add a fucking proxy generator.
How hard can it be?10 -
Doing a physical scan of PC's in my network for anything that shouldn't be there. Find a Filezilla open for a "Roblox Generator"
Spent rest of day making a bot in Python to spam the registration with fake accounts.
Not on my network you don't!
Anybody else got stories like this? -
It's 1:22 am, and what am I doing? Rewriting my Smite Team Generator as a standalone Java library. I have plans on completely revamping how the Android front-end for it works as well. I really wish I didn't have the desire to do this right now so I could go to sleep.2
-
!rant
Today I learned you can basically just copy and paste python code into a PHP script, add some brackets and change some functions and it will just work.
I guess this saves me having to rewrite this very dodgy pseudo-random number generator I have to make!1 -
So I encountered Python's PIL module, and started exploring it. Soon enough I built an ASCII art generator that takes an image as a parameter and returns a text output resembling the input image. :)
The github repo is here - https://github.com/rameshaditya/...
Do check it out and gimme feedback, and leave a star if you like it - it means a lot! :)3 -
Worst documentation I've seen?
Any+All documentation auto-generator using the (XML) code comments (GhostDoc, etc).
Worthless, utterly and completely worthless. Worse than having no documentation. -
Is there a gui for json generator? eg a form in which i can enter first Name, LastName, Sex etc... then it generates the correct json.21
-
FUCK. YOU. AYLIEN.
- For your shitty hashtag generator, that generated #FCBarcelona for a game review
- For your shitty classification endpoint
- For your shitty sentiment analysis that only works in the demo
- For your shitty image tagging that clarifai is way better at
- And for your "semantic labeling" that doesn't work
FUCK YOUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU2 -
How was I able to fix this bullshit report generator task?
Simple bitch. I am that fucking good. Matter of fact. I am more than good. Sit the fuck down and listen.
That fucktard you have over there acting as a faculty member teaching kids about code and security? Blame that bitch for the horrible code that was NOT working since he wrote that with absolute disdain for software engineering and without taste or finesse.
Yeah I was able to troubleshoot his monster of an app. His ass is the reason why people hate php, giving the lang and community a bad name and shit.
Pleased to meet you btw.
I am Alex. Your new rockstar.
To my manager: i got it babe don't worry. I'll be your huckleberry.
I am out.1 -
When your project manager promised to give you a script generator for the big database migration and came back with an Excel sheet where you have to copy-paste every table name and fields to get the table specific part of the script.
Damn copy-pasting programmation ... -
Sometimes I am wondering... are there other almost-18-year-olds who want to write a parser generator? 🤔
What are other teens working with?8 -
Day 9 of devWholesome...
Dedicate some time to learning something new or pick up a new hobby! Software development may be fun, but sometimes it can be frustrating and time consuming. Take some time off to do something else as well. Maybe learn an instrument or learn how to draw. I have decided to pick up drawing and am practicing to have nice looking art (might even post in a later devWholesome post). Learning something new can broaden your interests and opportunities. And as always, make the most out of your day!random wholesome positive happy hobby learn devwholesome i slightly broke the embed generator good day4 -
So I’m writing this random number generator app just because so many apps charge you for this simple thing and posted my progress somewhere else. And this guy just commented: you can do it in python in 2 lines
Bitch, I know… the whole point is to not open python whenever needed and save my settings so I can use them later
God damn10 -
So, there's this website, it's an AI meme generator, and it's so much better https://imgflip.com/ai-meme/...1
-
Kinda often, the ecosystem around C/C++ kinda sucks
Compilers will give you hieroglyphs instead of readable errors.
Including a separate library, or a code generator, into your project is generally hell on earth to set up.
The language server often needs several seconds to come up with suggestions, some of which are complete nonsense.
The language itself lacks many basic features. C++20 will give us so many fancy things but we still can't convert an enum to a string.
I've programmed in C# and lately in Rust, and damn the developer experience there is just so much nicer overall.31 -
I'm learning Rust as a case study for my own programming language. It's funny how many approaches exist to the humble loop.
- In classic procedural languages, a loop's job is to repeat actions, and as such it provides a multitude of tools to control this repetition.
- In all languages with iterators, a for-in loop is a construct that does something with every element of a collection. In languages with both iterators and generator functions, this can even be used to define a sequence in terms of another.
- In Rust, a loop is an expression that obtains its value through repeated execution. It can also be used like a classic loop, of course, but this is the interesting part.
- My little language is a functional language, so "loop" is the Y combinator. To loop means to define the value of an expression in terms of itself. It's the only looping construct, gets special treatment from the type checker and it's also used in recursive type definitions. -
Just finished up my weekend side project. Checkout https://github.com/ndelvalle/... and let me know what you think.
-
Good people of devRant, hear me! Today is a proud day, a day of happiness, peace, and prosperity!
Theatrical opening lines aside, I need your help. I have finally completed the setup for one of my long ongoing projects and need some input from experienced developers of any kind. I've recently started a blog focused around building a community for people who want to learn more about all engineering disciplines or want to see if they would like being an engineer. The majority of the content will be posts about various topics that relate to either specific disciplines or engineering as a whole, and cool projects you can do to work out what is fun to you.
HackTheWorld.io is the URL and I'd welcome any feedback you can give, from design to development. I used the hexo framework, which is a static html blog generator that I then upload to a web host via FTP. Let me know what you think and if you have any ideas form posts on the site, feel free to leave those as well. I've got a few I'm writing now that will hopefully help some people out there.1 -
I start by diving straight into the code. A blank brand new file in whatever language I have chosen to create my project in. If it's a language I'm unfamiliar with, I'll start with some templates of getting started (for example, I wanted to make a node.js application with a connected website, so I found some code using express to link the two together).
Once I've started, I'll eventually create a text file for ideas which I may or may not plan to implement later. If a particular feature is rather complex, I'll draw it out on my whiteboard, giving me a visual guide to help me.
My main aim is to simply get a "foot in the door"; once that's achieved, it makes working on the project much more enjoyable. I tend to turn it into a bit of "play" by coming up with suggestions which I would probably not implement in my final design, but add just for the fun of it. If I chose to drop those ideas, I'll save the code - chances are, I would have learnt something new in the process (For example, I learnt how to perform GET requests and figured out what cURL was for the first time by simply adding a "dad joke generator" to a discord bot, just for a laugh) -
Finally got around to turning the news-section generator markdown / deno thingy into a GitHub Action!
https://github.com/MarkedDown/News
Haven't finished writing the documentation though.2 -
I've been replaced twice by wix and squarespace. This is pretty soul-crushing. Both were free lance jobs. Where the user got impatient and insisted that I make constant changes on the fly. I'm relatively new and still in school.
Has anyone else been replaced by a website generator? How do you rebound/recover?8 -
Hi all, here's a project I've been working on this weekend.
https://nummberr.com
It's a super simple random number generator PWA. Let me know what you think!4 -
The biggest lie I regularly encounter is Window's "About x minutes remaining".
I'm sure it's just linked to a random number generator.1 -
What do people think of automated code generator frameworks such as Yeoman and Plop? Any experiences to share using those or similar frameworks?
I like the idea of automation, it means code will be consistent (especially across teams), and it means less boilerplate writing that potentially breaks thought processes.
But then does it just waste time? It's something extra to develop, test and debug. Further most of dev time is reading, thinking and modifying.2 -
* Publish blog update that's been sitting idle locally since months
* Donate 50$ to open-source initiatives (favs are VLC, Linux Mint)
* Contribute meaningfully to relaunch metalsmith static site generator dev
* side projects (TBD) -
So here I am, slowly recovering from neuroleptic therapy. After a long break of being unable to think at all I started to work on my side project – a website generator. I even found a designer. So this will be my first paid product ever
-
Currently on a project to use AI as music recommending model, an interactive AI model generator and researching on Distributed Systems altogether in three different teams for each thing...
Seems I'm the dirty fish of their team.. 😖
Fucking wasting the time all along the day...
Like Why the Fuck am I degrading my own potential, quality and what not...
Oh god Fucking pick me to the hell NOWWW -
Play Picross.
...Pretty much that's how I come up with the "bright" idea of making a generator for it. It works but it generates valid hard-to-solve maps (I like randomized Picross but my script's is...hurrgghh....)2 -
Ah
I don't like code generators
Especially if they define one set architecture/design
Because surely the people who made the templates/the generator have thought of every single valid use case9 -
Saw a free AI video generator that looked like it had really good results. I guess they cherry picked what they show on the cover...
https://storage.cdn-luma.com/lit_li...17 -
The first whole, finished and completed thing I’ve done? A theme for Nokia s40! I had a Nokia 2700 Classic back then. I was 13, I think. On my computer, I used Windows XP, but even then I desperately wanted a Mac. It was a success stereotype. I looked at all those people with MacBooks in cafés, and I didn’t believe I would ever be able to afford one.
This is why I used flyakiteOSX. Some of you might even remember that — it was a tool that kinda made XP look like OSX.
So, it had icons from macOS. I put them into a s40 theme generator. As a background, I used a generic yellowish papyrus backdrop.
This was THE first moment I made something I LIKED. I used that theme right till I got my first Android. This project is included in my list (https://uyouthe.notion.site/dc3958c...), but, sadly, it’s lost media at this point. -
I made a Django webapp calles HoxNox. HoxNox is a simple 3 step portfolio generator. Please give it a try and then feedback.
Source code can be found at:
https://github.com/Anupam-dagar/...
Link for website is:
https://hoxnox.herokuapp.com6 -
Which static site generator are you using?
Jekyll vs Hugo vs Gatsby vs Hexo ...
I want to build my personal blog using it, I've also used ghost.
Which one is better in terms of performance?6 -
This will never clash:
static createGuid() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
}
return s4() + s4() + s4() + s4(); // Example => 'e014026082e6237b'
} -
I'm doing a project for uni in Omnet (C++ framework that should facilitate working with networks of queues, simulating and displaying statistics).
I needed to retrieve a random value from an exponential distribution, and the function to do so requires a random number generator as input. The framework has 2 implementations of the RNG and I picked the first one.
I spent 3 hours trying every possible thing, using both the exponential() function and its class wrapper (both provided by the framework), it was always returning 0 or NaN.
The RNG was spitting out values correctly, so I thought it was okay.
When I was almost ready to give up, I figured I could try and change to the second implementation of RNG, expecting nothing to change. And it fucking worked.
Zero reports on this behavior on Google, no apparent reason why it would work with one and not with the other when the two RNGs literally implement the same abstract class and spit out the same exact numbers... Just black magic...
Oh and cherry on top, it works with the raw function but not with the class wrapper on that same function... IF YOU GOTTA IMPLEMENT SOMETHING IN YOUR DAMN FRAMEWORK THAT DOESN'T WORK, FUCKING DON'T! 1 combination working out of 4 is not good! Or at least document it!
Sorry just had to share my pain -
i'm currently working on a FOSS project with 2 friends and try to do some kind of VHDL (virtual hardware description language) code generator in javascript
the more i think about the structure i need to build, the possible combinations, the automation of describing all components, yada yada yada, the more i get this feeling it's becoming an NP problem ... or at least a very big algorithm😅😐
let alone the problem of saving the whole goddamn code in files downloadable by the client via javascript🙄
heard of nodejs that supports file handling, might try that🤔4 -
I would have needed to smoke enough crack to think that learning a new language was a good idea and then even more to start. As soon as I hit having to learn things I move straight onto black tar heroin.2
-
I made my first app after 3 years of learning Android studio in my free times and experimenting on codes.
I will be glad if you guys check my app and send me your suggestions and ideas to help me improve my skills .
Google play:
bit.ly/cful-play
Amazon app store:
bit.ly/cful-amzn
It's a random color scheme generator named Colorful.
Thanks for your attention.7 -
There should be an random username generator for users who don't take username picking seriously enough.2
-
Guys im about 800km away from my desk, all i have is my smartphone with sololearn, maybe let's gather some ideas for projects which you can create on your smartphone on toilet ?
Ill start:
1. Fake data generator3 -
Developed this project "Audio Book Generator"
Implementing speech synthesis(📖 to 🗣) on eBooks
Bored with writing notes in a lecture? How about we convert the notes dictated by the lecturer into text? Use the speechtotext.py script to get the text format of spoken notes, which saves the text in a .txt file.
Too lazy to read a novel? Get an Ebook version of the novel and run the finalAudioBookGenerator.py script. It will generate an mp3(audio) format of the book. Enjoy book listening :)
You can also convert your single images using the singleImageReader.py script.
Demonstration:
https://youtu.be/xhMvGg1dAsg
Project:
https://github.com/globefire/...
Star If you liked it. :)rant project python github audio books speech synthesis youtube text to speech speech to text tesseract3 -
If you don't count meals/toilet breaks/shower then my record would be 15 hours straight (08:00-ish to midnight 24hr clock) for a crap-tier black-white Nonogram/Picross generator that outputs near unsolvable grids because I know sh[BLEEP] on the games' generation algorithm. Yey /s. Petition to open /r/shittyprograms in parallel to /r/shittyrobots to celebrate how shitty my piece of a generator is.
-
We have an unit test that tests the average of a sequence of numbers generated randomly using a gaussian distribution. Of course it fails from time to time, it's random! Failing to fail, would mean that the generator is not generating random numbers, therefore failure means success, but success does not mean failure.
Wait, why did we add this test in the first place?rant gaussian distribution statistics random of course it fails it's random bitches normal fail equals success unit test -
Created an IoT communication framework generator which generated communication code for any IoT device for any communication protocol or any platform or programming language. Also managed to publish in an IEEE conference
-
Anyone here use generator functions in JS? Seems like it could be useful but whenever I explore the possibility of using one, I usually end up going another route8
-
Now arguing with the ceo of startup I’m part of that we can use the ugly generator for avatar, and he said we should use the duck generator, and I said the duck has virtually no personality, but he said it fits the simplicity design flow
Man15 -
Opinions
Hello, I’m considering building a web framework.
My ideal features would be:
Customizable authentication system(considering using a jwt lib)
Embedded DB(bolt db)
ORM( writing my own)
REST api to DB (via code generator)
Code generator(generation of models and views via cli)
GUI to db(some admin dashboard)
CORS(web service right?)
Why?
Ease of development
Fast prototyping of small-medium web services.
Fun.
My question is, do i have to many things on my platter? Should i narrow it down into less featured framework? What feature should I focus on? How should i benchmark it? Should i write tests for absolutely everything or just for exported methods? What should i take into consideration when developing ORM API, Auth API...
The language is Go
Thank you for your input10 -
TLDR: Wrote a custom class for writing apibtest cases for a project with zero code test coverage.
We have a project with zero test coverage. Recently, i was tasked with writing api test cases for said project, it might have taken me months to write tests for all endpoint, plus the main issue was that each endpoint needed to tested for all available user roles and permissions.
I tried the main stream approach of writing api tests, but ended up running into a lot of issues directly linked to our projects roles/permissions architecture (cherry on top some endpoint are apikey specific). Don't get me wrong in my opinion this is by far one of the best user roles architecture out there, but writing test cases keeping it in mind is pain in ***.
After trying out different testing methods and frameworks, i decided to write my own class by extending django test framework (which uses unitest)
- It has generator and validators for request and response.
- Supports testing for user roles and permissions.
- We won't have to make any changes to code after user role or permissions changes
- I just have to copy and past request and responses from postman api collection.😂1 -
Thinking about squarespace and wix, I want to work on a new web page generator.
What's happening?😂2 -
Day... or... umm... Night 6 of devWholesome...
Happy Halloween folks! Today we celebrate spooking ourselves on purpose to feel anything but despair in the hell that is quarantine. Go watch a scary movie or have a small little halloween party with your family! Comment on this post if you celebrate halloween, what you are dressed up as, and what you are doing to celebrate. And as always make the most out of your day... I mean... night!random happy boo positive devwholesome i broke the embed generator again candy great night halloween pumpkin wholesome spoopy3 -
Fullstack things.
Needed to manage the software stack for a new project. Started from some simple boilerplate, adding few features for the next 2 days. Bumped on a compability issue I couldn't easily solve. Thrown all to /dev/null. Used a project generator without some fancy bells and whistles, but with basic features we need.
I've learned that I should have done it in the first place... -
!rant
Our office is going to have a planned power outage. An outdoor generator hire and installation doesn't seem possible because of location.
We need to keep our servers running with aircons to keep them cool. We're out of ideas unless someone here can suggest something.4 -
Im seriously thinking about creating a proper deep text generator for farewell, wedding and birthday cards.
Do you think I should waste my time on that?2 -
Okay so I'm new to C++ and my competition is either tomorrow or Thursday. And before I go into the comp I need a good random number generator but the problem is I can't get a good one . And when I run mine I either get the same number a few times in a row then when it changes it just increments a few until it hits 99 then restarts. And I only want it to generate different numbers everytime with a 1/99 chance to get the same number.2
-
Had to add a privacy policy to my app because of some google ads identifier bullshit. No one is going to read it anyway.. However, I found a beautiful privacy policy generator so I didn't have to read it myself.3
-
Day 10 of devWholesome...
Happy monday everyone! We are nearing thanksgiving this week as we prepare for the holidays. So with the theme of thanksgiving, lets think about what we are thankful for. I am thankful for all my friends and family that support me and love me. What are you thankful for? Leave your response in the comments. And as always, make the most out of your day!random slightly broke the embed generator again wholesome devwholesome thanksgiving positive happy great day thankful gobble gobble -
!rant
Is there any static site generator or builder, like webpack but which builds/compiles static HTML files? In which we can use partials and things like sass etc.
Actually I am asking for another js module/framework... Sorry :|6 -
I tried to use a vscode extension generator and filled in name as publisher, this is what I got...
Another reason to hate JS.1 -
About 20 hours. We had a major campaign for a product launch back in the days when MSN Messenger was awesome. Hitting F5 in MS sql query analyzer to execute query again would show like 20K+ downloads each time, shit was crazy. Then we discovered a major fuck up. Turned out that someone made a mistake by making a guid static. In a personalized content generator. So, most users ended up with someone else's face inside their personalized MSN Messenger wink. Oops... and no, we didn't do code reviews nor TDD back then so we didn't discover it sooner. It was really awesome to see how much traffic MS could generate by just showing a banner in hotmail. Real crazy. Anyway, we fixed it, discovery of the actual problem did take some time though.
-
You know when you just wanna make something but you don't know what... Feel like my brain's idea generator just won't compile.19
-
Greetings everyone!
Kindly have a look into the project and drop your feedback on the same.
https://github.com/shravan20/...
Project Name: github-readme-quotes
Project Description: A Github Dynamic Quote Generator to beautify your GitHub Profile README.
Features:
1. Layout Available
2. Animations Available
3. Themes Available
4. New Quote Generated on every hit.
Hit star 🌟 if you like it.
Feel free to contribute.10 -
Oh my gosh, no one really knows here what is programming. Even teachers, which claim to be professionals in the subject doesn't know shit except for the basic theory. Nothing in practice.
It was evidenced by the largest job skill competition of Finland (Taitaja) that's for my-aged students (18). And yeah it's not higher education studies, just second degree, but that's where you should get the necessary practical skills for your work life.
The category I participated was website development, which is the only software development category.
It was a public event that is focused on showcasing different jobs. Well, what do programmers do, a viewer may ask. Even the responsible teachers and juries couldn't really answer properly. They just showed the specs we were following to create the crappiest of websites the short period of development time.
So we consume coffee and produce HTML, is that accurate representation of the whole industry?
All the other winners of different categories get a lot of job offers from companies when they win. I won gold last year (bronze this year) and I didn't get a single offer. Who would be interested in human HTML generator who can only make static websites anyway?
Programming is about problem-solving, not about graphic design and writing content.
And just to give you an idea the scale of the competition: last year I made a total of ~2000€ for the victory. And it is super easy if you just know what you are doing. That being graphic design and the making of a static page with a pinch of functionality.1 -
> trying to kill Windows Update to let anything else use my HDD (as I re-enable it occasionally then forget to disable it before shutting down)
> Task Manager shows 2 instances of CMD, grep from temp, 4 instances of net and "Microsoft Windows Netcode Generator"
yeah i've gotten bit by something9 -
Thinking of coding an interview question generator. Could be a good way to study AI by training it to make asinine sentences.
If Jimmy has 2 arms and 2 legs, what is the maiden name of his mom?2 -
Can someone send me a template that i can generate as a CV for software developer jobs or a generator THAT IS ACTUALLY FUCKING FREE???5
-
Wanted a change from work and decided to make a small news ( styled markdown ) generator after talking to a Pulsar-Edit maintainer.
https://github.com/pulsar-edit/...1 -
Say goodbye to accounting software. Say goodbye to updates and monthly fees. Paystubsnow is your online stop for all your accounting form needs.
-
Shall I monetize my simple avatar generator? My girlfriend wants me to do it, I’m not sure if I want to put more effort to it14
-
So as part of my news years resolution, I thought id build an app and I thought I would build it in vue.js and native script with a shared codebase, I've started with a fresh project and already I have an error, one that I've not caused, this is in router.js. see if you can spot it.
module.exports = (api, options) => {
require('@vue/cli-plugin-router/generator')(api, {
historyMode: options.routerHistoryMode
};
export default new Router(options);
}
When I've fixed the syntax error, I then get, the error:
/src/router.js: 'import' and 'export' may only appear at the top level (5:0)
This is when I run "npm run serve:ios"
if anyone has encountered this, please let me know how you fixed this.2 -
I was looking for a RRule Generator Component in ReactJS because I (a back-end dev) am lazy af to build front-end component. It drains my energy and I stumbled upon "react-rrule-generator". And holy moly. It is no longer maintained, but it has a very beautiful code. Then I thought, I should search more open source projects where code is clean so I can learn more.
So, do any of you know any open source project, library code or whatever that you think has a very clean code?3 -
All new frameworks / patterns / code concepts seem great !! Until you take a minute to imagine your current application using them and the time needed to implement.
That's it. That's the rant. /me wants to buy code migrator / generator from "A" to "B"1 -
What's everyone's preferred music player and/or playlist generator? I use Google Play Music now, and am fairly pleased. Any other recommendations?4
-
React, redux and electron. Why can't you be simple 😂.
Might consider writing a yeoman generator when I find something that works!1 -
Just finished what I consider a "good enough" version of a .gitignore generator in Rust (yeah yeah another one I know).
What a great feeling, even though struggled a lot and I'm completely frustrated that I implemented some things wrong. I have a working version (let's say alpha version) that actually works.
Unfortunately I discovered that there are better ways to implement my "match" expressions (when I was already done...typical shit) and String vs str is still a difficult concept to implement, BUT it is a great experience to finally have something open source that I can say that I made!
I honestly think everyone should have such a side project! I Should've done this earlier! 😑
If you're interested check it out on https://github.com/Ryhazerus/gg.git -
I've just changed our style sheet generator to using gulp.
Took me 10 minutes to learn what to do (just css preprocessing with prefixes).
Grunt was horrid. We had it because the last guy thought "something new, I'll use this now", and it's never changed because no one understands it. Even after a few hours research. -
!rant
Quickly! I've got a report due in about 2 hours, I've got the data and already some charts generated with tools.
Now, I need a nice timeline generator for calculated data. Something where I can plug in times and durations — and get back a fancy looking timeline. Similar to what Chrome dev tools does for network inspection.6 -
Some senior just pushed some half assed typescript code generator that generates stupid types that make everyone's life difficult.
Who need transparent type inference? Just use type guard everywhere.
Can't reason with the particular individual.
Please release me from my misery.
In house built == shitty version of original open source library. -
Reminiscing about my old name generator...
-Shart’Cannon, Village of Linlar’marlu-
... still my favourite -
I don't know if this counts but wrote a generator that replaced a shitty linq to sql dal to use our system so I didn't have to mess with a web app I'd written. In place replacement with a few methods that made the other transaction lock field updates and calls etc
Most risky I can think of
Everything else was data migrations but there were always backups1 -
Fucking Yeoman, guys.
For a school project I thought I'd try it out to scaffold out my folder structure etc. Ran a php generator (not having commits since 2013) through npm and sipped my coffee while one node deprecation warning after the other filled my terminal.
Now I just feel like I'm sitting with my dick in my hand while staring at what looks like the fucking source code of the Matrix itself.
Does anyone use Yeoman for PHP projects anymore?
Well, at least Grunt works flawlessly 😎 -
There should be a blacklist for websites that don’t allow 2FA or do it through SMS. There’s no excuse for sites such as PayPal not allowing TOTP, only some prehistoric hardware based token generator.1
-
Russians Engineer a Brilliant Slot Machine Cheat
...But as the “pseudo” in the name suggests, the numbers aren’t truly random. Because human beings create them using coded instructions, PRNGs can’t help but be a bit deterministic. (A true random number generator must be rooted in a phenomenon that is not manmade, such as radioactive decay.) PRNGs take an initial number, known as a seed, and then mash it together with various hidden and shifting inputs—the time from a machine’s internal clock, for example—in order to produce a result that appears impossible to forecast. But if hackers can identify the various ingredients in that mathematical stew, they can potentially predict a PRNG’s output. That process of reverse engineering becomes much easier, of course, when a hacker has physical access to a slot machine’s innards...
https://wired.com/2017/02/...1 -
For all you Dutch out there, or other people who celebrate Sinterklaas.... I know this a bit late ( mustard after the meal, right?), but I only found out about this place today.
Anyway, maybe you can use it next year, and who knows there are other uses for it.
It is: a way to assign a number of favors among a number of participants, making sure no participant has to do the same favor to the same other person twice.
I'm sorry, I can't find a way to make this sound any less sexy.
The pseudorandom generator is seeded with the year, so you can use it every year and everyone will get consistent results.
For the Dutch: een scriptje om meer dan één lootje te trekken met Sinterklaas. Sorry, daar heb ik ook geen minder sexy beschrijving voor. Je kan de namen per jaar invullen aan het begin.
And then I almost forgot to include a link: https://jsbin.com/waragireyo/edit/...1 -
Hypothetically, if I knew all the elements of a functioning programming language runtime, language syntax and semantics… do I need anything other than a parser generator to make my own?32
-
Lately been doing a lot of GitHub action stuff so created a Yeoman generator to scaffold javascript-based Github actions.
You can check the project here if you want 🦄
https://github.com/RocktimSaikia/... -
Hi, in my latest project I'm stuck on the CSS part.
I've already an Grunt + Sass Asset Generator for bootstrap.
The project has several (> 70) subpages aka modules.
The theming is client based, currently 4 clients with different colors.
At first I thought it was easy...
Splitting bootstrap to variables per client + bootstrap, so:
client1_variables.scss
client1_bootstrap.scss (including client1_variables).
client2_variables.scss
client2_bootstrap.scss
. . .
But now I'm stuck.
Reaason: The css classes are the same between the clients, eg client-bg-primary is the class.
I wanted to prevent generating for each client a folder - as every folder would contain the same content:
module/news/client1.scss
module/news/client2.scss
module/news/client3.scss
module/dashboard/client1.scss
module/dashboard/client2.scss
module/dashboard/client3.scss
...
Each SCSS file would only differ in the variable import...
Is there a way to prevent a Global Module CSS file for each client (as there are @##* fucking classes duplicated and I really don't want to untangle that mess) but not ending up with writing the same Code over and over?
The IRC sass channel is moderated, not possible to ask there... And when I google I find mostly themes based on an class approach (border-light vs border-dark)… :(2 -
Has anyone experiences with hardware entropy generators like OneRNG.info? Any useful usage scenarios? VeraCrypt doesn't yet seems to support it.1
-
!rant
Does ayone knows of a
+ Good
+ Open Source
+ Free
Data test generator tool?
I'm on my first work with a development that will go to production, and I'd like to test performance, UI and all of that with random generated data. I know about dbSchema but it's trial pulls me back -
Funny how I sat here watching a fictional depiction of a police interrogation and it made me doubt that I know they are not effective against a specific group of people who plan everything in advance even creating or recruiting their victim ahead of time in a group activity so everything adds up.
And then also this allows collaboration with dirty cops. And of course polygraphs are inadmissible.
Thank God at least once they commit their crimes the story imprisons them. In the story.
But being a purist I was thinking how just knowing they lie is not really enough. Determining who coached them who they were in contact with how they were hooked up with them etc and what the organizational graph looks like is needed.
And even a socially retarded, nasty little empty hearted, soulless piece of garbage can stonewall away the tragedy that claims an innocent life against the background of a system that is supporting them and causes them to feel camaraderie with other more sophisticated monsters.
So then I think. A pair of skinning knives and an ekectric hand crank generator and a cauter might work better than sodium penithol was fabled to do.
So.
When a real person dedicated to justice and dedicated to the war against monsters is confronted with the truth of said monsters
And they laugh
And smirk
Or hide behind shallow masks of innocence my question is thus.
If a man so gentle and kind as I began and mostly remain can be tempted towards this
What does an angry man whose seen even more than I have whose hate for monsters burns endlessly because it's constantly fueled by exposure feel ?
In the end
Remember monsters
You think hurting something small and weak and innocent or simply alone and naive and lying makes you strong ? Makes you a big bad monster?
We're everywhere, and our hatred burns white hot. And when we explode we don't hunt weak innocent things that can't fight back. We hunt things that no one could ever pity and the death of which makes the world better.
And best of all because of this bullshit some of us can pass the polygraph even the next day. -
Not a rant, but has anyone here had any experience developing a StyleGuide?
I'm looking at building one that could document JavaScript and AngularJS as well as CSS etc.
Having a hard time finding a generator/tool that would work.
If not I'll look into building one myself... 😬4 -
Is there any tool that generates an eslint config interactively? E.g. I would start off with airbnb style (but not required) and then toggle different options and see what changes and what will be highlighted. In the end I can save the config. I know eclipse provides such a wizard for java, but haven't found an equivalent one for JS/TS. Anything better than ESLint playground?1
-
For me it's going to be:
Learn cpp (for my education)
Make a game (to train cpp)
Try to find a project idea generator or build one