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 - "electron app"
-
Postman: We will stop supporting our Chrome app. Please download our "Native" app for better performance.
No motherfuckers.. Go die, alone, while your fucking family watch you bleed to death helplessly.
Electron is not native, don't mix true native development with lazy ass electron. Fuck you. A native postman would've been around 15MB in size but your "native" installer is 68MB so shut the fuck up and don't call it native or I will stick my native dick in your fucking throats.
I develop native apps So yeah, I'm pissed when web devs are starting to call electron and JS as native desktop apps... They are not... Now fuck off you smelly cunts.40 -
I got board and decided to make a weather app.
I have designed everything except the font which is Open Sans.
The app will be created on Electron and will be my first entry into that world.
It is currently in the design phase but thought it might be nice to share it's development with you guys.
I hope you like it and as always feedback is more than welcome.69 -
WHY THE ACTUALL FUCK DO PEOPLE PUT JQUERY IN EVERY FUCKING PROJECT EVEN IF IT IS A FUCKING ELECTRON APP AND EVEN WORSE WHY FOR THE LOVE OF GOD DO THEY MIX VUE AND JQUERY JUST WHYYY 😢13
-
!rant, a success story.
I made a tool for a live streamer I like, for free. Something to find highlights in a VOD based on the chatlog.
It took me around 15h to make. It is a very simple electron app, the "valuable" code is ~70 lines.
I wasn't sure he would even bother to try it.
Anyways, I send it to him. 10 minutes later, the guy tells me that "this is amazing! You just saved me hours of derushing my streams ❤️"
That's great already, but it does not end there. A few minutes later he asks me "I know other streamers that would love it, can I share? And can I add you in our private discord?"
I have now a direct access to some of the best youtubers/streamers in my country 🤩.4 -
Imagine yourself exploring Medium, looking for some new awesome tools to try out.
You accidentally find the new, promising programming language. It called Blow. It promises itself to be “idiomatic”, “minimalistic”, “simple” and “handsome”. And it also compiles to Electron. You decide to give it a try.
It has its own package manager, simple and idiomatic – every package is “blow add” away. But it’s only three packages available: the “blowsay”, just like “cowsay”, the “this”, printing The Blow Manifesto and “blue”, which is simplistic, simple and minimalistic idiomatic handsome functional frontend framework built with simplicity in mind.
You want to build a todo app, so you type “blow add blue” and press enter.
Following Medium articles written by some guy wearing Ray-Bans, you managed to finally put a todo app together, after seven hours of straight up coding and fighting that simple and idiomatic syntax, trying to make it do what you need. Alright, it’s time to build it.
It has built-in task runner named “job”.
So you type “blow job todo”.
You spending three hours more doing “blow job this”, “blow job that”, trying to blow job everything you see. You’re tired and mad at those damn blow job hipsters created that. You literally suck at programming in that.
Everything falls apart. Things doesn’t work. And after another “ENOENT 0() 0x628 NOT_SUPPORTED”, you give up, admitting that you’ve really sucked at this.6 -
A critical vulnerability was detected in Electron and I urge all the devRantron users to update their app manually.
Please go to https://www.devrantron.com get the latest version which has the necessary patches.
Due to a request, we added compact mode in the app, which can be used to view a distraction-free mode of the UI. Notifications screen is a little bit more readable now. The read notifications are now greyed out.
Again, the auto update will not work for this version. Please manually update as soon as possible.6 -
I like memory hungry desktop applications.
I do not like sluggish desktop applications.
Allow me to explain (although, this may already be obvious to quite a few of you)
Memory usage is stigmatized quite a lot today, and for good reason. Not only is it an indication of poor optimization, but not too many years ago, memory was a much more scarce resource.
And something that started as a joke in that era is true in this era: free memory is wasted memory. You may argue, correctly, that free memory is not wasted; it is reserved for future potential tasks. However, if you have 16GB of free memory and don't have any plans to begin rendering a 3D animation anytime soon, that memory is wasted.
Linux understands this. Linux actually has three States for memory to be in: used, free, and available. Used and free memory are the usual. However, Linux automatically caches files that you use and places them in ram as "available" memory. Available memory can be used at any time by programs, simply dumping out whatever was previously occupying the memory.
And as you well know, ram is much faster than even an SSD. Programs which are memory heavy COULD (< important) be holding things in memory rather than having them sit on the HDD, waiting to be slowly retrieved. I much rather a web browser take up 4 GB of RAM than sit around waiting for it to read the caches image off my had drive.
Now, allow me to reiterate: unoptimized programs still piss me off. There's no need for that electron-based webcam image capture app to take three gigs of memory upon launch. But I love it when programs use the hardware I spent money on to run smoother.
Don't hate a program simply because it's at the top of task manager.6 -
This morning:
SLACK HAS A DARK THEME! ALL GLORY TO THE AMAZING SLACK TEAM! SLACK FOR PRESIDENT!
This afternoon:
OH GOD THIS THEME MAKES ME WANT TO SCOOP THE EYES OUT OF MY SOCKETS THE FONT LOOKS UGLIER THAN THE PILE OF SKINFAT I SCRAPED OFF MY MOUSE ITS AWFUL I NEED HUGS SEND HELP
Thanks, companies, for trying, I guess.
I love dark themes, but the ones provided are often even worse than the light themes.
They go overboard with extreme black/white contrasts, pick a super weird hue of puke-gray, or certain elements are unreadable.
So, please, instead of wasting the time of your designers on something that's clearly too difficult for them.... how about just making it easy to create community themes for your app?
Especially if it's an electron app, how hard is it to add a config option to import a CSS file, and provide one template as an example?7 -
I wish all open source desktop applications had the same combination of expert features and polish as Blender.
The state of FOSS applications for creating diagrams, DB management & ERD, drawing SVGs, editing video, slideshow presentations, document processing, etc -- Yeah just all of it seems to be either stuck in some 90's UX paradigm, or it's a basic-as-fuck Electron app with 12 buttons for toddlers.
I know... I know... it's FOSS, can't be entitled.
But there's a part of me that really wants to be.
Fuck it, I'm just going to be entitled.
FUCK YOU LAZY FOSS DEVS, GET YOUR FUCKING SHIT TOGETHER AND MAKE SOME MODERN APPS. THROW YOUR GTK TOOLKIT BULLSHIT IN THE TRASH, GO CHOKE ON YOUR RETARDED WINDOWS-95 THEMED TOOLBARS, AND START MOTHERFUCKING COMPETING. YOU'RE BEING SURPASSED BY VENDOR LOCKED $50/MONTH CLOUD ABOMINATIONS MADE FOR COKE SNORTING DIMWITS. DON'T GIVE ME THAT "BUT PEOPLE WORK ON IT FOR FREE" CRAP, IF BLENDER CAN MAKE A GREAT COMPETING PRODUCT THEN SO CAN YOU.
Ah, completely unjustified and unfair.
But it still feels really, REALLY great to get it off my chest.
Now that I have descended from my soapbox, I'll go drag my useless developer ass over to the nearest FOSS project and see how I can contribute to a slightly less depressing future.15 -
uhh, what the hell... I opened 3 screenshots, not massive raw files. I wonder if they made the photos app based on electron as well huh3
-
"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 -
My project at work (an electron/angular desktop app) has an exceedingly rare bug that causes it to crash-to-desktop while loading. Nothing about the bug makes sense, and there's no way to catch or detect it until the next run, and it happens 100% of the time for affected users.
There have been six confirmed cases so far (out of 500k+ users), and nothing linking them together. None of the fixes discovered by those users have worked for other affected users.
The worst part?
I was the first of those cases. I inadvertently fixed it for myself and haven't been able to reproduce it since.
I'm stumped!17 -
Follow up to yesterday’s “hybrid/cross-platform is shit” rant about Electron apps being blocked from the Apple App Store.
See the below image of the github issues template on the Electron repo, to file an issue for this problem.
Yes, this is such a common issue with their product, they’ve made it easier to file a github issue. Let’s not address the fact that there is a fundamental flaw in the approach they are using, let’s just make it easier to open a ticket while everyone waits to see if we are allowed to ship our app.
I’ve also heard talk that under some circumstances it’s possible for them to patch out the libraries causing issues. Apple provides tools to identify these libraries ... therefore Electron is doing fuck all to adresss this issue, and adopting a “wait until someone complains” style of approach.
A+7 -
The first time i made my own electron app, and saw it working and displaying live data the exact way i wanted it to be doing it.
At the same time, it was the first time i felt like been a real dev in all meanings. -
Don't you just hate where we're going forward with these different JS frameworks and packages? WebPack, Electron and all the other ways we try to use JS for desktop development and a simple build of a tiny project taking 10 mins on an average spec core i7 machine, then overdosing on npm install since every frikn thing is now so modular you donwload a gazillion packages just to set up user authentication with a simple route manager in your app.
JavaScript is fine really for certain purposes. It's these other frameworks that try to modularize every single aspect of it that sucks. If there's anything called too modular, JS has reached it now. over-modularizing, and over-complicating everyday trivial tasks just to introduce yet another frikn package or framework.
Really missing the good'ol monolithic days of programming. I mean, modular is fine bro, but for godsakes draw the line somewhere!
#NoMoreOneLineModules3 -
In today’s episode of hybrid/cross platform tools are shit:
Electron 6 and 7 use private API’s on Mac OS, violating apple App Store rules, and apps now can’t be submitted.
The responses also say that continued attempts to try to hide private api usage may result in developer accounts being terminated.
So by using electron, you may get your Apple developer account closed down permanently .... rightly so for picking electron in my mind
Source:
https://david.dev/you-cannot-submit...12 -
Dear developers who create an electron based app... Yes it's easy to make custom titlebars but please... Please please please give us the option to use the system default title bars... Looking at you itch!
(Also stop assuming everyone uses windows and use the minimise > maximise > close to the right of the window, not everyone does)8 -
The Mac Studio with 128 GB integrated memory looks very interesting, I could finally run a third Electron app next to Slack and Spotify.5
-
So we're making a desktop app using Electron and I got super excited when I ran the quick start thinking, "Wow, I'm actually going to develop a desktop app!"
But then the reality hit me that I'm still technically working with HTML and all and that I should be ashamed of calling myself a dev over this so how I'm cry-studying it's documentation while testing different stuff.4 -
Just got an email with a new really nice douche-bag move from Postman to raise their prices again (this time for almost double) on their paid plans with excuse "it will help us deliver more of what our customers need from us."
Even though I've decided to look other way around for years on their electron-based garbage of bloated app, have not been a fan of their pricing 8$/month/user just for a simple feature such as sharing request schema and environment data.
This simply needs to stop and I'm seriously thinking about doing something about it. 🙄10 -
Godmotherfuckingshitpissballs fuck software development. Seriously wtf.
I learned c# and Unity for 4 fuckin years. Now I want to learn Electron and i just cant get it to fuckin work that motherfucker!
Installed node.js into a folder on my Desktop, git cloned the quick start app, copied the files, npm start and wow it starts.
ONCE.
It does not start anymore wtf? Also the stupid tutorials that I bought dont fuckin explain how to set it up properly wtf...
Doesnt help that im a windows noob and the guy in the tutorial is a macSnob.
Goddamnit I hate this phase of learning stuff. It fuckin sucks.
Also software development is around for like what? 30 years and electron is the best solution for GUI that people came up with? Fuck me.30 -
Do you ever wonder why EVEN Microsoft uses web technologies to build apps for Windows?
Because the StAte oF tHe aRt piece of shit WINUI 3 (aka Project Reunion aka Windows App SDK aka Microsoft 12th app framework in this decade) can't handle a basic save/open dialog.
An issue has been opened 2 fucking years ago and still no fix. (Other than write 250 lines of c# and c++ to get a fucking dialog)
Fuck this I'm going back to Electron.5 -
It all started with a simple shell script that ran a bunch of build commands.
Then it became a python script that ran a bunch of build commands because why not?
Now it's becoming an electron app with a jazzy UI.. that runs a bunch of build commands. Because why not! -
Electron....
Ok so recently I have seen many people hating on electron like here https://medium.com/@caspervonb/... ...
I understand that it may not be efficient or native whatsoever but it has specific use cases in which it is ideal. For example Discord (a teamspeak/Skype for gamers) is an amazing platform and they used to be web based. Eventually people wanted a desktop app for all these platforms so they used electron. i have used discords desktop app for 5 months and NEVER have I seen it go over 1 gig of ram or 3% of my cpu.
Electron isnt bad it just has specific use cases. Its like NoSQL, it's awesome but not for everything.2 -
Microsoft has the audacity to put "Get the new Outlook (It's free for Windows Users!)" on my lock screen. Extraordinarily annoying because:
- It's just the web app packaged in the SHITTIEST electron wrapper you ever did see.
- IT FUCKING HAS ADS8 -
https://arstechnica.com/gadgets/...
So apparently you can now run Windows 95 from an app made in electron.
This was my first operating system. I can remember playing Pajama Sam in '96 at the tender age of 6 and teaching my parents how to use a computer. And now it's a freaking electron app that uses 200MB!! of ram. Nostalgia is a hell of a drug.3 -
Why does node-sass have such garbage documentation?!
I've now spent over an hour trying to get a clear and concise answer to how that shit works, and what do I get? This: (see picture)
I don't know what any of that means, nor do they care to tell me.
I don't want to render this shit at runtime, I want it to compile the sass code when I make changes to it so my app doesn't get boggled down by unnecessary background processes.
But nooo of course not.
To top it off, the "easy" electron-compile solution doesn't even fucking compile because all its dependencies are either outdated or 404 on me. 😡
It's shit like this that makes me hate web-style development. Lacking documentation and people who just assume everything is logical and clear from the start. It's fucking not.4 -
Has been a long time since I'm appreciating working with GRPC.
Amazingly fast and full-featured protocol! No complaints at all.
Although I felt something was missing...
Back in the days of HTTP, we were all given very simple tools for making requests to verify behaviours and data of any of our HTTP endpoints, tools like curl, postman, wget and so on...
This toolset gives us definitely a nice and quick way to explore our HTTP services, debug them when necessary and be efficient.
This is probably what I miss the most from HTTP.
When you want to debug a remote endpoint with GRPC, you need to actually write a client by hand (in any of the supported language) then run it.
There are alternatives in the open source world, but those wants you to either configure the server to support Reflection or add a proxy in front of your services to be able to query them in a simpler way.
This is not how things work in 2018 almost 2019.
We want simple, quick and efficient tools that make our life easier and having problems more under control.
I'm a developer my self and I feel this on my skin every day. I don't want to change my server or add an infrastructure component for the simple reason of being able to query it in a simpler way!
However, This exact problem has been solved many times from HTTP or other protocols, so we should do something about our beloved GRPC.
Fine! I've told to my self. Let's fix this.
A few weeks later...
I'm glad to announce the first Release of BloomRPC - The first GRPC Client GUI that is nice and simple,
It allows to query and explore your GRPC services with just a couple of clicks without any additional modification to what you have running right now! Just install the client and start making requests.
It has been built with the Electron technology so its a desktop app and it supports the 3 major platforms, Mac, Linux, Windows.
Check out the repository on GitHub: https://github.com/uw-labs/bloomrpc
This is the first step towards the goal of having a simple and efficient way of querying GRPC services!
Keep in mind that It is in its first release, so improvements will follow along with future releases.
Your feedback and contributions are very welcome.
If you have the same frustration with GRPC I hope BloomRPC will make you a bit happier!3 -
Can we just.... Adapt css to every visual language ever? Like id gladly use c# or jfx, but the main requirement is to make the app look good so im stuck with electron.4
-
I wish people would stop using Electron for everything. It's like running an instance of a bloated web browser every time I open an app. Running Slack and Spotify eats a ton of ram, a chat client and a music player. I'm resorting to just running these apps as pinned browser tabs.18
-
Why even is Microsoft Teams?
Why does it suck so bad? Why is it a memory hog? Why does the ELECTRON desktop app not have native ARM64 support neither on Windows nor macOS? Why is it even an Electron app? Why the web version does not work with Safari (then again, barely anything more complex than my portfolio site works on Safari)? Why is the UI from 2016? Why is it preinstalled with Windows 11? Why the pre-installed Windows 11 version is a completely different entity? Why the preinstalled Windows 11 version does not work with school/work version of Teams calls?10 -
Can someone explain to me why most design like apps are build in fucking electron. This is like the second time this week.
Me: *sees a super designy looking app*
Me: *Downloads and install*
Me: *Starts* * Slow startup*
Me: This has to be fucking electron again.
Me: *looks in resources folder* YES it is.
I'm not hating on electron. Its just that native apps are so much faster but way more ugly :P
BTW, apps were laverna and hyper5 -
Boss says electron-app needs to run on win/mac/linux, but we cannot compile for mac, because we have none. And we cannot use TravisCI for reasons. Welp.7
-
Electron devs: You know that this is the difference between a good looking and bad looking MacOS Electron app.
-
am i loosing too much sleep over the idea that JavaScripters with their fat atom/electron are going to dominate the app stores of app/windows in the next few years ?3
-
If anyone is using the fall creators update of Windows 10 and wondering why they are not receiving notifications from devRantron, it's a known problem with Electron and Windows 10 FCU.
I will update the app again once the issue in Electron has been fixed.
I also recently released an update which fixes the "Post Comment" textarea becoming out of focus when you receive a new notifications. And some other bugfixes as well.3 -
Heard of Electron? There is also Electrino, Electron-like stuff that uses your system's browser instead of embedding full Chrome. A “Hello World” app takes 115 MB using Electron, but only 167 kB using Electrino.
Too bad it's still a proof of concept with almost no features.
https://github.com/pojala/electrino28 -
Developer vs non developer interview:
Non developer:
How well do you know excel ?
Developer:
How would you write spreadsheet app, what if it was cross platforms mobile application but also desktop app ?
Non developer:
Do you know how to use windows?
Developer:
Do you know kubernetes, distributed systems, lambdas, cloud services and how to deploy to server farm ?
Non developer:
You know how to use printer / fax and coffee machine ?
Developer:
Do you have experience in writing code for embedded devices ?
Non developer:
Do you know powerpoint ?
Developer:
How well do you know javascript / html / css, are you comfortable with writing backend node.js code or electron applications ?
React native and native apps maybe ?5 -
How is it a thing that developing a desktop app nowadays requires an enormous amount of RAM? I stared working on an electron project and the whole thing takes up 3-4 GB of RAM when running, and that does not factor in my IDE or anything else.
But the packaged app does not go over 400mb, although we have had memory leaks in the past10 -
I swear to fucking god the itch.io desktop app is one of the worst design and programming piles of shit out there...
Deisgn is inconsistent and ugly, stability is up shit creek and simple performance is just shit even for an electron app.
If anyone has to do anything with downloading stuff from itch, just do it manually and ignore the app all together -
some shitty scam site is "giving away free gams" like Hello Neighbor, FNAF, etc.
Someone asked me to look at one of their EXEs.
Electron app with nothing really going on and a hardcoded key.
Turns out all this shit is systematic. A couple splash screens and a config file for "download" size, name, key, download page, etc. and they're immediately ready to ship the cookie-cutter scam program meant for "free license key BUT SURVEY FOR OUR PROTECTION" ad revenue.
Have source of the Hello Neighbor one i guess?
(jesus, 204MB of source for an 8MB dropper app???)
https://drive.google.com/open/...1 -
!Rant
For a school project i had to develop a copy of Skype, This had to be able to run in Linux OSx and Windows, Any suggestions about what to use ?
I thought to node js electron for the app and node + mongodb or rethinkdb as a back end7 -
Why does your BS app (that is obviously made with electron because of course it is) feels entitled to put its garbage into my Documents folder?11
-
Working with Electron is a nightmare...
"Hey you have a working app? Nice, here is the new Electron version which breaks everything! Now find out how stuff works now, because we won't tell you! Good luck"7 -
What's a good hobby project for learning React Native? I come from MEAN and C#/Java.
Just realized I haven't done much coding outside of work recently.... need to get more up to date.
Also correct me if I'm rwrong but it's like Cordova and Electron right? Code is JS and CSS, run everywhere as a native app?2 -
Just a quick rant on JavaScript,
So there’s a lot of people hating javascript, and while not a long time ago i was part of them, but I changed my opinion a little.
I think JavaScript is a great way to deal with website programming as it is quick and efficient, but I would not say to program directly on it, use a js-compilable language (CoffeScript, TypeScript, Kotlin(I think), etc.), but then you might say: “Well, no need for js then, compile it in byte code”. That would break the point of how I see web design/dev. The main intent behind webpages is to have an easy and fast way to send code to other computers to render them, that’s why it is interpreted: “Easy to send” and “*All* computers can handle it” with the proper browser. You need to be able to change the way the website is rendered and/or works sometimes, for diverse reasons like copy/pasting data, make it render properly or use plugins/add-ons to change that code to suit your needs.
I think js should be kept as a “readable byte-code”, so that means: {
Keep comments when compiling the js-compilable code,
Add standardized machine-readable comments that will indicate to smart code viewers how to show a particular thing (Like have a higher-end function compiled in js shown as a minimized code with explanations of the function)
Keep it nicely formated and don’t obfuscate (coz that’s annoying)
Etc.
}
So you bypass the quirks and all that pesky js stuff, while keeping it’s good sides.
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Part 2:
Web design for non-web:
Ok so things like node.js, electron, react-native and all that stuff; I won’t say they’re bad but...
Why we have this is because web designers wanted to make desktop apps and were like “Hey! Making web pages is easy! Let’s port it to desktop”, the problem is: Web technologies were made to work on a restricted canvas, aka a browser. It’s good on web for reasons mention earlier and more. But it’s not on desktop! You’re trying to push it outside of those boundaries. It’s difficult to make it break that canvas and go outside, make something that really works! For social media clients and that kind of stuff that you want to make a little more inclusive, yes! it’s a great idea (hello devrantron ;), but not if it’s an exact same copy of the website, just use the website. But for things that are supposed to really make use of YOUR computer; no!
I see those PWA (progressive webapps aka mobile app, but it’s an offline website”), I stand for the same positions, social media and those sort of things: yes, great idea! Games? 🤢.
I have way more to say but I have difficulties to remember them while reading, so feel free to comment your thoughts
Lol, “just a quick rant”1 -
Can somebody explain to me why the fuck creating apps on windows sucks so much ASS!!!! Not only the Electron app that I'm creating is a complete MESS, but on top of that, you need it EV signed, or it will be detected as malware. The fucking Digicert people charge $664/year for it!!!! I only wanted to do a stupid productivity app, and It was going to be free, now I don’t know what to do with it. FUCK12
-
Slack has to be joking. I just wanted to use it in my browser, because their beautiful and definitely not electron based app takes 600MB RAM. Fuck you Slack!3
-
My another attempt to write something in rust and I wanted to try tauri as it’s promising competition to electron.
Why use tauri not electron?
Cause in tauri you can write rust plugins that you can interact with directly from javascript without stupid http servers, mangling code and stuff.
From javascript point you only call one method and pass object with arguments into it.
So it took me entire weekend to create draft plugin to interact with sqlite database.
Documentation of tauri is inconsistent. I understand that cause it’s young project and plugins architecture changed frequently.
Moreover my knowledge of rust is near to zero. But overall it was worth it. I like what I achieved.
I can pass sql query and execute it inside mutex guarded singleton. Like I said before I like it cause I can call my plugin directly from javascript.
I know I wasn’t fancy with my implementation. I just created file database connection from json configuration and managed to receive string sql statements. I just print results with rust to console for now.
I will add sending back results later this week.
For me tauri is already better then electron cause code is clear and there is no workaround ( except singleton with connection - cause of limitations of my rust knowledge ).
Live long tauri and fuck you electron.
https://tauri.studio/en/
if you’re interested.2 -
I've only been using it for one day, but the most striking thing about going from VSCode to Neovim is the performance incrase.
VSCode has some noticeable input lag, but Neovim, even running in wsl2 (AN ENTIRE OPERATING SYSTEM VIRTUALIZED) has none.
That's sort of insane. An ENTIRE OPERATING SYSTEM is less heavy than a single instance of a bloated Electron app.
The absolute state of desktop development in 2024. Yes, VSCode is a fuckin amazing editor. But I can't help but think it's built like resources and performance were never truly a concern beyond "good enough".21 -
Bored at the office. Company is done for. I'm spending my last days here, doing nothing, waiting for my new position to start. There's only that much you can read on devRant, and SO MUCH MORE you could do writing code. But I just can't decide what to do and as a result sit here doing nothing. Help me out please! Answer with the most points will be the thing I'll start with on Monday, while today I think I'll just crack open a cold one.
My initial variants:
1. Learn Electron by playing with Electron React+Redux basic boilerplate, in order to make a simple personal blogging app.
2. Complete some of the 20 courses that I bought on Udemy 6 months ago.
3. Write the back-end logic for my Raspberry PI controlled systems at home (to control it remotely I'll make a hosted API that RPI will access to get input for it to decide what to do).
4. Solve problem 51 on projecteuler.net with an algorithm that runs less than 20 seconds.
Other suggestions are welcome.1 -
Question for you desktop guys. I was thinking of making a desktop app with a GUI as a side project. It's mostly going to be business-like CRUD, no fancy stuff. I was thinking of using electron (since I'm a web developer) but I read that it's slow and bloated. On the other hand I would like learning something new. I don't want to spend too much time on the GUI so I would prefer a framework/language that already has some nice open source gui packs available. I have only ever used JavaFX before for a tutorial, is that a good choice? Also, I would like it to work on both linux and windows.10
-
Hello everyone, I would like to create a native desktop application on Linux, which language/gui framework would you suggest to me, knowing that I have been working as a Web developer all my life?
I tried Javafx, but I don't like that very much, is really confusing and requires a lot of boilerplate, I use to work with visual studio, so a drag and drop visual editor to create a gui, that was easy.
I tried electron, but I don't really like it.
The main problem I am facing is adapt a pattern like mvc to desktop app, and share data between scene.
I would love to use flux pattern.
Any tutorial suggestions?8 -
Ticket: here's something wrong with the export of transactions, please check.
Very useful description, let me just go over this logic I've written months ago.
Yeah, I went extra sure that everything's right, besides the ones for created during the initial testing that we left. Took me a hell a long time to prove because there's such a vague description but ok.
Of course I have the time to make an eyecandy of an excel spreadsheet for you.
Only for you I'll also go and fix these entries manually. If you want me to do it so badly, I'll gladly do it.
Oh what, you're upset that I wasted 5h for this complete bullshit? Well fucking go and learn the database structure yourself then or get sued idk
Hope it was worth that 1€ difference the customer paid himself.
Not to mention that I also had to do an emergency setup to work from home because those people who are responsible for giving me an appointment for a covid test sure like to wait days after my sick leave is over. ffs, I just had a cold...
Also fuck all this bullshit mac software required to work in this network, half of this shit flat out requires you to use the same software and ofc it's all closed source to the point where I'd be glad to have an electron app for everything. -
I like rants that are thought provoking and push a message forward regardless of whether they may sting a little, so for my first post on here I'd like to hit at home with many of you.
Html5 "Native" Applications are not needed. Let's cover mobile first of all, the misconception that apps are written in either javascript or Native android/ Native ios environment. Or even some third party paid tools like xamarin is quite strange to me. OpenGL ES is on both IOS and Android there is no difference. It's quite easy to write once run everywhere but with native performance and not having to jump through js when it's not needed. Personally I never want to see html or css if I'm working on a mobile app or desktop. Which brings me to desktop, I can't begin to describe how unthought out an electron app is. Memory usage, storage space for embedding chromium, web views gained at the expense of literally everything else, cross platform desktop development has been around for decades, openGL is everywhere enough said. Finally what about targeting browser if your writing a native app for mobile and desktop let's say in c++ and it's not in javascript how can it turn back into javascript, well luckily c++ has emscripten which does that simply put, or you could be using a cross complier language like haxe which is what I use. It benefits with type safety, while exporting both c++ and javascript code. Conclusion in reality I see the appeal to the js ecosystem it's large filled with big companies trying to make js cross development stronger every day. However development in my mind should be a series of choices, choices that are invisible don't help anyone, regardless of the popularity of the choice, or the skill required.8 -
Never doubt myself.
Never questioned my skills...
Because I have few skills.
I'm no dev, an amateur programmer who learned in school (best part, learned logic programming) and stopped programming for years because I had no future without an engineer University course... How mistaked I was.
So I know that I'll spend more time on google on every project I start.
Still doesn't stop me... Until I find out that I can't do what I want (like the time I made all the UI of a web app in JavaScript to use in electron and then found out that I couldn't use a file database, sq lite on that case... one month almost wasted... Almost, kept the UI as a mock up. Did the same mistake two years latter, only to remember like one week latter why I didn't use JS the last time. Doing it in python+Kivy now) I'll just keep pushing, and trying, and learning.
Never stop, never quit, only death is impossible (for now). -
So first reflex in looking what Electron development looks like was making a Hello world app. So it just makes a window saying "Hello world".
Then I proceed to editing the menu, and the quit option is "Goodbye world"... and I realized, or at least I thought... this is a bit... grim?1 -
Can anybody explain my why the fuck EVERYTHING has to be made into an computer-app, even tho it already has a perfectly capable web-interface? Looking at you WhatsApp, Telegram, Slack etc...
Especially when it's basically just the webinterface with a (more or less) fancy electron wrapper slapped on it.4 -
Can anyone suggest a good TS based stack to use with electron? I'm (hopefully) looking to make an open source app3
-
client has no clue what he wants and keeps changing the requirements of the projects; wants to deploy "to a desktop app like electron but faster, but also as a lib for developer to use on a server like a CMS" 🤦🏻♂️; takes two hours in a call and literally tells me that he want to "hear himself speak" so he can clarify what he needs...
me: NOP2 -
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 -
So today I did the weirdest use of REST API I have ever seen. Was working on a little electron app for a friend using angular as frontend. I didn't want to use the standard title bar so created one for me in angular. But to hookup the close button with actual termination would have required more effort than my lazy ass was going to put. So I just created extra route to use browserwindow.close() function. And it actually worked good.1
-
Having a look at electron again after giving up on it months ago.
I must say, the documentation has improved a lot since then, and it looks---dare I say---intuitive to use?
The electron api demos app is surely some help, but I'm not really all that sure how much it lives up to its name. It doesn't really demonstrate anything, and it doesn't cover the whole api, just small chunks of it.
Loving the event system though!12 -
Productivity Hack: I'm a java developer who decided to write a productivity app that integrates to-do, pomodoro and eisenhower matrix altogether with reports generation. this will also help me logging at work. I'm also using electron + angular2 + typescript, just because, well, I'm trying to learn new stuff.
Long story short, many many many many days later, i'm still waiting for that productivity boost. What is dis webpack? Wat u mean loaders? Wat promises? electron-prebuilt is now electron? Wat u mean npm and node should be updated? .....
Please send help1 -
I wanted to build a custom notetaking app, because all the alternatives are shit
I have a decent bit of experience with web development, but I've never tried electron before
Anyway, I decide to go with electron, because it seems like the easiest choice for my skill set
I build most of the app, and it's all working pretty well, and so I go to bed for the night
I come back the next day, and now the motherfucker won't load and display HTML pages aside from the main one.
So I start debugging. I go through each line of code, each external link, all my dependencies, everything. There's no JS debug output, nothing
I leave for a few minutes to get a glass of water, and now all of the sudden it works again
And I don't even know what happened, how it got fixed, or what even caused it
Electron is weird10 -
Hey guys, I'm planning to rewrite multiple asp.net applications in my company using Angular 4 & WebAPI/Node APIs. Do you have any suggestions?
We have around 20+ small to medium size applications which I'm planning to rewrite. Since these applications can be run in different machines I'm thinking of integrating them in a electron app and sharing the desktop app to the users.
What do you guys think?
Do you think it's a good idea? How do I proceed with this ? Any inputs are welcome.4 -
Just built a solid desktop app for MacOS with Flutter that's worthy of shipping. I gotta say I'm pretty stoked about it, even if it isn't nearly as dope as LOIC. Haha chargin muh lazers!
I'll get some screenshots up soon!!
I also wrote a comple CLI interface for Firebase management using Python. Advanced auth abilities, CRUD capability, full json import/export, verification/password resets, you name it. Well, except full Firestore/mobile OTP features but it's still a win. Actually dicked around and made a cool little Firebase chat program in the terminal with the Python interpreter.
Finished up my first apps in React, React-Native and Ember, my 2nd with Electron, and also got my first Firebase hosted site up and running. Solid day!!! Cheers to that. And cheers to all of you amazing bastards!3 -
On top of being ignoring the Linux community and the audio problem caused by their sheer incompetence to use WebRTC and Electron in order to support screen sharing, they now just sent me the whole damn thing again over the span of 2 hours.
This is why I won't pay for discord until they get their shit together.
Not to mention the disastrous android app update recently that still has unaddressed that make daily usage a pain...3 -
Why in the world there is no reasonable electron based desktop app for Twitter?
Nocturn - no tray icon
Chirp - doesn't work, don't know why
My last hope: https://github.com/dogancelik/...9 -
Could someone advice me to pursue a programming language? I'm currently working with PHP using laravel Framework. And I 'm thinking about javascript like node js, electron and etc since it enable developers to create cross flatform app from web , to mobile and also to desktop. I'm just a little bit dizzy about these things right now.10
-
I'm trying to make a PC app and I want it to be crass platform.
I'm in .net clan :D.
So which framework you suggest?
Xamarin, Avalonia UI, Electron or what?
(I wrote my library in .net standard)7 -
I had been assigned a task to create a cross-platform desktop application that keeps track of the expiry of a certain product and notify in real-time.
So, my journey to create such an application starts today and the list below describes the first few hours.
1. Google/Date and time in javascript
2. Google/Javascript date object
3. W3school/Time in javascript
4. W3school/Javascript date getTime() method
5. Google/Are electron.js applications platform independent
6. Google/Dart for desktop applications
7. Google/Is dart cross-platform
8. Google/Best desktop application framework
9. Google/Python for desktop app development
10. Freecodecamp/How to build your first desktop application in python
11. Google/Pyqt
12. Google/Which is the best technology to build cross-platform desktop application
13. Google/Cross-platform desktop app development for windows mac and linux
14. Udemy / cross platform desktop app development for windows mac and linux
15. Youtube/ electron desktop app, demo
16. Youtube/ electron.js is obsolete
17. Youtube/Neutralinojs
18. Youtube/ neutralinojs tutorial
19. Google/Neutralinojs or electronjs
20. Google/Math.js
21. Google/Math.js/JS Bin
22. Google/Cannot find package “math.js”
23. StackOverFlow/How do I resolve “cannot find module” error using Node.js
24. Google/ is it better to install npm packages locally
25. Quora/ why should you stop installing NPM packages globally
26. Google/ what is nvm
27. Google/nvm version check
28. Stackoverflow/node version management on windows
29. Github/coreybutler/nvm-windows: a nvm for windows. Ironically written in Go
30. Google/how to uninstall a npm package
31. Npm docs/uninstalling packages and dependencies
32. Google/require in javascript
33. Youtube/how to install electronjs
34. Youtube/electronjs in 100s(fireship.io)
35. Roryok.com/electronjs memory usage compared to other cross-platform frameworks
36. Google/is electronjs memory hungry
37. Youtube/sql in one hour
38. Youtube/learn sql in 60 mins
39. Geeksforgeeks/connect mysql with node app
40. Stackoverflow/How to return to previous directory using cmd
41. Stackoverflow/how to require using const
42. Geeksforgeeks/difference between require and es6 import and export
TO BE CONTINUED...1 -
Has anyone experienced being able to run a build of an electron app that runs successfully, then run the same app that was zipped/tar'ed and then extracted and no longer works? Currently facing a "module not found" error after the application was archived and then extracted. The code im working on is open source and has plenty of documentation if you would like to take a peek!
-
When people tells you electron is not that bad, make them download Binance app...
Worst shit ever, freezes my pc every ten minutes, is laggy as hell, it’s a pain in the ass to update. -
UWP suck, I don't wanna hurt yall feeling but it's time to face the truths:
+ SandBox
+ Less Job Offer
+ Development more Complicated than Web App
+ Microsoft not create perfect hardware to make sure our app get to more consumers (the Pro X is failure)
+ Poor Optimized
Poor Optimized ?
the Windows 10 optimization is joke, all my surface laptop, pro, book I have tested. They claim that consume less Ram, but when using it along side electron and Win32 app. It feel so much choppy and lag. I mean WTF ?
UWP was made for optimize low specs SoC such as ARM base, now my laptop running on a core I5 + GPU still lag ??
I'm sorry but this is just sad. Im moving back to win32. WinRT sooner or later will end supported
And Microsoft will improve the Win32 Api6 -
!rant && advise
I have some expirience working as full stack developer, but focussed latly mainly on backend (php/java). However for one project, I need a desktop application and I was wondering, if you would recommend electron for it.
Pros:
- I could reuse some of the webapp stuff and cache it offline using web workers
- Styling done via HTML/CSS
- Portable between Linux/Windows/Mac
Cons:
- I haven't worked (much) with node js so far, but that shouldn't be a too big problem
What are the pros and cons from your point of view? Would you recommend electron? Why yes, why no? If no, what would you reccomend as alternative?
My knowledge so far:
Good: PHP/Java (without GUI)/CSS
Quite good: Javascript
Meh: Python (I can hack things together but wouldn't say I'm good with it...), C++8 -
Made to write an electron app as a make-shift solution to restart a service running on a raspberry pi that was deployed as a make-shift solution to another problem
-
Hi fellas, I am having problems to play widevine content in electron. I am trying to convert ember-app to electron app. Except widevine content everything works great, Version info are:
Shaka 2.02
Electron 1.4.13(Chromium 53)
Electron Packager 8.4.0
Widevine v1.4.8.903
I used http://electron.atom.io/docs/... docs. In order to check my player i load shaka-demo app.
I included widevine like this
``` app.commandLine.appendSwitch('widevine-cdm-path', path.join(__dirname, ./widevine/1.4.8.903/_platform_specific/linux_x64/libwidevinecdmadapter.so)); app.commandLine.appendSwitch('widevine-cdm-version', '1.4.8.903');
```
Also added plugins: true. When i load mainWindow.loadURL('https://shaka-player-demo.appspot.com/...'); to play widevine content it's disabled. I have tried navigator.plugins still can not play widevine content2 -
Why the fuck are native desktop applications so damn slow when it comes to displaying remote/web contents???
Steam, XBOX/Microsoft Store, Apple App Store/Music are just a few examples. Waiting 1-2 seconds to perform a search, list products, start video playback or just loading a few bytes of text.
Even Internet Explorer destroys them when it comes to loading and displaying data! I prefer every overloaded electron based app over these crutches.
But honestly, why is this?!5 -
After few weeks I got back to an Electron app. Rebuilt the thing, copied fresh binaries to a Win 10 VM, and the app doesn't even start, it instantly crashes. Literally nothing changed - libraries (and their versions) are same, source code is the same, node version is same, it was built on same machine, VM wasn't even started since then.
Tried a fresh Tux binary, and of course it runs fine.
God, I hate Windows. 😩2 -
Hi bros,
Asp mvc developer. Trying to write an electron app. Please suggest any good references/tutorials there apart from original documentation?5 -
What do you guys recommend to read when starting Electron project with React and Typescript. I'm kinda stuck. :/
I've already make a simple Electron app with Js, but few people recommended me to try React, Redux and Typescript. But idk where to start.
P.S: Tried the boilerplate, reading docs.. I need something that explains what does what and how.4 -
Should I write my app as a pwa or in electron. The app needs to be on mobile devices too but I wont mind rewriting the app for another platform since the app is pretty small. It only needs notifications, network access and basic read and write access to write some pretty small configs. Most of the code will be for the ui anyways1