Proton is rebuilding their android app from the ground up. They’re not going to fix something like this in the old app. You can join the beta here. proton.me/support/mail-android-beta
Thank you! The stupid thing is I’m literally enrolled in the beta program through the Google Play store… apparently that’s the fake beta and you have to know this link for the real beta. I can confirm this issue does not exist on the “real” beta. You just saved me a lot of time.
As a programmer, I consider The User to be the enemy. No matter how thoroughly I seemingly test my code, the second the user gets their hands on it, it breaks left and right from all the crazy shit they do.
The command in question recursively changes file ownership to account “user” and group “user” for every file and folder in the system. With linux, where many processes are run as root and on various other accounts (like apache or www-data for web server, mysql for MySql database and so on) and after that command none of the services can access the files they need to function. And as the whole system is broken on a very fundamental level changing everything back would be a huge pain in the rear.
On this ubuntu system I’m using right now I have 53 separate user accounts for various things. Some are obsolete and not in use, but majority are used for something and 15 of them are in active use for different services. Different systems have a bit different numbers, but you’d basically need to track down all the millions of files on your computer and fix each of their permission by hand. It can be done, and if you have similar system to copy privileges from you could write a script to fix most of the things, but in vast majority of cases it’s easier to just wipe the drive and reinstall.
Because I have been completely unable to find it again and this seems like a relevant place to ask: does anyone have a link to an article similar to this, that I believe might have been titled ‘My First Name is My Last Name’? This is made extra hard to look up because I’ve forgotten the specific culture and details it’s talking about, but it’s about the same basic issue with cultural conventions on names.
I used to work with a Greek guy called Argyros Argyros - cool guy, but suspect he was an outlier. Named after his dad, so certainly some people are named that way. Icelandic for instance would traditionally use “Given Name” “Patronym from father” - Magnus Magnusson was quite famous in the UK; Björk Guðmundsdóttir might be the most famous internationally, but she’s not a “double”. There’s quite a few cultures - Hungarian, Chinese, Japanese, … - that write their names as “Family Name” “Given Name” as opposed to the other way around, if that’s what you mean?
Apologies for being so sketchy on the details but I really can’t remember too many of the specifics. I’m fairly certain it wasn’t that his family name came first, because that’s fairly straightforward. I think the author might have been from an east or southeast Asian culture? I think that part of the essay might have been about how addressing him as Mr. Firstname is actually more formal than Mr. Lastname, even though Firstname is not his family name. I don’t want to keep guessing on more details about how the naming conventions were different because I’m probably going to get it wrong, I have fairly low confidence in what I remember from it.
I think that part of the essay might have been about how addressing him as Mr. Firstname is actually more formal than Mr. Lastname, even though Firstname is not his family name
Could it be Turkish? Just stumbled on this section on the Wikipedia article on mononyms
Surnames were introduced in Turkey only after World War I, by the country’s first president, Mustafa Kemal Atatürk, as part of his Westernization and modernization programs. Common people can be addressed semi-formally by their given name plus the title Bey or Hanım (without surname), whereas politicians are often known by surname only (Ecevit, Demirel).
Good point. I wonder if there was a way to like auto-transcribe these voice/video comments and automatically embed them in the source code so you have like a written-out comment that people could read.
Ooh let’s make it so that it the user has to manually add in all the time before January 1, 1970 in order for it to be accurate. That time is also in Roman numerals.
The program then does a system time check against NIST to see if the calculation is correct, otherwise it won’t let you proceed.
This is what I and many other programmers have done (not the removal, but fake delays), because it improves user experience, actually:
1.When the user clicks a button that should take long in their mind (like uncompressing a zip file etc) but is actually fast, it might seem like something is wrong and it didn’t work
2.When the user transitions between layouts of the application, if it loads everything too fast it will look too abrupt, a fake delay will be made here if a transition animation is not possible/doesn’t fit
I’m pretty sure it’s either a myth (that it doesn’t work) or some US-centric thing, because when I worked as a delivery guy, I used to go through probably hundreds of different elevators in high-density residential buildings, and most of them have doors that stay open very long to allow baby strollers and heavy appliances to be placed inside, and on pretty much all of these the door closing button works, immediately closing the door
The door close button does nothing in Canada but in the middle east it actually works immediately. I was shocked when I tried in the middle east I used to just do it for fun in Canada.
In Germany it also works as expected. I remember that we always pressed it like crazy in university when the elevator was already very full, so it didn’t even open when it stopped before the ground level.
Most elevators I’ve seen in the US have a minimum time for the doors to be open. Hitting the closed button won’t do anything, unless you had hit the open door button to keep them open past that time. So if you hit the open door button right before the doors closed to let someone in and they tell you they are actually going down, you can hit the close button and it’ll immediately close.
I was working on an enterprise web application, there was a legacy system that everyone hated and we replaced it with a more modern one.
We got a ticket from our PO to introduce a 30 sec delay to one of our buttons. It sounded insane, but he explained that L1 support got too many calls and emails where users thought said button was broken.
It wasn’t, they were just used to having to wait up to 5 minutes for it to finish doing its thing, so they didn’t notice when it did it instantly.
We gradually removed that delay, 10 seconds each month, and our users were very happy.
There was a financial calculator from HP that they made for decades. The newer ones were so fast doing large mortgage calculations that the users didn’t trust it, so they intentionally slowed down the results.
Imagine asking a person a math question like what 2 times 3 times 7 is (without you knowing the answer). If that person immediately goes like „42“ you‘ll most likely think that it’s a joke response and the person doesn’t take your question seriously. If however that person takes a few seconds to think you are much more likely to believe the answer.
Well, in this case, it was a graphical program that was doing it, and I really could’ve recognized that the file was being created by that. I had just kind of forgotten that I opened this graphical program a few days ago on a different workspace…
Don’t you think immediately getting the property you’re interested in from an object is easier and more readable than first grepping some output to get the line you want and then removing the leading and trailing garbage on that line manually?
I thing PS scripting would be much more fun if the words weren’t so annoyingly long.
first grepping some output to get the line you want and then removing the leading and trailing garbage on that line manually
That’s not what we do, though. Give me a more concrete example, and I’ll let you know how I would expect to do it in a nix environment. I’d be curious to compare. Since I have zero experience with powershell, I am not really sure what to expect. The couple times I’ve glanced at a powershell script it looked awful, but I could be falling into Paul Graham’s blub paradox there. OK, I don’t think so, but maybe.
I think I misunderstood you, when you said “manually”, to mean as a human intervention in the process. What you’re showing here is an extra processing step, but I wouldn’t call that manual. Just want to clear that up, but I’m still down to play.
Instead of three greps, you could use one sed or awk. I don’t think there’s anything particularly wizardly about awk, and it would be a lot less cryptic, to me, than this chain of greps.
But a much better idea would be to use sensors -j to get json output, intended for machine reading, and pass that to jq. Since I don’t have the same sensors output as you, I’m not sure exactly what that would be, but I am guessing probably something like:
What you’re showing here is an extra processing step, but I wouldn’t call that manual.
Yes, it’s not manual by the dictionary definition, but it is an extra step. This is another meaning of manual in my particular bubble [Edit: that I didn’t think to specify].
But a much better idea would be to use sensors -j to get json output, intended for machine reading, and pass that to jq.
This is my initial point, exactly. Dealing with objects is way easier than using the ‘default’ line-wise processing. Only Powershell made that the default, while in Linux you need to hope that utilities have an option to toggle it on – and then also have jq installed to process the objects.
I look forward to seeing how you would do this in PS. As I said previously, I don’t know it at all, so I’m not sure what you’re comparing this to.
[Edit, since I forgot to answer your main point:] I don’t program in PS. I don’t like the verbosity. But I do think MS has a point in pushing objects as the prime unit in processing instead of lines.
It’s from the beginning meant to be fully scripted though. You’re not supposed to be putting in these commands manually, it’s meant to be used in an environment where the 5-50 commands you or your company needs constantly have aliases and script files defined and on PATH.
Yes, if it was as object based as it claims, Get-WmiObject would subtract WmiObject from Get. Instead it is like having all the clutchy drawbacks from being object based without reaping any of the potential bemefits.
If you want anything that actually is object based, just use xon.sh - sane and familiar syntax with insane amounts of power just like that
Get-Disk would have sufficed here, no real need to use WMI here. That said, you would still need to filter USB device and select properties you want to retrieve.
And unrelated, but if WMI class needs to be queried, Get-CimInstance is the preferred method instead of Get-WmiObject for quite some time.
When Baldur’s Gate 3 came out our group of friends wanted to start a game together. Since one of our friends, living about a kilometer away, has shitty internet it was faster for me to download the game myself, copy it to a USB stick, have it driven over by another friend, copy it onto the friends PC and verify file integrity than downloading it.
For render the first picture of a black hole a couple of uear ago, the data transfer was done through hdds transported by a plane, than a data transfer through Internet, because the former was so much faster.
I’m assuming English isn’t your first language, but “IPoAC would’ve it’s purpose” is grammatically awkward. “Would’ve” doesn’t really work for possession. Instead you can use “would have,” but people would typically say “IPoAC has it’s purpose”
Thanks for the clarification. You’re right, English isn’t my first language.
I’m a bit confused by your sentence:
““Would’ve” me doesn’t really work fur possession. Instead you can use “would have””
That’s the same thing, isn’t it? My idea with using “would’ve” was that IPoAC would have it’s purpose, if it was a thing. I’m missing the descriptive word in either language right now.
The word “have” is used in two different ways. One way is to own or hold something, so if I’m holding a pencil, I have it. But another way is as a way so signal different tenses (as in grammatical tense) so you can say “I shouldn’t have done it” or “they have tried it before.” The contraction “'ve” is only used for tense, but not to own something. So, the phrase “they’ve it” is grammatically incorrect.
I now the principle of nixos and assume guix works kinda the same. Tell me what’s the problem with static typing and nix in general that guix could have improved upon?!
programmerhumor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.