Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
demindiro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
demindiro
4y ago
Currently there aren't many moderation features - only banning and removing threads & comments are implemented right now. Registrations can be disabled by the admin. I will definitely focus on having good moderation features as I a
32.
▲
by
demindiro
4y ago
I will keep working on it. There is a lot more interest than I anticipated.
33.
▲
by
demindiro
4y ago
> I hate forums which indent replies and don’t support collapsing sub-threads. [-] should collapse subthreads. Caveat is that the browser doesn't remember which subthreads were collapsed due to no-JS.
34.
▲
Show HN: Minimal, no-JS web forum software
(github.com)
392 points
by
demindiro
4y ago
|
155 comments
35.
▲
by
demindiro
4y ago
Location: Belgium, Europe (any timezone) Remote: Preferred Willing to relocate: Maybe, but only in Belgium Technologies: Mainly Rust, C++, x86_64 and Python Résumé/CV: https://static.salt-inc.org/resume/
36.
▲
by
demindiro
4y ago
I use PSHUFB to convert 24-bit RGB to 32-bit RGBX or BGRX. Without a shuffle instruction it'd be quite a bit harder.
37.
▲
by
demindiro
4y ago
I limit the width on my website because I find moving my eyes constantly from left to right annoying. For me it's harder to find the beginning of the next line if lines are very long. Besides, the other half of my monitor is usually ta
38.
▲
by
demindiro
4y ago
Stats for my desktop PC (ZFS with LZ4): david@pc1:~$ /sbin/zfs get compressratio rpool tank NAME PROPERTY VALUE SOURCE rpool compressratio 1.93x - tank compressratio 1.20x - rpool contains the root fil
39.
▲
by
demindiro
4y ago
There is also LibRedirect[1] which automatically redirects to an alternative frontend. [1] https://github.com/libredirect/LibRedirect
40.
▲
by
demindiro
4y ago
It is still visible on Nitter instances (e.g. https://nitter.priv.pw/Mohamad_IPS/status/157121403293739417... )
41.
▲
by
demindiro
4y ago
What was the western name? I assume the last name was also changed?
42.
▲
by
demindiro
4y ago
> Google offers an ad-free paid experience I wonder how long that will last.
43.
▲
by
demindiro
4y ago
To add to this: (one of) the correct solution(s) is R * 10 / 256 + 1 EDIT: I am wrong, this still has bias.
44.
▲
by
demindiro
4y ago
Staying under 1KiB is pretty hard when just plain text alone easily takes more than 1KiB. Checking my own site with `find . -name '*.md' -exec wc -c {} + | sort -h` I find that 30 Markdown files are under 1KiB and 40 are over 1kiB
45.
▲
by
demindiro
4y ago
Do you happen to know why the price of electricity is pegged to gas?
46.
▲
by
demindiro
4y ago
With 32-bit hashes you risk a collision. You should use at least a 128-bit GUID for each standard.
47.
▲
by
demindiro
4y ago
This is oddly effective at annoying me off YouTube.
48.
▲
by
demindiro
4y ago
I find 0-based indexing easier to work with when working with (dynamically sized) multi-dimensional arrays. For example, with 0-based indexing getting an element at (x, y, z) can be done with a[z * h * w + y * w + x] But with 1-based
49.
▲
by
demindiro
4y ago
I use this to generate my site: #!/usr/bin/env bash for file in `find . -name '*.md'`; do output=${file::-3}.html if [[ `date -r "$file" "+%s"` -le `date -r "..&#x
50.
▲
by
demindiro
4y ago
IMO the issue is not that Godot uses C++, it's that they refuse to use a standard more recent than C++03. Being able to use `auto` would make the code already a lot less verbose IMO.
51.
▲
by
demindiro
4y ago
> Imagine Windows 2000 never complaining about being out of memory. Just put a huge swap file on it.
52.
▲
by
demindiro
4y ago
This isn't a data structure technically but I find it clever: ZFS' space maps. It keeps track of which space is allocated by logging every allocation and deallocation. When initializing an allocator, which can be implemented in an
53.
▲
by
demindiro
4y ago
https://news.ycombinator.com/item?id=31795445
54.
▲
by
demindiro
4y ago
I decided to use Python instead of JS for this: import pyautogui as m from fastgrab import screenshot m.PAUSE = 0 while 1: x, y = m.position() r, g, b, _ = screenshot.Screenshot().capture((x, y, 1, 1))[0]
55.
▲
by
demindiro
4y ago
I don't think there is anything wrong with "printf" debugging. I actually use Rust's dbg!()[0] macro quite often since it is quick to add and it gives me a good idea of the program's flow of execution. Doing the equ
56.
▲
by
demindiro
5y ago
With LibRedirect[1] you automatically get redirected from twitter et al. to these instances. [1]: https://github.com/libredirect/LibRedirect
57.
▲
by
demindiro
5y ago
As far as I can tell the 403 error is caused by their DDoS protection thinking you are a bot. Refreshing the page at a later time and not opening too many tabs at once seems to help.
58.
▲
by
demindiro
5y ago
In Belgium it is very much unreachable unless you change your DNS server. It shows the big STOP page that is otherwise used for e.g. The Pirate Bay.
59.
▲
by
demindiro
5y ago
You can choose which extensions to support at compile time and whether this extension is optional. E.g. many binaries don't use AVX at all, while binaries compiled with -march=native may assume that AVX is supported (and emit SIGILL if
60.
▲
by
demindiro
5y ago
You don't need GA for a website either. Many websites probably don't even need any form of analytics at all.
More ›