837 karma · joined Oct 11, 2014 (12y ago) · 272 submissions
comment 10y ago · link · parent
But I agree with the overal message, and I'm looking forward to Rust maturing. I think it is the better language although I am no expert at either.
[1]: but really, when you start using AVX instructions and the like beyond what the compiler will automate for you, you are just using wrappers around assembly instructions in languages like C today anyway (__mm256_shuffpd, __mm256_perm128f2d)
comment 10y ago · link · parent
As an aside, this is regular old Skype, I've heard it being said that "Skype for Business" is a completely different program.
comment 10y ago · link · parent
Regarding the WSJ: it's a technologically unsophisticated (but probably effective) way of having indexing work with a pay-wall (which requires more tracking in and of itself anyway). But selective access does not violate your privacy, only your freedom to view their content. And as much as I oppose the "companies are people too" movement I do think they have a right to selectively serve their content as much as you have a right to decide what you want to do with the bytes they (try) to send you (e.g. adblock them).
comment 10y ago · link · parent
[1] : https://addons.mozilla.org/en-US/firefox/addon/ublock-origin...
[2] : https://chrome.google.com/webstore/detail/ublock-origin/cjpa...
comment 10y ago · link · parent
And I am no webdev, but a quick google seems to show that it is possible to do browser detection completely client-side anyway with Javascript, so even if user-agent strings did not exist they could detect your browser without any kind of fingering.
Granted, if you wanted to do so perhaps you could use this to circumnavigate people hiding their user-agent by having the generated link be a hosted redirect link, that way you know that if someone clicked redirect-firefox.theirdomain.org they were using firefox even if they hid their user-agent string. But it's not really fair to assume that in this case. (and i have to wonder what the value of an ip-adress/browser pair is).
comment 10y ago · link · parent
comment 10y ago · link · parent
However I also always comment nested logic chains with their intent in plain language. I have made bugs in going from intent->complex logic to often, and I found that writing comments at each fork greatly reduces these errors as well as the odds of missing an edge case.
e.g., I'd write "if(a) and not b" in plain English at the nested else statement, possibly followed by a "what & why" comment at the do_thing_b statement.
comment 10y ago · link · parent
I would say I have a pretty good understanding of how C & my code in general works, I'm currently trying to create a threadpool with support for co-routines/yielding to other threads in userspace. Nothing super fancy, but not something you can do without understanding how code is actually executed ;)
But I still lost an hours work last week because I hadn't put a brace after an if statement and when I came back to it, I didn't notice the lack of braces and put an extra statement behind it. This is why I usually stick to putting braces around everything.
comment 10y ago · link · parent
comment 10y ago · link · parent
Who knows, maybe internally they're even looking at making things more open but that could require a lot more work w.r.t. scanning for patents and such in their code and perhaps they want to have a strong solid release of whatever they would consider a "full system" before they put up their code for all to see.
Apple doen't, historically, have much of a history of opening up but they did open up Swift recently. Perhaps new winds are starting to blow like they did at Microsoft.
comment 10y ago · link · parent
comment 10y ago · link · parent
Maybe it is not possible yet legally, but why shouldn't we allow this? The courts can already force people to be commited for mental afflictions when they are a danger to themselves or others. Why not do the same for (heavy) drug addicts who start becoming a liability?
comment 10y ago · link · parent
And of course, a newer version does not neccesarilly mean that the out-of-date implementations will suddenly become "in-date": if anything they're even more out of date now ;)
comment 10y ago · link · parent
And I'm currently working on my Msc. in computational science (and possibly a PhD. afterwards) so I'm also going to see how easy it is to shoehorn generic-HPC into this API. OpenCL is nice (well... maybe not nice but workable) but historically the graphics APIs have had better performance for less work. But I guess you could count me as a low level API programmer come to think of it.
comment 10y ago · link · parent
Pretty sure me and some random mugger are the only people who even care about the value of my phone.
>there is a possibility that they have to open up these parts to the consumer as well.
There is a whole lot of precedent that says this isn't going to happen. Even if manufacturers wanted to do this, I'd expect we'd see laws in turn which gag them so that " the terrorists can't break our backdoors".
comment 10y ago · link · parent
comment 10y ago · link · parent
If I don't watch it, they don't get my money and I don't get any enjoyment out of the product.
If I pirate it, they don't get my money but I do get the enjoyment. Also they get possible word-of-mouth advertising.
I fail to see any objective or moral reason as to why I shouldn't pirate in this case.
comment 10y ago · link · parent
Nitpicky, but I believe it says that any European country can have laws which allow this but they are not required to allow it. E.g. the Belgium Gov't might still pass a law which says companies are not allowed to do this.
comment 10y ago · link · parent
I'm willing to accept that the claims of them suing various people. But I wouldn't call these cases frivolous per se: They could very well believe that they were denied participation in a parade on a discriminatory basis. I wouldn't necessarily say I think it is the right approach to take but the examples they give are not that absurd in today's world. (And could also be the work of but a small subsection of the group).
comment 10y ago · link · parent
MxM_4x4 is my function, say we have AB=C then it loads B transposed into registers, then for each row it uses 4 multiplications to calculate to row(A)column(B) products, 2 HADD for summing half of the generated products, then 2 permutations to line up the vectors, and one final sum to compute a row of C.
MxM_4x4_2 is a direct port to doubles instead of floats of intel's example on the provided link. When compiled with -O3 my compiler produces the same code in terms of assembly instructions as Intel's example explictlly writes.
(Note the name of the repo, I know it's not pretty ;) )
comment 10y ago · link · parent
Granted, Intel's implementation was for 8x8 (floats), perhaps that makes a difference in the instruction pipelining. I'll see if it does later.