Axman6

- friends
5,769 link karma
2,494 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Three-Year Club

    Verified Email

So I made a tutorial...: Step by Step: Xcode 4, OpenGL & GLUT in Lion by autofasurerin opengl

[–]Axman6 0 points1 point ago

I've just this week decided to look into learning to use OpenGL on OS X, and I was having huge problems using GLUT, so I opted for GLFW, which was a lot simpler. I needed to be able to access OpenGL 3.2, and I couldn't for the life of me figure out how to do it without using the CGL interface.

Any tips on using 3.2 and GLUT at the same time? I'd admit I don't really understand how all the pieces relate to each other.

Shaun Micallef wreaks havoc on Breakfast television. by ComingUpMilhousein australia

[–]Axman6 -9 points-8 points ago

Apparently. It's lovely that people can follow the rules of reddiquette and not down vote people for their opinions.

Arise Sir Jonathan! Apple design chief Jonathan Ive is knighted at Buckingham Palace by onsein apple

[–]Axman6 0 points1 point ago

This is not his first knighthood right?

Shaun Micallef wreaks havoc on Breakfast television. by ComingUpMilhousein australia

[–]Axman6 -26 points-25 points ago

Am I the only Australian who can't stand the pathetic, twelve year old humour of Shaun Micallef? I've only ever laughed once at one of his jokes, and it was one of the ones on an ad on TV at the moment. Everything else is just painful to watch, it's all failed jokes with appalling timing. I just don't get it, where is the funny? What am I missing?

Anna Wood's parents still blaming everyone but themselves. by CaptainExtravaganzain australia

[–]Axman6 1 point2 points ago

They sort of are in the ACT, without the actual driving anyway. They go through a course of rode rule education and then get everyone to take the learners test (to get your L's) at school. Does this happen elsewhere around the country?

Slacklining Over Swimming Pool Fail by jmm1990in videos

[–]Axman6 0 points1 point ago

You very easily can have more horizontal force than the vertical load. You go get two friends to pull a rope tight between them and run push down in the middle. They will not be able to stop you moving them towards each other due tithe force multiplication. The nmenomic used for people setting up rigs with ropes is I Y T. Worth googling

Slacklining Over Swimming Pool Fail by jmm1990in videos

[–]Axman6 0 points1 point ago

This is actually a lesson in why you should not put materials with poor tensile load properties under tensile load. It may well have been built to code, but it's expected use is only for a compressive load (the roof pushing down) not a lateral pull.

ANNOUNCE: forthcoming O'Reilly book on Parallel and Concurrent Haskell by simonmarin haskell

[–]Axman6 0 points1 point ago

Not sure how many optimisations relate directly to parallelism and concurrency. What sorts of things were you thinking of that would be relevant to the topic of the book? There's plenty of papers about the optimisations performed in GHC out there.

Pretty RFC: format RFC's for easier browsing by mcguirein programming

[–]Axman6 1 point2 points ago

That's horrible compared to the linked tool...

BitParser - RFC on a new parsing library for parsing data at the bit level. Similar in functionality to Erlang's bit syntax by Axman6in haskell

[–]Axman6[S] 0 points1 point ago

Indeed, they're pretty bad examples really. One place where I would have liked it recently was in an assignment I've written where I was asking students to implement Huffman coding. Though in its current state it's not much use for that, but is is something that might be useful for decoding other entropy coding schemes.

I plan to at some point write a library for creating bytestrings at the bit level as well, for the opposite purpose of compressing things. I haven't figure out how I'd do that nicely yet, but I'm sure it would be built on top of something like blaze-builder

BitParser - RFC on a new parsing library for parsing data at the bit level. Similar in functionality to Erlang's bit syntax by Axman6in haskell

[–]Axman6[S] 0 points1 point ago

I completely agree. I've probably asked for comments a bit early, but I was interested to see if people felt it would be useful. Is is only a day and a half's worth of code, to see if I could get it working, and I was hoping someone would tell me my parser state is horrible, you should do it using X instead.

I'll work on docs and making things more sane in the next few weeks.

School 'failed to get me into law': A FORMER student who is suing Geelong Grammar School says she decided to seek damages after she failed to qualify for her preferred university course. by name34in australia

[–]Axman6 6 points7 points ago

Their also doing lots of really important jobs that keep society ticking over, lots of jobs I'd probably never want to do, and I have a lot of respect for those who do them. Society needs all kinds of people doing all kinds of jobs.

ANNOUNCE: forthcoming O'Reilly book on Parallel and Concurrent Haskell by simonmarin haskell

[–]Axman6 11 points12 points ago

It would be great to see some info on Cloud Haskell in the book. Also I think it would be pretty cool to have a chapter talking about how many of the abstractions we use are implemented: MVars, IORefs (including atomicModifyIORef, since it's something that works really well only when you have persistent data structures), STM and TVar/TChan, monad-par etc. I think this is also important if you're aiming it at people who want to use it in the real world, because it is often very important to be able to predict how costly certain operations might be.

I'm sure I'll come up with other ideas. I'm really glad to see this announcement, your papers are very easy to read and I've enjoyed several of them. It's great to see more books being published about Haskell.

The hate for people that do not support same-sex marriage. by bohemian_wombatin australia

[–]Axman6 17 points18 points ago

Firstly, I don't believe that Joe has the same rights as everyone else to have his own beliefs, given that he is an elected official whose responsibility is to represent his constituents, and is in a position of power where his beliefs can become law.

Secondly, the reason for 'hating on' people who don't support gay marriage is because many of them base this on religious reasons, and government is no place for religion. There is a huge difference between legal marriage and religious marriage, and denying a section of society access to the former is government supported discrimination. The government has no right to discriminate against its citizens, unless they have committed a criminal act, which is not something gay people have done by being gay in this day and age.

People are entitled to their opinions, but those in government should know better than to force their beliefs on others when it has support other than religious and personal belief.

Haskell was a statically typed language. Now you can have your type errors deferred to run-time, if you so desire. [PDF] by apfelmusin programming

[–]Axman6 0 points1 point ago

Uh yes, this was meant for another discussion entirely. Deleted o.O

Finally good underwater shots by GPPBin gopro

[–]Axman6 1 point2 points ago

Damnit, I just got back from a week in Fiji taking horrible underwater shots with my GoPro. I'm definitely considering buying this.

FreeBSD 10 To Use Clang Compiler, Deprecate GCC by obvioustrollin programming

[–]Axman6 0 points1 point ago

I haven't personally experienced this (I don't current write C++ code), but Clang is supposed to give much better error messages for template errors. You might consider using clang as your development compiler, and using GCC to compile the final version if you have an app that benefits from that.

BitParser - RFC on a new parsing library for parsing data at the bit level. Similar in functionality to Erlang's bit syntax by Axman6in haskell

[–]Axman6[S] 4 points5 points ago

This library is for parsing binary data at the bit level. Libraries like Attoparsec allow you to parse binary data, but you don't get the granularity of working with individual bits. This library maintains its position into the byte string as well as into the current byte.

You'd use this library for parsing binary protocols which need finer granularity than the byte level. An example might be a TCP packet, or the one that prompted me to write this was the LZ4 compression scheme, which uses a byte where the first 4 bits tell you the length of literal section to follow, and the last 4 bits tell you the length of the previous match to emit.

Joint Strike Fighter (F-35) C++ Coding Standard by vikingurinin programming

[–]Axman6 1 point2 points ago

The reason isn't so much slow but unpredictable. For something to be able to meet had real-time requirements, everything your code has to be predictable.

Joint Strike Fighter (F-35) C++ Coding Standard by vikingurinin programming

[–]Axman6 0 points1 point ago

Generally not a good idea in safety critical code though. this is the wort of code you have to depend on to save lives, and it must be easy to verify. Self modifying code means you have code that does something different from what the source code says, and this is generally not a good idea.

view more: next