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

I appreciate the suggestion, but I tend to stay with my choices for decades, so I need something that has been around and will stay around. As best I can tell my options are (in random order): openSUSE, Fedora, Debian, and Ubuntu. There are a few that are runners-up, like Arch and Pop_OS! (hate the name).

Switching distribution is a lot of overhead (I have a too-large and quite diverse collection of iron, with x86 being minority).

comment 3y ago · link · parent

Well, everything I said was true but I don't think we can agree on that, so I'll just end it here.

comment 3y ago · link · parent

Ah, I see you don't work in the field.

A few of the cost of legacy:

* exponential growth in verification space (each feature combines with all other features),

* design complexity (effort that could be spent better),

* area/power/cycle time overhead (all options require more ports to muxes, more wires to run, etc.)

* and most importantly, opportunity costs: some optimization tricks can't be pursued because the assumptions would break for legacy code

The legacy tax is real

comment 3y ago · link · parent

Thanks for sharing this. I was exactly hoping to find something like this in the comments. I had forgotten about the nreal but it looks more useful than the specialized notebook.

comment 3y ago · link · parent

Me too and ... it's still working on the factory batteries!

There are many reasons to love the HP calcs, but I think the keyboard doesn't get enough praise. I have never found another calculator as satisfying to use. I heard from owners of the Swiss that it's not quite as good.

comment 3y ago · link · parent

The first thing I did (28 years ago) was to remap Delete and Alt, swapping them, pretty much a necessity if you are an Emacs user. On the standard keyboard it's literally just Prgm Del Alt Alt Del Prgm. However I have since replace the keyboard controller and use my own firmware now in where the swap is hard coded.

comment 3y ago · link · parent

While hybrid works for me, only fully-remote enables you to move far away from the office and, potentially, significantly improve your quality of life. I totally get why people feel so strongly about it.

My annecdata is that I feel far more productive (concentrated) at home, but going in 1-2 times a week is very important for incidental communication that can have important consequences. I currently manage a fully remote intern, but we have him come ~ two days every month. So far this seems to work.

comment 3y ago · link · parent

My controls are handles by my thumbs (Kinesis Advantage) and I fail to see the advantage here as you are using the same amount of energy, but fail badly for cases where control could have been held down (eg. compare Ctrl-down p-down p-up p-down p-up Ctrl-up to ,-dn ,-up, p-dn, p-up, etc).

comment 3y ago · link · parent

Another approach would be to set up a VNC viewer on the badge. Then to update with new contents you'd connect to the shared VNC server and do whatever you'd want to update (you could in theory even run a browser, but the resolution is a big on the small side).

comment 3y ago · link · parent

Thanks for the reference. I have a number of issues with that essay, but fundamentally, once we have people on Mars we'll have exactly this issue. There's no easy way around it and we'll always have to negotiate hours that work for both parties (which is what I basically have to do with my family who are about 90º phase shifted from me).

comment 3y ago · link · parent

I have Free42 on my iPhone and while I don't use any of the advanced features, it has a level of polish that really makes it stand far from the crowd. Probably the most noticeable feature is the haptic feedback (enabled in the hidden menu under the logo). That feature and the full screen graphics goes a long way to making the calculator feel real.

comment 3y ago · link · parent

"Having these addresses where we wouldn't even touch half of the bits for decades would have been unpopular with a lot of people, even if he would have been praised for being so forward thinking in the end."

Worse perhaps, people, algorithms, hardware, ... will all start to assume those bits are zero and start optimizing for that. We have seen this happen repeatedly throughout history (eg. Lisp pointers would stuff tags in the "spare" bits in addresses, making implementations non-portable).

These are all hard problems, but the lesson I take away is to

1. Always have a plan for evolving the design/protocol/API/...

2. Aim for a watertight design that supports 1. (Example: TLS 1.3 puts random stuff into reserved fields so nobody can assume they are zero).

3. Really stretch your imagination about future usages (assume 50+ years)

4. Have a ridiculously comprehensive test suite for both clients and servers

It seems clear that in terms of lifetimes, hardware gets used much longer than expected, software even more so (Y2K anyone), but protocols/formats/specs/... literally never dies

comment 3y ago · link · parent

I use it professionally and hate the fan, but in experience the MacBook Air M1 holds up well to sustained (Rust) compilations. None of the infuriating bursting behavior of old Intel chips.

comment 3y ago · link · parent

Hmm, I don’t know the current status but I did receive and use my keys I got from backing. I have also gotten mails about firmware updates, but nothing recently.

comment 3y ago · link · parent

Veyron is a data center chip. I haven't seen TDP numbers but it's almost certainly unsuited for a laptop. Ascalon is IP and is AFAIK only available as such or as part of a data center machine learning chip.

I don't think the market forces are driving towards a RISC-V laptop chip (TH1520 is the only one that has mentioned notebook, but it's a very low-end Cortex-A72-class processor).

Hopefully this will improve eventually.

comment 3y ago · link · parent

While I'm bullish on RISC-V (both personally and professionally since before RISC-V was even public), there are currently no chips on the market that comes even close to high-end Arms, and most specifically none for mobile devices. So that's why.

This will certainly change, but I suspect laptops will be last, with datacenter (ML esp.) and ultra-mobile (ie. low-end cellphones) arriving first.

comment 3y ago · link · parent

Even though I'm not sure what you mean by "native", this not exactly my understanding. AFAICT, Denver added a hardware Arm instruction decoder. This greatly helps with the first part of the JIT and especially accelerates the interpreter.

comment 3y ago · link · parent

That might be the one fact that most people know about Transmeta. Among other things, he wrote the original x86 interpreter that was the first to touch cold code. Before he joined, x86 code was immediately translated (which was not ideal for many reasons).

comment 3y ago · link · parent

CMS was written in C and translated with a custom P95/P2000 backend for good ol' GCC. However, your question is of course about a publicly available compiler. Well, it would be a bit tricky as the ISA was never public and the firmware tried very hard to keep the innards secret.

An interesting fact was that CMS could occasionally (not always, but not rarely either) do a better job than the ahead-of-time compiler as CMS benefits from: statistics collected at runtime and can generate code under assumption without compensation code. When the assumptions are found to be violated, it can just recompile the code again.

The challenge is always having the compilation overhead be [more than] paid off by the runtime gain. Sometimes it worked, others it didn't. Unfortunately, people really notice when it doesn't work which added to a negative perception of Crusoe. The conventional processors (even out-of-order) have far more predictable performance.

comment 3y ago · link · parent

Given the nature of the JIT and the limited size of the translation cache (2 MiB IIRC), applications with huge code bases and little repeat rate (like browsers and MS Word) will perform less well. The poster child for Crusoe was PowerDVD, but Quake had also gotten a lot of attention. Note, in those days there was a surprising amount of self-modifying code. That stuff is really nasty to deal with for a JIT. There was hardware support for detecting this on (IIRC) a 1 KiB granularity (because code was intermixed with data, making the latter look like self-modifying code).

comment 3y ago · link · parent

You do realize that TM5800 just makes up the CPUID in software and the Spectre etc flags are a kernel interpretation of this?

TM5800 might be subject to Spectre, but I posit that it would be very tricky to exploit as the x86 code you write isn't what's being run and in fact the code execution will look vastly different.

comment 3y ago · link · parent

No there are major differences. A non-exhaustive list:

* Crusoe/Efficeon/... used a software JIT (called CMS)

* Ran on a very custom architecture (P95/P2000) designed for JITted code with speculation (software controllable checkpoints, "assert" instructions, speculative cache, small lookup tables for translating x86 addresses to P95 etc).

* It had no dynamic scheduling, reorder buffer, renaming, etc.

The thesis was to eliminate the power/area hungry parts of microprocessors by having the "compiler" (= JIT) do it up front.

Some things worked well (very power efficient, small die). Others less so: huge cold code penalty, limited ability to deal with large cache misses (like IA-64).

Transmeta had a huge impact on the industry; Intel has officially credited Transmeta and Transmeta's LongRun with getting Intel focused on power. Both NVIDIA and "another company" have explored the CMS idea.

There is so much to the Transmeta story and the failure was more of a business issue than a technical one. This was a completely new approach and Transmeta needed more iterations to refine the idea.

ADD: A VLIW "instruction" (called a "molecule" in TM terminology) is compiled, fetched, issued, and (mostly) executed as a (parallel) unit. That is very very different from what modern superscalar microprocessors do. They issue instructions from many issue queues. The instructions that execute in the same cycle usually do so mostly as a consequence of data-flow and the current state of the pipeline. Large x86 instruction translated to microcode typically leads to many µops that do not execute in parallel, but are intermixed with other µops.

comment 3y ago · link · parent

I agree completely with all of that. My added difficulty is that I use a lot of hosts and they are a mix of AMD64, Arm, Arm64, and RV64GC so having a single distribution on all simplifies my life. Ubuntu in my experience has the best support for that set, but I experimented with Arch, Debian, Fedora, and OpenSUSE as well. I'd welcome insights, but Fedora appears most promising for me with Debian a close 2nd. (Arch is actually awesome, but package support is very mixed).

comment 3y ago · link · parent

This is getting pretty off-topic, but for the record:

I think I was taught that 1st year, or perhaps the predecessor. It's was MIS' first year teaching. IIRC, Trine's array started at 1 and there was much debate over the merits of that vs. starting at zero like C but other than that it was a reasonable language for the time.

comment 3y ago · link · parent

In 1989 when I was part-time IT staff at Århus University, CS. Dept. we had to turn down a professor who requested doing exactly this with his Sun workstation (it might have been possible, but we didn't have the resources to support it).

My only requirement for my first personal PC (T1800, 386/sx, 4 MiB, monochrome) was that it could run True Emacs (on Linux) - I could certainly have used this, but `exec emacs` achieves nearly the same.

comment 3y ago · link · parent

This resonates so hard. I really wish that SW stop assuming that if they are just installed, then the user is a complete ignoramus who needs to be educated and onboarded. I (for reasons) frequently install OSes from scratch and all the boilerplate is so tedious.

comment 3y ago · link · parent

It’s probably old news but I’m happy to see RISC-V well supported.

I haven’t actually tried FreeBSD, but as long as Emacs and Rust works, it should work for me.

208.

YouTube suspends channel for immitation of himself

10 points · by FullyFunctional · 3y ago · discuss

comment 3y ago · link · parent

The Supercharger network. This alone sets Tesla apart from all other BEV brands. The hodgepodge of alternatives simply cannot compete on speed, widespread availability, and most importantly, reliability [1]. I wish it was different but until this changes, Tesla is the only game in town for me.

[1] I have heard many horror stories first hand of being stranded next to a non-working charger and read plenty online.

comment 3y ago · link · parent

I had a job where I used an ADM 3a hooked up to a Sun 3. It worked, but I don’t miss it. A vt320 is a lot fancier.
1
678
52