Hacker Newsnew | past | comments | ask | show | jobs | submit | josepmdc's commentslogin

`sudo vim` will not load your user's vimrc, sudoedit will


Which is arguable an attack vector. Depending on how careless the user is, there is far more likely a chance that malicious code is found in .vimrc than is found in the VIM executable.


sudoedit runs your editor as you, not root, so unless I'm misunderstanding you, no such attack surface exists.


They’re probably referring to the attack surfaces of the extensions you have loaded in your normal configuration, as opposed to the probably empty environment of root.


It will also run your entire editor as root, which may not be something you want.


I actually would prefer the editor binary to run as root, rather than have my VIM config available. Any malware that could replace my system VIM would already have access to do whatever it wants to anyway. But malware to alter my own VIM configuration has a much lower barrier to entry.


I'm exactly like you. I can just think for hours. Sometimes at the end of the day I wonder what I did and I can't find an answer, I spent almost all day wondering in my mind. It can be a problem sometimes as you said, since I can't really pay attention in class, when someone is talking to me, reading a book, etc.


My solution to that aspect of time wasting is to write it down. I don't think I am unique in this aspect but sometimes my contemplations are circular, the deeper I go the more I have to rehash my thoughts, which wastes time.

I find it writing it down eliminates that problem significantly. Depending on the thought I follow two different approaches.

1. Write down what comes in mind, each thought a separate point. If it's causal, like A -> B -> C, I will re-arrange my typed up thoughts to match the pattern. So it works like a sorting queue for thoughts.

2. Mindmap. Usually when I am trying to think of all the likely scenarios, which ends up having multiple causal trees, and sometimes thinking about a 3rd dependency will make me think of a similar dependency on a different tree...that's when a lot of the cyclical thinking happens, so writing it down like a mindmap is like a weird breadth first approach.


For that use case you can just use a temporary email provider like temp-mail.org which are harder to blacklist since they have a lot of random domains.


Firefox Relay seems easier to use, thanks to the one-click generated emails by the browser extension and the fact that the emails arrive in your actual inbox. But I agree that the domain is going to land on all the blacklists -- I hope they implement alternative domains for this reason.


Yep I often use "ten minute mail" for this too.


You can do the same with GitHub. Until now GitHub pages are always public even if the repo is private.


i see thanks


I think it's because when you spend a lot of time with someone, you start to notice all of their annoying quirks you don't usually see when you just met them. So after a while you start to get tired and annoyed of them, and the way to deal with it is with anger.


This is the simplest way of doing it and in my opinion the best. You can just have all of the files where they are supposed to be without the need of symlinks or anything. I've been doing it this way (well a bit different but very similar) and it works like a charm.

I explain here the steps of how I do it: https://github.com/josepmdc/dotfiles#2-if-you-want-to-manage...


They just give you the bare minimum so that you can configure it the way you want. And it's really easy to configure, at least i3 since it's the one I use. If you don't feel like configuring it yourself you can always go to r/unixporn and copy someone else's configuration.


May I ask for the music? Do you happen to have a playlist? I really like it. And great game it looks really neat and it's relaxing.


If you refresh the page, you'll now find the playlist at the bottom - glad that you like it!


Great! Thank you


Yes, the same happened to me. Maybe an extra button where the music and hint buttons are that says how to play or something like that.


Yes, I'm from Spain and here a senior dev gets paid around 50-60k. That would be the salary for a junior dev or even an intern in the US. As I junior dev I get paid 26k and it is considered quite high.


Just wondering how does that work out to cover your cost of living? For example how much is rent, food, etc.?

I live in the Bay Area and my home owners insurance (fires, earthquakes), property taxes, etc. are that much.

Very much looking to leave this area in 2022.


Depending on where you live rents can be higher or lower. In richer cities apartments might start at ~1200EUR, in other slightly more remote areas (everything is quite close together regardless..) 700EUR might be a more normal price. These are prices in the northwest of Europe, in Spain they are likely lower. In eastern Europe, much lower.

Most people in Europe with "normal", even though highly skilled jobs do not make large wads of money. Freelancing and consulting is where it's at (or Switzerland).


Intern salaries typically beat that in the SF at the larger companies, which is pretty wild by itself but is obviously just in line with the rest of the pay scale.


Are those figures pre or post tax?


They are before tax


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: