HackerTrans
TopNewTrendsCommentsPastAskShowJobs

smlckz

no profile record

Submissions

The Quite OK Audio Format for Fast, Lossy Compression

qoaformat.org
140 points·by smlckz·3 năm trước·63 comments

Ask HN: What are some software projects towards which you’re very grateful

1 points·by smlckz·3 năm trước·2 comments

Coffee with Brian Kernighan – Computerphile [video]

youtube.com
7 points·by smlckz·4 năm trước·0 comments

Counterfactual Quantum Computation is Weird [video]

youtube.com
3 points·by smlckz·4 năm trước·0 comments

Status Update, May 2022

drewdevault.com
2 points·by smlckz·4 năm trước·0 comments

Explaining Web 2.0 (2008)

youtube.com
1 points·by smlckz·4 năm trước·0 comments

We need to talk about clickbait [video]

youtube.com
3 points·by smlckz·5 năm trước·1 comments

Tips for debugging your new programming language

drewdevault.com
3 points·by smlckz·5 năm trước·0 comments

Ask HN: Memorable Snippets of Code

2 points·by smlckz·5 năm trước·0 comments

Ask HN: Which “old” programming language(s) you still use in your $DAYJOB?

16 points·by smlckz·5 năm trước·25 comments

A case of long term health consequences of exposure to burn pits in Iraq [video]

youtube.com
1 points·by smlckz·5 năm trước·0 comments

Using io_uring to make a high-performance finger server

drewdevault.com
91 points·by smlckz·5 năm trước·16 comments

Ask HN: What a programmer should *not* know?

1 points·by smlckz·5 năm trước·2 comments

Sourcehut Pages

srht.site
1 points·by smlckz·5 năm trước·0 comments

Ask HN: Why should we learn Lisp?

16 points·by smlckz·5 năm trước·13 comments

Ask HN: What is your silliest and costliest (time or money) programming mistake?

4 points·by smlckz·5 năm trước·7 comments

comments

smlckz
·3 năm trước·discuss
I find it interesting that we can think about [simple and complex] mathematical structures. How did we get the ability to do so and why we can do so?

I distinguish between mathematical structures and "reality". From my perspective, mathematical structures are being used provide succinct description of the perceptible portion of "reality", the Universe as we say. Need all mathematical structures exist?

What can we say about [biological, AI, or even theoretical] systems that can deal with abstract mathematical structures: to be able to construct, modify, specialise or generalise such structures in a extra-computable manner?
smlckz
·3 năm trước·discuss
This refers to the pic(1) preprocessor to the troff(1) typesetter. Troff is a historical typesetting software with a long history in the Unix ecosystem. Having personally used some of the modern implementations (e.g. GNU troff or groff, heirloom troff) of troff for personal projects, it has been a pleasant experience.

https://troff.org

https://en.wikipedia.org/wiki/Troff

https://en.wikipedia.org/wiki/PIC_(markup_language)

https://www.man7.org/linux/man-pages/man7/roff.7.html
smlckz
·3 năm trước·discuss
Then you arrive at questions such as "Why do we exist?", even "Why anything exists at all, what was the need for all of this?"

> Why do we feel that we exist? Who does the feeling part?

There’s the non-helpful answer “I think, therefore I am.” I don’t think there’s any good answer to these questions. We can think about ourselves, we can think about existence, so we feel we exist? Let us imagine a person can not receive any external stimuli, can not send any instruction to control the movement of body, [e.g. a brain with blood circulation to keep it alive, but no input/output], in awakened state, now what should they feel? [Such a horrible state!] It seems they should feel their existence only on the basis of the functioning of their brain.
smlckz
·4 năm trước·discuss
Extra hilarious as I can actually hear the sound of crickets.
smlckz
·4 năm trước·discuss
What else can be done about it instead of building things, writing down or talking?
smlckz
·5 năm trước·discuss
Fabrice Bellard is a CTO? Are you talking about this guy?: https://bellard.org
smlckz
·5 năm trước·discuss
> In C, a read from an uninitialized variable is an unspecified value and is allowed to be any value each time it is read. This is important, because it allows behavior such as lazy recycling of pages: for example, on FreeBSD the malloc implementation informs the operating system that pages are currently unused, and the operating system uses the first write to a page as the hint that this is no longer true. A read to newly malloced memory may initially read the old value; then the operating system may reuse theunderlying physical page; and then on the next write to a different location in the page replace it with a newly zeroed page. The second read from the same location will then give a zero value.

What? What is the benifit of such behaviour?

What does other OSes do in this regard?
smlckz
·5 năm trước·discuss
For those people who are thinking about some HTML subset, you can have a look at WebLite: https://weblite.codeberg.page
smlckz
·5 năm trước·discuss
Try Racket and DrRacket.
smlckz
·5 năm trước·discuss
Aren't we, now?
smlckz
·5 năm trước·discuss
Truly, someone should try out NetBSD here...
smlckz
·5 năm trước·discuss
Naming things are hard :)
smlckz
·5 năm trước·discuss
> Also, Javascript doesn't have a logical xor operator, so trying to do that would potentially reduce readability.

I also didn't know about any operator to logically xor two boolean variables (thought about (ab)using JavaScript's implicit type conversion mechanisms: `x ^ y`), and then I learnt that `!=` works fine as a logical xor for booleans. Tada!

I don't know how much readability is reduced by this.
smlckz
·5 năm trước·discuss
> Dutch directness.

This reminds of Edsger W. Dijkstra.

> "I don't know how many of you have ever met Dijkstra, but you probably know that arrogance in computer science is measured in nano-Dijkstras." -- Alan Kay
smlckz
·5 năm trước·discuss
https://skarnet.com/projects/service-manager.html
smlckz
·5 năm trước·discuss
- ''Artificial'': not naturally occuring, also not a "clone"/"fork" of something natural.

- ''Physical'': not software simulation, virtual; "exist" in the same world we live in.

If my original terminology is insufficient or ambiguous, please suggest better terms.
smlckz
·5 năm trước·discuss
Have we humans been able to make artificial physical self-replicating machines? Is it feasible to make such machines?
smlckz
·5 năm trước·discuss
I am unable to forgive the author for the following:

    #include <cmath>
    #include <stdio.h>
The code looks almost like pure C, but that little `c`...
smlckz
·5 năm trước·discuss
heh, the branching is now in the implementation of the lookup table
smlckz
·5 năm trước·discuss
If your compiler is optimizing for speed, you can you write the program in a way so that the compiler can unroll the loop and hopefully make it branchless as well