Jump to content
Team Avolition

Noodles777

Members
  • Content Count

    222
  • Joined

  • Last visited

Community Reputation

40 Excellent

About Noodles777

  • Rank
    Servant of Chuck Knoblock the one armed long arm of the Law

Profile Information

  • Gender
    Male
  • Location
    My office chair
  • Interests
    Programming, gaming, anime.

Recent Profile Visitors

4002 profile views
  1. Noodles777

    The new-and-improved Linux Thread

    I've never actually tried Gentoo but I am intrigued since so many people are raving on about it in this thread. I've mostly been using Debian for developing etc. which is also probably why I haven't had to much trouble with shit breaking. It does come at the cost of having almost everything a few versions behind but to be honest that hasn't been too much of an issue either.
  2. Noodles777

    The new-and-improved Linux Thread

    What is your current thingy? I'm mostly interested in distro (I'm guessing Arch) and window manager/desktop environment. It looks pretty good OT: I mostly run Linux in VMs from a Windows host because I can't be bothered with dual boot and I like my vidya. I've been running Linux or about 4 years now. I like the fact that you can run a super lightweight distro if you want (especially good for VMs) and the customisability. What I don't like is that shit breaks for no good reason sometimes, although this isn't a very common occurrence for me.
  3. Noodles777

    wisdom teeth

    I've got all mine still. Each side seems to have an episode at semi regular intervals (once a year or something like that) for about a week each time. Just take painkillers and weather the pain.
  4. I'll be honest I've not looked at any C# materials myself so I don't know the full extent of what's out there. Doing a quick Google search I found this which looks ok. It should be able to give you the very basics at least. Some of the other people on the forum will undoubtedly have much better tutorials to recommend. A nice SQL tutorial can be found here http://www.w3schools.com/sql/. If you're gonna use MySQL (and hence the .NET connector) I'd also recommend looking at the .NET connector tutorial on the MySQL website. There is also more general documentation and install guides here. Finally I'd recommend getting Visual Studio if you don't already have it https://www.visualstudio.com/. Just get the Community Edition. Whilst I'd generally advise against using an IDE for learning a language since I think it adds an unnecessary middle man it will make GUI development a breeze. It will also help you out a ton with your C# by providing suggestions, highlighting syntax errors, and providing a nice debugger. In general it will help you get running quite quickly.
  5. Since you're most likely looking at a database back end you'll need SQL, and a database management system (DBMS). I don't have any pros/cons for any particular DBMS, so might want to do some research, although off the top of my head I'd recommend MySQL. Pretty easy installation procedure on both Windows and Linux (though I feel like this can be said for almost any of them), and relatively easy to do configuration tasks etc. It should also have drivers for all major languages, which MySQL call "MySQL Connectors". These basically give you a nice and convenient way to execute SQL queries against your MySQL database directly from your code. For your actual program/front end you'll probably want a GUI application (or at least that's what I gleamed from the context), so I'd say .NET framework is your best bet. For that any CLI language should work (https://en.wikipedia...f_CLI_languages). Personally I'd go with C#, since it was developed by Microsoft specifically for .NET, and the language is pretty easy to grasp. It should also be pretty easy to design a GUI using Visual Studio, and C#.
  6. Noodles777

    Let's talk about Linux!

    Used radare for 5-10 hours so far. Cannot say anything bad about it, except the no GUI issue which you mentioned, and the devs are currently addressing it as well. Based on what I heard IDA Pro is still the better choice at the moment but with time I think r2 will be up there as the Linux equivalent. Didn't know about Hopper and Bokken, Both of those look pretty awesome at a first glance.
  7. Noodles777

    Battlefield 1

    The trailer looks fucking sick. I am a little bit anxious about it following the regular trend of Battlefield games (not that they're bad, but I'm getting a bit tired of the formula). I'm also worried about EA games in general. I'm not getting my hopes too high, but I am keeping an eye on it now which is more than what most other Battlefield games could say for themselves.
  8. Noodles777

    multi-aura help

    I'm not sure what you're having a problem with here, is it the switching between entities in range or the bit about ONLY switching between entities that are in range and ignoring others? Both are possible and not particularly difficult. If you are having trouble with the former, you just want to keep a list of all entities in range (or Minecraft may even be able to give you said list I dunno), and then you need to loop through all entities in that list. If it's the latter you just need to do a distance check between the entities and ignore all entities that are too far away. Again, not sure what you mean. You can make your player move automatically every time you attack but I'm not sure why this would be useful.
  9. Noodles777

    You Laugh, You Lose. Round V

    a e s t h e t i c
  10. Noodles777

    Opinions on Lua

    So I did some testing. Your example does indeed work. I then tried the following (I'm just putting it all in one source file for ease): local herp, derp --herp() Attempt to call herp, a nil value function herp() derp() end --herp() Attempt to call derp, a nil value function derp() print "derp" end herp() --works fine So it seems to be the scope at the time of calling that matters. I think Lua builds a table for globals, so it would make sense that unless you call herp as the last thing, the table won't be fully built for the given program, so it will fail for various reasons.
  11. Noodles777

    Opinions on Lua

    I don't think putting local my_function_name at the top of the file for every function would work. local fun1 -- nil local fun2 -- nil function fun1() fun2() -- attempt to call nil end function fun2() print("Called fun2") end I haven't actually tested this though. As for OpenComputers, it looks really awesome, thanks for pointing that out.
  12. Noodles777

    Opinions on Lua

    I guess if you really broke it down you could say that. It's more that things that are so common in other languages (like the 0 indexing) are done differently, and coming from other languages it's a little bit of a jolt swapping to Lua. Nothing that a bit of getting used to can't fix of course. That's essentially what I've done for a solution. I just found it weird that it wasn't available in the standard library but it's not actually that big a deal.
  13. Noodles777

    Opinions on Lua

    So recently I've been screwing around with Lua (Lua in ComputerCraft actually but that's pretty much irrelevant). I've not really done anything major yet, so as you'd expect I'm REALLY far off from exploring the full feature set of the language, but I've found a few things that really grind my gears. 1. Array indexing from 1 instead of 0. I know I could start at 0, or in fact I could start at -5 if I damn well chose so, but the natural Lua way is to start at 1, and all libraries respect this, so you should probably start indexing at 1. I also know the rationale behind this, and it's a fair argument, but it doesn't take away from the fact that I like good old fashioned 0 indexing which is what pretty much every other language does with some exceptions. 2. A loop like the one below will include both the starting and ending index. This is probably directly related to 1., since if I wanted to loop through all elements of a table using indexes in a for loop I'd loop up to and INCLUDING the size of the table (since the last element's index is at table NOT table[size-1] as you'd get with 0 indexing). for i=1,10 do stuff() end Again this is just an annoyance because of what I'm normally used to from other programming languages. 3. Even though it's a scripting language, I still have declare my functions top down to be able to call them from other functions later down the program (like C/C+). Again, I understand the reason for this, it's just a slight nuisance at first when you realize this and suddenly have to reorganize your code to make it run. In the grand scheme of things this isn't a biggie. 4. I have to write my own functions for splitting and joining strings. Admittedly this is pretty nit picky now, but this was never supposed to be a 100% serious post exploring the goods and bads of Lua so I'm including it. This is probably down to the fact that Lua is supposed to have an extremely small footprint. "A basic Lua engine, including parser/compiler/interpreter, but excluding standard libraries, weighs in at under 100kb." Still, splitting and joining strings seems like a fairly basic thing to do, especially when you include other things like pattern matching in strings. All that being said, I quite like Lua. It's got extremely simple syntax which makes it really easy to just pick up an start programming. It's also extensively used as a scripting language for games and game engines. I've talked to some game devs who said they absolutely love it, but I'd like to hear any of your opinions about the language. Also feel free to tell me why I'm wrong about any of the above points.
  14. Noodles777

    Steam Hours Judgement Thread

    Here's mine: (I'm really glad NS2 is up here)
  15. Noodles777

    Ventrilo?

    Yeah, I do seem to remember a thread about something like this a while back. At least there's still some community spirit around here.
×