Why do we hate him?
>>51790317
I hate you, Dennis.
>>51790317
I love him.
>>51790317
His voice sounds like he got his testicles removed when little.
So, /g/, a while back there was this thread in which people were showing off cool linux scripts and/or python scripts. I figured it was time to start that up again. So, /g/, show me your scripts.
Rules:
>explain what the code does
>no malicious code unless explained to be
>if copypasta give credit
I'll start. This one finds the average color of the gnome de then sets your terminal background as the color.#!/usr/bin/python2
from...
Comment too long. Click here to view the full text.
command_not_found_handle() {
echo -e ">implying error"
return 127
}
.bashrc, this code changes the output if you type in some command that doesn't exist for example. -e option if you want to use color-codes.
makezip()
{
zip -r "${1%%/}.zip" "$1";
}
maketar()
{
tar cvzf "${1%%/}.tar.gz" "${1%%/}/";
}
extract()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xvf $1 ;;
*.tbz2) tar xvjf $1...
Comment too long. Click here to view the full text.
function lowercase()
{
for file ; do
filename=${file##*/}
case "$filename" in
*/*) dirname==${file%/*} ;;
*) dirname=.;;
esac
nf=$(echo $filename | tr A-Z a-z)
newname="${dirname}/${nf}"
if [ "$nf" != "$filename" ]; then
mv "$file" "$newname"
echo "lowercase: $file --> $newname"
else
echo "lowercase: $file not changed."
...
Comment too long. Click here to view the full text.
Hi guys,
wanna share with you my homemade solution to GPU sag.
Card is a GTX980 G1 and it's got a sag worth of a granny's rack.
So here's what i come up with.
Plastic brackets, so I have electrical insulation. This plastics were taken from some leftovers, nothing purpouse built.
Just made some cuts here and there, some fittings.
Used nuts n bolts for securing.
Now everything is ROCK SOLID, the GPU just doesn't move at all.
NOTE: this is it's neutral position when chassis lays on the side. Guess i was lucky...
Comment too long. Click here to view the full text.
another view
And another.
Let me hear your opinions. I think that's already doing a great job, may come up with some additional fit, finish, polishing, etc.
>>51790050
Maybe instead of routing your PCI-E power cables from the bottom (dragging the GPU down) you should route them from the top (like pic related) and the GPU won't sag as badly. Might still sag, but it will help stop the sag.
This is mine, never had a problem with sag.
sup /g/
I'm considering learning latex as a humanities student in order to write my thesis
is it worth the effort? also can you recommend me any good latex editor for mac?
thanks /g/uys
>>51789957
Post tits
>>51789991
sorry man, I doubt you want to see my mantits
Moving from corporate .NET Windows land to startup hipster OS X Silicon Valley to start a new job in a couple weeks.
I'm pretty familiar with OS X, but I've never really used it for dev. Tell me what you like.
> Command line GIT or GUI client?
> Favorite Editor/IDE?
> Terminal Addons/Replacement?
> Package Manager?
> Finder Addons/Replacement?
> Any other favorite program?
>>51789936
If youre going to write some Mac software, be adviced, GUI client is the way to go, unless it's some niche finicky thing, even then, GUI is the way to go.
OS X terminal shouldn't need to be replaced, it's pretty god tier.
Good luck trying to replace Finder, it's always running and the system doesn't like it when it's not.
>>51789936
> Command line GIT or GUI client?
depends what you're doing, command line will be fine for basic stuff
> Favorite Editor/IDE?
Depends what you're programming, front end web dev go with Brackets, sublime for pretty much all else, python go with pycharm
> Terminal Addons/Replacement?
pip, homebrew
transmit is a great ftp client
>>51789936
>going to start eating shit from my hands in a couple weeks
Why would anyone do this?
What kind of writing instruments do you use on a daily basis? As a line cook, when I do prep, I'm always writing lists for the day and crossing items off as I go, dating prep tubs, etc. I've found that pens with triangular grips are the easiest to use. What do you guys think?
>>51789884
I used to care what I write with.
Now I sketch a lot and write a little bit on a daily basis (mechanical engineering).
Somehow I don't care anymore, I just use whatever.
>>51789946
Do you do drafting?
>>51790157
Yes, but it's done on computer.
I use hand operated writing technology for developing ideas, rough design calculations, etc.
Why exactly aren't you using Elementary OS?
>>51789858
That looks awful.
Because Windows
Because I don't have elementary needs.
i know people will go full rage because of "gaming" headset and >headset in particular
but can somebody please tell me the whats the difference between these two headsets?
KHX-H3CL/WR HyperX Cloud and Kingston KHX-HSCC-ER HyperX Cloud Core.
i've read somewhere that KHX-H3CL have more features but i cant find it anywhere what features exactly? thanks in advance
one bump
>>51789845
I don't know, but I have the cloud and they are pretty nice. Good sound quality
>>51789845
Core doesn't have a few accessories and the memory foam. Cloud II comes with a USB sound card which is good if your motherboard is shit. I personally own the Cloud 1 and love it.
How did functional programming change you? How is it good or bad ?
Clojure guy here, after learning clojure I became much more productive and everything I can do soo many thing with very less code. Feels great brah
>>51789745
it got confusing as fuck because my applications didn't benefit from it
Clojure is not a Lisp.
>>51789833
Then what is it you nigger nogger asshole clogger
Why should I learn this?
I already know basics about socket programming.
You shouldnt. And sockets are useless too
>>51789645
Socket programming isn't even 10% of networking.
You'll also need to synchronize data streams, manage QoS, design high level protocols, implement encryption and so forth.
Don't be THAT programmer who thinks that the only programming language you ever need is JavaScript.
Why should you understand something to build other things on top of it?
I just ordered this box of staples how bad did i fuck up?
Not much at all, just some ordary staples with 4 stars on Amazon
>>51789296
>tfw all staplers are referred to as bostitch in your country
>>51789500
What country is that?
No thread in catalog, so there you have it.
Servers general, post your servers, post uses, ask questions!
I just started and already got my first hdd failure on RAID1, not gonna get another hdd, so is it better to wipe everything and start again with no raid or a 1hdd raid1 will normalize it's performance to run as just a single hdd with no raid?
>Storage/backup server
I have currently 4 5400rpm drives in a hardware raid 5 and sometimes the write speed slows the whole system down, sometimes to the point where even other shares on another drive are affected.
Considering to buy a new raid controller with max cache/cachecade (ssds as cache for reads and writes) and 7200 rpm drives.
Anyone has experience with 15000 rpm drives? Are they worth it or a raid 0 of regular 7200 better?
>>51790609
>15k drives better random read/write performance than 7200 drives
If you need a lot of iops use a ssd, even cheap consumer ssds outperform 15k enterprise sas drives.
IT'S OVER, QUALSHIT IS FINISHED & BANKRUPT
It's not fucking fair. Qualcomm is an SoC company, that's all they do. Apple is a fashion company. How do they manage that kind of IPC in their processors?
>>51789422
Jim Keller.
>>51789084
You misspelled Apple.
Should I shill?
Only if you get paid
>>51789045
I forgot this thing existed after the joke that is the iPad Pro got all the attention, what's up with the Pixel C and why would I buy it over a Surface?
Shill Nye the Goyim guy
SHILL!
SHILL!
SHILL!
SHILL!
Never lose your cool edition.
Intended for users of all levels, including absolute beginners.
There are three ways to try Linux, you can:
1) Install a Linux OS on a VM (Virtual Machine/VirtualBox) for "safety purposes"
2) Use the Live ISO directly without installing anything, that way, you can get a "full Linux experience".
3) Go balls deep and overwrite everything with Linux (not recommended)
If you are serious about switching to Linux and if you have Windows dual-booted (recommended for pure newbies),
we recommend...
Comment too long. Click here to view the full text.
What is Linux (or GNU/Linux for Stallmanists)?
https://wiki.installgentoo.com/index.php/GNU/Linux
Babby's First Linux (What distro to choose?)
https://wiki.installgentoo.com/index.php/Babbies_First_Linux
What software does /g/ recommend? (Please DON'T include the so called infographic -- refer all your recommended software here.)
https://wiki.installgentoo.com/index.php/List_of_recommended_GNU/Linux_software
Ricing on Linux (Make it good and functional or make it worse like those at desktop threads)
https://wiki.installgentoo.com/index.php/GNU/Linux_ricing
A...
Comment too long. Click here to view the full text.
>>51788384
Reposting
>no drivers
>no worthwhile applications
>shittiest sound system of any OS
>WINE the only worthwhile program
>WINE only works with 1 out of 10 programs
>community of raging autistic man children
>10 utilities for any 1 task
>Each of those 10 utilities are terrible in their own unique way