Readit News logoReadit News
Jacqued commented on All I want for Christmas is these seven TypeScript improvements   effectivetypescript.com/2... · Posted by u/soheilpro
nawgz · 3 years ago
> the moment I use Object.entries ... the key has been widened to string

This is correct behavior though, and what you propose would be wrong. The type isn’t narrowed. Type U satisfies type T when the keys of U are a superset of the keys of T, so long as the keys map to the correct value-types in the intersection of (keyof T) and (keyof U)

This is because the only time extra keys are outlawed is when you instantiate an object of type T and explicitly declare it as a T. I can link if you need but this is an important subtlety which is why Object.entries returns string instead of keyof T, and it’s not borne of MS/TS developer laziness

Jacqued · 3 years ago
You’re right about how it works today but it seems to me this is an odd choice to make. Why not enforce object types?

Could they add a strictness flag that lets objects actually be type safe and enables related functions to work out of the box? For me this stuff is a regular pain point as you end up typecasting at every call site :(

Jacqued commented on The trimodal nature of software salaries in the Netherlands and Europe (2021)   blog.pragmaticengineer.co... · Posted by u/emirb
BossingAround · 4 years ago
Every time I see this article reposted, I feel a pang of sadness. It's this chasing of the SF salary outside of the US that is supposed to be the holy grail of every engineer in rich EU countries.

Well, if you get hired by FAANG in Germany, you don't get the SF salary. My experience is that companies that do offer extreme salaries do not do so out of competition with FAANG (since FAANG does not compete with itself globally, i.e. FAANG companies tell you something like "if you want SF salary, come and work in SF," which tends to be difficult due to the exploitative nature of US immigration system).

Rather, there's some kind of a catch, like "we need you to know this highly specialized thing that globally only a handful of people have experience with" (I'm looking at you, AI solvers), or they provide conditions very few people can tolerate.

Jacqued · 4 years ago
In my experience, this is mostly wrong. You don’t get 500-600k Silicon Valley offers in Europe just for being a solid engineer.

You do get a total comp that is 2-3x local market if you manage to get into FAANG like companies and even the tier below. I think this is what Gergely is describing.

That is still life changing for a lot of engineers, and worth the 3 month grind to get through the interviews. At least it was for me, and this article was a big part of why I made the jump.

Jacqued commented on Finally, no bid on mortgage-backed securities   notoriousrob.com/2022/06/... · Posted by u/harambae
alfiedotwtf · 4 years ago
As an Australian, fascinating! I would guess that Tue majority of home loans here are variable.

Another question - with a normal fixed interest loan for 30 years, does that normally include paying off the principal? I.e after the 30 years, the loan is paid off?

Here, fixed interest usually don't pay down the loan whereas a variable loan pays down 100% of the principal after the 30 years

Jacqued · 4 years ago
Yes you do pay down the principal. Non-amortized mortgage loans might exist but if they do they're definitely marginal.
Jacqued commented on Finally, no bid on mortgage-backed securities   notoriousrob.com/2022/06/... · Posted by u/harambae
alfiedotwtf · 4 years ago
> 30 year fixed rate mortgages

Wait, what? Americans can fix for 30 years?!! The longest I've seen in Australia is 7 years fixed, but the usual home loan is 3-5 years fixed and then a renewal at the new market rate.

Jacqued · 4 years ago
Here in France people only ever do fixed rate, generally for 20 or 25 year mortgages. I have never heard of someone buying a home with a variable rate loan, not sure if it's even legal.

It might have been a pretty good deal for the people who bought homes with 25 year 0.7-0.9% interest rate mortgages these last few years.

Jacqued commented on Ask HN: How can I calculate my market value?    · Posted by u/sexy_panda
rozenmd · 4 years ago
Oh cool!

So you can just contract for international companies out of France, pay your taxes as normal, and you still get unemployment if you get fired unexpectedly?

Jacqued · 4 years ago
Unemployment is the one benefit you can't get as a contractor (in France, I don't know about OP's country), but it doesn't work that great for higher income professionals anyway.

When it comes to health insurance or retirement you're generally covered though.

Jacqued commented on Ask HN: How can I calculate my market value?    · Posted by u/sexy_panda
Jacqued · 4 years ago
I think in Europe there's a bunch of local markets with a lot of companies that do not want to compete for developers, not within the EU and definitely not with the US. They'd rather push talented developers to leave than raise wages (and maybe it makes sense in their business).

You need to find the pockets in the market which do compete for talent on an international (at least EU-wide) level. That may be foreign tech companies, remote jobs, maybe the very hottest of startups in your country (with stock grants). I like this article (https://blog.pragmaticengineer.com/software-engineering-sala...) which goes deeper into this.

A "trick" which works in my market (in France) is to work as a contractor instead of a full-time employee. When I did this move I basically doubled my income overnight while keeping the same job title. A lot of companies will balk at an engineer asking for 70k€ as an FTE, yet have no qualms paying the same person 7-800€/day for 2 years as a contractor.

Jacqued commented on Ask HN: Why is there no good open-source LMS?    · Posted by u/seestraw
sails · 4 years ago
> incredibly complicated to run because it's not built as an open source product

Would you suggest it as an option to a team with limited devops budget?

The documentation seems reasonable comprehensive. Do you have a brief summary of issues?

https://edx.readthedocs.io/projects/edx-installing-configuri...

Jacqued · 4 years ago
I'm not an ops guy, but I know it was a constant source of trouble in our team and a large challenge to keep it running smoothly. For us it took 2-3 experienced engineers something like 2 years to have a stable and smoothly running production environment at scale.

If you start from scratch today things may have gotten better. You might want to look at https://github.com/overhangio/tutor, I know Régis has been hard at work making it easier to run Open edX.

Jacqued commented on Ask HN: Why is there no good open-source LMS?    · Posted by u/seestraw
seeekr · 4 years ago
Thanks for the link. IIUC Richie is more of a CMS for courses and related info that can integrate with an LMS like edX, but it's not an LMS itself.
Jacqued · 4 years ago
Hey! I'm one of the maintainers of Richie. That's exactly right, it's meant to be a web portal in front of one or more LMS.
Jacqued commented on Ask HN: Why is there no good open-source LMS?    · Posted by u/seestraw
Jacqued · 4 years ago
I work on a team where we build around and run Open edX. It's incredibly complicated to run because it's not built as an open source product. It's just that edX open sources their software after the fact, so they're not investing in making it easy for anyone to run, of to contribute features.

On the team I'm a part of, our strategy is to build open source tools around Open edX, using it as a site builder that stitches together all our external services (video hosting, live conferencing, course content, quizzes, web-facing portal, forum, etc.). That is, until we cover enough scope that we can start to replace it with a flexible and lightweight LMS that would basically just do the aggregation.

IMO it's not necessarily a good fit for the LMS category to try and build a gigantic software codebase that handles everything the way every single learning institution wants it. You end up with a glorified site builder with a bunch of specialized features tacked on.

u/Jacqued

KarmaCake day1096April 26, 2012View Original