Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danbruc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
211.
▲
by
danbruc
1y ago
That might be a good thing after all, at least in a certain sense. Stack Overflow has been dying for the last ten years or so. In the first years there where a lot of good questions that were interesting to answer but that changed with popu
212.
▲
by
danbruc
1y ago
For those only having a quick look, the charts do not have the y axis start at zero, the differences are much smaller than it looks.
213.
▲
by
danbruc
1y ago
There are browser - Vivaldi for example - that allow you to place the tab strip on any edge you want. To me personally it just looks and feels wrong, maybe just because of years of exposure to tabs on the top, but I can not get used to it,
214.
▲
by
danbruc
1y ago
No, will go away just like all the crypto stuff - remember that time? - went away.
215.
▲
by
danbruc
1y ago
We are not generally used to this in our field but just think about the amount of paperwork you have to go through in order to construct a bridge or an airplane. Browsers have become a critical component and it seem not really unexpected th
216.
▲
by
danbruc
1y ago
They have access to paper, the model output, that is what reasoning models use to keep track of the chain of thought. When I asked Copilot what kind of external resources it can use, it also claimed that it has access to some scratchpad mem
217.
▲
by
danbruc
1y ago
But the suffix -one in Italian is used to indicate something big - spaghetti vs spaghettoni - so a milione is a big thousand, a million.
218.
▲
by
danbruc
1y ago
The original long scale makes more sense, billion, bi million, twice six digits.
219.
▲
by
danbruc
1y ago
According to Wikipedia the two variants exist because the digits of large numbers used to be grouped into groups of six digits but in order to improve readability this was eventually changed to groups of three digits and some insisted that
220.
▲
by
danbruc
1y ago
I do not think I have seen or noticed code that inspects UUID variants either but I could certainly imagine that such code is out there, for example to protect against accidental information leakage from UUID variants that are not purely ra
221.
▲
by
danbruc
1y ago
I think the point is that this just generates 16 random bytes whereas UUIDs/GUIDs have structure, they at least have a variant fields indicating what kind of UUID/GUID it is. The closest thing to all random bytes would be variant
222.
▲
by
danbruc
1y ago
Do you have an example of some reasoning ability any of the large language models has learned? Or do you just mean that you think, we could train them in principle?
223.
▲
by
danbruc
1y ago
To reaching AI that can reason. And sure, as I wrote, large language models might become a relevant component for processing natural language inputs and outputs, but I do not see a path towards large language models becoming able to reason
224.
▲
by
danbruc
1y ago
Sure, if I ask about things I know nothing about, then I can get something done with little effort. But when I ask about something where I am an expert, then large language models have surprisingly little to offer. And because I am an exper
225.
▲
by
danbruc
1y ago
I just tested it with Copilot with two random 45 digit numbers and it gets it correct by translating it into Python and running it in the background. When I asked to not use any external tools, it got the first five, the last two, and a han
226.
▲
by
danbruc
1y ago
I think the main thing I want from an AI in order to call it intelligent is the ability to reason. I provide an explanation of how long multiplication works and then the AI is capable of multiplying arbitrary large numbers. And - correct me
227.
▲
by
danbruc
1y ago
I think large language models have essentially zero reasoning capacity. Train a large language model without exposing it to some topic, say mathematics, during training. Now expose the model to mathematics, feed it basic school books and ex
228.
▲
by
danbruc
1y ago
Let us see how this will age. The current generation of AI models will turn out to be essentially a dead end. I have no doubt that AI will eventually fundamentally change a lot of things, but it will not be large language models [1]. And I
229.
▲
by
danbruc
1y ago
Amendment to the parent comment. Note that the arrays contain values like 9 and 10 that are not the XOR of 1 to n for any n but they will also never be accessed because when they appear in the array, then the index used will point to a diff
230.
▲
by
danbruc
1y ago
In the array expression the array values and the index depend on n and both vary, in the explanation the n is fixed. Let us do an example starting at say 8. n = 8 [ 8, 1, 9, 0 ][ 8 % 4] = 8 = n n = 9 [ 9, 1, 10, 0 ][ 9 % 4]
231.
▲
by
danbruc
1y ago
Yes, because XORing two consecutive integers only differing in the least significant bit yields one. xxxxxxx0 ^ xxxxxxx1 = 00000001 Doing this twice with four consecutive numbers then also cancels the remaining one. That also means
232.
▲
by
danbruc
1y ago
Combining two consecutive integers starting with an even one yields one. xxxxxxx0 ^ xxxxxxx1 = 00000001 If we start at a number divisible by four and do this twice, we get one twice. xxxxxx00 ^ xxxxxx01 = 00000001 xxxxxx10 ^ x
233.
▲
by
danbruc
1y ago
No, that is correct, those two n represent slightly different things. n + 3 is the value after n XOR n + 1 XOR n + 2, so the n in the array index expression is n + 2 from the explaination and n + 3 results from (n + 2) + 1. I thought about
234.
▲
by
danbruc
1y ago
For calculating the XOR of 1 to n there is a closed form solution, so no need to XOR them together in a loop. (n & ((n & 1) - 1)) + ((n ^ (n >> 1)) & 1) Or a much more readable version [ n, 1, n + 1, 0 ][n % 4]
235.
▲
by
danbruc
1y ago
Floating point calculations used to be a lot slower than integer calculations so it was very common to use fixed point numbers. Also for good performance, you would usually not do what this code does, calculate the coordinates for each pixe
236.
▲
by
danbruc
1y ago
Cost the equivalent of $2359 back then, right now you can get a few on eBay for around $5000. Or you can get a mini replica kit for $150. [1] [1] https://altairmini.com/en/home
237.
▲
by
danbruc
1y ago
It is neither a unit of length nor area, it is just a count, a pixel - ignoring the CSS pixel - has no inherent length or area. To get from the number of pixels to a length or area, you need the pixel density. 1920 pixel divided by 300 pixe
238.
▲
by
danbruc
2y ago
I am really missing an explaination of how the cable and PCB were non-standard and if that would have been fixable. This feels more like building a new lamp for an existing housing than hacking the existing one.
239.
▲
by
danbruc
2y ago
Of course, that might be the easiest way. Given that you can get tiny magnets that are pretty strong but only a millimeters or so in size and therefore also light, you could just stick them to your different test masses in various configura
240.
▲
by
danbruc
2y ago
You can rule out electric forces by just grounding the masses to have them at equal potential, at least as long as your test masses are conductive. Magnetic forces seems harder, use a non-magnetic material does not really help, how would yo
More ›