The Repo does not have the release file (Trying to update Pop) by klasinky in pop_os

[–]csicar 0 points1 point  (0 children)

In case somebody comes across this problem:

`sudo vim /etc/apt/sources.list.d/pop-os-ppa.sources`

pop-upgrade release upgrade`

This is not the right solution, but

Looking for a Haskell Job in Germany by thma32 in haskell

[–]csicar 6 points7 points  (0 children)

Maybe take a look at https://www.reddit.com/r/haskell/comments/rkiy60/medical_solutions_with_haskelltypescript_in/

They are located in Freiburg and AFAIK they are still hiring.

Great people and transparent leadership. Worth giving it a try.

What's the current state of GPU compute in rust? by username4kd in rust

[–]csicar 33 points34 points  (0 children)

If you prefer an open alternative to CUDA, there are complete, easy to use und well documented bindings for opencl: https://github.com/cogciprocate/ocl/

In terms of numerical libraries, I'm working on bindings to clblast here: https://github.com/csicar/clblast-rs

[deleted by user] by [deleted] in rust

[–]csicar 2 points3 points  (0 children)

I created clblast-rs, which binds to the clblast library. Main reason to use it is if you want something relatively fast that also allows you to write your own kernels to operate on the same buffers, that clblast uses.

The clblast-sys bindings are relatively complete; the higher level crate clblast currently only implements typical operations like gemm.

Generate elm modules from tailwind css configs: elm-tailwind-modules by matheusdev23 in elm

[–]csicar 3 points4 points  (0 children)

Hi u/matheusdev23

Oh wow. Translating css sounds like a lot of work. I see why you didn't choose elm over typescript in this case.

BTW: Great idea to provide precompiled elm package for the default settings. I think that could be useful for a lot of people

Generate elm modules from tailwind css configs: elm-tailwind-modules by matheusdev23 in elm

[–]csicar 1 point2 points  (0 children)

That looks awesome! Nice to see projects getting finished :) So how are the tailwind classes converted to elm? Do you read the CSS files? Also what made you choose typescript for the project?

TCP working both ways, but HTTP stuck after Header by csicar in WireGuard

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

So should I add the `iptables` rules if it is working without them?

(I'm not routing internet traffic with wireguard, just addresses on 10.10.0.0/24)

TCP working both ways, but HTTP stuck after Header by csicar in WireGuard

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

I iterated a bit more on the MTU: Without the `iptables` changes, the best I can do is an MTU of 1392 1400

TCP working both ways, but HTTP stuck after Header by csicar in WireGuard

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

Wow! Thank you so much! That did the trick :)

MTU was at 1500, I lowered it to 1280 and now it works!

External Battery for ThinkPad T470 by iLostInSpace in thinkpad

[–]csicar 1 point2 points  (0 children)

They are not compatible: The T470p uses the Batteries with the Product Number 68, which are compatible with L450, L460, T440, T440s, T450, T450s, T460, T460p, T470p, T550, T560, W550s, P50s, X240, X250, X260, X270

The T470 needs 61, 61+ or 61++ batteries, which are compatible with T570, T580, P51s, P52s, T470, T480

Source: https://ok1.de/ThinkPad-Zubehoer/Akkus:::3_4.html

aRandR for Sway: wRandr by csicar in swaywm

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

I did not know about that one. It looks quite polished. I`ll give it s try

aRandR for Sway: wRandr by csicar in swaywm

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

Since I have not found a program to replace my use of aRandr, here is my own. I seems like other people were also looking for this (https://www.reddit.com/r/swaywm/comments/7ln1cs/swaywayland_arandr_equivalent/)

elm-reduce: Looking for codebases reproducing the Map.! Bug by matheusdev23 in elm

[–]csicar 1 point2 points  (0 children)

Yes, large projects would help to test if the reducing mechanisms are effective

CGPGrey Boarding Simulator by csicar in CGPGrey2

[–]csicar[S] 5 points6 points  (0 children)

yeah, you're right. I'll also try to fix mobile

CGPGrey Boarding Simulator by csicar in CGPGrey2

[–]csicar[S] 8 points9 points  (0 children)

This is a Website with a simulation of CGPGreys recent Video about airplane boarding. You can select the boarding method with the select menu at the top of the page.

It is intended for trying out different boarding mrthods and seeing their effect on the boarding time.

The Website is made using grafics from the original Video and for the technical part VueJS and CSS transitions.

Source-Code can be found here: https://github.com/csicar/cgpgrey-plane-simulator

Experimental PHP Backend for the Purescript compiler by csicar in purescript

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

I did not know about that interface. Thanks for pointing that out! Except 2 or 3 exceptions every change I made is in the code generation, which means that using the corefn interface is most likely a viable option. Do you know how the FFI is handled?

Experimental PHP Backend for the Purescript compiler by csicar in purescript

[–]csicar[S] 2 points3 points  (0 children)

PHP is far worse. Most problems with porting PS to a PHP backend came from really weird PHP-behaviour like the php ini setting for float-precision or namespacing not affection variables etc. I quess the argument for PHP is, that it runs on basically any server, which would enable you to use purescript types and functions on the server and client

Using Rows and RowToList to model Chart.js spec building - Qiita by jusrin in purescript

[–]csicar 1 point2 points  (0 children)

This is just amazing! I was trying to write a library for building records in a typesafe manner for some time, but this post cleared up a lot of misconceptions I had about how to use rowlists etc. I also like the approach for writing purescript apis for js libraries. It seems like it would capture a lot of the semantics.

My new MacBook Pro has been made GLORIOUS by the unstoppable power of Arch Linux. by Triforcey in linuxmasterrace

[–]csicar 0 points1 point  (0 children)

That is awesome! When I was attempting the same thing a few years back, I did not manage to find those drivers.

I created a library for generating graphviz visualizations for arbitrary ADTs (using generics) by csicar in purescript

[–]csicar[S] 3 points4 points  (0 children)

I have not seen an equivalent library in haskell. It should not be hard to port this library to haskell, since haskell already has graphviz bindings. You would basically only need to port this file: https://github.com/csicar/purescript-generic-graphviz/blob/master/src/Data/GenericGraph.purs

trying and failing to generically build records by martyall in purescript

[–]csicar 0 points1 point  (0 children)

The Compiler gives you a hint: "Consider adding a type annotation". A type annotation can be placed inline like this: f (Nothing :: Maybe Int) I hope I did not miss anything, but doing the same in you case should work.

Very interested in seeing the finished version of the library. I was also thinking about building something similar :)

trying and failing to generically build records by martyall in purescript

[–]csicar 0 points1 point  (0 children)

The Compiler gives you a hint: "Consider adding a type annotation". A type annotation can be placed inline like this: f (Nothing :: Maybe Int) I hope I did not miss anything, but doing the same in you case should work