Hacker Newsnew | past | comments | ask | show | jobs | submit | stefanos82's commentslogin

Cosmopolitan C library would like to have a word with you then https://github.com/jart/cosmopolitan


The only logical explanation I can think of based on my personal experience is that shared hosting services offer Apache web server by default so they can host WordPress websites which by the way, based on w3techs.com, 43.1% of all websites are WordPress.

You may ask why Apache then? Well, because when a user modify some settings via dashboard, they change in .htaccess which does not expect a web server restart or super user permissions like you need with NGINX, for example.

Now you know why WordPress websites are getting hacked easier than other CMS-es...because they can apply changes in .htaccess on the fly, whereas with other web servers, you need root permissions, thus the extra layer of security.


Does TypeScript emit machine code? OCaml gives you this option, if you need it.


Well, TS transpiles to JS which then runs on Node, aka V8, a native JIT compiler. So yes, I guess?


Kind of, given that V8 performance is never going to be as good as AOT compiled language, and JIT needs warmup time.

It is no accident that famous JavaScript tools keep being rewritten into C++, Dart, Go and Rust.


But they say "we use ocaml [because it has types]" not "[because it can emit machine code]"


I would go for Rust if I wanted machine code


If you go to the main page and scroll down a bit, you will see the big names having their logos hosted there...


I have tried to follow Hugo's development but lost track with its constant evolution and addition of features I do not need...therefore for now I follow a simpler path: I keep my data in markdown files and I plan to switch to asciidoctor for good; it's quite old, it's battle-tested, and offers me many options to produce various forms of output; be it HTML, PDF, ePub, etc...

If O'Reilly trusts it to produce its ebooks, then I'm sure it worthy of my time and effort!


There is an April Fools' joke [1] that demonstrate this and I cannot tell it's readable or not...I personally find it confusing in Python, but not in C's case which can make things clearer, if you use it wisely and in moderation!

[1] https://entrian.com/goto/


Thank you


When hctree [1] becomes stable in SQLite, it will be the only database I will be using lol!

I presume the `hc` part in project's code name should be High Concurrency.

[1] https://sqlite.org/hctree/doc/hctree/doc/hctree/index.html


Thing is if you design your app to have a single writer you can probably get higher throughput than multiple writers in concurrency mode.


The first thing I thought when I read this weird article was "wait...do they use their database synchronously in an asynchronous environment or am I missing something here?".

Most of us have been bitten by this naive mistake and I'm sure we have learned our lesson.


Interesting project! The real question is, how fast does it compile, let's say 10K articles, assuming we have a large website?


As a GNU / Linux Debian user, I personally use many different PDF readers for eccentric reasons lol!

My preference by far is qpdfview, but I also use Okular (KDE), Evince, its fork for MATE desktop environment, Atril, and of course xpdf!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: