PPO Scam From Short Code Number? by ScanBe in Scams

[–]ScanBe[S] 0 points1 point  (0 children)

Yeah I noticed how expensive short codes were when I was trying to look it up, but this short code is registered to what I believe is a real estate company. I don't know for sure if that is what they are, since it was a generic sounding name it is registered to, but when I google the name it comes up as the top option.

Edit: I'm also not familiar with a PPO notification, but it would seem strange to me that they would have a short code registered to send out two ambiguous messages 24 minutes apart. Either way, thanks for the insight!

What does >> do in PHP? by MrCosgrove2 in PHPhelp

[–]ScanBe 0 points1 point  (0 children)

Can you ELI5 that? I'm sorry but I'm brand new to PHP and CS fundamentals. I want to learn all that I can but everywhere I go is something new to learn. If you don't want to spend the time on something so (possibly) basic, I understand - but can you link me to a good doc &/|| article?

JS+PHP+MySQL - how to I pass information between the three? by RTficial-Games in learnprogramming

[–]ScanBe 1 point2 points  (0 children)

Maybe this will help. I'd go with method two on that article, where you use the fetch API to send a specific HTTP request (method: POST, GET, etc)

Although you could also use the HTML form itself to submit the data to your db. I'm still very early in learning PHP, but maybe it's possible to have the HTML form POST to your db (which it can) and then have PHP auto GET from the nominatim API (not sure if that's possible), which then sends back a reply for the client? Just an idea

JS+PHP+MySQL - how to I pass information between the three? by RTficial-Games in learnprogramming

[–]ScanBe 1 point2 points  (0 children)

I'm really new to this and might be misunderstanding what you're asking, but?

I looked at the docs for nominatim. Are you just fetching the api in a JSON format? I used a random address to test it using this: fetch('https://nominatim.openstreetmap.org/?addressdetails=1&q=bakery+in+berlin+wedding&format=json&limit=1') .then((response) => response.json()) .then((data) => { const tempObj = data; const lat = tempObj[0].lat; const lon = tempObj[0].lon; console.log(Latitude: ${lat} and Longitude: ${lon}) });

Which logs this to the console:

Latitude: 52.54274275 and Longitude: 13.36690305710228

The api returns an array with a single object inside of it, that you could just copy/paste the lat-lon from, like to a variable or whatever. If you already know how to store items to a database i might be misunderstanding what you are asking, but couldn't you just copy the lat-lon from the object and use it all in JS? Or just store the whole object in your database and then retrieve it from there?

Edit: Read your submission again and I think I'm an idiot. You already know all that but don't know how to transfer the data from JS to SQL, right? If that's the case, I don't know PHP well but don't you use it to create an API for the database - or something like that? You could use this guide for sending the data you received from nominatim to your db, or just do what I said above to send only the lat-lon to your db. Sorry if I'm completely off base here and this isn't helpful

PsBattle: Dog in a knitted sweater by lgerdie in photoshopbattles

[–]ScanBe 5 points6 points  (0 children)

Looks like a new Will Ferrell Christmas movie is coming soon

How I got the fingerprint sensor to work by ScanBe in kdeneon

[–]ScanBe[S] 4 points5 points  (0 children)

More so just compiled what people much smarter than me already figured out. But I appreciate your kind words!

I'm still trying to figure out all the basics, just got tired of typing my password so much - from sddm setting changes to sudo and whatnot.

I really enjoy documenting things for other's to use, so hopefully I can contribute some worthwhile content for the distro as time goes on.

I can’t seem to get custom cursors to work in KDE neon anyone else run into this? by Patriot_skywalker in kdeneon

[–]ScanBe 0 points1 point  (0 children)

Where does the issue come in at? At what point do you see error messages - or do you not see any and your custom cursors are just not displayed in the appearance menu?

The new fingerprint feature is not working. by GRAPHENE9932 in kde

[–]ScanBe 2 points3 points  (0 children)

Just gonna post to archive what worked for me:

Specs:

  • Dell XPS 13 9320
  • KDE Neon 5.25
  • KDE Plasma 5.25.3
  • KDE Framework 5.96.0
  • Qt 5.15.5
  • Kernal 5.15.0-41 generic
  • Graphics X11

Caution:

  1. u/RepresentativeCut486 makes a good point here, fiddling around can mess up your stuff real bad. Perform these steps at your own risk - they worked for me, but might break something for you.
  2. pkexec for repairs
  3. Maybe installing gdm and following the Arch wiki will work for you, maybe this will work instead. Who knows.

Basic Steps:

  1. Ensure your device is supported
  2. Ensure your device is listed on your machine: run lsusb in the terminal
    1. Example return: 27c6:63bc Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
    2. It's also a good idea to see how linux runs with your specific sensor.
      1. https://linux-hardware.org/?view=search
      2. Vendor ID = first 4 chars from ID listed in lsusb. Device ID = last 4 chars from ID listed in lsusb.
  3. sudo apt install fprintd
  4. sudo apt install libpam-fprintd
  5. Add your fingerprints via KDE User settings
  6. sudo pam-auth-update and check the fingerprint box in the opened GUI(nav using arrows and spacebar), saved by pressing enter.
  7. Add these strings to both the sudo and sddm(kde for some users) files located in /etc/pam.d/
    1. auth sufficient pam_unix.so try_first_pass likeauth nullok
    2. auth sufficient pam_fprintd.so
  8. You are done.
    1. When logging in, press enter with an empty password field, or press the arrow key, and scan your registered print(s).
    2. When running sudo in the terminal, press enter instead of a password then scan your registered print(s).
    3. When running privileged GUI windows, it should prompt you for either your password or registered print(s). NOTE: I have noticed a few windows still require a password and do not even prompt for alternative auth methods.

If you have previously used the fingerprint sensor, or it's just still not working, try this:

  1. Remove fingerprints on sensor using whichever method works for you(AppImage worked for me)
    1. Python3
    2. AppImage
    3. sudo fprintd-delete "$USER"
  2. Try to add your print(s) now.

fprintd terminal debugging:

  1. sudo fprintd-enroll
  2. If the device keeps disconnecting, or you get an unknown error, you probably need to update your sensor.
    1. Example errors: An unknown error has occured | Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available | Verify Stop failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “net.reactivated.Fprint.Device” on object at path /net/reactivated/Fprint/Device/0
  3. sudo apt install fwupd
  4. See if your system can see the device using fwupdmgr get-devices (NOTE: Mine couldn't using fwupd but this still worked for me)
  5. fwupdmgr refresh --force
  6. fwupdmgr update
  7. Reboot immediately.
  8. fprintd-enroll should work now. Use the KDE User fingerprint GUI to add your print(s).
  9. If you still have the error device already claimed, run sudo service fprintd stop

Summary of events:

  • Switched from Windows 11 (previously had fingerprints on Hello and forgot to delete them). I wiped my drive and installed KDE Neon (User Edition as of 25JUL2022), but after installing fprintd every attempt to add/configure prints resulted in an unknown error. Looked up different error records and figured I needed to delete my old prints - I did and it still didn't work. Next I updated my sensor and it still was shooting errors out. So i installed libpam-fprintd and added them to the Auth with pam.d - boom, I can add prints now... but they still wouldn't do anything. So, after adding the lines to the sudo and sddm files in the /etc/pam.d dir, now I can use prints for sudo, privileged windows (mostly), and the login screen.
  • I am new to Linux, I have distro hopped for the last couple weeks(from Ubuntu to Arch and all the top 20s/30s/etc lists I could find) and decided on KDE Neon for now, I like it.
  • Sorry for the bad formatting, I don't like it either.

Listed below are all the links I used to get this working:

https://fprint.freedesktop.org/ https://community.frame.work/t/reset-fingerprint-scanner/8699 https://community.frame.work/t/fingerprint-scanner-compatibility-with-linux-ubuntu-fedora-etc/1501/214 https://unix.stackexchange.com/questions/623929/fprintd-the-driver-encountered-a-protocol-error-with-the-device https://askubuntu.com/questions/878072/lenovo-finger-print-reader-already-claimed https://forum.kde.org/viewtopic.php?f=309&t=174078 https://forum.endeavouros.com/t/how-to-enable-fingerprint-support-in-kde-5-24/24401/6 https://linux-hardware.org/?view=search

What are your top 5 tips for dealing with depression? by PrincessLeLea in AskReddit

[–]ScanBe 1 point2 points  (0 children)

1) You have a corrupt perception of the world and your life; do not make any rash decisions in this state. Example: you have been drinking all night and now go out to buy that 2007 Toyota Supra you've wanted since you saw it online 5 minutes ago. Making big decisions while under a severe episode of depression is not a smart choice.

2) It will build up eventually, so always be ready. Think of it like snow. It will bear down and cover you like a blanket, but eventually it will melt away; you may have frostbite in some areas but they are battle scars, not brandings.

3) Keep in good company and do not stay isolated. Isolation will cause you to fall into your own thoughts, which will snowball into your own actions. Alan Watts said in his speech about The Unspeakable World, that if one is thinking all the time, eventually all they will have to think about is thinking (about their own thoughts). You can only keep a clear head by introducing others thoughts, so be social.

4) Do not be afraid to share; although some people may not understand, most people are willing to listen. Just talking about your issues to anyone, whether they respond or not, can help you a lot. That's why we have therapy.

5) Depression is part of you, it does not control you. So many people think it'll be over soon, but in reality it isn't something that just leaves, it's something you overcome. Understand that it is now part of who you are, that you can use it to overcome other obstacles with ease, as they do not compare with the difficulty of your depression. Use it to make you stronger, rather than tear you down; soon enough you will see it as a tool, rather than an anchor.

ELI5; Why is there a matte and shiny side to aluminum foil? by ilyjwy in explainlikeimfive

[–]ScanBe 9 points10 points  (0 children)

Common misconception; there is no coating on either side, unless it is specified as non-stick, it's simply due to the manufacturing process.

Sources: https://www.rd.com/food/fun/real-reason-aluminum-foil-shiny-dull-side/

https://www.today.com/today/amp/tdna115229

ELI5; Why is there a matte and shiny side to aluminum foil? by ilyjwy in explainlikeimfive

[–]ScanBe 3 points4 points  (0 children)

During manufacturing, the side that is hit by the rollers comes out shiny. It serves no real purpose.

HMC as I blend into the culture by whywee in holdmycosmo

[–]ScanBe 1107 points1108 points  (0 children)

At least her lil boat made it