Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 9y ago · link · parent

Oh please. It's just someone enjoying a challenge and hunting down something for gratification. Let's not make it out to be more than it is. There have always been people that go above and beyond for intellectual gratification and out of nothing more than curiosity.

There have always been people willing to do things like this for "no good reason" and for nothing in return since time immemorial. I don't want to live in a world devoid of such awesomeness. I've done it myself and hope to continue to do so, even being cognizant as I am that someone may benefit from my toils without my making a buck. If I spend a month developing an open source library that does something novel and release it under a liberal license (MIT, BSD) on GitHub, am I not doing the same sort of thing every day?

This SE answer is awesome and it's helpful and insightful; but it isn't an example of capitalism at work and poor people being fleeced out of their time and money so the big guy can make a buck.

Respect to the poster. That was some legit research.

comment 9y ago · link · parent

The only accurate sleep detection I've had from all the devices I've tried is, surprisingly, my $20 MiBand (both the original and the MiBand 2). I don't think it's a hardware issue, I'm pretty sure it's just stupid software.

The results I've gotten from the SleepCycle iPhone app - all the way back in 2009 - are more precise than any of those other fitness trackers. It used to rely on the uber-sensitive iPhone accelerometer but they "recently" switched to using the microphone for some reason.

comment 9y ago · link · parent

Reminds me of aspartame. It's probably the only drug that's been studied more than glyphosate as a result of bad science causing public outrage.

comment 9y ago · link · parent

Which is why most av products will flag any upx or mpress binary as "Trojan unknown" etc.

They mostly use a whitelist approach to work around that. Ask me how I know sometime.

comment 9y ago · link · parent

I'm not sure how the elevator works, but if you've ever tried to toss a magnet down a copper tube, it appears to defy gravity - no electricity involved. Something similar could work to create a "fail-proof" elevator.

comment 9y ago · link · parent

No, that's not what I meant. In the past, Intel's microcode updates have simply disabled the broken functionality as an official solution.

http://techreport.com/news/26911/errata-prompts-intel-to-dis...

comment 9y ago · link · parent

So, serious question: If the microcode "fix" for this ends up disabling HT, how does one get a refund not just for the CPU but for the $3k laptop I spec'd around it? Without needing to sue?

This isn't a hypothetical; what did Intel do when the only fix for broken functionality was to disable TSX entirely?

comment 9y ago · link · parent

If this "fix" ends up disabling HT, how can I get a refund not just for the CPU but for the $3k laptop I spec'd around it? Without needing to sue?

comment 9y ago · link · parent

> if performance is of any concern, don't use CBC.

The idea there is not the absolute performance but rather the relative speed of the operation with and without hardware acceleration.

(additionally, openssl does not expose aes-128-ctr or gcm as an `openssl speed` option.)

comment 9y ago · link · parent

Maybe twitter will watch and learn. They have some similar problems.

comment 9y ago · link · parent

The Washington Post has published a yearly list of the most challenging schools in the nation since 2013. This year, they redirected all guys to the old lists to the 2017 version. They block Google from caching their content, and the internet archive caches only the front-end HTML and not the final DOM, which means the list, populated via JS, is not in the IA's cache.

I needed to reference that list and spent hours scouring the internet for individual mentions of awards and placements to piece together a partial view of the results for one state for some of the years. It was horrible, but the worst part of it was the realization that this is but a single example, that the impermanence of the internet it's going to lead to a very sad loss of some very important data that we will dearly regret in the years to come.

It's also no longer sufficient to cache text and HTML; sites like NYT and WaPo have put massive work and countless man-hours into web apps that contain valuable data that relies on the presence of a back end server to populate the front-end, and rich JS apps to portray that data. It's going to be a challenge.

comment 9y ago · link · parent

Maybe Twitter can follow suit...

comment 9y ago · link · parent

I don't view it's counterpart to be C++ these days; dlang is a GC'd language, so it's actually probably fairer to compare it to Go instead.

comment 9y ago · link · parent

Are you kidding? If that's really what this does, you've just properly sandboxed a horribly insecure binary plugin, eliminated the need to constantly install patches, heck, eliminated the need to even install a plugin whatsoever.

comment 9y ago · link · parent

I would never hire someone that properly doesn't use industry standard software that's purpose-built for the task just because the site name "makes them uncomfortable."

comment 9y ago · link · parent

Not just colour. The actual formatting and layout of ls output changes, too.

comment 9y ago · link · parent

Speaking of hashing quickly, I actually just posted an article about hardware-assisted SHA calculations and their support (or lack thereof) in mainstream processors, if anyone is interested.

https://neosmart.net/blog/2017/will-amds-ryzen-finally-bring...

comment 9y ago · link · parent

I just posted this yesterday about Naples/Epyc already having a huge advantage over Xeons for certain server workloads due to support for hardware-assisted SHA calculations: https://neosmart.net/blog/2017/will-amds-ryzen-finally-bring... , already supported by the Linux kernel and many open source crypto libraries.

I honestly had no clue this reveal was right around the corner. These numbers really do give AMD a fighting chance here.

comment 9y ago · link · parent

Ce qui est bien pensé se dit clairement ?

Edit: nevermind. I was way off.

Ce qui se conçoit bien s'énonce clairement, et les mots pour le dire arrivent aisément.

comment 9y ago · link · parent

We use JS encryption heavily in a number of our webapps, so I'm not unfamiliar with its advantages. But relying on JS encryption to provide "security" over unencrypted HTTP is just asking for trouble. It's the "secure on paper, broken in practice" kind of thing that ends up being a huge liability.

5541.

Will AMD's Ryzen Finally Bring SHA Encryption to Intel's CPUs?(neosmart.net ↗)

2 points · by ComputerGuru · 9y ago · discuss

comment 9y ago · link · parent

WordPress has access to server-side scripting, why would you use js encryption there?

comment 9y ago · link · parent

People tend to forget about "the flyover states," but here in Chicago we get ~55% of our power (that was back in 2011 [0]) from renewable and nuclear sources, and have access to similar pricing as a result.

[0]: http://chicagoloopster.medill.northwestern.edu/2012/01/27/so...

comment 9y ago · link · parent

There's no good reason to use md5, period. If performance matters and security doesn't, use something like mmhash3. If security matters and speed doesn't, use something like SHA-512 (optionally truncated to 256 bits). If both matter, use something like siphash if a prf will do or blake2 if you need a true, high-speed cryptographic hash.

(Actually, besides portability and interoperability, there's probably no good reason to use SHA-anything over blake2. Although if you are working in environments that provide hardware crypto support (Intel SHA Extensions on Atom, now also supported on Ryzen so maybe we'll see it on the desktop, too), SHA becomes faster than blake2 and you should use that instead.)

If at any point you find yourself in a situation where your hash being computed too fast poses a security risk, that should be a HUGE warning. Hashes should be fast, cryptographic or otherwise. If you need a "slow hash" you are probably looking for a derivation algorithm and not a hash and should be looking at scrypt, bcrypt, or even pbkdf2.

comment 9y ago · link · parent

Not for an event where the total eclipse will only be visible in the continental US. The map in TFA changes timezones so that local time is always used. It's the same as flight schedules where takeoff and ETA are always represented in local time.

comment 9y ago · link · parent

It's a solved problem, just with a solution too expensive to be adopted: send them on a one-way trip to the sun, BSG-style.

comment 9y ago · link · parent

Like I said, no technical reason. Just a user experience one.

comment 9y ago · link · parent

I think this is an article written by someone that does not have an appreciation for static typing, ahead of time compilation, and the compiler benefits thereof. Also, it seems that a deeper study of WPF is warranted since some things it is claimed WPF cannot do are, in fact, quite possible.

comment 9y ago · link · parent

I imagine an upgrade path from 32-bit to 64-bit installations would take care of a huge chunk of the population MS keeps the 32-bit editions around for (enterprise 32-bit installations on 64-bit-capable hardware).

There's no technical reason this cannot be offered, as the Windows installer already replaces all system directories, detects incompatible hardware, disables drivers that aren't supported, and everything else that would be technically required.

comment 9y ago · link · parent

> Additionally, altricial species tend to be much more intelligent so that's another factor to weigh in on which evolutionary strategy is optimal for a given species.

That's up for debate, as koalas and kangaroos challenge that notion. Then again, those are both marsupials from Australia; it's possible they are exceptions for some reason due to other, environmental factors.

1
184185186
277