« What's on your mind? »

Talk about anything
User avatar
jNizM
Posts: 2583
Joined: 30 Sep 2013, 01:33
GitHub: jNizM
Contact:

Re: « What's on your mind? »

15 Nov 2019, 10:14

😏

https://docs.python.org/3.8/whatsnew/3.8.html#assignment-expressions
Assignment expressions
There is new syntax := that assigns values to variables as part of a larger expression. It is affectionately known as “the walrus operator” due to its resemblance to the eyes and tusks of a walrus.

In this example, the assignment expression helps avoid calling len() twice:

Code: Select all

if (n := len(a)) > 10:
    print(f"List is too long ({n} elements, expected <= 10)")
[AHK] 1.1.30.03 x64 Unicode | [WIN] 10 Pro (Version 1909) x64 | [GitHub] Profile
Donations are appreciated if I could help you
gregster
Posts: 3862
Joined: 30 Sep 2013, 06:48

Re: « What's on your mind? »

15 Nov 2019, 11:29

Nice, Python :)

The "walrus operator", I like that :D
User avatar
joedf
Posts: 7448
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

15 Nov 2019, 15:56

nice......................................................................................... >:0
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
garry
Posts: 2027
Joined: 22 Dec 2013, 12:50

Re: « What's on your mind? »

17 Nov 2019, 07:18

problem with 'zwarte piet' 'sinterklaas' in nederland netherlands

https://www.dutchnews.nl/news/2019/11/zwarte-piet-protest-group-accuses-police-of-failing-to-protect-it-from-violent-attacks/
https://www.dw.com/en/dutch-zwarte-piet-reignites-blackface-debate/a-51232646
https://www.theguardian.com/world/2019/nov/16/dutch-anti-racism-activists-plan-protests-blackface-character

https://www.ad.nl/binnenland/pegida-voorman-opgepakt-sommige-demonstraties-verlopen-grimmig~a9fa40e5/
https://download.omroep.nl/nos/content/mp4/web02/2019/11/16/45746/mp4_web02.mp4
https://www.ad.nl/show/ook-kim-kardashian-mengt-zich-in-discussie-over-zwarte-piet~a073c724/
"This Dutch 'tradition' called 'Zwarte Piet' is disturbing!", says Kardashian.

Pegida is for Zwarte Piet and considers it nonsense that at national entry only soot wipes are allowed.
In protest, Wagensveld was disguised as Zwarte Piet.
The group was allowed to hold a playful action between the public, but refused, according to a municipal spokesman from the soot.
This was meant as a demonstration and therefore the group had to attend a special demonstration course.
When they refused, they were arrested. According to the police, it is not yet clear how long the activists will be detained.
NVU boss Constant Kusters also came to Apeldoorn with some supporters to defend "Dutch cultural norms and values."
No longer allowed ... arrested ... our culture is destroyed ...

no more allowed 2019 :
Image

allowed :
Image

comments to the pictures in imgur in few minutes :
user1
-The origin of Zwarte Piet has him getting grubby with soot due to climbing in chimneys, right? So why is he made up in blackface, instead of
user2
-anything that resembles soot?


----------------------------------------------------------------------------------------------------
20191120 Apple Texas Austin ‘American design, American manufacturing’
https://www.cnbc.com/2019/11/20/apple-ceo-tim-cook-and-preident-trump-tour-texas-computer-factory.html
Apple CEO Tim Cook and President Trump toured a manufacturing plant in Austin, Texas.
The two have a warm relationship, but Trump wants Apple to assemble its computers in the U.S.
“When you build in the United States you don’t have to worry about tariffs,” Trump said on Wednesday


----------------------------------------------------------------------------------------------------
20191123 Historians Find Another Spy in the U.S. Atomic Bomb Manhattan-Project Los Alamos
https://www.nytimes.com/2019/11/23/science/manhattan-project-atomic-spy.html
His Soviet code name was Godsend, and he came to Los Alamos from a family of secret agents.
The world’s first atomic bomb was detonated on July 16, 1945, in the New Mexican desert — a result of a highly secretive effort code-named the Manhattan Project, whose nerve center lay nearby in Los Alamos.
Just 49 months later, the Soviets detonated a nearly identical device in Central Asia, and Washington’s monopoly on nuclear arms abruptly ended.
How Moscow managed to make such quick progress has long fascinated scientists, federal agents and historians. The work of three spies eventually came to light.
Now atomic sleuths have found a fourth.
Oscar Seborer, like the other spies, worked at wartime Los Alamos, a remote site ringed by tall fences and armed guards.
----------------------------------------------------------------------------------------------------

Thanksgiving Turkey The White House • November 26, 2019
BREAKING: President Trump pardons ‘Butter’ as the 2019 National Thanksgiving Turkey
This afternoon, President Donald J. Trump continued a cherished White House holiday tradition by officially pardoning the National Thanksgiving Turkey.
“Bread” and “Butter,” two birds from North Carolina, were the feathered contestants vying for this year’s honor.
In perhaps the closest turkey pardon contest in White House history,
Butter won over Americans’ hearts by a slim margin—taking 50.3% of the vote.

President Trump pardons the National Thanksgiving Turkey ( both) !

Speaking from the Rose Garden, President Trump decided to extend a pardon to both lucky birds.
He also wished all Americans a happy, peaceful Thanksgiving.
After a hard-fought race, both turkeys have earned some quality rest and relaxation time.
Following today’s Rose Garden ceremony, they are now headed to their new home at “Gobblers Rest” on the Virginia Tech campus.
They will be cared for by veterinarians and students at the school’s exhibit, where they can be visited by the public.
------------------------------------------------------------------------------------------------------------------

20191201 Huawei CEO: ‘We Can Survive Without the U.S.’
https://www.wsj.com/articles/huawei-manages-to-make-smartphones-without-american-chips-11575196201
For China’s top smartphone maker, U.S. suppliers are increasingly a nice-to-have, not a must-have
In an interview with The Wall Street Journal, Huawei’s Ren Zhengfei discusses how his company will navigate the trade war,
concerns over whether its equipment could be used to spy for Beijing and his road trip across America.
American tech companies are getting the go-ahead to resume business with Chinese smartphone giant Huawei Technologies Co., but it may be too late:
It is now building smartphones without U.S. chips.

----------------------------------------------------------------------------------------------------------------
https://www.vice.com/en_us/article/mbmkz8/us-military-could-collapse-within-20-years-due-to-climate-change-report-commissioned-by-pentagon-says
U.S. Military Could Collapse Within 20 Years Due to Climate Change, Report Commissioned By Pentagon Says
The report says a combination of global starvation, war, disease, drought, and a fragile power grid could have cascading, devastating effects.

-----------------------------------------------------------------------------------
The dog that saved the country … Malta ... Daphne Caruana Galizia
https://newsbook.com.mt/en/the-dog-that-saved-the-country/
On Wednesday 13 November 2019, the spaniel was screening passengers when he alerted his handlers to the smell of cash. Lots of it.
Customs reportedly found €210,000 (£178,000) in the belongings of a man preparing to board a flight to Istanbul.

https://www.theguardian.com/world/2019/nov/29/how-customs-haul-triggered-series-of-arrests-over-maltese-journalists
How a dog called Peter sparked Malta's political crisis
The spaniel’s keen nose triggered a week of convulsions over the killing of a journalist
https://www.theguardian.com/world/daphne-caruana-galizia
-----------------------------------------------------------------------------------
No more US computers in China
https://edition.cnn.com/2019/12/09/tech/china-us-computers-software/index.html
China is reportedly planning to ban all government offices and public institutions from using foreign software and computers in a move that could dent sales by US tech companies and increase tensions at a crucial moment in the trade war.
Beijing had ordered that all hardware and software be removed within three years, according to a report by the Financial Times.
It cited brokerage firm China Securities as estimating that as many 30 million pieces of hardware would need to be replaced as a result.
----------------------------------------------------------------------------------
20191218 Putin uses Windows XP
President Vladimir Putin still uses the outdated Windows XP operating system on his work computers,
which its developer, Microsoft Corporation, stopped supporting almost six years ago .
https://openmedia.io/infometer/putin-do-six-por-polzuetsya-davno-ustarevshej-windows-xp-otechestvennuyu-os-dlya-eyo-zameny-kreml-ne-zakupaet/
Президент Владимир Путин на своих рабочих компьютерах до сих пор использует устаревшую операционную систему Windows XP,
поддержку которой её разработчик, корпорация Microsoft, прекратила почти шесть лет назад
german:
https://www.sueddeutsche.de/digital/putin-linux-windows-xp-internet-hacker-1.4727812
-----------------------------------------------------------------------------------
20191231 https://asia.nikkei.com/Business/Technology/Japan-successfully-zaps-drones-with-microwave-beams
https://finans.dk/tech/ECE11851406/japan-skyder-droner-med-mikroboelgestraaler/
Japan successfully zaps drones with microwave beams
Defense agency tests system that could shoot down multiple aerial threats
-----------------------------------------------------------------------------------

https://boingboing.net/2020/01/06/new-demand-for-very-old-farm-t.html
New demand for very old farm tractors specifically because they're low tech
Farmers are increasingly sick of high-tech tractors that are expensive to buy and usually impossible to fix yourself due to their integrated digital technology.
According to the Minnesota Star Tribune, "Tractors manufactured in the late 1970s and 1980s are some of the hottest items in farm auctions across the Midwest these days."
To be sure, the farmers buying these old machines aren't luddites.
In fact, they often customize and retrofit them with contemporary tech like GPS for automatic steering
------------------------------------------------------------------------------------

- What The Fax?! 20181227
Hacking your network likes it's 1980 again
https://media.ccc.de/v/35c3-9462-what_the_fax
Join us as we take you through the strange world of embedded operating systems, 30-year-old protocols, museum grade compression algorithms, weird extensions and undebuggable environments.
See for yourself first-hand as we give a live demonstration of the first ever full fax exploitation, leading to complete control over the entire device as well as the network,
using nothing but a standard telephone line.
------------------------------------------------------------------------------------

Chinese New Year ... >> 2020-01-25
https://www.travelchinaguide.com/essential/holidays/chinese-new-year.htm
2020 – The Year of the Rat
In 2020 Chinese New Year festival falls on Jan. 25.
It is the Year of the Rat according to the Chinese zodiac, which features a 12-year cycle with each year represented by a specific animal.
People born in the Years of the Rat including 1936, 1948, 1960, 1972, 1984, 1996, and 2008 will experience their Zodiac Year of Birth (Ben Ming Nian).
https://jyllands-posten.dk/premium/turengaartil/ECE11789397/den-kinesiske-nytaarsfest-er-foerst-ved-at-starte-rottens-aar-fejres-med-dragedans-i-gaderne/
-----------------------------------------------------------------------------------

CANADA ONTARIO Nuclear Incident InfoPage
https://www.ontario.ca/page/nuclear-incident
-----------------------------------------------------------------------------------

Old Rotterdam Coolvest 1900
Image
Last edited by garry on 13 Jan 2020, 04:24, edited 12 times in total.
User avatar
jballi
Posts: 603
Joined: 29 Sep 2013, 17:34

Re: « What's on your mind? »

28 Nov 2019, 12:27

Lots of people (?) on the AutoHotkey forum today. Mostly unregistered but still a lot. Better here than shopping on Amazon. Happy Thanksgiving everybody :) including the Canadians who celebrated last month. ;)
burque505
Posts: 1158
Joined: 22 Jan 2017, 19:37

Re: « What's on your mind? »

28 Nov 2019, 13:19

Second the motion! Happy Thanksgiving, everyone.
User avatar
joedf
Posts: 7448
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

28 Nov 2019, 14:11

Happy Thanksgivings to you all from Canada! :D
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
joedf
Posts: 7448
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

29 Nov 2019, 10:18

oh man, I think many would love to know the answer to that (42 btw)! However, some argue that "the search for a purpose" is the purpose per se. :think:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
SL5
Posts: 877
Joined: 12 May 2015, 02:10
GitHub: sl5net
Contact:

Re: « What's on your mind? »

29 Nov 2019, 14:27

joedf wrote:
29 Nov 2019, 10:18
oh man, I think many would love to know the answer to that (42 btw)! However, some argue that "the search for a purpose" is the purpose per se. :think:
may we dont need a purpose. Theoretical firefighting :xmas: we do need be loved, be important in some kind, helpful, useful, happy.
guest3456
Posts: 3053
Joined: 09 Oct 2013, 10:31

Re: « What's on your mind? »

29 Nov 2019, 15:11

:facepalm:

i just spent 20 minutes trying to debug a script with this line:

WinGetPosEx(hwnd, x, y, w, h, ol, ot, or, ob)

hint: mistakenly using the variable name "or" will result in the interpreter changing it to "||"

User avatar
jballi
Posts: 603
Joined: 29 Sep 2013, 17:34

Re: « What's on your mind? »

29 Nov 2019, 15:54

guest3456 wrote:
29 Nov 2019, 15:11
:facepalm:

i just spent 20 minutes trying to debug a script with this line:

WinGetPosEx(hwnd, x, y, w, h, ol, ot, or, ob)

hint: mistakenly using the variable name "or" will result in the interpreter changing it to "||"
https://www.youtube.com/watch?v=p15DIfTLUAY
User avatar
joedf
Posts: 7448
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

29 Nov 2019, 15:55

@SL5 but that is also a kind of purpose ;)
@guest3456 ahah nice one
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
SL5
Posts: 877
Joined: 12 May 2015, 02:10
GitHub: sl5net
Contact:

Re: « What's on your mind? »

30 Nov 2019, 01:18

but that is also a kind of purpose
@joedf
yes, maybe. In a way yes. But you do not know it then. Just a kind of life with less abstract concepts. In the term "purpose", the drive sounds externally fixed, when "feeling", simply "living", the "purpose" is more inter-defined, and then one can omit the term altogether, or need not even invent it.
User avatar
Subaru
Posts: 11
Joined: 19 Nov 2019, 09:50
Location: Poland

Re: « What's on your mind? »

12 Dec 2019, 16:19

Pretty late yesterday, tired. Found a script which had just the thing I was looking for, that's copying active window's title to clipboard and not printing to MsgBox. Couldn't tell what the last symbol of a hotkey firing it was, modifier or not. But I've seen it mentioned somewhere in the Docs the other day, with right keywords I could possibly find it using search box. ..Looking at the section describing One True Brace and seeing it's not the place, I look back at the search box and stare in awe, mildly amused.

Appearing to my eyes was.. one true block
User avatar
TLM
Posts: 1580
Joined: 01 Oct 2013, 07:52
GitHub: TLMcode
Contact:

Re: « What's on your mind? »

13 Dec 2019, 00:10

gregster wrote:The "walrus operator", I like that :D
same ;)
User avatar
TLM
Posts: 1580
Joined: 01 Oct 2013, 07:52
GitHub: TLMcode
Contact:

Re: « What's on your mind? »

23 Dec 2019, 01:58


Defamed A.I. guru Siraj Raval comes to terms with the recent outing of his plagiarized github repos

Return to “Offtopic”

Who is online

Users browsing this forum: No registered users and 105 guests