Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ericfrederich
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
ericfrederich
8y ago
I call BS. His entire head was not submerged. He simply found a way to breathe through his ears.
62.
▲
by
ericfrederich
8y ago
Not well tested... just whipped this up. The example to sort df -h by the percent: df -h | p 'sorted({}[1:], key=lambda x: int(x.split()[-2][:-1]))' I saved this as ~/bin/p #!/usr/bin/env python
63.
▲
by
ericfrederich
8y ago
Python is a great way to run Tcl ;-) Seriously though, Python's Tcl bindings are done at the C level and provide great interoperability. At a previous job I utilized these low level bindings to create higher level bindings. Used refl
64.
▲
by
ericfrederich
8y ago
>> Can I host GraphCMS on my own servers? >> Please talk to sales to discuss deployment options. This is not an answer. Talk to sales? I don't mind paying for support. I'm not a fan of paying for enterprise features.
65.
▲
by
ericfrederich
8y ago
Check this one out. https://github.com/borntyping/python-infix
66.
▲
by
ericfrederich
8y ago
Sweet... I feel like someone should do this for a Jython program as a joke. Then you'd have Python code executed by an interpreter written in Java compiled by Graal to produce a native binary which will be registered on AWS as a Go exe
67.
▲
by
ericfrederich
8y ago
Visualization of octopus merge with 66 parents: https://imgur.com/gallery/oiWeZmm Run this: git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar
68.
▲
by
ericfrederich
8y ago
Yeah, I was just going to say I think I remember watching this one.
69.
▲
by
ericfrederich
8y ago
Does it manage issues, pull requests, etc modeled in a distributed way? I was always dumbfounded as to why you'd take a great distributed collaboration tool like Git and then centralize it around issues, pull requests, comments, etc.
70.
▲
by
ericfrederich
8y ago
Try installing pipsi such that it uses python3 to install simple scripts like httpie or youtube-dl and you'll see how big of a mess it really is.
71.
▲
by
ericfrederich
8y ago
Never heard of Matrix... looked it up; gross... python2.7
72.
▲
by
ericfrederich
8y ago
My thoughts exactly. Being written in C++ isn't interesting enough on its own. What about the implementation is interesting? Does it make heavy use of some new feature like coroutines, or something? It is supposed to be very elegant
73.
▲
by
ericfrederich
8y ago
Why is this yet another implementation of Python? If C is supported why not use CPython itself?
74.
▲
by
ericfrederich
8y ago
I wish there was a way to distinguish between real forks and forks that were created for the sake of creating a pull request.
75.
▲
by
ericfrederich
9y ago
Oh, okay... I thought it was your ISP or something. That is why I was wondering how anyone would even notice.
76.
▲
by
ericfrederich
9y ago
Who scolded you for it? Wouldn't that just mis-route legitimate traffic to 1.1.1.0/24 locally instead of to the internet?... but you probably had no legitimate traffic there anyway, right?
77.
▲
by
ericfrederich
9y ago
This is called a Honeypot. https://www.youtube.com/results?search_query=ssh+honeypot
78.
▲
by
ericfrederich
9y ago
Do you lose the push notifications when you use the custom firmware?
79.
▲
by
ericfrederich
9y ago
Wikipedia says this is 17-23 light-years away. So it moved between 16.2 and 22.2 light years in 70k years. This means relative to us it is moving an average of 0.0231% to 0.0317% the speed of light.
80.
▲
by
ericfrederich
9y ago
Qt has an event loop and async http library. I've used it from PyQt with great success.
81.
▲
by
ericfrederich
9y ago
How does that compare to aiohttp? What are the benefits?
82.
▲
by
ericfrederich
9y ago
It takes a constant space since it is not even recursive. The decorator makes it a non-recursive function with a loop. It'll effectively side-steps the recursion limit in Python. For runs under the limit anyway, it'd be interest
83.
▲
by
ericfrederich
9y ago
I wish that when all these guys tried to create a better C/C++ they made it compatible such that I could create shared libraries usable from other languages. C, not even C++, is still the only common denominator between languages. The
84.
▲
by
ericfrederich
9y ago
When my son was circumcised the pediatric urologist said if we had any concerns we could text a picture of it to him. I thought that sounded weird, but could see how this is totally legitimate doctor trying to save himself time and save ou
85.
▲
by
ericfrederich
9y ago
Chapter 1: Use Golang
86.
▲
by
ericfrederich
9y ago
A bloom filter can be pushed to clients. Everything is static and could be served from a CDN. If there is a hit you could then do a secondary request to perform an actual lookup. For passwords which have not been pwned there'd be a 1
87.
▲
by
ericfrederich
9y ago
I'm curious about how AWS handles lambdas written in Go. Go produces statically linked Linux binaries. What is it about Go that is supported? What is it about binaries written in other languages that isn't supported?
88.
▲
by
ericfrederich
9y ago
Never really heard of Electron before I tried using KeyBase on Windows. It seems electron is the reason that it doesn't work on my machine. Ran into this last night. https://github.com/keybase/keybase-issues/
89.
▲
by
ericfrederich
9y ago
Isn't this open for everyone to see though? I think you want something like KeyBase for encrypted storage which can be shared among groups, right?
90.
▲
by
ericfrederich
9y ago
Hmm... I literally just created an AWS bucket that magically creates (i.e. lambda) corresponding .json files for any .xlsx file that gets put there. I may have used Git if I knew this existed. For now our requirement was that the file be m
More ›