Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

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

Submissions

comment 5y ago · link · parent

I think that's what he meant - employers are competing for employees. I had one recruiter (who cold contacted me) admit that the SF Bay area job market is red hot and everyone is hiring like crazy.

comment 5y ago · link · parent

Not this, but I wanted to make a Scheme VM and expose it directly, forth-like. A nice benefit would be a memory safe forth with advanced data types and GC.

EDIT: to clarify, the point of this of course is to write only the minimal, performance critical piece (the VM) in native code and build a complete Scheme environment on top of this. There has been many similar efforts (Scheme48, VSCM, etc), but AFAIK none of them exposed the VM directly.

comment 5y ago · link · parent

the software license number is off by a large factor for leading edge nodes. large!

comment 5y ago · link · parent

Anecdata: Amazingly, I had just minutes ago had to relocate my mouse's (MX Master 2S) wireless receiver because of this exact problem - and it's the example used!

comment 5y ago · link · parent

The fastest open source general digital logic simulator I'm aware off is Verilator, but obviously the speed of simulation depends greatly on the design and whether you are also generating wave forms (for offline viewing)

comment 5y ago · link · parent

I only skimmed it (so far) but the immediate application that intrigued me was G code compression. arcwelder fits points on arcs, but Bèzier curves would be so much more powerful (I don’t know if 3D printer firmware currently support that, but that’s a technicality)

comment 5y ago · link · parent

more than 412 mi, faster than a Model S? This argument is completely ridiculous.

Electric is already far superior for every day driving and close to parity for long distance (super charger is fast, but not yet quiet as fast as pumping gas - but if you have kids you'll welcome the break)

comment 5y ago · link · parent

It's a huge convenience! I love not having to get to the gas station (it always at the least convenient time).

comment 5y ago · link · parent

They are not simultaneously true. The new Model S Long Range has 412 mi range. All of them can tow, but they are all fairly expensive.

The cheapest Model 3 isn't cheap, but definitely getting there.

comment 5y ago · link · parent

2021 to me really marked at turning point for RISC-V embedded cores. $4 (+ S/H) for a BL602-based pinecone (or any of the many other BL602 boards). Pretty nice.

comment 5y ago · link · parent

I have a few of them blinking next to me. They are fine albeit documentation is severely lacking at the moment, but once you realize how cheap they are compared to the alternatives, new possibilities open up.

Interestingly it's based on a 3 stage core from SiFive, not the RocketChip.

comment 5y ago · link · parent

It is and on RISC-V 0 (16-bit bits and 32-bit) are an illegal instruction. Jumping to zeroed page is obviously a bug so this is the correct behavior.

comment 5y ago · link · parent

This would make me absolutely explode. I can do the pihole route but I'd rather we had legal control over what's being displayed on our TVs.

comment 5y ago · link · parent

Fair point; still impractical for most situations.

I _have_ seen non-EV RVs with mounted panels (charging while driving) and more to be unfolded while parked for both shade and more power. They used the power for fridges etc, but not for locomotion. Seemed totally reasonable to me.

comment 5y ago · link · parent

Citing the time to charge an empty car is such a disingenuous argument; if you have ever lived with an EV you'd know that's very rarely what you do. Instead you top off what you consumed earlier, typically once daily. So unless you are counting the very atypical cross-county drive, you don't need nearly that much.

That said, I don't believe carrying panels around to be a very practical nor attractive option.

comment 5y ago · link · parent

It's a world map. If you want a local map then this doesn't apply. I'm not sure what your point is "where people live".

I happen to originate from a different country than where I currently reside and on this map, the path that the plane takes makes a whole lot more sense. It seems to be a much better model of the world, to get better, you'd need a 3D globe.

comment 5y ago · link · parent

I think they actually mention that in the paper, than the other maps makes Japan seem farther away than it is in reality.

comment 5y ago · link · parent

The title is quoted from the paper version (https://arxiv.org/pdf/2102.08176v1.pdf)

709.

Princeton astrophysicists re-imagine world map(princeton.edu ↗)

42 points · by FullyFunctional · 5y ago · 27 comments

comment 5y ago · link · parent

"Daniel Lieberman is a professor in the department of human evolutionary biology at Harvard."

comment 5y ago · link · parent

I'll try to allocate time for this.

I did write my own editor in C and it was delightful and it addressed my pet peeve with Emacs: the two wasted lines at the bottom (on small devices every single line matters). However I don't actually use it myself because it's missing too many essential features and it would take too long to write them. Also, cross compiling C for multiple platforms is actually tedious due to silly differences between eg. macOS and Linux.

The holy grail for me is still the editor from BLS Pascal which was a full screen editor in about 2 KiB of Z80 machine code. I'm still not sure how Anders managed so much functionality in so little code, but there's just a few little things I wanted differently (which as having Enter split lines and delete joining them).

comment 5y ago · link · parent

Thanks, I had already tried everything in there, but since posting I saw people suggesting unplugging the HDM and plugging it into another DP port. That actually worked, but the end result was very buggy and flaky, unusable in practice. I'll try again in 2022 when GPUs might be back in stock.

comment 5y ago · link · parent

I read these reports with a mixture of jealousy and frustration; my Valve Index + 3900XT + Radeon Vega 56 (sigh) works splendidly under Windows 10, but despite everything I've tried, it Just Doesn't Work for me when I boot the same setup to Ubuntu 21.04 (note, Steam and non-VR Steam games work great).

When I try to launch it, I get a "Only one instance of the game can be running at one time." pop-up and a "StreamVR has detected your headset running as a monitor. For best results, please switch to Direct Display Mode." Clicking "nable Disrect Display Mo" (sic) restarts SteamVR to a big window of grey binoculars. At no point is anything displayed in the headset.

comment 5y ago · link · parent

Only for very simple systems. Many are complicated which produce artifacts that are executed to produce other artifacts (which are also compiled). As arbitrary binaries are executed during the build, and the correctness may depend on native execution, this is far from as trivial as you might think. Have you ever compiled Emacs (at least in its 18 version)?

Building under QEMU is obvious, however the native hardware is actually faster.

comment 5y ago · link · parent

I'm assuming partly inertia, partly the code density not being important enough to do this. To be clear, while you _can_ go OoO superscalar with a stack machine, it's more work than with an ISA that exposes the dependencies, like VLIW or EDGE.

Don't take my word for it, design, model, simulate, and implement it yourself. It's a small matter of coding.

EDIT: Reduceron is an example of a super-scalar stack machine, though not dynamically scheduled. It's very difficult to write code by hand though.

comment 5y ago · link · parent

Contrary to much common misunderstanding, sure, no real problem.

The semantics of each instruction is consume the two top stack elements and replace that with the results. You handle this by having an stack rename stack of physical registers (with additional complication for handling under- and overflows), that is assuming the current stack is

  pr3 pr4 pr5

and the first free register is pr56

Then an "+" instruction is interpreted as "add pr56, pr4, pr5" and pr56 is consumed and pr4 and pr5 marked to be freed when this commits.

Because stack machines inherently introduce a lot of tight dependencies you will need to use dynamic scheduling (OoOE) to go super-scalar, but it's not a problem.

Upsides are incredible instruction density. Downside: slightly harder to do good code generation, but not really.

comment 5y ago · link · parent

I'm sure the Fedora builds aren't designed for cross compilation (which is far from trivial for most packages not designed for it). Also, man-power is the most precious resource so it would be a waste to spend time trying to cross-compile what could be built natively.

comment 5y ago · link · parent

I don't know if any of these have RISC-V support, but I would be interested in hearing about it. I would actually love a good distro for RV32G which is arguably a better match for FPGA softcores (and dev boards with > 4 GiB of external memory are rare)

comment 5y ago · link · parent

You would have to build and maintain your own Linux distribution, that is the problem.

comment 5y ago · link · parent

That's correct, the compressed extension (part of the desktop spec over my loud and persistent protest) is part of the desktop platform. This adds 16-bit instructions to the 32-bit instruction set.

There are many reasons why this was a huge and very shortsighted mistake, but the most painful part of this is that you can now have an instruction spanning two cache lines. This has many awful implication and precludes many tricks that would make implementations faster. But it was important for Andrew Waterman to get his thesis work be mandatory part of the Unix platform, so here we are.

ADDENDUM: It's near trivial for a linker to pad such that instructions don't span cache lines and that would have made this a lot less painful, but RISC-V refuses to specify the line size (it's implementation dependent), so now we suffer this nightmare.

1
232425
52