Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gedrap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
gedrap
10y ago
HN Algolia is neat for this kind of workflow https://hn.algolia.com/?query=&sort=byPopularity&prefix&page... just check it once a day, pick up what to read for the rest of the day.
242.
▲
by
gedrap
10y ago
This. Since I've started using messenger.com, I check facebook.com about once a week. Was really easy to switch and saved a lot of mental energy and attention that would have went for random facebook posts, etc.
243.
▲
by
gedrap
10y ago
It's conventional way of doing it, but: var ping = new Image(); ping.src = node.href; Technically, it might not be called ajax but the point is the same.
244.
▲
by
gedrap
10y ago
But maybe it comes down to the fact that many developers simply like over engineered solutions and sprinkle some complexity to often boring problems? Not saying that it's always the case but surely many of us can recollect related stor
245.
▲
by
gedrap
10y ago
Totally. I see this argument about offloading the load to the client so often, that I am left thinking whether I am the only one here working on a project with less than a few thousands of requests every second :) It's good to have per
246.
▲
by
gedrap
10y ago
Why be on the extreme? [0] Programming is very, very often about the balance. I can understand some frustration with thick clients - including the fact that there are so many frameworks being released now and it's hard to decide what t
247.
▲
by
gedrap
10y ago
I don't think that this is what he/she meant. If you ssh into the box, check some logs or something, find wrong configuration option and then roll out the new configuration in an automated way then that's all good. The proble
248.
▲
by
gedrap
10y ago
That's assuming you are starting to develop the project from scratch. But that's not the case. Imagine, you join a company and their product is one, ugly monolith with a lot of technical debt. Now, you need to build some big and c
249.
▲
by
gedrap
10y ago
Absolutely. If you can't prepare a new server (install system dependencies, sync system configuration, etc) and deploy the latest version with one or two commands, you will have bad bad time.
250.
▲
by
gedrap
10y ago
I guess it depends on how actually random it is. Genuinely random? Well, yeah, that would be crap, assuming most of the github accounts have pretty much nothing public other than maybe a hello world or something equivalent. Something recomm
251.
▲
by
gedrap
10y ago
As with everything, there are trade offs and in this case, I don't think they are worth it. What are the most common use cases for JS, that might be a barrier to an unfamiliar developer, requiring some learning? I believe that making a
252.
▲
by
gedrap
10y ago
I totally agree about actually learning javascript. While the opinion about the language itself is arguable, it's not 2006 anymore. Plain simple JS can get a lot of stuff done nowadays and there's no point to include the whole jqu
253.
▲
by
gedrap
10y ago
1) Let's say I am doing a presentation, the computer has internet connection but can't use USB drives, etc. So I would shorten the url (to, e.g., google drive file) and write down the token. Much better than logging into personal
254.
▲
by
gedrap
10y ago
I remember this story, and people familiar with the industry (tptackek and friends) explained the situation quite well why Facebook did the correct thing, although not fair for unfamiliar with the industry readers https://news.yc
255.
▲
by
gedrap
10y ago
But, well, we can't assume that Kyle has totally forgotten about him, right? So he has quite a bit of responsibility for this as well. While Jeremy's timing gives him the most leverage possible (and it's definitely not the mo
256.
▲
by
gedrap
10y ago
I don't think people consider URL shortening as a security measure, more of a convenience measure. Also, you should bare in mind that many users of such services are not exactly technically savvy (especially compared to the HN crowd, w
257.
▲
by
gedrap
10y ago
I guess it depends on the use case. If all you want to do is to make sure that, for example, all web servers have the same version of nginx, php and sync the configs of these services, I think ansible is a great tool and writing code to do
258.
▲
by
gedrap
10y ago
Varnish as a LB? Why Varnish instead of, for example, HAProxy?
259.
▲
by
gedrap
10y ago
The only DO-specific bit would be DO API to create/delete droplets (VPS) so that shouldn't be hard at all :)
260.
▲
by
gedrap
10y ago
Sounds like a fun project (and totally doable)! :) If I were you, I'd make heavy use of ansible, or something similar, for provisioning: 1) folks are familiar with it 2) could make it cross-platform more easily 3) well, no reinventing
261.
▲
by
gedrap
10y ago
>>> someone shows up Well, in this case, someone isn't some random dude from the Internet who you were never aware of. I understand your sentiment, but it doesn't apply in this case.
262.
▲
by
gedrap
11y ago
For a while, Messenger supports some partners-only kind of program for bots. For example, if someone posts @dailycute then a random image from imgur aww is posted [0]. I am quite interested whether they have plans to extend this and make it
263.
▲
by
gedrap
11y ago
Well, become a better one or just deal with the current situation? In my opinion, you can't just expect good things to happen.
264.
▲
by
gedrap
11y ago
Great point and I totally agree with you. Treating everything like a black box that just shove money into isn't going to take you far either :)
265.
▲
by
gedrap
11y ago
A few people in the comments are saying 'isn't better to just setup your own SQL server instead of RDS?' and similar. I don't want to post a reply to each, so I will say it here. While I can totally sympathize from a pro
266.
▲
by
gedrap
11y ago
Not really related to your product, but I find the trend of using emojis in commit messages really distracting. It's probably okay-ish very very rarely for something huge, but commit log reading like slack chat... Em not sure about it.
267.
▲
by
gedrap
11y ago
It depends on the project. If you have a small number of models (e.g. <= 5), then it's fine to have them all in one file, as you will not benefit from multiple files, really. When your application is growing, you have split the mode
268.
▲
by
gedrap
11y ago
At the moment (like, literally now, just took a break and saw this), I am configuring graphite + collectd + grafana (and probably cabot on top for alerts), using ansible to set up collectd and sync the configuration across the nodes. After
269.
▲
by
gedrap
11y ago
Maybe integrating issues search with SO would be a good idea? Personally, I create an issue if I strongly believe that it is a bug in the project or I want to suggest some improvements (e.g. found some strongly outdated docstrings) and head
270.
▲
by
gedrap
11y ago
It has nothing to do with the popularity of the repository, really, but more with the quality of the issues. >>> I would hate an automatic reply for filling an issue for a small library or such. If the issue is lets say not reprodu
More ›