Better HN
topnewbestaskshowjobs
Log inSign up

reader_mode

2,387 karma · joined Sep 6, 2020 (6y ago) · 638 submissions

Submissions

comment 6y ago · link · parent

- Apples walled garden has nothing to do with security - demonstrated extensively by their policy, latest example being banning stuff like streaming game service and such - that has 0 security impact. It's all about getting a cut of every revenue stream they can on the platform and preventing alternatives

- casual users do care about this stuff - just the other day for example my wife wanted to play some GBA game from her childhood - you can get that on play store easily, and even if you couldn't it's on other stores and in OSS. That's just not an option on iOS unless you're a technical user. Or more broadly recent Epic and Fortnite situation. Plenty of scenarios where Apple will decide what you can or cannot get and it won't work for everyone - you don't need to be a power user to be excluded

Apple has best products, HW and software wise, and they are milking that advantage as much as they can - not necessarily judging them but this arguing that it's in user interest is ridiculous, they are optimising for number of users affected vs profit they can extract - for example they had to buckle with big players like Amazon and Netflix because that would alienate too many users, but they will enforce their grip on the ecosystem if that means limiting a small number of users - and that has nothing to do with security.

comment 6y ago · link · parent

I doubt they are anti gaming - they spotlighted League of Legends mobile in the iPhone 12 launch.

They just want to milk everything on the app store. I'm so torn on Apple - on the one hand their ecosystem is the most complete and works the best, but on the other hand they try to take a cut from every revenue stream on their platforms, keep a walled garden and often lock out things that are useful to me.

For example iPad pro is an amazing tablet - hardware wise - I would use it as a on the go dev machine - but iOS is so pointlessly locked down I couldn't use it for anything non-trivial. Compare that to an Android device where I can get Linux userland running or Windows tablets. But then Apple couldn't monetise all my apps on the device.

Samsung is the closest you can get to Apple ecosystem but they suck badly - their hardware is acceptable but software is nowhere near close - apps are bad, bixby is horrible, tizen OS is missing basic stuff.

Microsoft could be a player here but they just started experimenting with mobile after a long time, they have no wearable, and the surface line seems promising but always has that one or two flaws that makes it unsatisfying. I'm hoping they can create something in the future, I have no expectations from Samsung - they seem both incompetent and insistent on doing their own thing when it comes to software.

comment 6y ago · link · parent

Don't get me wrong - the situation sounds terrible and I'm sure the US health insurance system is pretty bad for a lot of people (at least it sounds like your friend got the treatment and can go through bankruptcy to clear off the debt) - but from OPs perspective, being covered by insurance on a good income - being in constant fear of medical bankruptcy sounds bizarre to me.

comment 6y ago · link · parent

Coverage issues happen in EU with public insurance as well - years back one of my coworkers son had an eye tumour, the experts in country didn't want to treat him because they knew their equipment wasn't precise enough to treat it without blinding him, the medical insurance would not cover out-of-country treatment because the procedure could be performed in-country. He ended up asking for charity to pay for it out of pocket (can't cash out retirement fund). Another coworker needed to get a private surgeon for his father because he was old and the waiting list on cardiac surgery was months, he was not a priority because age/condition.

I don't understand how those amounts can be larger than you can pool from a support network if you have insurance. Even if you lose your job/insurance your spouse can cover you ?

comment 6y ago · link · parent

>Even making good money in Silicon Valley I'm perpetually afraid of medical bankruptcy if something were to happen.

Let me get this straight - you are covered by medical insurance (assuming on "making good money"), and you're "perpetually afraid" that you will be forced in to bankruptcy after being treated for life threatening condition ? Not the fact that you'll first need to have a life threatening condition that requires a huge amount of money to treat, which you will need to overcome to get to the bankruptcy part, but the fact that you'll need to go through bankruptcy afterwards ?

I mean there are ways to hedge against that scenario if you have the money and are really afraid of it - maybe start treating family better and share your money so you have a support network to fall back to if you get in to such situations, or work on building it - going through those scenarios alone is going to suck without it - ignoring social safety net and economic factors.

You people make it seem like bankruptcy is worse than death.

comment 6y ago · link · parent

Some languages and frameworks have the right defaults for scale.

Rails has a lot of magic that gets you running fast but it doesn't even have a service layer - and instead promotes the abomination that is mixins (concerns), fat models, fat controllers - stuff that gets you running with minimal effort but then crying over the code duplication all over the place and lack of logical separation.

ASP.NET is more verbose out the gate but you're basically guided in to stuff like repository pattern, service layer with POCO models, thin controllers and IoC. Static typing gives you guarantees when reading the code (I've seen RoR concerns that relied on random fields being present in target class, but had conditional logic with implicit assumptions about which class it would be included in - it was a hell to reason about). It's verbose but consistent and built to scale - I'll take a dirty ASP.NET project over a dirty RoR project any day.

comment 6y ago · link · parent

I'm starting a new project in flutter and have a decent chunk of experience with frontend tech.

Here's my thoughts on it so far, starting with the good:

- Rendering performance is really good

- Live reload is the best I've seen on any platform

- Layout/rendering engine is powerful and the widgets are high-quality - building your own widgets for a cross platform UI framework is the right way to go because building abstractions between cross platform stuff (like Xamarin.Forms) winds up giving you the lowest common denominator

The bad :

- Dart language while functional is very tedious and pointlessly rigid - you can see the language is designed by VM engineers - it makes silly UX choices for the sake of implementation performance - TypeScript is a much better language despite it's legacy JS constraints

- tooling works (which is a nice surprise in the npm era) but can be spotty (eg. IDE/analysis engine craps out hard on invalid code it brings my 32GB ram/6 core i9 to a crawl at times)

- the framework itself is also designed in the spirit of the language - a lot of effort towards implementation and performance convenience and very little effort on developer usability for the APIs - the new Navigator 2.0/Router is an excellent example - the worst router implementation I've seen to date. Also their documentation leaves a lot to be desired

- Flutter framework architecture seems immature - it lacks tools for efficient design patterns from both OO and FP worlds, their BLoC state management is a complicated mess that offers very little value - Redux is far superior in this regard but the language is so limited that using Redux approach is just too verbose

I agree with authors objections but I disagree with the conclusion - I think web apps need to move away from DOM as the UI rendering engine - DOM was built for documents not applications - the semantic information he's crying about is a result of patchwork of repurposed tools.

Flutter has really good accessibility tech and IMO the Flutter Web problem is IMO that they are not taking the DOM out of the equation far enough - ideally it would just be a WebGL canvas rendering the UI and it would integrate with accessibility tech in other ways. The practical problem with that is that WebGL is a sandboxed version of native GL API so the performance of building Skia on WebGL could be significantly worse than native.

comment 6y ago · link · parent

That's really a modern problem that happened after mobile became mainstream - but by the time that happened nobody was pushing C++ for app development anymore - Android was Java only for frontend and iOS was objc.

If you did apps in days where C# and Java took over for C++ mobile still wasn't a thing and macos was super niche (especially in enterprise) - few people really cared about cross platform - demonstrated by C# being windows only and growing in popularity during the time.

Visual Studio dev experience was just better than anything comparable at the time (Borland stuff was dead by C# era) and C++ was just an inferior language for app development (especially pre modern C++ where you couldn't even rely on stl being implemented correctly across platforms and people regularly rolling their own containers)

comment 6y ago · link · parent

I mean this is a dead horse beaten over and over weekly, but even if it wasn't I don't expect to read blog spam when I click on front page stuff on HN - if this becomes the norm the site will lose value for me.

comment 6y ago · link · parent

How is this getting uovoted ? Is nobody reading the article ? A few paragraphs in and I can see the author has terrible writing skills and doesn't know what he's talking about

>In fact, writing software with C/C++ was hard because developers had to work with different operating system API(Application Programming Interface).

Seriously ? Writing C++ apps is hard because you had to use different APIs ? That's the least problematic part about C++ app development, behind say the fact that your app can segfault when dealing with strings... (and especially pre C++11) or that you could take lunch breaks during builds which kills GUI iteration.

I feel like this doesn't belong on front page and people upvoting this are doing the site a disservice by upvoting based on title alone.

comment 6y ago · link · parent

> I don't know any developers who have left the profession because of a lack of employability.

I feel like this is only true because there's such huge demand recently if you have a pulse and can code fizz buzz you can get hired - but I know 3 guys of the top of my head who went to school with me, finished 5 years (local uni, I dropped out but kept in touch) and then went in to IT or sales because they weren't good enough to get hired as devs - this was 10 years ago.

comment 6y ago · link · parent

I mean isn't it the same with developers ?

If you're competent you have offers left and right and can command a very good salary. If you're out of a diploma mill with just the curriculum under your belt you're basically useless.

comment 6y ago · link · parent

> it could create a scenario where we spend even more on space exploration and less on addressing Earth's climate

And what exactly is "addressing Earth's climate" ?

This naive hope that green parties keep pushing "if we cut carbon emissions it's all going to go back to the way it was" ?

Carbon levels have already risen and climate change is already happening - nobody can realistically predict the specifics or the time scale. All existing predictions I've seen have been way out of error margins - and stuff like thawing ice and releasing trapped methane etc. can have huge non-linear contributions.

Saying that X% cut in emissions is going to reduce temperature increase by Y on Z timescale is just wishful thinking, and we don't even have mechanisms to enforce X% cut across the world.

Investing in technology that could help settle Mars is a way to protect from the inescapable negative climate effects we will have to live with, the sooner we start to deal with those the better (eg. start building for hurricanes/floods/large temperature differences, etc.)

comment 6y ago · link · parent

Depends - if you are in debt - hyperinflation is a clean slate, if you have savings in the currency you're screwed, also depends on how stable your income is.

Considering the ridiculously low interest rates right now if you want to bet on inflation - take out as much loans as you can and buy assets that won't depreciate much.

comment 6y ago · link · parent

Am I reading the parent comment wrong or did the breaches happen before PE takeover ?

comment 6y ago · link · parent

>They have to operate in weather. Rain, snow, dark.

No they don't - a self driving car that knows when it can't drive is perfectly acceptable - not everyone can drive in extreme conditions reliably - doesn't mean they can't drive.

comment 6y ago · link · parent

If I understand correctly the current GPU supply shortage for Nvidia is caused by Samsung and they are forced to return to TSMC, meanwhile TSMC is supplying AMD and Apple just fine - so is Samsung really a viable alternative ?

comment 6y ago · link · parent

I used blender a bunch in 2.5 era and then coming back to it in 2.8 - can't say I'm a fan - old UI sucked discovery wise but it was streamlined, new UI is too clicky - but I've only did a few basic things

comment 6y ago · link · parent

I think Visa is working on NFC to phone for Android (without a terminal)

https://www.globalcosmeticsnews.com/visa-tap-to-phone-to-exp...

comment 6y ago · link · parent

Is this a post from the 90s ?

Who is working in a team worth acquihiring and then plans on being on unemployment benefits or has trouble finding a new job ? And I can't remember the last time someone asked about referrals ...

comment 6y ago · link · parent

Yep - I plan to build a Ryzen workstation and SSH into it if I find a satisfactory client device.

comment 6y ago · link · parent

Thanks but I tried this a long time ago - it does help with random tasks yoyoing the fans (which was extremely annoying) but running a device emulator + Android studio and a build service sends the laptop in to 747 mode - the only way I found to solve this is use Volta and disable turbo boost (I'm not sure if under-volt is working properly sometimes it seems to help sometimes it doesn't - I haven't actually measured)

comment 6y ago · link · parent

Yeah this was an option I was considering as well - surface line is really good as well - but I would prefer a Ryzen machine if I went for a Windows device, they seemed to have nailed power efficiency in the 4 series and 5 should improve on that.

comment 6y ago · link · parent

Yeah Intel mobile CPUs have been incredibly underwhelming in terms of efficiency and these premium portables are cramming overpowered HW into inadequate thermal/power solutions - Apple isn't the only one at fault here.

In the Windows land the only hope seems to be AMD while Apple has me hoping for the A14 performance.

comment 6y ago · link · parent

15 inch MBP is too bulky and too hot for this - this is why I'd like to get a smaller ARM based device and go client/server.

Ideally Apple would push out a 2in1 with touch but they are set on pushing iOS for touch - which is just too limited for all intents and purposes. I would gladly buy a premium Lenovo 2in1 or some Ryzen 5xxx series ultra portable windows laptop (they are much better on thermals from what I've seen) but I still need a OSX client from time to time unfortunately. There's just no flexibility with Apple ecosystem - you either fit into their intended use cases or you're stuck with suboptimal tradeoffs.

comment 6y ago · link · parent

I've worked on a laptop for the past decade but I use a dedicated keyboard, mouse almost exclusively and a large 34'' monitor (2x24 previously).

Advantages of using a laptop :

- portability - I work as a consultant and I need to work on premises occasionally - if I had to switch between desktop/laptop it would be too cumbersome

- standalone when you need it - when I travel or am on vacation I usually need to do a few hours of work - I won't lug my full setup but I'm 100% ready on the go

- can develop for OSX/iOS with MBP

Disadvantages :

- thermals - I use a fully loaded 2018 i9 MBP and I have to undrvolt/disable turbo boost in office because the laptop hits full fan speed with a VM + IDE running and people start turning heads

- lower performance compared to desktop equivalent and especially compared to best available workstation

I'm hoping VS code and remote development setups (either running VSCode in the browser hosted on my desktop or remote tools) get sufficiently good that I can get a lightweight ARM Mac and then I SSH to my home workstation - feels like the ideal solution if the tooling gets there

comment 6y ago · link · parent

> We're always going to be subject to the influences of what environment we live inside of.

Houses, heating, cooling make us resilient to outside temperature and weather changes, advanced construction makes us resilient to earthquakes, etc. etc.

There are people working on plans to colonise Mars - while that might not be viable in the short term - we are talking about making an environment without an atmosphere suitable for life - and there's no reason why this shouldn't be achievable. Reducing reliance on systems such as plants requiring bees for pollination should be trivial in comparison.

comment 6y ago · link · parent

> Humanity does not stand on its own, we still need nature to sustain ourselves.

Working towards reducing that reliance sounds like a better investment than hoping that a fragile system keeps stable if we undo the changes we noticed we cause (a system that had multiple extinction events in the past)

comment 6y ago · link · parent

Java and C# have been industry standard in enterprise for 20+ years now ? There are order of magnitude more trained devs, infrastructure, etc. and risk of getting obsolete in 5-10 years seems negligible. Even then the support community will be order of magnitude greater since so much of existing infrastructure is running those stacks and SW is orders of magnitude greater than it was in COBOL days.

You don't need to jump on flavour of the month stack just because you are doing a rewrite.

comment 6y ago · link · parent

> This is the new normal on consoles.

I would say it's the inverse - PS3 had unique HW that's hard to emulate on new consoles, PS4 -> PS5 should be straightforward and can probably be done on system level, I suspect this trend will continue to next gen cloud gaming.

1
1819202122