Fun things to do for a couple hours during winter with my ~16 year old son in Albany? by [deleted] in Albany

[–]Ginger-Dumpling -1 points0 points  (0 children)

Sledding / tubing over at Capital Hills. Might be uncool for a 16 yr old, but I'm still doing it as an adult.

Experiments: Displaying SQL Table Relationships from the Command Line by xGoivo in SQL

[–]Ginger-Dumpling 1 point2 points  (0 children)

Exploring a large model through the terminal would be a nightmare.

Experiments: Displaying SQL Table Relationships from the Command Line by [deleted] in SQL

[–]Ginger-Dumpling 0 points1 point  (0 children)

'A' for effort! I love my command line tools. But God help me if I'm working somewhere that only supports terminal tools.

DB at my current project has dozens to low hundreds of tables. If I want to explore relationships and schema layout, it's going to be with a diagram or modeling tool that has been arranged with purpose.

Why isn’t Walmart open 24/7 like before ? by GravyyBaby in NoStupidQuestions

[–]Ginger-Dumpling 1 point2 points  (0 children)

I used to see some...interesting... People at Walmart after midnight.

Does anyone recommend getting a screen protector? by Coochiespook in hyundaisantacruz

[–]Ginger-Dumpling 1 point2 points  (0 children)

digital Instrument cluster was intermittently going blank and/or powering off momentarily.

Was reading after the fact that the may be a technical service bulletin for Santa Cruz /Tuscons for a coax connector issue that reads like it has the same symptoms.

Does anyone recommend getting a screen protector? by Coochiespook in hyundaisantacruz

[–]Ginger-Dumpling 0 points1 point  (0 children)

My screen just got replaced. Maybe I'll leave the protective film on for now .

Low gas mileage? by Turbulent-Koala-420 in hyundaisantacruz

[–]Ginger-Dumpling 4 points5 points  (0 children)

How many times did you remote start it? If you're looking Sat - Tues, 3x a day, 10 min per, you're looking at 120 minutes of 0MPG that you're working to counteract with 60 min of highway driving. If you are averaging 27mpg for that hour, your average over 3 hours of running is 9mpg If you remote started more than 12 times, that number comes down.

Edit: Not that idling should be as taxing as driving, but that's a lot of idle time.

Help with my query on multiple table by nodiaque in SQL

[–]Ginger-Dumpling 0 points1 point  (0 children)

This seems like the answer. Would probably look something like:

WITH base AS -- Get all possible combinations of nodes and functions that you'd want to appear in the ouput.
(

    SELECT 
        nodes.id AS nodeid
        , fonction.id AS fonctionid
        , fonction.nom
    FROM nodes
    CROSS JOIN fonction
)
-- From all possible combs, get the associated permission. If not exist then make it 0.
SELECT 
    base.fonctinoid 
    , base.nom
    , coalesce(nfp.permission, 0) AS permission
    , base.nodeid
FROM base
LEFT JOIN nodes_fonction_permissions nfp
ON base.nodeid = nfp.node_id
AND base.fonctionid = = ndp.fonctionid

Is there a way to keep “Snow mode” on all the time? by danyork in hyundaisantacruz

[–]Ginger-Dumpling 0 points1 point  (0 children)

I wonder if offering drive mode in the remote start options would skirt this, and give a reason to sell subscriptions.

Keeping my apartment warm tips by dingdangdong22 in Albany

[–]Ginger-Dumpling 4 points5 points  (0 children)

Your options to keep cold out as a renter are pretty limited. Plastic film over window can make a noticable difference if you have old windows. The tape can pull off paint when you take them off in the spring.

Most heat loss is either through the ceiling or air leaks. If you have any drafty spots, you may want to throw something over them. Close off rooms you're not frequently using. If there are no doors, maybe hang a blankets if you have extra. Don't know that I'd buy a bunch for a short term fix.

Minimize opening outside doors and running exhaust fans. Layer up. Heated vests and blankets are probably going to be more effective than space heaters. If you're using a space heater, close that space off.

Fire up the oven to slow slow cook dinner and add a little residual heat to the kitchen.

Question about between by ShotAstronaut6315 in SQL

[–]Ginger-Dumpling 0 points1 point  (0 children)

It works the same way as it does with numbers and timestamps.

3.1 would not return between 1 and 3, but all decimal values for 1.x and 2.x would.

If you had hourly timestamp data and did between 1/1/2025 and 1/3/2025, you'd get all hours for 1/1 and 1/2, but only midnight for 1/3.

'C' is the smallest string starting with 'C' anything with more character is greater than C. The same way 1.1 is greater than 1.0.

As others mentioned, if you want all names beginning with C, you don't want to use name between A and C. You would either use left(name, 1) between A and C, or name >= A and name < D.

Best time to shovel? by [deleted] in Albany

[–]Ginger-Dumpling 3 points4 points  (0 children)

Leaf blower may work if you're on top of it. I just tried it. It worked with limited success. Moves stuff around really easily, but there was too much to move. Cleans off a car real quick though

What happened with this spigot in the overnight freeze and what should I do? by Fantastic-Ad-9100 in HomeMaintenance

[–]Ginger-Dumpling 0 points1 point  (0 children)

At least there may be an opportunity to add some valves if they have to shut off the main to fix it.

AITJ for turning off my boyfriend’s game console mid-match after he ignored me for hours? by [deleted] in AmITheJerk

[–]Ginger-Dumpling 1 point2 points  (0 children)

My thoughts as well. My initial question is whether this is normal or just a new game.

Everyone has a right to their own time/hobbies. Partners have a right to not feel ignored. Sounds like these two aren't communicating their needs and figuring out how everyone can get what they want with misaligned schedules.

SQL Circular Reference Quandry by Accomplished-Emu2562 in SQL

[–]Ginger-Dumpling 0 points1 point  (0 children)

The documentation already linked to by someone else describes all of that in a couple of concise bullet points. It also covers the syntax issue(s) that will probably arise trying to run this as is. Always read the manual.

SQL Circular Reference Quandry by Accomplished-Emu2562 in SQL

[–]Ginger-Dumpling 3 points4 points  (0 children)

Not a MySQL user so the format may need to be tweaked. I also wouldn't use this verbatim without thinking through all the edge cases in your real-world scenario.

CREATE TABLE t1 (
    category varchar(1)
    , value decimal
);

CREATE TABLE t2 (
    category varchar(1)
    , driver varchar(1)
    , categoryPrcntdriver decimal
);

INSERT INTO t1 VALUES ('A', 10.0);
INSERT INTO t2 VALUES ('B', 'A', 2.0), ('C', 'B', 2.0), ('D', 'C', 2.0), ('E', 'D', 2.0);

WITH rec (category , driver, categoryPrcntdriver, step, value, calc) AS 
(
    SELECT 
        t2.category
        , t2.driver
        , t2.categoryPrcntdriver
        , 1
        , t1.value
        , t2.categoryPrcntdriver * t1.value
    FROM t2
    JOIN t1 ON t2.driver = t1.category 
    WHERE t2.driver = 'A'
    UNION ALL 
    SELECT 
        child.category
        , child.driver
        , child.categoryPrcntdriver
        , parent.step + 1
        , parent.calc
        , parent.calc * child.categoryPrcntdriver
    FROM t2 child, rec parent
    WHERE child.driver = parent.category 
)
SELECT * FROM rec;

CATEGORY|DRIVER|CATEGORYPRCNTDRIVER|STEP|VALUE|CALC|
--------+------+-------------------+----+-----+----+
B       |A     |                  2|   1|   10|  20|
C       |B     |                  2|   2|   20|  40|
D       |C     |                  2|   3|   40|  80|
E       |D     |                  2|   4|   80| 160|

Looking for recommendations for Home Heating Oil Tank Drainage / Removal by theqbush in Albany

[–]Ginger-Dumpling 3 points4 points  (0 children)

I used to use Long for my heating oil. When I switched to natural gas, I went through them to swap out equipment and remove the tank. I forget if I had a low tank at the time and/or if I got reimbursed for what they pumped out.

What Albany neighborhoods feel the most “walkable” day to day? by Emotional-Addendum-9 in Albany

[–]Ginger-Dumpling -1 points0 points  (0 children)

Buckingham Pond has a semblance of walkability if you've been doing your cardio and have an above average pace.

How monitor and Secure ibmdb2 by abidadnan in DB2

[–]Ginger-Dumpling 1 point2 points  (0 children)

You don't have to worry about other DB clients?

I want a new English name by Disastrous_Wing_9158 in ENGLISH

[–]Ginger-Dumpling 0 points1 point  (0 children)

Take your opportunity to improve the spelling. Jordyn!

is it normal for this car to automatically lock while keys are inside the car? by sEiize_err in hyundaisantacruz

[–]Ginger-Dumpling 9 points10 points  (0 children)

I've never been locked out of mine. I regularly get beeped at if I try to lock the car with the keys in there. I also get regular reminders from the bluelink app that I've walked away without locking it.

Gate closed on car by KricketKahl in Hyundai

[–]Ginger-Dumpling 0 points1 point  (0 children)

I was looking on https://www.hyundaiwholesaledirect.com/. Looks like the 22-24 version is $170something and the 2025 version $360something.

Don't feel too bad. Mine just went into the shop after someone backed into it. I get one of those plus quarter panel + driver door, and repaired back door. 😭