Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
heipei
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
heipei
6y ago
Logging JSON directly from nginx is what I currently do, and then the log output is ingested straight into ElasticSearch. One neat thing you can do is also log return headers from an upstream HTTP server, such as a username for example or a
212.
▲
by
heipei
6y ago
I would generally agree with you when talking about things like running a k8s/k3s cluster for hosting your weblog on your Raspi. With Nomad it's different though, setup on a single server is basically a 10-line systemd service def
213.
▲
by
heipei
6y ago
Previous discussion: https://news.ycombinator.com/item?id=26081149
214.
▲
by
heipei
6y ago
I just read this, and having never used any internal package registry to me it's just mind-boggling how the dependencies are recorded and the default logic for picking which repo to use (i.e. the one with the highest package version).
215.
▲
by
heipei
6y ago
For what it's worth, the wireless headphones mentioned by the review as the best previous set (the Bang & Olufsen / Beoplay H9i) do come with a user-removable battery and do allow listening via USB-C as well. Somehow these nev
216.
▲
by
heipei
6y ago
Thanks everyone for the great recommendations!
217.
▲
by
heipei
6y ago
I have recently been wondering how people deploy high-throughput models in production which require a GPU to really hit their intended performance. My favorite hoster (Hetzner) doesn't offer GPU dedicated servers anymore, OVH doesn
218.
▲
by
heipei
6y ago
It does seem tiny, and my first thought was "how many dollars did they burn to save those $1.7M", but that was one of the first things they evaluated, and both the research phase and operational burden of running the service seem
219.
▲
by
heipei
6y ago
This post feels like a uninformed and undifferentiated rant against "things are too complex". Let's start with the first paragraph: What does the JavaScript fetch API have to do with data management? How can you compare the f
220.
▲
by
heipei
6y ago
Hmm, one could encode manufacturer and maybe even model as a categorical or one-hot encoded variable. Then again, the small number of failed drives in their dataset would probably make this hard.
221.
▲
by
heipei
6y ago
Great post, glad to see something written from beginning to end. One thing that surprised me though is that there wasn't a single word lost on feature selection (by looking at feature importance for correct predictions) or feature engi
222.
▲
by
heipei
6y ago
Saw this, I was wondering what they mean by PSQL Cluster where they need 70(!) instances. Is this just replication or also sharding of some kind? Also, everyone always talks about instance cost first, but consider this: 100-120gb Internet e
223.
▲
by
heipei
6y ago
As someone who tracks phishing pages I would disagree. The amount of really high-quality fast flux phishing put out every day on completely legitimate-looking domains is astonishing. I know plenty of people who would immediately fall for it
224.
▲
by
heipei
6y ago
So what would they use instead? It's not like there are any other free, real-time and mostly accurate malicious-URL databases around for people to plug into their browsers and products.
225.
▲
by
heipei
6y ago
I think GSB is great because there is no other product like it, it is very fast to respond to most threats and it can be used for free. The only thing about it that's not great is, in typical fashion, the lack of transparency about som
226.
▲
by
heipei
6y ago
Yes, the power of something like Google Safe Browsing is scary, especially if you consider the many many downstream consumers who might have an even worse update / response time. Responsiveness by Google is not great, as expected, we r
227.
▲
by
heipei
6y ago
Amen, there is such a thing as "perfect design" if you are talking about the narrow envelope for designing a laptop. A screen, a keyboard, there's not a ton of headroom for adding widgets or decreasing sizes in the physical d
228.
▲
by
heipei
6y ago
Every piece of user-generated data nowadays has value, DNS services are no exception. You can turn the data right back around and sell a Passive-DNS datafeed...
229.
▲
by
heipei
6y ago
LOL, run from Germany, no Impressum (imprint), clearly designed for commercial gain, clearly collecting PII and possibly reselling it, accepts donation via BTC, this is triggering so many privacy and legal red flags I don't even know w
230.
▲
by
heipei
6y ago
It's not about the absolute numbers so much as the fact how that fictional saver behaved after having a huge chunk of his investment wiped out by each following market downturn: He never sold anything, and that's the key lesson he
231.
▲
by
heipei
6y ago
I would wager that most people using WhatsApp know the difference between one tick (server receipt), two ticks (client receipt) and two blue ticks (client actually read it).
232.
▲
by
heipei
6y ago
Thanks for the guide, as others have said this is good introductory reading for new engineers. I know I really only learned about dedicated message queues 1-2 years into my career and felt really dumb for not having known/thought about
233.
▲
by
heipei
6y ago
That's exactly what I have been telling folks about Apple vs. other laptops. Apple only has a handful of laptop models for sale and they don't even change that much across generations. Furthermore they seem to exhibit hardly any m
234.
▲
by
heipei
6y ago
Judging by the occasional post on HN, even a lot of experienced software engineers (the "experienced" being my take) seem to have no good handle on what a single thread and a single machine should be capable of handling, what the
235.
▲
by
heipei
6y ago
I somehow never warmed up to automatically tiling window managers, so I've been using notion (successor to ion3), a manual tiling / tabbing WM, for the past few years. For me this is peak productivity. I am on a MacBook Air on the
236.
▲
by
heipei
6y ago
nginx has a geoip module that you can use.
237.
▲
by
heipei
6y ago
Streaming structured JSON access logs from nginx into an ElasticSearch via logagent-js, and then query via kibana. But goaccess is fine if you just want quick aggregate information!
238.
▲
by
heipei
6y ago
As much as I applaud every alternative to Google services, I would think about these kind of analytics twice when running any kind of developer-centric service. Chance is that your target audience is running an adblocker / DNS blocker
239.
▲
by
heipei
6y ago
Yay, will be upgrading my small cluster first thing tomorrow morning. Nomad is one of those pieces of software that gives me hope that I can still enjoy myself working on all layers of the development and operations stack.
240.
▲
by
heipei
6y ago
I was the only one using Linux (read: sub-par HW acceleration coupled with less-beefy HW) with Chrome with a user-facing web-app at a previous employer. I noticed that the UI was janky on scroll, and when I opened DevTools/Rendering&#x
More ›