curious, i was sure doing a service network restart would allow be to change the hostname after modifying the /etc/sysconfig/network file on RHEL6. apparently i have to reboot the entire system.
Just added VtC on two questions that are candidates for migrations to what should be primary migration options. @RoryAlsop @AviD @JeffFerland - How are we coming on those?
Also, I'm becoming increasingly frustrated with the lack of functionality in the new review system. At this rate, MSO will be getting really familiar with my TL;DR style of writing.
I'm still becoming increasingly confused as to why we can't do or see certain things (really, just about anything except for answer a question) from the Review interface.
Today, it's comment voting. I came across a question in the close queue where another person had already left a comment that...
@ScottPack What would be really great, but I'm sure they're avoiding for the purpose of shorter page loads, is if the review interface had a button that said "expand this question" and/or "show all options". These buttons should do what they say, without leaving the review page.
Also, being at least given the option to stay on a post after selecting the review action would be nice.
@ScottPack Oooh, I don't think SEI will ever let you be a mod with that attitude. ;-) Then again, I'm sure I've expressed similar sentiments before, so retrospectively I'm wondering why I even bothered running.
Back in the early days of the podcast it was always interesting to listen to them yammer on, Joel would talk about how he sponsored it but it was totally Jeff's project (or at least that's how I remember it) then Jeff would a design or procedure/policy decision they had made that the community seemed to like and Joel would just say, "No. You can't do that."
I wouldn't be surprised if the vote-fraud script is more micro than that. That is, it only checks on a daily basis if that day looked suspicious.
I would really like to see all of my questions and answers on the profile page, even if some of them were deleted, and I don't have enough rep to see them on the site.
(Note that some questions are automatically deleted after 30 days or 1 year, and the author might be oblivious about what happen...
by the way, what happened to a certain Mr. Trollypants going by the initials "A.S."? I haven't seen him around here recently. certainly not complaining.
So I've got a perl script that's using a hash to emulate a simple two field database (stored in yaml). I was just about to add a 3rd field, and implement it as a hash of hashes, but since I need to be able to operate on all 3 fields...well...my ethics subroutine kicked in and told me no.
My first thought was to migrate to sqlite. Does that actually seem reasonable to you blokes?
@ScottPack It's ludicrously efficient too, especially in terms of memory. the data set is kept entirely in memory, with disk backing for persistence. normally that'd hammer memory usage, but it's amazingly efficient due to some clever tricks.
e.g. instead of allocating separate objects for numbers 1 to 10k, it actually just allocates all of those numbers as objects and sets pointers to them on new low-value numeric keys.
so a 100k key database might actually only point to 8 bytes worth of data if all you're storing is 0/1
actually, 2 bytes, since numbers are actually ASCII representations.
@Polynomial Speaking of clever tricks, did I ever horn toot about doing a sort unique in perl? The code itself wasn't anything amazaballs, but it sure saved my bacon when I was trying to uniq a 20GB file during a meeting.
I honestly can't think of another time where I've looked at a project's source code and gone "I totally get how this works", in any language, let alone C.
wow, I just noticed that I am a total Redis fanboi ^_^
meh, I can say that without shame. It's an awesome project :P
@CodesInChaos Pretty much yeah. Strictly speaking, it only dedupes consecutive lines that are the same. So if you want to properly dedupe some input you have to pass it through sort first, then uniq
@Polynomial Yeah, it does seem really stinking neat. I'll have to read up some more and throw it in my bag of recommendations. Probably heavier, and frankly more complicated, than I want to try to deal with in this project for now.
@ScottPack I'm actually working on a presentation for <insert name of next security conference I go to here> about security and Redis, and where it falls in the pentesting scenario.
The value type was pretty inconsequential since it wasn't ever being assigned. Really, I was just making use of the fact that a hash, by design, can only have one instance of each key.
Perl stores hashes as arrays of the form ('key1','value1','key2','value2',....)
So only the even numbered array offsets were ever populated, the odds were empty.
Originally I didn't care about how many times the entry had been seen, so no. I did actually add a couple of command line switches to add in counts, sort the output, etc
@JeffFerland Careful there, your flag might turn into an instant mod action. Similar to how off-topic flags for 3k+ users automatically turn into close votes.
I've written a relatively simple console utility that accesses the ClosedXML library, in order to produce an Excel spreadsheet. Nothing mind-blowing, and it should run really fast. However, when I launch it, it sits on the console screen for ~8s before displaying any progress.
At first, I though...
Well, drat. @ScottPack - I was going to see if I could make some joke about having actually beat you to 2k, but I can't seem to find a histograph for rep.
I've always had trouble finding things to answer where I was interested enough in the topic to answer and/or was able to add enough over the existing answers to feel justified in posting.
Hehe... If five people close a question: You sunk my battleship! Or, actually that might be more like an aircraft carrier. The battleship would be more like three people plus a mod - four hits.
@Gilles Dichotomy. 64 = 2^6. Add 32 versions of the potential secret string in the attacker-chosen string. If compression is short, then one of them is good, otherwise it is one of the 32 others. "Sometimes 4 is good" is when they attack hexadecimal secrets.
In other news, an Ars Technica journalist just called me. Is that good press ?
@Iszi flags can cause auto bans, but suspension is a mod action, and we are trying to be fair, rather than just slap an infinite ban straight away - trying to be encouraging
I continually hear/read people warning against the perils of placing proprietary information/docs within the root directory. If I am on a shared server, I cannot place files "above" the root in the document tree. Is there a work around for this that is not too hackish?
More specifically, I would...
What do I do to keep my server config that's in my HTTP docs path from being displayed? Limited to shared web hosting environments in scope. Totally a Webmasters Q
I understand the basic concept of SSL but maybe I am missing the point. Please could someone take a look at the following part of a test log to a server and tell me if it looks secure. My concerns are that although the certificate callback returns "true" you can see that it states under policy st...