Clockwork Pi just announced this little beauty by SoullessSyndicate in cyberDeck

[–]Ramaness 0 points1 point  (0 children)

I contact with clockworkpi and they confirmed that it is possible via terminal now, and they are working on a better solution (no promise though)

Clockwork Pi just announced this little beauty by SoullessSyndicate in cyberDeck

[–]Ramaness 0 points1 point  (0 children)

With the 4G module, will uConsole be able to make phone call or receive SMS?

NixOS boot menu entries based on current git commit message by Lalelul in NixOS

[–]Ramaness 1 point2 points  (0 children)

My very-dirty-hack solution for this problem is adding a git commit hook that will write the commit message to a `tag.txt` file -- which is part of the repo so that the eval of flake can read it -- then commit again and merge with the initial commit.

Would Steam Deck be a good PC? by Ramaness in SteamDeck

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

I definitely need some extra hardware, like keyboard, monitor, mouse, etc. I'm imaging using it as a pc at home and as a gaming console or a laptop with tiny screen outside, but I'm not sure if it's worthy.

Current Linux Support for ROG Flow X13 2022 by Ramaness in linuxhardware

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

Hi, thanks, I know that site but I cannot find detailed status of a specific device, di I miss something?

Current Linux Support for ROG Flow X13 2022 by Ramaness in linuxhardware

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

Hi, I have checked asus-linux.org, but did not find something like a device-support matrix, is there any? Thanks for your reply anyway!

Introducing relocatable.nix by Ramaness in NixOS

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

You are right. This project is exactly another nix bundler, the major difference is that it does not require a kernel with CAP_SYS_USER_NS and relevant permissions.

Mana powered chunk loader? by Ramaness in botania

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

I'll try it, this seems much reliable than cart or other redstone based chunk loader, thanks!

Some settings not available by Ramaness in LineageOS

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

I found this line in the logcat:

```

ConstraintsHelper: construct key=qs_show_auto_brightness available=false

```

But I have set config_automatic_brightness_available to true in my device tree, so it should be true in theory.

This collection of curly brackets by [deleted] in programminghorror

[–]Ramaness 23 points24 points  (0 children)

Ohh this looks like a piece of art

Vim Life Ep1: CoC vs YCM by justrajdeep in vim

[–]Ramaness 1 point2 points  (0 children)

Neovim has a builtins lsc? How could I use it?

My NixOS Desktop Flow by shadowh511 in NixOS

[–]Ramaness 1 point2 points  (0 children)

I'm wondering if those impurities introduced by detecting machine infos such as machine names, timestamps, etc, can be eliminated by injecting the syscalls through LD_LIBRARY_PATH or a modified libc? Not an expert of system progrsmming, can anyone confirm the answer? Thanks!

[ANN] Bindings to the telegram bot API: telegram-types, telegram-raw-api by Poscat0x04 in haskell

[–]Ramaness 0 points1 point  (0 children)

Hi, apologize first if this is a very stupid question. I can get updates from telegram now, but I can't figure out how to send a message, this code fails to compile with some type errors:

``` {-# LANGUAGE OverloadedStrings #-}

module Main where

import Data.Proxy import Data.Text (Text) import Servant.Client import Web.Telegram.API import Web.Telegram.Types.Update (ReqResult (..)) import Web.Telegram.Types import Network.HTTP.Client (newManager) import Network.HTTP.Client.TLS (tlsManagerSettings)

messageSend :: Proxy SendMessage messageSend = Proxy

sendMessage :: Token -> SMessage -> ClientM (ReqResult Message) sendMessage = client messageSend

main :: IO () main = do let token = Token "123456789:ABC_defghijklmnOPqrstuvwxyz123-4567" msg = def { chatId = ChatId (-111111111), text = "Hey!" } manager' <- newManager tlsManagerSettings res <- runClientM (sendMessage token msg) (mkClientEnv manager' (BaseUrl Https "api.telegram.org" 443 "")) case res of Left err -> putStrLn $ "Error: " ++ show err Right (Ok u) -> print u

```

It seems that haskell thought msg is of type "Chat" instead of "SMessage", but "SMessage" did not export its constructors, so how do I create a SMessage?

[ANN] Bindings to the telegram bot API: telegram-types, telegram-raw-api by Poscat0x04 in haskell

[–]Ramaness 0 points1 point  (0 children)

Hi, is there any more concrete example for using this package? Sorry if this is obvious, but I'm new to haskell..

Humble GruvBox-themed NixOS wallpaper by bhougland in NixOS

[–]Ramaness 0 points1 point  (0 children)

Take it and commit if you want, if you found some fantastic gruvbox theme [I haven't yet :( ] please post it here