Jump to content

babadoctor

Member
  • Posts

    4,199
  • Joined

  • Last visited

Posts posted by babadoctor

  1. https://shop.tesla.com/product/gen-2-nema-adapters

     

    The place I want to charge has a 5-15/20 passthrough outlet

     

    If I twisted the nema 5-15 hot plug so that it could fit in the 5-20 passthrough, could I charge my car at higher than 12 amps?

    I could purchase the correct adapter but it costs 40$ and I don't want to pay for another adapter lol

     

    How unsafe is this

     

    Also are there any adapters that are cheaper that accomplish the same thing

    image.png

  2. 53 minutes ago, Eigenvektor said:

    Cloudflare's bandwidth isn't unlimited. If they get hammered hard enough, the website behind it is still going to be inaccessible, at least in the region the Cloudflare server is in that is getting hammered. And depending on what your server is doing, what its responses look like etc. it may very well reveal its actual IP inadvertently. Have a look at the network communication in your browser's developer tools, see if there's anything that contains the IP behind Cloudflare.

     

    Or just try a DNS lookup, does that only return Cloudflare's IP, or the server IP? Is that true for all regions over the world?

     

    ~edit: Also keep in mind what "denial of service" really means. It could mean hamming your server with requests until it goes down. This requires a fair amount of bandwidth on the attackers side and may be blocked by Cloudflare.

     

    But what if I can find a relatively simple request that triggers a fair amount of computation on your end? I can now DOS your server by sending just a small number of requests that trigger lengthy computations. And if the server is already busy with computing results for previous requests, this can quickly snowball into an unresponsive server. Cloudflare might not actually do anything, because the number of requests is low enough to not trigger any countermeasures, but your server goes down regardless.

    Yes, that's true, there are many ways in which you can perform a denial of service through causing my server to run computationally intensive tasks, but for now I just want to worry about those attacks which require an attacker to send a massive amount of bandwidth.

     

    No, the DNS lookup doesnt show the IP address or anything like that. 

     

    The way I went about blocking it was just setting UFW to only allow access to cloud flare's IP addresses.

     

     image.png.c35548ae999262bd2969b300f873b97c.png

  3. If I have a server which hosts a website, and then make the server only respond to connections from cloudflare, how is it possible that people find out the IP address of the server and attack it anyways?

     

    shouldn't this be foolproof? so then why is it that I constantly hear about websites being attacked and going offline for extended periods of time?

     

    I'm currently hosting a website this way, so I just wanted to see what mistakes were made or what I have not accounted for in protecting it.

     

    Thanks

     

  4. how do I use regex to replace a certain part of a string and nothing else?

     

    i want youtube.com links to get auto redirected to yewtu.be links.

     

    for example

    https://www.youtube.com/watch?v=R7CO9v9rpOk

    i want this link to redirect to

    https://www.yewtu.be/watch?v=R7CO9v9rpOk

     

    the only difference in the links is the domain name. How can I accomplish the replacement with regex?

     

    I tried this but it didn't work

     

    image.png.a407578b23cefc86c3a5b3b671724aec.png

  5. 1 minute ago, c00face said:

    Take your motherboard to a pc shop to have them test if it's dead or not. Sounds like a dud mobo sadly. But hard to tell unless you get it tested. Most pc shop does free motherboard testing to check if it's working or not if you live in the States.

    Are there any other tests i can do to confirm whether or not it is a dead motherboard, or power supply?

     

    If not, I will just take it to the shop.

  6. Hello

     

    My PC randomly shut off while I was using it, and when I tried to turn it back on the CPU fan wouldn't turn on. The RGB ram I have is powered on, and the peripherals also get power. But for some reason, when I press the power the CPU fan and other fans move an inch and stop. And it does not boot.

     

    No beeps either.....

     

    Any ideas?

     

    CPU: Ryzen 2700x

    Ram: Corsair Vengeance RGB PRO 16GB (2x8GB) DDR4

    Motherboard: Asus Prime X570-P

    GPU: Gigabyte RTX 2070

     

     

  7. Just now, Kilrah said:

    Apart from phase 1 plotting is a single thread process, so doing only 1 plot at a time is terribly inefficient. If you "only" have enough RAM to make 1 simuntaneous plot you basically won't gain anything vs it being on an SSD, and on an SSD you can make 8 in parallel. 

    I did not know that you could make 8 in parallel on an SSD. Well, that definitely puts an end to that idea.

  8. 1 minute ago, BondiBlue said:

    Honestly, if you're only going to use 256GB of RAM for plotting (and that's kind of iffy from my experience - 256GB seems to be just a bit too small for one plot) then you'd be much better off just buying a ton of SSDs for the same money. 

    I would be interested in seeing a chart of the initial cost vs the potential savings over time as the cost of SSDs and other storage mediums increase.

    You're probably right though, it may only benefit in the long run.

  9. 5 minutes ago, NunoLava1998 said:

    Problem is, it would be very very expensive, as each Chia plot is 101GiB large. 1TB of DDR3 RAM on eBay is about 2,000$, so you'd spend at the very minimum just under 200$ per plot.

    Why does it need to be 1TB of ram? Can't I just have 256gb of ram and move the plot over to a mechanical drive after it's done generating the plot?

    or would it be too slow?

     

    7 minutes ago, mariushm said:

    You could create a RAM drive which shows up in the operating system like a regular hard drive, so Chia wouldn't have any clue about it. 

     

    But think about it ... from what I heard, it uses around 200-250 GB of disk space plus some temporary files during mining of one plot ... so at most you'd probably be able to mine 2 plots at same time using 512 GB of memory... so you'd have an expensive system with lots of threads that can only use 2-3 threads for mining 

    DDR4 is also expensive, so you'd be paying a lot for ddr4 registered / buffered memory to get to your 512 GB / 1 TB of ram.

     

    I was thinking about it, using G34 (old AMD opteron motherboards)... you could have bought a dual socket g34 motherboard WITH 2 opteron processors for around 100-150$ .. and then fill it with cheaper DDR3 server sticks. 

    BUT, those opteron processors are really slow, so on one hand you are saving money by not killing your ssd drives but you're paying more in electricity for powering two opterons and all the ram sticks and because the ipc sucks (low performance per core)  it would take way more time for a plot to be mined, so you wouldn't be efficient. 

     

    Interesting

     

    So the power usage for powering the ram sticks / CPU is a lot more cost intensive than just powering an ssd?

     

    I thought the cpu would be doing the operations anyways since it needed to generate the plot anyways

     

  10. If I use a ram to create a plot, shouldn't I theoretically not have to worry about disk endurance? Or is the process of having the plot on a hard disk write intensive as well?

     

    I found some videos about it, but I couldn't find anything specific about it.

     

    I am thinking that it may be possible to mine chia on /dev/shm on linux, or something but I can't find any tutorials.

     

    Shouldn't mining chia on ram not have any of the endurance issues people are facing with buying traditional ssds?

     

    What is the best way to go about this?

     

  11. 4 minutes ago, MadAnt250 said:

    I don't how well that is going to work, lol. Do you have the radio gear?

    0.55lbs or 250 grams minimum, I am pretty sure your battery exceeds that alone.

    Yeah, I was going to get a license to fly it because of it's weight

    I was going to try and use a lora module and an arduino, if that doesn't work I was planning on just purchasing a radio as well.

  12. 1 hour ago, MadAnt250 said:

    From what I read, it could be dangerous if not careful, but the same goes for the hobby grade chargers that I use. Some of the battery chargers are made for people who don't want to mess about with a bunch of settings to charge a battery, and others can let you mess with everything (which is what I use). Also chargers designed for LiPos have the connections for the balancing leads, which is very important, because if you don't have the voltage in the cells matched (or close enough) it can lead to damage when charging or discharging the battery. Sometimes it is easier to just let the charger do all the work.

     

    Also, What size plane are you making? Because that is a lot battery for an RC plane, unless you plan on registering with the FAA.(Not a joke)

    I have a motor that can produce around 1kg of thrust, so I was hoping that with this battery and a frame made of cardboard it could possibly work.

     

    I would need to register with the FAA, yeah, i think they have a 5$ fee on their website for any over 550g.

  13. 16 minutes ago, MadAnt250 said:

    Be careful, the battery can puff up and flame, when charging make sure it is in a fire resistant/proof container.

    Also, what is the battery going to be used for? RC? Experiment? ??

     

    I was going to make an RC airplane with it

     

    is there really that much of a difference between charging with a lab bench power supply and a charger?

  14. 1 minute ago, MadAnt250 said:

    Wait one sec. You want to use a bench power supply too charge a LiPo battery?

    Unless your device can charge in a specific way, this can be dangerous.

    https://www.electronics-lab.com/using-bench-power-supply-charge-lithium-ion-batteries/

    Check out EEVbog's video.

    The information I told you is for charging LiPos with chargers specifically designed for charging them, because all you pretty much have to do is punch in the numbers and let the charger do it's thing.

    This is what I was referring to, yes.

     

    I watched this video, and he uses the same 1c method which i was attempting to replicate.

  15. Just now, MadAnt250 said:

    5 to 5.2 amps for most R/C LiPo batteries, but that may depend on what manufacture recommends. What brand and model battery do you have? 

     

    Also, I have 17 + or - years of experience with surface radio controlled models, I need to get back into it, lol. 

    https://www.amazon.com/gp/product/B07T848BXN/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1

    I've seen bad reviews, so I might return it

  16. I've seen conflicting answers all over the internet

     

    I have a 3S 60c 5200mAH Li Po battery 

     

    All of them say charge at 1c, but for some reason people have different opinions on what that means

     

    https://forums.traxxas.com/showthread.php?8941991-how-many-amps-should-i-charge-my-lipo-at

     

    This forum says that you should charge it at 1c, which would be the capacity divided by 10, so... 5.2 amps at 12.6v?

     

     

    This doesn't seem safe. I know how dangerous these batteries are, so what is the recommended charge rate?

     

    Other people suggest charging it lower.

    https://electronics.stackexchange.com/questions/182781/how-to-charge-lipo-with-a-laboratory-power-supply

    Stackexchange says charge it at 1/10th, so, 520 milliamps at 12.6v? I'm so confused..

     

    Can anyone help me out?

  17. Just now, Kilrah said:

    You can use LoRA-capable modules to transmit whatever you want, but not through LoRAWAN since that's a wide area network you have no need for to make a local system and that has strict requirements and limitations that are geared towards extremely low amounts of data.

    Oh, I see...

     

    I think I misunderstood what lorawan is, I thought it was a technique of using TCP/IP over Lora between two devices

     

  18. Is it possible to use LoRA for a live audio transmission?

     

    I know LoRA is half duplex, but so is WiFi, so shouldn't it technically be possible to do something like VOIP over LoRAWAN?

     

    I couldn't find any projects relating to the subject, so any advice is appreciated.

     

    The main project I wanted to do was build a doorbell with audio transmission capabilities. 

     

    E.g user presses button on doorbell, an audio channel is opened, and I can speak to whoever is outside, and they can speak to me.

×