Better HN
topnewbestaskshowjobs
Log inSign up

AlexSW

174 karma · joined Aug 5, 2020 (6y ago) · 84 submissions

Submissions

comment 5y ago · link · parent

> Every self-respecting pentester should have a powerful password cracker in their toolkit, and John the Ripper is simply the best cracker out there.

I was under the (possibly mistaken) impression that hashcat gave JtR a good run for its money, or even firmly surpassed it, particularly when GPUs are available (which one would have available for any serious password cracking attempts)?

comment 5y ago · link · parent

I thought the same but nowhere near as eloquently.

comment 5y ago · link · parent

I couldn't agree with this post more.

I found myself replacing the configuration parsing code in a C++ project that was littered with exactly the validation issues described, and converted it to that which the author advocates. The result was a vastly more readable and maintainable codebase, and it was faster and less buggy to boot.

Another nice advantage is that the types are providing free/self- documentation, too.

comment 5y ago · link · parent

A bit late but for what it's worth I'm very familiar with `git stash` and use it all the time, and it's not clear how this helps my situation of aiming for one command and accidentally doing a very similar one but one which deletes work with no warning. For example, `git commit --` is a completely moronic way of deleting files, and I am baffled it took them so long to add aliases for it which have a coherent name.

comment 5y ago · link · parent

Agreed. I consider myself pretty competent at git (consistently helping out the rest of my team of ~15 people with it) and even then I've shot myself in the foot using `git checkout --` instead of `git reset` before to unstage a file, and lost all of my work on it. Really felt that should have given a warning.

comment 5y ago · link · parent

I had several close friends studying for their own Masters degrees in subdesciplines of Anthropolgy and History of Art, and I'm not aware of them having had different experiences either, so my current best guess is down to it perhaps being an undergraduate degree in one of the most exclusive colleges.

comment 5y ago · link · parent

I went to a state school and state sixth form, and my experience definitely deviates from that presented in the article and some other comments here. I think the part of the article which focuses on more personalised teaching rings the most true for me.

There may be differences due to the subject, level, or college. I did a one-year masters in STEM in a very international graduate Oxford college. But the vast majority of members of the college were hard working, insightful, friendly, and not at all posh. There was a very friendly and open social life, and I definitely don't consider there to have been a great facade presented. Perhaps I would have found different in an undergraduate degree in the arts, or a different college, but I didn't get that sense from the people I spoke to from other colleges and faculties. My best guess is the Oxford college the article writer ended up in was rather more grand and snobby than any of those I spent time at.

I suppose what I'm trying to say is that this certainly isn't the only experience, and I'm confident none of the friends I made there would relate to the article's assessment. I found it a fantastic place to meet insightful, honest, friendly people in addition to all of its merits for learning.

comment 5y ago · link · parent

I can't tell whether I'm missing something: how would IPv6 obsolete their work?

comment 5y ago · link · parent

I don't see why it defeats the purpose at all. You get to have your one-character-width indentation, while other devs will being able view it with more indentation width and spend less time dispairing at issues of readability for them. This seems like exactly what tabs are good for.

comment 5y ago · link · parent

Using the same authentication algorithm doesn't seem like a particularly big price to pay, assuming they started with a sensible one. And there's nothing stopping one from making it support the old style but add a more up-to-date algorithm for new password sets, either.

comment 5y ago · link · parent

Indeed... in Java this is reasonably clear, but I've never found I have a problem in C++. I suppose if you're inheriting from your template argument and you template on an int? Seems awfully contrived and useless though.

comment 5y ago · link · parent

The seat is to the right (the ( )) and the water tank (?) is on the left.

comment 5y ago · link · parent

Well there's also the income tax and possibly VAT.

comment 5y ago · link · parent

Something IO-bottlenecked maybe?

comment 5y ago · link · parent

Seems like a calculator is a good example of a program which we would write even though it is entirely unsurprising; even if we needed nothing else on a computer we might invent it still?

It seems to me that we create computer programs not to surprise us but typically to do things very quickly or conveniently. Even a complex beast like Photoshop is reasonably unsurprising.

comment 6y ago · link · parent

For me at least it warns me very blatantly and I have to asked to go to an insecure site if it's HTTP only. Perhaps we don't have the same configuration.

comment 6y ago · link · parent

Would(n't) just having your own domain and pointing it at an email server one doesn't directly manage work?

comment 6y ago · link · parent

It goes on to talk about its usage of "Arabic science" at the beginning of the second section.

"A preliminary caution must be taken about both parts of the term “Arabic science.” This is, first, because the scientists discussed here were not all Arab Muslims. Indeed, most of the greatest thinkers of the era were not ethnically Arab. This is not surprising considering that, for several centuries throughout the Middle East, Muslims were a minority (a trend that only began to change at the end of the tenth century). The second caution about “Arabic science” is that it was not science as we are familiar with it today.[...]"

comment 6y ago · link · parent

I'm not following your answer to 2, do you have an example?

comment 6y ago · link · parent

Category Theory by Steve Awodey is great, but in my opinion only for a graduate mathematician wanting to do more mathematics and understand category theory in an abstract sense. Preferably one will have done some algebraic topology when reading it.

Category Theory for Programmers is just that, for programmers. In fact, if I recall correctly its preface explicitly answers the question 'Why write this when Category Theory by Steve Awodey exists?', with the answer being what I summarise above. If you're a computer scientist, programmer, or otherwise a non-mathematician first, Awodey is not for you and this book I believe should serve you very well instead. I haven't read it, mind.

I haven't come across Seven Sketches in Compositionality, but hopefully that helps compare the other two. It's mostly about your intention (e.g. theoretical mathematics vs practical application) and background.

comment 6y ago · link · parent

As someone that really likes C++ templates (no other language seems to come close in power for such a compile-time typed system), I'm particularly looking forward to concepts, and I believe (correct me if I'm wrong) that they will make compiler errors for templated code much more straightforward, which will be a nice quality of life improvement even if not using concepts directly.

comment 6y ago · link · parent

Java 15?! I hardly realised they'd moved past 8.

comment 6y ago · link · parent

I second using LSP servers. It's an absolute treat having an editor which is completely independent from the backend intellisense, which I can add my own LSP servers for however I choose.

comment 6y ago · link · parent

For dealing with multiple files at once, I would recommend using buffers and ideally a fuzzy finder, such as fzf. I would almost advise removing nerdtree while you get used to using buffers, as it probably shouldn't be used for a lot of tasks that it's tempting to use it for.

I also use a buffer explorer plugin and LSP servers too (go to definitions, find references, etc.), but buffers and fzf alone can be very powerful.

123