Determining Volume of an Irregularly Shaped Triangular Prism

I need help using Mathematica to determine the volume of an irregularly shaped triangular prism. I have very little experience with Mathematica but thought this task could easily be performed using the program.

The shape generated should look like:


Prism[{{3.767, 4.523, 1}, {0, 0, 0}, {7.948, -2.451, 0}, {3.699,

8.156, 1}, {1.146, 10.24, 0}, {4.837, 10.24, 0}}]]

I’ve tried using the Volume[] function but with no luck. Any help would be greatly appreciated!

Setting up secure personal system for managing sensitive data and high volume trading

So I’ve been mining and investing bitcoin for almost 5 years, and have reached the point where the volume of cryptocurrency I manage demands I take the time to create a secure cloud environment and set up a secure laptop. The fact that I handle some assets for family and close friends makes this need ever more pressing.

More generally, I am looking to establish a more secure digital presence, and believe an environment I can trust is the place to start. I should be able to trust this set up for any application (within reason, I’m not smuggling state secrets).

I have a beginner’s understanding of security principles, and experience in software. I am comfortable with less user friendly UIs and know my way around a terminal. I’m willing to put 10-20 hours into setting this up, and am ready to familiarize myself with material if necessary. This is what I’m looking for:

  1. Remote system with solid hard drive encryption. Nothing crazy, I’m thinking 256 bits, generating a random sequence of words that I will be able to memorize. I want to minimize the data that is left vulnerable when I connected, such that I don’t have to worry about theft after logging in.

  2. Encrypted traffic and browsing from cloud system, an anonymous VPN or Tor would be ideal.

  3. Backup mechanism. I need to be able to access the system from any trusted computer, in the event of damage to the laptop.
  4. Firewall settings on laptop that allow only traffic to and from cloud environment. Essentially a close to cold system with only one connection, SSL.
  5. Disabled/non-existent physical ports to protect from malicious software and USB killer type things. I am thinking a VM instance for the cloud side, but I have no experience in dealing with that stuff, so I need some guidance. On the physical end, I don’t really know where to start, and would very much appreciate any help.

I know this may sound like overkill, but rest assured I’m not a paranoid maniac, I just want to make sure security is not a concern.

Veracrypt encrypted file – how to expand the Volume and what are Drive Letters?

can you help me understand some questions about Veracrypt:

  1. If you have created an encrypted file but the volume which you selected for it needs expansion, is it from security standpoint fine to just use the available option “expand volume” to adjust the file’s volume? Or is it for some reason better to create a totally new encrypted file with your desired larger volume?

  2. What is the meaning of all the different Drive Letters (A-Z)? Do you have to mount a file from a specific drive letter, or can you mount from any letter?


Optimal distribution of N points in non euclidean volume, where each point is furthest away from the others

Given N points, I want to find the optimal configuration for which all the points are as far away from each other as possible.

The metric I’m considering is an approximation to the perceived distance between two colors:






The colors are constrained between 0 and 255. And there are N colors of maximum pair distance I want to find, in addition to these N colors, there’s a point in the origin (black) and in the topmost right-front corner (white) which are fixed in place.

This reminds me of sphere packing, but I don’t know the optimal size of the sphere so that they’d fill the whole volume… And since this metric is not translation invariant, I’m not sure how to calculate the sphere positions even if I knew the sphere size.

I’ve tried minimizing some cost functions, such as


or the columb force inspired


But it’s not very efficient, and is very dependent on initial guess (and it seems my euclidean grid-based guess isn’t optimal).

Is there a generalized form of the sphere packing algorithm which would give me the global minima, without the need to minimize these complex cost functions and fall into the many local minima, or get stuck in zero gradient areas?

Which FLUSH command before taking EBS volume snapshot?

The FLUSH TABLES WITH... command has a few flavors. The manual meagerly describes the differences between:


Am I interpreting the manual correctly that if one needs to perform a disk volume snapshot, such as the EBS Snapshot, the preferred way now is to use the FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT right before initiating the snapshot?

sudo update-grub:Sourcing file `/etc/default/grub’ Generating grub configuration file … error: invalid volume

I have re-Installed the Ubuntu after accidentally deleting the Ubuntu partition from windows without proper procedure & configuration of Ubuntu, so in result I couldn’t able to run Ubuntu and cant use the freed space. I have installed the Ubuntu in same partition which I was deleted improperly to overcome this problem, now I can use the Ubuntu but there are some issue.

I am using the dell Inspiron model so i avoid the issue of the kernel checking the graphics driver which causing the boot problem I had to change the some of grub file (Reference Video: After following the video in last I had to run the sudo update-grub which causing this error. Error after running command

And also there is number other files folder are created because of improper removal of my previous and re installation of Ubuntu again As you can see here

Or should I removed the all Ubuntu now with all configuration and Ubuntu now, will this work?

Any help would be appreciated.

Note: Previous and re-installed version are both Ubuntu is 18.04.3 LTS

Headphone volume is extremely low and noisy

I’m running Ubuntu 19 on my Samsung notbook7 2019 version(NT750XBV-G517A).

I installed windows 10 and ubuntu 19 on this laptop. but when I use a headphone, the sound from the headphone is extremely low (but I can recognize which music is playing) and there is a lot of noise. The thing is there is no problem on windows 10 at all.

I’ve tried reinstalling pavcontrol, alsa, alsamixer, sort of all the solution on the internet about ‘no sound’. but it didn’t work at all.

Here are a sound card and chip information from alsamixer
Card: HDA Intel PCH
Chip: Realtek ALC256

Please help! Thanks you in advance

MountVolume.setup failed for volume “…”: mount failed: exit status 32

My OS is Ubuntu, using openshift, and one pod keep pending, because nfs server cannot be mounted (nfs server is able to be mounted by mannually using command line, but cannot be mounted from the Pod)

I have installed nfs-common, so it’s not the root cause. I trying to install nfs-utils, but I was failed, the error message is:

E: Unable to locate package: nfs-utils.

I also tried libnfs12 and libnfs-utils, they were the same as nfs-utils. I also used apt-get install upgade and update to solve the package locating problem, but they were useless.

I’m going to show the yaml file for connecting the nfs server

apiVersion: v1 kind: PersistentVolume metadata:   name: pv-test01   lables:     disktype: baas spec:   capacity:     storage: 1Gi   accessModes:     - ReadWriteMany   nfs:     path: /baas     server:     readOnly: false   persistentVolumeReclaimPolicy: Recycle 

after using “oc describe pod/mypod” for the pending Pod, below is the feedback:

Warning  FailedMount  14s  kubelet, localhost  MountVolume.SetUp failed for volume "pv-test01" : mount failed: exit status 32 Mounting command: systemd-run Mounting arguments: --description=Kubernetes transient mount for /var/lib/origin/cluster-up/root/openshift.local.clusterup/openshift.local.volumes/pods/267db6f2-d875-11e9-80ba-005056bc3ce0/volumes/ --scope -- mount -t nfs /var/lib/origin/cluster-up/root/openshift.local.clusterup/openshift.local.volumes/pods/267db6f2-d875-11e9-80ba-005056bc3ce0/volumes/ Output: Running scope as unit run-28094.scope. mount: wrong fs type, bad option, bad superblock on,        missing codepage or helper program, or other error        (for several filesystems (e.g. nfs, cifs) you might        need a /sbin/mount.<type> helper program)         In some cases useful info is found in syslog - try        dmesg | tail or so. 

so how can I mount to nfs server from the Pod?

Volume mute or Completely Loud (Sound Bar or volume buttons doesnot respect the sound settings in unbuntu 18/19

I have a audio chipset of realteck ALC295, and the sound volumes are very high or mute

please help me in setting up the volume driver for the os!

(i have shifted from windows 10 to ubuntu since I really fed up with the buggy released of windows 10)

Recalibrate volume control

I’m using an external USB soundcard in Kubuntu and the volume control is almost non-existent.

Running alsamixer, anything up to 34 is just dead-silence, 35 is too soft and 36 is loud, 37 and up is simply too loud that it would probably damage my headphones and ears.

Is there a way to re-calibrate the volume control so that 0-100 covers the 34-36 range?

I’m on Kubuntu 19.04

enter image description here