Readit News logoReadit News
faresahmed commented on How to grow almost anything   howtogrowalmostanything.n... · Posted by u/car
faresahmed · 24 days ago
Off topic, but Notion is a perfect example of how badly you can abuse web standards. This webpage, which is a document with some markup and links (the very thing the web was made for) takes ~600MB RAM, about 10 seconds load, and lags terribly. Just unusable.
faresahmed commented on Self-hosted x86 back end is now default in debug mode   ziglang.org/devlog/2025/#... · Posted by u/brson
pjmlp · 3 months ago
We used to have such fast compile times with Turbo Pascal, and other dialects, Modula-2, Oberon dialects, across 16 bit and early 32 bit home computers.

Then everything went south, with the languages that took over mainstream computing.

faresahmed · 3 months ago
Not to disagree with you, but even C++ is going through great efforts to improve compile-times through C++20 modules and C++23 standard library modules (import std;). Although no compiler fully supports both, you can get an idea of how they can improve compile-times with clang and libc++

    $ # No modules
    $ clang++ -std=c++23 -stdlib=libc++ a.cpp # 4.8s
    $ # With modules
    $ clang++ -std=c++23 -stdlib=libc++ --precompile -o std.pcm /path/to/libc++/v1/std.cppm # 4.6s but this is done once
    $ clang++ -std=c++23 -stdlib=libc++ -fmodule-file=std=std.pcm b.cpp # 1.5s 
a.cpp and b.cpp are equivalent but b.cpp does `import std;` and a.cpp imports every standard C++ header file (same thing as import std, you can find them in libc++' std.cppm).

Notice that this is an extreme example since we're importing the whole standard library and is actually discouraged [^1]. Instead you can get through the day with just these flags: `-stdlib=libc++ -fimplicit-modules -fimplicit-module-maps` and of course -std=c++20 or later, no extra files/commands required! but you are only restricted to doing import <vector>; and such, no import std.

[^1]: non-standard headers like `bits/stdc++.h` which does the same thing (#including the whole standard library) is what is actually discouraged because a. non-standard and b. compile-times, but I can see `import std` solving these two and being encouraged once it's widely available!

faresahmed commented on CSS Minecraft   benjaminaster.com/css-min... · Posted by u/mudkipdev
avestura · 3 months ago
Another hug of death. The website says "It must be upgraded via the Firebase console before it can begin serving traffic again."

Wayback machine for when it used to work: https://web.archive.org/web/20250317122419/https://benjamina...

faresahmed · 3 months ago
Makes you wonder, how many webpages are dependant on such services. The Web has always been brittle, but it's a little sad seeing a website not able to survive ~50k users on its first day online.

Even the least offenders, GitHub Pages, broke links before [0].

[0]: https://github.blog/news-insights/product-news/new-github-pa...

faresahmed commented on Why I no longer have an old-school cert on my HTTPS site   rachelbythebay.com/w/2025... · Posted by u/mcbain
jazzyjackson · 3 months ago
yes, python falls into the sane language category with arbitrary-precision arithmetic
faresahmed · 3 months ago
Not so much,

    >>> s="1"+"0"*4300
    >>> json.loads(s)
    ...
    ValueError: Exceeds the limit (4300 digits) for integer string conversion: 
    value has 4301 digits; use sys.set_int_max_str_digits() to increase the limit
This was done to prevent DoS attacks 3 years ago and have been backported to at least CPython 3.9 as it was considered a CVE.

Relevant discussion: https://news.ycombinator.com/item?id=32753235

Your sibling comment suggests using decimal.Decimal which handles parsing >4300 digit numbers (by default).

faresahmed commented on Mystical   suberic.net/~dmm/projects... · Posted by u/mmphosis
leke · 3 months ago
The sigil feel of this feels like the premise of a movie
faresahmed · 3 months ago
It has been kind of made into a movie! The Heptapods [0] in Arrival (2016) written script is a circular shape with each subsection of the shape conveying a different meaning ultimately representing a concept or thought. A quote from the movie:

> Like their ship or their bodies, their written language has no forward or backward direction. Linguists call this "nonlinear orthography", which raises the question: Is this how they think?

While the movie explores philosophical questions other than "Arrival" and does a quiet beautiful job at that, actual linguistic experts have helped making it and it has been praised for its accuracy. I suggest you give it a go.

[0]: https://aliens.fandom.com/wiki/Heptapod

faresahmed commented on When Compiler Engineers Act as Judges, What Can Possibly Go Wrong?   seylaw.blogspot.com/2025/... · Posted by u/meinersbur
ajb · 4 months ago
Probably just copypasting them out of google search, it's an easy mistake to make if you're not that technical.
faresahmed · 4 months ago
I'm not quiet sure why a non-technical person would be engaging in a technical matter such as compiling LLVM, they say they are involved with some Arch Linux derivative but again the question persists.
faresahmed commented on Show HN: Test your typing speed and accuracy with movie scripts   atypescriptgame.com/... · Posted by u/andout_
robofanatic · 4 months ago
Was intrigued by reading the title but was disappointed immediately after seeing that this has nothing to do with TypeScript.
faresahmed · 4 months ago
Same here, the title even says "TypeScript" not "Typescript" but whatever.

I think what's somehow interesting about this is in the footer of the page:

    Autonomously crafted in 15m 4s by Leap.new
Could be some form of advertisement (with a click-baity title too? wouldn't be surprised if that also was AI-generated).

faresahmed commented on When will we fix the tools that run the world?   cgustavo.com/blog/tools... · Posted by u/cgustavo
batata_frita · 8 months ago
Did OP forget the world is economic driven?

The hospital software is not updated in a frequent base because it doesn't generate more money. That's why the hospitals, bakeries, hotels and many other business doesn't have UI/UX top tier profissionais as YouTube, iOS, NetFlix, Facebook, TikTok and many many other websites, systems, companies, etc have.

Simply put, because it would not make money! We leave in an world of attention economy where as much time people spend on screen as much companies make money.

It's no secret at all.

faresahmed · 8 months ago
I disagree, many businesses that put their software in maintenance mode (fix/upgrade on breakage) will be losing money in the long run.

Consider a hospital, many statistics can be collected o provide insights and make immediate decisions, faster algorithms and new ones to problems we couldn't solve back then have been discovered, the UI/UX can always be improved for productivity, etc. All of that makes money.

Software customers aren't, and shouldn't be, one-time shoppers; there's always room for improvement and new needs pop up all the time.

u/faresahmed

KarmaCake day151September 7, 2023
About
- github.com/faresbakhit - linkedin.com/in/faresahmed
View Original