3,376

(13 replies, posted in News)

Hi,

$ ./QElectroTech_0.8-DEV-r6112-x86_64.AppImage
$

works nicely here, strange.

Maybe a kde bug ?
https://bugs.launchpad.net/ubuntu/+sour … bug/782779
https://bbs.archlinux.org/viewtopic.php?id=252115

Hi,

not in editor, but element is easy to rotate on your folios whit key space.

- la police du cartouche (intégré au projet) ne change pas

Cherche pas ça n'a pas encore été ajouté.

J'ai jamais eu ce soucis avec des imprimantes laser HP depuis Linux, c'est quoi ton imprimante?

3,380

(13 replies, posted in Bar Fourre-tout)

Domain name renewed €18,79 EUR .

Fait attention les polices sont ecrites sous la forme :
independent_text_font="Sans Serif,9,-1,5,50,0,0,0,0,0,Condensed"
dynamic_text_font="Liberation Sans Narrow,9,-1,5,75,0,0,0,0,0,Bold"
independent_text_font="Liberation Sans,9,-1,5,75,0,0,0,0,0,Bold"

3,382

(23 replies, posted in News)

Clair, ça monte vite, mais on peut dire merci à AMD car coté Intel c'etais plutôt de l'ordre de 20 000$ le CPU..

https://www.lesnumeriques.com/cpu-proce … 45583.html

No, is very old.

Bonjour,

je ne sais pas quelle version tu utilises, mais c'est disponible depuis la 0.7 pour les conducteurs et les basic shapes.

3,385

(23 replies, posted in News)

Bonjour,

j'ai fait quelques simulations :
Ryzen 9 3950X : Nb de cœurs du CPU 16 Nb de threads 32 Fréquence de base 3.5GHz Total cache L3 64MB
https://download.qelectrotech.org/qet/forum_img/3950X.png

Threadripper 3960X : Nb de cœurs du CPU 24 Nb de threads 48 Fréquence de base 3.8GHz Total cache L3 128MB
https://download.qelectrotech.org/qet/forum_img/3960x.png

Pour le 3950X ça passe sans problème, pour le 3960X qui serait plus pérenne sur le long terme, si je rajoute à la cagnotte les 320€ du compte Paypal il en manquerai encore un peu, trop pour que je puisse compléter de ma poche, sans que madame hurle...., huhu.

Mais je me connais, plus il y aura de puissance sous le capot plus je vais pourvoir explorer d'autres cross-compilateur, continuer les essais Qt webassembly même si la techno est encore jeune mais très prometteuse, et autres joujoux .. et nouvelles features dont vous êtes friand nomicons/wink

Pour Qt webassembly je l'ai un peu mis de coté pour l'instant, j'y ai passé une semaine a compiler sans relâche entre les fêtes de fin d'année les sources Qt 5.13.2, 5.14, etc, avec différentes version du toolchain emscripten mais j'ai toujours des erreurs de compilation si j'active WASM_OBJECT_FILES=1 .

Ça devrait intéresser certains de nos users comme les PME-PMI, Lycées, ou ceux qui veulent utiliser QET depuis un navigateur Web sur leur tablettes Ipad ou Android sur le terrain.

Le temps gagné sur le long terme devrait être intéressant avec le 3960X au lieu de compiler en make -j32 compiler en make -j48.

J'aimerai avoir vos avis, que feriez vous a ma place, prendre le 3950X maintenant ou attendre pour le 3960X?
Dans les deux cas la puissance sera doublée ou triplée.

Encore merci à tous pour vos soutiens. nomicons/wink

Si tu veux vraiment changer, un moyen simple est d'ouvrir le fichier de ton projet avec un bon éditeur texte et remplacer les polices dans la définition des éléments dans le XML.

Fait un backup de ton projet avant.

Bonsoir,

change les polices et relances ton projet.
Si je me souvient bien, j'avais fait quelques tests pour changer aussi directement les polices des éléments déjà posés sur les folios mais .... c'étais il me semble un peu dangereux pour vos projets donc j'avais pas continué et envoyé le patch.

3,388

(317 replies, posted in News)

Non, la collection n'est pas protégée avec la ReadyToUse sinon le .bat n’aurait pas besoin de le faire, mais c'est clair que de le faire a chaque lancement c'est du temps perdu.

Quant a réduire la collection, non ! et c'est ce qui fait la richesse de QET ;-) , certes on a comme dit plus haut un petit nombre d’élément en doublons qui faudrait surement trier.. Sinon avec l'installeur vous avez le choix d'installer ou pas les dossiers éléments dont vous avez besoin, et ne pas cliquer comme un sauvage sur suivant, suivant, suivant, etc ...  nomicons/grin sur la ReadyToUse c'est tres facile de supprimer ou déplacer ailleurs sur vos disques les dossiers éléments de la collection officielle dont vous vous servirez jamais si vous voulez gagner du temps. Pareillement avec l'installeur suffit d'aller dans program\QElectroTech\elements\

En fait même sous Windows les temps de lancement se sont bien réduits, le travail a porté ses fruits, ok ça ce lancera jamais en un éclair comme une bonne machine Linux et un bon SSD ...

Réponse éclairée d'un dev Windows, Cf lien plus haut:

I wish this problem was as easy as saying "NTFS is slow" or "DrvFs is slow". We've long since gotten all the low-hanging fruit and are left with what is essentially "death by a thousand cuts," with no single component responsible for our (lack of) performance, but with lots of different things contributing.

The IO subsystem is architected very differently in Windows than it is in Linux, with different goals in mind. Some of the major differences we have to deal with are:

Linux has a top-level directory entry cache that means that certain queries (most notably stat calls) can be serviced without calling into the file system at all once an item is in the cache. Windows has no such cache, and leaves much more up to the file systems. A Win32 path like C:\dir\file gets translated to an NT path like \??\C:\dir\file, where \??\C: is a symlink in Object Manager to a device object like \Device\HarddiskVolume4. Once such a device object is encountered, the entire remainder of the path is just passed to the file system, which is very different to the centralized path parsing that VFS does in Linux.
Windows's IO stack is extensible, allowing filter drivers to attach to volumes and intercept IO requests before the file system sees them. This is used for numerous things, including virus scanning, compression, encryption, file virtualization, things like OneDrive's files on demand feature, gathering pre-fetching data to speed up app startup, and much more. Even a clean install of Windows will have a number of filters present, particularly on the system volume (so if you have a D: drive or partition, I recommend using that instead, since it likely has fewer filters attached). Filters are involved in many IO operations, most notably creating/opening files.
The NT file system API is designed around handles, not paths. Almost any operation requires opening the file first, which can be expensive. Even things that on the Win32 level seem to be a single call (e.g. DeleteFile) actually open and close the file under the hood. One of our biggest performance optimizations for DrvFs which we did several releases ago was the introduction of a new API that allows us to query file information without having to open it first.
Whether we like it or not (and we don't), file operations in Windows are more expensive than in Linux, even more so for those operations that only touch file metadata (such as stat). The costs of these operations are spread all over the place, from Object Manager and IO manager, to the filters, and NTFS. If it was as simple as saying "NTFS is slow," we'd simply spend a release optimizing NTFS (and we have spent time doing just that), but our costs are so spread out over many components that there just isn't a silver bullet anymore. And we can only ever address in-box filters; who knows what third party filters are doing. We do work with the vendors of those filters to try and improve things. For example, when we introduced the new API to query file information without opening it, we needed filter drivers to support that. We needed to make sure we didn't break the system if some installed filters didn't support it (basically by falling back to a open/query/close operation). Making sure everybody supported this so you, our users, got the maximum speed benefit from that change took a lot of time and effort. The same thing is true for something like the case-sensitive directory work; we had to make sure our filter ecosystem could handle this new behavior.

When Rich was talking about app behavior above, he wasn't trying to blame the apps for behaving that way. These apps were written on a system where file system operations are incredibly fast, and we're trying to run them, unmodified (unlike e.g. Git for Windows which tries to optimize its access patterns to better fit the Windows way of doing things) on a system that, unfortunately, is not as fast.

And it's not even as simple as saying "Windows is the cause of the slowness" either, since WSL does play a role. Most notably, Windows path parsing is very different than Linux path parsing (and, as I said above, is the responsibility of the file system, so can differ between file systems, while on Linux it's centralized). Linux apps expect the Linux behavior, so we have to carefully emulate that behavior, and unfortunately that means sending more operations down to the file system. Something like a stat call, which in Linux can be served entirely from the kernel's own cache if you're lucky, for WSL requires sending multiple file system requests, all of which have to traverse the entire filter stack. We've done a lot of work, even as recent as the upcoming 1809, to reduce the amount of extra work WSL has to do. But the differences between Linux and Windows's API mean there'll always be some extra work, at least.

Basically, this isn't a simple problem, and everything we do involves multiple components, and often involves working with Microsoft's partners if the changes affect filter drivers.

That doesn't mean we've given up either. We're still making changes, and are actively exploring new avenues to make WSL faster, and thus more useful, for you. Of course, I wish I could tell you exactly what we're doing and what our timeline is, but that's unfortunately not the corporate reality we live in.


@Galexis : t'as pas essayé de créer un RAMDISK , ça pourrait te faire gagner un peu de temps?

3,389

(317 replies, posted in News)

Parser les XML des ~ 6183 elements dans 846 categories (soit 7029 fichiers) est très coûteux en I/O et en temps machine sous Windows, il est plus rapide de tout copier en RAM et les analyser ensuite. Vous comprenez pourquoi la progressBar ne commence qu’après quelques secondes sous Windows.

Je pense qu'on peut aussi gratter encore une ou deux secondes sous Windows avec la version ReadyToUse, forcer les attributs de la collection officielle en lecture seule dans le package plutôt que de le faire à chaque lancement de QET par le fichier.bat, comme les packages Linux. Du style QMAKE_COPY_DIR          = xcopy /s /q /y /i /r

Il est clair que certains le font déjà sur leur ReadyToUse pour gratter quelque secondes à chaque lancement de QET, forcer le dossier élément en readonly et supprimer la ligne dans le .bat.

rem Met la collection QET en lecture seule
attrib +r elements/* /S /D

Bonjour,

oui on a y a pensé, mais ce ne sera pas pour tout de suite d'avoir un fichier projet sous forme de container fichier XML + dossier image archive.

nomicons/wink

Your element is a slave element. Slave element take the matser label name automaticly when you link master like coil to slave contacts!
Put a coil in your diagram, in information widget edit label, now link your new master coil to your element  power contacts slave by selecting with right click and link.

Hi,
look industrial.qet example provided.

Re Matt,

qet_tb_search a QET project ( .qet file) for generate terminal blocks based on this project.

First you have to create a project and then launch the plugin to create the terminal blocks according.

Example in this very older video

Hi Matt,

see https://qelectrotech.org/forum/viewtopi … 5674#p5674

Project>>Launch the Terminal search to this hard coded path in code "/Library/Frameworks/Python.framework/Versions/3.5/bin/qet_tb_generator", but you have installed python 3.8 while program search in python 3.5 path.

You could run qet_tb_generator alone with this command:

python3.8 /Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

/sources/qetdiagrameditor.cpp

+#ifdef Q_OS_MAC
+success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.5/bin/qet_tb_generator");
+#else
success = process->startDetached("qet_tb_generator");
+#endif

Hi,
what your version?

3,397

(317 replies, posted in News)

commit 3d051419a546c5892b5febcaee80352289c9d393
Author: joshua <joshua@>
Date:   Thu Jan 9 10:26:10 2020 +0100

    Improve file access on windows and mac OSX

//Except for linux OS (because linux keep in cache the file), we keep in memory the xml
//to avoid multiple access to file.
//keep in memory the XML, consumes a little more RAM, for this reason we don't use it for linux to minimize the RAM footprint.

3,398

(2 replies, posted in Terminal block generator)

Hi,

Debian Buster, Unstable (64-bits).
Ubuntu (Bionic, Xenial, Disco, Eoan) (32 and 64-bits) packages is availables

A Windows 32 package for user under ReadyToUse :
https://download.qelectrotech.org/qet/b … 1.5_32.exe

Update Github qet_tb_generator repository and rebuild  snap --edge qelectrotech include latest qet-tb-generator-1.1.5.

Hi you use external screen on a laptop?

Hi Matt,

examples missing?