Better HN
topnewbestaskshowjobs
Log inSign up

reader_mode

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

Submissions

comment 5y ago · link · parent

It seems like apple is TSMC priority customer so I suspect they will always be a node ahead of AMD.

Doesn't matter if Apple does mobile and low power stuff exclusively, but if they can scale this design into a higher TDP/core count it's going to get interesting.

comment 5y ago · link · parent

Tesla is now entirely valued on the "self driving taxi fleet" and "selling self driving software" stories panning out for the valuation to work. If Tesla doesn't get autonomus self driving, or if it gets beat to market by someone, it's got no way to justify valuation.

comment 5y ago · link · parent

TBH DOM is garbage for building apps, but if you need to use it it's clear that it's built for JavaScript. TypeScript made JS manageable and there's so much work in the JS ecosystem arround DOM interaction, I sincerely doubt you'll see anything come out of this. I haven't looked at Blazor/MAUI but having experienced MS frontend tech in Silverlight and Xamarin, I'll take the JS/DOM any day.

Ideally WASM would expose lower level APIs and then we can start treating the browser as the app sandbox that it is (in the case of buildign apps).

comment 5y ago · link · parent

Developers should be upgrading on 2-3 year cycles max - the leap in performance of 2 generations noticeably impacts performance and unless you're doing some really trivial stuff - performance matters.

Check out Chrome build time benchmarks between 3/4xxx and 5xxx series (or any dev tool related benchmarks). 10-20% off your iteration cycle is noticeable - and that's a single generation jump.

Increasing iteration speed is a big productivity boosts, seeing professionals with 5+ year old devices is just ridiculous to me, you spend 8+ hours on that device - investing 2000$ for an upgrade every two years is not that much to ask.

comment 5y ago · link · parent

Microsoft is almost always a generation behind with tech in surface products it's ridiculous because they look so appealing otherwise. I just feel like I'm buying last years model on launch.

comment 5y ago · link · parent

It's better to realign the incentives to make sure you don't end up in pathological scenarios. The reason why tech companies find investing in this so lucrative is because these markets have so much winner-takes-all scenarios. You don't need to strawman it - governments are dealing with these kinds of secnarios, it's not ideal but better than doing nothing.

comment 5y ago · link · parent

Ads are not the problem - harvesting the most talented CS people to work on ads is - this is the kind of innovation your ideal system leads to. Personally I'd rather live in a society that values going to mars. Subjective I know, but I only have one life to live, I don't live in the general case :)

Bitcoin is an extreeme example of something that's built in to markets - you're trying to guess how much someone will be willing to pay for an asset and this leads to natural bubles - it stops being about determining the value of something and it starts being about playing the market. You can spin whatever rationalizations you want arround it - bitcoin is the most degenerate manifestation of this. If you find a market full of idiots willing to buy bullshit and pump it's valuation, if the idiocy is strong enough that it wont easily go away, you have a really good incentive to join in and prosthelytize to grow the bubble more, even if you don't beleive it - just the fact you beleive there will be more idiots buying in makes it rational for you to get in.

And if you skip out on trading on it you'll be punished with below avarage returns.

comment 5y ago · link · parent

>It's cool to go the moon but just like all things government is involved with, it could've been done a lot cheaper without involving bureaucrats.

This libertarian tilt is soo yesterday :)

Following the market and money signals alone leads to such amazing "innovations" as bitcoin and crypto -> people betting the next idiot will be left holding the bag and burning tons of energy and hardware while at it. Plus wasting a bunch of engineering hours on pointless endevours.

Or such amazing innovative endevours as Ad optimisation and network tracking.

Sorry but following money alone leads to some pretty pathological scenarios and results in a shitty society. I used to like libertarianism, the "don't touch me if I don't touch you" foundations and the logical framework is neat - but it just doesn't work out in reality - at least it doesn't lead to a world I'd like to live in.

comment 5y ago · link · parent

Going straight at the problem is valuable, but the beutifull thing about our society is that all of us don't have to do the same thing - finding solutions isn't always invest X into Y to solve it.

I'm sure framing the problem in terms of colonising Mars is going to change so many fundamental assumptions. When you give people the task to solve X they go with what's already there and try to improve, and then they get stuck in a local minimum - software engineers should be able to appriciate this considering most of our industry is built on legacy design decisions from 70s and 80s.

Project like Mars let's you go back to square one on a lot of implicit assumptions and see what comes out of it.

Not to mention that it's going to be inspiring for a lot of smart people, both because of the difficulty and the scifi aspect.

If they invested serious money into it I would be shocked if it didn't result in widespread real world innovations.

comment 5y ago · link · parent

>then we've already lost

Lost what ? Extinction events happen without human intervention, reliance on a fragile ecosystem is not a long term survival strategy.

comment 5y ago · link · parent

Put it this way - if you figure out a way to make Mars habitable - you can figure out disaster handling scenarios for any cataclism caused by global warming.

The scales are different since Mars wouldn't start with 7-8B people but conceptual breakthroughs are the first step before scaling.

Solving Mars habitation is basically taking all the existential threats we're facing and bumping them up by several orders of magnitude (well maybe not all but the major issues at least, Mars doesn't have tsunamis for eg.). If you make that work anything that happens on Earth is a happy path.

comment 5y ago · link · parent

Replace React with angular, replace Go with .NET which is a platform, and it's not just the language entire stacks in .NET are available as OSS (fronted, backend, distributed computing).

comment 5y ago · link · parent

Locked down as in Apple won't let you run anything not going through the store on the device because it breaks their business model.

You aren't going to install a custom browser to test your front-end (or get usable devtools), no brew or package manager, no custom IDE unless it's built for iOS with its insane limitations (nobody is going to bother). At best you'd be able to port some dev tools and install with your certificate - and for what gain exactly ?

It's just not a general purpose computer, and it's certainly not a dev machine

comment 5y ago · link · parent

Don't know if you're aware of it but you can run vscode on the server and open it in the browser. Might be worth investigating https://github.com/cdr/code-server

comment 5y ago · link · parent

I think we don't have the same definition of locked down. I can download Linux compatible tools to my Mac and run server compatible software locally. I can install custom browsers, development environments, etc. This just isn't compatible with iOS app model.

The only way I see this happening is if they let you run docker images/VMs. Even then it would suck for front-end. And it's such a niche use case from their perspective - I don't see this happening ever.

comment 5y ago · link · parent

Why tho ? Everything about the system is locked down - it's never going to be a good development machine no matter if you run electron vscode or not.

It could be a decent client for stuff like web vscode.

comment 5y ago · link · parent

I can think of one use case where it could be nice - content creators.

For example I like to noodle on guitar and frankly guitar interface + iPad > laptop.

Likewise for video editing, photo touchups, etc.

I can see iPad for creatives using more processing power

comment 5y ago · link · parent

>I'm trying to think what's changed

SO used to have really god content for really some fundamental questions which gave it some credibility. As it accumulates more content the quality is really going down - I actively avoid SO unless I can't find any other source.

GitHub - literally every problem I have nowdays I spend searching through GH issues, reading through the code upstream and reporting back. For example I was working with .NET framework for a while (~5-6 years back now) and when dealing with closed source frameworks SO was a replacement for support channels. Now even as I'm coming back to a .NET core project - everything is OSS and on GitHub.

Docs also got better, MDN is now defunded by mozilla but where I had to do a SO search for random JS behavior I can now look up decent references on MDN. I think Google got better at indexing documentation as well.

comment 5y ago · link · parent

It's obvious everything is going to be running on it down the line.

comment 5y ago · link · parent

It's possible - but this was in relation to a discussion she started, and why show those ads to me in the first place ?

comment 5y ago · link · parent

I don't know - I've worked for a startup (in the size/age sense, not in the unicorn scaling sense) where they focused on one market segment (small customers) then got the opportunity to onboard a huge franchise. This required a huge change but would basically make their buisiness stable for X years and allow them to grow into a different market. But they had specific dates that needed to be met because existing provider contract was expiring, etc. etc.

So the product wasn't built for their scale, it took a bunch of invasive changes, dirty hacks, and accepting client specific workflow initially. You can look at that and say "we're lockign ourselves into their workflow" and "we're making client specific features" - but this client literally 3x their revenue year one and increased it a couple times more for extra features developed. And once you have one big client and solve their problems - you can try to generalise and sell to their competition as well.

comment 5y ago · link · parent

>Maybe I'm being naive, but this seems a tad obvious, and not all that useful.

IMO I've often seen extreeme scenarios and then a reactionary 180 swing to the other extreeme, it's usefull to recognise that both approaches are extreemes.

It might be obvious to you but I constantly see devs that fail to recognise sales focus has value - like we need to ship feature X by Y to get client Z otherwise the opportunity is gone. I'd say 2/3 devs I've worked with will immediatly push back with concerns such as long term maintainability, scalability, etc. None of those would be a blocker for the sale or the initial customer, and once you land the customer you'll have the budget to go back and fix it - but yeah still a deathmatch to get those through sprint planning.

And queue jaded devs here claming "they do it because they know once it's commited it will never get fixed", honestly whenever I come up with actual problems and solutions I can't remember being turned down (deffered a couple of times, still got to do it eventually) - I've worked for 2 startups, and 4 enterprise teams.

So if you're not getting space to do this kind of improvements and care about code quality - maybe consider changing your workplace.

comment 5y ago · link · parent

> It's been a few times now where I've talked with my wife about some new product (physically, in the room) and she starts seeing ads about it. I thought that was the explanation too, but it's happened too many times for comfort.

The wierdest instance of this is I told my wife her father should consider geting those fixed bridge dentures, next day I start seeing all-on-4 ads on the phone. I asked her if she looked it up (to rule out IP tracking) and she said she hasn't. It's a very random thing to advertise to me, I'm not the target group, I didn't look it up.

A lot of it is IP tracking - I'll start browsing for guitars or some other random stuff my wife has no interest in - she'll start seeing ads for it.

comment 5y ago · link · parent

And how do you expose that function globally ?

Annotations and CGLib -> reflection nonsense and boilerplate - if you tried that and compare it to something like a dynamic language with open types (eg. JS/TS) you are just being dishonest if you're saying the two are anywhere close to comparable.

I remember doing a node ORM extension where I just injected standard revision management primitives into the entity as a part of repository. That would take an insane ammount of work in Java in comparison to get the same API functionality (namely it was mostly transaparent to the consumer)

comment 5y ago · link · parent

I've looked at G15 Ryzen - it's USB 3.2 and sould out - so no USB 4.0 and limited availability like I said. I don't have any inside scoops into this industry but it could easily be that they are putting the new/untested parts in to lower tier products and reserving top tier ones for the tested configuration with a partner they know can deliver. Put it simply - X1 with AMD would probably sell out in a week, then they would be stuck with people waiting for that one over Intel, and they would cross Intel who still supplies them the majority of chips - sounds like a lose-lose to me.

I'd like to get a top tier AMD ultra portable for sure (eg. a Surface Pro) but AMD seems completely owhervelmed by demand in all areas and they prioirtise laptops the lowest (from their own release timelines and previous statements)

comment 5y ago · link · parent

First link demonstrates reading from uncleared buffered to capture screen contents - and is from Windows XP era.

Second one is about running a bitcoin miner on the GPU, hypothetical memory breaches, and GPU DoS. You can stall the graphics pipeline without shaders, run a miner on CPU, and I'm going to need a demonstration of a usefull GPU memory breach with WebGL. On top of that any such breach is likely driver dependent and will only work on some specific driver/HW combination - that's such a low attack surface I doubt anyone will bother developing exploits targeting that.

I didn't bother going through third because I wasted enough time on first and second, I don't see how anything here suggest you need to sandbox shaders.

comment 5y ago · link · parent

Are there any USB 4 Ryzen laptops ? If there are it must be a very recent thing. AMD has only been viable in laptops for a short while and with limited availability - I suspect they are going to start to show up in premium laptops once they start becoming more common place - just look at the delays between desktop and laptop releases - it's obvious laptops are not a priority for AMD

comment 5y ago · link · parent

Frontend has the problem of being stuck with JavaScript and DOM, even in the modern iterations it's a patchwork structure built on top of a cesspool - no wonder everything smells like shit.

Agreed about the tooling, npm and node were basically hacks everyone kept building on - there is zero architecture behind most of it.

comment 5y ago · link · parent

>Inappropriate translation would result in a direct exploit unlike VM, since AFAIK there is no practical means to sandbox shaders.

What does it mean to sandbox shaders in this context ? GL ES shaders are sent down in a high level language and can't really do much besides do computation on input parameters to generate output in a pipeline. I wish they were more general purpose and worthy of sandboxing but the web GL shaders are really limited.

comment 5y ago · link · parent

>Certainly no less expressive than, say, Python or JavaScript.

Java can't even have a free standing function without 6 lines of boilerplate minimum and 2 levels of indentation to start.

Nominal static typing with weak generics and no almost no compile time programming support - you end up mucking with reflection or code generation if you want to do anything metaprogramming related or non trivial higher order functions - JavaScript and Python just deal with it at runtime, and if you need to type it out - you can still generate types that convey to the user what the result will be (the underlying code doesn't have to be typed)

1
8910
22