Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goodoldneon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
goodoldneon
4y ago
> ... someone would immediately fork the project and do it for free He said he's tried to find others to maintain the project and no one will help. Dunno why it'd be any different if there was a fork. > ... not expect every
92.
▲
by
goodoldneon
4y ago
Is that similar to Social Security in the US? Maybe Social Security is at a smaller scale
93.
▲
by
goodoldneon
4y ago
What’s the alternative? Pensions? If your retirement is dependent on a pension, and the pension goes belly up, then you’re left with a fraction of what you planned for (since PGBC doesn’t cover it all)
94.
▲
by
goodoldneon
4y ago
In TS, an object is close to being kwargs. My main issue is that it’s much more verbose since you separately write the destructure and type, so you have to write the args twice. But one nice thing is that consumption is less verbose than Py
95.
▲
by
goodoldneon
4y ago
I usually see it for things like “return_generator”. Then you need to write an overloaded signature to show that it could return a list or generator depending on that param. Then it’s even worse when there’s also an “allow_raise” param, whe
96.
▲
by
goodoldneon
4y ago
Maybe there's selection bias, where the companies who downsized were doing worse than the companies who didn't. So if both sets of companies ended up the same, and one set was initially doing worse than the other, then that'd
97.
▲
by
goodoldneon
4y ago
There's very little new syntax added by TS
98.
▲
by
goodoldneon
4y ago
Why is it dead?
99.
▲
by
goodoldneon
4y ago
“Felt like they wanted C#” makes sense because Anders Hejlsberg was involved with TypeScript. Glad they stopped forcing C# into it and let it be its own thing. Not that C# is bad though!
100.
▲
by
goodoldneon
4y ago
TypeScript is fantastic —- such a flexible type system. It was introduced 18 years after JavaScript but feels like a perfectly natural evolution of JavaScript. TypeScript _should_ feel like a wonky bolt on but it’s wonderful. A testament to
101.
▲
by
goodoldneon
4y ago
That sounds good, but we might need a class attribute that disables filesystem corruption in case we need to access `___________super_ultra_private` somewhere
102.
▲
by
goodoldneon
4y ago
I wish Python enforced private attributes. I once worked in a codebase where this was roughly true: _usually_private_but_ok_to_access_if_you_are_knowledgeable __private_unless_you_need_an_escape_hatch ___absolutely_private_except_fo
103.
▲
by
goodoldneon
4y ago
Importing with `require` is CommonJS, not part of JavaScript’s spec. CommonJS is a Node-only thing so supporting it isn’t required in a JS superset
104.
▲
by
goodoldneon
4y ago
Plus some ORMs have nice schema migration tools. Engineers should still verify what the auto-generated migration is doing, but that's much better than writing the migration by hand
105.
▲
by
goodoldneon
4y ago
That isn't what "TS is a superset of JavaScript" means. That phrase means "TS syntax is a superset of JavaScript syntax". Your example is syntactically valid in TS -- it just fails a type checking
106.
▲
by
goodoldneon
4y ago
The notebook is still less secure because of phishing
107.
▲
by
goodoldneon
4y ago
What does your eslint config look like? AirBnB’s config is the worst offender for nitpicks
108.
▲
by
goodoldneon
4y ago
Bespoke feature flag systems can become a quagmire. You might think “we only need a boolean value”, but then you need a number, and then you need a string, and then you need a UI to manage it, and then you have a 2nd service and DB and have
109.
▲
by
goodoldneon
4y ago
Would logging feature flag values be enough? Then you could look at stdout to see what the value was during each job
110.
▲
by
goodoldneon
4y ago
The company makes nearly all of its money on short-term trades, but short-term trades have a much higher tax rate than long-term gains. Since short- and long-term taxes are calculated in separate buckets, if you create losses in the short-t
111.
▲
by
goodoldneon
4y ago
They might’ve meant the type errors, rather than runtime errors. TypeScript’s type errors can get flat out unreadable when you’re dealing with moderately complicated types. Even errors with generics can get ugly. That said, I still love Typ
112.
▲
by
goodoldneon
4y ago
Good architecture leads to faster feature development and increased stability, which makes your users happy
113.
▲
by
goodoldneon
4y ago
I would quit within a month
114.
▲
by
goodoldneon
4y ago
Does Ruby still not allow type annotations in the same file as your code? Last time I checked, you had to put them in separate .rbs files. That’s a dealbreaker for me
115.
▲
by
goodoldneon
4y ago
If the services need to be in separate data centers then how would a monolith be a solution? Monoliths can't span data centers
116.
▲
by
goodoldneon
4y ago
Sweet! I might have to work on upgrading us from 1.4 to 2.0
117.
▲
by
goodoldneon
4y ago
I appreciate that argument but some codebases are heavily reliant on “magic” libraries like SQLAlchemy. The SQLAlchemy mypy plugin helps a lot. Well, at least with SQLAlchemy 1.4; dunno if 2.0 needs the plugin
118.
▲
by
goodoldneon
4y ago
Maybe Windows fans holding onto one of its last remaining advantages? I have a Windows desktop solely for games. I’d be 100% done with Windows if all the games I play worked flawlessly on Linux
119.
▲
by
goodoldneon
4y ago
The article says that Gmail is reported as part of Google Cloud and Gmail is supposedly a massive money loser
120.
▲
by
goodoldneon
4y ago
> a necessary qualification, but not a sufficient one I like that phrase
More ›