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

>It may well be that the demand for physical presence H1Bs drops significantly in tech firms.

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’d literally make more money today taking your cash and starting a business than dumping it in some of these worthless pursuits.

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

What do you mean ? You can get the same core design in 4 core and 64 core part with ryzen for example - the difference is price and power.

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

I didn't use windows for a few years but last time I tried everything I needed was in the main repo - it feels similar to brew but less popular among windows users.

comment 6y ago · link · parent

https://chocolatey.org/ ?

comment 6y ago · link · parent

Event tough WebGL2 is based on GLES3 which is ancient HW available on any supported iPhone and the spec is out since 2017 - you still can't use it on Safari (mobile or desktop).

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

>Yes, for prose. And no one actually said easier, they said faster. Code is typically full of parenthesis special notations and characters. Nobody's speed-reading code. That doesn't make sense.

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

Mobile app > web app almost every time

comment 6y ago · link · parent

>This is a lot less exciting than it seems to be at first glance. Opening apps from my phone on desktop: yes, I can see utility at that. But opening standalone phone app installations on my desktop? Why? There is almost no phone app I can think of that doesn't have a much better desktop equivalent - save, maybe, for games, but this doesn't seem to be aimed for that.

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

I use laptop keyboard 5% of the time, but I use the laptop screen as a secondary monitor constantly.

I can't judge the battery - but it's for sure going to stay useful for longer as capacity degrades.

comment 6y ago · link · parent

Well as I can tell from fan noise levels on my current MBP - running a device simulator or a VM along with a IDE is sustained load for sure.

comment 6y ago · link · parent

Considering that Air doesn't throttle without a fan - I'm hoping they cram a beefier chip into 13 inch - I don't mind reasonable fan level kicking in when doing heavy duty work - not the insane level of my current MBP, but from what I saw the new M1 MBP practically doesn't turn the fan on - seems like there's headroom for more power there.

comment 6y ago · link · parent

Check if your dev environment is supported - but if it is Apple looks really really good.

Why go for Air tho ? Pro looks like a better device (better screen, better battery, same dimensions) and it's marginally more expensive.

comment 6y ago · link · parent

Has Apple ever done that ?

If they went to the specs it becomes a commodity hardware device that you can compare with competitors.

Apple is in the business of selling you Apple devices - and it's fast - unlabelled graph faster than previous generation.

comment 6y ago · link · parent

I'm just waiting for their competitors to catch up and take advantage of the ecosystem shift - Microsoft already had their ARM SoC tablet (I think with Qualcomm) so they will eventually move to 5nm - nobody really wanted to release ARM versions for that because Microsoft has way less pull with app devs - but if they can deliver M1 level performance in a generation and most of the software is ARM ready - I won't care that there's a M2 MacBook out there - because it's still not going to be the form factor I prefer for my mobile device and it still won't run MacOS on iPad Pro.

comment 6y ago · link · parent

I use a proper keyboard and mouse with my laptop almost exclusively (the only exception is unplanned work while traveling or content on the go).

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

I think that people who haven't seen the reddit threads I linked will find my post insightful - GPT-3 blogposts usually contain handpicked/tailored discussion where the authors ask metaphysical questions, when the model starts answering random questions from reddit not tailored for a bot conversation you get a different picture of what it's limits are.

(So I think 99% is an exaggeration, but yeah there is a lot of noise)

comment 6y ago · link · parent

I agree, and I'm impressed with the result quality - I expect that this approach is viable for creating something like a verbalisation layer for an AGI process.

comment 6y ago · link · parent

You could always have methods (for as long as I can remember at least, I started using .NET in 3.0 days), you just can't inherit structs or use virtual methods because structs don't have virtual method table. You can implement interfaces however and override operators - it's very nice for implementing 3D graphics math primitives like vectors and matrices, way better than Java in this regard which was what got me into C# way back then.

comment 6y ago · link · parent

>I can attest that structs use less memory however IIRC they don't have methods so no GetHashCode() which made them way too slow to insert in a HashSet or Dictionary

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

Especially true for casual/forum variety, like I said it's not meaningfully insightful and reduces to bullshit (and usually takes effort to reduce)

comment 6y ago · link · parent

I spent some time reading GPT-3 reddit replies [1] and I'm impressed with the quality of writing - but the actual content is terrible IMO - it's like reading the most annoying people on forums - grasping at semantics etc. while they have nothing valuable or insightful to say. It just creates noise and writes for the sake of writing something.

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.

[1] https://www.reddit.com/user/thegentlemetre

comment 6y ago · link · parent

> I suspect C# is not that much better being a managed and garbage collected language

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

Siri isn't the best but it's far from the worst - Bixby owns that category by a mile.

comment 6y ago · link · parent

I know a guy who works on oil tankers and he was doing a gig in Africa. As he told it, basically every port there has a deal where you have to smuggle oil or stuff for them and tricks to get through standard inspections etc., etc.

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

Most (all ?) youtube vides fall in to virtually zero value category - but youtube as a platform is worth 15 bucks a month to me.

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.

comment 6y ago · link · parent

You mean sponsored videos ? I don't follow channels that push those. If YouTube starts adding ads to premium why would I keep paying ?

comment 6y ago · link · parent

You can pay for YouTube premium and get rid of ads. If you spend a non trivial amount of time on YouTube it's well worth it, especially the family account.

Don't want to be the product ? Pay for your services then - the money has to come from somewhere.

1
161718
22