Recent

Author Topic: Website renovation  (Read 22697 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3923
    • StrumPract is the musicians best friend
Re: Website renovation
« Reply #60 on: July 03, 2025, 09:49:58 pm »
if he wants to contribute to Lazarus  he can write some pascal ...

Show us your code.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Wilrakov

  • New Member
  • *
  • Posts: 29
Re: Website renovation
« Reply #61 on: July 03, 2025, 09:55:36 pm »
I'll show you the code, don't worry. I'm first working on a library to create pretty and sophisticated Text User Interfaces, similar to Ratatui in Rust.

So I'll share this library with you first, and then I'll code a functional system using simple sockets to send and receive messages almost instantly, directly in the terminal for those who want it. I'll also implement it on a website after that.

PascalDragon

  • Hero Member
  • *****
  • Posts: 6395
  • Compiler Developer
Re: Website renovation
« Reply #62 on: July 03, 2025, 10:05:03 pm »
I'll show you the code, don't worry. I'm first working on a library to create pretty and sophisticated Text User Interfaces, similar to Ratatui in Rust.

Fred vS quoted Joanna, not you. ;)

And please pay special attention to marcov's message as he's one of the people who maintains the current website. The point with as less resource usage on the server due to AI scraping or publicity is important. Our infrastructure isn't the beefiest and we don't intend to use a CDN.

440bx

  • Hero Member
  • *****
  • Posts: 6492
Re: Website renovation
« Reply #63 on: July 04, 2025, 03:00:19 am »
All the sensitive people are gone which is unfortunate.
if that premise is correct, your presence here proves you're insensitive.

As for showing code I have showed code many times both here and in the chat support. I will not be showing my code here anymore however because if I do, toxic people Will come to my thread for the sole purpose of insulting me about my coding style. I don’t need to put up with that sort of nonsense.
Your definition of "insult" seems to be anyone who has a different opinion than yours.  How simple and convenient.

That was fun. :)
« Last Edit: July 04, 2025, 09:41:39 am by 440bx »
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

440bx

  • Hero Member
  • *****
  • Posts: 6492
Re: Website renovation
« Reply #64 on: July 04, 2025, 04:11:22 am »
@440 that is correct. I enjoy arguing as much as you do which is why we are both still here.
I find your reason for being here a bit peculiar but, I'll take your word for it, that you are here because you enjoy arguing.

Myself, that's not why I am here and, my impression is that you enjoy arguing a whole heck of a lot more than I do.


Let me ask you this as an example of expressing opinion. ..
would it be ok for someone to come up to you unsolicited and say “I don’t like ugly women” and point at your wife ?
He would just be expressing his opinion.
Considering that beauty is in the eye of the beholder, from his viewpoint he might very well be absolutely right.

Everyone has a right to express their opinion anywhere anytime right?
Everyone has the right to express their opinion, that does NOT mean that they are doing it at the right time and the right place.  Those are very different things.  Let me drive the point home, everyone has the rigth to take a leak but, not everyone has the right to take a leak in your living room anytime they want.  IOW, you made invalid implications.

Where I’m from it’s called being disrespectful.
Possibly but, my impression would be that I am dealing with someone who has difficulty grasping the obvious.  It's not unusual to run into individuals like that.  They tend to draw conclusions a bit too quickly.

BTW, please don't confuse exposing simple facts with arguing.  I am not arguing with you.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

Fibonacci

  • Hero Member
  • *****
  • Posts: 950
  • Behold, I bring salvation - FPC Unleashed
Re: Website renovation
« Reply #65 on: July 04, 2025, 04:13:38 am »
Let me ask you this as an example of expressing opinion. ..
would it be ok for someone to come up to you unsolicited and say “I don’t like ugly women” and point at your wife ?
He would just be expressing his opinion. Everyone has a right to express their opinion anywhere anytime right?
Where I’m from it’s called being disrespectful.

If its truly someone "come up to you unsolicited" then yes, I'd consider that kind of comment an insult. But if someone said it during, say, a casting call for a model or actress, I'd see it as fair (though harsh) feedback.

Back to FPC. Let me tell you:
I dont like your coding style - ALL CAPS everywhere. I find it visually unappealing, to simply put: your coding style is ugly. I think its much more difficult to read, to maintain, and it just looks ugly. I try to write code that not only performs well, but also looks clean, structured, properly indented, and consistent. The opposite of what you posted here.

Did I insult you? Am I toxic?

This is my opinion, and in my view, it falls well within the scope of what this forum is for. And I believe I have the right to share it. Do you disagree?
FPC Unleashed - inline vars, tuples, statement expressions, array equality, compound assignments, indexed/lazy labels, no-RTTI & more. ⭐ Star it on GitHub!

Handoko

  • Hero Member
  • *****
  • Posts: 5538
  • My goal: build my own game engine using Lazarus
Re: Website renovation
« Reply #66 on: July 04, 2025, 04:53:45 am »
Me too, don't like all caps coding style. It's not about personal preference but it's just bad. It has been studied and scientifically proven to be bad:
https://en.wikipedia.org/wiki/All_caps#Readability

I enjoy arguing ...

I prefer not to argue, but doing research, fact and data.

Wilrakov

  • New Member
  • *
  • Posts: 29
Re: Website renovation
« Reply #67 on: July 04, 2025, 09:22:25 am »
I didn't know... Personally, I've always written reserved words in capital letters when coding in Pascal. I used lowercase for the rest, of course. I'm going to change my coding style to all lowercase. I thought it would improve readability because you can easily see a certain hierarchy.

Thanks for this tip!

cdbc

  • Hero Member
  • *****
  • Posts: 2787
    • http://www.cdbc.dk
Re: Website renovation
« Reply #68 on: July 04, 2025, 09:31:51 am »
Hi Wilrakov
Quote
I'm going to change my coding style to all lowercase.
Actually most of us use a coding style called 'PascalCase', similar to 'camelCase', but not quite. Where the starting letter of a word is in upcase and the rest in lowercase, like this example:
Code: Pascal  [Select][+][-]
  1. procedure LoadAndParseTextfile(const AFilename: string);
  2. begin
  3.   ...
  4. end;
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

440bx

  • Hero Member
  • *****
  • Posts: 6492
Re: Website renovation
« Reply #69 on: July 04, 2025, 09:38:56 am »
Personally, I've always written reserved words in capital letters when coding in Pascal.
I have on occasion capitalized INTERFACE, IMPLEMENTATION and USES.

The reason I've done that it to make the boundaries between interface and implementation more obvious in a unit.  When I capitalized those, I've often capitalized UNIT as well but just for consistency.  Basically, only 4 keywords in the language get to be capitalized.

Strangely, I really have a strong aversion to capitalized words and because of that, in spite of the fact that I believe capitalizing INTERFACE, IMPLEMENTATION, USES and UNIT does bring welcome contrast, I often don't do it.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

eny

  • Hero Member
  • *****
  • Posts: 1665
Re: Website renovation
« Reply #70 on: July 04, 2025, 01:56:05 pm »
I will no longer react on Johanna's replies as she is only turning this forum into a lot of bad discussions that have nothing to do with the original subject.
I love the blacklist feature on the forum (called Ignore List).
Just appended new name 8)
All posts based on: Win11; stable Lazarus 4_4  (x64) 2026-02-12 (unless specified otherwise...)

JdeHaan

  • Full Member
  • ***
  • Posts: 171
Re: Website renovation
« Reply #71 on: July 04, 2025, 05:13:05 pm »
I use the official GNU Pascal coding style.

https://www.gnu-pascal.de/h-gpcs-en.html

See: 5.3 Formatting Your Source Code, and further paragraphs.

It's a pleasure to read code that's written like that.
« Last Edit: July 04, 2025, 05:16:23 pm by JdeHaan »

Wilrakov

  • New Member
  • *
  • Posts: 29
Re: Website renovation
« Reply #72 on: July 04, 2025, 05:49:37 pm »
I find this forum stirs up a lot of hate. It's true, there is a way to format your code, and this applies to almost all languages. But let people live, there's no point in being stubborn or criticizing a way of writing code. You're only spreading hate by doing this, which is clearly not necessary. We need to stop seeing evil everywhere and wanting to make everyone do things the same way, diversity is important in life. Stop trying to standardize developers.

Fibonacci

  • Hero Member
  • *****
  • Posts: 950
  • Behold, I bring salvation - FPC Unleashed
Re: Website renovation
« Reply #73 on: July 04, 2025, 06:31:35 pm »
diversity is important in life. Stop trying to standardize developers.

Really? I thought programming was precisely about standards.

Standards are what make collaboration possible. They're the reason one developer can understand, maintain, or extend another's code. Without them, every project turns into a personal puzzle that only the original author can solve.
FPC Unleashed - inline vars, tuples, statement expressions, array equality, compound assignments, indexed/lazy labels, no-RTTI & more. ⭐ Star it on GitHub!

Wilrakov

  • New Member
  • *
  • Posts: 29
Re: Website renovation
« Reply #74 on: July 04, 2025, 06:35:27 pm »
You know, I basically have the same opinion. I just think that if Joanna doesn't want to comply with the standards and prefers to write code differently, let her do it. We shouldn't persist in trying to change her mind.

Personally, I'm currently adapting my Pascal code so that it complies with the standards.

 

TinyPortal © 2005-2018