Search:

Type: Posts; User: batrick; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    9,478

    [ubuntu] VLC Streaming Desktop + Audio

    I'm trying to stream my desktop + audio using VLC but am having difficulties getting the audio to stream at all. [Basically, I want to be able to stream my playing a game for friends.]

    I've tried...
  2. [ubuntu] Re: [SSH] gssapi-with-mic password-less kerberos login

    Here's my krb5.conf attached.
  3. [ubuntu] [SSH] gssapi-with-mic password-less kerberos login

    I'm trying to login to a server using gssapi-with-mic authentication against one of my school's machines that supports this mode of authentication. I have these kerberos packages installed:

    ...
  4. Replies
    13
    Views
    1,316

    [SOLVED] Re: which functional language to learn?

    Take a look at Lua. It's pretty easy to learn and has everything you need to write a functional program.
  5. [ubuntu] Subversion commit ignores EDITOR/SVN_EDITOR

    Hi,

    I'm using Ubuntu 10.04 with the latest subversion package. Despite having the EDITOR and SVN_EDITOR environment variables set to "vim", I get a nano editor during commits. Does anyone know...
  6. [ubuntu] [Karmic] Wireless Notification Button Gone

    Why is the wireless networks button gone for Karmic? I can't look at available networks anymore. [Rant] I understand that Ubuntu wants to make each release shinier but the notification widget for...
  7. Re: Ubuntu newbie requesting help running programs

    If you're in the mood for trying languages, you may want to give Lua a shot.
  8. Replies
    40
    Views
    3,291

    Re: I am making a Game Maker

    You should consider Lua for the scripting language. It's pretty standard in games. It's stupid fast, flexible, and powerful.
  9. Replies
    81
    Views
    5,117

    Re: C++, C# or Python

    Implementation exposes misunderstanding.
  10. Replies
    81
    Views
    5,117

    Re: C++, C# or Python

    Learning a data structure or algorithm is not about syntax, it's about implementation and use. Learning how to implement the algorithm/data structure (hopefully) implies learning how to use it.

    A...
  11. Replies
    81
    Views
    5,117

    Re: C++, C# or Python

    If he wants the program to be runnable cross platform it may be better to write it in Java depending on the type of GUI and userbase.

    If you want to learn algorithms you should do it in C, if you...
  12. Replies
    10
    Views
    2,915

    Re: String manipulation in bash

    tempdate=$(date --date=yesterday +"%b%d%y.zip")

    Can be this as well:


    tempdate=$(date --date=yesterday +%b%d%y).zip

    The quotations in the earlier command were not necessary. Note that there...
  13. Replies
    10
    Views
    2,915

    Re: String manipulation in bash

    date --date=yesterday +%b%d%y

    Use that command when naming the file.

    EDIT: Fixed it so it shows yesterday's date.
  14. Replies
    17
    Views
    724

    Re: Saving data between sessions

    Usually you make a hidden directory only if you have many files you want to save between sessions (config files). If it's just one then make a hidden file .foo.conf
  15. Replies
    64
    Views
    3,314

    Re: Which Programming Language rocks(To you)?

    Lua > *!!!
  16. Re: Help needed to insert/add text in files with bash and sed

    You can use `cat foo foo2` to concatenate the two files. You can use sed to grab lines and pipe them into cat.


    echo "add this line" | cat - foo

    Hope that helps.
  17. Replies
    296
    Views
    78,056

    Re: "Hello Ubuntu" in every programming language

    Lua



    print "Hello! What's your name?"
    local name = io.read("*line");
    print("Hello "..name.."! Welcome to Ubuntu!")
  18. Replies
    7
    Views
    689

    Re: C algorithm help (math)

    Depending on how accurate you want these to be, you can do some pretty simple regressions to obtain your interpolated data. If you take points "within range" of your line and construct (visually) a...
  19. Replies
    1
    Views
    5,032

    Re: What is the maximum length of a username?

    I would assume you wouldn't need to set the size like that. You just need to read the username and use strlen() to find out how big it is. Then use malloc() to allocate space for it.
  20. Replies
    7
    Views
    689

    Re: C algorithm help (math)

    If I understand you problem correctly, what you want to do is take a given line on the Z plane and find the distance points are from that line?

    For illustration purposes, I'm thinking you need to...
  21. Replies
    8
    Views
    779

    Re: OpenGL - Getting started

    It compiles for me as well. But I get an error message when I try to run it as outlined in my OP. If your second comment refers to fixing that, I don't think I understand, could you elaborate please?
  22. Replies
    8
    Views
    779

    Re: OpenGL - Getting started

    I did what you put, still the same error. I didn't make the code, I admit it looks pretty gross in a few places :) I just wanted something >working<.
  23. Replies
    8
    Views
    779

    Re: OpenGL - Getting started

    I've already got the correct nvidia graphics driver installed. : (
  24. Replies
    8
    Views
    779

    OpenGL - Getting started

    Hello all,

    I'm desperately trying to get >something< compiled and running for OpenGL (in C). I've installed the right packages I need: freeglut3 and freeglut3-dev.

    It took a while but I got...
Results 1 to 24 of 24