Pinned toot

The purpose of an open-source project is making source code.

Pinned toot

@david_ross
Why the hell is web still using passwords in 2018?
SSH has been using public key auth for over two decades now...

I wonder if @climagic is interested in this kinda stuff.
Seems very niche though.

sudo ldapwhoami -H ldapi:/// -Y external

This is how you login as the root of the cn=config database in OpenLDAP, which is where you can change the ldap server configuration (yeah, ldap configuration is stored in ldap, funny isn't it?).

ldapwhoami only tests the authentication, you can ofc replace it with ldapsearch, ldapadd, ldapvi, etc. according to what you want to do.

TIL many advanced Linux users don't know about umask(3)

Wolf480pl boosted

@Wolf480pl Hell yes. Also make all copyright expire after 20 years, no exceptions. Free culture ftw.

Make all software and electronics patents expire after 2 years: [y/n]

Wolf480pl boosted
@Wolf480pl @PacoVelobs Computers are the only industry I know where it's acceptable for a piece of software to run at only 5% of it's possible efficiency. Because it's easier to piece the part together that way, rather than trying to squeeze 100% out of it.

And it kinda pisses me off.

Before I was born, IT was struggling with physical limitations.
Now it's only struggling with its own complexity and its own past mistakes.

I wish I had more time and motivation to push the borders of what's possible.

Instead, I spent my time doing what everyone knows is possible, struggling against bugs and bad design decisions embedded in the software I work with. And then for the rest of the day I'm tired.

Why is most of the UX design so fixated on touchscreens?

If you look at game console controllers, you'll see buttons on the front, buttons on the sides, buttons on the back, accelerometers, optical pointing-at-screen, and tons of other innovation.

If you look at a smartphone... it was a single touchscreen 10 years ago, and it's a single touchscreen now. Nothing has changed, except any remains of physical buttons or sliding keyboards were eliminated.
IMO, this is stagnation.

eh, stupid me, all I needed is to define the same function in BOTH of the files.

maybe some total bullshit, like putting a function in the bullshit section (.bss) will do the trick?

How do I make linker fail when producing a shared library?

Details:

I control the content of a.cpp and b.cpp in the following:

gcc -std=c++11 -O3 -fPIC -c a.cpp
gcc -std=c++11 -O3 -fPIC -c b.cpp
gcc -shared a.o b.o -o foo.so

is there a way to make the 3rd command (the linker) fail, but not the first two commands?

Wolf480pl boosted

Reading online news, 2008:
- go to website
- read news

Reading online news, 2018:
- go to website
- no, don’t share location
- hell no, don’t send me notifications
- consent to cookie warning
- consent to policies
- no, don’t open in app
- no, don’t want the newsletter
- skip inspirational quote
- close full page ad
- read news

Happy birthday, @mulander , I hope you'll have a great time!

If you're interested in how the pivot_root syscall of Linux behaves, here's an example of /proc/mountsat, edited for clarity, before and after calling pivot_root

gist.github.com/Wolf480pl/2cf6

One day, I'm gonna override the predictable network interface names, and rename "enp0s25" to "behold".
And then I'll make sure I only have 2 network interfaces: "lo" and "behold".

Steins;Gate 0 ep22 Show more

Show more
niu.moe

Welcome to your niu world ! We are a cute and loving international community οΌ―(≧▽≦)οΌ― !
We are a moderated instance, that aren't supporting harassment nor hateful speech, so what sets us apart? Well, unlike many instances like us, we won't prevent you to interact with instances that aren't respecting our rules.
The main language used here is English, but for most of us this isn't our main language, so it's a great place to learn!

Topics you might find here

Here, we are open to any subjects, but the main ones are:
Fictions / Animes / Mangas / Comics
Gaming / e-Sport / Retro / Speedrun
Programming / Security / IT stuffs
Sometime politics / World events
Pictures and story from around the world <3