on-internet

Como pinto un rectángulo en función de su altura y anchura en Python?

Hola estoy aprendiendo a usar Python, y en uno de los ejercicios de mi curso no entiendo como hacer un rectángulo. Lo que hice es que por cada altura salte de pagina y pinte a la derecha la anchura, pero solo me lo hace la primera vez, he visto que end se puede utilizar para evitar el salto \n, si alguien me puede ayudar se lo agradecería mucho !! :). la idea es que quede así: Dibujo: * * * * * * * * * * * * Codigo: def pintar(caracter): alto:int = 3 ancho:int = 4 for i in range(ancho): print(caracter, end = "") for j in range (alto): print(caracter) pintar('+')

Join the discussion →

If you could visit any celestial body outside of Earth, which would it be?

submitted by scallisto to asklemmy 43 points | 47 comments cross-posted from: retrofed.com/…/if-you-could-visit-any-celestial-b… Assuming you are properly equipped to handle the extreme conditions of space, of course. Does not have to be a planet, or even in the Solar System. Any planet, moon, asteroid, star, or other celestial body is available in this hypothetical!

Join the discussion →

Prawdopodobnie stworzyłem najszybsze PS3 na świecie PS3 PRO V4

PS3 PRO V4 900/1000Mhz RSX/4,525Ghz Cell/XDR 4tb Hdd Siema: Przedstawiam Wam mój najnowszy mod PS3 PRO V4 a co zostało tym razem zrobione: - Customowa obudowa wykonana ręcznie (dodatkowe plastiki, włókno szklane, szpachla, zywica epoksydowa, 3 rodzaje lakieru w sprayu do plastiku, emblematy zakupi

Join the discussion →

Help me find the port to this old video Camcorder

submitted by Srootus to asklemmy 100 points | 70 comments Any Idea what type of charging port this is, I thought it was ye old Mini B, but its too thick. We’re having a clearout and found our old Camcorder, the model is a Luminox LXDV750 12.0 MEGA MAX, can anyone help me find this port?

Join the discussion →

Excel管理を見直す5つの兆候:運用で直す問題とシステム化する問題

最初は一枚のExcelで十分だったのに、いつの間にか同じ情報を別のファイルにも入力している。数字が合わなければ最後に更新した人を確認し、月末の集計では詳しい担当者を探す。 その不便さは、Excelの機能不足なのか、業務の決め事が足りないのか。 原因を取り違えると、新しいシ...

Join the discussion →

生涯独身でも幸せに生きる方法を考えてみた|台田レイジ

8月に独身が多数派になる未来について記事を書いたが、そんな未来を待つまでもなく、日本人のほぼ2人に1人はもう独身になっている。よく話題になる生涯未婚率は一度も結婚したことのない人しか数えないが、離婚した人も配偶者に先立たれた人も、今一人で暮らしているなら当然独身である。9月末に公表された2025年の国勢...

Join the discussion →

How can a CMake release tag and an embedded About-screen version stay in sync?

I maintain an independent release reference for a CMake-based desktop application. One published asset is tagged build-94, while the binary's About dialog and logs say build-95. The mismatch makes it difficult to connect a bug report to the actual package: a tester may paste the About string, while someone else searches the Git release tag. The release listing and its note about the differing labels illustrate the exact user-facing case. I want a build-time solution, not a rename in the documentation. A minimal example of the two sources of truth is: # CMakeLists.txt set(APP_VERSION "build-95"

Join the discussion →

Windows 11、アプデで「完全新規OS」になる可能性。「27H2」にて、Windows 12になるかは不透明 - すまほん!!

Windows 11は、2027年の次期バージョン「27H2」で、OSの主要な部分を入れ替える大型更新になるかもしれません。 しかし、11月5日のThe Vergeの記事によると、同社はすでに27H2の準備を進行中。同誌のトム・ウォーレン氏が情報筋から得た話では、2024年の24H2と同じく、OSの主要な部分を置き換えたり更新したりする「完全...

Join the discussion →

Adding an extra line changes the lazy import object entirely

I ran this on Python 3.15: >>> lazy import json >>> type(globals()['json']) <class 'lazy_import'> I also ran this: >>> lazy import json >>> _ = globals()['json'] >>> type(_) <class 'module'> Why did the output mysteriously change? What caused the lazy import to reify? How can I properly store a reference to the lazy_import object without it reifying?

Join the discussion →

自分専用pre-commit hook風なことを簡単にやるtips

はじめに pushして静的解析などを忘れており、ciで気づくことがあった 問題 pre-commit hookあたりのタイミングで実施したいが、チーム全員を揃えるには本当にベストか?判断が必要である 解決 以下のようなエイリアスを入れる。pushコマンドのオ...

Join the discussion →

How to instruct clangd to NOT canonicalize symlinks (treat them as normal files/their contents)?

I am writing a QMK keymap, and for a quick backup practice I saved in my Nextcloud instance only the file that I added (the keymap.c). To make things easier, I symlinked it into the working clone of the QMK repo: alessandro@host:~$ ll qmk_firmware/keyboards/nuphy/air96_v2/ansi/keymaps/awbertulli/ total 24K drwxrwxr-x 2 alessandro alessandro 4.0K Nov 7 12:29 ./ drwxrwxr-x 5 alessandro alessandro 4.0K May 23 14:01 ../ lrwxrwxrwx+ 1 alessandro alessandro 50 Nov 7 12:29 keymap.c -> /home/alessandro/Nextcloud/qmk-awbertulli-keymap.c However, now editing the file from the QMK directory, clangd tries

Join the discussion →

『ゴジラ-0.0』が米国で大ヒット、記録を塗り替えるオープニング興収になる見込み(海外の反応)

11月 2026 (8) 10月 2026 (25) 9月 2026 (22) 8月 2026 (24) 7月 2026 (23) 6月 2026 (26) 5月 2026 (24) 4月 2026 (25) 3月 2026 (26) 2月 2026 (20) 1月 2026 (20) 12月 2025 (22) 11月 2025 (23) 10月 2025 (31) 9月 2025 (24) 8月 2025 (24) 7月 2025 (22) 6月 2025 (22) 5月 2025 (23) 4月 2025 (20) 3月 2025 (21)...

Join the discussion →

React学習過程整理tips(備考)

今Reactを学習していて大事だと気付いたこと ・ハンズオンをやっていてどのソースファイルに何が書いてあるか?を明確に把握するところから理解が始まる ・Reactの部品はimportするもの ・JSX記法に慣れるのが大事 (自分は棚上げにしてから1年位経ったが、途中実務で...

Join the discussion →

Cryosphere Faces Permanent Damage When World Overshoots 1.5C, Scientists Warn

A UN-backed report warns that even temporarily overshooting the Paris agreement's 1.5C warming target could cause permanent and widespread losses of glaciers, snow and polar ice sheets. With Greenland and Antarctic ice sheets already melting about six times faster than in the 1990s, the report argues that global temperatures should ultimately be brought back below 1C. The Guardian reports: The report, which comes as world leaders and diplomats converge on Turkey for the 31st annual Cop climate conference, documented rapid and accelerating melting of the cryosphere and polar oceans, with damage

Join the discussion →

Internet umiera? Już ponad połowa ruchu w sieci to automaty

Ponad połowę ruchu w sieci generują już boty. Teoria martwego internetu zyskuje na znaczeniu. Część zwolenników tej teorii idzie jeszcze dalej, uważając, że internet został celowo przejęty przez zautomatyzowane sieci, które mają wpływać na nasze opinie, zainteresowania i decyzje zakupowe.

Join the discussion →

How are you dealing with all the negative side effects of AI on the web?

It seems to me that the AI hype killed the web for good, but not for the reasons we immediately associate with it. Search engines now rank links full of slop at the top, which ironically make LLM summaries acceptable, not because they are better than what we had before (they are not), but because they at least mention the good links which are now buried at the bottom of the page. Also, they've been rate limiting ordinary users like crazy: more often than I'd like to, Google and DuckDuckGo now either show me either an error message or tell me to wait a bit. Sometimes I waste at least a minute r

Join the discussion →
Older stories