Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zepolen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
571.
▲
by
zepolen
10y ago
See, what you just posted is a typical response which tries to justify Mongo, even though you yourself have little experience with it! Fine, I'll bite: > All access would be through one service that enforced [rules, integrity] That&
572.
▲
by
zepolen
10y ago
Meh, takes me back to a couple years ago when the MEAN stack was all the rage, I was pointing out flaws/problems which would arise from: - Mongo not having a schema, relations - Angular having a fundamentally flawed update system But o
573.
▲
by
zepolen
10y ago
and 175mph... ;)
574.
▲
by
zepolen
10y ago
Mostly agree, but there are use cases like performance where it's best to go as low level as possible.
575.
▲
by
zepolen
10y ago
Yes, Google doesn't have an audience...
576.
▲
by
zepolen
10y ago
Fire the UX guy, the interface is terrible. Firstly wayyy too much useless animation + distractions. This slows down every aspect of the interface making it annoying to use. The default of showing just miniature icons of projects provides Z
577.
▲
by
zepolen
10y ago
Agreed, this is a web api for postgresql - there is nothing REST about it.
578.
▲
by
zepolen
10y ago
If an app can't have direct access to the database, why would letting it access via a web api be better?
579.
▲
by
zepolen
10y ago
I disagree. Having a common language in many places has led to huge improvements over the board in the JS ecosystem, it's become the "C" of the modern era, and you can build a lot of stuff on the foundations that others have
580.
▲
by
zepolen
10y ago
When you say validate login in a react app, what do you mean? Surely the only way to validate a login is to make a request. Or are you saying that your tokens never expire?
581.
▲
by
zepolen
10y ago
Identify your own problems. The reason is you have a much better understanding of what you and therefore your target user would want. Fixing someone elses problem requires working very closely with that person.
582.
▲
by
zepolen
10y ago
Obesity and 100 IQ is the norm as well.
583.
▲
by
zepolen
10y ago
> If I'm sitting there hacking out a weird new concept for accessing databases and my wife comes into the room and wants to talk about our son's baseball game, I put down the text editor and listen to my wife Sounds like you ha
584.
▲
by
zepolen
10y ago
I've seen situations where someone with experience acted a certain way that sounded wrong - only to find out he was right all along. It's impossible to judge this situation without clear examples of code.
585.
▲
by
zepolen
10y ago
How does this compare to mailgun?
586.
▲
by
zepolen
10y ago
If the sun is bigger than 100 what?
587.
▲
by
zepolen
10y ago
As I said, the benchmark is flawed since it's dependent on the network pipe. It would be a good idea to run tests locally so you get a real maximum. There are lots of factors involved which can completely skew benchmarks, for example,
588.
▲
by
zepolen
10y ago
> 2 processes = 2 GIL Whats your point? 20 threads will still run per GIL, and assuming a dual core cpu, 2 processes x 20 threads each will still run 40 workers.
589.
▲
by
zepolen
10y ago
Didn't really mean Docker was the cause of the memory usage. I mean it might add a little overhead, but afaict the article's memory usage comes from the fact he's using a bunch of heavy python libraries making each process co
590.
▲
by
zepolen
10y ago
Article doesn't do that all in one process either.
591.
▲
by
zepolen
10y ago
Could also use multiprocessing, got about ~500req/s returning a 'hello world' response (which the article also does). The article does about 300req/s but that's because he saturates his pipe. The reality is the arti
592.
▲
by
zepolen
10y ago
I had the same initial thought too - but he said he's creating a crawler that is meant to be distributed - in which case it's fine to use Docker since it makes the deployment on multiple machines simpler. However that ram usage th
593.
▲
by
zepolen
10y ago
Python shouldn't be any slower than Node for crawling if you use the right tools.
594.
▲
My 2015 MacBook Pro Retina Exploded
(medium.com)
372 points
by
zepolen
10y ago
|
216 comments
595.
▲
by
zepolen
10y ago
It requires no read permissions at all to the channels. It receives commands eg /littlebirdie help - and posts to a channel of your choice via webhook.
596.
▲
by
zepolen
10y ago
Actually Zapier was the reason I made Little Birdie! They had a HN and Reddit integration that didn't work at all and that motivated me to make my own solution, also the $600/year was a bit too much for personal use.
597.
▲
by
zepolen
10y ago
Added, you can use -source:reddit now.
598.
▲
by
zepolen
10y ago
Nope there is no fancy entity recognition going on here at the moment, though that would be cool. It's a simple regex of the form '\bterm\b' or in wildcard cases '\bterm.*\b
599.
▲
by
zepolen
10y ago
That's an awesome idea - I'll add it to the todo list.
600.
▲
by
zepolen
10y ago
This was made for my own and a friend use, and we found it useful, maybe others will find it useful too.
More ›