Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Re:It helps that they made it harder (Score 2) 126

but Mozilla's lost too much funding over the years.

how the fuck can they not have enough money, they moved back to taking googles bribes 4 years ago, at last count it was 400m - 500m a year.

They aren't spending that on the browser. They're trying a lot of things other than technical superiority; Wokism, Rust, etc.

Comment Re:Better than nothing (Score 1) 155

using APIs is fair use

Yes, that was my point. The fact that it got to the point of fair use at all is a loss for something that was previously thought of completely uncopyrightable.

What made you put the word "previously" in there?

In fact, what makes you think that the SC now considers APIs copyrightable?

The judgement is surprisingly clear - the question of copyright is irrelevant. If the API is copyrightable, then fair use applies and Google wins. If the API is not copyrightable, then copying it is okay, and Google wins.

They specifically said that in both cases (API is copyrightable vs API is not copyrightable), the outcome is the same so there is no need to determine if the API is copyrighted, or if APIs in general is copyrightable.

I don't know how you came to your conclusions.

Comment Re:Has Lord of the Flies not been translated? (Score 1) 87

If The Lord of the Flies was an accurate depiction of reality, people would use a real incident as an example, rather than using a work of fiction.

In reality, when people are placed in survival situations, they cooperate, share, and help each other.

People, certainly. Kids? I doubt it.

Comment Re:Fired in May, accessed work computers in Novemb (Score 1) 272

Also, IP addresses can be very easily spoofed. They're not considered reliable evidence in many computer crimes so investigators need to find proof on the computers themselves.

You're new to this internet thingy, aren't you? Go on, tell me how you'd spoof the TCP connection necessary in this case.

Comment Re:By by Netflix (Score 1) 81

I share it with my kid and my brother (who uses it almost entirely to watch Star Trek). Do this and I'll go buy Star Trek DVDs and call it a day. Seriously NF, you don't have enough must watch content to get away with this. You need at least one break out hit to pull this crap.

Why doesn't your (presumably adult) kid and (presumably) adult brother just pay their own $10/m or whatever it is? Just how fucking cheap are they? I doubt NF is going to lose money over this, as they aren't losing actual customers, they're losing the freeloaders like you.

Us customers might even come out ahead because the freeloaders aren't there anymore.

Comment Re:Good compilers (Score 1) 102

You know, I half want to copy this entire thread and post it somewhere just to display the problems with the committee that I (and others) have complained about. It's ironic that I complained that the committee members are morons because they aren't addressing the concerns with C and are instead making changes that make the language less safe and less defined than it is now, and you go ahead and demonstrate the problem I was complaining about!

UB is not forbidden. It has a definition in 3.4.3 (C17).

Not for correct programs you dimwit.

3.4.31undefined behavior

behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for whichthis International Standard imposes no requirements

2Note 1 to entry:Possible undefined behavior ranges from ignoring the situation completely with unpredictable results,to behaving during translation or program execution in a documented manner characteristic of the environment (with orwithout the issuance of a diagnostic message), to terminating a translation or execution (with the issuance of a diagnosticmessage).

So, yeah, UB is not forbidden in non-conforming programs. Great.

Implementation defined also has a definition in 3.4.1

But you are excused: obviously thee standard text did not have enough paragraphs for you to be able to read it.

The people who are complaining about the stupid decisions made by the committee members are the ones who rigourously read through the standards, ever since C89. FCOL, in my original complaint in this thread I said:

Unfortunately, you cannot blame the compiler writers nor can you blame the programmers themselves - the ANSI committee is filled with morons who have no intention of making the language spec less ambiguous. After their last standard they were dumbfounded to learn that the changes they made to the C99 standard turned memcpy into undefined-behaviour.

and your piss-poor response was to blame the compiler-authors for interpreting "imposes no requirement" as meaning that there was no requirement imposed on a conforming implementation for a particular constraint:

Some compiler writers promoted the idea that "undefined behavior" is illegal for a programmer to use and can be exploited for compilers for optimization, e.g. even a little bit of UB behavior allows a compiler to completely break your program. Now, strictly speaking the later is true from the point of the standard (as it is undefined behavior compilers can do what the want) and also partially intended. But if a compiler then does not let you do what you want anymore you simply have a compiler which sucks (or is not the right one for you).

Seriously, when all of the major compiler vendors all agree on what UB means, then perhaps it's the committee members who should clarify, and not simply whine that "well, we didn't actually say that, but we also refuse to say what we meant". You can still have a compiler let the programmer "do what you want" by changing the constraint from UB to implementation-defined.

Even worse, you make the following dunderheaded claim:

In other words, undefined behavior is expected to be filled in by reasonable semantics of the platform you are working with.

If that were the case, then the committee themselves should have put that text into the standard. The omission of that intention in the standards document is a reflection of the members' idiocy, not a defense of it.

And btw. I am committee member (and GCC contributor).

Great, take that back to the committee then. But I won't be holding my breath because, as we saw here, the committee members don't even want to add const to data that it already says cannot be modified:

There are 4 functions (getenv, localeconv, setlocale, strerror) in the standard library that return a pointer and state that the return value points to something that "shall not be modified by the program". The correct way to state this would be to make the return value pointer-to-const. This would communicate the intent more clearly even to users, and make it easier for implementations to diagnose bugs.

There is no good defense for why that simple proposal should not have made it into the standard, while horrors like the additions to the constraints of memcpy/malloc did.

Comment Re:Disappointing (Score 1) 87

I don't know about other languages but I'm giving an argument anyway: The cool part about typescript is you can do progressive conversion. If you have a huge codebase, you can just pick 1 type, setup a class with methods and go on, the rest will work as is.

Isn't that true with all the other languages on that list?

Comment Re:Good compilers (Score 1) 102

What a wall of text. Use paragraphs dammit. If you can't take the time to write a message properly, why expect others to take the time to try to decipher it?

I think you are bit confused about the nature of undefined behavior (as are some of your sources - random blogs on the internet

I hardly think that linking to a blog by a committee member is some "random blog on the internet" :-/ You didn't even find a link that agrees with anything you say, be it random or not!

are sometimes not the ideal source). The C standard (and this was always the case) specifies certain things and does not specify certain other things (leaves it undefined). This is the reason why C is very portable while still being extremely light weight (does not need a costly abstraction layer). Some compiler writers promoted the idea that "undefined behavior" is illegal for a programmer to use and can be exploited for compilers for optimization, e.g. even a little bit of UB behavior allows a compiler to completely break your program. Now, strictly speaking the later is true from the point of the standard (as it is undefined behavior compilers can do what the want) and also partially intended.

No, it is not intended. This is why the standard has "implementation-defined" in addition to "undefined". What you are describing here is implementation-defined behaviour. The standard differentiates between undefined behaviour and implementation-defined behaviour.

But if a compiler then does not let you do what you want anymore you simply have a compiler which sucks (or is not the right one for you). In other words, undefined behavior is expected to be filled in by reasonable semantics of the platform you are working with.

This is completely incorrect - what you are describing is what the standard calls implementation-defined.

It was always the case in C that many programs may rely on aspects of your specific computer which are undefined by the C standard and are not perfectly portable. This is explicitly spelled out in the standard.

Yes, they call it implementation-defined. Undefined behaviour is something else.

Undefined behavior could be used for optimization (many people asked for this), it could also be used for additional run-time checks (e.g. bounds checking), or just filled with native behavior of the architecture you are working on (e.g. signed overflow could just do what your processor does instead of getting miscompiled). One can complain that the C standard leaves stuff undefined and in that way puts some responsibility into the hands of compiler writers.

Once again, you are wrong. The standard leaves some thing as implementation-defined and prescribes that it is the responsibility of the compiler authors. The undefined behaviour is explicitly stated by the standard to not be the responsibility of the compiler writer.

But what I am seeing here is that compilers then did really stupid things and then shifted the blame to the standards committee, i.e "yes, we broke the programs of our users in really stupid ways but the committee did not explicitly forbid this so it is their fault".

UB is explicitly forbidden so I don't know what you mean by "the committee did not explicitly forbid this", because UB is explicitly forbidden.

(of course sensible compilers never tried to break your program). A lot of the nonsense you see on the internet comes exactly from this angle.

There is also another common misunderstanding about the nature of standards committees. The committee task is to standardize the language, but does not develop it. If you want to see something it needs to be implemented in some compilers. You can then go to the committee and ask that this gets into the standard and if there is consensus, there is a change that this happens. So if somebody wants a "friendly dialect of C" he should promote it, and get it implemented. We could then standardize it.

Now, having explained all this:

Explained what? You have obviously never read the standard, nor tried to work with them, nor worked on the actual compilers themselves. You are patiently explaining your confusion between "implementation-defined" and "undefined" as if you know what you are saying. I'm tired of replying now. Go and read the standard so that you know what the terms "undefined behaviour" means in the context of the ISO C committee/working groups.

Comment Re:How else to fund Slashdot? (Score 1) 109

I'm all for a scorched-earth approach regarding online-advertising: If 9/10 sites don't have the ability to stay up without auctioning off their users to advertisers, I'm good with that.

And if one of those 9/10 sites is Slashdot, what site would replace it in your rounds?

/. uses so little resources it can effectively be run on a $10/m DO droplet. If the denizens of slashdot cannot pool together $10/m, maybe it shouldn't be around.

Comment Re:Facebook and Google treat users as product (Score 2) 109

The price of things you buy will go up.

No, the price of things sold by that particular advertiser will go up. That does not necessarily mean that the price of things I buy will go up.

It can happen, but the more expensive we make online-advertising, the closer we get the advertising-purchaser to realise that they are mostly wasting their money.

I'm all for a scorched-earth approach regarding online-advertising: If 9/10 sites don't have the ability to stay up without auctioning off their users to advertisers, I'm good with that.

Comment Re:Anything that hurts advertising (Score 1) 109

It's clear that (and I hate this term) what Big Tech is scared of here is companies spending less money on ads.

Close. What they're scared of is companies realising that the online advertising that they buy is close to worthless. When the ad industry finally implodes as companies wise-up, a lot of the influence and power that Goole, FB, et al have will be gone.

Comment Re:Facebook and Google treat users as product (Score 1) 109

it only makes sense to me that they should pay taxes

What makes you think *they* are the ones paying tax? Do you think when an entire industry gets a price hike they just say "oh well we had a good run I think we'll just have to eat our profits a bit".

Expect the tax to reflect a proportionate increase in revenue for the companies involved.

And since their revenue is almost exclusively from advertisements, expect the advertisers to pay more for the same (negligible) effect. The users' are already at "free", because they're the product.

Comment Re:Impossible. (Score 5, Interesting) 97

Scientists are paragons of objectivity. They would never cheat in order to further a political agenda.

Depends. Social sciences research is usually pure garbage, particle physics is usually not.

This is why the social science consensus on various stuff usually contradicts itself: the researchers can hold two conflicting "facts" in their head at the same time without realising that it is conflicting: "violent video games don't make people violent" and "sexist video games make people sexist".

Exhibit B, "pedophiles need treatment" and "you can't pray the gay away" are in direct conflict with each other too - the latter position is that sexual orientation is fixed and can't be changed, while the former indicates that it can be mitigated in some way!

There's many more examples of accepted positions in the social sciences which conflict with other accepted positions in the social sciences ("diversity of viewpoints and people are a strength" vs "We'll cancel anyone who says differently!")

Slashdot Top Deals

Backed up the system lately?

Working...
OSZAR »