Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
1
6
title
stringlengths
14
150
text
stringlengths
17
32.6k
1
How can I use DD to migrate data from an old drive to a new drive?
I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple CentOS & FreeBSD boxes at work, and it seems this would have the same solution. I've heard that I can use DD to mirror t...
10
what does the @ mean in ls -l?
I am using Mac OSX. When I type `ls -l` I see something like drwxr-xr-x@ 12 xonic staff 408 22 Jun 19:00 . drwxr-xr-x 9 xonic staff 306 22 Jun 19:42 .. -rwxrwxrwx@ 1 xonic staff 6148 25 Mai 23:04 .DS_Store -rw-r--r--@ 1 xonic staff 17284 22 Jun 00:20 filmStrip.cpp -rw-r--r...
100
How do I connect a serial terminal to a KVM instance?
Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: 1. Which settings are best for the guest FreeBSD distribution? (There are many!) 2. How do I access said terminal from my L...
10004
What does \? mean in a regular expression?
The following command is used to search for a 7-digit phone number: grep "[[:digit:]]\{3\}[ -]\?[[:digit:]]\{4\}" file What does `\?` stand for?
10009
Are there any repositories for Fedora 3?
Is there any alive repository for my Fedora Core 3 Linux? (I want to use the `yum` command but one error comes and tells that `base url is not valid`) Any help to find any alive repository is very much appreciated :)
10010
Safe to delete System.map-* files in /boot?
I'm experimenting with generating some custom kernels using `genkernel`. However, each iteration leaves a file in `/boot` called `System.map- genkernel-<arch>-<version>`. Is it safe to rename and/or delete the `System.map-*` files?
10012
non-case-sensitive sed - OpenWrt
the input would be like this in a file: <sCripT and the parsing looks like this: sed -i "s/<script//g" SOMETHING.html the "/gi" is not good, because OpenWrt doesn't knows it (busybox..): sed: bad option in substitution expression Does anybody know how could...
10013
How to make KDE3 visible for GDM?
I have Gnome (default), KDE4 and KDE3 installed. When I log out, GDM kicks in and I can select other desktop than Gnome -- among window managers, there is KDE4 (as KDE), but no KDE3. **Question** : how to make KDE3 visible for GDM, so I could select it? openSUSE 11.4.
10018
How to export/extract audio from a DVD under Fedora 14?
i have a DVD's content on my HDD: i have these 2 usually folders, ok: AUDIO_TS VIDEO_TS I just can't google a working way to extract the audio from the DVD. the howtos usually write about when the dvd is in the ODD. but i have it on my HDD, and don't want to burn it to a dvd (there are several dvd's exactly...
10020
How to deliberately activate cooling fan of laptop?
Hi I have a laptop (Fujitsu Siemens Amilo 4000), I'd like to control the cooling fan manually. How do I do that? `/proc/acpi/fan/` is empty, the fan is otherwise working well. Distro is Fedora 14.
10021
internal speaker not working ubuntu 10.10
I have a dv6000 laptop . My speaker and mic were working few days ago . But now only external speaker works. Can anyone suggest me some solutions please. Thanks.
10026
How can I best copy large numbers of small files over scp?
I have a directory that's got several gigabytes and several thousand small files. I want to copy it over the network with scp more than once. CPU time on the source and destination machines is cheap, but the network overhead added by copying each file individually is huge. I would tar/gzip it up and ship it over, but t...
1003
Linux Kernel: Good beginners' tutorial
I'm interested in modifying the kernel internals, applying patches, handling device drivers and modules, for my own personal fun. Is there a comprehensive resource for kernel hacking, intended for experienced programmers?
10031
cshrc execute bashrc within itself?
My school has our Linux accounts using csh/tcsh by default. I, however, have a lot setup on my home bashrc and I'd like to use that at school. BUT there's also some important stuff that happens in our cshrc so I'd sort of like to not change my shell on each login. Is there a way for me to call or execute my bashrc with...
10035
wget not able to log into ftp
I am trying to use wget for downloading files from a ftp repository. The FTP repository has a login and password. I have to go through a proxy server which does not have a login and password. When I try to use the normal, `wget -r -c ftp://login:pass@download.site.co.in/` I find that it tries to login to the proxy serv...
10038
How can I clear the list of recently accessed documents in Fedora?
When I click on the `Clear recent documents` item in the GNOME menu, it clears the list of recently used documents (as expected). How can I replicate this functionality from the command line?
10040
SSH Copy Limit?
So I have a small little Ubuntu server set up, with some rather large files that I've allowed a few people to copy from their putty window. Anyways 2 questions: Lets say a person on windows wants to copy a file using putty from an Ubuntu server. how would they do it? and what directory would it default too? (what would...
10041
How to get only files created after a date with ls?
With `ls` command, does it possible to show only file created after a date, hour... I'm asking it because I have a directory with thousand of files. I want files created since yesterday. I use `ls -ltr` but I have to see all files... There is an equivalent of `DIRECTORY/SINCE=date` from OpenVMS ?
10044
Why do I get an "rsync: failed to set times on ... : Operation not permitted (1)" error on Ubuntu 10.10 with SME Server 7.4?
I am trying to cron an rsync via ssh between two fileservers that are running SME Server 7.4 and Ubuntu 10.10, respectively. The first rsync worked just fine (for reasons that I do not know), but now, well... here's the output: [i@i-drive ~]$ rsync -avz -e ssh /home/e-smith/files/ibays/drive-i/files/Wareh...
10046
Program to keep track number of login attempts
Is there any way to keep track of number of attempts made by a user to login into his system?
10047
The Right Distro for text-based needs
I'm searching for the right Linux Distro. My four current ideas are: * Gentoo * Grml * Arch * Debian But I'm absoluty open to more alternatives. Now a little bit more about my needs: * I want it to be really small by default, so I can customize the hell out of it. * I want to use text-tools only, I don't ne...
10050
/proc/PID/fd/X link number
In Linux, in `/proc/PID/fd/X`, the links for file descriptors that are pipes or sockets have a number, like: l-wx------ 1 user user 64 Mar 24 00:05 1 -> pipe:[6839] l-wx------ 1 user user 64 Mar 24 00:05 2 -> pipe:[6839] lrwx------ 1 user user 64 Mar 24 00:05 3 -> socket:[3142925] lrwx------ 1...
100588
Using ip addr instead of ifconfig reports "RTNETLINK answers: File exists" on Debian
I have a Debian system working as a wireless router with `eth0` and `wlan0`. Now I added an additional network manually on `eth1` with `ifconfig`: alix:~# ifconfig eth1 192.168.0.2 netmask 255.255.255.0 alix:~# netstat -rn Kernel IP routing table Destination Gateway Genmask ...
100590
Why does linux-based laptops have weak wifi signal in comparison to windows-based laptop?
I have faced this problem many times. First, I thought it has something to do with laptop model and brand but later I came to know that same hardware with different OS was having different results. Laptop using Windows, Windows 8 to be more specific were recieving wifi signal more easily than in my linux-based laptop(u...
100592
How can I uninstall packages from the command line on Ubuntu?
I am wondering how one would uninstall software from the command line/terminal. What commands would I use?
100600
Windows and Linux
I am already using Linux, and really did not want to switch to windows, but as fate would have it, i need Windows for my office work. I have been working on OpenSuSE for almost 2 years and it has been my primary system. I now wan to install Windows and be able to use OpenSuSE with that. I know its a naive question but ...
100605
What does redirection with >| do?
When should you use `>|` for redirecting output to a file instead of just `>`? The explanation given when I was shown this was that it guaranteed the target file was truncated first. But I thought `>` already implied that. Is `>|` useful?
10061
SVN changelist all my checkouts
Lets say I have 100+ files that I've checked out. Is there a way I can add all of them to a changelist without specifying them one by one, or adding them to file?
100611
AIX open() : file descriptor is zero (!?)
A daemon process, on detecting the presence of a text file in a particular directory then launches an executable file which opens the aforementioned text file in order to read and then transmit its data over a TCP socket. The number of the file descriptor of the opened text file is logged along with other information a...
100619
sed - how to replace either space or underscore_word
Currently I have this sed: sed -i '/[^}.to]\.to[[:space:]]/ s/\(\S\)/expect(\1/' ../_spec_seded/"$file" which adds "`expect(`" at the start of lines that have "`.to`" (but not "`{.to`") How can I make this so that it matches lines with both "`.to`" and also "`.to_not`"? I tried sed -i '...
100621
brctl Not working fine with bridging eth0 and at0
I made an access point with airbase-ng and its at0 I tried to bridge my eth0 and at0 by brctl addbr demo brctl addif demo eth0 brctl addif demo at0 brctl demo up dhclient3 demo & already removed eth0 ip so when i use ping 192.168.1.1 -I eth0 theres no reply but ...
100623
How to resolve upgrading problem in Ubuntu 13.10?
I have googled about this problem. I've searched askubuntu page about this problem but I couldn't get any suitable solution. I have faced this problem while trying to update using: link Before that, I've tried to update using update manager too. But, it failed and display suggestion to type code `sudo apt-get -f instal...
100625
how to intercept IP packets on linux
I am trying to achieve this goal on Linux (not sure if it is possible and how if so): I need to write a program to intercept all IP packets on an interface, and deliver this packet to a specific set of user-space programs. By intercept I mean, an IP packet is captured by my program (maybe a kernel module or a special u...
100626
How to view source of "string.h" and other library function source code in gedit of Ubuntu?
I remember viewing source code of library function but now I don't know how to view it. Can someone help me viewing source code of library function?
100628
How to enable scroll of PS/2 mouse in Ubuntu 13.10?
My mouse scroll doesn't work at all. There are other questions regarding mouse scroll, but not appropriate in my context. It used to work fine in Windows XP.
10063
How do I set up a BitTornado tracker?
As the title suggests I would like to setup a BitTornado tracker for a local network. At the moment I am using OpenBitTorrent as my tracker but this seems strange as I don't want to do this over the net and I'm not sure how secure or legal it is. The "server" is running Bodhi Linux. I found a how-to on TuxCoder using t...
100635
Something happened to Swap; it is not used by default
I always have to go to `gparted` and then turn my swap on. The swap space isn't used by default and if I turn the swap on, the swap is not used! How can I make the swap space be used by default at boot? ![screenshot of System Monitor showing swap as "not available"](http://i.stack.imgur.com/QSJuc.png)
100637
PulseAudio conflict with ia32-libs?
When I was ready to install the PulseAudio server, APT reminded me that this package is conflict with these packages: `amarok browser-plugin-gnash browser- plugin-vlc gimp gnash gnash-common goldendict ia32-crossover ia32-libs ia32-libs-i386:i386 libgegl-0.2-0 libjack0:i386 vlc vlc-nox vlc-plugin-notify vlc-plugin-puls...
100639
Copying wallpaper images into a single folder
In my ubuntu 12.04 set-up, there are lots of wallpaper images in the directory `/usr/share/wallpapers`. For example, one might be usr/share/wallpapers/Leafs_Labyrinth/contents/images/1600x1200.jpg What I want to do is travel through the wallpapers directory, pick out all the images of size `1600x...`...
100640
how to emulate "replace a b b a" with a sed?
I am trying to emulate a replace command which swaps two characters, with a sed script, but the obvious choice: sed -e 's/a/b/g' -e 's/b/a/g' does no work. Can you point me how to do it correctly?
100646
Getting Sublime + xDebug to work on Debian
I have been trying to get sublime and xdebug to work on debian, but have had no luck. I can't seem to find any debian specific guides. I have tried using the ubuntu based guides, but they don't work on debian as the xdebugging step through does nothing. Does anyone know where I can find a debian based guide on how to g...
100647
What does yes $(yes yes) do?
Wondering what use the `yes` command might be, I stumbled upon this comment, and tried to execute yes $(yes yes) From what I understand, this should simply print out an infinite sequence of `yes`, but instead it outputs nothing and crashes my graphical terminal after a few seconds. (If I execute it o...
100652
Bash: interactive remote prompt
I have a script which connects to a remote server and check if some package is installed: ssh root@server 'bash -s' < myscript.sh myscript.sh: OUT=`rpm -qa | grep ntpdate` if [ "$OUT" != "" ] ; then echo "ntpdate already installed" else yum install $1 fi ...
100653
Greyhole permission problems
I'm setting up a homeserver using Greyhole and Samba. _excerpt_ > Greyhole - An application that uses Samba to create a storage pool of all > your available hard drives (whatever their size, however they're connected), > and allows you to create redundant copies of the files you store, in order > to prevent data loss w...
100657
What is 'keyring' in Google Chrome
Every time i run Chrome, it ask for the keyring password for Default. If I fill my password in, it disappears and I can continue, and when I press cancel it has the same effect. So, what does the keyring do and what's the difference with unlocking and canceling?
10066
How to manage huge amount of files in shell?
> $ ls ./dir_with_huge_amount_of_files/errors/ Suppose a directory is full of pictures with unix timestamps, I mean a lot measured in many GBs or even more. Shell-commands like `ls` will get overflow- style warnings because they are not designed to work with millions (or more) of pictures. How can I manage such huge am...
100660
How to use rsync to backup a directory without git subdirectory
I want to copy my `c` directory with all subdirectories excluding `./git` subdirectory. I do it using `rsync` : echo "copy c and sh files " rsync -a --include='*.c' --include='*.sh' --include='*/' --exclude='*' ~/c/ ~/Dropbox/Public/c # remove .git directory = do not send it to dropbox. Thx to Tom...
100662
Outputting sound from different monitors to different audio devices
I have got my computer set up in my living room on a desk with the TV 1 metre away. I want to be able to use my TV to watch videos from my computer. I am using Chakra Linux, I use the NVIDIA binary drivers and KDE 4.11.2. I'd like to have both screens attached to my computer at all times. I want to be able to drag wind...
100663
Is it possible to control xterm (or specifically a process that xterm has started) from another process?
If I start a process with xterm like this (where omxplayer is the process xterm is starting): xterm -fullscreen -fg black -bg black -e omxplayer -o hdmi -r %f Is it possible for me to write to xterm's standard input via a different process to control the omxplayer? If so, how? (I'm pretty unfamiliar ...
100669
How to save brightness and Bluetooth configuration?
I am using the latest version of Elementary OS on my Lenovo u410, and every time I boot it, my Bluetooth is turned on, and my brightness is set to 100%. I know that elementary OS is a WIP, but is there any method/hack that I can use to keep my Bluetooth off, and my brightness not on 100%?
100670
Debian's no more needed packages
I'm using Crunchbang Linux on my laptop. I noticed a strange behavior of the package manager: when installing a package from the official repo (`libdirectfb-extra` in my case) `apt` told me that a bunch of packages were no more needed (including `xflux`, `obconf`, `obmenu` and other applications that I use frequently)....
100671
How can I set up multiseat/separate X sessions with gnome 3?
With classic Gnome, if one had two monitors, one could set up "separate X sessions" for each monitor. In this configuration, each monitor had a separate user login session and application windows were captive to the X session they were launched from. Is something similar possible with Gnome 3? If so, how do you go abou...
100674
What is the best way to emulate keybord shortcuts with touchpad gestures?
On my lenovo 0410 I am using an ubuntu derivate called elementary OS. You can press super+W to show your current windows like on most other ubuntu derivates. I would like to use this feature with a specific touchpad gesture, e.g. three finger swipe to the top. Is that possible? And if it is, what is the most resource-e...
100676
sed - how to exclude multiple patterns in the match
I have currently a set of seds that's working well except for one thing. The particular expression I'm having an issue with is: sed -i '/[^}.to]\.to[[:space:]]/ s/\(\S\)/expect(\1/' ../_spec_seded/"$file" Right now this works fine. Basically it looks for `.to` and insert `expect` at the start of th...
100677
ssh (remote console) between 2 computers from different private networks
I have two computers. Both of them are from different private networks. I'd like to connect from one of them to another (to program on it remotely). I attempted to use some remote desktop software (teamviewer). However, I encountered some issues with internet connection bandwidth and screen resolution. So, I search som...
100679
How do you know what development packages to install before compiling a program from source?
An example for Python: What are the packages/libraries I should install before compiling Python from source? At this point, the only way I know is to `./configure` and wait for it to stop at errors, try to understand the error, and google the error message to find out which development package to download. That's ineff...
10068
Small Distributed Computing Cluster
I'm a high school student trying to build a linux cluster for a project (I have a bunch of decent computers slated for re-image this summer, so the tech department basically says as long as I don't physically break them I can do whatever. Anyway, I don't really know anything about building a cluster, but I'm pretty goo...
100681
What's the right way to install an appropriate package containing <signal.h> on a Linux Mint VM?
I have Linux Mint installed on a VM: `Linux jonathan-mint-virtual-machine 3.5.0-43-generic #66-Ubuntu SMP Wed Oct 23 17:33:43 UTC 2013 i686 i686 i686 GNU/Linux` I tried to compile something that uses`<signal.h>`, but it couldn't find it. What can I install so that a compiler looking for basic header files will find it?
10069
5.1 speakers on soundblaster x-fi 'extreme audio'
The rear and center channels on my 5.1 speakers don't work. I've checked the connections a few time, and turned up volume sliders in alsamixer “System information” in alsamixer correctly identifies the card as X-Fi Extreme Audio [SB0790] at 0xdc00 irq 21 When I try sudo alsactl init ...
100690
Problem installing Debian 7 64bit on UEFI laptop Fujitsu Lifebook NH532
I have installed Debian 7 64bit on my brand new laptop Fujitsu Lifebook NH532. As I understood lately this is UEFI-enabled laptop. At first installation attempt I've not created EFI boot partition, so after the istallation process the system simply didn't boot. Then I reinstalled and during the partitioning process cre...
100692
Error installing gdb-arm-linux-gnueabi
I get an error when I try to install the `gdb-arm-linux-gnueabi` package. This is the error that I obtain when I run `apt-get install gdb-arm-linux-gnueabi`: $ env LC_ALL=C sudo apt-get install gdb-arm-linux-gnueabi Reading package lists... Done Building dependency tree Reading state informat...
100694
More tiling with KDE
I fear that I go into conflicting requirements here, but I still want to ask. I have been using KDE for a while now and I do like its software (Konsole, Okular, Dolphin). I like KWin with its features a lot: * Splitting windows on the left/right side, even with multiple monitors. * Splitting windows into the quadra...
100695
How to add parens around text
How can I use sed to replace text and also append to end of line for the match in question? I have a sed file which is doing many substitutions. One of them changes `~=` to `match(` using `/=\~/ s/=\~/match( /` When doing this, I also want to add a "`)`" (space + end paren) at the end of the line in question (that met ...
10070
No sound when attached to docking station
I have been using Linux and Ubuntu only since the last two months on my (2006) Sony Vaio VGN A617S laptop which is going pretty well on Ubuntu 10.10. When installing Ubuntu audio did get installed alright, and the speakers on the laptop itself are working well even now with the right drivers (snd-hda-intel) for the Rea...
100704
Difference between executing multiple commands with && and ;
What's the difference between executing multiple commands with `&&` and `;`? Examples: echo "Hi\!" && echo "How are you?" and echo "Hi\!"; echo "How are you?"
100707
rsync vs mtime and ctime
I've been using `rsync` for Android to backup my phone to a remote NTFS filesystem on a Linux system for a while. Recently, the HDD containing the NTFS filesystem has started to fail (or throw "I/O Errors") so I took the opportunity to copy all the files onto a new HDD and new NTFS filesystem. In this instance I used t...
10071
How can I enable internet sharing without using the gui or apple script on snow leopard?
for some rather strange reason my sharing preferences tab crashes (it's a long story and there seems to be no good solution for it, it's looking for a ui object that no longer exists). Anyway, I want to enable internet sharing to share my macbook's internet connection with my iPad but I can't find a way to do it withou...
100713
Using Pipeline to Direct Files to Program that Opens Them
I have a `Music` folder, in which I have some music tracks, which aren't organized too well. Thus, if I want to find a particular track, I usually type: `ls Music | grep <keyword>`, where `<keyword>` is some keyword I expect the filename to have. Then my command line will return the name of the file for which I am look...
100716
How can I check my kernel preemption configuration?
I want to check if my Linux kernel is preemptive or non-preemptive. How can I check this using a command, something such as `uname -a`?
100717
Change a Password is not successfull on ubuntu 12.04
i am trying to set a new password for linux Ubuntu 12.04,but on running command its giving something like this $passwd Changing password for ubuntu. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: Bad: new password is too simple Enter new UNIX passw...
10072
Add new user in solaris
I tried to add a new user in solaris 10, but got an error: $ useradd -g oinstall -G dba -d /export/home/oracle oracle UX: useradd: ERROR: Inconsistent password files. See pwconv(1M). I ran `pwconv`, but nothing was displayed. I also tried to sync the `shadow` & `passwd` files, but there's still ...
100722
How do I completely silence a cronjob to /dev/null/?
On my Ubuntu-Desktop and on my debian-server I have a script which needs to be executed each minute (a script that calls the minute-tic of my space online browsergame). The problem is that on debian derivates cron is logging to `/var/log/syslog` each time it executes. I end up seeing repeated the message it was execute...
100726
Hot to make diff check a symlink link itself?
In Linux one can use the command `diff` to check for differences of files. I use it to check for differences across two modules, both copied to `/tmp`. However, both modules have symlinks, which might not be pointing to the correct file, as the modules have been copied to the `/tmp` directory. But this does not matter....
100728
How do I switch from /etc/shadow back to /etc/passwd?
I'm playing with a rather old, heavily customized Linux installation (based on Debian etch, running on a Netgear ReadyNAS device). Recently I've switched from `/etc/passwd` to `/etc/shadow` via `pwconv`. Now I'd like to switch back due to authentication problems with the Apache server, because `mod_auth_shadow` is not ...
100730
CentOS 5 hplip newer version
I am attempting to install a newer version of HPLIP on a CentOS 5 server to all support for a newer printer. However I have been unable to do this so far. I found there was an updated package on repoforge found here http://pkgs.repoforge.org/hplip/. So I installed repoforge and attempted to install. When I tried using ...
100732
I deleted /etc/alternatives/java
I'm on Ubuntu 12.04 on a 32-bits Dell machine. I was trying to install java JDK for 32-bits linux platform and I accidentally deleted the file /etc/alternatives/java. I would love to recreate my old good file in order to build the link with /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java OR with /usr/lib/jvm/jdk1.7.0_45/...
100739
How Wine is not an emulator?
As I understand emulators (in a simple way), they do translate or substitute the function calls of a program using functions of system X into functions used by system Y in which the program is being run onto. Wine project claims that Wine Is Not an Emulator, because: > Instead of simulating internal Windows logic like ...
100742
Which of the following files are true orphan (lost) files and can be safely removed?
I am using a script called lostfiles to list all orphaned (lost) files which do not belong to any package on my Arch Linux system. Whilst for most files I am fairly sure that I can safely delete them or at least know where they come from, for the following files I am not sure if it is safe to remove them. ...
100743
All USB ports detected as USB 1.0, not USB 2.0
My Ubuntu 13.10 server (Upgraded from 11.10) has always had an issue with mounting USB 2.0 devices. Despite legacy being turned off on the motherboard bios, the output of `lsusb -t` always shows the following: root@mediaserver:~# lsusb -t /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 1...
100747
How to mount a flushed hard disk in Xubuntu
I want to recover data from an internal hard disk with Windows Vista. I`m using a live CD of Xubuntu. But when I write: sudo fdisk -l I obtain only the USB disk in which I have Xubuntu live. How can I retrieve the path of the Windows hard disk and mount it? I have tried with those commands: ...
100750
How to recognize harmful AUR packages
How do I recognize if a package which is installed via yaourt on arch linux could be harmful to my pc? I read in the wiki that I should check every installation I make with yourt. But what exactly do I have to check and how do I recognize malicious packages?
100751
Can only get one network to be accessible from outside
So here's a quick overview of my setup: I purchased a new Mac Mini server and I am hosting it with a Mac Mini co-lo facility. At first I had them keep OSX installed and I was using VirtualBox to place CentOS 6.4 (minimal) in a VM. I have 5 public IP's assigned to my Mac Mini (one physical NIC). All are on the same subn...
100752
Debian 7 / XFCE - NTFS partition umounts suddenly
Couple of days ago i faced strange problem: my NTFS partition (separate hard- drive) started to ummount suddenly. when i do umont/mount in terminal - usually it errors on umount, telling me that mount point is busy, so i kill processes and then mount partition again. it makes me think, that _mabye_ the problem is not o...
100754
How to delete a specific line and the following blank line using GNU sed?
I have the following text: Start-Date: 2013-11-11 07:43:49 Commandline: apt-get install --no-install-recommends catfish Start-Date: 2013-11-11 11:27:07 Start-Date: 2013-10-16 22:53:02 Start-Date: 2013-10-16 22:55:16 Start-Date: 2013-10-17 22:41:09 Star...
10076
I am failing to 'git clone clutter'
While trying to build clutter from JHBuild, I get stuck at the stage where I have to clone it: $ jhbuild buildone clutter *** Checking out clutter *** [1/1] git clone http://git.clutter-project.org/clutter Cloning into clutter... It just chills there, and it seems nothing is happening at ...
100760
Is it safe to Install Debian, and possible to go back?
I already use bosslinux and want to try Debian (by installing Debian) would I be able to delete it completely afterwards?
100761
Execute command on remote host fails
I'm trying to execute some commands on remote host like this : ssh -t -t -l user 172.20.20.20 <<EOF pid=$(ps -ef | grep [a]pp-management | awk '{print $2}') && kill -9 $pid && rm -rf CI/* EOF What happens is that I remain logged at remote server and the kill is not executed : ...
100763
How to compare two rfs directories with `diff`?
I've two RFS (`RFS` = `Root File System`) directories, which I would like to compare to each other with `diff`. Both directories represent an RFS of some other system, and they may contain links. If those links are absolute, they will point to something useless. For example, I've one RFS with the following symlink (ins...
100764
Count tabs per line in text file with utils
I have a tab-tabulated file. I would like to check if every line has the same number of tabs. For first step, I'd like to print the number of tabs for each individual line. I've tried `grep -o '\t' infile | wc -l`, but my implementation of `grep` says `grep: invalid option -- o`. Is there an other way? * * * Nice to ha...
100765
Script for running sequential job
I started recently to learn using Linux. I want to write a script in bash shell to run a serial job on a cluster. I have been searching for hints and instructions on how to write such a script. I managed to write the following: #!/bin/bash #PBS -l nodes=1:ppn=8 #PBS -l walltime=1:00:00 #PBS -e...
100767
After crash, e2fsck fails with weirdly high block numbers/sizes
After a breaker trip a Raspberry Pi of mine started to halt boot with kernel panic (same message as here). This is a Raspberry Pi running Raspbian, so it runs from a SD card, from a main `ext4` partition, which I've tried repairing on my PC with: sudo e2fsck -f -y -v /dev/sdx2 However, this eventuall...
10077
Where can I see a list of kernel killed processes?
Is there some way I can check which of my processes the kernel has killed? Sometimes I log onto my server and find that something that should've run all night just stopped 8 hours in and I'm unsure if it's the applications doing or the kernels.
100770
Tab auto completion doesn't work with apt-get install (kubuntu)
I've noticed a strange behavior of my shell on Kubuntu. Auto completion doesn't work well when I try to install new software. It works only for default commands (when I type "apt-get inst" and I press tab, "install" is autocompleted) but doesn't work when I type a portion of name of software I want to install. I've tri...
100771
Is there a difference between ./script and bash script?
Given a shell script file that begins as #!/bin/bash # (bash script here), and has been `chmod +x`ed, is there any difference in running `./script` and `bash script` from the command-line?
100776
How to get past grub rescue?
So this weekend when my Windows install crashed I decided to create a partition for Ubuntu for my application development instead of running Ubuntu on a VM. But I didn't install Ubuntu with the right file system I wanted, so I formatted that partition while I was in my install of Windows. Now I am getting this when I a...
100781
Certain fonts missing from xlsfonts in Centos 6.4
I have a certain software on CentOS 6.4 that gave the following error: X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 45 (X_OpenFont) Serial number of failed request: 15 Current serial number in output stream: 30 Running `...
100785
Bucket size in tbf
I've read many times about Linux's token bucket filter (tbf) and still I don't fully understand how I should calculate the `burst` and `latency` parameters, shame on me :( I suppose that a reasonable latency is around 50 ms. OK, but what value should burst take? The manpage says: > The latter calculation takes into acc...
100786
Why does diff fail when invoked from a Makefile?
Narrow-down of a patch problem I am trying to troubleshoot: Only two files, each with a size of 1 byte: * file `a` (containing `'a'`) * file `b` (containing `'b'`) and Goal is to make and then apply a patch that will change the value of `'b'` to `'a'`. Contents of Makefile are: patch: dif...
100787
Bring Debian to second Position in the GRUB Menu at startup
So, I currently have BOSS Linux and I am going to install debian (currently installing right now) And I want my older OS (BOSS linux), on the first position and the debian, (freshly installed) to be on the second. Please tell me how to do that
100789
How do I run a program in a fresh shell?
I have a program that does a LOT of env manipulation. It sets PYTHONPATH and LD_LIBRARY_PATH and stuff like that. This program needs to run ANOTHER program, but in a fresh env, without all of the env manipulation, but WITH the base env from rc files. I thought I'd be able to do this with csh -c but that keeps the curre...
End of preview. Expand in Data Studio

CQADupstackUnixRetrieval — BEIR, unified schema

A normalised copy of the dataset behind the mteb task CQADupstackUnixRetrieval, one of the tasks of the BEIR benchmark as mteb defines it (a member of the aggregate task CQADupstackRetrieval). Same queries, documents and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by every dataset in this collection.

Source mteb/cqadupstack-unix @ 6c6430d3a6d3 (the revision pinned in mteb)
Domain · languages stackexchange · eng
Queries / documents / qrels 1,072 / 47,382 / 1,693
Qrels per query min 1 · mean 1.579 · max 22
Score values 1 ×1,693
Layout queries · corpus · qrels, split test
License cc-by-sa-4.0

Schema

config columns rules
queries id: string, text: string ids unique and non-empty; every query has ≥ 1 qrel
corpus id: string, title: string, text: string title is always present ("" when the source has none)
qrels query-id: string, corpus-id: string, score: int32 referential integrity to both tables; no duplicate pairs; no floats

Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule above is enforced by a validator before publishing; provenance.json records the source file hashes, what changed, and the output file hashes.

What changed from the source

  • byte-preserved all text — no whitespace, newline, or control-character normalisation
  • cast qrels.score double -> int32
  • kept 3 documents whose text is identical to another document's — a property of the source; note that models embed such documents identically and retrieval ties among them are broken by corpus order
  • renamed _id → id
  • renamed source splits (queries←queries/queries, corpus←corpus/corpus) to test

Load it

from datasets import load_dataset
queries = load_dataset("Hyukkyu/beir-cqadupstack-unix", "queries", split="test")
corpus  = load_dataset("Hyukkyu/beir-cqadupstack-unix", "corpus", split="test")
qrels   = load_dataset("Hyukkyu/beir-cqadupstack-unix", "qrels", split="test")

License and attribution

The data is redistributed under the source's terms — cc-by-sa-4.0. All credit belongs to the original authors; see the source repository and the references in mteb's task metadata (http://nlp.cis.unimelb.edu.au/resources/cqadupstack/). This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.

License discrepancy. The upstream dataset card declares cc-by-sa-4.0 while mteb's TaskMetadata declares apache-2.0. This card carries the upstream value as the more conservative choice.

Downloads last month
45