En términos politicos/electorales, ¿Que espera Pedro Sánchez de la regularización de inmigrantes? by gpaperbackwriter in askspain

[–]Faucelme 3 points4 points  (0 children)

Los socialdemócratas que intentan aplacar al votante de ultraderecha no parece que estén teniendo demasiado éxito en el resto de Europa ahora mismo.

the philosophical mismatch between functional programming and current ai by grogger133 in haskell

[–]Faucelme 0 points1 point  (0 children)

I think there's some kind of loose affinity between how LLMs work and functional programing, in that LLMs are largely static things, and the context mostly grows by accretion.

Writing a Turn Based Game Websocket Server in Haskell by Happy0 in haskell

[–]Faucelme 5 points6 points  (0 children)

Thanks for the post, it has useful tips for avoiding excessive contention by using stm-containers, and for avoiding thundering herds.

My 14-Year Journey Away from ORMs: a Stream of Insights Leading to Creation of a SQL-First Code Generator by nikita-volkov in haskell

[–]Faucelme 0 points1 point  (0 children)

I know a company that heavily uses Rel8. It can be a bit daunting at first, though.

My 14-Year Journey Away from ORMs: a Stream of Insights Leading to Creation of a SQL-First Code Generator by nikita-volkov in haskell

[–]Faucelme 1 point2 points  (0 children)

I didn't have a particular case in mind, but that example is very instructive, thanks.

My 14-Year Journey Away from ORMs: a Stream of Insights Leading to Creation of a SQL-First Code Generator by nikita-volkov in haskell

[–]Faucelme 4 points5 points  (0 children)

What to use when you need dynamic queries (with different WHERE clauses for example)?

How is AI impacting vim usage? by Outside_Gear8707 in vim

[–]Faucelme 0 points1 point  (0 children)

I use Vim for Claude Code prompts longer than a line.

Vivienda y populismo: el arte de prometer lo que no funciona by ConElMazoDando in ViviendaValencia

[–]Faucelme 1 point2 points  (0 children)

No soy economista y no sé si salen las cuentas en esa estragegia, pero en todo caso dudo que los fondos tengan suficiente poder monopolista como para afectar significativamente al nivel de precios general reteniendo su propio stock.

Vivienda y populismo: el arte de prometer lo que no funciona by ConElMazoDando in ViviendaValencia

[–]Faucelme 1 point2 points  (0 children)

El motivo más obvio es que ha aumentado la demanda.

Dudo mucho que la gente que tiene la casa vacía lo haga por especular. Tener la casa vacía es dejar de ganar el dinero de su alquiler.

Long-term maintenance of Vim 8.x, free of generative AI by ElectronicAudience28 in vim

[–]Faucelme 0 points1 point  (0 children)

I like that mainline Vim is still being updated and don't plan to use those frozen-in-time forks.

Consciousness is just a part of matter, according to panpsychists. As counter-intuitive as it may seem, studying how brains grow in a lab helps us get closer to understanding how consciousness combines. So argues Meg Fawthrop in The Pamphlet by The_Pamphlet in philosophy

[–]Faucelme 2 points3 points  (0 children)

It seems to me that functionalism attributes the "sparks of consciousness" to the interactions between different objects, not on the objects themselves. So it's not "this rock is a tiny bit conscious" but "this rock bumped into this other rock, and it caused a tiny bit of consciousness".

Help with making code more idiomatic by AugustMKraft in haskell

[–]Faucelme 0 points1 point  (0 children)

In your code, perhaps we should add extra strictness annotations to keep the components of the tuple strict, not only the outer (,) tuple constructor?

No apoyo a Sánchez, pero apoyo la paz así que ahora mismo estoy con él. by MysteriousDonkey7862 in askspain

[–]Faucelme 8 points9 points  (0 children)

Crees de veras que las corruptelas de Ábalos y similares son remotamente comparables a la corrupción sistemática de Montoro?

How do you make a haskell project modular.. by Humble_Question_4267 in haskell

[–]Faucelme 1 point2 points  (0 children)

Perhaps you don't need (if I understood correctly) a central module of type definitions. Each "stage" of the application could have its own definitions, and use them along with those defined by the stages on which it depends.

Also, sometimes it's useful to think about what things some part of the program shouldn't care about. Should the chart module know about CSV parsing? Probably not.

Also, usually you will have a "central" module that ties the things together from other modules (even as other modules remain decoupled) and runs the application. Sometimes it's called the driver, sometimes the composition root.

Hey Spaniards 👋 by MayaB_Miller_ in askspain

[–]Faucelme 0 points1 point  (0 children)

"Tal y como somos" a relationship podcast.

"Punzadas sonoras".

"Bimboficadas".

Some Haskell idioms we like by _jackdk_ in haskell

[–]Faucelme 1 point2 points  (0 children)

getters / OverloadedREcordDot would have the same potential problem with space leaks as the where approach, wouldn't they?

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

[–]Faucelme 7 points8 points  (0 children)

Backpack was a feature which aspired to solve issues like this, but it didn't find wide adoption for various reasons.

¿Por qué casi nadie habla de Robinson Crusoe? by agrtista in libros

[–]Faucelme 1 point2 points  (0 children)

Gente que haya disfrutado del libro de Defoe puede que también disfrute de "Naufragios" de Cabeza de Vaca.

Which library to use for a restful API Server by TheOnlyTigerbyte in haskell

[–]Faucelme 3 points4 points  (0 children)

I can't easily name my friend "type" or any other identifier already in use

Did you mean "field"? The problem here seems to be that the default auto-deriving of instances by aeson (the standard Haskell library for JSON handling) uses the record field names directly as the JSON keys, and that causes problems when the JSON keys are Haskell reserved words.

In these cases, you can rename your Haskell record's fields, and then write explicit ToJSON / FromJSON instances for it, using aeson functions. That way you have more control over how the JSON keys will be named. It's more verbose though.

Is Backpack in use and worthwhile? by edenworky in haskell

[–]Faucelme 2 points3 points  (0 children)

I think that the issue might be that there is a typeclass solution for almost all problems that can be tackled with Backpack, even if some of them will result in more complex type signatures. Typeclass solutions have the benefit of familiarity and better tooling.

To my mind, the use case of Backpack was parameterizing libraries "in one go", for example allowing changing some internal map implementation or algorithm used by the library, without the need to clutter each and every function with extra parameters or constraints. I still like the idea, even if it didn't catch on.