News for hackers. Stuff that matters.

c-a

Re:Gen - a generics library for Go on Saturday January 11, 2014 @07:24PM (#7044512)
Actually it's a code generator with a library of functions it can generate. This is how the "generics" are implemented: https://github.com/clipperhouse/gen/blob/master/templates.go
Re:Gen - a generics library for Go on Saturday January 11, 2014 @07:00PM (#7044406)
Why call it a library when it's a code generator/compiler?
Re:Google Hangouts/GTalk glitch sends chats to wrong recipients on Thursday September 26, 2013 @06:00AM (#6449778)
Wouldn't a problem like this call for pulling the service off while it's being investigated/fixed?
Re:Gnome 3.10 Release Notes on Wednesday September 25, 2013 @05:08PM (#6447298)
There's a live image here you can give a shot: http://ftp.gnome.org/pub/gnome/misc/promo-usb/gnome-3.10.iso

I think it's based on Fedora but I haven't tested it myself yet so I'm not sure.

Re:A fast and static web server for serving web apps on Tuesday August 06, 2013 @02:26PM (#6168269)
The request parsing code seems to be of dubious quality https://github.com/timothyej/Shortfin/blob/master/src/reques...

From a cursory glance:

1. https://github.com/timothyej/Shortfin/blob/master/src/reques...

should be (data_len - i >= 4) since it accesses data[i+3]

2. https://github.com/timothyej/Shortfin/blob/master/src/reques...

shouldn't headers[header_count]->key also be null terminated?

3. https://github.com/timothyej/Shortfin/blob/master/src/reques...

header_count can become greater than 49 which causes a heap overflow at https://github.com/timothyej/Shortfin/blob/master/src/reques... and https://github.com/timothyej/Shortfin/blob/master/src/reques...

To quote the maintainer in another bug.

--- The reason is that these settings make no sense. Why should a terminal be transparent, or have an image behind everything, but the same not apply to, say, gedit, or firefox, or evolution?