Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pselbert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
High Performance Caching with Readthis
(sorentwo.com)
2 points
by
pselbert
11y ago
|
1 comments
152.
▲
by
pselbert
11y ago
That sounds like a job for phuby! https://github.com/tenderlove/phuby No, not really.
153.
▲
by
pselbert
11y ago
RAM is finite whether you're using it with Redis or Memcached. Redis provides multiple databases (0-16) for just this situation. Use one db for caching, another for Sidekiq, and another for ad-hoc tasks. Redis can also be configured to
154.
▲
by
pselbert
11y ago
Every high traffic site leverages caching to some extent, no matter what language they run underneath. That may be varnish reverse-proxy caching, in-memory caching, fragment caching, browser caching, or most likely a combination of all of t
155.
▲
by
pselbert
11y ago
No, that hasn't posed a problem in my experience. Note that all of the stores rely on Ruby marshalling underneath. To my knowledge Readthis is the only cache that lets you choose something else like pass through, JSON, Oj, etc. You wil
156.
▲
by
pselbert
11y ago
Redis is perfectly well suited to storing html/json fragments. It is as fast or faster, has built in clustering as of 3.0, has customizable expiration behavior, and is probably already used by your infrastructure. Most of the ActiveSup
157.
▲
by
pselbert
11y ago
If you're using Readthis[0] for Redis caching you can use an alternate marshaller to avoid the size and performance overhead of marshalling all objects through Ruby. If you aren't using Readthis you really should, it's faster
158.
▲
by
pselbert
11y ago
A request with dozens or hundreds of `fetch` calls will always be slower than a few `fetch_multi` or `read_multi` calls. All of the current ActiveSupport compliant libraries support both calls.
159.
▲
by
pselbert
11y ago
I've been partially remote for the past 5 years, averaging 2-3 days a week in the office. During that time I've also had stints of being fully remote while overseas for a few months at a time. The fully remote time is vastly more
160.
▲
by
pselbert
11y ago
That's exactly the space that Crystal [0] seems to be exploring. Statically type checked and pre-compiled via LLVM. So it isn't the Ruby designers themselves, but definitely Ruby flavored. 0: http://crystal-lang.org
161.
▲
by
pselbert
11y ago
Stan Wawrinka is also a single backhand player who just won the French Open, denying Novak Djokovic in the process. There aren't many of them left, but there are a few prominent examples.
162.
▲
by
pselbert
11y ago
Elixir's syntax also gains a wonderfully consistent AST, which enables all manner of meta-programming and macro writing. Sometimes there are practical benefits to syntactical choices beyond the pleasing aesthetics.
163.
▲
by
pselbert
11y ago
The .exs extension and mix integration makes elixir better than one might expect for scripting. It doesn't get to ruby or perl territory, but definitely good enough for scripting to keep code homogeneous in a project.
164.
▲
by
pselbert
11y ago
Some great articles about the process of "Breaking Erlang Maps" via QuickCheck. Thanks for those! 1: https://medium.com/@jlouis666/breaking-erlang-maps-1-31952b8... 2: https://medium.com/@jlou
165.
▲
by
pselbert
11y ago
Thanks! I wasn't aware the `\copy` command was scoped to the current working directory. https://wiki.postgresql.org/wiki/COPY
166.
▲
Universal PostgreSQL Exports
(sorentwo.com)
1 points
by
pselbert
11y ago
|
2 comments
167.
▲
by
pselbert
12y ago
I'm not vegan at all, in fact I'm quite the carnivore. The trail of links just leads somewhere unexpected if you're coming from a demoscene page. Separately, my apologies about mistaking the language and location.
168.
▲
by
pselbert
12y ago
Hilariously following the links lands you at http://www.theprodukkt.com/ , which is the site for a German butcher shop. Avoid the link unless you like giant images of thinly sliced meat.
169.
▲
by
pselbert
12y ago
I came to this expecting something about the movie. Instead I was rewarded with a staggering amount of history on the scam every one of has had perpetrated on us.
170.
▲
by
pselbert
12y ago
The entire browser is built on JS/React. I'm pretty sure that is an indicator of the rest of their philosophy.
171.
▲
by
pselbert
12y ago
That's like claiming any two C syntax inspired languages are the same because they share curly braces, semicolons and naming conventions.
172.
▲
I Have PostgreSQL Loaded, Now What?
(depesz.com)
3 points
by
pselbert
12y ago
|
0 comments
173.
▲
by
pselbert
12y ago
Don't have a citation for this, but I recall hearing that Square runs JRuby in production. Separately, the start time makes JRuby awful for TDD/Dev, but once it has time to warm up in production it is vastly faster. Scan back thro
174.
▲
Predicting Test Failures
(tenderlovemaking.com)
2 points
by
pselbert
12y ago
|
0 comments
175.
▲
by
pselbert
12y ago
Amazing to hear that there is a computer museum in Rijeka. My family spent nearly three months staying right outside of Opatija while working in Croatia. We'd travel to Rijeka regularly when we needed to do any larger shopping. My wife
176.
▲
by
pselbert
12y ago
Rampant fraudulent reporting from Chinese officials regarding fishing quotas threw off the global catch totals for years. Until they realized that the Chinese officials were lying (due to raises and payments based on meeting quota) the true
177.
▲
Real Time for Everyone
(sorentwo.com)
4 points
by
pselbert
12y ago
|
0 comments
178.
▲
by
pselbert
12y ago
My exact gripe with nearly all of the new wave in email clients. I'm aware most people are OK with Gmail, but I'm not--surely IMAP is worth supporting too!
179.
▲
by
pselbert
12y ago
Thanks for bringing this up. I've seen and heard it mentioned before and never took the time to seek it out.
180.
▲
by
pselbert
12y ago
Using a library like Oj[1] it is vastly faster to unpack JSON in Ruby than it is even to use the built in marshaling. It's extremely portable, performs well and is easy to debug. There really aren't many practical drawbacks to usi
More ›