|
Update: It was my fault and I feel like an idiot. I went over my code with a fine tooth comb before posting this, and I could have sworn it wasn't me. It was, and I just somehow missed it. My fault.
Microsoft has this tech called the CodeDOM that is an object model for an abstract syntax tree representing generic code independent of language. It can render the trees to C#, VB.NET or another .NET language like perhaps IronPython or whatever - anything that can be used with ASP.NET, because that's where Microsoft employs this tech.
It's ancient code and should be battle tested at this point.
I found a bug with their VB code renderer:
This is how doc comments end up when declared on a type. Everywhere else they are fine. Only on the type declarations are they messed up.
But because of that, Rolex generates incorrect VB doc comments, and there's little I can do about it, because it's not my code that is broken.
I might be able to do a workaround but it pains me to even think about given what it requires.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 19-Nov-23 8:12am.
|
|
|
|
|
Oh well, even Homer nods.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
honey the codewitch wrote: It's ancient code and should be battle tested at this point.
Err...facts not in evidence!
honey the codewitch wrote: This is how doc comments end up when
With doc comments? That would of course be the least tested.
|
|
|
|
|
Well as per my edit, it turns out the problem was with my code.
I don't assume other people's code is the problem until I feel I've exhausted the possibilities of it being my code.
However, this time I missed it despite my efforts.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Wordle 883 4/6
⬛⬛⬛⬛🟩
⬛⬛⬛⬛🟩
⬛⬛⬛⬛🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
⬜⬜⬜⬜🟩
⬜⬜⬜🟩⬜
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 883 4/6
⬜⬜⬜⬜🟩
⬜⬜⬜⬜⬜
⬜🟨⬜⬜🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 883 4/6
⬛⬛⬛⬛🟩
⬛⬛⬛⬛🟩
⬛⬛🟨⬛🟩
🟩🟩🟩🟩🟩
This one was a struggle!
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 883 5/6
⬜⬜⬜⬜🟩
⬜⬜🟨⬜⬜
🟨⬜⬜🟩🟩
⬜🟩⬜🟩🟩
🟩🟩🟩🟩🟩
hard one
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Hello Folks,
For an upcoming side project - a Desktop GUI app, open source, Apache 2.0 licensed, I'm slightly confused regarding what technology to use.
Skills wise, C#/WinForms should be my natural choice as that was the primary technology I had worked on before losing employment at Tech Mahindra few years back and getting into freelancing. But post my freelance experience, I taught myself things like open source and Python as it came with the territory, and now PySide2 is also a running candidate in this race!
The goal here is to be as much ubiquitous as possible - that my app should be easy to just "download, extract and run" by as many people as possible. A couple decades ago, a .NET GUI library targeting Microsoft Windows platform would have been the clear choice here as most people used Windows OS and targeting that platform meant being ubiquitous.
But over the last few years, I've observed that Windows OS has been continuously losing its market share to Linux Distros and Mac OSX, mostly due to some incorrect decisions and strategic blunders by the former than some ground breaking or revolutionary innovation on part of the latter. This means .NET or WinForms is no longer the ideal choice today if you want to be cross-platform and ubiquitous.
This lead my research to some other toolkits like the Java Swing library, for example. It's old but classic, not a bad choice at all in this case, platform independence is Java's biggest selling point. However, the app I'm making is non-trivial and slightly performance intensive, and Swing GUIs are known to be sluggish on PCs unless you ensure a good supply of RAM by tweaking the JVM settings. I'm also not very experienced in Java to be able to handle those situations in case they arise.
I also considered Lazarus IDE/Object Pascal, it is also not a bad choice. It is open source, used as the primary course language across many Universities in Europe and most importantly, still maintained and developed. But guess I will have to teach myself a whole new paradigm along with a programming language in case I go this route.
Finally, Python is something I've almost settled on for this project. It's a language that I'm very fond of and it has helped me survive through the tough times in the freelance market. It also has a vibrant ecosystem and rich repository of user contributed packages like PyPI.
Now, I've worked on the default Tkinter library in past but somehow felt that it's quite limited in terms of making the GUI more flexible and "tweakable", especially a non-trivial one having several container widgets, syntax editors, menus and drop-downs, trees and list views, etc. PySide2 is, from what I understand, a better choice in this regard as it is comprehensive and based on the time-tested Qt interface. It is not only very easy to code and maintain but also very easy to port across various platforms.
What do you think? In which direction should I go here?
|
|
|
|
|
If you're going to discount Windows Forms, then you also need to discount WPF and UWP. And Windows 11 just became an IOS "App" ... whatever that implies.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Xaml UI is the clear winner regarding .NET GUI
Similar concepts and classes are used by WPF (the first one to introduce them), Xamarin/MAUI (phone apps), WinUI (the new Windows native API) and Avalonia (3rd party, opensource, multiplatform, native GUI, including Linux and OSX)
|
|
|
|
|
MAUI, perhaps? That could make your desktop app be (relatively easily) ported to MacOS.
/ravi
|
|
|
|
|
#Worldle #666 1/6 (100%)
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
if I want to write articles about Albert Einstein and use some pictures taken from Wikipedia from here.
is there any copy right issues for these pictures?
diligent hands rule....
|
|
|
|
|
Albert Einstein assigned all rights to his papers, photos, etc. to the Hebrew University, Jerusalem. I don't know if the copyright(s) on these items have lapsed.
I doubt that the Hebrew University pursues copyright violators with the same vigour as Disney does, but why take the chance? The prospective publisher of the articles should have ways of verifying whether the copyright has lapsed. Otherwise, you may want to contact a copyright lawyer in the country of publication.
EDIT: The Hebrew University does pursue copyright violators vigourously!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
modified 20-Nov-23 12:38pm.
|
|
|
|
|
There is a difference between the copyright of Einsteins own works and e.g. photos of him.
For the author's works, the general rule in Europe - and I believe this is generally accepted in other parts of the world - seventy years after the death of the creator, the works fall into the public domain. As Einstein died in April, 1955, you still have to wait for another year and a half before you can use his works freely.
However, most countries allow you to quote a copyright protected work. The interpretation of this 'right to quote' may vary from one jurisdiction to another, but I think if you both stay within limitation common in European countries and in the USA, you are fairly safe (especially since we are so close to the expiry of the general copyright protection).
The OP didn't ask about the copyright of AE text, but of the photos of him. That is a different thing; the copyright belongs to the author. If the photographer hasn't been dead for 70 years, by default, you cannot use the photos he made. He may, however, have released his works to the public, that be through the publication on Wikipedia or in other ways.
Pictures published on Wikipedia under different copyright regulations. Some are public domain, free to use. Some are not so free, but usually quite liberal. You will have to check up each photo individually to see what applies to this photo. For Albert Einstein, it varies among the photos of the Wikipedia article: Some are free, some slightly more restricted. When you see something else than 'public domain', you have to look up whatever that means. Maybe all it means it that you have to quote Wikipedia as the reference, but as long as you do that, you may use it freely.
|
|
|
|
|
If an image-editing or rather, image-embellishing software like Gimp is used to modify the image, and this modified image is published, then will it be a copyright violation?
By image editing, I mean some kind of modification as in slightly blurring, dithering, etc. I become the copyright owner of this modified image, isn't it?
|
|
|
|
|
Re: "slightly" modified.
That's not "fair use".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Not necessarily, it may be considered a "derived work", which the owner of the original work may still forbid. This is how, for instance, Paramount can forbid the production of "Star Trek" fan fiction.
Consult a copyright lawyer in the country(ies) of intended publication.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Generally if the image is hosted on Wikipedia, even as part of the sidebar info, clicking on it will take you to the Wikipedia image hosting page where the actual copyright status will be displayed.
90% of the time if Wikipedia are actually hosting and displaying the image, it'll nearly always be CC2.0
I have seen the very rare few that are not, but CC2.0 is by far the most common.
If it is copyright, clicking on the image and going to the Wikipedia host page usually tells you who it belongs too and where to get further info.
|
|
|
|
|
if the owner of copyright died for 50 years and did not renew the copyright, there is no copy right anymore.
this is what I read from Copy Right laws.
diligent hands rule....
|
|
|
|
|
- That applies in the US, not necessarily in other countries. If you intend to have you publication available outside the US, you must check the local laws. There are books that are available in the US but not in the UK (and vice versa) precisely for that reason.
- How do you know that the Hebrew University did not renew the copyright, without checking?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
That was never the rule in the US. A few countries use Life+50, but most (including, for new works, the US) use Life+70.
Truth,
James
|
|
|
|
|
|