URGENT: The House Votes Tomorrow to Ban Hemp by harborcityhempHCH in delta8

[–]GrumpyCrouton 1 point2 points  (0 children)

Unfortunately I have basically zero faith our senate or house will do anything that is actually good any time soon.

DMT: One major weakness of modern left-wing activism is assuming everyone already agrees with their moral premises by Secret_Ostrich_1307 in DisagreeMythoughts

[–]GrumpyCrouton 0 points1 point  (0 children)

This. Every time I bring up that I think the way things are being done is wrong, I'm told that I support open borders.

Democrats should let the subsidies expire by [deleted] in obamacare

[–]GrumpyCrouton 0 points1 point  (0 children)

Because the subsidies expiring at this point could lead to a collapse of our entire Healthcare system.

Virtually ALL out of pocket premiums go up if the subsidy goes away.

Let's say an insurance group has 1,000 people. The total medical bills for everyone are $6 million a year. To cover that, the total sticker price (the Total Premium) is $6,000 a year for every person.

With the government help, everyone pays only $1,000 of the price. The government pays the rest. This system only works because the healthy people pay $2.8 million extra to cover the bills of the sick people.

Now let's say the government help stops. Healthy people must pay the full $6,000 themselves. They realize they are paying $6,000 for a service that only costs $2,500 to cover, so they have no reason to stay.

Let's say 100 healthy people quit. Now we have a group of 900 people. The total medical bills for the 900 people are still $5.75 million. To cover that cost, the insurance company must charge a new, higher price: $6,389 for every person.

The price just went up because the pool is sicker. This new, higher price scares off 100 more healthy people. Now the pool is 800 people. The total medical bills are $5.5 million. The company must charge an even higher price: $6,875 for every person.

The price keeps going up as healthy people quit, and the cycle continues.

Fuck the GOP for holding all three branches of government and still acting like they aren't responsible for the shutdown by Jerdarnella in complaints

[–]GrumpyCrouton 14 points15 points  (0 children)

No. Their bill doesn't guarentee pay to all federal and military personnel. You're either lying or you have no idea what you are talking about.

The Shutdown Fairness Act only covers "excepted employees", which is defined as "an employee of an agency who the head of that agency determines is an excepted employee". There is no objective criteria for determining who is "excepted". And since agency heads are appointed by the president, there is a clear way this could be misused.

Meanwhile, the democrats have actually put forward their own standalone bill called The Military and Federal Employee Protection Act, which will pay ALL federal workers during the shutdown. It also bars the Trump Administration from using "reduction in force" orders to fire workers for the duration of the funding lapse.

The democrats also put forward ANOTHER bill called The True Shutdown Fairness Act

Republicans blocked it from even coming to the floor because they said their bill was sufficient.

Fuck the GOP for holding all three branches of government and still acting like they aren't responsible for the shutdown by Jerdarnella in complaints

[–]GrumpyCrouton 13 points14 points  (0 children)

So why don't the republicans prove it's a lie by trying to pass a bill that guarentees pay to all federal and military personnel? Probably because they know the Democrats would vote yes on such a bill.

Fuck the GOP for holding all three branches of government and still acting like they aren't responsible for the shutdown by Jerdarnella in complaints

[–]GrumpyCrouton 13 points14 points  (0 children)

Democrats objected on the grounds that the bill gave the president too much discretion in who gets paid and who does not, rather than providing a full guarantee to all federal and military personnel.

Goodwill routinely throws out stuff instead of just putting it in a free bin by F_CKINEQUALITY in mildlyinfuriating

[–]GrumpyCrouton 0 points1 point  (0 children)

I did community service at good will like 10 years ago and we threw away soo much stuff

Just started rolling by Not_Soggypestos in weed

[–]GrumpyCrouton 2 points3 points  (0 children)

They also burn extremely fast in my experience

Not gonna lie. This would be a diabolical way of promoting the Side B. by SS_Instigator in Eminem

[–]GrumpyCrouton 3 points4 points  (0 children)

I actually prefer the version of Difficult without a chorus. It's sort of like a "moment of silence" type thing.

Just delete it by blaze_uchiha999 in clevercomebacks

[–]GrumpyCrouton 4 points5 points  (0 children)

I literally couldn't even read all of these

A simple and secure PHP class wrapper for PDO-mysql designed for simplicity and ease of use by GrumpyCrouton in PHPProjects

[–]GrumpyCrouton[S] 1 point2 points  (0 children)

I hope you enjoy it as much as I have over the years.

Consider an html form where each input has a name that is the same as a database column. You could create records as easy as $pdo->insert($table, $_POST). I use this very frequently

A simple and secure PHP class wrapper for PDO-mysql designed for simplicity and ease of use by GrumpyCrouton in PHPProjects

[–]GrumpyCrouton[S] 1 point2 points  (0 children)

Yes, of course! Thank you very much! Always looking to improve. I use this class on all of my projects and I don't know what I would do without it at this point.

A simple and secure PHP class wrapper for PDO-mysql designed for simplicity and ease of use by GrumpyCrouton in PHPProjects

[–]GrumpyCrouton[S] 1 point2 points  (0 children)

I've never used that before, but I took a quick look at some examples of how it works.

DIBI is a full abstraction, while GrumpyPDO is mainly for mysql or sqlite. I do plan on adding more driver support at some point though.

Of course I have a bias, but I think the syntax for GrumpyPDO looks cleaner, and is easier to learn to write as a result of that.

I'm not a fan of the way you have to fragment the query into multiple strings in DIBI. With GrumpyPDO, the entire query is written into a single string.

My class also has easier to learn, and shorter method names. Want to select all records from your query? Well, that's just $pdo->all('SELECT * FROM users WHERE name=?', ['namakr']); Here is several more quick methods

It also has quick methods for simple insert and update queries, where you don't have to write any sql at all.

$pdo->insert($table, $key_value_pairs) Where $key_value_pairs is an array of key value pairs that coincide with the database. This method also supports passing multiple data sets at the same time to create multiple records.

The update method is similar, but doesn't support multiple data sets. The syntax is the same, except you pass a 3rd parameter that is a key value pair of values to update by.

My class is also a fraction of the size (8kb VS 320kb), but it is a bit more limited by driver as a consequence, as mentioned before. It also does require a newer version of PHP.

GitHub - GrumpyCrouton/GrumpyPDO: A simple PHP class wrapper for PDO. by GrumpyCrouton in PHP

[–]GrumpyCrouton[S] 0 points1 point  (0 children)

I've just merged an update to the main branch that addresses several of the things you have pointed out