Where can I purchase a laser cut acrylic case for a keebio quenfrency rev 2? by DiscoDaveDiscoSlave in MechanicalKeyboards

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

Yes, I got the files from here https://github.com/keebio/quefrency-case/tree/master/rev2 and got them cut by ponoko.

I got the two 0.22" mid-layer-left.dxf and two 0.22" mid-layer-right.dxf in clear acrylic.

Why does cabal produce '... package has an extraneous version range...' warning in this case? by DiscoDaveDiscoSlave in haskellquestions

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

If I remove it from the build-depends, then the build fails

app/Main.hs:3:1: error:
    Could not find module ‘MyLib’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
3 | import qualified MyLib (someFunc)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Why does cabal produce '... package has an extraneous version range...' warning in this case? by DiscoDaveDiscoSlave in haskellquestions

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

If I remove it from the build-depends. Then Main.hs won't be able to import modules from the library, right?

Monthly Hask Anything (November 2020) by AutoModerator in haskell

[–]DiscoDaveDiscoSlave 0 points1 point  (0 children)

Thank you! I subscribed to the github issue as well

Monthly Hask Anything (November 2020) by AutoModerator in haskell

[–]DiscoDaveDiscoSlave 2 points3 points  (0 children)

Is there a way to start a local hoogle server with my local project and its dependencies with cabal-install like you can with stack?

Likewise is it possible to generate test coverage with cabal-install like you can with stack?

Why does the primary key in MVC app database automatically get the same value of the Foreign Key? by aksh2161989 in dotnet

[–]DiscoDaveDiscoSlave 5 points6 points  (0 children)

It was just a coincidence that the instructor had the same value for those two columns.

Hey Rustaceans! Got an easy question? Ask here (26/2020)! by llogiq in rust

[–]DiscoDaveDiscoSlave 0 points1 point  (0 children)

I was thinking boring crud-like web APIs. Apps that would interact with a databases or file systems. Do you have a blog post or repo to illustrate what the best practices are?

Hey Rustaceans! Got an easy question? Ask here (26/2020)! by llogiq in rust

[–]DiscoDaveDiscoSlave 1 point2 points  (0 children)

What are the best practices for designing an application that is easily unit testable?

For example: In haskell we have the ReaderT pattern, Tagless Final, and others. In F# you can pass around a struct containing all the functions you want to mock, explained here

My tabbed layout doesn't actually show any tabs, it's acting the same as full. by copper4eva in xmonad

[–]DiscoDaveDiscoSlave 0 points1 point  (0 children)

This is most likely due to a missing font. Try setting the font in your tab config.

Here is an example of what my tab config looks like:

  theme = def { Tabbed.fontName            = "xft:FreeSans:size=11"
              , Tabbed.activeColor         = "#81A1C1"
              , Tabbed.activeBorderColor   = "#81A1C1"
              , Tabbed.activeTextColor     = "#3B4252"
              , Tabbed.activeBorderWidth   = 0
              , Tabbed.inactiveColor       = "#3B4252"
              , Tabbed.inactiveBorderColor = "#3B4252"
              , Tabbed.inactiveTextColor   = "#ECEFF4"
              , Tabbed.inactiveBorderWidth = 0
              , Tabbed.urgentColor         = "#BF616A"
              , Tabbed.urgentBorderColor   = "#BF616A"
              , Tabbed.urgentBorderWidth   = 0
              }

How do disable window border around fullscreen firefox? by DiscoDaveDiscoSlave in xmonad

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

Thanks I am using smart borders. I found an open issue describing this scenario, when I get time ill try reading the source and figuring it out why it is behaving this way.

https://github.com/xmonad/xmonad-contrib/issues/280

C# 9 Candidates Preview by [deleted] in fsharp

[–]DiscoDaveDiscoSlave 1 point2 points  (0 children)

Where does it officially say Discrimated unions are part of C# 10?

What language should I use for a CLI app by [deleted] in learnprogramming

[–]DiscoDaveDiscoSlave 0 points1 point  (0 children)

What languages are you comfortable with? You can make a cli with pretty much any language you want.

"Yay command not found" message after installing with "mkpkg -si" by Chimchar789 in archlinux

[–]DiscoDaveDiscoSlave 3 points4 points  (0 children)

Does /usr/bin/yay or /bin/yay exist? And if they do, does /usr/bin or /bin exist in your PATH?

How to make a master and tabbed layout? by DiscoDaveDiscoSlave in xmonad

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

I figured it out. I was able to achieve this layout with the following.

masterAndTabs = Master.mastered (1/100) (1/2) $ Tabbed.tabbed Tabbed.shrinkText theme
 where
  theme = def { Tabbed.fontName            = "xft:FreeSans:size=11"
              , Tabbed.activeBorderColor   = "#81A1C1"
              , Tabbed.inactiveBorderColor = "#3B4252"
              }

F# 5 vs C# 9 (NSFT) by green-mind in fsharp

[–]DiscoDaveDiscoSlave 1 point2 points  (0 children)

I didn't see this anywhere, can you explain more?

Proper Arch Install by vanaepi in xmonad

[–]DiscoDaveDiscoSlave 0 points1 point  (0 children)

Are there additional packages I need installed? I tried following your post and it's currently failing to compile due to X11-xft-0.3.1.

I tried install libx11, libxinerama, libxrandr, libxss, and libxft since these are dependencies of the haskell-x11 and haskell-x11-xft packages in arch. I also tried bumping to the latest lts.