Skip to content

u/crayZsaaron

In this archive from Oct 2012 to Nov 2015

4
posts
38
comments
2
media
182
score

I do have a github account, but at the moment, there's no Haskell on there. The only substantial thing there is a c++ project.

The Haskell thing is going super well. I guess technically I started learning about 8 months ago, but I was away for 3 months and had coding anxiety for another 1 or so. So I guess I'm about 4 months into casual Haskell learning. I absolutely love the language so far. I'm assuming you've heard plenty of Haskell preachers, so I don't feel the need to do that.

Yeah, it is extremely weird and extremely different at the beginning. I learned most of what I know from Learn You a Haskell. It gets a bit of hate for its teaching style, but I found that the pacing was perfect for my learning style. Then of course there's the Monad hump, which I am still getting over. Honestly, I have found that the only way to figure out what the hell monads are is to use them.

The code pictured here is for a roguelike that I just started working on in Haskell with a friend. If it comes to fruition, which it possibly won't, it will have a built-in interpreter for a subset of Scheme, and users would create their own spells, items, and monsters, by accessing different API function calls as they level up. The idea is that by the end they should be overpowered enough to write a spell that automates their dungeon-crawling, and also, monsters would be automagically transferred to other people's games via the interwobz. I think I'm going to mirror the repo on GitHub, so it should be up soon.

Edit: here it is

2 points

Sorry, I forgot tags! [Arch][xmonad][babies]

I used gifview to make my background an animated gif. Unfortunately, my urxvt is using "fake" transparency, which under my normal use case works beautifully... but gifview doesn't properly set the gif in the "background"; in other words, it defers to xmonad to be controlled. So urxvt thinks that my background is black, hence no babies under the code :(. Even if I could put babies under the terminal, I'm guessing I would only see one frame of the animation underneath. If anyone has any suggestions for solving these problems, I would love to hear them... because I don't know if I can code without dancing babies.

2 points

Really? Wow, I had no idea. Still, though... I think that running Gentoo with a 1.6Ghz single-core processor is just not a good idea. For my desktop, I'm considering switching over from Arch... But at the same time, I really need that machine to be stable, and Arch is simple enough that when it breaks I almost always know exactly what is wrong.

2 points

Install Gentoo... but maybe not on a 10-year-old laptop, as I did. My poor Dell Latitude D610 took over a day to compile libreoffice and chromium. Arch is much more suitable.

6 points

Echinus was the first window manager I tried for Arch, when I was still pretty much a noob. It was incredibly frustrating for me, as I didn't understand the concept of window manager vs. desktop environment, or that I could create a desktop environment out of a window manager and some separate software.

Now I'm using xmonad, which is basically echinus written in haskell and more tiling-focused. Coupled with xmobar, feh, and pseudo-transparent urxvt, it can be really gorgeous.

3 points

Ugh, it's entirely true. So, a month ago, I started my first programming internship. It pays super well, but I have to code in Java all summer. I'm used to C++, Python, and Lisp. All languages that embrace freedom (as far as programming paradigms) and elegance (Yes, I consider C++ elegant in its own way :) ). When coding in Java, I just feel like someone is shoving object-orientation up my butt with a ten-foot pole. Everything is so bloated and unnecessary. And yeah, something about Java lends itself to coding in an IDE. As an avid Vim user, it honestly feels like I at war with Eclipse. There is a lot of background stuff that is intentionally obscured by "user-friendly" interfaces.

Many of the Java-raised people I work with have never coded with anything other than Eclipse. I can't even fathom it!

I hate feeling bloated, so lots of times I come back to my apartment from coding all day, fire up Arch Linux, and code in C++. (I'm working on a little project that will likely never see the light of day with a friend.

3 points

Haha, I'm honored! In the Linux community, I think you'll always find a lot of people who are willing to help out. Arch has probably my favorite community on the internet. The folks that lurk around #archlinux IRC are just fantastic, and /r/archlinux is a runner-up. The community really makes Arch what it is... That's why it's possibly the most thoroughly-documented operating system, thanks to the Wiki community.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.