Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

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

Submissions

comment 8y ago · link · parent

Sloppy article. The Gemini is shipping now and a, eh, handful, have landed in early backers hands. The question of future support have come up repeatedly and Planet Computers understands this and have promised to "open source what they can". While this leaves a lot of question, the specifically mentioned boot loaders. Thus, bleeding-edge Linux support might depend on community support, but it's not impossible.

comment 8y ago · link · parent

Interestingly the issues sounds a lot like what a high performance Haskell implementation would run into. One additional note though on GC: highly tuned PL implementation requires completely control over object layout, pointer representation, and GC. (!)

No off-the-shelf GC will ever be perfect for all languages, thus I think WASM would be far better off doing whatever it could to facilitate runtimes implementing their own.

(!) Example from the lazy world: lazy closures when evaluated and updated often results in an indirection. We rely on GC to shortcut these. Sometimes we even have GC perform trivial constant-time evaluations when we know the result is smaller than the suspended evaluation.

Example from the Lisp world: cdr-coded cons cells can cut size in half, but no generic GC would be able to do this.

comment 8y ago · link · parent

I want to add that I do think google has a _culture_ that allows great people more visibility. You don't see [as] many blogs by say Apple engineers :)

comment 8y ago · link · parent

Thanks for writing this and good for you to finally leave that wasteland. I learned an important lesson on my first job "Don't be suckered into being loyal to your company because, no matter what they say, they are loyal to share holders, not to you".

On a side note, I don't understand the fetish with Google; where does this reality distortion come from that they have the best engineers? At _every_ company I have worked for I have been told "we have the best engineers" :) (I've been in Silicon Valley for 17+ years and Google is not that exceptional).

comment 8y ago · link · parent

If the selling and the buying happens at different times, then that doesn't seem so crazy. The real cost of electricity is dependent on supply and demand - which varies with time.

In certain parts of USA demand is especially high when the sun is at it's peak and most places on earth see low demand in the middle of the night.

comment 8y ago · link · parent

This is huge! I have no affiliation, but I'm really excited about this. Looking through the comments, I don't think everyone appreciates the implications:

- It would mean a sane standard for SDcards; none of the ever-evolving, always-limited, SDcard protocol

- NVMe drivers are already there in any modern OS

- NVMe is a pretty fantastically wonderful protocol compared to all other mainstream storage protocols (SCSI, ATA, FC, etc). It has low overhead and supports ridiculous amounts of parallelism.

- This would open up uses of SDcards that aren't really possible today (basically allow for the SDcard to be a general SSD, faster than most (all?) existing SATA SSD).

comment 8y ago · link · parent

Ahem, cross-platform case sensitivity issues, symlink utterly doesn't works, but yes, apart from that, it's amazing.

You might give gocryptfs [1] a try, with it you can keep [part of] your content encrypted in Dropbox.

[1] https://nuetzlich.net/gocryptfs/

comment 8y ago · link · parent

For me it's beyond that. I make constant use of my Dropbox files from Linux boxen, my iPhone, and a couple of MacBook Pros. I severely doubt iCloud would ever support Linux in a meaningful way.

comment 8y ago · link · parent

With the risk of getting down-voted for being too off-topic, here is my setup and observations:

- the three host range from pretty fast (Coffeelake @ 5 GHz, 32 GiB, Samsung 950 Pro) to just ok fast (some i5 @ 3 GHz, 8 GiB, files from a fast NAS on 10 Gibps)

- I two syncthing folders, with a 90/10 split. Some 155k directories between them. The smaller one is scanned every 6 seconds, the other every hour.

- I have disabled relaying etc. so traffic is only p2p and LAN-only, static IPs.

Observations: Scanning is slow, which is expected. However, even when the scanning is done and Out of Date files are found, nothing happens. Zero bytes are transfered. The syncthing process is running, but at a fairly low rate. Sometimes pausing and resuming seems to start things going, but not always. Even when data is traveling, it's pretty slow, at most 70 MB/s, and usually way under this rate.

Another frustration with Syncthing is that there are entirely too many knobs to frob. I like how setting up Dropbox is stupidly simple and to set up a new host is 1) install Dropbox and 2) add my userid/password, done.

As I have honestly looked for a Dropbox alternative for what must be a decade (primarily because Dropbox, Inc. can read my files) it's truly astonishing to me that nothing else works as well. Of course I have considered writing my own clone, but there are other projects to work on and I don't discount how difficult the problem really is.

EDIT: rewording

EDIT2: FWIW, another "solution" I'm evaluating is to endorse Dropbox but run gocryptfs on top for sensitive files.

comment 8y ago · link · parent

I really want for this to work, but it is so not comparable to Dropbox; Syncthing takes forever to synchronize between machines (all on 1 Gbps LAN) unlike Dropbox, which can saturate my link. It is the best of the Dropbox alternatives I've tried though (having tried almost all) and if it performed better I'd be able to forgive the lack of an iOS client. I'm still evaluating it though (3 hosts, 329GB in 1.3M files).

comment 8y ago · link · parent

Seems a good time to re-mention the ever impressive Fabrice Bellard and his RISCVEMU [1] which ran an early version of Fedora already half a year ago. You can even run it in the browser [2] ... and there's a version with X in the browser too! [3]. RISCVEMU is pretty fast but I don't know how it compares to QEMU (ironically also originally by him).

[1] https://bellard.org/riscvemu/

[2] https://bellard.org/jslinux/

[3] https://bellard.org/jslinux/vm.html?cpu=riscv32&url=https://...

EDIT: formatting

comment 8y ago · link · parent

"It is not "complete bollocks",it just not as efficient as it appears to be."

That's a contradictory statement. If it was as efficient as claimed it wouldn't be bollocks. But it isn't, thus, bollocks.

"(with a split power supply - positive, negative and ground) would have the same noise immunity as binary."

[citation needed]

I'm not a EE, but my understanding from EE friends is that isn't true.

comment 8y ago · link · parent

I do, but I wasn't aware that Rust was considered in the ML family (ML as Meta Language, like SML/NJ). I'm somewhat skeptical of that.

What I see from Rust is a lot of the really great things from functional languages (esp. strong typing) and beyond, but applying them to a language aiming as low as C. That's certainly interesting.

comment 8y ago · link · parent

Yeah, it's complete bullocks. Rest assured, if anything was better than binary for _logic_ then it would already have taken over the world. Binary have a lot of wonderful properties (not least noise immunity) and deserves a lot of credit for the success of modern technology. Note, the ENIAC wasn't binary! It was based on decimal.

However there are places where we look beyond binary; most notably in storage where data density is job one. The vast majority of FLASH is using MLC (4-values) or TLC (8-values) which need heroic circuits to recover the data. But note, these are 2^2 and 2^3, still binary based.

comment 8y ago · link · parent

This is impressive work, but I was particularly interested in his in-passing mention of running Linux apps on Mac. I could use that (EDA tools at best support Linux if even). Lo and behold, there's something Noah that proclaims to do this. Is there anything else? (I'm a heavy user of VMware Fusion, but that's pretty heavy weight).

comment 8y ago · link · parent

Well, O'Caml and Haskell predates Rust by decades. I was delighted to see Sum-Product types in Rust when I played with it. They go a long way to cleanly model the problem domain. Obviously you can simulate them, but it's much easier to get wrong or "cheat" (say having a bunch of fields, only some of which are valid depending on a tag).

comment 8y ago · link · parent

That's pretty funny right there as Tesla has no marketing budget to speak off. Kindly tell me last time you saw a Tesla ad (made by Tesla)?

Electric cars are as old as ICE cars (look up Baker Electric for one's). That's beside the point. What Tesla did was to produce an electric car that was truly desirable and from many metrics, better than an ICE car. You simply cannot deny Tesla's massive impact on the car industry, even GM have publicly acknowledged it.

comment 8y ago · link · parent

Interesting! This appears to be implementing Decimal32, Decimal64, and Decimal128 [1].

It's worth remembering that the "first" computer, the ENIAC, used decimal arithmetic. A decimal arithmetic package was one of the first things I wrote for my Z-80 homecomputer as I couldn't imagine anyone working with money using binary floating point! [2] That said, isn't Fintech mostly using scaled integers these days?

[1] https://en.wikipedia.org/wiki/Decimal32_floating-point_forma... [2] My horror was refreshed recently when I compared various mortgage calculators on the web. Not two of them got the exact same amortization schedule :( :(

comment 8y ago · link · parent

I'd be careful about such conclusions without a study. It certainly doesn't fit my usage. I'm at least twice as likely to hit "emacs -nw" for a quick edit than launch the GUI version. Being useful in a terminal is a critical requirement for me.

comment 8y ago · link · parent

I can't tell if you are being sarcastic, but because the format and transport were fixed, it enabled the creation of many clients, some of which had some incredible useful innovations.

Today this innovation has moved to the myriad of proprietary alternatives (like Slack or our very own HN) but they are closed worlds so not only can nobody create a new client, we also loose all the contents if the company dies (which isn't rare).

--grumpy greybeard

comment 8y ago · link · parent

I don't know Go, but could you point to more details on the "channel hell"? I would have assumed it was a good way to structure parallelism so I would like to see why not.

comment 8y ago · link · parent

Probably not secret anymore. CMS (the "Code Morphing Software" that implemented the x86 emulation) originally went straight to translation which was difficult to get correct and was expensive to do for code that might only be run once. Linus, when he joined said "That's stupid" and wrote an x86 interpreter which then acted as the first tier in the emulation. That let to a massive improvement in quality as more workloads could be tested and enabled an awesome creation by Jim Mattson (IIRC): self-cosimulation. CMS could be run in a mode where all translation were cross checked with the interpreter before the results were committed.

This was before my time and I'm sure he did much more. I only have first-hand knowledge of his work on TVM, the Transmeta x86 Virtualization which predated Intel (and AMD's) hardware support for x86 virtualization. Sadly it never productized. I suspect we couldn't find a way to monetize it.

comment 8y ago · link · parent

Exactly this. And they didn't compensate, which makes this very biased and unfair.

comment 8y ago · link · parent

Dane here: what's the population where you live? In most of the country (by area), isn't an accurate statement that you don't need a car.

comment 8y ago · link · parent

"Really well" in the big cities only. Outside the top ten, it's useless. I've lived in a handful of cities in Denmark for about 20 years and this view of public transport is a typical eastern bias.

comment 8y ago · link · parent

dane here: this tax is infuriatingly unfair; the fact is that most politicians in Denmark live in Copenhagen where it might be practical to rely on bicycles and public transport but for the mainland this is a fantasy. There is no usuable public transport and bicyling isn't practical beyond 10 km. The people this hurt aren't living in Copenhagen.

comment 8y ago · link · parent

Note (might not be obvious to all): Google Fiber is available in only a couple of places and expansion seems to have stopped. In the USA, symmetric gigabit speed is very rare and typically very expensive.

comment 8y ago · link · parent

By "this thing", you mean the GCT? Googling for "Gateway Connected Touchpad" and looking at images brings up ~ 8 images. My "other thing" is a Nascom 2.

(The GCT would be a lot more appealing if the LCD display was better, but it's DSTN and pretty horrible compared to modern displays).

comment 8y ago · link · parent

Which is a common compromise and frankly more useful than the web-of-trust model, as long as users understand the limitation and verify once offline.

It's still unclear to me how this works if you use more than one email client.

comment 8y ago · link · parent

The site could benefit from a to-the-point explanation that doesn't assume prior experience with PGP based mail. I can't point less technical users to this.

Does this work if one uses multiple mail clients (fx. notebook, desktop, and smartphone)?

Since it requires client support, it doesn't seem an option currently on, say, an iPhone.

1
414243
52