Advertisement · 728 × 90

Posts by Daniel Martí

It's still a likely accept for another week, no? 😉

4 days ago 3 0 1 0
proposal: spec: type inferred composite literals · Issue #12854 · golang/go Composite literals construct values for structs, arrays, slices, and maps. They consist of a type followed by a brace-bound list of elements. e.g., x := []string{"a", "b", "c"} I propose adding unt...

Holy cheese my untyped composite literal proposal from 2015 just got accepted. #golang github.com/golang/go/is...

4 days ago 30 4 4 0

We've barely touched the settings, so I wonder if the study was a bit conservative. It could also be that the outdoor unit is south facing, so it gets a lot of sunlight - that must help it somewhat.

1 week ago 3 0 0 0

It's about two and a half years since we installed a heat pump and disconnected gas in this house, so out of curiosity I went to look at our average efficiency over this time.

The install study predicted about 350%, but we're actually averaging 425%!

1 week ago 11 0 1 0

Unlikely; I only see its use in a minority of Go projects. It's more of a harmless choice a project can make.

Enforcing would also require some sort of language model for English to understand sentences, which feels too complex for a formatter.

1 week ago 1 0 1 0

I'm officially looking around, if anybody needs a Go software engineer with a very strong background in web security lmk.

I also know a fair share of frontend dev and was a SWE/SE for Google and Microsoft.

I'm looking for security-sensitive dev projects and security reviews.

2 weeks ago 12 7 1 1
Gerrit Code Review

Compiler nerd joy: making some #golang switch statements ~2.5x faster ⚡

go.dev/cl/756340

2 weeks ago 24 2 1 0
Preview
Igalia Coding Experience | Igalia - Open Source Consultancy and Development Igalia is an open source consulting firm specialised in the development of innovative projects and solutions. Our engineers have expertise in a wide range of technological areas, including browsers an...

Seen in the fediverse:

If you're learning programming, apply to @igalia.com program and get paid to work on open source.

💰 Fully paid grant
📆 450 hours of work with mentor from June
📍Global remote
🎓 Open to students or self-directed learners
🚨 Until April 3rd!

www.igalia.com/coding-exper...

2 weeks ago 22 15 1 0
Preview
Semantic Line Breaks When writing text with a compatible markup language, add a line break after each substantial unit of thought.

I keep finding Semantic Line Breaks really useful for doc comments and markdown documentation - it really makes reading the plaintext so much nicer and shouldn't affect the rendered text in any way.

2 weeks ago 9 0 1 0
Advertisement

Come find us at our booth tomorrow!

2 weeks ago 8 0 0 0

1/ I've just published three orthogonal but related CUE proposals. #cuelang 🧵

3 weeks ago 4 1 1 0
Post image
3 weeks ago 7 0 0 0

double posted by accident?

1 month ago 0 0 1 0
Preview
//go:fix inline and the source-level inliner - The Go Programming Language How Go 1.26's source-level inliner works, and how it can help you with self-service API migrations.

Find out how the source-level inliner in Go 1.26 can help you with API migrations.
go.dev/blog/inliner

1 month ago 54 13 1 1
Preview
Release v3.13.0 · mvdan/sh This release introduces support for Zsh in the parser and formatter, which was tracked in issue #120 alongside the label zsh . While support is not complete, it should be far enough for many u...

I've just released a new version of the "sh" #golang module, including initial Zsh support in shfmt, as well as many improvements and fixes to the parser and interpreter 🎉

1 month ago 19 5 0 0
Release v0.16.0 · cue-lang/cue Changes which may break some users are marked below with: ⚠️ Language As a reminder, we have two ongoing language experiments since v0.15; a replacement for struct embedding and a rework of aliases...

📣 We have released #cuelang v0.16.0 - introducing an experiment with `try` and `else`, big performance gains, lots of LSP work, and much more! 🎉

1 month ago 5 1 0 0
Advertisement
Preview
proposal: cmd/go: only set vcs.modified=true if changes are relevant to build · Issue #77897 · golang/go Proposal Details If I run 'go build' in a repo with a random extra file that doesn't matter to the build, the runtime build info in the binary says vcs.modified=true and the main module path has a ...

Finally! No more "dirty" #golang builds because you have untracked files laying around which don't affect the build at all :)

1 month ago 16 3 0 0

“Allocating on the Stack” by Keith Randall — https://go.dev/blog/allocation-optimizations

#golang

1 month ago 43 7 1 0

“Using go fix to modernize Go code” by Alan Donovan — https://go.dev/blog/gofix

#golang

1 month ago 61 23 0 4
Preview
a dog is sitting in the back seat of a car and looking at the camera . ALT: a dog is sitting in the back seat of a car and looking at the camera .
2 months ago 0 0 1 0
Two speakers at FOSDEM on stage

Two speakers at FOSDEM on stage

Front row seats to @kakkoyun.me's talk #FOSDEM

2 months ago 11 1 0 0

Neat! I've DMed @anirudh.fi :)

2 months ago 2 0 0 0

I'm at #FOSDEM all weekend! Ping me to talk #cuelang or #golang :)

2 months ago 11 0 2 0

Would love to catch up if you attend a future meetup :) We are long time Gerrit users and I'd like to understand how well it supports the stacked reviews use case.

2 months ago 1 0 1 0
Advertisement

This was really cool! Thanks @aendra.com and @davenash.com for organizing. And to @alex.bsky.team for fielding my questions!

2 months ago 5 0 1 0
proposal: testing/nettest: in-memory implementations of net package interfaces · Issue #77362 · golang/go This is a proposal to add in-memory implementations of net.Listener, net.Conn, and net.PacketConn to the standard library. Motivation The net package defines abstract interfaces describing stream a...

@rog.bsky.social this sounds perfect for testing servers locally, especially with synctest 😊

github.com/golang/go/is...

2 months ago 20 3 1 0
Release v0.16.0-alpha.1 · cue-lang/cue Changes which may break some users are marked below with: ⚠️ Language As a reminder, we have two ongoing language experiments since v0.15; a replacement for struct embedding and a rework of aliases...

📣 We have just released #cuelang v0.16.0-alpha.1 - packed with big performance gains, lots of LSP work, and many other improvements 🎉

2 months ago 5 1 0 0

Tonight's the night! We have a boatload of demos lined up and it's looking like we'll pack Newspeak House.

We'll also have a quick informal show-and-tell at the start if you've found something interesting in the Atmosphere and want to share!

See you there!

2 months ago 17 3 1 1
proposal: spec: type inferred composite literals · Issue #12854 · golang/go Composite literals construct values for structs, arrays, slices, and maps. They consist of a type followed by a brace-bound list of elements. e.g., x := []string{"a", "b", "c"} I propose adding unt...

Type inferred composite literals in #golang might happen after all 👀

2 months ago 17 0 0 0
Preview
Proposal: Generic Methods for Go · Issue #77273 · golang/go Proposal: Generic Methods for Go A change of view. Background For clarity, in the following we use the term concrete method (or just method when the context is clear) to describe a non-interface me...

Interesting expansion of generics in #golang 👀

2 months ago 36 8 3 0