Today I found out that MS Word will happily pretend to print pages that don't exist in a document if you use the "Print Specific Range" setting.
Oh wow... Service Alert from yesterday reads as followed "All Telephony at Site B is down. Users unable to place or receive calls. Please note, Site A is actually down as Site B is not listed on the report form."
Site B is vaguely close to Site A, but still entirely separate.
The SO/Careers focus? Money. (and that was a really bad bet it seems)
And they now do want to get the smaller sites growing (and Juan and Catija's team is basically all about that)
I don't particularly like the new user badge since 1) we can see it. 2) n00bness is not a sign of lack of quality.
a new user who has lurked for an extended period of time will have a better idea of how we do things than a long term user who just refuses to learn that the network has been evolving over time
3) we can read reputation
Also, there's a small but enough of minority that are going to be hostile to new users
I don't see how it matters, really. It's just a reminder to be nice. New users don't deserted preferential treatment, but they do deserve slightly different treatment.
Thought I hadn't had any disk I/O errors since July since logread -f wasn't printing any new lines of errors. Nope. Log just got rotated so handle got broken and logread wasn't actually -f'ing the log anymore.
a new user who has lurked for an extended period of time will have a better idea of how we do things than a long term user who just refuses to learn that the network has been evolving over time
@Dog then, you must be of the belonging to the small but enough n00b hater regime.
Your namespace is, so to speak, a cargo cult namespace, being essentially useless for this code. I am in no position to convince you for anything, just did a humble code review as you requested. Have a nice day. — Your Common Sense1 hour ago
I will say it looks very typical of the common complaint about PHP: hacked together with little thought to design or reusability.
The kind of thing that's acceptable (if not ideal) for a quick'n'dirty project but ... not very good for a library with the goal of others using it (or even yourself in more involved future projects).
(I say typical of PHP because while the language technically gives you most of the tools you need for good design, it grew organically to that point and makes it easy to ignore most of those tools... often to the detriment of code quality.)
@rahuldottech Most glaring issue? Apparently configuration involves modifying the library.
@rahuldottech Just keep in mind that anything I say is from the perspective of C#/Java/etc. (even JS). I really don't know what's normal or accepted in PHP-land.
@Bob no, it only affects scripts which include this. And from what I've seen, ini_set seems to be the most common way to change cookie sessions without changing them in the real .ini file for all scripts on the server
@rahuldottech I suppose part of the question is: is your goal a proper session library that manages everything itself (including presumably using a custom cookie), or is it just a snippet for configuring the PHP session and some helpers?
It feels more like a snippet + helpers rather than a self-contained library.
That's not really a problem but it does kinda point towards how much encapsulation you need.
@rahuldottech (more reason what I say generally doesn't apply to PHP) since everything, including the application, is request-scoped by default, this is quite different from a traditional application that may be longer lived
@Burgi huh, why? o_O
@Burgi or maybe I'm just making things up on the spot :D
rebuild my blog in WP rebuild the CRM i built for my friend's company in laravel rebuild the eve online website i have as a roll your own OOP project (for the learnings)
all will probably be badly written and awful
shrug imposter syndrome
also there is that phenomenon that you are always in the bottom 20% of your friends/peer group in terms of wealth, skill and happiness
@Bob thanks so much. So, ToDo for now: drop prefix, set up either a config file or a function for preferences. Since the lib will be included by all the pages of a website, I think it'll be better to use a conf file rather than call the function on each page
@rahuldottech Ha, okay. I don't really know web programming (just started building websites using JS and related frameworks for charities), so I thought WP was kinda weird unique language.
@rahuldottech Let's just say I really like Janet :)
Yeah, and it's super friendly for CMs. I tried to convince my commissioner to let me use that kind of tech for it'd be easier for them to write articles and news with it, but they didn't want anything but Bootstrap (which does not serve the same purpose at all, to my knowledge).
Looks like they only wanted a beautiful site but didn't care how difficult it'd be to maintain for they are not close to familiar to programming
@djsmiley2k It's true I should have the last word since I'm the only developer (even though I'm usually working on thick clients) and I'm doing it for free, so...
I get your point :) It's not the case here though. it's an organization from my former school, they gather soon-to-be expired food to give it for free to students who lack of money. They don't buy it, they ask grocery stores to give it to them. They need a website to be visible to the students and to ad toward the stores that could help them
I'm setting up an excel reporting using Excel 2013 for that.
The spreadsheet is retrieving data, through an odbc connection that I need to set on every computer in order to retrieve the data.
I tried to change the following:
Data > Query > Change the property of the connection chain
This ...
@djsmiley2k Good news everyone! I've found out how many Dead by Daylight videos I have to upload. Bad news (for working through video subs): it's 50...
@avazula it's basically win7 with all the under-the-hood improvements of win10. I like win7, but it lacks native support for stuff like USB3 and newer hardware. And it's EOL which can't be good.
@djsmiley2k @djsmiley2k works only in machine code, clearly