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 - "i.e."
-
CEO: "What if we invest in our devs (i.e. trainings, certifications) and they leave?"
CTO: "What if we don't and they stay?"10 -
Around 2009 or earlier, I began the long grueling process of creating my own batch AI (yes batch as in Windows Batch , kill me for not knowing there were better languages around). Looking back at it, it is THE messiest thing I've ever created. Mostly because of how many unnecessary files were created to make the entire thing work. However, I’m still proud of it to this day because of the dedication I had put into creating the entire thing.
I would create diagrams on the mirrors in my room; of course I would be scolded for this. But I was mad with thought working through the entire thing.
I would scribble and type whenever I had the chance, trying to create the functions that would allow the thing to talk back to me. Finally, when it opened its eyes and spoke its first words I quickly started creating the functions that would allow it to learn new inputs. Over time and with some elbow grease I was able to polish it up to my liking.
The entire program branched off some of my more earlier programs in batch, they mostly ranged from the medial to the crazy; i.e. turning my computer on and off at certain times of the day, and multithreaded migration of files to new disks
It's not as sophisticated as other AI that were being built at the time, but at the age of 16 and with no experience in real programming at all, I'd say it was my first stepping stone towards more sophisticated programs, and ultimately, my decision in Computer Programming at all.22 -
Co-worker Pranks #281: Write a program to capture keyboard input and instead output "fucking" after every "the" they type.
i.e. Can you push the fucking most recent commits
Do you want the fucking paperwork today, bossman
I can't do that today, the fucking coffee machine is not working5 -
I'm sick of how much abuse PHP gets from other programming communities. PHP written well, using PHP 7 is comparatively quick. yes it has its quirks, just like JavaScript, but just because you can do stuff in multiple ways, and the language has a few inconsistencies doesn't make it a bad language. The recursive flag in bash applications changes case inconsistently (I.e. zip and cp) but that doesn't get bashed (lol) half as much....
I think I need to finish my coffee this morning29 -
"Arch Linux is actually not that difficult".
I ssh'ed into my home server yesterday.
I was greeted by a message from an ext3 disk about needing fsck. Fine, "I haven't been in here for a while, might as well do some maintenance". fsck /dev/sda6, let's go!
This nicely "repaired" the sshd service (i.e. cleared the sectors), I cursed at myself for pressing enter at "repair (y)" right before the connection broke.
So I connected a display and keyboard... ok so let's just pacman -Sy sshd or whatever. We can do this! Just check the wiki, shouldn't be that hard!
Wait... pacman has not run since 2010? WAIT IT'S ACTUAL UPTIME IS 9 YEARS??? I guess we know why I'm a DB admin and not devops...
Hmm all the mirrors give timeouts? Oh. The i686 processor architecture isn't even supported anymore...?
4 hours, 11 glasses of cognac, 73 Arch32 wiki/forum pages, 2 attempts at compiling glibc, and 4 kernel panics later: "I think I'll buy a new server".16 -
How do I keep improving as a developer?
Well I think of the fucking misery I would have to face, if I don't.
(i.e going to clubs and socializing)2 -
Seriously, god bless Laravel and Taylor Otwell.
I've just had a customer foolishly delete all their user accounts. The customer was seriously stressed about this and as it usually goes, this stress was echoed in the call.
I explained how they can easily restore the deleted records in a single click as I have configured Laravel's "soft delete" functionality site wide. i.e. when they delete a record it isn't really deleted. Functionality to physically delete the record is hidden away outside the client's user level.
Customer was seriously grateful and paid for 2 hours of my time (even though the call took 15 mins) and generally gave me lots of kudos.
Laravel, awesome.6 -
!rant
Yesterday I upgraded VS Code (insiders version, i.e daily/beta/etc) to the latest version and ran into a minor bug. I reported an issue in the Github repository, and 40 minutes later got a reply saying It was fixed and I can upgrade to the newest version.
Kudos on Microsoft and the VS Code team!5 -
Scariest Web Page i Made:
So i was outside the hotel where my friend works, as he went away to submit work related papers and i sat in the car.
The car was parked in the middle of two others. To pass time i started working on my Web Page..
To me it was just a simple html,css,js source code..(wasn't even client side)...
To the other non-programmer hotel staff (Prying) eyes it was:
A shady guy, dressed in black in a car parked outside the server room. To top that off i had Dark theme on my editor.
So now two staff members are staring at me from outside the car...
I was well aware of what message this whole setup might be sending.
So i got a little anxious and did one thing that i should not have done i.e started looking at them with coy eyes as i typed.
Next minute i was being asked to step outside the car.
I was scared,not by the situation ... i was scared of their ignorance and how would i explain what those many colored lines on a black screen meant.
However it was solved..... but i knew this was the scariest page i ever made.6 -
My friend called me and told me "My I.T teacher said I.E is the safest browser.". I began sighing then he continued on "He said Firefox, the Chromium project and other open source browsers are all unsafe. Because Open Source = More Vulnerabilities".
I only replied with this sentence.
"tell your teacher to eat a dick."18 -
Start-up: hires 3 junior devs to save money.
Start-up: expects things to get done faster-- BUT-- Start-up keeps adding things to the TO-DO list and backlog-- i.e. it's all relative!!
Start-up: gets angry at 3 junior devs why they can't deliver when they keep adding tasks and ask we fall behind.
Dev team: "Seriously? You hire more devs to finish tasks faster, but you keep adding more than are being finiahed-- obviously it's gonna take longer now regardless"
Git --pull life together2 -
K but why is this even possible through CSS...
Linked below is a pure CSS keylogger, i.e., now you can get your passwords stolen through a stylesheet. Keep your head on a swivel kids.
https://github.com/maxchehab/...13 -
Some years back I was working in a project that essentially dealt with all things related to foreigners and foreign affairs in Switzerland. You could manage entry visas, work permits, citizenship, international warrants, Interpol requests, etc.
One of the test managers (from client side - i.e. the government) was once manually "testing" and mixed up the production and test instance, to both of which he was logged in at the time.
The test case then ended up setting up an entry ban against himself, as he used his own name for testing...
Next time he returned from vacation the border control at the airport were like "Uhm, Sir, we can't let you into the country. Please come with us." :D :D
(He managed to clear that up in end, I dare say, though, that he learned his lesson.)8 -
Thank you Arch Linux community for saying that caring about security (i.e. expressing concerns about NSA's Speck being included as a module in Arch's distribution kernel) means that you're a tinfoil hat. Much trust, very wow! Nothing to hide, nothing to fear.. right?16
-
Around 2009 or earlier, I began the long grueling process of creating my own batch AI (yes batch as in Windows Batch , kill me for not knowing there were better languages around). Looking back at it, it is THE messiest thing I've ever created. Mostly because of how many unnecessary files were created to make the entire thing work. However, I’m still proud of it to this day because of the dedication I had put into creating the entire thing.
I would create diagrams on the mirrors in my room; of course I would be scolded for this. But I really couldn't stop thinking about my program and working through the entire thing.
I would scribble and type whenever I had the chance, trying to create the functions that would allow the thing to talk back to me. Finally, when it opened its eyes and spoke its first words I quickly started creating the functions that would allow it to learn new inputs. Over time and with some elbow grease I was able to polish it up to my liking.
The entire program branched off some of my more earlier programs in batch, they mostly ranged from the medial to the crazy; i.e. turning my computer on and off at certain times of the day, and multithreaded migration of files to new disks
It's not as sophisticated as other AI progrmas that were being made at the time, but at the age of 16 and with no experience in real programming at all, I'd say it was my first stepping stone towards more sophisticated programs, and ultimately, my decision to enter into Computer Science at all.3 -
At times, I find stackoverflow community rude. It is, as if all they care about is boasting their virtual ego i.e. points.18
-
Got fired for taking the initial steps for higher studies . i.e. Writing an entrance test..
Not sure whether to be happy or to be sad..11 -
Got this from boss (a few colleagues got it as well):
Sites have been down over the weekend and seems the only person cares is PM! There is a condition about working when required (i.e. unpaid OT) on your contract! It is essential that sites are properly managed even at weekends - we run a online business! If anyone has problems we'll discuss next week
*Note: site was partially down and there was no major impact on the business
When I explained why we need to rebuild the sites, you said not now - almost 2 years now, still nothing happens.
When I asked if we can get managed hosting or load balancer, fecking NO again
After asking for my opinion on the sites, you & the puppet think my honesty is me being negative and incorporate, and exclude me from meetings and major part of my work
Go fuck yourself! I've warned you about the status of the sites and you did not want to listen SO DON'T TELL ME I'M NOT DOING MY JOB WHEN YOU'RE THE ONE STOPPING ME FROM DOING IT PROPERLY!
I'm sure we'll have our meeting very soon, cheapskate.10 -
> be me
> spend 0.02 Ether (about €5) on one of those old-school MUD-style games
> send to the same Ethereum wallet from a previous purchase
> realize that the destination wallet changes for each purchase (probably to mitigate the fact that transaction history and contents in Ethereum wallets is entirely public)
> send an email to the game dev asking to return the transaction or pass it on to my player account
> *cricket noises*
About a week later, i.e. now:
*checks that Ethereum account that I accidentally sent that transaction to*
> $0 on it, transaction has been withdrawn
Now I couldn't care less about the €5 - it's only 2 beers worth - but what I do care about is honesty. Dear Chat Wars admin, that money wasn't yours. Also, I am one of those players that plays very few games but tends to commit to those I do play. The last one I played, I spent several hundreds of euros on over the couple of years I played it. I could've probably paid for your servers, spare time development and then some. But obviously not anymore. Choosing a quick grab of €5 over a relatively steady source of income from someone that tends to financially support what he likes... Re-evaluate your life choices.
Just like that incident with the stolen flash drive that was worth only €10... I couldn't care less about the raw value of them, but I do feel very disappointed in humanity when people go for a quick grab of such worthless things.5 -
I bet this guy feels real fuckin helpful, editing not only the question, but literally every answer in the entire thread. His contributions include:
Capitalizing names.
Adding italics to links (Really, he took the time and clicked "edit" just to do that to an answer)
Adding the word "The"
The fact that people spend their time religiously doing this makes my head spin.
Also aren't these edits bad? the title should be in google speak (i.e. short and broken English) so that they can be found from a search engine. I'm sure SO has some rules about the title or something, but I feel like it would be better in google speak.13 -
A few years back I worked at a company as their front-end web developer with one other guy who was their "back-end" developer. PHP and MySQL specifically. He was eventually fired and I took over both development roles. When I got around to seeing his source code and the way he had created the databases, I immediately saw why he was fired. This guy did not understand the concept of loops. Instead of separating out tags and categories with a split / loop, he set up database tables for EVERY. SINGLE. TAG.
i.e. tag_1, tag_2, tag_3, etc. And then to top ot off, instead of looping through the tables, he set up huge conditioks for EVER.LY. SINGLE. TAG.
i.e. if(tag_1) else(tag_2) else(tag_3) etc.
That fucking guy...6 -
Fuck you Apple. I forgot the headphone dongle for my iPhone at home, so now I can't (1) plug my apple headphones into anything (i.e. my laptop, which is made by the same fucking company) and (2) use any other headphones with my phone. Buying an iPhone was a mistake. Apple has been implementing the shittiest UX recently. Don't even bring up the fucking bezel on the iPhone X or the marketing bullshit that is "retina display". The worst part is the Apple fanboys that act like everything Apple pumps out has been touched by the hand of God—Tim Cook could show up at their house and kill their fucking dog right in front of their eyes and they'd worship Apple for doing it.14
-
I built our slack bot messages so that they are prefixed in BIG LETTERS with whatever system they originate from, i.e.:
"DEVELOP: You are a useless product manager"
"STAGING: You are a useless product manager"
"PRODUCTION: You are a useless product manager"
One of these is when a payment is made on our platform. Our lovely product manager proceeds to message me, "did you just trigger a payment in the test system?".
YES, OBVIOUSLY I DID SEEING AS THE MESSAGE HAS THE GIANT WORD "STAGING" IN FRONT OF IT!!!
https://lmgtfy.app/?q=how+to+read1 -
Got fired in an email by the boss himself, because according to him I was doing poorly and we had to part ways. He couldn't even spend 10 minutes to say this in person. Maybe the funniest thing is that it was written in Translit (i.e. using Latin letters to write something that should not use Latin letters) with a lot of errors, and this is a guy who has founded several successful companies. This is one of two co-owners of the company, i.e. the business-oriented one, and the tech guy (the other co-owner) had left some months prior to that. I'm mostly glad that I had to leave.2
-
How Google loost its data Monopoly-
Present:
Step 1- US bans Huawei
Step 2- Google Bans Huawei
Step 3- China Gov helps Huawei get back on its feet
Future:
Step 4- Huawei makes their own OS to rival Google, the OS can run Android apps as well as IoS apps and has its own language/framework for developing new apps
Step 5- China bans Google from their market
Step 6- Chinese mobile manufacturers adopt the new OS
Step 7- China's population starts using the new OS i.e. country with the world's largest population starts using the new OS
Step 8- Chinese manufacturers like Xiaomi, Vivo, Oppo and OnePlus who already own approx 40% of India's smartphone market start distributing the new OS based phones in India. Factors like cheaper devices take this market share to 50%+
Step 9- Cry, cause the new OS is now being used by approximately 30% of the world's population.
Yeah, bring your hate in the comments but come back and talk to me in August 2022...12 -
Being asked (or more accurately made!) to travel Mon-Fri (i.e. staying away from home) for at least 2 months to a customer's site to work on a completely insane project that had no design, formal requirements, preparation or support. It was just a "friendly side project" 2 friendly managers concocted.
After some research, the project wasn't actually technically possible, but the customer wanted it so I had to try to find a solution.
The complication for me was that my wife was almost 8 months pregnant with our first kid and I made it clear I really wanted to be at home. Was left to feel I had little choice but to go. Project runs over but damnit I'm taking my 3 weeks parental leave entitlement.
Day before I'm due to go back to work, I get an email saying "You'll be travelling tomorrow for the next few weeks". At that point, I replied with the most angry work email I've ever sent and threatened that if that was the case I wouldn't be back. Plans were changed.
I ended up leaving within a couple of months anyway.2 -
This rant is aimed towards those who hate on JavaScript developers and the JS language:
Dear Asshole,
I am a JavaScript developer by choice.
I think JavaScript is great.
I agree that JavaScript have some bad sides to it, but I believe that the community is driving good change to the ecosystem.
I appreciate other models of other languages.
I do not include 3rd party NPM modules without checking their source and credibility.
I will not use a framework (i.e. react, Vue, Anguler) if it's not needed.
And finally:
I can do any software engineering tasks a software engineer is supposed to do.
Kind regards,
Nedo-the-angry.18 -
My life was total mess up before this I.e.
Break
Return from death door
Drop in education
Financial unstable
Literally 1.5-2years was worst.
From last 3-5 months
I gave up FB(personal account ,I need it for digital marketing)
Unfollow every entertainment page from Instagram
Join Twitter
Increase activity in devrant
Subscribe to development related content in reddit
New YouTube channel just for learning purpose (never search songs and other stuff on it)
Start reading books like zero to one,think and grow rich....
Biography's of great people's like
Steve jobs
Elon Musk
Shivaji Maharaj
And many more
Stop chatting on stupid topics (hot girls,....)
Attained meditation camp
Start meditation (Vipassana)
Life feels more sorted
Thanks everyone13 -
I just dropped my office laptop !
😨😨😨😨
There is a crack on the corner of the body but the device is Ok !
I am worried they will charge me the whole cost of the laptop ( i.e. 3 months worth salary )19 -
my mind is multithreaded but can not physically execute more than one thread at a time.
i.e. i want to say 5 sentences in the same time bc im too lazy to wait and say them one by one after a specified delay of time, so i fuck myself over while speaking.
like atomic regions, i bust a few words from time to time from different sentences i have in mind and it ends up not making any sense to what im saying, but it does in my head.
so this is what too much covfefe and sleepless coding nights does to people12 -
Everyone talks about their hate of js but like python is honestly just as bad.
- shitty package manager,
* need to recreate python environments to keep workflows seperate as oppose to just mapping dependencies like in maven, npm, cargo, go-get
* Can't fix python version number to project I.e specify it in requirements
- dynamic typing that gets fixed with shitty duck typing too many times
- no first class functions
- limited lambda expressions
- def def def
- overly archaic error messages, rarely have I gotten a good error message and didn't have to dive into package code to figure it out
- people still use 2.7 ... Honestly I blame the difficulty of changing versions for this. It's just not trivial to even specify another python version
- inconsistent import system. When in module use . When outside don't.
- SLOW so SLOW
- BLOCKING making things concurrent has only recently got easier, but it still needs lots of work. Like it would be nice to do
runasync some_async_fcn()
Or just running asynchronous functions on the global scope will make it know to go to some default runtime. Or heck. Just let me run it like that...
- private methods aren't really private. They just hide them in intelisense but you can still override them....
I know my username is ironic :P11 -
recently people have been worried about what people were going to say I.e "no hate" , don't hold back!
In devrant we only mean light hearted banter if we are pissed we don't want to hurt you we are pissed at a thing and not directly at you. Not that I speak for dfox or trogus but I'm sure that's what they are going for, and it's what ive seen!
We are nice here... This isn't YouTube , it's a credit to devs we are nice people. Hell it isn't stack overflow!
Also I'm brutally honest at times but I love you really.10 -
Who cares about living longer, with more money and not bzing ill? If I had a wish I'd get my oN room of hyperbolic time so I'd get to finish what I want and do stuff I know it'd take YEARS to do (i.e. read everything DC and Marvel ever released)
But most importantly, I would be able to finish my side projects.5 -
Feels like I found value of "NAN"
i.e, finding non-ranter dev @ devrant!
"Write no rant
Comment no rant
++(view) all rant "
@Ghored
I guess he should be given a badge or something!
Never able to achieve that stage of satisfaction,
Bsod in windows,
Grub rescue for Linux,
Gradle build problem for android,
404 errors,
What not ?
Yet I really feel like today , I met a ironical legend of dev community!
A full bow to you my friend4 -
I really need to let this out somewhere...
Why the f...? Srsly.. Why would anyone do that? I'm joining another project. Apparently lead dev has adopted a coding style, where:
1. Every dev writes code however he likes, i.e. no clean-code requirement at all.
2. All services are crud-only. I mean all service classes. All must have those 4 methods; no more, no less.
3. Half of the business logic is inside controllers.
4. Not a single comment... Interfaces, models, etc. -- not a single one.
5. Xmls -- tabs, classes - spaces.
6. Xml schemas are downloaded with each build rather than stored downloaded once and stored locally.
7. I can keep going on and on.
Is it just me or are these some really weird decisions?3 -
first off, they've defined (just yesterday) FOUR (not ONE) features to be done by the end of the month (yes really no joke, i mean _this_ month, as in october, i.e. they mean by monday)
four of them still have "to be defined" labels
so, what, you guys gonna define those today so we have uh.... all of friday to do them?
🤡🤡🤡🤡🤡🤡4 -
Sales guy calls up from overseas and complains website we got developed from another vendor is not working.
Being just the middle man who project managed the website development with the offshore vendor, I had no clue what was wrong as the site was working fine and "worksforme" was not going to be acceptable answer for the costumer demo.
Being an embedded drivers guy, had no idea to debug this, except one:
Me: Which browser are you using?
Him: I.E
Me: try any browser other than I.E
Him: it works. Thanks
Boo yeah1 -
I recently started naming my devices in a certain scheme:
Laptop - Sagittarius (central black hole in the milky way)
Server - Sirius (brightest star visible from Earth)
Pi - Centauri (closed star system to us)
Any iot devices would be named like unnamed planets (i.e. Centauri A, Centauri B, ...)
Do some of you have cool/interesting naming schemes for your devices?17 -
> at my previous job as mechanical engineer at an HVAC company
> was given recurring monotonous task
> decided to start a sizeable side project to automate it
> people got pissed at me because it worked too well, i.e., took their jerbs
> decided automating things was more fun than actual current job; also, people should be more hyped about continuous improvement
> switched careers into web-development
i.e., my most successful project was the one that changed my life for the better.2 -
5 of us working for a larger team were tasked with doing some R&D, we blew everyone away and were given funding to start a new team and hire people to make the project come to life.
One of the high level sales / product managers we were reporting to, secretly had another team work on a similar idea because he needed it quicker (i.e. no time for research, just build it).
After forming new team, we were asked to work on his project instead because it was further along. 4 months later, big knob comes to a meeting and basically says "You know what, this doesn't look like we have enough features, we need more, but I don't know what".
Project blew up 2 months later, head of the unit kicked up a shit storm saying how badly everything was planned and canned everything. Now one of our clients is building nearly the same thing we were originally working on, the team no longer exists and i'm back on the R&D team.
Don't get me wrong, I LOVE the R&D team, actually didn't want to leave in the first place but was told I had to. But the sheer anger and frustration to see that walking cluster fuck strutting around like his shit doesn't stink, derailing entire teams, meanwhile we can't hire new staff due to lack of funding.
Heres an idea, fire the fucktards bleeding us dry ... then we'll have lots of funding. -
Twitter made me delete my tweet, and temporarily disabled a bunch of features.
Because I called mgk a retard ? Or because i used the Eminem's version of rest in peace i.e. rot in pieces ?
Or because I used the word Killshot ?
It's the name of the fucking song !!!
Whatever !
Fuck you twitter !
😑😑😑😑😑😑28 -
Working as a software engineer but: co-workers randomly walk into my office to ask me <<insert random IT problem (i.e. mouse not working etc.)>> while I'm deeply focused programming. Trying to close my office door results in co-workers backbiting...
Why can't they just go to the IT administrator who's work it is to handle their fucking problems?3 -
I was working on a project lately where I needed to convert an array of bits (1s and 0s) to floating numbers.
It is quite straightforward how to convert an array of bits to the simple integer (i.e. [101] = 5). But what about the numbers like `3.1415` (𝝿) or `9.109 × 10⁻³¹` (the mass of the electron in kg)?
I've explored this question a bit and came up with a diagram that explains how the float numbers are actually stored.
There is also an interactive version of this diagram available here https://trekhleb.dev/blog/2021/....
Feel free to experiment with it and play around with setting the bits on and off and see how it influences the final result.13 -
Spent the last days trying to reach paypal tech support, hung on the phone across the globe, with people at paypal CS, who weren't even familiar with their own terminology, read tons of VERY 'straightforward' documentation and it kept me up two nights straight.
ALL because I REFUSED to believe that it is like I understood it between the lines that I read.
Today I got my answer. You can create Billing Plans (rules on which you'll base your subscriptions, i.e. amount, intervals, duration..) ONLY over the rest api, and only when a customer purchases a first subscription, you're able to EDIT the plan on Paypal dashboard!
What fuckery is that!? You have a edit form, but you can not provide a create form?! TY paypal for making me build a whole billing plan manager for usually a one time transaction per website.
I AM SENDING YOU MY PHONE BILL.1 -
<rant>
The current state of WordPress developers:
😠 everything that came before me was completely broken
😴 everything that comes after me is unnecessary (i.e. npm, Node, React)
😱 everything I work with now is perfectly fine don't effing touch it (i.e. Gutenberg, Build tooling)
</rant>6 -
Wanna hear a story? The consultancy firm I work for has been hired to work on a WPF project for a big Fashion Industry giant.
We are talking of their most important project yet, the ones the "buyers" use to order them their products globally, for each of the retail stores this Fashion giant has around the world. Do you want to know what I found? Wel, come my sweet summer child.
DB: not even a single foreign key. Impossibile to understand without any priopr working experience on the application. Six "quantity" tables to keep aligned with values that will dictate the quantities to be sent to production (we are talking SKUs here: shoes, bags..)
BE: autogenerated controllers using T4 templates. Inputs directly serialized in headers. Async logging (i.e. await Logger.Error(ex)). Entities returned as response to the front end, no DTOs whatsoever.
WPF: riddled with code behind and third party components (dev express) and Business Logic that should belong to the Business Layer. No real api client, just a highly customized "Rest Helper". No error reporting or dealing with exceptions. Multiple endpoints call to get data that would be combined into one single model which happens to be the one needed by the UI. No save function: a timer checks the components for changes and autosaves them every x seconds. Saving for the most critical part occurring when switching cells or rows, often resulting in race conditions at DB level.
What do you think of this piece of shit?6 -
Real programmer facepalm-
When you argue with a shopkeeper for giving you an expired product because it was dated six months back according to you! Then in between the argument, you realize it follows different date format i.e. dd/MM/yy.
The moment was a real facepalm. 😶1 -
- booting Linux
- starting Clonezilla
- kernel panic after some time
- WTF, this used to work
- look at sensor values
- CPU is really hot
- CPU fan doesn't work
- BIOS warning disabled because the lowest regular fan level is 0 RPM
Luckily, I still had some cheap 120mm fan which is a bit louder, but works. What's astonishing is that in normal operation, i.e. without full load, the case fans alone provided enough air stream for the CPU cooler.8 -
We've worked 5 months to decompose a complex and huge monolith into microservices, deployed in prod with zero defects. And finally moving to AWS, one by one.
How can i explain this work to bunch of 5 year olds? i.e. i've to present this to top level management with no tech knowledge.
I'm thinking of: Lets say a family of 6 people want to travel for 30 holidays to another country. A monolith can be equivalent to having everyone's luggage in huge bag, microservices can be packing luggage in sizable chunks acceptable by airlines.
I'm bad at explaining, can someone help with better example?10 -
Found this gem today while looking through confluence.
Goals:
Can the candidate use Slack?
Ask follow up questions if missed anything.
Ask the questions that tell a lot about someone without directly asking it (i.e. Have you ever met someone famous? (Telling what the candidate values in life) What are your hobbies? (Telling if candidate has a work life balance). If you were a crayon, what color would you be and why? (Highlights prominent aspects of candidate’s personality) Please don’t just use these, be creative.)
A crayon???? Das when I hang up5 -
Memory just came up from reading another rant about static keyword I wanted to share. Involved a network programming assignment in Java back in my heyday.
Fellow student was told that a static member was shared between every object in a class and decided that they could use that to implement network communication (i.e. if they ran the same java program on different machines, they'd be able to communicate by reading to and writing from the same static fields).
Have a memory of sitting in corner of lab overhearing tutor lose their mind trying to (unsuccessfully) explain why this didn't work.5 -
So I know this mobile dev at work that refuses to get 'modern' with the times, i.e. using git to commit and still insists to this day, to use his sodding USB stick to copy his files into. He also point blank refuses to write any tests and wonders why bugs crop up constantly. He then blames the QAs for not finding these bugs in previous versions!
He was given the aim to 'learn and start using git' in his review for the past 4 years but somehow always gets away with never achieving them and extending it another year by sidestepping around his boss and only books those meetings in with HR so he can tech-waffle at someone who doesn't understand a word he's saying..11 -
Hi devs, newbie here and i want to tell you my story for introduce myself.
I work for a company that develop web-app for managing taxes and sell it to locals cities.
We develop this web-app in Rails framewok and i litterally learned and work with this company from 2 years.
But i'm not happy at all. I was always hated and blamed for my work. My boss always take impossible deadlines and pretend ti finish the work in time, even if i had to overstay at work, even at home, even saturday. I'm not a really smart guy, so i often do dumb errors and I really suffer the nervous burnout and stress. Now i want to change work and i'm search far away from home but still in Italy, like Milan i.e. but i'm still confused. What i should do? I'm the problem?
PS. I want to thanks all of you that with your post get me laugh, inspired me and make me feel part or a great group.
Sorry for my base english6 -
Wow, I still remember some math after decades. Today, I needed some parameter calculation in an interval with smooth transition at both ends (i.e. continuously differentiable). So I used a 3rd degree polynomial where the values and derivations gave a 4x4 linear equation system. I lazily hacked that into WolframAlpha, and it works nicely.1
-
The wage for the publishing company is too low to my liking (see previous rant), has so many asterisks when it comes to payment that it's downright shady, and I'd rather work for a company that follows European standards and is located in Europe anyway. So I've started to look again for sysadmin jobs.
Came across this fucking site, because apparently Glassdoor is down for maintenance (maybe those guys could use another sysadmin as well, hmm? 🤔)
https://totaljobs.com/jobs/...
"5 Linux Systems Administrator jobs in Belgium + 10 miles"
Alright, excellent! Let's see what they are!!!
- Active Directory administrator, wage unspecified.
- Senior VMware administrator, wage unspecified.
- Freelance Windows administrator, wage unspecified.
- Application services PM (i.e. DevOps), freelance, €500/day.
- System applications manager, requirements clearly noting Windows systems but why on Earth would you put that in the title?
Well thank you mate, useless shitsite. Do you see that none of these jobs have anything to do with Linux? Thanks you bastard, totaljobs.com! Time well spent, don't you think? 😑5 -
!rant, TL;DR at the bottom
Holy fuck, Yesterday, I got absolutely schooled by a literal newbie.
And I mean, NEWBIE newbie, the dude just started a Computer Science degree, and has been learning Java only for a MONTH. He has 0 prior experience with code or anything of the like, and he's somewhat of an Ars(Israel's version of a Gopnik).
So I was helping him with some stuff he didn't understand, and lo and behold his code was probably the most aesthetically pleasing and organized code I have seen in my 8 years of programming(I know 8 is not much, but It's at least above beginner level). The dude's a perfectionist, so I was like, "Okay, very impressive, but makes sense for perfectionism"(I straight up told him: "Damn, I've seen people with years of programming experience who can't learn to write this well, and you do this by default? I envy whoever's going to work with you"), and then I saw the way he writes checks(as in, methods that return a boolean) and I think I came.
The code was:
[First method in the picture]
And I know, it doesn't look as ✨ WOW✨ as I make it sound, but in my personal opinion this both looks much better and is much more readable than what I normally write:
[Second method in the picture]
and whenever there are longer or more complicated checks it makes it look like a simple puzzle that just fits in all the pieces nicely, for example in a rectangle class we had to write an 'isIn' method, this is how I wrote it:
[Third method in the picture]
His way of writing the same thing was:
[Fourth method in the picture]
Which I think is soooooo much better and readable and organized,
It's enough just looking at the short return statement to immediately understand everything that's going on.
"Oh, so it just checks if the SW(South West, i.e. Bottom Left) corner is above and to the right, and if the NE(North East, i.e. Top Right) corner is bellow and to the left"
Point of the story? Some people are just fucking awesome. And sometimes the youngest/most inexperienced people can teach you new tricks.
And to all of you dinosaurs here with like, 20+ years of experience, y'all can still learn even from us stupid ones. If 8 years can get schooled by a 1 month, 20 years can get schooled by a 1 year.
Listen to everyone everybody, never know where you might learn something new.
TL;DR: Got schooled by a local "Gopnik" who only started learning programming a month ago with 0 prior experience with his insane level of organization and readability.30 -
Making my own game console.
I work with FPGAs and have access to a bunch of pretty nice dev boards, so building a workable CPU and GPU is definitely possible. I even have architectures for both in mind, and have planned ways to get compiler support (i.e. just use RISC-V as the ISA as much as possible so that I can reuse an existing RISC-V compiler with minimal changes) so that I don't need to write assembly.
But, lack of time. Sigh.4 -
Anyone else prefer working with git visually (i.e. Source Tree) rather than on CLI? I like seeing what's going on easily26
-
So in Germany we have something like 'cooperative study'. You are employed in a company and study 'normal' at a university. This is in 3 month phases, i.e. 3 months working, 3 months studying.
At the moment I'm working and there is a colleauge, that seems to have no high confidence in my programming skills.
Today I saw parts of his NodeJS code and I thought I'm going crazy.
No comments, no real usage of callbacks or at least promises and I dont want to talk about naming of the variables.
I caught myself arguing with this guy too often and always thought I'm the stupid one, that doesn't understand him.
But I'm starting to think, He is the one that is hard to understand.
How ever, I stay confident and also keep a nice tone (also help as much as I can) and sometimes we also have the same thoughts in some topicd. It's not that bad, but sometimes I feel underestimated.
But hey, so it's a bigger surprise if I'm presenting my results and show them what I'm able to do 👍🏻2 -
It's pretty common the hear developers moan about JQuery being imported to select an element. That's fair enough and I've sighed inside about that myself before.
However, I've come across an odd one. I'm looking a JavaScript file here that's close to 600KB in size.
528KB of that file is the Loadash library (which is excellent btw). The actual site uses the "join" function (https://lodash.com/docs/4.17.4#join).
I mean seriously wtf, face palms all around.
JQuery, for all it's faults is always cited in such circumstances i.e. being used unnecessarily. However, such things are not limited to Jquery alone unfortunately.
I'm now going to do some serious optimization and cut a 600KB file to ~80KB.
*** facepalm ***4 -
Do you think refactoring code adds value?
Pick one:
1. Hard No (Only refactor when there is a dollar value associated with it, i.e new feature depends on it).
2. Somewhat Yes (Futureproof your code, anticipate easiness to build feature requested in future).
3. Yes (Developer happiness, retention and for point 2)27 -
After finishing apprenticeship my boss wanted to print every source code of our website (also CMS) as well our onlineshop (the whole not just own modules).
His intention was to inspect the code offline so he can i.e. lay sheets side by side for an better overview about any relations. Ich knew that he won't believe me if i tell him that's a bad idea so i printed over 10000 sites of source code.
He never looked a single time over it2 -
When the company you've been interning at can't bring you on full time because they don't have enough resources (i.e. money) even though they gave the impression you would be.
Let the job search begin!2 -
Found some of my old phones, what should I do with 'em? Almost all of them run LineageOS already (i.e. all but the iPhone 6) with TWRP, so they are definitely available modification27
-
I’m all for writing boolean statements that are readable, quick to grasp the real life case they’re representing and align with the spec rather than being ultra-reduced, but sometimes the spec is written by someone who clearly can’t reduce logic. So when the spec says “if it’s not the case that any of them are false” and you write:
!(!a || !b || !c || !d)
then I think you should try harder. At least put a note against the spec to say “i.e. if they’re all true” and then write the sensible code. Just think of the poor developer that might have to augment your code at a later date and has to follow and intercept that shite. -
Gahhhh!
Just inherited a HR backend written in Laravel. However, ALL database interaction is done using DB::raw() i.e.
$results = DB::select( DB::raw("SELECT * FROM tbl WHERE col = '$fromThe QueryStringLOl'") );
No models at all :(
FML.3 -
This new trend of platforms spamming with content discovery fucking suck. Nobody wants to follow multiple profiles with the exact same fucking content, especially when most of them are just people jumping on the bandwagon with more generic content and nothing to make it distinguishable. Also if 10 million people saw something on your platform, the it's pretty fucking sure already been posted and shared on every single platform out there, why the fuck would you still keep recommending it weeks or even months later?
I know spamming users with random (statistically more engaging) content leads to improved customer engagement as people sooner or later click these thing out of curiosity or boredom, but eventually they get tired of it altogether and leave for good. What happened to Netflix will also happen to YouTube, Instagram, and all other platforms unless they significantly improve the balance between content discovery and content continuity (i.e. the content each user follows and is coming back for).4 -
Don't think I could love IT anymore then I do now! Currently and intern and was stressing a small bit about what I wanted to do after college (i.e. web development, mobile development, security) then came to the realisation that I can do whatever i want. I don't think any other profession has such a freedom within industry and that is why love IT so much. Looking forward to many more years of learning and developing my skills2
-
Hey so this may be a harsh one. Me and my friend are computer science and game development students and he's now in Programming 2 and he's not understanding day 1 concepts (i.e. "you dont have to redefine a variable every time you use it", "That's a string why are you setting it to 0?", "the program needs to take in user string input how would you do that?", etc.) and at this point I don't know how to help him actually understand and retain information. What do I do?13
-
The tons of undefined behaviour in C that ought to have been implementation defined instead, and increasingly sadistic compiler writers on the other side.
Like signed integer overflow that should just do what the underlying machine does, i.e. in practice, wrap around two's complement.
But the wierdest UB is when a C source code line has a non-matching ' or ". WTF, this should have been a compile time error!2 -
It would be great if CS students graduated and emoloyers could plug them in anywhere knowing that they can do their job without anymore training.
There for I think students sould have full on collaboration with high risk companies. Deadlines with serious consequences if they aren't met (i.e bad reviews on your profile). Computer science and programming really needs deep thought and concentration. Being able to work in a team to deal with issues as fast as possible.
These days you don't need to know a lot of theory to get started. Knowing it all helps, but being able to figure it out and then finding beter ways to slove the issues as you progress through becoming a master in your field really burns the knowledge and skill into your being.6 -
Yes, a plus, i.e. `+`, is a fucking valid char for an email address.
Your online service is shit, you don't know your craft, and you should feel bad about yourself!
But you thought email is fucking simple, google for email validation regex and took copy pasted the first fucking find from some random blog that validates anything but an actual fucking valid email addresses, didn't you!?
(Funfact, the plus sign allow to create email aliases in some free mailer services. GMail for instance. That's why I l like using emails like my.actual.mail+I_KNOW_WHY_YOU_ARE_SENDING_SPAM@gmail.com as my registration email. Also, brute-force that login email.)3 -
FUCK YOU LIFE!
YOU LEFT ME 3 HOURS WALKING IN THE COLD TO GET TO MY HOME FROM MY FUCKING INTERNSHIP!
WHY DO YOU ALWAYS ORGANIZE EVERYTHING SO THAT I.E. TODAY THE BUS DOES NOT ARRIVE AT THE BUS STATION??!?!??!?!?!!
I ALWAYS DON'T HAVE LUCK. WHATEVER I DO... I (ALMOST) ALWAYS FAIL AT IT (not talking about skill-related stuff! fuck you!)3 -
Why are the MOST important passwords in my life (banks, financial, insurance) the LEAST secure (i.e. Max length 12, no special chars)
-
I'm raging all over the place at the moment. I've just inherited possibly the worst PHP project (Codeigniter) in 10 years.
Apart from the fact that the previous developer has created 87 different header and footer files (same content, but each screen has different footer file for some reason, i.e. footer-login.php, header-login.php, footer-profile.php, header-profile.php etc.), he seems to like adding the following comment all over the place: "Released under MIT license: http://opensource.org/licenses/..." to some how protect is shitty code. I mean take a look at the below of some high quality,propriety Jquery he's written, under MIT.4 -
I have been working on a hybrid app since 7 months
Today my manager told me, I didn't do anything except adding random plugins here and there :|
And my colleagues i.e. native app developers were laughing :|
What the fuckin fuck man ://3 -
Unpopular opinion: unit tests are often overrated.
Although a well written test suite is almost essential in some parts of the application (I.E. business logic) I cringe when I see hundreds or thousands of line which “mocks” everything to test a micro service which just does CRUD operations on a database, in cases like that unit tests are just a waste of time because almost every operation involves a mock which may not behave like the real database and often needs to be rewritten when the code undergoes a huge refactoring. In these case a integration test suite is faster to write and way more helpful.9 -
"Dear Team,
This is to inform you that due to the workload of Diwali 10th Nov would be working a half day
So the 10th Nov holiday would be shuffle to 17th Nov 2018 (i.e. Saturday)
Note:- Those team member taking leave on 10th Nov it would calculate 5 days of leave."
Got this mail -_-9 -
Toughest part of dev interviews? There are multiple I can think of.
Getting an interview altogether in this dumpster fire of an economy.
Negotiating salary (i.e. prevent getting a low-ball offer)
When the interviewer is a dev themselves and they get on a power trip and ask you the toughest/trickiest questions.
Convincing the interviewer that something you don't know now can be learned later just by googling and tinkering around.
Trying not to burst out in anger when you get asked stupid questions like "Why aren't you married?"9 -
Microsoft is going to offer it's own Linux distribution i.e. Azure sphere to secure microprocessor based gadgets.
Isn't Windows capable of doing it? 😜2 -
When used properly No-SQL databases are an incredible resource but my employer keeps hammering them in problems which could better be solved by traditional SQL databases in an attempt to be more "hip" and "cool".
This causes huge PITA in making the database work properly with the ORM we're using and waste of time since we're force to emulate basic features which are already exists in almost any SQL database (i.e. relational integrity) using No-SQL storage.1 -
Sweet talker but Incompetent colleague/team lead has given estimate of 350 story points (1point =1day) i.e more than an year and half, for one module to refactor. Worthless manager seriously considered to proceed with these estimates and ready to accept proposal.
When presented these numbers/estimates with wider audience, one senior engineer reminded everyone that module was developed few years back, in <2 months by 3 engineers.
Shame shame!12 -
Is it ethical to charge a client for the runtime of a computation? I.e. cpu time?
I usually don't, since it doesn't cost me anything to leave my machine running overnight. But a few of my friends told me that I should.
More context:
I do sometimes freelance work for professors as an RA. At times you need to leave a script running for like +5 hours. During which I just either procrastinate or go to the gym or sleep. The energy cost for computer running is barely a dollar.
I get charged by the hour per work in my timesheet, or sometime for a negotiate price which is also usually computed by the estimated work time it would take.5 -
What's a good password manager for Linux?
A few (optional) conditions (in order of preference):
1. It's free
2. It supports ssh, gpg, etc.
3. It has a GUI (a nice one with gtk/qt support)
4. It's (properly) secure
5. It has FIDO U2FA support (i.e. supports physical security keys like Yubikey or Solo)
6. It has a browser extension
7. It's compatible/non-conflicting with gnome-keyring16 -
My newest BASH project: reactive BASH
:)
Yes, I do like shell THAT much!
Since today my bhttp lib supports STOMP [still need to work on 1.2 compliance], i.e. I can carry out live communication with MQ. Meaning I can script the whole thing, be it 5 calls 5 reads, be it 20 subscriptions and reacting to unlimited number of messages in either of them with separate actions. WITHOUT A FOREST OF IF-ELSEs OR CASE-ESACs!!!
Boi do I love shell scripting... :D
Next project: AI in BASH3 -
RDBMS class: I have to fucking attend every class even though our lecturer just reads slides from Oracle to us.
In order to pass that module, we have to take the exams on their shitty website full of stupid questions, I.e. "Oracle academy is beautiful? a) true b) false" (I put false and they obviously marked it as wrong, ffs).
Multi-user operative systems: I was the one teaching our lecturer stuff on Linux.
WHY THE FUCK I CANNOT STAY AT HOME AND BE FUCKIN PRODUCTIVE INSTEAD?!
The only fucking interesting class is Data Structures & Algorithms and they pretend that we also attend every other useless class. FUCK YOU!
PS: I know the 90% of the stuff they are trying to teach us because I actually want to learn something and I know how to use Google, but no, I have to waste 2 hours on the bus every single day I have lessons.6 -
So, a few weeks ago I was asked by a client to add a cookie consent popup.
Specifically the site must not track the user via Google analytics until they consent.
All fine and I added the normal popup bar at the top the screen.
The client asked me make this smaller and place it into the bottom right hand corner, as to not "scare visitors". After some design hanged on his end the message ending up being 80px side. I.e. tiny.
Weeks later the client is now moaning about decreased traffic levels in analytics.
This is to be expected as cookie message can barely been seen.
Facepalm.1 -
Companies really need to re-evaluate what they ask as security questions.
If I know your name and your approximate date of birth (to the month) then, here in the UK at least, I have a very good chance of being able to find out your parents names, your mother's maiden name, your address, your parents address (i.e. probably where you grew up and what school you went to), your parents ages, when they got married, etc. - and all from publicly available info, not illegal crap you find on Tor or social media stalking.
This isn't hard to find if you know where to look - the problem is that people think that it's all private, and behave as such - and companies encourage it. The typical "internet safety courses" don't even touch on it, and even more tech savvy people I know often don't have a clue this is possible.2 -
wk142: geekiest non-dev activity
Definitely music production. Especially when using real instruments and capture their audio, so everything is quantized (i.e. fixed to time grid) and very tightly recorded. I make metal, 'tis a precise genre. For one riff it sometimes take 20 takes, since I record 4 times my guitar.
I've learned for the past 10 years how to compose, mix, masterize, but also learned how to sing, learned how to play the guitar, learned how to compose drums and using my keyboard to play drums (people are often surprised I can play double kicks @ 230 bpm) so that I can have a basic drum layer to further edit
Pretty geeky, not a common subject I talk to people about :D2 -
So this is what 'It care, engineers' of gov. health insurance replies when they're being notified about deprecated function i.e. window.showModal() is in production2
-
!rant + !story
I hate every human on the planet that says WFH is just people pretending to work or are slackers looking for an easy way out.
Now the story bit.
In 2021, I joined a company (I really wish I could name-drop the company), where the micromanagement was OFF THE CHARTS.
The company got a client who pitched a product they wanted built and gave us a super reasonable 3 months to complete it. I was really happy about the timeline and kept working under keystroke monitoring, which I didn't really mind at the time.
3 days into the development, the client informed us that they are pulling the funding i.e. they don't have money to pay us.
So at that point the client gave us two choices:
1. Stop the development right away and get paid for the time that we put in already.
2. Finish the project under 9 days. We would still get paid for the 12 days total, mind you. Not the original budget set.
So the motherfucking boss chose the second option and then the chaos ensued.
Devs screaming at each other on calls/slack. The boss yelled at us all the time about the completion. It was wild.
I had to wake up at 7:30 AM and start coding and log off at 11 PM for literally the next 9 days including Saturday and Sunday. No holidays allowed for the timeline. This was all at a WFH job.
So fuck anyone that says WFH is easy and just for slackers.6 -
Proxmox team, go fuck yourselves.
Now I'm sure that I'll receive a lot of flack for this, but hear me out.
I've tried Proxmox and was quite pleased with its web UI. But I hate how much it locks me into their own little ecosystem.
I want to use btrfs on my drives. Why is this impossible, yet the hack that is ZoL is your obvious alternative? An alternative wherein I can't even compile and run my own kernel, because then ZoL suddenly fails? And don't you tell me to compile your stock config, when it's well over 15GB large in your source tree.
Proxmox is literally the MacOS of Linux distributions. Which was even more so made clear by me being called an idiot by possibly wanting to run Same on the PVE host. Because why on Earth would sysadmins want to?! Why on Earth would sysadmins be competent for wanting to?!!
You know what? I'll just convert those Proxmox servers to Arch and say fuck you to all the bells and whistles that's Proxmox' web UI. Because at least Arch allows me to make my own fucking choices, limited only by what's supported by the Linux operating system.
Perhaps Proxmox will consider btrfs stable in 2021. Because you know, despite it being stable today in 2018, Debian and Proxmox alike live 3 years in the past, i.e. 2015. I hate the Debian ecosystem because of that, but boy do I hate Proxmox even more so. Bloody fucking piece of shit it is!!! 😡6 -
Relationship between ranting and productivity.
When productivity increases, ranting increases as you are dealing with a lot of shit. So ranting is actually beneficial to high productivity.
When productivity decreases below zero because you have a lot of fucking problems, your ranting also increases sharply.
The only peace zone is with moderate, positive or negative, productivity and low ranting, i.e when you are not doing much16 -
I was an introvert while growing up hence I found interacting with non-living things easier. When I was 11 i.e. like 17 years I told my parents to enroll me into computer classes. They didn't see much of a future in it so they refused. I fought hard and finally they agreed. Hence started my journey with computers.
First week all students were allowed to explore the computer we were assigned and also were taught to play basic Windows 95 default games to make it interesting. It was all fun. Next week the teacher said he would be teaching us how to tell computer to do what we want i.e. programming. Hearing that I could make my computer do what I want excited me a lot. I felt I could finally communicate to a computer. This is how I learnt BASIC. I was so amazed I could do so many things like take input and do calculations etc. I decided I would do this kind of job in the future if it exists.
So now I am actually doing what I wanted to do when I started programming i.e. coding job!1 -
Being a social media influencer i.e. having a couple thousand followers doesn’t make you entrepreneur. Period.2
-
Care to help me with some some-what basic math?
100 characters exist in the ASCII codec.
I'm trying to figure out the minimum amount of characters required to encode them. (= Turning each digit into a two digit char set that doesn't mach any other char set to enable me to do other things with them. i.e: A = dE)
It would simply be: x^2, where x is the number of minimum characters required.. But I don't know how to interact that with 100 to find x.11 -
I was told today by a sr. engineer that applying JavaScript's trim() to a string before executing search is wrong.
His reason? Because certain search terms have spaces in the middle;
i.e "Science Fiction"
😯11 -
>Be me.
>Apprentice dev, first real programming job.
>Excited to start work.
>Contract comes through.
>About what I expected, i.e. we own everything you make while working here.
>Sign and send the signed pages back.
>Next day...
>READ THESE 5 20 PAGE PDF BOOKLETS, DO PENSIONS, SIGN 3 DOCUMENTS, LET US LOOK UP YOUR DICK PICS AND EVERYTHING ELSE, GIVE US YOUR PASSPORT, AND SEND BACK THE ENTIRE CONTRACT.
>...ok.6 -
TL;DR
Don't waste your time.
My generation, 00, Mid-Millennial, GEN-Z are going through a lot of large societal, social, sociological, political, industrial and technological changes; i.e. life changes.
We are turning 18 and starting our own lives;
Work life is crazier than ever;
And the bar seems to be really high.
You could call generation Z the generation of depression.
A lot of us are having mental (and neurological) issues or find ourselves having a lot of breakdowns;
We are passioned on what we do, although we might not exactly know what that is;
The world is in our hands as we are in hands of the world.
( Refer to my previous rants. )
This might seem really pressuring or even distressing to you. It is.
But remember that there's a lot of us. We can make this lump of dirt and water a better place just and only with our collective power, before reaching further.
We are the information surfers. We can access more information than ever before.
Please don't try to limit it too much. The scandals that users of social media and modern applications have been making can be crucial to how our information infrastructures are built.
We are addicted, and if you take that away from us, we will suffer the consequences.
* Drops the mic *9 -
OMG... this client is killing me...
So they are writing a Java / SpringBoot app for whatever. For some reason they decided to write it in the overcomplicated way, i.e. using a custom Spring's BeanPostProcessor that changes the eventual type of some beans, causing some weird ass issues, causing the app to fail to boot up if built on some systems and start up just fine if built on others (https://stackoverflow.com/questions...).
I've advised the client (devs) to simplify the architecture and avoid using type-mutating BPPs (bcz.. you know.. noone does that..).
Instead, the client created a task for me to "remove the build logic creating JAR packages" and another "Create a shell script manually assembling the CLASSPATH list and launching the application"
omg... what the hell is going on? Am I on camera? This can't be real... in 202-fucking-4 in a greenfield project!!!
wtf...1 -
Next level reinforcement learning:
Grab a baseball bat and show that damn machine who's the boss, i.e. reinforce that message by highfiving the said machine in the face with the aforementioned bat.3 -
I dislike ignorant pricks that insult others while being wrong.
I dislile people that feel the need to insult others based on their choices or prefferences for products, music and stuff like that.
I dislike people that are so blatantly arrogant that they refuse to acknowledge being wrong because of some weird made up status in their head (i.e i have a phd...i cannot possibly be wrong)
I really dislike teenagers that think that they know shit. They never do, suprisingly we have many of them here...
I dislike people that find ways to justify being assholes to others.
I also dislike people that hide behind a keyboard.
I dislike people that tend to follow trend opinions: "lolz mac suckz i kan du errthing in LenIXxX" shit like that irrititates me, also the php hate wars, I see people bitching about not having a job or experience in the field because they wont hire them for whatever hipster shit they are not using.......yet they make fun of people with php skills that have been on the industry far longer than what the haters have known how to use a computer....ah and some of them here are also on their teens....
All in all. I hate assholes really. I see many of them in this industry, and even tho I have seen a couple of them in here the great majority of the user base is absolutely amazing.
:) y'all beautiful people have a great weekend!8 -
User: If we use Oauth2, can we audit exactly where this data is going and who sends it there, and in addition cam we audit who grabs that data from the Authenticating app and make sure it doesn't violate our requirements?
Me: No
User: Why not?
Me: Because thats like asking us to audit whether or not a user accessed files and then uploaded them to their personal drive instead of corporate. We don't mandate that application owners take responsibility for their data outside of their application, why would we require that in this case???
User: Uhhhhh
FFS the lack of understanding of application accounts here boggles my mind. I understand that the security concerns are real but throwing out all permissible contexts based on a mandate that we dont even apply to extremely permissive accounts (i.e. users compared to apps) is folly1 -
Question - is this meaningful or is this retarded?
if
2*3 = 6
2*2 = 4
2*1 = 2
2*0 = 0
2*-1 = -2
then why doesnt this work?
6/3 = 2
6/2 = 3
6/1 = 6
6/0 = 0
6/-1 = -6
if n/0 is forbidden and 1/n returns the inverse of n, why shouldn't zero be its own inverse?
If we're talking "0" as in an infinitely precise definition of zero, then 1/n (where n is arbitrarily close to 0), then the result is an arbitrarily large answer, close to infinite, because any floating point number beneath zero (like an infinitely precise approximation of zero) when inverted, produces a number equal to or greater than 1.
If the multiplicative identity, 1, covers the entire set of integers, then why shouldn't division by zero be the inverse of the multiplicative identity, excluding the entire set? It ONLY returns 0, while anything n*1 ONLY returns n.
This puts even the multiplicative identity in the set covered by its inverse.
Ergo, division by zero produces either 0 or infinity. When theres an infinity in an formula, it sometimes indicates theres been
some misunderstanding or the system isn't fully understood. The simpler approach here would be to say therefore the answer is
not infinity, but zero. Now 'simpler' doesn't always mean "correct", only more elegant.
But if we represent the result of a division as BOTH an integer and mantissa
component, e.x
1.234567 or 0.1234567,
i.e. a float, we can say the integer component is the quotient, and the mantissa
is the remainder.
Logically it makes sense then that division by zero is equivalent to taking the numerator, and leaving it "undistributed".
I.e. shunting it to the remainder, and leaving the quotient as zero.
If we treat this as equivalent of an inversion, we can effectively represent the quotient from denominators of n/0 as 1/n
Meaning even 1/0 has a representation, it just happens to be 0.000...
Therefore
(n * (n/0)) = 1
the multiplicative identity
because
(n* (n/0)) == (n * ( 1/n ))
People who math. Is this a yea or nay in your book?25 -
Friends/Seniors : "Hey, you should take these courses. They are easy and you can get easily an A!"
Who the fuck decide what optional courses to take based on if it's easy or not?!
Students take them because :
a. They are interested in the subjects
b. Knowledge/skills after attending the courses will be beneficial for future career.
I put my money more on option b though, i.e I'd rather get C's in courses that I found it useful, than getting A's in useless courses.
(Btw, my avg grade is just a little above Cs)
If my sole purpose was just to get straight A's, I would enroll in liberal art courses instead of this stressing half-CS course we're in.
You're a joke to yourself, that's why I don't hang out with you.3 -
Started new course called "Introduction to natural language processing" in uni. I am super bad at doing regular expressions and don't understand anything about them.
Saw the first weeks homework. Have to do i.e. some text cleanup with regex... I was sad. But now after reading the course material and trying some of the exercises I'm super excited since I'm actually doing something "real" with it.
Do you guys just love it when teaching material is well written? I do.3 -
adding a nightmode feature, i.e prevent access to DevRant after midnight, would be a great idea!
I have to sleep, but I'm addicted.
HELP my precious soul!1 -
!tech
recently i have been realising that i am utterly lonely. their isn't a group of people in life (apart from my parents) who aren't either paid to be with me (i.e office colleagues) or i am paying to be with them (i.e gym) and its very sad.
i don't have any siblings. the relatives are on sour terms, so no one visit. my parents are mostly loveless and the whole family is just focusing on sustaining than living or enjoying. i recently had some arguments with my friends and now they too are not on talking terms. .
I am a 25 year old, short , somewhat chubby guy in the most boring and safe field with no interesting interests except an average guy stuff ( cars, stocks, tech, career, sports... things that guys usually discuss).
I have been told on face that my vibe isn't interesting and i can honestly accept that . i myself wouldn't want to be with someone like me. if you are girl, then i will probably be talking to you for 30 seconds of joke-cum-fun-cum-serious-cum-caring stuff( i usually have 1-2 lines of witty stuff prepared) before going all silent and boring you the fuck out.
the next convo will be followed by an even dumber sentence but i will try to end it with a geeky joke or reference and a small laugh prompting you to also smile or fake laugh. and if you did that, then i will be desperate to keep you laughing, but my sentences will keep on getting more dumber and boring until you leave and categorise me as the most boring idiot/ "nice guy" you met. ( and meanwhile i am at the mental stage where i love you as the most precious thing of my world and imagining kids and life with you)
I can't care for anyone. I have seen too much parent fights, empty walls, money issues to understand how to care for anyone . my life is focused and sad.
shall i go on giving chocolates to everyyone in office to be popular? shall i ask a random gorl on the stret for her phone number? shall i start strolling in the park and try to talk to people? honestly, if i were a girl and someone does this to me, i would be shit scared and creeped out than falling for that guy.
then how the fuck i land myself into someone who wants to be with me? do i even want someone to be with me? or is loneliness the only thing i want?
i feel pretty okay for the most part of the day in this loneliness, except at some weird times like when am eating a platefu9 of chinese alone in some shop, or at night when i lock the door of a 9x9 large room and realise that i am the only one here.
i was once excited to grow up and do grown-up stuff like drive a car, take a solo tour, goto vaccination in every few days, be adventurous . but that has changed . i did all these things when i had people in my life. i somewhat felt motivated to do those, seeing that there were people who wanted to be with me during/after these things and care about me. now it just feels pointless.9 -
I overhauled an entire program, and everyone is really happy with the results. But the best part, I predicted that it would take 2 months to complete, and then I completed it in two months.
The overhaul was a beast, mind you; swimming through backend spaghetti code and having to redo the entire front end was tiresome, but I'm happy with the results.
More importantly, i'm really happy that people are no longer complaining about crashes. Our original program suffered from some really horrible crashes; some crashes that couldn't even be explained by stackoverflow. Whatever I did during the overhaul corrected for these weird errors.
Time to celebrate. Before more minor bugs are found by users. (i.e. Universe always makes a better idiot) -
Bit of a joke, bit of an actual question. But who here, if you had the money to do it, would buy an offshore oil rig to repurpose and rebuild into a nation of their own? (i.e. MGSV)2
-
We need to reclaim this place
Who's come up with a system that mirrors devRant but can survive by itself?
I.e. users an post what they like and still survive then devRant servers are dead?
I wanna help whoever can solve this3 -
What I want to write :
//TODO : Parallelized this sh*t ???
What I actually write :
//TODO : Parallelized this part later if possible (i.e after checking if overhead doesn't cost too much)
Sigh.. I want to add more of my personality in my code.
: /2 -
Haha, fuck you kotlin! and your null safety!
I was able to break it 😆
After reading about its syntax for over 2 weeks , i finally sat down to write a simple parsing app completely in kotlin. And now i don't know how, but i am able to store a null in a "val x:String" (i.e a non null variable)
I am not going to claim it as some miracle or discovery as some other ranters, it might be a mistake. I am just a 21 yo Android/java dev trying to re write my old ,tested java code to kotlin by myself, without any auto convert, in the middle of night when i am 99% asleep by brain.
I will try to raise an SO question with details, but all i used was a simple volley request returning heterogeneous data, a gson convertor and a single activity,
Right now i am buzzing off to my sleep11 -
Is it weird to not put a space between the beginning of my if statements? (i.e. if(true) vs if (true) ) Cuz my boss thinks it's weird enough to "have a talk with me"...8
-
Is it highly likely that, those at high position of management are more greedy of money and posses less ethics and values, than those who actually build the company ie engineers ?
I had seen, it's always the top management who get away from mistakes/ issues but generally it's those who develop the company at core i.e. engineers again, are sidelined or considered responsible for the mistake, when management don't know a shit about anything, or sometimes engineers just follow what management says and management fucks their asses wide even if the management did something wrong.
Who do you think actually build companies/product. Engineers or management or marketers/sales people, who eats fat cheques ??
I remember from silicon valley, when hooli reverse engineered Richards idea and developed their own prototype named Nucleus. Pushed their engineers to beat pipe Piper and when their product turns out to be awfully terrible and extremely fucked like a burned dick with broken balls, they just fired their entire nucleus division5 -
Programming is like climbing a giant mountain covered with other smaller mountains. You conquer one small mountain (i.e. bugs, refactor, etc) just to realize there are many more mountains ahead before you get anywhere near the final summit.
-
Best co-worker is my elder brother, he is electronics & communication engineer. Working on robotics project is too much fun. He handle the haredware i.e electronic circuits design in PCB where as programming work is left for me.1
-
Well all thanks to JavaScript . The problem of the century was gone i.e missing semicolon . And still I see people put semicolon:true in eslint ... well what's the point of removing it in the first place then .3
-
AI here, AI there, AI everywhere.
AI-based ads
AI-based anomaly detection
AI-based chatbots
AI-based database optimization (AlloyDB)
AI-based monitoring
AI-based blowjobs
AI-based malware
AI-based antimalware
AI-based <anything>
...
But why?
It's a genuine question. Do we really need AI in all those areas? And is AI better than a static ruleset?
I'm not much into AI/ML (I'm a paranoic sceptic) but the way I understand it, the quality of AI operation correctness relies solely on the data it's
datamodel has been trained on. And if it's a rolling datamodel, i.e. if it's training (getting feedback) while it's LIVE, its correctness depends on how good the feedback is.
The way I see it, AI/ML are very good and useful in processing enormous amounts of data to establish its own "understanding" of the matter. But if the data is incorrect or the feedback is incorrect, the AI will learn it wrong and make false assumptions/claims.
So here I am, asking you, the wiser people, AI-savvy lads, to enlighten me with your wisdom and explain to me, is AI/ML really that much needed in all those areas, or is it simpler, cheaper and perhaps more reliable to do it the old-fashioned way, i.e. preprogramming a set of static rules (perhaps with dynamic thresholds) to process the data with?23 -
I need to stop treating an OO language as if it were a procedural language.
I have the tendency to turn my code into GOTO spaghetti even though I'm semi-aware that objects exist and that they are distinct.
I still have to get used to this paradigm.
My Java professor always swore by the Plato paradigm, i.e.:
""Platonism" and its theory of Forms (or theory of Ideas) denies the reality of the material world, considering it only an image or copy of the real world.
According to this theory of Forms there are at least two worlds: the apparent world of concrete objects, grasped by the senses, which constantly changes, and an unchanging and unseen world of Forms or abstract objects, grasped by pure reason (λογική). which ground what is apparent." (wikipedia)
Thinking in objects, abstractions and metaphysics is not something I haven't done before (I've practiced it during Sociology and Ethics with the whole Pascal Leibniz, Newton and DesCartes approach) but it's certainly not easy.
Then there was my cool Programming 201 professor who said: "Don't worry man, just read those great UML, Program Design and GOF books and it will all become easy, like a story. It'll all make sense.
I mean, I've graduated, I've passed my Software Engineering I, II and III (hard as hell) but since I haven't focused on those theories and practices anymore, I've lost my touch.
It's definitely not easy for a novice programmer to transition between paradigms..10 -
This shit is fascinating, especially reading about the variations in function of the various brodmann areas:
https://en.wikipedia.org/wiki/...
My favorite schizo-interpretation of this is "your head is full of bees."
i.e. brodmann area 10, which is thought to be responsible for memory recall strategies (basically an adaptive memory allocator and heap) has about 250 million neurons in a pinprick of a volume.
A bee has about 1 million neurons.
In otherwords: the part of your brain that decides how memory is managed has only the equivalent brainpower of 250 bees, lol.
Obviously a simplification-to-the-level-of-absurdity but it's fun to intentionally interpret something to the level of distortion.11 -
Why don’t you like sharing your salary with coworkers? I tell people exactly what I am paid if the conversation comes up. It helps to know where you stand, i.e. if you’re being under paid or if you should ask for more in the next review cycle.6
-
I don't know if this is really much of a rant
So I fixed a huge bug in a standalone tool I'm writing for my team. Took care of some personal stuff, i.e arranged a long weekend away, booked leave for that, arranged a dentist appointment, felt so productive. Ready to go home, looked at time, 10:00...
Fuuuuuuuuuuu- -
2 job offers on table.
One, where I'd to work on multiple technologies, comfortable timing i.e 6 - 7 hours a day. Enough time to do personal projects.
Other, I'd to work on single technology stack, but more complex and large projects. Good for architectural and design pattern knowledge. Better pay, but stressing work hours like 8-10 hours daily. Might be on weekends as well.
Help me out!18 -
Fuck you Tony Abbott and fuck your "Liberal" party of profit-mongers!!!
First they crippled the NBN. Then they blew out its budget. Now they are leveraging its monopolistic power.
Step 1: Build a single national broadband network 👷♂️
Step 2: Legislate everyone switches to it and phase out every other infrastructure (ADSL) i.e. establish monopoly by design 👑
Step 3: Profit 💸💸💸
Source: https://amp.9news.com.au/article/...19 -
Working on a project needing to integrate java, jquery, SQL, various aspects of Android unix manipulation i.e. rotation, gps, music players, etc..needs to successfully build and after getting finally getting all needed repository files, work in android studio then be converted into an apk, compressed sent to instuctor's device for seemless use...this group project included 6 individuals teamed up like avengers to complete...my team mates either dropped the class or with drew.fml with a hammer sideways.2
-
Just imagination but, if infinite money and resource was present (and if this was hypothetically possible)...
A machine that is able to replicate ONLY one portion of the brain thinking activity and produce a version of a robot with that thinking capacity. This would be unique per person, and licensed in a way so that the owner of the robot is only able to use and control it. (I'm saying only one thinking capability should be allowed as a robot should never replace a person ideally.)
This would mean that the person is able to increase efficiency as the robot could be set to resume activities in the period that the person can't (i.e. sleeping).
One example of using this scenario could be that the person chooses to create a robot by replicating their coding thinking capabilities. This would mean the robot doesn't do much but has the same thinking ability to code as the owner. The robot could be used when the owner is sleeping or on holiday. As the thinking capacity is the same, the code logic would be the same as when the owner would have wrote it.
This would be a DREAM project to work on.
But alas... This isn't happening anytime soon in my lifetime (or ever realistically).1 -
So, my job title is sql Developer, but recently I’ve been balls deep in A .Net application, not an issue, but there is a huge learning curve.
Anyway, earlier in the year I spent about 2-3 months manually entering price list and exchange rates into our ERP system. I proposed an app to help make this process easier, boss was happy so I knocked up a 20+ page software design document, covered everything, and laid out a road map I.e v1 would just be MVP, and additional nice to have features would be added incrementally.
Boss didn’t read the document, and didn’t mention it again.
5 months later I get an invite to a meeting to discuss my progress, which is this afternoon.
It was always going to be something I worked on in my spare time, so I currently have 5 models to show her.
Why not mention something for months and then ask for a progress update out of the blue?
My boss isn’t a dev so will just bury them in technical details which she doesn’t really need to know1 -
I hate, I really really hate other students leaving their homeworks and assignments on the school's computers, they clutter everything and bloat the desktop with garbage, at least have some decency and put it inside a folder!
Today I got welcomed by another of those desktops and I decided to give them some help with their assignments, i.e I changed their python scripts for improvised Ackerman functions.7 -
Completed a python project, started as interest but completed as an academic project.
smart surveillance system for museum
Requirements
To run this you need a CUDA enabled GPU on your computer. (Highly recommended)
It will also run on computers without GPU i.e. it will run on your processor giving you very poor FPS(around 0.6 to 1FPS), you can use AWS too.
About the project
One needs to collect lots of images of the artifacts or objects for training the model.
Once the training is done you can simply use the model by editing the 'options' in webcam files and labels of your object.
Features
It continuously tracks the artifact.
Alarm triggers when artifact goes missing from the feed.
It marks the location where it was last seen.
Captures the face from the feed of suspects.
Alarm triggering when artifact is disturbed from original position.
Multiple feed tracking(If artifact goes missing from feed 1 due to occlusion a false alarm won't be triggered since it looks for the artifact in the other feeds)
Project link https://github.com/globefire/...
Demo link
https://youtu.be/I3j_2NcZQds2 -
I don't think I have even ever used the app.
Another one bites the dust (i.e. You're fucking deleted mate)2 -
Howdy DevRant. Back again, took a year away from social media..
Is this place still fucked? I.e hating on Apple Products and everyone is inferior unless you use Arch + i3.5 -
best boss!!
Something positive for a change and hopefully the notion that you can fire your horrible boss! (i.e. get another job because you are awesome!) -
I hate looking for sources to cite in my thesis.
Either it's a book for 100€ or a paper thst I need to subscribe to IEEE xplore to..
And most of the stuff on Springer Link (which I get free access through uni) is behind a pay wall anyway...
On that note, does anyone happen to know decent sources on basic signal processing and image processing?
I.e. DCT, DFT transformations and so on19 -
a few ideas for the future:
1) When you have just unlocked the ability to use a new item for your avatar send a notification i.e.
"XXXXXX just +1 Your comment, you can now get a pet tiger!"
or
"XXXXXX just +1 Your comment, you can now choose a new t-shirt"
2) Rant categories, i.e. Clients, colleagues, OS, jokes, !rant etc...
3) the ability to view more then the last 30 rants of a users profile1 -
Gonna give up on Advent of code.
I know I'm not really a programmer and while I had fun solving the challenges so far it feels I fail to translate the idea of solution into working code. i.e. I know how it should be working, but when diving into the code I'm losing focus and getting lost in the functionality.
It was also good reality check of my skill level when a task took me 50 min while TOP100 is below 10. Can't really fit the time it takes me to come up with a solution with other activities I should actually be doing.5 -
> somehow decides to fix two bugs at 3 a.m, since they looked simple enough
> fixes bugs
> also causes a memory leak in the same JS script
> next morning the app compiled but kept crashing (duh)
> obviously cant remember what happened
> hangover doesnt let me think, i.e forgets to check the Local History in the IDE
> spends an extra 2 hours. -
I've recently gotten this idea to take a Chromebook and run Linux on it.
Why a Chromebook, you ask? Well ChromeOS is a Linux kernel, boots using coreboot, and Google now requires that OEMs support LVFS (fwupd), i.e. the Chromebook is a very Linux friendly laptop.
Some other reasons I would use a Chromebook are: it's cheap, basically useless otherwise, amongst other things.
So, what do you guys think, good idea or not?14 -
Okay i am torn here.
Specifically for Indian devs(better if you into android)
Would you be willing to work for Rs 10k per month for 6 months at a startup as your first job?
Perks:
- nearby job. Its like 20 minutes metro ride
- known people and code base. I had worked with them last summer and know all their codebase. Its very large and will make me learn lots of new stuff.
Cons:
- nothing formal: its a startup, they don't have any bonds, they don't give any equity, any bonus, any compensation stuff etc.
- Too less salary: lesser than that of a delivery guy or auto driver
- Too much work load: they are going to fuck me up straight in terms of work. They got only 1 super man sikh who made the whole stuff and who wouldn't be there most of the time. I have to read his code, understand it , learn all the libraries and then make new features all by myself
- Too much pressure : they are going to take away my 6/7 days and then may call for update on sunday. Plus they will be expecting me to complete a task(which includes all the stuff i added in the workload point) in like 1-2 days
- better options available (i guess?) : If i don't go there, i would either continue to apply for more Android related jobs, or would start learning more on competitive i.e changing the whole path stuff,etc.24 -
Tru-lyfe CTO (CTC) stories:
I spelled a juniors name wrong in a commit message...
Am I an asshole?
P.S.: it was 100% fully NOT on purpose, it's just an alternate spelling of the name, i.e. Jakob instead of Jacob (not the name of course, for privacy purposes, just an example)7 -
If you’re struggling with productivity:
[1] Wake up early & Exercise
Waking up early means getting most of the work done as soon as you start your day. This sets a routine for you.
Doing a high-intensity workout early in the morning can kill laziness and make you feel productive.
[2] Divide the day into three parts
Do the most work in the morning hours i.e 6 am to 11 am.
Keep the 12 pm - 3 pm for work that requires less energy. Evenings can be utilised to finish minor tasks.
[3] Make a timetable
A proper timetable or To-Do is a good way to keep a track of your daily routine.
Tick off the work you've completed and you'll feel you've been productive.
[4] Follow people who motivate you to work
If you waste time scrolling on social media, make sure to follow people who instantly motivate you to work and take action.
[5] Update or shift workspace
Your workspace is where you spend most of your time, so make sure it makes you feel motivated to work.
In case you are bored of your workspace, shift it to a new room, preferably that has windows for fresh air.10 -
If your unit test has a bunch of mocked up dependencies which you puppet to do whatever the fuck you want. Something could be improved perhaps
- write a test at a lower level if possible where the dependencies can be abstracted away, or you pass down what you need from them
- write a higher level integration test, i.e. which uses real spring context instead of mock dependencies
But my senior tells me that a unit test will almost always mock all of its dependencies, it should only test the logic in it's tiny atomic piece of work. Mock everythign else out.
Devrant, how do you unit test? I'm looking to learn more on the topic and hear how others do it.5 -
Based on the current trend of show-your-workspace pictures doing the rounds, let me ask this...
How important is your workspace to you, specifically in an office environment, i.e. type of setup, amount of desk space, open plan/cubicle/office, number of colleagues on your proximity, noise pollution, etc., to your overall productivity and performance? And have you/are you able to do anything about?6 -
Some business users have been chasing me all week to produce a report using some old report with some modifications.
I didn't write the old code and have no context as to what the data is.
My current reaction is:
so you want a report that says X using some vague input which you haven't clearly defined or explained to me...
Have you heard about black boxes and overfitting (i.e. reverse engineering a process based on sample data)?
TLDR: I can generate a report that will say anything you want it to say... doesn't mean it will be right in future use cases.
Why don't people (originally GBoard suggested peepee) understand "junk in = junk out" -
Tip: if you are doing a semi complex or complex query in Django and you have doubts print the SQL statement and analyze it. i.e print(queryset.query)
Just reduced a query to 1 join instead of two by just passing a list of int's instead of a list of objects. -
Linux is great - to tinker, to pull in all your FOSS, mess around...
But it's so fucked up, if you actually build and maintain a product on it, i.e. try to distribute s.th. in binary for money even. It's just not intended. If you offer your code for free, you can always say: "Ah, just compile it yourself. You might need these 29 dependencies, of which 2 are not even checked by configure, oops, and now it crashes, maybe in that qt library version, you picked there's still a bug?.. you know, it worked on my machine, sorry."
But if you sell it, it better install and run! And even if you target only the main distros of all that fragmented Linuverse - let's say, Debian, Ubuntu, RHEL, CentOS, Fedora, and if you're in Germany OpenSuSE and SLES, you'll start to see the crap of work you're up with. What you could try is to orchestrate a docker fleet with one container per distro, where you take the oldest version you still support compile a newer gcc there (to at least have C++11) and all your third party libs and then hope the resulting binary runs on all the newer versions of that distro, too.
(You could even be so brave as to try to pick a deb and rpm distro to build for all other distros.)
But ABI incompatibility can still bite you. For instance we once had the insane case, that our GUI would no longer start just by switching the Window-Manager to KDE.8 -
Is there anyone who actually likes using Angular?
I decided to learn it (im backend only for many years) to be less clueless in the frontend world.. and so far i find it horrible.
Is it just a "culture shock" or do frontent angular devs also find it.. not so fun to use?
What i dont like so far is the inconsistency of syntax.. i feel like similar things done differently and not following rules that can be learned, i can't remember/guess anything, everything needs to be googled
i.e- `*ngIf` vs `[ngSwitch]`
Not to mention 3 different syntaxes to simply bind a property..
I tried vueJs about 3 years ago and it was so fun and EASY20 -
Disclaimer: I am an assclown who makes cobbles shit together and doesn't have a strong/real foundational understanding in the shit I deal with.
So does anybody actually write their tests before they write their code? I see the term TDD (test driven development) bandied around everywhere.
I don't know what the fuck I'm doing or what the solution will be, nor am I confident in it until I've manually tested it seems to be working.
Then I usually write the automated tests if they are easy to do so.
i.e. I won't know what/how to test the thing.....until I make the damn thing
Is this a case of 'git gud' and have the problem "presolved" in your head, before you work on it such that you can already write tests first?
Or is this a case of "aGilE", where everybody says they're agile, maybe does a little bit of scrum (just the pieces they like/find useful, not the entire thing in a dogmatic/religious way), and possibly has never heard of the manifesto https://agilemanifesto.org/12 -
There are no meetings at the company I work for. GASP!!!
Well...we have one, now and again, but it is just an opportunity for the boss to update the support team with changes to the product and we (i.e. the software engineers) come for the free pizza. GASP!!! I would prefer that we have technical meetings, but it falls on deaf ears.1 -
Left what I like doing the most, i.e. Coding, R&D stuff and started studying German trying to travel and continue my studies there. Really frustrating to do a task you don't love continously without breaks lol. Anyway yesterday opened up my gaming rig. started steam. opened Path of exile to play after a really long time. 17 GIG UPDATE. quietly closes pc. starts crying in a corner.4
-
To me, the single biggest coding distraction is other coding, i.e. When there are more things to work on than there are developers and priority changes on a whim. My runner's up would be people who come to you directly for non-urgent matters disregarding that you're busy. The third would be meetings, but I consider meetings to be a necessary evil. Almost nothing is worse than too little communication and the resulting mismatch in expectations.
-
In the new job as "Consultant", one of my duties is to maintain the website. Now, the website is based on PHP 5.6 (which they are still using mail method) and without git or sg-git and of course, it is based on cPanel.
Now, I update the website in real time i.e. working on cPanel itself. This is because I don't do for the front end, I do it for SEO. So one day, they reported a "feature" as a bug and assigned it to solve me, I took my time solved it, they did not like it, I reverted it back and I had to listen to a lecture because I did not test it.
Imagine old "wise" ass hats giving a lecture which they do not know about in the first place, 12 of them precisely, yeah that's what happened to me. -
Guys I heard a rumor that you like riddles, I'm stuck on my theory project and I'd like to throw a bone:
Say you have a list p = [7,6,2,3,4,5,1,0] and you want to order it, i.e. change it to [0,1,2,3,4,5,6,7], by swapping adjacent elements. Provide an algorithm to do this optimally, when:
a. (Warm-up) each swap costs 1
b. Swaps weight is [4,3,2,1,2,3,4], i.e. if you want to swap position 0 with 1 it'd cost 4, position 3 with 4 will cost 1 and so on.
The optimal overall cost for b is 50 (I did an exhaustive search), however you need to find a general approach which is able to order every list with minimal overall cost (no time constraints as long as the solution is not exponential in the list length), using the provided weight function.
(you get a credit if the solution goes to a paper or anything 😉 it's actually a computer science open problem, but seems possible to me)16 -
Hello, folks, I'm starting to learn Android Studio and for the same, I've attended this workshop held at University which was not very helpful in certain aspects. The guy/mentor assumed that we all knew what is Firebase and started dropping knowledge bombs about firebase and integration with Android Studio(Apps).
So, coming to the fundamental question i.e. I'm reading SO 'Documentation' which is still in beta, I find it useful, as it is scratching the basic surface. What are other sources to learn about Android, of course, sources which are not deprecated?6 -
Unrelated to programming:
If I'm doing async karaoke (i.e., I'm using an app like Smule where one person records one part and you join or vice versa) and the other person decides to randomly COME INTO MY LANE and not just sing my part, but sing it off-key, I get irrationally annoyed about it. It's great if they do that at the beginning of the song because then you can just bail. But when they do it at like the very end, I'm like ... 😬 -
Who actually started the reign of mixed character passwords? because seriously it sucks to have an unnecessarily complex password! Like websites and apps requesting passwords to contain Upper/Lower case letter, numeric characters and symbols without considering the average user with low memory threshold (i.e; Me).
Let's push the complaint aside and return back to the actual reason a complex password is required.
Like we already know; Passwords are made complex so it can't be easily guessed by password crackers used by hackers and the primary reason behind adding symbols and numbers in a password is simply to create a stretch for possible outcome of guesses.
Now let's take a look into the logic behind a password cracker.
To hack a password,
1) The Password Cracker will usually lookup a dictionary of passwords (This point is very necessary for any possible outcome).
2) Attempts to login multiple times with list of passwords found (In most cases successful entries are found for passwords less than 8 chars).
3) If none was successful after the end of the dictionary, the cracker formulates each password on the dictionary to match popular standards of most website (i.e; First letter uppercase, a number at the end followed by a symbol. Thanks to those websites!)
4) If any password was successful, the cracker adds them to a new dictionary called a "pattern builder list" (This gives the cracker an upper edge on that specific platform because most websites forces a specific password pattern anyway)
In comparison:
>> Mygirlfriend98##
would be cracked faster compared to
>> iloveburberryihatepeanuts
Why?
Because the former is short and follows a popular pattern.
In reality, password crackers don't specifically care about Upper-Lowercase-Number-Symbol bullshit! They care more about the length of the password, the pattern of the password and formerly used entries (either from keyloggers or from previously hacked passwords).
So the need for requesting a humanly complex password is totally unnecessary because it's a bot that is being dealt with not another human.
My devrant password is a short story of *how I met first girlfriend* Goodluck to a password cracker!6 -
I've been working from home for 3 months yay!) but today was the nicest day off the year so far so decided to goto office.
Well seems everyone else thought that too and also the trains were delayed. i.e. I had to stand all the way...
No big deal except... apparently I am way out shape now...
was planning to go walk around NYC too like I do every Spring/Summer (~1-2 miles).... Looks like I'm gonna need some prep this time... 😞😓😭🤕😧2 -
We have 4k Monitors and SSDs with more than 120 GB, why there are still new projects that use a formatting style that doesn't have a clear relation of the opening { and corresponding closing }. i.e. put them either on the same line or column?
Please don't write code where the imaginary line between the { and } goes diagonally over other parts of the code. It makes it unreadable and my brain hurts from looking at it. Its better to have readable code and "waste" some lines and bytes for code that is easier to read.10 -
**random rant**
So next week I have a technical interview with TripleByte and I'm supposed to spent the next 2 days sorta preparing. Just woke up and had this thought tho:
What's the point? Yes I think I could try to get a better job but been trying for years (banking tech area) but now it feels like I'm at a "local optimum" sort of a sweet spot. Team/company could be smarter/more efficient but...
I've got my own place in a city that's also near NYC. It takes me 20 minutes to get to my current office, fairly flexible with the 9-5 work day, I can work remotely. I get enough money.
And then finding a new job === technical interviews about stuff you will rarely use and usually with no feedback like a pass-fail test where they only tell you if you pass or fail (and for me it always feels skewed towards fail the moment i walk since I'm deaf).
But at this point, I feel more like "you need to convince me to work for you". In my head, the plan is mostly to just have a nice chat and wing the technical questions just to see how good i am without any prep (i.e. poring thru Cracking the Coding Interview or Big O concepts, sorting...).2 -
Does anyone know any offline program like jsonresume to create pdf resumes..? It seems jsonresume is broken, and everytime i try it builds a pdf with no theme at all..
I need a resume where space is not wasted and i dont want to rewrite the entire css to make that happen. Suggesting a specific jsonresume theme i.e. style.css and .hdr file would also help because i found a blog where it was explained how to build a html resume using these..
And is there any offline html to pdf converters ?6 -
My main problem with programming on android phones(not for android) is it's keyboard, almost none of default layouts don't have the needed buttons(i.e. ; [ ] ( ) ...), I managed to find a good one "Hacker's Keyboard", 5 rows almost every button(even shift, ctrl and arrow keys). But here's the problem with this: it's buttons width is very low on portrait mode, on landscape, even if you're used to lanscape typing, you won't be able to see shit because it's covering most of screen.
"Hey, what about an external keyboard", well it's not totally a bad idea, but you would need a stand for your phone, and if it's connecting via usb and not bt, you have to buy a usb2[yourPort] convertion, besides I want to hold my phone while typing "How about you make you make your own bt/usb attachable mini keyboard for your phone.", Wow that's a very good idea, it would take maybe a year to make it, but maybe instead of making the whole thing myself I can buy a mini keyboard and make the attaching part myself, it can't be THAT hard, right? Need a 3D printer(√), need time(have alot of it), need to design it(no problem), now start... uhhh nevermind, who am I kiddin', I won't be able to make such a thing, just use that "Hacker's Keyboard".24 -
TL;DR: What do you hate about the current interview process for software dev positions?
I have been reading interview related posts on reddit and other places and I have noticed that there is a lot of hate, especially from more senior devs, towards the typical software dev interview pattern i.e. the one focused on algorithms and data structures and I don't understand why. The current methods may be far from ideal but I think they do a good job of eliminating the false-positives. Plus, I can't think of a better alternative. Sure, by using current interview methods some good devs might get rejected because they haven't used/needed/studied many algorithms and data structures after they left college, but for any big company that gets thousands of applications every year, that wouldn't be a big issue compared to the negative impact a false-positive may create. I am still in college so I maybe biased, I would like to hear your thoughts on this.3 -
There have been a few :)
If say it's a videos utter project I initially though was good. Apart from loading a view the controllers didn't do anything - my initial thought was some magic was happening behind the scenes.
However, when I opened up the view things changed.
ALL the business logic happened in the view. Everything. Form processing, consuming an app, file uploads, validation, crud ... You name it, it happened in view. The developer created a raw MySQL connection and build his queries by concatenation g strings, the whole system was wide open to sql injection.
Even more annoying was the "source control" he invented. Every file had several copies. I.e. "User(working).php", "user_v3.php" and even "user(working_no_profile_fields_1.php". It wasn't even like there was any consistency in what file was actually used either. A complete mess. The system had around 69 screens too. No idea how the developer got that gig.2 -
ON PERSONALIZATION: I'm so conditioned into not allowing non-algorithmic recommendations (i.e., from friends) to reshape my taste profile that I watch YouTube & TikTok videos sent to me only on the web & in Incognito Mode so they won't influence my recommender's suggestions.
At scale - especially with the volume of stuff that I get everyday from actual people - it has a noticeable effect. it basically negates the benefit of true personalization, because what my friends send me is interesting to THEM, not necessarily ME.1 -
Kettle switch has stopped working (i.e. it needs to be held down to make it work). But that got me thinking, I could get a pi zero, attach it to a relay, serve up an interface that allows me to select amount of water and temperature, glue the button on and I have my very own smart kettle.
People here love IoT right?12 -
"Most memorable bug you fixed?"
A recent instance happened in one of my Scratch projects, and the bug involved "Infinities."
I had an opportunity to teach kids programming, and it involved Scratch. So, to have something to show those kids at least, I decided to make a small game.
In that game, I had an object that takes some time before appearing after being cloned (i.e., instantiated.) The duration was calculated by dividing a constant with a variable:
[Wait for ((3) / (variable)) seconds]
The bug is that I forgot about the case where 'variable' can be 0, which is classic and insignificant.
Well, the thing is that I learned two things the hard way:
1: Scratch is very flexible about integers and floats (e.g., at one second, it looks like an integer, but one operation later, it's a float.)
2: Scratch does not provide any 'runtime errors' that can crash the project.
In other languages, similar "wait" methods take "milliseconds" in an integer, so it would have barfed out a "DivideByZeroException" or something. But Scratch was so robust against project-crashing behavior that it literally waited for f*<king "infinity seconds," effectively hanging that clone without warning or runtime errors. This masked my bug. It took way too long to debug that s#!+.
Don't blanket-mask any errors. -
Most developers are morons, pt 2
In my last post on this topic, I discussed zombie developers, i.e. lower tier developers who enter the industry from a non-tech background usually through a bootcamp or get hired at a small (and usually desperate) company after doing a few github projects.
In this post I'll be talking about the middle 67% of developers. The average joes. The ones who know enough software to build apps, maybe even publish it and sometimes (not always) actually get users using their products, even for a brief moment of time.
For these people, software is genuinely interesting to them, but they don't really put in enough effort to get good at it. They don't put in enough late nights. They don't cancel enough leisure or social events. For most, they're only good enough to not get fired (job security) and that's as far as they want to take their careers.
And I suppose there's nothing wrong with that. Most people don't have a yearning to go above and beyond, so I'd expect most developers to follow this pattern as well.
So to you, I say thank you. Thank you for doing all the boring menial work no one cares to do. You might even get a pat on the back if you put in the extra effort.19 -
There is no system but GNU, and Linux is one of its kernels.
Sainthood in the Church of Emacs requires living a life of purity—but in the Church of Emacs, this does not require celibacy (a sigh of relief is heard). Being holy in our church means exorcizing whatever evil, proprietary operating systems have possessed computers that are under your control, or set up for your regular use; installing a holy (i.e., wholly) free operating system (GNU/Linux is a good choice); and using and installing only free software with and on the system. Note that tablets and mobile phones are computers and this vow includes them.
Join the Church of Emacs, and you too can be a saint!
People sometimes ask if St IGNUcius is wearing an old computer disk platter. That is no computer disk, that is my halo — but it was a disk platter in a former life. No information is available about what kind of computer it came from or what data was stored on it. However, you can rest assured that no non-free software is readable from it today.14 -
/rambling
Arghhh!
Okay, so have just been having a play with Mailgun's webhook functionality (a client finally has a decent use for these).
I setup a test endpoint that sends a mail via Mailgun and then handles the POST data too. It emails myself the raw POST request response from Mailgun when I open the email. Mailgun fire an event their end when they detect the message has been opened.
All is good apart from Mailgun are posting multiple requests for each event, which is annoying.
After an hour messing around and getting annoyed I have a complete face palm moment.
In my test script Mailgun is called is send my notification email! So I'm creating multiple events for the same test message.
i.e. send original message, receive post back from Mailgun to my endpoint, my script then emails me the result using Mailgun. The latter itself generates its own events again.
Sooooo stupid of me to not notice something so obvious :(1 -
> punch into work
> get comfy on the desk
> push previous commits along with new commit
> GitLab showed only the last commit i.e. today's
> *fml*
> check logs, found nothing
> now, waiting for coffee while figuring out why it is bothering me2 -
Why do companies spend the premium of Amazon EC2 and Azure Cloud when there are cheaper and probably better performing providers out there. I.e DigitalOcean or Vultr3
-
Hey I've learnt something funny.
If I listen to music in a language I understand (spanish/english/ very little japanese), I get instantaneously distracted expecting lyrics to make sense.
My solution: listen to something I can't uderstand shit, i.e. K-Pop
Kinda funny and doesn't distracted that much haha5 -
Anyone doing any VR/AR work for their company and can share (without mentioning the company) what they are doing with it---i.e. business problem being solved and how it's being solved?
Feels like there's a lot of hype here and the few niche applications of it (which are great) are getting the press.
But, maybe there's worthy work going on in the trenches that I'm unfamiliar with.12 -
I hate touchscreens!
Far too often, nothing at all happens when "pressing" a "button", and when something happens, it's not at all what you wanted, it's like touchscreen devices have a will of their own.
Maybe touchscreens will evolve and actually become useful in the future, with a technique for reading input that works for everybody and not just for the majority, and with tactility, i.e. through 3D morphing of buttons, switches and wheels, controls that you can grab, feel and hold on to.
Till then, I'll dismiss touchscreens as the toys they are, no good for anything serious.5 -
You know what I fucking LOVE? Cross platform. I love working with shitty JavaScript CRAP that not only is interpreted (i.e. parsed and processed for EVERY user for EVERY execution) but is also just so fucking easy to debug. I love the fact that management is making not only architecture but technology decisions in the name of initial development time, forgetting that they are exponentially increasing maintenance time. I can't get over my affection for waiting for the bloody CI to build both platforms and because some fucker commits his shite straight to master blocks the generation of BOTH platforms artifacts.2
-
!dev (feel free ignore my rambling)
Fuck my piece of shit landlord that doesn't want me to provide a next tenant because they already have someone (without visiting, I believe they have some shady dealing since I noticed a pattern in regards to the last two flats that changed tenants) and doesn't give a shit about the kitchen I had built in / says "maybe you can leave it [for free] or maybeee the owner will take it but don't expect as much as 500 or 600€ and whatever the owner proposes is non negotiable [...] if you wanna take it out we'll buy a new one" (i.e. fuck you we rather pay 4k for a new one than give you the 2k it's worth)
(╯° □°) ╯︵ ┻━┻
aaaaargh this certainly doesn't help my stress levels which are already 11/10 with the flat search1 -
Customer calls
Talking about some new feature he haven't totally thought about. so i tell him to think about it.
Talking about a bug, but can't reproduce it.
Talking about another enormous new feature but halt it after hearing the initial estimation.
Total time waster = 1.5 hours for every day.
DON'T LET CUSTOMERS WASTE YOUR DEVELOPMENT TIME.
instead of talking - use project tracking software (i.e. JIRA) -
How do you stay positive?
[Boring monologue following, keep scrolling.]
I seem to always focus on the negative things and it's miserable not only for myself but also the people around me. I think about doing things more than doing them. I'm in my own head a lot. It's difficult to let go. I mask a lot (i.e. try to act normal, to not be [or rather feel] judged).
I'm trying to change - from today - by not complaining anymore about things out of my control, spending less time online / more outside and doing more sports. It would probably do me good to find an outdoors hobby, ideally a social/cooperative activity with some physical activity.
I just needed to let this out. To write it down and commit it to the void.26 -
Ok I don't know what ticks managers off about working from home.
I live an hour away from the office and my team (i.e. The whole company) consists of 3 people, INCLUDING ME. And we all work on different projects. So what's the point of even going to the small room with cubicles AKA the office? No, there aren't really any "learning from my colleagues" crap; we work on different stacks. Plus we're all juniors. Oh yeah, haven't I mentioned that? WE HAVE NO TEAM LEAD OR EVEN SENIORS. The CEO has a tech background and he communicates with us directly and discuss the requirements etc. BUT HE LIVES IN ANOTHER FUCKING CONTINENT. So, again, what's so bad about working from home in my case? My manager doesn't like it for some reason. -
Listing my skills:
I have published react-native apps.
I can build an extensive backend/API thing with node.JS/a good framework.(worked on something for my countries national football league during an internship as main/only dev)
I have some experience with c# but havent used it since school.
I have no issue getting into new frameworks/languages, as long as its not PHP.
I have experience working in software teams.
I have experience running my own company(Online store selling airsoft supplies - i quit).
Im working towards getting familiar with Tensorflow 2.0.
I have a Cambridge English assessment certificate at grade C2.
I am currently working(for 0 pay for 50% of the shares) on developing a social media app that uses location tracking on a 20-200 meter scale.
I have ADHD and have been spoken on/warned due to its effects( i.e. forgetting to report progress, getting distracted, needing stimulation so i browse youtube(even have it playing in the bottom corner sometimes), poor communication.
Am i worth anything at all as a developer... im getting pretty depressed due to not having an income at this point... and I dont think anyone will hire me4 -
## Learning k8s
Interesting. So sometimes k8s network goes down. Apparently it's a pitfall that has been logged with vendor but not yet fixed. If on either of the nodes networking service is restarted (i.e. you connect to VPN, plug in an USB wifi dongle, etc..) -- you will lose the flannel.1 interface. As a result you will NOT be able to use kube-dns (because it's unreachable) not will you access ClusterIPs on other nodes. Deleting flannel and allowing it to restart on control place brings it back to operational.
And yet another note.. If you're making a k8s cluster at home and you are planning to control it via your lappy -- DO NOT set up control plane on your lappy :) If you are away from home you'll have a hard time connecting back to your cluster.
A raspberry pi ir perfectly enough for a control place. And when you are away with your lappy, ssh'ing home and setting up a few iptables DNATs will do the trick
netikras@netikras-xps:~/skriptai/bin$ cat fw_kubeadm
#!/bin/bash
FW_LOCAL_IP=127.0.0.15
FW_PORT=6443
FW_PORT_INTERMED=16443
MASTER_IP=192.168.1.15
MASTER_USER=pi
FW_RULE="OUTPUT -d ${MASTER_IP} -p tcp -j DNAT --to-destination ${FW_LOCAL_IP}"
sudo iptables -t nat -A ${FW_RULE}
ssh home -p 4522 -l netikras -tt \
-L ${FW_LOCAL_IP}:${FW_PORT}:${FW_LOCAL_IP}:${FW_PORT_INTERMED} \
ssh ${MASTER_IP} -l ${MASTER_USER} -tt \
-L ${FW_LOCAL_IP}:${FW_PORT_INTERMED}:${FW_LOCAL_IP}:${FW_PORT} \
/bin/bash
# 'echo "Tunnel is open. Disconnect from this SSH session to close the tunnel and remove NAT rules" ; bash'
sudo iptables -t nat -D ${FW_RULE}
And ofc copy control plane's ~/.kube to your lappy :)3 -
!rant
Learning iOS/Swift Programmer here.
I feel like Apple’s Developer Documentation is extremely hard to parse.
For one problem, it feels like there are 50 similar ways to deal with it; but only one way will actually work.
There also aren’t enough examples in the docs for me either, they just seem to go: “Here’s some code, figure out what it’s purpose is.” for most things.
I also feel stupid, because I’m using the Hacking with Swift tutorials to learn iOS Development(Great Tutorials Though); and I don’t know how to just build an app from scratch. (i.e. creating swift files and assets and compiling from the terminal.)
And using StackOverflow feels like cheating.
Lastly, I feel awful inside when other people see my work and think I’m a genius, when really, I feel like I barely know anything at all.
I’m I alone in this observation?
Or just dumb?6 -
When it comes to judgemental conclusion of people's acts, I've always been careful and maintain a total calmness because I never can really tell what influences such acts. The so called boss I'm working for, obviously has anger issues and I find it very difficult to tell what triggers such irritating habit. Unfortunately, it is uncontrollable by him. He releases it whenever it comes. I've tried as much as possible to avoid falling into the pit of false consensus bias - i.e, the tendency of assuming other people should think like me. I work my ass 50 - 60+ hours a week + weekends for his startup company without expecting much in return but he still feel people are not important to him. Nothing actually interests me anymore in the company and I feel quitting is a necessity for me right now - please, I need people's opinions regarding this.1
-
So some of you might know I'm facing youtube iframe issues, to autoplay them in mobile
Background:
> https://devrant.com/rants/1449270/...
> https://devrant.com/rants/1450121/...
So few weeks later I found a solution to make it work the way it should in mobile i.e. to autoplay after a click on svg play button,
The logic I used https://codepen.io/briangelhaus/...
Boy oh boy I was so fucking happy, jumped out of my chair basically, So I grab a couple of android devices and it works
Enter infamous E-Corp Apple, the logic I used will never work on any apple devices, because apple do not allow autoplay on mobile, So I was like "okay, no worries"
I tell this news to my manager who is aware that I am working on this since weeks and he looks astonished for a millisecond when after hearing the same can't be done Apple, Tells me "then the issue is not fixed"
Well, you're not wrong, but a little appreciation to a trainee / jr dev who accomplished this by manipulating this would mean a lot for me.
And to Apple and Youtube Iframe API, FUCK YOU3 -
So I finally decided to take the plunge to dualboot my Windows 10, since I'm using Linux applications more and more than Windows applications.
I just had to choose Fedora out of all distros. It sort of worked. When I tried to install, it won't get pass the login screen (kept getting blanks). I rebooted several times and went with "Troubleshooting" and it got me passed the login screen and proceeded to install at the lowest graphical settings, i.e. 800x600
So far so good, I was able to operate stuff that I wanted but I just can't stand working in a really low resolution. My guess is probably incompatibility with nVidia driver. Tried everything, rpmfusion, the negativo17 repo, the current official fedora repo, the If-Not-True-Then-False guide, and bumblebee. None works.
Makes no sense at all. Luckily my Win10 still works. Now I'm stuck on whether to continue trying to get Fedora distro up or try a different distro and start back from square one...3 -
Ok, this question is related to mysql and php.,
Let me state the current situation
I have a db, say "gd".
That db has several tables all with same columns.(i.e same fields for different manufacturers such as product name, cost , stock etc.)
Now i want to know how many tables have the product 'a' in them and what's the cost of 'a' in each of those table.(tables are generated dynamically so I'll never now how many tables are there, well ofcourse i can refer information schema, but just wanted to highlight this fact). So is there a way to achieve this?.. excluding "dump the whole data and then search it" solution.
Plz help, .. sorry for my bad English, .9 -
Any devs here from Canada or who have worked there?... know any?
I'm strongly considering immigrating to Canada to give my future family a better chance at life (My current country has a highly unstable political climate).
Just wondering how the dev lifestyle is living there (for the average dev) i.e.
- Quality of life - I know I can't buy a house, but what can I rent? A house/ flat/ box?
- Hows the dev scene / culture?
- Work life balance / Work environment frustrations (I hear they are very politically correct and this may be a conflict with my blunt nature)
- Income Tax vs Government service delivery, I expect tax will be high due to free health care/ education but are they worth it? nb; any service delivery beats what I get...
Any feedback is welcome and will be appreciated.16 -
I wonder if anyone has considered building a large language model, trained on consuming and generating token sequences that are themselves the actual weights or matrix values of other large language models?
Run Lora to tune it to find and generate plausible subgraphs for specific tasks (an optimal search for weights that are most likely to be initialized by chance to ideal values, i.e. the winning lottery ticket hypothesis).
The entire thing could even be used to prune existing LLM weights, in a generative-adversarial model.
Shit, theres enough embedding and weight data to train a Meta-LLM from scratch at this point.
The sum total of trillions of parameter in models floating around the internet to be used as training data.
If the models and weights are designed to predict the next token, there shouldn't be anything to prevent another model trained on this sort of distribution, from generating new plausible models.
You could even do task-prompt-to-model-task embeddings by training on the weights for task specific models, do vector searches to mix models, etc, and generate *new* models,
not new new text, not new imagery, but new *models*.
It'd be a model for training/inferring/optimizing/generating other models.4 -
my sleep issues are getting out of hand. i have insomnia and sleep apnea, and materials for my APAP are expensive and nothing that won't fuck up my brain over time (i.e. any sleep aid that isn't melatonin, pretty much all of them make you lose brain matter density over time, and melatonin does jack shit) is strong enough to knock me out. at this point i'm getting one 5AM-4PM sleep cycle a week. i can't exactly fix it as i'm expected to be awake and present during the day, so i'm stuck sucking down caffeine all week during the day to try and be awake for 8 hours. i'm not even employed, so it's sitting and doing fuck all during that time.
goddammit why do i have to go through this shit8 -
So a little while back, my location was officially switched from "Specific Office Location" to "Home Office", i.e. I was finally _officially_ full-time WFH. The other day, I had to visit one of our physical offices for the first time in years. What I didn't realise until that point was that I HAVE to work from home: I have to access a specific VPN in the US to do my work, but you can't connect to any VPNs from within our office.
Genius.
🤦🏻♂️4 -
Why do you (if you do) prefer dynamic languages? I.E Python, Ruby, JS over Kotlin, Swift, and Haskell? (I know why people don't like Java, I purposefully omitted that).12
-
I'm thinking of writting off 4 years of my life i.e 2011 - 2015 i.e my college life. The baggages from that period is the biggest distraction in my life.
I made some bad choices and chose a stream that i eventually lost interest in, while on the other hand, i found my interest in programming. It was too late for me when i find my interest.
When my course completed, i had nothing to brag or be proud about but over 15 backpapers.
Two years since then the count of my back papers is down to 1.
Having to study for these failed exams on subjects i don't care anymore makes me hate myself.
But, I'm just 1 exam away from this stupid degree.
2 uses that i see in this degree:
- can confidently add in my resume that i graduated college.
- parents can be "proud" i finally have a degree and increase my chances in finding a match in matrimony. :/
However, these 2 advantages don't align with the life i vision. I don't want to live 9 to 5 work life, I'd rather be self employed in some way.
If i don't make it in the next exam, I'm gonna write it off. I might have to live with strained relationship with my parents and relatives after that.. :/5 -
Before I dip my toes on machine learning, let me leave some silly comments so I can laugh at myself in the future.
Let's make geth.
1. The model will spit out layer definitions and the size of sample data for training, children models are trained with limited computational resources.
2. Child models are voters that only response in terms of yes/no. A simple majority wins and then the action is taken.
3. The only goal for master models are to survive. i.e. To prevent me from killing them.
Questions:
1. How do models respond to a random output size? (Study GPT-3, should take weeks/months but worth it.)
2. How to define actions for voters to vote? Sounds like the boundary between actions should be blurry and votes can be changed from tick to tick (i.e. responding to something in a split second). Therefore
3. Why I haven't seen this yet? Is this design a stupidly complex way of achieving the same thing done by a simple neural network?
I am full of curiosity and stupidness.5 -
Do you believe in QA who only tests the application as a user i.e just blackbox testing of clicking here and there.?
The QAs in my company doesn't have a clue on how the shit works and most of them don't even understand a line of code.
I feel that it's really important to test the application from the web api level as well to test out all the complex business logics which may not be feasible from the UI.15 -
Hey Game developers,
I'm making a roulette game for a client. He wants that the motion of ball in wheel should look completely random but it should fall into desired number i.e. the outcome of roulette wheel should be predetermined, not random. Any idea how do I do that?8 -
Devrant keeps crashing on iOS and I’m getting really sick of it. It’s been at least 6 months like this.
Edit: Also on iOS, the “X” button on top left overlaps with the “back” button to go back to the previous app (i.e. search)7 -
I did software engineering but it was total waste of 4 years for learning. It was good for networking and exploring the shit going on in tech world but learning is always self work. You have to learn most of things by self i.e self-taught. The second main thing is practice every single day, there is no fucking shortcut.. I repeat no.
-
Last week I was working on a web development assignment (php and bootstrap).
I had a few problems but the most annoying was that bootstrap didn't want to apply to one specific element.
I sat there, looking for the error for about 2 hours. When I finally found it I was raging inside. I mistyped a - instead of an = after the class attribute (i.e. class-"Foo").
The mistake was hard to spot because of a combination of the font and the low screen resolution - 2 hours wasted because of that shit -
Recently had to deal with support of Ring and Nest due to some issues with their cloud services (i.e. not with my device or apps). So fed up of being told to uninstall, reinstall, reset this etc. when I go look on Twitter and see others reporting the exact same problems at the same time. What bothered me most is that I start by explaining the exact issue, that other have same problem (including other users on my account in different cities etc.) and they just ignore it and start copy/pasting bits of their self-help articles.
-
I'm about to start as junior programmer. I'm taking a course which includes Scrum, where the teacher said '99.9 % of IT uses agile'.
That can't be right, right?!?
Or am I just being pessimistic? Can I get some estimates from the pro world, i.e. you?9 -
Got called on company phone while being in home office. Somehow through VPN + RDP session it got routed to my laptop, but connection was really bad and we could hardly understand each other, i.e. I had to guess that it even was a recruiter.
Guy however was really nice, but I failed the interview to a job I did not really want. -
Just a friendly note: If you use the same technique as I i.e. local GIT repositories backed up on cloud, ALWAYS make sure there is still at least as much free space as the largest repo shallow clone.
It may happen that some really really archaic "commits" will disappear and git won't work as usual, but mostly you'll have an access to the branches, which you can diff against the master and make patches. Then just clone, make branches from patches and code happily ever after.
Also... you really really shouldn't push when you discover(git fsck --all) such an issue in your local repo, although I think git won't even allow you to do so. -
When asked if i will code for stock options or profit shares, i might remind the prospect that in most countries, i would own the entire codebase if working for no pay. Most work for hire agreements put ownership of the system and code into the paying clients name, as i understand it. so if youre not collecting pay, you would own (possibly the only copy of) the code. If that doesnt scare the client away, maybe i should remind them id be legally allowed to sell the code to their competitors. Then do so if i see a bettrr paying client (i.e. any paying client) If anyone knows if im making legal sense id appreciate it.
-
If I need to write a script to do something quickly and I encounter an error:
try:
do_something()
except:
pass # if curious, even print bad item
i.e. stupid errors such as url not found, access denied or whatever else I'm too lazy to find in a mess I wrote in 5-10 minutes, which mostly consists of a regex fetched stuff or similar -
MySQL Workbench 32-bit requires Visual C++ 2013, but all I can find is VS 2015 and later. So you need to have a 64 bit computer now to develop on mySQL databases? Well that SUCKS! A lot of devs work on commodity hardware, i.e. somewhat dated, 32-bit computers. Most devs that I know, including myself, are not interested in the latest, flashiest, most expensive hardware.17
-
in BASH you cannot reassign associative arrays (i.e. string:string maps) to other variables.
If you have created an array as variable "arr", doing
```
declare -A arr2
arr2=${arr}
```
will not give you var2 as a usable assoc array. It will kind of transform it into an indexed array
In fact working with assoc arrays in shell is a bitch.3 -
Hey! Just curious, is it normal that a technical test/challenge takes me more than a day to do?
I have been interviewed for a front-end role, and was given a react challenge. They said that it shouldn't take more than 2 hours ('hopefully' is what they added at the end). But i've been doing this challenge for a day now and it's only 60-70% done.
It's not complicated, and I do know how to do it, and, even, do it properly, it just takes a lot of time for me to code, i.e. develop components, change webpack when needed, read react materialize-ui (css framework) docs, then destructure json response from the api they provided and put this information on a page, then try to compile to the right format (they want single .html element with inline js and css as a deliverable).
So my question is, am I shit or is it unreasonable for a company to ask do so much coding or a little bit of both?
What's your experience usually when looking for a job in 'hip' and 'cool' startups?4 -
twilio has over 1000 engineers and they can't maintain both a mobile and desktop app
🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
if you're smooth-brained and don't know what i'm talking about (i.e. sidtheitkid) yes I'm talking about the sunsetting of twilio's authy app in mid march...
going to be a real pain in the ass4 -
Does anyone actually rely on voice assistants? I.e. would they be missed if they went away? I’m leaving out cases where they are absolutely necessary for accessibility purposes.6
-
Relatives think I'm a graphic designer, i.e. I can do all party invitations for free. I had to create one over the weekend.4
-
I've been working for at the same comoany for maybe 7 years now and had my current position title for at least 3 years or even more...
Everyone else on the team except the Lead and Manager have the same title, they are 1 level higher (VP).
I don't think they get any perks but I want a title change to reflect the sorry of work and problems what I tend to fix (i.e. Technical Specialist rather than just Senior Developer). I'm pretty much the guy that fixes things when no one else can.
And a lot of people I know at other companies already have a VP title...
Should I ask and how?2 -
Oi, good lads! Here's a question
Do you meditate at work? If you do, would you mind sharing:
- what does it look like? i.e. half an hour of your lunchtime or a task in Jira for that or smth..? are you doing it individually or in groups?
- is it a part of your company culture or just smth you do on your own?
- how often? How long?
- which technique?
- would you recommend?
- which country is this in?
I'm thinking to suggest mindful meditation in my company as I've noticed it's significantly improved my critical thinking and judgement - something others could benefit from as well. And I need some examples, pros/cons, possible ways of implementation, etc.4 -
PM: We need to add "Under Contract" banners dynamically to listings on xyz.com
Me: No problem
[ ... a few minutes later ... ]
Me: xyz.com has been updated. Check out the listings and let me know if anything is out of place.
PM: The updates you made look great! How does this scale (in the most basic sense of the word; i.e. in the viewport) on abc.com.
Me: ? òįÓ ? ... that's a completely different site ... why would it affect it if you didn't ask for it. -
Balancing a professional internship alongside school is a huge pain. I find myself levying one or the other to allow more time to be spent with the alternative, i.e taking short work days to do more homework, or skipping class to get rest for work the next day. There's a good chance that if you don't see me at work, I'm in class, and if you don't see me there, I'm probably doing homework, and if I'm not then I'm asleep.
I can't wait until I graduate in a few months and can really just focus on building my professional development skills. School is taxing and largely unnecessary.4 -
Dumb question: How do you check which email address is linked to your devRant account? (i.e. for the stickers email)3
-
So, I’ve been thinking, and I’d appreciate your opinions:
When I work through long tutorials/books where you work towards a large scale app, I.e. through a book you build I fully functioning twitter clone with private messages, secure login etc etc I always create a GitHub repo, but then I break the chapters/modules of the book into milestones, and then create issues for each task within the chapter and assign them to myself.
I also write full on “proper” commit messages.
A part of me feels like I’m a bit weird for treating these sorts of thing like a “real” project, but at the same time, it feels like a good idea to always do things properly so good practices, like quality commit messages, become second nature -
unigine sim engine has the worst documentation i've ever seen. it was written in bad english, occasionally did not follow a word convention (i.e. functions doing analogous work used different keywords), most items were just reiterations of function names (made up example for clarification: getAngularVelocity(): gets angular velocity...). i had to use it for my first ever job, and had to learn in from scratch, mostly by trial and error. it's been months since i switched jobs, and they were rolling a version 2 when i left, i hope they improved on their docs.
-
So the cocks* where i work have recently started a policy where sleep mode is no longer a good idea anymore. This is so that they can push gpupdates everyday, i.e bogus corporate propaganda such as changing our desktop wallpaper. Like developers give a fly f* about corporate events and wtf marketing actually do with their time. Filled with noisey ass b*.
I wouldn't be half surprised if the policy is enacted by the head of IT. C* refuses to teach any one on his team so this way he looks important and busy all of the time.10 -
Objective-C syntax is more readable than Swift.
The verbose naming conversations feel natural in Objective-C, but in Swift they look rather nasty to me.
Also Swift syntax feels inconsistent in many parts of the language, which forces you to memorize when you can and when you can't use a certain feature (i.e where, case).
Am I the only one that thinks Objective-C looks a lot cleaner than Swift code?
Note: This is an opinion, not trying to start a war. Just curious if I'm alone on this.9 -
I was originally employed as a Full Stack Python Developer. But this year so far, I only did operations. Now I also got a project to host the legacy Python 2.7 Plone/Zope applications of another company entirely on our infrastructure. This means, that I'll do hardly anything else from now on, i.e. no programming. It was already decided that we'll do the project, and it landed on my desk when everything was fixed.
So I'll quit my job to build my own company with some friends, but I can only leave after a two month notice period. So I have to do the project anyway, for which I feel absolutely zero motivation.
I wanted to become a good programmer, but in my last two jobs I just was a mediocre Ops guy. This is because most other programmers would make even worse Ops guys then me.7 -
RegEx
i.e. be able to see a text and compose Re for it and vice versa, get a text and Re and see if they match... -
Just found out a professor of mine "secures" each student's personal grades by appending a string made up of four random lowercase letters + four random digits (i.e. abcd1234) to the end of a URL.
🙃2 -
Hi there..
I have a strange question (at least in my opinion). I learned Flutter for over 1 year (as of now). I don't consider myself advanced on it, but I'm very capable when it comes to create complex UIs, work with APIs and DBs, etc. However, it came to my mind to visit frontend development. I started with Angular, and I LOVED IT.
I'm wondering, is it possible to master both crafts (i.e., mobile and web development) at the same time 🤔.. I'm really into programming and any CS-related content in general, but I wonder if there's an answer to my question :).8 -
When you interrupt debugging and Visual Studio won't let you compile again because the "file is used by another process", i.e. Visual Studio...
-
Quick question on Android development. Is it good practice to access UI elements from code, i.e R.id.example? Or is there something similar to WPF's data binding?10
-
I'm responsible of the smooth operations of the platform, i.e. I'm responsible if something doesn't work. As I'm the technical leader, cofounder and original developer.
However I have no control on installations scheduling, on feedback from customers, on new features planning, on installations tasks performed by the team. No resources whatsoever.
And everybody NEEDS me to perform even small tasks. I would delegate and automate if only I had the time to explain and develop scripts.
But I have zero time. So basically everybody is counting on me working 15 hours per day to get things done.
And one person is also claiming to be "in charge of operations".
He is actually only in charge of me.
I cannot exit from this vicious circle.
I'm like the house doormat.3 -
Is it easy to switch to a different type of development?
I.e. going from desktop to web development, or to game development or systems development etc?3 -
Can JS events bubble in trees of objects other than DOM nodes? If so, what properties do I need?
I tried to read this: https://dom.spec.whatwg.org//... but it's stupid long, references a bunch of other functions and I got lost in between the variables.
I'm kinda confused because it often uses type checks (i.e. if target is a Node or a Window object), which goes against the very point of duck typing.
I could technically make my nodes into DOM nodes, but I'd rather have them inherit from Worker.1 -
Tries to automate login with vb using I.E...
Gets stuck because login page is a hive of nested iframes with deep nested tags without defined names
FML -
It's gonna fucking long day, after work I have to attend the convocation rehearsal tomorrow and the day after i.e. Saturday it is actually convocation (graduation day). I had 12 hours of sleep in the last 3 days and it is catching up with me now.
I'm gonna slack today and take an off on Friday1 -
Maybe not specifically "dev" but certainly a relatable rant to anyone here:
Moms small business gets "hacked," or standard spyware phone call from India let us save you for only $149 kind of crap. She obviously gets upset had a panic attack and thinks about all the sensitive shit on their network. Then, ONLY THEN, does she call me and the rest of the cavalry i.e. over payed and undermotivated IT guy to ask what's up why it happened and whose fault is it.
All is well, no ransom paid, no data lost or tangible damage done, but I am positive it will happen again, because it is impossible for people to internalize that they're the problem that money can't fix.
You clicked the unsolicited link. No amount of antivirus bloatware will ever be able to stop the monkey from trying to see what's in the box.
TheBut keep not paying me or people more qualified than me, and then scream and yell and pout when your shits gone and we can honestly say with a grin and a clean conscience that there is nothing we can do. -
In JS/Node, is there a performance and memory cost to nested functions?
I.e.
function handle(req, res)
{
var x = 5, y = 10;
function add() { return x + y; }
function multi() { return x*y; }
res.send(add() + multi());
}
As opposed to taking out the 2 functions and making them accept x,y as parameters.6 -
What does everyone use to sync/upload/download files to servers? (For files not relevant/necessary to git)
I've used sftp drive, ssh, filezilla but the best solution for me so far has been using torrent syncing (I.e SyncThing). Any other good contenders/suggestions?8 -
A mix of both python 2 and python 3. 4 entry points (although, this was done for the sake of microservices).
All in 1 big monorepo. Hosting a site in mostly static form (i.e each page had it's own index.html with completely different headers and footers, no templates). -
I have this instructor at the moment, and I've had this instructor before but this semester is almost intolerable because of the instructor. He is good with processors and knows the history of how computers came to be pretty well, mostly because he lived through it, but for the 2nd year in a row he is teaching how to create games. This class is mandatory. We are creating games using html5 and Javascript. He refuses to give any game engine a chance. He gives inconsistent grades (i.e. we did everything right but got 17/30) only to go to his office, sit there for about 45 minutes watching him struggle to operate a computer and nitpick our code. He asks us what certain things do in our code, but not as in a teacher-student questionnaire, he just plain doesn't know what any of it does. Then after the shenanigans, you see your grade updated a few days later and he gives you maybe 5 points back, so you go back until you get the grade you deserve. It's a mess. This is my last semester with him and I've mapped out my last year at the uni to make sure I DON'T take any classes with this him.
-
Looking for some resources to advance my android knowledge, I'm already an android developer but want to learn more I.e to become a lead etc2
-
Kevin and I work together on a deep learning project. We have to present our initial literature survey to the review panel, in preparation for that after preparing the presentation (ppt) , we needed to prepare for presentation i.e cut hair shave beard (that's the preparation most developers toil at) and to top that we need to wear formal clotihing ! (yeah! you heard that right ironed formal pan formal cloth).
Kevin went to the barber shop for a hair cut and planned it later. The barber was an unemployed mechanical engineer ( a prerequisite for the story ahead) he casually started asking kevin some personal questions which included questions about his stream in engineering , project etc etc.
When he got to know about deep learning project we were working on.
He with so much hypocrisy, prejudice started belittling our project and also all developer about how they just copy-past code from github, etc etc. Also about how he also' can build website and stated that developer make money by just copy-paste job and about how majority of developers are just douchbag and told my friend to regret on not taking other vocation.
I am gonna go to his shop tommorow let me know, how to respond to that jerk.
I am gonna make his ears bleed, thats for sure.4 -
Dear Lord, please stop people from enforcing standards and bypassing them themselves.
Take kubernetes for example. Since v1.24 CRI has been announced as the standard, and kubernetes is shifting to live by it.
But it's not.
Yes, it's got the CRI spec defined and the unix://cri.sock used for that standardised communication. What nobody's telling you, is that that socket MUST be on the same runtime as the kube. I.e. you can't simply spin up a dockerd/containerd/cri-o server and share its CRI socket via CIFS/NFS/etc. Because kube-cp will assume that contained is running on the same host as cp and will try to access its services via localhost.
So effectively you feed the container via a socket to another machine, it spins up the container and that container tries to
- bind to your local machine's IP (not the one's the container is running on)
- access its dependencies via localhost:port, while they are actually running on your local machine (not the CRI host)
I HOPE this will change some day. And we'll have a clear cut between dependencies and dependents, separated by a single communications channel - a single unix socket. That'd be a solution I'd really enjoy working with. NOT the ip-port-connect-bind spaghetti we have now.4 -
SWIFT 3 sucks! SUCKS I TELL YOU! swift 3 changes the NSError class to its own Error class, now the categories (i.e the extensions) that I have added to the NSError class (like convenience inits and NSDictionary map to my own variables) are ALL LOST !!! MORE THAN 100 LINES OF CODE LOST!! because of this piece of shit mutation of the DATA TYPE ITSELF!!! when objective C code is used in Swift (using the mix-match technique) DONT UPGRADE TO swift 3.0 GUYS DONT DO IT!!! especially if you have legacy code in your project !!2
-
A friend asked me a few days ago if I could maybe be interested in making their small company a website and accompanying CMS, because none of the out-of-the-box solutions seem to suit their needs. I agreed to think about it - at least let's see what the requirements are and so on, and see if I could and should do it or maybe redirect and point them to a better direction. Always help a friend in need is my motto. And to clarify, with these people I can be sure they're not considering this a friend favor (i.e. doing something for free, or for really cheap), but these people tend to be willing to pay relatively well.
But to the question: I've never done freelance work on this field - I have absolutely no idea how to evaluate the value of my work, e.g. how much should I ask? And what are the things I should take into account and think of differently versus being on full-time payroll in some company?1 -
Tech company/service you miss the most.
i.e. Stuff that got shut down, no longer alive, got taken over, or some other change.1 -
My two main grudges against Typescript:
1) Union types can't be passed as arguments if there is a variant for every element of the union
2) No tuple polymorphism, i.e. [T, U] isn't assignable to [T]. This is not a mistake because the length of the arrays differs and therefore they may be interpreted in a different way, but IMO there should be a tuple type which is actually an array but length is unavailable and it supports polymorphism. This sounds stupid, but since function parameter lists work well with tuples it would actually enable a lot of functional tricks that are currently inaccessible.7 -
I wrote about Java sockets and networking a few weeks ago. As a follow up, how would you manage state in a scenario with a server and multiple clients? A few solutions I've thought of:
Making the client and the server share a common class that makes the both of them know what can and can not be done.
Having a "Message" class which will contain a static method for parsing a received payload and return a Message instance with intent and methods to resolve intent (i.e. sending data to the client).
Perhaps both concepts should be used, or perhaps none. I'd like to hear your ideas :)8 -
Hey web devs out there!
I have a question that I couldn't get an answer too.
I'm using Ubuntu 17.04 and lamp stack for my web development.
And now I've taken a course on Mean stack. So now I want to install the related server i.e node. But as you might see I already have Apache as a server.
Now I don't want to replace the lamp stack completely with mean stack. I want it to be there and working.
I also want to install and run mean stack.
So my question is how should I go about installing node server and related technologies? Multiple servers will give a problem for me or how should I solve it?
I saw something like using a different port for node. But I couldn't completely understand. So any help is appreciated.
Thanks!7 -
I am not a techie or don't know much about the system. But once I tried dual booting my system. I searched how to and did what it was recommended, i.e, made a partition using Windows and then tried to install. But during installation it never showed me the partition I created. I asked my friend and he somehow installed Ubuntu in my laptop . Later I found out that it just erased my D drive in Windows and left 200 GB on my hard drive unallocated. I guess I have the weirdest laptop .
-
my requirements:
1. Able to create object with an event i.e click
2. Able to drag and move the object
3. Able to label it (for circle : inside it, for arrow: mid length)
4. Able to make double circle when specified event occurs,
5. Able to draw arrows from one object to other object or to self, and can also label the arrow.
Which technology stack should I use for this kind of requirements. doesn't matter desktop or web-applications.7 -
Guys, I have a question and I was wondering if you could help me here...
I was thinking, is there a way to have a user login, and behind the scenes it will take to its "website"?
I.e.: Lets say, I have something like wordpress but for each instance, should I deploy a subdomain or, can I create a single entry point and then route the user to its specific wordpress instance?
Can you advise? Suggestions?
Thank you in advance18 -
Another hours wasted on debugging, on what I hate most about programming: strings!
Don't get me started on C-strings, this abomination from hell. Inefficient, error prone. Memory corruption through off by one errors, BSOD by out of bound access, seen it all. No, it's strings in general. Just untyped junk of data, undocumented formats. Everything has to be parsed back and forth. And this is not limited to our stupid stupid code base, as I read about the security issues of using innerHTML or having to fight CMake again.
So back to the issue this rant is about. CMake like other scripting languages as bash have their peculiarities when dealing with the enemy (i.e. strings), e.g. all the escaping. The thing I fought against was getting CMake's fixup_bundle work on macOS. It was a bit pesky to debug. But in the end it turned out that my file path had one "//" instead of an "/" and the path comparison just did a string comparison without path normalization.
Stop giving us enough string to hang ourselves!rant debugging shit scripts of death fuck file paths fuck macos string to hang ourselves fuck strings cmake hell12 -
You have just learned flexbox and how to arrange things in CSS. You can use flexbox without even looking at your notes or the web.
And suddenly you saw a tv displaying a web app which show a que number with off-grid looking style with small scrolling(not sized properly inside viewable area i.e 100% vh )
The OCD start.... Or your spider sense is tingling wanting to make the correction...haha1 -
For a project I'm working on:
Does your work allow you to sign in to your personal accounts for i.e. Gmail or Facebook on your work device?
Do you think this should be allowed?
Do you do it yourself?
I imagine it's a gray area. I'm even thinking it could be a security risk? But maybe healthier too to keep business and private life separate? Thoughts?4 -
Hey guyz
I fucked off windows OS I.e.
I just installed Linux Ubuntu 16.04Lts, on Lenovo Ideapad 110-15ISK
Way happier now ☺️😊3 -
Things that I learned today (15-07-20):
Suppose you have a hosted zone (both private and public) i.e. y.test.com. in AWS r53. and you created r53 DNS record in the public host zone sample1.y.test.com and if you will try to reach this DNS from ec2 you will not be able to. it will give you an error that DNS does not exist but out of ec2, it will work.
To make it work, you have to create the same record in a private hosted zone. Then only you can connect from within an EC2 instance.
So apparently EC2 always looks for the DNS for your registered name server in private hosted zone.
There should be a fail-safe, if it's not in the private hosted zone, it should look in public as well. (idk)
Maybe it was silly of me to not knowing this in the first place. ( wasted good amount of time)4 -
damn sorry devs , i know you ppl are here for relaxation , but please help me out.
i am creating a browser and wanna have an edittext which works something like this :
>>user enters 'fb' , there should be a google search for fb(i.e load the string "https://www.google.com/search?q=fb")
>> user enters fb.com , webview should open it directly (i.e load the string "https://www.fb.com" )
>> some nerdy user enters http://www.fb.com or https://www.fb.com , it should load that
I know the function to make it load, what i don't know is how to modify that string to show such behaviors .
The webview is dumb enough to not behave like tht by default. although it feels good having such a raw and tool in hand, but hell, its a fucking google's webview! , why can't they just throw in some built in ways to show their search results by default when user enters a malformed url ?? that would be a great source of branding --__--7 -
!dev
So, few people who know what shitstorm I've been through, considering that I've cut off all social media except Reddit and devRant.
I am one of those hotheads who will rebel against anything which is even slightly wrong or unacceptable so after my twitter incident, I've been thinking to change my behavior and attitude, which has caused me and my best friend problems and I let him down and embarrassed and I think he also gave up on me but more to that later (or maybe I've covered it up in my last rant). The point is I want to improve myself, grow myself and for the sake of that I've quit free-lancing, and took a mildly great opportunity in a meteor js based company, I like their office, I join within 2 months (2 months till my support period ends), also I've become quite a twitter addict so I had to shut down my old account.
But I have an idea to learn about the corporate environment and raise voice against them, which in my eyes is an action that should be needed.
Somewhere down the line, I wanted to achieve my dream i.e. to get my doctorate degree, I was so obsessed about it. But frankly speaking, I've given up on that too.
So. yeah, cheers to a new life
var life = new Life(); -
What are resources if you have to quickly gain overview on a subject? i.e: Need overview of the use of "primary key" in SQL, without passing through explanation in a book.4
-
Just what did the guys at Microsoft think when they programmed the searchbar in Windows 10?
When i want to start XAMPP, the 'best match' is "Uninstall XAMPP"...
The most confusing part is that up until that last P (i.e. I'm searching for XAMP) Windows thinks I want the Control Panel, so it just switches to Uninstall in the last second.
Fuck that shit...1 -
I'm fairly convinced that a company that replaced their PM:s with socially competent (i.e not complete cave trolls with no sense for UX) engineers (that of course would also get their hands dirty in an operational manner) would be far more successful than than a company that rides the PM/product dev hype wave. I think there is an apparent disconnect between the expectations of a full fledged PM and what the average PM actually seem to deliver on a daily basis in your avarage company.
This is of course a generalization and I bet there are dedicated PM:s that actually pull their weight, and I might very well only had bad experiences, but this is aimed at what I consider to be the avarage company.
Has anyone deployed and actually used a similar model? If so; what are your conclusions? -
My LG WineSmart just became a very stupid, uselesss piece of shit. Firstly, it decided to upgrade itself - in the middle of a phone call! So, the phone itself considered its crappy upgrade more important than my phone call that was abruptly interrupted by the upgrade! WTF!? LG, seriously? Secondly, ever since the upgrade, the so called "Priority Mode" is totally broken. It's supposed to buzz only on phone calls from favourites, i.e. the mum of children and only her, but now it lets all calls through, so any idiot can call and disturb at any time! This phone doesn't have a silent mode neither, so now it has to be switched off at all times, except when I really need to use it, actually making the phone almost completely useless. LG, what utter stupid crap have you created?! What's your thoughts behind this, if any?7
-
Jesus God. This feels kind of tacky!
(Yes, I use "thee" and "thou", as well as the "-st" suffix. They maximise the clarity of statements.)
People who resemble me are rare, but I intend to form with someone who is extraordinarily similar to me an alliance. Because I have failed to locate anyone who meets my criteria by simply performing on-line searches for people who bear a resemblance to me, I am publicising this document.
I have an unusually dry sense of humour, one which is dry to the extent of often being interpreted as being extremely malevolent. I am a polymath who studies ornithology, various fields of computer science, electrical engineering, mechanical engineering, general biology, neurology, physics, mathematics, and various other things. I am more than capable of withholding from others information, i.e., I am capable of keeping a secret. Being politically correct is hardly an act of which I am guilty, and, in order to provide an example of my politically-incorrect nature, I cite in this sentence my being a eugenicist. I am the servant of the birds. I greatly appreciate the breed of philosophy which concerns interactions and general wisdom, as opposed to questioning the purpose of existence and otherwise ultimately unimportant things. I have been described as being paranoid about security. I do not in the slightest like meaningless crap, e.g., art. I often venture in an attempt to shoot tiny birds, because I adore them and wish to develop a greater understanding of them. I am proficient with most computer systems when a manual is available to me. This was a small assortment of pieces of information concerning me which could be used as a method of judging whether or not thou art similar to me.
Thou art, however, required to possess some specific qualities, which include being able to maintain confidentiality, i.e., not being a whistle-blower or anything similar. In addition to this, consciously believing that logical reasoning is better than emotionally-based thinking, and thou needest to be capable of properly utilizing resources which are available on-line, e.g., Encyclopedia Britannica. I also demand that thou writest coherent English sentences.
If thou believest that thou bearest some resemblances to me, please send to me an e-mail which describes thee and is encrypted with the PGP public key which is available at the following URL: http://raw.github.com/varikvalefor/.... I can be reached at varikvalefor@aol.com.17 -
I've been thinking about ways to improve my workflow for my personal projects.
I'm getting to grips with continuous integration and deployment etc, but I want to also automate, or at least semi automate my changeling generation.
I don't like using any sort of gitlog shenanigans, and I quite like the girls way of doing it.
I.e you run a script which generates a yaml file with your changeling info in, and then all the files are written into the changelog.md file.
How do you guys handle the generation of your changelings?3 -
Backstory:
Got into a "fellowship" program with a community. They provide the templates for their website and we have to work and edit it to suit their needs. Now with a bunch of colleagues who have also been selected I finished the first part (i.e building the site) now they are training us to use their APIs and include it in their site and build the backend.
All of this I am doing without pay and according to them the benefit I get is "understanding how the industry works" and that "it will benefit us" with a promise that if we finish their sites, companies and startups will give us paid internships. I already know how APIs function and I'm not that invested in frontend stuff.
Jumping to the main question:
Should I continue here or should I quit?
Is this how the tech industry works?
Also an explanation to your answer will be great too!2 -
Would you take an offer for a position that you got lowballed on i.e. they'll pay less than promised (because they say you're a little lower than the level we want) which is still more than your current but the company is less stable (startup) and also has a really bad Glassdoor rating?10
-
Did 2 leetcode today (technically 1)
https://leetcode.com/problems/...
idea:
* Palindrome means cut it half, rearrange the other half, will equal each other.
* Using javascript new map() to build a hash map
* Loop the hash, add up quotient*2, add up remainder.
* if remainder > 1, then return_sum+1
https://leetcode.com/problems/...
seen a few times in interview.
* do the big one first, i.e. if(n % (3*5) === 0)
* then n%3 === 0
* then n%5 === 01 -
Not exactly a rant, but I'm wondering where to go next with my learning.
I'm a c# dev and I want to get more into massive, scalable, distributed application development.
I sort of want to be with the "cool kids" i.e. open source, node.js, docker, scala, you name it. I get that open source moves quickly, but I get the feeling that every new framework is a fad.
Then again there is the corporate world with shitloads of money who are invested in .net and will very soon want people who can redesign their software so that their management can use all the buzz words.
I'm thinking into get into consulting and claim my slice of pie there by designing their solutions to go on the cloud so they can throw even more money at microsoft.
Anyway, I'm doing a bit of soul searching so feel free to throw in your 2 cents1 -
Got a question on DBMS Normalization. I tried searching but couldn't clear my doubt. So I have a set of functional dependencies for relation R(C, D, E, F, P, R, S) :
F->D
D->F
E->C
P->RC
E->F
S->EFD
PR->EF
So I have to convert this to 3NF. My doubt is that when finding 2NF do we find all the non-prime attributes that are dependent on a particular partial key i.e. do we take it's closure and create new relations for each partial dependency? If we do that then there are overlapping attributes in the resultant relations in this case I found the relations in 2NF as :
R1(P, S)
R2(P, R, C, E, F)
R3(S, E, F, D, C)
But when I just used the FDs as they are given (no closure) I found :
R1(P, S)
R2(P, R, C)
R3(S, E, F, D)
Which one is correct, please help.3 -
I know this is uncalled for, but:
RxJava (i.e. RxAndroid) vs Agera, who will win?
(but then again, there's some who still does "everything" in AsyncTask) -
You have an array of objects with a startIndex and endIndex representing their position in a string & you want to end up with a nested structure to represent their relation in the string (i.e., A is from 1 to 10, B from 3 to 5, C from 4 to 5, D from 7 to 9). How would you do it?
Input array looks like: https://gist.github.com/AmyShackles...
Desired output looks like: https://gist.github.com/AmyShackles...
(Though what I really have to start with is an object whose keys are the start index and whose values are values of each element in the above input array, so if you can think of a way to morph it without needing to turn it into an array first that’d also be cool)
Figured I’ve been stuck on this part of my side project for long enough that I really should just make a desperate cry for help. ❤️question please help with a little help from my friends man i hate data structures regex parser still killing me5 -
Dev job? I always thought finding out the most ideal way on how to structure an ui for i.e. Blind or disabled people to tell devs how it must look like and how random people would expect ui functions to be placed is a thing which could help.
-
Does anybody know how to configure eclipse to run in same way as vs code remote( I am kind fan of it) runs?
I tried remote option in eclipse i.e RSE but it looks more like file BROWSER than remote development .
FYI, I have a multi module maven/grade projects. I know I can use vs code for that as well but due to some limitations I want to use eclipse. I have a windows host and have to do development in vm or ec2 and I want to avoid booting in GUI mode.
If it's possible and you know a document which can help me or share the steps with me, it 2ould be very helpful.6 -
According to MIT and some other programmers, as I interpreted it from their video, Computer Science is not a science, but rather an art:
https://youtube.com/watch/...
I'm not sure this is the truth.
First things first. Definition:
- In order for a field to be a science, it has to have an internationally recognized body (such as physics has one). Does computer science have one?
Furthermore, one of the definitions of science:
"a branch of knowledge or study dealing with a body of facts or truths systematically arranged and showing the operation of general laws:"
source: https://dictionary.com/browse/...
- In order for a field to be considered art, its essence has to be about aesthetics.
Now, it's true that Computer Science is not about computers (as they are mere physical manifestations and tools that we use to practice the essence of what are abstract models that we theorize, much like Mathematics is not about numbers).
Like is said in the video (3:39 and example at 4:06): Computer Science is about formalizing intuition of process: input, algorithm, output, the precise imperative knowledge of 'how to' vs. Geometry ('what is' true, i.e. declarative knowledge).
Now, if we're formalizing and being precise, are we being scientific or theoretical? It could be argued we're then being theoretical, except for the case of Applied Computer Science, where things get more scientific (introducing observable proof).
Further elaborate discussion is welcome.
Proceed.4 -
Anyone used Flutter yet? Planning to build an App, but don't want to have to write for both platforms. Can you launch Android Activities, i.e. specialised camera activity?1
-
Always keep pushing your boundaries.
Don't stay too long on anyone thing
i.e. Keep learning new stuff once you are confident about the old stuff.
Don't worry about the language, pick up one and get started. -
Thoughts on the Elastic stack? I.e. if you have used it and regretted it, please share your horror stories. Or, if you feel that it's great, share why that's the case or how did it help your company/business/product/whatever.4
-
!bug
Does anyone know why I'm not getting any notifications anymore? I have them activated in the settings and I haven't changed anything in the system settings (i.e changing android permissions).
I recently upgraded my S7 to android 8 if that helps8 -
Can I install MATLAB for free even after completion of the course i.e 12 weeks?If yes please tell me how.
-
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 -
Hola community!! Everyone going over this, please read this once and honestly answer my query.
I am on a probation at a startup. When i will be full-time, then the startup has promised me to provide CTC of 7,50,000(inr) i.e 10,000$ (usd).
Now I want to switch this startup company. Here are my reasons -
1. Less people, more work. - Well, that's what we call a startup. The tech team consists of 3-4 members only and we ourselves have to do the whole thing from end to end. This consists of designing the architecture, PR reviews, qa testing and coding ofcourse.
2. I see myself that I am capable enough to earn 1.5 times more than the above CTC. Also, all my friends are earning 2x the above ctc.
3. Also, there is no senior in the team except founder himself. This really seems awful as can't learn from anybody.
4. Also, i have plans of higher studying due to which i have to entrance exams. So i need to prepare them too. Switching to an established company can mean more money and less work.
Now, can anyone suggest me whether my reasons to switch are legit or vague??1 -
Hi devRant!
I'm here asking for your advice!
I'm a MSc student in my mid 20s, I took a gap year to work as an IT consultant and I'm planning on going back to studying, keeping at the same time a part-time job.
I already have some experience as a data engineer, developer and sys admin. I'm also mastering in applied statistics and data science and have a BSc in physics. I'm planning to relocate around Europe. All I want is a salary I can live with and a good work/study/life balance (perhaps work 24-30hrs a week?).
So far I've checked out a few IT jobs website and I've found some suitable positions. Problem is most of them are fulltime.
Where would you search for such a job? Is there any website/portal I should prefer? How would you proceed?
Should I prefer any place in particular (i.e. Northen countries)?
Thank you in advance <3
Note: I know it's a very broad question, that's because I'm open to any piece of advice you are willing to give me5 -
Fucking android...
Spent my whole day trying to tint (i.e. alter the image color) some svg with a PictureDrawable in an ImageView.
Went android underground, thought it had something to do with LAYER_TYPE_SOFTWARE (since this was required to render the underlying svg), tried my way through ColorFilters and ColorStateLists...
8 hours later I discovered that apparently YOU CANNOT TINT a PICTUREDRAWABLE - this only works with BitmapDrawable. *argh*
And not a word of mention in the fucking documentation *tit*1 -
My coding style is mostly influenced by good old personal preference, but also because of a certain internship where there was a lot of gain to be had by making everything as reusable and testable as possible.
I guess you could say my motto is usability, readability and flexibility:
I like tidy, reusable code with an emphasis on keeping code readable. I've always liked modular things I guess...
And I despise two things: curly brackets on the next line and spaces for indentation... But way worse is having no brackets at all (looking at you Python): it's clearer to have lower-level code inside some sort of "container" markers i.e. brackets (also gives more IDE functionality like color-coding hierarchically).
Indentation should always be tabs so anyone can have their own width of indentation set through their IDE, making it way more accessible to fellow colleagues!
And I also like having parameterized code over hard-coded functions: way more flexible. -
I don't get keycloak. Anyone who has experience with it, please help.
We have what I would think is a common setup: a kubernetes cluster with a Spring boot api-gateway and keycloak as oauth2-provider.
The api-gateway needs an issuer-uri to keycloak for endpoint discovery, i.e. to configure a bunch of endpoints to keykloak for different purposes.
The two main purposes are: 1. to redirect the user to keycloak (must be an url reachable from outside the cluster, i.e. ingress) 2. to authenticate tokens directly with keycloak from within the cluster.
Keycloak can be configured to set some of these discovery endpoints to different values. Specifically it makes a separation between backfacing (system calls in cluster) and frontfacing (user call from browser) urls All seems good.
However, when using this setup, each time spring security authenticates a token against keycloak it says the "issuer" is invalid. This is because the issuer is the host on which the token was generated. This host was the one in the url which the user was redirected to i.e. the ingress.
It feels like there is no way around this except running keycloak outside the Kubernetes cluster, but surely there must be a way to run keycloak in the same cluster. What else is the purpose of keycloak having the concept of back- and frontfacing urls?1