Better HN
topnewbestaskshowjobs
Log inSign up

webmobdev

4,366 karma · joined Jan 7, 2019 (7y ago) · 2,437 submissions

Submissions

comment 5y ago · link · parent

In the screenshot, there is one for "data information" - in that, what does the byte distribution and entropy chart help in understanding?

comment 5y ago · link · parent

I first came across the dilemma of choosing an open source license when I wanted to create and distribute an Opera (pre-blink / chromium version) browser extension through their add-on online platform. Opera was promoting the Apache license to everyone, as a default, and urged me too to chose that when I submitted by extension. After some research online, I figured it was because an Apache license made it easier for them to re-use and integrate the code with any of their proprietary (or otherwise) product and permission for such use was implicit in the license. GPL v3 was more restrictive due to its viral nature.

I ultimately chose the GPL v3 license, so that if anyone wanted to use my code commercially in a proprietary product, they would have to consult with me to work out a suitable arrangement (like dual licensing and granting them the right to use the code with a more permissive license - this would be easy in this case, as I was the sole developer with all rights). This was not done with any monetary consideration in mind but as a young developer I just wanted to be made aware when someone wanted to use my code commercially, to mention the same in my resume.

The second reason was that GPL v3 better protects the ideal of open source that I subscribe to - the USER should have access to the source code and be able to modify and use it for their own purposes. Other more permissive open source license don't protect this right.

This is where AGPL comes in too.

With "cloud computing" and "software as a service" becoming popular, many tech corporates that had avoided GPL softwares, now started using the software on servers and offering it as an online hosted service. GPL requires you to share the source code, along with any modifications, when someone asks for it, when you distribute a software using GPL code. But with online hosted services, corporates claimed that since they weren't distributing the software and the user was not running it on his computer, they didn't need to share the source code or any modification made to it with anyone.

AGPL was created to prevent this and further protect the USERS right, as it forced anyone who chose to use AGPL software and offer it as a service, to share their source code.

I still believe GPL / AGPL is the BEST open-source license. All developers are also USERS of their application. Thus, GPL's focus to protect the USERS right at all cost, works to protect your rights as a developer too as your source code, in any form, will always be open and available.

For commercial open source projects, dual license (partially or fully closed + GPL) is the way to go. MySQL / MariaDB is a good example.

comment 5y ago · link · parent

So is Apple's UMA similar to the nearly 2 decades old SGI O2 UMA - http://www.sgidepot.co.uk/o2/1352.pdf ?

comment 5y ago · link · parent

Yes, it is a "bitter criticism" of Apple. It is not a "bitter criticism" of you or your beliefs.

2015.

Ask HN: Is It Better to Buy Electronics in the US After the X-Mas Season?

1 points · by webmobdev · 5y ago · discuss

comment 5y ago · link · parent

I am advocating political action for change in a democracy. Unless you live in a country that doesn't claim to be a democracy, this applies to any democracy. Just because your democracy is being screwed by the power to be, doesn't mean you stop believing in it and stop fighting for it.

comment 5y ago · link · parent

And most of these are at the lowest graphic settings.

comment 5y ago · link · parent

Does UMA (unified memory architecture) prevent anyone from also adding additional conventional RAM too (apart from what is integrated in the CPU)? Have today's SSD reached RAM's read / write speed?

comment 5y ago · link · parent

I'd be 70% to 90% convinced if the government claimed they had made contact with aliens and they exist. I'd be convinced 100% only when I interacted with one directly.

comment 5y ago · link · parent

> This is the idealistic view.

You work with the reality you live in, but you do strive for idealism. If you don't, you stagnate as the society rots.

The reality today is that in some democracies the balance of power has shifted from the people to the corporates. And that's unacceptable. Thinking that this is what's the best achievable in your democracy is just nihilistic and pessimistic attitude. Sitting silent is not an option. Regulation is one of the tools through which the government restores the balance between the corporates and the people. And it is possible to strike the right balance between the greed of the corporates and the need of the people.

comment 5y ago · link · parent

I was bringing the debate back to what it was about, not "spewing vitriol" at you.

comment 5y ago · link · parent

> no one with full conscience can recommend a PC laptop to a regular user anymore - go with a cheap chromebook or get an air at $1000.

Absolutely no. Nobody with a conscience should recommend closed systems with less and less options for us consumers. The biggest advantage that AMD and Intel have over ARM is the software support they have and that means more freedom and choice for us than any similar ARM system. I've said it before - I bought an Intel Mac only because it gave me the option to not be trapped in Apple's clutches. And I certainly won't buy an Apple computer anymore unless I know for sure that it doesn't restricting my computing freedom anymore. (But there is no indication to that as Big Sur shows, Apple has tightened its control on macOS by preventing application firewalls from blocking Apple apps - an indication of how it further moves to turn macOS to a closed system like the ios.)

And it is precisely for this reason that I don't see Intel or AMD dying out anytime soon.

comment 5y ago · link · parent

> It's very impressive and I don't know why having software optimized to the hardware is a demerit point.

It definitely isn't! The point was that we should consider both software + hardware together when praising the performance of the M1. That is why comparing the M1 with an Intel / AMD processor is like comparing Apples to Oranges. :)

comment 5y ago · link · parent

I assumed the secure enclave was an encryption / decryption processor. But isn't QuickSync part of the Intel GPU - I thought hardware video encoding and decoding were done by the GPU?

comment 5y ago · link · parent

Yes, I agree. In fact, software has been the bottle neck for sometime now as CPU development in terms of performance has outpaced software.

comment 5y ago · link · parent

Yes, you've hit the bulls eye - Apple's M1 performs so well because both the software + hardware are optimised for each other. And that's the real challenge for AMD / Intel / Qualcomm / Nvidia etc. with their processors. ARM never took off for the desktop because it lacked good software support. Apple has fixed that within its ecosystem.

AMD is rumoured to be building a CPU that has both ARM and x86 cores - hope that is true as that will be truly game changing.

comment 5y ago · link · parent

> These are the exact same arguments folks made and probably still make with the original iPhone release.

Lol. Your comment reminded me of another sarcastic comment I came across on this topic, on Slashdot (https://m.slashdot.org/story/379156#comments)

> I've been seeing these articles for years. Oh no, Apple has made AirPods, who will buy anyone else's wireless earbuds now?. Oh no,Apple has created iPadOS, who will buy a PC laptop now?. Oh no, Apple made the trash can Mac with AMD "server" cards for so cheap, who will buy a PC workstation now?. Oh no, Apple made the iPad, who will buy a normal laptop now?. Oh no, Apple has made the iPhone, who will buy any other smartphone now?.

And that's the point you are missing.

Nobody denies that the Apple processor is a technological innovation. But like the iPhone, it is definitely an innovation limited to the APPLE ECOSYSTEM.

The new Apple processor will definitely make them more profit as it will attract more consumers. But it will neither kill Qualcomm or Nvidia or Intel or AMD. And whether you like it or not, Intel and AMD processors biggest advantage is the softwares they can run on it. And that's a huge advantage over Apple Processor that can only run the highly controlled and closed macOS BigSur where an application Firewall isn't even allowed to block Apple apps because Apple doesn't want you to.

comment 5y ago · link · parent

Apple has some great engineers, and do produce some great products. Completely agree. And with the new MacBook Air, I agree with everything you said except the battery life - the 2 day battery life is only true for "light" computing. Do any heavy computing, like compiling on Xcode, and the battery life comes down drastically, and may be nearly comparable to other Intel / AMD laptop (ARM processors do beat x86 processors in power consumption).

That said, I do completely agree with you that the new Apple processors with its associated products will increase Apple's profit and even its consumer base. So much that the loss of "insignificant" consumers like me, who care more about computing freedom and avoiding closed systems won't really matter to them. Apple's target consumers are no longer the tech savvy.

comment 5y ago · link · parent

Strong banking regulations is necessary to ensure that people trust the banks, and the banks don't misuse the fund you deposit with them. The collapse of some banks in US and India due to lax oversight, greed and corruption, in the last 2 decades is strong proof of this.

comment 5y ago · link · parent

> we shouldn't be giving this much power to institutions.

In a democracy, the government derives power from us, the people. In a good and functioning democracy there exists other democratic institutions to ensure that the government cannot abuse the powers granted to them.

"Vote with your wallet" is a disingenuous argument were all the corporates work together like a cartel towards a particular business model that maximises profit for them to the detriment of us consumers. Regulations that bind all business to certain rules and standard also benefit the businesses as it creates a level playing field for them too. (But obviously large corporates at the top don't want a level playing field).

comment 5y ago · link · parent

> But even so, what are we supposed to do? Quit our jobs, abandon our livelihoods, and take to the streets

If necessary yes. Your forefathers fought hard to earn you your democratic and associated rights that you have all taken for granted. And that's why its slow erosion has only now made you start to feel a bit uncomfortable. So yes, you too need to start asserting for your rights.

And no, to begin with you don't need to quit your job and take to the streets.

Start by writing letters to the political parties of your country. Start by making your local politicians aware that you feel the government isn't concerned about your rights as a consumer. Escalate and urge others in your network to do the same. And move on from there. Democracy is designed to slow down political changes because abrupt political changes also has a lot of chaos. Initially you will only have to spend maybe an hour or two a week to do the above. As more and more people support you, and you all work together, this may increase to 5-10 hours a week depending on how much you are willing to commit yourself. Once a political party latches on to your issue, it then becomes a lot easier - join it or offer issue-based support to them. (Yes, often it is all quite boring and just takes patience and dedication. That's democracy - it is often boring participating in it, but still worth it).

comment 5y ago · link · parent

> Just to emphasize your point, 30% take is relatively small in the retail world.

The internet already provides a nearly free distribution medium for software application - so even paying a 5% markup to an unnecessary middleman is just outrageous. The app store only exists so that Apple (and others) can gauge even more money from developers, who ultimately pass on the cost to us customers.

comment 5y ago · link · parent

It's not even a valid comparison and disingenuous because software products now don't need to be sold through any retail outlet, and can be sold directly to the customer through the internet. There is absolutely no need of any app store as a middle man here.

comment 5y ago · link · parent

Rules that were unfair. I protest as a consumer as an unnecessary Apple tax to install paid software is an unfair burden that should be illegal.

comment 5y ago · link · parent

> I want ALL my subscriptions to go through Apple Pay and App store.

You do so only because you believe have no choice as you know that your democracy is so crippled that you don't expect them to protect your rights as a consumer any more!

Where as many Europeans and Asians, who also enjoy democratic rights, will tell you openly that we would prefer that our democratically elected government protect our consumer rights through regulations that bind all corporates to behave themselves.

comment 5y ago · link · parent

Keep repeating the same thing again and again, and people eventually start believing it.

I don't believe Apple processors are "game changing" as the hype warrants or that AMD and Intel or DOOMED, because the comparison with AMD and Intel CPU itself is flawed. It's only game changing like the lightening connector of Apple - it was based on existing technology that Apple was bold enough to customise and innovate for its specific needs. Their current processor is the same.

People are forgetting that this is not the first time that different CPU architectures are competing with one other! Apple themselves are historical proof of this with the many switches they have made over the last 3+ decade.

Apple has made a system-on-chip that is obviously quite different from the current Intel or AMD processors. Moreover their software is finely optimized for it. Kudos to them for doing so - they certainly have been bolder in pushing for these obvious existing innovations that no one was willing to spend some money to do so.

While Intel and AMD also offer integrated GPU with some of their CPU, they are nothing like the current spread of ARM SoCs that offer many other units integrated with the CPU - as this article itself points out, Apple's SoC contains a GPU, an image processing unit, a digital signal processing unit, Neural processing unit, video encoder / decoder, a "secure enclave" for encryption / decryption and unified memory (RAM integrated). (Note that this is not a unique innovation as claimed by this article, and some others - many ARM SoCs like these already exist in different variations. In fact, it's what made ARM popular.)

Obviously, when a system software or application uses these specific units of an SoC to process specific data, they may be faster than a processor that doesn't have these units. And Intel and AMD processors currently don't have these specific units integrated with their CPU. That is why comparing the Apple SoCs with Intel or AMDs processors and calling them "better" is bullshit to begin with as they aren't the same thing. If Intel and AMD also had these units along with RAM integrated within it, than it would be a reasonably fair comparison. (Assuming all the other hardware and software remain the same, which is quite difficult to do so with Apple computers as they make custom hardware that doesn't easily accept other parts.)

Yes, Apple system-on-chips for its desktop PC do appear to give a comparable performance to the current Intel and AMD CPUs (and even surpass it in some specific computing) through macOS. But calling it an AMD or Intel killer however is just illogical and exaggerated marketing - there is nothing that prevents either AMD or Intel to innovate even beyond what Apple has done, and integrate the RAM or build similar SoCs, if the market demands it.

I am betting that while Apple will certainly increase their profits and customer base with their own chips, they will also lose many "insignificant" customers like me who have no interest in buying an even less customisable and more closed system from Apple. Intel and AMD CPUs offer me more computing freedom than an Apple Silicon ever will.

comment 5y ago · link · parent

We all know Apple is good at marketing.

And by dumping x86 and making the switch to ARM, Apple really has a lot riding here on its ARM processor. So we can understand the hint of desperation in pushing and publicising the M1 so much, especially targeting the Christmas shoppers. I have mixed feeling about this hype for the following reasons:

1. ARM processors have been ready for the desktop markets for a really long time. Hell, if the buggy and resource heavy Windows 95 / 98 could run "smoothly" on a single core 200 Mhz Pentium MMX, today's faster and multi-core ARMs have the potential to do much more with the right software. And that's exactly what has been holding ARM processors from the desktop market so far - decent system software and applications for it. It is in this area that Apple really deserves commendation for designing an ARM SoC well optimised for their system softwares (the macOS / ios platform).

2. With a well-designed SoC, and a decently optimised OS, it is not surprising that that the M1 is able to compete and match performance with the current Intel and AMD chips. The lower power performance and longer battery life is just an extra icing on the cake that ARM is already famous for. Apple is doing what it does best - utilising its strength of integrating the software and hardware to get the best possible performance out of a device.

3. Competition is good for us consumers. But for those of us like me, who prefer "freer and open" systems, I'd place my bet on Intel and AMD in the long run. They still have a huge advantage over other processors in not only raw performance, but portability and backward compatibility of software on their system. Hell, this is one of the reason why many of us, hesitant of Apple's famous obsessive control over their devices, were swayed to purchased an Intel mac - if Apple turned the screw on us, we could theoretically turn away from it by switching to another OS.

4. And as the Intel and AMD competition has shown us, both have bested each other in the past at some point, and continue to do so. As Apple's past switching of CPUs and architecture shows, even they recognize that marketing can only get you so far and people won't pay a premium if the hardware isn't atleast equal to the competition. In a year or two, both Intel and AMD will have even better processors. Will Apple be able to sustain competing with them in the long term will be interesting to watch for.

5. As I mentioned before, Intel and AMD's huge advantage over ARM processors in general, and here specifically with Apple processor, is that they are more "open and free" when compared to the ARM platform that are a jumble of closed and customised SoCs. We all know Apple's nature here - they are extremely obsessive about controlling the device totally, and least interested in letting their users customise it outside the bounds they set (hardware or software). A highly customised and closed ARM SoC gives them precisely that kind of control on the desktop that they have been desiring for a long time. The closed ios platform has proved to them that they can earn RECURRING revenues from such devices - they earn billions of dollars from the App Store. Apple's desktop processors now allow them to do the same with the mac Desktops.

And that's why as an Apple user who owns a mac and is typing this on his iPad, I don't celebrate the Apple processors, or their temporary "game changing" performance. I don't want to live in a gilded cage, deprived of my computing freedom.

And I know it doesn't matter to Apple - it's still a huge profit for Apple even if they lose 100's of thousands of users like me because they'd rather have millions of non-tech savvy users who see a smart-phone or a tablet just like their TV or microwave - day to day appliance whose working they don't understand but are glad to have. Apple can make more money from these consumers than from us.

It was a sad day when we developers had to pay Apple for the privilege to develop and distribute software on it. It was disconcerting as a user to pay an "Apple tax" when you are not even buying the software from them. It is depressing now that Apple processor has tightened this stranglehold even further now, with the push to convert a computer to a calculator like appliance that will run only Apple authorised softwares. I celebrate the innovations but have no reason to celebrate Apple's role and only hope it fails. Its success will result in further imitation of Apple's business practice and pushing of such closed ARM SoCs by others in this industry - the future of fragmented, incompatible, custom and closed ARM processors is not something I look forward to at all as a developer or a user.

comment 5y ago · link · parent

A minor annoyance with GP is that when you delete a file, it doesn't update the graphics of only the deleted portion (with an option to refresh that folder alone) - you have to rescan the whole disk again to regenerate the view.

comment 5y ago · link · parent

> You also know the thief will mostly be stuck with a low-value device that is all but useless without some sort of jailbreak or scam to resell it.

(1) Jailbreak is a feature for many who consider it a way to free their iDevices from Apples's iron clutches.

(2) And I used to think too that remote locking the device makes it less viable for thieves. Turns out that's a fallacy because they are doing what some automobile theives do now - strip it and sell the parts. (And thanks to Apple's exorbitant prices for its parts and suing most "unauthorized" sellers / suppliers, that's a lucrative market too.)

comment 5y ago · link · parent

> Because SMS is essentially free.

What a ridiculous argument trying to blame another corporate to hide Apple's folly. By that logic, the same argument applies to Apple too - Installing apps used to be free before Apple decided to charge developers for it, and make all apps costliers for all us.

1
676869
82