-
First, please do not respond if it is not from a positive state of mind.
Second, i have no other place for this. My GF is studying for mechanical engineering. My son is 6. My best programming friend is at university of california.
Third, the things in this thread are about any type of programming, and any type of program. If anything here is found useful to wedge or its community, id love to see it incorporated somewhere.
More to come folks, stay tuned. :)
name: Joel Edward Mason
profession: Truck driver/owner of http://www.myfewclicks.com (work in progress)
education: 2.5 years(summers to :P) - Computer Science, Telecommunications, Networking
-
Which letter are you not counting?
-
I was just playing ball with my GF and son. We were playing "think fast" and "hot potato". :)
Which makes me think of a chat program. What is it essentially doing?
Well there is a "server" that accepts connections from multiple "clients" and acts as a liaison between the clients.
Lets pose a question. Does the server have to actively liaison the clients, or does it have to appear to do so?
Well, what if the clients "fooled" each other into thinking that it was the server (securely of course) and a way made for the clients to "after authentication was established" communicate with the other clients themselves?
Seeing that it is a chat program, the main thing to fight is hacking/viruses from other peoples computers. It isnt a high tech government spy network. lol
In what way does a client interact with a server? well the server or client sends a communication to the other and some action takes place according to the stimuli.
Well if a client was to send a message to another client, it stands to reason that it would do the same thing.
Most host providers do not allow services to run, but they cant say squat about clients talking to each other.
In the client/server chat program that im going to work on sooner or later for my webiste, the server will simply be a slave to do something when called upon to do something. No reason at all this cant be a single php file with some specific stuff in there to authenticate users and establish the link between a number of clients, therefore forgoing the need to stay running.
The clients would be configured in such a way to send encrypted packets to all clients except itself. And then all the clients would then send back a response to the client that sent the message.
The entire program would not even use server resources except upon new connections and and possibly another php file for saving the conversation to a specialized topic in the forum. Potentially meetings, minutes, just a record of the conversation for legal purposes. whichever.
The means that these clients would operate, would be dependent upon the device its being operated on. A wap2 version would just simply be user refreshed regular, and probably a good few of upper end fones.
How this would work is upon refresh, is that the refreshing client would send a braodcast message to the other clients and a snapshot of the conversation would then be sent back. Now even the specifics of this would require some creativity. Each client has a tag, computer, fone, wap2, etc. well first, the chatroom cant operate without at least one computer, and each client has a list of the "computers" where each computer would share the load of acting as the server.
The point is, to get away from having to use the server as the server, cause most providers wont let you do it.
So the one or more computers in the chat list can then send an updated set of messages based on the span of time that has passed since the requesting "fone" had received its last update. one of these days this wont be a problem, but it is now, so we work around it.
Typically the person with the computer to start the chatroom, would be the main client/server, with the other "computers" to step up if the main one becomes unreachable.
The client/server would simply be the liaison between the other clients and the server/server. sort of. It would kind of be a leaderless pack, like an ant hill. There is no "active" leader, but the whole hill works together to accomplish something.
the clients would be written in a number of different languages according to what is best for the platform it is running on. A computer can run any language, so you can do anything you want. But on fones of different types, it would range from plain html, to jquery.
And basically, the same way wedge and smf detect browsers, the server/server would assign the appropriate interface. (or it could potentially be a downloadable app) And then the server/server would assign all the clients to recognize the client/server as the server to talk to when wanting to do something with a list of potential backup server ready to pick up seamlessly. Even including the ability to choose to neglect, and pass the server responsibilities to a different computer client, or kill the connection if there isnt one.
This is a basic structure of how it would work, actual implementation would of course require some trial and error to make this type of complex server client relationship work the way one would want it to. Its just a matter of looking at issues from a perspective that has no limits. Its a matter of utilizing the tools of programming languages to their fullest extent.
More to come in the future when i dive into how the server and clients would actually work.
-
Which letter are you not counting?
I have no idea what the question is referring to? :hmm:
-
your signature?
-
LOGIC is a FOUR letter word!
Logic has five letters.
So, in essence you're talking about a mostly peer to peer networking chat with centralised authentication... which is basically what Skype is. I'd comment more but I don't have a positive attitude.
-
LOGIC is a FOUR letter word!
Logic has five letters.
Unless he counted from zero, it is four if counted from zero rather than one.
<?php
$logic = "LOGIC"; //String, array of char with a terminator (\0) at the end, really.
echo $logic; //Output "LOGIC"
echo $logic[4]; //Output fifth letter "C"
?>
:eheh:
Whatever 410 (1002) in Computer Logic, it's +110 (510) in Real World Logic, so you and texasman are both right in different respects. :lol:
-
He never said in PHP or in math... so He's actually wrong for not giving the proper details (details rule, bi***!)
-
true, but the thread title does state "Programming," texasman also stated Computer Science and Networking in education. :lol:
-
true, but the thread title does state "Programming," texasman also stated Computer Science and Networking in education. :lol:
There are systems that start counting at 2. It's all about the context ;)
-
LOGIC = array(
'shit' => 'Shit',
'damn' => 'Damn',
'hell' => 'Hell',
'fuck' => 'Fuck',
'piss' => 'Piss',
'crap' => 'Crap',
'dang' => 'Dang',
'heck' => 'Heck',
);
this concludes the lesson on synonyms. :D
-
yes it is essentially similar to skype, except for i didn't mention anything about streaming audio. lol
just tossing a few text strings around is really pretty easy, but in a chat prog, or something similar, normally you still have to have some type of server.
what i would use is sort of a variation of the udp protocol. the way that works is that the packet gets sent in a broadcast sort of way, and the udp receiver if it wishes to grab it, does so. similar to downloading programs that where outlawed for the most part several years ago.
and just like any other type of program that uses sockets for things, firewalls would have to be made aware of the traffic. and it is simple enough to establish a pseudo system of public and private keys to keep it pretty well buttoned up.
like i said, i havent started writing it, and i havent researched to see what new types of things are possibly available in current programming languages.
but i know it is more than doable without the need of there being a "server" running on the web host.
it would definitely blow a shout box out of the water. :)
-
yes it is essentially similar to skype, except for i didn't mention anything about streaming audio. lol
You do know that Skype does text conversation as well though...just tossing a few text strings around is really pretty easy, but in a chat prog, or something similar, normally you still have to have some type of server.
Not in real time when there's authentication involved, at least not over a connection protocol specifically designed to be stateless.what i would use is sort of a variation of the udp protocol
So, custom server, custom clients on every platform and cue support question after support question about firewalls and the unrestricting of firewalled ports.and it is simple enough to establish a pseudo system of public and private keys to keep it pretty well buttoned up.
If you're implementing a pseudo system, odds are it's insecure. There's a reason why mathematicians much smarter than anyone here are paid vast amounts of money to attempt to break codes or certify their cryptographic security. Use one of the already established, proven key pair algorithms, and don't try and implement something of your own unless you are a mathematical genius because I've seen what happens with "OMG it's my own custom secure algorithm".but i know it is more than doable without the need of there being a "server" running on the web host.
Wait a minute. First you were talking about a centralised but ultimately peer to peer system (like Napster used to run), now you're talking about a totally peer to peer system... how do you intend to have discovery attached to it? User authentication/identification?
I won't be abandoning the shoutbox I wrote yet, oh wait, I won't be abandoning it at all, it works just great for the site I wrote it for, which is often what people actually want: the ability to have a chat localised to the members/regulars of a given community rather than being able to chat to anyone and everyone.
You want to see what a centralised chat with variable clients looks like... it's called IRC, been around for years. Failing that, it's called AIM, Y!M, MSN/Live Messenger, or if you're going more exotic, Jabber, which overall basically fulfils your criteria. Good luck implementing though, especially if you're planning on making it available over HTTP because it's just not designed for that, and using UDP/TCP brings a whole new level of technical fun with it.
I'd be more positive, except that I see nothing new here, nothing worth learning multiple new languages and development environments for and nothing to give myself stress headaches over when the support issues come in. For a single site it might be feasible to create such, but for creating tools that others can use to deploy such, they already exist.
-
LOGIC = array(
'shit' => 'Shit',
'damn' => 'Damn',
'hell' => 'Hell',
'fuck' => 'Fuck',
'piss' => 'Piss',
'crap' => 'Crap',
'dang' => 'Dang',
'heck' => 'Heck',
);
this concludes the lesson on synonyms. :D
You forgot to place a wildcard ($) before logic and is not to be confused with dollar, yes I have noticed that all the curse word contain four letters each or should I say three or six. :lol:
It's 3 characters in PHP, after all Arantor said it all about context. :D
-
You forgot to place a wildcard ($) before logic
Which would imply it's a constant rather than a variable, but you can't define a non-scalar constant, and not one whose result is the consequence of an expression rather than a literal constant. ;)
-
You forgot to place a wildcard ($) before logic and is not to be confused with dollar,
More importantly, he forgot 'cunt' in the list. :angel:
-
What's wrong with a 1985 Honda-made car(http://theoatmeal.com/comics/c_word)?
-
And wanker :P
-
You forgot to place a wildcard ($) before logic
Which would imply it's a constant rather than a variable, but you can't define a non-scalar constant, and not one whose result is the consequence of an expression rather than a literal constant. ;)
I agree, unless you cheat with json_encode and decode or serialisation, which works.
<?php
define('LOGIC', json_encode(array(
'shit' => 'Shit',
'damn' => 'Damn',
'hell' => 'Hell',
'fuck' => 'Fuck',
'piss' => 'Piss',
'crap' => 'Crap',
'dang' => 'Dang',
'heck' => 'Heck',
)));
?>
but a better way would probably be a data class (static class).
Posted: April 8th, 2011, 01:39 AM
You forgot to place a wildcard ($) before logic and is not to be confused with dollar,
More importantly, he forgot 'cunt' in the list. :angel:
:lol:
-
I agree, unless you cheat with json_encode and decode or serialisation, which works.
It shouldn't do; you should not be able to define a constant as the result of an expression on the basis that defining it happens practically at parse time.
-
once upon a time, there was a daddy in simi poor physical condition riding a scooter made for a 6 year old. A daddy that is 31, 6'4'' (1.9 meters) and 220 lbs (100 kilos, 15.7 stone).
There was an evil psychic tree that new that soon he would be riding along showing off for his 6 yr old.
This tree in its evil wisdom allowed in a gust of wind to loose a small stick that would not be easily seen on the asphalt.
This daddy while riding along showing off for his 6 yr old unsuspectingly ran into the small unseen stick and flew like a bird for a moment head over hills, and injured his arm and leg when he landed.
While the 6 yr old is laughing hysterically and the daddy reeving in horrible pain, the thought "We ought to sweep this cul de sac free of debris.", passes through the daddys mind.
the moral is: dont try to compete with a 6 yr old, your just going to fail miserably. :)
needless to say, im glad it was me in horrible pain than him, but that doesnt heal up my now skinned joints. :D
-
What's wrong with a 1985 Honda-made car(http://theoatmeal.com/comics/c_word)?
I actually remembered the word because of that panel ;)
-
needless to say, im glad it was me in horrible pain than him, but that doesnt heal up my now skinned joints. :D
As long as it doesn't impair any of your members linked to your keyboard... :P
-
Where's the blog anyways?
-
this topic is the blog. :eheh:
-
Kinda weird...
Might want to open your own blog on a platform. Noisen.com or, better for you (not French-centric), blogspot, wordpress.com or whatever... Or wait for Wedge to be released :P
-
yall are fucked, i try to make a friend, and all i get is the door.
so i guess the door it is. :(
-
If you're offended by my post, then you are too weird for me. I tried to defend you anytime I could. If you have ego problems and can't even stick around for a few months before we get to know you and wanna invite you to the team -- your problem. You never even posted code. How are we supposed to know your code is any more readable than your "yall" business?
No efforts, no gain.
Ego issues? Babye. This is a workplace, not Hyde Park's Speakers' Corner.
-
The politically incorrect term to that is "No Pain, No Gain" and sound better because it's rhymes.
-
yall are fucked, i try to make a friend, and all i get is the door.
so i guess the door it is. :(
Friends don't generally talk down to people they're trying to befriend and make them feel kinda worthless by thinking that the person they're trying to befriend is basically an idiot who has to have basic ideas explained to them.
-
The politically incorrect term to that is "No Pain, No Gain" and sound better because it's rhymes.
Yeah, I'd forgotten the exact English version ;)
Posted: April 9th, 2011, 10:03 PM
Btw I'm very appreciative of anyone taking time to fix my English. I'm an avid learner and I strive for perfection.
-
Yeah, I'd forgotten the exact English version ;)
Posted: April 9th, 2011, 10:03 PM
Btw I'm very appreciative of anyone taking time to fix my English. I'm an avid learner and I strive for perfection.
Your welcome ;)
-
Btw I'm very appreciative of anyone taking time to fix my English. I'm an avid learner and I strive for perfection.
Me too... :)
If you find horrible errors in one of my posts, please let me know so I can learn! :D
-
Btw I'm very appreciative of anyone taking time to fix my English. I'm an avid learner and I strive for perfection.
Your welcome ;)
Ah, the irony. ;)
-
Btw I'm very appreciative of anyone taking time to fix my English. I'm an avid learner and I strive for perfection.
Your welcome ;)
Ah, the irony. ;)
Next to tinny and bronzy on the periodic table? ;D Irony is the one aspect of humour the British have mastered, and it's why so many of the American comedies don't make me laugh.
-
Blah, they couldn't even spell "Honour" properly, they always miss the "U" out. What a bunch of twat!
-
Blah, they couldn't even spell "Honour" properly, they always miss the "U" out. What a bunch of twat!
That's how they spell it over there, apparently. It's as though they changed it just to spite us!
-
And to top it off, the proper British spelling is unknown to many Americans, tire not tyre; color not colour, customize not customisee; things like that.
-
I blame Microsoft for perpetrating the myth that there's such a thing as US English :P
-
And Mexicans speak Mexican... I kid you not :lol:
-
Im not sure how to respond to this. Arantor and Nao are by far the perfect examples of what, we here in the states, would describe as arrogant europeans. Too many times now ive made statements that were placed at an insignificant level. I ask for assistance in converting a sql statement to check a couple things and decide what record to bring, and i still havent heard mention of it since. I aint the greatest at sql or css. So i ask for help with one and offer to pay for the other. The communities around smf and wedge dont have time for me. I dont have years of programming experience, cause my son was conceived right before the end. I had to go to work to provide for him. That does not mean that i gave up on it since the 7 semesters i spent in school. When my classmates where partying, id be getting my jollies off a php/mysql server that i built from scratch, box and all, mandrake linux lol. I was building a shopping cart from scratch. Lost all my work later on from a HD crash. :( i could show you all the code i wrote for myfewclicks.com, but almost certainly, yall would look down upon it, thinking that it be insignificant. Im also working on a custom ads platform to work with the region code. Impressions, clicks, and region specific ads. Which im sure from yalls experience is very minor work. The entire purpose of me being here is to learn. And i have been no more harsh than you chose to be. If only i did have more time. I come from a unique perspective. And at this point, once my website can produce enough income where i can focus on my real work, i will prove my worth and my theories. Ill prolly fork wedge, cause i know yall have made leaps and bounds from smf, but with my clean slate and the improvements yall have made, ill write a fork specific for my website. But many of the things that ill do, youll also do. Not cause im better than you, but cause i dont have the closed mind that experience sometimes creates. You do something for a while and your mind creates routines. I dont have those constraints.
-
1/ You may learn, but we don't teach.
2/ You may fork, but only for your own website, unless we go BSD.
3/ You may compare against us, but keep it for yourself. We're not competing against each other, we're not trying to determine who's best at something. We just do our best, period.
All I had to add...
-
Every idea is fresh and clean for me, and all i see is possibilities. I cant remember the name of the game, but its based on chess, you move a knight around the table with the standard 2 and 1 move pattern without hitting the same square twice, but hitting them all. We were writing VB code. I used an intrinsic loop on picture box click events, where my buddy used a different method. His code worked just as good, but it looked totally different. I saw the answer that i wrote in a mental picture when the professor issued the assignment. I could just see it already written. That is the same as any other code i write. I write code by the picture i create in my mind. I cant explain it. I havent wrote a single line of code in an editor for my ads system. Yet the code already exsists in logic in my mind. When i said $context = new wedge(); i visuallized the entire platform running in class constructors with all the different sub classes, boardindex, adminpanel, calendar, etc. How easy it would be to substitue a function in that world. How easy it would be to mod that world. I am not above you, but i am beside you. Maybe all this is language barriers or cultural differences, or maybe im excentric or an asshole, but i can assure you, respecting me as much as i respect you, can only benefit you, and me as well. I may not be your equal in practice, but make no mistake, i am you equal in logic and theory. Men like me need men like you to check us and keep us grounded, and actually bring to life, grand things. I may never could write the code you can, but i damn sure can challenge you to see a different point of view.
-
ok
-
Too many times now ive made statements that were placed at an insignificant level. I ask for assistance in converting a sql statement to check a couple things and decide what record to bring, and i still havent heard mention of it since.
You want to accuse me of being an arrogant European? Yes, I'm arrogant at times. Usually it's because I end up bring proved right so often. Now you're condemning me because I have neither the time nor inclination to sit and write your code for you and that it's also my fault that NO-ONE ELSE IS. How the fuck does that work?The communities around smf and wedge dont have time for me
I can't speak for the other dozens of members here or the thousands of members on sm.org, but you're expecting people to help you in a specialist situation and most of those who do have the skill don't have the time.
This question I ask everyone here: which would you rather I do? Spend an hour going through code for one person, or spend an hour designing/planning/building something that benefits a lot of people? I only have so many hours in the day, and I have to make a hard choice as to what I put my time into. Selfishness doesn't even come in to it - you want to suggest I'm selfish?! Look at yourself first.And i have been no more harsh than you chose to be
No, you started out by telling us how we should be doing things without considering for a moment that maybe, just maybe, we were already planning to do it that way and hadn't finished rewriting the other thousands and thousands of lines that need to be modified to make it happen.Ill prolly fork wedge, cause i know yall have made leaps and bounds from smf, but with my clean slate and the improvements yall have made, ill write a fork specific for my website
Go nuts, provided you're keeping to the licence. Prove that you're so much better than we are at it, since you obviously think we can't possibly bring anything of value to the table.
Tell you what, I'm tempted to give you the code right now. Not commit access, mind, but the ability to read it and see if you can actually put your money where your mouth is. Maybe it'll shut your whining up.Every idea is fresh and clean for me, and all i see is possibilities
Except you don't bother to see if we'd considered them and instead proceed to tell us that's how we should do it like we're little kids and clearly not up to your level. You said that you treated us like equals. Equals do not talk down to people, you did, more than once.When i said $context = new wedge(); i visuallized the entire platform running in class constructors with all the different sub classes, boardindex, adminpanel, calendar, etc. How easy it would be to substitue a function in that world.
It doesn't work like that in PHP. The entire platform cannot be in class constructors because it actually makes it harder, not easier, to achieve things then.Maybe all this is language barriers or cultural differences, or maybe im excentric or an asshole, but i can assure you, respecting me as much as i respect you, can only benefit you, and me as well.
If you respect me, why have you more than once felt the need to explain concepts to me as though I've not been programming for most of a decade?I may never could write the code you can, but i damn sure can challenge you to see a different point of view.
Read and inwardly digest, then come back and tell me about different points of view(http://innovatenotimitate.com/?p=168).
-
Texasman, if were you, I wouldn't keep on living by ideology, you would only end up pissing off a lot people needlessly. Stop and think man.
A lot of preachers often get dropped out of college and why? Because they choose to live by ideology rather than the fucking truth (observation and analysis).
Have a nice day sir.
-
My GF just yesterday got pissed at me for ?talking down? to her. From my perspective, i am simply expressing my thoughts as fully as i can. Not perfectly, but for the most part. Im not sure how explaining my point of view is so offensive at times. And like i tell her, ill tell you, it is not a matter of talking down to you, it is a matter of expression in the only way i know how. As far as writing code for me, you aint wrote a single line for me, and im the last one on earth that would expect you to, unless im paying you. If you look at that thread again on sm.org, youll see i tried several different things, as well as a few that i didnt post. Then i posted the final result of what does work. In its current form, there is a needless second query, when one will do it just fine. I just couldnt get the sql figured out. I wish i could have been programming the last 6 years after school. Then i would have code as examples instead of my lacking social skills. If we met in real life, youd see what i mean, but even like my GF, youd have to except that im different, instead of being pissed at me all the time. I recently pissed off my friend at UC Berkley from saying something that he took a different way from what i meant concerning him working for my website when he graduates. I saw it as the inclusion of a friend, he saw it as me doing something cool abd him working for me. He going to have a BS in computer science, and a minor in mathematics. The guy is absolutely brilliant. Why wouldnt i want him on my team? but he wouldnt be an employee, his title would mirepresent his position in the company. Once another year goes by, hell see what i meant so i aint worried, but a long time friend got pissed at me for basically the same thing. If it werent so fucking nuts, id laugh. I wouldnt be here if i didnt have the utmost respect for you. It does not matter to an extent how you perceive my words, what matters is, what im saying.
-
As far as the classes are concerned, what i was intending is using classes in an unorthadox way. Its just like putting assignments in if statements, it is bad form, but in some cases, it works perfectly. At this time i cant give a working example if this, and i dont have any idea when i could give an example. Its just balled up in my head and due to bills, i have to work a crap job to pay the bills. I can see it plain as day in my head. I just dont have the time to do it, nor the ability to explain it, obviously. My son wont be so little forever though. All i can say is, someday.
-
Trying to show people another point of view can be a good thing. Especially if they ask for it.
Trying to force them into seeing it your way (or even forcing them to acknowledge your point) will never work.
-
Nao is arrogant because he's french...
(http://www.soren.net63.net/deutschlandFlag.gif)
/meflames this topic with old school europe discussions.
-
that's not the french flag...
-
that's not the french flag...
That's not even the German flag.
-
Actually, it is...
http://www.flags.net/GERM.htm
-
Class boardindex located at the top of the file with a passed parameter of hook_exsists(). The vast majority of the code exsisting would remain the same, its just how/when the functions get called. On creation of the class, in the constructor, youd have the bool of a hook somewhere present. And in the first call to hook_exists(), you establish the hooks_present array. The boardindex class is made a slave to checking where hooks are and modifying its direction upon creation to include hooks where they are desired. And also, using this method of approach essentially cause memory that needs to be used to be used instead of loading a million things that may not be used. Any step not taken is a step faster.
Posted: April 12th, 2011, 02:46 PM
In smf, the inclusion of many different files and calling functions within them is quite literally a psuedo class structure. The different approach is to use a real class structure like yall did with the db interface. Im quite certain that the main blocks of code that originally existed, still exists in the stripped mysql only code, and of course in the consteuctor i would assume is where the initial db connections are made and start functions called. In the way of processing and presentation that already exist, you basically have ssi header and footer filled with something in the middle. Each of those somethings wether it is forum, blog, admin center, can essentially be a class with both the ptocessing and presentation as properties and methods if the greater class.
Posted: April 12th, 2011, 02:53 PM
With that said, when you throw in the ideal of modifiability, while alsi remaining fast and efficiant, classes gives the opertunity to call whole modified function version cinstructed while building the function with parts created from the default unless otherwise specified, ie a mod inclusion or change.
Posted: April 12th, 2011, 02:56 PM
To implement this type of massive change throughout a software as massive as smf or wedge is with no doubt a paramount change, and virtually a entire rewrite of the software. Lots and lots of work. But there is a big but to consider. As things progress and change, the building blocks of such a change can be integrated through time one bit at a time. Now this does not mean this is the only way or even the best way in some cases, but it definitely is a different approach than what has been used before. Just cause it hasnt been done, doesnt mean that it is a bad way to do it. It just means it hasnt been done before.
-
Do not tell me how the flag of my goddamn country is :P
If it doesn't have something... Do. It. Yourself.
-
To look at smf as a whole, it is a compilation of many parts. The issue i see is that the software started out being a program written in perl originally, then converted to php, then converted to php again, with many changes along the way. In this process, many changes took place that did in fact make it some very good software. Herein lies the problem. Since its first breath of life as a perl cgi, it never was broken down to its basic elements and approached with fresh vision. It just simply was translated from one to the other. Thats what is holding back a lot if the programming world right now, two decades if rewriting and rewriting of programs that where first dreamed of long ago, without sitting down and really starting from scratch with a fresh and open mind if potential avenues that if currently used in the form they are truely workable, there would exist software that would be the apex of current technology, rather than old ideas made a little better.
Posted: April 12th, 2011, 03:15 PM
Therefore, i wish yall luck, and i hope your vision is realized to the maximum of your dreams. I willing no longer contribute a single thing on this forum, concerning wedge, smf, or anything else, save this topic. I wont even read the responses to this thread. Yall can do with my words what you will. I got a billion lines of code and some serious theories concerning programming in all its states past and present. I got to get the shit out of my head and onto some type of tangible medium. if yall ban me, i spose ill start me a wordpress somewhere. Innovate, not imitate. I appreciate that to the very core of my being. As much as arantor is pissed, go for it man, impress yourself with your work, get pissed at me, fuel your fire. I want to see what you really can do.
-
Cool story, bro.
-
Fixed for you.
-
Sql statements are quite frequently constructed to pull data dynamically. In php as well as other languages, can create functions the exact sane way. In using a class steucture, it gives a unique platform for doing this. Say one was to want to modify the incredibly rediculous get topics sql. That can be stored in a dynamic array if strings and each bit replaced by a user defined string. Well the exact same thing can be done with whole functions. Also in the same way, javascipt code as well as jquery code can be totally dynamic. In the default program, the strings needed to create the functions would be used in the default cinfiguration, while later there is a mode that can change, literally any of thise bits seamlessly, with simply a modification of the initialazition of those strings arrays. It makes the entire program and all its parts totallh dynamic and totally modifiable, without changing the performance but only on a neglible level. From one perspective, one might think that constructing every function on the fly would be a major performance killer. Well if done incorrectly outside of an intuitive inline way, it most certainly would. But if you plan the software from the very beginning to anticipate change, the performance would be basically the same as it would be in its current form.
-
How this would effect a modder is this: first, you cant just jam whatever you want to in there. Second, it forces them to pay attention to what other mods are currently available, and what they actually do, forcing them to be better modders than they would have been. Third, allowing almost any part if the code to be modified, opening doors to mods that never could have existed in any other way, easily. In the cinstructor if the various classes, this is where these dynamic functions are created. From a modders perspective, the contents in each of these bits would have to be analyzed and their mod added in the most logical way, and that modified bit would be present once the function was called, by default, instead of checking to see if there us a hook there before or after some processing has already potentially taken place. The function is created with the mod already in place.
-
To look at smf as a whole, it is a compilation of many parts. The issue i see is that the software started out being a program written in perl originally, then converted to php, then converted to php again, with many changes along the way.
Yadayadayada. Who cares that SMF has its origins in Perl? Fact is, SMF was written in PHP, and at the time of release (2003), PHP5 didn't exist, and OO in PHP was more of a joke. It couldn't be built from scratch as a series of objects... And doing it now on a 120k line project is a waste of time.I wont even read the responses to this thread.
Well, then I don't see the point in reading your posts either...Yall can do with my words what you will. I got a billion lines of code and some serious theories concerning programming in all its states past and present. I got to get the shit out of my head and onto some type of tangible medium. if yall ban me, i spose ill start me a wordpress somewhere.
I won't ban you because I don't ban people. But I seriously suggest you do that, yeah. You never know, maybe you'll find someone to read through your endless soup of unprocessed words, and answer something like, "that's fantastic! You should do it!", until they get bored waiting for you to actually do it.
There are 10 kinds of people in this world. Those who think using binary would be great, and those who actually use it.
-
A class object is litterally the same as a car. If you want a different color car, you paint it. If you want a different load profile fields, you insert one when the program is not looking. It would run the different code the same way it did the first one. with computers getting faster literally everyday, a few more lines of code to achieve this, really makes no difference. In 1985 a 16 gig hard drive was like wow. Now, even cheap computers are sold with 500 gig drives. So thinking witb the same constraints of old, is just as obsurd as taking a stroll on the sun. The possibilites of the current state of technology is only being utilized by prolly 10% of the programming world, simply cause they dont know it is possible. Nothing ive said so far has escaped fully, other minds out there, but they out of intimidation of the power of their own imagination, and the possibility of ridicule, prevent them from taking the leaps that are in fact possible. You got some guy saying naw, it cant be done that way, or dude thats not practicle, or your just a dumbass, shut up! I say that it is only impossible, when someone chooses not to do it. Is it practicle, who knows, it hasnt been done before. The entirety of php is modifiable, cause it is open source. Nothing is impossible.
-
Well Tex why don't you contact this company. They have written blog and forum software that doesn't use php at all.
AKCS-WWW - When you demand the best
There are many "forum systems" available around the Internet, but none offer the feature set of AKCS-WWW, including:
* Operates with all data stored in the "back end" database; other systems store avatars and images in flat files on the file system. This crates the potential for both data loss and complicates (significantly) the ability to scale the system to larger hardware and distributed environments.With all data in the database, including uploaded image files, the entire data set is always contained in the DBMS and thus provides "one point" backup, restore, and data integrity.
* Supports both Blogs and Discussion Forums - on one platform.
* Is a compiled binary executable. Unlike other systems that depend on the security of "PHP" or other server-side packages (all of which have a dubious history in this regard) AKCS-WWW is one compiled binary "C" program. This also provides tremendous performance advantages that simply cannot be had from interpreted systems.
* Runs with Postgres, an enterprise-quality DBMS.
* Supports horizontal scaling. That is, you can have multiple hosts serving the web (running Apache) and multiple machines running the read-side database in any combination, with one master DBMS machine for writes, limited only by the aggregate wire performance between the master and slaves. This allows for extraordinarily-large installations should the need arise along with both fault-tolerance and scalability.
* Is template driven. The screen and callout format to the database is driven by administrator-customizable templates along with CSS sheets and thus the "look and feel" is almost entirely under administrator control. Multiple "CSS" sheets may be offered to users if desired to change fonts, colors and similar user interface presentation features.
* Supports the use of SSL for authentication and storage of passwords as one-way hashes, making password theft from the system itself nearly impossible. (Compromise of the user's machine, of course, can lead to password theft.)
* Can operate with a "donation" or "subscription" system and other custom needs. If you can express what you want to do in SQL, you can probably make AKCS-WWW do it. The system runs a timed job out of the cron periodically which can examine the system's database tables and do virtually anything an administrator would like. A Paypal Interface package for direct PayPal connectivity is included.
* Maintains near-forensic quality logs. All postings and messages are normally stored indefinitely - even if "changed", along with IP addresses, giving the administrator the ability to retrieve material if required by various civil authorities.
* Extremely fast full-text search is supported as a native database function, with the ability to search millions of individual messages in tenths or hundredths of a second. Unlike most other systems that are forced to limit search activity to keep system load under control, AKCS-WWW has no similar limitation. It also "stems" words automatically ("billions" and "billion" both return the same thing) and supports complex boolean searches if desired by the user.
* Internal RSS support allows for subscriptions, including authentication and permission enforcement, by client users.
I won't link to them, so you can search it out yourself.
-
Is it free? Lol
-
The package manager could be set up like this: when you open the package manager it opens up to a screen quite similar to the interface it has now except with some specific features added. First, a button (a form preloaded with all current mods version numbers, to check if there is new versions available dl.wedge.org). Second, a list of all the mods currently installed (with added info if newer on mod site after button click). Third, a button for pulling up a list of available mods that are not currently installed and are available for release. Fourth, if you select one or more mods, there is a button that allows you to in one step, except for making sure the admin really does want to install these mods and a confirmation of possible known conflicts between one mod or another, download, install and auto redirect to configure screen. Basically 1 php file acting as a download liaison on dl.wedge.org. This file can also include ssi.php and have full secruity and an admin login all its own. As well as making it possible for modders to maintain, enable, and diable their mod according to their needs. Everything to make this work already exists in one form or another in smf. In smf you can download a mod from a url. Well wedge can go further and have a full mod and update interface that combines the update and mod additions in just a few clicks. This is easier to implement than most other changes wedge intends making. The tools are already there, its just a matter of using them a bit different way.
-
The package manager could be set up like this: when you open the package manager it opens up to a screen quite similar to the interface it has now except with some specific features added. First, a button (a form preloaded with all current mods version numbers, to check if there is new versions available dl.wedge.org). Second, a list of all the mods currently installed (with added info if newer on mod site after button click). Third, a button for pulling up a list of available mods that are not currently installed and are available for release. Fourth, if you select one or more mods, there is a button that allows you to in one step, except for making sure the admin really does want to install these mods and a confirmation of possible known conflicts between one mod or another, download, install and auto redirect to configure screen. Basically 1 php file acting as a download liaison on dl.wedge.org. This file can also include ssi.php and have full secruity and an admin login all its own. As well as making it possible for modders to maintain, enable, and diable their mod according to their needs. Everything to make this work already exists in one form or another in smf. In smf you can download a mod from a url. Well wedge can go further and have a full mod and update interface that combines the update and mod additions in just a few clicks. This is easier to implement than most other changes wedge intends making. The tools are already there, its just a matter of using them a bit different way.
this might sound, but I like this idea
Many large part of time is spent just on the installation of mods.
Not even on the installation and to check the compatibility mode with one other.
And the correction of errors, when a previously installed mod erases the lines of code required to install the following mods.
-
It's mostly up to a mod what to modify. Cleverly designed mods rarely even have compatibility issues but one might creep up when your guard is down.
This problem largely goes away with the use of hooks.
-
Texasman your blogging skills are terrible, learn to use the concept of paragraphs, images and source codes. Example check out the link below.
http://cj-jackson.com/2011/04/11/rockforums-tk-public-beta/
-
Hmmm, im on a fone that has no enter key. I spose ill have to fix it later. :)
-
Nice subtle spam CJ
PS: what's a fone :eheh:
-
Tell ya what, ill get my old brother word processor and mail nao a letter and make him type it up for more english practice. lol
-
Tell ya what, ill get my old brother word processor and mail nao a letter and make him type it up for more english practice. lol
That's quite a insult there, you should stop now.
-
How is that an insult, the man speaks better english than i do. Lol
-
Nao does not need any practice because his English skills are up to speed.
Some people... sight reading... fail...
-
Tell ya what, ill get my old brother word processor and mail nao a letter and make him type it up for more english practice. lol
I'm not your assistant, and I own the place. Show some respect.
If you want to be read by others, then get to work. Otherwise, know when to quit and go away.
Although I'm not the ban-button kind, I never said I couldn't temp-ban people.
Heck, I could have implemented a couple of features in the time it took me to deal with all of your crap.
-
Wow, cant say anything at all without yall getting all bent out of shape. I said i was on a fone, and they said i suck, i make a joke to play it down, you say i suck some more. That is just amazing. lol
-
Oh for fuck sake, texasman just fucking stop will ya! You and your ideal world!
-
End. Put him on ignore.
-
Done.
EDIT: Wedge doesn't do that.
-
Yeah, it's not in my template... Sorry about that ;) But still, it should work when ignoring PMs.
-
You are ignoring this user. Show me the post.
It's not there? I'll send a link, brb...
Posted: April 13th, 2011, 12:34 AM
http://my.wedge.org/?area=lists;sa=ignore
-
Yeah I know, as I said-- I didn't implement the "you are ignoring this user" stuff in the Display template. I usually find this to be inadequate anyway... It's always tempting to just view the posts.
-
oh wait he meant the platform, not this website. Silly me :S
Posted: April 13th, 2011, 01:08 AM
I put this topic on ignore already but it keeps popping up in the recent topic list on the front page.
-
oh wait he meant the platform, not this website. Silly me :S
Posted: April 13th, 2011, 01:08 AM
I put this topic on ignore already but it keeps popping up in the recent topic list on the front page.
I meant here. :S
-
Done
-
i can write code in my spare time. this is proof.
it may not be as grand as some and im far from done with it, but i can throw together some variables.
some will look out of curiosity, some will not, but i am done with wedge. maybe one day ill write my own fork of smf, but it would most definitely be a complete rewrite. i bid thee good day and good luck. :)
3 php files and a js file in the zip.
region_code.php, CBE.php, citystateadd.php, main_rc.js
these are definitely not the finished versions, but working and raising a son kills the shit out of programming time. :(
the only known error is in citystateadd.php, in the is it there function. logic error i havent had time to work out yet.
-
Bye Texasman/Poster101, y'all have a good day now y'hear! :whistle:
-
But I like Texmex food! :P
-
French cuisine is more refined :niark:
-
Italian is better.... sorry... :niark: :P
-
Not bad either :)
-
lol, even New York beats Texas, TGI Friday's :niark:
-
Pff, you yanks and your crappy meat. If you want to eat the best BBQ of your lives come to Argentina :P
PS: french cuisine doesn't use like, snails or something?
-
@Doctor, you thought I'm a yank! Oh bloody hell.
Yes they eat snails and they eat frog legs too, some dip them in French Mustard (which taste like American Mustard, I had both Mustard before). England also has the same breed of snails as France, but not many Englishman bother farming them, but they are editable provided they are clean and cooked. That been proven by Gorden Ramsay.
-
I prefer other exotic food. They said frog is delicious but I don't know, it's too expensive around here :P
Sorry, It was my mistake. You write a little bit yankish :P
-
I've had enough of people who think that throwing their weight around, that being shitty and arrogant and insulting is going to get them anywhere.
I needed a nice bit of time out from here lest I said something REALLY stupid, but I'm glad I did - I skimmed this topic and saw the increasing levels of stupidity, arrogance and idiocy.
-
PS: french cuisine doesn't use like, snails or something?
I know this is second degree, but I feel an urge to disprove your point :P
Snails taste great with proper cooking. It's usually only served during holidays, things like that. I haven't eaten any in a few years. Frog legs, I must have tasted these many years ago, meh.
You know what we eat on a daily basis in France? Pasta, rice, French fries, pizzas, things like that. Anything more complicated is what you usually eat at French restaurants. It's pretty much like Japanese cuisine. Do you think they only eat sushis? Sushi bars are 'trendy' things in Japan, not many restaurants offer them. The actual Japanese cuisine is made up of noodles (ramen, soba, etc.), fried meat (yakitori, etc.) and delicious meals like the Katsudon. Oh my -- katsudon's. They're everywhere in Japan, and nowhere to be seen in Japanese restaurants in France. You have to get your ass moving to the French 'Little Tokyo' just to find half a dozen restaurants that actually provide proper Japanese food -- usually, this is where the Japanese actually go. The rest is just... A cultural thing.
Just like the French never wear berets, don't like mimes, and don't play the accordion all day. (Well, we do love our baguette though.)
I'm sure you guys in Argentina don't exclusively listen to tango music, either :P (I've only watched one movie that was set in Argentina -- Happy Together by Wong Kar Wai -- and it had a great soundtrack by Astor Piazzola, but I'm no fool, it's just an idealized version of Buenos Aires that was in the movie. Well, err... OTOH, it wasn't exactly "idealized"... But you get my point.)
@Pete> Not our fault if British cuisine isn't popular overseas beyond Ramsay's Kitchen Nightmares show :niark:
-
British cuisine is basically everyone else's stolen anyway ;) Our 'national dish' is practically a curry, when it isn't fish 'n' chips.
-
No one will ever beat the CARBONARA(http://en.wikipedia.org/wiki/Carbonara) or FETTUCCINE(http://en.wikipedia.org/wiki/Fettuccine) with PESTO(http://en.wikipedia.org/wiki/Pesto)!! :niark: :niark:
The problem of countries that TRY to cook pasta, is that they DON'T know how to cook it and the result is... creepy! :whistle:
-
Who locked the topic and hid Texas's post from yesterday? Was it you Pete? (I'm just asking hey :P)
-
Wasn't me. Moderation log is a wonderful thing, as are open moderator reports ;)
-
Me neither.
-
Ah yes, I forget that feature all the time...
Okay, I'll just assume DirtRider clicked something by mistake, so I restored that post and unlocked the topic. Feel free to re-lock but please anyone doing it -- say why you did it ;)
-
Indian food ftw.
-
гурманы
никто из вас не ел украинский борщ
и сало с чесноком
translate
foodies :cool:
none of you eaten Ukrainian borscht :niark:
and lard or bacon with garlic :whistle:
Salo. ukraine, ukrainian music, Poplavski(http://www.youtube.com/watch?v=SHVDIP0xGxw#)
-
French fries? Aren't them from Belgium?
I love all kind of food, but seriously, google choripan and you'll see the best food that exist in the world.
-
French fries? Aren't them from Belgium?
No... They're from France, as the name implies. Ah ah.
Well, the potato was discovered by a French explorer in South America or something. But who cares.
The best French fries are to be found in Belgium, yeah. I used to live near the border and our region had a strong fry-oriented culture. In Paris there's nothing of interest. Their fries are tiny and bland... They're only edible when adding lots of salt.
-
Their fries are tiny and bland... They're only edible when adding lots of salt.
That reminds me of KFC, their chips are also bland, except they are thick, let me guess those fries your talking about taste like cardboard right. :lol:
This thread started off has a flame war and now we are talking about food. :lol:
-
OM NOM NOM NOM
-
if there isn't salt in my meals, the food doesn't have taste.
-
Well, the potato was discovered by a French explorer in South America or something. But who cares.
Actually in the ruins of Peru and Chile archaeologists have found potato remains that date back to 500 B.C. . The first Europeans to discover the potato was the Spanish conquistadors in 1532, though they didn't take them back to Spain until 1565 because they where looking for gold. Ended up taking potatoes instead, thats one talk you don't want to have with the boss (king.)
-
There were probly a few people that didn't have to worry about it.
Considering how much is poisonous in the world, you gotta have a fair amount balls and not a whole lot of brains to be the first guy to say, "Looks interesting, think I'll try eating it."