Recent submissions

Comment · 5 months ago
Complex numbers, for example. Also, C preprocessor expands macros differently on MSVC.
Comment · 8 months ago
I hope it would work with wine. Then cross compiling Win64 binaries from Linux would become convenient without requiring spinning up a Windows VM.
Comment · 11 months ago
Rust compiler can be easily bootstrapped.
Comment · 11 months ago
It is not 4 times, it is 16 times. Your 1TB storages would become 64GB.
Comment · 1 year ago
The antivirus program forced to be installed by my company does not allow .odin file to exist, as there is a ransomware which encrypts files into *.odin.

Of course, git cloning the ALE plugin (linter + languageserver) for VIM also fails as ALE has an .odin file in its repo.

Comment · 1 year ago
To be fair, MSVC has the most C99 stuffs. What is mainly missing for porting (my) programs is the native complex number. But we have Intel compiler for free on Windows, which is fully compatible with the C/C++ standard and produces faster binaries.

The C++ frontend of MSVC handles (the common) compiler-specific language extensions differently than the other compilers. Besides, its pre-processor behaves differently too. It is now good that there is a clang frontend for MSVC.

Comment · 1 year ago
It is a pitty that

- GCC switched from C to C++

- CUDA switched from C to C++

But I can understand the decision, and at that time , C++ frontend features and libs were a little bit less horrible.

Comment · 1 year ago
Agree that decisions/designs are important.

However, not everything can be well designed at the beginning. Skills of editing will affect efficiency, especially in a try-and-error loop of new ideas/approaches, where only a rough design exists.

Besides, some niche editing tasks (which may involve column editing, macro recording then batched execution, regex based operation, encoding transformation etc.) may otherwise require writing awk/sed or even perl/python scripts as subprojects to achieve, if one does not known the editor well.

Comment · 1 year ago
Unfortunately, the rendering of fakebold (especially if the factor is not 2) depends on PDF readers and printers. Some PDF programs handle it well, some fix the factor at 2, some do not implement it at all.
Comment · 1 year ago
Well, these are not the hardcore math, they are just puzzles and games.
Comment · 1 year ago
I would bet/hope that I can live longer than most IT companies.
Comment · 1 year ago
Comment · 1 year ago
The requirements and constraints depend on the product. For example, the geometry of your product to accommodate the antenna is not always the same; the (internal and external) environment of the case is also different; there may be requirement of combining various frequency bands into one antenna; etc.
Comment · 1 year ago
I totally agree. Just using a POSIX shell to concatenate header/footer and include the required CSS file, a simple static blog generator can be easily made. (That is what I did with mine.)

No Markdown, no Perl/Python/Ruby, also no binary program, just a few simple shell scripts and plain HTML files.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton