Better HN
topnewbestaskshowjobs
Log inSign up

dfritz

24 karma · joined Oct 16, 2014 (12y ago) · 9 submissions

Submissions

comment 10y ago · link · parent

They finally did it! The $1000 smartphone!

Thankfully, for only $649, you can get the 32 GB version, which has the same storage capacity as the Nexus 5 released in october 2013. Oh yes, the Nexus 5 was sold for $150 less.

comment 10y ago · link · parent

I like how the repository's history was discretely rewritten since then.

Commit 7cc9a8fff679fcd31bca7d18c8b3b960796d032f was replaced by bcc3e09783ca31039183d5084d8480bd76d531f5, without the sunxi-debug.c file.

Compare https://github.com/allwinner-zh/linux-3.4-sunxi/commit/7cc9a... (original) with https://github.com/allwinner-zh/linux-3.4-sunxi/commit/bcc3e... (modified)

https://github.com/allwinner-zh/linux-3.4-sunxi/blob/7cc9a8f...

https://github.com/allwinner-zh/linux-3.4-sunxi/blob/bcc3e09... → 404

comment 10y ago · link · parent

And everything hidden in this undocumented monster-commit:

https://github.com/allwinner-zh/linux-3.4-sunxi/commit/7cc9a...

He should have added:

3. add a backdoor;

comment 10y ago · link · parent

This project looks promising, but I can't find the link on the website to download the sources.

comment 11y ago · link · parent

This is interesting, but I don't really understand the differences with the existing coroutine libraries like libtask, libconcurrency or libcoro.

Of course, it uses the longjmp/setjmp trick, as suggested by Dmitry Vyukov.

http://www.1024cores.net/home/lock-free-algorithms/tricks/fi...

However, I'm not sure of the benefit of this approach, compared to writing a few lines of stack switching assembly code per architecture. Especially, how portable are the implementations of longjmp and setjmp across the multitude of C libraries and operating systems?

But more importantly, it doesn't seem to solve the two main issues of coroutines libraries written in C that were already solved in Go:

- How does the stack can grow or shrink? (specifying the stack size in the worse case scenario doesn't scale well)

- How can a coroutine be moved to another operating system thread and back? (useful when blocking or when parallelism is needed)

comment 12y ago · link · parent

Yet, the Nexus 5 was already 50€ more expensive than its predecessor, the Nexus 4.

comment 12y ago · link · parent

The Nexus 6 (Snapdragon 805, 2.7 GHz quad-core) have a slightly faster CPU than the Nexus 5 (Snapdragon 800, 2.26 GHz quad-core), but it only reflect the natural performance improvement over time.

The Nexus 6 (184g, 31g/inch) is heavier than the Nexus 5 (130g, 26g/inch), compared to its screen size.

While the battery capacity of the Nexus 6 (3220 mAh) is significantly larger then the Nexus 5 (2300 mAh), people reported the battery life of the Nexus 6 to be shorter.

I can't find any technical improvement that could explain a 1.75x price increase.

comment 12y ago · link · parent

> Pros: Reasonably priced for what it is

A year ago, we had a 5" smartphone (Nexus 5) for 399€ and a 7" tablet (Nexus 7) for 299€. Now, we have a 6" smartphone (Nexus 6) for 699€. Is it reasonably priced?

comment 12y ago · link · parent

That's the same in most companies. But when they say "go build something", it really means "go build something at home, not during your working time!". In my career, the most interesting things I worked on were mostly done on my spare time. Then, I left the company and lost the right to use my own code. Retrospectively, I'd have rather spent this time on my own projects.