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

Politics isn't banned.

comment 9y ago · link · parent

https://news.ycombinator.com/item?id=13726886

It was #1 on the homepage then was instantly buried to #20. I'm not sure how that happened, tbh. This one is also being buried.

Edit: now basically killed.

comment 9y ago · link · parent

People see the press ask questions and be ignored or be given responses that have nothing to do with what was asked and some of them take note. Not allowing the press because you disagree with them is a step away from only allowing government approved press. Welcome to the way things are/were in Nazi Germany, North Korea, Venezuela, Soviet Russia, and other great places to share company with.

Freedom of the press being curtailed to such an extent has /always/ signaled worse things to come in literally every historic precedent, ever.

comment 9y ago · link · parent

AP and Time magazine.

5615.

White House Bars NYT, CNN, and Politico from Briefing(nytimes.com ↗)

660 points · by ComputerGuru · 9y ago · 384 comments

comment 9y ago · link · parent

Not really. AMD's Phenom was a flop and the initial batch had a horrible TLB bug. Their FX processors were also hugely hyped and hugely disappointing.

comment 9y ago · link · parent

So why do you have to change them all?

comment 9y ago · link · parent

> The consensus seem to be that no one discovered this before now, and no bad guys have been scraping this leak for valuable data (passwords, OAuth tokens, PII, other secrets).

This is literally as bad as it gets, anyone trying to palliate the solution has something to sell you. You'd have to be an idiot to think that $organization (public, private, or shadow) doesn't have automated systems to check for something as stupid simple as this by querying resources at random intervals and searching for artifacts.

Someone found it. Probably more than one someone. Denial won't help.

comment 9y ago · link · parent

Some day, the world will wake up to the fact that we've taken the beauty of a decentralized internet and willingly traded it in for a single-point-of-failure design.

I will refrain from any criticism of Cloudflare and what I think about this because they're going through hell as it is. But everyone else is fair game. The higher a level of service you centralize, the more you stand to lose.

comment 9y ago · link · parent

That makes sense. Thank you. `rewrite` should work in those cases.

comment 9y ago · link · parent

You are right and I was wrong.

I do however routinely run into cases where

    some chain | tee inputfile.txt > /dev/null 
also results in lost data. I will try to find it.

comment 9y ago · link · parent

So before anyone chimes in and asks why the title (or the OP) feels the need to point out that this was written in rust and perhaps any upvotes this submission has garnered are just from the rust fanclub.. you're right, I mostly wrote this in rust because of a desire to further familiarize myself with the language (it's been a year since I last used it).

However, I was going to write this anyway as it satisfies an itch I've had for a while. I had an implementation of `rewrite` as a bash script previously, but was not satisfied with it because I'm using `rewrite` in critical parts of my workflow and just don't trust bash the same way I do rust (or C/C++ or any other language, for that matter).

If you're also new to there are a few new things I've learned about rust that show up in the commit history (though not as much as I would have liked). In particular, using .expect() and .to_string_lossy() to avoid using .unwrap() directly (except where user input isn't a possible cause of failure). I had some try! code in there that was replaced by the new ? operator (not to be confused with the same operator in other languages like C#, the ? in rust is more of an inline try..catch rather than a null test/coalescing operator) but that code didn't even make the first commit.

5623.

Show HN: rewrite, a rust-powered in-place file rewrite utility(neosmart.net ↗)

5 points · by ComputerGuru · 9y ago · 5 comments

comment 9y ago · link · parent

Can I ask if you're affiliated with OpnSense? I had a really negative experience with it for its first couple of releases and embraced pfSense instead. In my personal sample set of two, OpnSense was focused on new and pretty instead of reliable and tested, and that's not what my edge router should be running.

comment 9y ago · link · parent

So if you release version 1.0 with hash x, then release version 1.1 with hash y, and then release version 1.0.1 with hash z, 1.0.1 == 1.1?

comment 9y ago · link · parent

Do you have the one that has both the Qwerty and Dvorak legends on each key?

comment 9y ago · link · parent

My Bunn ST Velocity coffee machine [0]. I bought it on September 1, 2011 and have used it every single morning (and then some) since. It has no buttons, no configurations, no options. It makes coffee inside of 120 seconds (because it keeps the water pre-heated). It does not have a glass carafe to break, it does not burn the coffee since it does not use a heated plate but instead pours the coffee into a thermos that keeps it hot for hours. <3

It's not available on Amazon any more (where I got it originally), but I'm not sure if it's actually discontinued or just unavailable. I hope if the former that it's just been replaced by a slightly updated model, but I don't know.

UPDATE: There's still the STX model available [1], it's a bit more garish looking but it seems to be otherwise identical.

0: http://amzn.to/2mdtWs3

1: http://amzn.to/2lZxlhT

comment 9y ago · link · parent

That's hard to believe, their Dvorak/Qwerty version has four or five different keys completely mislabeled, which made me return it because I couldn't trust the product any more.

5629.

New Chrome drive-by 'missing font' scam making the rounds(neosmart.net ↗)

2 points · by ComputerGuru · 9y ago · discuss

comment 9y ago · link · parent

There are increasingly two types of law in the USA: felony punishable by no less than x, and misdemeanor punishable by no more than y.

I've taken to sighing and accepting y and just being grateful it's not a felony if I do it. Felonies are bad, you'll lose your rights, you can't vote, they're harder on you in court, and they follow you everywhere.

I'll take misdemeanors for $1000, Alex.

comment 9y ago · link · parent

High level APIs are used for all crypto. The user does not have to generate their own seed. You can use your own key file or stretch a secret phrase once to create one with the library. Passwords are otherwise not hashed, only encrypted.

comment 9y ago · link · parent

You totally can store sensitive passwords in your source code repo, just so long as they're encrypted. Here's how we do it: https://neosmart.net/blog/2017/securestore-a-net-secrets-man...

SecureStore is designed to be repo-friendly, it purposely avoids needless IV/payload regeneration, is based in plain text, and preserves element order to avoid driving source code managers crazy.

5633.

Show HN: SecureStore, a .NET secrets manager(neosmart.net ↗)

5 points · by ComputerGuru · 9y ago · discuss

comment 9y ago · link · parent

Thanks, good idea.

I just did, though I may have gone overboard as it is more of a paragraph than a sentence. We developed SecureStore out of necessity, believe me, KISS all the way.

comment 9y ago · link · parent

Shamless plug: SecureStore, our .NET secrets manager: https://neosmart.net/blog/2017/securestore-a-net-secrets-man...

I'm drafting a writeup and will post it to HN when that's ready. Other secrets managers I've seen posted to HN seem far too overcomplicated, at least for our company's needs. This is a step up from reading secrets from a plain text file, but not so complicated that you need a separate docker image running a service dealing out passwords to your webapps or similar.

EDIT: rationale for use, as requested:

Using this approach, you can better manage your secrets since you can actually commit the passwords file in your code base, and the API lends itself to easily switching between dev and production ids/secrets. You can track revisions to the secrets file, rolling back your commits rolls back the secrets as well. You can also include the deployment of secrets in your deployment script - typically, the encryption key for your vault is only generated and distributed to the production servers once, while secrets may be added, changed, and removed continuously during the development and product lifecycles.

Using a simple secrets manager like NeoSmart's SecureStore lets you embrace the benefits of deployment automation, revision control, and more, without sacrificing safety and security in the name of productivity or ease-of-use.

EDIT2: what the heck, just took 10 minutes off to write it up and publish it: https://news.ycombinator.com/item?id=13654005

comment 9y ago · link · parent

Yes, thank you. Is there any other ClearType? On Windows, CT is a combination of both heavy hinting and configurable subpixel aliasing.

comment 9y ago · link · parent

Having done some work that involved comparing a number of text rendering libraries in the past, I'm aware of the minute differences in rendering and hinting (even when the output should be the same). Could you briefly mention how hinting here would compare to ClearType?

comment 9y ago · link · parent

I did some work a while back that involved using genetic algorithms to solve a problem pertaining to PC errors. Long story short, the bottleneck ended up being the generation of an error screen (which is then compared to a pre-existing one in the cost algorithm). We were first using GDI (on Windows), but then we switched to DirectWrite, but couldn't get it to be fast enough to make the algorithm feasible. This definitely piqued my interest!

5639.

Michael Flynn resigns as national security advisor(nytimes.com ↗)

3 points · by ComputerGuru · 9y ago · discuss

1
187188189
277