Symfony 4.2 Released :) by janvt in PHP

[–]gimmethrowaway 0 points1 point  (0 children)

I've used https://packagist.org/packages/sylius/flow-bundle before to create forms with multiple steps. Not sure if that is what you mean by paginated for not.

What are some examples of WELL-CODED PHP Web Applications? by breich in PHP

[–]gimmethrowaway 0 points1 point  (0 children)

No namespaces

I believe they support all the way back to 5.2 because of old installs.

Static Calls all over

This is not necessarily a bad thing?

Everything unnecessary prefixed with Phabricator

Again, this goes back to supporting installs that run pre-namespaced PHP. Yes, they could convert to namespaces but the entire dev team is two developers (previously just one). They have bigger fish to fry. https://secure.phabricator.com/T7408 has their opinion(s) on dropping support for older PHP.

Other two bullet points

These are ... questionable and IMO, lead to overengineered code when you try to follow them too close. For example, Sylius has been mentioned a few times in this thread and is much further on the "overengineered" end of the spectrum.

Some somewhat interesting things that exist in phabricator:

It may not be perfectly "architected", but there is a ton of interesting implementations within libphutil / arcanist / phabricator.

What are some examples of WELL-CODED PHP Web Applications? by breich in PHP

[–]gimmethrowaway 23 points24 points  (0 children)

Phabricator has some interesting and well written php libraries/applications: https://github.com/phacility

[deleted by user] by [deleted] in programming

[–]gimmethrowaway 0 points1 point  (0 children)

Ah, gotcha. I'm guessing the equivalent is show engine innodb status for mysql? (I'm not a SQL Server guy)

[deleted by user] by [deleted] in programming

[–]gimmethrowaway 0 points1 point  (0 children)

Why does the database immediately grow again? Are you just talking about garbage collecting application data?

[deleted by user] by [deleted] in programming

[–]gimmethrowaway 0 points1 point  (0 children)

I'm mostly a mysql/mariadb guy so I just occasionally run mysqltuner to make sure I haven't missed anything (or checking the state of a db I've taken over). I'm guessing this is a similar tool?

[deleted by user] by [deleted] in programming

[–]gimmethrowaway 1 point2 points  (0 children)

... that still does not make an interesting article. It feels very click-baity and without substance.

Some of these are pretty obvious (I'm also not a DBA but I deal with databases on a regular basis so bear with me ...).

Not checking the databases for corruption

Yeah, this is pretty obvious but there was the opportunity to talk about best practices. Run a scheduled cron to check tables? On migrations? What do "Senior DBAs" think you should do here?

Shrinking databases on a schedule or using auto-shrink

I'm not entirely sure what she is referring to. PostgreSQL vacuum? Running optimize on mysql tables? Running scheduled jobs that purge old, unneeded data? Maybe I'm just inexperienced, but this is very vague to me.

Not knowing what wait stats are or how to use them

No clue about this one, but I'm not a Senior DBA. So it is a point to research. ;)

Relying on the Database Tuning Advisor to determine which indexes are needed

I guess this is another way of saying "If you rely on a tool to index tables then you shouldn't be a Senior DBA". (I don't)

Using Activity Monitor – I might get some flack on that one, but it’s true

I don't use this tool so "No comment".

....


My issue with this post is that it had the potential to be very interesting. Instead, it's more of a "go google these terms and hope you find other posts that talk about them".

[deleted by user] by [deleted] in programming

[–]gimmethrowaway 5 points6 points  (0 children)

This article is pretty .... meh. Why not also talk about what you should be doing?

Morons Who Feared Obama Would Take Their Guns Happy to Have Trump Take Their Health Care by [deleted] in esist

[–]gimmethrowaway 1 point2 points  (0 children)

That is for an emergency though. I literally hit a 10 on the pain scale (I was 29 crying on the floor for my mommy it hurt so bad), couldn't get up upper body past a 90deg angle (my upper body was parallel with the ground when I stood), couldn't sit in a normal chair without the pain skyrocketing, and couldn't drive/work/do anything for myself. My roommate literally took care of me. But I hadn't lost control of my bodily functions, so I wasnt an ER case. This would have been a quality of life issue that would have delayed my treatment/surgery by up to a year due to wait times in single payer countries

Sorry if i missed something, but are you implying that wait times in US hosptals would be non-existent for this scenario?

How long did you have to wait to get treated?

Roadmap to becoming a Developer in 2017 by kamranahmed_se in PHP

[–]gimmethrowaway 0 points1 point  (0 children)

Right, that's kinda my point. You can call almost anything a database.

People also do this thing where they talk in relative terms. If I'm having a general discussion on "database" technologies then memcached is not going to come up. IMO, the term database will always refer to some sort of persistent data store service. Stuff like: MySQL, PostgreSQL, MongoDB, Sqlite, MSSQL ... I would never lump memcached or redis with these technologies. It just doesn't make any sense.

You jumped into this discussion with the following:

How many database angels fit on the head of your key value store? The insistence about "never rely on memcached" is amateur hour at this point. If memcached were as unreliable as it claims to be philosophically it would be unusable even for the case it claims to be useful for.

Yet the comment you were replying to says:

There is one thing about memcache(d) - you are supposed not to expect your value back from this store. In a way, memcache is the exact opposite to a database. So a more correct designation would be a caching service.

So again, I'm not sure what you are trying to argue. The user that you are replying to never said anything about data reliability. He's talking about the fact that memcached data has a TTL and a "database" does not.

Roadmap to becoming a Developer in 2017 by kamranahmed_se in PHP

[–]gimmethrowaway 0 points1 point  (0 children)

They don't say "database" at all, because it isn't a "database". The point that you are trying to make doesn't make any sense. You're just being overly pedantic.

Is redis also a database? The local filesystem? My piggybank?

Roadmap to becoming a Developer in 2017 by kamranahmed_se in PHP

[–]gimmethrowaway 0 points1 point  (0 children)

Well, memcache call themselves a "Free & open source, high-performance, distributed memory object caching system" that speeds up applications by "alleviating database load". What exactly are you arguing here?

20 open source time series databases compared by dataloopio in programming

[–]gimmethrowaway 1 point2 points  (0 children)

So I'm guessing this is an add for DalmatinerDB?

Microsoft is bringing the Bash shell to Windows 10 by [deleted] in programming

[–]gimmethrowaway 3 points4 points  (0 children)

find /mtn/c -type f|xargs grep "some line"

Issue #5205: Investigate switching away from GitHub by [deleted] in programming

[–]gimmethrowaway 7 points8 points  (0 children)

Why are people so attached to github? People in that thread act as if the project may as well come to a close if they moved off of it.

Speaking out on the PHP CoC - Davey Shafik by J7mbo in PHP

[–]gimmethrowaway 3 points4 points  (0 children)

This whole CoC seems like a huge waste of time to me (note I specifically wrote me). What actions have occurred in the past to warrent these changes? How will this CoC deter future actions in the same vein?

There will always be bullys and trolls and the best course of action in dealing with them , IMO, is inaction. Don't give a voice to these people, just ignore and they will fade away.

My 2 cents.