Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
singingfish
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
singingfish
3y ago
Back in the dialup days, my dialup would die, and be unable to re-connect at dusk. Other than that, it was fine, for dialup.
62.
▲
by
singingfish
3y ago
The other week I saved my company a grand a year by reusing an existing service for some contractors rather than some new cloud service. Then promptly expensed a big chunk of that for repairs on my office chair :)
63.
▲
by
singingfish
3y ago
To get the newline captured as well you need to add the `/s` modifier too
64.
▲
by
singingfish
3y ago
The advantage of bad perl is that it pretty much is immediately obvious on first sight that it's bad perl. Compare with python, it takes thought and time to identify bad python because it's so syntacticly bland.
65.
▲
by
singingfish
3y ago
This is quite an interesting phenomenon, and kind of explains why perl is disliked so much. Computer programming theory has large swathes of inspiration from theoretical linguistics - think lisp. That's nice for theoreticians because
66.
▲
by
singingfish
3y ago
... and now you have Mojo::Base which is kind of like Moo lite with batteries included. Last week I was concurrently programming some Mojo::Base stuff and some python stuff with cached properties, and I way more enjoyed the salience of my
67.
▲
by
singingfish
3y ago
Back compat is an important thing. A few years ago we took a 250kline from perl 5.8.9 to perl 5.16 in one hit. Out of the entire application under 50 lines of application code needed to be changed (excepting the big bump in cpan module ve
68.
▲
by
singingfish
3y ago
As a medium long time perl guy who's been dragged kicking and screaming to do a bit of python recently I'm going to repeat this here: Python and perl are actually pretty much exactly the same - analogous to the Judean People'
69.
▲
by
singingfish
3y ago
same, except I use emaacs org mode instead of jupyter (and have record keeping / backup implemented with git-auto-commit-mode as well)
70.
▲
by
singingfish
3y ago
Classic confabulation is observed with some kinds of alcohol related brain damage where people drink and get malnourished for a period of years. People with these syndromes create quite coherent complex stories which they will not be able
71.
▲
by
singingfish
3y ago
> I play jazz and don't fully believe in Western music notation :) My friend - accomplished classical musician and now pretty well known jazz musician tells me you can't write down latin music accurately. Personally I think wh
72.
▲
by
singingfish
3y ago
By way of being useful and for future reference for me: music21: http://web.mit.edu/music21/ mingus: http://bspaans.github.io/python-mingus/index.html abjad: https://abjad.github.io
73.
▲
by
singingfish
3y ago
I've had a few attempts with algorithmic lilypond for some technical exercises. It's generally good for getting the basics out, but you either lose the advantages of `relative` mode, or end up with unreadable nonsense. So I find
74.
▲
by
singingfish
3y ago
Interesting. A few years ago I had a bunch of music to learn fast, and was having real trouble with reading. I had a longish commute at the time and spent a big chunk of it re-transcribing the music to lilypond so I could get score and mi
75.
▲
by
singingfish
3y ago
I've been designing a somewhat trivial application this week - representing time series data in a reliable manner (basically a holding pen for stuff that will land in opensearch for good visualisation tools). At one point I was thinkin
76.
▲
by
singingfish
3y ago
Best outcome is when the people using these systems are the same people as those buying/specifying the systems. And best introduced with limited and constrained scope so you end up meeting the users actual needs. Pretty simple really
77.
▲
by
singingfish
3y ago
Mate, it's not, it's based on extraordinarily well understood theories around the how chemical bonds and the electromagnetic spectrum work. That is the theory behind the mechanism for anthropogenic climate change is based on exac
78.
▲
by
singingfish
3y ago
Relevant - paper here https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3250633/ - which is the paper that rescued my PhD (on electronic health records rather than medical records, but adjacent). Note that Scotlan
79.
▲
by
singingfish
3y ago
100% of people who mistake correlation for causation end up dead.
80.
▲
by
singingfish
3y ago
yeah, a colleague and I ripped out all of the http / https dance out of a 20 year old code base a little while back. It simplified things a lot.
81.
▲
by
singingfish
3y ago
Thanks, I just implemented the subset of what we actually needed from a WAF with haproxy, and I'm delighted to say our stuff is extremely effective (as we got a nice flood attack the day after go live), and that it's 10% of the co
82.
▲
by
singingfish
3y ago
oh yeah, yet another thing to consider is there are plenty of garbage vendors in the ecommerce space
83.
▲
by
singingfish
3y ago
another one to consider is that product classification should be thought of as arbitrary efficient representations of a hierarchy subject to structural change at any time. And that different customers can see different hierarchies. They&#
84.
▲
by
singingfish
3y ago
yeah b2b is pretty much at the wholesale end, where everyone has different accounts with their own pricing negotiated as part of the contract and so on. If you go into an electrical wholesaler for example, you can buy at consumer prices, bu
85.
▲
by
singingfish
3y ago
you can think of b2b as "every customer has access to different products at a different price" and optionally "they want to integrate their ERP with the ecommerce vendor's ERP". Also that the concept of customer is
86.
▲
by
singingfish
3y ago
> An e-commerce website is trivial. Beyond a certain scale (when you're becoming more of a logistics company and less of a store front) there are a whole heap of rather tricky problems sitting there waiting to bite you in the arse.
87.
▲
by
singingfish
3y ago
It's also handling what state the suburb is in, and can deal with various kinds of bad data (e.g. lack of uniformity of spacing and capitalisation).
88.
▲
by
singingfish
3y ago
Yes they do. This was good for the early/mid 2000s - new suburbs are going to be a problem as australia post no longer give the list away for free.
89.
▲
by
singingfish
3y ago
perl module Regexp::Assemble
90.
▲
by
singingfish
3y ago
https://gist.github.com/dr-kd/36df691fa395567cb73d1368e4345c...
More ›