Recent content by salm2s

  1. S

    Question HDD vibration causes whole desk to vibrate ?

    Hey there, thanks for the response. In terms of screws, there are no screws. It uses a tool-less mount that slides into the cage. The cage has a screw that attaches itself to the cage, but i dont think that screw is causing the issue. I did try attaching some rubber feet that you would use for...
  2. S

    Question HDD vibration causes whole desk to vibrate ?

    Hi there, I recently got a new Seagate Barracuda 2TB hard drive and when I installed it into my pc, I noticed that the vibration of the hard drive could be heard through my desk. As soon as I lifted my pc up from my desk, the sound immediately disappears and when set down the sound comes back...
  3. S

    Question Nvidia Geforce Experience desktop capture does not work ?

    Thank you so much for the response. After disabling hardware scheduling it is working now!
  4. S

    Question Nvidia Geforce Experience desktop capture does not work ?

    Hi there, I've been having this issue for a while but I decided to ask here because I can't seem to find a solution, so I'm hoping one of you guys could help me. I've been trying to use Geforce Experience overlay to do desktop capture. People will say make sure to enable the privacy control, and...
  5. S

    [SOLVED] Export value from SQLite query to another js file

    I found a solution: USE better-sqlite3!!! const sql = require('better-sqlite3') ... checkUser: function (userid) { const db = new sql('./userdb.db', {readonly: true}) const row = db.prepare("SELECT id FROM user WHERE id = ?") const id = row.get(userid) if...
  6. S

    [SOLVED] Export value from SQLite query to another js file

    Hello there, I am trying to make a discord bot that uses SQLite that stores user id. In order to keep code clean, I have made a file called db.js where I store all my db functions const sql = require('sqlite3') let db = new sql.Database('./userdb.db', sql.OPEN_READWRITE, (err) => { if (err)...
  7. S

    [SOLVED] Motherboard resorts to default settings after unplugging PSU

    Have you tried replacing the CMOS battery on Motherboard?
  8. S

    Question Javascript Math.pow bug

    I think I found a solution: convertAmountFormat(parseFloat(a), true) + convertAmountFormat(1000) When using this: convertAmountFormat(parseFloat(4), true) + convertAmountFormat(1000) = 4.00001000 Thanks for your help
  9. S

    Question Javascript Math.pow bug

    Hi there, I was experimenting with some js code with Math.pow and I found this weird issue. Here is the code I was using: function convertAmountFormat(amount, invert = false) { decimals = 8 if (!invert) { return parseFloat((amount / Math.pow(10, decimals)).toFixed(decimals))...
  10. S

    Question Random half overlay/tint on youtube videos

    Hey so I tried reinstalling chrome, but still no improvement. The overlay is still existent.
  11. S

    Question Random half overlay/tint on youtube videos

    Yes, it is only on youtube. I am using Chrome Browser on Windows 10. I can watch Twitch perfectly fine without this weird overlay. I will try reinstalling Chrome, thanks for your help.
  12. S

    Question Random half overlay/tint on youtube videos

    Hi there, I have recently been noticing this weird tint/overlay every time I am watching any Youtube video: How can I remove this random overlay? Thanks, salm2s
  13. S

    Question Android Icon menu list

    Never mind, found out how to do it: <item android:id="@+id/menu" android:icon="@drawable/ic_launcher" app:showAsAction="always" android:title=""> <menu> <item android:id="@+id/test" android:title="Test"/> </menu>...
  14. S

    Question Android Icon menu list

    Hi there, So i wanted to add an menu with an image. So I made a new resource directory and called it menu. Then i did this: <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">...
  15. S

    Question Javascript parseFloat Limit

    Hi there, So I am trying to get a price of a cryptocurrency to BTC. The sites API only provides the price in scientific notation (e.g 1.7e-7). So i tried using parseFloat, however when doing so it only returns 1.7e-7. I decided to experiment a bit and found that the limit is e-5. My question...