mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#protobuf

0 Beiträge0 Beteiligte0 Beiträge heute
Michael Stapelberg 🐧🐹😺<p>Good news everyone! The GopherCon EU videos are now online 🥳</p><p>All Videos:</p><p><a href="https://www.youtube.com/playlist?list=PLtoVuM73AmsK3DSr-DxSsUkuz0-Mf3bQ7" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/playlist?list=PLto</span><span class="invisible">VuM73AmsK3DSr-DxSsUkuz0-Mf3bQ7</span></a></p><p>Direct link to my talk about Go <a href="https://mas.to/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a>: </p><p><a href="https://www.youtube.com/watch?v=scNYFVtD5ZM&amp;list=PLtoVuM73AmsK3DSr-DxSsUkuz0-Mf3bQ7&amp;index=7" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=scNYFVtD5Z</span><span class="invisible">M&amp;list=PLtoVuM73AmsK3DSr-DxSsUkuz0-Mf3bQ7&amp;index=7</span></a></p><p><a href="https://mas.to/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://mas.to/tags/gophercon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gophercon</span></a> <a href="https://mas.to/tags/gopherconeu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gopherconeu</span></a></p>
naturzukunft<p>Lese mich gerade etwas in <a href="https://mastodon.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> ein. Erinnert mich an die frühen 2000er <a href="https://mastodon.social/tags/COBOL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>COBOL</span></a> <a href="https://mastodon.social/tags/Copystrecke" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Copystrecke</span></a>.<br>Bin ich schon so alt, dass ich mich am Ende der Schleife befinde ?</p>
mgorny-nyan (on) :autism:🙀🚂🐧<p>Wspaniały dzisiejszy <a href="https://pol.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a>: <a href="https://pol.social/tags/Gentoo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gentoo</span></a> uruchamia testy w paczkach związanych z <a href="https://pol.social/tags/ProtoBuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ProtoBuf</span></a> z pomocą <a href="https://pol.social/tags/PyTest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyTest</span></a>-forked, żeby obejść segfaulty podczas GC.</p><p>Oczywiście, oznacza to, że zwykłe programy też mogą łapać segfaulty przy wyjściu.</p><p><a href="https://github.com/protocolbuffers/protobuf/issues/22067" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/protocolbuffers/pro</span><span class="invisible">tobuf/issues/22067</span></a><br><a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/protobuf/protobuf-6.31.1.ebuild?id=54e20d4bb0ec99ab868695a2980c4307d179cb10#n150" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitweb.gentoo.org/repo/gentoo.</span><span class="invisible">git/tree/dev-python/protobuf/protobuf-6.31.1.ebuild?id=54e20d4bb0ec99ab868695a2980c4307d179cb10#n150</span></a></p>
mgorny-nyan (he) :autism:🙀🚂🐧<p>Nowadays in quality <a href="https://social.treehouse.systems/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a>: <a href="https://social.treehouse.systems/tags/Gentoo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Gentoo</span></a> is running <a href="https://social.treehouse.systems/tags/ProtoBuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ProtoBuf</span></a>-related test suite via <a href="https://social.treehouse.systems/tags/PyTest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyTest</span></a>-forked to workaround protobuf segfaulting during GC.</p><p>Of course, it implies random programs can segfault on exit too.</p><p><a href="https://github.com/protocolbuffers/protobuf/issues/22067" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/protocolbuffers/pro</span><span class="invisible">tobuf/issues/22067</span></a><br><a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/protobuf/protobuf-6.31.1.ebuild?id=54e20d4bb0ec99ab868695a2980c4307d179cb10#n150" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitweb.gentoo.org/repo/gentoo.</span><span class="invisible">git/tree/dev-python/protobuf/protobuf-6.31.1.ebuild?id=54e20d4bb0ec99ab868695a2980c4307d179cb10#n150</span></a></p>
Hacker News<p>Zero-codegen, no-compile TypeScript type inference from Protobufs</p><p><a href="https://github.com/nathanhleung/protobuf-ts-types" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/nathanhleung/protob</span><span class="invisible">uf-ts-types</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ZeroCodegen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZeroCodegen</span></a> <a href="https://mastodon.social/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a> <a href="https://mastodon.social/tags/Protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Protobuf</span></a> <a href="https://mastodon.social/tags/TypeInference" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeInference</span></a> <a href="https://mastodon.social/tags/NoCompile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoCompile</span></a> <a href="https://mastodon.social/tags/TechInnovation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechInnovation</span></a></p>
Larry Garfield<p>Why is it the language-agnostic formats for defining data models are either</p><p>1. Grossly over-engineered for one purpose<br>2. Grossly over-verbose<br>3. Both</p><p>Where's my clean, easy syntax for defining data classes that can be generated into *simple* PHP, JS, Kotlin, etc? Where's my DTO-maker format?</p><p><a href="https://phpc.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://phpc.social/tags/Rant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rant</span></a> <a href="https://phpc.social/tags/Protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Protobuf</span></a> <a href="https://phpc.social/tags/Openapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Openapi</span></a> <a href="https://phpc.social/tags/jsonschema" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jsonschema</span></a> <a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://phpc.social/tags/Javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Javascript</span></a></p>
Larry Garfield<p>PHP friends. I am looking to experiment with Protobuf as a way to define an API, for which we'll want code-generation for both (modern) PHP and Javascript/TypeScript. What's your recommendation? I'm finding lots of decade-old projects...</p><p>Alternatively, is there tooling to generate Protobuf off of PHP code/attributes, the way OpenAPI can?</p><p><a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://phpc.social/tags/Protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Protobuf</span></a> <a href="https://phpc.social/tags/Javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Javascript</span></a></p>
Ryan Kennedy<p>Is there a good, modern instance out there of a tutorial/project with shared Protobuf types being integrated into a Go project that depends on those types?</p><p>e.g. I have a Go repo github.com/organization/application1, which depends on types from github.com/organization/protos. Assume I may also have a Python repo github.com/organization/application2, which also depends on the protos.</p><p>Full soup to nuts. None of this handwaving through the important parts, which is pervasive in virtually every StackOverflow link that shows up when searching for related details. It should include explanations for where and how code gets generated.</p><p>It’s astonishing (not in the good way) that this is not documented anywhere on protobuf.dev.</p><p><a href="https://hachyderm.io/tags/Golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Golang</span></a> <a href="https://hachyderm.io/tags/ProtocolBuffers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ProtocolBuffers</span></a> <a href="https://hachyderm.io/tags/Protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Protobuf</span></a> <a href="https://hachyderm.io/tags/Protobufs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Protobufs</span></a></p>
Brandon Bennett<p>Buf.build's pricing model is insane.</p><p><a href="https://buf.build/pricing#FAQs" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">buf.build/pricing#FAQs</span><span class="invisible"></span></a></p><p>Imagine redesigning your API to remove enums and messages to optimize cost. </p><p><a href="https://hachyderm.io/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://hachyderm.io/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> <a href="https://hachyderm.io/tags/buf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>buf</span></a> <a href="https://hachyderm.io/tags/grpc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>grpc</span></a></p>
despair driven development<p>Shameless self promotion, I wrote a code generator to generate clients and service interfaces for <a href="https://mastodon.social/tags/temporal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>temporal</span></a> based on <a href="https://mastodon.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> definitions. This addresses the dodginess of the Go SDK type-safety wise !</p><p><a href="https://github.com/thomas-maurice/protoc-gen-go-tmprl" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/thomas-maurice/prot</span><span class="invisible">oc-gen-go-tmprl</span></a></p><p><a href="https://mastodon.social/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://mastodon.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://mastodon.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> <a href="https://mastodon.social/tags/temporal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>temporal</span></a></p>
linkdrop<p>Protobuf Code Generator and Parser | protobufnet | Marc Gravell <a href="https://protogen.marcgravell.com/decode" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">protogen.marcgravell.com/decod</span><span class="invisible">e</span></a> <a href="https://troet.cafe/tags/generator" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>generator</span></a> <a href="https://troet.cafe/tags/hierarchy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hierarchy</span></a> <a href="https://troet.cafe/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> <a href="https://troet.cafe/tags/decoder" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>decoder</span></a> <a href="https://troet.cafe/tags/binary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>binary</span></a> <a href="https://troet.cafe/tags/online" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>online</span></a> <a href="https://troet.cafe/tags/parser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parser</span></a> <a href="https://troet.cafe/tags/proto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>proto</span></a> <a href="https://troet.cafe/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://troet.cafe/tags/data" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>data</span></a> <a href="https://troet.cafe/tags/tool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tool</span></a></p>
jeeger<p>Guess I'll start reading up on <a href="https://mastodon.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> …</p><p>Ten seconds later: Ooh, an error in the official language specification.</p>
jeeger<p>It's *great* that <a href="https://mastodon.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> schemata can't be generated (without external tools) programmatically. Why would we want that??</p><p>Writing out serial sequence numbers is something humans are *great* at!</p>
Eugene Yokota<p>release cadence of Protocol Buffer: "(Protobuf) Java will target making major version bumps annually in Q1 of each year."</p><p>I don't know when this policy was decided, but TIL that protobuf-java intends to break bincompat every single year. this is a severe departure from the 8 years of bincompat protobuf-java 3.x kept from 2016 to March, 2024. protobuf-java, the runtime JAR is depended by Hadoop, Kafka, gRPC, etc.<br><a href="https://protobuf.dev/support/version-support/#java" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">protobuf.dev/support/version-s</span><span class="invisible">upport/#java</span></a> <a href="https://mastodon.social/tags/java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>java</span></a> <a href="https://mastodon.social/tags/scala" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scala</span></a> <a href="https://mastodon.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a></p>
Kevin McDonald<p>I find it super weird that by default <a href="https://infosec.exchange/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> types are registered to a global registry in <a href="https://infosec.exchange/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a>. I get why but it has already made it hard to test certain things. 🤔</p>
Markus Tacker<p>TIL: <a href="https://chaos.social/tags/AWS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AWS</span></a> IoT has <a href="https://chaos.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> integration which allows you to write rules against binary payloads: <a href="https://docs.aws.amazon.com/iot/latest/developerguide/binary-payloads.html#binary-payloads-protobuf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">docs.aws.amazon.com/iot/latest</span><span class="invisible">/developerguide/binary-payloads.html#binary-payloads-protobuf</span></a><br><a href="https://chaos.social/tags/iot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iot</span></a></p>
Eugene Yokota<p>schema compilation like <a href="https://mastodon.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> at a glance forms a functor-like graph, for example given schemata `A → B → C`, the generated Java targets will form `F[A] -&gt; F[B] -&gt; F[C]`, and Bazel aspect provides an elegant solution to express this. but in practice, for some schema `A`, there are well-known precompiled JARs on Maven Central, for example `com.google.protobuf:protobuf-java` contains the class files for `com/google/protobuf`.</p><p>I'm not sure if there's a name for this problem. double accounting?</p>
Sven Geggus<p><span class="h-card" translate="no"><a href="https://social.tchncs.de/@kuketzblog" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>kuketzblog</span></a></span> Ist das so ein <a href="https://karlsruhe-social.de/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> Konkurrent? Ist der Quellcode auf den du da verweist denn nicht offen?</p>
Martin Plante ☮️<p>We have an irritating issue with VS, since a long time, with projects including proto files like this:</p><p>&lt;Protobuf Include="./Protos/**/*.proto" ... /&gt;</p><p>Every time we add a new file to the project, new entries are added to the csproj (see image). MS closed our report as "low priority". Anyone out there using catch-all ItemGroup entries with proto files? What does your &lt;Protobuf&gt; entry look like? I don't know where to ask this...</p><p><a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> <a href="https://hachyderm.io/tags/visualstudio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visualstudio</span></a></p>
Dorian Zedler<p>Started using <a href="https://tum.social/tags/protobuf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protobuf</span></a> in a new project of mine, and I have to say, it's an amazing Tool!</p>