HNHacker News
TopNewBestAskShowJobs

popee

309 karma · joined September 23, 2011

submissionscomments
popee··on Some dark corners of C
ROFLCOPTER
popee··on Some dark corners of C
Agreed. Everytime i get back to C it's like coming back home. But first you must study it hard to make it your home. On the other hand javascript (lang i'm using at current job) is like living 'Groundhog Day' with everyday finishing with suicide. Well, not saying javascript is bad language, there are some really great things about it, but it's designed with a loaded gun put on your head all the time :-) I'd also put C++ on list of dangerous languages, because it is trying to fix C problem while introducing OOP (and in newsest standard lambdas and others), so now you have huge base for new and exciting set of ways to kill yourself. It's not even funny that simple languages like lua are getting more users everyday.
popee··on Some dark corners of C
No comma operator on the slides. Whata pitty :-)
popee··on Some dark corners of C
[] really is very well known trick question. Wwll it was on my university before they switched to other language. I think they don't event learn C there. Shame.
popee··on Some dark corners of C
LOL
popee··on Some dark corners of C
At least
popee··on Some dark corners of C
It's better to

typedef void ( * fptr_t)()

and cast to fptr_t instead of void * But it's bigger problem how to force users to cast it back to proper prototype, because casting it back to something else will give UB.

popee··on Ubuntu will switch from X window server to Mir
Cmon guys, only -4. You can do better!
popee··on Ubuntu will switch from X window server to Mir
Or just install mint ;-)
popee··on The Pirate Bay is now hosted in North Korea
Same as with Gerard Depardieu. He/they made choice not to be in one kind of dictatorship so they escaped to other. So it seems like pretty subjective stuff (personally i think it's wrong), but it's their choice so who cares. Why do you care?

Here is what they think:

"This is truly an ironic situation. We have been fighting for a free world, and our opponents are mostly huge corporations from the United States of America, a place where freedom and freedom of speech is said to be held high. At the same time, companies from that country is chasing a competitor from other countries, bribing police and lawmakers, threatening political parties and physically hunting people from our crew. And to our help comes a government famous in our part of the world for locking people up for their thoughts and forbidding access to information."

Is this false?

popee··on Google is working on creating a new protocol named QUIC to replace UDP
It's possible: DTLS. Also CISCO uses UDP for their VPN solutions so go figure.
popee··on Google is working on creating a new protocol named QUIC to replace UDP
UDP doesn't have any guarantee that packet is received. If you stream video that can handle few lost packet it is ok, but if you need reliability than you need TCP. So, it's kind of programmer decision what to use. In reality there should be protocol that is lightweight and somewhere in between TCP and UDP (from personal experience). I haven't read anything about this new google protocol, but i'm not sure if they are trying to do that. Well, maybe i should go and read it >:-)
popee··on Google is working on creating a new protocol named QUIC to replace UDP
Hey, what happened to SCTP?
popee··on EU Data Protection: Proposed Amendments Written by US Lobbyists
Can you define Pirate party politics? When you think about it's not party, it's movement and because of that it should ugrently define coherent politics or it will be 'less elected'. Pirates don't have consistetnt politics! I had impression it's center to left, but talking to some member i got impression that spectrum is from total right to total left. Btw i'm (still) party memeber, but i don't freaking like when some conservative facebook hipsters (that, for example, don't know anything about GPL) talk about what it's all about. Sad stuff :-(
popee··on Civil Disobedience
Get away with what? Isn't MIT network open and isn't JSTOR allowing everyone from that network to download articles? I'm really not informed about this, so please inform me. On the other side it looks like witch hunt from the start.
popee··on Iceland Kicked Out FBI Agents Who Flew in Unannounced to Investigate WikiLeaks
They were doing even worse things. And behind the curtains:

http://en.wikipedia.org/wiki/Operation_Gladio

Please read carefully, this is gold mine for all interested in work of US/UK puppet masters. Also it has nothing to do with communism and other ideologies, it has to do with destabilize EU over decades and even now.

popee··on Iceland Kicked Out FBI Agents Who Flew in Unannounced to Investigate WikiLeaks
No, everything is ok. You can go in any country in the world and do whatever you want.
popee··on Ortiz says suicide will not change handling of cases
What is her mission?
popee··on The Conscience of a Hacker
The Hackers Crackdown?
popee··on 1/13 noon at MIT: Protest wrongful prosecution of Aaron Swartz
Guys, you in US really need new kind of anti-establisment movement, because you are fighting against Goliat here. MIT and others ARE part of establishment and if establishment decide to take control over internet, they will do it. Wait, they ARE DOING it right now and as you can see people are getting killed just because someone said "i want you to click and pay". Damn, if someone said to me few decades ago that internet will be this way, i would not belive it. Personally i call last 10 years: era of Internet colonisation. Sorry on bad English.
popee··on The Unreasonable Effectiveness of C
Software abstracion of a hw system sounds ok. VM in C context is little bit weird ... but it's only terminology
popee··on The Unreasonable Effectiveness of C
It's ugly to see shift operator here? :-)
popee··on The Unreasonable Effectiveness of C
> There are no frameworks for doing common high productivity tasks in C, only low level system operations, or > vastly complicated frameworks with terrible apis (>_> GTK). > I'll just whip up a C REST service that talks to mysql and point nginx at it. Um... yeah. I'm sure there's > an easy way to do that. ...perhaps...?

Search for libfcgi. It's nice and simple C library that can be used behind nginx and as the matter of fact anything that supports fcgi. In this case routes are defined on nginx. But just think a bit, it's nice little framework ;-)

Btw used exactly that few months ago.

popee··on The Unreasonable Effectiveness of C
Maybe because he uses C and have never heard someone refering to VM and C in same sentence. I'm also interested in this because i also don't get wtf is "C VM". He could be refering to layer below which includes hardware and OS combo. You know, memory pages, translations, ... Is he talking about that? :-)
popee··on The Unreasonable Effectiveness of C
C doesn't care for fancy terms like VM, multicore, threads, ... But you can always make libary and implement what you need. This approach has advantages, for example you can share memory pages between processes, because that kind of stuff are part of hardware/OS, not C language. It would be stupid to implement it directly in C language. You will now say that it is reason why C is bad, i say it is reason why C is so popular all these years.
popee··on C11, yo
How do you "allocate" memory on stack? You can always do 'double arr[huge_constant]' and, depending on resources, overflow heap data. Or with recursion. Damn those bugs >:-)

The thing about C is that programmer should do check size before calling function with double arr[n]. Isn't that point of C? On the other hand, user can make fast stack allocation which, depending on situation, can be good. Stack is insecure by default, OS should put it really far from other parts. In embedded systems, well there you must always think about these kind of things.

Btw, how are (p)thread stacks implemented? Every thread has it's own stack, that's ein interesting situation.

popee··on Stop Generalizing About Europe
People are afraid of changes or just don't get it. I'm from micro mid/east country in Europe and i can tell you that most people here think that computers are used only as support for other businesses. When you tell them that web/internet/... is also great business you'll get blank looks all over the place. Btw they're all using google/fb/... but only as consumers. Hmmm, thank god on that :-)
popee··on Stroustrup on next-gen C++: I didn't want to let go of my baby
Whata possessive father :-)
popee··on Google+ Is Growing at Facebook Speed
One person once said that engineers are slaves of 21.century.
popee··on Slackware 14.0 released
Slackware comes with slackpkg which is (in terms) similar to apt-get, but for non standard apps you need slackbuilds or compile code manually.

Btw using Slackware on one server in production and i must admit that small specific systems are perfect match for Slackware (VoIP, routers, ...). And ofc non-production systems (laptops, testing and development environments, etc).

← PreviousPage 5 of 6Next →