[fpc-other] Who actually invented open source?

2017-08-20 Thread noreply
I was thinking, there are people who think they invented free/open 
source software and are some kind of prodigy for doing so, i.e. 
Stallman, Eric S Raymond,


But wasn't it mathematicians, long ago, who released their math to the 
public as open source math texts?


AFAIK no mathematician put serious restrictions or patents on his math 
texts...
Why, for example, and a Math text or paper not be sold as shareware or 
patented..


So while we think open source and free software is new, isn't that the 
whole concept of  Math, to share your math with other people without too 
many restrictions? And they did that back before humans had indoor 
plumbing.


The true inventors of open source??

Mathematicians, or scientists? Science is shared publicly and openly 
too..

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] homepage - no foundation link

2017-08-20 Thread noreply

On Thu, 17 Aug 2017, Graeme Geldenhuys wrote:


Hi,

Maybe I'm going blind (considering the amount of screen time its very 
likely), but I don't see any link to the Free Pascal Foundation from 
the Free Pascal homepage?


  https://www.freepascal.org/


Why is that? Surely the two should be related.

On a side note:
  Also, why isn't there a "Donation" link on the homepage? I would
  assume donating to the Foundation means the Free Pascal project
  would benefit?




Because the freepascal project is run by A.I. bots, not humans...
Where do you think they get the "time" to do all this work?
In their spare time? Sounds like a conspiracy to me.

A.I. bots need no money, that's why it's "freepascal", free as in free.
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] StrumPract, the Swiss knife of musicians.

2017-07-25 Thread noreply

On 2017-07-24 07:18, Fred van Stappen wrote:

Does it have anything to do with MIDI?


No, all is done with wav files coupled with a endless sine wave.


p.s. "learn to play drums in 4 lessons".. okay but I am a drummer

and it ok me a little longer than that ;-)

Huh. of course.  I am a drummer too but I have to say that (long time
ago) the trick to count loud 1, 2, 3, 4, place the bass on 1, snare on
3 and closed hat on 1, 2, 3, 4 was the beginning of all.




AFAIK it is informally called "backbeat"
The basic rock beat of all.

And ...

"Backbeat is a 1994 Anglo-German drama film directed by Iain Softley. It 
chronicles the early days of the Beatles in Hamburg, Germany."




I did begin drums-set with 2 wood sticks, the ground as bass-drum, a
table as snare and a glass for hat.

@ beginners, if you can do the lesson 3, you are on the way to become
drummer.

Huh, yes, we mans have much more difficulty than women to synchronize
our feeds with hands.


I have tought a few women to play drum basics (small sessions, nothing 
serious) and found they are pretty much the same as men in making 
mistakes learning, but, not enough scientific evidence for a study ;-)


Would be an interesting science study: the ability to learn multi 
tasking instruments: brain science. Man vs woman.



(But some say that when we get it, we are more creative).

Thanks to try StrumPract.



When I get an a.d.d. threaded opportunity!

Have a laptop sitting waiting to try installing bsd on soon


___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] StrumPract, the Swiss knife of musicians.

2017-07-23 Thread noreply

On 2017-07-13 09:27, Fred van Stappen wrote:

Hello.

I am happy to announce the born of StrumPract.

It was created using fpc, msegui and uos.

StrumPract has various tools for musicians.

Learn to play drums set in 4 lessons.
Practice your instrument with a editable drums machine.
Tune your guitar and bass.
Play audio files, change tempo and loop it.

There are compiled executable for Linux 32/64, Windows 32/64 and
FreeBSD 64.
 => https://github.com/fredvs/strumpract/releases/ [1]

 There sources are here:
  => https://github.com/fredvs/strumpract/

PS: Any comment are highly welcome.

Fred van Stappen


Does it have anything to do with MIDI?
Recently bought a midi keyboard and have midi drum kits

p.s. "learn to play drums in 4 lessons".. okay but I am a drummer and it 
took me a little longer than that ;-)

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] How do you keep up with FPC discussions?

2017-05-26 Thread noreply

On 2017-05-25 06:10, Mark Morgan Lloyd wrote:

On 25/05/17 10:20, Graeme Geldenhuys wrote:
On 2017-05-25 09:02, Mark Morgan Lloyd wrote:> even if most of the 
time

he> pushes it far harder than many of us enjoy.
I’m afraid it’s an occupational habit. My job as a technical 
consultant

and developer often requires me to come up with more efficient ways of
doing things. Yes, inefficient ways and code really grind on me. I’ll
try my best not to push this any further here.


I /am/ trying to be neutral on this, but I think it has pretty much
been done to death here: particularly since Florian has given his
ruling.


Well if we want to come up with  an efficient way of doing things, it's 
possible that Git and SVN are both not the answer to development model. 
The answer may be to start up a campus, similar to microsoft campus, 
with multiple buildings and developers that can literally knock on each 
others door when needing assistance :-)


i.e. freepascal becomes a campus... with social eating events in the 
campus at lunch.


But that would require funding and relocating of all developers, and, 
even in a campus you'd probably still use svn/git anyway :-)

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] How do you keep up with FPC discussions?

2017-05-26 Thread noreply

On 2017-05-26 10:27, Ralf Quint wrote:

On 5/26/2017 4:36 AM, wkitt...@windstream.net wrote:


hahaha... nope... just experienced readers of messages who have
learned how to work through them fairly quickly and easily... i will
grant that it does take an hour or two... if i'm offering someone some
help and have to go write code, i do that over several days... even if
it means skipping some reading a day or two...

And on top of that, experienced enough to use a proper email client,
with proper message filtering, instead of (ab)using a web browser just
just another task... ;-)

Ralf



Indeed I hate web based programs of all kinds, but, after lots of my 
email clients corrupted their databases which were not in plain text and 
I lost my emails, I started using web servers and web programs as email 
clients for lots of email.  Thunderbird was an option, as AFAIR you 
could store email as plain text, which is easier to recover if there is 
a failure, but thunderbird, was bloated and took up way too much memory.
Sylpheed claws was another one I was interested in, as it had one of the 
most advanced "Rule" system to automate tasks. More advanced than any I 
could find.. it has changed names to claws-mail



However, IMO it has nothing to do with filtering out email because you 
still have to read the email lists and read through emails no matter how 
much you filter things. It's not like you can magically guess that "all 
emails regarding anything to do with VARARGS I want to delete" because 2 
months later you may need varargs help. Or, it's not like you can 
magically guess that you don't want any emails coming in that have 
anything to do with fixed arrays, because you don't use fixed arrays - 
but maybe you will in 2 months!


Setting up thousands of filters is a time waster too...

But, this does bring me back to the sylpheed claws exploration days when 
I was really into automating email rules using advanced 
filtering/rulesets. I don't use them much any more but I used to use 
them like crazy

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] What makes a Compiler project (like FPC) special?

2017-05-26 Thread noreply

On 2017-05-25 16:21, Nikolay Nikolov wrote:

On 05/26/2017 12:16 AM, Graeme Geldenhuys wrote:

On 2017-05-25 22:04, Marco van de Voort wrote:

There are no narrow interfaces that are natural seams for
modularization inside the compiler.


Yet the “packages” and “rtl” directories is just that - which by the 
way is part of the FPC project.

"packages" - yes. But "rtl" is a lot more tightly coupled to the
"compiler" than you think.



Indeed, all the string routines and reference counting is tied to the 
compiler.

I learned this when I had an idea for a new string type..

A string(1000) instead of string(255) or a string(arbitrary). Fixed 
length string that can go beyond 255. Oberon has it. When you introduce 
a new type into the RTL that is not a class, but a type that is part of 
the language itself you have to add all the routines in sysutils to deal 
with this type, change the compiler, make overloaded string routines.


And system.pp is tightly intertwined with the compiler and is almost a 
run time for the language. Not as much like Plain C, but probably even 
Plain C has some connections to the include files and the compiler


Then there is writeln too which is tied to the compiler as it is like a 
varargs, but accepts multiple types. So if you introduce a new 
string(1000) into the compiler, writeln also has to be modified to 
accept this new type as a parameter. But not just writeln, other things 
too.


If you don't have this intertwined and tightly integrated system you 
just end up putting things into a Lisp like system where it is all 
defined by not the compiler/rtl, but the libraries/modules which changes 
the language at run time. Powerful but also double edged sword that 
makes the language redefinable - open for abuse and misuse, such as 
lisp's ability to basically rechange the entire language to any thing 
you want as long as you include (some(brackets)) but everything else is 
up for grabs.

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] What makes a Compiler project (like FPC) special?

2017-05-26 Thread noreply

On 2017-05-25 16:04, mar...@stack.nl wrote:

   But Florian's statements just bugged me, and I see no proof to
   convince me otherwise - a compiler is just a complex project.
   Nothing "special" as he claimed it to be.


I do think Nikolay's point of it being more interconnected describes it
fairly well. There are no narrow interfaces that are natural seams for
modularization inside the compiler.



I've always wanted to modularize the fpc compiler in such a way that you 
could use the fpc compiler for not just compilation, but 
checking/parsing the code for other reasons, i.e. fpdoc.

But this would likely make the compiler slower.

And another modular compiler idea is that you could embed a relational 
database language inside fpc as a plugin, such as SQL or TutorialD, but 
these are just pipe dreams - and a plugin/modular compiler likely will 
be slower to compile code since there are now more things the compiler 
has to choose to do, more wrappers. But, I don't know for certain.


There was also that strange, but rejected, object oriented plugin 
compiler that someone was working on at one time.. Was it Dodi? I forget 
his name. Maybe the delphi decompiler guy?

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] How do you keep up with FPC discussions?

2017-05-25 Thread noreply

On 2017-05-24 08:54, Karoly Balogh (Charlie/SGR) wrote:

Hi,

On Wed, 24 May 2017, Nikolay Nikolov wrote:


> I'm positive that some of you are just clever A.I. bots posing as
> humans.. that's where your super powers come from. You're not actually
> humans..
Hahaha, you got that right! That's my secret! :)


For the record, I met him in person already, and I can confirm this. :)

Charlie


The issue becomes if you do meet a human in real life, it could just be 
a brain wave sent to your brain to interpret it as a human inside your 
brain, like an opengl render scene injected into your neurons, so you 
never know if it is a true human.


Someone, for example, like Lawrence Krauss, is strikingly smart 
scientist who I cannot imagine being a human being as he has all this 
database of science in his head that no human could hold in a brain

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] How do you keep up with FPC discussions?

2017-05-25 Thread noreply

On 2017-05-25 04:20, wkitt...@windstream.net wrote:

while i understand what you are saying, i always get a huge belly
laugh when someone says anything about cluttering an inbox... that's
just crazy when you have filters that can easily move new mail to its
own folder for reading... each of the FPC related mailing lists comes
into my thunderbird and is filtered to its own (sub)folder where the
messages are read in threaded mode... it is faster and available to me
even when i'm offline... plus i have a local copy of all the messages
so i can search historically if desired...


Indeed you can hide all the mailing list into one folder so its not 
visible. But once you start opening that folder and trying to read 
through, say 5 lists, your day is just used up - especially if you stop 
to help someone on the list and then have to open up fpc to test your 
idea/help hint you gave to them.


I'm convinced you are all lying a.i. bots with super powers, though
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] What makes a Compiler project (like FPC) special?

2017-05-25 Thread noreply

On 2017-05-25 09:18, Graeme Geldenhuys wrote:

This is directed at Florian primarily, but any other FPC core member
is welcome to chip in.

Since Florian mentioned that a compiler project is "rocket science"
[not his direct words, but he hinted at that] and totally different to
any other software project... It has really bugged me... Why is it
different, and What is different?


Sorry I don't speak as a core, but it is in fact rocket science..

If you look at the compiler sources and try to understand what is going 
on, it's either:

 - a mess
 - rocket science
 - both
Because there are so many things to take care of, probably more than a 
space ship... after all, space ships that have their computers on them, 
require a compiler to compile the code that runs on rockets/space ships. 
So imo compilers are more important than space ships and rockets 
themselves, but this, is speaking from an Alien perspective as I never 
was from this Earth planet.

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] FPC Graphics options?

2017-05-23 Thread noreply

On 2017-05-22 18:39, Graeme Geldenhuys wrote:

On 2017-05-22 22:45, nore...@z505.com wrote:
The amount of nesting and indented procedures inside classes in Java 
is

horrible, IMO.


It's not a Java language issue, but the indent preference of the
developer. Many Java IDE's support multiple coding styles and does
auto-formatting as you type or save. Some coding styles are better
than others, and all of them are configurable.

Regards,
  Graeme


I'm not just talking about 8 space indentation vs 4 space or 2, I mean 
having to put code

{
   {
{
   here

Instead of fpc/oberon/golang:

func {

  code here


or

procedure TSomeObj.Example
begin
  code here


instead of

...
   ...
  ...code here

Just to do basic bloody damn things, Java and C# require ridiculous 
obnoxious nests/indentations.


No talking about 2 vs 8 space indentation choices, although that's 
another issue

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


[fpc-other] How do you keep up with FPC discussions?

2017-05-23 Thread noreply
I can't find enough time in the day to read even one single email list 
(fpc-pascal), let alone two, or more..


How in the world do people (you) keep up with reading email lists and 
not waste the entire day?


It seems some of you have super human powers that I don't have, to be 
able to both program, and email, and read email, and cook/work.


I can barely keep up with one email list, and fpc is not even that 
popular of a list compared to others...


Maybe I'm a retard and my brain is slow, but how the f**k do you keep up 
with all these emails and have any time for programming, cooking, 
working, hiking, possibly a relationship with opposite sex?


There is just no time.

I'm positive that some of you are just clever A.I. bots posing as 
humans.. that's where your super powers come from. You're not actually 
humans..


Reason for posting this to fpc-other: obvious.
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] FPC Graphics options?

2017-05-23 Thread noreply

On 2017-05-23 01:03, Nikolay Nikolov wrote:

Isn't java just a wrapper around C?
No. Java compilers generate code for a virtual machine, called JVM 
(Java

Virtual Machine). They do not generate code for x86 CPUs or any other
 ...snip...



But the virtual machine is just C code, so it's a wrapper around C, IMO

I could be wrong, but, all it does is end up calling C written VM, 
right?

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] FPC Graphics options?

2017-05-23 Thread noreply

On 2017-05-22 18:53, Graeme Geldenhuys wrote:

On 2017-05-22 23:39, nore...@z505.com wrote:

What about Rust or plain C? Or Digital Mars D?


I hate C with a passion. I'll never code in that ever again.



Pascal and C are actually twin brothers with slightly different 
syntax...


But my biggest hate for C is not C itself but just the one fact that it 
lacks strings.


Without strings, a language is headed for the graveyard, IMO.

Counting pchars in your head is just a waste of brain power..

The C struct is literally the pascal record, and is all based on the 
same Structured Programming work by Dijkstra

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Git & SVN

2017-05-23 Thread noreply

On 2017-05-23 17:41, Graeme Geldenhuys wrote:

On 2017-05-23 21:16, Florian Klämpfl wrote:

... and the code is lost :)


Not at all, I have about 20+ local branches in my fpGUI repository.
Some branches date back to 2009, 2010. Ideas I had, but lost
motivation, or they were simply an experiment (that could be useful at
some point). Just 2 days ago I revived a 5 year old branch and finally
completed the work.


But what happens with corrupted or failed hard drive on your personal 
computer? Do you have any backups or is this local git work only on one 
personal hard drive that could fail at any time?



Sorry, I've just had too many hard drives fail on me... so many fail 
that it's almost as if someone was doing it on purpose to me.


Do you make some backups on a usb stick or some server elsewhere no one 
can see?

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Git & SVN

2017-05-23 Thread noreply

On 2017-05-23 15:36, Karoly Balogh (Charlie/SGR) wrote:

> At work, I don't even push against master, but I do a pull request
> against my own repository, and ask one of my senior colleagues to
> review... I don't know about you, but to me this sounds a lot more
> like teamwork, than going around beating up people "for wrongdoing"
> with a cluestick.

Then you don't understand what I mean. In the job you go see the 
person,

work something out, and problem sorted in a few minutes. The odd
impossible person is usually swiftly dealt with.




Honestly, I can't even... You sound like the Expert Beginner Twitter
account. No personal offense intended, but you just do.



He's talking about Army of Programmers in a Building, an article I wrote 
years ago ;-)


Sometimes it's better to just walk over and talk to a real programmer in 
a real building than it is to send some email over the christmas 
holidays and wait 2 weeks for a reply for him to commit his changes.. 
since he's in Barbados or Cuba on vacation.


With Army of Programmers in a Building you can just go and knock on his 
door, or his cubicle, instead of this pathetic thing called Email.


The disadvantage of working in the same town/building as someone, 
though, is that they may always be bothering you non stop and tapping on 
your shoulder, but not really since programmers aren't that obnoxious, 
AFAIK


This development on the internet across multiple countries has some 
massive disadvantages to something like the Microsoft Campus where you 
can go over and knock on the guys door, or at Borland (although, they 
are hiring people offshore AFAIK now)


And sometimes typing out a long email takes time, instead of just being 
able to speak in real time to a real person - an email is like a fixed 
essay, whereas a conversation is in real time, instant. They have IRC 
for this, I guess, but that becomes addictive and wastes lots of time, 
IMO, and you don't get as much work done if you are chit chatting 
nonstop on irc/icq/message systems

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Git & SVN

2017-05-23 Thread noreply

On 2017-05-23 17:33, Graeme Geldenhuys wrote:

On 2017-05-23 21:10, Karoly Balogh (Charlie/SGR) wrote:

Now, in Git, this idiot can do:


Plus that idiot could start the fork and his branch without needing to
bother the FPC team. With SVN he has to ask them to add him to the
SubVersion repo user list, create a branch, and manage his user
permissions for that branch.



Yes but forking is a double edged fork (sword)...
You can fork so easily that no one actually works together and then you 
have 218982 versons of emacs floating about that no one actually uses, 
because so many forks splits up the userbase and then everyone just ends 
up using a central version of emacs, the main copy



Git = KISS is this case. ;-)



Everyone making thousands of forks and not working together is not 
simpler, it's just a different way


I like the ability to fork, as I am sick of developers not allowing me 
to make some change, and I go off and work myself on some fork but.. 
it's also anti-social and leaves projects in so many forks that no one 
works together. Everyone forks github repos and then you cannot search 
the damn code on github, as forks are not searchable - so no one can 
find good updated code, you just see the main git repo, which, is kind 
of like having a central svn repo! but with thousands of stale forks???

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Git & SVN

2017-05-23 Thread noreply

On 2017-05-23 09:01, DaWorm wrote:

emacs!  vi!

Let's call the whole thing off and use EDLIN.


Don't forget mg

https://www.google.ca/search?q=mg+micro+gnu+emacs

From what I remember, this one had some nice simple C source code 
instead of bloated projects..

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Git & SVN

2017-05-23 Thread noreply

On 2017-05-23 04:23, Graeme Geldenhuys wrote:

On 2017-05-22 23:11, nore...@z505.com wrote:

What happens if you use the SVN bridge that allows you to run svn
commands to a git server?


Maybe your wording is confusing, or SVN has abilities I didn't know
of.


it may just be a github thing, I'm not sure. Not git, possibly, but 
github has an SVN bridge that allows you to treat a github repo just 
like an SVN repo, and run svn commands.
I use total commander for most of my SVN work with tortoise svn, which 
sounds like I am some kind of newbie/beginner since I don't use command 
line much, but it serves my need very well visually committing which 
files I need, which IMO is faster and more productive than running 5 
different commands on files I have to manually type in or keep pressing 
the up arrow to repeat old commands (seems like 1970's way of doing 
things on unix, which I avoid) But I guess that is another issue.


The point is that github does in fact allow you to treat a github repo 
like an SVN one, so I wondered if Florian had tried this - but I guess 
you might as well use SVN if you are going to make github "like svn" 
instead of actually being svn. Key advantage: use github awesome web 
interface gui, plus have svn like revision...


IMO the big success of git is not git, but the github website which is 
visually stunning, beautiful, and productive - along with being a great 
social tool (although, I'm not so social). Only gripe I have about 
github is the fact that you cannot search forks! Searching forks on 
their website is essential for finding other people's code, and you 
cannot do that. you can't search any forks??? wtf..

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Git & SVN

2017-05-23 Thread noreply

On 2017-05-23 04:23, Graeme Geldenhuys wrote:

On 2017-05-22 23:11, nore...@z505.com wrote:

What happens if you use the SVN bridge that allows you to run svn
commands to a git server?


Maybe your wording is confusing, or SVN has abilities I didn't know
of. I know Git can manage SVN repositories, but I didn't know it was
possible other way round (I doubt it is possible).


I use it every day.

When I hired someone for a bounty, he introduced me to it, and I have 
been using it ever since :-)

p.s. Thanks Dmitry! ;)

It's my stubborn old practice of not wanting to learn a new tool, Git, 
when SVN was working quite fine for my needs, but I do admit I don't 
have experience working with thousands/hundreds of developers all on the 
same repo, I more use it for my own need.

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] FPC Graphics options?

2017-05-22 Thread noreply

On 2017-05-18 10:05, Graeme Geldenhuys wrote:

On 2017-05-18 15:58, Reimar Grabowski wrote:

A real game would be done differently and then FPC is fast.


Oh, so work around the FPC problem. I get it now. ;-)



Wanne do PacMan in 160x100 resolution, no problem for FPC.


Check.



Wanne do something more modern...


Use Java instead. ;-) Check. Oh wait, that's what I did for that 
project.




What about Rust or plain C? Or Digital Mars D?

Biggest problem with C is all the manual memory management, like 
strings, for example, that IMO morons waste hours of time on and create 
buggy code, all needlessly and unnecessarily.


Or instead of using rust/c/java, simply fix FPC, which is a good 
solution IMO, as not only does it speed up some boring game test case, 
but fixes other things that people didn't know about which were slowing 
down their app.


I don't see how ZenGL and Andorra3D have been able to succeed as game 
engines with all these performance issues in the RTL/compiler? Did they 
work around them and swap in their own faster code, instead of reporting 
the bug/issue to the fpc bug reporting?


Indeed it is not exactly a bug but could just be correct code that is 
slow.

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] FPC Graphics options?

2017-05-22 Thread noreply

On 2017-05-21 07:58, Felipe Monteiro de Carvalho wrote:

On Thu, May 18, 2017 at 5:05 PM, Graeme Geldenhuys
 wrote:
Use Java instead. ;-) Check. Oh wait, that's what I did for that 
project.


Well, Java also has its issues.

...


import java.util.*;

class FelipeTestThread
{
volatile boolean running = true;

public void test()
{
new Thread(new Runnable()
{
public void run()
   {
int counter = 0;
while (running) {
counter++;
}


Yes indeed, one issue is:

your code is
{
{
 {
   way
 {
   over here


Compare that to oberon or even Plain C where your code:

someproc {
is here
}


Not here:

{
  {

 {
 system.print()

Same issue with C#

Not an issue with: golang, fpc, delphi, oberon, C, or even in some cases 
ruby


The amount of nesting and indented procedures inside classes in Java is 
horrible, IMO.

Just to get a program started you are

   way over here
  by morning
 and worse
 by night
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Google Invents Pascal

2017-05-21 Thread noreply

On 2017-05-18 10:20, Mark Morgan Lloyd wrote:

According to
http://www.theregister.co.uk/2017/05/17/android_kotlin_java_alternative/
a language called Kotlin is now one of the preferred few for Android
development.

According to https://kotlinlang.org/docs/reference/basic-syntax.html
it looks like this:

fun maxOf(a: Int, b: Int): Int {
if (a > b) {
return a
} else {
return b
}
}

I've got a vague recollection that this is not the first
recently-defined language which, at least for special cases, puts the
type after the variable or function name. But apart from bowing to
dominant usage (braces rather than begin-end and so on) this does
appear remarkably Pascal-like.



Oh for god's sake... yet another language with similar syntax just like 
fpc/golang/nimrod, yet another language to learn that does almost 
exactly the same thing as FPC but with slightly different syntax ;-)


At appears to be stolen from Qomp/fpc/golang definitely, possibly a 
little Nimrod


___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Developer workflow with Ergodox

2017-05-15 Thread noreply

On 2017-05-14 19:28, Graeme Geldenhuys wrote:

On 2017-05-14 22:09, nore...@z505.com wrote:

Does it solve the Shift Key strains issue?


Yes, you can reprogram the keyboard layout any way you want. Modifying
a layout is very simple via code. And even if that is too much for
you, there is visual web based layout designer that generates the .hex
binary file for you.

The possibilities with the Ergodox is endless. Just take a look at this 
website.


  https://implementsblog.com/2016/10/16/my-ergodox-ezs-custom-layout/

The modifier keys are now long-press keys under the home row. I tried
in recently, and it is amazingly good, and actually pretty easy to get
used to. Finger travel is now near zero for modifiers. :)

I also programmed the Enter and BackSpace keys for my index fingers -
much stronger that your pinky!


I never use pinky for enter/return/backspace, I just move my whole hand 
up there and use middle finger (possibly some irony here.. Middle finger 
to the universe when I hit enter, middle finger to the entire internet.. 
except for the open source communities)



You really should take a look at the "Programmer Dvorak" layout - if
using a normal keyboard. And yes, you can program the Ergodox with
that layout too.



Been meaning to try dvorak again one day, it's just that all laptops 
come shipped with a standard keyboard so I prefer to use a keyboard 
layout that is on any laptop, as if one laptop fails, you have to 
relearn the new laptop, so if everything is standard it is easier to 
relearn... and then there is the issue of using a computer at a library 
or friends computer .. if you keep using custom keyboards your brain 
gets FUBAR when it has to use a different computer.


I used to be a desktop man, using desktop only for development. Then I 
became a laptop man so I could sit in different places instead of being 
fixed in one location... Which I was okay with before, but not now.


Programming blues... Programming blues..
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] Delphi for Linux is out

2017-04-12 Thread noreply

On 2017-03-23 10:47, Mattias Gaertner wrote:

On Thu, 23 Mar 2017 16:08:20 +0100 (CET)
Michael Van Canneyt  wrote:


[...]
> When did FPC start to run on Linux? 1999?

I got the first "hello world" around 1995-1996, I think,
together with Mark May. (if memory serves well)


Well, Delphi didn't start with a "Hello World". So that would be a
little unfair as comparison.
What about the time when FPC was able to compile itself?




As a theoretical physicist I'm not sure why any of this time stuff is 
even relevant if someone can simply go back in time and make fpc work 
any time they want (or delphi).  With time travel, or time messaging 
technology someone could bring back fpc in it's full form whenever they 
want.


I know for a fact, for example, that Calgary was never close to the 
mountains and someone went back in time and put it there so you could 
see the mountains from calgary.


I'm not sure why when something started is even relevant..

For all we know someone injected Lisp back in time too, and it never 
actually existed until the 1990s and was reinjected back in time so that 
to make people think it's an old language.


Basically as a theoretical physicist any discussions regarding the start 
date of anything, is an absurd discussion


It's just a matter of who can actually do this time travel horse sh*t 
and whether or not it's worth having, say, a copy of FreeBSD today, back 
in 199x when a computer maybe only had a 66mhz processor and couldn't 
take advantage of the features of freebsd that are available today (or 
freepascal). But any idiot travelling back in time would simply bring 
back the technology of the cpu/computer too, such as opening up a cpu 
manufacturing company that is as advanced today, but bringing it back to 
199x time period.  Or just send a message back to some other fool in 
199x and get him to do it for you, instead of travelling back yourself, 
as messages are easier to send back in time than physical beings.


Do remember that time travel is a criminal act though.
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] [fpc-pascal] WebAssembly Target

2017-03-16 Thread noreply

On 2017-03-16 05:46, Graeme Geldenhuys wrote:

On 2017-03-11 23:23, Daniel Gaspary wrote:

WebAssembly
")


I love how they say multiple times in the video:

   "... and completely secure."


Umm, didn't they say the exact same thing about Java Applets, Flash,
Silverlight etc. :)  I guess time will tell, but if history is anything
to go buy, security issues *will* pop up.

Saying all that, I really respect Mozilla for what they have done
regarding the web. Firefox is the only browser I ever use.


There is no such thing as completely secure.

Most security these days is held together by a single 8-12 character 
string of text. That's not security.


And, those obsessed with security (OpenBSD types) are the biggest 
hypocrites of all, claiming to value privacy and security, while 
completely ignoring security and privacy of people - stalking them and 
harassing them.


Security is a joke.  Let's hold together all our data by a 8-12 
character string! Yippee! That's security!
Security always has been a joke and always will be.  You could create a 
system where it requires 3562 passwords to log in, in sequence, but then 
it would take too long to log in.


Website security is to use static html files and a static site 
generator. Which renders your website basically utterly castrated and 
un-interactive for the users. Think: no web forum, as there are no 
logins.. just a static site with static html content. That's security 
for you: rendering computers utterly useless and boring. Basically 
describes the openbsd operating by default: a castrated OS that does 
nothing useful, until you install something unsecure (or worse, 
"insecure") from "ports" or some website.


I'm not saying the attempts at trying to solve security weren't (or 
aren't) worthwhile - anyone who heads down this road of security is a 
brave soul. It's just that time after time again, security has been and 
will always be a bad joke.


Then you've got the whole quantum computer issue. First guy to get ahold 
of a quantum computer may be able to crack passwords in a few 
milliseconds which a classic computer would take thousands of years to 
do, if the quantum computer hype holds up and we actually understand 
quantum mechanics the way we think we do. And then, what happens to 
bitcoin if someone cracks it and starts hording up millions of bitcoins 
across several accounts.

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Your thoughts on cloud based server instances?

2017-03-12 Thread noreply

On 2017-03-10 17:15, Bo Berglund wrote:

On Fri, 10 Mar 2017 12:03:12 -0600, nore...@z505.com wrote:


For websites with 10 visitors a day it might suffice... but then if
those 10 visitors download a 5mb file even, it's super slow for 
them...


Maybe ISP upload speeds are better in your country, I don't know, but
IMO upload speeds are still too pathetic and slow for hosing stuff 
from

your own router/server setup from home/work.  Unless you have $1000's
for a fast connection (they used to call them T1? I'm unfamiliar with
what it's called now).


Here in Sweden I am on a 250/100 Mbit/s fiber connection to my home
for 339 SEK/month (that is about 38 USD/month)
That is 100 Mbit/s upload speed.




That's a good deal, almost worth it to move to sweden just for it.
Too bad your country is infected by...
Nope sorry, won't start a Islam rant here.
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Your thoughts on cloud based server instances?

2017-03-12 Thread noreply

On 2017-03-10 20:36, Travis Siegel wrote:

2 dollarsfor an additional 5GB of storage if you want it regardless of
the plan you choose.  Heck, I'm seriously considering getting one of
these myself, and I don't even have an immediate need for it, just
things I'd like to do that I've been putting off for years.  This
might give me the access to go ahead with loads of plans I've shelved
for lack of proper server access.  Should prove fun and interesting.




Don't forget to compare vultr to competitors as each company has a 
slightly different offering...
All seem to be good. For example DigitalOcean, was mentioned in one of 
my previous posts.


There are other ones that I forget the name of
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Your thoughts on cloud based server instances?

2017-03-12 Thread noreply

On 2017-03-10 20:35, Travis Siegel wrote:

Just for reference, a T1 hasn't costed thousands of dollars for more
than 20 years.  The last time I had one, it was less than 600 a month,
and that was more than 10 years ago.


Indeed, I only did research on them about 15-20 years ago and haven't 
done any research on them since.


IMO every person should be able to run their own server in their home at 
low cost. ISP's are simply ripping people off, IMO.
It does not cost 600 dollars a month to "ship" electricity to someone's 
house
They have almost no costs involved other than installing the wires and 
boxes and infrastructure. Indeed the infrastructure had up front costs, 
but there is a reason why telephone companies are multi million dollar 
for profit companies: Because suckers pay for their services at inflated 
prices.


Still I'm happy that they give you good download speeds for a good price 
, just not the upload speeds




Of course, these days, with fiber, and highspeed dsl, a T1 line is
relatively useless considering the cost and transfer speeds.



The speeds still are not any faster than a 10/100 network card which is 
very old technology.
I'd like to see internet speeds reach the 1000 speed cards, and for wifi 
to also improve to that.

But this is just a dreamer speaking.

Even usb2.0 speed is pretty slow compared to a 1000 card. So why use 
internet at usb 2.0 speeds or 10/100 card speeds?  But again: just 
dreaming here...

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Your thoughts on cloud based server instances?

2017-03-12 Thread noreply

On 2017-03-12 18:18, Graeme Geldenhuys wrote:

On 2017-03-12 21:27, nore...@z505.com wrote:

With 1.8Mbps up link, that's roughly 0.2 mega bytes per second, so, if
you run servers from your home that your customers access, what 
happens

if someone downloads a 100MB file


And that is exactly why I cancelled my VirginMedia contract after 2
weeks (over subscribed area for downloads, and a rubbish upload speed),
and moved back to Sky Broadband which gives me 18Mbps upload speeds, 
and

a much more consistent download speed (never drops below 71Mbps).

Regards,
  Graeme



Okay 18Mbps becomes about 1.8 mega bytes per second, divide 10-50 
customers...


180 Kilobytes per second is a tolerable download speed, but some users 
may complain... as they are used to 500-1500kilobytes download speeds 
;-)


Then if 50 customers... 180 becomes divided by 5, but maybe not likely 
that 50 customers all download a file at the exact same time. Depends 
how "busy" the "busyness" is :-)

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] How to set library search path ?

2017-03-12 Thread noreply

On 2017-03-12 18:25, Giuliano Colla wrote:

As far as Linux and FreeBSD are concerned, my suggestion would be that
you launch your application from a shell script, which does the work.
Sort of an executable file called MyProg.sh


What happens if you use a function that launches the shell and just run 
the exe/elf this way?


http://freepascal.org/docs-html/rtl/unix/fpsystem.html

And not sure if this would help:

http://freepascal.org/docs-html/rtl/unix/fpexeclpe.html

But these above functions do not have the features of TProcess

Not sure what would happen if you ran tprocess with "cmd /c" before the 
exe name, if that's even possible, and somehow setenv on that shell  
that cmd /c was working with (and on unix, run sh in tprocess)


Again I have not tested any of this, sorry.

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] How to set library search path ?

2017-03-12 Thread noreply

On 2017-03-12 17:37, Fred van Stappen wrote:

But how do you do to use SetEnv ?


if you call SetEnv in the main program, I guess it doesn't affect the 
program inside TProcess?


I may see your problem now :-)

What's this do?

http://lazarus-ccr.sourceforge.net/docs/fcl/process/tprocess.environment.html

http://forum.lazarus.freepascal.org/index.php?topic=7819.0
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Your thoughts on cloud based server instances?

2017-03-12 Thread noreply

On 2017-03-12 15:22, Luca Olivetti wrote:

El 12/03/17 a les 19:08, Graeme Geldenhuys ha escrit:

On 2017-03-12 16:09, nore...@z505.com wrote:

Won't switching off ipv4 break old software apps?
or backwards compatibility is in place?


As far as I know IPv6 is backwards compatible (in that it can handle
IPv4 traffic)


AFAIK it isn't.


https://cr.yp.to/djbdns/ipv6mess.html

Bye
--
Luca



So what does this mean for an old software app written with only ipv4 
sockets procedures that is not updated to ipv6?


There are plenty of old windows nt apps or possibly even old fpc sockets 
apps that were only built for ipv4 at the time.


And what does it mean when an old ipv4 app connects to an ISP that is 
designed for ipv6?

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Your thoughts on cloud based server instances?

2017-03-12 Thread noreply



El 11/03/2017 a las 11:04, Graeme Geldenhuys escribió:


Now the only thing remaining is for all ISP's to switch off IPv4 and
only use IPv6 (wishful thinking).


Won't switching off ipv4 break old software apps?
or backwards compatibility is in place?

Yet another latest and greatest I will have to rersearch
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Your thoughts on cloud based server instances?

2017-03-10 Thread noreply

On 2017-03-10 07:18, Graeme Geldenhuys wrote:

Last night I was investigating the idea of moving some of my personal
and company VMs and services to a remote cloud based VPS (Virtual
Private Server).

  eg:
   https://www.vultr.com/
   https://www.vultr.com/pricing/
   https://www.vultr.com/locations/



There is also DigitalOcean, with good pricing.

It's hard to find BSD hosting and digitalocean offers it as you can 
install your own copy of any OS they have available.


The issue with these services is that you have to manage your own 
server, which IMO takes too much time. I'd rather have hostgator deal 
with server issues so I can focus on real work. You have to update your 
OS yourself, do the patches, etc. I'd rather have someone do that for 
me, as that's kind of like taking out the garbage, doing dishes, 
cleaning up php's messes, that I don't want to take the time out to do.


I love the idea of having my own bsd (non gpl) web hosting OS installed 
myself, but then again it likely runs on a virtual linux server anyway 
and is just a bsd vm, so any linux security breaches would still sort of 
be there. And if some bsd distro comes out every 6 months, I would have 
to update it myself every 6 months and supply patches to programs on the 
OS I do't know every few weeks/days which I have no time to do, so a 
managed shared server for $10/month or less works fine for me with 
the exception of the fact that I'm no fan of gpl, and a lot of the 
shared hosting companies are gpl'd linux servers.  There are very few 
bsd web hosting companies out there. But even if you get a cloud bsd 
solution, it likely runs on a linux kernel in a vm anyway

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other