Better HN
topnewbestaskshowjobs
Log inSign up

PythonicAlpha

1,352 karma · joined Nov 1, 2013 (13y ago) · 986 submissions

Submissions

comment 11y ago · link · parent

Then I would not call you "C purist". The "C purists" I knew, refused to much typing. It also was the reason they refused other languages for example such with "tiresome long" words like "begin" and "end".

I on my part (in spite using C myself) think that typing code is not that problem, but typing the right code. And -- at least when you are not alone programming -- every code line is read 10 or more times more often than it is written. So, to be clear and understandable is much more valuable to me, than come away with less strokes ...

comment 11y ago · link · parent

To me it does not disclose that easily. The parallelism between "sizeof" and "elemsof" seems to me very constructed. "size" and "elements" are not similar words.

To be logical at all, the name should be "numelemsof" or "countelemsof" ... but I guess, those names are already to long for C purists ...

comment 11y ago · link · parent

Yes, "elemsof" is not only another new name, but in my opinion, it is also a name that does not disclose itself easily.

Good naming in programming is an art.

comment 11y ago · link · parent

I am not sure, if it is really worthwhile to produce a C equivalent language in the year 2013 for more productivity.

I think, that C has still some usages, but for bigger projects, it is IMHO not feasible to use C or an equivalent for the whole project.

Most usage I see in generated code or small code samples that have to run rather fast. My questions:

* for a faster C, is there really a new language needed? (can't we go with better compilers)

* C2 should provide better tooling, but at first it is a drawback, since old tools are not working or are limited. How does that fit together? Would it not better, to use just C for generated code (where the usability aspects are also neglect-able).

Of course, every programmer wants to create a new language, but most of them are not lasting long ... and C2 did not convince me from the front-page.

comment 11y ago · link · parent

An app on my smartphone can be activated remotely without my noticing and record the sounds of the surroundings?

Sounds like a new attack vector for me (e.g. when somebody can manipulate the app or replace it by a fake version -- even "smart" apps can have errors) and even when it is not, the possible security win, it might bring, sounds rather small to me.

The main problem, I see, is that this "two factor" authentication gives a wrong feeling of security -- and the users might think, that a secure password is not so important --> think, the old 4digit PIN-code is "OK".

As an attacker, I would simply try a silent room and a time where most people are asleep. When somebody has forgotten to deactivate his phone, I got him.

In general, I distrust any security measure that relies on the possession of my phone. To bundle many security related things on one single thing, is a bad idea. Even with central keys of houses, there are so many problems, but what currently happens is, that the smartphone becomes the key to my home, my bank, my car ... (not kidding, a lock with smartphone access is already sold).

When I loose my phone, I am lost ...

There was a (rather old) film "Filofax" about somebody that found the filofax of another person an practically took over his live. Maybe it is time for a film called "smartphone". We are living in "smarter" times.

comment 11y ago · link · parent

The name today is "cloud" ;)

comment 11y ago · link · parent

Right. Investigations. But most of them are settled with a rather small fee for the corporations or with some small changes in the behavior (like the browser selection screen, that already was changed again in Windows 10, as much I heard).

That are the cosmetic changes I mentioned. I know nobody in the EU, that really wants to mess to much with the big corporations (I mean, the really big ones). And privacy concerns are mostly laughed at -- in Germany, the government itself even forces new privacy troubles without need on the people (like the "smart meter" or the "health card").

comment 11y ago · link · parent

It would be nice, if it would be that easy.

See my answer here: https://news.ycombinator.com/item?id=10055866

Can you name examples, where big corporations got "Serious" penalties for privacy issues? I don't know any. I only know, that in Germany, we always say, how important the issue is, but at least under our current government, privacy issues and the officers are laughed at by the big politicians. They might say different, but that is the reality (in Germany, everything is double-correct, until you look under the carpet!).

The trouble is, besides the juristic impact here, when you go on this level, it gets political and many influential German politicians don't want to mess with the US and with big corporations (their motto: "Sozial ist, was Arbeit schafft!"), particularly in the current government! And don't think, that the EU is an independent entity -- the German government likes to make it look as such, but in reality, the EU does nothing, what the governments of the most influential countries do not want.

(I also don't think, that the current German government will change soon -- it is a mess!)

comment 11y ago · link · parent

Could be, but also could not.

Microsoft once already was under EU investigation and the whole thing was settled with minimal efforts for Microsoft (the only thing I remember was, that they had to provide a browser selection screen).

When the OS sends encrypted data to their servers, who will prove, that their is an offense made? Even when the terms are troublesome in the EU, they will just make some cosmetic changes to the terms for Europe. There are other terms, that are not valid in the EU, but Microsoft did even not change them yet (as much I know), even when it gets problems to enforce them on the courts.

Privacy might be a issue in Europe, more than in the US, but don't forget: the privacy officers in Germany have nearly no power, and are laughed at or ignored by most politicians.

Microsoft has nearly nothing to fear, IMHO from the EU, so long the US jurisdiction is also holding its peace. In Germany/the EU, nobody has the guts to fence to hard against a large US corporation -- but that is my opinion.

It would be nice, when the EU would act on it, but I don't trust it!

comment 11y ago · link · parent

You are right. But I have seen so many cases, where companies come away with it.

This is something, that definitively should be changed in our legal systems, but they are far from perfect, even when there are sometimes some honorable judges around (much to seldom in my country!).

comment 11y ago · link · parent

Sure, you can try with any contract -- and go to trial.

But I have seen worse contracts and the companies are coming threw with it most of the time, but maybe in your country the juristic system is better and not the size of the company or the number of lawyers are important.

I for my side, would not bet on winning a trial against Microsoft in such a case.

comment 11y ago · link · parent

That is the point. People are tricked into this and most of them did not read the terms or just ignored them.

But Microsoft is on the secure side, because you confirmed the terms -- and not many judges in the world will blame Microsoft in this situation, even when you argue, that you haven't read the terms. When you sign an other contract, you also can not argue, you haven't read the terms (even when they are in very small letters).

comment 11y ago · link · parent

I did not say that, but I wanted to make clear, how people are tricked into this situation, where they can not trust even the OS.

comment 11y ago · link · parent

With such an argumentation, you could just trash any terms. As long as they are not against any law, they are valid, as long as they do not contain something that is totally unexpected (for example that you must pay Microsoft additional fees above the normal price).

I also think, that Microsoft should be held accountable -- but it starts with those terms!

I think, many people just rushed into Windows 10, because it was free. But free, seldom means free in deed. A clever trick of Microsoft to trick people into this.

As long the privacy terms are not effectively changed and the OS stops to send coded data to servers, this OS can not be trusted.

comment 11y ago · link · parent

You agreed to the privacy terms, so you are at the mercy of whatsoever Microsoft implemented. Windows 10 even could totally ignore your settings.

I say this, not because I think that this is OK, but to reflect, that even the change of the settings do not save you from the harm, that was done from the privacy terms!

Why downvoted? When you disagree, than give arguments, not gutless clicks!

comment 11y ago · link · parent

For those, that do not yet know "Lesterland", should get to know it:

http://lesterland.lessig.org/ (there is a great video talk of Lessig on the page)

BTW: Lessig is great!

comment 11y ago · link · parent

Another reason might be security: There are already attacks known, that are using the CPU cache and/or instruction pipeline to break the boundaries of virtualization. With today's virtualizable processors, it becomes more and more important, that the users can not access to much of the processors implementation details.

comment 11y ago · link · parent

A parallel poster posted an official link from the British Government:

https://www.gov.uk/government/publications/vat-supplying-dig...

There is clearly stated, that IP information is one of the proofs accepted for the country determination.

So, maybe next time, please first ask before judge.

comment 11y ago · link · parent

You can not validate all payment methods by country (or do you want to limit the methods provided?). Also nobody hinders you from creating a bank account in a different EU country.

That "all" are doing it, does not guarantee, that one time a judge or tax controller will come and argue with you that you have no proofs at all. In this case, you are really bust, because the new law also says, that you are accountable for the tax to all the countries tax authorities. Much fun, when you get citations from different EU countries.

(Don't say it is not realistic: There are cases already public, where British shops got claims from remote EU countries, because of tax differences of <10 Euro).

And as long the EU does provide laws that are hard to implement in real life (only in the minds of the politicians they are simple) and nobody says how to implement them, it is better to collect all proof you can get.

comment 11y ago · link · parent

In that case, the customer could cheat. I am not totally sure about the current discussion on that, but the problem is, that you definitively can not rely on the address given of the customer, because in this case the customer will always give a country with the lowest sales tax. Also you must provide proofs for the location. The IP address is IMHO (and not only my opinion) better and will be more likely be recognized as proof instead of relying solely on some customer input.

But, you (because you are so sure about the best method) by sure know, that the laws are explicitly for non-physical goods, where no delivery-address must be provided, right?

Here is a link, how one company is doing it (forget about government information, they seldom go so much in details!): https://rachelandrew.co.uk/archives/2014/12/08/consensus-and...

They use the IP address to validate the user given address and for later proof.

BTW: Downvoting all the time does not help the discussion. I try to discuss this topic seriously and I was bringing some very relevant topic here, and am constantly downvoted. (It is not my fault, that the EU came up with such laws, and provide no useful guide how to implement it!)

comment 11y ago · link · parent

In the EU, the sales tax now (I think, since this year) must be paid to the country, the buyer comes from (before, the sellers country was decisive). Also the height of the tax depends on this. So, at least in Europe there are plenty of small companies that could need such a thing, at least as long they don't have a payment-provider that handles the sales-tax for them.

I myself, could also be interested, but I think, I will leave that to my payment-provider ... (ugly, EU!)

Edit: Ok, I should not, but why the downvote, please? When I wrote something wrong, than please explain!

comment 11y ago · link · parent

I agree, that it is extremely useful, since before I knew Cython, I implemented some Python C extension modules by hand. That can become rather ugly and costs much sweat.

Today, I can use Cython. Or when I need even more speed, than I use Cython as wrapper-generator for a pure C module, that is still much, much easier to implement, as when I would have to do the wrapping work myself.

Cython is really enormous useful and precious to me!

Thank you for it!

comment 11y ago · link · parent

To answer the question, that came up:

Yes, the 0.x number also put me down at first. But I am using this tool now several years, since 0.13 or maybe earlier and did never find a bug or problem.

Cython is great, in-spite of its version number!

I also inspected the generated code several times and it looks rock-solid. Also one big advantage (for me): It can produce code that runs equally on 2.x and 3.x versions (there are some limitations, though, like several really outdated versions are not supported any more).

comment 11y ago · link · parent

Thanks for the info! Currently, I never worked in the gaming industry and I believe not many big studies are located in Germany. There are some online game studies in Germany, though, but I think, they pay a lot less than the big AAA studios.

comment 11y ago · link · parent

Wow, nice photo with Richard! Now I saw, you already have your own Wikipedia page ;)

I really want to have more time, to play U5 again ...

   But I have promises to keep,
   And miles to go before I sleep ...

comment 11y ago · link · parent

Ultima V is still my favorite ;)

comment 11y ago · link · parent

I guess so. But it is a little difficult to get data from veteran people, since those figures are most often negotiated in silence. All I can see are the entry level offerings and they are in deed often below those for web-developers. I think, it is similar as in other areas -- when you manage to be seen as key-developer, you are in a much better negotiation position -- but for that, you must be either a star from the beginning or done some real great tasks in the company.
1
91011
33