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

We will not tolerate snus slander here! long live swedish match

As I Swede snus can suck it.

I will openly hate on Swedish snusers until they stop littering their pouches and cakes every-damn-where. Some of those guys even throw it onto indoor ceilings. It’s disgusting.

In korea people will chug through americanos like its water and dump the cups on the streets because there are no trash cans. If they had nic pouches there there is a good chance theyd clog the sewer system.

Id still take nic pouches and plastic cups over cig smoking losers anyday of the week


something tangentially i am interested in is computing following the 'two person rule' for things like sudo. Yes I am logged into server X at terinal Y, and so is my co-worker and we both sign off on running command X

Had something like this at Google. There's a service running as root (or equivalent) which receives your desired command to run, and it has to get authorization from another user for the specific command to run, then runs it. That makes sense at Google, because those are production machines and have access to LDAP and who is allowed to run a command on a machine is defined by an LDAP group and you would need two of them (or more?) and there's already existing management website this can be shoe-horned into.

Your environment is unlikely to have all of that already, so you'll need to figure out equivalents for all those. But I think you're going to need a local service running as root and it's going to need to be able to tell the difference between distinct human users, if you want secure. Just typos is way easier.


There's a related 2-man sudo login system here, not sure how finegrained it is.

https://github.com/Argonne-National-Laboratory/Pam-2man-Auth


That sounds like you might want to look into digital signatures.

whats more embarassing is the shit tier presentation slop. "This time I didnt just install FreeBSD. I create a system for learning and success".

Anyone who wrote this has no business with FreeBSD or open source.


yes I say this now very often, that PHP has morphed into runtime Java. Quite nice in some ways.

In PHP though the STDlib is not very well thought out, it may be fun(needle,haystack) or fun(haystack,needle) and you just have to remember

empty() will do weird stuff like a string with the value "0" is also empty, so not great for parsing things.

A lot of footguns and the best way to avoid that is with a decent linter that lets you be picky

another thing I mention is avoiding the array_ stuff because of aformentioned reasons, it's easier to remember/reason about boring loops unfortunately.


Why not just use a proper code editor with inlay hints, inline documentation, and autocompletion instead? These things are a non-issue, unless you’re working with Notepad++ or something.

Yea VSCode or Eclipse does this.

I have worked with countless programming languages and they all have little oddities.

#1 symptom - fat necks! if you are like me and had a 17" neck at 185 in high school and now boast a 18.5".... you have it!

Why is that?

Sleep apnea can indirectly cause weight gain, but obesity—particularly excess fat on the neck—is the main controllable risk factor for obstructive sleep apnea, so it’s primarily the other way around.

Blink is a virtual machine. It's like complaining about the Hegemony of Perl

will colorado be issuing arrest warrants for developers ?

The DOJ already has been prosecuting developers of open source tools.

(https://www.therage.co/tag/tornado-cash/)


Right the functionalism-intentionalism debate is certainly glossed over in middle school history studies, and makes it all a little less Hollywood.

if that's true - and in 6 or 12 months i can get what i have today, it might not be worth paying anthropic.

what value does gitlab provide that some glue scripts dont i am sorry


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

Search: