Jake Goulding

2.6K posts

Jake Goulding

Jake Goulding

@JakeGoulding

Yet another software engineer trying to figure out the right way to do things.

Pittsburgh, PA Katılım Ekim 2010
82 Takip Edilen1.8K Takipçiler
Sabitlenmiş Tweet
Jake Goulding
Jake Goulding@JakeGoulding·
aarch64-apple-darwin is now a Tier-2 #rustlang target. You can use it with rustup, cross-compile from x86-64, or compile natively on appropriate hardware! #issuecomment-710101535" target="_blank" rel="nofollow noopener">github.com/rust-lang/rust…
English
1
18
77
0
Jake Goulding retweetledi
seri · @seri@hachyderm.io
seri · @[email protected]@seritools·
If you know anyone at @GoogleAds, there's an actively exploited ad bug that obfuscates a malicious link as a legit one. The google ad ID is DChcSEwjIk--7mtb7AhVU-FEKHZLhCqMYABAAGgJ3cw Also anyone at @Atlassian, please get the repo taken down.
seri · @seri@hachyderm.io tweet media
English
1
5
7
0
Jake Goulding
Jake Goulding@JakeGoulding·
@JonTDean Make the meetings low key. Our last IRL meetup before the pandemic was weekly at a Panera. Bring a laptop and work on something, or talk to the person next to you, or help them work on something. Big presentations rarely if ever.
English
0
0
0
0
Jake Goulding
Jake Goulding@JakeGoulding·
@Pgh311 green light out at corner of Baum and Graham.
Jake Goulding tweet media
English
2
0
0
0
Jake Goulding
Jake Goulding@JakeGoulding·
@erichdongubler @yaahc_ @ekuber @seritools I actually prefer impl trait in arg position _when it applies_. I think it most matches what people expect (actually would be ok with `foo: SomeTrait` eventually meaning `impl SomeTrait` instead of olde `dyn SomeTrait`). However inline bounds can go to recycle can in the sky.
English
0
0
3
0
Erich Gubler
Erich Gubler@erichdongubler·
@yaahc_ @ekuber Big +1 to this. CC @JakeGoulding for originally corrupting me on `where`-only (I can't even remember the PR now), and @seritools who I know would be...engaged with this hot take. 🤓
English
1
0
1
0
@yaah@hachyderm.io
@[email protected]@yaahc_·
Hey @rustlang community, show me your best or worst error handling code in rust I'm doing an analysis of the strengths, weaknesses, best pratices, and footguns of rust error handling for the error handling project group and could use some more examples.
English
34
35
229
0
Jake Goulding
Jake Goulding@JakeGoulding·
@yaahc_ @rustlang I really want something akin to async’s `join` for errors: run these N things concurrently and wait for them all to succeed or error. If any errored, combine them and bubble up, else get all the success values.
English
1
0
3
0
Jake Goulding
Jake Goulding@JakeGoulding·
@yaahc_ @rustlang Amusingly, a place I’m not happy with Error handling is in the implementation of SNAFU itself. Like others have mentioned, there’s times you want to collect as many errors as possible. #L194" target="_blank" rel="nofollow noopener">github.com/shepmaster/sna…
English
1
0
2
0
Jake Goulding
Jake Goulding@JakeGoulding·
@yaahc_ @colinfinck @eugeeeeny @rustlang @ekuber @pnkfelix Perhaps, but that example of anonymous enums would run counter to SNAFU’s principle that an io::Error from opening a file and an io::Error from writing to a socket are semantically dissent. It only allows for a type to be in the enum once.
English
0
0
2
0
Colin Finck
Colin Finck@colinfinck·
@eugeeeeny @yaahc_ @rustlang This. Had a debate with a coworker about one custom error enum for the entire lib vs. one for each function. Latter style is currently the only one to exhaustively tell the app what errors can happen and what not. But it requires more code, conversions, and sometimes duplications
English
1
0
5
0
Jake Goulding
Jake Goulding@JakeGoulding·
@shereifHawary I’m not at a computer now, but my gut says that the string allocation can be reduced/avoided. The easy fix is to reuse `input` across calls to `next`. The harder one is removing the string from the split.
English
1
0
0
0
Surma
Surma@DasSurma·
I am *particularly* annoyed by JavaScript today
Surma tweet media
English
71
73
820
0
Jake Goulding
Jake Goulding@JakeGoulding·
@minigamedev I've just been working on various things here and there; time is limited after all 😅
English
0
0
1
0
Jake Goulding
Jake Goulding@JakeGoulding·
@smortimerk @loige Can you describe what’s surprising about it? A few people have been manually doing namespacing like this, but I don’t think anyone has brought up prefixing before.
English
1
0
1
0
Seán Kelleher
Seán Kelleher@smortimerk·
@JakeGoulding @loige I suppose the `snafu(module)` approach is recommended in this case, though it reads a little surprising to me.
English
1
0
1
0
Jake Goulding
Jake Goulding@JakeGoulding·
@smortimerk @loige It isn’t possible or planned right now (which is different from planned to *not* happen!)
English
0
0
1
0
Seán Kelleher
Seán Kelleher@smortimerk·
@JakeGoulding @loige Wow, that really does handle a lot of new cases; I'm not sure how long suffixing has been available, but that's a welcome addition. Quick question about multiple error enums, is it possible/planned to use the enum name as a prefix/suffix instead?
English
2
0
1
0