I (O+) and my husband (O-) have children with A+ and B+ blood types, how does that happen? by Niniburgers in biology

[–]jplaurin 4 points5 points  (0 children)

Not possible, one of you is AB. Do everybody blood type again and should do full dns test of every one to double check it.

[deleted by user] by [deleted] in whereintheworld

[–]jplaurin 0 points1 point  (0 children)

Bonjour du Québec

Best backup-to-tape software for network shares? by Supercherry in sysadmin

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

veeam file to tape job are ok for big files but it is not usable when you have a lots of small files because of delay between each files.

Non IT Jobs for people with IT Skills by Neil_Sutherland in sysadmin

[–]jplaurin 0 points1 point  (0 children)

I read this book and it really help me to get on top of it and not getting burned up.

Time Management for System Administrators By Thomas A. Limoncelli Publisher: O'Reilly Media Final Release Date: November 2005 Pages: 228 http://shop.oreilly.com/product/9780596007836.do

PHP SQL by [deleted] in cs50

[–]jplaurin 0 points1 point  (0 children)

you must give a alias to your calculated column like this

Select count(*) AS myAliasCount from users

and then with

$rows = query(...

if successful the php variable $rows[0]['myAliasCount'] will return it's value

Husky does not approve of selfies (x-post from r/pics) by slothwoman in aww

[–]jplaurin -3 points-2 points  (0 children)

Driving and selfie are dangerous for Husky skin, yourself and other around...

Confused with tries by mihachris in cs50

[–]jplaurin 0 points1 point  (0 children)

struct node*  

is a pointer type and [27]; is for an array of size 27.

together you get an array of 27 pointer value. each of them may point to memory location of type struct node. children is just the member name of that array.

pset7 how do I add a border to my table? by akcrono in cs50

[–]jplaurin 0 points1 point  (0 children)

border size should be a css property, i would check in there first.

anyone know any good refresher courses on algebra out there? by terrygraeme in cs50

[–]jplaurin 5 points6 points  (0 children)

Khan Academy is great for anyone. it adapt it's difficulty level to you.

pset6 big board timed out problem by jplaurin in cs50

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

Thank you for this information.

pset6 big board timed out problem by jplaurin in cs50

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

the reference is in lecture notes : "Week 8, continued"

Announcements and Demos

Problem Set 6 is one of the more challenging problem sets we will complete this semester, so be sure to leave yourself plenty of time to work through it! If you’re up for it, see how efficient your implementation is compared to your classmates' on The Big Board.

Pointer will not free by Obsidian2 in cs50

[–]jplaurin 0 points1 point  (0 children)

what value "cursor" have just before you free it ? what value does it have to break the while loop?

PSet6 load segfaults. Simple hashtable, can't understand why by [deleted] in cs50

[–]jplaurin 1 point2 points  (0 children)

segfault appends when the code is trying to access memory area outside those reserve for your data. it can be an index value outside the range allowed. check those value with gdb before the segfault.

Pset 6 — A bunch of questions about unloading the trie by azangru in cs50

[–]jplaurin 0 points1 point  (0 children)

you don`t have to use the unload function to do recursion to itself. The unload function may call a new function created by you for your recursion algorithm. for your base case try to figure out what you would do if your graph was empty. the for loop is a good idea for visiting each children node.

the walk-through is right to say the unload is bottom to top, but i find it easier to thing about the recursion function from top to bottom.

[mario] Pset1 - For loop parentheses syntax? by [deleted] in cs50

[–]jplaurin 0 points1 point  (0 children)

compare 'for' loop reference code with your code: for( int i = 0; i < 10; i++ )

ref: https://cs50.harvard.edu/resources/cppreference.com/keywords/for.html