Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
susam
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
271.
▲
How do lava lamps help with encryption?
(cloudflare.com)
3 points
by
susam
11mo ago
|
1 comments
272.
▲
How can I have a Win32 drop-down combo box with a read-only edit control?
(devblogs.microsoft.com)
2 points
by
susam
11mo ago
|
0 comments
273.
▲
by
susam
11mo ago
I learnt this subject from the book Galois Theory , 5th ed. by Ian Stewart. Quoting from page 177: Theorem 15.10. The polynomial t⁵ - 6t + 3 over ℚ is not soluble by radicals. As you can see, this theorem occurs in Chapter 15. So it take
274.
▲
An ortographical typo in Zen of Python text (2008)
(bugs.python.org)
1 points
by
susam
11mo ago
|
0 comments
275.
▲
N-gated Hacker News
(mastodon.social)
2 points
by
susam
11mo ago
|
1 comments
276.
▲
by
susam
11mo ago
Update: I went ahead and added the method of obtaining the coefficients using DFT anyway. Like I mentioned above, this approach is quite tedious by hand, so I only work out the first few coefficients explicitly. In practice, these are almos
277.
▲
by
susam
11mo ago
That is precisely how I began writing this post. I thought I'd demonstrate how to apply the discrete Fourier transform (DFT) but to do so for each of the 15 coefficients turned out to be a lot of tedious work. That's when I bega
278.
▲
by
susam
11mo ago
> There are several mentions of "closed-form expression" without precisely defining what that means, only "finite combinations of basic operations". There is no universal definition of 'closed-form expression
279.
▲
Zork is now open source
(blog.zarfhome.com)
5 points
by
susam
11mo ago
|
2 comments
280.
▲
by
susam
11mo ago
Late to the party but here's a solution I worked out using roots of unity and cosines: from math import cos, pi for n in range(1, 101): print([n, 'Fizz', 'Buzz', 'FizzBuzz'][round((1 + 2 * cos(
281.
▲
by
susam
11mo ago
> That assumes associativity, but that's a nitpick, not a real objection. I don't think that is a valid nitpick. My earlier comments assume associativity because a group operation is associative by definition. If we do not allo
282.
▲
by
susam
11mo ago
> The "if" is correct. The "only if" is not. Both "if" and "only if" are correct. Let a + a + a = a. Adding the inverse of a to both sides, we get a + a = 0. Let a + a = 0. Adding a to both sides,
283.
▲
by
susam
11mo ago
A simple example where 1 + 1 + 1 = 1 is ℤ₂, the group of integers modulo 2 under addition. In fact, in any group with binary operation, say +, the identity element 0, and a non-identity element a, we have a + a + a = a if and only if a + a
284.
▲
content_scripts won't load with pdf.js tabs (2018)
(bugzilla.mozilla.org)
3 points
by
susam
11mo ago
|
0 comments
285.
▲
by
susam
11mo ago
I remember that in the early 2000s, when Internet access was scarce where I lived, most of my writing (including writing software) happened offline. Everything I needed to do my work was available offline. This included physical books like
286.
▲
by
susam
11mo ago
This is going to be an odd comment, but I immediately recognised the parrot in the test images. It's the scarlet macaw from 2004 which is often used in many Wikipedia articles about colour graphics. I think this is the original, phot
287.
▲
Unique shape of star's explosion revealed just a day after detection
(eso.org)
8 points
by
susam
11mo ago
|
1 comments
288.
▲
Demystifying a visual illusion: Why we see colour that's not there
(southampton.ac.uk)
4 points
by
susam
11mo ago
|
0 comments
289.
▲
by
susam
11mo ago
End of an era! I remember going through XSLT tutorials many decades ago and learning everything there was to learn about this curious technology that could make boring XML documents come 'alive'. I still use it to style my RSS fee
290.
▲
by
susam
1y ago
What you've described here is an n-gram inverted index (with n = 2) represented as a bitset. We could call it a bigram bitset inverted index . Glad to know you designed and implemented all of this from first principles, and that it
291.
▲
by
susam
1y ago
I just noticed the m = 10007 value in my comment above and I thought I should clarify it. The number of bits per bloom filter does not need to be a prime number if the hash functions have uniform distribution. Murmur2 hash functions do ha
292.
▲
by
susam
1y ago
When I worked at RSA over a decade ago, we developed Bloom filter-based indexing to speed up querying on a proprietary database that was specialised for storing petabytes of network events and packet data. I implemented the core Bloom filt
293.
▲
by
susam
1y ago
Yes, '?:' is also known as the Elvis operator [1][2]. I sometimes use it in other languages such as Groovy. But I don't use it in C because this happens to be a GCC extension [3][4] and I've often had to compile my C p
294.
▲
by
susam
1y ago
> Is this supposed to be a specific coding style or paradigm? This is indeed Whitney's distinctive coding style, well known for its use in his various array programming language interpreters. His coding style is famously minimalist
295.
▲
by
susam
1y ago
HN stories about Whitney's code tend to predictably attract a lot of comments about the coding style, so I thought I'd share a couple of positive discussions from previous related posts. Here's one from one of my favourite HN
296.
▲
by
susam
1y ago
I am not a synaesthete and I wonder how other non-synaesthetes perceived the '5 vs 2' diagram. Even though I see all the digits in plain black, the triangle of 2s immediately stood out to me. The author writes: 'For me, fo
297.
▲
Temml: A TeX-to-MathML conversion library in JavaScript
(temml.org)
4 points
by
susam
1y ago
|
0 comments
298.
▲
by
susam
1y ago
You are right. Getting rid of the stray <mrow> around '/' does make the spacing better. Also, today I learnt about Temml. It looks very interesting and I'll be trying it out. Thanks for this nice discussion!
299.
▲
by
susam
1y ago
> The size of the circle on the contour integral is a matter of personal preference, but it just depends on the typeface and is orthogonal to the choice of LaTeX/MathML. Indeed! That was precisely the point of my previous comment. I
300.
▲
by
susam
1y ago
For someone used to the typesetting quality of LaTeX, MathML leaves much to be desired. For example, if you check the default demo at https://mk12.github.io/web-math-demo/ you'll notice that the contour integral s
More ›