xchkr1337
Re:Desmos 3D graphing calculator (beta)
on Thursday October 12, 2023 @03:51PM (#37862298)
the actual rendering code is ran using a webworker in a separate thread
Re:Learn AutoHotKey by stealing my scripts
on Tuesday August 22, 2023 @02:14AM (#37219270)
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.
Re:They Bypass YouTube Video Download Throttling
on Monday August 14, 2023 @02:00PM (#37124302)
I don't think these tools are particularly suitable for reverse engineering websites, it's much easier to use devtools and userscripts
Re:Qalculate – The Ultimate Desktop Calculator
on Wednesday August 09, 2023 @09:08AM (#37062098)
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.
Re:0.11.0 Release Notes
on Friday August 04, 2023 @04:49AM (#36997247)
does it support tabs yet?
Re:PRQL, Pipelined Relational Query Language
on Wednesday July 26, 2023 @03:01AM (#36874007)
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/processing the code
Re:Ten Years of “Go: The Good, the Bad, and the Meh
on Tuesday July 18, 2023 @12:33PM (#36775238)
default values for everything without significantly increasing language complexity
Re:C’s Biggest Mistake
on Monday July 03, 2023 @04:13AM (#36570190)
There are many worse mistakes in the design of C, and some of them even got inherited by other languages, like switch statements.
Re:Writing Prettier Haskell with Unicode Syntax and Vim
on Thursday June 22, 2023 @05:59PM (#36439673)
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 all". The main obstacle in learning math comes from not understanding the background material enough and basically never from not understanding the notation.
Re:Google Mars
on Saturday April 22, 2023 @08:29AM (#35665935)
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.
Re:WebGPU Fundamentals
on Saturday April 15, 2023 @07:28AM (#35579626)
Right now it's in beta (Chromium 113), stable support is planned for 26th of April
Re:Chrome Ships WebGPU
on Friday April 07, 2023 @07:16AM (#35480425)
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 modern syntax is a better idea than picking a favorite corporation.
Re:Chrome Ships WebGPU
on Thursday April 06, 2023 @06:06AM (#35466378)
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 required in web standards.
Re:Chrome Ships WebGPU
on Thursday April 06, 2023 @06:00AM (#35466353)
Syntax-wise GLSL is a mess and having a new language to work with is like a breath of fresh air.
Re:Pausing Manifest V2 phase-out changes
on Saturday April 01, 2023 @05:29PM (#35404271)
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 this never happen when I'm using Firefox on Windows, and honestly the state of Firefox on Linux is kind of surprising since it's the most commonly recommended and preinstalled browser on Linux distros.
Right now I'm using Chromium but I'm eager to switch if there's anything better which could provide me with a fast and stable browsing experience.
Re:Show HN: Open AI is not Open – A browser extension
on Monday March 27, 2023 @01:07PM (#35329249)
reassigning document.body.innerHTML like that seems like a really bad idea, this should be done using MutationObserver
Re:Zig Quirks
on Monday March 27, 2023 @04:48AM (#35324375)
Are tabs supported yet?
Re:A Bad Trip to Infinity
on Saturday March 25, 2023 @03:42PM (#35306388)
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...
Re:Show HN: The Shark Programming Language Realease 1.0.0
on Friday March 24, 2023 @05:26PM (#35295796)
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 python anyway.
Re:Accessible hamburger buttons without JavaScript
on Friday January 27, 2023 @10:07AM (#34546843)
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 on bigger articles, I find the new design generally more comfortable to read with. The only complaint I have is that it doesn't remember the state of the fullscreen button.
Re:AsciiMath: An easy-to-write markup language for mathematics
on Tuesday January 24, 2023 @02:29AM (#34500551)
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
Re:Reverse Engineering TikTok's VM Obfuscation (Part 1)
on Saturday December 24, 2022 @06:01AM (#34115782)
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
Re:A Math Problem Generator
on Monday December 19, 2022 @01:56AM (#34049307)
Why is there an exercise called "complex division" even though it has nothing to do with complex division?
Re:Rewriting TypeScript in Rust? You'D have to be
on Wednesday December 14, 2022 @02:06PM (#33988419)
In my opinion the presence of undefined behavior in the C/C++ specification makes it no better than the "specification by implementation" approach
Re:What's Great about Julia?
on Thursday December 08, 2022 @02:21AM (#33905182)
Why don't they just add an interpreter and only compile when needed, like V8 does?
I don't see any reason to use this over Deno.
Re:Show HN: Port of OpenAI's Whisper model in C/C++
on Wednesday December 07, 2022 @04:51AM (#33892510)
Why not Rust? C++ is obsolete