Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MattPalmer1086
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
MattPalmer1086
5d ago
It is interesting that a philosophy opposed to ownership and restriction of control has pretty much the most controlling terms of any OSS license - to the extent it is usually banned in any commercial software development. I do understand t
2.
▲
by
MattPalmer1086
5d ago
No, it isn't an attempt to make copyright irrelevant. Almost all OSS licenses impose some conditions - even if it is only attribution. OSS licenses are fully part of the copyright system and could not exist without it. Maybe you are t
3.
▲
by
MattPalmer1086
9d ago
This is true. Pretty much everyone I was friends with at school in the north of england left, most of us now in or around London. But we were the ones who went to university. Most who didn't stayed put.
4.
▲
by
MattPalmer1086
9d ago
Invent some super useful chemical or food additive that gradually renders us sterile. We are all willingly exposed to it but do not see the danger until it is far too late.
5.
▲
by
MattPalmer1086
11d ago
I would argue that despite not being military doctrine, it has been effective. Nuclear deterence is demonstrably real. It is a form of Nash equilibrium. I am not sure there is any limited nuclear exchange that is not so risky as to be wor
6.
▲
by
MattPalmer1086
11d ago
I was responding to this comment specifically about nukes: >Everyone is equal with - they all have nukes in space sitting over each other's countries waiting to drop
7.
▲
by
MattPalmer1086
11d ago
What would be the point? MAD relies on everyone knowing you can take them out if they attack you. What does a space weapon offer additionally that makes the huge expense worthwhile?
8.
▲
by
MattPalmer1086
14d ago
Probably very effective for shorter patterns. Two reasons to use more complex algorithms for longer patterns: 1. Linearity - the naive approach is quadratic on worst case data (imagine searching for 100 0's in a text of 0's). 2.
9.
▲
by
MattPalmer1086
15d ago
Always been interested in using SIMD to speed up searching. So far though i have not found a really nice one. Need to figure out what area they excel in - there is no one search that is the best for all types of data and pattern/searc
10.
▲
by
MattPalmer1086
15d ago
It is a really nice derivation of Bitap from first principles. I had not seen that before. Good job! One small nit: he says the naive algorithm is linear - maybe it is for the average case, but it has a quadratic worst case complexity. Bi
11.
▲
by
MattPalmer1086
15d ago
Ah, last weekend I was just updating my own string search algorithm to use Bitap (Shift-OR variant) instead of KMP, when the pattern length is < 64. It is faster. It is a very lovely algorithm indeed. My search algorithm, HashChain [1]
12.
▲
by
MattPalmer1086
17d ago
Warp drive is among the more plausible ways to get FTL sure - it is compatible with relativity at least...
13.
▲
by
MattPalmer1086
21d ago
The way we will actually all live substantially longer is by health extension, not by extending life while suffering from decrepitude.
14.
▲
by
MattPalmer1086
25d ago
Yep, using AI to remove your thinking process and judgement, and just let it generate stuff as fast as possible, will definitely make you ship crap faster! If you did the same thing with a junior developer you would get the same result. Wh
15.
▲
by
MattPalmer1086
25d ago
No, it just means you have to learn to use the tool well.
16.
▲
by
MattPalmer1086
27d ago
I am finding the opposite, but then I mostly work on algorithms and writing a lot of code to test various approaches to improve them is boring. Today I had claude figure out that using SIMD would not improve performance, and it gave me an a
17.
▲
by
MattPalmer1086
29d ago
I think it is rather a healthy skepticism. Sure, a lot of people will not take their understanding any further, but most do not have the will or the time to do so. Even knowing mean, mode and median is not enough. You really want standard
18.
▲
by
MattPalmer1086
1mo ago
Haha yes, should have said average billionaire!
19.
▲
by
MattPalmer1086
1mo ago
Bill Gates walked into a bar. Everyone was, on average, a multi millionaire.
20.
▲
by
MattPalmer1086
1mo ago
A couple of examples: 1. LCDM predicted hierarchical formation of large galaxies through aggregation. JWST seems to show this is not what happens (large galaxies at early times). I am sure it can be made to work, but it was not a predicti
21.
▲
by
MattPalmer1086
1mo ago
Well, MOND is not a cosmological theory or relativistic - there are some different versions that attempt that. MOND itself can't be used to match the CMB spectrum. It has always been a minority position - but it is interesting to see
22.
▲
by
MattPalmer1086
1mo ago
Certainly true that the data can be viewed in many different ways. Often the same data is used by both sides! The funeral thing isn't really a position I strongly hold; it's a pithy comment that points out science is a human endea
23.
▲
by
MattPalmer1086
1mo ago
No, that is not how science actually progresses, it is an idealised view of it at best. Thomas Kuhn wrote "The Structure of Scientific Revolutions" back in the 1960s. Plank's principle stated "Science progresses one fu
24.
▲
by
MattPalmer1086
1mo ago
Reading a bit closer, you seem to track how much work is being done in Horspool on each character comparison, and then fall back to the linear KMP if the work budget is exhausted. This will first massively slow down the Horspool scan, and t
25.
▲
by
MattPalmer1086
1mo ago
Looks nice! One little thing I spotted is you use Boyer Moore Horspool for fast literal search. This is actually not linear in the worst case, although it is almost always sublinear. Worst case would be a literal composed of the same char
26.
▲
by
MattPalmer1086
1mo ago
Certainly true I have not been at that level or witnessed that kind of political play.
27.
▲
by
MattPalmer1086
1mo ago
I have never once seen this happen. Nobody intentionally promotes incompetent people. I have seen less capable engineers who were more interested in management being promoted. Some engineers may interpret this as promoting incompetence, be
28.
▲
by
MattPalmer1086
1mo ago
I just installed Immich this weekend to try it out - it is pretty good! Face grouping, semantic search all seem to work well. I find it better than google photos already in some ways. For example, to add photos to an album google forces y
29.
▲
by
MattPalmer1086
1mo ago
Maybe it could, maybe it could not. If it could and we had no defence against, it could be disastrous, even world ending (for us). The precautionary principle applies. I'm not sure what advantage you see to a government in restrictin
30.
▲
by
MattPalmer1086
1mo ago
In one general election back in the 90s, there was a candidate called "Nun of the Above". They put them at the bottom of the candidate list on the voting slip. Good to see the election officials had a sense of humor.
More ›