Better HN
topnewbestaskshowjobs
Log inSign up

notorandit

365 karma · joined Oct 27, 2020 (6y ago) · 652 submissions

I have coded things you people wouldn't believe...
Submissions

comment 1d ago · link · parent

Assembly programmer here.

Depending upon the architecture, not all values can be memory addresses (aka pointers) due to alignment constraints. Then other way around is possible as long as memory addresses have at least l the same number of bits as integers.

Finally, as long as you don't dereference an integer used (casted) as a pointer, there is no difference. Like equality comparison.

comment 1d ago · link · parent

I was on it back around 1992. Nice!

comment 3d ago · link · parent

0f course it is 1. 0.(9) is just a different writing.

1 - 0.(9) = 0

comment 4d ago · link · parent

I would like to know about Mr. Torvalds' ideas about this architecture.

He's been quite critical because hw architects don't talk a lot to software developers.

comment 1w ago · link · parent

This is simply fantastic.

If only it had Forth...

comment 1w ago · link · parent

It does not mean anything to me.

What counts is not the mental model programmers build in their minds. It's the machine code that executes inside CPUs.

comment 1w ago · link · parent

Yes, smaller and verifiable kernels would help a lot against buggy and malicious code. Let alone stability and robustness.

Then, I for one, would not change C for anything else. The problem is not the language (which is just a tool), the problem is the coding (and the coders).

comment 1w ago · link · parent

Unix and Linux are 20+ years apart with all the changes that happened to hardware, software and even to C: they could hardly have the same general architecture.

Of course, I am talking about the kernel, not the entire OS.

Linux stood up on the shoulders of a giant like Minix, Unix was basically designed and coded from scratch.

comment 1w ago · link · parent

Not even that, IMHO.

The fact that we now have multi gigabyte RAM devices, does not mean that the kernel can go multi megabyte.

I'm also think that CPU designers should talk more to kernel developers: Linus is right on this topic.

comment 1w ago · link · parent

The problem is the ocr, then.

comment 1w ago · link · parent

I am looking forward to fully trust these objects that can spy on my house with myself and my family in.

I am 110% sure there is no flaw, no backdoor and no CVE in the entire technology chain that will bring this marvel to my place!

Thanks!

comment 1w ago · link · parent

I wish they could work without the internet.

But manufacturers want our data harvested through those devices *and* your mobile phone app.

And they want a way to force you to pay for the service.

So we basically pay to let them spoil us.

comment 1w ago · link · parent

https://isac.uchicago.edu/publications/search?sort_by=year_d...

It's easier.

comment 2w ago · link · parent

Money is like RAM and manure.

It should not accumulate in a few places but be spread all over.

comment 2w ago · link · parent

> you deserve better from me

This sentence is laughable without resignation.

Jensen does not need to resign.

He needs to stop using AI for these letters. Big power requires big responsibility (cit. S.M.)

comment 2w ago · link · parent

That bug was a programmers' bug.

No language would have prevented it to happen.

And even if it was a memory safety bug, that would have been a programmers' bug.

C has no issues with memory as it let's programmers do what they want.

comment 2w ago · link · parent

From the repo:

This is a lightweight 64-bit RISC-V software emulator and bare-metal port designed to run xv6-riscv within the limited SRAM capacity of the RP2350 (Raspberry Pi Pico 2).

It emulates virtual memory based on the Sv39 MMU, a 16550 UART, CLINT, PLIC, and a VirtIO block device (for disk I/O) with a sector cache. This enables the full execution of user-mode processes, including a shell (sh) and various user utilities (such as ls and echo). ---

comment 2w ago · link · parent

Pi Pico 2W is ARM+risc-v. Hazard3 is rv32 without s-mode.

comment 2w ago · link · parent

The mindboggling part is when you compare hardware constraints against software.

comment 2w ago · link · parent

Whois on domain and IP.

comment 2w ago · link · parent

Kwi uses 1 order of magnitude more RAM than Konsole. I will keep Konsole. We need to do more with less, not the other way around.

comment 3w ago · link · parent

Normal Ubuntu approach. Not news. I have personally got a bunch on 10+ year old bug tickets on Launchpad and only lately got a feedback like: "is this still relevant"?

Of course, if one hides a bug long enough it will eventually disappear or become irrelevant.

Yes, indeed, WTF Ubuntu?

comment 3w ago · link · parent

> Is this useful?

No, it is not, IMHO. When you create an "alias" you are adding "yet-another-confusion-opportunity" and "yet-another-failure-opportunity".

For no actual reason.

I for one would aim at lowering the complexity, not at making stuff more fancy.

comment 3w ago · link · parent

For kwi to win I would expect both more features and fewer computing resources (cpu, ram, gpu if any).

Imho, more features alone is not enough as it brings more complexity and lower maintainability.

comment 4w ago · link · parent

Any activity that makes your brain working actively helps fighting that decline: crosswords, sudoku, you name it.

As opposed to watching tv series or just doing nothing.

comment 1mo ago · link · parent

While not "portable" in the common modern sense, we also had:

Apple IIc (https://en.wikipedia.org/wiki/Apple_IIc)

and it's younger and final brother Apple IIc Plus (https://en.wikipedia.org/wiki/Apple_IIc_Plus)

comment 1mo ago · link · parent

> With the ligatures to adopt to pronunciation of words.

Maybe it is:

With the ligatures to adApt to pronunciation of words.

comment 1mo ago · link · parent

Also math

https://www.rockini.name/math/

comment 1mo ago · link · parent

Truly amazing stuff!
12345
22