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 - "qt"
-
(Qt + OpenGL) didn't piss me off for a whole week..
My point clouds are rendering great..
I guess I could speed it up a little bit..
I'm doing good..
So yeah..
no rant..2 -
I need to render point clouds in OpenGL for a project I'm working on. The problem is it just becomes too damn slow when the point cloud size increases. So I'm trying to use LOD methods and nested octrees to speed things up. Also, I need to render text too in my OpenGL scene. So now I'm stuck trying to show proper labels using Qt and OpenGL which is completely pissing me off by the way. And I'm not doing the actual speeding up thing I was working on earlier on and before that I was working on the actual function of my program. So I'm now deviated from the deviation.
Fuck my brain.4 -
Internet Download Manager costs about $24. It's not cross platform either. uGet UI looks old as fuck and shows positive in virustotal.
So I decided to do what most other devs would do in my situtation. I created my own download manager in QT 💪. It uses 16 different threads to download files and pretty much utilises all my bandwidth.24 -
Am I the only one who hates it that everything needs to be done in JavaScript nowadays?
Why can't you just start writing native software again? Why does every program need its own fucking browser engine and at least 200MB of RAM to do nothing but show and edit text?
I want to have fast and streamlined software again and use my resources for important things. So much software that is called fast or lightweight isn't either. It's just a little less heavy and slow than the software it tries to replace.
I don't use C all the time, but maybe looking into Qt instead of electron might be a start.
I had a project where I could convince my tutors to let me use C++ instead of JS and they were surprised how fast my application started even though it only consisted only of a empty window with a status bar. How far have we come that we even need to think about performance when opening an empty window on modern hardware?20 -
Seniors: Welcome to the team. Feel free to ask anything if you need help. There is no such thing as stupid questions.
New Dev: Sure. Thanks.
*a few minutes later*
New Dev: How to comment a code?
Seniors: Google it....and please don't ask stupid questions.11 -
I have my best moments but the first time I felt badass about computers was when I was at kindergarten.
There was one computer with one cool game with skateboard. I wanted to play but the other kids didn’t let me.
I thought that if it look like I fix the computer they will let me. I took me month or little more but I made shutdown bat(I didn’t really understood fully) and I added it to the game shortcut from usb.
One of the other kids started the game and the computer turned itself off. Hi tried a few times and then I offered to fix it, I created new shortcut replacing the “hacked” one and the game ran.
From that moment the computer and the game were always free for me.7 -
At the Samsung store:
Woman looking for a phone: Can you recommend me a phone by a picture of me?
Seller: Why not, show me the picture.
The woman shows https://devrant.io/rants/728524/... and the seller starts looking for something.
The woman asks: What are you looking for?
Seller: Note 7.1 -
Once upon a time I tried to resolve a Qt bug and ended up accidentally destroying my whole system 5 minutes ago.
-
#!/bin/bash
echo Hello World!
This is my first time here at devRant and I have to say that it's amazing!
Just something to fill this a little more:
Linux enthusiast since 2011.
I'm your stereotypical v̶e̶g̶a̶n̶ Arch user (btw, I use Arch).
Right now I'm learning C and C++(using the QT framework).
Let's the Rant games begin!10 -
I hate that trend of making things more lax in terms of implementation quality while writing it off with a simple but stupid "oh computers are faster now, users have the RAM, yadda yadda". Yeah but back in a day things were actually running pretty damn fast in comparison while doing it on hardware that is totally potato in comparison to what's used now. This trend eats away ANY gains we get in terms of performance with upgrades. It deprecated the whole notion of netbooks (and I kinda liked them for casual stuff), since now every goddamn one-page blog costs you from several megabytes and up to tens of megabytes of JS alone and lots of unnecessary computations. Like dude, you've brought in a whole Angular to render some text and three buttons, and now your crappy blog is chewing on 500 MB of my RAM for whatever reason.
Also, Electron apps. Hate them. Whoever invented the concept, deserves their own warm spot in Hell. You're doing the same you would've done more efficiently in Qt or whatever there is. Qt actually takes care of a lot of stuff for you, so it doesn't look like you'll be slowed down by choosing it over Electron. Like yeah, web version will share some code with your desktop solution but you're the whole reason I'm considering your competitor's lack of Electron a huge advantage over you even if they lack in features.
Same can be said pretty much about everything that tries to be more than it should, really. IDEs, for example, are cancerous. You can do 90%+ of what you intended to do in IDE using plain Vim with *zero* plugins, and it will also result in less strain on your hands.
People have just unlearned the concept of conscious consumption, it seems.28 -
Do you know what is world needs?
Good fucking tutorials for all programming languages.
Every time I want to learn a language it's a fucking mess. Tutorial here, tutorial there. Read the docs, it's fucking outdated. This person using this design, that person using that.
I am so tired of this shit.
also, for a simple example most website uses some complex architecture, something they think is the next thing.
Even searching for a simple QT singleton pattern gives me a webpage from QT Wiki which uses templates, typedefs and this shits to just show a FUCKING EXAMPLE OF THREAD SAFE SINGLETON.
I really wish there's was a greater platform for this. A platform that follows some certain standard rules for tutorials.10 -
"Sooo, children of the village, what are we going to write front-end in?" - I said to my infant students.
"Typescript with ts-loader/awesometypescript loader for webpack" - simultaneously yelled the kids.
"Exactly! Brilliant! And now, what are we going to be writing back-end in?" - asked I then.
The kids yelled: "PHP 7.2 with Laravel, or Go with Gingonic and juliensmith/httprouter, or Typescript without loader, with express/koa"
Truly stunned with their excellence, I asked "Well, now you 100% ain't gonna get it right - what are we going to be writing a desktop application that doesn't require a lot of native functionality and preferably, cross-platform in?" And the kids didn't hesitate to yell happily "Typescript targeting Electron", which has only brought tear to my eye.
"A native ms windows app?" "WPF under C#"
"A native gtk app?" "Vala"
"A native KDE/XFCE app?" "Cpp/Qt"
"A native mac app?" "Swift3.2/4"
I was in tears, just thinking about what future these kids have, but suddenly I have noticed one of kids seemed puzzled. It was Pajeet, an indian guy, ugh, his mom was a bitch. I asked him "What is wrong, little acoustic?" "But I like Java, and I would like to make back-end with Tomcat!" he replied. "Ooooh :3" cutely I moaned, trying to reach the handle of the table locker "I've got something just for you". I pulled out a rope, with sewed-in spikes, covered in drool and piss, came up to Pajeet and tenderly put it around his neck, making a knot. Pajeet fell under the table, and I got fired.8 -
Team: Qt doesn’t let us build the UX we have in mind. Web is the future.
Me: what do you guys recommend ?
Team: Electron! We vote for Electron!
Me: Alright, who know JavaScript here?
Team: ...9 -
I had to create a c++ dungeon 2d game as University project.
The spec said "a terminal game made with char"
I and my team made a real game with anemies boss, and balanced stat in 15 days with Qt (we asked if can use external libraries)
We got 6/8 point for the project cuz we forgot to put protected/private the attribute of the player...3 -
Editing this method for half an hour. All of a sudden I realized I was editing the wrong method. This was me.
*Slowly presses CTRL-Z 100+ times*4 -
AI robo revolution 😁joke/meme machine learning tensorflow keras ml opencv ai to overtake humanity soon ai face recognition
-
Google:- Google home is using machine learning to remove all type of back noise like traffic, air, and others so the call experience goes smoother.
Microsoft:- In Skype we are using machine learning to catch all type of back noise and mix it with your voice. Skype will try every possible way to make your call experience as bad as possible. Every type of noise Trafic, Air, hardware, your breath if there is nothing! the software will cut your voice and send only a few parts.4 -
I am Done! I am extremely burnt out and unhappy with my work. I have been doing this professionally for over 5 years now and much longer than that unprofessionally.
This new company I joined finally gave me the salary I always dreamt of but now I am extremely unhappy and depressed and anxious all the time. And I don't like the work I am doing. I don't like the team. I hate being isolated at home for over 2 years, working from home. I had a mental breakdown in the middle of the meeting the other day. And after that, I said. that's it. I am done. So, I gave the resignation letter. I don't know what I am gonna do. But I sure as hell can't do this shit any longer. But now, the fucking hr is making it even more difficult for me by not letting me leave without serving the notice period. I told her I am on fucking medication and I am having severe mental health issues. Now, she wants to see the medical certificate. Or I have to pay two months' salary. WTF? If I had that kind of money lying around, I wouldn't have slaved myself away at your shitty company, would I?
I went to my psychiatrist whom I have been seeing consulting for the last couple of years now. I asked for a medical certificate and he thinks it'll hamper my future career. So, he said I should get a certificate from a general physician. So, that's the world we live in then? You can't even speak the truth? And the way HR is behaving over the mail makes me feel like a total slave. I mean I am not at all fit for work these days, and it feels like, if she had her way, she would tie me down to a chair and ask me to push out code. what the fucking fuck. This is some fucked up industry and I think I am finally done with software development. But now, I don't have any idea what I am gonna do with my life or how am I gonna earn money. I am so burnt out and anxious that even the thought of working again gives me panic attacks. even working from home. What the fuck do I do?8 -
Marketing : Do you think we can implement this feature in a system?
Dev : Hmm....*checking specs*...This will...
Marketing : *interrupts* we have already signed a contract with a client.
Dev : ugh......7 -
I've never used Windows in my day-to-day life. No kidding.
When I got my father's first computer, I used an old distribution called BBC Linux. I didn't have any computer knowledge, it was my first contact with a computer, so I went to a friend's house and asked for a CD to install on my computer. I don't know if this friend ended up making a "gotcha" and thought I'd give up, but I just read the manuals and fell in love. That was year 2000.
Then I used Conectiva Linux, then I went to Red Hat 9, then Slackware, then in 2007 I started using Solaris. And I stayed on Solaris (Solaris 10, Solaris Nevada and OpenSolaris) until 2011.
In 2011 I bought a Mac. I stayed at Apple until 2020, when I couldn't stand Apple forcing me to buy new computers (I still don't understand how a 2011 iMac, i5 (4 Hyper Thread cores) with 16GB of RAM, 1TB SSD only runs up to High Sierra).
Then I bought a Dell. It came with Windows 10, the first thing I did was install WSL2. I could not stand it, the system is bad, sorry. I installed OpenSuse and have been using it for two years.
It's just that every day someone tells me "how can you use this"? "There is no alternative to Windows, do you want to be different?"
I know that my story was the reverse of the "mainstream", so I'm going to talk about my vision of Windows, that in my brain it is actually the "alternative".
- Having a file explorer without "tabs" in 2022 is unthinkable for me.
- I love terminal. And the Windows terminal is very limited. "ps ... | awk ... | xargs ..." is a must for me. "find ./ -name '...' -exec ..."... these things on Windows are totally "different" and have the "powershell way" while all other operating systems keep the same form. And cygwin is not an option. As Wine for serious work is also not.
- Dragging a file into the terminal, and having it write its path, is so natural, that when Windows didn't do it, I was dismayed.
- I've always used StarOffice, OpenOffice and now LibreOffice. All the people in my story received my documents and reports as a PDF and no one complained. Until a coworker saw me editing in LibreOffice and said "oh I want it in word format". As long as he didn't know, everything was fine, right?
- Windows is paid. And is there advertising? I don't understand. And I refuse. If you want to display advertising, then excuse me. I have no problem paying, I'm not an opensource shiite. It's just that paying and not working bothers me much more than an opensource that I can fix or expect a fix knowing the good will of the people involved.
- Hyper-V is a joke. QEMU/KVM is better, and Bhyve on FreeBSD which is a very young project, is already a million times better than Hyper-V.
- Developing in C/C++ for Windows is only possible in two ways: Either you've always lived in Windows and your brain is conditioned, or you compile with MSYS2 (CLang or GCC).
- There is no significant evolution of the windows desktop since 95.
- Multiple workspace support with multiple monitors, not ready. It's another joke.
- REGEDIT does not need any comment.
- The system loses performance over time. I still don't know how Windows achieves this.
- I've seen people complain about desktop fragmentation on Unix and Linux. Many DEs end up leaving applications with different themes (like running a Qt application in Gnome and GTK in KDE), but to be quite honest, the lack of Windows standard bothered me much more. Even Microsoft's own software is completely different: Control Panel, Calculator, Paint and Office, To-Do, and Settings, have horrible style differences and look-and-feel fragmentation.
- Dark mode has not been implemented. It's another joke. Many applications are white while everything else is dark. Sorry, even on Linux which is a mess, this has been resolved. And well resolved.
- NTFS? Serious?
- C:, D:.. It doesn't convince me since DOS.
- Bloatware.
- News "biased" in the search bar is a lack of respect for those who use the computer to work.
And that. For me, Windows is the alternative operating system. I can't take Windows seriously, for me it's an experimental one like Haiku or ReactOS. It's good to play.
About market share, it doesn't convince me to use it. But convinces me to sell. I've always developed applications to run on Windows. And when I need it, I turn on a VM to compile the project. But in everyday life? Impractical.15 -
Just finished recovering all deleted files from my old hard disks I found in the attic, just for fun.
I was hoping to find some old photos or something. Instead I found my awful old Qt code.
Back when I started the recovery it was sunny and perfectly clear outside. As soon as I found the code the skies went dark and now it’s raining like hell and lightnings are blasting.
Wtf i just summoned2 -
Windows 10 has just decided to reboot my notebook during the installation of Qt... because the updates are more important...
-
Applied to a Jr. Dev job and was hired as a Digital Marketer — I can deal with this, I’m AdWords & Analytics certified. What I can’t abide is that I spent the last year working my ass off learning to code and the person next to me with the Jr. Dev position only uses DIVI and has zero inclination to study, learn or write basic HTML & CSS—much less PHP. I’m not an expert by any means but I love programming, I love the problem solving, the challenges and the culture of it all. So far, and these are only two examples, I’ve shown him how to use the target attribute to open a page as a new tab, and how to register a nav in the functions.php file to create a menu but he is unwilling to even attempt it. Rather, he told me that I was too technical and that no one would be using code in this day and age.
For the record, I think DIVI is a cool platform, it’s clear that my boss knows nothing about code to be fair and I love my job— this is my only issue so far😂 I just needed to rant.5 -
So, this is probably somewhat esoteric but...
While studying at university I had a "programming paradigms" module, dunno why they called it that, it was more like "introduction to functional programming".
So, it's kinda mind bending, we'd only really started to get our heads around classical object oriented programming and they throw functional programming at us.
It's worse than that though, for do they use an established language, like lisp/scheme, functional Python, or even given Haskell?
No, of course they didn't. They taught us Oz.
You probably won't have heard of it, but this language is burned into the back of my brain, along with a vague understanding of the n-queens problem we had to solve graphically (using qTk, which I dunno if someone took qt and tk and blended them, I stopped asking questions after a while).
To top it off did this language (at the time) have a stand alone interpreter? Did it buggery! It was coupled to the Mozart programming system, which is just Emacs (which has a bloody lisp built into it,so close, yet so far 😭).
It gets worse, though, oh does it get worse, for pause dear reader and consider, have you ever heard of Mozart/oz before, I'd put money on most of you had not heard of it until today.
For, you see, I believe at the time of writing, one, yes, ONE text book exists on this language. When I was doing my assignment there was merely some published conference notes and language design documents.
That's not all, I was not the only one experiencing difficulties with this language, someone in the class ended up pouring through the mailing lists and found the very tutor teaching the class struggling at first to understand the language.
I had to repeat that year. The functional programming class was one semester.
When I retook that year, it was a whole year long. However, halfway through the year, original tutor was fired and a new tutor was hired to teach the language.
He was, understandably, just as confused as we were.
There was a Starbucks and a pub equidistant from the lecture hall, though in opposite directions. From lecture to lecture we had no idea which one we'd end up in.
I have reason to believe Mozart/Oz it some sort of otherworldly abomination designed to give students the occasional nightmare flashback, long after they've left.
My room had post it notes, sheets of paper, print outs, diagrams, doodles and pens, just stuck to the wall, I looked like a raving lunatic three hours away from being institutionalised. There was string connecting one diagram to the next and images of a chess queen all over. As I attempted to solve the n-queens problem.
Madmans knowledge, I call it. I can never unlearn all that, in fact it seeps into much of the code I write. Such information was not meant for the minds of a simple country bumpkin such as myself...
Mozart/Oz... I wouldn't be the programmer I am today without it, and that's frankly terrifying...10 -
For anyone wondering "rm -rf /" on a jailbroken iOS 12 deletes many of the system apps and services but device is still kind of usable without too many crashes, still managed to set boot nonce and restore (thank god).2
-
Wanted to learn something about API in Python, so I made a little program during a boring lecture. Want to learn qt for a GUI, maybe i can combine those two things. :)2
-
The personal trainers in the fitness that I go to are graduated programmers(.net, javascript, sql...).
During rest I can talk about something I love to people who understand me, guess I am lucky. 🍀2 -
People with "I am a senior, only I have to be right" mindset are really fustrating to work it.
It is not that hard to accept the truth. No one can be right all the time and no one gonna look down on you for that. You don't have to shove off-topic stuffs down the other people's throat when you realize you might be wrong.4 -
Installed Manjaro KDE, updated macOS, updated Windows and fixed the mess in the EFI made by those actions.
And now it’s time for screenshots: https://imgur.com/a/KviNx
(high-res imgur link)4 -
I'm getting convinced that some areas are not teachable. You have to learn it by yourself. Databases (sql), for instance, the teacher never manages to get the class attention. Even I that consider myself a very interested guy can't handle 2 hours of his explanations. I tried to think in a better way he could teach the content but don't really think there is one ..Do you guys faced issues like that in school?3
-
One day i type hello world program.
And i was amazed that for the first time someone (something) is doing what i tell it to do.
And that's how i got interest in programming.2 -
!rant
Does anyone have an idea about a nice goodbye message to write on cakes for my last day on my summer job?
Requirements:
- Should be short enough so I can write it with a choco pen on 20 cakes of about 10cm each.
- Should be about me leaving (I worked on a terminal application in qt c++)
- Should have something to do with programming17 -
I've come up with my fair share of dev pickup lines over time. I'm particularly proud of this one.2
-
How much You know from this?
How much you are earning by that knowledge?
How much your company can give that person?7 -
Is it just me or do others also question their decisions regularly during a project?
Is this the best framework to accomplish this task? Should really I name the function like this?...
Currently thinking about whether Qt is the right framework for (cross platform) app development. Guess the grass is always greener on the other side...7 -
How do people justify writing GUIs only for Mac and Windows? They could make just a single QT program which would work on Linux too.11
-
I am good to the programs I use.
I give the all the needed ram.
Except Android Studio, I don’t have a fucking server.7 -
At school I was excited when our teacher said he will teach us programming with VS.
I was expecting C# to show my skills but the he showed us a big book about Visual Basic with VS Express 2010.
I was literally dying.5 -
My manager's boss just commited on a delivery date a month from now. We dont know what is to be delivered, nor does the client. We are supposed to work on a platform that we know nothing about. And of course the catchphrase is : yeah just use big data and spark. I'm dying...5
-
God Apple, why tf does the Fill Screen / Fit Screen button only turn bright / change glyph sometimes ☹️3
-
I forgot to eat today, but I have boiled down the devRant theme system into just a few classes... and the "window" one is redundant-ish
Now that I can dynamically theme Qt widgets, my client will be able to support custom themes, confirmed!2 -
Who else hates tutorials.
They are made with so much text and outdated code that it’s better to write the thing needed by yourself and stack overflow.🤔4 -
I’m developing a fairly sophisticated desktop app in Python with PyQt5 as the widget set. Because my partner insists that all the kids these days love Python.
Piss on Python. And that goes double for PyQt5.
I’m on the absolute hardest section of the app. It’s a fairly complex import of data from PDF reports. There are so many different parts that I decided to go with a wizard.
So, I built a QWizard in Qt Designer. It generates a C++ .ui file, but you just truck it over to the command line and run this pyuic5 command, and it converts to a handy dandy Python class. Woo. You can subclass it and consume it from your Python script.
Sounded SO MUCH EASIER than writing the wizard from scratch. But OH NO. I need to do custom validation on my custom text control at every stage to control when the Next and Finish buttons are enabled, which means I gotta overwrite some damn event.
But I can’t. Because I can’t subclass the individual pages. Because they’re part of the same damn file and the wizard offers no access to them.
I’m almost certain that I’m going to have to completely redesign the wizard so that it’s pages are in separate files, which means I have to recode the bitch as well.
The cherry on top is that there’s zero documentation for this specific thing. None. No QWizard documentation exists for PyQt5 (if there is, they’re doing a damn good job of hiding it), so I have to read the documentation for PyQt4. Not the same animal. Close, but different. Even with the differences aside, this documentation is minimal and useless. “We’re going to tell you in very general terms what you should do, but we’ll give you zero idea how to do it. And we know the very common code method you’ll want to try first won’t work.”
And getting at this stuff when you do it in Qt Designer is WAY different. And all that documentation is in C++. Because apparently you HAVE to speak C++ if you want any real info about PyQt. Because that’s perfectly reasonable, right?
So, now I’ve lowered myself and posted a question on Stack. Because, hey, once you get past the power-tripping, mouth-breathing, basement-dwelling, neck-bearded high school punching bags picking apart your question rather than, I dunno..., BEING HELPFUL, sometimes you can get good info there. Sometimes. They seriously saved my ass at least one time.
But yeah. Fuck Python. Fuck everything Qt.17 -
!rant
Found out about JetBrains student program and asp.net unix support and now I am the happiest person on earth!😊🙂😋 -
1) Using ScreenRecord record a video deleting his work folder(fake one obviously).
2) create command line vlc player to play this video on startup with flags -f and --no-qt-fs-controller
Eg. vlc -f --no-qt-fs-controller file://<file path>
Enjoy the show 👿 -
I fucking hate Electron, what ever happened to developing software natively? It's not like you have to stick to dot Net and C# or whatever, there's literally Lazarus or Delphi, which, at least Lazarus, not only is open source but also supports all major platforms.
Even Python has GTK, Qt and Pywin32 or whatever its called. While not exactly cross platform, it's still not eating up 1GB of RAM when you launch it.
I don't care if Bob from across the street uses it because he's too lazy to learn anything new, but when huge companies like fucking Discord (valued at 10B dollars) use it, it's insane.
More than once has Discord had a memory leak and was reaching upwards of 6.5GB of RAM usage.
Whats the most popular code editor? VSCode, Electron.
Chat client? Discord, Electron.
Wanna use something other than Discord? Maybe Matrix? Well guess what, while they do have multiple clients, the most developed and usable one is Element, yeah, Electron.
Slack? Electron
My crypto wallet? Exodus, Electron.
I genuinely don't think 16GB of RAM is enough nowadays. Thankfully I'm running a very minimal install of Arch Linux and do most of my work in a KVM, but it still hurts my brain.
By the way things are looking nowadays, We'll be using Javascript for Kernels soon.
Thanks for coming to my Ted Talk.
Also apparently the filter on this site sees ". net" as an url.10 -
Qt vs HTML5 everywhere, but not a single line of code in these blog posts about it.
Good job pseudo-tech-bloggers.🙄
And that comparsion. Qt vs Angular. What the fuck. Nobody uses fucken Angular.8 -
So it's summer holiday now, and I'm working about 3 days a week doing some c++ qt stuff. Why does everyone I talk to tell me I should "take it easy" or "enjoy my freedom" instead of "working so hard". I'd be bored out of my mind if I didn't (no I do not have a social life, nor do I enjoy basking on a beach burning cancer into my skin in some foreign country). In short, I dislike the dutch mentality of throwing away your money each summer holiday to be bored in another country for a week and telling everyone who doesn't off.6
-
So my boss is telling me they plan on moving away from Qt. The value proposition is just not there anymore. Maybe I will learn to be a C++ programmer again, and not a Qt programmer. This will be interesting the next few months.
Unlearn what you have learned.6 -
Tried c++ and Qt today
Expected output: "Hello world"
Running normally: (garbage)
Running normally, but outputting the length of the string to qDebug: "Hello world"
W H A T7 -
Android flow I’ve found(fixed in android 8, working on 7.1.1):
To make app uninstallable by the normal user make the app device administrator, add “android.permission.SYSTEM_ALERT_WINDOW” to the manifest and make sure it’s not granted by the user.
Now when you try to uninstall the app, it tells you to disable it from device administrators but the device administrator disable dialog is System Window handled by the app itself and if the app has this permission but not granted, settings will crash with SecurityException leaving the app untouched.4 -
I can't understand the people who are in love with Qt. Did you ever actually use it?
It has shitty UI components (compare them with Microsoft WPF or even WinForms), and it is fucking full of bugs. Really. I've never seen that many bugs in other frameworks.
I'm a Linux guy, but try .net if you want to see what a great framework is actually like.4 -
Fucking hate Qt.
Spent all morning trying to figure out how their bullshit QThreadPool works with their bullshit QRunnable but after a bunch of bullshit asynchronous testing I figured that my thread object was being collected and deleted before I was done with it, for no reason. Now if the race condition was documented... This wouldn't be an issue. But every google search brought up nada. Eventually I resorted to turning off autoDelete on the runnable, but then I just have a memory leak, obviously.
I couldn't find a way to manually clean up a QRunnable in Python. What the fuck.
I just went back to good old fashioned QThreads... This is why I quit Qt in the first place.18 -
I respect Qt
I respect Qt
I respect Qt
I respect Qt
I respect Qt
I typed every line and did not copy any of those lines to show how much I respect Qt.
Have a nice day, gentlemen3 -
A long time ago I started a project to make a devRant client with Python and Qt5.
I got far but got bored, or whatever. Was still in school, etc.
I have started from scratch again. Including a nogui mode. Sharing because I actually have made some pretty good progress in the past two days.
Plans: Besides the obvious fully-featured client: full support for plugins, custom themes, custom CLI commands. Multiple logins.
Considering a system that allows you to run a bot, and a bot framework (parsing arguments for you, marking notifs read, etc.)
And yes, it's called qtpy-rant (Pronounced cutie pie rant)3 -
The Qt ide lost me three files aka 1 week of work... Obviously it overwrote them with zeros so I cant recover them... Backups??? Well i didnt think of murphys law....3
-
Soon every hacker can move to Toronto and play real-life Watch Dogs.
https://amp.theguardian.com/comment... -
Started learning Python from Java, C#, Objective-C, Swift.
It’s like Rocket Engineer who have to build a car. It’s easy but you have to learn almost everything from the beginning.6 -
One crucial lesson I learned while diving into programming:
Use various learning resources. Everyone explains things a little different.
You can understand stuff much easier. -
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 -
What do you think about swift?
Does it have future?
It went open-source and is very fast and easy.
I found this project which brings swift to the server side in linux and mac: https://www.perfect.org/ and it seems promising.10 -
The qt is giving me such headaches. Can't build a project with spaces in project folders name. Are we back to 2005 or what4
-
Wrote some docs in a simple format. Really KISS here with the docs and the tech they describe. How's the readability?
https://algorythm-dylan.github.io/q...3 -
Thinking about including a file that is named: pleasedontdelete.cpp into the codebase. Don't include it in the project and put vague references to things in the code. Put variables that could be misconstrued as being related to bitcoin or some other cryptocoin. Put lots of comments saying: experimental.
Got a weird growth on my finger. Tried cutting if off with a razor blade. Now it is a stinging bleeding growth. Is not getting bigger. Just seems like a weird callous.
Found out gdscript has threading. Now I understand why Godot went away from Python. They actually wanting to do shit like threading. Every time I look into the gdscript library I find new gems. I mean it has a xml stuff in there. Found that today too.
Probably going to make a simple custom editor for a game I have been playing. I built a prototype a few years back on a weekend. Played the game again and now want it. I originally used Qt and C++. I think I will now try to make it in Godot.
I have been moved around the building as they move offices around. Now back upstairs instead of downstairs. Currently alone in a huge room that had cubicles. I am the only cube left. It feels like Davy Crocket at the Alamo. YOU WILL NEVER TAKE ME ALIVE!3 -
Can anyone recommend some android alternatives?
I'm not looking to move away from android permanently but I'm just curious, I enjoyed my time with UBports (fuck QT) and seeing projects like the PinePhone and Librem 3 just get me curious what is actually out there.
Currently rocking a pixel 2 XL but not shy on buying new hardware to test stuff out as long as it's within reason.
Currently had a look at PureOS (not available) and Sailfish, any others to give a whirl?6 -
Anyone have experience with Qt? I have been struggling with the whole Model/View concept for a QTableView all day, and I am at that panicking stage :(4
-
Is it legal to destroy other company's site or app. because they didn't pay your money in the past?
and also app they created is not secure.
The company is in another country.
.
.
.
If "No"
I'll still do that. I don't care.4 -
Let’s make statistics about from where are the most people out here.
boolean added = false
for (Comment comment: rant.comments) {
if (comment.text.contains(yourHomeland)){
comment.upvote();
added = true;
break;
}
}
if (!added){
rant.writeComment(myHomeland);
}16 -
I'm working in a complex CMake/C++14 project.
Many libraries uses EASTL as STL replacement, works and compiles flawlessly.
Have to use Qt5 for an application which uses the libraries.
The EASTL Library fucking collapses
Compile fails, 1k of syntax errors somehow.
After hours trying to figure out without alterating the EASTL library (i don't want to maintain custom versions of 3rd party libraries, an complete burden to maintaining updated)
Remove all reference of Qt5 from the code and the build system.
It fucking compiles.
Isolate an minimal build which only uses CMake, EASTL and Hello World in Qt5.
1k of syntax errors again.
Spend hours trying to fix it, no avail, still fucking 1k syntax errors.
I'm past beyond of the project development where ALL the big libraries of the project uses EASTL extensively.
One day C++ will drive me into the depths of madness.2 -
Google suggested me some article about how to preorder iPhone 8 and 8 plus.
To all devs who want to know my trick:
just buy second hand iPhone 7 or 7 plus and say it’s iPhone 8.
This is written by an iPhone 7 plus user and I suggest you if you want good look and functionality - buy OnePlus 5.2 -
What is the best PC spec for development?
Things I mostly work on: Node frameworks, React Native and some Java and C++ (QT)
I know that even a dual core is enough for this but it takes a while even for a webpack build to complete in my current build.14 -
When it’s 3am and you are working on an exception for more than 2 hours and have optimized your whole code just to be sure and remember you are writing swift not java: some ints have low max value like UInt8.3
-
For all the cheap-ass sys admins:
I wouldn’t pay 100$ a year to apple just to have push notifications when my server fucks up or an user fill my support form but I want to know that in real time but I have iPhone(forget about FCM).
So I downloaded pushbullet to my phone and integrated its API in my server and when something important happen I get completely free notification which (thanks to url schemes in ios) redirect me to my server administration app.
Note: I used xamarin for my management app to be ready for the moment when I switch back to android.2 -
I refused to get into python pretty long but yesterday it happend. I got the py. :')
Coming from Java/Netbeans I tried installing it again (for personal projects), but since Apache took over and Java 10 got released I never seemed to be able to accomplish a clean IDE install.. I gave up while I wanted to turn a current python programmer to java and, again, Netbeans fckd me over. I tried IntelliJ again afterwards but Netbeans seemingly fcked over the whole JDK installation too, so I gave up for real.
Everyone in my vicinity told me about python and it's coolness. I just.. no.
No {}, no semicolons, indentations are relevant... idk. I did not want to, but some part of me still wanted to try it. I want to work in the infosec branche so it definetly should be one of my interests shouldn't it?
So I tried yesterday, installed PyCharm and in literaly minutes (of course with trusty Stack Overflow behind me) I had a Qt based GUI which functioned as a basic webbrowser. I was intrigued. Well, I took like 100 times that time to get a working .exe out of my .py with all dependencies, but with the help of mentioned python friend I also got this to work. Python is cool now, I guess... ;b -
My first software.. Okay. So first time I ever attempted was with my father, i was around 8 or so, i remember very little from it, but in nutshell, i somehow ended up at his job having day off school or something, no idea.
Apparently he was bored, so he decided yo show me... Basic. Yep, thats right. Frking basic. Anyway, he shown me some really basic stuff in basic, and pushed the envelope really hard, just trying to force into me more and more in these 8hrs. I started with filling screen with "o" characters. Most of times he was telling me what to write with elaborate explanation why. At the end of the day, we finished with simple maze game where player was "o" and maze walls was #. Without any goal, or anything.
Next day i was at point 0, understood nothing from it except how to handle keystrokes (and belive me, that for me was huge mindblow, and even bigger mindblow that it actually made prefect sense).
I dont remember much, but later i started with father-assisted c++ and some pascal. I immidietly loved c++ but dropped learning it for (NullPointer) reason.
Thats not really project imho, so now time for my actual first project.
It was about time when ARK survival evolved was a fresh thing, i was playing it a lot. Server admin became buddy. We all complained about max level cap, but to change it in config you needed to input whole new xp curve.
At that time i had great familiarity with google and computers, some thought i was some kind of PC god (seriously I heard someone saying so about me lol) just becouse I could ressurect most cases of broken windows. And I had next to zero programming expirience. It was about to change. I made first c++ actual program, that was making xp curve for you. It took me just bearly 2 days and was series of cin, cout, one file open, some maths in loop, and done. Maths was very bad. But i pushed it into steam forums, and one guy responded how.bad my math was, so we colabed on making 2 iteration. Took around week. Than half a year passed and we wanted go big. Go gui. I had no freaking idea how making gui looks like. Community liked my cli tool, we had quite a lot of downloads, why not go GUI. And thats when I discovered QT framework. And we had few features in mind... It took us half a year to make it. From 60 lines of code i jumped into 1k lines of code. We pushed it and immidietly started working on 4th version with much greater customizability etc.
Than i finished 18 and found a job. Job in php. I got it becouse I made this project.
Now project is abandon. This project also gave me a lesson that donations will not feed you.
Edit: and before you think about my father that he was nice person to show me code, trust me, i dont know bigger dick than him. -
It is really frustrating when you have deadlines to meet,and need to fix issues with the tools instead of actively produce something. A whole day lost.4
-
Rant && SPAM alert!
I'm learning QML, to create plasma widgets and I wasted all the fucking day fighting with layouts and trying to understand why the settings window was not rendered (now it's rendered but I still don't understand why it wasn't before, the code is the same!)
so at the end of the day I ried to apply what i learnt in a fresh new widget that shows (some) PiHole statistics from its API.
on first run:
it runs fine, no errors... ok let's do some tests... turn off network, whole DE freeze WTF!?! one widget error (network error in this case) can freeze the whole DE.
restarted plasma, FIXED the bug (debugging process basically is:
try something - freeze - restart plasma - repeat
),
No more freeze!
if you're a KDE and pihole user and you want try my widget:
https://github.com/ShellAddicted/...
P.S: I'm adding right now a switch to quickly enable/disable pi hole over API directly from your desktop. i will push tomorrow.4 -
Sometimes it confuses me, if I have to use pointers or not in c++ & qt. Especially when both variants work fine. :)1
-
This moment when you worked 500h on a awesome class that will fix thousands of your problems.
And suddenly you find out that Qt already offers a class like that :c2 -
When i code in PHP. I forgot to type semicolon.
When i code in Kotlin I forgot that semicolon is not necessary.1 -
QT Creator and openframeworks on Windows 10 fucking suck!
- Qt creator keeps getting issues with the system. Missing DLLs etc. Fuck you, Qt Creator! They aren't missing. I double checked them. Redownloaded them and installed them.
- Besides of that your inbuilt compiler sucks big time. It takes me a fucking minute to see a complete program with a simple text on a GUI.
Now back to openframeworks.
- OF doesn't use the pre-installed codecs on Windows. You have to install K-Lite codecs to play mp4 n shit.
- If you want to embed a video or an image on the GUI, you keep getting a layer on top of the canvas. Yellow colors turn blue etc. Fucking weird.
- OF isn't a fan of Windows. Tried to install and run OF on VS 2019. It is not supported.
How about we follow the documentation of OF and install it their way? Great. Let's do it.
It says install VS 2017.
Ok, let's try it on VS 2017. Doesn't work.
I realize that they use VS 2015 in the video of their documentation.
Geez. Ok, let us try it with VS 2015.
Tries to download it, but with no success. Microsoft isn't supporting it anymore. Thus no way to download it from the official website.
- How about OF on Code::Blocks?
Not supported. Doesn't work.
I reinstalled everything. Made a Windows update. Rebooted it. Still a big nope.
To both dev teams: Get your fucking shit together, you bloody morons!4 -
I'm a beginner in the programming world and I know this is kinda crazy. But how great is the idea of me specializing in C++(not saying just that) ? Will I have a lot of scope? I'm already learning frameworks like qt. So am I wasting my time? Thought I should hear from ppl in the field already. Thanks9
-
Gotta love it when CMake manages to change the way it handles GLEW in the latest build and breaks the QT moc inclusion directive in the previous. I absolutely detest the current state of cross platform build tools and environments. The amount of ffing time wasted on this crap is just beyond me.2
-
Just started a new job as a software developer, even though I basically applied as an embedded software developer. I knew from the interview there was gonna be alot of legacy / high level stuff and they were pushing me away from embedded with the promise I could do it 'later on'.
Finally started and it turns out there's a shit tonne of legacy Python code for their non-existent test framework that's basically tied directly into a Qt GUI app and I'm doing shit that nobody else wants to do. Can't see myself wanting to do this for anywhere more than 2-3 months. Should I just bail now? Seems a bit dodgy if I leave having only worked there for a week? Job actually pays really well though.
Plan was to take an extended vacation around July/August, so quitting this early and then telling another employer later on that I need to bail for summer seems wrong also, not to mention COVID sucks and is making everything hell now.12 -
How do you know someone is masochistic?
When the person tries to write an X11 application...not GTK or QT, simply everything from scratch.1 -
I started studying programming last year, currently learning c# and c++ at college (even though I'm a 29 years old electrical engineer.. long story...) any advice on how to start looking for internships and jobs? I feel very lost on how to proceed to gain experience and feel that many of my colleagues have the same issue. Thanks4
-
Archlinux
Sway
Alacritty
Neovim
Firefox
And there are Tons of open source projects underneath all of that, that you are not 100% aware of. (Wayland, gtk, qt, zsh, bash, sh, systemd, etc...) -
Things nobody told you when starting to learn a new programming language:
Congratulations! You became a collector. From now on you will collect websites, books and a ton of related software.4 -
What is the longest time any of you have been debugging one problem?
For me it was at my first internship where I was creating a multithreaded qt application. I had a problem that took me two weeks to figure out. I was trying to call a function from a qt thread when it wasn't the main thread. Took me two weeks to figure that out since it was my first time doing multithreaded applications, and the fix was dead simple.
Any similar stories?1 -
This is why I don't use and will probably never use Python.
Back in the uni days, I had a very important assignment. It determined whether I was going to the fourth grade from the third or not. It involved math and charting. It was very complex, and I spent a very long time on research, naturally. I knew Python 3, and I decided to use it. The only lib I needed was matplotlib, which I installed with pip. So I did the whole thing, tested it again at home, closed my laptop and was ready to go. My laptop used Windows 7 and was set up to ignore the lid closing. When I closed it, nothing would happen, even the screen stayed on. When I arrived at the lab, I opened my laptop, hit Ctrl + B as usual… and matplotlib import wasn't working. I obviously panicked, I tried to do something about it, but it just kept throwing an import error. Reinstalling the library didn't help. My friends too weren't able to help me. It just wasn't working, and that was it.
I failed the assignment, automatically. I had nothing to show. This was the first time I failed anything in the uni. Later I rewrote the code in C++ with Qt plotting library, and everything worked fine.
I never used Python since. I did everything uni with C++, and later with JavaScript. I don't care if it was Windows error or Python's. My Windows install was clean, I reinstalled it pretty much every year and kept the default settings. My laptop was for studying purposes only, and all my personal life happened on my desktop.
I didn't use exotic things like PyPy. It was just Python 3, the most basic, official installation. If you promote your fucking language as a cross-platform solution, please be bothered to make its basic behaviour stable on the most popular OS out there.
I will probably never use Python again. Maybe this issue was addressed and fixed. Maybe it wasn't. Maybe it never would've happened on Linux or Mac. I don't care. It's like maintaining friendship with a person that betrayed you. I just can't do it.
JS and NPM never failed me.6 -
!rant Been stuck with something for my thesis since december and somehow everything just clicked today. Such a relieve!2
-
Asked us to build a car and later complain because it cannot fly.
And then, expect us to turn into a plane in 3days? -
Qt to develop desktop apps. It's very well documented and easy to get with it. Even the green color used for the background logo is nice!!!3
-
Went from notepad++(and it’s mac equivalent Brackets) to Dreamweaver CC and VS Code.
Feels good man!11 -
For chrissakes, the Stackasses on Stack Overflow have, in their typical fashion, downvoted my question instead of attempting to answer it.
I seriously need help with coding a PyQt5 wizard I made in Qt Designer. I’m so sick of fucking around with these idiots.
Can someone point me somewhere PRODUCTIVE where I might get some help? Looking at Experts Exchange and wondering if they have the necessary expertise. Getting to the point where I’m actually thinking of shelling out money. But I’d much rather just find a good online community or something.
TIA15 -
Opened up my laptop to install faster wifi card with macOS support and it turns out that I have m.2 type connection ready for ssd.
These fucking idiots in Toshiba have never said anywhere in this laptop’s specs that it supports m.2.
I bought 128gb ssd and installed it.
Fast af boie and no problems booting from it.2 -
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 -
Working on FCM today and actually this is not rant. 😃 🎉
Google documented everything correctly and everything is understandable. -
I need a framework that does http and websockets for C++. I have seen many that offer a crap load of stuff like widgets, Json, templates... I only need the protocols!
Do you guys have any experience in this?5 -
So I joined this digital agency where they are working on this ad-tech product and right from day one, I was given a task to implement a new feature on the product. No knowledge transfer. No onboarding process. So, I had given estimation about the task and apparently it took longer than expected. But what were they expecting. Anyways, my manager asked me to have a KT with the only senior guy that has been working there for last couple of years. And man, since the KT started, it's been hell for me. The guy is such an asshole and won't even give me a basic walkthrough of the system. He only took one call and that ended within 30 minutes. On top of that he went ahead and told the product manager that I am not keeping up and am not ready. And my product manager apparently wants me to take his place within a month. It's been only two months since I joined. I have already pushed two major features, tried to understand the system architecture, codebase and everything on my own. On top of that, I got yelled at by that senior dev in a meeting about a PR. I was quite confident guy when I joined and now I am anxious everyday at work and i am scared that they'll let me go because I won't be able to meet their unrealistic expectations. I also can't stand this senior dev and he can't stand me which makes me really demotivated to work. I have anxiety issues and now I am thinking if I stay, I am gonna mess up big time and they'll fire me or worse. I might break something in production because I didn't have proper onboarding.2
-
I've been working as a developer for 10 years now... I got my first software development job when I was still learning for my masters.
After all this time I have switched programming languages and product types a few times from web development to mobile apps to desktop software (C++, CEF, QT,).
And I have come to the conclusion that I want early retirement... like right now retirement... I'm done dealing with management that doesn't understand shit... dealing with people we have outsourced part of the shit to... needing to fix stuff that is broken after some other person refactored the code and didn't fully test it and it somehow got approved... dealing with people that think that "know better" and implemented things like that 5 years ago because they thought like "THAT" and will not accept my merge request because of that.
Like don't get me wrong I love to make and develop software, but since this is the 3rd job in the row with a toxic environment like this I feel like I need to move to the country side and open up a farm or something :|2 -
The other day I was working with libpulse in a Qt project. Because I didn't like to deal with a C library from C++ code I copied wrapper code from a well-proven project. Suddenly the wildest compile errors occurred when I only tried to include a header from the new code. After hours of frustration towards me, C++, the compiler and everything involved I discovered that one of the headers I copied had the same include guard as one of the existing classes.
-
When I code in Qt Creator, and a function get to be more than 950 lines of code, autocomplete/autoformatting stops working.
I feel like Qt Creator is judging me...2 -
Ok, OnePlus nice fucking job!
I receive all of my notifications even during night and I lose around 4% per night - this is almost iPhone level!5 -
When something worked perfectly yesterday and now it’s just fucked up without touching anything:
Cause today
That was yesterday
Yesterday is over
It's a different day
(Love The Way You Lie - Eminem)1 -
>> Herborist fails
>> Fixes QT errors
>> Still fails. Relink issues of libudev ; for weird reasons, it's asking to be linked to librt ??? And it's for a clock-gettime.
>> stack overflow: all about cuda and opencv, which can't be my issue.
>> Some asshat on GitHub comment section: mind your language when you're talking to maintainers.
>> Me: You mothertucking trucker! 😐😐😐
🖕🖕🖕9 -
qt compilation 2: electric boogaloo.
$ ./configure [dozens of options]
< building qmake, blah blah, success blah blah, run make && make install, blah blah >
$ make -j 8
< works for 5 minutes, then hits an error without telling me what the error is >
$ make -j 8
< works for 5 minutes until the same error. this time i notice it rm's a directory right before using it >
$ make # multithreaded fuckery, perhaps?
< fails after 5 seconds with different error >
$ make -j 2
< same >
$ make clean # fuck it, clean up and try again
< fails after 2 minutes of cleaning >
The C/C++ infrastructure. just everything about it. and i'm not even using dependencies here.2 -
Need to add a feature to an academic C/C++ QT project. I literally couldn't find a line of comment in the whole project, except for multiple // TODO: make this better.
Made a fast prototype of the new functionality with Python: 1 library, <100 LoC, about 30 minutes. Success!
Trying to get the same functionality to run in plain C/C++: after two hours the third library I tried finally compiles (and works cross-platform). ~250LoC and three hours later I have similar functionality as in the Python code. Can't wait to get this running in the QT application. See you on Monday... -
So I’ve been programming in c++ and I’m ready to step up to making gui applications and I’ve heard QT is practically the best and only option I have but I don’t have that money and the trial only lasts 10-30 days.. so what can I do?..13
-
Ported proprietary Chinese dll for specific device hid control and my windows program around it to macOS using swift.
Yeah that's pretty much how I feel. -
Switched to LG G5 from iPhone 7 Plus.
Lg's screen has burn in and took me about 10 hours to completely fuck it up, restore it, flash crDroid(Lineage os based, the only custom rom working fine so far) and workaround the faulty wifi chip giving null mac address by faking it.
Still love my new(old) phone more than the iPhone.2 -
I just started a new job last week. Old-school sysadmin role for a pretty old-school company, but the pay is nice and the kids've gotta eat.
They gave me a windows laptop. I haven't used windows for work or as a daily driver since 2016, and now, a week into trying to make this machine work for me, I have the following observations to report.
WSL is nice. It's nice to have it installed(though actually installing it was an adventure unto itself), and to set alacritty to open my default user prompt straight into that is very nice. As terminal emulators are by far my most used piece of software, that's nice to have.
Command-line software management through powershell, winget, and chocolatey are also very nice.
I like the accessibility offered by autohotkey, though there is something of a learning curve on it. Once I get better with it, I suspect that what follows will be largely mitigated.
The Bad:
In general, Windows is janky. It feels like it's all kinda taped together without any particular cohesion in mind. As a desktop, it feels decidedly amateur, compared to the feature-mountain polish of MacOS, and especially compared to the flexibility and infinite possibilities of Linux.
Lots of screen real estate is wasted, with window decorations, and fonts that look terrible at smaller sizes, because the antialiasing of fonts is just terrible. Almost all the features I depend on in other desktops: ad-hoc searches and launches(alfred, rofi) are-- again --janky. They work, but they typically require more typing than alfred or rofi. I admit I haven't spent weeks on this problem yet, but I haven't found a workable solution yet with wox, hain, and keypirinha. Quick searches like what you get with alfred, alfred workflows, and the swiss army knife that is rofi, just aren't possible or reliable with the tools I've used so far, and most require some kind of indexing agent to fully function.
It beggars imagination that a desktop in which users are subjected to "default apps" that is purported to be acceptable for enterprise, professional use, does not have a default entry for text editor. I installed nvim-qt, and I want to use it to edit anything and everything I ever edit with text, but all too often, apps have hard-coded instructions to open text files with notepad.
I want to open certain URLs with firefox, certain ones with firefox developer edition, and others with vivaldi, and yet there is not an app available that I have seen yet in my searches that allows me to set this kind of configuration. I found one that's supposed to, but it just ignores everything I put into its config, and just opens MS Edge for everything. Jank.
Simple things take too long. Like the delay between when I laboriously hit ctrl-alt-del to bring up the login and when the actual text field appears, and the delay between that and when I want to start using the computer.
Changing some settings requires a reboot. Updating some software requires a reboot. Updating permissions on something sometimes requires a reboot. And those are all on top of the frequent requests to reboot for updates.
I would have thought Windows would have overcome most of the issues that create these problems, but it's just, as I said, amateur.1 -
Learning golang to replace Java in my arsenal, I just wish they had a nice framework for creating guis similar to JavaFX
I know bindings exist to things like qt and GTK but why cant they have a nice native ui library.1 -
Made a root only app: enable/disable GPS, mobile data, airplane mode and etc. work on not rooted device(yes all these functions work too).
How: Desktop app which downloads cross-platform ADB drivers, unzips them, executes a few commands, deletes the drivers and voala.
P.S: I use local ADB TCP connection(yeah I ported a part of the drivers for java android) and write_secure_settings granted with 'pm grant'.
And everything is user-friendly with screenshots explaining how to enable ADB and how to click a 2 buttons.3 -
I'll go with IDEs (and multiple answers) for this.
In my *opinion*, the best IDEs are:
- IntelliJ and the other JetBrains products for almost any serious work. It's just too good (even though there are some bugs every now and there)
- VS Code for quick coding, hacking
- micro, if only a shell is available
Worst IDEs:
- Qt Creator: I just hate it, it's hard to configure, hard to use, big nope for me.
- Some IDE for the Clean functional programming language, which I've only used once and I don't know its name, but it was a painful thing to try to use back then (~3 years ago)2 -
I accept offer letter from x company.
And just before 3 day of joining i got far better offer from company y.
So i told company x that i got better offer I don't want to join there anymore.
They told me that after accepting i should not find new job, my word has no value, and told me "keep that attitude (sarcastically).
I know i did wrong. How do you guys handle that?
Is it wrong to accept other offer after accepting one?7 -
Hey remote workers.
What would be your advice for someone with experience that's interested in exploring remote work.
I'd like to target this question to remote workers that live outside USA/EU/UK. Say South America, South Asia.
A little introduction.
I'm a full stack engineer, did one project in embedded systems with QT/C++/RPI can do backend in Python, Node, Java, C#. I have some experience with React Native (just 2 apps)
I currently I do full stack with Node, React, postgres and caching with couchdb.
I gather requirements, write the projects, proposals and then I do the implementation. (Really full stack, I kinda like it though, when I'm bored with code I pick up an issue and contact the client to socialize/get answers. I found out that nondevs like to feel they talk to a human not a robot)
I'm making about 600usd/month (dev in a poor country) working 30hrs /week. I'd like to ramp up my income, working remote part time to fill up about 50hr week.
What can I expect?
Where do I start?
Are there part time opportunities for working remote?
What kind of roles are in demand?9 -
Develop an Advanced Course on Udemy on the Qt Framework I've been working in for nearly 2 years non-stop now.
-
So happy!
I made my first project (or at least started) using my iPad (with some help from my laptop).
I am trying to make it possible for web comic artists to upload their comics without any text in the speech bubbles and then load the text using javascript for the specific locale.
It’s in an early stage (a few hour old) and the editor and the viewer share data only with cookies and local storage instead of a server but it's still a concept.
What do you think?
Github: https://github.com/konstantintuev/...2 -
I've only used Cordova for cross platform mobile app development, I want to try Qt, has anyone used it before? Would you recommend it? Thanks.4
-
why's it so hard to get a windows/linux "software" dev job -_- there's barely any openings and the ones that exist want 5-8+ exp
I want to make GUI software with WinUI or QT for Linux T__T webdev aint fun, im bored of it now13 -
Fuck++ I C only red error messages which make me god damn furious. Why is it such a pain in the ass to ./configure this stupid external lib to work on Windows on MinGW and Qt Creator? Why can't I just pip install that crap and import from a single line of code instead of getting fucked several hours without even realising what's fisting me that hard?
You are penetrating me C++. I'm not happy with that. I can't figure it out cause the docs are crap.
Just add the path to the libs they say. Just add the include directory they say. It's damn easy they say.
You know what? IT'S A FUCKING PAIN IN THE AS I SAY! DAMN IT. -
Embedded Qt project. Has to ship in a week. Has problems with touch events.
Trace it to a problem in Qt itself.
Bugtracker: "Fix version: Qt 5.8"
5.8 is currently alpha.
Oh well... -
So, I got hired as an independent contractor and the first thing they do is put me on a trial period which will be paid if I am able to complete the tasks. But, they said they'll pay me if I complete the tasks provided each day and not hourly. which is fine except the tasks for one day is impossible to complete in a day. Now, I am not sure if it is a big prank or they don't know how much time it takes to implement something like that. Or are they willingly trying to fail me to see my limits? because as far as I can tell, the tasks are impossible to complete in a day and I don't know what am I gonna report in the next meeting. I don't have much experience being in these kind of situation. So, what should I do? should I tell them that it's gonna take more time? are they expecting me to tell them that or should I just shut up and try my best to finish it in a day? is this fairly common?4
-
This year I'm asked to teach Python with a GUI, but I've never used a graphic interface with Python. The chosen GUI must:
- Have an IDE, a sort of "drag and drop builder"
- Be capable of building software with forms, menus and multiple windows.
- Work with Windows 7 at least.
- Work with Python 3+
Any suggestions?
So far I tried:
- Tkinter: comes with the language (point in favor), but wasn't really able to make it work. Has no proper IDE, tried to use a builder called PAGE but doesn't seem to work.
- WxPython: didn't really play much with it. I've read some articles, but that's all.
- Qt: used several years ago with Ruby. Has an IDE (point in favor), but never tried with Python. This is my winner so far, the one big problem being the amount of stuff to install to properly work.15 -
I made a GUI with Java swing and halfway through I regret not using JavaFX. 😑 or maybe I should learn QT...10
-
Currently trying to make newer C++11 code run on a gcc 4.8 compiler. Also making Qt 5 code run on Qt 4.8. Enabling experimental flags on gcc like std=c++1y and turning on flags to turn off complaints about pre c++11 code. Have my cake and eat it too. My favorite so far it to create a proxy object so I can connect lambdas to Qt signals. This is supported in Qt 5, but not Qt 4. I feel like I am traveling back in time to when stuff was shittier standards wise.5
-
Am I the only one that has a hard time with front end development? I'm trying to learn Qt using PySide and it's kicking my ass.12
-
been exploring the options for cross platform desktop app, and i found :
java : both awt and swing look ugly, i really like OOP of java, and the way projects are organized is easy to scale, but i need to deploy the jdk, and the speed on gui apps isn't that great
C# : (.net/ mono, i can't grasp F# and vb is stupid) looks native on windows, not so much alien on both linux/mac, and being a java cousin is a pro, i found the Eto library for mono even looks more native on *ix than winforms
wxwidgets: for C/C++ so far this looks like the best option for total native feel and performance, but man i fucking hate C code, and this looks a lot like C code, even with proper native Cpp support, maybe i should dive deeper in it
GTK+ : did any one mention C code ? because this mother fucker is plain C with macros all over the place, it made me realize why wx is promoted as Cpp friendly, i doubt I'll use this
tcl/tk : even tho ive never wrote a single line of tcl in my life, the tk lib is the default ui for both python and ruby on all supported platforms,
and i really love ruby, and Python is Usually a joy to work with
Qt : this by far looks like the best option, proper OOP in C++, bindings for python (ruby binds are outdated), almost native look and feel on supported platforms, and even has a gui builder in xml or json/js (qml) however i bet I'll use such a thing, the building tho depends on an external preprocessor "moc" and some wicked macros, also makes working with templates a fucking mess, and the heavy dependence on QObject inheritance makes integrating external libraries a bit more tiring, the signal slot system makes more sense in python than in C++, since it makes me confused about the flow of the code
lazarus: is a freepascal implementation that looks and feels like delphi, not so much for native look and feel, but good performance and easy language to handle
electron : this fat mofo is fat, it's the slowest of all options, if i want an html app, I'll just compile a stripped down webkit and deploy that
what do you think ? and did i miss something ?17 -
Fuck
Threw together a quick Python/Qt app that would have been exactly what we were looking for...but no...the one class method I absolutely *need* isn't available in pyside2 yet.
Stupid asshats can suck my bologna pony.6 -
I'm doing freelancing.
One client hires me for 30 hours/week.
And I'm are getting work irregular.
Like
1 week is full of 30 hour
1 week just 10 hours.
1 week 20 hour.
What should I do?
I try to get other project but most of are For a full time.
One Client hires me but at that time the previous client gave me a full 30 hour's work so the new client could not get enough time and gave me low ratings because of time wasting.
I'm afraid that can happen again.3 -
I need advice!
I have a project idea that involves creating a cross platform gui but I cannot decide on a framework.
I have been toying with the idea of electron(ugh please no), c++ with either gtk+ or qt, Java with JavaFx.
I really want to be be able to create binaries for Mac windows and Linux while keeping bundlesize low and efficiency high. With this in mind I am leaning towards a c++ implementation but qt (which seems to be the best option for this route) has an insane learning curve. Is there something I am not thinking of that would satisfy these requirements?10 -
My patience for making guis has completely died, and it's making my open source work... fustrating. Tried QT, tried GTK+, tried swing, and JavaFX. Can't tell if I just suck at it or I'm on to something.
-
Our latest trainee is my worst "coworker". We have to hand him easier work everytime. Niw he's basically down to being less useful than clever regexps.
Me: change our include directives to inclde their Qt-module name
PR #1 comes back: doesnt compile: reject
PR2: first file I look at has not been touched: reject
PR3: doesnt compile
PR4: looks ok, needs rebase
PR5: doesnt compile
I mean: WTF. Am I really expecting too much? 😞 -
Finally finished my macOS+iOS project.
Mac app which play your YouTube playlist while displaying changeable image next to the player with the workout you are doing. It has features like:
-saving workout details in calendar
-download the currently playing video
-remove song from current playlist and add it to playlist with Old songs
-save the remaining songs of the playlist shuffled to new playlist to listen to them from your phone while you take a bath after the workout for example
-the app detects three playlists based on the description:
*”music” in description for Music playlist
*”newest old” in description for Old songs playlist
*”rest songs” in description for rest songs playlist(the songs you didn’t listened to from music playlist, this playlist is auto generated on exit if you want)
-the app can play any playlist or video from YouTube sent by the iOS app over tcp and add a song to your Music playlist if you liked it.
The iOS app features:
-gesture control for the main app over TCP
-chart for the weekly calorie burn retrieved from calendar.
View images: http://imgur.com/a/likbS -
Best choice: Getting into the technical stuffs... And blowing up my mind almost everyday with a never seen before problem.
Worst choice: Getting stuck into an IT 😐 -
In retrospection to the uproar about Qt tightening its license in a move against probably its biggest user (KDE), what do you think KDE should do from now on? Should they just trust Qt? Should they take measures? Should they fork Qt? Or, in a moment of utter madness, nuke everything and go Gtk?
-
Has anyone tried kivy for android on a mac using the newest android sdk and ndk?
If the answer is no, god bless you and your unhurt soul.2 -
It's such a bummer that the mozilla devs chose to release firefox exclusively on GTK for linux. I would love to see a QT build, or a QT-based fork. If anyone knows of one, I will pay in exposure.2
-
Can anyone suggest me some repo or blog link that has good code structure of node apis.
Something that can be use in big project. -
Why, how, why oh why is the PyQt documentation so awful how and why do i find stuff in some random blog that wasnt in there at all not even mentioned nothing :((((3
-
rant == needHelp(c++/Qt)
Ok, so I want to pass a pointer to my main class like
CSprite2D::CSprite2D(int number, Ui::MainWindow *i = 0) //gets the number of total sprites from MainWindow
{
number_sprite = number;
ui = i;
QTreeWidgetItem *item = new QTreeWidgetItem;
item->setText(0, "Node 2D " + number_sprite);
ui->treeWidget_2->items.append(item);
}
But I get an error (blablabla doesn't have a class type)
I know, some people hate it, when others use devRant as StackoverFlow, but I can't get any good results off SO, as I always get downvoted for some minor stuff3 -
Just after feature launch, major bug on production and now I am getting yelled at by my lead as the issue happens to be with the PR i was responsible for reviewing yesterday. Somehow a logic error got past my review. But considering how large the project is it wasn't possible for me to test out every possible scenario myself. They should have had QA handle that. Also, that was my first code review. I can't understand why my boss has such unrealistic expectations. Bugs are expected at this stage. I feel like he just puts too much pressure on me for no other ther reason other than to just trigger my imposter syndrome. That way, I feel like a bad developer even though I am working my ass off. And he gets to avoid giving me a raise. Cant believe I rejected multiple offers to stay at this company. I don't even know why am I still working for this company anymore.4
-
you think that when data comes from server you can read it? well you are wrong! you have to waiForReadReady(0ms) to be able to read data which is already here...
-
while working with c++(QT) remove inheritance. compile. all good. unrelated code just stops working in runtime. *pouring more coffee*
-
I've started using PyQT5 and I'm surprised at how easy it's been so far.
Anyone familiar with it, and if so, what kind of obstacles I can expect to encounter making custom widgets and styling?6 -
A question for people who are active on the open source community or anyone who succeeds in crwating some small personal coding projects.
How do you do it?
Do you have any advice on how to be more efficient when working on personal projects?
Each time I get an idea i try to start it but just give up or get discouraged by some related setups.
Also how do you find interesting existing projects to contribute to?
Please help. I wanna do more but never do anything. Am I alone in this situation?? I dont wanna get stuck in this loop anymore.2 -
I was discussing with fellow students at college level about which technology to focus for web dev. Angular, React or Vue.Js. Would like to know external opinions about that :) any advices?5
-
As a senior developer with a couple of years under the belt, do you think having an active Instagram, YouTube and Facebook account is necessary? Does It help professionally at all? or am I just wasting time that I can use elsewhere?
I am thinking about launching my own SaaS in the future. But as a developer, does social media presence impact in any significant way in your professional life?
I am kinda getting addicted to posting setup videos and reels on Instagram. I don't have an end goal in mind. I just find it a way to express myself. But sometimes even I get cringe seeing my own posts. I was thinking about ditching IG and Facebook and twitter and go back to writing blog posts or something.3 -
Holy f-ing hell!
Why do the small things have such fucked up corner cases?
This is very likely a giant bug with Qt, but how does this even happen?
I am using Qt with QML and sending data to a database on the backend. I call functions in QML from a Date JS object (property actually, but it calls functions) to set the date as a QDate. This is stored in the database as yyyy/MM/dd. This is fine. When I read the date out I convert it back from string to QDate and send this object to QML. Which then converts this to a Date object in JS in QML.
But at the point where it converts from a QDate to a Date object it loses an entire day. Seriously? You didn't gain a day going from Date -> QDate, but you lose a day going from QDate -> Date?
How long has QML and Qt been around? At least 5 to 10 years. How has this bug lasted this long? I don't want to do a bug report. I will, but I don't want to .6 -
In Python my favs are lxml and sqlalchemy. Very simple to use and solve the problem of xml and database very easily.
In C++ my fav is the Qt system of libraries. Very nice solutions for structuring an application, cross platform, good memory management, COW if you want it, etc. Every release gets better and better. Oh and boost should get an honorable mention. I really like the ranges library and some of the more esoteric libs it provides.2 -
The biggest drawback to QObject is you cannot template a class that inherits from QObject. It is an fucking pain in the ass. I have more work arounds and boiler plate because of that crap. I end up with code that if I find in the wild I would say: "wtf is this shit?" I end up composing stuff just to make it work together without coupling too hard. I guess if it works it works. If one of you cunts ends up working on this code I will apologize right now. But I won't be sorry one bit.1
-
!dev && dev_workflow
Hey guys, what are your favorite truly wireless headphones?
For context:
- my OSes: Android (phone), MacOS (laptop), iOS (tablet).
- my getting in love with wireless audio story: I have been using some Chinese ones off AliExpress just to test out the truly wireless waters, their sound quality and pairing experience especially on Android is pretty shit but the ability to forget that you have headphones in your ears and just listen to music obstruction-free is 🔥 but they are now dying so I am looking for a replacement.5 -
I was trying to run an algorithm since yesterday as QT was throwing error. But I tried it on Spyder and I don't know how but it just ran smoothly.
I don't care why it was not running, it ran and I am too happy. -
So I was playing around with JS inside of QML (Qt). I wanted to turn a number into a string and then modify individual chars based on certain criteria. Then I would convert back to a number. Should be simple right? Well JS would not let me write to the indexed element of the string. What the actual fuck? I need to drop to C++ to do actual string manipulation? I ended up looping the string and turning it into an array and then a join back to a string. There is probably a better way to do this in a more modern version of JS, but I am now starting to see why JS is a pariah on here. It has some quirks that make you question your devlife choices.
What was I working on? Some stupid crop circle thingy. I was trying to use the QML Canvas to draw some "simple" crop circles. So I started with this crop circle:
https://plus.maths.org/content/...
The result ended up being kind of a swirling crop circle thing. The static image was too boring:
https://imgur.com/gallery/900hogf
And yes, I was too lazy/cheap to license the screen capture program.7 -
I like watching the videos on the qt website where engineers with foreign accents describe their love of the framework it's kind of amusing
It's kind of a massive framework it takes up decent disk space !
Maybe Ill win the battle and finally eb able to keep photos of myself much diminished as these people apparently try to hide how hot I was in my actual 40s
Certainly had a slimmer waistline lol
Now I got that lower belly gut I'm working off slowly yay
Bottle of wine yesterday prolly didn't help but the 11 miles of walking today and the workout prolly balanced that out.
Need to get to running some more
Did that the other day doing sprint walks and poured goddamn sweat ! -
Not sure if reading tech blogs in bed while falling half asleep is a sign of brilliance or insanity.2
-
Trying to run the examples of Boost networking in two programs with QtCreator. Same Qmake file, one program compile, the other has a linker error. Why?????2
-
So you know those movies where the girl fells in love with the bad gay(kidnapper, thief...) and she doesn’t want to be saved.
Same relationship with me and JavaFX.1 -
One of our testers got the brilliant idea of switching the desktop environment to KDE on some debian. Response of our Qt-application: crash! - "Cannot mix incompatible Qt library"
Yeah. And we only want to support five distros in at least three different versions. -
https://youtu.be/5OhJ00an0mI?t=148
As per this ad Samsung use HTML & bootstrap to change voice of bixby.
can someone tell me how can i do this?
(If anyone from Samsung. Inline CSS is bad practice)3 -
Been struggling with compiling a PyQT-program the whole weekend. It worked with PyInstaller on Friday, except that the .ui-file was not included but referenced to the path on my computer. Have tried fbs instead which caused this error that now also occurs when I try to start the program created with PyInstaller.1
-
!Rant
Curious about the feedback I'll get from everyone here.
We are looking for a email replacement like slack that may also have a wiki component. So far Quip is at the top I think.
Also the idea of cross platform development is being floated and I've been looking at Xamarin and QT.
Does anybody work with these or similar solutions?3 -
Are there out solutions to create cross-platform GUIs withing a GUI (like Blend in Visual Studio) which does interface with C++?(leave out Qt)
Searching the web I only found GUI libraries in C++, which are big turnoff for designers.
Further research leaded me to a viable solution that seems haven't been built yet anywhere, I'm taking about OpenGL\Vulkan as the engine for a cross-platform GUI builder within a GUI.4 -
As I am coming from XAML, I wonder if it is possible to make multipage, fluent and modern UI in C++ easily. Not necessarily easily, but it shouldn't be as creating an OS.
I heard about Qt, I loved it, but it is a little complicated.
is there is any suggestions?4 -
Is there any websites where I can get few challenges order by difficulties of particular programing language.
Ex. I complete a Node.js or any other tutorial. Now I want to check and improve my knowledge by few challenges.
So is there any site where I can get that.
Like "Select Language and here is the list" -
So, I have joined this new company where I used to work few years back. Something happened before I rejoined, so no one is working there now except me. It's web agency run by my boss and I am the only employee working on over 7 projects including front end, back end, mobile, devops, and some marketing also.
Now, I got offers from couple of other series a funded startups who are willing to pay me 30% more salary. I know I will have less responsibility and more work life balance. But I hate the politics in those companies.
My current company is making good revenue but my boss isn't giving me the salary I am expecting.
He said it will take few more months to give me the salary I demanded.
I also want to build my own company and provide services someday. That's why I thought it'll be better to stick with the company so that I cam learn other aspects of the business.
So. If the company is making say over 200k usd a year and its paying me around 23k usd per year, isn't this kinda low salary for my experience, skills and value I bring?
How should I go about asking a raise?
Also, I don't wanna move to another big tech company. I hate coding questions in the interview as its been years I have prepared for a proper tech interview.
Also, how secure do you think my job is? Is there any future working here? Will I ever be able to reach a salary comparable to big tech companies?
Is it a good place be in right now? (i jave over 5 years of experience)5 -
Tried the past few days to integrate several push notification services into a Qt mobile app. I really love Qt, but sometimes it's a real pain in the ass..
Has someone experience with that? -
I want to learn, How to add test cases in android And also about layer code pattern. like Controller, View, model, persistence, network etc...
So Please suggest a few tutorial or blogs that help me.
And please give me some links that have a test for network functions and intent related test.
Something like the test for other methods that work of different thread. (Asynk task, Volley or etc..).1 -
Hey Arch people! Wanna help a newbie get started? I'm very comfortable with sysadmin and are currently using Ubuntu with XMonad for DE.
I'd like to 'build' my own, super minimal system. It should preferably have gtk theming with XMonad as de. I've been looking at suckless and are currently wonder what I actually need to prepare/know in order for networking, VSCode(or learn vim), QT and docker to run on the system. It has a Nvidia graphics card and I'd like to use it for ML too.
Dont worry, I'm also going through the Arch page and are looking for answers to my questions & thoughts.. I just know I haven't thought of everything yet, probably not even all the basics.
Oh and please roast me for my ignorance, as long as you tell me something useful 😝6 -
For the people investing in crypto: http://imgur.com/a/C32Taqt
A small reminder I made in IT class of course using the best programming language of all times about the best coin of all times. -
What is the price of internet plan at your place?
Mine:- 40Mbps (Unlimited Download) for 25 months in $11514 -
!rant
Hello, I am software engineer student and I am still learning but I would like to start a project to help a friend. The idea is to create a simple DB to manage stock of products, generate a few barcodes and have a few other simple things... btw the program needs to run on a small usb drive... yeah no server or anything.... but has do be like this for now. I was thinking about creating a QT interface for him to interact with the DB (sqlite3, is for a small shop), and for the extra functionalities. However I remembered of you guys and would like to ask for advice :) (I know there are free solutions for his needs, but I wanted to take the opportunity to learn more C++ and improve myself as a developer)4 -
Does anyone have any good crash courses in C++? I'm not looking to learn it to program in it, just to be able to read it. I want to use Qt in Python, but much of the documentation is missing or incomplete, so I'd like to be able to use the original C++ instead, but I can't understand have of the esoteric use of symbols.1
-
Been trying to use the Qt Installer Framework to build an installer. Seemed very appealing, cross-platform support, etc.
It is very easy to do the standard setup...anything beyond that you better be prepared to waist alot of time and get get half working implementations.
Want install over a previous version? Nope!
Want good documentation? Sorry.
User supported community to at least offer some help? Non existent. -
I'm currently creating a Qt Wrapper for libpulse by extracting it from an application. The mix of C and C++ code gives me crap and I really want to punch the guy who spread templates all over the place