Re: localhost refused to connect

2020-07-16 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

The thing is, on one hand I'd rather get it up and running sooner rather than later. On the other hand, Like I said before, I'd rather know how things work behind the scenes from the beginning. Also since I don't have that much experience with coding, it'd be interesting to code something practical rather than depending on prepared stuff. My target audience isn't that hard to satisfy I think, assuming I can pull off what I have in mind. By the way I don't mean relying on prepared things is a bad thing, I just believe that at a beginning level it makes me get used to lazyness LOL. Thanks much guys, This conversation gave me new things to consider on this and future projects, that is if I  muster enough patience and determination to stick with this 

URL: https://forum.audiogames.net/post/553019/#p553019




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

@13, I see. Thanks a lot for all those detailed answers, I'm sorry if I took your time. Let's see if I can do something worth the effort of those who have been helpful so far LOL. Thanks once more!

URL: https://forum.audiogames.net/post/552810/#p552810




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

got it, thanks. A couple more questions: assuming I can implement a forum system from scratch, can it be practical besides being a learning exercize for myself? I mean I personally would like to implement as much as of it as possible to see how everything really works, but if it can't be used for practical purposes especially at a beginner level, then i'd rather not spend time on implementing one myself, at least not now.Also mySQL is good enough for such a project right? I've read that mysql is not suitable for large databases, but I'm not clear on at what point a database can be considered as large in this case.

URL: https://forum.audiogames.net/post/552802/#p552802




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

got it, thanks. A couple more questions: assuming I can implement a forum system from scratch, can it be practical besides being a learning exercize for myself? I mean I personally would like to implement as much as of it as possible to see how everything really works, but if it can't be used for practical purposes especially at a beginner level, then i'd rather not spend time on implementing one myself, at least not now.Also mySQL is good enough for such a project right? I've read that mysql is not suitable for large databases, but I'm not clear on what makes a database being considered as large.

URL: https://forum.audiogames.net/post/552802/#p552802




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

to be honest I think what I'm trying to achieve is a little over ambitious at my knowledge level LOL. I'm hoping to create a website with 2 features, a forum and the ability to support video playing. If everything works out the way I'm aiming for,  eventually  it's users may reach around a few hundreds of thousands, not any time soon though  Oh and it's going to be in an RTL language just in case if it' makes any difference, though I think not.

URL: https://forum.audiogames.net/post/552792/#p552792




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

ok,  I will have to look some things up to understand and make sense of everything, but thanks a lot for the detailed rundown of the options, It's really appreciated.

URL: https://forum.audiogames.net/post/552779/#p552779




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

yeah sounds like it. I was wondering  how app.get() can be used for both purposes, completely forgetting about overloading.Aha makes sense, so the apostrophe was part of the word inside the double quotes.Out of curiosity, what's your favourite language for the backend stuff? I wanted to work with PHP, but some people from a discord group were all over how great node is compared to PHP, and from what I have seen so far node js can do wonders with enough patience and creativity. ) Although it does have a steep learning curve, especially for one like me who has been away from any sort of coding for years.

URL: https://forum.audiogames.net/post/552765/#p552765




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

yeah sounds like it. I was wondering  how app.get() can be used for both purposes, completely forgetting about overloading.Aha makes sense, so the apostrophe was part of the word inside the double quotes.Out of curiosity, what's your favourite language for the backend stuff? I wanted to work with PHP, but some people from a discord group were all over how great node is compared to PHP, and from what I have seen so far node js can do wonders with enough patience and creativity. 

URL: https://forum.audiogames.net/post/552765/#p552765




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: localhost refused to connect

Thanks a lot guys, and thanks camlorn for letting me know about Curl. LOL it was a stupid syntax error, I had something like, app.get("port'"). For some reason node didn't throw an error for the extra apostrophe.

URL: https://forum.audiogames.net/post/552688/#p552688




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


localhost refused to connect

2020-07-15 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


localhost refused to connect

Hi,I have created a very basic server in express nodejs. It runs fine in the command prompt, but when I try to connect to it with my browser, it says localhost refused to connect. I have tried changing the port, changing the browser, making the code as simple as it can get, b but nothing has worked so far.  It was working a couple hours ago and it suddenly stopped working.Any help is appreciated.also here's the code just in case if I have made an unnoticeable mistake:var express=require("express");var app=express();app.set("port", process.env.PORT||8000);app.get("/", function(req, res){res.send("testing");});app.listen(app.get("port'"), function(){console.log("server started on port "+app.get("port"));});Thanks.

URL: https://forum.audiogames.net/post/552642/#p552642




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


hiding an element from an included page?

2020-07-11 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


hiding an element from an included page?

hi,If I include an HTML webpage within another using jquery's get method, would it be possible to hide an element from the included page?In my case, I have included nav.html in my index html and a few other pages. I want to hide the link of the page which is currently open from the navigation menu. Can I do that if I have used jquery to include the navigation page? If not, is there a more flexible way to include my nav.html? By the way I don't mean the methods of hiding the element, I mean how can I interact with the elements of the included page individually.Thanks.

URL: https://forum.audiogames.net/post/551236/#p551236




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


hiding an element from an included page?

2020-07-11 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


hiding an element from an included page?

hi,If I include an HTML webpage within another using jquery's get method, would it be possible to hide an element from the included page?In my case, I have included nav.html in my index html and a few other pages. I want to hide the link of the page which is currently open from the navigation menu. Can I do that if I have used jquery to include the navigation page? If not, is there a more flexible way to include my nav.html?Thanks.

URL: https://forum.audiogames.net/post/551236/#p551236




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: appreciating visual effects?

2020-07-08 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: appreciating visual effects?

alright, thanks guys. Not going to bother with it then. I have something in mind as a personal project for now and hopefully it will turn into something bigger in future, but I could experiment with the coding and ask my wife's assistance for getting feedback on the actual output. By the way other than css, is there anything else I should be aware of in terms of accessibility before diving into this?

URL: https://forum.audiogames.net/post/549917/#p549917




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: appreciating visual effects?

2020-07-08 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: appreciating visual effects?

alright, thanks guys. Not going to bother with it then. I have something in mind as a personal project for now and hopefully it will turn into something bigger in future, but I could experiment with the coding and ask my wife's assistance for getting feedback on the actual output. By the way other than css, is there anything else I should be aware of before diving into this?

URL: https://forum.audiogames.net/post/549917/#p549917




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


appreciating visual effects?

2020-07-06 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


appreciating visual effects?

hi,I have recently started following the free code camp courses, and I'm currently on the css part. I'm just realizing the real power of css and how amazing it can be. Curious though, is there any way or tool for us to inspect the visual changes closely? NVDA's formatting information isn't bad, but it only gives information about very basic stuff. Can we in any way notice flex boxes, grids, animations and so on? I'm starting to feel left out without experiencing those things LOL.

URL: https://forum.audiogames.net/post/549259/#p549259




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


appreciating visual effects?

2020-07-06 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


appreciating visual effects?

hi,I have recently started following the free code camp courses, and I'm currently on the css part. I'm just realizing the real power of css and how amazing it can be. Curious though, is there any way or tool for us to inspect the visual changes closely? NVDA's formatting isn't bad, but it only gives information about very basic stuff. Can we in any way notice flex boxes, grids, animations and so on? I'm starting to feel left out without experiencing those things LOL.

URL: https://forum.audiogames.net/post/549259/#p549259




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: counting characters in lua

2019-09-02 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: counting characters in lua

Thanks guys, with couple modifications for special cases This worked perfectly.

URL: https://forum.audiogames.net/post/459107/#p459107




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


counting characters in lua

2019-09-01 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


counting characters in lua

Hi,First of all, I apologize in advance if this isn't the right room for this topic, wasn't really sure where to post it.Batmud, (which is my current obcession  ), has a system where the amount of # the # character indicates how many rounds left until a spell is cast. This character is used for many other purposes. For example, Summon rift entity: ## means that the spell summon rift entity will be cast after 2 more rounds. My question is, how can I show the amount of # character everytime such kind of message is sent to the client? I'm using mushclient and lua.thanks.

URL: https://forum.audiogames.net/post/458945/#p458945




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problem with Tolk

2019-07-08 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: problem with Tolk

yes it was, but I think it had something to do with my laptop blocking the tolk-related files since they wer downloaded. I unblocked all the files and it's now working fine.Thanks though 

URL: https://forum.audiogames.net/post/447687/#p447687




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problem with Tolk

2019-07-08 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: problem with Tolk

yes it was, but I think it had something to do with my laptop blocking the files since they wer downloaded. I unblocked all the files and it's now working fine.Thanks though 

URL: https://forum.audiogames.net/post/447687/#p447687




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


hproblem with Tolk

2019-07-08 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


hproblem with Tolk

Hi,Despite having the required files in the same directory as my file, I get this error when I try to import tolk:Traceback (most recent call last):                                                File "test.py", line 1, in                                                import Tolk                                                                   File "D:\programming\Tolk.py", line 11, in                                _tolk = cdll.Tolk                                                             File "C:\python\373\lib\ctypes\__init__.py", line 426, in __getattr__             dll = self._dlltype(name)                                                     File "C:\python\373\lib\ctypes\__init__.py", line 356, in __init__                self._handle = _dlopen(self._name, mode)                                    OSError: [WinError 193] %1 is not a valid Win32 application                     I'm using python 3.7 in case if that matters. What can I do to fix this?Thanks in advance.

URL: https://forum.audiogames.net/post/447668/#p447668




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: The toxicities of the developer community

2019-07-08 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: The toxicities of the developer community

during the last couple months, I have followed/read a lot of posts both on this forum and other places (Stack overflow, Quora, ETC). I have frequently seen answers that wer very long and detailed to very simple questions. they have often made me feel the need to personally thank the owners of the answers for their effort, although the answers wer not directed to my questions. My point is, while there are indeed condescending people who make you regret asking questions, And there are others who look down upon those who are not as technologically informed as they are, The helpful developpers actually make up for them. In my little experience in this field, The newbie who faces such problems with the seasoned developpers is often at fault himself.There are also questions that get old and annoying pretty fast. There are only so many times where you can answer questions like C# or python, What's the best programming language ETC with patience. If you have a specific task in mind for which you are not sure what programming language is the most sutable one,   Then by all means ask. Otherwise The internet is full of such questions, go do as much research as you want.

URL: https://forum.audiogames.net/post/447657/#p447657




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: handling the visual aspect of GUI applications

2019-07-08 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: handling the visual aspect of GUI applications

@Rastislav, despite me being blind from birth,  your tips made perfect sense and wer pretty helpful actually.@magurp, good point. I know it depends on the type of the app like everything else, but my basic aim in asking this question was to get a general idea how much does designing an app depend on sight and how much of it is doable by blind people. thankfully the responses wer more than what I was expecting, so thanks guys.Oh and I had seen the golden cursor addon, but havn't inspected it closely. I'll install it and see.

URL: https://forum.audiogames.net/post/447650/#p447650




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


handling the visual aspect of GUI applications

2019-07-07 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


handling the visual aspect of GUI applications

hi,Sighted people, being able to see, can easily design their gui applications in a manner which is presentable and visually appealing. However, I'm wondering, how do blind developpers go about this? I have struggled a lot with designing my school papers throughout my school years. I have usually gotten sighted assistance, but it can be annoying as people have different preferences, and there have been cases where asking for their opinions left me more confused. I assume that it's worse with applications, as it has the potential to be seen by more people and stay for a long time. So what do you guys use to organize your controls and such in your applications? Are there any convensions or standards  reguarding the shape, size, colour and order of the controls in an application that one can follow to give their programs a presentable look?

URL: https://forum.audiogames.net/post/447280/#p447280




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


handling the visual aspect of GUI applications

2019-07-07 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


handling the visual aspect of GUI applications

hi,Sighted people, being able to see, can easily design their gui applications in a manner which is presentable and visually appealing. However, I'm wondering, how do blind developpers go about this? I have struggled a lot with designing my school papers throughout my school years. I have usually gotten sighted assistance, but it can be annoying as people have different preferences, and there have been cases where asking for their opinions left me more confused. I assume that it's worse with applications, as it has the potential to be seen by more people and stay for a long time. So what do you guys use to organize your controls and such in your applications? Are there any convensions or standards  reguarding the shape, size, colour and order of the controls in an applications that one can follow to give their programs a presentable look?

URL: https://forum.audiogames.net/post/447280/#p447280




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: For beginners. Why is C# better than Python for audio game development

2019-06-28 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: For beginners. Why is C# better than Python for audio game development

LOL guys, i'm tempted to act like jonikster. During the last few weeks, I went through the topics in this room, picking up a few tips and answers here and there. There were loads of questions with subjective answers, or questions whose answers could be easily obtained through other means. What's the best programming language for audiogame development, How can I learn bgt/python/c#, What language is better x or y, ETC. The annoying thing was that the majority of such questions were posed by jonikster. After a while, I began to pick up the pattern: Whenever I would see a question or topic like that, I was like, oh here's another jonikster topic. The point is, After all those pointless topics, he still manages to catch the attention of the community and get a lot of replys, causing his topic(s) to stay on the top of the dev room for a while. Ethin gave a good reason for this, which was to make sure that new developpers don't get misled with his biased opinions and his wrong information. However, I do think a better solution is to ignore such topics of his entirely, except 1 detailed reply from the knowledgeable programmers such as Ethin himself, to make sure that those who stumble upon his topics do not get any wrong ideas from him. This way, compared to the current state of his topics, the risk of new devs seeing his topics would be much lower.

URL: https://forum.audiogames.net/post/444790/#p444790




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Please help me

2019-06-03 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: Please help me

Hi,I haven't worked much with bgt, but from the look of things it appears that you have only declared the player_x and player_y variables without giving them any value. Try int player_x=0, player_y=0; , or whatever value you need the variables to be initially.also i don't know what you mean by player_x>1; and player_y>1;do you want to increase their value by 1? If so, you should do player_x++;player_y++;same goes for the left arrow, instead of writing player_x<1; write player_x--;

URL: https://forum.audiogames.net/post/438440/#p438440




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Please help me

2019-06-03 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: Please help me

Hi,I haven't worked much with bgt, but from the look of things it appears that you have only declared the player_x and player_y variables without giving them any value. Try int player_x=0, player_y=0; , or whatever value you need the variables to be initially.also i don't know what you mean by player_x>1; and player_y>1;do you want to increase their value by 1? If so, you should do player_x++;player_y++;

URL: https://forum.audiogames.net/post/438440/#p438440




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-02 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

ok I think I grasped the setting and removing of flags, but just to be sure that it's the correct way, let's post it here #include
#include
int music, state=1;
void toggle(char option[10])
{
if (option=="playing")
{
music^=state;
}
else if(option=="repeat")
{
music^=state<<1;
}
}also, is there any difference between these 2 statements?music^=state<<1;

music^=state*2;

URL: https://forum.audiogames.net/post/438151/#p438151




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-02 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

Thanks a lot kaigoku, i'l check those things out and will see problem is, I live in a country where blind people don't study math at all beyond very basic stuff such as addition and subtraction, much less other sciences. So probably this is partly why I have dificulty with those advanced concepts, and i'l have a long road ahead of me if I continue.I have worked with higher level programming languages before, but i'd rather understand what's going on behind the scenes than doing things the easy way, unaware of how do things work exactly, even if it means spending long periods of time trying to make sense of things.

URL: https://forum.audiogames.net/post/438116/#p438116




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-02 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

Thanks a lot kaigoku, i'l check those things out and will see problem is, I live in a country where blind people don't study math at all beyond very basic stuff such as addition and subtraction, much less other sciences. So probably this is partly why I have dificulty with those advanced concepts.I have worked with higher level programming languages before, but i'd rather understand what's going on behind the scenes than doing things the easy way, unaware of how do things work exactly, even if it means spending long periods of time trying to make sense of things.

URL: https://forum.audiogames.net/post/438116/#p438116




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-02 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

Thanks a lot kaigoku, i'l check those things out and will see problem is, I live in a country where blind people don't study math at all beyond very basic stuff such as addition and subtraction, much less other sciences. So probably this is partly why I have dificulty with those advanced concepts.I have worked with higher level programming languages before, but i'd rather understand what's going on behind the scenes than doing things the easy way, unaware of how do things work exactly.

URL: https://forum.audiogames.net/post/438116/#p438116




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-02 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

Ok i think I got it!I have something like:int music, state=1;
void toggle(char option[10])
{
if (option=="playing")
{
music^=state;
}
else if(option=="repeat")
{
music^=state<<1;
}
}out of curiosity, is there any difference between those 2 statements in terms of efficiency and other stuff?music^=state<<1;

music^=state*2;

URL: https://forum.audiogames.net/post/438115/#p438115




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-01 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

fundamental question actually I suppose i'm familiar with binary as well as what each operator does. I mean how & returns the bits that are true in both operands, how | | returns the bits that are true in one of the 2 given operands and so on, I just fail to figure out how to use them to accomplish something useful LOL.

URL: https://forum.audiogames.net/post/438039/#p438039




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-01 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

fundamental question actually I suppose i'm familiar with binary as well as what each operator does actually. I mean how & returns the bits that are true in both operands, how | | returns the bits that are true in one of the 2 given operands and so on, I just fail to figure out how to use them to accomplish something useful LOL.

URL: https://forum.audiogames.net/post/438039/#p438039




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: bitwise operators

2019-06-01 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


Re: bitwise operators

Thanks guys! I was actually about to abandon this concept for now as it was a bit more complicated than what I have worked with so far, since I had no idea about its use and that gave me little incentive to bother with it. Although some of what you guys have wrote are too advanced for me at this stage to make complete sense of, but at the same time, you have given me a lot of things to look up, take note of for later, and/or look forward to  .A couple more questions (I have a feeling that they will be far from my last questions):kaigoku mentioned truth tables to work with for  practicing  the use of those operators, and I have seen other people refer to them as well while explaining logical operations and such. I have tried to look it up, but I haven't been able to grasp the making of it so far, not sure if it's because of the inaccessibility of the way they are represented, or i'm to blame myself  . So is there any specific resource or way with which the construction of truth tables can be made/learned easier?also, Could you refer me to or give me a very simple practical example of how the bitwise operators can be used to do arithmetic operations or any other operation which is easy to understand for a newbie? Code example I mean.Thanks again for bearing with my noob questions 

URL: https://forum.audiogames.net/post/438035/#p438035




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


bitwise operators

2019-05-31 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


bitwise operators

HiI have recently started learning c, and it seems to be a fun experience so far, especially since you can't run out of learning resources easily.There is one subject however, that have me stuck at the moment, which is bitwise operators. It took me a while to start getting the hang of how they work exactly. Now that i have a basic understanding of those operators, i'm wondering what are their uses. I mean, I have read many tutorials on them. They all say that those operators work on the individual bits of integers and such, but I have yet to find one that mentions their  everyday use. So what are the practical uses of those bitwise operators? Are their any situations in which a developer actually needs to use them?thanks in advance for any help.

URL: https://forum.audiogames.net/post/437825/#p437825




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


bitwise operators

2019-05-31 Thread AudioGames . net ForumDevelopers room : goran via Audiogames-reflector


  


bitwise operators

HiI have recently started learning c, and it seems to be a fun experience so far, especially since you can't run out of learning resources easily.There is one subject however, that have me stuck at the moment, which is bitwise operators. It took me a while to start getting the hang of how they work exactly. Now that i have a basic understanding of those operators, i'm wondering what are their uses. I mean, I have read many tutorials on them. They all say that those operators work on the individual bits of integers and such, but I have yet to find one that mentions their  everyday use. So what are the practical uses of those bitwise operators? Are their any situations in which a developer actually needs to use them?

URL: https://forum.audiogames.net/post/437825/#p437825




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector