Better HN
topnewbestaskshowjobs
Log inSign up

SloopJon

2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions

Submissions

comment 4y ago · link · parent

This has indeed been eye opening. We got bit by a dependency problem in which TensorFlow started pulling in an incompatible version of protobuf. After reading these comments, I don't think that pip freeze is quite what we want, but poetry sounds promising. We have a relatively small set of core dependencies, and a bunch of transitive dependencies that just need to work, and which we sometimes need to update for security fixes.

comment 4y ago · link · parent

In my case, I find it hard to query related issues of different types. It's kind of hard to explain unless you see how we use Jira, but I basically want to do joins. You can do some interesting things with the Structure plugin, or issueFunction() from the Adaptavist ScriptRunner plugin. The other thing I've done is to pull a few REST queries into a single-page app., but that takes more work.

comment 4y ago · link · parent

I totally tuned out that this is a Cloudflare repo. Some Googling turned up a USENIX slide deck that puts this into context:

https://www.usenix.org/sites/default/files/conference/protec...

Whereas the README uses URLs as the realm string, the slides uses realm strings like "root-password" or "ssh-v2" to derive keys from a seed stored in a UEFI variable.

I think the idea is that you can administer all of your servers with one master password, while each server derives different passwords locally from its own seed. If a given seed is compromised, rederive the passwords from a new seed (or reprovision the server from scratch). If your master password is compromised ... well, try not to let that happen.

comment 4y ago · link · parent

> They all end up taking on state

Note that the recommended operation for GoKey requires the use of a seed file. Instead of deriving passwords directly from the master password, it derives them from a file of random data that is decrypted by the master password.

While it's true that this seed file doesn't require the ongoing synchronization that a vault does, it's something that you need to have, and to manage with care.

comment 4y ago · link · parent

For those thinking that this is just another version, note that 3.2 is a stable version, with 3.0 having been first released almost nine years ago. In the interim, I'm sure many people have used 3.1, but now you get all of the fun enhancements without an asterisk.

comment 4y ago · link · parent

> No solution will be able to cater to requirements that don't exist at the time of developing this pizza-application.

I think I know the title of Gordon's next blog post: "Why YAGNI is the second most over-rated programming principle."

comment 4y ago · link · parent

> I just started reading the book a couple of days ago. Sigh... :-)

I wasn't even going to click the link, because I thought this was for the old online book. Because of your comment, I see that Learn TLA+ has been updated, and Hillel says of the Practical TLA+ book I bought a couple of weeks ago: "Don't bother."

I haven't gotten that far yet, but I have modeled the wolf, cabbage, and goat problem, and helped the poor waiter in xkcd 287. Eventually I hope to apply it to a distributed database and our crazy Jira deployment. I'm not sure which will be harder.

comment 4y ago · link · parent

> All it had to say was that rust tells you when you keep reference to on stack variable after it goes out of scope.

The author isn't just telling you that Rust is awesome because it tells you something, he's acknowledging the frustration in learning how to listen to the compiler.

It's kind of like Jerry Pournelle describing the ups and downs of USB by documenting an epic journey that all started with trying to scan some handwritten notes for his next novel using a Canon scanner he borrowed from Alex that he's just now getting around to reviewing, because the pins of the parallel port are too bent to use the old Epson. Okay, so maybe it was a little overcomplicated.

comment 4y ago · link · parent

> After some time, on to the stage comes the car that many, including myself, had on a poster in their rooms growing up.

One of my favorite posters growing up was a white Countach, about five feet long by maybe two feet high. I had a much smaller print of a Ferrari F40. The appeal for a kid like me, of course, being that each had some claim to the fastest production car at some point.

It's kind of amazing to me that over sixteen years only about 2,000 were made. By comparison, there were about 9,000 DeLoreans in three years.

comment 4y ago · link · parent

> Maybe I'm missing something but they don't seem to offer the book as a searchable PDF? There seems to be a Kindle edition and paperback only.

The InformIT page linked from the review has (I'm in the US):

* book for $64

* ebook as ePub, Mobi, and PDF for $51

* book + ebook bundle for $86

The sample PDF is searchable, so I presume the full PDF is as well.

If you're looking at the Amazon listing, then no, I don't expect Amazon to offer PDFs instead of, or even in addition to, a Kindle edition. Oddly, the Kindle edition is more expensive than Amazon's paper copy, or InformIT's ebook.

Based on the sample, this looks like a nice book. It seems to have Meyers-like advice in a more concise, reference-style presentation.

It's a slight concern that all four authors are from the same department of the same company. I don't know anything about Bloomberg Development Environment, but I would be skeptical of a similar offering from, say, Google.

comment 4y ago · link · parent

I've always been fuzzy on Excel's precision. It's frequently described as preserving or storing fifteen significant figures. I wasn't sure if it rounds before storing, or if that's just how it displays. After some experimentation, I've satisfied myself that it can store more than it can display.

For example, =PI() displays at most 3.14159265358979, no matter how many digits I ask it to display. If I add 1.999E-15, I get 3.1415926535898. If I type 3.14159265358979 (omitting the invisible trailing 3), then add 1.999E-15, I get 3.14159265358979.

In other words, Excel uses double-precision floating point, but never displays more than fifteen significant figures. You may be in for a surprise if, say, you round trip a spreadsheet through CSV.

comment 4y ago · link · parent

I never played it, but Google turns up a game called Maelstrom that seems to fit the bill.

comment 4y ago · link · parent

See issue 1580 for a description of the change that displays floats using the shortestish decimal expansion that round trips:

https://bugs.python.org/issue1580

I thought there was a PEP for it, but evidently not.

Although this is generally an improvement, it can contribute to confusion.

comment 4y ago · link · parent

Um, am I the only one who had no idea that my Github stars are public knowledge? I don't see anything about this in the documentation or on my stars page. Can anyone see this, or just the admin for the repo that I starred?

comment 4y ago · link · parent

I've had regularly scheduled biweekly meetings for the last several years. If we miss a meeting due to PTO or something, we don't reschedule, so meetings are sometimes a month apart.

One of my previous managers would just drop by my office on Friday afternoon to check in. This was shorter and shallower, more of a status update. My 1:1s tend to have a longer term focus: handing off responsibility for a project, and discussing which upcoming projects sound interesting.

As a soon-to-be manager myself, I will probably start with weekly 1:1s until I get to know the team well enough, then drop back to biweekly.

comment 4y ago · link · parent

Tim Bray wrote a post, "On the Goodness of Binary Search," in which he stated, "Simplicity is good, and binary search, coded properly, (see below) is awfully damn simple" (emphasis in original):

https://www.tbray.org/ongoing/When/200x/2003/03/22/Binary

In an update to his post, Tim linked to Joshua Bloch's "Extra, Extra - Read All About It: Nearly All Binary Searches and Mergesorts are Broken" post about the problems you describe:

https://ai.googleblog.com/2006/06/extra-extra-read-all-about...

comment 4y ago · link · parent

The context here is a tool that has to handle everything, so you won't necessarily run into all of these in your run-of-the-mill project. However, the author does claim:

> The following examples were actually encountered either in real programs or are taken from the ISO C99 standard or from the GCC’s testcases.

I have definitely seen (and probably even written) show-off code in C++ and other languages, but when it comes to C, I feel like the tricky stuff tends to be borne of necessity. For example, I test a code base that requires some type punning. The last time I investigated this, there didn't seem to be consensus on how to do this without UB.

Signed overflow is another bugbear in C. Code that worked perfectly fine for over twenty years was suddenly at the center of mysterious bugs when a new version of GCC decided to exploit some UB.

comment 4y ago · link · parent

According to a "birth certificate label" on the page, China.

comment 4y ago · link · parent

I'm dipping my toes into self hosted services, but I haven't tackled photos yet. Ars Technica reviewed a few photo options last year:

https://arstechnica.com/gadgets/2021/06/the-big-alternatives...

comment 4y ago · link · parent

It's really hard to tell based on an article like this. The ANS creator is quoted as saying, "I don't know what to do with it - [Microsoft's patent] looks like just the description of the standard algorithm." However, who knows how much experience he has with patents? It may be that Duda invented the shoelace, and Microsoft invented the plastic sleeve at the tip of the shoelace.

As Timothy Lee says in the article, the problem with this type of patent is that it boxes in how you can use the original technology: you can freely tie your shoes with this shoelace, but if you use a double knot, now you infringe a patent.

In some ways, this mirrors the difference between copyleft and permissive copright licenses. By failing to patent the original invention, Duda made ANS useful and widely available, but he now has no leverage against Microsoft.

comment 4y ago · link · parent

My company has four IC titles, the description of which includes typical experience, with credit for graduate degrees. When we went from two titles to four, I was assigned the highest title, and joked that it was another way of saying "old".

I would be level 7 under Daily's system, making more than I do now, but then what's my monetary incentive to improve? Younger, less experienced colleagues can literally set a countdown timer to their next promotion/raise.

It feels a bit lazy, to be honest. Some people have commented that it will lead to coasting. The alternative that I anticipate is up or out: you're a level 5 performer at a level 7 salary. You might be happy at a level 5.5 salary, but sorry, you're out.

comment 4y ago · link · parent

This question is incomplete without expanding on your "methods for safe handling of passwords on the web." Tell us what those methods are, and you'll get some thoughts on whether you should or shouldn't trust them.

Password manager anxiety is a thing. Maybe you're worried that you'll lose the vault, or that it will be hacked. I didn't like the idea that I couldn't log into something without it. The problem is, without a password manager, my passwords sucked. I had a core secret that I sort of salted for each site.

So my reason for using a password manager (KeePassXC with SyncThing, if you're interested) is that it's better than the alternative.

comment 4y ago · link · parent

I've bought at least two computers' worth of parts from Newegg, and generally had a positive impression of them, in part because of stories here about how they stand up to patent trolls. However, their reputation has indeed taken a dive. When they had coupons for 4 and 8TB Samsung SSDs last week, several comments on a deals forum pointed out this very incident.

I watched a couple of the Gamers Nexus videos, and even the most charitable explanation is pretty damning. One of the related links on YouTube was a former Newegg RMA inspector, who gave some background on how things used to be done. Even if this is limited to open box items, which I would rarely if ever buy online, it gave me enough pause to pass on the SSD deal.

comment 4y ago · link · parent

I think "debate" is the key feature of HN (indeed, most online discourse) that the author has identified. It's easy to base a comment on a flaw in an article, or someone else's comment on the article, so HN discussions can seem very contrarian, almost adversarial.

Randall Munroe may have said it best with his "Duty Calls" comic:

https://xkcd.com/386/

comment 4y ago · link · parent

This pretty much exactly describes my (ab)usage of tabs. I had a tab open with the HN submission for the death of Google Reader for two years, because there were so many interesting replacement suggestions. I finally admitted that Google had ruined RSS for me, and closed the tab.

Thank you for the OneTab elevator pitch. I'll give it a try.

comment 4y ago · link · parent

The submission for the previous post didn't get much traction here, so I'm seeing it for the first time. I'm pretty sure that "YYYYYYY" (ugh, Medium tries to hijack copy) is still named later in the post.

A few people have commented to the effect that this is a tempest in a teapot, but the phenomenon of copyleft trolling is news to me. It's fundamentally contrary to the spirit of Creative Commons and like-minded licenses, and has a chilling effect on their use. Cory claims that another of Pixsy's clients, Marco Verch, single-handedly shuttered a Dutch charity.

I've never paid much attention to the Creative Commons version numbers. I sure will now.

comment 4y ago · link · parent

Discussion here is such that I sometimes read the submitted link as an afterthought. Apart from the occasional distraction of a comment by dang, I had operated under the polite fiction that this was the result of self moderation.

Jeff's account leaves me conflicted. I resent heavy-handed, unaccountable moderation, and boy would I be pissed if I was accused of stealing accounts to upvote a HN story of all things. On the other hand, if the alternative is regressing to, say, USENET, what can I say?

comment 4y ago · link · parent

I can't find the exact verbiage or screenshots, but my recollection is that Gmail used to be billed as effectively infinite storage, with the limit going up over time. However, that limit has been frozen at 15GB for some time.

I am now exactly the kind of customer you describe, paying for a 200GB Google One plan in large part so I don't have to fiddle with old email to stay under the limit. The price is reasonable, and hopefully as a paying customer I'm less likely to find my products on killedbygoogle.com.

comment 4y ago · link · parent

Yes, I saw this installing 7.3.0.3 this morning: I started the computer, opened Firefox, then downloaded and installed LibreOffice. I have an aversion to closing my browser (and all of its tabs) unnecessarily, so I looked this up and found the Reddit post.

comment 4y ago · link · parent

On Windows, the LibreOffice installer claimed that Firefox was using files that needed to be updated. This Reddit thread has some background on why that is:

https://www.reddit.com/r/libreoffice/comments/aoqmvr/libreof...

In short, you can probably ignore it and continue.

1
456
26