Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xchkr1337
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
1.
▲
by
xchkr1337
3y ago
the actual rendering code is ran using a webworker in a separate thread
2.
▲
by
xchkr1337
3y ago
It's weird how python defaults to spaces rather than tabs, as tabs would make indentation errors less prevalent and a lot more obvious to people learning the language.
3.
▲
by
xchkr1337
3y ago
I don't think these tools are particularly suitable for reverse engineering websites, it's much easier to use devtools and userscripts
4.
▲
by
xchkr1337
3y ago
I hve a global shortcut to open a Julia REPL session and I use that to perform any sort of quick calculations instead of a GUI calculator. The best thing about this approach is that I can always create new functions for stuff I use often.
5.
▲
by
xchkr1337
3y ago
does it support tabs yet?
6.
▲
by
xchkr1337
3y ago
The problem with SQL is the same as the problem with C-style variable declarations. It sounds slightly better than the alternatives when you say the code out loud, but in reality it causes problems with readability and parsing/processi
7.
▲
by
xchkr1337
3y ago
default values for everything without significantly increasing language complexity
8.
▲
by
xchkr1337
3y ago
There are many worse mistakes in the design of C, and some of them even got inherited by other languages, like switch statements.
9.
▲
by
xchkr1337
3y ago
If you open any reasonable math textbook (except for maybe logic related ones), chances are, you won't see the ∀ symbol anywhere at all. It's often considered bad taste to write a symbol like this when you can just write "for
10.
▲
by
xchkr1337
3y ago
I don't think that's a good point to critizice Google for. Unlike many other websites, the Google homepage has always remained clear and fast, even after multiple redesigns.
11.
▲
by
xchkr1337
3y ago
Right now it's in beta (Chromium 113), stable support is planned for 26th of April
12.
▲
by
xchkr1337
3y ago
Literally all of these are owned by big corporations (Apple, Microsoft, Sony) and made specifically for their proprietary gpu APIs. C++ is just a superset of C which doesn't fix syntax problems. Making an open source standard with a mo
13.
▲
by
xchkr1337
3y ago
Most current shader languages are very close to C in terms of syntax and behavior and these are some of the worst aspects of C as a language. I guess they could have went with SPIR-V but generally a compilation step shouldn't be requir
14.
▲
by
xchkr1337
3y ago
Syntax-wise GLSL is a mess and having a new language to work with is like a breath of fresh air.
15.
▲
by
xchkr1337
3y ago
I wish Mozilla focused more on Linux support. I tried switching to Firefox multiple times, and in day-to-day use I always keep running into unfixable problems like bad font rendering, slow webgl performance, ui glitches etc. Problems like t
16.
▲
by
xchkr1337
3y ago
reassigning document.body.innerHTML like that seems like a really bad idea, this should be done using MutationObserver
17.
▲
by
xchkr1337
3y ago
Are tabs supported yet?
18.
▲
by
xchkr1337
3y ago
Just picking digits from the diagonal might not work, you have to make sure the digits of the new number aren't equal to the ones on the diagonal, one way is to add 1 mod 10, in the case you showed it would result with 0.209...
19.
▲
by
xchkr1337
3y ago
I've used lots of obscure cli tools and the ones written in python are always so slow to the point where it's just annoying. Maybe python is meant to glue things together but many people just ignore that and write everything in py
20.
▲
by
xchkr1337
4y ago
My experience with this is literally the opposite, I almost never clicked the buttons on the left side (except for the language switcher but that isn't in the hamburger menu now) but I always found long tables of contents very annoying
21.
▲
by
xchkr1337
4y ago
Not exactly what you're asking for, but in Julia you can write and use unicode symbols like this under the backslash key (supported both in the REPL and VS Code plugin), which lets you use more operators and makes the code look fancier
22.
▲
by
xchkr1337
4y ago
Compiling JS to bytecode is not that uncommon, there's a few anti-bot services that rely on it for obfuscation (like recaptcha or f5 shapesecurity) but so far I haven't seen any open source projects for obfuscating this way
23.
▲
by
xchkr1337
4y ago
Why is there an exercise called "complex division" even though it has nothing to do with complex division?
24.
▲
by
xchkr1337
4y ago
In my opinion the presence of undefined behavior in the C/C++ specification makes it no better than the "specification by implementation" approach
25.
▲
by
xchkr1337
4y ago
Why don't they just add an interpreter and only compile when needed, like V8 does?
26.
▲
by
xchkr1337
4y ago
I don't see any reason to use this over Deno.
27.
▲
by
xchkr1337
4y ago
Why not Rust? C++ is obsolete