Which is the library of choice to interact with Google Cloud Pubsub (Clojure lib or Java lib through interop)? Looking for something minimal (in terms of dependencies and API surface)
https://github.com/googleapis/java-pubsub https://github.com/Data-Rx/google-cloud first link should be possible to use via interop
^ And while we're at it, I'm looking for a redis client too. Is carmine the best option? (seems to have a few dependencies I could do without)
I use celtuce
for over 1 year, on 3 systems, with millions of data points being processed per day
zero issues
Since naming is hard. I have 2 collections called prior and current and I create a new third collection that has all the distinct machines and an indicator that specifies if an item is in Both, only in Prior or only in Current. What would you call this field?
Currently someone called it SideIndicator
but that's a terrible name.
sounds a bit like an associative entity to me
like a bridge, or link, junction
If you had to name the first two collections Prior X and Current X, what would โXโ be?
Because thatโs probably what I would name the third collection, I think.
I run an audit that picks up instances of things. I have the previous audit and the current audit. I need to know what thing was found in both, what was in previous audit but not in current audit and what was in current audit but not in previous audit. The thing in the audits are machines.
AuditAppearance
, where it can be Both
, New
, Removed
?
Something like that. I might use AuditType
or maybe AppearsIn
Or even just Audit
AppearsIn.Both, AppearsIn.CurrentOnly, AppearsIn.PriorOnly
Writing C# after doing Clojure feels like I'm back at school and I'm writing an essay for the teacher, I can sum the essay topic up in a few sentences but the awful teacher will fail me if I don't write 1000 words. The compiler is the awful teacher.
so much enforced snytactic bureaucracy.
and somehow it doesnt make it more any more readable either, all the verbosity turns into a sort of cant see the forest for the trees type of thing
I think that is a relatively common experience for anyone who switches from a relatively concise programming language to a relatively verbose one, but I know it isn't only about length of program code.
Try golang, I think you would be happy with C# ;) (I don't really hate either language btw)
that said, each language has strengths and weaknesses. C# is a great language as is F# and they can work together in the same project (or solution i guess, in .net parlance). Don't get hung up on the weaknesses and using it as if it were another language. Doing that to Clojure would ruin your experience of it as would just focusing on the negatives of C# or trying to use it in a manner contrary to its strengths
I've started to experiment a bit using Rust
me coding in python:
- here is ,
, there is :
- {2, 3}
is a set, {2: 3}
is a dict, {2}
a set, {}
a dict
- woa, nice, I can leave commas at end
- IT'S ONLY ONE COMMA AT END!!
- woa, a nice syntax a=42
.
- You can't use a=42
here. It's just on args
- can't do block comments
- can't do line comments because it breaks syntax (leave commas etc...)
....
@dharrigan if you want to help out: https://github.com/borkdude/plsci, this uses Rust
๐
I'm on baby steps, but let's see! ๐
I have another Rust project here: https://github.com/babashka/pod-babashka-filewatcher I'm also not proficient in Rust, but these are projects that help me learn it
I also picked up golang a bit. It has a less steep learning curve and for the things I do it's probably just as good as Rust (as in: my projects are not that performance critical that I can't use GC)
How are the vaccination programs going in the US? Are you guys getting lots ofpeople vaccinated. Feels so slow here. At our current rates (going by how many people we vaccinated yesterday), it will take about 5 years to vacc everyone ๐
The government say they are going to be doing millions per week, but I'll be amazed if we hit that
Weโre not only having a slow roll-out, weโve got people deliberately holding superspreader events. ๐
That's crazy, do you mean things like the capitol riots recently or actual deliberate covid spreading events?
It was funny (not funny) watch the rioters on the news, they are so against wearing masks they wont even wear masks while commiting a crime !
The riots too, but not just that. People getting together in huge groups with no masks or social distancing, and proudly calling them superspreader events.
I dont understand that, even if the people who say "It's just the flu" were right. Who wants to catch the flu! The flu is hell.
Itโs not easy being this dumb, but we work hard at it ๐