Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aidos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
211.
▲
by
aidos
3y ago
What’s the process / worker model when it’s run like that? Is there a continuous process running listening on a port waiting for a request?
212.
▲
by
aidos
3y ago
At least for us, we made the switch in preparation for the release of the M1 Mac machines. It took about a year for things to simplify - originally we had to use qemu for dependencies and had to hack and compile a few other bits along the w
213.
▲
by
aidos
3y ago
We hit a curios bug recently on production with the JIT. I had apt updated a couple of packages and then all of a sudden a bigger query we run every 5 minutes was failing. Or rather, Postgres just started silently hanging up the connection
214.
▲
by
aidos
3y ago
To follow up, I moved the device to be right near the access point and it worked ok. So now I need to figure out what I’m going to do when it’s in situ…
215.
▲
by
aidos
3y ago
Thanks. Will try moving to about to see how it goes.
216.
▲
by
aidos
3y ago
Question for those with more experience - I’ve just purchased a Pi Zero 2 and I’ve been having real issues with the WiFi since I opened the box. Is it likely a faulty device?
217.
▲
by
aidos
3y ago
I love that where the rubber meets the road it doesn’t matter if you’re a government organisation or a web agency, it’s still just plain old Postgres, python, sqlalchemy and dns with a low ttl.
218.
▲
by
aidos
3y ago
Sorry, I meant what order does this is linter do it in? I’m well aware of how css works, I’ve been here since we did table layouts with shims!
219.
▲
by
aidos
3y ago
Interesting idea. I’ve seen people get very confused by thinking that adding them in a certain order to the element would give some sort of control. Which order do they do it in? Later classes are later in the css so more likely to be appli
220.
▲
by
aidos
3y ago
The format in the show it’s lifted from (Only Connect - greatest game show ever) is that the teams have 2 minutes total to solve the “connecting wall”. They can have as many guesses as they want until they solve the first two groups - after
221.
▲
by
aidos
3y ago
Can I ask what you ended up buying?
222.
▲
by
aidos
3y ago
Not to diminish your point, but you’ve described the UK housing market where that’s exactly how it works.
223.
▲
by
aidos
3y ago
$50M at $5.50 per trip means over 17 trips per minute every minute of the year. That’s pretty wild.
224.
▲
by
aidos
3y ago
Haha. Ok. I think that’s where we’re just going to have to agree to disagree.
225.
▲
by
aidos
3y ago
Ok. I think that’s all handled by my workflow, but it does involve taking responsibility for requirements files. If I want to install something, I pip install and then add the explicit version to the base. I can then freeze the current stat
226.
▲
by
aidos
3y ago
I don’t understand the platform thing, is that something to do with running on Windows? Why wouldn’t you just pip install? Why bring conda etc into the mix? If you have conflicts then you have to reconcile those at point of initial install
227.
▲
by
aidos
3y ago
People always complain about pip and python packaging but it’s never been an issue for me. I create a requirements.base.txt that has the versions of things I want installed. I then: pip freeze -r requirements.base.txt > requirement
228.
▲
by
aidos
3y ago
I'll stick to DIY analogies, since it appears to speak to us. In this case the author is using a tool for operating on lists on a thing that's not a list. It's like they're trying to use a track / plunge saw for cro
229.
▲
by
aidos
3y ago
The Python interpreter as acting totally sanely. The author is asking it to loop over a list (or any iterable) and destructure each of the elements . But is then providing a a list containing some strings, none of which can be destructured
230.
▲
by
aidos
3y ago
An aversion to using something beyond the stdlib for no good reason probably. Personally I've seen people reach for pandas only to accidentally coerce data in non-obvious ways. Clearly it depends on what you're planning on doing w
231.
▲
by
aidos
3y ago
Is that meant to sound less like “fire”??
232.
▲
by
aidos
3y ago
Oh interesting - those circumferences are actually closer than I assumed they would be!
233.
▲
by
aidos
3y ago
I’m confused by seeing talk of vectorisation next to example code full of for loops
234.
▲
by
aidos
3y ago
I had a look at this recently and the pricing was pretty wild. Am I right in understanding that the connection charge is effectively per organisation?
235.
▲
by
aidos
3y ago
1274, so yes.
236.
▲
by
aidos
3y ago
I loved Scorched Earth! Don’t know anyone else who ever played it.
237.
▲
by
aidos
3y ago
My understanding follows (I don’t use it but I’ve noticed the processes running on other people’s machines). Corrections welcome. It’s split into a client (web frontend) and server that’s doing all the work. The server can be run anywhere b
238.
▲
by
aidos
3y ago
Something like this is probably a good starting point: ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf From this gist https://
239.
▲
by
aidos
3y ago
Ghostscript maybe? Depends on what you’re doing but it can downsample images etc.
240.
▲
by
aidos
3y ago
I agree they’re still magic. Ever since I had my first Amstrad coming up to 40 years ago, I’ve been enamoured with them. My point sort of drifted off into nostalgia a little, but I think there was something in the scarcity of it back then -
More ›