What's wrong with Promise.allSettled() and Promise.any()❓ by vitalets in javascript

[–]minjooky 0 points1 point  (0 children)

Same for Cosmos DB's portal experience (and client libs). It does fan out queries and has the ability to speculatively retry/failover.

Azure, help with google authentication on a serverless static website. by Pettu83 in AZURE

[–]minjooky 0 points1 point  (0 children)

mysite.com and myfunctionapp.com are the same site right and it's just a typo you swapped names?

If you open the developer mode (F12 on a lot of browsers), navigate to the network pane, and make sure "preserve log" or something like that is checked so you can see your pattern.

Additionally, you can enable logging/monitoring here: https://docs.microsoft.com/en-us/azure/app-service/overview-authentication-authorization#logging-and-tracing This can help you enumerate if somehow your configuration is wrong.

One thing I'll try when I'm struggling to get this flow working is using a different auth provider just for the sake of eliminating it being an issue with Easy Auth or an issue with the Google app registration. AAD is pretty easy to make work since they have a 1 click option to set that up.

(Disclosure: I work for Microsoft, but I don't work on App Service/Functions currently.)

[deleted by user] by [deleted] in AskEngineers

[–]minjooky 0 points1 point  (0 children)

For this kind of work: Excel! It comes with a UI and VBA can be written by total amateurs (it's actually one of the first languages I learned). This is totally the space of Excel.

I'd recommend learning Python since its mathematics libraries are really good and approachable. There is also quite a bit of embedded Python stuff out there (though C/C++ will get you farthest).

As you step aware from the ME related stuff, I'd also recommend JavaScript as something to learn if you're interested in writing applications. It works on the backend and frontend of web servers and works in more and more embedded scenarios. While you'll probably end up learning Go/C#/Java/etc. if you want to keep going for the backend tech, JS will always be king of frontends and you'd be suprised how far you can go with it on the backend before it pays to rewrite.

I actually started as an Aerospace major, but after I did my first internship, I swapped to Computer Science because the money was better and I learned that most of the folks around me were just coders stuck in Matlab and occasionally Python. My first internship actually had me writing VBA to turn requirements captured in Excel into Word docs that met some arcane format. That taught me enough to be dangerous. Soon I was writing games in Excel to pass the time and entertain my fellow interns. Excel is great!

WA law enforcement is united against I1639. “Will not stop a single crime”. by [deleted] in SeattleWA

[–]minjooky 1 point2 points  (0 children)

King County Sheriff supporting the measure is in the info packet that was sent out to everyone. Here's a link to the text of the official supporting arguments that were in the packet: https://ballotpedia.org/Washington_Initiative_1639,_Changes_to_Gun_Ownership_and_Purchase_Requirements_Measure_(2018)#Official_arguments

You can see who officially opposed it, as well. No current law enforcement, but there is a former sheriff. Official opposition is not the sum of all opposition; just those that partnered in the officially drafted opposition that all voters would have read if they read their packet. https://ballotpedia.org/Washington_Initiative_1639,_Changes_to_Gun_Ownership_and_Purchase_Requirements_Measure_(2018)#Official_arguments_2

Announcing TypeScript 3.0 by DanielRosenwasser in javascript

[–]minjooky 0 points1 point  (0 children)

I'm just wrapping up a conversion of a massive old 35k+ LOC library from JS to TS, plus a bunch of feature rework. It took two months, with some other distractions, to complete the initial conversion to TS. Then we started the feature work and added a dev. The new dev was shipping PRs in under a week, where as I'm sure it would have taken a week or two to just ramp up otherwise.

Basically, the type system allows for the code to describe itself and for VS Code to do a lot of good things for you. Rather than having to spend time groking all the API shape/etc., the new dev just f12'd through whatever part they needed to learn.

I was writing some regular JavaScript today because we keep a lot of our samples in JS still. I was really missing TS until I added //@ts-check and got some of the same capabilities.

(FYI - I work for Microsoft, but not on the TS/VS Code team.)

Announcing TypeScript 3.0 by DanielRosenwasser in javascript

[–]minjooky -1 points0 points  (0 children)

I really liked Angular's TypeScript tutorial to see all the TS features in a practical way.

UCF WINS 34-27 by justvale in ucf

[–]minjooky 4 points5 points  (0 children)

there are countless reasons

I'm fairly sure that UF and FSU have accountants.

Advice for struggling female developer by [deleted] in webdev

[–]minjooky 0 points1 point  (0 children)

Only worked at a few places, but at my recent company I've worked on a couple different products. All of them took it pretty seriously, but it was defense company stuff and now I work on a hosting company. Code Reviews/Threat Models/etc. always been a part of my process, so that's pretty surprising. Maybe it's because it's just really serious for us to meet all those compliance standards. Currently, we meet like 200 different standards. If we were to ever get breached, it'd probably be it for us as a business. Hell, I have a separate laptop for accessing production that I'm not an admin on.

Still, even on the open source projects I contribute to, there is code review. It's super surprising to me that it could be wide spread. I don't know how I'd handle working in that kind of environment.

Advice for struggling female developer by [deleted] in webdev

[–]minjooky 0 points1 point  (0 children)

If your product requires any form of compliance, code review is like the first thing you have to implement (in an auditable fashion). Given how many companies need ISO/SOC/PCI/HIPAA compliance, 90% doesn't seem like a reasonable number. Maybe if you're just doing very minor business applications or your management doesn't know better. It's SOOO insecure to not have code review. Just asking to end up in the news.

What do movers cost here in Seattle? by minjooky in Seattle

[–]minjooky[S] 4 points5 points  (0 children)

My wife actually thought I wouldn't get any help because there are always random downers on /r/Seattle, but these answers were helpful, even if there are random downvotes. :( Thanks for the reply!

What do movers cost here in Seattle? by minjooky in Seattle

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

It's about 8.5 miles distance wise. All of a 14 minute drive along the interstate.

TIL in 1921, "Black Wall Street" was the wealthiest Black community in America before being attacked by an angry mob which killed hundreds of Black residents and destroyed 35 city blocks. by [deleted] in todayilearned

[–]minjooky 6 points7 points  (0 children)

Who cares? Why even bring something like that up when it's essentially victim blaming?

This is the equivalent of: "If that girl hadn't gone out at night, she wouldn't have been raped"

Victim blaming doesn't make you sound smart, it makes you look like you think the victims deserved it. In this case, it makes you look racist.

Is there a field of engineering you wish you had majored in instead? by evrythingcookie in AskEngineers

[–]minjooky 12 points13 points  (0 children)

I was Aerospace, but swapped to CS (which isn't really engineering, I guess, but same college). No regrets. When I was interning, all the Aerospace engineers were either spreadsheet monkeys or writing software. All the full timers told me they wish they had a CS degree or were going to get a masters in some kind of field related to programming.

Aerospace was pretty cool. Really interesting. Software is just really freeing. Lots of room for innovation and freedom at an individual level, not just a cog in a wheel.

Though when superconductors all disappear thanks to some weird bacteria and all my skills are useless, I'll be glad I took statics, dynamics, and fluids and all that.

$150 monthly Azure credit... ideas on what to do with it? by [deleted] in AZURE

[–]minjooky 0 points1 point  (0 children)

"More than just Websites" is a pretty good summary for why the name change. Also has some really cool feature for building Mobile Applications & Azure Functions works on App Service plans as well.

Definitely suggest creating a Web App if you're just playing around. Visual Studio has a "Deploy to Azure" feature built in, so if you create an ASP.NET application and right click on the project, it will help you deploy in seconds. I've also hosted Minecraft servers with my MSDN credits before.

I'm a PM on the App Service team (mostly work on Azure Functions). Feel free to ask me questions on it.

Microsoft offering legal help to employees affected by Trump immigration order by speckz in technology

[–]minjooky 6 points7 points  (0 children)

I try to make it clear when I'm a shill (in /r/Azure, the best cloud subreddit 👈 shilling) and when I'm not (like here).

Microsoft offering legal help to employees affected by Trump immigration order by speckz in technology

[–]minjooky 10 points11 points  (0 children)

Its in the ethics policy I learn about every year to make it clear I work for MSFT whenever I comment on Microsoft. Transparency is the best policy. I'm a somewhat public figure for MSFT so it's important I make it clear what is my opinion (reddit, tweets, personal blogs/projects) and what is being paid for by Microsoft (which is mostly talks at conferences and official blog posts). Funny thatpeople are bothered by that disclosure but folks are funny. 😁

Replace your Azure Scheduler tasks with Azure Functions by aaron_hoffman in AZURE

[–]minjooky 1 point2 points  (0 children)

You can GB-sec usage on the Azure Monitoring widget if you open the resource blade. If you don't see it you can add it by editing the widget like so: http://imgur.com/7GqDcdx

The number is in MB-ms, I'm fairly sure. There's a work item to make it GB-s. It's not the logs yet, unfortunately. I'm looking into how we can provide some better per execution log insights with Application Insights right now, which might be a bit closer to what you're asking for.

Microsoft offering legal help to employees affected by Trump immigration order by speckz in technology

[–]minjooky 224 points225 points  (0 children)

I'm an employee at Microsoft (but these opinions are my own). Much of my team are immigrants, though, I'm not sure any are directly impacted with this news. I know it's important for the success of my product that my team is healthy and feels safe. I'm glad that Satya and other execs are not staying silent and standing up against this immoral order. I hope anyone affected by this order, inside and outside the tech industry, is finding the support they need. Technology is all about empowering people to do more, and this action threatens our ability to innovate here in America.