2,387 karma · joined Sep 6, 2020 (6y ago) · 638 submissions
comment 6y ago · link · parent
Even if you're not required to be physically present there's still value in being under the same legal system - good luck enforcing NDA/IP ownership on an employee you never met from a random country across the world with a different legal system and different employment laws.
Also employee retention is even harder in that scenario (the opposite of H1B scenario where you basically capture the employee).
I say this as someone who's freelancing for US clients from Eastern Europe - the only model I saw working for non-trivial stuff is opening offshore offices with a dedicated team/staff/etc. - but then you're dealing with plain old offshoring C19 probably makes this harder because travel is harder and you probably want to fly key people to set things up properly.
There are full remote companies like GitLab but most of their stuff is OSS anyway and their core product is not very innovation based (something that needs IP/NDA protection), this kind of work was getting outsourced/offshored full speed even before C19.
comment 6y ago · link · parent
You refuted yourself in the second paragraph. I suspect that crazy cash and financial instruments are crowding out the value of business investment.
comment 6y ago · link · parent
Single core performance is critical and core count has rapidly diminishing returns for the majority of everyday tasks (Amdahl's law and all that).
When you have independent tasks that need to run massively parallel you are better off using a different architecture because you can get better value from simpler compute units.
comment 6y ago · link · parent
And you can't really argue it's some security decision or something like that, they support WebGL 1, Safari is really the IE 6 of modern browsers.
comment 6y ago · link · parent
You speed read code all the time - when working on a codebase you can pinpoint the exact segment of a line you're interested without even parsing the whole line. For example if you're trying to modify an argument that's being passed from parent scope - you navigate there and just go to the argument on the caller - you don't read the previous arguments or call definition, you don't read surrounding lines, etc. you just know where you are and what you want to change.
Having a limit on width is very useful - but 80 is too constraining because of indentation and using descriptive names (assuming you don't obfuscate your function names, like you said an anti-pattern).
I personally like 120 characters :
- beyond that and the editor takes up too much horizontal space and my eyes need to jump too far from line start to end, I've worked on a ruby project that had unconstrained line length and it was a nightmare even after a year spent on the project
- below that I have to break too many lines that shouldn't really be broken, worked on a project in JavaScript that had 80 character limit as well a long time ago and it was a complete mess, it directly impacts the way you organise code and not in a good way IMO
comment 6y ago · link · parent
People are raving about being able to use iOS apps on M1 Macs - but then again native iOS apps are usually better than Android.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
In that sense iPad pro form factor would be a strict improvement - it's far better for casual use and I can set up a home server to SSH into for development outside of home, iOS is a deal breaker however - I need to run some tools client side.
comment 6y ago · link · parent
(So I think 99% is an exaggeration, but yeah there is a lot of noise)
comment 6y ago · link · parent
comment 6y ago · link · parent
You can and should implement IEquatable on a struct, especially if you plan on placing them in a hashset - the default implementation will use reflection and will be slow but it's easy to override.
comment 6y ago · link · parent
It can say things, it just doesn't have anything valuable to say.
So asking GPT-3 random metaphysical questions gets you semi credible responses because those kinds of questions reduce to semantics and bullshit anyway.
I could see this as a layer that bridges some AI reasoning model and human language.
comment 6y ago · link · parent
C# is better than JVM in that it has custom value types.
Say you want to allocate an array of points in Java you basically have to allocate array[pointer] all pointing to tiny 8 byte objects (for eg. 32 bit float x and y coords) + the overhead of object header. If you use C# and structs it just allocates a flat array of floats with zero overhead.
Not only do you pointlessly use memory, you have indirection lookup costs, potential cache misses, more objects for GC to traverse, etc. etc.
JVM really sucks at this kind of stuff and so much of GUI programming is passing around small structs like that for rendering.
FWIW I think they are working on some proposal to add value types to JVM but that probably won't reach Android ever.
comment 6y ago · link · parent
So a new captain comes on board and first port they get in he refuses to do this - they refuse to let them in the port - they were out at sea without resupply 20 days and running out of food... the company had to fly in a different captain to relieve this guy and he told me by day 2 weeks in they were already joking around how the captain could have an accident ...
comment 6y ago · link · parent
I must admit I would only subscribe to a written publication if I get a printed copy occasionally, but anyway like youtube I don't find individual peaces of content worth it I might find the publication valuable.
I don't see myself paying for blog article access ever - if you write outside of some publication it should either be self-promotion, exercise, or a labor of love and desire for exposure - attempting to monetise that sucks with advertising or without it - don't write those kinds of things.
I feel the same about OSS projects.
A way to invert this is to do a lot of good content consistently so you become a consistent source of valuable material - then it could fit Patreon model but I must admit I've haven't encountered someone I would sponsor like this yet. I will think about it more in the future.