HNHacker News
TopNewBestAskShowJobs

redtuesday

499 karma · joined April 5, 2013

submissionscomments
redtuesday··on Elm for the Front End, Right Now
Yes, I agree, that took me also some time to get used to when I dabbled with Haskell and I looked at more complex programs.
redtuesday··on Elm for the Front End, Right Now
Because I really like syntax like Haskell (the type signature is much clearer especially in generic code compared to Java or Scala etc. for example), I'm curious, what is so uncomfortable about the syntax?
redtuesday··on Scala 2.12.0 is now available
> This language has bright future.

Yeah, it definitely looks good (to me). Dotty looks really promising to a layman like me especially since it's based on the machine-checked DOT calculus, so should have a better foundation than scalac. Then there are big projects like Spark, Akka, Play etc. But what I like the most about Scala at the moment is the continued effort regarding Scala.js, which seems to be one of the best compile-2-javascript projects. I like ur/web, and what comes the closest to it seems to be scala/scala.js.

I wonder if the collection redesign which is planned for scala 2.13 helps reduce the file size when compiling to js. Hello world is around ~40 kb (minified and gzipped) but goes to 100-150 kb for more involved things.

redtuesday··on Scala 2.12.0 is now available
regarding jar size, from http://get-scala.org/2.12 (mentioned in this thread already):

 	                2.9 	2.10 	2.11 	2.12
  Scala library 	9.0 	7.1 	5.7 	5.5
  Scala compiler 	11.5 	14.5 	15.5 	10.1
  ScalaTest (3.0.0) 	        10.5 	10.4 	7.0
data is in Megabyte. Compilation would be interesting, since I have read multiple times that it is slower due to a jvm bug. Only a few days ago for example: https://www.reddit.com/r/programming/comments/5ab948/scala_2...
redtuesday··on Pixels and voxels, the long answer
Yeah, I also really like low poly stuff. To be honest I even have a folder with low poly pictures on my computer. Would especially love to see a classic JRPG with this style.

Do you mean 8 bit armies? [0]

[0] https://www.gog.com/game/8bit_armies

redtuesday··on Fungus in humans identified for first time as key factor in Crohn's disease
My memory has failed me.

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4209544/

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3974513/

redtuesday··on Fungus in humans identified for first time as key factor in Crohn's disease
If I remember correctly there was another study a few years back in europe (by Prof Raedler?) which was not as effective. Will try to dig it up tomorrow, I'm too sleepy right now.
redtuesday··on IBM’s 24-core Power9 chip
at least one company want's this cpu [1], (but since one of the reimplementors of the superH architecture, or whatever you want to call them, works there - as CEO in fact - , take it with a huge grain of salt).

since you seem to know about the power consumption, can you please share some numbers about the power consumption of the jcore cpu (on a comparable process to other cpu's build for IoT devices, usb controllers etc)?

jcore is not intended to be a replacement for the main cpu, so this would be really interesting to me, and would save me from asking on the mailing list. ;P

[1] http://se-instruments.com/press_releases/sei-adopts-open-sou...

redtuesday··on The Docker security philosophy is “secure by default”
Is it intended that the last two have nothing after the equal sign? If yes, what does that do?

There is also --pids-limit=<some number> against fork bombs.

EDIT - this git repo has more links to security related articles etc. https://github.com/wsargent/docker-cheat-sheet#security

redtuesday··on IBM’s 24-core Power9 chip
Yeah, or possibly j-core j2 [0] if you fab the chips yourself and don't need much power.

[0] http://j-core.org/

redtuesday··on IBM’s 24-core Power9 chip
No, although I prefer the die shot from Power8 (probably because of better symmetry) [0], I like it as well. But nothing comes close to Nvidia GF100 for me. [1]

[0] http://www.extremetech.com/wp-content/uploads/2014/04/ibm-po...

[1] http://images.anandtech.com/galleries/693/DieShot_GF100_Arch...

[2] (forum thread with many die shots) http://www.cpu-world.com/forum/viewtopic.php?t=19888

redtuesday··on IBM’s 24-core Power9 chip
I don't know why, but I always had a thing for Power CPU's. Really curious how Power9 compares to Power8 and Intel Broadwell-EP/EX when it comes to power efficiency (and of course performance wise).
redtuesday··on A Comprehensive Study on the Energy Efficiency of Java Thread-Safe Collections [pdf]
Thanks for posting this. Because of it I just remembered that I saved a slightly similar link [1] and the github repo of the used jvm/scala library [2] into my bookmarks years ago, but haven't read them yet.

[1] https://hal.inria.fr/hal-00681560v3/document

[2] https://github.com/Spirals-Team/powerapi

redtuesday··on Surround 360 is now open source
There is also 360heros [1][2] which can use up to 14 GoPro cameras for under 10.000.

[1] http://www.360heros.com/2014/01/worlds-first-fully-spherical...

[2] http://shop.360heros.com/3DPRO-360-VIDEO-p/3dpro.htm

redtuesday··on AMD has put an SSD on a graphics card
Here is a video that shows the GPU in action: https://amp.twimg.com/v/b080f46d-e408-4348-864e-7cc12e40d1ac
redtuesday··on AMD Radeon Pro SSG – Polaris GPU with M2 SSD On-Board
more links:

- video showing the card in action: https://amp.twimg.com/v/b080f46d-e408-4348-864e-7cc12e40d1ac

- press release: http://ir.amd.com/phoenix.zhtml?c=74093&p=irol-newsArticle&I...

- radeon blog(?): http://radeon.com/radeon-pro-ssg/

redtuesday··on SoftBank Group Nears Deal to Buy ARM Holdings
Yes, I was not really sure how representable Cinebench is, hence my question how sure the parent is. But the benchmarks were easy to come by (back when I posted them already a while back). The only other benchmark I could find that had CPUs from Pentium 4 up to Haswell was Geekbench.

Would love to see someone do a benchmark like that (would do it myself if I had enough spare money), with equal clock and memory bandwith etc.

EDIT: after reading the critique about libquantum on wikipedia I'm even more interested in the benchmarks.

"In the SpecInt2006 benchmarks, the 462.libquantum benchmark is highly vectorizable. The baseline computer for all benchmarks is a 1997 Sun Ultrasparc server computer. Whereas most of the spec sub-benchmarks turn in a performance improvement of about 5x to 80x times faster than the Ultrasparc, the particular 462.libquantum sub-benchmark turns in a result that is up to 4082 times faster than the Sun Ultrasparc .[3] This suggests that for this sub-benchmark, most of the improvements over the Ultrasparc are due to vectorizing compiler improvements, NOT due to CPU hardware improvements, since 1997."

redtuesday··on SoftBank Group Nears Deal to Buy ARM Holdings
Are you sure about the single thread performance? Because the jump from Pentium 3 to Pentium 4 was not that large, but the jump from Pentium 4 to Core 2 Duo (2006) was. All the jumps after that (Nehalem etc.) were larger than the jumps we have nowdays, and the jump to Sandy Bride (2011) was really large. Only since then has the single thread performance stagnated.

Cinebench R10 32 bit single thread scores:

  Intel Pentium 4 660    - 3.60 Ghz - 2245 Points
  AMD Athlon X2 6000+    - 3.00 Ghz - 2848 Points
  Intel Core2 Duo E8400  - 3.00 Ghz - 3647 Points
  AMD Phenom II X6 1075T - 3.00 Ghz - 3820 Points
  AMD FX 8320E           - 3.20 Ghz - 4056 Points
  Intel Core i7 950      - 3.06 Ghz - 4353 Points
  Intel Core i7 3930     - 3.20 Ghz - 6268 Points 
  Intel Core i7 5960X    - 3.00 Ghz - 6950 Points
redtuesday··on More Women Than Men Are Obese in America, and Gap Is Widening (2015)
The people could also just eat healtier, right (if they can afford it, that is)?

"All things are poison and nothing is without poison, only the dosage makes a thing not poison."

But I guess if sugar etc. would get a high tax, the tax money could be used to better educate the people which could possibly turn them away from too much sugar. And if we are at it, remove mc donalds, burger king etc. from the school grounds and sell healtier food.

redtuesday··on Learning to code as a 30-year-old kid with Apple’s Swift Playgrounds
I really like nand2tetris [1] in which one builds a computer from NAND gates upwards. You build the ALU etc., an assembler, compiler, a OS and VM on which you can run your own version of tetris, snake, whatever. It doesn't teach programming directly, but could be used to teach programming when the first parts are reached that require programming (I believe it was Chapter 6 - Assembler).

The hardware part of the course is also available on coursera now. [2] Previous discussion on hn [3].

[1] http://www.nand2tetris.org/

[2] https://www.coursera.org/learn/build-a-computer

[3] https://news.ycombinator.com/item?id=5888705

redtuesday··on The Problem with Reality
That's why I look forward to StarVR [1] from Starbreeze Studios (or what the competition will do if it hit's the market. I'm a bit skeptical if Starbreeze has enough resources), since it has a field of view of 210 degrees, which allows the user to look to the corner of the eye and see stuff like in real life.

It seems in the next prototype they want to also integrate eye tracking, which hopefully works great together. The downside of the current prototype seems to be the weight, only 60 hz refresh and hard to make optics which have a tight sweet spot, and if you are not in the sweet spot it looks bad.

[1] http://www.starvr.com/

redtuesday··on Sharpest ever view of the Andromeda Galaxy (2015)
If you like this you might also enjoy this [1] 46 billion pixel image of our own galaxy (sadly not as sharp as the andromeda one). Taken from a link [2] I posted a while back.

[1] http://gds.astro.rub.de/

[2] http://aktuell.ruhr-uni-bochum.de/pm2015/pm00143.html.en

redtuesday··on AMD Radeon RX 480 Review on Linux
ArsTechnica - http://arstechnica.co.uk/gadgets/2016/06/amd-rx-480-polaris-...

AnandTech Preview - http://www.anandtech.com/show/10446/the-amd-radeon-rx-480-pr...

Gruru3D - http://www.guru3d.com/articles-pages/amd-radeon-r9-rx-480-8g...

Tom's Hardware - http://www.tomshardware.com/reviews/amd-radeon-rx-480-polari...

TechpowerUp - https://www.techpowerup.com/reviews/AMD/RX_480_Crossfire/

Pc Games Hardware (German) - http://www.pcgameshardware.de/AMD-Radeon-Grafikkarte-255597/...

Computerbase (German) - https://www.computerbase.de/2016-06/radeon-rx-480-test/

Digital Foundry - http://www.eurogamer.net/articles/digitalfoundry-2016-amd-ra...

redtuesday··on UK votes to leave EU
Have you a source for that? Would like to read up on that. I was always under the impression that Greece was already not that stable financial before entering the EU, and that they faked their economic data/audit with the help of a bank from the US to get into the EU (and EU politicans knowing about it but ignoring it).
redtuesday··on UK votes to leave EU
"Bureaucracy, Greed, Idiotism to name a few. " which country doesn't have these enemies?

btw: it's Gerhard Schroder, not Kohl. ;o)

redtuesday··on Petition for London independence signed by thousands after Brexit vote
I actually like the direct democracy system switzerland has. A poster on neogaf made a good comment about it:

"As a Swiss citizen and, thus, a strong believer in the merits of direct democracy, I have to respectfully disagree :-) Elements of direct democracy can work very well, 'if' (and that's a pretty significant if) there are appropriate institutional safeguards in place and there is an actual lived culture of regular direct democratic political participation (as in Switzerland where we vote four times a year on numerous important and less important issues both on the communal, the state and the federal level).

However, calling one-off referendums on momentous issues that severely affect the course of an entire nation in a representative democracy is, indeed, bullshit if you ask me. I mean, we're seeing the results right now. [1]

Several things in fact:

- We have proportional representation, which insures that the constitution of our parliament actually reflects the will of the voting populace (but that's true of most representative democracies as well, of course; I know that the UK with its FPtP system is a special case in that regard).

- There is no oppositional party system. No party has an absolute majority in parliament (as in the UK) and there are also no formal coalitions among parties (as, for example, in Germany). Individual bills are drafted and passed as a result of compromises among several parties.

- Same goes for the executive branch. Our government is a directorate of seven ministers elected from the country's four largest parties. We don't have a PM calling the shots and setting the agenda, but a committee of politicians with different ideas and ideologies being bound to constructively work together and compromise to actually get things done.

- All this means that bills passing through parliament are usually rather moderate compromises that already have the support of several parties. Swiss parliament procedures are usually very slow because of that whole "finding compromises" thing, but it also means less "scattershot politics". When a bill passes, it usually means that it's here to stay and won't be rescinded by a different government just a few years down the line.

- Furthermore, politicians are fully aware that controversial bills will ultimately have to pass a people's referendum. This means that they tend not to come up with proposals that go too far or are too radical, because radical (far-left or far-right) bills usually don't stand a chance in a referendum.

- With regards to people's initiatives, they're quite rare to actually pass, because you don't just have to carry the majority of the voting populace but of the Cantons (states) as well.

- Also, people's initiatives can only be proposed on a constitutional level. That means that if an initiative passes, it is up to the government and/or parliament to actually implement this and come up with the actual laws. Usually, this means that radical proposals put forward through people's initiatives are, if they actually manage to pass a vote, toned down significantly the parliamentary procedure that follows.

That's just a very rough outline of what I meant by "institutional safeguards". I'm not saying that it's perfect (nothing is), but considering the sheer amount of issues that we have the privilege to vote on each year, I think it's safe to say that the system works out very well in >90% of the cases. As I said, however, all of this is deeply ingrained in the structure and everyday reality of our political system, so it's a different beast to a purely representative democracy doing a one-off referendum on a momentous issue." [2]

[1] http://www.neogaf.com/forum/showpost.php?p=208220412&postcou...

[2] http://www.neogaf.com/forum/showpost.php?p=208223523&postcou...

redtuesday··on First 1,000-processor chip: Thought to be the fastest chip designed in a uni lab
Is this related to this CPU from ~2006: https://en.wikipedia.org/wiki/Kilocore ? (at least the name is the same and IBM is involved again). After searching a little bit it seems they only use the same name because of the 1000 cores (kilo). The previous chip seems to be related to carnegie mellon.

EDIT: the original source from uc davis: https://www.ucdavis.edu/news/worlds-first-1000-processor-chi...

redtuesday··on The Intel ME subsystem can take over your machine, can't be audited
That's why I like the initiative to revive the SuperH architecture now that the patents have run out - completely as open source. [1][2] Sure they are not fast enough to replace Intel or AMD CPU's but they could replace the smaller chips in our computers, which would be a good start.

[1] http://0pf.org/j-core.html [2] https://www.youtube.com/watch?v=lZGHbMS882w

redtuesday··on Workman Keyboard layout
Or even better, do both. Someone recently posted a new layout for the Ergodox Keyboard which looks quite efficient (generated by a programm written in Rust). [1]

[1] https://xsznix.wordpress.com/2016/05/16/introducing-the-rsth...

redtuesday··on Intel and ME, and why we should get rid of ME
Just wanted to point out that there is a petition to release a ME less CPU: https://puri.sm/posts/petition-for-intel-to-release-an-me-le...

Doubt that will change anything (willingness, price for probably new masks etc. etc.) but it would certainly be nice.

← PreviousPage 4 of 7Next →