Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
charliesome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
61.
▲
by
charliesome
9y ago
> Pointless abstraction is one of my pet peeves in this industry. This looks like it has gone from a fairly straightforward, if kludgy, piece of code to something far more complex. Why not just: [code] Your example code works just fine f
62.
▲
by
charliesome
9y ago
> Dark patterns may help profits in the short-term, but they're terrible for your brand. Just ask TicketMaster. TicketMaster's customers are people selling tickets, not those buying them. Their entire business model is based ar
63.
▲
by
charliesome
9y ago
Speech and political action is not and has never been free of consequence
64.
▲
When your turn comes, will you “Name Names?”
(braythwayt.com)
3 points
by
charliesome
10y ago
|
1 comments
65.
▲
by
charliesome
10y ago
I think you mean 'their'
66.
▲
by
charliesome
10y ago
Latency is an issue. Especially when traversing history in operations like log or blame, it is important to have an extremely low latency object store. Usually this means a local disk.
67.
▲
by
charliesome
10y ago
If output is redirected, ag calls fstat on stdout and records the inode. It then ignores files based on inode rather than path: https://github.com/ggreer/the_silver_searcher/blob/b995d3b82...
68.
▲
by
charliesome
11y ago
What?? So all parties, no matter how vile or detestable their actions or beliefs, deserve my respect simply because they exist within a democratic system? That is a ludicrous argument.
69.
▲
by
charliesome
11y ago
I generally find it wise to avoid calling engineering problems faced by other organisations trivial. There are often a lot of complicating factors that aren't obvious from an outside perspective.
70.
▲
by
charliesome
11y ago
>That said, there is no valid engineering reason why any web app should require more than 512MB of memory to run with minimal user load. GitLab (and every other Rails app) makes the assumption that it's better to eager load an ent
71.
▲
by
charliesome
11y ago
What makes a high level language? Is Assembly high level? In that case GCC would be a transpiler, not a compiler. What about C? If C is considered high level, the original C++ compiler would have to be considered a transpiler rather than a
72.
▲
by
charliesome
11y ago
> Nothing wrong with it, I just don't know it well, and I don't like being dependant on things I don't know how to debug. Yep, this is basically our approach as well. We've been using DRBD for quite a long time now
73.
▲
by
charliesome
11y ago
MySQL is actually a really good key value store! Here's the schema we use for the routing information: CREATE TABLE `pages_routes` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `host` varch
74.
▲
by
charliesome
11y ago
Unfortunately this isn't an option for us. We need to be able to move sites between fileservers periodically to keep disk usage and load balanced. Adding new fileservers when using a hash modulus based routing scheme is also quite comp
75.
▲
by
charliesome
11y ago
We do have Fastly in front of *.github.io, but there's still a significant amount of traffic (on the order of thousands of requests per second throughout the day) that make it through to our own infrastructure. We don't do any oth
76.
▲
by
charliesome
12y ago
And also quite similar to kernel threads
77.
▲
by
charliesome
12y ago
Rails 3.0 has a legacy routing mapper that lets us continue using the Rails 2.3 routing syntax. The legacy routing mapper is also available as a gem [1] for Rails 3.1 and 3.2. We plan on gradually upgrading our routes file to use the new sy
78.
▲
by
charliesome
12y ago
We use the test-queue gem ( https://github.com/tmm1/test-queue ) to run our test suite in parallel across 10x 8 core machines.
79.
▲
by
charliesome
12y ago
Like most open source software, no? Apache 2.4 is a pretty solid web server. So is nginx. They both have their ups and downs, but unless you have highly specialised needs, either will do the job.
80.
▲
by
charliesome
12y ago
Pop culture?
81.
▲
by
charliesome
12y ago
> The whole reason why the "event driven IO", callback mess, etc. is a thing is because of the costs of native OS threads. Nope. The whole reason why event driven IO is so popular is because of all the FUD that has been sprea
82.
▲
by
charliesome
13y ago
> For example, a geo-location startup tracking the location in real time of users with a free app is simply not going to be able to use a relational database. Why not?
83.
▲
by
charliesome
13y ago
> is there a ruby gem which can use this and drop into the Rails asset pipeline to speed it up? Often the source of slowness in the asset pipeline is not the compilation but the asset pipeline itself. It does some weird stuff. I'd i
84.
▲
by
charliesome
13y ago
> What you need is glue code that hooks Ruby (or Python, or whatever) into the web server at the same level as PHP hooks in, the way the ancient mod_perl does for Perl. The problem with this approach is that MRI Ruby has tonnes of global
85.
▲
by
charliesome
13y ago
Hi, I'm the author of Slash. I wasn't expecting Slash to show up here so soon - the website's pretty out of date and the language itself still needs a bit more polish before it's ready for use. Slash is something I'
86.
▲
by
charliesome
13y ago
Proof of concept exploit: https://github.com/joyent/node/blob/master/test/simple/test-...
87.
▲
by
charliesome
13y ago
> Implementing Apple product charging is somewhat convoluted, for example, and has changed over time. It is? I've never had any problems with cheap AC to USB power adapters.
88.
▲
by
charliesome
13y ago
Changes are easy? How do you migrate documents created before you changed your schema to documents created after? Or do you deal with an entire collection of documents all wildly varying in shape?
89.
▲
by
charliesome
13y ago
> C++ const has no effect on optimization, since it can be casted away. Modifying an object that has had its const-ness casted away is undefined behaviour.
90.
▲
by
charliesome
13y ago
I've updated my post, sorry for the confusion!
More ›