Search found 3224 matches

by headprogrammingczar
Fri Nov 25, 2016 2:25 am UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1486
Views: 286239

Re: I need a Game Recommendation

It's a bit of a lazy way out, but the Occarina of Time "series" would fit nicely. The "sequels" are Majora's Mask, Windwaker, and Twilight Princess, which all exist independently for timey-wimey reasons. Majora's Mask and Windwaker in particular are the best examples of what they...
by headprogrammingczar
Thu Nov 17, 2016 11:10 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

There's always positions that are "do this other thing, also it gets a lot easier if you spend an hour or two programming something". Pretty much any job with Excel is like this, as is system administration or client-side web development (I would wager most javascript programmers don't kno...
by headprogrammingczar
Tue Sep 27, 2016 5:24 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

For what it's worth, I have heard of websites that fail on every page load, but the 500 handler happens to be wordpress so nobody ever notices it's technically down.
by headprogrammingczar
Sat Sep 03, 2016 6:13 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

This is the exact tradeoff you get between rapid-release and LTS distros. In general, rapid-release distros have a habit of making it so if you neglect updates for too long, you no longer are able to update at all without breaking something ("losing your upgrade path" in enterprise-ese). L...
by headprogrammingczar
Fri Aug 05, 2016 9:00 pm UTC
Forum: Movies and TV Shows
Topic: Suicide Squad: You've gotta be Joker
Replies: 168
Views: 13924

Re: Suicide Squad: You've gotta be Joker

A large part of it is that a solo Black Widow movie has the potential to be the best movie in the whole MCU.
by headprogrammingczar
Mon Jun 20, 2016 6:09 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

Speaking of how Java is terrible, Kotlin looks pretty promising if it lives up to the marketing hype. Judging by its comparison to Scala, it would've been better if the kotlin organization had invested their efforts in Scala. :? When linking to a compiled entity, you already need to find out or spe...
by headprogrammingczar
Sun Jun 12, 2016 11:07 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

It's sort of cheating to implement IO in a language that's already impure. ??? Why? What makes it "cheating" Because if you translate what you did to Haskell, what you really have there is Identity. Specifically, only in a language where side effects exist outside IO can you pass nonIdemp...
by headprogrammingczar
Sat Jun 11, 2016 9:06 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

It's sort of cheating to implement IO in a language that's already impure.
by headprogrammingczar
Thu Jun 09, 2016 10:13 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

Notice that you weren't able to learn Reader properly until someone pointed out the definition to you. No, the *definition* I'd seen plenty of times. I'd read over the Haskell wiki definition of it several times, and saw several tutorials giving servicable definitions. It was the *implementation* o...
by headprogrammingczar
Thu Jun 09, 2016 12:43 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

Reader is completely different, because it actually has an approachable implementation. Maybe you're hung up on trying to make IO a good example to learn with, when in reality it's one of the worst and it can't really be fixed by calling IO a container. It's a lie (which isn't inherently bad, some l...
by headprogrammingczar
Wed Jun 08, 2016 7:08 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

You're still really hung up on this container idea, as if IO always has something inside it. For purposes of reasoning about it, it's abstract. It's a mystery cloud of who-knows. It may contain something, it may not. Maybe it all gets lifted out and at runtime there's no IO values anywhere! GHC's vo...
by headprogrammingczar
Tue Jun 07, 2016 11:48 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

IO *is* implemented as a container, though. IO and Reader are *literally the exact same thing*, and both of them are *literally the exact same thing* as Function. In functor form, they're all a container holding a function that you'll evaluate later when you want to extract the "value" fr...
by headprogrammingczar
Tue Jun 07, 2016 6:15 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

But the concept of "what a functor does" is much wider than that. I know there is an (evidently heated) discussion of the niceties of functors in full play here, much of it over my head at present. I was interjecting an actual "Fleeting Thought" into the flow of things. ;) My co...
by headprogrammingczar
Mon Jun 06, 2016 6:27 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

Why: If X is a complete type, m is an instance of M<X>, f is an instance of a Callable type and std::result_of_t<F(X)> equals M<Y> for some type Y then m * f is an expression of type M<Y>. And not: If X is a complete type, m is an instance of M<X>, f is an instance of a Callable type and std::resul...
by headprogrammingczar
Sun Jun 05, 2016 12:55 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

In math, "the functor" is the combination of the type and the definition of map, which you combine in a tuple. For instance the notation for defining a monad is (T, η, μ), with T being the type and η/μ being pure / join . Applicative theoretically would only requires ap , and then pure wou...
by headprogrammingczar
Sat Jun 04, 2016 2:19 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

It's really hard to read this with no types or laws, and with functions and methods being totally mixed up. A type `F` is a functor if there exists a function with the type `F<B> fmap(Function<A, B> f, F<A> a)`, obeying the following laws: For all a, fmap({x => x}, a) = a For all f and g and a, fmap...
by headprogrammingczar
Fri May 27, 2016 7:27 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

No, this is really not analogous. The point is that by allowing only "global" numbers you would forbid the natural "add" operation of the numbers data type. My reasoning is that partial application (which is what you're doing in your code snippet) is not a natural operation on f...
by headprogrammingczar
Fri May 27, 2016 10:37 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

Eval isn't what was meant by creating new functions at runtime. You can't define this "appliers" in C without writing at least 10000 lines of code. (#) = \x -> \f -> f x appliers = map (#) [1..10000] An analogous situation would be: you can store numbers in variables, you can pass them to ...
by headprogrammingczar
Thu May 26, 2016 10:48 pm UTC
Forum: Gaming
Topic: Duskers
Replies: 2
Views: 2087

Duskers

https://www.youtube.com/watch?v=3ollufhaUUI A very tense roguelike where you explore wrecked ships and space stations using a terminal interface. There's no mouse controls, not even on the menu. At its best, it is as tense as Alien. Your drones are falling apart, your video feed is cutting in and o...
by headprogrammingczar
Wed May 25, 2016 11:43 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

To use the specific term, not being able to construct arbitrary function bodies in C makes it not possible to write closures. You can hack it with lambda lifting, but it's obviously not pretty.
by headprogrammingczar
Wed May 25, 2016 11:34 pm UTC
Forum: Movies and TV Shows
Topic: Nathan Fillion's New Series: Castle
Replies: 319
Views: 125872

Re: Nathan Fillion's New Series: Castle

Yeah, it was about due for an ending (especially after the last season finished up with a perfect series-finale episode.) But at least they pulled it off reasonably well (if a bit abruptly.) Definitely better get Fillion in something else ASAP, though. (Also: CBS, you're doing a new Star Trek . Pro...
by headprogrammingczar
Mon May 23, 2016 9:31 pm UTC
Forum: Gaming
Topic: Gaming fleeting thoughts
Replies: 581
Views: 60918

Re: Gaming fleeting thoughts

I always thought Rogue Squadron had good voice acting.
by headprogrammingczar
Fri May 13, 2016 11:45 am UTC
Forum: Coding
Topic: arithmetic on functions in haskell
Replies: 4
Views: 3268

Re: arithmetic on functions in haskell

There's a memoization technique you can use, which removes the lambda between xs and id. Much like functions in any other language, when you define something in a lambda, it's recomputed each time that lambda is applied. What you can do is the following: -- the same as what you have now let id = \i ...
by headprogrammingczar
Wed Apr 13, 2016 9:03 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9309
Views: 1108397

Re: Minecraft

I have indeed been doing that. Screenshot attached of my current attempt.
by headprogrammingczar
Wed Apr 13, 2016 3:17 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9309
Views: 1108397

Re: Minecraft

Skyblock:

The mushroom spores seem to be unobtainable by cross-breeding. I've tried in pure darkness, in daylight, and with the potatoes in daylight and the netherwart in darkness (on diagonals). I can't tell if I am doing it wrong or if there's a bug. Infina, can you confirm?
by headprogrammingczar
Sat Apr 02, 2016 8:26 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9309
Views: 1108397

Re: Minecraft

What version is the server? I am getting mod mismatches on recommended.
by headprogrammingczar
Sat Apr 02, 2016 12:23 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9309
Views: 1108397

Re: Minecraft

_infina_ wrote:
headprogrammingczar wrote:It's an April Fools joke.

It actually is not. I am streaming it on Beam.

Oh, in that case I am interested as well.
by headprogrammingczar
Sat Apr 02, 2016 2:03 am UTC
Forum: Gaming
Topic: Minecraft
Replies: 9309
Views: 1108397

Re: Minecraft

It's an April Fools joke.
by headprogrammingczar
Sun Mar 27, 2016 11:29 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

It was a bit of a mess when I was learning, but it seems to have been much improved. The CPS page seems to still need work though... FYI, not sure if it was phpbb or yourself but the trailing slash in your link makes the link bad. Flumble, I would suggest a database might be the best suited to stori...
by headprogrammingczar
Fri Mar 18, 2016 8:48 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 469305

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

I've got a SQL problem that I'm just not sure how to go about yet. Say there's a table, Email, that has columns: EmailId, PersonId, CreateDate, IsPrimary (and others, but I think these are the pertinent ones). The application that uses this table was a mess so people might have multiple emails that...
by headprogrammingczar
Sun Mar 13, 2016 11:06 pm UTC
Forum: Gaming
Topic: Gaming fleeting thoughts
Replies: 581
Views: 60918

Re: Gaming fleeting thoughts

Heading to the core?
by headprogrammingczar
Thu Feb 25, 2016 11:18 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

Why not just read 3 bytes for every random number? Then you have an even range to run the modulus on and all is right in the world again.
by headprogrammingczar
Wed Oct 21, 2015 12:13 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

You're going to have to explain that first point, because State is perfectly expressible in H-M as far as I am aware. A good thing to mention that that Haskell does above and beyond H-M is type classes. Or you can even just run down the list of GHC extensions. Rank-N types are notable for being impo...
by headprogrammingczar
Fri Sep 04, 2015 1:00 am UTC
Forum: Gaming
Topic: Elite: Dangerous
Replies: 12
Views: 3990

Re: Elite: Dangerous

The combat aspects of this game might even beat out Freespace 2 for me. The power management and movement techniques are much more intricate, and the way the UI revolves around physically being in a cockpit is great. Dealing with your shields being down and plotting a jump out, you have to stare at ...
by headprogrammingczar
Mon Aug 17, 2015 12:02 am UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1486
Views: 286239

Re: I need a Game Recommendation

I also just found that Freespace 2 can be played co-op as well, and I like how the story is tied into stuff objectives that are designed to be failed. Might try that with friends.
by headprogrammingczar
Sat Aug 15, 2015 11:02 pm UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1486
Views: 286239

Re: I need a Game Recommendation

Can anyone think of any other games with a good story that can be played multiplayer? Something like Borderlands or Synergy for HL2. Ideally not expensive, and it doesn't have to be an FPS.
by headprogrammingczar
Sun Aug 09, 2015 11:05 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

By the way, when you want to do anything interesting, you aren't dealing with Reader, Writer, or State directly, but some other thing that implements their mtl class equivalent. Ironically, that ends up being easier to understand, because instead of "here's this simple concept, depicted here in...
by headprogrammingczar
Sat Mar 21, 2015 11:40 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

that doesn't require security There's the kicker. It's pretty common in games to roll your own RNG for instance, using something ridiculously fast and simple like a Mersenne Twister. However, for higher quality PRNGs, the period is supposed to be as close to infinity as possible (among other requir...
by headprogrammingczar
Thu Feb 26, 2015 9:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9724
Views: 1505075

Re: Coding: Fleeting Thoughts

That's what failing to avoid success looks like.
by headprogrammingczar
Wed Feb 25, 2015 9:56 pm UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1486
Views: 286239

Re: I need a Game Recommendation

Good shout! Oh, also I phrased it a bit awkwardly in my last post - I'm fine with the game not being very casual if it's COOP or 1v1, it's just if you're expected to play with 6 other people that I need it to be casual. Oh, another fun game to co-op is HL2 - see http://store.steampowered.com/app/17...

Go to advanced search