Search found 1621 matches

by Rippy
Fri Aug 12, 2011 11:23 pm UTC
Forum: The Help Desk
Topic: BIOS suddenly starts taking ages, not sure why
Replies: 3
Views: 1098

Re: BIOS suddenly starts taking ages, not sure why

The only diagnostics it displays are detected specs, i.e. the processor/memory/etc. AFAIK it never did display any additional info at boot. (This is with "Quiet Boot" disabled in BIOS, the only related setting I could find. Enabling it gives you the Acer splash screen instead of the diagno...
by Rippy
Fri Aug 12, 2011 5:41 pm UTC
Forum: The Help Desk
Topic: BIOS suddenly starts taking ages, not sure why
Replies: 3
Views: 1098

BIOS suddenly starts taking ages, not sure why

Model: ACER Aspire Timeline AS3810TZ laptop OS: Arch Linux I've had the laptop for two years, and have had this installation of Arch on it for 6 months. Since then I haven't done anything but normal use. What happened was, one day the BIOS started to stay at the splash screen for a really long time....
by Rippy
Thu May 05, 2011 1:36 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Do you think ghc would convert something like "x `xor` 0" to "x" when optimizing? It would allow me to write one function in terms of another and make things very marginally cleaner :P.
by Rippy
Fri Apr 08, 2011 7:01 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

It comes down to preference. Some say books are a waste because you can find all the information for free online nowadays anyway, which is true, but I like them (provided it's a quality book). You can always borrow one from the library if you're not sure you want to blow >$50. (I would also read rev...
by Rippy
Thu Apr 07, 2011 12:56 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Right, okay. Thanks! I can't wait to take an actual programming class. So far the extent of my knowledge is essentially whatever I've managed to glean from the internet, which probably isn't much. I know some basic terms, some basic concepts, some python, and I can usually follow simple programs in...
by Rippy
Wed Apr 06, 2011 7:20 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

That is a treasure trove of new haskell functions. After 15 minutes of hoogling, it looks pretty straightforward, I'm sure it'll work. Thanks! On a different, only tangentially programming-related topic, I am so pissed at Microsoft SQL Server right now. The business wants this massive query (>50 col...
by Rippy
Wed Apr 06, 2011 3:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Haskell question: Best way of converting a Bytestring to [Word64]? My first thought was a fold, but all the list-like functions for Bytestrings go by Word8 chunks so that seems pretty awful to do. Basically my DES encryption functions work on [Word64], and I'm trying to write a little file encryptio...
by Rippy
Sun Mar 20, 2011 9:04 pm UTC
Forum: Gaming
Topic: You gotta get into Dwarf Fortress if you haven't already.
Replies: 4583
Views: 606757

Re: You gotta get into Dwarf Fortress if you haven't already

My dwarves have just struck the earth to build fortress Anusfilth The Bloated God-Forsaken Crotch-Bile Of Leprosy.

...tee hee
by Rippy
Sun Mar 20, 2011 2:06 pm UTC
Forum: Gaming
Topic: You gotta get into Dwarf Fortress if you haven't already.
Replies: 4583
Views: 606757

Re: You gotta get into Dwarf Fortress if you haven't already

Levi wrote:Woo I got a server running! Anyone interested in playing some sort of succession game? Or maybe two or more competing fortresses on the same map?

I'm interested in starting this game up again somewhat, so I'd be up for a succession game!
by Rippy
Wed Mar 16, 2011 2:45 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

So you know that moment, when you've spent hours troubleshooting, adjusting and debugging, and then you re-compile for the 100th time, run it, and it works? Those few moments of "...no way, lemme test it with some non-trivial parameters and... no way", followed by the feeling of "...F...
by Rippy
Sat Mar 05, 2011 10:02 pm UTC
Forum: Gaming
Topic: Hitman: Blood Money
Replies: 0
Views: 732

Hitman: Blood Money

I've been playing it a lot lately (still working through my Steam sale acquisitions...), and I wondered what amusing strategies people have come up with. I just got a The Ghost rating in Till Death Do Us Part in under three minutes. It involves throwing a mine up at the guards protecting the second ...
by Rippy
Thu Mar 03, 2011 8:07 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

Send me the details on your map, I'll get it up somewhere and provide the IP for connectivity and suchlike. I'll do so sometime after work. Actually if it's small enough to attach to a post here I'll just do that so that anyone who wants to can grab it. Edit: Here it is, my world folder as of 4AM t...
by Rippy
Thu Mar 03, 2011 3:04 pm UTC
Forum: Food
Topic: Raw-edible fruits/veggies (for the lazy healthy eater)
Replies: 10
Views: 2350

Raw-edible fruits/veggies (for the lazy healthy eater)

I've got, like, 8 fruits/veggies that I always eat, and because I'm scared of things that are different I rarely buy anything else. So I ask you: what raw fruits/veggies do you enjoy eating? I want to find new things to start stocking my fridge with. What I usually eat: Fruits: - apples - bananas - ...
by Rippy
Wed Mar 02, 2011 8:33 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

rippy's world has more progress but i think people have spread out too far, it's getting laggy as hell and the initial load is measured in minutes sometimes for me. if psion's server is better maybe we can migrate the world to his server? that's said i started a glass pyramid over a bay of ice on r...
by Rippy
Tue Mar 01, 2011 2:36 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 510702

Re: The "IT DOESN'T WORK!" thread

Eh, I am somewhat stuck again. The main program loop complains when it tries to call my showTile function (the one I added the IOArray class constraint to). loop is of type "ReaderT AppConfig (StateT AppData IO)", and though I forget the exact error, I imagine that's the problem somehow. I...
by Rippy
Mon Feb 28, 2011 12:25 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 510702

Re: The "IT DOESN'T WORK!" thread

yyyyyep that did it (along with a few other slight tweaks). The problem, honestly, is that I don't quite understand the code. So far I'm finding that it's not so much that Haskell is bad for doing graphics, but that you need a much, much deeper understanding of the language than you do for a compara...
by Rippy
Sun Feb 27, 2011 9:04 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 510702

Re: The "IT DOESN'T WORK!" thread

I'm afraid I'm having some trouble figuring out State/Reader stuff in Haskell. Wondering if anyone can help me figure out why the following doesn't work: type TileArray = IOArray (Int,Int) Tile data AppData = AppData { fps :: Timer, tiles :: TileArray } data AppConfig = AppConfig { screen ::...
by Rippy
Fri Feb 25, 2011 11:26 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

I could probably host the server. I've got a 100mbps dedicated server. If you give it a shot, I can send you the world file for my server. Just gimme a PM for the latest daily backup. I'm seeing lots of lag complaints about mine; I don't think my connection can reliably handle something as bandwidt...
by Rippy
Tue Feb 22, 2011 11:20 pm UTC
Forum: Fit Club
Topic: Run 10,000 miles
Replies: 1340
Views: 279845

Re: Run 10,000 miles

I would contribute to this thread, but as a Canadian I am a conscientious objector to this crazy imperial nonsense. :P

Ran: 5.5 kilometres.
by Rippy
Tue Feb 22, 2011 11:14 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

My server's up-to-date. Damn it. I really wish I hadn't burned myself out on Minecraft when the game was still in Alpha... Yeah, I haven't been on my own server in close to two weeks :P. I don't give myself a lot of time for video games, and so usually when I do it'll be SC2 or TF2 with friends... H...
by Rippy
Tue Feb 22, 2011 8:59 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

What's this? An update?

I'll update my server tonight (i.e. in a few hours). I'm assuming it's currently incompatible.
by Rippy
Mon Feb 21, 2011 8:04 pm UTC
Forum: Coding
Topic: Arrays in Haskell (for pathfinding, etc)
Replies: 1
Views: 1969

Arrays in Haskell (for pathfinding, etc)

I've been trying to write a little simulation in Haskell involving pathfinding on a grid. I've been painstakingly working through it all weekend, and I have yet to find a satisfying way of dealing with arrays in Haskell. Standard Arrays are immutable and thus really slow. MArrays (ST or IO) are fine...
by Rippy
Sun Feb 20, 2011 7:15 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Ugh, trying to write a simple graphical program in Haskell is turning out to be extremely frustrating. It's like the way I know how to do it is awful, and the good way to do it uses fancy features that I don't understand. The only Haskell SDL tutorial I've found is a port of some C++ tutorials, whic...
by Rippy
Sun Feb 20, 2011 12:57 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 510702

Re: The "IT DOESN'T WORK!" thread

That makes sense. Has anybody told you lately that you are awesome?
by Rippy
Sat Feb 19, 2011 11:14 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 510702

Re: The "IT DOESN'T WORK!" thread

I'm a bit confused with Haskell type vs value constructors. For example, say I have a type Bar which can be a Foo or an Int: data Foo = Foo Int Int data Bar = Int | Foo That won't run, citing "multiple declaration of Foo". If you do this, however: data Foo = NewFoo Int Int data Bar = Int |...
by Rippy
Fri Feb 18, 2011 7:15 pm UTC
Forum: Coding
Topic: Coding tasks to pick up a new language
Replies: 10
Views: 1678

Re: Coding tasks to pick up a new language

99 Lisp Problems might be worth a look. I've done them with Haskell (so I can't speak to the quality of the Lisp solutions), but the content of those problems is pretty much my first year course in Scheme - lots of linked list, tree and graph stuff. I did most of those up til about 30 or 40 to fami...
by Rippy
Thu Feb 17, 2011 2:17 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

I dreamed about programming last night. I can't remember it all, but I was doing work-related programming, except it was in Haskell rather than VBscript (clearly a dream), and I was getting the type signature of a function wrong. Yes, even in my dreams I'm having problems with the type system. >_> (...
by Rippy
Thu Feb 17, 2011 2:12 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

Jahoclave wrote:Also, somewhere along the line I'm building a massive mob trap. Loads of fun items there. Then, after that, I'm going to build massive creeper statues out of tnt. Be warned if you have a very nice everything. :P

Server operator: ಠ_ಠ
by Rippy
Tue Feb 15, 2011 6:18 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

More annoying Haskell questions: What would be a good method for representing a grid in Haskell? Linked lists seem inefficient, but so do immutable arrays. Should it be mutable arrays then? I'll be doing pathfinding and other such things, so I have 2d arrays in mind, but maybe there's a more functio...
by Rippy
Tue Feb 15, 2011 12:46 am UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

I'm testing out firewall settings in an attempt to stop minecraft from taking over the house Internet connection, so let me know how the lag is. Sorry for the inconvenience, we're just still having difficulties doing anything else on the net while the server's going without making it unplayable. Ser...
by Rippy
Sun Feb 13, 2011 1:43 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

You need parentheses around (Obj (foo a) 0); otherwise you're trying to pass the Obj constructor to return as its first argument and (foo a) and 0 as its second and third arguments. Otherwise it looks like it should be correct; the <- makes the IO Int a normal Int, and return is a function of type ...
by Rippy
Sun Feb 13, 2011 12:46 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

That ii thing would kind of annoy me if I saw it in code, tbh. i j k is a pretty established standard, and having to count the number of "i"s would quickly get impractical. But consecutive letters in impractical if you have over 26 levels of nesting... If you have over 26 levels of nestin...
by Rippy
Sun Feb 13, 2011 12:03 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Currently wanting to learn a new language. After four years of hobby-coding in Python & Ruby, it's a little stale for me. Right now I'm split between trying functional programming (Erlang or Haskell), or going back in time and trying pure C (after years of "this = that", explicitly se...
by Rippy
Fri Feb 11, 2011 6:44 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Changing fromInteger still doesn't change the type constructor though, so "StatVal (-10)" still gives you -10. It takes something like "fromInteger (-10) :: StatVal", which is clunky. I ended up writing a wrapper function, statVal :: Int -> StatVal, which checks bounds and then c...
by Rippy
Fri Feb 11, 2011 12:00 am UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

Eeeeevery time I go cave exploring, I think "okay gotta be more careful this time", then when I'm down there I think "right, but I'm almost done exploring this, might as well explore the rest", then I spend half an hour continuing to explore it, nearly run out of torches, and end...
by Rippy
Thu Feb 10, 2011 9:12 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Got something close with this: newtype StatVal = StatVal Int deriving (Eq, Show) instance Num StatVal where StatVal v1 + StatVal v2 = StatVal (if v1+v2 > 100 then 100 else v1+v2) StatVal v1 - StatVal v2 = StatVal (if v1-v2 < 0 then 0 else v1-v2) StatVal v1 * StatVal v2 = Stat...
by Rippy
Thu Feb 10, 2011 6:35 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1745153

Re: Coding: Fleeting Thoughts

Is there an easy way in Haskell to create a type that accepts a range of values? I'm keeping track of lots of integer values from 0-100, it'd be much easier to have something like

Code: Select all

data Int = 0 | 1 | ... | 99 | 100

than to check bounds myself all the time.
by Rippy
Thu Feb 10, 2011 4:25 pm UTC
Forum: Coding
Topic: QBASIC horror
Replies: 16
Views: 2310

Re: QBASIC horror

archeleus wrote:
tipo test wrote:but we use this language at college, at least for the first year (and for the next one, VB.NET... hurray?)


WTF?

May God have mercy on his soul...
by Rippy
Thu Feb 10, 2011 2:19 pm UTC
Forum: Coding
Topic: Best choice for a simple UI with multi-platform in mind
Replies: 2
Views: 792

Best choice for a simple UI with multi-platform in mind

I'm planning on practicing my Haskell and making a simulation of sorts, and it needs to be able to draw very simplistic objects to a grid on-screen (think Dwarf Fortress). A text-based user interface is really all I need, so I was looking into curses/ncurses. However, I'd sorta like to be able to co...
by Rippy
Tue Feb 08, 2011 1:21 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9352
Views: 1320154

Re: Minecraft

You know, I'm putting this whole rail system business aside. Whenever I exit a cart that's on a pressure plate, my movement skews the direction of the cart, which makes the booster coming to take it away collide with it rather than sync with it. I've seen videos of stations in Alpha where this didn...

Go to advanced search