Better HN
topnewbestaskshowjobs
Log inSign up

slackito

220 karma · joined Dec 31, 2009 (16y ago) · 44 submissions

Submissions

comment 1y ago · link · parent

Depending on which European country it's not necessarily forbidden. "Compliance reasons" may also mean "the company must pay overtime at the appropriate rate" and they just don't want to deal with that.

comment 2y ago · link · parent

The fact that you're comparing CUDA to using triangles and shaders makes me think you might be confusing OpenCL with OpenGL.

OpenCL is meant for general computation (the C is for "computing") rather than graphics, like CUDA.

comment 2y ago · link · parent

> Pixels are a unit of area like an acre or square meter.

Some computer graphics experts don't agree with this: http://alvyray.com/Memos/CG/Microsoft/6_pixel.pdf

comment 2y ago · link · parent

> there is no mechanism to unionize wait staff, or kitchen staff, dishwashers etc. included

There is, however, a "union" of restaurant owners who lobbies against improving minimum wage and working conditions for restaurant workers.

https://en.wikipedia.org/wiki/National_Restaurant_Associatio...

5.

The Road to PS5(youtube.com ↗)

3 points · by slackito · 6y ago · discuss

6.

The curse of staggeringly slow code(positech.co.uk ↗)

1 points · by slackito · 7y ago · discuss

comment 11y ago · link · parent

Anyone interested in how GPUs work should read the series of blog posts by Fabian Giesen "A trip through the graphics pipeline": https://fgiesen.wordpress.com/2011/07/09/a-trip-through-the-...

comment 12y ago · link · parent

Thanks for the pointer to zopfli. I've used p7zip in the past as a "better gzip", and it gets good results for this one too :D

  $ curl -s http://danlec.com/st4k | gzip -cd | 7z a -si -tgzip -mx=9 compressed.gz
  $ wc compressed.gz 
    14   84 4048 compressed.gz

comment 13y ago · link · parent

I did the same for C++. I hate many aspects of the language, and it feels really ugly compared to newer languages like C#, or even D, but it's still my language of choice for some projects (mostly because the tools are mature and almost everywhere).

comment 13y ago · link · parent

The GPU doesn't execute Javascript. It runs small programs called "shaders", written in GLSL (the OpenGL shading language), which are compiled on the fly by the graphics driver to something that can be actually executed on the GPU.

11.

Software transactional memory in gcc 4.7(natsys-lab.blogspot.ru ↗)

1 points · by slackito · 13y ago · discuss

comment 14y ago · link · parent

I think a valid, although not legal, motivation for that could be "I just want something Microsoft will activate because I want a clean (i.e.: without applying a random crack from the Internet which could install malware) Windows install, at the minimum possible cost".

comment 14y ago · link · parent

I'm getting the same from 149.11.24.18 (home Internet connection, Spain) and te-4-4-gblx.sto1.se.portlane.net (from a US-based VPS).

comment 14y ago · link · parent

Giving a browser plugin the ability to run any program on the user machine without any kind of validation or prompting is so stupid/evil that they deserve the worst PR backlash they can get.

Also, that's probably the quickest way to get them to release a fix.

comment 14y ago · link · parent

In fact, the concept of "freestanding implementation" (as opposed to "hosted implementation", which is a implementation of the full standard) exists in C, and is sometimes used in embedded systems:

  a conforming freestanding implementation is only required
  to provide certain library facilities: those in <float.h>,
  <limits.h>, <stdarg.h>, and <stddef.h>; since AMD1, also
  those in <iso646.h>; since C99, also those in <stdbool.h>
  and <stdint.h>; and since C11, also those in <stdalign.h>
  and <stdnoreturn.h>
(source: http://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/Standards.html)

So yes, a conforming (freestanding) C implementation without printf for embedded systems can exist.

comment 14y ago · link · parent

Six months of unemployment per year of employment? Where are these figures from?

For unjustified firing, the employer has to pay 33 days of salary for each worked year (was 45 before the recent labor law reform)[1]

Not even the unemployment subsidy, which is given by the social security and paid for workers with taxes on their monthly pay, is that big (4 months for the first year, and 2 months more every 6 additional months worked, with a limit of 24 months).

[1] http://www.eitb.com/en/news/detail/828511/austerity-measures...

17.

Avi Rubin TEDx MidAtlantic 2011 - All your devices can be hacked(youtube.com ↗)

1 points · by slackito · 14y ago · discuss

18.

The Netflix simian army(techblog.netflix.com ↗)

2 points · by slackito · 14y ago · discuss

19.

Are There Too Many Beautiful Women and Powerful Men In The World?(whywereason.wordpress.com ↗)

1 points · by slackito · 15y ago · discuss

20.

How to use debug information in separate files with gdb(slackito.com ↗)

1 points · by slackito · 15y ago · discuss

21.

Finding uninitialized memory and corruption(altdevblogaday.org ↗)

4 points · by slackito · 15y ago · 1 comment

comment 15y ago · link · parent

Except for the "g++ >= 4.6" part, AFAIK.

23.

Live visuals coding(iquilezles.org ↗)

2 points · by slackito · 15y ago · discuss

24.

Automatic memoization in C++0x(slackito.com ↗)

2 points · by slackito · 15y ago · discuss

25.

Google Recipe View(google.com ↗)

2 points · by slackito · 15y ago · discuss

comment 15y ago · link · parent

Yes, in control flow hijacking exploits like these ones, you make a given process execute external code (typically a shellcode, i.e. a small piece of code which launches a shell). Any code executed this way runs with the UID of the original process, so a setuid root program is needed to get a root shell.

27.

Data structures: one size does not fit all(altdevblogaday.org ↗)

3 points · by slackito · 15y ago · discuss

28.

Making Crash Bandicoot, by Andy Gavin and Jason Rubin(naughtydog.com ↗)

136 points · by slackito · 15y ago · 25 comments

29.

Facebook is a console(altdevblogaday.com ↗)

1 points · by slackito · 15y ago · discuss

30.

Peer-reviewed biology paper about bee behaviour written by 8-year-olds(rsbl.royalsocietypublishing.org ↗)

2 points · by slackito · 15y ago · discuss

12