|
on holiday apparently.
(I've just been told in the last couple of hours)
|
|
|
|
|
I have realized that if Russia wanted to invade Europe, it would be in August.
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|
|
YEP!!!!
I'm also working on a project that includes a large number of French folks, and damn I've been sat twiddling my thumbs for most of the last 2 weeks, and probably the next 4 too.
ππππππ
|
|
|
|
|
Story from long ago, I worked in a division in the US that was owned by Belgians. One Wednesday, there was a problem discovered and we worked 10 hour days and through the weekend, because it was described as a "high visibility emergency." We fixed the problem and called them on Monday. Turns out there was only one person there (to answer phones). The tech staff had all left for their August holiday, even the guy screaming the week before.
Hmm, guess who never got special service or sympathy from that point on?
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|
|
Python is a very simple language compared to C#, C++, Java, etc. Last I checked, C# had over 30 Generics. Really, you only need the three that Python has: Dictionary, List, Queue and the C# ones are specialized variation on those. There is a lot of that, maybe called language bloat. I like C#, but could live with Python easily enough.
|
|
|
|
|
C# also has [Hash]Sets, which are very useful. But you're right that a lot of the collection classes in the Net Framework are simply specialized (and hopefully optimized) variants of Dictionary, List, Queue, and Set.
|
|
|
|
|
|
So good protestants will stop using Python?
We face another iteration of the Holy Wars.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I use Python because it has a HUGE library of math, data plotting and other functions. Many of these libraries are in C/C++ or Fortran, so run fast, and have a long legacy or are actively maintained, so are reliable. I also use Python for machine learning where most of the work is data or method exploration and the immediate running of code cells (in Jupyter, for instance) allows fast iteration of the code.
On the other hand, I wouldn't use Python for a time-critical real-time system, although I have used it to interface with Arduino's and data acquisition boards. However, Python is not that much slower than compiled languages unless the run-time is very long. Even then, if the code is solving big matrices then most of the time is in Fortran anyway.
From my understanding, the reduction in speed in Python is mainly to do with it not being a typed language: the interpreter has to figure out the data type on the fly. I'm not sure why this has to be since best coding practice is to use type-hints, which can be statically checked, but are ignored by the interpreter. I don't see why type-hints, if present, can't be used by the interpreter to enforce typing.
As to the comments about using white-space for formatting, I was already indenting to make the code readable so ; and {} are redundant to me and now seem like clutter whenever I work in C/C++/Java/PHP.
|
|
|
|
|
Wordle 1,141 4/6*
π¨β¬β¬π¨π©
π©β¬π©β¬π©
π©π¨π©β¬π©
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,141 3/6
β¬π¨π©β¬β¬
π©β¬π©β¬π©
π©π©π©π©π©
Jeremy Falcon
|
|
|
|
|
π¨β¬π©β¬π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,141 4/6
🟨β¬β¬β¬🟩
β¬β¬🟩🟨🟩
🟩β¬🟩🟨🟩
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,141 4/6*
π¨β¬β¬β¬π©
π©β¬π©β¬π©
π©β¬π©π¨π©
π©π©π©π©π©
I put it on the right thread this time!
|
|
|
|
|
Wordle 1,141 4/6
β¬β¬β¬β¬β¬
π©β¬β¬β¬π©
π©π¨π©β¬π©
π©π©π©π©π©
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 1,140 5/6*
π¨β¬β¬β¬π©
β¬β¬π©β¬π©
β¬π©π©β¬π©
π©π©π©β¬π©
π©π©π©π©π©
|
|
|
|
|
Pssst.... 1,140 is on the second page.
Jeremy Falcon
|
|
|
|
|
It was after midnight so I assumed it was today's. For some reason, if I leave the "add to your x day streak" page open, it will still give me yesterday's. π€·ββοΈ
|
|
|
|
|
Being an ignorant abut u-tube and other post styles...
Is is OK to ask and not getting flamed ??
Why are wast majority of u-tube preceded with advertisements ?
Is that u-tube "normal" ?
|
|
|
|
|
Because Alphabet is broke. /s
|
|
|
|
|
How is any "free" web site financed?
1) On your tax bill
2) By you paying a premium when buying other goods. For some products, more than 70% of the total product cost is TV commercials. (That figure is from the days when TV commercials dominated over web commercials, but I doubt that it is much lower today.)
One bad thing is that even if you do not watch those TV productions, or access those info sites, financed by the premium on the product price you pay, you still have to pay for them. In my childhood (in Norway), there were no TV ads to pay, so that cost wasn't added to any product price. My parents did pay a yearly TV license fee, but when I moved out, I saved that expense - I never owned a TV set. But as commercial TV stations took over the scene, with lots of TV ads, every time I buy a product advertised on TV some of the money I pay goes to finance the shows on the commercial TV and web channels where it is advertised.
The only way to avoid paying for a TV channel that you do not watch is to never buy anything advertised on that channel. (Problem: How do you know, without watching the channel?) If you don't want to pay for a 'free' web site, you must stop buying anything advertised on that web site. So, before you decide to personally block a web site, make sure to take notes of which products are advertised there, and stop buying them. If you don't stop buying them, then you will continue to finance that web site that you have decided to block.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
jana_hus wrote: Is that u-tube "normal" ?
Yes.
And it's the main reason that YouTube declared war on adblockers a year or so ago. The ad blockers keep working round them though, and I hear - though it's difficult to get actual numbers - that use of adblockers has become higher since the war was declared, with more people using them than before the war started ... probably not the intent!
I run an ad blocker, and will white list "good sites" - ones that are ad financed, but not greedy. CP is whitelisted for that reason. Youtube is not - any site that shows a "blocked ads count" of 50+ on a single page isn't going to get a whitelist from me!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OK, just for my education.
There are u-tube posts whose " explain " task in kindergarten level, ... it works better when you plug it in ... just "generating / taking more space / time " . How do these "free lance / self proclaimed experts in anything get payed?
My guess is nobody bothers to actually verify these "u-tube university" experts.
Free enterprise at "caveat emptor " level.
Thanks
PS
I sure like to hear from professional teachers, folks who make a living actually teaching, at any level...
but I may be pushing my flaming free streak....
cheers
|
|
|
|
|
jana_hus wrote: My guess is nobody bothers to actually verify these "u-tube university" experts. YouTube is not a University forum, but Your "tube" channel - as its name suggests. A place for "anyone" to present their own videos.
You are asking for a sort of censorship based on an idea that "someone" must know what is right and what is wrong. I am sort of skeptical to that very idea. Some people start their "Social" channels, proclaiming it to deliver the "Truth", according to their own concept of "Truth". I do not trust that "Truth" very much, to be honest.
I don't even trust research reports from recognized universities or research institution to always convey truth. Even if it may be "true" in some sense, it can very well be quite biased, both in the information selected for presentation, and how the presentation is made. Your hope for true, unbiased, university level 100% reliable information (well, you didn't make all those requirements ) as the only stuff to come through the YouTube censorship is, unfortunately(?) somewhat naΓ―ve.
There are no doubt a huge number of mediocre or outright bad "explanations" on YouTube. I very rarely find any useful there. Also, the photography and editing is often even worse than the contents. Wikipedia is similar: Lots of the explanations aren't worth a lot (although Wikipedia is not as bad as YouTube). Here as well: Editing is often far below par, and the writers frequently doesn't master their language very well.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
trΓΈnderen wrote: Some people start their "Social" channels, proclaiming it to deliver the "Truth", according to their own concept of "Truth".
"Some"?
To my mind that means to some extent a 'small' number.
Rather certain that many channels are extolling that something is better than others.
|
|
|
|
|