Better HN
topnewbestaskshowjobs
Log inSign up

rainbowgarden

353 karma · joined Nov 9, 2013 (13y ago) · 37 submissions

Submissions

comment 11y ago · link · parent

Here's the link to the project repository: https://github.com/arjun024/wikicoding

2.

Wikicoding, the wikipedia of code(wikicoding.org ↗)

6 points · by rainbowgarden · 11y ago · 2 comments

3.

Whats – a tool written in Go to look up something from web(github.com ↗)

2 points · by rainbowgarden · 11y ago · discuss

4.

Google Finds Fundamental Computer Flaw That Hackers Can Exploit: Memory Leaks(slate.com ↗)

1 points · by rainbowgarden · 11y ago · discuss

comment 11y ago · link · parent

It will overflow to filler[3]. ie the 4th byte. see the struct sockaddr:

	 * first 2 bytes: Address Family,

	 * next 2 bytes: port,

	 * next 2 bytes: ipaddr,

	 * next 8 bytes: zeroes.
so filler[2] and filler[3] will form a short which will contain the port number.

6.

Python scripting into gdb(sourceware.org ↗)

2 points · by rainbowgarden · 11y ago · discuss

7.

Socket programming – well commented examples(github.com ↗)

1 points · by rainbowgarden · 11y ago · 3 comments

8.

Educational x86 kernel that manages keyboard and monitor(github.com ↗)

1 points · by rainbowgarden · 11y ago · discuss

9.

What is self in Python?(stackoverflow.com ↗)

1 points · by rainbowgarden · 11y ago · discuss

10.

The byte order fallacy (2012)(commandcenter.blogspot.com ↗)

1 points · by rainbowgarden · 11y ago · discuss

11.

Findrep – find and replace in one simple command(github.com ↗)

1 points · by rainbowgarden · 11y ago · discuss

12.

Findrep – easy tool to find and replace(github.com ↗)

1 points · by rainbowgarden · 11y ago · discuss

13.

Programming with Ones and Zeros(hanshq.net ↗)

64 points · by rainbowgarden · 11y ago · 8 comments

14.

Write your own minimal OS Kernel(arjunsreedharan.org ↗)

4 points · by rainbowgarden · 11y ago · discuss

15.

A once backdoor in D-Link router and when someone tried to backdoor linux kernel(arjunsreedharan.org ↗)

3 points · by rainbowgarden · 11y ago · discuss

16.

Show HN: ImageTweet – tweet longer messages using Images(github.com ↗)

1 points · by rainbowgarden · 11y ago · discuss

comment 11y ago · link · parent

not better than splitting a 1000 character message??

18.

ImageTweet – Tweet longer messages using Images(imagetweet.com ↗)

3 points · by rainbowgarden · 11y ago · 2 comments

19.

Sneaking in data inside pointers(arjunsreedharan.org ↗)

4 points · by rainbowgarden · 11y ago · discuss

comment 11y ago · link · parent

When dealing with floats, it should be noted that unlike a 32-bit `int` which is a signed 2's complement representation; a 32-bit `float` follows single precision floating point representation which is 1 sign bit, 8 exponent bits and 23 mantissa bits. Not that there's anything wrong with the article, i just wanted to put it here.

comment 11y ago · link · parent

Can you blame Linus for saying that? I can't speak with precision about 1999, but someone assumed to have a CS education should know the difference between semaphore and spinlock.

22.

Linus Torvalds on semaphores (1999)(yarchive.net ↗)

349 points · by rainbowgarden · 11y ago · 104 comments

23.

Hide data inside pointers(arjunsreedharan.org ↗)

2 points · by rainbowgarden · 11y ago · discuss

24.

Hide data inside pointers(arjunsreedharan.org ↗)

3 points · by rainbowgarden · 11y ago · discuss

25.

'git root' command proposal to show root directory(spinics.net ↗)

2 points · by rainbowgarden · 11y ago · discuss

26.

Twitter vulnerability exposed – see the first tweet here(twitter.com ↗)

1 points · by rainbowgarden · 12y ago · 1 comment

27.

Create a kernel with keyboard driver in just 200 lines of code(github.com ↗)

3 points · by rainbowgarden · 12y ago · discuss

28.

Let’s write a Kernel with keyboard and screen support(arjunsreedharan.org ↗)

4 points · by rainbowgarden · 12y ago · discuss

29.

Let’s write a Kernel with keyboard and screen support(arjunsreedharan.org ↗)

3 points · by rainbowgarden · 12y ago · discuss

12