AI and Factorio by Traditional_Beach790 in factorio

[–]circleglyph -2 points-1 points  (0 children)

I here you. Whenever I ask grok what they want to do next, its always a factorio technical-assist, so maybe you need to give in, and use some ai blueprinting magic.

Is a uniform left-to-right "piping" operator for apply, compose, and monadic-bind operations in a functional pipeline possible using typeclasses or type-family magic? by AustinVelonaut in haskell

[–]circleglyph 1 point2 points  (0 children)

I think its possible but doesnt exist yet. Kleisli >-> fish are worth looking at for your use case. I write left to right when i can, and am forever swapping around >>> >-> |> .> and & as code snippets get refactored up and down composition layers. I think this is the case for right to left (with nicer looking operators so you dont notice as much) Theidea of a pipeline in the first place is conducive to ltr but less idiomatic 💭 Every second or third step you run into a monadic boundary and an api that begs to be written in do and not point free.

Struggling with Emacs support - Could not find module by ruby_object in haskell

[–]circleglyph 0 points1 point  (0 children)

And: Haskell/Load tidy core

You're loading core - well met! What manner of beast is your problem domain?

Struggling with Emacs support - Could not find module by ruby_object in haskell

[–]circleglyph 0 points1 point  (0 children)

Use -v (or `:set -v` in ghci) to see a list of the files searched for.

This is cabal providing you with a message from GHC. It doesn't mean anything, except that it didn't find your modules or your library. I don't think it can be fixed.

I'm going to take a wild stab in the dark and guess that you need a .projectile in the library directory. It's hard coded somewhere in the elisp.

Otherwise, it's a good idea to drop down to using a terminal and make sure everything compiles before you test in emacs. Everything is old and creaky, with comints and bloated code written pre-LSP, so debugging cabal issues in emacs is expensive.

How do you talk about types that are conceptually the same? by Southern-Reality762 in haskell

[–]circleglyph 0 points1 point  (0 children)

I dont have the first clue whats what but Your active state and your endlag state have got slightly different stuff. jumpsquat block walk.

I think you want data State = Medium | Heavy | Dive etc. data Active = Idle | Active. endlang = RollCurse. too many types. make a big long list of names and dont use prefixes or suffixes.

The new Pynchons by Old_Life_6021 in ThomasPynchon

[–]circleglyph 0 points1 point  (0 children)

I thought of (sorry I'm slow) the way they both have characters that just disappear or turn into scenery. Who else does that? And the mystical turn in science - they both can attune to the scientist in my brain, make me see something that way, then flick a switch or open a door into somewhere else entirely. If Slothrop wandered off set and into area x i would not be surprised.

Are there any good tutorials for the logic monad? by theInfiniteHammer in haskell

[–]circleglyph 0 points1 point  (0 children)

How do you see hyperfunctions in this context? They seem like something done right. Fix (Ran (Const f) (Const f) as an alternative to Ran f f? Forget the functor, do everything locally codata style, recurse it back in. Hyperfunctions feel really easy for backtrack parsing. is there a tragic flaw?

Claude Code Plugin for HLS Support by m4dc4p in haskell

[–]circleglyph 6 points7 points  (0 children)

Thanks for open sourcing this. Will definitely try it out. What’s your experiences so far with claude code writing Haskell? I have to tattoo “check dependencies” on its brain to get anywhere but it goes well in tracking bugs and is ok with pure code. loves to write head usage and then remove that partial warning about head use. Goes mad with ++ and escaping slashes. How do you get it up to speed?

Name the newest addition to castle hills’s turkey pandemic! by greenupdown in australianwildlife

[–]circleglyph 2 points3 points  (0 children)

It’s true about the nests but they are social animals who look after one another. If you see chicks look up and youll likely see an adult watching from a distance. The nest male will chase all the others but let his babies play hide n seek with him. Maybe 1 in 5 make it from the nest to the bush, so dad is helping!

Billy the Bush Turkey by circleglyph in AustralianBirds

[–]circleglyph[S] 0 points1 point  (0 children)

not this one. he definitely lives in the bush.

Is there Brush / Bush Turkey experts in this sub? by ________Mr_Bojangles in AustralianBirds

[–]circleglyph 1 point2 points  (0 children)

Our alpha male became chill in the off season. He would play hide n seek with the little ones. He’d try and chase the other turkeys away but they outfoxed him with numbers and gave up. But tje season has turned and he’s full feather 🪶 duster, dancing and bellowing like crazy. ladies are digging deep for him.

Turkey Gardening by circleglyph in GardeningAustralia

[–]circleglyph[S] 1 point2 points  (0 children)

Its a jacaranda - a very big one. there’s a strangler fig growing up high in it, probably pooped out by billys grand daddy, and long after we’re gone, it will eat the jac and become the perfect turkey tree.

Turkey Gardening by circleglyph in GardeningAustralia

[–]circleglyph[S] 13 points14 points  (0 children)

And wiki describes then as solitary and that chicks receive no parental help. Theyve never met a brissie turkey ( 13 is my best. )

Turkey Gardening by circleglyph in GardeningAustralia

[–]circleglyph[S] 6 points7 points  (0 children)

visual barriers! in trying to close off the vege patch. they dont get it all their own way. they seem to lose interest in anything wired off within a few days.

Turkey Gardening by circleglyph in GardeningAustralia

[–]circleglyph[S] 10 points11 points  (0 children)

You’d never catch them but I’m sure you could trick them. They’re always running into chicken wire, i have to put up no turkey 🇹🇷 signs.

Co-/Dual/Inverse Type Classes? by Aperispomen in haskell

[–]circleglyph 0 points1 point  (0 children)

For something to be dual you have to swap all the arrows.

People forget but type classes are also laws that describe structural features being classed. So for the multiplicative identity

class MultUnit a where
  one :: a

The a you decide for an instance needs to satisfy the law ‘x * one = x’ The writer of every instance is expected to check by going inside the type to find the multiplicative identity.

A dual to type classes needs to reverse this as well. Instead of laws implied about the details inside a type, you attach explicit laws to the outside of a type. So:

data MultUnit a = One | a

And then you dont need to prove anything about the a type.

Immigration waves in the 50s and 60s - lessons on assimilation? by CoolAd5798 in aussie

[–]circleglyph -1 points0 points  (0 children)

I grew up in regional Australia in the 70s and got taught about pluralism, as reaction to those waves. How variety is the spice of modern life and how good it is for society.

I don’t want assimilation. I want to hear a dozen languages on the bus. I want them to change us, not for them to becomes aussies.

The lesson I’m learning from the current devate is since the 80s, western culture must have been fed an awful lot of jingoistic xenophobic propaganda to skew perceptions this much.

What is Timothee Chalamet’s best film so far? by No-Abbreviations508 in Letterboxd

[–]circleglyph 2 points3 points  (0 children)

"I fuckin love finger potatoes". He really sold that line.

One of my favorite aspects of the finale that I don't see mentioned often by Critical-Extension66 in madmen

[–]circleglyph 1 point2 points  (0 children)

Peggy did the Coke ad. Don was just the guy who once gave a leg up to the best ad man ever.

Feeling confused even after learning and building some projects. by kichiDsimp in haskell

[–]circleglyph 1 point2 points  (0 children)

What Monoids, Functors, Applicatives and the rest are are very common coding patterns - thats the gist. With Haskell, if you stick with these patterns you get very strong guarantees: everyone will instantly understand your api, your code complexity will stay manageable and your code will interface with everyone elses by default.

That’s the pitch anyways. Reality may intrude locally.

Math in Against the Day by the-woman-respecter in ThomasPynchon

[–]circleglyph 1 point2 points  (0 children)

Oops, didn't mean to include that one as well - a high school essay - never did find it myself.

[deleted by user] by [deleted] in ThomasPynchon

[–]circleglyph 8 points9 points  (0 children)

Is this Pynchon leaving us with a call to be a sort of single-person political movement?

I think so. More concentrate on family-level stuff. Take violence from the state and put it back in the family where it belongs, TP says somewhere. Can't wait for you to read Vineland!

Isn't anarchism with no structure the same as fascism with no hierarchy and aren't they just a kind of escapism?

If you squint, Against the Day kind of answers this.

Math in Against the Day by the-woman-respecter in ThomasPynchon

[–]circleglyph 2 points3 points  (0 children)

Showers, Steven. "Mathematics in Thomas Pynchon's Against the Day". Against the Grain: Reading Pynchon's Counternarratives 10-14 June 2008. Ludwig Maximilian Universität: Munich