Andrew Werner

70 posts

Andrew Werner

Andrew Werner

@ajwerner

Making debugging fun again with https://t.co/cd8864uOd8! previously at @cockroachdb

Katılım Kasım 2019
144 Takip Edilen168 Takipçiler
Andrew Werner
Andrew Werner@ajwerner·
@justinjaffray It’d be a real lame jit tho. I wouldn’t go around talking that shell script as a jit because I wouldn’t be talking about that shell script…
English
0
0
0
21
Andrew Werner
Andrew Werner@ajwerner·
@justinjaffray Yeah, I think it is. Isn’t that kinda what the browser wasm engines are doing? I feel like we call that a jit. To me it’s fine to use the word jit to describe software that takes “logic” that is not native code, generates native code, loads it into memory, and executes it
English
1
0
0
57
M. Zahit Guneri
M. Zahit Guneri@zguneri·
@fatih @MattJamesBoyle Snowcrash bas been waiting on my shelf for a long time as well. I picked it up after really enjoying Cryptonomicon. Not sure about Snowcrash yet but highly recommend that one. It was a true page-turner for me.
English
1
0
0
76
Fatih Arslan
Fatih Arslan@fatih·
So far I’ve finished 5-6 books this year. Currently reading “Bullshit Jobs” by David Graeber (and “Debt” in parallel). And here are the books I still want to read. Not sure when but I’ll finish them eventually.
Fatih Arslan tweet media
English
7
0
76
10.6K
Andrew Werner
Andrew Werner@ajwerner·
@burntsushi5 The way I’ve been testing updating dependencies lately (also isn’t great) — I use `git diff $BASE > $PATCH` then you can use crate.annotation in WORKSPACE to tell it about the patch file (it’ll need to be in the workspace). Then I update the patch file and bazel detects that
English
1
0
0
58
Andrew Gallant
Andrew Gallant@burntsushi5·
I am trying to test some Rust code on Android (which I have no idea how to do), and someone help set me up with this Bazel thing to do it. I managed to get it to work. But now I want to test my changes to Jiff without publishing them.
Andrew Gallant tweet media
English
1
0
11
1.9K
Andrew Werner
Andrew Werner@ajwerner·
@burntsushi5 One thing you can try is, in WORKSPACE, replace `"jiff": crate.spec(version = "0.1.13")` with "jiff": crate.spec(git = "file://<path to jiff repo>", branch = "<branch name>") Alternatively you can use `rev` or `tag`, see #cratespec" target="_blank" rel="nofollow noopener">bazelbuild.github.io/rules_rust/cra…
English
2
0
0
75
Andrew Gallant
Andrew Gallant@burntsushi5·
This is the repo I'm working off of: github.com/daylightwarble… (I find it extremely elaborate. Is this really the simplest way to test a Rust library on Android? Just... wow.)
English
1
0
1
991
Andrew Werner
Andrew Werner@ajwerner·
Ever wanna just know if a line of code is being hit? Or how often? Or from where? In prod!? We've been hard at work making that just a click away with side-eye.io!
English
0
5
21
4.9K
Andrew Werner
Andrew Werner@ajwerner·
@thdxr What about neon or cockroachdb serverless? They have more bells and whistles than stock rds or the Amazon serverless database offerings and they scale to zero.
English
0
0
0
45
dax
dax@thdxr·
honestly what's killing things is the entry level price - way too high
English
4
0
46
3.7K
dax
dax@thdxr·
we pushed aws rds serverless and data api as far as it'll go - unfortunately these just aren't good products going to flip to making normal rds easier to use (mostly networking from local machine) and that might end up being our default
English
26
1
181
30K
Andrew Werner
Andrew Werner@ajwerner·
@adamhjk What do you think of the wxWindows license? It tries to be friendly for wide commercial use and distribution while retaining the copyleft. Maybe it’s not standardized and reusable enough? How would the license you envision differ? opensource.org/license/wxwind…
English
1
0
0
81
Adam Jacob
Adam Jacob@adamhjk·
I think we need a networked version of the MPL. We’ve licensed System Initiative under the Apache license, which I love. It’s clear, it’s easy, it’s digestible, and it allows folks to build what they need without needing permission.
English
3
0
2
1.1K
Andrew Werner
Andrew Werner@ajwerner·
@iavins For many distributed databases, you won’t see a failure unless the transaction coordinator node dies. It’d be unreasonable if any node dying lead to all transactions failing, but it’s hard to do better than that and it’s arguably not so bad given the app can die too.
English
0
0
2
112
v
v@iavins·
Are there databases which let you continue the execution of a transaction on connection failures or machine restarts? Why don’t databases support such a feature?
English
26
11
71
34.2K
Andrew Werner
Andrew Werner@ajwerner·
@iavins If an http-based, request-response oriented protocol sat underneath your sql drivers, then maybe you’d see more such recovery protocols built into transaction protocols. Tl;dr to do it right it’s probably gotta be in the driver, and that’s a hard place to innovate
English
1
0
3
48
Andrew Werner
Andrew Werner@ajwerner·
@iavins A big impediment I suspect is the wire protocols we use to talk to databases. They are generally bespoke and based on reliable streams. Recovering a tcp/tls/unix socket stream is not straightforward, it’s not like just retry the statement request.
English
1
0
2
106
Andrew Werner
Andrew Werner@ajwerner·
@felixge I think I like @_rsc's take (IIUC): It's not so much that we care about major go upgrades breaking you as the end user compiling/running/monitoring your own programs; we care about making it impossible for your dependencies to break your code when you upgrade go. Seems fair
English
0
0
1
70
Felix Geisendörfer
Felix Geisendörfer@felixge·
🚨 The //go:linkname party is coming to an end. The Go team is taking a very important step towards ensuring the future health of the ecosystem, and ensuring that people can always upgrade to the latest versions of Go.
English
4
0
9
1.5K
Andrew Werner
Andrew Werner@ajwerner·
@eatonphil @positiveblue2 container/list is pretty terrible and container/ring I’ve never used and don’t intend to. However, I have a certain respect for the container/heap API; it cleverly enables quite a bit of flexibility and can be used efficiently.
English
0
0
5
681
Phil Eaton
Phil Eaton@eatonphil·
Does Go have no builtin sorted data structure? rbtree, btree, skip list, etc.
English
13
4
127
60.9K
Andrew Werner
Andrew Werner@ajwerner·
@iavins In cockroachdb, all schema changes are online and never lock tables
English
0
0
2
133
v
v@iavins·
How do you run migrations on a large table, online? Sometimes, the DB might end up taking a lock on full table if not done carefully. Here is a short post which explains how not to do them in PostgreSQL and then a proper solution:
v tweet media
English
5
9
110
8.8K
Andrew Werner
Andrew Werner@ajwerner·
@rawkode @AlexJonesax I was setting this up today. I had to use both. The former is for connecting up for tracing, as in thingies with trace ids and span ids, and the latter for logging via the log appender thingy. Is that right? I feel a blog post coming on.
English
0
0
1
31
Alex
Alex@AlexJonesax·
There are 15 ways to use OTEL in Rust and they are all deprecated
English
7
1
44
8.2K