2,387 karma · joined Sep 6, 2020 (6y ago) · 638 submissions
comment 5y ago · link · parent
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
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
comment 5y ago · link · parent
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
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
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
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
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
comment 5y ago · link · parent
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
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
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
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
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
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'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
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
comment 5y ago · link · parent
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
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
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)