Better HN
topnewbestaskshowjobs
Log inSign up

AsyncAwait

7,526 karma · joined Apr 12, 2015 (11y ago) · 2,298 submissions

Submissions

comment 9y ago · link · parent

if the password is stored properly, (i.e. bcrypt), the number of characters shouldn't matter at all, be it 50 or 5000.

comment 9y ago · link · parent

> There is absolutely no possible way that you can defend GPL as being more free than licenses like BSD/MIT.

If you define free in terms of users and individual developers, GPL is absolutely more free than BSD/MIT, but if you define it in terms of software development houses, MIT is much more "free" than the GPL indeed.

The argument against the GPL having restrictions on what you can do with the code as to not take away freedom, is like the U.S Constitution having restrictions on what the government is allowed to do to restrict your freedom.

Nobody would argue that the right to free speech is restrictive, because it takes away your right to restrict free speech, or would they?

comment 9y ago · link · parent

> Getting the drivers into the Linux kernel means - as one can see - going deeply into kernel politics. If Microsoft required something similarly, the hardware vendors would tap their forehead at Microsoft.

I'd imagine if you wanted to include code in the NT kernel they would. But since they don't allow you to include your code in the NT kernel at all, they don't require what the Linux kernel developers require,

i.e. MS is not providing the same level of access, so it doesn't have the same requirements.

comment 9y ago · link · parent

> Linux is open source

Open source does not mean, "any code accepted here!"

> if the kernel developers desire better designed code, they are free to change the code up to their quality levels.

They are also free to reject bad code and demand that if you want you code in, you should improve it.

I don't get this mentality at all; why should the kernel developers accept inferior code and then improve it? Isn't that the responsibility of the vendor who designed the product? After all, AMD is a for profit company, not a charity. Why should the other developers provide charity to make AMD code better? So that AMD can sell more units or have better PR? What?

>The problem is that they don't fit the taste of the kernel developers.

That's not the problem.

The problem is that the drivers were designed for Windows, not Linux and such code is not suitable for inclusion in the Linux kernel.

comment 9y ago · link · parent

> Hardware differs a lot in complexity. GPUs are very complicated.

Yes, Intel has an open-source GPU driver in the kernel, AMD can too, they just need to follow the conventions.

> they surely have no incentive to make it easier for other companies/developers to get their drivers in (for example by very stable internal kernel interfaces).

The kernel interface around DRI is actually quite stable, I don't think making it hard for AMD to merge in their driver would help with anybody's job security. It would certainly not be enough to affect GPU market share in a significant way, so it would be very risky for little gain?

Why invent conspiracy theories, rather than just accept the far more likely explanation that AMD's code is not up to the job?

> AMD indulged on the desire of lots of Linux users for open source drivers. They did their job.

No they didn't. If they wanted to fulfil the promise of delivering a kernel driver because their users demanded it, they would have done their job, had they produced code that follows the conventions and work with the maintainers to get the code accepted.

Throwing some code over the wall, does not meet any reasonable definition of "doing their job".

> NVidia did nothing.

Ah, so now it's about, "but look over here, they're even worse!"

I mean, OK, NVidia did nothing, AMD did something, but not enough. Intel did even more than AMD did and is still not perfect. Why couldn't AMD be at least as good, if not better than Intel? If you want to compare, why compare against the worst, rather than the best player?

And, why can't we judge this independently?

Irrespectively of NVidia or Intel, this is what AMD produced and it's not yet good enough.

comment 9y ago · link · parent

> The driver is currently not up to the standards that we desire, but it still helped us to make the driver development a lot less work. We [kernel developers] will do the remaining job and lift the kernel up to the superior quality that we want.

Do you know who the elusive kernel developers that you keep referring to are? They're mostly employees of various other companies who want their code merged into the kernel and have to follow the same standards to get their code in!

Why should AMD be any different? Why should somebody else pick the slack up for AMD? Does AMD pick the slack for Intel as well? And who would them keep up with their upcoming silicon etc. (It wouldn't be AMD, since this approach makes it easier for them). Why would one company be allowed to sidestep what is required to get your code into the kernel? Is it because they showed some good will in the past? Is that why inferior code should now be allowed?

> they want AMD to dance to the kernel developer's piping.

So let me get this straight. AMD wants to merge their code into the Linux kernel, (not the other way around), but it's the kernel developers who should instead "dance to the AMD developer's piping"?

Look, It's good that they are trying and obviously, the code may be accepted at some point in the future, if it's good enough, but for now, let's not let our emotion, (AMD are the good guys), override our rational thinking.

comment 9y ago · link · parent

Linux is Linux.

BSD is BSD

Windows also has different sys calls than both Linux and BSD, that's because it's a different OS.

Yes, there's POSIX in there, but generally it is its own OS and you need to treat is as such, same as Windows really.

comment 9y ago · link · parent

So Linux is not allowed to demand quality code that is following their conventions and has to be satisfied with the minimum amount of effort for AMD's Windows code to run? Why should the Linux kernel include an abstraction layer for AMD's Windows code? Why would any sane person agree to that?

> all sorts of "linux'isms" from code daily and deal with the pain of porting non portable Linux code to their platform.

If you're developing for Linux, using Linux specific technology, then of course there would be porting effort required.

Same as if you want to make you Windows stuff work on Linux, there should be porting required - after all, it's a different platform,

What AMD wants to do is to sidestep as much of the porting as possible, by effectively shipping their Windows code inside the Linux kernel.

comment 9y ago · link · parent

> But all the Linux fanboys

You already lost the argument, if you have to go with that, but I'll try my best to explain anyway; what the kernel developers want is for people to use the standard, already maintained interfaces, instead of companies developing their own and adding unnecessary complexity to the kernel, which would then need to be maintained by someone for a long time.

AMD is basically writing an abstraction layer to allow them to use their Windows driver code, the Linux maintainers are saying; why should we have an "inferior" driver, that's basically "ported" from Windows? If you want to support Linux, write code that interacts with standard Linux interfaces, follows our conventions and benefits the community as a whole.

> Lesson learned: Never negotiate with terrorists.

So not wanting to merge shitty* code into your codebase is now terrorism?

comment 10y ago · link · parent

Maybe a way to flag topics to hide similar ones from yourself would be helpful, but applying this more generally to the entire community doesn't sit well with me.

comment 10y ago · link · parent

Well, most people don't know how to fix their car, so the result seems to be the same to me.

comment 10y ago · link · parent

Sounds like something a game developer would be able to do.

comment 10y ago · link · parent

Just a note that as of Linux kernel 4.6, my Surface Pro 3 works practically flawlessly with Linux installed natively on it, so it may be something to consider, there's good deals on the SP3 on eBay and besides, the SP4 isn't much better.

Linux 4.10 will also support the improved Type Cover 4, (currently, support is there only up to Type Cover 3/SP3)

comment 10y ago · link · parent

The very fact that this reached the front page of HN indicates that it has a PR value - that a value in itself. Or maybe they trully want to help out projects that they most likely depend on daily.

In any case, this is a positive thing so why repeat the propaganda that if it's coming from China/Russia == bad?

Evaluating individual cases is much more productive and in this case, I don't really see an ulterior motive here.

comment 10y ago · link · parent

I really do hope this is sarcasm, hard to detect over text.

comment 10y ago · link · parent

I cannot recommend "C Programming: A Modern Approach" [1] enough.

[1] - https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/...

comment 10y ago · link · parent

C is still the lingua franca of computing, like it or not.

comment 10y ago · link · parent

What are you missing from the up-to-date API reference[1]?

[1] - https://doc.rust-lang.org/std/

comment 10y ago · link · parent

> Rust has "immutable variables". Seriously? How can an object be both variable and immutable?

"Immutable variables" is frequently used, true, but the official term is "immutable bindings".

comment 10y ago · link · parent

> That is not what one would expect from free and open source software project.

Agreed, but please note that Homebrew is only open-source, it is not "free software"[1].

[1] - https://www.gnu.org/philosophy/open-source-misses-the-point....

comment 10y ago · link · parent

> This is a very worrying development

Agreed.

> reduces my trust in FOSS

Please don't distrust a whole category because of a single tool. Most FOSS tools don't do this, especially if they're "Free Software" as opposed to just being "open-source", since "Free Software" indicates a moral, not just practical stance on software.

comment 10y ago · link · parent

> disclosed

Yeah, carrier contracts also "disclose" everything, there's a reason why it's called "small print".

It would only take to make it opt-in, instead of opt-out to rectify this.

comment 10y ago · link · parent

Liberal segment of the population checking in; that's a complete strawman - we're in favour of gun control because we don't trust our fellow citizens to be responsible with them, NOT because we trust the government.

Regarding state vs federal control; I think you'll be surprised how many liberals are happy with individual states de-criminalizing marihuana and such, there's actually a lot of agreement with libertarians regarding governement power amongst many liberals.

Many of us are concerned about abuses of state power to roll back progress on abortion, teaching evolution, secularism etc. and I don't know your political leanings, but I suspect you'd agree with a lot of these, weren't it coming from the....pfff...liberals - they can never be right, can they?

comment 10y ago · link · parent

If things like the TPP are signed, doesn't really matter if you're in the UK or one of the signature countries, which is almost all of them.

comment 10y ago · link · parent

I don't agree with the "blockchain as a solution to every problem" crowd, but if the blockchain is going to lead to an increase in development and usage of decentralised (not just p2p, but federated, self-hosted etc.) solutions then I say, go for it!

I think the current level of centralisation is not far off from what Tim Wu warns us against in "The Master Switch" [1] and if it's going to take a hip word like the "blockchain" to popularise decentralisation, so be it. I'll take what I can get at this point.

[1] - https://en.wikipedia.org/wiki/Tim_Wu#The_Master_Switch

comment 10y ago · link · parent

> So there are intelligent living things that influence our world that we can't see and don't understand? Funny, that sounds an awful like a God to me.

"influence" is an interesting word, because the difference is, if they influence or world in terms of nature, that's a wholly lot different than the concept of God, a powerful entity watching your every step, ready to place you on a burner for eternity at any point, if you don't please him or if he is just having a bad day.

Bacteria also influence our world, I would argue however, that they're quite removed from the concept of God.

comment 10y ago · link · parent

I supported Jeremy Corbyn, so I am also way more socialist than you average Brit, but the answer to "Why should I pay for someone else's healthcare?" is actually quite simple - human decency.

Do you really want people to actually DIE? I hope not and that you'll rather pay "for someone else's healthcare" than to see them suffer and if YOU are ever bad on your luck and need the help, I'll gladly pay for your healthcare if you need it, because I know that you paid into the system when you could and now we're just paying you back.

I am already paying taxes for a lot of things that I may not want to anyway, like overbudget defense spending, over the top salaries for MPs, failed research, government websites that cost way more than they should and other initiatives that nobody asked for, financial support for hugely profitable multinationals etc. etc. - if I am paying for that, OF COURSE I'll pay into a system that will help a human being when they need it and be confident that I or my family members can expect the same, should it ever come to it.

It always seemed to me that in the U.S. they're fed up with having to pay for an excessive budget, yet they always blame the wrong part of it for their high taxes - don't blame healthcare spending, blame the way it's implemented, blame the fact that over 50% of your tax dolars is spent on the military, blame the failed, overbudget F-35 project etc. etc. DON'T blame Flint residents who don't even have access to clean water - where's the logic in that?

comment 10y ago · link · parent

Servo for example cannot come to iOS because of Apple's restrictions. It doesn't matter that YOU are fine with WebKit, some of us want to see dfferent rendering engines seeing how they're kind of core to the whole browser. WebKit is slowly but surely becoming another IE, something I think we can all agree would be a bad thing.

comment 10y ago · link · parent

tokio is not an alternative to futures, but rather a more high-level framework that builds on top of futures - both are being actively developed.

comment 10y ago · link · parent

I remember reading about ReactOS like 10 years ago in a paper computer magazine, I wish alternative OS implementations like ReactOS and Haiku would get more exposure.
1
707172
77