You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
この記事は 2024 TSG Advent Calendar 3日目の記事です。昨日の記事は @__dAi00 さんの記事 AivisSpeechを使ったDiscordボットの作成 ①AivisSpeechをGoogle Cloud Runにデプロイする でした。12/5 公開予定の続編も楽しみです。 今回は、初日に公開した以下の記事の副産物です。 import unicodedata # Python 3.12 まで 1000000000000.0 # Python 3.13 から 1000000.0 print(unicodedata.numeric("兆")) 大変だ。Python 3.13 から「5000 兆円」が 50 億円になってしまう(?) unicodedata.numeric メソッドと Unicode 例によって Unicode が関係してきます。前編でも触れたとおり、
Ruby, like so many other good things, is best enjoyed alone :-)I've loved every Ruby codebase that I've written. I still consider it one of my favorite programming languages, and (in pedagogical terms) one of the best languages for learning "practical" functional programming (point-free style, blocks as intuitive closures, &c.). But when I work with others, I find that all of the things that I lov
概要 スクリプト言語的なものとしては、もっぱらPythonを使っていたが、 このごろRubyを初めてややガッツリ触る機会があった。 すぐ慣れるだろうと甘くみていたら、予想以上にクセが強くて苦戦したので、 Python使いの視点からRubyの特徴を簡単にメモっておきたいと思う。 まだまだ勉強不足なので網羅的な説明にはならないと思うが、 最低限これだけ把握すれば大体不都合なくRubyを読み書きできるというポイントをまとめる。 省略文化 Pythonと似たようなものだろうと思っていた自分にまず面食らわせてきたのがこれ。 イカした特徴だと思うが、慣れないと大変。 returnの省略 returnは省略可。 例: ゲッターメソッド
Thread View j: Next unread message k: Previous unread message j a: Jump to all threads j l: Jump to MailingList overview I'm eudaemonic to announce the immediate availability of Python 2.7.18. Python 2.7.18 is a special release. I refer, of course, to the fact that "2.7.18" is the closest any Python version number will ever approximate e, Euler's number. Simply exquisite! A less transcendent prope
Here are some more examples. Grouped Workers on AWS from diagrams import Diagram from diagrams.aws.compute import EC2 from diagrams.aws.database import RDS from diagrams.aws.network import ELB with Diagram("Grouped Workers", show=False, direction="TB"): ELB("lb") >> [EC2("worker1"), EC2("worker2"), EC2("worker3"), EC2("worker4"), EC2("worker5")] >> RDS("events") Clustered Web Services from diagram
open search After six and a half years, Guido van Rossum, the creator of Python, is leaving Dropbox and heading into retirement. From the beginning, we knew Guido would be a great addition to our company. In fact, his contributions to Dropbox date back to day one. Our CEO Drew Houston’s very first lines of code for Dropbox were written in Python. “What I love about Python is it just works,” says H
この記事は m1z0r3 Advent Calendar 2018 の1日目です。 m1z0r3 では年に一度、チーム内で問題を出し合って解くチーム内 CTF を開催しています。 奇しくも今年のチーム内 CTF は明日に開催のため、実際に作った問題の解説はできないので、今日はボツになった作問案から書きたいと思います。 はじめに CTF(Capture The Flag)では、問題を解く際に Python でスクリプトを書くことが多いです。 Python には Flask という軽量Webフレームワークがあり、 CTFd という CTF のスコアサーバが簡単に構築できるフレームワークなどにも使われています。 Flask は手軽に Web アプリケーションを構築できる一方で、(他の言語・フレームワーク同様に)正しく使わないとセキュリティ上問題があります。そのため、CTF の Web 問題でもし
Exploring and understanding Python through surprising snippets. Translations: Chinese 中文 | Vietnamese Tiếng Việt | Spanish Español | Korean 한국어 | Russian Русский | German Deutsch | Persian فارسی | Add translation Other modes: Interactive Website | Interactive Notebook Python, being a beautifully designed high-level and interpreter-based programming language, provides us with many features for the
2018.03.26 スキル 「この本ではPythonについて扱っていますが、決してPythonだけを学ぶ本ではありません」 そう語るのは、2018年2月に出版された『独学プログラマー Python言語の基本から仕事のやり方まで』(日経BP社)(以下、『独学プログラマー』)の監訳を務めた清水川貴之氏だ。清水川氏は、Pythonの専門家集団として名高いビープラウドのIT Architectであり、公私にわたってPythonの普及拡大に尽力している人物でもある。今回、同著の内容と清水川氏自身の経験を交えながら、本のタイトルにもある「独学」に臨むエンジニアが心に留めておくべきポイントを聞いた。 株式会社ビープラウド IT Architect 一般社団法人PyCon JP 会計理事 清水川貴之氏(@shimizukawa) 電気通信大学情報工学科卒業後、大手通信キャリア、ソフトウェア開発会社などを
B! 198 0 68 0 先日Homebrewのパッケージの改変が行われ、pythonというFormulaはPython3をインストールするようになり、 /usr/local/bin/pythonもpython3へのリンクになっていました。 これがまた変更され、 /usr/local/bin/pythonはpython2へのリンクに戻されました。 python2 to python3 PEP 394 – The “python” Command on Unix-Like Systems 現在の状況 python3をpythonで呼びたい場合 Homebrewチームの暴走感 python2 to python3 1.5.0 — Homebrew 以前から予告されていたこととして、3月に入った時に Homebrewのpython Formulaがpython3をインストールするようになりまし
Jones, now 75, later passed standard tests designed to pinpoint people who have Alzheimer’s disease. His speech continued to deteriorate nevertheless. “He said less and less at dinner parties, when he used to love to lead conversations,” said his daughter Sally. Eventually, in September 2015, Jones was diagnosed as having frontotemporal dementia (FTD), a condition that affects the front and sides
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く