HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nadavision

no profile record

Submissions

Ash HN: Recommended niche, techincal blogs like tmpout.sh and phrack.org

2 points·by nadavision·2 lata temu·1 comments

Beej's Guide to C Programming

beej.us
115 points·by nadavision·3 lata temu·36 comments

MIT Tailsitter Drone Acrobatics

aera.mit.edu
149 points·by nadavision·3 lata temu·50 comments

CMU 15-213: Introduction to Computer Systems (free course)

cs.cmu.edu
2 points·by nadavision·3 lata temu·0 comments

The Britney Spears Guide to Semiconductor Physics

britneyspears.ac
2 points·by nadavision·3 lata temu·0 comments

What is your favorite programming library that you have used? Why?

1 points·by nadavision·4 lata temu·0 comments

comments

nadavision
·4 lata temu·discuss
Thanks for all the great answers. The inconsistency between pointer deceleration and dereference syntax was what got me. :)
nadavision
·4 lata temu·discuss
Thanks for submitting this. I'm teaching myself C so these high level overviews are super useful for improving my intuition. In the following example, shouldn't there be an asterisk * before the data argument in the getData function call? The way I understand it the function is expecting a pointer so you would need to pass it a pointer of the data object.

> "If you want to “return” memory from a function, you don’t have to use malloc/allocated storage; you can pass a pointer to a local data:

void getData(int *data) { data[0] = 1; data[1] = 4; data[2] = 9; }

void main() { int data[3]; getData(data); printf("%d\n", data[1]); } "
nadavision
·4 lata temu·discuss
Sounds really cool. Can someone smarter than I explain what are the main differences between this and the recent study carried out at the Weizmann Institute of Science? Is it mostly the successful development of the brain? - https://www.jpost.com/science/article-713690
nadavision
·4 lata temu·discuss
Unrelated to the contents on the article but the wording of the title made me think that the Harvard Professor crashed into the Pacific Ocean. You might want to consider clearing it up.
nadavision
·4 lata temu·discuss
Obligatory "there truly is an xkcd for everything."