- 46 Posts
- 416 Comments
HiddenLayer555@lemmy.mlOPto Programmer Humor@programming.dev•Why make it complicated?English6·18 hours agoTIL PHP has statics.
Also, does PHP actually enforce the type declarations? I’d assume it would but knowing PHP…
HiddenLayer555@lemmy.mlOPto Programmer Humor@programming.dev•Why make it complicated?English8·18 hours agoDoesn’t Basic use
Dim a As String
?
HiddenLayer555@lemmy.mlOPto Programmer Humor@programming.dev•Why make it complicated?English281·19 hours agoIt’s commonly used in math to declare variables so I assume programming languages borrowed it from there.
Can’t say I’ve ever experienced this kind of confusion in Java but that’s probably because they intentionally restricted the syntax so there’s no ambiguity.
HiddenLayer555@lemmy.mlto Privacy@lemmy.ml•New US visa rules will force foreign students to unlock social media profilesEnglish34·21 hours agoWhy any international students still want to go to the US is beyond me.
Better than an integer at least.
Race condition that only happens on the much faster production hardware: Allow me to introduce myself
Race science’s worst enemy: actual science.
Is that the whataboutism they keep accusing us of?
HiddenLayer555@lemmy.mlto Asklemmy@lemmy.ml•When we microwave in our house we say we're going to "zap it". What do you say?English1·2 days agoRadiation, in this context, is light. Everything from old school AM radio, to microwaves, to infrared, to visible light, to UV, and finally gamma rays are all just photons. For light, there are two energy metrics: how much energy the individual photons have, and how many photons are being emitted per unit of time. Only the energy level of the individual photons determine if the radiation is ionizing, as in, powerful enough to rip electrons off what it hits, including important molecules like DNA. Ionizing radiation starts at the UV range, so anything below that is not ionizing. This is why you can get skin cancer from UV but no amount of visible light can cause cancer. And microwaves are well below even visible light so they aren’t ionizing either.
Also, Wi-Fi and cellular networks operate in the microwave range. In fact, your microwave oven is 2.4 GHz, which is what older Wi-Fi equipment exclusively used, which is why your Wi-Fi connection used to crap out when you microwaved something. The reason you don’t feel your hand heating up from the microwave rariation coming out of your phone is because the number of microwave photons per second being emitted by your phone is far less than a microwave oven. Your phone’s antennas are 1 or 2 watts while your microwave is over 1000 watts.
HiddenLayer555@lemmy.mlto Privacy@lemmy.ml•Data broker was used by shooter in Minnesota to get information about victimsEnglish48·3 days agoThis is why the “nothing to hide nothing to fear” line is bullshit. You can be a model citizen and there will still be people actively trying to use your data to harm you.
Would you leave your door unlocked just because you’re not hiding illegal activity in your house?
You can fit millions of books on a chip the size of your fingernail.
This was recently featured on Linus Tech Tips: https://www.alibaba.com/product-detail/Ruggedized-trifold-computer-offers-three-18_1600635369600.html
Al Blue: When Al Capone becomes a cop.
Damn.
I suppose the obvious question of why Amazon doesn’t have an intuitive way of rate limiting those can be answered by the huge bills people rack up.
Never used AWS but would it help to bake a daemon into your default OS image that shuts it down after 24 hours? That way you need to manually disable it for the ones you want to keep.
Why have two different forces when violence works the same way on both your own citizens and foreigners? taps head
HiddenLayer555@lemmy.mlto Privacy@lemmy.ml•My Mac Contacted 63 Different Apple Owned Domains in One Hour - While Not is UseEnglish1·8 days agoShouldn’t it be MANGA now that Facebook renamed itself to Meta?
deleted by creator