|
Yeah, that would be a big wrong. I'm not writing unicode pattern matching code by hand, for example. I really don't want to type the following if statement:
if((ch >= 92736 && ch <= 92766) || (ch >= 92880 && ch <= 92909) || (ch >= 92928 && ch <= 92975) || (ch >= 92992 && ch <= 92995) || (ch >= 93027 && ch <= 93047) || (ch >= 93053 && ch <= 93071) || (ch >= 93952 && ch <= 94020) || ch == 94032 || (ch >= 94099 && ch <= 94111) || ch == 110592 || ch == 110593 ||
(ch >= 113664 && ch <= 113770) || (ch >= 113776 && ch <= 113788) || (ch >= 113792 && ch <= 113800) || (ch >= 113808 && ch <= 113817) || (ch >= 119808 && ch <= 119892) || (ch >= 119894 && ch <= 119964) || ch == 119966 || ch == 119967 || ch == 119970 || ch == 119973 || ch == 119974 || (ch >= 119977 && ch <= 119980) ||
(ch >= 119982 && ch <= 119993) || ch == 119995 || (ch >= 119997 && ch <= 120003) || (ch >= 120005 && ch <= 120069) || (ch >= 120071 && ch <= 120074) || (ch >= 120077 && ch <= 120084) || (ch >= 120086 && ch <= 120092) || (ch >= 120094 && ch <= 120121) || (ch >= 120123 && ch <= 120126) || (ch >= 120128 && ch <= 120132) ||
ch == 120134 || (ch >= 120138 && ch <= 120144) || (ch >= 120146 && ch <= 120485) || (ch >= 120488 && ch <= 120512) || (ch >= 120514 && ch <= 120538) || (ch >= 120540 && ch <= 120570) || (ch >= 120572 && ch <= 120596) || (ch >= 120598 && ch <= 120628) || (ch >= 120630 && ch <= 120654) || (ch >= 120656 && ch <= 120686) ||
(ch >= 120688 && ch <= 120712) || (ch >= 120714 && ch <= 120744) || (ch >= 120746 && ch <= 120770) || (ch >= 120772 && ch <= 120779) || (ch >= 124928 && ch <= 125124) || (ch >= 126464 && ch <= 126467) || (ch >= 126469 && ch <= 126495) || ch == 126497 || ch == 126498 || ch == 126500 || ch == 126503 ||
(ch >= 126505 && ch <= 126514) || (ch >= 126516 && ch <= 126519) || ch == 126521 || ch == 126523 || ch == 126530 || ch == 126535 || ch == 126537 || ch == 126539 || (ch >= 126541 && ch <= 126543) || ch == 126545 || ch == 126546 ||
ch == 126548 || ch == 126551 || ch == 126553 || ch == 126555 || ch == 126557 || ch == 126559 || ch == 126561 || ch == 126562 || ch == 126564 || (ch >= 126567 && ch <= 126570) || (ch >= 126572 && ch <= 126578) ||
(ch >= 126580 && ch <= 126583) || (ch >= 126585 && ch <= 126588) || ch == 126590 || (ch >= 126592 && ch <= 126601) || (ch >= 126603 && ch <= 126619) || (ch >= 126625 && ch <= 126627) || (ch >= 126629 && ch <= 126633) || (ch >= 126635 && ch <= 126651) || (ch >= 131072 && ch <= 173782) || (ch >= 173824 && ch <= 177972) ||
(ch >= 177984 && ch <= 178205) || (ch >= 178208 && ch <= 183969) || (ch >= 194560 && ch <= 195101)(ch >= 92736 && ch <= 92766) || (ch >= 92880 && ch <= 92909) || (ch >= 92928 && ch <= 92975) || (ch >= 92992 && ch <= 92995) || (ch >= 93027 && ch <= 93047) || (ch >= 93053 && ch <= 93071) || (ch >= 93952 && ch <= 94020) || ch == 94032 || (ch >= 94099 && ch <= 94111) || ch == 110592 || ch == 110593 ||
(ch >= 113664 && ch <= 113770) || (ch >= 113776 && ch <= 113788) || (ch >= 113792 && ch <= 113800) || (ch >= 113808 && ch <= 113817) || (ch >= 119808 && ch <= 119892) || (ch >= 119894 && ch <= 119964) || ch == 119966 || ch == 119967 || ch == 119970 || ch == 119973 || ch == 119974 || (ch >= 119977 && ch <= 119980) ||
(ch >= 119982 && ch <= 119993) || ch == 119995 || (ch >= 119997 && ch <= 120003) || (ch >= 120005 && ch <= 120069) || (ch >= 120071 && ch <= 120074) || (ch >= 120077 && ch <= 120084) || (ch >= 120086 && ch <= 120092) || (ch >= 120094 && ch <= 120121) || (ch >= 120123 && ch <= 120126) || (ch >= 120128 && ch <= 120132) ||
ch == 120134 || (ch >= 120138 && ch <= 120144) || (ch >= 120146 && ch <= 120485) || (ch >= 120488 && ch <= 120512) || (ch >= 120514 && ch <= 120538) || (ch >= 120540 && ch <= 120570) || (ch >= 120572 && ch <= 120596) || (ch >= 120598 && ch <= 120628) || (ch >= 120630 && ch <= 120654) || (ch >= 120656 && ch <= 120686) ||
(ch >= 120688 && ch <= 120712) || (ch >= 120714 && ch <= 120744) || (ch >= 120746 && ch <= 120770) || (ch >= 120772 && ch <= 120779) || (ch >= 124928 && ch <= 125124) || (ch >= 126464 && ch <= 126467) || (ch >= 126469 && ch <= 126495) || ch == 126497 || ch == 126498 || ch == 126500 || ch == 126503 ||
(ch >= 126505 && ch <= 126514) || (ch >= 126516 && ch <= 126519) || ch == 126521 || ch == 126523 || ch == 126530 || ch == 126535 || ch == 126537 || ch == 126539 || (ch >= 126541 && ch <= 126543) || ch == 126545 || ch == 126546 ||
ch == 126548 || ch == 126551 || ch == 126553 || ch == 126555 || ch == 126557 || ch == 126559 || ch == 126561 || ch == 126562 || ch == 126564 || (ch >= 126567 && ch <= 126570) || (ch >= 126572 && ch <= 126578) ||
(ch >= 126580 && ch <= 126583) || (ch >= 126585 && ch <= 126588) || ch == 126590 || (ch >= 126592 && ch <= 126601) || (ch >= 126603 && ch <= 126619) || (ch >= 126625 && ch <= 126627) || (ch >= 126629 && ch <= 126633) || (ch >= 126635 && ch <= 126651) || (ch >= 131072 && ch <= 173782) || (ch >= 173824 && ch <= 177972) ||
(ch >= 177984 && ch <= 178205) || (ch >= 178208 && ch <= 183969) || (ch >= 194560 && ch <= 195101)) ...
Real programmers use butterflies
|
|
|
|
|
That code should be banned.
|
|
|
|
|
The thing is, it's generated from regular expressions, and it's fast.
Real programmers use butterflies
|
|
|
|
|
I also have the feeling you are creating amazing code!
Nevertheless I don't see you have the right to advertise it in the Lounge...
Every nobody else doing same will be canceled
modified 26-Nov-21 21:01pm.
|
|
|
|
|
I'll let Chris decide that. I think I was in bounds.
Real programmers use butterflies
|
|
|
|
|
That aint code
Its sourcery
|
|
|
|
|
Not a big deal. It was about 11 years old and mainly used for the installed programs and backups. My last surviving Win7 installation is a little upset that all installed programs have evaporated, but that's all.
Time to install a new drive in my old box and at the same time semiretire Windows. Let's install Linux on one of the partitions of the new drive and make my old box a dual boot system. What flavor of Linux should I use? Up to now I used Ubuntu because it was easy to get, but other distributions may be even more useful. Any suggestions?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
CodeWraith wrote: dual boot system
In an age where it's trivial to put together a virtual machine, I don't know why anyone still multi-boots. Do people really stop everything they're doing and reboot into an entirely separate OS, when they need to fire up an app that's only available on it? And then reboot again when they're done?
I don't see the use-case for multi-booting anymore. And I was a big, big, believer back in the day.
|
|
|
|
|
Some things, mainly old software but also some games and hardware dependent software, do not play nice inside a VM. At least that is my only reason to multi-boot these days. CodeWraith may prefer to dual boot (i don't know). But I agree with you. Generally VMs are easier to maintain.
|
|
|
|
|
I've got an admittedly obscure use-case: testing driver installation, at least for Windows. For Windows 7 and to some extent 10, driver installation in a VM could succeed, but then fail when booting 'natively', or vice versa.
Software Zen: delete this;
|
|
|
|
|
Gary R. Wheeler wrote: testing driver installation
Gotcha. That's all you needed to write.
|
|
|
|
|
The only thing worse than writing Windows device drivers is writing installation software for them. They document three ways to do it, and it's the fourth one that actually works.
For what it's worth, the Microsoft hardware department (creators of the 'DDK' (Device Driver Kit) or whatever it's called today), still occupies the #2 slot on my list of development-teams-put-against-the-wall-when-the-revolution-comes.
Software Zen: delete this;
|
|
|
|
|
Which begs the obvious question, who occupies the #1 slot?
I've only had to use the DDK once in my life, back in the 95/NT days. The only part I remember is that it wasn't..."pleasant"...just to be polite about it.
|
|
|
|
|
I usually go for Xubuntu/Lubuntu which have a slightly lower spec requirement but depends on what hardware you have and what you intend to use it for. For my really old computers (more than 20 years old) I tend to use either MS-DOS 7.1 or SliTaz (with or without GUI) but, at least, MS-DOS will not support an SSD. If all you want is web/mail/office then SliTaz/Xubuntu/Lubuntu should work fine on a 11 year old computer/laptop.
|
|
|
|
|
It's a i7 with 32 Gb RAM.
Not the newest, obviously, but we will not have to go all the way back to DOS.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Then any Ubuntu derivative will probably work best for you since you already used Ubuntu. Xubuntu/Lubuntu are lighter on resources. Kubuntu is more graphic heavy with more things implemented with GUI. Behind the GUI they are pretty much identical.
There are more OS based on debian/ubuntu like Mint but I never used them.
CodeWraith wrote: will not have to go all the way back to DOS
From what I read on news from Microsoft OS releases from latest years, some day, DOS may be the only Microsoft OS left running that does not complain about anything
|
|
|
|
|
|
I do have some really old boxes, but this one is not that old. It's a i7 with 32 Gb RAM.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I like Debian
The less you need, the more you have.
Even a blind squirrel gets a nut...occasionally.
JaxCoder.com
|
|
|
|
|
Quote: Time to install a new drive in my old box
"old box" Good grief! 11 Years old!? Mate you need a new box, not just a drive! My boxes rarely last 5 years before they join that great computer box heaven in the sky!
Get me coffee and no one gets hurt!
|
|
|
|
|
I have a computer graveyard of desktops, laptops, and printers. My wife accuses me of being a Hoarder. She may be right, but I'll never admit it to her. That would be setting a very bad precedent.
I still have a laptop running XP that I do my taxes on.
Ed
|
|
|
|
|
Keiichi Okabe - Weight of the World (played on piano by Animenz)[^]
I'm still playing NieR Replicant and of course I bought the soundtrack.
I've been listening to the NieR Automata soundtrack as well though and I decided to order the NieR Automata Piano Collections (already have the soundtrack) with my NieR Replicant soundtrack.
This week, it finally arrived (package from Japan, can take a few weeks)!
The NieR Replicant soundtrack is great, but I've been listening to it for the past few weeks.
So I've been listening to the Piano Collections and this song is still great.
The English version of Weight of the World (sung by Emi Evans) was featured in the SOTW some years ago and Emi Evans was featured again two weeks ago with a NieR Replicant song.
No Emi Evans in this version, also not sure who this guy is, but he plays is magnificently!
Its not the Piano Collections version, but it's still SOTW for a great performance.
|
|
|
|
|
|
David O'Neil wrote: Beautiful! Here's one I posted to a thread long ago: The Lounge - Night of Nights. There are many mixes of that song around, and you can follow the rabbit trail to items like Impossible Piano Song - Death Waltz (U.N. Owen Was Her?). They should keep you awake for a bit! Not much into this.
I prefer my (piano) music less midi and more human playable
You should look up "black midi" though, like this one In the Hall of the Mountain King - Edvard Grieg | Impossible Piano Remix | Black MIDI @Sir Spork - YouTube[^] (sh*t goes down at around 3:08 )
Although I can enjoy some good old retro soundtracks.
David O'Neil wrote: Here's a couple toe-tappers: Changeability of Strange Dream: Night Falls ~ Evening Star and CtC Yukari's Theme: Night Falls ~ Evening Star This is pretty much the right direction, quite catchy too.
|
|
|
|
|