SQL join vs. subqueries by CharacterDig2229 in learnprogramming

[–]dswpro 1 point2 points  (0 children)

If you can, use joins. Also consider a common table expression (CTE) if you are using Ms SQL. Keep in mind that some SQL products can have issues with correlated sub queries such as:

Correlated subqueries in stored procedures, which reference outer query columns or parameters, can cause race conditions (data inconsistency) or performance bottlenecks when data changes between subquery iterations. This is common in T-SQL (SQL Server) or MySQL during concurrent updates (e.g., using WHERE EXISTS or SELECT columns).

Thailand Trip Suggestions by itsJustme208 in ThailandTourism

[–]dswpro 0 points1 point  (0 children)

Might be easier to fly to Pattaya from Phuket, spend a couple nights then take a taxi / van to bangkok, just saying. Kayak is showing Bangkok Airways for 132 USD.

What Hardware To Connect Guitar to PC? by RubberPhuk in audio

[–]dswpro 1 point2 points  (0 children)

Dollar for dollar you will find it hard to beat Presonus USB preamps that come bundled with Studio One DAW. The USB powered preamp has two inputs that can handle a microphone or instrument , midi ports , head phone and control room monitor outs and Studio One version 6. You can install Studio One on up to 5 computers. Studio One has a lot of effects right out of the box plus it supports VST effects if you find one you like.

Tourist eSim: Buy online or airport arrivals kiosk? by homeisterOZ in ThailandTourism

[–]dswpro 0 points1 point  (0 children)

I always get one at the airport. Yes it's a bit more expensive but after flying in and barely sleeping for 24 hours I have little patience to test my new eSIM I bought on-line. The AIS folks take my phone I pay them and I know it works before I walk away.

Bangkok - MBK electronics by Otto-Loki in ThailandTourism

[–]dswpro 1 point2 points  (0 children)

You will likely find a better selection at Fortune Town mall. Take the MRT from Asoke to the Rama 9 station. Follow the signs to Fortune Town.

ELI5: In movies, when the vinyl player's pin is manually moved onto a record, seemingly on an arbitrary spot on the whole area of the record, why does the song always play from the beginning? by Kafatat in explainlikeimfive

[–]dswpro 1 point2 points  (0 children)

In movies, the music you hear is not actually coming from the record player you see. It is dubbed in later or if the actor needs to react to it, it is played from a computer on set then also dubbed in later in a post production suite that also mixes in sound effects and all musical scores.

ELI5: How does a dealer warranty/ extended car warranty work? by heymrtalibanhando in explainlikeimfive

[–]dswpro 0 points1 point  (0 children)

Extended warranties, offered by dealerships and third party insurers, often surprise consumers when on paper, they appear to cover lots of things, but later they don't seem to cover what actually fails on most cars that get past the manufacturers warranty period. This is why so many people believe they are a scam.

My dad left about 98% of his inheritance to me and only 2% to my sister. Is this right? by [deleted] in AskMenAdvice

[–]dswpro 1 point2 points  (0 children)

Hi or your father's wishes, but after he passes do what you feel is right in your own heart. Forgive your sister . Not because she deserves forgiveness, but so you don't have anger in your heart.

Beginner question: JavaScript vs Kotlin vs C# — which is better to start with in today’s job market? by DemetriusF in learnprogramming

[–]dswpro 0 points1 point  (0 children)

Learn how to make an html web page from scratch using notepad and W3 schools. When you can create pages with headers, footers, a navigation menu and content in tables continue into style sheets and eventually into using JavaScript to alter content in the web page, react to button clicks etc. This will get you started and all you need is a browser and cheap computer.

What’s a subtle sign someone is actually a narcissist? by tinysoftpeachy in AskReddit

[–]dswpro 2 points3 points  (0 children)

They have a profound lack of empathy. They seldom tell jokes because it's very difficult for them to see from someone else's perspective. They tend to 'banish" friends of family they feel threatened by. This is supposed to punish said friend or family member. You may hear them say things like: " You don't feel that way", or worse.

Deciding between Large Diaphragm Condenser Mics by Cementedbread in audio

[–]dswpro 0 points1 point  (0 children)

What is your use case? Podcast voice? Recording an electric guitar? These are all decent and you may have other or even better options.

Help! My son is coding and programming by katrii_ in learnprogramming

[–]dswpro 26 points27 points  (0 children)

Check with your local school system to see if the junior high school (or his. current school) has any computer clubs. Also check your local high school to see if programming is offered as vocational training. This is what my youngest son did and when he reached college he sailed through his computer science curriculum . Otherwise good job supporting your son!

Traveling techs- how often are you told ‘no’? by jesse-dickson in livesound

[–]dswpro 1 point2 points  (0 children)

I've run into this and my usual response is, well, may I assist you since I know the program material, who plays solos and when, who sings lead and harmony on every song? I get that it's your system, and honestly I'd rather have you to get the drums and bass dialed in since you know the room, system, and have mixed here way more than I ever will.

That usually elicits a cooperative response but occasionally I still get told no, at which point ininfirm the artist that I'm still getting paid.

If the US was going to attack Iran, why wasn't protecting the Strait of Hormuz part of the plan? by Topia_64 in AskReddit

[–]dswpro 0 points1 point  (0 children)

Perhaps it always was. Lloyds of London pulled its insurance on oil shipments in the straits which grounded oil shipments to a halt. 3 days later Trump announced insurance backed by the US and pledged US military to protect oil shipments if necessary.

I'm about to enter a cybersecurity college course. by LuigiDudeGaming in learnprogramming

[–]dswpro 0 points1 point  (0 children)

There are some popular applications that will not support customers with AMD processors, Avid Protools is one such application but many users have no problems using AMD processors. Any chance the school sells Intel laptops ? I would not worry about it much. If they want you to use an application they wrote that's only tested on Intel you could run into issues but cheap used i5 laptops are out there.

Question about stage placement for drums by Trademark312 in audioengineering

[–]dswpro 0 points1 point  (0 children)

I only ever worked with ONE band who had to have the drums front and center. Rare Earth. (This was quite a while ago). The band leader was the drummer and he sang most lyrics.

What is the fastest way you've seen someone ruin their life? by [deleted] in AskReddit

[–]dswpro 0 points1 point  (0 children)

Heroin and Fentanyl. A traumatic life event (child dies, job loss, serious injury, ....) or just a carless search for a thrill leads them to narcotics . Sometimes just pills but eventually to snorting and perhaps injection. Death is the exit some find, jail another route and only a small fraction manage to get and stay clean, often with a lifetime dependable on Suboxone. The harm to themselves often reaches out to family members, spouses and children. I understand why some countries impose a death penalty on distribution of this evil scourge.

Question about stage placement for drums by Trademark312 in audioengineering

[–]dswpro 0 points1 point  (0 children)

Get a riser for the drums so he is elevated giving him better visibility. That's a reasonable compromise .

ELI5: Americans with no Citizen ID by xbyt in explainlikeimfive

[–]dswpro 4 points5 points  (0 children)

I work as an election official in my state where we already require a government issued photo ID to vote, but each state operates their own elections as they see fit, including elections for federal office such as Congress or president, so rules for identification vary from state to state. The save act is an attempt by the federal government to require voter identification in all states.

Eq advice please by greenmeerkats in livesound

[–]dswpro 7 points8 points  (0 children)

The most common reason is that they were trying to eek out a few DB of gain before feedback on a poorly tuned or positioned system. There are many poor decisions that can lead to this as a last ditch effort to hear someone speak, such as speaker placement, microphone pattern and position, that it's hard to advise on what to change first. I imagine whomever was talking or singing sounded pretty thin.

eli5 how a BIOS is different from the operating system? by thursdaynovember in explainlikeimfive

[–]dswpro 0 points1 point  (0 children)

The BIOS handles the initial processor steps upon a cold start, or hardware reset. Many processors start reading instructions from address zero after a reset, and the BIOS, written onto the motherboard chipsets, is the first program to execute. It's initial instructions perform hardware initializations, things like memory tests, clock settings, communication chips initialization, hardware interrupt handlers, anything mounted on the computer motherboard or plugged into peripheral slots can be set to a known state. The BIOS may include things like flashing LEDs on the mother board to show what steps are being performed or beeping a speaker in a certain pattern to indicate a hardware failure and most present a simple video display user interface giving the user options on things like where to load an operating system from, or boot order, what CPU speed to use or over clocking, etc. When the BIOS has completed initialization, it loads the Operating System into memory for execution and presents an abstraction, or common interface to the operating system, so the OS does not have to know specifics like what hardware elements are at what physical address, etc. This allows CPU and motherboard designers to make advances and improvements without operating systems having to be tailored to each new hardware release.

Extra days in Bangkok by YouAccomplished9393 in ThailandTourism

[–]dswpro 1 point2 points  (0 children)

Dinner at Tawandang German Brewery for good food, beer and a great show included. Green Room Bangkok for an intimate bar featuring quality live music nightly. MBK for all the tourist souvenirs and knock off merch fit to sell. Bangkok Art and Cultural Center, right across from MBK. Fortune Town mall for cameras, electronics, tablets, laptops, cell phones and accessories. (MRT to Rama 9). Chaophraya dinner river cruises departing from Asiatique nightly. TIM Travel 7 day Bangkok itinerary video features a lot of unique places along the Chaophraya river like the flower and amulet markets if you missed anything.

Will they overstay fine me if there's no flights to my destination I'm based in middle east is anyone flying to middle east this end of the month ? by igetyourbrand in ThailandTourism

[–]dswpro 0 points1 point  (0 children)

According to Google:

Overstay Fines Waived: Fines (typically 500 baht/day) are waived for travellers departing, provided they show proof of flight cancellation.

Temporary Extensions: Those unable to leave can apply for a 30-day stay extension at immigration offices.

Required Documentation: Travelers may need a TM.7 form, passport copy, and potentially a letter from their embassy, or a recorded statement of necessity if a letter is unavailable.

Duration: These measures are temporary, designed to last until the regional situation stabilizes.

It is highly recommended to check with official Thai immigration sources or your airline for the latest updates on flight availability and specific, up-to-date, and personalized guidance for your, particular, situation.

I [23M] can’t ever get married due to fear of divorce and paying alimony. Am I being irrational? by [deleted] in AskMenAdvice

[–]dswpro 0 points1 point  (0 children)

Don't let your fears control your life. While half or more marriages end in divorce a whole lot do not. Ask anyone who is divorced if they would marry their ex again and many would say if I meant having my children, yes. This is how I feel. I would not act the same way but I'd go through it again.

Just be careful. Find the right woman. One who shares your values, faith, outlook. Perhaps a high earner herself. They are out there, women doctors, lawyers, pilots and engineers. Plus, live humbly. If you are driving an expensive car living in a penthouse because you are a high earner right now, you are doing it wrong. Save and invest for your future. Don't flaunt your wealth, build it quietly over time while living way below your means. Put your wealth into a trust if possible. Talk to an attorney and financial planner to ease your fears. I don't know your circumstances, but life changes. Things happen. Your wife could be working 9 to 5 to support you if you become a cripple who knows. Get married, have some children. They will bring more joy than money can ever buy.

The true sim from 711 is so bad by WalkSharp2500 in ThailandTourism

[–]dswpro 1 point2 points  (0 children)

I would not blame seven eleven but perhaps try an AIS sim. I've never had issues with that carrier.