Re: [dev][announce] slm - music curation

2013-12-03 Thread Alexander S.
2013/11/28 Markus Teich : > Patrick wrote: >> An example use-case shows why you would rm a file in your central media >> repository. .e.g. It was rm'd because it was Thursday and that's the day that >> I let Chaos Monkey fuck up my tunes. > > I for example see my music collection not as only-growin

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Thorsten Glaser
Carlos Torres dixit: >here we go again... Sure… googlemail user ;) >should they ban people that use fortune in their signatures too? You’d be amazed to hear that I have a collection of individual sig files and select one manually when I don’t want to use the default one, which I rotate occasion

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Carlos Torres
Hello Thorsten, On 12/3/13, Thorsten Glaser wrote: > > I did suggest banning them, didn’t I? ☺ > here we go again... > > bye, > //mirabilos > -- > „Also irgendwie hast du IMMER recht. Hier zuckelte gerade ein Triebwagen > mit > der Aufschrift "Ostdeutsche Eisenbahn" durch Wuppertal. Ich glaubs

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Thorsten Glaser
patrick295767 patrick295767 dixit: >I think about various possible POSIX and non-POSIX platforms, which >allow compiling with gcc or g++: You missed MirBSD, which incidentally is UTF-8 only (with the known issue that you need to run “script -lns” or GNU screen on the text console, but for Unicode

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Dmitrij D. Czarkoff
Troels Henriksen said: > You really shouldn't write terminal programs that require precise > colours. FWIW as a rule you really shouldn't write terminal programs that use colours. -- Dmitrij D. Czarkoff

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Markus Teich
random...@fastmail.us wrote: > Considering that he probably _actually_ executes the very same gimp-2.8 > binary all the time, your concern is misplaced. This attack is highly > situational, requiring the attacker to cause someone to encounter a > binary that they would not otherwise execute and to

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Troels Henriksen
patrick295767 patrick295767 writes: > You are completely right. Windows is important. > > > Another point... what about colors? You never know what the user > using your program will get. > Linux terminal, Windows Terminal, xterm,... > > e.g: > http://invisible-island.net/xterm/images/contrast.j

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread patrick295767 patrick295767
You are completely right. Windows is important. Another point... what about colors? You never know what the user using your program will get. Linux terminal, Windows Terminal, xterm,... e.g: http://invisible-island.net/xterm/images/contrast.jpg 2013/12/3 Noah Birnel : > On Tue, Dec 03, 2013 at

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Christoph Lohmann
Greetings. On Tue, 03 Dec 2013 18:53:04 +0100 Noah Birnel wrote: > On Tue, Dec 03, 2013 at 04:00:14PM +0100, Christoph Lohmann wrote: > > Windows has to > > adapt to Open Source and not the other way around. > > Hahahahaha. > > You live in a wonderful world. Please read up on software history.

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Noah Birnel
On Tue, Dec 03, 2013 at 04:00:14PM +0100, Christoph Lohmann wrote: > Windows has to > adapt to Open Source and not the other way around. Hahahahaha. You live in a wonderful world. Cheers, Noah

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread random832
On Tue, Dec 3, 2013, at 9:50, Markus Teich wrote: > Mihail Zenkov wrote: > > ldd /usr/bin/gimp-2.8 > > Heyho, > > http://www.catonmat.net/blog/ldd-arbitrary-code-execution/ Considering that he probably _actually_ executes the very same gimp-2.8 binary all the time, your concern is misplaced. Thi

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Mihail Zenkov
2013/12/3, Markus Teich : > http://www.catonmat.net/blog/ldd-arbitrary-code-execution/ OK. I have same result with LD_TRACE_LOADED_OBJECTS=1 /usr/bin/gimp-2.8

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Troels Henriksen
patrick295767 patrick295767 writes: > Let's take an example: > > Let's take a well-known program: vim compiled for Windows. If you use > gvim.exe in Windows, you have a perfect result. No simple problem with > characters. > However, if you take vim.exe (from the same directory as gvim.exe) and >

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Christoph Lohmann
Greetings. On Tue, 03 Dec 2013 16:00:14 +0100 patrick295767 patrick295767 wrote: > Hello, > > If you are developing C/C++ programs in a terminal environment, you > may know the problem of the codepages. Sometimes in Putty, SSH,... you > may have some problems with characters. I had that pro

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread patrick295767 patrick295767
Let's take an example: Let's take a well-known program: vim compiled for Windows. If you use gvim.exe in Windows, you have a perfect result. No simple problem with characters. However, if you take vim.exe (from the same directory as gvim.exe) and use it in the windows console (execute: cmd then ty

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Troels Henriksen
patrick295767 patrick295767 writes: > I am not so sure if you can get all the unicode well displayed on most > terminals. > > If you make a nice art / ascii graphic, you are never sure whether it > will end well displayed depending on the system/terminal, that the > user uses. No, but it's more

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread patrick295767 patrick295767
Thanks. OK. It is possible. > > Heyho, > > Can you please stop double-quoting? Thanks. > > --Markus >

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Markus Teich
Mihail Zenkov wrote: > ldd /usr/bin/gimp-2.8 Heyho, http://www.catonmat.net/blog/ldd-arbitrary-code-execution/ --Markus

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Markus Teich
patrick295767 patrick295767 wrote: > "Yep, that's a good idea, but obviously depends on the host computer > having lots of available RAM. But if you're able to it'll make > everything fast and delightful." > > 2013/12/3 Nick : > > Yep, that's a good idea, but obviously depends on the host computer

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread patrick295767 patrick295767
I am not so sure if you can get all the unicode well displayed on most terminals. If you make a nice art / ascii graphic, you are never sure whether it will end well displayed depending on the system/terminal, that the user uses. example of various chars: http://www.unicode.org/charts/PDF/U2500.p

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread patrick295767 patrick295767
> patrick295767 wrote: > >When I am using Windows, I need sometimes to use Linux without > >touching anything. So I run Debian from the USB stick. It must remain > >very light and fast. "Use a live media that copies everything to RAM. Make your own if no readily available is there - it is quite ea

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread patrick295767 patrick295767
The UTF-8 is sure the one to adopt. Luckily it exists ;) "Unicode also has all the weird line-drawing characters you could ever want, if you find them important." Indeed. You have a good compatibility, however a limited number of "weid" characters. However, if you would like to show nice effects,

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Mihail Zenkov
2013/12/2, patrick295767 patrick295767 : > In any cases: > It cannot be worst and heavy weight than GIMP. > > You need fortran, .net, perl, ruby, python... for a single application? ;) > :) You can try rebuild it with minimum dependency. For example gimp in my system require gtk/x11 and few graphi

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Dmitrij D. Czarkoff
Nick said: >> Use a live media that copies everything to RAM. Make your own if no >> readily available is there - it is quite easy with Gentoo, Arch or >> whatever remains more or less simple these days. > > Yep, that's a good idea, but obviously depends on the host computer > having lots of avai

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Ismael Luceno
On Tue, 03 Dec 2013 12:59:59 +0100 Troels Henriksen wrote: > patrick295767 patrick295767 writes: > > > Would you know a technique to have a way that your application looks > > the same on whatever system (Linux, Mac, OS/2, Windows,..)? > > Use UTF-8. Seriously, different character sets are suc

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Markus Wichmann
On Tue, Dec 03, 2013 at 10:23:02AM +0100, patrick295767 patrick295767 wrote: > I haven't python for instance ;) What for? it is slow. Nothing faster > than C coded apps. > This may be off topic, but I think you might be mistaken here. For one thing, Gtk and cousins are written in C and last I che

Re: [dev] [st] Colors slightly different hue than in xterm

2013-12-03 Thread Alexander S.
2013/12/3 Alexander S. : > Hello, > it seems that st uses one of color-cube colors to introduce bold > brightening. Clearly, for a color in xterm color cube, there is almost > never a color with the same hue, but another lightness. Probably > modifying color components, like with ATTR_INVERSE, woul

Re: [dev] [st] Colors slightly different hue than in xterm

2013-12-03 Thread Alexander S.
2013/12/2 Eric Pruitt : > On Mon, Dec 02, 2013 at 10:54:54AM +0100, Christoph Lohmann wrote: >> No, fix xterm to brighten all colors. I won’t reduce the features of st >> because of compatibility to a sloc beast. > > I'm not asking you to apply the patch to tip, I'm simply posting the > patch for

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Nick
Quoth Dmitrij D. Czarkoff: > patrick295767 wrote: > >When I am using Windows, I need sometimes to use Linux without > >touching anything. So I run Debian from the USB stick. It must remain > >very light and fast. > Use a live media that copies everything to RAM. Make your own if no readily > avail

Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Troels Henriksen
patrick295767 patrick295767 writes: > Would you know a technique to have a way that your application looks > the same on whatever system (Linux, Mac, OS/2, Windows,..)? Use UTF-8. Seriously, different character sets are such an incredibly sucky thing that nobody should consider re-introducing t

[dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread patrick295767 patrick295767
Hello, If you are developing C/C++ programs in a terminal environment, you may know the problem of the codepages. Sometimes in Putty, SSH,... you may have some problems with characters. What about this "Portability" of your terminal applications? - Not great, isn't it? If you would like to have

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread Dmitrij D. Czarkoff
patrick295767 wrote: >When I am using Windows, I need sometimes to use Linux without >touching anything. So I run Debian from the USB stick. It must remain >very light and fast. Use a live media that copies everything to RAM. Make your own if no readily available is there - it is quite easy with G

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread patrick295767 patrick295767
Your application: https://code.google.com/p/grafx2/wiki/gallery is really awesome. I wonder if it is not better to port/code a gfx application which could be using SDL on Windows as well. SDL is quite well compatible, universal: "SDL officially supports Windows, Mac OS X, Linux, iOS, and Android.

Re: [dev] portable photoshop-like lite application based on C?

2013-12-03 Thread patrick295767 patrick295767
"You're running gimp from a USB stick? Why is that? Or are you running it on some horrible shared Windows terminal thing?" Sure. When I am using Windows, I need sometimes to use Linux without touching anything. So I run Debian from the USB stick. It must remain very light and fast. Compared to a L