1,958 karma · joined April 19, 2011
You need to listen for the pointer events because some devices such as Wacom tablets do not dispatch proper keyboard events when you press a button that has a modifier key role assigned to it.
On Apple devices event.metaKey represents the state of the command key, so in most scenarios you would be storing the state as: let ctrlOrCmd = (isAppleDevice ? event.metaKey : event.ctrlKey);
I was unable to build a Snap Store package for arm on an amd64 machine. Canonical provides their own remote build service, but proprietary projects can't use it yet.
In order to build a package for distribution on the Mac App Store I have to use macOS with XCode installed and signing certificates stored in the system keychain. Uploading the package to the app store also must be done with macOS-specific tools. At least it is possible to build multi-arch packages, so I don't need two separate machines as it is the case with snaps.
Windows 10 with Windows SDK is required to build an appx package for distribution on the Microsoft Store.
To be honest Boxy SVG is not the best tool for manipulating PDFs. It should be able to import most PDF files as it is using Mozilla's PDF.js library under the hood, but once you import the file you have to deal with limitations of the SVG format such as lack of support for multi-page documents, flowed texts and forms.
> My question, as you made it a PWA, why bother with Electron?
Electron-based apps feel much more native than PWAs on macOS, for example you can make the app use native menubar and tabs. The gap between PWAs and Electron/native apps is probably going to be closed at some point in the future: https://fugu-tracker.web.app/
> BTW, I bet you have it tasked, but having a shortcut profile selector with AI and Inkscape ones would help.
I will try to implement this functionality later this year, it is tracked on https://boxy-svg.com/ideas/42/keyboard-shortcuts-presets
Both client- and server-side code is written with vanilla JavaScript. Since I'm targeting only Electron and modern Chromium-based browsers I can use latest web technologies without any transpilers or preprocessors. I'm using mostly raw DOM APIs without any abstraction layers.
Third-party services:
- Firebase (database, storage, hosting, cloud functions)
- Paddle (payments, taxes)
- Algolia (instant search)
- ProtonMail (regular emails)
- SendGrid (transactional emails)
I have been using Firebase, Paddle and Algolia for several years now. So far I had zero problems with them and the overall experience was great (intuitive dashboards, good documentation, clean APIs).
I only wish there was a service that would allow me to easily build Electron packages for multiple operating systems and architectures - currently it is a mess that requires multiple virtual machines with a ton of dependencies.
There were some changes in this area recently. Paddle is now providing you two reverse invoices each month, one for sales in the USA done by Paddle.com Inc. and one for sales in the rest of the world done by Paddle.com Market Ltd.
For the accounting purposes you have two B2B clients (belonging to the same group). You still receive a single wire transfer though.
document.querySelector(".class").remove();
document.querySelector(".class").after(...);I find both `element.nextElementSibling` and `element.next()` to be examples of poor API design. The former one is more verbose than needed while the latter one is so short you can't even tell whether it's a method or a property.
These institutions also have the power to decide what defines "our" vs "their" tribe. Just the usage of the terms "pro-life" or "pro-choice" already indicates that someone identifies with a specific tribe as the language is an important part of the collective identity.
It tries to use as little non-standard namespaces as possible, e.g. check [2] for a comparison of the markup you get after creating a new file and drawing a single rectangle.
The app uses Chromium rendering engine under the hood, so most files should render the same way as when opened with Chrome.
[2] https://gist.github.com/jarek-foksa/8f5bdef732827bc2a3bf49e3...
But before this prompt is even shown, user must first manually select the file with the native file picker dialog and click the "Open" button.
Therefore, giving accidental accesses to a file is not going to be as easy as with a camera or a microphone.
[1] https://web.dev/native-file-system/
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=853326...
As a sole proprietor you pay only 16255 PLN/year for your health and social insurance. This is no matter how big your income is and what your health condition is. You could be making millions while suffering from a chronic disease and you would be still paying the same minimal amount for your insurance. There are also some ways to reduce it even further, e.g. if you are starting your first business.
This is an extremely low rate for a developed country and there are plans to make tax avoidance by limited companies even easier in 2021 by incorporating solutions from the Estonian tax system.
Ideally the money should come from the elite class that is accumulating the capital thanks to automation and monopolization. A huge part of this capital is currently spent in non-productive ways like speculation, lobbying and luxuries. This is what some socialists and social democrats are proposing, though most agree we have not reached the needed level of automation and advancement yet.
Neoliberals don't really want the UBI anytime soon, they just hijacked the term and are now bastardizing it just like they did with many other good leftist ideas because they found them either threatening to their interests or useful for their power games.
As other posters here have already noticed, "neoliberal UBI" will most likely be used to incite conflict and division between the lower and middle class. They will make the middle class pay the bill while promoting victim mentality and degeneracy among the lower class. This should produce a shitshow that will help keep the wage slaves distracted for the next decade or two until a true UBI becomes a possibility.