try:
[...]
except Exception as e:
log(e)
It's not much longer than `except Exception: pass` and you gain more control over your system.115 karma · joined December 13, 2016
try:
[...]
except Exception as e:
log(e)
It's not much longer than `except Exception: pass` and you gain more control over your system.Sure. But don't confuse abstractions with analogies.
Here is a good proof about both the integers and rational numbers. Every integer and rational is a real number (abstraction). When you add any 2 real numbers, you get the same result regardless of their order (fact). So it must be true that, when you add any 2 integers, you get the same result regardless of their order (correct conclusion #1). It also must be true that, when you add any 2 rationals, you get the same result too (correct conclusion #2).
Here is a bad proof about the integers and rational numbers. Both the integers and rationals are very similar: you can add them, subtract them and so on (analogy). Between every 2 rational numbers there is another rational number (fact). So it must be true that between every 2 integers there is another integer (wrong conclusion).
The Git devs are not heart surgeons, software development is not a medical field. Again, you are using an analogy to "prove" your point. Can you, please, use a real argument?
>> The purpose of an analogy is to simplify something that's too hard to understand for the person you try to convey your idea to.
> It's to convey an idea. That's it, anything you add to that is your own bias at work.
Do you disagree that using an analogy is oversimplification? If you don't, then that part about "to simplify a complex idea" in my statement should absolutely stay. If you do disagree, then please show why and how an analogy doesn't oversimplify a complex idea.
The purpose of an analogy is to simplify something that's too hard to understand for the person you try to convey your idea to. Sometimes analogies are appropriate, e.g. when you teach something. When you want to convince somebody whose opinion is very different from yours, analogies aren't appropriate. They sound condescending: "because you are not smart enough to understand the real rationale behind my opinion, here is an oversimplified argument based on analogies I made just for you". The question is, did Torvalds have any real argument back then? Maybe he fell back to using analogies for the lack of any real argument.
> In this case, he was trying to convey the idea that the risk is so small and so remote that it really isn't worth spending a lot of time on.
To convey the idea that the risk is very small, one needs to have a proof. Real proofs shouldn't involve analogies. They should use facts and logic.
Using analogies is okay when you try to explain a difficult idea to somebody who wants to learn about your subject. Using analogies is not okay when you want to make a solid argument, when you want to convince somebody whose stance is very different from yours.
Cool, you would filter me out too. Or would you not? If my English is good enough to confuse your bot, then what stops FSB from hiring somebody like me?
Also, what stops FSB from hiring native speakers of English?
There are plenty of people on the Earth who speak Russian, but don't live in Russia and don't support the Russian government. Bear that in mind too, please.
Do you know why it happens? Do those companies block Discord as an "unprofessional" website?
What does all those letters I see mean? I see only flags of France, Germany and the UK. Maybe it has to do something with fonts installed on my computer.
I believe they understand the whole store and forward model wrong.
We call email a store and forward system because every SMTP server (except the final one, which performs only the first 2 steps): 1) receives a message, 2) stores it and 3) then forwards it to another SMTP server. Everything happens absolutely automatically, without any user interaction. No SMTP server has to be online (except for the first one, which receives the message from the user) at the same time for email to work.
The article's author seems to incorrectly believe that "store and forward system" means that mail is stored in users' mailboxes and users can resend (forward) that mail. But in reality, "forward" in "store and forward" has nothing to do with the forwarding most email users deal with on a daily basis. The whole "store and forward" is about actions performed by SMTP servers, not email users.
> build upon the material
Is there clearly defined difference between "build upon the material" and "using the material as part of your project"? Commercial use in most cases involves not wanting to release your own project under CC BY-SA 4.0. Even though it's possible to combine both (commercial use and CC BY-SA 4.0 for your own product), it's highly unlikely.
> Socialite is a paid application. We made this choice in order to give you peace of mind.
That sounds very funny. I would get much more peace of mind if you said that your client app is open source and uses strong encryption before saving data to your server. If you pay somebody, they must be trustworthy? That logic is laughable.
"Он предложил это. Как вы на это смотрели?" could be literally translated as "He proposed that. How did you see (or look at) that?", but the correct translation would be "He proposed that. What did you think about that?".
Source: am a native speaker.
> In order to receive notifications
Your answer would be absolutely perfect if you added "from a remote server". I was slightly confused, wondering what kind of notifications an app is supposed to receive.
Thanks for answering. Your answer is great.
Also, now I'm curious how they do it while sending only minimal identifying data. I was wrong thinking that it would be immediately clear. I wonder if TheCoreh is correct about proxying.
Oh, and you don't need to answer if you don't want to. I can do my own research.
Sounds really cool!
> * The often unavoidable Push notifications via Google Cloud Messaging while only sending minimal identifying data
Can you elaborate, please?
A typical session looks like:
$ telnet ftp.kernel.org 21
Trying 149.20.4.69...
Connected to ftp.all.kernel.org.
Escape character is '^]'.
220 Welcome to kernel.org
USER anonymous
331 Please specify the password.
PASS
230 Login successful.
PASV
227 Entering Passive Mode (149,20,4,69,119,142).
Then I was baffled. What does 149,20,4,69,119,142 mean? Okay, 149,20,4,69 looks like an IP address for ftp.kernel.org. But what do they want me to do with 119,142? Turns out it's a port number divided into two octets. Basically they are asking me to connect to port 119 * 256 + 142 = 30606.So, on the second terminal I run:
$ telnet 149.20.4.69 30606
Trying 149.20.4.69...
Connected to 149.20.4.69.
Escape character is '^]'.
Back to the first one: LIST
150 Here comes the directory listing.
226 Directory send OK.
And I get the listing I requested, on the second terminal: drwxr-xr-x 9 ftp ftp 4096 Dec 01 2011 pub
Connection closed by foreign host.
$
Instead of using PASV, you can request the FTP server to connect back to you, with PORT. First, you need to start listening on your WAN interface (if you have one; if you don't, you are out of luck) with `nc -l your.ip.goes.here 2560`. Then, request the server to connect by typing `PORT your,ip,goes,here,10,0` (NB: use commas, not dots). Of course, don't forget to replace your.ip.goes.here with your real WAN IP address.Cheers.
I believe you meant to write "str and list both have index, but list does not have find".