Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
senfiaj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
181.
▲
by
senfiaj
9mo ago
I guess some O(n^2) algorithm.
182.
▲
by
senfiaj
9mo ago
I wish there were more of this: https://stfu.nyc3.cdn.digitaloceanspaces.com/sf-graffiti/696...
183.
▲
by
senfiaj
9mo ago
> "In low-level systems software, which is a primary use case for C++, exceptions can introduce nasty edge cases that are difficult to detect and reason about. The benefits are too small to justify the costs to reliability, robustne
184.
▲
by
senfiaj
9mo ago
Starting from v145 Chrome supports JXL. There is also an extension for this: https://chromewebstore.google.com/detail/jpeg-xl-viewer/bkhd...
185.
▲
by
senfiaj
9mo ago
My point is that defining a complex behavior for a custom tag is not possible without js. For example, you can't define a reusable 'host-element' tag and expect some additional elements (or some behavior) to automatically app
186.
▲
by
senfiaj
9mo ago
I'm not a fan of these custom elements. Unless you do something really interactive, dynamic and reusable (an element with complex behavior), I don't think it's worth to use them. The SEO / accessibility becomes more chal
187.
▲
by
senfiaj
9mo ago
jQuery was very useful when many features were missing or not consistent/standardized between browsers. Nowadays, JS / DOM API is very rich, mature and standardized. So, jQuery is not as necessary as it was before. https:/&#
188.
▲
by
senfiaj
9mo ago
It's nice, but it's very laggy on my machine.
189.
▲
by
senfiaj
9mo ago
Chrome will ship in 144. It's about to release.
190.
▲
by
senfiaj
9mo ago
I mean even many mistakes.
191.
▲
by
senfiaj
9mo ago
Maybe you are not required to close, browsers are ridiculously tolerant to html mistakes. But do you think it would be easy to maintain that HTML file and not accidentally include something in that unclosed tag? I often format with indenta
192.
▲
The Future of Stack Overflow
(waspdev.com)
1 points
by
senfiaj
9mo ago
|
0 comments
193.
▲
WhatsApp Ate My RAM: 20MB →3GB (WTF Meta?) [video]
(youtube.com)
2 points
by
senfiaj
9mo ago
|
0 comments
194.
▲
by
senfiaj
9mo ago
If it's possible to do with vanilla JS in any environment then it's not cheating.
195.
▲
by
senfiaj
10mo ago
C is fast and maybe has predictable performance, but, for example, strcmp(), strlen(), strncmp() are not as fast (and also secure) as C++ std::string analogs, unless you don't help a bit by storing the string lengths.
196.
▲
by
senfiaj
10mo ago
Some AI videos are harder and harder to distinguish from real ones. This terrifies me, since it's not that obvious AI fake that some average grandmother would fall for. In short videos, it is more difficult to distinguish AI fakes from
197.
▲
by
senfiaj
10mo ago
Weird. If V8 produces different optimized codes for different loops, this might be true on some CPUs. But when I get 100% convergence when increasing the repeats, this becomes a bit suspicious. Also, it might be some timing difference relat
198.
▲
by
senfiaj
10mo ago
> Bun users don’t care either. Most Bun users don't even know about this (unless they are bitten by this). That doesn't mean absolutely no one cares or would not care even though such complaints might be uncommon.
199.
▲
by
senfiaj
10mo ago
I don't know fast it would be if it was done iteratively. But Apple's implementation has negative implications for debuggability: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
200.
▲
by
senfiaj
10mo ago
Yes, It's called ShadowChicken, and it has negative implications for debuggability. To make debugging tolerable, JavaScriptCore added an (intentionally silly) mechanism called ShadowChicken: a shadow stack used by Web Inspector that ca
201.
▲
by
senfiaj
10mo ago
Maybe because with tail call optimization you wouldn't have a proper stack trace?
202.
▲
by
senfiaj
10mo ago
Yes, it's proxy. If there are no serious privacy concerns, I think it's fine to use it (if there is no other option).
203.
▲
by
senfiaj
10mo ago
You can try https://corsproxy.io/ as a workaround.
204.
▲
by
senfiaj
10mo ago
The author here, I ran another test here https://jsben.ch/QCXCY . https://jsbenchmark.com/ seems to have issues with longer running code. 1500 repeats, for me for-of is now on par with classic for. As I sa
205.
▲
by
senfiaj
10mo ago
Again, it seems we are arguing because of our subjective differences in the title correctness and rigor. Personally, I would not expect such title even from a pop-math type article. At least it should be more obvious from the title. "T
206.
▲
by
senfiaj
10mo ago
So "Fifteen Most Famous Transcendental Numbers" isn't the same as "Fifteen Most Famous Numbers that are known to be transcendental"? I might be OK with title "Fifteen Most Famous Numbers that are believed to b
207.
▲
by
senfiaj
10mo ago
Yes it's "likely" to be transcendental, maybe there are some evidences that support this, but this is not a proof (keep in mind that it isn't even proven to be irrational yet). Similarly, most mathematicians/compute
208.
▲
by
senfiaj
10mo ago
> Euler's constant, gamma = 0.577215 ... = lim n -> infinity > (1 + 1/2 + 1/3 + 1/4 + ... + 1/n - ln(n)) (Not proven to be transcendental, but generally believed to be by mathematicians.) So why bring some
209.
▲
by
senfiaj
10mo ago
> Kind of funny to realize, the NT kernel ABI isn’t even all that stable itself This is not a big problem if it's hard/unlikely enough to write a code that accidentally relies on raw syscalls. At least MS's dev tooling doe
210.
▲
by
senfiaj
10mo ago
Maybe it's better now in some distros. Not sure about other distros, but I don't like Ubuntu's Snap package. Snap packages typically start slower, use more RAM, require sudo privileges to install, and run in an isolated envir
More ›