Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jshen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
631.
▲
by
jshen
6y ago
Thanks for sharing. We did it that way for a site I worked on until a ddos brought varnish down. Then we put Akamai in front and never had a problem again. This was over a decade ago, it’s wasn’t as easy back then to auto scale a varnish la
632.
▲
by
jshen
6y ago
I explained what I meant by static here: https://news.ycombinator.com/item?id=24665764
633.
▲
by
jshen
6y ago
Right, but if the backend goes down, and you serve a stale cached version of the page that is missing the latest edit, it's fine and you have no downtime. That's what I mean by static. The opposite of static would be an e-commerce
634.
▲
by
jshen
6y ago
I don't think they are mutually exclusive. I have no idea how wikipedia works, but I've run a lot of high volume relatively static sites. A simple thing that works very well is to do SSR, but serve it through a CDN like akamai, th
635.
▲
by
jshen
6y ago
I use Pelican, and am happy with it, but I wish it had better options for simple templates/themes.
636.
▲
by
jshen
6y ago
it's not hard to have high uptime for content that is largely static. Has less to do with size than static versus dynamic, and accurate (think bank transactions) vs fuzzy (search results) edit: fixed a typo
637.
▲
by
jshen
6y ago
A non violent process through which differences are settled, ideally with at least a veil of integrity, or you’re likely to get the violence it was aimed to prevent.
638.
▲
by
jshen
6y ago
I love clojure, and I’ve written some high concurrency production apps in it. Concurrency is still hard in clojure, and that’s assuming all of your state and logic can live in a single process. That assumption usually doesn’t hold, and then
639.
▲
by
jshen
6y ago
Concurrency isn’t easy in any language.
640.
▲
by
jshen
6y ago
I’ll bet your Go code, if it isn’t trivial, has race conditions all over and you just don’t realize it.
641.
▲
by
jshen
6y ago
Big query has been great for me.
642.
▲
by
jshen
6y ago
Ah, I think we might be talking about different things. I think the larger promise of the semantic web is a categorically different thing than adding a bit of meta data to pages to know basic things like author, content type, description, e
643.
▲
by
jshen
6y ago
Not needed nor useful for who? It’s obviously useful for a more robust and open web, for our collective society, so I’m not sure who the subject of your statement is.
644.
▲
by
jshen
6y ago
You obviously didn’t read the article.
645.
▲
by
jshen
6y ago
The OS can stop an app from using certain APIs. This has nothing to do with the walled garden. ios tells you when an app is using your location in the background, it can do this for side loaded apps as well. It then allows you to disable it
646.
▲
by
jshen
6y ago
I don’t think this is the case. The way iOS tells users that an app is tracking location in the background has led to a large increase in users opting out in all the apps I’ve worked on. There are ways to be very effective at this as Apple
647.
▲
by
jshen
6y ago
Where can you get a similar device and form factor for 1/3 the price?
648.
▲
by
jshen
6y ago
It’s really “expected future revenue” that is the main metric.
649.
▲
by
jshen
6y ago
Not that I’m aware of, but I’m sure I do in some cases. I try, and I’m a vegetarian because of view of factory farming for example. Maybe Tesla is no worse or better than the other companies. That’s one issue for me, but there is another. H
650.
▲
by
jshen
6y ago
I’ve been planning to get a Tesla, but I can’t buy one anymore. Between this and all the crazy, and sometimes illegal, shit Elon says, I just cant do it.
651.
▲
by
jshen
7y ago
As a "grand-boss", you may want to consider that having visibility into how an organization of a few hundred developers is spending their time is just like being a systems engineer and wanting (needing) to have monitoring of how y
652.
▲
by
jshen
7y ago
First, programmers have choices, and Python's lack of a good user experience on this front will turn off people that have better options with other languages which have found a way to deliver a better experience given the same constrai
653.
▲
by
jshen
7y ago
I’ve been doing this for over 20 years. It’s no excuse, python should have a solution.
654.
▲
by
jshen
7y ago
But it’s all ad hoc which is problematic. You’re solving it yourself, the tool isn’t solving it. It’s like saying that C is the same as python, you can just write your own garbage collector in C!
655.
▲
by
jshen
7y ago
It’s really not the same. Gemfile lists the direct dependencies of your project with variable specificity of explicit versions. Gemfile.lock lists all dependencies after resolving your direct dependencies and locks them to specific versions
656.
▲
by
jshen
7y ago
It's not "pretty much the same". Have a separation between Gemfile and Gemfile.lock is a huge improvement over just having requirements.txt. Having good, easy to use commands, that manages this stuff for your in a way that wo
657.
▲
by
jshen
7y ago
The problem we're talking about isn't "installing a dependency", the problem is creating reproducible builds across people and between dev and production. The secondary problem is managing dependencies over the long run
658.
▲
by
jshen
7y ago
Maven isn't as good as bundler or npm for sure, but it's better than the mess that is the python communities solution.
659.
▲
by
jshen
7y ago
Thanks. My main point is that bundler, maven (less so), and npm are all better than either venv/pip/reqruirements.txt or poetry. Additionally, it's also better that those language communities have mostly converged on those so
660.
▲
by
jshen
7y ago
yeah, that's what i tried to use for a while too. The problem is that so much of the ecosystem doesn't use it, and the python community fails to converge on a solution here the way other language communities do.
More ›