438 karma · joined August 29, 2019
But batteries are a very important innovation for power grids regardless of renewable energy goals. 50% of the job of an energy grid is just keeping the ac power supply stable when generation does exactly match consumption. Lithium batteries help smooth out spikes in demand over milliseconds and hours to save millions of dollars
Lithium grid scale storage is awesome no matter what happens with renewables.
1. Using a redis connection per socket as a cross thread message queue
2. Crashing the server on invalid sentry tracking header
3. No size validation on user input
It looks like a fun project but it ironic that the third party monitoring service to track downtime was your downtime.
Now I feel redis is not worth the effort over a Hashmap you write to disk/s3 every 5 minutes for hobby stuff. Ya ain’t gonna need it and if you do just install a full sql database
I think this is insane and a complete destruction of the balance of power written in the constitution that congress can't enact enforceable laws but only "suggestions" for the president
If someone searches for "al's roof repair" the top results will be sponsored links to other roofing companies who paid for ads before "al's roof repair".
It is not as simple as you say. Sometime it is better to know all of you dependencies are static linked at build time and specified when you are releasing your code. And the more sane you build system is the harder it is to add shellcode to your dependency's tarball and build scripts without turning peoples heads with random unsafe code.
If you rent a vps with a ipv6 “address” you will see that you are given a /64 network.
There is no effort to “fix” the bottom 64 bits because it’s not needed. There are enough /56 networks to for the next 500 years and 99% of people can do everything they need with an isp provided /56. IPv4 has survived with 48 bit nat for this long so 64 bit is even more buffer space
A single static ipv4 address is a /32 slice into the ipv4 space and is considered a reasonable to size give out to a single person or even a small business that asks for it. Of course larger companies and telecom operators need larger network allocations and they have gotten them for many years in the past.
Now realize that if a /64 ipv6 network is the minimum size like a single ipv4 address then you see that the ipv6 address space has 2^32 /32 ipv6 networks. Now with ipv6 any technical person and acquire a entire ipv4 internet sized network in a continuous (globally routeable if you want) range.
And if any sized business today can expect buy a single "class c" /24 range of ipv4 it makes sense that large global compaines get a ipv6 /20 network to run their entire network on it.For example cloudflare[1] uses 6 regional /32 networks and a /29 network for all their routing needs. Imaging trying to build cloudflare with less than 32 addresses in a single /24 ipv4 allocation.
ipv6 is so large that you can just design your network without worrying about subnet size and route based on real policy or security boundaries alone. We will run out of MAC addresses before we run out of ipv6
I don’t think this describes “a panic attack”. I think “completely overwhelmed” is a real thing to be accommodated and is separate from a social anxiety triggered panic attack
RISK-V C instructions are on the other hand are trivial. All compressed instructions are 1-1 translatable to uncompressed instructions. People have measured the cost of adding C extension decoding as being a few hundred GATES.
I'm being serious that someone in that situation may have mixed feelings about doing the right thing vs betraying friends/bosses and how they may have contributed to wrongdoing in the testmony
More interesting is windows 11 auto configuring ipv6. Does you pc have a public ipv6 address starting with 2:: or fe80:: link local address?
Quick ipv6 crash course. Instead of DHCPv4 (there is DHCPv6 but it's optional) being required for address configuations, ipv6 uses somting called Stateless address Autoconfiguration (SLAAC). Normaly your router sends out Router advertizments packets and this tells devices about the default gateway, public prefix, dns etc... and pc will generate a public ip of (64 bit public prefix):(64 bit random number).
It seems like Windows 10 and eariler will not do ipv6 unless your router advertises it.
TL;DR learning ipv6 is easier than disabling it at this point
I don't think rng seeding has anything to do with the algorithm you choose? Seeding from the os rng is usually what you want even for a prng. If you want to use use the current time there is a `seed_from_u64` if you want.
let string = "ewfsan";
let bitset = string.bytes().fold(0u32 |acc, ch| acc | 1 << (ch - b'a'));
This is a idiom that I have used many times so this being more consice than a for loop is a plusOf course if you have never seen a syntax before it will make less sense that anything you have seen before
But yeah if you are a large bloated enterprise like amazon or microsoft that owns large amounts of ipv4 address space and expensive ipv4 routing equipment there is not a ton of value in switching