Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mickeyp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
181.
▲
by
mickeyp
3y ago
I clarified exactly why it is the way it is here: https://www.masteringemacs.org/article/tree-sitter-complicat... And also why using LSP to furnish your editor with highlight markers is an inelegant solution for many l
182.
▲
by
mickeyp
3y ago
I mean, speaking of conspiracies, I've watched the spin-off show and it's... not that good. Turns out, you need good writing and Mulder/Scully to keep those three interesting. It most assuredly got cancelled because it wasn&#
183.
▲
by
mickeyp
3y ago
Feels like it was yesterday it came out. It's hard to convey to people who didn't watch it growing up just how special it was. It landed on TV right as the collective zeitgeist around the governments around the world getting up to
184.
▲
by
mickeyp
3y ago
You can't corral a bunch of interns -- of potentially unknown skills levels, even with our hindsight of where they wound up -- and expect them to wing their way through a "greenfield" project to launch in 10-or-so weeks. Espe
185.
▲
by
mickeyp
3y ago
I mean... if you multiplex disparate statements into the same connection and session then, well... yes, that is fraught with an incredible amount of complexity. That stuff's for OLAP, read-only replica servers and so on. High-through
186.
▲
by
mickeyp
3y ago
`flyspell-prog-mode' can spell check comments and strings just fine, too.
187.
▲
by
mickeyp
3y ago
So let's ban ORMs because newbies don't know the entire toolchain. Yes, that will definitely solve it. Why stop there? Let's ban RDBMS. If you can't contemplate a binary file structure and index strategy perfectly tailor
188.
▲
by
mickeyp
3y ago
I have decades of experience with databases and I happily use ORMs. You're conflating ORM with people who know nothing about databases. Why?
189.
▲
by
mickeyp
3y ago
Good shout. I've added another example image near the top, instead of burying the lede for people wondering what it's about.
190.
▲
by
mickeyp
3y ago
> Imagine creating the ideal climate (indoor) to farm Kashmiri Saffron[1] that cannot be grown in most climates except for a very few select regions. Kashmiri Saffron goes for about $1,500 a pound. I can grow saffron in my garden in Lond
191.
▲
by
mickeyp
3y ago
Man pages are generally not always that great. I recommend people instead digest the GNU `info' manuals, as you'll come away with a much deeper understanding of all the userspace binaries you're likely to interact with on man
192.
▲
by
mickeyp
3y ago
A Delphi app written in Delphi 4 in the mid/late 90s would still run just fine on the latest version of Windows today. Win32 works just fine even today.
193.
▲
by
mickeyp
3y ago
I use Emacs to do this. Here's how: https://www.masteringemacs.org/article/securely-generating-t... I securely store the master key using Emacs's builtin support for GPG and then decrypt the file on-the-fly t
194.
▲
by
mickeyp
3y ago
Most of those keyboard shortcuts are worth learning; there are more, though, and the article leaves out why they are the way they are and that they're available anywhere GNU readline is used. Here's a more detailed article I wrote
195.
▲
by
mickeyp
3y ago
You can create types in postgresql and use them as columns... so you can have your "object" style encapsulation at a column level. So you can have a "currency" type that has both the amount and the currency.
196.
▲
by
mickeyp
3y ago
That's... not true? You have `Pointer' for generic pointers and you can use `^' to indicate any type should be pointer based. You can then use Inc() or plain addressing plus arithmetic. And you can use `^' again on the
197.
▲
by
mickeyp
3y ago
Restrictive how? You had full pointer control in pascal and could drop to assembly with the `asm' statement.
198.
▲
by
mickeyp
4y ago
It is and it isn't. There's some good stuff there, but there's ever the risk that you'll get bushwhacked by something that you need to pay an expensive consultancy -- who just so happens to be the team behind the product
199.
▲
by
mickeyp
4y ago
I've written about all the different methods here: https://www.masteringemacs.org/article/evaluating-elisp-emac...
200.
▲
by
mickeyp
4y ago
Deleting in a relational database often involves cascading to foreign keys to ensure data integrity is maintained. Delete a company row, and the employee rows may follow; that is probably not what most want. FK cascading and DELETE, when do
201.
▲
by
mickeyp
4y ago
If you're an Emacs user, then why not use Emacs as your fuzzy finder on the command line. I wrote about this a while back: https://www.masteringemacs.org/article/fuzzy-finding-emacs-i...
202.
▲
by
mickeyp
4y ago
Yes, I know. But your statement makes it sound like numpy using threads is somehow bad or undesired (it can be; but if it is, you'll know how to tell numpy not to thread.)
203.
▲
by
mickeyp
4y ago
Yes, and that's a good thing. Let numpy do its threading unless you know exactly why you don't want it to parallelise your matrix multiplications and what havbe you. Numpy releases the GIL so that works exactly as it should. Threa
204.
▲
by
mickeyp
4y ago
The bit about googling is correct. But I posed it to ChaTGPT and it explained it immediately. Having said that, I also knew what it did immediately upon reading it, and I am not a CSS expert. One you know a little bit about selectors, then
205.
▲
by
mickeyp
4y ago
Of course, now that tree-sitter is embedded in the upcoming Emacs 29, expect even better support than polymode to emerge over time as you can dole out parcels of your buffer to different language parsers.
206.
▲
by
mickeyp
4y ago
I don't mind doing the engineering. But penetrating the veil of some of these things, ill-defined as they are, with work on certain areas being sporadic and taking place of years or decades, makes it especially hard. In fact it's
207.
▲
by
mickeyp
4y ago
Yeah this mirrors my experiences. I, too, find the file cache to be significant performance impediment on high-RAM systems. Worse, its behaviour is non-deterministic (or at least hard to reason about.) It leads to page table fragmentation a
208.
▲
by
mickeyp
4y ago
THP are a quick win for people who have little control over how malloc behaves. Like Python and numpy, for instance. I did a lot of HPC modelling ranging from hundreds of GiB to TiB-sized RAM servers and THP was an instantaneous win over no
209.
▲
by
mickeyp
4y ago
Yes, it's a brave "new" world. It's surprisingly hard to build this stuff, even with tree-sitter, though!
210.
▲
by
mickeyp
4y ago
Nothing but tree-sitter. The alpha had hard-coded dependencies because it was, well, an alpha.
More ›