HNHacker News
TopNewBestAskShowJobs

mattst88

517 karma · joined April 28, 2012

https://mattst88.com/

Netflix. ex-Google. ex-Intel. Gentoo Developer.

submissionscomments
mattst88··on Assembly Gems
Indeed. The x86 equivalent gem (http://dflund.se/~john_e/gems/gem0001.html) makes a point to note that. Odd that it's not mentioned on the m68k page.

For what it's worth, my copy of the C11 spec says

  The abs, labs, and llabs functions compute the absolute value of an integer j. If the result cannot be represented, the behavior is undefined. 304)
  
  304) The absolute value of the most negative number cannot be represented in two’s complement.
mattst88··on Skylake’s graphics architecture: Intel is still gunning for dedicated GPUs
The documentation isn't released yet (it usually trails the hardware release by a few months) but when it is available it will be located on the website of Intel's Open Source Technology Center: https://01.org/linuxgraphics/documentation/hardware-specific...

And, my team at Intel is writing drivers for it as part of the Mesa project (http://mesa3d.sourceforge.net)

mattst88··on Re: C as used/implemented in practice
I suspect that the overwhelming majority of cases that warrant inline assembly would not benefit if it was instead a function call out to something you've linked in. That is, most inline assembly is a small snippet of optimized code that necessarily exists in the function you're optimizing.
mattst88··on I Hate the New Macbooks
The lack of ports (notably ethernet) is minorly annoying to me, but much worse than that is the totally inadequate cooling. My 2013 15" MBP quickly overheats and thermally throttles when compiling. Maxing the fans doesn't help much -- there are only tiny slits for air intakes.
mattst88··on What did you learn so far this year?
Congrats on finishing. Your experience sounds a lot like mine.
mattst88··on Google Is Now a 'Tier Two' Employer, Says Recent Comp-Sci Grad
Not in itself, no. I'd be happy to have a PhD writing unit tests for me, but if they're overqualified for that (which I think is the assumption we're making) I'd probably rather have them working on a harder problem.

I think the point is that it's not an efficient use of their skills.

mattst88··on ARM64 Open Laptop Concept
I saw him speak last night, and he had what looked like a Thinkpad X60 -- http://shop.gluglug.org.uk/product/ibm-lenovo-thinkpad-x60-c...
mattst88··on Animated Mean Center of Population for the United States: 1790 to 2010
Distance, as well as population, is a factor in the mean center of population. Even today there isn't close to a majority of the population living west of the Mississippi.
mattst88··on The Truth on OpenGL Driver Quality
Tessellation shaders were a part of GL 4.0. See https://developer.apple.com/graphicsimaging/opengl/capabilit...
mattst88··on Mathematicians trace source of Rogers-Ramanujan identities, find algebraic gold
> Primitive values are automatically initialized to 0 in C.

No, they're not. Automatic variables without an initializer have an indeterminate value. See http://stackoverflow.com/questions/6212921/is-un-initialized...

mattst88··on Why is Stack Overflow so negative of late?
We know how successful karma/reputation systems are at encouraging users to contribute good content. The unexpected thing I've learned from Stack Overflow is that the reputation system, when it doesn't work as expected, can also be demotivating.

My personal experience has been mixed with regards to how successfully my answers are accepted. On multiple occasions, I've answered questions first, only to have another answer accepted that contained the same content as mine but was posted hours later.

I don't know if this is a common experience or if my sample size is too small. In any case it's a bit frustrating.

mattst88··on Electric car owner charged with stealing 5 cents’ worth of electricity [video]
> it seems completely reasonable to me

Fifteen hours in the county jail seems reasonable for the theft of a nickel? I hope you're not making our laws.

mattst88··on Mesa 10.0 released
OpenGL 3.3 (plus many extensions), in fact. :)
mattst88··on A look under the hood at Linux on the Playstation 4
The article's title is rather misleading as the article has nothing to do with Linux. The Playstation 4's operating system is in fact rumored to be based on FreeBSD, not Linux, and the article even says as much.

Beyond this, I don't think the article says anything new.

mattst88··on Is Intel within ARM’s reach? Pedestrian Detection shows the way
That's a Westmere from Jan 2010. Westmere -> Sandy Bridge -> Ivy Bridge -> Haswell.

Comparing with something from 3.5 years and 3 generations ago is useful?

mattst88··on LibreOffice 4.1 New Features and Fixes
I'm not sure what you mean. It uses the external libmwaw library, like it already uses libwpd (for WordPerfect) and libwps (for Microsoft Works).
mattst88··on New Argument in Forced-Decryption Case: Defendant’s Memory Is Ticking Clock
> “Some encryption effects erasure of the encrypted data (so it ceases to exist), in which case decryption constitutes re-creation of the data, rather than simply unlocking still-existing data,” Shellow wrote in a court filing. (.pdf)

If I understand this correctly, the claim is that without the password the data does not exist, so by entering the password the data is recreated.

This is an interesting argument I can imagine a lawyer making to a judge or jury that doesn't know any better, but it's totally bogus.

The data exists, it's just encrypted. Claiming that is doesn't exist and is recreated by the password is disingenuous.

mattst88··on Why GL Now
We (the Linux GL driver team) are planning for a February release of our driver that is ES 3.0 compliant.
mattst88··on AMD’s layoffs target engineering; Board incompetence dooms the company
> Intel graphics card don't count if you're doing serious 3D work.

(I started work on the 3D driver team at Intel in July, but everything I say is my own opinion.)

Historically, I think you might be right. Lately (the last few years) I think Intel significantly improved both its hardware and drivers.

The i965 driver is the only free software driver that supports OpenGL 3.1. The team I'm on is responsible for a huge number of improvements to the 3D stack, including rewriting the GLSL compiler which benefits the Radeon and Nouveau drivers as well.

We've had engineers visit Valve in person and make sure that their stuff will work well on our drivers. I'd consider what Valve is doing to be "serious 3D work."

Sandy Bridge and Ivy Bridge are pretty respectable. Haswell will be even better. You should reconsider your position.

mattst88··on Apple builds massive 20 Megawatt solar farm in North Carolina
Why don't we just start using the actual unit of Energy (joules) instead of Power times Time, i.e., Energy per Time times Time?
mattst88··on The FFmpeg/Libav situation
It's interesting that you mention Theo, since apparently the reason OpenBSD exists is because he couldn't get along with the other core NetBSD developers.
mattst88··on The FFmpeg/Libav situation
Gentoo developers elect its Council, and the Foundation members (large overlap with the developers set) elect the Trustees.
mattst88··on Linux users: watch out for last-gen Intel Atom
I don't really know anything about those drivers (they're not handled by the open source team). No one on the open source team likes them either.

It has seemed to me that using these PVR chips has always been a stop gap measure for Atom until the in-house graphics were ready (where ready means sufficiently energy efficient or something). This seems to be confirmed by the fact that ValleyView graphics are going to be coming to Atom.

mattst88··on Linux users: watch out for last-gen Intel Atom
Intel was the first vendor to have open source OpenGL 3.0 drivers, and have really driven Mesa development for the last few years. That hardly feels like "no features at all."

Disclaimer: I'm starting at Intel on the open source graphics team next month.

mattst88··on Linux users: watch out for last-gen Intel Atom
Your Core i5 should have graphics with VA-API (http://en.wikipedia.org/wiki/Video_Acceleration_API) support, which shouldn't have any trouble playing 1080p video.
mattst88··on Rms has his bag stolen in Argentina
The man who runs Freedom Included, Inc. (the seller of the laptop through Amazon) works at the Free Software Foundation with RMS. I don't think RMS will have trouble getting a new laptop.
mattst88··on Massive Speed Gains via Parallelized BZIP2 Compression
I used to use pbzip2 before I learned about lbzip2 (http://lacos.hu/)

lbzip2 is able to decompress single streams using multiple threads, which apparently pbzip2 cannot do. See the thread beginning with http://lists.debian.org/debian-mentors/2009/02/msg00098.html

mattst88··on Airplane boarding simulations
Conceptually back-to-front seems to make the most sense, but as the simulations show it's still not efficient. So instead of plainly loading back-to-front, load back-to-front but skip rows.

That is, if there are 25 rows on the plane, load rows 25, 20, 15, 10, and 5 at once in that order, and in the second wave load 24, 19, 14, 9, 4, etc. That way, the people sitting in row 25 will have a 4 row buffer between them and the next passengers to wait while they get seated and aren't blocking the next group (in row 20) from being seated.

Does that seem reasonable?

mattst88··on Why you should be careful about 'optimizations'
> So 5.4 | 0 will gives 5, which is a flooring operation. However, -5.4 will give -5. And that’s a ceiling operation.

So, | is actually doing a round toward zero. It seems like the problem described is actually caused by simply misunderstanding what the floor function does (round toward negative infinity).

mattst88··on How useful is a Physics degree?
I signed up for this comment.

I graduated from a small liberal arts school with a degree in Physics (and a minor in CS). I actually would have done Computer Science, but the university's program didn't teach the things I was interested in -- but let me be clear: computers were my primary passion.

I got a software engineering job offer after graduation, but I decided to go to grad school instead and I'm now finishing a masters in Computer Science. When I started, I was worried that not having a BS in Computer Science would handicap me compared to other students, but it didn't seem to (or at least grad school is hard enough for everyone that I didn't stand out).

My work and my interests are in Free Software, and what I'm finding out in applying for jobs is that companies (especially those that deal with Free Software) care very much about your contributions to Free Software. It's obviously easier to get a handle on someone's skills if their entire portfolio of work is available in public git repositories.

In working with different projects, I've also gotten to know developers who work on the teams that I'm applying for jobs on. I feel like this gives an extra advantage that's not easily available in other fields.

The summary of this is that the degree doesn't matter so much. What matters (at least in the world of Free Software) is what have you contributed and who have you worked with.

Another data point: a number of really good software developers at Red Hat have non-computer degrees or no degrees at all.

Owen Taylor (GNOME) - Physics

Jerome Glisse (AMD driver) - PhD in Biology

Matthew Garret (Kernel, power management) - PhD in Biology

Ben Skeggs (Nouveau driver) - no degree

← PreviousPage 4 of 4