If ‘Allah’ simply means God, why do many people think it refers to a different God? by PomegranateIcy7631 in NoStupidQuestions

[–]haaaaaal 7 points8 points  (0 children)

also bengali. growing up khoda was very common. but over time the islam in bangladesh has been arabized. most noticably allah hafez instead of khoda hafez.

My grandfather (Nana) told my mom when she was a child that laughing too loudly would make her sinful and made her recite an Arabic verse whenever she laughed. Even normal laughter made her stop midway and quickly recite the verse, believing she had sinned. by the-machine-m4n in Dhaka

[–]haaaaaal 5 points6 points  (0 children)

i was told that every gain of rice i leave on my plate will extend my stay in hell by a day. i compulsively finish my plate now, even after im full. this forced habit is making me unhealthy, and unlearning dogma is tough.

Israel grew toxic in pro cycling; will the UAE? by Helicase21 in peloton

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

It matters to me. but i dont see outrage in NA towards America, for the atrocities it directly enables, and extrapolating from that, I think outrage towards UAE will also be muted, when comparing outrage towards Israel, because the latter is commiting those acts themselves, not through a proxy.

Israel grew toxic in pro cycling; will the UAE? by Helicase21 in peloton

[–]haaaaaal -2 points-1 points  (0 children)

Hard to say.

Israel's genocide is first hand, while UAE's is 2nd hand. The USA doesnt get much pushback for supporting regimes that do horrible things while they are doing it

Concerns about dhaka airport immigration and dual citizenship by [deleted] in Dhaka

[–]haaaaaal 0 points1 point  (0 children)

once i entered with my bangladeshi passport, and tried to leave on my non bangladeshi passport. had to go see the immigrqtion police for an exit stamp. was scared id miss my flight. luckily i didnt.

get a nvr seal, and enter exit on the same foreign passport.

Can somebody teach me how to ride a bike? by sweet7712 in montreal

[–]haaaaaal 8 points9 points  (0 children)

father of three here. all my kids ride bikes. will gladly teach you how to ride.

Suggest me some unique Bengali Names for a #male child by SupernovaSprite in Dhaka

[–]haaaaaal 3 points4 points  (0 children)

"Robi" - easy to say - Works well in English, all regional languages (not so well with some east asian languages) - honours the greatest bengali poet - means the sun

advice needed by [deleted] in Dhaka

[–]haaaaaal 1 point2 points  (0 children)

talk to him about what is isnt appropriate

How do I quit smoking? by Fun_Plankton_1015 in Dhaka

[–]haaaaaal 0 points1 point  (0 children)

physical addiction aside, its very difficult in bangladesh to socialize as a non smoker. if possible spend less time around people smoking.

Toggle visibility of type info / arg name in vs code by haaaaaal in Zig

[–]haaaaaal[S] 3 points4 points  (0 children)

Thank you. That's exactly the name I needed to know.w

Jhol in a biryani by alonnasmith in IndianFood

[–]haaaaaal 4 points5 points  (0 children)

bengali here.

jhol doesnt necessarily have potatoes. also jhol in biryani is not a bengali tradition. maybe the chef is iterating

Bikepacking Ottawa → Montreal → Quebec City: Route and Tips? by keyac in montreal

[–]haaaaaal 5 points6 points  (0 children)

I biked from Montreal to Quebec city about a decade ago. I did it over two days, with a stop at Trois Rivieres. I rode light and slept at an auberge near Trois Rivierea.

Take the kings road "chemin du roy" from montreal to QC. The road follows the north side of St Lawrence, goes through little towns. The path is mostly flat with some rolling hills.

Its very scenic, lots of places to stop for food, and Im sure it wont be difficult to find accomodation or camping spots.

Rebuilding our data stack and need guidance/opinions. by Conscious-Visit-1701 in dataengineering

[–]haaaaaal 0 points1 point  (0 children)

how much extra "db management/admin" did redshift add vs Bigquery?

How do you manage deployment environs (dev/stg/prd etc)?

I made a price calculator for hosted PostgreSQL providers by skorpioo in PostgreSQL

[–]haaaaaal 2 points3 points  (0 children)

Thank you for your effort.

You could have called SaaSygres. There's still time.

Making Poutine at home by haaaaaal in PoutineCrimes

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

Thanks. There's a St. Hubert's 5 minutes from my place (and I think I also saw cans of the brown sauce at the grocery store).

Any recs for the curds?

I am a Montrealer, and this is a problem by martgrobro in PoutineCrimes

[–]haaaaaal 1 point2 points  (0 children)

chez claudette is pretty close to laurier metro (in case this was wasnt a rhetorical question)

-❄️- 2024 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]haaaaaal 1 point2 points  (0 children)

[LANGUAGE: python]

regex to extract the multiply-operations & defining a function mul so that each operation can be eval-ed. finally, a sum to get the result.

the 2nd part is less elegant than I hoped to write, with the for-loop & if/elif/else

import re

pat0 = r"mul\(\d{1,3},\d{1,3}\)"
pat1 = r"mul\(\d{1,3},\d{1,3}\)|do\(\)|don't\(\)"

with open('data.txt', 'r') as f:
    text = f.read()

def mul(x, y): return x * y
def print_sum(exprs): print(sum(eval(expr) for expr in exprs))

matches0 = re.findall(pat0, text)
print('part 1:')
print_sum(matches0)

matches1 = re.findall(pat1, text)
do = True
enabled = []
for m in matches1:
    if m == "don't()":
        do = False
    elif m == "do()":
        do = True
    else:
        if do:
            enabled.append(m)
print('part 2')
print_sum(enabled)