Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drej
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
211.
▲
by
drej
9y ago
For me, the issue is not cost. It's the data. You're paying for what's essentially a data warehouse and BI tool... but you have little to no control over it. Sure, it's fully managed, but you want to change X? You want t
212.
▲
by
drej
9y ago
> In addition to this, it makes you fully dependent on a single infrastructure provider; it takes away all your leverage when negotiating hosting costs. If I JDBC into this sort of infrastructure, how does that make me dependent on AWS?
213.
▲
by
drej
9y ago
I have, I'm just excited and baffled at the same time :-)
214.
▲
by
drej
9y ago
Cool... but.. how?
215.
▲
by
drej
9y ago
That title is puntastic.
216.
▲
by
drej
9y ago
My personal reason that may be relevant for quite a few people. Not quantifying that any further, just my 2c. https://news.ycombinator.com/item?id=12930793
217.
▲
by
drej
9y ago
It seems a bit odd to export the data in the command line to then work with it in pandas, given that it's a stock sqlite3 database. I'd just use sqlite3.connect and pd.read_sql_query directly. (I know, the db will be locked when C
218.
▲
by
drej
9y ago
Waiting for Godot is hardly obscure.
219.
▲
by
drej
9y ago
I wonder what the "issue dynamic" will be in the coming months/quarters. There are currently 5000+ open issues, 3000 of them feature requests. I hope the roadmap doesn't present any new features, but it's solely wor
220.
▲
by
drej
9y ago
Apache Spark. Scala
221.
▲
by
drej
9y ago
I love requests+lxml, use it fairly regularly, just a few quick notes: 1. lxml is way faster than BeautifulSoup - this may not matter if all you're waiting for is the network. But if you're parsing something on disk, this may be
222.
▲
by
drej
9y ago
Instead of all the 'we replaced x with y', I'd like to for once read something along the lines of 'we started using x and y side by side, embracing the benefits of each' I use both Python and Go regularly and the us
223.
▲
by
drej
9y ago
Has anyone achieved a dramatic speedup using this extension? Last time I tried it, I got barely a 30% speedup in a generic aggregation across a few fairly normalised tables with ~10M rows. I don't know if I'm doing something wrong
224.
▲
by
drej
9y ago
I scrolled through the list yesterday... to find my own repo there. Thanks, Github, I'm aware of my own work :-)
225.
▲
by
drej
9y ago
I know a lot of people here already praise the book... but I have to do that as well. It's a great overview and it explains all the relevant concepts really nicely. Thanks, Martin!
226.
▲
by
drej
9y ago
Borrowing an argument from an article talking the speed of Python: focus on what's your bottleneck. If you're worried about the performance of your tool, make sure it's not actually waiting for something else (IO, network, sc
227.
▲
by
drej
9y ago
They still are required, for at least three reasons - UX, cost, and security. 1. For a lot of workloads, it's more convenient to run in on a desktop. Sure, with the right tooling, you can bridge your cloud and desktop pretty seamlessly
228.
▲
by
drej
9y ago
This is a post about a fun experiment, but these kinds of tasks are day to day jobs for quite a few people. Fortran or COBOL codebases are often unmaintained yet relied upon. I remember when we updated our Fortran compilers (because of othe
229.
▲
by
drej
9y ago
Adding golang/go to the list. It's interesting to read how an actual language is implemented, also it's fairly well documented (most of the documentation is extracted from the codebase, so all the crucial bits have to be ther
230.
▲
by
drej
9y ago
Given that this is meant to be boilerplate for building apps, it makes sense to install it with devDependencies. However, let's go along and install it with the `--production` flag. It doesn't get much rosier. Close to 1M SLOC.
231.
▲
by
drej
9y ago
`npm install` pulls 1.6M SLOC. That's a little bit less than V8 itself. $ loc node_modules/ -------------------------------------------------------------------------------- Language Files Lines
232.
▲
by
drej
9y ago
1) npm install added 1226 packages in 52.23s 2) $ ls -l node_modules/ | wc -l 900 3) $ du -h node_modules/ 180M node_modules/ 4) Few people care what your web app is built with. Your
233.
▲
by
drej
9y ago
Production wouldn't usually be in Python but if it was, it'd probably be numpy (if it was numerical). It's also fairly heavy (we'd usually exclude MKL for that reason), but less 'smart' (fewer defaults, more ex
234.
▲
by
drej
9y ago
I started with Python because of (or rather, thanks to) pandas, it was my gateway drug. Over the past ~5 years I've done all sorts of things with it, including converting the whole company I worked at. At one of my employer's, I s
235.
▲
by
drej
9y ago
added 1523 packages in 94.397s node_modules: 329 715 665 bytes (435,4 MB on disk) for 37 881 items I know it looks cool and animates and all that, but... really?!
236.
▲
by
drej
9y ago
> Go and Rust expose UTF-8 at the byte level. This is something of a headache and may result in invalid string slices. It basically punts the problem back to the user. There are pros and cons to both approaches. The prime ones being that
237.
▲
by
drej
9y ago
There are a few things I consider when I try to improve performance of my code. 1) I really like the advice of "make it run, make it right, make it fast" [0]. First I build it, then I write a thorough test harness (or make multipl
238.
▲
by
drej
9y ago
This is crazy. I love it.
239.
▲
by
drej
9y ago
> If you save a business organization money, they appreciate it. Is that based on past experience?
240.
▲
by
drej
9y ago
nginx
More ›