BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

Anyone know if the images (e.g.: https://hub.docker.com/layers/fpco/stack-build/lts-22/images/sha256-09dcc6cf3739dbb5f73bbb84dc15ee815f463409653c5159673afc7d3b4134b7?context=explore) are still maintained, and what might be the best way to report a bug? :blobfoxconfused:

The LTS_SLUG seems wrong, and when I attempt a stack build in that image, I run out of space compiling GHC. (e.g.: https://gitlab.com/bss03/restman/-/jobs/6622698704) :blobfoxsurprised:

I expect the docker image would contain a GHC that stack would find and use; I am using the matching resolver for the tag (e.g.: 22.17). :blobfoxhappy:

BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

I opened two merge requests on a project (hosted on ) that I don't "own". I think that's enough for the day. 😀

norootcause, to random
@norootcause@hachyderm.io avatar

Sometimes I think we could use some further ado.

BoydStephenSmithJr,
@BoydStephenSmithJr@hachyderm.io avatar

@tuban_muzuru @norootcause If you want to see how a small hack-y SPA looks in it, I volunteer my current idle project: https://gitlab.com/bss03/halogen-lambda

If reading the code isn't enough, the ugly SPA with crappy UX is at least live: https://bss03.gitlab.io/halogen-lambda/

Having to deal with type conflicts at runtime is exhausting to me. Writing non-trivial JS at work is a slog. But, I'd say is almost as much fun as and might be better-specified!

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar

TIL that operations on IORefs (unlike some operations on MVars) are are guaranteed not to be interruptible.

https://hackage.haskell.org/package/base-4.19.1.0/docs/Control-Exception.html#g:13

maralorn, to programming
@maralorn@chaos.social avatar

current status: calling a executable from typed template

brokenix, to haskell
@brokenix@emacs.ch avatar

pseq combinator is used for sequencing; informally, it eval-
uates its first argument to weak-head normal form, and then eval-
uates its second argument, returning the value of its second argu-
ment. Consider this definition of parMap:
parMap f [] = []
parMap f (x:xs) = y ‘par‘ (ys ‘pseq‘ y:ys)
where y = f x
ys = parMap f xs
The intention here is to spark the evaluation of f x, and then
evaluate parMap f xs, before returning the new list y:ys. The
programmer is hoping to express an ordering of the evaluation: first
spark y, then evaluate ys.
The obvious question is this: why not use #Haskell’s built-in seq
operator instead of pseq? The only guarantee made by seq is that
it is strict in both arguments; that is, seq a ⊥ = ⊥ and seq ⊥
a = ⊥. But this semantic property makes no operational guaran-
tee about order of evaluation. An implementation could impose this
operational guarantee on seq, but that turns out to limit the optimi-
sations that can be applied when the programmer only cares about
the semantic behaviour. Instead, we provide both pseq and seq
(with and without an order-of-evaluation guarantee), to allow the
programmer to say what she wants while leaving the compiler with
as much scope for optimisation as possible.
https://simonmar.github.io/bib/papers/multicore-ghc.pdf

kosmikus, to haskell
@kosmikus@functional.cafe avatar

It's finally time for the next episode of the . In episode 23, my colleagues Finley, Edsko, and I will discuss the topic of "specialisation", an important GHC optimisation that can help eliminate the cost intrinsic to overloaded functions. This will be streamed live on YouTube, on Tuesday, 2024-04-16, at 1830 UTC. https://www.youtube.com/watch?v=ksW04Cl2dgo&list=PLD8gywOEY4HaG5VSrKVnHxCptlJv2GAn7&index=23

sellout, to haskell
@sellout@mastodon.social avatar

I made a thing in case you were starting to think programming is too easy.

https://github.com/sellout/no-recursion – a plugin to remove support from

(I have multiple use cases for this, I swear.)

6d03, to haskell
@6d03@mathstodon.xyz avatar

I remember recently reading a new paper elaborating a novel presentation of graph algebras. But I can't for the life of me remember the title or the author.

The central idea was axiomatizing vertices as pairs of sets of all incoming and outgoing edges.

It also had example code in Haskell.

Does anybody have an idea of the title? I'd be very thankful for suggestions.

leanpub, to haskell
@leanpub@mastodon.social avatar

Finding Success (and Failure) in Haskell by Type Classes is on sale on Leanpub! Its suggested price is $35.00; get it for $12.50 with this coupon: https://leanpub.com/sh/4sG8LBPo

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar

When building Servant applications with persistence, a common (?) pattern is to request a database connection from a pool in the callback we pass to "hoistServer" https://hackage.haskell.org/package/servant-server-0.20/docs/Servant-Server.html#v:hoistServer and then pass the connection down to the handler using ReaderT https://github.com/danidiaz/comments-project/blob/3bb720124b31f0a8e351751bdcc6651ed75d9e27/comments/lib/Comments/Runner.hs#L57
It works, but I'm kinda unhappy about it because it forces you to use ReaderT in those intermediate components that lie between the top-level handler and the repository component which actually uses the connection. 😕

someodd, to haskell
@someodd@fosstodon.org avatar

Please share with me your wisdom on packaging and distributing software made with .

lobocode, to Lisp
@lobocode@hachyderm.io avatar

Conducting a small experiment using instead of script. Reason? Mere curiosity.

lobocode,
@lobocode@hachyderm.io avatar

@simon_brooke Hey buddy, checked out / yesterday, super intriguing stuff. Actually, I've been digging into and its dialects lately. Got curious about why there are so many dialects, you know?

Recently dabbled in , which got me looking at Lisp in a new light. Unlike , which is awesome for sure, has been out of academia and in the market for quite a while... found it pretty cool.

kosmikus, to haskell
@kosmikus@functional.cafe avatar

At Well-Typed, we are currently looking for a new developer (possibly more) to join our team: https://well-typed.com/blog/2024/04/haskell-development-job-with-well-typed/

vascorsd, to haskell
@vascorsd@mastodon.social avatar

"introduced by way of bundled (interchangable term: vendored) C sources"

those are always fun sure. any modern ecosystem making the error of doing that are in for a world of pain.

really nice work, seeing people going over libraries and checking if there are xz backdoors embedded somewhere.

--

Haskell Security Response Team - 2024 January–March report - Announcements - Haskell Community - https://discourse.haskell.org/t/haskell-security-response-team-2024-january-march-report/9285

haskell, to haskell
@haskell@fosstodon.org avatar
annika, to random
@annika@xoxo.zone avatar

PHP tip: you can write 0 (zero) as 0_0 for added emotion.

if ($balance == 0_0) {  
 panic();  
}  
joeyh,
@joeyh@hachyderm.io avatar

@annika also in and with any number of underscores and zeros!

(0_____0) -- ribbit

nmeum, to haskell
@nmeum@chaos.social avatar

Here is a preprint of fun paper that I've been working on which investigates the utilization of formal descriptions of instruction semantics to perform symbolic binary-level program analysis: https://doi.org/10.48550/arXiv.2404.04132

It includes a prototype implementation in Haskell which performs symbolic execution of RISC-V binary code without requiring the transformation to an intermediate representation (like LLVM IR).

#Haskell #RISCV

reidrac, to gamedev
@reidrac@social.sdf.org avatar

Just realised that has been a year since I moved to this instance, let's do a new !

I love OSS and (, CPC, , and ). Also regular dev in , , #C and .

My games are always free to download and play:

https://www.usebox.net/jjm/

I'm currently finishing "The Heart of Salamanderland" for the Amstrad CPC, that will have a physical release by PolyPlay (see my Brick Rick for an example!).

See you around!

Physical release of Brick Rick for the Amstrad CPC by PolyPlay.

nmeum, to haskell
@nmeum@chaos.social avatar

The latest and greatest GHC version (9.8.2) is now available in the Alpine Linux Edge repositories and will be included in the upcoming 3.20 stable release.

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar

Rel8 is a library that teeters between "looking at the instances provides much useful information" and "looking at the instances causes psychic damage".
https://hackage.haskell.org/package/rel8-1.5.0.0/docs/Rel8.html#t:Table

someodd, to haskell
@someodd@fosstodon.org avatar

Is there any future in languages like where AI makes code a factor of small frequently and easily replaced glue and scraps, where whatever is most trained on and most hackable, most easily replaced/iterable is king?

Are big pieces of software that benefit from the architectural assurances Haskell brings a dead paradigm?

AI is here to stay and I feel if something was not already in or out of orbit, it may never reach escape velocity

haskell_foundation, to haskell
@haskell_foundation@mastodon.social avatar

effectfully describes as a beautiful and amazing language. In episode 46 of , Wouter Swierstra and Joachim Breitner asked effectfully about how he found a new passion for programming. Listen to the episode here: https://haskell.foundation/podcast/46/

haskell, to haskell
@haskell@fosstodon.org avatar

In April, we upgrade our libraries to support GHC 9.8!
Reply to this toot with your projects' GHC 9.8 upgrade PRs!

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • rosin
  • ngwrru68w68
  • GTA5RPClips
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • Leos
  • khanakhh
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • tacticalgear
  • tester
  • JUstTest
  • All magazines