I personally prefer gestures. I find them quicker (you don’t have to move your fingers as much to do anything, especially back gesture) and more intuitive (like swiping on the navigation pill or whatever it’s called to quickly switch apps, much better than double clicking recents button). Gestures also integrate nicely with the rest of os (like swiping from backspace to erase whole words in gboard).
One thing I hate and I can’t understand how that’s not fixed in stock AOSP is opening left side menus (those hamburger ones) with gestures enabled. Half of the time instead of opening the menu it will just go back, even if sensitivity on left edge is set to minimum.
This is something that custom roms address nicely as most of the time setting sensitivity to minimum would actually disable gestures in this area (take note Google). If this is something that’s bugging anyone, you can disable gestures on left edge over adb (without root) with: adb shell settings put secure back_gesture_inset_scale_left 0or with: su -c “settings put secure back_gesture_inset_scale_left 0”if you have root access (for more info look here).
If you recall reddits growth many of their communities evolved as offshoots of a single generic community. This made it easier for people to see discussions they normally would not get involved in, and once the posts in a similar category reached critical mass it moved to a sub Reddit....
From a user point of view there's definitely that initial rush of 'wow, this group looks great!' to scanning across to see 0 posts, 0 comments, 0 users access feeling sad...
That's not too say that these should necessarily be removed but it's a lot harder to get people in to niche communities. Unless you outright went into the Reddit equivalent and said politely you were trying to start one here. But they'd probably be happy in Reddit by this stage so...
Aus dem Interview: “Fridays for Future” kritisiert Letzte Generation. Letzte Generation vergrault die Mehrheit, die u.a. “Fridays for Future” geschaffen haben. Neue Umfrage: 85% der Deutschen sind gegen die Methoden der LG. Miosga hinterfragt die Logik der Letzten Generation die Politiker auf diese Weise ansprechen zu...
Deutschland ist eines der führenden Industrienationen.
<pre style="background-color:#ffffff;">
<span style="color:#323232;">Hier ein Vergleich des Bruttoinlandsprodukts (BIP) von Deutschland mit anderen führenden Volkswirtschaften für das Jahr 2021:
</span><span style="color:#323232;">USA: $23,0 Billionen
</span><span style="color:#323232;">China: $17,7 Billionen
</span><span style="color:#323232;">Japan: $5,1 Billionen
</span><span style="color:#323232;">Deutschland: $4,3 Billionen
</span><span style="color:#323232;">Großbritannien: $3,1 Billionen
</span><span style="color:#323232;">Frankreich: $2,9 Billionen
</span><span style="color:#323232;">Italien: $2,1 Billionen
</span><span style="color:#323232;">Kanada: $2,0 Billionen
</span><span style="color:#323232;">Mit einem BIP von rund 4,3 Billionen US-Dollar lag Deutschland im Jahr 2021 weltweit auf Rang 4 hinter den USA, China und Japan. Innerhalb der EU ist Deutschland mit Abstand die größte Volkswirtschaft vor Frankreich, Italien und Großbritannien.
</span>
Das heisst wir erzielen effektiv mehr BIP pro CO2 Liter Ausstoß. Kein Armutszeugnis.
Denkst unser Wohlstand ist vom Himmel gefallen? Du kannst es dir gerade breit und gemütlich machen, und gegen den Grund hetzen, warum wir gerade so einen hohen Lebensstandard haben. Achtung auf der Welt schafft nur Geld und Macht, und wir müssen uns so positionieren, dass wir reden können und andere auf uns hören. Und dann können wir anderen mitteilen, dass wir auf wichtige Dinge wie den Naturschutz achten müssen. Und die Welt wird zuhören.
Das klappt nicht, wenn irgendwelche Klimakinder, die noch nie gearbeitet haben, nicht wollen, und nicht wissen wie die Welt funktioniert, auf irgendwelche hirnrissige Ideen kommen und den Alltag von normalen Mitmenschen negativ beeinflussen.
Naturschutz muss intelligent angegangen werden und nicht so. Rom wurde nicht an einem Tag erbaut. Ja, man kann versuchen, die globale Erwärmung abzubremsen. Das ist aber auch nur ein Wettlauf mit der Zeit. Der Klimawandel ist natürlich und wird sowieso kommen. Wir müssen uns intelligent darum kümmern, dass wir darauf vorbereitet sind.
If you contact the customer support of your utility company, phone carrier, bank, or other service provider you’ll likely be flooded with requests to rate the experience and provide feedback. Likewise, corporate websites and email communications often solicit feedback via embedded buttons or links to online forms....
My old job 1-8 was a 0 and 9-10 was passing. Nothing worse than hearing a customer say ‘I got a survey for you and gave you all 8s because blah blah blah…’. They honestly thought they were doing us a right by giving us 8s.
Apple Weather forecasts for my area have shown a 30-50% chance of precipitation for eternity, even when there isn’t a cloud in sight. My meteorologist has told his readers to ignore Apple’s forecasts....
Here’s the thing: Apple is reporting a 30% possibility of rain in an area where no other weather model projects anything over 0%. It sent my kid’s school into a frenzy because they were having an outdoor graduation and there was literally no chance that rain was going to fall. None.
Zwangsversteigerungen waren zu den 0% Zinsen Zeiten echter Wahnsinn geworden und als Spartipp ungeeignet (zumindest in meiner Region).
Ob die immer noch so überlaufen sind weiß ich allerdings nicht und es kann sich schon lohnen die zu verfolgen. Nur muss man sich definitiv der Risiken bewusst sein.
I don't like notifications being shown in Windows Action Center, so I disabled it by changing alerts.useSystemBackend to false. The problem is Firefox built-in notification system just decides to mute notification sound and only shows the notifications. It's kinda annoying especially since I'm using this timer add-on. Please...
In riesigen (komplett unrealistischen) Mengen erhöht es (ganz überraschend) das Krebsrisiko. Solange man es sich nicht pur reinzieht oder nur Aspartam-Getränke trinkt unbedenklich.
Lustigerweise sagt die WHO-Einstufung (bzw. der International Agency for Research on Cancer (IARC)) das nicht mal. Die Menge für “unbedenklichen Konsum” von 40mg pro Kilo Körpergewicht und Tag kommt vom JECFA (Joint FAO/WHO Expert Committee on Food Additives) und basiert auf einer Studie an Ratten von 1981:
At its twenty-fifth meeting, the Committee established an ADI of 0–40 mg/kg bodyweight (bw) for aspartame(1). This ADI was based on the no-observed-adverse-effect limit (NOAEL) of 4000 mg/kg bw per day, the highest dose tested, in a 104-week study in rats exposed to aspartame in the diet reported by Ishii et al. (2), and the application of a 100-fold uncertainty factor.
Da Menschen aber keine Ratten sind, folgt daraus aber nicht, dass es überhaupt krebserregend für Menschen ist (oder für den Fall, dass doch, dass dann die gleichen Werte gelten, weswegen das JECFA wohl den Faktor 100 eingebaut hat). Wie der Artikel der BR auch erwähnt, kommt die Einstufung als “möglicherweise krebserregend” auch eher von den neueren Kohortenstudien an Menschen (bzw. aus der Kombination mit den Tierversuchstudien), die einen leichten statistischen Zusammenhang zwischen dem Konsum von Süßstoffen (bereits bei relativ geringem Konsum) und Krebs ermittelt haben. Laut IARC ist die Datenlage aber nicht ausreichend, um hier zu schließen, dass Aspartam kausal verantwortlich ist, und nicht z.B. ein anderer Stoff, dessen Konsum mit dem von Aspartam korreliert etc.. Deswegen empfehlen sie explizit mehr Forschung zum Thema. Im Prinzip scheint das auch der Sinn der Einstufung als “möglicherweise krebserregend” zu sein, man sollte das also eher als “vielleicht ist was dran, vielleicht auch nicht, also eher mal vorsichtig sein und mehr forschen” als als “ist in sehr hohen Dosen krebserregend” (oder auch “ist im Alltag definitiv unbedenklich”) verstehen.
Die Zuckerlobby wirds aber freuen, die können jetzt wieder schön propagieren, dass Zucker viel besser ist und diese ganzen Süßungsmittel viel schlimmer sind…
Leider zitiert hier der BR nicht, dass die WHO in der gleichen Mitteilung explizit empfielt, den Zuckerkonsum zu beschränken:
What is WHO recommending on the consumption of sugars and non-sugar sweeteners?
In both adults and children, WHO recommends reducing the intake of free sugars to less than 10% of total energy intake (strong recommendation). WHO suggests a further reduction of the intake of free sugars to below 5% of total energy intake (conditional recommendation).
WHO suggests that non-sugar sweeteners not be used as a means of achieving weight control or reducing the risk of noncommunicable diseases (conditional recommendation). WHO reaffirms its recommendation to not use non-sugar sweeteners as a means of achieving weight control or reducing the risk of noncommunicable diseases as the evidence still suggests that their use does not help with long-term weight control and may increase risk of type 2 diabetes, cardiovascular diseases and premature mortality.
Insgesamt finde ich, dass hier leider viele Medien etwas irreführend das implizite Narrativ unterstützen, dass die WHO irgendwie Panik schieben würde oder so, dabei wird hier teils einfach nicht klargestellt, was diese Einstufung überhaupt aussagt (oder auch nicht aussagt). Wer sich die Veröffentlichungen der WHO direkt anschauen will, kann die hier finden.
I say that php breaks math entirely, and is therefore bad. “” == null returns true null == [] returns true “” == [] returns false.
In more recent versions it gets worse, because it has 0 == “any text” return true, “any text” == true return true, and 1 == true return true So indirectly 1 = 0, and now math is more directly broken.
I just tested these out out of curiosity.
0==“text” returns false in PHP 8.2 as I’d expect.
The others make sense in the way that php juggles between types. An empty variable can type-juggle to null, but an array can’t be directly compared with a string.
(Although you wouldn’t really want to compare an array with a string, PHP just treats an array as greater than other variables. So weirdly, ([] > “”) == true.)
How about “php enables me to code like a moron”, or even better, "php breaks common conventions and forces me to think about every little detail and special edge case, slowing me down if I don’t want to accidentally ‘code like a moron’ "
Nested ternary operators emerge because of the lack of if/switch expressions (which is C fault), so they are “useful” (they shouldn’t be). However, PHP is the only language that treats it as left associative. This has 2 problems:
You are forced to use parenthesis. Some (insane) people might do: (cond1) ? “A” : (cond2) ? “B” : “C” And it makes sense. Its ugly af, but it makes sense. But PHP now forces you to use more parethesis. It’s making you work more.
It breaks convention. If you come from any other language and use ternary operators, you will get unexpected results. After hours of banging your head against the wall, you realize the problem. And now you have to learn a new edge case in the language, and what to do to actually use the language.
“But you shouldn’t use ternary operators anyway! Use if/switch/polymorphic dispatch/goto/anything else”
True, but still, the feature is there, and its bad. The fact that there are other alternatives doesn’t make the PHP ternary operator worse than other languages’ ternary operator.
PHP works against you. That’s the problem. The ternary operator is not a good example, since there are alternatives. But look at something so simple, so mundane like strpos.
If strpos doesn’t find returns false. Every other language returns -1. And if you then use this value elsewhere, PHP will cast it to 0 for you. Boom, your program is broken, and you have to stare at the screen for hours, looking for the error.
“BuT yOU sHoUlD AlwAyS cHEcK tHe rETurN eRRor!”
And even if that’s true, if we all must check the return value, does PHP force you to do so? Like checked exceptions in Java? Or all the Option & Result in Rust? throws, throws, throws… unwrap, unwrap, unwrap… (Many) people hate those features
“average person shaves 3 ants per year” factoid actualy just statistical error, average person shaves 0 ants per year. Ants Georg, who lives in cave & shaves 10,000 per day is an outlier adn should not have been counted
I bought an unlocked phone directly from the manufacturer and still didn’t get the choice.
Inserting a SIM card wiped the phone and provisioned it, installing all sorts of carrier-provided apps with system-level permissions.
As far as I’ve found, there’s a few possible solutions:
Unlock the bootloader and install a custom ROM that doesn’t automatically install carrier-provided apps. (Warning: This will blow the E-fuse on Samsung devices, disabling biometrics and other features provided by their proprietary HSM).
Manually disable the apps after they’re forcibly installed for you. Install adb on a computer and use pm disable-user --user 0 the.app.package on every app you don’t want. If your OEM ROM is particularly scummy, it might go out of its way to periodically re-enable some of them, though.
Find a SIM card for a carrier that doesn’t install any apps, then insert that into a fresh phone and hope that the phone doesn’t adopt the new carrier’s apps (or wipe the phone) when you insert your actual SIM.
Oh cool, there’s a 200mp camera. Something that only pro photographers care about lol.
Oh this is a fun one! Trained, professional photographers generally don’t care either, since more megapixels aren’t guaranteed to make better photos.
Consider two sensors that take up the same physical space and capture light with the same efficiency/ability, but are 10 vs 40 megapixels. (Note: Realistically, a higher density would mean design trade-offs and more generous manufacturing tolerances.)
From a physics perspective, the higher megapixel sensor will collect the same amount of light spread over a more dense area. This means that the resolution of the captured light will be higher, but each single pixel will get less overall light.
When you zoom in to the individual pixels, the higher-resolution sensor will appear more noisy. This can be mitigated by pixel binning, which groups (or “bins”) those physical pixels into larger, virtual ones—essentially mimicking the lower-resolution sensor. Software can get crafty and try to use some more tricks to de-noise it without ruining the sharpness, though. Or if you could sit completely still for a few seconds, you could significantly lower the ISO and get a better average for each pixel.
Strictly from a physics perspective (and assuming the sensors are the same overall quality), higher megapixel sensors are better simply because you can capture more detail and end up with similar quality when you scale the picture down to whatever you’re comparing it against. More detail never hurts.
… Except when it does. Unless you save your photos as RAW (which take a massice amount of space), they’re going to be compressed into a lossy image format like JPEG. And the lovely thing about JPEG, is that it takes advantage of human vision to strip away visual information that we generally wouldn’t perceive, like slight color changes and high frequency details (like noise!)
And you can probably see where this is going: the way that the photo is encoded and stored destroys data that would have otherwise ensured you could eventually create a comparable (or better) photo. Luckily, though, the image is pre-processed by the camera software before encoding it as a JPEG, applying some of those quality-improving tricks before the data is lost. That leaves you at the mercy of the manufacturer’s software, however.
In summary: more megapixels is better in theory. In practice, bad software and image compression negate the advantages that a higher resolution provides, and higher-density sensors likely mean lower-quality data. Also, don’t expect more megapixels to mean better zoom. You would need an actual lense for that.
I’m an engineering major, we learn all of the edge cases as “well technically this isn’t always true, but we’ll just pretend it is because the results are close enough”
Every value of Y works for X=0, the equation simplifies to Y=Y, so X=0 is just like Y=9.
In the limit as X->infinity, you get Y = 9 again.
X(1+Y) + Y = 10*X + Y lim X->inf Assuming Y is finite, you drop the non-X terms
X(1+Y) = 10*X lim x->inf
Here, because X is non-zero and equal to itself, you can cancel them (I assume, IANA Mathematician) 1 + Y = 10 Y = 9
I grew up an avid gamer. But now, among my 50-hour work week, helping my kids with their math homework, grocery shopping, and house chores, I’m no longer able to find enough free time to really dive into a game. I mostly play casual games that I can drop in and out of but forget about the 40hr+ games requiring commitment....
“Standards for the exact length of an inch have varied in the past, but since the adoption of the international yard during the 1950s and 1960s the inch has been based on the metric system and defined as exactly 25.4 mm.”
Wenn Deutschland nun eine Kerosinsteuer einführen würde bei der pauschal alle Betankungen die an deutschen Flughäfen stattfinden besteuert werden, dann würde schlicht und ergreifend fast jede Airline nur noch im Ausland tanken. Wir wären dann die ersten in der EU die eine Kerosinsteuer haben, abgesehen davon wird in Europa nur in Norwegen Kerosin besteuert.
Besteuert man nur die Inlandsflüge werden Airlines ihre Routings ebenfalls so anpassen, dass im Ausland mehr getankt wird als eigentlich für den Flug nötig. Die generellen Emissionen durch den schwereren Flieger steigen dadurch, also irgendwie auch kein Gewinn.
Lösung: Differenz der nationalen Steuer auf das im gelandeten Flugzeug vorhandene Kerosin berechnen. Also wenn du 10 Liter aus dem Ausland mit dort 0% Steuer mitbringst, zahlst du eben noch die Steuer für 10 Liter nach.
Oder meinetwegen auch ein nationaler Alleingang. Ich find’s jedenfalls nicht okay, als Nichtflieger die Fliegerei anderer zu subventionieren.
Solidarprinzip ist gut, aber eben nur für Sachen, die gut sind.
One thing that annoyed me about moving to Lemmy was that I’d lose my subreddits and that looking for and joining communities on Lemmy would be tedious. So (logically) I spent 2 days writing a script, that gets a list of your subreddits from your reddit account and looks for communities with the same name on Lemmy. It also...
Yeah, totp isn’t supported. Two workarounds, both of which include some work on your side:
bypass reddit usage by the sxriot:
copy the link to your multireddit from old.reddit/subreddits. Now you have all your subreddits.
Paste them into a text editor
delete everything up until and including /r/, do search and replace replacing + with ‘,’ (including the apostrophes).
At the beginning, add [’ and at the end add ']. You should now have [] brackets and within all your subreddits in apostrophes and separated by a comma.
Copy all that and paste it in the script in line 267 so it reads :
subs = [‘subreddit1’,‘subreddit2’,etc]
Comment out lines 252-256 by adding # to the beginning of the line.
Run the script and it should work.
use totp/mfa:
enable change DEBUG=0 to DEBUG=1 at the top of the script.
comment out lines 90-93 and 255 by adding # to the beginning of the line
in line 94 change “time.sleep(3)” to "time.sleep(60)"
run the script. Now you should see a chrome window open and do stuff. Once you get to the reddit page, login how you normally would and wait. You have 60 seconds to do this and from there on the script should run normally.
Microsoft takes pains to obscure role in 0-days that caused email breach (arstechnica.com)
Button navigation is objectively better than gesture navigation.
I guess this has been said before but I want to reiterate it here....
I think the rush to recreate communities is a bad idea. (kbin.social)
If you recall reddits growth many of their communities evolved as offshoots of a single generic community. This made it easier for people to see discussions they normally would not get involved in, and once the posts in a similar category reached critical mass it moved to a sub Reddit....
85% der Deutschen Bevölkerung werden von den Methoden der "Letzten Generation" vergrault. Fridays For Future sieht ihre jahrelange Arbeit durch LG untergraben. (www.msn.com) German
Aus dem Interview: “Fridays for Future” kritisiert Letzte Generation. Letzte Generation vergrault die Mehrheit, die u.a. “Fridays for Future” geschaffen haben. Neue Umfrage: 85% der Deutschen sind gegen die Methoden der LG. Miosga hinterfragt die Logik der Letzten Generation die Politiker auf diese Weise ansprechen zu...
💤🪵(😯) = 🪵(😴) (sh.itjust.works)
there are 0 stairs in Russia. just jump off airborne T-60 turret at desired elevation (lemmy.world)
did not steal from reddit I swear
What's with the corporate obsession with customer feedback?
If you contact the customer support of your utility company, phone carrier, bank, or other service provider you’ll likely be flooded with requests to rate the experience and provide feedback. Likewise, corporate websites and email communications often solicit feedback via embedded buttons or links to online forms....
[Help] JS array with getter by ID ?
Hi !...
Apple Weather's forecasts are so bad my meteorologist made a post about it (spacecityweather.com)
Apple Weather forecasts for my area have shown a 30-50% chance of precipitation for eternity, even when there isn’t a cloud in sight. My meteorologist has told his readers to ignore Apple’s forecasts....
Welche Finanz-Lifehacks kennt ihr? German
Wo kann man hier und da was sparen? Oder smarter anlegen? Smarte Tipps und Carbona-im-Duschwasser gekocht. Alles erlaubt.
Add-on's notification sound is muted (fedia.io)
I don't like notifications being shown in Windows Action Center, so I disabled it by changing alerts.useSystemBackend to false. The problem is Firefox built-in notification system just decides to mute notification sound and only shows the notifications. It's kinda annoying especially since I'm using this timer add-on. Please...
WHO: Aspartam möglicherweise krebserregend - was bedeutet das? (www.br.de) German
and people wonder why we say PHP is a meme (lemmy.world)
Ok but really, how do you shave an ant? (lemmy.blahaj.zone)
Updated my Samsung phone and it installed unwanted apps (lemmy.world)
Nice (lemmy.fmhy.ml)
Working parents, how do you find time to game?
I grew up an avid gamer. But now, among my 50-hour work week, helping my kids with their math homework, grocery shopping, and house chores, I’m no longer able to find enough free time to really dive into a game. I mostly play casual games that I can drop in and out of but forget about the 40hr+ games requiring commitment....
YSK: Imperial units are based on the metric system (en.wikipedia.org)
“Standards for the exact length of an inch have varied in the past, but since the adoption of the international yard during the 1950s and 1960s the inch has been based on the metric system and defined as exactly 25.4 mm.”
"Letzte Generation" blockiert Flughäfen in Hamburg und Düsseldorf (www.tagesschau.de) German
“Letzte Generation” blockiert Flughäfen...
I made a tool that transfers your reddit subscriptions to lemmy (github.com)
One thing that annoyed me about moving to Lemmy was that I’d lose my subreddits and that looking for and joining communities on Lemmy would be tedious. So (logically) I spent 2 days writing a script, that gets a list of your subreddits from your reddit account and looks for communities with the same name on Lemmy. It also...