Okay people... what are you working on in PB right NOW?

Everything else that doesn't fall into one of the other PB categories.
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Re:

Post by oldefoxx »

Joakim Christiansen wrote:I just finished the next beta of my internet tv program.
I'm currently very lazy and not programming much lately, but I have like 1000 unfinished projects.
Anybody have a good ide for a program/game I can make?
If you are up to it, a more full-feature version of the WebBrowser.pb program would be really nice. This program is good and simple as far as it goes, but you change the URL it is suppose to visit, then what it doesn't have or do really shows up.

For instance: No cookie support, so sites don't remember you, don't keep track of what page you are on, or anything like that. You have to allow cookies if you want to have a complete web experience.

Other sites and forms come up okay with the example browser, which shows real attention to detail in PureBasic. But you don't have download, upload, zoom, search, home, or tab capabilities included. You may not need all these, but it's worth pointing out the differences.

It would almost make sense to just work with existing browser APIs, but I looked into this a bit, and it gets complicated real fast. You get into issues related to why you want or need to do this, and there may be licenses or fees involved as well. For Firefox, they see it as wanting to write an add-in or something, For Chromium, it is using their libraries and APIs to write your own browser, which is what Google's Chrome, Opera's Opera, and FlashPeaks' Slimjet all rely on now. The name is Blink. It used to be WebKit.

I'd really like to see cookies supported in PureBasic. Then see how far that takes me. I could maybe get by with just that. But actually I don't know enough to say for sure.

In my years of using and working with computers, I find that the networking involved, especially with the internet, accounts for a huge part of what we do with them now. Take just things related to socializing (email, Facebook, Twitter, blogs, forums), checking out the current news in detail, or conducting searches for more information on just about any subject, and it is an entirely different world from when I was younger. Back then I might go to a public library once every two weeks, read some articles, check out some books, and do most of my school research using outdated sets of encyclopedias. The difference is almost beyond description.

The three hardest things for me to deal with when networking are:
(1) Finding time to do it all
(2) Getting the wording right so the searches produce real results
(3) Separating out what is trash, outmoded, doubtful, or false from the good stuff

It can take days of searching before you get results or realize that the information just isn't out there to be found. That's wasted time, and that's never good. The only cure I can see is: Get the computer to do more on its own, with less time spent making it happen on our part.

Been busy today, but had time to see if I could find anything out about how browsers handle cookies. Now cookies originate as request from the server side, because servers can be undulated by cuser/clients on their PCs, and besides, each time you return you could actually be dealing with a different server in a multi-server environment. So the idea is, the cookie from a site represents all that site needs to know about you, like who you are, your shopping cart, where you left off the last time you visited, even what page you were on if it is presenting multiple page search results. So by convention, this history is stored in files known as cookies on the user's PC.
When you wipe your browser history's, the cookies for that one browser are all deleted. Each browser keeps its cookies in some special place on your hard drive.

Here is a link I found that gets into how you can handle cookies using Java APIs. I don't know how existing browsers do it, but the process should be similar. In effect, the requests come from the server, and the client's browser does what is asked of it. That is, if you have enabled the use of cookies as part of the browser's setup. The link is: http://stackoverflow.com/questions/4907 ... le-cookies
has-been wanna-be (You may not agree with what I say, but it will make you think).
User avatar
heartbone
Addict
Addict
Posts: 1058
Joined: Fri Apr 12, 2013 1:55 pm
Location: just outside of Ferguson

Re:

Post by heartbone »

Joakim Christiansen wrote:I just finished the next beta of my internet tv program.
I'm currently very lazy and not programming much lately, but I have like 1000 unfinished projects.
Anybody have a good ide for a program/game I can make?
Yes.
Decode a 300 dpi scan of a 45, 78, or 33 1/3 (rpm) LP stereo or monaural vinyl disc and convert it into a .mp3 or .wav file.
Keep it BASIC.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Re:

Post by Dude »

heartbone wrote:Decode a 300 dpi scan of a 45, 78, or 33 1/3 (rpm) LP stereo or monaural vinyl disc and convert it into a .mp3 or .wav file.
It's definitely possible: http://www.cs.huji.ac.il/~springer/Digi ... index.html
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Okay people... what are you working on in PB right NOW?

Post by IdeasVacuum »

what a brilliant project! :mrgreen:
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
DK_PETER
Addict
Addict
Posts: 904
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Okay people... what are you working on in PB right NOW?

Post by DK_PETER »

Currently working on two projects.

1. The chicken & egg game: Game for kids.
Four different games embedded, which can be reached individually by catching the nesting worms.
Image

2. Super maze: A maze game with several 'never before seen' twists.
Image

Freeware....naturally.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Okay people... what are you working on in PB right NOW?

Post by Fred »

Looks like Fire Emblem ! I like these kind of game :)
Post Reply