@HardwareGeek said :
present it as if it's your first exposure
Am I allowed to out arbitrary snippets to twist the meaning?
@HardwareGeek said :
present it as if it's your first exposure
Am I allowed to out arbitrary snippets to twist the meaning?
@Polygeekery You dare suggest the possibility of interpreting my words in a dirty way?! That's a ballsy move
@ben_lubar said in Let's whine about react/redux:
But sure, go ahead and reimplement the entire browser in JavaScript.
cough jsdom cough
The code uses ES6 features, but maybe if you transpile it, it would run in a browser...
@Onyx I'm generally not on the ball with these obscure languages
@aliceif said in NPM package that does nothing accidentally removed, breaks shit AGAIN:
@Hanzo said in NPM package that does nothing accidentally removed, breaks shit AGAIN:
@Grunnen said in NPM package that does nothing accidentally removed, breaks shit AGAIN:
I'm not a JS developer, but from reading such news I wonder: why don't they have unstable / stable branches or something like that?
There's no need: everything npm is unstable. It's job protection.
Or a racket, depending on how you look at it.
Paging @Schol_R_LEA
It's not a real racket if there's no ball-whacking involved
@all_users said in Setting phpMyAdmin cookie timeout to 3 hours...:
@cark said in Setting phpMyAdmin cookie timeout to 3 hours...:
Let's encrypt certificates are so cheap it's like they're free.
And so easy to implement with versions of Plesk before 12.5. Oh wait...
I started looking into doing my own scripting to do it, but got distracted by other things.
Certbot probably has your use case covered as long as you don't mind using the cli and giving it access to your keys/filesystem
@dkf said in Setting phpMyAdmin cookie timeout to 3 hours...:
@cark said in Setting phpMyAdmin cookie timeout to 3 hours...:
It sounds like you should be using client side certificates.
That's usually a service-wide setting, so you have to host the admin interface on a separate port to the main service interface or do some moderately annoying tinkering inside the process.
I normally give each thing it's own subdomain. Not sure about Apache, but in Nginx different vhosts can have completely different settings. I can specify mandatory client certs for phpmyadmin.domain and leave the rest as it is. That said, I never figured out how to properly set up client certs in Nginx.
@all_users said in Setting phpMyAdmin cookie timeout to 3 hours...:
moving my exit-point IP every couple of minutes...
It sounds like you should be using client side certificates. Even a simple http auth over ssl would be better than the whack-a-mole you're currently playing. Let's encrypt certificates are so cheap it's like they're free.
Deus EX: MD
I think Deus Ex is more about hurting people than healing people, so that title isn't really appropriate
@OffByOne said in Script/program for installing software - linux:
I've checked out http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/
Keep in mind that that page has not been updated in the last 10 years and many steps have likely completely changed.
@OffByOne said in Script/program for installing software - linux:
add line to crontab
Don't literally add a new line to your crontab. Use /etc/cron.d
@CoyneTheDup said in The contractor that should not be:
@Jaloopa said in The contractor that should not be:
@CoyneTheDup said in The contractor that should not be:
You remember last time, and how it came out being indefinite?
No. Was there a goat behind one of the infinite corners?
Whoa! No. The corners are not infinite, they're infinitesimal. And even though there's infinitely many of them, they
definitely can'tcan't definitely hide a goat.
They almost surely can't hide a goat
@flabdablet said in JOHN McAFEE: Here's what really happened in Belize:
Ukraine't always get what you want.
Ukraine, however, get swallowed by Russia
@Rhywden said in Warning: Contains nuts*:
Oh, great, the anecdotal "I lobotomized myself with a rusty shank and am still able to count to ten without my fingers." evidence.
Why would I need to count to ten without my fingers? I lobotomized myself, I didn't cut off my fingers.
@J_T said in Warning: Contains nuts*:
We had leaded petrol and two way catalytic converters when I was a kid. I still breath good and brain good.
@Arantor said in The contractor that should not be:
nginx might be faster but for PHP workloads it's stupid easy to misconfigure (FPM, FastCGI?)
I've read somewhere that if you're serving pure PHP workloads (i.e. no static files), Apache/mod_php is actually faster than nginx/php through FastCGI, in terms of response times under low workloads, because Apache doesn't need to do serialization/deserialization through the FastCGI layer. Of course, scalability is a different issue.
And PHP is stupidly easy to misconfigure anyway, whether you're dealing with mod_php or php-fpm/FastCGI. Or even when you're just using the cli, really.
@ScienceCat said in How to learn software design:
Did you think about something specific when writing that or could otherwise give a recommendation? I tend to choose poorly in these cases and would probably end up trying to reimplement something much too complex...
You should pick a small utility library or framework in a language/area of your interest. I've mostly done front end/webby stuff in PHP and JS, so you really should disregard everything I say.
If you do feel like doing web stuff in PHP, then take a look at the Codeigniter web framework. This is only useful if you do decide to web stuff seriously, though. And don't try to do whole thing in one go
If you do JS, lodash is something you'll want to look at
Pick a well designed piece of software, write down all it's features, then reimplement the software without looking at the source of the original.
You'll mostly likely implement many things differently, and run into a lot of edge case that behave differently. When you're sick of figuring how to make something work, go read the source code of the original. At that point, you're in a good position to understand why something was done in a particular way.
@ScienceCat said in Wish-it-was password security:
@cark said in Wish-it-was password security:
I'm dealing with 3 different share registries
Then your country's system is probably . I have shares in several (>5) companies, but never had to deal with a single share registry myself. I assume my bank/broker handles that for me, since the "you got x€ dividend for your Y-shares"-letters also come from them.
Our share registries provide company specific services like vote in AGMs online instead of having to attend one physically. My broker only charges for transactions and not account or holding fees, and they don't do anything apart from buying/selling stocks. This way, brokerage stays cheap while companies can choose to pay dividends in foot massages if they wish; The share registries are contracted to handle this stuff
I'm dealing with 3 different share registries, and all of them require "security" questions. One of them lets me specify the question instead of picking one from a list, so it's not completely bad.
I just hope it's not some kind of ASIC requirement that says "You must have security questions".
@blakeyrat said in How did you start hating opensource?:
Right; which is not an application. It's just boring useless shit that's pointless unless an actually application is wrapped around it.
@blakeyrat said in How did you start hating opensource?:
Which isn't to say all open source software is awful. The .net framework is good for example.
So the .NET framework which is good open source software is boring useless shit that's pointless. Got it
@xaade said in Strategy Letter VI (Joel on Software):
@dkf I was comparing political origins, not geographical location.
Even then, it's not really accurate. While only one of the two common meanings of "Americans" applies to Canadians, both meanings of "Chinese" (of Han ethnicity, of Chinese nationality) apply to the vast majority of Hong Kong people, so despite how much they whinge about it, it is not incorrect to describe Hong Kong people as Chinese
@Polygeekery said in Strategy Letter VI (Joel on Software):
Are you confused because most people travel via
burroburrito in Brazil?
I'm hungry
@djls45 said in The IRC quotes Thread:
Although - if it is in D minor - does it use the natural, harmonic, or melodic scale?
That's obviously not the harmonic scale. Do you see a raised 7th anywhere?
@LB_ said in Pressure to upgrade to Windows 10 ratchets up. AGAIN.:
IMO apps should never have raw file system access except for when explicitly granted by the user.
That's a good idea in principle, but you end up with SELinux, which is a pain in the butt when the default config works fine. $Deity have mercy if you need to write your own rules or have a file that needs to be accessed by multiple programs
Another WTF is the date '6/1/2016' whose interpretation is dependent on the database settings. I'll bet my lunch money on the author not having set that explicitly.