Questions tagged [lsb]

The Linux Standard Base (LSB) was created to lower the overall costs of supporting the Linux platform. By reducing the differences between individual Linux distributions, the LSB greatly reduces the costs involved with porting applications to different distributions, as well as lowers the cost and effort involved in after-market support of those applications.

55 questions
1
vote
1 answer

MSB and LSB in java

I have an exercise in java, here it is: Create an 8 bit variable with value of 00001011. Reset an LSB bit. Set MSB bit. Set bit number 2. Check if bit number 4, 5, 6 are set. Make a bit number 3 inversion, display data and invert it again. Move…
Atomix
  • 125
  • 1
  • 2
  • 9
1
vote
1 answer

Issue with converting an ArrayList of BufferedImages to a GIF using GifSequenceWriter - Java

I'm trying to hide a message inside a .gif for a steganography project. I've converted the input gif to an ArrayList of BufferedImages ana applied my steganography algorithm. But, i came across an issue with converting the ArrayList of…
Feres Gaaloul
  • 89
  • 2
  • 7
1
vote
0 answers

Script doesn't start manually (or on boot) (init.d)

I'm running tinkerOS which is a distribution of debian. But for some reason the cwhservice that works on raspbian (also debian based) doesn't run on tinkerOS. The script is placed in /etc/init.d/ and is called cwhservice, systemctl deamon-reload has…
kloknibor
  • 55
  • 1
  • 7
1
vote
0 answers

pacemaker corosynce lsb resource script( Sybase Database ASE Server and Backup Server)

I'm trying to create a lsb resource with pcs on rhel7.2 The "sybase" script is about Sybase Database ASE Server and Backup Server Startup & Stop & Restart $ status script The script is all pass Init Script LSB Compliance, but it doesn't…
1
vote
2 answers

Is there a pythonic way to check whether OS is a 64bit Ubuntu?

Is there a pythonic way to check whether OS is a 64bit Ubuntu? Currently, I've been doing it as such: import os def check_is_linux(distro, architecture, err_msg): try: this_os = os.popen('lsb_release -d').read() this_arch =…
alvas
  • 115,346
  • 109
  • 446
  • 738
1
vote
0 answers

Replacement for Linux Standard Base?

When distributing source code is not an option the Linux Standard Base allows a mechanism for achieving binary compatibility with many Linux distros. http://www.linuxfoundation.org/collaborate/workgroups/lsb However, it appears that it has been…
user109078
  • 906
  • 7
  • 19
1
vote
1 answer

To retrieve the bit from LSB insertion

I read about LSB insertion online, but it only introduces about how to insert bits to LSB, but it didn't describe how to extract the bits. This is the article I read about LSB insertion. I understand the method they use below, but how do you extract…
Jarek Huang
  • 119
  • 3
  • 17
1
vote
2 answers

Ruby binary left shift

How to do a binary left shift in a integer value using Ruby? I'm trying to do a left shift binary operation but I'm getting a strange char instead of the move.. I think that it should perform like this: (java) b = (b >> 2); //0011 1111 b = (b <<…
Alexandre
  • 363
  • 7
  • 20
1
vote
3 answers

kill all subprocesses of a daemon

I am writing an /etc/init.d/mydaemon: # ... source functions # LSB compliant EXEC=/usr/local/bin/mydaemon PROG=mydaemon function start() { daemon --pidfile=/var/run/mydeamon.pid ${EXEC} } function stop() { killproc ${PROG} } # ... my…
Chen Levy
  • 15,438
  • 17
  • 74
  • 92
0
votes
0 answers

The message embedded in the least significant bit plane of the gray image encoded using Hamming code 7.4

Hi guys I work on LSB stenography using hamming code. The whole code should work so that the image changes to gray, the message is encoded with a Hamming code and inserted into the LSB bit plane, then the whole image is assembled and extracted and…
0
votes
0 answers

BMI270 - LSB 2 MPS2 conversion formula

Github: \BMI270-Sensor-API-master\BMI270-Sensor-API - master\bmi270_legacy_examples\accel_gyro\accel_gyro.c /*! @brief This function converts lsb to meter per second squared for 16 bit accelerometer at range 2G, 4G, 8G or 16G. */ static float…
erode
  • 19
  • 2
0
votes
0 answers

Opencv c++ lsb steganography not generating complete image

I am using this code to do lsb steganography, everything seems to work fine but the generated image [[enter image description here](https://i.stack.imgur.com/DNvJQ.png)](https://i.stack.imgur.com/kr1vy.png), is cut like not all the column are done…
Jad
  • 1
  • 1
0
votes
1 answer

Audio Steganography using lsb causing noise in audio with hidden message

I am trying to solve a problem in my audio steganography code. Afted hiding the message in wav audio file, there is some noice which of course should not be there considering the point of the whole audio steganography. Thanks a lot for help ! here…
beka
  • 11
  • 2
0
votes
1 answer

unsupported operand type(s) for &: 'str' and 'int' python

I have an lsb steganography function to hide messages that have been modulated into audio. the results of the modulation are binary numbers 1 and 0. when I run the function I get an error: unsupported operand type(s) for &: 'str' and 'int' here's…
0
votes
0 answers

How to write lsb_release in python code? Linux

i wrote client-server api for making users requests in Windows by using platform() library. But, unfortunately, i need to change my code for lsb_release instead platform. An example: request = "version os" in this statement code have to return…
yzyz_oK
  • 1
  • 2