Readit News logoReadit News
andoriyu commented on Apple Unveils M2   apple.com/newsroom/2022/0... · Posted by u/yottabyte47
guelo · 4 years ago
I'm not convinced that Apple's advantage is due to ARM vs x86. I think it has more to do with Apple's exclusive rights to TSMC's most advanced proccess. After all Apple is also beating Qualcomm's ARM Android CPUs.
andoriyu · 4 years ago
Qualcomm hasn't made a single Qualcomm core since Apple released their first aarch64 SoC. Qualcomm had zero competition and decided to not really work on anything. Apple blindsided it with its very competitive aarch64 cores, Qualcomm had nothing to show, so they switched to ARM's core design.

Customers kept paying Qualcomm for their SoC with ARM designed cores, so once again, Qualcomm had no reason to actually do anything but sit on their patents.

Intel had a similar story, since Sandy Bridge "x86_64" part of CPU barely changed, most of the performance gain was somewhere from better process, more custom instructions (avx2, etc.), higher TDP (since ryzen).

It's not ARM vs x86, it's Apple ARM cores vs everyone elses cores.

andoriyu commented on YAML: It's Time to Move On   nestedtext.org/en/latest/... · Posted by u/firearm-halter
Spivak · 4 years ago
While true, this is what being a supperset means. What it means is that any JSON document is, without modification, valid YAML document and can be read with a YAML parser.
andoriyu · 4 years ago
That's exactly the case. Any YAML 1.2 parser can parse any valid json document as is.
andoriyu commented on Why I Hate Frameworks (2005)   fredrikholmqvist.com/page... · Posted by u/zkldi
imbnwa · 4 years ago
> You couldn't progressively integrate a traditional framework like Django for example.

I dunno here, is Rails a server application library because I can progressively integrate the different components of its total API, e.g. first use ActiveRecord, then adopt rails-api for the frontend, then adopt ActiveView and Turbolinks for the end-user frontend? Or is there different idea of framework at work here?

> Lifecycle methods like render, componentWillMount, etc are just callbacks that get fired when you render you a component. I don't think any library is immediately graduated to the class of "framework" the moment a callback is added.

But I don't write the code that says when they're called. Backbone is more of a library, for example, since it lets me do all that and it can be progressively integrated into an app too (I can just use models, I can just the views, etc). I mean thats part of why people ran to Ember and Angular when they appeared, they didn't feel like doing all that.

Also see Crank.js: you can emulate React's Component API in Crank, but the reverse is not true. If I'm not writing the code that "turns the gears" per se, then to me I'm using a framework. That framework might have a small API surface, it might have a large API surface. That's how I see it at least. A framework to me is defined by a certain threshold of abstraction.

This is an async task library because I can opt-in and out of, as well as control, or simply replace, the scheduler[0]

[0]https://github.com/mitranim/posterus

andoriyu · 4 years ago
> I dunno here, is Rails a server application library because I can progressively integrate the different components of its total API, e.g. first use ActiveRecord, then adopt rails-api for the frontend, then adopt ActiveView and Turbolinks for the end-user frontend? Or is there different idea of framework at work here?

I think you misunderstood parent comment. Progressively integrate here means: you have a web page (facebook.com), you want to replace a part of it with react (chat function), you rewrite just that portion of the webpage in react.

You can't get a Sinatra application and replace just one route with rails. Well, you can use ActiveController, which is just an opinionated wrapper around Rack with a lot of sugar, but that wouldn't be rails and you won't get any rails benefits of doing that.

andoriyu commented on Video game developers at Activision Blizzard say they'll walk out Wednesday   axios.com/activision-bliz... · Posted by u/waynekerr
slg · 4 years ago
There are literally too many to name, but this one comes to mind[1].

[1] - https://www.dailydot.com/unclick/horizon-forbidden-west-aloy...

EDIT: 4 responses within minutes of each other all pointing to a different game just underlines my "too many to name" comment.

andoriyu · 4 years ago
That was satirical, lmao.
andoriyu commented on What was the point of [ “x$var” = “xval” ]?   vidarholen.net/contents/b... · Posted by u/JNRowe
amelius · 5 years ago
With all the different shells that could be on a system like sh, zsh, ksh, csh, tcsh, ... I'm thinking that bash itself is a dependency.
andoriyu · 5 years ago
Agreed. I think bash is a dependency. Even more, it's a dependency I'd want to avoid at all cost.
andoriyu commented on Why you should NOT use NativeScript   csimpi.medium.com/why-you... · Posted by u/SuaveSteve
okareaman · 5 years ago
> dart is given up by google engineers long time ago

2013 called. It wants it's opinion back.

andoriyu · 5 years ago
Let's see. They don't approve for other platform because "they want dartvm to be cross-platform and not hold too much platform dependent code"

Then they proceed adding platform dependent code for their vanity projects like Fuchsia along side their other platform dependent code for not vanity projects like ChromeOS and Android.

IMO Dart is only alive because of Flutter, outside of it, it's dead.

andoriyu commented on Valve accused of ignoring existing RCE vulnerability in Source games for 2 years   twitter.com/the_secret_cl... · Posted by u/mxscho
zionic · 5 years ago
Because Linux and windows bootloaders routinely screw with each other. I am NEVER losing another weekend to that crap again. Dedicated windows gaming PC is the correct way to deal with this.
andoriyu · 5 years ago
That's not the case for a long time. I have rEFInd that started life in windows 7 esp with freebsd dual booting, now the same hard-drive booting windows 10 (upgraded from 7, not fresh installation) and nixos, all with the same rEFInd from the same.

The correct way to do so, is to have separate hard-drives for different OS. Then there is zero chance of them stepping on each other.

andoriyu commented on uBlock Origin works best on Firefox   github.com/gorhill/uBlock... · Posted by u/anonymfus
shmerl · 5 years ago
Never really got the appeal of Chrome. Firefox worked very well for me for years.
andoriyu · 5 years ago
Firefox, gecko specifically, performed very bad on Mac OS X when chrome just came out.

That was also an era of websites crashing all the damn time - in firefox it was crashing the entire browser.

Chrome was a significantly better browser for a while. Now it's just "why switch?" to your average consumer.

andoriyu commented on Things I hate about PostgreSQL (2020)   rbranson.medium.com/10-th... · Posted by u/latch
latch · 5 years ago
PostgreSQL is great, but I don't think your statement is particularly true.

Process per connection is pretty easy to accidentally run into, even at small scale. So now you need to manage another piece of infrastructure to deal with it.

Downtime for upgrades impacts everyone. Just because you're small scale doesn't mean your users don't expect (possibly contractually) availability.

Replication: see point above.

General performance: Query complexity is the other part of the performance equation, and it has nothing to do with scale. Small data (data that fits in RAM) can still be attacked with complex queries that can benefit from things such as clustered index and hints.

andoriyu · 5 years ago
> Process per connection is pretty easy to accidentally run into, even at small scale. So now you need to manage another piece of infrastructure to deal with it.

Most places I saw this as an issue, are where developers think that by tweaking the number of connections will give them a linear boost in performance. Those are the same people that think adding more writers in RWLock will improve writing performance.

I agree that it's easy to run into and pretty silly concurrency pattern for today's time. At the same time, it's just a thing you need to be aware of when using PostgreSQL and design your service with that in mind.

andoriyu commented on My NAS exposes itself over the internet without permission   kn100.me/terramaster-nas-... · Posted by u/kn100
alias_neo · 5 years ago
IPv6 can be a privacy issue, sure, but it's no less secure, my firewall is still blocking all incoming IPv6 traffic.

The issues with IPv6, in my experience come from its relative complexity, compared to IPv4, and also from forgetting to manage it at all, as it often uses different tools, firewalls, e.g. ip6tables vs iptables, or the fact that Ubiquiti EdgeRouters don't expose ANY IPv6 firewall configuration in the GUI at all.

andoriyu · 5 years ago
IPv6 privacy issue? You know that you get /32 block, you can change your IP from that block every hour if you want.

The issue with IPv6 is that links are significantly slower than IPv4 links today.

see: https://tools.ietf.org/html/rfc4941

u/andoriyu

KarmaCake day59October 7, 2012View Original