Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions

Submissions

comment 3y ago · link · parent

Thanks, but that takes me to old firmware. I was however able to download the new firmware from https://semiconductor.samsung.com/consumer-storage/support/t... and use the same procedure and it worked:

    ├─SSD 980 PRO 2TB:
    │     Device ID:          03281da317dccd2b18de2bd1cc70a782df40ed7e
    │     Summary:            NVM Express solid state drive
    │     Current version:    5B2QGXA7

My home is on non-redundant stripe of two 980 Pro which both had the bad firmware, so I was obviously motivated, but not panicked as it's replicated hourly to spinning rust (and I have offsite backups). I treat Flash memory as dynamic ram with only slightly better retention.

comment 3y ago · link · parent

No, I got that point and it's vanishingly small. It _only_ affects miss rate (ie. does nothing if you are hitting in the cache) and the effect on miss rate is minuscule.

comment 3y ago · link · parent

Nice article, but nothing really surprising when you follow the progression starting from 8080.

One correction though:

> EAX is called the “Accumulator register” is not just a convention, it actually makes a difference to the encoding (and potentially the performance, as a result)

No. As the decoder doesn't decode byte-by-bytes, but whole strings together and registers are all renamed meaning that %eax isn't really different from %ebx etc. the only difference is that it saves one byte of code space which is an extremely minor density improvement and you'd have to make a very contrived example to be able to measure the difference.

comment 3y ago · link · parent

I'm stunned that the OP doesn't come to the obvious conclusion from his own data: migrate to Rust. What better way to attract new talent? And from personal experience, it's guaranteed to result in a more stable, less buggy, and more responsive system.

comment 3y ago · link · parent

FWIW, my reMarkable 2 _does_ feel like writing on paper (IMhO it's superior to paper in most ways except perhaps very very fine details). It is however a more narrow-usage device which is both good (distraction free) and bad (distraction free :)

comment 3y ago · link · parent

My annecdata (I unfortunately have more Apple devices than I care to count):

- I keep my iPhones for 3+ generations (that number is increasing)

- Love my Apple Watch (+ AirPods + rescue dog => 1 hour daily walks)

- iPad does nothing for me -> gave to kids

- Macbook Air M1 is awesome, but will upgrade if rumored 15" M2 version arrives

- iMac 5K is wonderful; nothing tempts me away from that yet

comment 3y ago · link · parent

I've been a fan of structured editors since the early 1990es, but they do take a serious learning commitment before they pay off. This looks very promising and I like the care that went into it and the presentation.

Unfortunately it doesn't current support any of the languages I use daily (Rust and C), but I would join a patron or similar if that might speed up Rust support.

comment 3y ago · link · parent

It not too far from how I work today - I have all sorts of devices around the house that I use to ssh and tmux attach to my EPIC server; I’m logically running the same session for months, but the terminal changes several times a day.

I don’t think any of the devices in use have a (parallel) printer port though.

comment 3y ago · link · parent

Amazingly I was just thinking about the parallel port this morning. My first PC (a Toshiba T1850 notebook) only had a serial port and a parallel port. Wanting faster network performance inspired me to play with PLIP (parallel-port IP). PLIP only works in nibble-mode so I played with the bidirectional support and got it working. However, I didn't measure much improved performance and lost interest. Indeed, later EPP and ECP came around, but at the time I couldn't find any documentation. This article fill of lot of the gap and has some amazing backstories I never knew, very cool.

comment 3y ago · link · parent

Those day, for reasons, I would often find myself waiting without a computer. I spent some of it implementing a Go game tree viewer and editor (including branching) with graphical Goban display, all in LispMe - entirely coded with a stylus! I should restore it.

ADD: I connected him with my professor and he got a publication out of it

comment 3y ago · link · parent

The link appear dead already

comment 3y ago · link · parent

I didn’t heard of it until years later but I think it’s the computer I would have wanted (best value 32-bit, “hi-res” graphics, floppy storage). Especially when writing compilers for Z80 and 6502 I longed for something as beautiful, powerful, and regular as the m68k. However I don’t think there was any way I could have afforded it at the time.

comment 3y ago · link · parent

Very true; Lattice Semi’s ECP5 is a fairly decent FPGA with very mature support from Yosys/nextpnr/trellis.

Xilinx’ Artix-7/Kintex-7 are much more powerful FPGAs and the support for those is getting to be pretty good (DDR3 support is steadily maturing)

It would be nice to see a vendor actually officially supporting these efforts. Maybe one day.

(Not to mention various open source FPGAs - actual chips - being developped)

comment 3y ago · link · parent

I'm not sure the OP meant it as negatively as it seems. The "trash 80" seems to be a common enough nickname for these that even I knew it, never having even seen one until recently.

Adrian's Digital Basement has featured lot of videos on restoration of many TRS-80 versions. Seemed like a nice machine for its time.

comment 3y ago · link · parent

Well, of course, the Return Address Stack (RAS) predictor maintains its own call stack and you need to understand how it works. However, there's a subtler way to break it: recurse too deeply. The RAS only has a fixed, small, and implementation dependent length. If you use deep recursion with non-trivial control flow (in particular multiple call sites), then the RAS will starting missing once you return from beyond that limit.

Another consequence of the RAS is that co-routines switching is more expensive than they might appear at first. RISC-V has encoding hints to mark call(jal)/returns that are actually co-routine switching but the full cost can't be avoided.

comment 3y ago · link · parent

Nice final result but I would have skipped the PWM detour. PWM sucks and has known bad aliasing issues. Sigma-Delta (AKA "1-bit DAC") is error diffusing, cost the same to implement, and should always be preferred IMO.

A lot of "tricks" from the past were accommodating the slow processing powers, but if you are driving this from, say, an FPGA, you there's no reason for not just doing the best thing.

One thing I didn't see mentioned: the reason this all works is because the liquid crystals don't turn very fast so effectively they are providing a filter that implements the gray-scale output from a binary input. What I'm curious about is if this is a linear process. Based on the PWM result it looks pretty linear.

comment 3y ago · link · parent

Did you try it? compress/gzip/bzip2/xz deletes the source file whereas zstd leaves it behind. This applies both to compression and uncompression.

comment 3y ago · link · parent

Petty perhaps, but I'm really annoyed that he didn't follow the celebrated command line tool tradition of compress, gzip, xz, lzip, bzip2, etc. I always have to remember that zstd behaves differently and you have to take extra steps to achieve the same thing.

comment 3y ago · link · parent

Nice list. I haven't looked for the answer, but I immediately thought "why not both" in the section about SDL_WaitEvent vs SDL_PoolEvent. Is it not possible to VSYNC ImGUI apps with animation?

comment 3y ago · link · parent

IMhO, experimental OSes greatly benefits from supporting _some_ way of running _some_ Linux binaries - it solves the bootstrap problem and makes it so much easier to explore the system.

OT: I always felt the synchronous system call model is very dated. All high performance systems I know of (say, GPUs, NVMe, NFSv4, etc) all use a similar async command list model. Each exchange package up as much as possible and more work is done per context switch. Instead in Linux we just get an ever growing list of compound system calls (like pwritev, pwrite64, renameat). There's some hope with io_uring and ebpf, but it really should just be general mechanism. There's no need for a context switch outside of exceptions (like page fault) or blocking on completions for commands.

comment 3y ago · link · parent

Are the wooden construction essential to the new blade design? What are the Beechcraft Bonanza props made of?

(As a complete layman, not even a pilot, I love the sound profile of the proposed props)

comment 3y ago · link · parent

Since RISC-V is barely ten years old that's quite a statement.

Introducing a new instruction set is an enormous undertaking, taking multi-decades typically. If anything, the adoption of RISC-V and its momentum is astonishingly fast.

comment 3y ago · link · parent

I have three MacBook/MacBook Pros with keyboard problems (mine + 2 kids) and one has been repaired, only to redevelop the issue. That latter one is part of the class, but I get nothing for the former two (one is which is 70% unusable). Sigh.

comment 3y ago · link · parent

Indeed, I moved most of my servers into my office a few month ago and haven't used the space heater since :)

A shame that I can't do this in a more systematic way for the major appliances.

comment 3y ago · link · parent

Kind of in the Bought & Built: I fell for the Kickstarter trap and bought a 3D printer kit. Spent almost a year of tinkering and upgrading but it never worked reliably (always more to fix). Bought a few commercial ones which worked (mostly - 3D printers are frustrating).

comment 3y ago · link · parent

It took me too long to understand this, but I'll toss in one exception to your rule: storage (short term and long term). I've found that it's frequently useful and economical to upgrade long term storage; eg. the HDs/SSDs until recently were on a price curve such that you were better off postponing buying more until you needed it. And quite a few of my systems have gotten a RAM bump midlife (where prices had come down). Alas, as more as more systems now come with soldered down memory, I usually max it out for longevity.

comment 3y ago · link · parent

TSMC is not going to give up their trade secrets, sorry.

Also, if you are using a high-end RISC-V (none on the market currently), then the implementation is going to be proprietary and decidedly non-trivial.

I'm not sure in which sense you expect to "understand your computer".

comment 3y ago · link · parent

That's likely true, but I wonder about the distribution. Annecdata, but among my contacts, opinions about Tesla follows feelings about Musk, ie. it'll have really economic impact.

I was (vaguely) in the former category until I saw his petty vengeance on people who he perceived to have wronged him. Eg. he had a Tesla event and arrived 2 hours late. Someone complained, and Musk had his Tesla order cancelled! However I only truly saw him for what he is when COVID hit and he laughed it away as a bad cold while people were dying.

comment 3y ago · link · parent

It's beautiful!

OT: it seemed like an awesome application so I ran it but a few seconds into importing I got

"Rate limit for Tweet Replies reached. Waiting 18446744072038294844 seconds"

I'm not going to live nearly long enough for that!

ADD: and there's no cancel button or anyway way to stop it.

1
91011
52