Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abuckenheimer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
abuckenheimer
1y ago
excellent explanation, to add to this since I was curious about the composition, '%c' is an integer presentation type that tells python to format numbers as their corresponding unicode characters[1] so '%c' * (length_of_
2.
▲
by
abuckenheimer
2y ago
This is really nice! The context switching that comes from using the [official k8s reference]( https://kubernetes.io/docs/reference/kubernetes-api/workload... ) is a real pain. If your writing a deployment and
3.
▲
by
abuckenheimer
3y ago
I've only skimmed the quickstart docs https://kargo.akuity.io/quickstart/ but this snippet immediately clicks for me as something that I'd want to try cat <<EOF | kubectl apply -f - apiVersion
4.
▲
by
abuckenheimer
4y ago
This is clever, otherwise you have to coordinate your cache setter and your async function call between potentially many concurrent calls. There are ways to do this coordination though, one implementation I've borrowed in practice in p
5.
▲
by
abuckenheimer
4y ago
> python3 -c 'while (1): print (1, end="")' | pv > /dev/null python actually buffers its writes with print only flushing to stdout occasionally, you may want to try: python3 -c 'while (1): prin
6.
▲
by
abuckenheimer
6y ago
Very cool, py-spy[1] has been an invaluable tool in my development process since jvns blogged[2] about it. The power of being able to visualize where your code is spending its time is so obvious and I'm glad people are building tools t
7.
▲
by
abuckenheimer
6y ago
It's interesting to compare palantir's risk factor on open source vs pivotals[1]. Palantir takes a defensive posture saying basically that their ability to not contribute to open source without running afoul their licenses is imp
8.
▲
Google play music shutting down
(blog.youtube)
6 points
by
abuckenheimer
6y ago
|
1 comments
9.
▲
by
abuckenheimer
7y ago
Just remembered the puck building[1] has these on the sidewalks surrounding the Houston street side, if you go into the Eastern Mountain Sports store and down the stairs you can see them from below. [1] https://en.wikipedia.org&#
10.
▲
by
abuckenheimer
7y ago
Would highly suggest listening to the "How I built This" podcast[1] with the peleton founder John Foley, really great story with usual tech themes like doing things that don't scale and finding a niche but loyal customer base
11.
▲
by
abuckenheimer
8y ago
Yes HFT buys trade flow from robin hood because they make more money executing against it but that's not actually to the detriment of the people on the robin hood app. The main way HFT firms make money is by making a market, they offer
12.
▲
by
abuckenheimer
8y ago
got it, thanks for the response!
13.
▲
by
abuckenheimer
8y ago
Right what I'm confused about is that first bit, my understanding from the RFC is that the implementation should have look something like return pbkdf2.derive(password, email, PBKDF2_ROUNDS, STRETCHED_PASS_LENGTH_BYTES) .th
14.
▲
by
abuckenheimer
8y ago
I've never heard of HKDF before but it is really an elegant solution to this. My first guess on how to do this would have been something stupid like split the Authentication token in half and 0 pad it. But this would have significantly
15.
▲
by
abuckenheimer
8y ago
I loved this article on the elegance of deflate http://www.codersnotes.com/notes/elegance-of-deflate/ finishes with this: It's not one algorithm but two, that dance and weave together in harmony. You can pic
16.
▲
by
abuckenheimer
8y ago
[disclosure I am a sanic contributor] aiohttp is a great project, very similar to sanic, I'd say the big thing is sanic is slightly more flask like than aiohttp in ergonomics (which is something aiohttp has been working on[1]). Sanic a
17.
▲
by
abuckenheimer
8y ago
Really I think the specific the problem here with DAF's is just misaligned incentives, the DAF values the donors donation but the government is the one that has to pony up the tax rebate. Obviously there is some auditing mechanism here
18.
▲
by
abuckenheimer
8y ago
I don't know the Kirill Balunov example is pretty beautiful/simple/flat/readable if reductor := dispatch_table.get(cls): rv = reductor(x) elif reductor := getattr(x, "__reduce_ex__", None):
19.
▲
by
abuckenheimer
8y ago
I think the reality of this is fairly well captured in the 4th to last paragraph > Even human readers, who may have two minutes to read each essay, would not take the time to fact check those kind of details, he says. "But if the go
20.
▲
by
abuckenheimer
8y ago
I feel the same way, although my instinct is generally to build a custom generator. Only costs a couple lines but is plain old python and quite explicit target = {'system': {'planets': [{'name': 'ear
21.
▲
by
abuckenheimer
8y ago
FWIW no one who replied to this email thread said something even close to "no". Victor Stinner points out that startup time is something that comes up a lot and mentions some recent work in the area [1]. Python is a big ship, it m
22.
▲
by
abuckenheimer
8y ago
+1 been using sanic for a couple years, it's an awesome easily grokable micro framework. Sanic is flask-like in a lot of places where a quick perusal of the quart code makes it look like they go an extra mile on the flask scale, but ma
23.
▲
by
abuckenheimer
8y ago
We do not control and may be unable to predict the future course of open-source technologies, including those used in our offering, which could reduce the market appeal of our offering and damage our reputation. This is a really cool risk
24.
▲
by
abuckenheimer
9y ago
I'm not surprised to see net neutrality mentioned as a risk factor. Our platform depends on the quality of our users’ access to the internet. Certain features of our platform require significant bandwidth and fidelity to work effectiv
25.
▲
by
abuckenheimer
9y ago
When people say cpython is slow they are generally pointing to two things 1) The interpreter is _slow_ 2) You can't achieve real thread based parallelism I think in general people have a high level concept of (1) as static vs. dynamic
26.
▲
by
abuckenheimer
9y ago
fun fact Roku was spun out of netflix just so they could remain neutral https://www.fastcompany.com/3004709/inside-netflixs-project-...
27.
▲
by
abuckenheimer
9y ago
> So with JavaScript you've got arrow functions, the method shorthand definition syntax, the spread operator, destructuring assignments, all functional Array methods and async functions. This confuses me quite a bit, there are nuanc
28.
▲
by
abuckenheimer
9y ago
If you look at the design documents for pandas 2 there is a good illustration of how a lot of pain points in pandas 1 spring from numpy ( https://pandas-dev.github.io/pandas2/internal-architecture.h... ). I think any si
29.
▲
IEX exposes free web api
(iextrading.com)
2 points
by
abuckenheimer
10y ago
|
0 comments
30.
▲
by
abuckenheimer
10y ago
I know pandas is a bit meaty for a date time library if you don't already use it but their Timestamp class is awesome. String parsing is a breeze, offsets and timezones are easy and then there's a ton of support for time series.
More ›