« first day (189 days earlier)    last day (1 day later) » 
01:00 - 18:0018:00 - 00:00

18:00
dangit.
Guess I alt+tab one too few times.
Beep boop, postgres setup complete. Please give me data
START TRANSACTION;

-- Subtract 20 from AccountID 1
UPDATE Accounts
SET QuatloosBalance = QuatloosBalance - 20
WHERE AccountID = roganjosh;

-- Add 20 to AccountID 2
UPDATE Accounts
SET QuatloosBalance = QuatloosBalance + 20
WHERE AccountID = 'Kevin Flynn';

COMMIT;
There's your data :p
That's got to be the geekiest burn I've ever received. I'm both impressed and wounded at the same time :'(
lol
18:03
hey
@Aaditya Battin Something you'd be interested in building, that would showcase skills to an employer. Beyond that, no real specifics.
@roganjosh I couldn't resist.
Everyone knows quatloos work on the blockchain anyway so... yeah. Take that! Meanie!
:D :D I still claim them.
Besides, they were aymbers anyway, you haven't really lost anything
any specific group I can work with ? any project with them ?
18:06
There's something about that "COMMIT;" that is so visceral :P
any suggestions ?
@Aaditya Battin honestly, I suggest you learn how to research. Pick something you are interested in. Find groups around that. Reddit, discord, whatever. See what people are working on, ask if you can help. Find an open source project and see if you can join as a contributor.
@Kevin Flynn sounds godd
BTW in from india and not much opportunities I'm expecting from my tier-3 college, anyone have any suggestions for me. I'm new in this lobby
18:12
@roganjosh I've down loaded the "North-American-latest.osm.pbf file. I need to open it and load it into my data base. What can I use to open it and move it to my data base? looked at
@Kirk Larson it doesn't belong in a database, you need to deconstruct it with contraction hierarchies using OSRM
Are you going with OSRM or something else for the routing?
I don't need routing... just miles. Its a small part of a larger Get Rate script. I have to mimic/replicate Google miles. I have a couple tools for miles but with what I'm doing I have to this one.
Miles comes from routing
ok got it.
You need the routing engine on top to work out the real-road distance between A -> B
But those routing engines don't work off DB data, they need to generate their own flat files
I'm going to assume you want OSRM for this, in which case, you can see what to do with the .pbf here
18:29
hi
flipbook
@Kirk Larson How much RAM have you got btw?
18:47
hi
19:22
Hello
hey guys i have a problem in phyton code who can find it
from numpy import array
from math import sqrt as racin
from pickle import load,dump
num=dict(R=str(),M=str())
T=array([dict]*10)
#sous_prog
def msgt(ch):
    msg=input(ch)
    while msg.upper()!="OUI" and msg.upper()!="NO":
        msg=input("voulez-vous saisir votre ticket ? [O/N]")
    return msg

def model(ch):
    p1=int(ch[0])
    pf=int(ch[len(ch)])
    if abs(p1-pf)>=5:
        return "ooredoo"
    else:
        return "orange"

def compter(ch):
    if ch.find("0")==-1 or ch=="":
        return 0
@GB Aziz Are you challenging us to some kind of "spot the problem" exercise? Or is there a specific problem you're trying to address and need help?
@GB Aziz is there an error message, or are you just not getting the results you want?
i dont get the res i want there is a problem in remplir
@GB Aziz Can you elaborate on what problem you are observing?
19:32
in function verif its always give me the message ticket non valid even if it valid
@GBAziz what's your problem bro
@GB Aziz Are you able to step through the code with a debugger to more closely examine the behavior in that function? When you do that, which specific operation in that function produces an unexpected result? What were the values used in that operation? What was the result? What different result was expected? Why?
first i give him oui to procced to the next step then i give him this ticket number 1134567811300 , for check if its valid it need that the three first three number be "premier mean devise par 1 and itself only" and the other 5 number when i make them to base 2 bin the number of 0 need to be >=6 and the last three number need to be devise par the first 3 number (totaly 13 number need)
@GB Aziz Is using a debugger not available to you, or are you not familiar with what that means? In the absence of a debugger, as a fallback approach you could update the code to output meaningful information (variable values, useful notes, etc.) after each operation in that function, to more closely examine the specific operations being performed.
im just a student bacalurate we are limited in the programe to learn the basic logic first if u can , tell me about a debugger
19:46
@GB Aziz
185
Q: What is a debugger and how can it help me diagnose problems?

RaedwaldThis is intended to be a general-purpose question to assist new programmers who have a problem with a program, but who do not know how to use a debugger to diagnose the cause of the problem. This question covers three classes of more specific question: When I run my program, it does not produce ...

19:58
tunisia
gabes exactly ain slem
Please don't share personal information, especially those belonging to other people
20:24
howdy!
20:57
hi guys, im new to coding, i just started a 90 day coding challege
@GB Aziz I can't even get past while msg.upper()!="OUI" and msg.upper()!="NO":. I don't know how that loop works
21:42
ey kojo i'm new 2
how did you guys learn programming other than school? i used a website
i'm currently still learning (python) anf i'm on loops
i mostly just learned for fun too
@GB Aziz: first i give him oui to procced to the next step then i give him this ticket number 1134567811300 , for check if its valid it need that the three first three number be "premier mean devise par 1 and i
I'm not sure I have this right, but the first three need to be a prime number? And then the next 5 numbers convert to base 2 and must be >= 6? And the last 3 need to divide into the first 3?
@cyan School for C, C++, machine, assembly, Fortran and Pascal. Prior to that had an 8 cassette course of "Teach yourself basic", and then after that, just... changed what I knew to the new language format.
that's a lot. i just use a site called w3schools
i dont have any curriculums as i learn purely for passion
for example, "For X = 1 to 10, Step 2" becomes "for (int x= 1, x <= 10, x+=2).
@cyan Learn the constructs and then you can translate to most languages.
oh thanks dude
i have to do 29+12 for hw but little does teach know... i know how to type and do math in the console >:D
kinda forgot but it was like: answer == (29+12)
print(answer)
22:01
@cyan That's odd. Most languages a double == is a boolean comparison, and a single = is an assignment.
agh i forgot
i forget that/mix those up since w3's console pampers me
like it just knows what i'm tryna say
@cyan Heh, that will bite you. It certainly bit me a few times before IDE's came around and said "Uh...dude. That's wrong."
the one thing i hate the most is indented code
like...why?
I have no idea
anyways i gotta do hw so i'm not gonna respond to some things
cys soon, prolly next week since i'm in skool
*cya
22:06
@cyan Readability primarily. Although some languages (Looking at you, COBOL), only allow certain types of assignments or procedure names in certain columns. Goes back to punchcard days.
22:45
also, a question about the "android" room, dont androids use kotlin or smtn?
or does it use multiple languages and the room is compiling it into one? idk
It's like this room, but specialized to android. All things android would be on topic. However, I think it is a fairly dead room, as the room description is "A long time ago, this room served a purpose." and there is an Android stack site with it's own chat.
oh thx
23:57
i hate myself
01:00 - 18:0018:00 - 00:00

« first day (189 days earlier)    last day (1 day later) »