SpongeB0B

joined 8 months ago
 

Hi,

I have a great piece of software, that apparently need HAVE_KPROBES_ON_FTRACE

To config the kernel option I'm using :

make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig

The Kernel is Linux/arm64 6.6.63

When I'm doing a search inside menuconfig i get:

Symbol: HAVE_KPROBES_ON_FTRACE [=n]
Type  : bool
Defined at arch/Kconfig:223


Symbol: KPROBES_ON_FTRACE [=n]
Type  : bool
Defined at arch/Kconfig:117
 Depends on: KPROBES [=y] && HAVE_KPROBES_ON_FTRACE [=n] && DYNAMIC_FTRACE_WITH_REGS [=n]

But I found it no where in the menu... and if I add it mannuly in the .config file, then make some more other adapations in menuconfig my manual entry disappear..

Any ideas ?

Maybe HAVE_KPROBES_ON_FTRACE is not supported in 6.6.63 ?

Thanks

[โ€“] SpongeB0B 1 points 2 weeks ago* (last edited 2 weeks ago)

I'm using Devuan ( systemd free ! ) :)

[โ€“] SpongeB0B 1 points 2 weeks ago (2 children)

I believe my initramfs do not support luks encryption, but the link of @[email protected] might work.... ๐Ÿคž

 

Hi,

The SBC Raspberry Pi 4 boot on an sdcard with two partition /boot and /

So I managed to encrypt the partition / with cryptsetup

Here the partition of my sd-card

device FILESYS LABEL UUID
sdb1 vfat BOOT ( 9 characters )
sdb2 crrypto_LUKS ( 36 characters )

I've modified the /boot/cmdline.txt

to ( on one line )

console=serial0,115200
console=tty1
root=UUID=#If I try the UUID of sdb2 it fail and also the UUID when I use `cryptsetup luksOpen /dev/sdb2 b2open`
rootfstype=ext4
fsck.repair=yes
loglevel=5
net.ifnames=0
firmware_class.path=/lib/firmware/updates/brcm
rootwait
cryptdevice=UUID=#I dont know which one:b2open

any ideas ?

Thanks.

[โ€“] SpongeB0B 1 points 2 weeks ago (1 children)

ohh ! great ! I'll see if I manage to install it on Devuan Thanks.

[โ€“] SpongeB0B 2 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

๐Ÿคฉ Woo I didn't know nix. It seem a better way to handle package !!!
But so if I have already apt that handle packages, is it compatible to use both on the same system !?

Nix stores all packages in isolation from each other; as a result there are no /bin, /sbin, /lib or /usr directories and all packages are kept in /nix/store instead.

[โ€“] SpongeB0B 1 points 2 weeks ago

Yes, but it's not reliable. because even if you use a bare linux vm to download the packages and dependency, you never know if the online will have already a dependence that the offline system do not have.

no, the only way is to force the dw of the already downloaded package.

[โ€“] SpongeB0B 1 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Thank you very much @[email protected]

I have tried

apt-get -o Dir::Cache::archives="/to/path" install --download-only apt-offline

But it downloaded only the .deb of apt-offline and not all the dependence tree. Most probably because this machine have them already.

now, remain to force to download also all the dependency tree even if already installed...

[โ€“] SpongeB0B 2 points 2 weeks ago* (last edited 2 weeks ago)

indeed .appimage are an amazing thing as they do not require any special runtime or installation process !
I guess I will have to do my own .appimage of software that do not provide them

 

Hi,

I have an air gaped[^1] device. ( Devuan )

How do you manage to install packages/software on off-line[^1] device ?

I've heard of apt-offline but it seem to bug and I don't know if it's still maintained (last release two years ago)

of course I've tried manually but the dependencies relations are too crazy to do that fully manually

Dependence tree (not complete even) to install for example apt-offline

โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ python3-dbg_3.9.2-3_amd64.deb
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ libcurl4-gnutls-dev_7.74.0-1.3+deb11u14_amd64.deb
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ python3-pycurl-dbg_7.43.0.6-5_amd64.deb
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ python-pycurl-doc_7.43.0.6-5_all.deb
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ python3-httplib2_0.18.1-3_all.deb
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ python3-pycurl_7.43.0.6-5_amd64.deb
โ”‚ย ย  โ”œโ”€โ”€ iso-codes_4.6.0-1_all.deb
โ”‚ย ย  โ”œโ”€โ”€ python3-pysimplesoap_1.16.2-3_all.deb
โ”‚ย ย  โ””โ”€โ”€ python-apt-common_2.2.1_all.deb
โ”œโ”€โ”€ python3-apt_2.2.1_amd64.deb
โ””โ”€โ”€ python3-debianbts_3.1.0_all.deb

Any ideas ?

Thanks.

[^1]: air gaped, off-line
https://en.wikipedia.org/wiki/Air_gap_(networking)

[โ€“] SpongeB0B 1 points 4 months ago

Thank you @[email protected] sadly it's hosted on google ... :/ https://issuetracker.google.com

If I post here on lemmy, me feature request somebody would be kind to submit to google ?

Thanks.

[โ€“] SpongeB0B 2 points 4 months ago

it's related to the GPS fix. So which is it ?

 

cross-posted from: https://programming.dev/post/18448635

Hi,

I was a very long time I didn't need to created a animated gif... I had a program before to take a static images (.jpg, .png etc..) and convert then into an animated gif..

All the web search engine push for online (aka SaaSS) tool ๐Ÿคฎ

Do you know a program that do that ( Linux )

Thanks.

 

Hi,

I was a very long time I didn't need to created a animated gif... I had a program before to take a static images (.jpg, .png etc..) and convert then into an animated gif..

All the web search engine push for online (aka SaaSS) tool ๐Ÿคฎ

Do you know a program that do that ( Linux )

Thanks.

 

cross-posted from: https://programming.dev/post/18448206

Hi,

I would like to use a rectangle that move (left to right) to reveal an element / image

like this

The white box shall be the image to display

But I'm already block at my svg animation

<svg viewBox="0 0 265.135 68.642" xmlns="http://www.w3.org/2000/svg">
<g x="-55.790085" y="0.79151762">
    <rect
       style="fill:#ffcc00;stroke-width:2.46513;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
       width="55.465603"
       height="151.60599"       
       transform="rotate(45)" />
       <animate
      attributeName="x"
      values="-55.790085;265"
      dur="5s"
      repeatCount="indefinite" />
  </g>
</svg>

Because the rectangle is not moving :'(

Any ideas ?

Thanks.

6
submitted 4 months ago by SpongeB0B to c/webdev
 

Hi,

I would like to use a rectangle that move (left to right) to reveal an element / image

like this

The white box shall be the image to display

But I'm already block at my svg animation

<svg viewBox="0 0 265.135 68.642" xmlns="http://www.w3.org/2000/svg">
<g x="-55.790085" y="0.79151762">
    <rect
       style="fill:#ffcc00;stroke-width:2.46513;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
       width="55.465603"
       height="151.60599"       
       transform="rotate(45)" />
       <animate
      attributeName="x"
      values="-55.790085;265"
      dur="5s"
      repeatCount="indefinite" />
  </g>
</svg>

Because the rectangle is not moving :'(

Any ideas ?

Thanks.

 

Hi everyone,

Does someone know where I can submit a feature suggestion for Android ?

Thanks

12
submitted 4 months ago* (last edited 4 months ago) by SpongeB0B to c/[email protected]
 

Hi,

is it possible to convert a path like this one

To a series of "line" stroke that are draw in the middle ? Like this (in green)

Thanks.

[โ€“] SpongeB0B 1 points 4 months ago

Are you owning the DoH endpoint ? if not, they can :)

[โ€“] SpongeB0B 1 points 4 months ago (2 children)

I live in a country where the state doesnโ€™t care about what people do online.

Lucky YOU !!!!, but it's not meaning other country will not track you...

What similar quick image sharing site should I use?

It's a really good question ! Sadly a lot of website admin do not understand the harm to use solution like Cloudflare etc... see https://stallman.org/cloudflare.html for a short introduction

I think it would be wise to open a topic for that question only

And again thanks four your inkscape solution

 

cross-posted from: https://programming.dev/post/18113218

Hi,

Is it possible with Inkscape to squeeze a shape in a mirror way (sorry I don't know how to phrase it better) \

Here a gif from a rasterize/pixel editor with what I'm looking for

The same question on the official inkscape forum WTF the fuck happen to peoples ? Internet should not be a place where everyone could express, share what he want ?!

I'm glad their is Lemmy, so quick and easy

 

Hi,

Is it possible with Inkscape to squeeze a shape in a mirror way (sorry I don't know how to phrase it better) \

Here a gif from a rasterize/pixel editor with what I'm looking for

The same question on the official inkscape forum WTF the fuck happen to peoples ? Internet should not be a place where everyone could express, share what he want ?!

I'm glad their is Lemmy, so quick and easy

 

cross-posted from: https://programming.dev/post/17866168

Hi,

I use gunicorn in my venv

I have quite few venv that run gunicorn.

I would like to reuse gunicorn for other venv

I launch my web application like this

#PWD = venv dir
source ./bin/activate
gunicorn A_WebApp:app
#A_WebApp is my python file A_WebApp.py

I supposes that gunicorn is a shell program ? if yes I should use $PATH ?
or gunicorn is a Python program only ? and then what I should do to use gunicorn in another venv ?

Thanks.

view more: next โ€บ