Better HN
topnewbestaskshowjobs
Log inSign up

itsuart

137 karma · joined Jun 10, 2009 (17y ago) · 43 submissions

https://github.com/itsuart
Submissions

comment 6y ago · link · parent

Yeah, the one that begun with bloodbath of the Civil War, purges, forced collectivization, continued through disastrous wars and GULAGs only to die 80 years later with social degeneration of unprecedented levels. That one USSR, yes.

comment 8y ago · link · parent

So, who is going to jail (or at least - trial) over this?

comment 9y ago · link · parent

Oh. Learned something new today, thanks!

comment 9y ago · link · parent

>All numbers are floating point

But why?

comment 9y ago · link · parent

No, I don't. If foo is a (storage of) pointer to something, to get that something from memory I use dereference operator `* so

  *foo = 'a';
will write value of 'a' into memory at address that is in foo.

  type* foo;
is declaration and

  *foo
is dereferencing.

comment 9y ago · link · parent

I find that

char* foo = NULL;

char bar = 0;

are preferable. Is there any reason one would want to smash N declarations into one?

comment 9y ago · link · parent

It was always puzzling to me why people stick to

  char *foo 
instead of

  char* foo
foo is obviously a pointer to the char, not a char. It has different size and behavior.

comment 10y ago · link · parent

>Like smoke a weed, workout, work at a burger joint as a burger flipper and date my daughter's best friend.

What a beautiful story!

comment 10y ago · link · parent

Casey said in one of the J&C shows that he tried to do the site in HTML & CSS but ragequit and wrote it in C.

comment 10y ago · link · parent

Hm...So, what conditions person needs to satisfy to elevate from ToS violator to fighter against colonial rule? Does 'fighter' status gives free pass on such violations? Are people who pay to keep Wikipedia free in agreement with this? What is digital colonialism? Which problems of it were exposed? Weird article.

comment 11y ago · link · parent

In Haskell I use Maybe's, Either's and their ilk (packing result code in returned data I guess?), in C - your usual boolean return values like this: bool parse_literal (ParsingState* state, LiteralValue* pResult).

In Java/C# I have to use what other people are using :)

My dislike of exceptions (as well as errno and Set/GetLastError) is due their masking, hiding error conditions and situations. And I prefer everything to be stated clearly. Including error handling code (answer to 'did I handled all possible failures of calling this?' should be instant).

Unfortunately proper error handling is hard, nearly as much as 'naming things' :)

comment 11y ago · link · parent

I think exceptions are very bad idea. Not nearly as bad as implicit nullability but comparable. Hacky emulations of exceptions... Well I don't want to be near such code.

But that was interesting read non the less, thanks OP.

comment 11y ago · link · parent

From top of my head.

Fork of Chromium without:

- all Google things

- Non-browser things like accounts and pdf viewers.

With:

- attempt https if protocol is not provided

- blocking all js unless whitelisted

- blocking all requests to 3rd party domains unless whitelisted

- blocking all attempts to hijack right mouse clicks

- blocking all redirect attempts unless whitelisted

- destruction of all cookies/web storage on start/close unless whitelisted

etc.

comment 11y ago · link · parent

Is TV no longer a dominant channel for big budget film marketing?

comment 11y ago · link · parent

Well, Resharper is available since VS2003 if not earlier. It has what VS2015 has to offer and more. Including extracting code into methods and classes. I can't even image the pain developing without it (at least before VS 2015).

comment 11y ago · link · parent

Whole new level of 'stop liking what I like!'?

Also 'hacker' should have released everything and sent links to the media. That would close the site for sure. And would generate quite a few lawsuits from exposed people. And who knows maybe some more regulations privacy-wise would pop up.

Yet another episode of self-righteous attention seeking.

comment 11y ago · link · parent

Yes, they were. Many latter generation writers call them Teachers. Yes with capital T.

comment 11y ago · link · parent

I would like to chime in and say that if there is story, any story (or even no story) at all - there is manga about it. And interesting thing is, according to https://www.mangaupdates.com/genres.html - there is more series targeted at girls than boys: shoujo - ~17K, shounen - almost 9K. Though it's almost reversed for 18-30 age group: josei - ~7K, seinen - ~12K. In sum female oriented works trump male oriented (24 vs 21).

If only Japanese publishers (or it's laws?) were not so narrow minded and hired fans that translate those mangas to fill something like iTunes/Steam library, any human being of any age and sex would have something to read their whole life.

comment 11y ago · link · parent

I'm not using any AV for like a decade. Cheap router is my firewall. Common sense is my "threat prevention".

comment 12y ago · link · parent

Seems I phrased my previous comment too vague, sorry for that. I'm aware of what REST stands for. My question is what advantages utilizing "obscure" HTTP verbs and headers with spreading "endpoints" all over ones application provides compared to RPC over HTTP? Surely, using RPC with a single endpoint is much simpler and thus more maintainable/modifiable?

comment 12y ago · link · parent

I found using HTTP (a mere transport layer) status codes as part of an API very unnatural and wrong. It feels like bending TCP/UDP packets structure to implement FTP to me. And shoehorning your API into any kind of "blessed guidlines" just to earn you a badge? That's just a waste of time.

comment 12y ago · link · parent

VK is the social network in Russia and probably in whole ex-USSR.

comment 12y ago · link · parent

It's worth to note, that they can and actually do block addresses without court order.

comment 13y ago · link · parent

Not all of them, and I was asking is there some progress in this area. I wonder if I'll see a factory-less society and how it will look like.

comment 13y ago · link · parent

Wow. We are closer to future than I thought. Thanks for the link!

comment 13y ago · link · parent

Ah, yes, ban everything that you don't like. That would get rid of it for sure. Chemical and biological weapons are banned? Yes. Do we have them? Yes. Will we use them to survive? FUCK YES.

So stop this meaningless "Geneva talks". "Killer robots" will be built and will be used.

Don't ban weapons. Ban wars. I don't see why 1st world countries would need them anyway.

comment 13y ago · link · parent

Is there printer that can print itself?

comment 13y ago · link · parent

First of all, I didn't read linked article. Which is wrong of course. As usual, I'm basing on comments in this thread. So you want to do type system without PL theory of modern age. Awesome! Seriously, interesting experiment. Unless you already have read TaPL in which case I fear you would antagonise ideas described there. However, there is a non-merit, non-technical problem: dismissing PL theorists is sounds like dismissing PL theory (wrong implication, but that is how humans are I believe). And this will put you into JS/PHP/whatever-back-to-the-trees basket and your ideas will be dismissed just because of this wrong association. Which means, that you will distorted results of your experiment. How do you plan to alleviate that? Or I'm wrong somewhere and it is non issue?

comment 13y ago · link · parent

Hardware programming in a language, that doesn't even have ints? I would call that nice joke, but I fear they are deadly serious.

comment 13y ago · link · parent

SVN Commit / SVN Update
12