unix   100044

« earlier    

The Tectonic Typesetting System
is a modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive. For those new to it, TeX is a programming language that you use to create typeset documents rather than computer software. TeX is quite archaic in some ways, but it’s still the tool of choice for documents that require precision typography or ones that involve lots of mathematical equations, which makes it especially important in the sciences. Tectonic converts TeX files into PDF files.
latex  tex  linux  unix  mac  osx  macos 
yesterday by der_dennis
Building and Installing Software in $HOME « null program
“For more than 5 years now I’ve kept a private “root” filesystem within my home directory under $HOME/.local/. Within are the standard /usr directories, such as bin/, include/, lib/, etc., containing my own software, libraries, and man pages. These are first-class citizens, indistinguishable from the system-installed programs and libraries. With one exception (setuid programs), none of this requires root privileges.

Installing software in $HOME serves two important purposes, both of which are indispensable to me on a regular basis.

No root access: Sometimes I’m using a system administered by someone else, and I don’t have root access.
This prevents me from installing packaged software myself through the system’s package manager. Building and installing the software myself in my home directory, without involvement from the system administrator, neatly works around this issue. As a software developer, it’s already perfectly normal for me to build and run custom software, and this is just an extension of that behavior.

In the most desperate situation, all I need from the sysadmin is a decent C compiler and at least a minimal POSIX environment. I can bootstrap anything I might need, both libraries and programs, including a better C compiler along the way. This is one major strength of open source software.

I have noticed one alarming trend: Both GCC (since 4.8) and Clang are written in C++, so it’s becoming less and less reasonable to bootstrap a C++ compiler from a C compiler, or even from a C++ compiler that’s more than a few years old. So you may also need your sysadmin to supply a fairly recent C++ compiler if you want to bootstrap an environment that includes C++. I’ve had to avoid some C++ software (such as CMake) for this reason.

Custom software builds: Even if I am root, I may still want to install software not available through the package manager, a version not available in the package manager, or a version with custom patches.
In theory this is what /usr/local is all about. It’s typically the location for software not managed by the system’s package manager. However, I think it’s cleaner to put this in $HOME/.local, so long as other system users don’t need it.”
unix  install  LIBRARY_PATH  LD_LIBRARY_PATH  C_INCLUDE_PATH  CPLUS_INCLUDE_PATH  local  computerbullshit  compilation  compiling  code  software 
2 days ago by migurski
Nix: The Purely Functional Package Manager
Nix is a purely functional package manager. This means that it treats packages like values in purely functional programming languages such as Haskell — they are built by functions that don’t have side-effects, and they never change after they have been built. Nix stores packages in the Nix store, usually the directory /nix/store, where each package has its own unique subdirectory
packaging  linux  unix  tools  sysadmin 
2 days ago by kjh
www.pement.org/sed/sed1line.txt
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005
Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5
unix  computer  reference 
2 days ago by timok
How to handle SIGSEGV, but also generate a core dump - Alex on Linux
clude <signal.h>
05
 
06
void sighandler(int signum)
07
{
08
    printf("Process %d got signal %d\n", getpid(), signum);
09
    signal(signum, SIG_DFL);
10
    kill(getpid(), signum);
11
}
12
 
13
int main()
14
{
15
    signal(SIGSEGV, sighandler);
16
    printf("Process %d waits for someone to send it SIGSEGV\n",
17
        getpid());
18
    sleep(1000);
19
 
20
    return 0;
21
}
c  c++  hacks  programming  how  howto  segfault  crash  Linux  unix 
3 days ago by catichenor
Popcorn Linux - Home
The Popcorn Linux project is exploring how to improve the scalability of operating systems, Linux in particular, on future multi- and many-core hardware platforms, and how to design operating systems for Instruction Set Architecture (ISA)-diverse multi/many-core architectures. Additionally, the project is exploring how to automatically compile/synthesize/execute code on ISA-heterogeneous hardware.
unix 
4 days ago by myfreeweb
The Stack Clash | Hacker News
HN discussion of the Stack Clash vulnerability reported by Qualsys.
security  c  c++  unix  openbsd  freebsd  linux 
5 days ago by jefframnani

« earlier    

related tags

admin  advice  agile  agilecats  amazon.aws  article  ascii  assembly  authentication  bash  bell  binaries  browsers  bullshit  c++  c  c_include_path  cat  cheatsheet  chrome  cli  cloudcomputing  code  command-line  command  commandline  compilation  compiling  compsci  computer  computerbullshit  config  console  cplus_include_path  crash  cyber  data-wrangling  datascience  development  devops  devopscats  devtools  diff  digitalocean  documentation  dotfiles  e-mail  elapsed  emacs  executables  fakenews  firewall  foss  freebsd  freesoftware  funny  git  github_projekt  gnu  grundlagen  guide  hacker  hacks  hash  history  hosting  how  howto  humor  infosec  install  ios  iptables  key  kommandozeile  labs  latex  ld_library_path  library_path  linux  local  login  logrotate  mac  macos  macosx  mail  minimalism  mobile  multics  network  nginx  odbc  one-liners  online  openbsd  opensource  optimization  org-mode  orthodoxy  os  osx  packaging  parsing  peer  performance  perl  postgres  productivity  profdev  programing  programming  pseudo-terminal  python  r  reference  refresh  regex  screencasting  screenrecording  scripting  security  sed  segfault  shell-scripting  shell  signals  socket  software  spacemacs  sre  ssh  storage  sysadmin  systemadministration  systems  tech  technologie_erklärt  terminal  tex  text-editor  texteditor  time  tips  tool  tools  tty  tutorial  uptime  utility  vi  vim  windows  wiz  work  yes  zsh  zu_lernen 

Copy this bookmark:



description:


tags: