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
タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。
Today we’re excited to announce our support and collaboration on a new Stage 0 proposal to bring optional and erasable type syntax to JavaScript. Because this new syntax wouldn’t change how surrounding code runs, it would effectively act as comments. We think this has the potential to make TypeScript easier and faster to use for development at every scale. We’d like to talk about why we’re pursuin
Difftastic is a CLI diff tool that compares files based on their syntax, not line-by-line. Difftastic produces accurate diffs that are easier for humans to read.
BuildKit supports loading frontends dynamically from container images. Images for Dockerfile frontends are available at docker/dockerfile repository. To use the external frontend, the first line of your Dockerfile needs to be # syntax=docker/dockerfile:1.3 pointing to the specific image you want to use. BuildKit also ships with Dockerfile frontend builtin but it is recommended to use an external i
Syntax is a beautiful documentation template built with Tailwind CSS and Next.js, designed and built by the Tailwind CSS team. Powered by Markdoc, the new Markdown-based authoring framework from Stripe, it's now easier than ever to focus on writing great documentation, instead of the tooling around it. It’s production-ready and easy to customize, making it the perfect starting point for your own d
Products Docker DesktopContainerize your applicationsDocker HubDiscover and share container imagesDocker ScoutSimplify the software supply chainDocker Build Cloud Speed up your image buildsTestcontainers DesktopLocal testing with real dependenciesTestcontainers CloudTest without limits in the cloud MORE resources for developers
*Expands to all values for the field,List separator-Range separator/Specifies step for ranges@hourlyRun at the start of each hour@dailyRun every day at midnight UTC@weeklyRun at every Sunday at midnight UTC@monthlyRun on the 1st of each month at midnight UTC@yearlyRun on Jan 1st at midnight UTC@annuallySame as @yearly
I just learned 42 programming languages this month to build a new syntax highlighter for llamafile. I feel like I'm up to my eyeballs in programming languages right now. Now that it's halloween, I thought I'd share some of the spookiest most surprising syntax I've seen. The languages I decided to support are Ada, Assembly, BASIC, C, C#, C++, COBOL, CSS, D, FORTH, FORTRAN, Go, Haskell, HTML, Java,
Mermaid is a syntax similar to Markdown where you can use text to describe and automatically generate diagrams. With Mermaid’s Markdown-inspired syntax, you can generate flow charts, UML diagrams, pie charts, Gantt charts, and more. Many developers prefer to describe their data structures and processes using text, avoiding the need to context switch. After documenting them in the Markdown-based te
Rust’s Ugly Syntax Jan 26, 2023 People complain about Rust syntax. I think that most of the time when people think they have an issue with Rust’s syntax, they actually object to Rust’s semantics. In this slightly whimsical post, I’ll try to disentangle the two. Let’s start with an example of an ugly Rust syntax: pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> { fn inner(path: &Path) ->
Psst. Hey kid. You wanna write confusing Rust? I’ve got just the thing. Bring us let and constQuick rundown on let and const in Rust: letYou use let to declare a new variable. Wow. let x = 5; This is in the form let PAT = EXPR;, which makes it a bit more powerful than first seems. // +---- this is a pattern. Same as the things you use in matches. // | // vvvvv let (a, b) = (5, 10); You can combine
Build with Chrome Learn how Chrome works, participate in origin trials, and build with Chrome everywhere.
AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. GitHub CopilotChange how you work with GitHub Copilot. LLMsEverything developers need to know about LLMs. Machine learningMachine learning tips, tricks, and best practices. How AI code generation worksExplore the capabilities and be
目次 はじめに PEP全文 このPEPが提案された経緯 「混乱のもと」とは何か 型変数のスコープルールがわかりにくい いつcovariantとcontravariantを使う(使わない)べきかわかりにくい 型引数の順番ルールがわかりにくい グローバルに宣言しているので「すべての参照」に引っかかる 型変数の命名にはプライベート性と冗長さを意識しなければならない TypeVarライクやGenericライクなシンボルをtypingからインポートする必要がある PEP695導入後にPythonの書き方はどう変わるか TypeVarシンボルの宣言を新たな構文に置き換えることができる 関数の場合 クラスの場合 Protocolを定義するための構文 TypeVarTupleやParamSpecの宣言を代替する構文 ジェネリック型エイリアスを表現するためのtype文の登場 型の束縛(TypeVarのbou
Build with Chrome Learn how Chrome works, participate in origin trials, and build with Chrome everywhere.
こんにちは。id:anatofuzです。 これはPerl Advent Calendar 2024の15日目の記事です。 昨日はid:mackee_wさんによるaquaでperlを入れて使えるようになりました でした。relocatable-perl自分は低スペックのPCでとりあえずPerl動かしたいときによく使っています。 さて、PerlはC言語からの影響が強い言語ですが、C言語にあってPerlにない、というよりあったが使われてなかった機能にcase文があります。 かつてはPerlのコアにgiven-whenと呼ばれるcase文の機能がPerl5.10.1から導入されていました。 use v5.10.1; given ($var) { when (/^abc/) { $abc = 1 } when (/^def/) { $def = 1 } when (/^xyz/) { $xyz =
Note: I received a lot of great feedback from the discussions at Mastodon and Hacker News, so I've updated the post with some improvements to the font! I've also added some further examples and acknowledgements at the end. Syntax Highlighting in Hand-Coded Websites The problem I have been trying to identify practical reasons why hand-coding websites with HTML and CSS is so hard (by hand-coding, I
こんにちは、hachi8833です。RubyKaigi会場限定でこんなイベントも開催されるそうです。 Ruby に関するQAは答えられる気がしないけれども() 頑張る!!#rubykaigi #agilewarehttps://t.co/aw3kCgJ94y — えりりん (@suuuuengch) September 6, 2022 グルメガイドも出ていますね。 いよいよRubyKaigiまであとわずかですね! 今年は自分の地元三重で開催されるのでおすすめのグルメ&観光スポットをまとめてみました。 参考になれば幸いです🥳 【地元民おすすめ】RubyKaigi 2022で三重に来たら訪れてほしいグルメ&観光スポットまとめ #note #RubyKaigihttps://t.co/sImcGveGJF — rince@育休中 (@kazumax1218) September 4, 2022
You’ve reached computer programming nirvana. Your journey has led you down many paths, including believing that God wrote the universe in LISP, but now the truth is clear in your mind: every problem can be solved by writing one more compiler. It’s true. Even our soon-to-be artificially intelligent overlords are nothing but compilers, just as the legends foretold. That smart contract you’ve been wr
Add --cache and --cache-strategy CLI options (#12800 by @sosukesuzuki) Two new CLI options have been added for a caching system similar to ESLint's one. Please see the doc for more details. If this option is enabled, the following values are used as cache keys and the file is formatted only if one of them is changed. Prettier version Options Node.js version (if --cache-strategy is content) content
It's been a while since I introduced a new syntax to the css-doodle project to solve my own problems. While I'm not sure it would be useful elsewhere, I need to make some notes before I forget the details. Motivation I always find it a bit hard to write SVG without the help of additional tools or libraries. The main issue for me is that SVG code grows too fast to keep up. If we take a closer look
.nesting { color: hotpink; } .nesting > .is { color: rebeccapurple; } .nesting > .is > .awesome { color: deeppink; } An official CSS version of this syntax is being strongly considered and we have a split in preference that we'd like to employ the help of the community to break the tie. The rest of this post will be introducing the syntax options so you can feel informed to take a survey at the en
⇦ 2024-10-17 Adding syntax to the cpython interpreter Condensed version of this cool blog post. Let's add some new syntax to Python! Making a small change is not so hard. Our aim is to make ternary statements default to None as they do in Ruby: >>> "hello" if 2 + 2 == 4 "hello" >>> "hello" if 2 + 2 == 5 None In existing Python, we get an error: File "<python-input-0>", line 1 "hello" if 2 + 2 == 5
As web development has embraced static typing during the past decade, TypeScript has become the default language of choice. I think this is great—I love working with TypeScript! But what if you can’t use TypeScript? You may encounter circumstances where you need to work in plain JavaScript, be it tooling constraints or a team member who does not like static typing. Under these circumstances, look
Stay organized with collections Save and categorize content based on your preferences. Pipe query syntax is an extension to GoogleSQL that supports a linear query structure designed to make your queries easier to read, write, and maintain. You can use pipe syntax anywhere you write GoogleSQL. Pipe syntax supports the same operations as existing GoogleSQL query syntax, or standard syntax—for instan
機械学習の講師をしている株式会社キカガクの安藤です! 本記事では、Python でよくあるエラーを 10 種類、確認方法や解決方法を交えてご紹介します! Python を使っているとよく遭遇するエラーです。これらのエラーの対処法をマスターして Python をよりスムーズに使えるようにしましょう!
Regex+ (aka regex, based on its package and tag name) is a template tag that extends JavaScript regular expressions with key features that make regexes more powerful and dramatically more readable. It returns native RegExp instances that run with native performance, and can exceed the performance of regex literals you'd write yourself. It's also lightweight, supports all ES2025 regex features, has
M.S.WindowsにPython3(3)を導入する(7つの方法、7つの罠)2024年版 Syntax Error(109) Missing parentheses in call to 'print'.PythonWindowserrorDockerDoCAP この記事は、オープンソースまたは教育用でPythonを利用する場合に、すでにWindows機材があり、どうしてもWindowsにPythonを導入したい方向けの記事です。2017年に、その趣旨で、 M.S.WindowsにPython3(Anaconda3)を導入する(7つの罠) https://qiita.com/kaizen_nagoya/items/7bfd7ecdc4e8edcbd679 を書きました。@kaizen_nagoyaが書いた記事で、過去一番閲覧数(Views)が多い。 深層学習の読書会の参加者で、自宅で環境
Basic Syntax The Markdown elements outlined in the original design document. Overview Nearly all Markdown applications support the basic syntax outlined in the original Markdown design document. There are minor variations and discrepancies between Markdown processors — those are noted inline wherever possible. Headings To create a heading, add number signs (#) in front of a word or phrase. The num
The CSS Working Group is continuing a debate over the best way to define nesting in CSS. And if you are someone who writes CSS, we’d like your help. Nesting is a super-popular feature of tools like Sass. It can save web developers time otherwise spent writing the same selectors over and over. And it can make code cleaner and easier to understand. Unnested CSS .class1 { color: green; } .class1 .cla
こんにちは、びしょ〜じょです。 最近は脳を全く使っておらずなんたらかんたら。 Promise の話はなんかムリそうだったので、今度は勘ではなく文献等にあたって実装するかもしれません。 でもそれってオレやる必要ある? とにかく今回は別の話をします。 はじめに TypeScriptの利用を積極的に避けている人、賢い。 TypeScriptは漸進的型付けを採用しており、よくわからない型に any を付けることができます。 そしてTypeScriptは(gradural) subtypingを採用しており、さらに any があらゆる型のtop typeとなっております。 このことは、文献[1]を読んでいただくと分かるとおり(読むまでもなく直感的にも分かりますが)、型システムはunsoundになります。 const x: string = "hoge"; // string <: any const
A CSS-Inspired Syntax for Flowcharts Improving the flowchart fun language TL;DR This is an article about stumbling into an interesting syntax for describing graphs. If you want to see it in action you can head straight for the demos! Some Context About 18 months ago I created Flowchart Fun: an app for generating flowcharts from text. To create your flowchart, the app determines the nodes and edges
AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. GitHub CopilotChange how you work with GitHub Copilot. LLMsEverything developers need to know about LLMs. Machine learningMachine learning tips, tricks, and best practices. How AI code generation worksExplore the capabilities and be
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く