Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Carpetsmoker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
Carpetsmoker
6y ago
I've had quite a few job offers from my weblog over the years, most of them actually pretty decent from HN readers and such (rather different from LinkedIn and recruiter spam). Never from open source thus far.
62.
▲
by
Carpetsmoker
6y ago
Sure, and there's definitely value in that. I can't speak for other products, but GoatCounter intentionally doesn't try to solve every possible analytics use case. Adding advanced features frequently comes with the trade-of
63.
▲
by
Carpetsmoker
6y ago
I'm not sure that's even necessary for the parent's requirement? You should be able to get the parent's data out of it since the location and campaign are stored; there just isn't a UI for it.
64.
▲
by
Carpetsmoker
6y ago
On the other hand, you might catch either program or compiler bugs before it's too late and it has shipped to production. I think this would improve the software, and I'm also not so sure a lot of time is spent on this, and it w
65.
▲
by
Carpetsmoker
6y ago
I worked on a library to do this for my own analytics thing[1]; adding a CLI so you can filter bots from logfiles isn't too hard: just need to parse the log lines to a http.Request{} with the correct fields filled in (mostly User-Agent
66.
▲
by
Carpetsmoker
6y ago
There are no server logs on GitHub pages, Netlify, etc. Analysing server logs also makes it harder to filter bots, and won't include some useful metrics like screen size.
67.
▲
by
Carpetsmoker
6y ago
It looks like I have some work to do on clarifying the homepage here, hah.
68.
▲
by
Carpetsmoker
6y ago
I was under the impression this was still the best way to do it for maximum compatibility ... but perhaps that character got killed in season 3 and I missed it
69.
▲
by
Carpetsmoker
6y ago
I don't use it at all, but others do and I think my little library is neat enough for others to benefit. Unfortunately, I can't get any of thus UMD stuff to work, so for the time being I just "window.imgzoom = function(..) {
70.
▲
by
Carpetsmoker
6y ago
Yeah, the entire process of dealing with exceptions (or indeed, anything that involves human judgement) is atrocious at YouTube, and has been for many years. jwz wrote about this years ago as well (and there are many more stories): https:&
71.
▲
by
Carpetsmoker
6y ago
But at least I can just download a .py file (or a bunch of files) and just import them. Perhaps the biggest frustration/pain point in this article isn't npm as such, but that you can't "just" use some JS module.
72.
▲
by
Carpetsmoker
6y ago
I think one difference is that this is usually abstracted to quite some degree. Most devs rarely (if ever) have to deal with C/C++ build systems, as package managers and whatnot deal with that. For most people installing some C/C+
73.
▲
by
Carpetsmoker
6y ago
"Quickly" using the JavaScript tooling is somewhat akin to watching one or two episodes of the 6th Game of Thrones season without watching anything else. You really need to watch season 1-5 to understand what's going on. The
74.
▲
by
Carpetsmoker
6y ago
500 hours of video is uploaded to YouTube every minute ; it's impossible to moderate all of that. "Lots of users reported it in a short timespan" is a reasonable heuristic to quickly remove ISIS beheading videos and whatnot.
75.
▲
by
Carpetsmoker
6y ago
I ran some performance/reliability benchmarks on the product I'm working on (which supports SQLite and PostgreSQL), and SQLite was about 30% faster than PostgreSQL. This won't hold true for all use cases; one table now has 11
76.
▲
by
Carpetsmoker
6y ago
It's just easier: I won't have to split queries with 1,500 parameters in two because of some limit.
77.
▲
by
Carpetsmoker
6y ago
The general strategy is to create a new table, insert data from the old table, drop the old table, rename the new table, and re-create the indexes: create table foo2 ( col1 int, col2 text ); insert into foo2 sleect col1, col2
78.
▲
by
Carpetsmoker
6y ago
What other systems would you recommend?
79.
▲
by
Carpetsmoker
6y ago
I don't know if this is true or not, but it's besides the point; MongoDB omitted various failings from the Jepsen report to make their product look better than it actually is. This is not only unethical, but may also be illegal in
80.
▲
by
Carpetsmoker
6y ago
The article is correct in stating that PHP has moved quite a bit in the last ~10 years; even back when I was using PHP in the 5.1/5.2/5.3 days things were already steadily improving. But ... that doesn't mean that PHP is a go
81.
▲
by
Carpetsmoker
6y ago
I suspect the dollar signs may be part of the reason of PHP's success. While it's clear for experienced programmers that "x" and "y" are variables and "foo" is a function in "x = foo(y)", fo
82.
▲
by
Carpetsmoker
6y ago
This is actually recognized in the article itself (but who has time to read that when you can reply to just the headline and perhaps the first few paragraphs, right?) And FOIA about the COVID-19 response are unlikely to require digging in t
83.
▲
by
Carpetsmoker
6y ago
I've been to 2 Go conferences myself, and had an absolutely fantastic time. Great people all-around. But ... the online experience here is a bit different from the conference experience.
84.
▲
by
Carpetsmoker
6y ago
Re: point 3 the "go" tag on Stack Overflow is the worst one I know. Some very nice and helpful people, and some ... people who just love to nitpick Every. Single. Mistake. Loads of questions in the go tag getting downvoted and clo
85.
▲
by
Carpetsmoker
6y ago
I was using gevent in Python about 10 years ago, and from memory, it's roughly similar to goroutines. It's not exactly the same of course, but just like goroutines it's pretty easy to just spawn a few jobs off, wait for them
86.
▲
by
Carpetsmoker
7y ago
He has touted both; e.g. https://www.youtube.com/watch?v=3GuNbGC2D_8 In-vitro results are worth following up on, but it is my understanding (as a non-expert) that it's very common that they don't pan out in actual
87.
▲
by
Carpetsmoker
7y ago
Also interesting read on some more background of the drug: https://blogs.sciencemag.org/pipeline/archives/2020/03/20/ch...
88.
▲
by
Carpetsmoker
7y ago
All I know is what I can see from the X-Spam headers they add with that matched rules, which are SA's. FastMail has been around for ages, and I guess it's "good enough" (or at least, not "bad enough" to replace
89.
▲
by
Carpetsmoker
7y ago
Most software can be compiled with --prefix=/usr/local, and then it will store stuff in /usr/local/share, /usr/local/etc, and so forth. In fact, /usr/local is actually the default for a lot
90.
▲
by
Carpetsmoker
7y ago
> APIs forcing more convoluted authentication methods It's not really that convoluted: it's just setting a header with a fixed token, which is actually simpler than HTTP auth.
More ›