Details
-
AboutJust another guy dealing with superficial intelligence
-
SkillsJava, C, Js, C++,Android and a few asm's, Nop I don't wanna list the stylesheets and markup languages.
Joined devRant on 5/6/2017
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
-
Well,
I went ahead and tested t2.micro and lambda+dynamo(free tier)
You definitely get better performance and load handing with lambda+dynamo (5rcu+5wcu)
Tested the two with wrk and a simple GET which reads an item from a database of 90k items.
I could share more details with you if youre interested, but with 2000 requests, 100 connections and 4 threads. I got about 26requests/s on ec2 and about 260r/s on lambda.
Latency for ec2 was about 28s.
Latency for lambda was about 22s.
(max load)7 -
Ok so, i have no idea where i can ask this kinda thing so i'm asking it here (i know i could do like stackexchange or dead aws discord servers, ... nvm you know why i'm not going that route).
Anyways,
I'm looking for a comparison between a mongo+node setup on a basic t1.micro instance and a lambda+dynamodb setup.
Each one has it's perks obviously but i guess i sorta prefer whichever one gives best performance on the free tier.
I do know dynamo has 25 reads and 25 writes a second on the free tier, which might be a little less ? I really have no clue.
But how many writes/reads would a basic mongo setup be able to achieve on the t1.micro instance ? Any idea? Do share your experiences with these architectures as well. I'm sort of a newb with serverless, the downsides aren't worth it for me but I'm learning it nevertheless. It sorta tickles some sort of self-torture curiosity fetish (need more self-research to back that).10 -
If anyone is good with dart (or) other single threaded programming languages, i have this small doubt about the inner workings of the event loop and such and i would like an explanation if possible.
If you're too lazy to goto the link:
1. I have a future returned from a http request.
2. a future.then is declared that prints the http result.
3. A separate while(true) loop is declared that runs forever that just prints natural numbers.
4. the while loop also has an await future.delay that waits for 1ms before continuing with the next iteration
My question :
1. There's only one thread so how does the http download code run WHILE my main loop is still executing.
2. my future.then event is not processed unless i await a future.delay separately for 1ms. returning control to the event loop ? i don't get it how does adding an event help it process a prior event? It's FIFO ?
gist :https://gist.github.com/TheAnimatri...
discussion:
https://groups.google.com/a/...5 -
Psuedo rant/suggestion:
Too long? DON'T FUCKING READ IT DIPSHIT
Yello there ya fucks!
Since we're facing a real community issue here with the slow phasing out of the primal nude and aggressive developers and the entry/takeover by 9 year old kids who claim to be developers cause they can relate to some random meme. (CHROME TAKES TOO MUCH RAM, GOOGLE IS GONNA RAPE ALL OF US, WINDOWS IS SHIT, WINDOWS IS DA BEST) memes I'm looking at you.
I propose we come with an open balls high passive aggressive competition to recommend "free" suggestions to this platform.
My very intellect deprived free suggestion :
1. We're here to rant, so by default classify all posts as fucking dried up 10 year old yellow cum sauce that's stuck to your leg cause you didn't pay your electricity bill in your mom's basement and couldn't see where you let your jizz out jokes.
(TL;DR EVERYTHING IS A JOKE, YES YOUR LIFE INCLUDED UNLESS:)
Basically, ignore any crap that has
A. Pictures
B. Less than 69 cuss words *giggles, sorry* (number is subject to change)
C. LESS THAN 100 CAPITAL LETTERS.
The others may enter the rant territory.
RANKS MAY BE PROVIDED TO SUPPORTERS AND RANTERS BASED ON THEIR LANGUAGE.
(yeah I'm not kiddin but I'd be surprised af if this actually happened) #intellectdeprivedshizzadvice
#fuckhashtagsandmyselfplease
YOU MAY LEAVE FURTHER SUGGESTIONS WITH A #DRCHANGE Tag (another fucking hash tag God fucking damn it)
DICKS OUT EVERYONE, LET'S MAKE IT OR BREAK IT. WE'RE DEVELOPERS HERE NOT PALE BALLED FAGGOTS. LADIES I'M LOOKING AT YOU! (jk)
(*not implying anything offensive to faggots, well that works doesn't it? I can call someone a bitch and say no offense. So I guess I'll say it too "no offense?") [I have a feeling imma regret this very much]
That aside, should I apologize for the weird ass fucked up language I used? NO fuck you little cunty dipshits who find this offensive.
People like you are the reason cyber bullying fucking exists, God! Actually no cause I'm fucking agnostic. I pray to black holes. Yes. So black hole! *cough* sorry
{I'm a little sleepy headed so excuse me inadequate expression skills and my vocabulary, I shall sleep for 2 days now. I'm prolly gonna wake up and create a new account without thinking much, this is basically account suicide what I did here. Well if it works hurray?}66 -
Hehe I'm back peeps 😭 missed this community so much. Hope I can read yall's rants and have a pleasant laugh :3.
Also, I've ripped apart my android app and I'm rewriting it using Flutter. Yes I did that. I don't regret it though. Does Google have more control over me now or less? I have no clue. The whole dynamic vs. Shutdown framework risk benefit balance out I assume.10 -
It doesn't feel good to be average at everything.
Life is depressing
I can't commit to anything hard enough to become the best.
Programming
Singing
Drawing
Story making
Sports
I'm just average.
I feel bad
I feel like I'm a waste of resources.
I'm tired of ranting.
This life is just tiring.
I don't have the patience
I'm average at commitments.
Time management
I see other people code and sing better than me and feel demotivated
I feel like jumping of a cliff cause no matter what I do, there's someone light years ahead of me.
I'm not even unique
Ultimately that's probably what I want.
To be irreplaceable.
I guess in this struggle to be relevant I'm gonna lose myself and if I do get there, I might not be as happy anyways.
So what's the point to all this46 -
Fuck I feel fucked up just for completing user account management, authentication, email verification, password reset. Securing all of this with ssl and checking for any security loopholes.
I can't believe this took me more than a couple months.
Well I was lazy and unmotivated.
I fucking hate crafting stupid ass routes in nginx.
I fucking hate making a nice responsive gui.
I have to design even the stupid html for the emails. Fuuuuck.
So much boilerplate on top of that with username and email validation.
I learnt regex 5 times over the past couple months, still not enough.
And now I actually have to build the functional part.
On the plus side I can reuse this stupid boilerplate if I can make it more modular and readable.
There's shit ton of comments to the point where I feel like an idiot for including so much info. It's like I've written it for a toddler to take over.
Gawd. Anyways it's over now. 50% I guess.
I can finish the rest of the server more quickly and then spend another year designing the Android application.
I'm really lazy in places where I have to design UI/UX. Although at this point it's kinda what could put my application at the top. (I'm lazy, I ain't bad.. I just hate implementing my ideas I wish I could just visualize and have it appear on my screen)
I do like parts of gui that involve little math problems that would make motion smooth and efficient. -
Fuuu!!!
I'm currently on elementary.
I have two monitors, one plugged to my Rx 560 and GPU and the other to onboard graphics.
Despite this my main monitor is rendered on the Intel inbuilt GPU and I have stuttery gui on my primary monitor.
(My second one is an old monitor and I can't find VGA to dvi converters, on Windows it just works so I haven't had an issue)
Please help me guys !1 -
Who wants to collab with me for hashcode ?
I don't mind working with c , python , c++ , js , Java and similar languages I guess.
(I don't like Google but a competition is a competition) -
Routers connect multiple networks and stuff together. The router at your house connects your devices to a bigger network.
1. Are these "routers" the same
2. Would my router carry packets intended for someone else, you know maybe just shuttling them across or something?
3. If so can I spy on them with my router potentially ?9 -
I need some clarity with the situation below.
I have my API ready.
Let's say I have a route /reset/token,
I want to be able to serve a html file with css and all that once I've processed the token internally.
I've not worked with the whole stack before so I've never really served files based on conditions i.e if the token is valid serve x else serve y.html
Also, I'm pretty sure node.js isn't the best for serving files.
So I'm taking another approach with nginx which is to implement /reset/token to serve the static file with it's coupled js file to query the API. Seems standard to me but I have this feeling that a prefilled html would be more secure than one with exposed js.
Is this the right way? Should I worry about my API calls being exposed via the js fil ? Is obfuscation the only way to handle this ? Is this the way everyone does it cause somehow I don't see the key js files in most sites. How are they hidden if so? Or are they?
I'm confused and also nginx won't let me rewrite /reset/token to something else without changing the browser url field. How do I prevent that ?1 -
I spent half a month shifting my code base from express to you in view of better performance and what not.
I made a bad decision. I've wasted so much time.3 -
Why do most apps have a password reset page that redirects to a mobile site ?
Why not give them a code they can enter into the app which would then show a password reset page within the app or a link which opens the page within the app.
Isn't it good practice to keep the user within the app?
Isn't it better to serve a token than serve an entire html webpage for the server.
I've been thinking about this but 90% people follow the website pattern and Idk why. Am I missing something ?
Please fill me in on it. (Even devrant uses the same pattern)5 -
I don't use an antivirus and I probably never will.
I'll share two experiences from two different people to provide you people some base.
Firstly, this friend of mine wants to learn Android. He doesn't even have chrome installed. So I'm like let's get you a decent browser. I open the website to Firefox and I'm ready to install it.
He stops me.
He says don't install anything this isn't my laptop it's my father's and it'll get a virus.
*Facepalm*
I assure you it won't get a virus. You already have a fucking premium anti whatever the fuck suite installed so why are you worried?
Viruses are intelligent they can get anywhere. The argument was proving a waste of time besides I realized I had the files on my computer and just needed to transfer them via a thumb drive or something.
I bring over my thumb drive. Mr.viral fuck here is so shocked I thought his balls fell off. No! He doesn't want a thumb drive either, apparently they carry and generate viruses.
At this point I gave up to retain my health in the long run.
You know what I ain't going to share the other experience cause it's even more messed up.
Seriously what's with the paranoia ? I never have used an antivirus ever on my Windows installation and have never gotten infected by one either. How the fuck do people get infected by them ? I'm seriously missing something here.16 -
Back home from vacations tomorrow.
It wasn't the best time I had but the thought of returning to daily life is already giving me a stomach ache.
Gotta take care of my little pug too, my anxiety about his partial eye keratosis isn't doing great too. Since the caretakers don't apply eye medication regularly.
There's this fear of my productivity before uni begins, I really don't want my vacation to end with me returning without completing my application.
I've still got a lot to do, anyone want to partner up with me ? I've still got load balancing and failover mechanisms which I have no real-time experience with (excluding api related stuff). I've got a general idea to use nginx. -
My life! What has it come to ?
(I'm primarily backend but I'm broke so I can't hire the frontend devs)3 -
Am I doing something wrong in integrating bootstrap into my web design.
I'm just making some cool looking password reset forms and stuff.
1. Is it overkill?
2. Is there a better alternative?
3. Any good tutorials to understand bootstrap better than what I do know? (afaik it's just a collection of html elements and css styles)
4. I still have a problem with auto padding at different resolutions which messes up the alignments and stuff I'm really inexperienced at this.
5. I'm a noob at web UI and I want to add it to my skill set so I don't mind a good recommendation to some sort of path I can follow. (I'm alright with Photoshop concept designs, I'm bad at implementing them)4 -
If you think learning a language / working with a language you don't like is offensive to you and your morals .. Then don't do it.
Money is important to you ? Then you're just prostituting yourself to some higher authority. So DONT COMPLAIN!
You have the right to hate stuff while being paid for it. Understandable.
But don't shit on the shit you think is shit just cause you put yourself in the situation of not having an option !!
You're a worthless. Money hungry whore.
Yes, you hate Java/ x language but have to work on it ?
You're either a whore or have serious problems with standing up for yourself, but on the internet you become this amazing troll saying the language has problems.
Half the people who hate languages hate them cause it's common to hate them. Like being racist in the early American ages cause it was "normal".
Brain deficient motherfucking whores. Manipulated cocksuckers.
Sidenote : if you've honestly gotten shit on by a new version of the language you were using .It's understandable and I'm on your side. Using it without thorough research on the other hand is your mistake. Languages aren't ideal. Just Like most women don't like your dick cause, well it doesn't fit their use case. Deal with it not, troll about it.
I'm not like you. I experiment with whatever I like before using it. I work on my own stuff. I suck my own fucking dick and I get paid.
If you honestly disagree with me, put a couple points down on the language you hate and why you hate it ( considering the fact that you have actually used it and are not just trying to disagree with me )21 -
There's definitely something wrong with me.
Yup. Definitely.
Why?
I can't find the C shirt in devrant's avatar modifier.6 -
Does anyone else feel bored of sleeping ?
Purposely closing my eyes and dozing off to sleep is something I cannot do... It's just boring.
I tire myself out until my weakness kicks in to give me a couple hours of sleep. This has been affecting my health, concentration and ultimately work and I don't know how to tackle this problem.
Trying to sleep is easier said than done, staring into a blank empty space is a huge anxiety trigger for me on top of being a less exciting thing to do.23 -
Me and a couple of friends have this group on WhatsApp where we can share stuff that we do and maybe come up with new stuff to work on as well.
For giggles (honestly irritating to me) I'm gonna summarize some conversations on the group.
26/11
Me: Finally completed my first FPGA program, these devices are amazjng!
NO REPLY
28/11
Me: gonna make the Jacobs ladder thing today! Hope I don't get zapped
Anyone interested ?
NO REPLY
29/11
Me: hey here's a nice electronic circuit, try to analyze how this circuit oscillates (we're all ec 'engineers' well... soon at least)
NO REPLY
2/12
Friend: Guys creed 2 was amazing I don't mind watching it twice
F2 : Really? Why don't we go soon?
F3 : I'm in!!! What's the plan
F4 : how about tomorrow ?
....
3/12
F1 : Guys anyone have notes for X exam
F2 : here. {Link}
F3 : here. {Link}
F4 : how many of you are done ?
F5 : what are the important questions
(just a stupid aptitude test)
{Me} changes group title from X to Notes group
Let's give this another shot
6/12
Me: There's a conference on X technology by Y industry leader ..
Should we check it out ?
There's even a workshop on X
NO REPLY
Alright time to acknowledge my stupidity and my lack of brains for even belonging to this kind of social circle/COUNTRY
7/12
ME: New fortnite season is out
F1: woah it's crazy let's play
F2: already on it, client is updating
F3: are you shitting me? gonna get BROS laptop (i'm going to suck my brothers cock and take his computer)
F4: Hang on bro wait for me also call me on discord.
I hope you guys could stick through that. Well there's no crazy moral to this but if you're one of these guys just appreciate your friend for his efforts once in a while even at the cost of acknowledging your stupidity.
Also, words like BRO are instant triggers and I'll make sure I find you can kill you if you use it more than once every couple of sentences ( I have relatively high tolerance )1 -
Afaik,
I definitely switched branches but it still committed to master
Oh well... It's only a backup repository2 -
a little later for wk131 but:
To build a completely open platform for everything we have right now... operating systems, manufacturing etc...
The basic idea being serving a line of products under the platform's branding with an algorithm to control which open source implementation of the underlying architecture is most stable/efficient and keep switching them out. This is incredibly ambitious.
A reward based system to power this based on contributions. Example: if the open platform oled manufacturing industry uses a manufacturing process you came up with ... You get paid until well another person's process is better and it gets switched out.
Ideal modularity tbh.
Switching out parts of apps .For example : if the most efficient map algorithm is created by X it will be used. Payments split up as better forked implementations appear.
It's a thriving fun environment. Fuck job stability. Humans weren't meant to live like that. Hunt an animal today or you won't get food tomorrow.
On the plus side this will close the intellectual gap in the current generation. -
Do you randomly feel intense hatred towards people in your friend circle ?
Well I am
I have tons of friends to hang out and randomly talk about well... random things.
When it comes to more engineering related dev discussions I only have a couple friends.
One I don't speak to since he isn't very passionate about the field other than the money aspect. It's hard discussing with a person who can only see the monetary aspect of things.
Well this other guy was my only companion on this journey.. but he gave up and took on an acting career. Tbh I feel cheated. I don't have a companion / rival / anybody who I can really talk heart to heart when I get a random fun idea.
I understand how acting is on its own a pretty difficult skill but I definitely am feeling intense hatred for this fucker.
No knowledgeable guy puts himself in a situation where he has to decide between acting and electronics/programming .. and I considered this bloody motherfuck my intellectual companion.
This is what it feels like to be lonely despite having so many people around.
I'm going to work on creating a split personality. It's my only option to surviving in an engineering deprived country as mine (India).
The same country where 70% people end up engineers and most of them don't know what an oscilloscope is.1 -
!Devrelated
Just another day , playing fortnite again . Got my wife frustrated over the past few days , once more today she pulled the plug while i was playing on my PC
I can't take it anymore guys , its so hard to get rid of it .
I mean the wife , yeah. Thank god for divorce . Just filed for divorce ! Yep , I didn't think it would be this hard but I found the one for meself and I'm not going to let her go .
Fortnite I mean.
Jus kiddin, But really what the hell is with all this fortnite divorce stuff..
You don't talk about addictions like weed , or alcohol that make people widow their wives or even kill them but somehow this is trending now and the game is the reason!
Fuck you world , for giving birth to humans. This feels like the fucking stone age damn it . Senseless fuckers spreading news like this undermining all the real fuckery going on.
A world where fortnite causing divorce is news and where drug addictions and related murders and deaths are too mainstream is just stupid.4