Jump to content

theereal

Member
  • Posts

    3,756
  • Joined

  • Last visited

Awards

This user doesn't have any awards

5 Followers

Profile Information

  • Gender
    Male
  • Location
    Planet X
  • Occupation
    Fullstack Developer / Lecturer

Recent Profile Visitors

2,710 profile views
  1. Im wondering if anyone knows of any Blood Pressure Monitors confirmed to be using GATT Profiles for integration with 3rd party applications? Im creating a health app and i need a BPM that uses standard BLE protocols so that i can actually subscribe to the data. Its difficult to find anything since most just advertise "Bluetooth" or "BLE" but dont specify wether or not they are using proprietary connection protocols.
  2. True, for just running a simple scan. But using a python script it can be expanded to be more flexible with additional error handling and/or automatically handling certain conditions that may be met dynamically.
  3. Do you have any programming experience? A python script like this would probably work allthough i havent tested it myself. import subprocess import schedule import time mbts_executable = "C:\\Path\\To\\MBTSLauncher.exe" def run_malware_scan(): print("Running Malwarebytes malware scan...") subprocess.run([mbts_executable, "/scan:malware"], check=True) schedule.every().day.at("15:00").do(run_malware_scan) try: while True: schedule.run_pending() time.sleep(60) except KeyboardInterrupt: print("Scan scheduler stopped.") If you want the script to run uninterrupted without having to manually execute the script on reboot you could use something like Windows Task Scheduler to run the script. Theres an entire page full of commands to run through the CLI here: Malwarebytes Toolset command-line options – Malwarebytes Support Let me know if youve got any questions.
  4. So ive got an 14" inch M2 Pro that i use for software developement but i used the last bit of my budget to upgrade to 32GB of ram, so im stuck with a 512GB SSD. More and more projects are starting to clog up my drive, and i was looking into getting some external drive to store my projects on, note that i want to run the projects off this drive aswell and not have to transfer them to the internal drive every time im going to boot them up. Im always on the go and so i was hoping to make this external drive as small as possible, even a flash drive if at all possible. But the fastest flash drives i could find was 1000MB/s read/write sustained. I was wondering, would this be fast enough to run projects directly off the drive in programs like XCode or Android Studio? Or should i spring for an external SSD instead? What speeds should i be looking at then and are there any super small offerings? The tinier the better. Thanks so much in advance
  5. So, im looking to buy a Macbook, im primarily going to be using it for programming, ill be doing Unity in C#, aswell as running emulators with XCode. I was wondering if there are any considerations i should make with respects to CPU and Ram, could i get by with an Air? or do i need a 8/10core Pro? Would i be okay with 16gb or should i spring for 24/Air or 32/Pro?
  6. So, ive got a custom hook that looks like this: export default function useFetch(path) { const [array, setArray] = useState([]); useEffect(() => { axios.get(`${path}`) .then(res => { setArray(res.data) }) .catch(err => { console.log(err) }) },[]) return array } I get the array in the main component by calling it like so: <const gamesArr = useFetch(gameControllerUrl)> However, theres also a delete function in the main component, and when someone deletes something id like to update state, i tried doing it like so: useEffect(() => { useFetch(gameControllerUrl) },[deleteGameFlag]) However, im not allowed to use a custom hook inside a callback. Is there any way around this? To fetch the data using this custom hook and also updating state using the dependency array?
  7. Difference between for and while loop: The for loop reads like this for as long as (number is equal to number; number is less than number; add to number) {do stuff} for (int i = 0; i < 5; i++) {do stuff} while loop reads as this: while(number is less than number) {do stuff} while(i < 5) {do stuff} The main difference of concern to you at this stage, is that the "while" loop doesent add to the "i" integer inside the loop declaration, rather you actually have to do this (look at line inside loop) (You also need to declare the variable BEFORE the loop like so (int x = 0)) otherwise it wont know what "x" is int x = 0 while(x < 5) { //WRITE CODE IN HERE x++ } That "x++" line adds 1 to the variable x each time the loop runs, if you dont add this line, youll get stuck in an infinite loop. Id write the code for you, but im being vague on purpose, the reason is that you need to be willing to butt your head against the wall for a little bit before giving up, to improve your problem solving abilities which will be essential later on. If you ABSOLUTELY cannot get it to work, dm me back and ill help.
  8. Test Your Graphics Card Stability With Furmark (makeuseof.com) Something like this, then compare the score of the GPU to new ones online. If yours scores considerably lower, theres causes for concern. May i ask how much youre paying for the card?
  9. Run synthetic benchmarks and compare them to those posted online. Youll easily tell if its suffered.
  10. Theres a hierarchy of styling within CSS and it goes like this: 1: (Id) Top priority is taken by id styling, ie styling that is applied to an element by refrencing its id will take priority over all other styling. 2: (Class) Secondary priority is given to class, any styling applied by referencing the class of an element will take secondary priority. 3: (Parent > Child) This selector is often done to more easily and quickly style child elements of an element, it has however the least priority and if any of the elements that are styled this way are given any other contradictory styling using class or id, those will take priority.
  11. Ok, thank you so much for the help I will try this Based on my post above, which of the IP adresses should i ask to be delisted?
  12. I did the "send an email test" and here are the results. It seems i am blacklisted. Is there a way to fix this? Im not very familiar with this stuff, its a part time job and once someone realized i liked computers, its obviously the assumption that i know everything about them and how to fix everything haha
  13. Thanks for the reply Haha, and yes good idea. Im slow, so i assume you meant enter the host IP adresses from here into the box that says "blacklist"? As far as i could tell neither is blacklisted when i put them in there.
  14. So, our customer recieve their invoices every month through mail with an attached PDF. However, recently some of our customers have not recieved their email. This month only 2 out of 31 emails were sent successfully and i recieved an error from the Mail Delivery System for the remaining 29 emails. The error code is 550 5.7.1 and contains the following error message: "A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:" example@gmail.com host gmail-smtp-in.l.google.com [**.***.***.**] SMTP error from remote mail server after end of data: 550-5.7.1 [***.***.***.***] Messages missing a valid messageId header are not 550 5.7.1 accepted. b40-20020a2ebc28000000b0025e52e7071fsi51343ljf.183 - gsmtp This is what the original email looked like: ---------- Forwarded message ---------- From: "example@gmail.com" <example@gmail.com> To: example@hotmail.com Cc: example@hotmail.com Bcc: Date: Sun, 31 Jul 2022 21:16:48 +0200 Subject: Faktura fra Nygårdsgaten Maling og Jernvare Hei. Vennligst se vedlagte faktura fra oss. NB: Husk å bruk kidnummer 6 tall. Med vennlig hilsen Nygårdsgaten Maling og Jernvare AS ... We are using a system called Athena to manage sending out our invoices every month. As far as i could tell there was no difference in the Athena system between the customers that did recieve the email and the ones that did not. Any help would be greatly appriciated.
×