There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kbin.life

Sunny , to linux in What email client are you guys using?

Thunderbird all the way 🙌

makeasnek ,
@makeasnek@lemmy.ml avatar

I have used Thunderbird for years. HOWEVER:

  • I don’t know why Thunderbird can’t get a reliable, functional search ability. It’s such garbage. I constantly have to delete my entire search index and start from scratch, it is immensely frustrating.
  • The problems connecting to gmail are also so frustrating. Yes, they are Google’s fault but if you make an e-mail client you maybe need to add a workaround for the world’s most popular e-mail provider. It’s totally fixable because you can apply those fixes manually.
Salix ,

I don’t know why Thunderbird can’t get a reliable, functional search ability. It’s such garbage. I constantly have to delete my entire search index and start from scratch, it is immensely frustrating.

Maybe see if Betterbird’s search works better for you

makeasnek ,
@makeasnek@lemmy.ml avatar

Wow very interesting thank you! I like that it can be run side-by-side from the same profile to test it out. If search was fixed I would have never migrated so much of my e-mail to gmail.

possiblylinux127 ,

Are you taking about the semi recent rewrite or the old discontinued version?

makeasnek ,
@makeasnek@lemmy.ml avatar

All versions over the past decade including the latest one

gardylou , to youshouldknow in YSK the full scope of the recent US presidential immunity decision

To this point, the military has remained an independent institution that has followed rule of law–the Iraq War, however awful, was legally authorized (note: I am not saying that soldiers haven’t done illegal things, but the military writ large has been beyond the reach of the president to be wielded like a weapon to do explicitly illegal things).

Trump mused bombing antiquities in his presidency, and the military swiftly responded that they are bound not to follow illegal orders.

My fear now is that if military leadership falls into the wrong hands, immunity can be used to argue that the conduct is no longer considered illegal, or the line becomes so blurred that it ceases to functionally exist.

If that happened under a president like Trump, God help us, every horrible nightmare outcome could be on the table.

Varyk OP , (edited )

Great point.

We’ve passed the point that everything “could be on the table”, everything is on the table as of that ruling.

Biden is right now absolutely unfettered by the Constitution, amendments, federal and state laws, according to the supreme Court.

Biden immediately made it clear that no American was above the law, but right now he is above the law and choosing not to take advantage of the now unrestricted power of his office.

Not likely to be a tradition in future presidents.

baldingpudenda ,

Wasn’t trump firing a bunch of higher up and placing toadies trying to get the government to back him?

kmartburrito ,

He was but didn’t quite get there last time. He’s learned from his shortfalls and will do a much more thorough job if he’s elected again, you can count on it.

originalfrozenbanana , (edited )

Yes, this is probably the real motive. “Arrest and execute my political opponents” cannot be ignored by the military without a coup or being in dereliction of duty. I think another nefarious change here is not that the actual power has changed but that the Supreme Court has given face value validity to illegal acts. The President has always has unmitigated pardon power for federal crimes. They could order the military to commit illegal acts and pardon them preemptively so that they were not punished. A reason why that hasn’t happened is that the optics of that are horrifying - the President and military must admit to a crime being committed to pardon that crime. With this ruling there is no admission, no face value legal wrongdoing, and plenty of plausible deniability.

SCOTUS knew precisely what they were doing. This is a significant expansion of presidential power, yes. But they know that the real issue is political. What they want is the President to be able to argue that illegal things are legal because the President did it, instead of arguing that illegal things are not punishable because the President pardoned the criminals.

The President can literally shoot someone in cold blood, in public, and as long as they can deem it an official act it is de jure legal.

You might be asking why the right isn’t worried that Biden will abuse this - the answer is because they know he doesn’t have the balls. The left still thinks we’re in 1968 fighting for rights with mostly peaceful protests. We’re in 1938 and we’ve already lost.

p03locke ,
@p03locke@lemmy.dbzer0.com avatar

The left still thinks we’re in 1968 fighting for rights with mostly peaceful protests. We’re in 1938 and we’ve already lost.

“Evil always wins, because good is dumb.” - Some moron in a helmet

Dkarma ,

You’re spot on until you conflated Biden with “the left”.

Liberals aren’t left.

originalfrozenbanana ,

k

grue ,

@originalfrozenbanana really seems to hate getting called out for his scapegoating lie.

gardylou ,

Agree with everything except why Biden won’t do it–its a paradox of trying to maintain our status quo democracy with the traditional tools of our status quo democracy.

I recognize that its a horrible asymmetry of power that they will have presidents that abuse power while dems will try to respect traditional lines of power
but the populace and parties themselves are also a correlary assymetry—cult 45 will cheerlead any horrible thing their guy does (or pretend it isn’t real, or isn’t really that bad, whatever the moment requires to avoid cognitive dissonance), but it Joe abused power, both Republicans and Democrats in power and as citizens across the nation would cry out for accountability.

It’s a right clusterfuck, that is for sure.

grue , (edited )

You might be asking why the right isn’t worried that Biden will abuse this - the answer is because they know he doesn’t have the balls. The left still thinks we’re in 1968 fighting for rights with mostly peaceful protests. We’re in 1938 and we’ve already lost.

Yet again, folks are confusing leftist with liberals.

Edit: Never mind; turns out the POS I replied to knows he’s lying and is slandering leftists deliberately for some fucked-up reason.

Make no mistake: “the left” knows damn well that this is a fight to the death with fascism. It is 100% liberals like Biden, NOT LEFTISTS, who think what’s going on here is politics as usual and that the MAGAs can be appeased, just like Neville fucking Chamberlain thought he could appease Hitler.

originalfrozenbanana ,

That’s your takeaway? Seriously?

grue ,

Obviously it’s not my only takeaway, but there’s no rule that my comment has to contain every single thought I had on the topic!

originalfrozenbanana ,

And this is the comment you chose to
what? Add to the discussion? Enlighten people? Promote some sort of discourse? Or is it just mindless pedantry?

grue ,

I’m sick and tired of jerkwads fucking up the definitions. Happy now?

It matters because liberals have always been the enablers of fascists, and people need to understand that. Blaming the “leftists” instead is a scapegoating bullshit lie.

originalfrozenbanana ,

So pedantry it is, then. Cool thanks for your valuable and fascinating contributions.

grue ,

FYI, correcting your lies isn’t pedantry. Quit being a condescending troll.

originalfrozenbanana ,

Nah man it’s fucking pedantry. Stop being a pedantic troll.

khannie ,
@khannie@lemmy.world avatar

My fear now is that if military leadership falls into the wrong hands

Rome intensifies

Fades ,

Trump wanted to start wars, he assassinated an Iranian general cuz he wanted to
 he knows now there is nothing to stop him

gardylou ,

Well we still can if we are collectively smart enough that being fascist is worse than being old.

I put the odds at a coinflip.

fmstrat ,

Keep in mind the P2025 plan to turn fornerly career roles into appointments. How many of those were military?

spiderman , to nostupidquestions in Have you ever had a phone call interrupted by a 3rd party voice saying "this call is being recorded"?

This usually happens when the person you call is trying to record the call using Google’s “phone” app.

GamingChairModel ,

Yeah, sounds like a phone call recording app that is allowed to operate on the App Store under the condition that the recording is loudly announced.

grue ,

I really hate Google dictating the use of two-party consent even in my one-party consent state. I have every right to record phone calls without having it play that message, but not the ability because of Google’s gatekeeping!

actionjbone ,

You are correct, you have the right to be an asshole.

grue ,

TIL augmenting my memory is “be[ing] an asshole,” but telling me that I don’t have the right to help myself remember isn’t.

actionjbone ,

No, being the asshole is expecting other people to be recorded for your benefit - without first telling them so that they can consent. And then blaming Google for it.

grue ,

You consented by calling me. Fuck off with this notion that you’re allowed to dictate what I am or am not allowed to do with my own property.

SpacetimeMachine ,

Lol that’s not how that works at all. How do you know they aren’t in a 2 party consent state? Why would they assume you are going to be recording the calls? I sure don’t assume that when I am calling anyone.

SeekPie ,

If someone’s in a one party consent state, wouldn’t it not matter where the other person is, because the laws of the state they’re in apply?

(Not US-ian, can’t talk from experience)

grue ,

How do you know they aren’t in a 2 party consent state?

I don’t give a shit if they’re in a two party consent state, because I’m not and so that state doesn’t have any jurisdiction over me.

actionjbone ,

Don’t try to reason with someone who puts their wants over others’ consent.

winkerjadams ,

Can’t you use a non-google app to do it?

grue ,

From pcmag.com/
/record-calls-on-your-android-phone :

Recording Limitations on Android

Google has never been particularly fond of call-recording apps for Android, at least not those from third parties. With Android 9, the company added limitations that prevented many apps from recording your phone conversations. The apps continued to work, but when you played the recording, you could only hear your end of the conversation—or complete silence.

Android 10 cracked down even further on these types of apps by blocking call recording via the microphone. In response, many app developers started tapping into Android’s Accessibility Service to record phone calls. But Google then updated its developer policy in April 2022 to state that it would not allow apps in the Play Store to use the accessibility service for call recording. That policy went into effect on May 11, 2022.

The company has even gone so far as to label call recording a type of spyware. “Behaviors that can be considered as spying on the user can also be flagged as spyware,” Google said in its developer policy. “For example, recording audio or recording calls made to the phone, or stealing app data.”

In the past, people were able to find workarounds to Google’s block, such as changing the audio source or format, turning the speaker volume as loud as possible, recording manually instead of automatically, and even rooting their phones. Others have since taken to sideloading call-recording apps through an APK file rather than downloading them directly from Google Play.

The version of Android installed on your phone also plays a role in all this. Apps on devices with Android 9 and earlier should still be able to record phone calls without bumping into Google’s latest restrictions. But apps on phones with Android 10 or higher that try to use the accessibility service may run afoul of Google’s new policy.


I’ve looked through the F-Droid repository for a call-recording app before, but didn’t find one that worked. It’s been a while, so maybe I ought to try again. Otherwise, I’m open to suggestions!

winkerjadams ,

Huh I didn’t know that. I’ve never had a reason to need to record a call but if I ever do that sucks. Fuck google

SeekPie ,

Maybe this would work? It was updated 3 weeks ago:

BCR-GUI (companion app for the great BCR (Basic Call Recorder) Android application) f-droid.org/packages/com.github.nicorac.bcrgui/

solitaire ,
@solitaire@infosec.pub avatar

Oh god, I really hope my phone doesn’t do that when it records. The recording button is on the screen during calls and I accidentally hit it all the time.

spiderman ,

if you hit record and if it starts to record you will be able to hear the alert message too

TxzK , to lemmyshitpost in CBT
LesMotsBalaises ,
@LesMotsBalaises@lemmy.ca avatar

How about cocky behavior therapy?

Killing_Spark ,

Cocknitive balls therapy?

ivanafterall ,
@ivanafterall@lemmy.world avatar

Cognitive Ball Torture.

LesMotsBalaises ,
@LesMotsBalaises@lemmy.ca avatar

I knew of “smart ass”, but “smart balls” sounds nice for sure too!

ouRKaoS ,

I keep my smart ass & my smart balls in my smarty pants.

MagicShel , to nostupidquestions in What's up with all the "___punk" stuff?

Punk indicates rebellion against the status quo as part of the theme. If that isn’t part of it, then IMO it has no place in the name.

BubbleMonkey OP ,

I tend to agree with that sentiment. Hence the confusion over everything being __punk.

Lamplighter ,

What if i’m rebelling against the status quo of rebelling against the status quo?

Mongostein ,

You’re a conservative

xmunk , to programmer_humor in C++

This graph cuts off early. Once you learn that pointers are a trap for noobs that you should avoid outside really specific circumstances the line crosses zero and goes back into normal land.

Pelicanen ,

C++ is unironically my favorite language, especially coding in python feels so ambiguous and you need to take care of so many special cases that just wouldn’t even exist in C++.

GlitchyDigiBun ,
@GlitchyDigiBun@lemmy.world avatar

But can you read someone else’s C++ code?

magic_lobster_party ,

Why should I do that?

xmunk ,

You can absolutely read my code. The ability (similar to functional languages) to override operators like crazy can create extremely expressive code - making everything an operator is another noob trap
 but using the feature sparingly is extremely powerful.

Narwhalrus ,

Typically, I can read an “average” open source programmers code. One of the issues I have with C++ is the standard library source seems to be completely incomprehensible.

I recently started learning rust, and the idea of being able to look at the standard library source to understand something without having to travel through 10 layers of abstraction was incredible to me.

magic_lobster_party ,

I wonder what went into their minds when they decided on coding conventions for C++ standard library. Like, what’s up with that weird ass indentation scheme?

barsoap ,

One of the issues I have with C++ is the standard library source seems to be completely incomprehensible.

AAAAAAhhh I once read a Stroustrup quote essentially going “if you understand vectors you understand C++”, thought about that for a second, coming to the conclusion “surely he didn’t mean using them, but implementing them”, then had a quick google, people said llvm’s libc++ was clean, had a look, and noped out of that abomination instantly. For comparison, Rust’s vectors. About the same LOC, yes, but the Rust is like 80% docs and comments.

uis ,

I think some of those abominational constructs were for compile-time errors. Inline visibility macro is for reducing bynary size, allowing additional optimizations and improving performance and load time.

In my projects I set default visibility to hidden.

lazyneet ,

I’ve been using C++ almost daily for the past 7 years and I haven’t found a use for shared_ptr, unique_ptr, etc. At what point does one stop being a noob?

riodoro1 ,

This guy probably still uses a char*.

What have you been using it daily for? arduino development? I’m hoping no company still lives in pre C++17 middle ages.

sxan ,
@sxan@midwest.social avatar

C99 is better. Always will be.

Fight me.

uis ,

C11 atomics

Sasquatch ,

My company still uses c90. I just want to for(uint8 i = 0;;) đŸ„č

AngryPancake ,

Given that you probably are using pointers, and occasionally you are allocating memory, smart pointers handle deallocation for you. And yes, you can do it yourself but it is prone to errors and maybe sometimes you forget a case and memory doesn’t get deallocated and suddenly there is a leak in the program.

When you’re there, shared_ptr is used when you want to store the pointer in multiple locations, unique_ptr when you only want to have one instance of the pointer (you can move it around though).

Smart pointers are really really nice, I do recommend getting used to them (and all other features from c++11 forward).

arendjr ,

Smart pointers are really really nice, I do recommend getting used to them (and all other features from c++11 forward).

You’re recommending him to give up his sanity and/or life?

porgamrer ,

I would have said the same thing a few years ago, but after writing C++ professionally for a while I have to grudgingly admit that most of the new features are very useful for writing simpler code.

A few are still infuriating though, and I still consider the language an abomination. It has too many awful legacy problems that can never be fixed.

SubArcticTundra ,
@SubArcticTundra@lemmy.ml avatar

Do you still use raw pointers? You know they’ve discovered fire? (Jk coming from C I too havent learnt how to use smart pointers yet)

magic_lobster_party ,

Smart pointers are like pointers, but without the same burden of having to worry about memory leaks.

whou ,

well, if I have an object on the heap and I want a lot of things to use it at the same time, a shared_ptr is the first thing I reach for. If I have an object on the heap and I want to enforce that no one else but the current scope can use it, I always reach for a unique_ptr. Of course, I know you know all of this, you have used it almost daily for 7 years.

In my vision, I could use a raw pointer, but I would have to worry about the lifetime of every object that uses it and make sure that it is safe. I would rather be safe that those bugs probably won’t happen, and focus my thinking time on fixing other bugs. Not to mention that when using raw pointers the code might get more confusing, when I rather explicitly specify what I want the object lifetime to be just by using a smart pointer.

Of course, I don’t really care how you code your stuff, if you are comfortable in it. Though I am interested in your point of view in this. I don’t think I’ve come across many people that actually prefer using raw pointer on modern C++.

lazyneet ,

I just never learned smart pointers and write C++ code like it’s C for aesthetic reasons.

RecluseRamble ,

Best to join a C++ community on some social media then. They’ll tell you immediately why “C with classes” isn’t C++.

fushuan ,

Shared poibters are used while multithreading, imagine that you have a process controller that starts and manages several threads which then run their own processes.

Some workflows might demand that an object is instantiated from the controller and then shared with one or several processes, or one of the processes might create the object and then send it back via callback, which then might get sent to several other processes.

If you do this with a race pointer, you might end in in a race condition of when to free that pointer and you will end up creating some sort of controller or wrapper around the pointer to manage which process is us8ng the object and when is time to free it. That’s a shared pointer, they made the wrapper for you. It manages an internal counter for every instance of the pointer and when that instance goes out of scope the counter goes down, when it reaches zero it gets deleted.

A unique pointer is for when, for whatever reason, you want processes to have exclusive access to the object. You might be interested in having the security that only a single process is interacting with the object because it doesn’t process well being manipulated from several processes at once. With a raw pointer you would need to code a wrapper that ensures ownership of the pointer and ways to transfer it so that you know which process has access to it at every moment.

In the example project I mentioned we used both shared and unique pointers, and that was in the first year of the job where I worked with c++. How was your job for you not to see the point of smart pointers after 7 years? All single threaded programs? Maybe you use some framework that makes the abstractions for you like Qt?

I hope these examples and explanations helped you see valid use cases.

lazyneet ,

When you bring threads into it, these exotic features make more sense. I have been doing single-threaded stuff for the most part.

MajorHavoc ,

At what point does one stop being a noob?

I recognize that trick question. For C++, the answer is always “soon”.

orbitz ,

First year programming in the late 90s 
 segmentation fault? I put printfs everywhere. Heh. You’d still get faults before the prints happened, such a pain to debug while learning. Though we weren’t really taught your point of the comment at the time.

Least that was my experience on an AIX system not sure if that was general or not, the crash before a print I mean.

xmunk ,

Yea, pointer arithmetic is cute but at this point the compiler can do it better - just type everything correctly and use []
 and, whenever possible, pass by reference!

uis ,

Faust bless Stallman for creating GDB.

5C5C5C ,

Your graph also cuts out early. Eventually you want to get performance gains with multi-threading and concurrency, and then the line drops all the way into hell.

xmunk ,

Good Afternoon Sir, have you heard about our lord and savior pthreads?

5C5C5C ,

I’m not saying you can’t do multi-threading or concurrency in C++. The problem is that it’s far too easy to get data races or deadlocks by making subtle syntactical mistakes that the compiler doesn’t catch. pthreads does nothing to help with that.

If you don’t need to share any data across threads then sure, everything is easy, but I’ve never seen such a simple use case in my entire professional career.

All these people talking about “C++ is easy, just don’t use pointers!” must be writing the easiest applications of all time and also producing code that’s so inefficient they’d probably get performance gains by switching to Python.

deadcream ,

That’s the problem of most general-use languages out there, including “safe” ones like Java or Go. They all require manual synchronization for shared mutable state.

5C5C5C ,

There’s a difference between “You have to decide when to synchronize your state” and “If you make any very small mistake that appears to be perfectly fine in the absence of extremely rigorous scrutiny then this code block will cause a crash or some other incomprehensible undefined behavior 1/10000 times that it gets run, leaving you with no indication of what went wrong or where the problem is.”

uis ,

Well, threadsanitizer catches them in runtime. Not sure about GCC static analyser and other SA tools.

5C5C5C ,

I use thread sanitizer and address sanitizer in my CI, and they have certainly helped in some cases, but they don’t catch everything. In fact it’s the cases that they miss which are by far the most subtle instances of undefined behavior of all.

They also slow down execution so severely that I can’t use them when trying to recreate issues that occur in production.

uis ,

They caught lock inversion, that helped to fix obscure hangs, that I couldn’t reproduce on my machine, but were constantly happening on machine with more cores.

uis ,

that’s so inefficient they’d probably get performance gains by switching to Python.

Damn, this goes hard for no reason.

uis ,

Wasn’t biggest part of pthreads added in C11/C++11?

xmunk ,

So
 I’m old. All my time working in C++ was pre-C++11

otto_von ,

But I need pointers for almost everything

Gladaed ,

Pointers are great for optional references.

WormFood ,

pointers are fine, but when you learn about the preprocessor and templates and 75% of the STL it goes negative again

c++ templates are such a busted implementation of generics that if I didn’t have context I’d assume they were bad on purpose like malbolge

flamingo_pinyata , to asklemmy in Advice on finding a partner?

No matter what so many people say, it’s not mandatory to have a partner!

Invest your effort in figuring out how to live with yourself. Build a life worth living on your own.
A right person might come, or not. But at least you didn’t waste your life chasing wrong goals.

Wild_Mastic ,

I mean, I understand people not looking for a partner. But sometimes having a person close to you can help a ton especially in hard times and great for fighting loneliness.

I have a a couple of close friends, but they’re all moving away for work/stuff, and being alone is hitting hard.

xmunk ,

And also, all relationships are valuable. A good friendship is a wonderful boon to your mental health
 and if you’re seeking a relationship for sex there are far easier ways to do it.

taladar ,

Also, expanding on that, if you go into every interaction with a narrow expectation (e.g. to find the love of your life) you will be disappointed almost all the time but if you keep an open mind you might come out of that with some other positive interactions (a new friend, an interesting conversation, 
) than you expected or were hoping for.

Valmond ,

This one right here!

Love isn’t commanded, but if you have friends you’re so much more likely to meet people that might be like you, and that’s what makes love work in the long run too.

Good luck!

teamevil ,

Fucking A
as a 42 year old guy who has not been married but been in relationships for the last 12 years
take the time to learn what you want, not settling for what’s available. Also listen when a person tells you who they are.

some_guy ,

It isn’t, but loneliness sucks.

OurToothbrush ,

Good friends are a better cure to loneliness than one person, no matter how cool they are

Asafum ,

Thank you for being one of the only people to be real about how it’s not a guarantee. You might not find anyone. I see way too much fairy tale thinking and all the “just wait, she’ll come” nonsense.

Being lonely sucks, being single in a society that requires 2 incomes sucks, but I think being in a shitty relationship just to be in a relationship is worse.

flamingo_pinyata ,

Unfortunately I’m writing from personal experience.

After too many years I don’t think I’ll ever find anyone. But accepting it was a relief. It’s terrifyingly lonely at times, but at least I’m not suicidal any more. And I understand who I am and what is my way of life.

I can’t understate the benefits of understanding oneself can have on mental health.

Asafum ,

I’m in a similar position, but I think I’m still working through “coming to terms” with my “situation.”

It’s definitely depressing as I’ve only had 2 real goals in life: be in a loving relationship, and own a home. Both of those are proving to be exceedingly unlikely to happen the older I get.

TubularTittyFrog , (edited )

it’s not mandatory to have a job or a car or a house.

but the vast majority of us want those things and a life without them is pretty shitty.

520 , (edited ) to asklemmy in Can someone demystify computer Ports for me? Please? Blocking, unblocking, opening, allowing, VPNs and their effect, what ports are and what they do, step by step, when you have to interact with them?

Imagine your computer is a big block of flats and your applications are all people who live in the building.

Mail sent to the building address alone isn't going to reach the intended recipient, because the postman doesn't know what flat to post it to. So they need additional information such as 'Flat 2C'

That's the basic concept of ports. It's basically additional addressing information to allow your computer to direct internet traffic to the correct applications.

When an application is actively listening on a port, it means that they are keeping an eye out for messages addressed to them, as designated by the port number. While an application is sending or receiving messages using a given port number, that port number is considered 'open'.

Now, all sorts of applications do all sorts of things. Some are for the public to use and there are some that are useful within trusted circles, but can be abused by malicious people if anyone in the world can send messages to it. Thus, we have a firewall, which acts as a gatekeeper. A firewall can 'block' a port, denying access to a given group of people, or 'unblock' it, allowing access.

VPNs are a totally different thing. They are literally middlemen for your internet traffic. Instead of directly posting a message to somewhere and receiving a direct reply back, imagine you flew out to Italy to use a post box there and receive replies from there.

promitheas ,
@promitheas@iusearchlinux.fyi avatar

To add to your analogy if i may, the firewall is kind of like a security guard or doorman at the building entrance. All mail has to go through him first and if something is addressed to a closed flat (port) he simply doesnt let it get delivered.

520 , (edited )

Yep! The security guard is also given a bunch of rules to follow such as "don't let anyone outside of our neighbourhood (aka your local network) contact door 22", which will also determine whether messages get delivered or not

dan ,
@dan@upvote.au avatar

I love your analogy for ports, but I’m not sure about the VPN one.

If you imagine network traffic as mail going through the postal system, then a VPN is like a private mail tunnel between two locations, that nobody else can enter or look into. Mail sent via the tunnel is private and nobody else can read it. The person at the other end of the tunnel can either open the mail themselves (ie a VPN from your laptop to your home server to access it when you’re away), or forward the mail somewhere else (ie if you’re routing Internet-bound traffic through it) and nobody will know it came from you originally.

my_hat_stinks ,

I’m not sure that’s a completely accurate analogy either. When you’re using a VPN people can still see that you are sending traffic through your tunnel, they just can’t tell what it is that you’re sending. It’s like looking through frosted glass; there’s definitely something moving in there but you can’t tell what.

I suppose the best way to describe it is you send a locked box to a trusted friend; everyone handling it can see the box but can’t tell what’s inside. Inside the box is a letter, your friend posts it so it looks like it came from them. Your friend then gets a reply, puts it in a locked box, and send it back to you. Nobody between you and your friend can snoop on your mail but anyone between your friend and the final destination can.

dan ,
@dan@upvote.au avatar

Great point. Analogies are hard :)

_dev_null ,
@_dev_null@lemmy.zxcvn.xyz avatar

locked box

As soon as I read this I read the rest of your comment in Al Gore’s voice, ca 2k SNL, lol.

londos ,

Yeah, but if you’re communicating with the buttplug store, the specific contents of the box don’t really matter. You still want a trusted friend to not tell people where you get your boxes from.

BreakDecks ,

To expand on port forwarding, consider your router to be the lobby to your apartment building, but you get to choose which rooms are reachable by an outside visitor.

dylanmorgan ,

Port forwarding would be like if all the apartments were listed 1-[x] inside the building, but 1A-1Z, 2A-2Z and so on to outsiders. Someone sends a message to <address>, apartment 2Y, and the lobby knows that actually goes to apartment 51.

jordanlund ,
@jordanlund@lemmy.world avatar

To expand on that analogy
 certain services need entry into the building and then from there, they get distributed throughout the building.

Water comes in on the water line.
Electricity comes in on the electric wire.
Internet may come in on coaxial or fiber.
Gas comes in on the natural gas pipeline.

Your computer has ports to deal with basic tasks. These are called “well known port numbers”.

geeksforgeeks.org/50-common-ports-you-should-know


So while, in theory, you COULD get email in on a non-email port, that wouldn’t be expected and would be like feeding water through a natural gas line.

Zagorath ,
@Zagorath@aussie.zone avatar

Just reading that URL and I’m sorry (to the author of that article), but there’s no way there are 50 ports “you should know”. 443, 80, 22, and that’s about it. Maybe whatever the SMPT port is just for interest’s sake, but that’s very rarely going to be important practical knowledge. And there are some ports outside the well-known port range that might be handy. Your VPN’s port, your DB’s port. But even then, you’re not getting anywhere near 50.

joshcodes ,
@joshcodes@programming.dev avatar

Cyber security guy here: we care about 22 for SSH, 443 and 80 for Web traffic, 3389 for RDP and 21 for FTP. Everything else we google and we all have to google 21 and 3389 because we all forget them half the time anyway.

Zagorath ,
@Zagorath@aussie.zone avatar

People still use FTP? 😬

mbfalzar ,

Is there a better way to get stuff onto my 3DS without removing the SD card

MomoTimeToDie ,

Now I wonder if I can send files to my 3ds from my vita via ftp

mbfalzar ,

Just for shits and giggles I’ve sent pictures from my Switch to my Wii with ftp

umbrella ,
@umbrella@lemmy.ml avatar

i have nothing to add, i just like you analogy

RohanWillAnswer ,

Excellent description.

carzian , to selfhosted in My stupidity saved me from being hacked today!

Did you expose your router login page to the open internet? How’d they get access? Why are you chmoding anything to be 777?

haui_lemmy OP ,

There was an option that I had enabled years before and forgotten so yes, I didnt know but it was, on some obscure port.

And yes, pihole in docker makes its files be 777 which is pretty disgusting, I know. Thats why I tried to make it 700 and broke my whole network.

lungdart ,
@lungdart@lemmy.ca avatar

Doubt. You probably need to set the file owners in your volume to the same user running in the container.

haui_lemmy OP ,

You can doubt all you want. I changed it from 777 to 700 and back again because it broke. Couldnt find the user in the container immediately. Will probably just migrate it to a volume and be done with it.

prettybunnys ,

So we’ve poked a hole in your knowledge here unless this super popular open source software really requires 777 on those files and everyone has collectively just been ok with it.

1984 ,
@1984@lemmy.today avatar

I think you are still learning
 What you say doesn’t make sense, so I think you may have misunderstood what happened.

haui_lemmy OP ,

Imo we are all constantly learning. Otherwise we stagnate. What I say makes perfect sense, you just dont get it. So let me explain it again, in more detail:

I was going through my docker compose files to sanitize them and upload them to my private forgejo instance.

While doing that I found a directory in my filesystem, a remnant of the early days of my server where my knowledge was severely more limited, that was a docker volume mapped to a regular directory, something I wouldnt do today for something like this.

It was owned by root:root and had 777 permissions which is a bad idea imo. So I changed it to 700 since I dont think I had any other users in group root and others, well.

Nothing bad happened, until today when my unattended backups triggered a restart at noon and the tragedy started. I put it back for now to 777 but I‘ll try and integrate it in a real docker volume which resides in the docker folders.

Auli ,

Well I’m running Pihole in docker and don’t have 777 on anything.

haui_lemmy OP ,

Good for you. What permissions do you have on etc/dnsmasq.d if I may ask?

domi ,
@domi@lemmy.secnd.me avatar

I don’t run Pi-hole but quickly peeking into the container (docker run -it --rm --entrypoint /bin/sh pihole/pihole:latest) the folder and files belong to root with the permissions being 755 for the folder and 644 for the files.

chmod 700 most likely killed Pi-hole because a service that is not running as root will be accessing those config files and you removed their read access.

Also, I’m with the guys above. Never chmod 777 anything, period. In 99.9% of cases there’s a better way.

haui_lemmy OP ,

Thanks for checking that. I will change the permissions accordingly and restart pihole to check if it works. Probably later today.

CosmicTurtle , to piracy in Help with wheelchair software

Jesus fucking mother of Christ.

Ok, I’m going to skip my indignation.

I’m not an app developer or a wheel chair person. That said, we need some info to help you better.

  • What phone? Android or iOS?
  • link to the app (and a link it’s APK or whatever iPhones equivalent to an APK would be)
  • instructions on how you register, e.g. is registration tied to your phone, the wheelchair, or both?

Here is some general hacking advice:

  • check online for your wheelchairs “provider” manual. I “hacked” my CPAP machine a few years back. My doctor forgot to turn on heated tubing and the setting was hidden behind a “provider” menu. Chances are good that there will be a similar manual for your wheelchair.
  • if you haven’t already, search for the make and model of your wheelchair and see if there are forums or discussion boards
  • typically, physical access is the best access. Depending on how your phone communicates with the chair, you might able to spy on the signals that it uses. My guess is Bluetooth. It probably is encrypted but medical devices are notoriously easy skimpy on their tech security. Might be worth a try
  • If you have the tools and the knowledge, consider taking apart the wheelchair to access the physical components. Information like the processor, chip set, etc will make it easier to understand how it works. While you might expect custom boards and software, more and more devices are going the Raspberry Pi or Pico route because they are cheaper to manufacturer than to do a whole custom board. If it’s a run of the mill consumer board, you have a lot more attack vectors.

Often settings like these are based on PKI(Public Key Infrastructure), meaning that the program on your wheelchair likely knows the public key for the company and will test any input to change the settings will require the private key. Again, generally speaking.

But also generally speaking, medical equipment, especially consumer equipment, has to deal with the lowest common denominator, meaning people who don’t have apps, who don’t know what a smart phone is, etc. Because of that, my hunch is that the setting is in plain text and you just need to change it.

You also have to remember that the people setting this up are often in doctors offices, which means it must be easy to do because time is of the essence. The doctor would not recommend their product if it takes more than a few minutes to set up.

I’m sorry I can’t give you better more specific advice but hopefully you can figure this out.

win95 OP ,
@win95@lemmy.zip avatar

Thank you for the detailed reply! Details:

  • Android (pixel 8)
  • play store link
  • When buying the pack, the functions are tied to the wheels itself so not a google or other account

I did find the mechanic manual a few years back so I could get into the “professionals only” menu and I was able to tweak the push sensitivity which my provider couldn’t figure out ironically. The packs however are a different add-on. The only thing I can find online are people asking if it’s worth the money, or people who bought it. Not really a popular hacking device it seems.

It sucks that I’m not technical enough to open up the wheels - i also find it a bit scary since I literally need this thing everyday and my provider is already neglecting their customers.

CosmicTurtle , (edited )

Edit: I just saw your edit. Great job fixing it! God I hate that you had to do this.

What is the make and model of the wheelchair and the wheels?

Links to their official website would be helpful.

Did your wheelchair come with a regular manual? A link to a PDF would also help.

If you want to go down a more
questionable route, you could call the wheelchair provider number. Use social engineering by saying you’re from a doctor’s office and you can’t get the wheels to activate.

It helps to have a friend do this for you. You want a buffer and you want your friend to say “I am not sure” or “I don’t know” a lot. That way the company gives him or her more information on what to do next before calling you back.

This is a terrible situation. Maybe your insurance will spring for the cost. It’s so infuriating that if I had access, I probably wouldn’t sleep until I figured it out and posted it everywhere.

despotic_machine , (edited ) to nostupidquestions in How do I properly lock my bike in a city where bike thefts are common?
@despotic_machine@lemmy.world avatar

deleted_by_author

  • Loading...
  • Potatos_are_not_friends ,

    Cover/remove any brand name labels. Duct tape and spray paint are ugly. Use them.

    I call it “uglifying”. Maybe it’s luck but I never had my ugly bike stolen. In a sea of attractive bikes, mine stands out like a eyesore. And I always imagine if some one did steal it, it’ll be quick to recover.

    br3d ,

    You can buy very convincing stickers that make your frame look rusty

    tubbadu ,

    Ugly bikes ftw!

    MrVilliam , to asklemmy in Wwyd if you were given a pocket dimension 3m cubed?

    I think I’d probably pack a bed, TV, microwave, and mini fridge into it and go travel and see a bunch of the world without worrying about lodging. I could also use it at work to eliminate my commute and save myself the high rent of living in Northern Virginia lol.

    xor ,

    you could just bring a sleeping bag and a ground mat


    MrVilliam ,

    Why do that when my bed is so much more comfortable?

    xor ,

    in order to:

    see a bunch of the world without worrying about lodging

    CaptainBlagbird ,
    @CaptainBlagbird@lemmy.world avatar

    And you can masturbate without annoying the coworkers who never seem to leave their workplace.

    tristan ,

    A) it’s not always safe to sleep outside when travelling

    B) it’s not always legal to sleep where you are

    So by taking your own bed in the pocket dimension, you’ll always have a safe, comfortable and legal place to stay without any cost

    xor ,

    i’ve done it quite a bit


    tristan ,

    Good for you. I have too
 That doesn’t mean it’s safe or legal everywhere and doesn’t give any reason why turning it into a portable bedroom is a bad idea

    xor ,

    i did not say that was a bad idea

    dependencyinjection , (edited )

    This isn’t allowed according to OP. To paraphrase “you can teleport back to where you teleported in”

    Edit: this is incorrect. I misunderstood.

    MeowWeHaveAProblem ,

    Think thats what they meant. Just use it as there home. At work then teleport to there space then back to work. When traveling the normal way just use it for sleeping. Basicly taking your home with you.

    dependencyinjection ,

    Ah that makes sense now. Appreciate you adding the much needed clarity for me.

    The_Cleanup_Batter ,

    Don’t see how his use would violate that?

    Think of it like a portable hotel room with no bathroom. You can travel wherever while outside the room and when it’s time to turn in you just use the room.

    He’s also saying that he would not need to commute as in his home is close to work without having to worry about the high rent in the area where his work is.

    dependencyinjection ,

    Ah that makes sense now. Appreciate you adding the much needed clarity for me.

    eek2121 ,

    ❀

    inb4_FoundTheVegan ,
    @inb4_FoundTheVegan@lemmy.world avatar

    My feeble American brain can’t comphrened the concept of safe, free, private housing.

    MrVilliam ,

    SpongeBob_Imagination.gif

    montar ,

    Same! I would also cram a small server and ton of tools into it so i would have a portable hackerspace.

    gkdeb , to linux in How to fool a laptop into thinking a monitor is connected?
    @gkdeb@lemmy.ml avatar

    A HDMI Dummy Plug?

    tubbadu OP ,

    I didn’t think this could actually exist, just ordered one! thanks!

    Isakk86 ,

    It works great! I use one for a headless server for steam remote play.

    rambos ,

    There is also vga to hdmi adapter that works

    9488fcea02a9 ,

    There’s an evangelion joke here that i’m not clever enough to make

    Atemu ,
    @Atemu@lemmy.ml avatar

    Get in the Laptop Shinji.

    BrianTheeBiscuiteer ,

    These are also good for headless servers. GPUs tend to not “kick-in” if they don’t think a monitor is connected.

    cupcakezealot , (edited ) to fediverse in Should instances defederate with other instances anymore if we can filter instances out on our end?
    @cupcakezealot@lemmy.blahaj.zone avatar

    edge lords, tankies, paedophiles, and alt-righters should always be defederated from

    Jumuta ,

    defedding pedos make sense but defedding the others you mentioned are a very slippery slope into making an echo chamber

    Rozauhtuno ,
    @Rozauhtuno@lemmy.blahaj.zone avatar

    something something paradox of tolerance

    Carighan ,
    @Carighan@lemmy.world avatar

    Sorry, you keep saying “echo chamber” when you wanted to type “usable instance”. Something seems broken with your autocorrect.

    Jumuta ,

    if you want an echo chamber instance that’s fine.

    DrQuint ,

    Then yes, we want an echo chamber. Happy? You’re still defending scum, no matter the semantics.

    Jumuta ,

    could you explain how?

    DrQuint ,

    Step 1: Don’t engage them, no room for their rhetoric.

    You are to fuck off, and take your crypto and your blue line flags with you on the way out.

    Jumuta ,

    Do you understand my argument?

    All I’m saying is that defedding from people like “tankies, alt-righters, edge lords” are fine, but because it’s easy to miscategorise people into those categories (intentional or not) you could end up defederating from anyone you don’t agree with, ending up in an echo chamber.

    gravitas_deficiency ,

    Leave

    Jumuta ,

    sure, you can block me if you don’t agree with my opinions.

    that would be kinda making an echo chamber for yourself though, so I wouldn’t recommend that.

    Kbobabob ,

    No one ever gets radicalized in these cases, hearing the same things from everyone they interact with thinking that everyone or at least most think the same way they do and they need to fix the situation while being encouraged to do so. Never happens.

    Plopp ,

    Who’s “we”?

    Eldritch ,

    Real life is the biggest echo chamber you’ll ever find. Online is one of the most diverse spaces you’ll find. That said there’s nothing to be gained by humoring fascists, ML, or groups only interested in engaging in bad faith. I say this as someone who trends social libertarian and is always up for some Marxism.

    Jumuta ,

    I do think real life can be an echo chamber, but if you have a diverse range of people you interact with, it can be not an echo chamber at all. Having multiple friend groups, attending social events, etc can make real life more diverse.

    (Ofc there’s things like living in a first world country making an echo chamber of people that don’t care about third world issues, but that’s beside the point)

    Online is also the same in my opinion.

    Eldritch ,

    Yes. But people not acting in good faith don’t deserve my attention or time. No differing or opposing viewpoints are lost.

    You act like not giving them attention is as bad as when they sent the people they disagreed with to the gas chamber or gulags by the millions.

    Blackout , to asklemmy in What stupid thing have you done bc of a movie?
    @Blackout@kbin.social avatar

    I remember going to the first fast n furious at the theater. Ice storm during the movie so everything was covered in ice after, had to chisel around the door just to open it. But that didn't kill the racing spirit in some of them. They got in their cars and tore out of the parking lot. 2 slammed into trees on their way out. Another didn't get far, jackknifed himself on a light pole. I just sat in my car watching it, way better than the movie.

    chahk ,

    Are you saying that an actual car wreck was better than FnF movie? Because I totally agree.

    Feathercrown ,

    This is gold

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ‱
  • random
  • lifeLocal
  • goranko
  • All magazines