Programming, computers, etc. [Serious]

All things asdf (and anything else)
User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Wed Feb 29, 2012 4:26 pm

Not without some serious stretching. As I mentioned in a previous post, it usually goes ...a3, a2, a1, a0. In the case of base 1, an would always be 1, and the only number to represent it would be 0. I suppose you could have nothing (the empty string) represent 0 and each symbol be 1, but then it's no better than the "tic mark" system. In a way, it's worse, because there's a separate symbol for 5 in the "tic mark" system.

(Edited to prevent me from making a total fool out of myself for misremembering the post I was responding to)
Last edited by Anonymously Famous on Wed Feb 29, 2012 7:45 pm, edited 2 times in total.
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
atomtengeralattjaro
Site Admin
Site Admin
Posts: 37518
Joined: Wed May 23, 2007 3:43 pm
Location: green
Pronouns: he / they / that submarine
Contact:

Re: Programming, computers, etc. [Serious]

Post by atomtengeralattjaro » Wed Feb 29, 2012 6:50 pm

Wizard was talking about base 1.
Ivokyuftaf6666 wrote:
Sun Oct 20, 2019 5:22 pm
Awesome Site, Delivering Fun
Image

User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Wed Feb 29, 2012 7:42 pm

Of course he was.

*Stealthily edits previous post without leaving a trace*
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
atomtengeralattjaro
Site Admin
Site Admin
Posts: 37518
Joined: Wed May 23, 2007 3:43 pm
Location: green
Pronouns: he / they / that submarine
Contact:

Re: Programming, computers, etc. [Serious]

Post by atomtengeralattjaro » Wed Feb 29, 2012 8:07 pm

that's actually true because you left 2 traces :)
Ivokyuftaf6666 wrote:
Sun Oct 20, 2019 5:22 pm
Awesome Site, Delivering Fun
Image

User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Wed Feb 29, 2012 8:17 pm

I guess it is in a way, isn't it?

Okay, programming question: Prolog. Anyone heard of it or used it? What do you think?
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
atomtengeralattjaro
Site Admin
Site Admin
Posts: 37518
Joined: Wed May 23, 2007 3:43 pm
Location: green
Pronouns: he / they / that submarine
Contact:

Re: Programming, computers, etc. [Serious]

Post by atomtengeralattjaro » Wed Feb 29, 2012 9:09 pm

i(haven(t(used(it(before)))))
Ivokyuftaf6666 wrote:
Sun Oct 20, 2019 5:22 pm
Awesome Site, Delivering Fun
Image

User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Wed Feb 29, 2012 9:25 pm

Neither have I. If I remember correctly, though, I did have to write a parser for it for a programming class once. But I've never used it as a language. I only ask because it's one of the only full programming environments currently available on the PortableApps website (I guess they do also have XAMPP, which is a portable Apache server with MySQL, PHP and a lite version of PERL... See the Daily Thread for more about PortableApps). I got it on my computer because I could, and was just wondering about its usefulness.

Oh, and they also have an NSIS environment. NSIS is a scripting language used to create Windows installers.
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
Dreams
ASDF High Priest
ASDF High Priest
Posts: 2306
Joined: Tue Nov 29, 2011 7:04 pm
Location: STOP STALKING ME! I'M INSECURE!
Contact:

Re: Programming, computers, etc. [Serious]

Post by Dreams » Thu Mar 01, 2012 9:39 pm

I will look at it and look.

hobobuster
ASDF Prophet
ASDF Prophet
Posts: 4301
Joined: Thu May 24, 2007 6:11 pm
Location: Pushing through to find my place.
Contact:

Re: Programming, computers, etc. [Serious]

Post by hobobuster » Mon Mar 26, 2012 3:58 am

Ahem, I am going to interrupt here to say...

http://forums.asdf.com/viewtopic.php?f=1&t=17849

you all, GET IN HERE D:! I needs help :/
Come read my new book coming out soon!
http://www.writerscafe.org/writing/hobobuster/837505/

Leave a comment, leave a rant, or just leave some love, but be honest, I'm not afraid of criticsm! :D

User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Mon Mar 26, 2012 5:49 am

Been there. Done that. I'll post more in detail when I have more time and/or you can give us more details on what you need.
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
atomtengeralattjaro
Site Admin
Site Admin
Posts: 37518
Joined: Wed May 23, 2007 3:43 pm
Location: green
Pronouns: he / they / that submarine
Contact:

Re: Programming, computers, etc. [Serious]

Post by atomtengeralattjaro » Mon Mar 26, 2012 10:04 pm

Today I've been working on figuring out how Silverlight applications can communicate with each other and a server..
(The game I'll be making for my thesis will probably be semi-peer-to-peer, but i'm not entirely sure yet on the details)
It turns out Silverlight doesn't allow regular UDP socket-based communication (fast, unreliable, connectionless), only TCP (slower, reliable, connection-based), and even that only works if a so called socket policy server is present. I really don't see how all this makes Silverlight more secure, but meh.

The only other way of fast communication between peers in Silverlight (that i've figured out) is UDP Multicast. Multicast is a strange beast. I figured out how to use it, but it means every peer would receive every game update, which is not what I want.. so I'd need to encrypt some messages. Which is cool, but I'm not sure how much of a delay will all the encryption/decryption introduce.. Anyways, I've acquired a neat open-source library for an easy-to-use RSA cryptosystem, and there are built-in symmetric cryptosystems in Silverlight, so I'll be able to do it I think..

(Oh, the game will be a top-down shooter, multiplayer, and there will be some AI options too, probably..
The server will host the website and the lobbies, and it'll do the matchmaking and start the games, from which point the peers will do the rest and start playing with each other..)
Ivokyuftaf6666 wrote:
Sun Oct 20, 2019 5:22 pm
Awesome Site, Delivering Fun
Image

User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Mon Mar 26, 2012 10:28 pm

That sounds like fun. Since it's Silverlight, I'm assuming the game will work in a browser?
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
atomtengeralattjaro
Site Admin
Site Admin
Posts: 37518
Joined: Wed May 23, 2007 3:43 pm
Location: green
Pronouns: he / they / that submarine
Contact:

Re: Programming, computers, etc. [Serious]

Post by atomtengeralattjaro » Tue Mar 27, 2012 9:47 am

Yes, it will. And I won't need a muscle server to back it :)
Ivokyuftaf6666 wrote:
Sun Oct 20, 2019 5:22 pm
Awesome Site, Delivering Fun
Image

User avatar
Dreams
ASDF High Priest
ASDF High Priest
Posts: 2306
Joined: Tue Nov 29, 2011 7:04 pm
Location: STOP STALKING ME! I'M INSECURE!
Contact:

Re: Programming, computers, etc. [Serious]

Post by Dreams » Tue Mar 27, 2012 7:47 pm

That's great! Good luck on your project! Try not to break your router!

User avatar
atomtengeralattjaro
Site Admin
Site Admin
Posts: 37518
Joined: Wed May 23, 2007 3:43 pm
Location: green
Pronouns: he / they / that submarine
Contact:

Re: Programming, computers, etc. [Serious]

Post by atomtengeralattjaro » Tue Mar 27, 2012 8:48 pm

haha thanks. i won't break my router, but i might just DDOS myself :P
Ivokyuftaf6666 wrote:
Sun Oct 20, 2019 5:22 pm
Awesome Site, Delivering Fun
Image

User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Tue Mar 27, 2012 10:47 pm

That sounds painful.

So... I'm looking to find an "easy" way to develop GUI utilities for several platforms. I want them to be standalone applications that don't require any software to be installed (other than the utility, of course).

I've found that FreePascal has compilers for several platforms (including PowerPC Macs!). Haskell also has this (though you need to get an older compiler if you want to compile for older Macs). I know, of course, that C/++ does, and that Java will supposedly work on anything (though technically you have the dependency of JRT being installed).

Any other suggestions? Also, other than Java, do you know of any languages where you can generate a finished product for a Mac on a PC?
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
atomtengeralattjaro
Site Admin
Site Admin
Posts: 37518
Joined: Wed May 23, 2007 3:43 pm
Location: green
Pronouns: he / they / that submarine
Contact:

Re: Programming, computers, etc. [Serious]

Post by atomtengeralattjaro » Fri Mar 30, 2012 2:16 pm

sadly, i don't know any.. :(

About my project, it turns out you can't effectively use the multicast thingy in silverlight, not on the open internet at least.. So all that remains is TCP sockets. I hope it'll work, everyone says TCP is not very good for realtime gaming.. I wouldn't need a lot of traffic, but in order to prevent/detect cheating, I kinda do.. I'm a bit worried.
Ivokyuftaf6666 wrote:
Sun Oct 20, 2019 5:22 pm
Awesome Site, Delivering Fun
Image

User avatar
Anonymously Famous
JKL; Assassin
JKL; Assassin
Posts: 11413
Joined: Thu Mar 03, 2011 6:52 pm
Location: Area ???, under Bermuda Triangle

Re: Programming, computers, etc. [Serious]

Post by Anonymously Famous » Fri Mar 30, 2012 9:17 pm

I wish you the best of luck.
BOTTOM TEXT
ThingerDudes wrote:The only reasonable amount of Nutella is infinity. Everything else is too little.
Proud poster of the 300kth post in General

User avatar
Dreams
ASDF High Priest
ASDF High Priest
Posts: 2306
Joined: Tue Nov 29, 2011 7:04 pm
Location: STOP STALKING ME! I'M INSECURE!
Contact:

Re: Programming, computers, etc. [Serious]

Post by Dreams » Tue Apr 03, 2012 4:31 pm

Go back to oldschool wire connections.

User avatar
Dreams
ASDF High Priest
ASDF High Priest
Posts: 2306
Joined: Tue Nov 29, 2011 7:04 pm
Location: STOP STALKING ME! I'M INSECURE!
Contact:

Re: Programming, computers, etc. [Serious]

Post by Dreams » Sun Apr 08, 2012 3:12 pm

Sorry for the double post, everyone, but it's been a while.

I am encountering a serious problem! With the new fancy python 3.2.
I was playing around with tkinter that comes with the download, and I have a serious issue. Every time I try to close the program, instead of closing, it glitches out and freezes. I wonder if I have to change something in my program, or what? Plz help :) Thanks guys.

Post Reply