Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "tmux"
Being a web developer somedays makes me feel like:
Wow! Look at that super awesome thing these guys coded, and I'm just sitting here aligning divs and changing font colors.12
A friend bought a new expensive mouse.
I made the mistake of asking how it feels in his hand.
His response was "Heavenly. Like cupping an angel's ballsack".7
Most awkward moment of my life happened 10 mins ago.
I really enjoy playing a sad trombone sound when someone says something stupid. I even have a widget on my phone's home screen so that I can play it almost instantly.
It's actually very funny when I use it with friends.
So, today I walk in the office during a rather heated argument between my boss and a sales lady who has been in the company forever.
I sit on my desk and pull out my phone to connect it to the charger since it was getting a bit low.
As the boss completes his phrase and there is that half second silence before the other person starts speaking I accidentally pressed the trombone button, playing the sound at full volume for a full 2-3 seconds that, needless to say, felt like an eternity.
Don't think I'm getting fired but God it was awkward.10
Holy shit I love this, that's fucking amazing, it's basically a modern terminal browser, that actually has html5, css support etc. not like elinks, especially nice inside tmux for sure.
"Browsh is a fully-modern text-based browser. It renders anything that a modern browser can; HTML5, CSS3, JS, video and even WebGL. Its main purpose is to be run on a remote server and accessed via SSH/Mosh or the in-browser HTML service in order to significantly reduce bandwidth and thus both increase browsing speeds and decrease bandwidth costs."
A moment of silence for all the USB flash drives that we purchased and have no idea where they are or who did we borrow them to.7
At this point it's pretty much a matter of time before the English language runs out of words and JS framework developers resort to random strings for naming them.3
Sometimes I wish my girlfriend was able to write code so we could talk and share our code and thoughts.
Sometimes I thank God she finds it the most boring thing on Earth and we get to talk about other things and decompress.13
So I have been freelancing as web developer for 5 years. I was also playing basketball professionally so I was only working part-time, building websites here and there, small android apps to learn the job and I was also reading a lot to challenge my brain.
When I stopped playing basketball about a year ago, I thought I would really enjoy coding full time so I pursued a job.
With no formal education and just a basketball background on paper, in the collapsed Greek economy, as you may assume chances of landing a job are minimal.
After about 40 resumes sent I only got an internship. It was a 4 month, part-time, no pay deal, and then the company would decide if they would like to hire me later.
The company had 4 employees and they are one of the largest software distribution businesses in my area. They resell SaaS bought from a third company, bundled with installation support, initial configuration, hardware support, whatever a client may need.
I was the only one with any ability to code whatsoever. The other people were working mostly on customer support with the occasional hardware repair.
After the 4 month period they owner (small company, owner was also manager and other roles) told me that they are very happy with my work and would like to keep me part-time with minimum pay.
Just to give you and idea if the amounts of money involved, in Greece, after taxes, my salary was 240euros per month. And the average cost of surviving (rent, cheapest food possible, no expenses on anything but super basics) is about 600euros.
I told him I needed more to live and he told me ok, we will reevaluate a few months later, at the end of May 2017.
I just accepted it without having many options. The company after all was charging clients 30euros per hour for my projects so I kept thinking that if I worked a lot and delivered consistently I would get a full time job and decent money.
And I delivered. In the following months I made a Magento extension, some WordPress themes, a C# application to extract data from the client's ERP and import it to a third application, a click to call application to use Asterisk to originate calls from the client's ERP, a web application to manage a restaurant's menu and many more small projects. Whatever they asked, I delivered.
On time, version controlled, heavily documented solutions (my C# ones are not exactly masterpieces but it was my first time with the language and windows).
So when May ended I was pretty excited to hear they wanted to keep me full time. I worked hard for it, I was serious, professional, I tried a lot to learn things so I can deliver, and the company recognized that. YAY.
So the time comes to talk money. The offer was 480euros per month. Double my part-time pay, minimum wage. I asked for about 700. Manager said it's hard but I will see what I can do. So we agreed to keep the deal for June while they are working on a better offer.
During the first half of June I finished my last project, put all my work on a nice folder with a nice readme on every project's directory, with their version control and everything.
The offer never improved, so I said no deal, and as of today, I am jobless.
I am stressed as fuck and excited as fuck at the same time.
I will do my best to survive in the shitstorm that is called Greece.
Bring it on.9
At school @desjna and I are working on a project where we have to make a website.
I just said "fuck that, I'm doing it in HTML / css "
Also.. this is in the class with the teacher that thinks I'm hacking... My go-to web-dev environment is tmux with green text and black background... This is going to be "fun"
Predictions on how long I can make it without him flipping at me?15
Hating WordPress is cool these days, but:
1) Shitloads of themes for clients to choose from (I'm not good with designing and where I live you are more likely to meet a unicorn than a front-end developer that can code).
2) Non technical people can understand it's admin interface without lots of explaining.
3) Huge community makes it extremely easy to find answers even when looking for pretty specific stuff.
For me it's a valid option when making something simple.18
What is your editor/coding environment fashion setup?
Here is mine and I am very proud of it:
Termite terminal + dvtm (like tmux) + Nano with semi-custom syntax files.
Left language is C, right top C2 (c2lang.org), right bottom my build-system25
So, California, land of no rain whatsoever.
Until today, where it actually rained!
Also today, a weather applet for tmux started misbehaving. Suspicious.
Coincidence, I think not! Sure enough, stopping that applet from running fixed everything. Turns out, the raining icon breaks the terminal, for some strange reason.
And why had this not been discovered earlier? This had been the first time it had rained for at least 8 months, and I added this only 4 months ago. Thus, it had never had its time to shine.
Yay for strange encoding!
Anyway, I now have a new excuse; blame bad code on global warming.3
I believe the next step of devRant development should be open sourcing everything and letting us help with further development.
I'm spending time here, why not help a bit too?5
TMUX. The best thing EVER.
These days I can go around with my trusty 64GB USB3.0 flash drive, boot Linux off it, and use the VT to start Tmux.
Window 0: Editing
Window 1: Build testing
Window 2: CMakeLists.txt editing
Window 3: Web (Lynx!)
Window 4: Research (Manpages and Info)
Window 5: Music (CMus!)
I can launch the whole thing with a quick script. I don't even need to open the GUI. Everything is accessible from the VT.1
First day with vim + tmux lots of command remembered :) and added lots of plugins let's see how it goes :)5
So... Been making a script so that my tmux layout on my tty only hard drive displays the weather.
Apparently there is a place called 'Shit' in the world, and there's some 'Patchy rain possible' in 'Shit'.
'Shit' also seems to be 15 °C, and have 3km/h winds. Not sure which direction, but I hope nowhere near my house.8
> Go to co-workers working machine
> install tmux and mps-youtube
> play very subtle sounds from console
> close console but keep session running with tmux
> watch coworker go insane because he can't detect the sound source
How to make your coworker go insane in 5 easy Steps3
Got fed up with having to use the mouse/trackpad while editing code or using the terminal, so I decided to (finally) learn proper vim keybindings and tmux.
Boooooy oh boy, this certainly changes things.
I think I'm in love with tmux. Damn that piece of software is so sexy. Disabled the mouse, propped up my dotfiles and installed tmux + my conf on all machines I use. It's so useful, so fast and so pretty...
Spent some time with vimtutor too. Finally getting faster with the keybindings. Installed neovim, got some plug-ins (nerdtree, fzf etc), disabled the mouse and arrow keys, and made it pretty. It's actually pretty nice, but I'm not at the "buff gorilla who took speed and pressed 24 keys in a microsecond" typing level yet. One day though.
Also I'm using the Nord color scheme on everything. Overall pretty satisfied with the end result. Still not as productive as I was with VS Code, but I think I'll eventually surpass my previous productivity levels.
If anyone has any tips for vim/nvim or tmux, feel free to share!10
So this is what happened!
It was a rainy Friday, I was asked to add a quick bug fix to a js application, I spent my Friday coding, testing ..., baam the patch is ready ... I wrote a nice commit message explains the problem and the fix but I didn't push the code.
On Monday the fuckin code disappeared, no commit no code no nothing no trace ... To be honest I don't know what happened. I rewrote everything on that Money morning (you can only imagine how pest I was)
I use vim with tmux.
I have done everything I could to figure out what happened to that commit, I even doubted If had did wrote the fix that Friday, but it's not possible to forget few hours of a day
I checked my commit history on the different branches i did everything
No trace ...
My machine is hunted ...
Or I have multiple personalities and one of them is a programmer and he is fucking with me5
take adderall and stay up coding all night extremely effectively, but then u keep going and by the end of it you're just optimizing your vim plugins and installing a new linter
moving to cli only because desktop contains distracshiunns.
can someone answer me some questions?
1) where to download a lot of music (hardstyle)
2) how to do project management in vim?
3) how to tmux in multiscreen?
4) how to use github in cli well (ik how it works, but maybe there are some things that are good to knew)
5) is lynx REALLY my only option for browsing the web?
hope my questions can help some fellow ranters, thanks in advance for answering24
The problem I have with atom, vscode, sublime, and notepad++ is that none are available on the command line over SSH, inside tmux. And that's where I do the vast majority of my text editing.
The first text editor I used on the command line was pico, the technological successor of which is nano. I used it because when I was in college in the late '90s, we used pine for our email, and pico was the default editor for pine.
When I got my first job out of college in 2000, I found out about vi, and very quickly fell in love with it, and its technological successor: vim.
The only reason I've never gotten into emacs is because I've never wanted for more than vi/vim. And also because as a system administrator, I'm logging into dozens, of not hundreds of servers a day. While vi or vim is guaranteed to be on all of them, emacs is not.
So, for me, the use of a desktop text editor like the ones I mentioned at the beginning of this post, just doesn't make sense to me. I almost never edit files that live on the computer where I'm sitting, and I'm not interested in doing a commit/push every single time I want to rerun a script.20
Part of the commit message I wrote yesterday after discovering that I used break instead of continue to skip a foreach iteration.
Trying out i3 (gaps) now. Time to mess my brain up with all these keybindings from i3, vim, termite, tmux, uzbl...
Could have tried qutebrowser too but sadly it doesn't work in my raspberry pi.10
Speaking of annoying stuff in coding. What the fuck is it with the localized error messages?
No. Fuck you. No. Give me the English version so I can google it and find answers from the huge English speaking community instead of the tiny community of my language.6
Was using tmux with mouse enabled before and now post-reinstall tried tilix, gotta admit - it can replace xfce4-terminal for me entirely, except for rice screenshots, because it doesn't support w3m lol10
I've been said during college that I have to use an IDE for programming. It was okay.
When I got my first job I was said that true programmers use Sublime text or Notepad++. It was okay.
I just discovered vim + tmux and I don't understand how I've never been told about this. I'm the happier person ever.7
My productivity has gradually increased untill now by using:
Any further suggestion on dev tooling setup would be appreciated.
I primarily work on DevOps projects - bash scripts, linux server apps, containers, kubernetes,11
Tinfoil hat time!
So, for this scenario we assume a world war has is in full swing, and all communications are either completely out or extremely monitored.
Additionally, no servers can be trusted and no ISPs can be trusted. Even when downloading software you cannot know if the software you got is tampered or not.
You have to send a message to a recipient you cannot physically contact, and you have to make sure him and only him get the message, otherwise nukes are deployed and we all die. The message has to arrive within 3 months or else it's too late.
Is it possible? If yes, how?17
I am a lazy ass dev.
All I would make is a way to control my machine by thought.
I could then proceed to spend the rest of my days developing in bed, ordering food online and never having to move a single muscle ever again.
recently got introduced to this very nice tool called tmux. I'd highly recommend it. Here's a nice read as well.
After having my soul suck away by "corporate", I installed VS code on my Windows 10 gaming machine.
Now, I have a pretty hardcore dev setup on my MacOS (it's unix-based and it's good, so stop the hate). I'm talking about fully automatized Rakefile that will provision it from scratch: vim, macvim, tmux, iterm configs, 15+ brew tools, 15+ brew-cask tools, themes, plugins, etc.
Installing VS Code, Node and MongoDB on Windows, just for the fun and giggles, and not having any of my hardcore tools, made me feel like... it's something silly and fun again. I'm once again that softcore developer with no stress and no constant self-reminder to improve workflow effectiveness.
Made me a little happy.
Checkout this picture, this is my Windows 10's "tmux" lol3
Why didn't i use 2880x1620 resolution on my zenbook before?
Jesus it feels that i got so much more space and and it's pretty awesome
tmux + i3wm feels even more awesome4
Back to using WSL because I suck at installing windows apps on Wine (and that I can't seem to connect to a WiFi with PEAP on Linux that the network admin know how to except on Windows).
So can't exactly rice Windows. I know I can with raindock and all that but its not the same as Linux. So I'm on WSL, installed tmux and wouldn't you know it, I found plenty of dot tmux files on Github.
But alas, its not the same as i3wm but its close.8
Gotta learn myself through vim and tmux because I have no choice. My laptop burst and all I have is a Raspberry Pi with Raspbian core + MATE DE installed. Don't really wanna use heavy stuff with it because it'll become really snappy.
Oh well, as long as I can code.9
So Igot that Samsung DeX thing a while ago. So far, it was just a nice gadget to have at hand, but I didn't get to use it properly since my laptop was always the better option sort of.
My power adapter for the laptop died last friday. I have a second one at home, but of course, I pack the wrong one for work.
Ended up working the entire day on the DeX. Thankfully, I just needed to do some web and office based stuff, and all the necessary documents are online anyway.
So that thing just saved my butt today, which is nice. Took a while to get used to, but it does it's job quite nicely.
To be honest: Iam suprised it works the way it does. Oh what a time to be alive...
Now the question is...
Can I get Ubuntu on here somehow? I did find a Tmux? shell and was able to download some ubuntu onto it, but it had gpg issues.
Anyone got more references? Ubuntu on Android 8.15
Vim + Tmux = Heaven. I love it.
I'm also getting better at the hotkeys (and there are A LOT of them) so it's a really nice experience when you can do things faster than using a IDE. I only missed the auto complete, so it's very very hard sometimes (DB connection for example).
I may look crazy for going back on time using it but it's so good i can't stop.2
why do all of you get so hyped when you install arch linux? you guys sound like the type of people who jack off to arch lmao. lets keep it real tonight, some of you legit ejaculate fantasizing about arch linux like "ohh archh mm 💦💦 ohh tmux 💦 i3💦💦💦linux baby give me more👅💦"
maybe even cool hackermans who brag about installing arch wanna use it for hacking. r u a better hackerman now that u use arch linux ?10
I just discover vim-anywhere and tmux at the same time.
It's mind blowing!
Every time I was changing something on my website over SSH I have to go out for a few minutes and I have a TimeOut.
Vim-anywhere does not need any comments.
Confession: Sometimes when I need a minute break and someone is looking at my screen I run 'tree /'1
Browsers are really terrible with printing.
This is annoying when building web apps for internal use in businesses.
Learning tmux is making me regret finding gnu screen first.
On a related question, can anyone point me to descent resources to learn it tmux?6
Just spent 30 minutes learning how to copy paste from tmux, on my virtual machine, to then set up a text file linked to my local machine, and paste >> file.text. So that then I could open the text file locally and ctrl-c to copy it
How long was this text, a 20 character url. I'm now contemplating why I spent 30 minutes doing this rather than spending 5 seconds typing it3
If no one has asked your question on StackOverflow, chances are there is a typo right in front of your eyes and you are missing it.1
A few weeks ago I posted about attempting to learn vim. It was hard to get started, but holy shit I'm glad I stuck with it.
I'm by no means an expert(pretty far from it), but I'm trying to learn new commands to use each day. I actually look forward to opening up my terminal and typing. I can say that in a few short weeks, I already feel faster than in my old text editor.
Oh, and tmux is awesome too!9
How many hours does it take to get your configfiles right?
First .zshrc, then .vimrc, tmux, weechat, wpa_supplicant, grub... so much config.
But that's sort of the fun of it all3
Finally got powerline working in tmux on my iMac. I found some obscure issue where there's an async problem occasionally on mac where you have to reload the daemon and config manually for it to work. Two days of fighting with this but it finally worked! It's a Christmas miracle!
Not really hacking, but every time I work from home(a couple times a week), in lieu of using my company's VPN, I connect to the company network with an SSH reverse tunnel. To make this possible, I wrote a port knocker that runs in a tmux session on a server inside the network. It tries to connect to a high-numbered port on my home machine, and if successful it opens the reverse tunnel. At home, I manually run a script that opens that port and informs me when the reverse tunnel is established.
Then I open an SSH socks5 proxy and use that in my Firefox dev edition, which I use entirely for work.
This is actually much easier than using the actual VPN.
Best shell (bash) utilities to install? Looking to pimp up my headless server. So far I have tree (path visualizer), tmux, and nnn (disk space tool)8
I'm noticing that installing a new distro and making it your main distro tends to be very stressful to me.
Here's a couple of reasons why:
There's this anxiety I get that is just crazy, like I need to set this thing up perfectly, meanwhile I have work to do.
And the thing you estimated to take 2 hours at most ends up being a full week.
Work starts to pile up but can't just shake the obsession with setting this thing up.
Another reason is that usually my main distro instance tends to be VERY customized.
So much that when you switch, you need to configure those things again, and troubleshoot a lot.
Troubleshooting isn't a problem in itself. The problem is that you're trying to troubleshoot with a machine that needs troubleshooting.
the shell, the editor, the terminal, the window manager, tmux, the notifications, the custom kb layout. it was all so neatly customized that fixing problems on the machine was manageable.
but without all that I feel like an idiot.
Even something as simple as keeping having youtube music to focus is now intermittent because you need to restart the X server.
Maybe my problem is that I don't do well for bootstrapping.
Anyhow, I'm really stressed right now, but I think it'll be worth it.2
Worked with Linux for a few years, now I need to write something for Windows so I installed and got to it.
God the pathing hurts my eyes.
I discovered Tmux recently. I already love it!
(if you want a list of plugins used in both Tmux and Vim, just ask. I'm also open to suggestions since it's something I don't really know too well)5
How do you do bootstrapping of blanko machines?
Imagine you get a linux/BSD/osx machine and you want it set it up to a defined state to be prepared for further setup.
Config management client or credentials
Software like vim, htop and tmux
A simple shell script sounds a bit archaic to me and i was wondering, if there is a better way...
Makefiles also came to my mind but still... Unsatisfactual4
Day #1 on THE other project. Nothing fancy, just setting up my dev env. Got a decent pc with all the required network permissions. And this time I got w10 [last year I was working there on w7 pc via rdp from another w7 laptop. Dont ask...]
of course no localadmin rights to set shit up. Downloaded all the installs, found someone who has admin rights to run them. I even managed to get admin powershell!
Ran all installers, enabled long paths support, env vars, tweak here, tweak there,... Installed git bash to at least have a taste of shell. Decided to try out wsl. Enabled the feature, didnt reboot right away.
Rebooted. 2xclick on ubuntu setup and I get an error claiming wsl is not ebabled. Wtf? Did I do it wrong? I see bash command is there now so I must have done it right. After some googling I found out that even though I can enable wsl, it doesnt work on my version of windows. It's too okd they say. Yeah, tx MS, that's very intuitive and user friendly!
Allright, my hopes to habe a decent sub-os died. Git bash it is :( but I miss tmux soooo much. Then I came across smth that caught my eye. Msys2 it's called. Apparently it's based on cygwin and has a pacman package manager! ´pacman -S tmux´ -- hippee-ka-yay motherfuckers! It's not the best terminal emulation, but it works quite allright and it has tmux. And netcat!
Banished to mouseclickerland still managed to find a good enough shell. Yayy!
So there it is. My first day's ups and downs, disappointments and discoveries.
If you know a better shell I could set up on w10, please, share
Are here Vim users using the dvorak layout?
I am thinking of learning (programmer) dvorak but I am way to comfortable with Vim. I think Vim itself would not even be my primary concern since one should not use HJKL anyway. But I also have these bindings for switching tmux panes, vim splits and windows in i3, etc .
I think Dvorak would be a great opportunity to finally learn touch typing but I fear that Vim is not compatible with it.
So what is your experience with these two? Does it work? Is it worth it?2
Drupal I'm seriously about to lose my shit.
I want to show one fucking image and one fucking title in my own custom markup.
Feels like I'm trying to create and launch a fucking nuclear weapon.3
!rant // more like a warning
If you use tty (no X or graphic env) and use tmux as terminal multiplexer -> avoid using mpv in it.
When you use -> mpv --vo=drm "video name" in tmux session and want to pause video -> cpu usage will climb up to 100% on single core.
(can make laptop warm)
(I don't know what exactly cause this but my theory is, tmux cant redraw after video is pause and it keep trying forever and end up using cpu 100% on single core)
- use mpv on another tty which you didn't run tmux.
- example : tty1: all stuff, tty2: mpv.
And cpu usage will be normal after video is pause.4
Frontend people, I need your opinion.
I will soon start building the next version of a rather large project's frontend but I am mostly a backend guy.
It is a custom made web application (PHP, Postgres) that handles all business aspects of a shipping company of about 50 people (trucks, truck free space in shipments for new packages, package tracking via gps on the truck, invoicing, reselling shipping services to other businesses, everything).
The existing frontend is using an ancient version (1.x) of the YUI framework and uses AJAX heavily to refresh the user interface. It's usable, but maintaining and extending it is getting really hard as the project grows larger and larger and more systems are integrated.
So the question is, given this use case, what JS framework do I use and what is a good resource to start learning it?5
bluetooth headphones full charged.
2 i3 workspaces (tmux-vim, firefox)
ctrl-m (pianobar start)
phone in silent (gfy) mode
Was having a look on some videos about Vim and discovered the tmux+vim IDE like workflow. Why isnt this more popular? I find it insanely awesome. Especially the pair programming part. Drivez me crazy for not having programmer friends.6
Get my linux box to show different tty's on different monitors. (Or maybe just tmux? Split?)
Regardless, I think I'll marry her.
Tmux. Motherfucking tmux, I don't even have to tell you how fucking good tmux is.
Combined with tmuxp, it's even better. Develop on all the devices with saved sessions! Share sessions across nearly any device? Fucking sweet. With fish and oh-my-tmux also?!
What a weekend!
I need some beer.2
Anyone who uses vim + tmux? Did you remap the tmux keys to vim keys? How have you configured the keys to control tmux and get an efficient workflow?6
Anyone uses Tmux and Vim with NON ASCII Right to Left Lang (Persian/Hebrew, ..)? That combination is a shit and gets worse if you enable mouse on vim and tmux. Every insert made screen to dance and characters to tumble. switched to Screen.2
Holy shit, finally had the time to look into tmux and also accidentally discovered you can resize the panes via ctrl+b then hold ctrl+[arrow-key] to resize it to any side, but I can't find any use for it all myself yet, since I just use some terminal emulator that has tabs or use the inbuilt virtual-desktop, still an exciting and cool thing to have played with, though I would def. change most of the hotkeys to something less capslock heavy, since it's rather awkward to first press ctrl+b then shift+2 etc.
A fully deployed end to end example of CQRS/Eventsourcing using Haskell.... I only get 1-2 hour chunks to work on it sometimes weeks apart! Even then I get bogged down trying to improve my workflow with tmux and other cool Linux tools. 😣
Open file with Atom on remote server via FTP.
Edit at will, hit save and BOOM. Now you have an empty file.
Confession : I swear -> my sweet Arch Linux was freeze in my laptop in my super lightweight tty env + tmux after about to quit demonstrate my friend about vim in vimtutor on yesterday.
(1st freeze after 1 half a year of using it. Maybe something wrong about my rot potato, but hey -> its a things ;)
(no data lost after hard reboot after all.)
(First time it failed without me thinker it ;) -> Its not my fault Jim~)12
vim: because best editor ever
tmux: split windows and copy/paste in console only systems like servers, although i use it on my pc also.
fossil: much better than git, easier to manage1
The no of times you type exit when you're inside a tmux inside ssh inside bash inside command prompt inside windows is too damn high.
When you are super busy and trying to get things done, you feel like your iTerm is a bit weird so you decide to detach your tmux and close your iTerm.
Then, open iTerm, auto attach tmux, "loss tmux server", "Restoring..."
OK, time to head home.
Tell me about your experience developing apps on a Mac.
I heard a lot of people are displeased by the platform. At the same time, I'm comfortable developing web apps on a Macos (using vim + tmux) and want to know whether I'm missing out.4
I have a php background and just got hired at an agency that works with Drupal 8. I have a month to prepare, can anyone suggest me any good resources?
Most things I find online cover what is different between Drupal 7 and Drupal 8 and are completely useless to me since I've never worked with 7.3
Anyone with Drupal experience out there? I got hired at an agency that uses it and I'm super nervous. Any ideas?