8 ms·
Introducing Electron Fiddle
- Stratoscope 8y agoI downloaded this and it looks very interesting. But I'm unable to use it because of the dark theme. I'm sorry, it's my fault, at the age of 66 I have visual limitations that make dark themes very uncomfortable. I just wish developers would not assume that everyone prefers or is able to use a dark theme. Not all of us can. To really get comfortable with it, I would also want to be able to select a proportional font and tabs instead of two-space indents. But that can wait; a light theme option would be a good start.
- sanbor 8y agoFar from ideal, but if you really want to give it a try you can use the accessibility features on your OS. If you're using a Mac you can go to preferences, accessibility, display, and tick invert colors. Grayscale is also good. I recently used this feature in a flight for the opposite situation. I was trying to learn go in the go playground but their editor only offers a light theme. After a couple of hours my eyes got tired and I was able to continue thanks to this accessibility feature.
- jf- 8y agoI don’t think there is any reason to apologise, those of us without visual impairments can easily overlook accessibility. I’m glad you pointed it out, hopefully developers of dark theme only products take this on board.
- simonpantzare 8y agoI would like to know why dark themed apps have become so popular? I'm 30 and use black on white themes whenever possible, only exception being when there are no other light sources, like reading from bed.
- bastijn 8y agoVSCode, Sublime, Atom, many editors and IDE comes by default with a dark theme a enabled, or at least available.
- jf- 8y agoThey’re supposed to reduce eye strain, but personally I’ve never experienced eye strain from any colour scheme, and suspect it has more to do with the eyesight of the user than the colours involved.
- close04 8y agoStaring into a bright screen in a poorly lit room is eye strain. The pupil is dilated because the room is almost dark so more of the light from the bright screen will hit the retina. Blacking out the screen in those conditions reduces that strain. But you still have to maintain a good brightness and contrast between the elements otherwise you trade one issue for another. There's no one size fits all unfortunately. Which is why it's great when developers allow for customization.
- Stratoscope 8y ago> Staring into a bright screen in a poorly lit room is eye strain. That's a really good point. If I have to use a computer or phone under poor lighting, I turn down the display brightness to match. Otherwise, I prefer to be in a space where I can read something written on paper. And then I adjust the brightness to match that - not cranked up too bright like I see sometimes.
- scriptproof 8y agoOpening a white window is like a full headlight in my eyes. Many scientific studies said that blue led (and then white RGB pixels) deteriorate the sight over time, by destructing photosensors in the eyes and they never recover. I would encourage black themes in all apps.
- the_arun 8y agoDoes dark theme also consume less energy and extend battery life?
- SomeHacker44 8y agoI feel your pain, from the other side. I find non-dark themed apps very hard to use due to my astigmatism and the resulting chromatic aberration (especially for blues) from the glasses. The onset of presbyopia of course doesn't help. Having dark and light themes, and high contrast ones at that, are a huge help for me. I am using the "MiniHack" app on an iPad now in its dark theme, but it is dark gray instead of a solid black background. The ability to change colors also helps. I removed all pure blues from my IDEs/editors, for example. (JetBrains, VIM and Emacs are fortunately all highly configurable.)
- mwcampbell 8y ago> I'm sorry, it's my fault I assume you're being sarcastic here. Accessibility issues like this are clearly the fault of an industry that hires mostly twenty-somethings with perfect vision, then doesn't train them in this important area. And really, why does every app need its own theme or color scheme anyway? Sure, each company likes having its own brand. But do the users like this? I think that every app using the OS-supplied theme is good not just for accessibility, but for a consistent, distraction-free user experience. But then, I'm visually impaired myself, so that skews my perception, and I probably don't understand what the sighted masses like.
- mwcampbell 8y agoAs I think about it, I think part of the problem is that so many young developers with no industry experience rush to start startups. How can they not keep repeating the same mistakes, including no regard for accessibility? They think they're doing a good thing by avoiding all the bureaucratic bullshit and moving fast. And indeed, accessibility often falls under "compliance" at big companies, which gives it that boring, bureaucratic feel. But it matters. People can lose their jobs, or at least be severely hampered in their productivity, when it's ignored. Maybe we need to encourage young developers to spend some time at a mature software company before starting their own. Edit: I made the same mistake myself. While I was still in college, I became sole developer for a tiny company that developed software for blind people. So I was obviously hyper-aware of accessibility for that user base. But I was ignorant of other important considerations, like internationalization, security, corporate manageability (working well with Windows Group Policy and the like), and even accessibility for other disabilities.
- misterhtmlcss 8y agoI don't think that's a reasonable comment. Any business first needs to address a marketplace that's enough to sustain itself and assure it's future existence. Beer chased men because more men drank, then when more woman started to drink it they started advertising to it. While that's perhaps a different example due to one group not being actually excluded from something it shows how business behaves. Then you consider the risk of staying a startup to your future, your retirement, the funders cash/investment and honestly I'd you spent a dime on accessibility at this stage it would be reckless behavior. Now having said that, once a product mix and the positive trajectory path has been established, then I don't think it's reasonable to delay, not even to say 'wait until we are profitable', because at that point you need to start addressing access to everyone equally as part of your business and if your business cannot sustain itself being inclusive then it's best to establish that earlier than later IMO. Ps. I'm in no way poo pooing your point about the needing to be more training around accessibility, because ultimately that's part of the meat and potatoes of bring a dev. Like knowing SQL, JS, etc. All part of the basic skills we all need to survive most days at work. And accessibility is in the group. I'm only saying that a startup needs to first determine demand for it's product with the largest addressable group in it's core target audience, then branching out should immediately include accessibility IMO.
- appleflaxen 8y agoI understand why some users prefer the dark theme, but I never knew that some users can't use them. Can you elaborate on what you experience, and why a lighter theme is necessary for it to be comfortable?
- Yizahi 8y agoDark themes are indeed harder on my eyes, in any environment - daylight, evening, or complete darkness. I have myopia, -4 and astigmatism. With dark theme it feels like I have to constantly strain to discern letters while with white theme there is no such feeling. It's like several additional dioptres added to your vision. I use shells/terminals with dark theme but I change them from gray/green/yellow on black to 255 bright white on black and increase fonts by 2-3 points compared to regular text, then it kinda works and OS overall has white theme on other monitors at the same time.
- Stratoscope 8y agoSure thing, I should have explained in my first comment. I have two problems with dark themes. One is that much of what I do on my computer will have light themes - websites, GIS software, Word and Excel, PDF documents, etc. It's hard on my eyes to switch back and forth between these and a dark themed editor - like walking in and out of a dark theater on a sunny day, over and over again. The other problem has to do with eye focus. The irises in your eyes stop down or open up to adjust for light or dark. Just like a camera lens, stopping down (reducing the aperture) can help with focus. A perfect lens can focus sharply at any aperture; a less perfect lens will focus better if you stop it down. Here are some interesting discussions on the topic: https://www.google.com/search?q=light+dark+themes+eye+focus https://www.google.com/search?q=light+dark+themes+eye+focus
- ksec 8y ago>I'm sorry, it's my fault, at the age of 66 I have visual limitations that make dark themes very uncomfortable. I have been wondering why I longed for Dark Theme when I was young, and now twenty to thirty years later when Dark Theme in general finally arrived. I hate it. I think the age and eyes strain explains a lot. I used to do font 8 or font 9 with all interface, code or web page. Everything is too large and it is like waste of space. Now I just wish everything has a 120% DPI scaling.
- asadkn 8y agoThat's a very legit concern that doesn't just affect the old. Many of us who are relatively young with certain level of astigmatism have halation / fuzzing when using dark schemes.
- felixrieseberg 8y agoHey! Author here. I got to admit, that’s an angle I did not fully consider - but adding theming should be fairly easy, given that our editor already has built-in themes. I’ll put that on my personal to-do list (unless someone sends us a Pr first)!
- illuminati1911 8y agoThanks for saying this. I'll keep this in mind during my future project (both personal and work). :)
- gitgud 8y agoInteresting. But what I think makes; jsFiddle, Glitch and CodePen so popular, is that you can go to any computer with a browser and run the code, without installing an environment. To run this on any machine you would need to download the Electron Fiddle environment and compile the Electron app binary every time... Very similar to normal development. So maybe electron just isn't as convenient for developing, compared to the browser technologies that the article compares it to...
- chrisshroba 8y agoI tend to disagree here. I think a few major things Electron Fiddle will bring to the table are: - the ability to easily get Electron help on StackOverflow, etc. by sharing the exact code you're running - one click (or close to it) examples of every single Electron API (I often find examples jsfiddles to be a much faster way to learn how to use a new API than digging through documentation) - possibly making it easier for people who are new to coding to get their feet wet in programming a desktop app without having to open a terminal. This is especially true if they can start with a working app and just tweak small things and see their tweaks reflected in the running app. All people are different, of course, but my biggest use cases of jsfiddle are using examples to learn how to use new frameworks. I’m excited to see the same thing for Electron apps!
- Stratoscope 8y agoReadable version of your bullet points: - the ability to easily get Electron help on StackOverflow, etc. by sharing the exact code you're running - one click (or close to it) examples of every single Electron API (I often find examples jsfiddles to be a much faster way to learn how to use a new API than digging through documentation) - possibly making it easier for people who are new to coding to get their feet wet in programming a desktop app without having to open a terminal. This is especially true if they can start with a working app and just tweak small things and see their tweaks reflected in the running app. (Don't use two space indents to force code style except for code samples.)
- 8y ago
- mcbits 8y agoThe project, minus the blogspam: https://github.com/electron/fiddle https://github.com/electron/fiddle
- dewey 8y agoHow is that “blog spam” if it’s the original source? Blog spam is if someone writes an article about another source to get traffic instead of the original source imo.
- mcbits 8y agoEverything on Medium is the epitome of blog spam. They're worse than Blogspot these days. The GitHub link is the true original source. The (PARDON THE INTERRUPTION!) Medium blurb is (PARDON THE INTERRUPTION!) just for (PARDON THE INTERRUPTION!) marketing and link juice, a.k.a spam.
- kumarharsh 8y agoMay the gods save us from the day when the creators get the ability to market their products.
- rootlocus 8y agoI'm sorry, what? > Electron Fiddle is entirely open source and developed by a group of volunteers. And even if it was paid product, what does bloat have to do with marketing?
- dewey 8y agoWhat does marketing have to do with if it’s a free or paid product? Or if it’s from a company or two volunteers in a basement? If you want people to adopt your open source code you have to do some marketing of some sorts. Otherwise it’s just another dead project on Github.
- 8y ago
- matchbok 8y agoGreat, another way to create huge, slow, bloated "native" apps. It confuses me that slack, with their hundreds of developers, cannot build a native piece of software that doesn't require 10+ seconds to init.
- danellis 8y ago> Over the past four years, I have introduced thousands of developers to Electron. Then stop it!
- tempodox 8y agoSeveral hundred megabytes for not-even-an-IDE is certainly not the world's tiniest open-source violin.
- DonHopkins 8y agoI see that Electron v3.0.0-beta.4 is available. What's new in Electron version 3, and how stable is it? Is there a good higher level summary than the release notes, and could somebody please describe what are the significant differences between version 2 and version 3, and how far along and mature is version 3?
- kowdermeister 8y agoTook me a few seconds longer to find it than I expected: https://electronjs.org/releases https://electronjs.org/releases
- Kagerjay 8y agoIt does so thanks to electron-forge, allowing you to package your Fiddle as an app for Windows, macOS, or Linux. How useful is this feature? I mostly do webdevelopment though.