Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mickeyp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
481.
▲
by
mickeyp
14y ago
Which is a bit amusing, as I remember standalone IRC servers handling 40,000+ peak users with relative ease -- and that was back in the late 90s on commodity server hardware.
482.
▲
by
mickeyp
14y ago
> In some cases you really have too much diversity of data structures and then it a NoSQL solution can be helpful. An example can come to mind: a notification engine with tens of diverse notification format, each with their variable dat
483.
▲
by
mickeyp
14y ago
If you want to transpose a matrix-like list of lists, but the sizes don't all match up, you can use izip_longest from itertools and give it a fillvalue to "fill in" for the missing elements: >>> m = [(1,2,3), (4,5,6), (7, 8)
484.
▲
by
mickeyp
14y ago
Again, this is not true of lxml. XPath was made for structured data, but in lxml you can give it the HTMLParser factory and it will handle rubbish HTML just fine. I use lxml/XPath professionally to scrape economic data for an ibank, and you
485.
▲
by
mickeyp
14y ago
The issue, as always, is that you trade your "verbose" (by comparison) imperative programming language for something that let's you specify or model the behaviour of a system in very few lines of code. Impressive, indeed, until you realise
486.
▲
by
mickeyp
14y ago
Actually, libxml (lxml for Python) is very, very good at handling real-life HTML content. I'm currently on a contract where I do a significant amount of ETL and web scraping as part of the project, and I almost exclusively use lxml and XPat
487.
▲
by
mickeyp
15y ago
Farbrausch are one of the most amazing demo scene groups out there today. I highly recommend watching the video captures of their demos on Youtube. Alternatively -- or perhaps more authentically -- you can download the executable demos and
488.
▲
by
mickeyp
15y ago
Well, you covered quite a few professions or career paths in your examples. The easiest way to move into business is to realise that you will need to understand the business. This is not some nebulous Zen crap I'm pulling here, but a fact
489.
▲
by
mickeyp
15y ago
Knuth is probably the only (major) author that I can think of off-hand who took the application of his algorithms and data structures so seriously (going so far as to invent his own little RISC instruction set, MIX (later MMIX.) in a book t
490.
▲
by
mickeyp
15y ago
You raise a valid point, and one that a lot of algorithm and data structure textbooks neglect to mention at all; seen purely from a practical perspective, things like locality of data with respect to CPU caches are probably more important t
491.
▲
by
mickeyp
15y ago
It's a major frustration for me, too, as an Emacs user. I'm still looking for a hardware dongle that does nothing but map the caps lock scan code to left ctrl. Sure, I can rebind the key (and I do) but as a contractor I move around a lot an
492.
▲
by
mickeyp
15y ago
Indeed. If you are using Oracle you can use its Database Replay to replay the workload with the same characteristics as the production database on your test or dev environment. Pretty nifty stuff, actually.
493.
▲
by
mickeyp
15y ago
I wouldn't say "SQL Programmers" (or more likely, programmers who do SQL) are "proud" of their large queries, but they are a fact of life in most businesses. Report generation and other complex business logic does take up a lot of lines, an
494.
▲
by
mickeyp
15y ago
Surprisingly, yes. I remember it was part of the Windows 95 folklore back in the day. It only worked on the earlier versions, as I recall, as the newer builds fixed it.
495.
▲
by
mickeyp
15y ago
A lot of people seem to miss the point about enterprise software and the purveyors of that software; the end goal is not agile or slim (that is incidental) but to enable many, many disparate systems to function at least somewhat coherently.
496.
▲
by
mickeyp
15y ago
It's too sharp on a black background with black text. On a high-end display it's just too.. rich a colour. I'd use pastels personally.
497.
▲
by
mickeyp
15y ago
The completion mechanism is actually the same as what it has always been. `completion-at-point' is Emacs's generic completion framework, and what they've done is replace all those mode-specific hatchet jobs with the more generic one. As for
498.
▲
by
mickeyp
15y ago
Make sure you read the caveat I wrote as what counts as a "word" depends on the mode.
499.
▲
by
mickeyp
15y ago
Aww, damnit. It's down again. I really need to ditch Apache or learn how to not make it take down my 1.8 GB ram Linode instance.
500.
▲
by
mickeyp
15y ago
Sorry about the site outage; my little linode 512 instance took a pounding :) I've moved it to a larger one. I hope that'll do!