8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 6y ago · link · parent
Some people get noise cancelling headphones or monitors with their budget.
comment 6y ago · link · parent
comment 6y ago · link · parent
I've done informal tests and steady state caffeine every day for a month is not the same as abstaining. You alleles, and hence mileage, may vary.
comment 6y ago · link · parent
Fragile: writing fault tolerant (because the endpoint is unreliable) hedges against the case when unforseen conditions throw a spanner into the works.
Async/Laggy: some operations just take longer. Being able to gracefully route control flow around blockages improves performance.
Pipes: I've found it's helpful to have ser/de interfaces throughout the program, as it forces you to use immutable data structures - aka functional programming. This helps reduce state space.
Put together, I find having various "shear lines" in a monolith codebase, where I could split into a service if I wanted, greatly improves robustness.
comment 6y ago · link · parent
What do you use for the backing store?
Git-lfs has been a pain in my seat since my first use of it. Most of the issues stem from the pointer files that have to be filtered/smudged pre/post commit.
Haven't used git-annex myself, but I have heard from coworkers that cross-OS is a pain.
comment 6y ago · link · parent
1. Set up sccache backing server (I use docker redis) 2. Export sccache config. Set SCCACHE_REDIS to a Redis url in format redis://[:<passwd>@]<hostname>[:port][/<db>]
Set CMAKE_<LANG>_COMPILER_LAUNCHER (cc, cxx) to sccache.
comment 6y ago · link · parent
However it's really not a stretch to consider the BB as some relative intensity. So it's totally reasonable to overlay these plots.
A possible way to reconcile this would be to model some gas mixture composition and determine the aggregate spectra of that, and that would be in W/m^3.
E: downvote(s), do you have a rebuttal, or just think I'm wrong?
comment 6y ago · link · parent
On its face, there's zero reason why these plots line up as well as they do, this goes beyond conincidence.
comment 6y ago · link · parent
How are URL's handled? One solution would be to just reuse Markdown's [link](text) notation, as a subset of annotations. That would be the least-mental-friction route for markdown users.
comment 6y ago · link · parent
Well, two things, the second thing being performance.
How's the startup time? I find it hard to get python utils under a few hundred ms just to spin up.
comment 6y ago · link · parent
> ideas as cutting instruments: “that’s an incisive idea”, “that cuts right to the heart of the matter”, “he’s sharp“
Ideas as fire: bright idea, that's lit, spark of inspiration, burning passion.
Sharp rock. Fire. Earliest inventions.
Also, data is food (early connection to resources):
The algo barfs on ill-formatted csvs. The database is full.
Arguably, pipes - mode of conveyance of water, sustainer of life.
comment 6y ago · link · parent
You. Yes, you. Sit up straight. I know you aren't. Take a deep breath, belly breath. Try to let some of the tension out. There, much better :)
Also, TabNine, with a strong IDE and a good type system. The code practically writes itself. You can focus on higher level things.
Testing. Driven. Development. Once you define your goals, it's so much easier to hit them, both cybernetically and psychologically.
tabnine.com/faq
comment 6y ago · link · parent
Computers are rigid. The more rigid the lang you talk to them, the less you get bitten.
Untyped python, bash, javascript, just not worth it imho.
comment 6y ago · link · parent
So you get interaction with coworkers, but can bury yourself in work readily (also everyone has noise cancelling headphones).
Kinda miss it, it's way nicer than my home office.
There's definitely way less structure now and I am suffering for it.
comment 6y ago · link · parent
_Oracle has entered the chat_
Yeah the Rust hype machine is a bit zealous, but I don't think it's entirely unfounded. Rust genuinely solves (or tries way better to that past langs) many problems that plague programmers and computer systems.
I myself have barely used it and yet despite the steep learning curve (boy is it steep) I already enjoy it way more than C++ (let alone java, ick), and I'm sure it'll be more fun once I grok ownership.
Go is more fun though ;)
comment 6y ago · link · parent
https://github.com/motemen/gore
Also you kinda don't need a repl as much with go (coming from a python background and constantly repl-dev-ing), especially with an IDE. Everything is so clear and type-safe there is little divide between the architecture in my mind and the code's behavior.
comment 6y ago · link · parent
Even in the dewey eyed early years, Go saw STW latency in the hundreds of milliseconds. By 1.8 it's in the hundreds of microseconds.
Your hard-real-time is out the window as soon as routing and UDP is involved. The intent is "real time bounded by the amount of time it would take doctors to react to a code blue (heart issue/failure". One second of reaction (thousands of gc's, dozens of health checks, a near eternity in program time) isn't going to make a difference when human reaction time latency is hundreds of milliseconds.
Call it "live streaming" if that sounds more objective, but conceptually if the clients (humans) don't perceive a difference in state, it's real time (to them).
Save the milliseconds-hard-real-time talk for rockets and cars.
https://blog.golang.org/ismmkeynote
https://www.reddit.com/r/golang/comments/aetba6/gcs_stw_paus...
comment 6y ago · link · parent
type slice struct {
zerothElement *type
len int
cap int
}
Though I suspect under the hood the len and cap are ordered first.If it's good enough for C greybeard Ken Thompson and unix hacker Rob Pike, its good enough for me.
In fact I've looked for a port of go-style slices to C and haven't found one. Maybe people think sds is good enough?