Search found 1023 matches

by Nituvious
Sun Jul 27, 2025 7:08 pm
Forum: Off Topic
Topic: Build a text editor
Replies: 17
Views: 784

Re: Build a text editor

This is so much fun. I did the same thing a several years ago that I use as my primary editor for c/javascript(weird combo I know).

One thing to look into is the Language Server Protocol. It will help you index source code and provide you with autocomplete and many more tools that make today's ...
by Nituvious
Sun Jul 27, 2025 6:49 pm
Forum: Off Topic
Topic: AIs
Replies: 3
Views: 152

Re: AIs

It's not stupid. Most of these AI's are scraping places such as github because Microsoft thinks that's okay.
I wouldn't be surprised if Microsoft is using Windows to help train these chat bots.
by Nituvious
Fri May 02, 2025 5:06 pm
Forum: Off Topic
Topic: School is not the place for hackers
Replies: 18
Views: 4214

Re: School is not the place for hackers

Ask yourself why so many elected officials from both sides of the isle send their children to private schools?

Their children do not vote. They send them to private schools because they can afford them. There is no conspiracy here, that's just how it is.

Private does not mean high cost. Many ...
by Nituvious
Mon Apr 28, 2025 2:05 am
Forum: Off Topic
Topic: School is not the place for hackers
Replies: 18
Views: 4214

Re: School is not the place for hackers

The fix is privatization. If you pay for something, you appreciate it way more than a handout.


This is not a good solution. Privatization just means education will be even more inaccessible for people especially poorer families. Education should not be limited to the elite.
And the logic behind ...
by Nituvious
Fri Apr 04, 2025 9:19 pm
Forum: General Discussion
Topic: coordinates of text
Replies: 4
Views: 1457

Re: coordinates of text

I'm not sure how you could get text width in purebasic but y is pretty simple. It's just font size. If you want to get the height of multiple lines then it's just font size multiplied by the number of new lines in your string
by Nituvious
Wed Apr 02, 2025 2:24 pm
Forum: 3D Programming
Topic: Is it possible to render 3d objects on the 2d layer?
Replies: 13
Views: 4015

Re: Is it possible to render 3d objects on the 2d layer?

With OpenGL to achieve this effect all you need to do is change your projection before the draw call of the mesh you want to draw as "2D" :mrgreen:
by Nituvious
Thu Mar 20, 2025 5:59 pm
Forum: Off Topic
Topic: AI Video Tools
Replies: 14
Views: 1750

Re: AI Video Tools

Did they really use a chat bot to design a text editor and then complain about it? Lol
by Nituvious
Tue Mar 11, 2025 4:34 pm
Forum: 3D Programming
Topic: Is it possible to create a login form with the 3d engine without using CEgui?
Replies: 4
Views: 1997

Re: Is it possible to create a login form with the 3d engine without using CEgui?

If you want to make your own UI library ( WARNING!!! this is extremely addictive) I would suggest looking over the IMGUI source code to get a feel of how event handling would work.
Generally you would want to render your windows/ui components into a single sprite (similar to batching) and only ...
by Nituvious
Fri Mar 07, 2025 5:43 pm
Forum: Off Topic
Topic: What's going on here?
Replies: 9
Views: 2255

Re: What's going on here?

You deal with it by using Utf8 :mrgreen:
by Nituvious
Tue Jan 14, 2025 8:43 pm
Forum: Off Topic
Topic: Anthropocene
Replies: 17
Views: 10881

Re: Anthropocene

We have already entered the anthropocene. I would say since the 80s at least. After all, once upon a time we poked a giant hole in the ozone layer.
We already have mass extinctions happening right now on top of the man made climate change. We even introduced a brand new problem in the form of ...
by Nituvious
Sun Jan 12, 2025 5:53 pm
Forum: Coding Questions
Topic: SQL help on formatting
Replies: 5
Views: 2582

Re: SQL help on formatting

Stored procedures is absolutely the way to go when designing a database application with user input.
TEXT and BLOB have performance issues when tables are very large and Base64 is just TEXT or BLOB anyway and doesn't achieve anything but add in two extra steps for each query.

With stored procedures ...
by Nituvious
Fri Jan 03, 2025 8:09 pm
Forum: Game Programming
Topic: Does anyone have examples for learning purposes on importing 2d sprite and applying glsl shader to it?
Replies: 2
Views: 6590

Re: Does anyone have examples for learning purposes on importing 2d sprite and applying glsl shader to it?

There's more to it than this but the gist is:
Change your shader program before drawing your sprite :mrgreen:
I think most people don't do it this way and just depend on attributes to change the state of a mega-shader but both ways will involve CPU to GPU uploads so if you're looking for speed to ...
by Nituvious
Fri Jan 03, 2025 8:04 pm
Forum: Off Topic
Topic: Keep it Fresh from Fred :)
Replies: 5
Views: 7897

Re: Keep it Fresh from Fred :)

Cmake gives me night sweats thanks to my job. :evil:
by Nituvious
Fri Nov 15, 2024 7:35 pm
Forum: Off Topic
Topic: Random playlist plays rarely random ?
Replies: 5
Views: 3002

Re: Random playlist plays rarely random ?

Have you tried adding hundreds of thousands of songs to your playlist to skew the statistics?
by Nituvious
Thu Nov 14, 2024 9:58 pm
Forum: Off Topic
Topic: Anyone Chat Meta on Whatsapp?
Replies: 11
Views: 3921

Re: Anyone Chat Meta on Whatsapp?

Currency has been around longer than computers and it's ridiculous to claim these chat bots are revolutionary AI when they're the same tech we've had for decades only now the neural networks are paired to the cloud/internet. And there is a colossal waste of energy used to train their models ...