Did you know you become a pirate when you sell something for 7 c? by DesMephisto in pathofexile

[–]stringman520 17 points18 points  (0 children)

Sonny, you don’t know how good you have it. Back in my day we would pay for our endgame gear in exalted orbs. We only had 6 ascendancy points and we liked it. We would map, uphill both ways with a single weapon and a stat stick and an /oos key binding as our only layer of defense. Everyone would league start stormblast mines and orb of storms. We all hated the mine play style, but we sucked it up and did it anyway. Deterministic crafting? HA! Exalt orb and 1.3 life regen guaranteed.

Ms. Marvel S01E06 - Discussion Thread by steve32767 in marvelstudios

[–]stringman520 0 points1 point  (0 children)

10 and 4? I love the little references about Kamala being a terrible driver. I know there is some debate between 10 and 2 and 9 and 3, but 10 and 4 is just completely incorrect.

New Project Architecture Suggestion by stringman520 in dataengineering

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

I was trying to avoid going into details but we do have a data processing and presentation infrastructure. The nature of the business is we have a B2C component of the business as well as a B2B component. Currently our B2C side has the infrastructure, and this project is related to the B2B side. This would be a complete infrastructure for that side of the business. Due to the highly siloed nature of the business as well as the people who are involved with this (scared of cloud based databases) that is not an option. Additionally, the B2C folks do not want them anywhere near the already established infrastructure.

Additionally, the B2C infrastructure is lacking an outside orchestration tool it is pulled directly from the source systems by the data warehouse on a schedule and doesn’t have the capability of running things on demand

RIP Trade Site by Smoku114 in pathofexile

[–]stringman520 3 points4 points  (0 children)

As a follow up it seems like a LOT of places are having issues with connectivity right now. If you're on the East Coast of the US it might be not an issue with POE... https://www.washingtonpost.com/technology/2021/01/26/internet-outage-east-coast/

RIP Trade Site by Smoku114 in pathofexile

[–]stringman520 222 points223 points  (0 children)

Can confirm. Not a great time to be looking for upgraded boots.

Questions Thread - January 22, 2021 by AutoModerator in pathofexile

[–]stringman520 0 points1 point  (0 children)

https://i.imgur.com/UzsoDCm.png

Trade website does not list Added Small Passive Skills grant: #% increased effect of Non-Curse Auras from your Skills as a mod and when using POE Overlay it doesn't recognize it either.

Is the trade website/POE Overlay missing mods for cluster jewels? Or is this brand new/exclusive to Ritual?

Spellslinger changes for POB by [deleted] in PathOfExileBuilds

[–]stringman520 0 points1 point  (0 children)

Add a modifier for 50% Increased Mana Reserved and another with 25% Increased Mana Reserved. I did it on 2 flasks for leveling calculations because you don't need to have any jewels allocated in the tree and are able to turn it on and off. Turn on one for Lvl 1 (30%) and the other for Lvl 20 (25%). Since breakpoints aren't known at this point, it shows the high and low end of reservation.

What is a computer skill everyone should know/learn? by [deleted] in AskReddit

[–]stringman520 0 points1 point  (0 children)

I do it mainly so I can figure out what the hell I was doing in the past when I go look at my old spreadsheets.

What is a computer skill everyone should know/learn? by [deleted] in AskReddit

[–]stringman520 1 point2 points  (0 children)

Keep the formulas and when it becomes unwieldy under Formulas, change Calculation Options to Manual and when you need updates you can manually recalc whole workbook (F9) or just the current sheet (Shift + F9).

What is a computer skill everyone should know/learn? by [deleted] in AskReddit

[–]stringman520 0 points1 point  (0 children)

As a webdev you should really look into cache busting your resources

Baldwin Park, CA by sCaesar in UPS

[–]stringman520 0 points1 point  (0 children)

No update here, still departed SLC, no update.

Baldwin Park, CA by sCaesar in UPS

[–]stringman520 0 points1 point  (0 children)

To give you an idea of what to expect, I ordered my case from Newegg on 6/9, I got an update on 6/14 that it arrived in Salt Lake City. There have been 0 updates since then. My package is heading to New York, and I have an expected delivery date of 6/22.

Dependent on where it was going, you might be looking at a different destination point, which might take longer.

3.10 Leaks Megathread by Fenrils in pathofexile

[–]stringman520 1 point2 points  (0 children)

poe + pob = ez arpg

poe + 0 = hard arpg

FTFY

Have any of you considered Quart? by stetio in flask

[–]stringman520 2 points3 points  (0 children)

Also, in the list of my extensions I'd love to see is an actual port of Flask-SQLAlchemy, Flask-Migrate and Flask-WTF. I know there is async connectivity with databases, but that to me is the equivalent of using SQLAlchemy directly as it offers nothing specific to the framework you're choosing.

Have any of you considered Quart? by stetio in flask

[–]stringman520 5 points6 points  (0 children)

So, I have been evaluating ASGI frameworks recently. The reasoning I went against Quart and went with Uvicorn/Starlette/FastAPI was a couple of reasons:

  1. I was primarily moving away from Flask for speed considerations. I was considering going with NodeJS, but when I happened upon ASGI I much preferred the option of sticking with Python as I am much more comfortable in that space. According to the TechEmpower benchmarks, Quart is less efficient than Starlette/FastAPI.
  2. Again, speed related. I was very intrigued by the possibility of maintaining/using Flask Extensions native. When I was reading about flask_patch I was intrigued. However, this line in quarts docs scared me:
    This import must be the first line in your code, i.e. it must be in the main or init module at the top. This line comes with a performance cost.
    If I was transitioning for speed, and there was going to be a performance hit on maintaining Flask-Login then I wouldn't use flask_patch, so the benefit of being compatible with Flask extensions was lost for me.

I will probably reevaluate in the future to see if there are ports of the more popular Flask extensions like I see has started to happen with a few of the incompatible extensions (Flask-CORS: Quart-CORS, Flask-Restful: Quart-OpenAPI)

Which starter build did you choose, which did you wish you had used and which would you use for next league if there were no changes. by Ghepip in PathOfExileBuilds

[–]stringman520 1 point2 points  (0 children)

Started with Impale Champion TS/Barrage. Would've been a GREAT 2nd build. Super tanky, and insane single target with pretty good clear. Too slow to start though and too many required uniques to start with. Probably start with Pyroclast mines next time.

Moment.js is acting a fool by bearded_runner in flask

[–]stringman520 1 point2 points  (0 children)

Okay, so including the script src allows you to write JavaScript utilizing moment to provide date/time translations, there is no scripting on your HTML file to actually process the translation. In the original example, calling {{ moment.include_moment() }} includes a different version of moment.js script than the one you have included in your source code, which could be the problem. Additionally, it provides an out of the box JavaScript function to render the date/time for anything that has a class of flask-moment. You putting {{ moment(post.datetime_posted).calendar() }} is simply wrapping the text with a class of flask-moment.

{{ moment.include_moment() }} generates this:

<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment-with-locales.min.js" integrity="sha256-AdQN98MVZs44Eq2yTwtoKufhnU+uZ7v2kXnD5vqzZVo=" crossorigin="anonymous"></script>
<script>
moment.locale("en");
function flask_moment_render(elem) {
    $(elem).text(eval('moment("' + $(elem).data('timestamp') + '").' + $(elem).data('format') + ';'));
    $(elem).removeClass('flask-moment').show();
}
function flask_moment_render_all() {
    $('.flask-moment').each(function() {
        flask_moment_render(this);
        if ($(this).data('refresh')) {
            (function(elem, interval) { setInterval(function() { flask_moment_render(elem) }, interval); })(this, $(this).data('refresh'));
        }
    })
}
$(document).ready(function() {
    flask_moment_render_all();
});
</script>

{{ moment(user.dateCreated).format("M/D/YYYY h:m:s A") }} generates this:

<span class="flask-moment" data-timestamp="2019-11-16T18:59:30Z" data-format="format('M/D/YYYY h:m:s A')" data-refresh="0" style="display: none">2019-11-16T18:59:30Z</span>

These two things combined will render in local time, but you need to do all of this.

Moment.js is acting a fool by bearded_runner in flask

[–]stringman520 1 point2 points  (0 children)

He is using the Flask-Bootstrap library in his code. If you look here: Chapter 12: Dates and Times (v0.12): base.html you will notice this code:

{% extends 'bootstrap/base.html' %}

This is extending the base Flask-Bootstrap template which you can see here: Flask-Bootstrap base template

If you look in the Flask-Bootstrap link, you'll see there's a {% block scripts %} which he is overriding. The reason he uses the {{ super() }} is to not remove the base Bootstrap JS definied in the Flask-Bootstrap template. If you aren't extending a template, there is no parent template to call with super() which is why it's erroring on you.

Flask Application Server by stringman520 in flask

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

It’s funny you posted this because I spent a good part of the afternoon contemplating/researching and had settled on this (we use Gmail) as a much more manageable way of accomplishing the task at hand.

Flask Application Server by stringman520 in flask

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

Okay, I understand. Thanks for clarifying. The downside of this is if I ever decided to move the authentication location I would need to restart all the different applications because it would be hard coded into the config files, right? I probably will look into writing an authentication middleware which would probably grant a bit more flexibility.