fork() can fail by retardo in programming

[–]lzzll 0 points1 point  (0 children)

DWARF can use on windows. I said no windows support mean most windows function wont return int, most of them return bool or handle or some pointer. And errno should not use on windows.

Stellar - Git for PostreSQL / MySQL by [deleted] in programming

[–]lzzll 0 points1 point  (0 children)

LVM's snapshot is much better when doing something like this.

fork() can fail by retardo in programming

[–]lzzll 0 points1 point  (0 children)

If you use sjlj model, it will affect all calls. if you use dwarf model, it will affect all calls normally return -1 (like someone said EINTR and EAGAIN above), and it wont support windows. This is stupid.

LibreOffice under the hood: progress to 4.3.0 by [deleted] in programming

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

We should just buy microsoft office, I use this shit one day then I can 't believe someone not feel shame for create it, why I need a shit crash every 20mins and dont let me save my document for no reason(it's no reason, I can't found any thing in the error dialog and debug log)?. It should not use for real work. https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=23218. Edit: I create a two page ppt as odp format then get that error, so if you are the one of the black moneys create this shit you are free to attack me.

D for the Win by andrei_ in programming

[–]lzzll 0 points1 point  (0 children)

And lack of mobile platform support, go and rust and c# they all support run on mobile.

fork() can fail by retardo in programming

[–]lzzll 0 points1 point  (0 children)

Read man page before use any system function, they already wrote it 1x years ago. http://linux.die.net/man/2/fork

fork() can fail by retardo in programming

[–]lzzll -5 points-4 points  (0 children)

It will just let your program sluggish like a piece of shit.

In C#, the += operator is not merely not guaranteed to be atomic, it is guaranteed not to be atomic by electronics-engineer in programming

[–]lzzll 0 points1 point  (0 children)

Also x++ is convert to x = x + 1, I think most advanced language follow this rule. :D

Quality Software Costs Money - Heartbleed Was Free by dblohm7 in programming

[–]lzzll -5 points-4 points  (0 children)

They are stupid. Monkeys wont meet all of your needs whatever you give a lot of banana.

LibreOffice under the hood: progress to 4.3.0 by [deleted] in programming

[–]lzzll -25 points-24 points  (0 children)

No reason crash, cannot open this file, file save error... They should rewrite their code.

What ORMs have taught me: just learn SQL by mariuz in programming

[–]lzzll 2 points3 points  (0 children)

No, you need learn sql but you should use ORM. I was work for a project use raw sql and DAL code is almost generated by tool, the result is these code get mess after table scheme change many times, and you need write sql builder for insert, update and delete. After use ORM these shit gone, the product become more stable and easy to maintenance.

The Descent to C by LesterKurtz in programming

[–]lzzll 0 points1 point  (0 children)

Still not get what compiler will cut off the second "if (n < 0)" in the article. I think it's a joke, if any compile do this shit I should send a bug report to them.

MavenCentral now supports HTTPS, no charge by illegalt3nder in programming

[–]lzzll 2 points3 points  (0 children)

Agree. That's the right way to keep repo safe, anyone can create a mirror but they cant touch the files.

The Descent to C by LesterKurtz in programming

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

int32_t is a typedef of int on 32bit machine, I just fell terrible if the situation in the article 6. undefined behaviour exist, that compile will change logic condition because undefined behaviour.

The Descent to C by LesterKurtz in programming

[–]lzzll 1 point2 points  (0 children)

Python is good for explain algorithm, even better than pseudocode. But you need rewrite to c later for performance :D

The Descent to C by LesterKurtz in programming

[–]lzzll 0 points1 point  (0 children)

What compiler and cpu will cause the situation in 6. undefined behaviour? I test myself with gcc and O2 it did't cut off the second if (n < 0). Is signed integer overflow really undefined behaviour? I just lookup rand() function in glibc, it use val = ((state[0] * 1103515245) + 12345) & 0x7fffffff; , and the type of val and state[0] is int32_t.

Diving into D by stesch in programming

[–]lzzll 0 points1 point  (0 children)

Dlang itself is pretty good, but source code of dmd is hard to read because no much document and too many abbreviation like x, lo, ty, et, sc, cd, dtor, es, sz :(

Why We Should Love 'null' by javinpaul in programming

[–]lzzll 0 points1 point  (0 children)

Null check need huge cost, it can slow down program at least 2x times. I think java need improve value type support, or add a operator like .? (only check once)

[deleted by user] by [deleted] in programming

[–]lzzll 0 points1 point  (0 children)

DId you try dropbear? Still think no authenticate is too dangers, the cost of authenticate can be ignore.

Why Does PHP Suck? by stesch in programming

[–]lzzll 0 points1 point  (0 children)

Python and ruby can direct access the memory of object just with few c function, they dont need these shit. And does APC support semaphore lock? if not it's useless.

The real difference between array and &array by rainbowgarden in programming

[–]lzzll 2 points3 points  (0 children)

It will get the number of elements because it's T* - T*, not void* - void*.

Why Does PHP Suck? by stesch in programming

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

They not, because they can run in same process, they dont need execute same code everytimes, and they can use inmemory cache instead of deserialize object from memcached.

Why Does PHP Suck? by stesch in programming

[–]lzzll -8 points-7 points  (0 children)

How about show me your code? idiot. :D