Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

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

Submissions

comment 7y ago · link · parent

What a load of bullshit. The article is making a merit out of a clutch to cover for their failing. I had to stop reading after ridiculous statements like “that 5 percent range improvement can save significant money as battery capacity” - riiiight it can save ... 5%. I’d rather pay more for the battery and save of the maintenance down the road. Serious Wired, how much did they pay you for this?

comment 7y ago · link · parent

When I came from Europe (~ 2000) for an interview, the hiring manager took me to Fry's to impress me (something like "you seem like the type who'd appreciate this" -- I did).

One very Silicon Valley story he related was a guy correcting a sales guy (or shopper?) with the words "No! I know because I designed it!"

We asked for about something and the sales assistance gave useful information -- to which my manager quietly added after he left "He won't be here next week ... he will have found a better job". The job market was really good.

comment 7y ago · link · parent

I found his relentless self-promotion really distracting and annoying. And presenting lambda calculus in terms of his own language only makes it more confusing.

However, I am impressed with the tenacity it took to trace the paper to its origin and there's a lot of interesting story in the process.

comment 7y ago · link · parent

IMO it's hugely different, at least in the server space. In the 90'es _all_ servers ran on proprietary platforms (OSes and micro-architectures). To succeed with an alternative, you had to convince your OS vendor (Microsoft, Sun, ...) to port. The most famous attempt Windows NT (ran on x86, PowerPC, Alpha, and possibly more), but the effort fizzled.

Today, the MAJORITY of servers run Linux, even on Microsoft cloud platform, and a significant part of that is using primarily open source (eg. "LAMP"). If, say, RHEL supports your platform, it's fairly easy for most to move.

Yes, it's not easy to migrate, but it is _way_ easier than it used to be. Now, non-server application is a different story.

comment 7y ago · link · parent

Absolutely, giants like Google or Huawei could pull this off, I really don't know if we'll see Java without someone like that. Personally I'm keen to see Mozilla's JavaScript VM (is it still called SpikerMonkey?) ported, but I doubt it will happen until we see more widely available/affordable RISC-V hardware.

comment 7y ago · link · parent

I don't know why there would be _any_ porting involved. Arm and RISC-V are so similar that the compiler should take care of it.

The major pain points today are the JITs, which applies to Java and JavaScript in particular. There has been preciously little (public) progress on these.

comment 7y ago · link · parent

Software.

There's tremendous inertia in apps which is what gave x86 an effective monopoly in the 90'es, even when superior options were available (hello Alpha). Today the situation is actually better and with RISC-V having the same memory model as Arm, porting from an Arm version is way easier (Neon code not withstanding) but it's obviously way less attractive than running running existing code.

comment 7y ago · link · parent

Mostly likely, but Android is but a recompile away (sure, not so for 3rd party apps).

Even today, with hardly any hardware, there's (to various degree of completion): Debian, Fedora, Slackware, FreeBSD, and seL4.

comment 7y ago · link · parent

Ah, but that’s making assumptions about the user. There are lots of power users for whom IO bandwidth matters; high-end video editing for example.

comment 7y ago · link · parent

I cannot follow your argument, so let me give examples: https://www.anandtech.com/show/14729/samsung-preps-pm1733-pc...

Samsung introduced a 8 GB/s SSD specifically for PCIe Gen4. I used to work in the SSD business many years ago and we could _trivially_ saturate PCIe Gen3 x4 but it wasn't economical to go to more lanes. (Bandwidth is easy, latency is hard).

comment 7y ago · link · parent

"It doesn't eliminate bugs, but the bugs that remain are better bugs".

Better bugs in this context is bugs at a higher level, eg. application logic issues.

comment 7y ago · link · parent

Very interesting info on the overclocking difference between TSMC 7nm and Intel 14nm+++ however a few misconceptions:

- Intel staying low core count probably wasn't evil intent: the software wasn't there and Intel had better single thread perf than AMD. AMD was basically forced into more cores earlier because of weakness in single thread. Today, the software _is_ there (well, mostly) and we can all take advantage of more cores.

- Why did Intel fall behind? Easy: Brian Krzanich's hubris pushed the process too hard, taking many risks, and the strategy failed spectacularly.

- PCIe Gen4 does matter. M.2 NVMe has been read limited for a long time already (NAND bandwidth scales trivially). The I/O section of this article is basically nonsense.

- There's is nothing magical about x86, nor about the AMD and Intel design team. If the market is there, there will be competitive non-x86 alternatives. The data center market is pretty conservative for good reason - but ML is upending a lot of conventional wisdom so it'll be interesting to see what happens.

comment 7y ago · link · parent

I was an active Z-80 user in those days and I respectfully disagree with that assessment. There was nothing logical about going from Z-80 to 8088/86 (and 8080 didn't matter nearly as much).

Seeing the number of design wins m68k racked up, it would have been the logical choice (and ISTR that IBM actually liked it better, but it and its peripherals were more expensive). Disclaimer: not a fan of any of these architectures.

EDIT: typo

comment 7y ago · link · parent

Without commenting on the merits of this RFC, I saw

"[[OPEN ISSUE: Should we just re-encode this directly in CBOR?. That might be easier for people, but I ran out of time.]]"

IMO, yes, please. The last thing the world needs is Yet Another Custom Binary format and CBOR is a very good choice (happens to be one of my favorite encodings).

comment 7y ago · link · parent

My poor son suffered through this pointless garbage. The only real lesson here was how to give the BS answers that the teachers required and move on with life.

comment 7y ago · link · parent

I recently learned from Tristan’s blog [1] about a similar feature in Rust [2]. I can’t wait to try it out.

[1] http://thume.ca/2019/04/18/writing-a-compiler-in-rust/ [2] https://github.com/mitsuhiko/insta

comment 7y ago · link · parent

Super interesting, but I don't understand the very last comment "We too have mustaches," referring to the controllers who caused the problem. Is he defending them, saying they were experienced? Seems there's more to be said.

comment 7y ago · link · parent

I appreciate you actually trying. A "negative" result is still valuable.

What I don't like about the article is that small fan have to spin fast (= noise) to generate enough flow. I'd much rather use a 80 mm fan, slowed way down, but I suppose I'd had to roll my own case for that. Better still, wait for someone to start offering this (or maybe this: http://blog.flirc.tv/index.php/2019/06/24/new-pi-4-cases/)

comment 7y ago · link · parent

And thus Tesla created the reason

comment 7y ago · link · parent

Everything began with the Tesla Roadster showing that you could build an attractive all-electric car. That was in 2008. There is no way anyone could seriously claim that was an evolution of the hybrid lackluster NiMH Toyota Prius.

ADD: what actually begat the Roadster was AC Propulsion’s 2003 Tzero [1], a company which can be traced back to the famous EV1 (of “Who Killed The Electric Car”).

[1] https://en.m.wikipedia.org/wiki/AC_Propulsion_tzero

comment 7y ago · link · parent

It’s been more convenient to charge than pump gas since the original Roadster, but inertia is real. However Tesla single handedly created this industry and adoption have been pretty good IMO. Norway [1] is proof that the only thing holding back good EVs is price and that’s largely about the battery.

[1] incentives mades Tesla far more affordable about over 50% of ALL cars sold were Teslas (last year?)

comment 7y ago · link · parent

All our users are running interactive sessions under X2Go (and it’s far from ideal). Will this still work? Even worse than today? (I could be mistaken but the impression I get from Wayland appears to be a dramatic emphasis on the local desktop with a near-complete disregard of the remote scenario).

CONTEXT: heavy, expensive, licensed EDA tools imposes this usage model and there’s really no way around it.

comment 7y ago · link · parent

One example (taken from the real world):

   addr = (addr + PAGESIZE - 1) & ~PAGESIZE;
contrast with

   addr = P2ALIGN(addr);
The former is idiomatic and immediately readable. For the latter I have to go lookup the definition of P2ALIGN (and make sure I got the one actually used as there may be multiple!), check that it does what I expect, and memorize it.

The value of abstracting the idiom is debatable. If it _is_ used sufficiently often, then it might be worthwhile, but often it isn't.

comment 7y ago · link · parent

That was a really interesting article. I completely agree with

>>> Abstractions may make things easier to extend in the future, or guard against certain types of errors, but they need to be considered against the fact that you may end up with 3 times the amount of code to understand and refactor, 3 times the amount of possible locations for bugs and less time left to spend on testing and further development.

Choosing when and how to abstract is key. Abstraction in a fashion extends the language so you are trading off a burden on the reader (who have to learn and trust the abstraction) for increased expressiveness. Don't overdo it. (And don't abstract idioms).

comment 7y ago · link · parent

Yes, I agree, but it's not what the OP does, also, mostly often, co-routines gets conflated with cooperative threads/scheduling.

For some color to your other points: the previous version was actually using continuation passing style which worked and was very fast (faster than coroutines), but challenging to understand without a good background in FP and FP implementations.

comment 7y ago · link · parent

Funny enough we actually started prototyping with Erlang for subsequent project (which was cancelled before it went far). Unfortunately I don't know enough to know what's special about the Erlang scheduler (if anything), but as I understand the Erlang concurrency model, it's mostly about not sharing memory (forces explicit communication). That's obviously going to eliminate a host of bugs, but it would have been way too expensive for the mentioned firmware.

Once we got started with Erlang I was pretty turned off. The pretty examples you see in tutorials aren't what you'll be using. Instead it's framework upon framework, far from elegance IMO. I was happy to not have to deal with that again. Today I'd probably choose Rust for the same task (static types FTW).

(EDIT: typos)

comment 7y ago · link · parent

I pay for both and pCloud is cheap but inferior (for me) in two ways:

1. pCloud doesn't support file permissions or symlinks, thus you can't use it as a real filesystem (eg, building and testing software out of it).

2. pCould is a "cloud fs" (the files aren't on a host filesystem), whereas Dropbox is syncing a host filesystem. The difference is very visible in performance.

If the first issue was fixed (I've asked them many times, to no avail), I could live with the second.

comment 7y ago · link · parent

You (and I) were definitely part of the problem, but limiting the number of devices was brilliant on their part as it forced me (and many others) to think hard about my options. Unlike you however, I came to the conclusion that 1) Dropbox are far superior to the competition for me (eg., I regularily build and test out of a Dropbox folder), 2) I actually get enormous value of it. $120 (they raised the price) is worth it.

I am also unimpressed with this new desktop app which solves a problem I don't have, but as long as their core syncing tech. remains functional, I just want them succeed.

comment 7y ago · link · parent

Co-routines are very useful and likely underused, but sometimes you are actually better off being able to pass the control to a given thread directly, other than having a scheduler involved.

Anecdote: almost a decade ago, I was responsible for an NVMe-like implementation (hard- and software). The 3rd version of the firmware recognized the various components as threads, but there was no need for preemption (which would require expensive locking). Traditional scheduling would work, but you actually know exactly which thread should execute next (hardware will signal done), so an explicit yield_to() was far cheaper and only slightly more expensive than a function call.

comment 7y ago · link · parent

First, this is still the dawn of AV1 and the encoder you should be watching is SVT-AV1. You cannot conclude anything about the ultimate of AV1 encoding speed from experiences with a current version of ffmpeg.

As long as AV1 encoding (at useful compression etc) is within a small factor of HVEC, it will not be a factor in its success. License, quality, compression, and decoding speed are the things that matter.

1
343536
52