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

haskell, to haskell
@haskell@fosstodon.org avatar

GHC 9.10.1-alpha3 is now available!
Read the announcement at https://discourse.haskell.org/t/ghc-9-10-1-alpha3-is-now-available/9336

leanpub, to FunctionalProgramming
@leanpub@mastodon.social avatar

The Art of Functional Programming by Minh Quang Tran, PhD is on sale on Leanpub! Its suggested price is $24.99; get it for $17.99 with this coupon: https://leanpub.com/sh/xxltuCKP

kosmikus, to haskell
@kosmikus@functional.cafe avatar

New blog post by my colleague Finley on "Choreographing a dance with the GHC specializer (Part 1)". This is in addition to our episode on the same topic tomorrow, 2024-04-16, at 1830 UTC on YouTube.

https://well-typed.com/blog/2024/04/choreographing-specialization-pt1/

haskman, to fpindia
@haskman@functional.cafe avatar

Announcing the next meetup, this Saturday 20 April in .

We’re diving into deeper FP waters with applicatives, monads, and transformers.

Join us! Our Telegram group has more details and updates. https://t.me/fpncr

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:

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!

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. 😀

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 #nodejs executable from typed template #haskell

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 ’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

DiazCarrete, to haskell
@DiazCarrete@hachyderm.io avatar
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.

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.

someodd, to haskell
@someodd@fosstodon.org avatar

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

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

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

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

haskell, to haskell
@haskell@fosstodon.org avatar
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 #introduction!

I love OSS and #gamedev (#ZxSpectrum, #Amstrad CPC, #MSX, #C64 and #DOS). Also regular dev in #Scala, #Python, #C and #Haskell.

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
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines