Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cageface
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
601.
▲
by
cageface
5y ago
But with the web finally becoming the true, real, cross-platform that Microsoft was then-irrationally terrified of 25 years ago, I don’t know what Apple’s strategy is to remain the best provider of the best UX when everyone is going to be
602.
▲
by
cageface
5y ago
I've been interviewing lately and what I'm seeing is that companies are indeed hiring more internationally but salaries are also significantly up. What's different is that productivity is also up so people are building billio
603.
▲
by
cageface
5y ago
I've been running it on an M1 for quite a while now. At least while it's mostly idle I haven't noticed any effect on the battery. If you do a lot of syncing every day you might see more of an effect I guess.
604.
▲
by
cageface
5y ago
Sure. Win32 and Unix are good examples of OS's with a C interface.
605.
▲
by
cageface
5y ago
C++ and Java are not going to give you the experience of working in a modern statically typed language. The issues I describe with Rails are issues I’ve seen across many different apps and teams.
606.
▲
by
cageface
5y ago
I don't have examples at hand but I've worked in large Swift, Typescript and Rails codebases over the last seven years and the Rails codebases were the hardest to maintain and had the most errors in production. Have you done exten
607.
▲
by
cageface
5y ago
This is more of a general criticism of dynamic typing than anything specific about Ruby, but If it's unclear from the code why is it so hard to put a binding.pry in there and inspect the object if you need to? This is a lot slower an
608.
▲
by
cageface
5y ago
Thanks for articulating more clearly what I was trying to say. My enthusiasm for Ruby diminished a lot when I first experienced the things you describe on a larger code base. I have not found these issues occurring to anywhere the same exte
609.
▲
by
cageface
5y ago
A language like C++ without a stable ABI makes a terrible OS framework language since you'd have to recompile apps every time the framework classes change.
610.
▲
by
cageface
5y ago
One big problem with Rails code is that when you're looking at any particular block of code is very difficult to figure out the scope of variables. They can be coming from a base class, a mixin, some kind of plugin etc. And dev tools u
611.
▲
by
cageface
5y ago
IMO it has mostly to do with lack of static type checking and null safety. I don't encounter the same issues in large codebases in languages like Swift and Typescript.
612.
▲
by
cageface
5y ago
Rails gives you so much out of the box that it's very tempting if your app lies in Rails' sweet spot. However I've found that as apps grow bigger and accumulate more complex business logic and data flows Rails codebases becom
613.
▲
by
cageface
5y ago
Which big companies are adopting Kotlin on the backend?
614.
▲
by
cageface
5y ago
What I don't want to see happen is innovation stop in JVM languages and then Java, no longer under threat, also stops innovating.
615.
▲
by
cageface
5y ago
Unfortunately it looks like Java is going to evolve enough to take the wind out of the sails of Kotlin and Scala for most dev shops. I guess the positive take is that those improvements might not have happened without the efforts to develop
616.
▲
by
cageface
5y ago
If you just blindly follow the eslint suggestions you can very easily wind up with render loops. You need to carefully consider and understand the dependencies in each case. And if you want to do something specific when only one of your dep
617.
▲
by
cageface
5y ago
The problem with using useMemo & useCallback everywhere is that the dependency arrays are really easy to get wrong. Small changes can easily lead to stale data or render loops. I'd much rather people take the time to consider each
618.
▲
by
cageface
5y ago
All the elegance of React & hooks falls apart once you have to start worrying about performance. Managing dependency arrays is tedious and error prone and the source of many subtle bugs. Code stuffed full of memo calls is not pleasant t
619.
▲
by
cageface
5y ago
The Thai food you get in Thailand is very different from what you get in most American Thai restaurants. Think much stronger fish smells and a lot of parts of animals Americans don't eat.
620.
▲
by
cageface
5y ago
I've interviewed with a bunch of companies recently and only one of them through anything like a leetcode problem at me. The rest were practical exercises building stuff with the tools they company was actually using in production. I&#
621.
▲
by
cageface
5y ago
The risk here is that your fix might significantly improve the code in some way but also introduce a new bug or break some obscure feature. As a dev you're always sticking your neck out when you improve code in ways that aren't di
622.
▲
by
cageface
5y ago
I guess not everyone got the memo.
623.
▲
by
cageface
5y ago
I recently had to work with a JS codebase that looked like it was written by Java devs that were fooled by the surface similarities of TS and Java. Everything was a class, usually in a complex hierarchy with a lot of implementation inherita
624.
▲
by
cageface
5y ago
I should also add that of the several interviews I've done so far all but one asked practical implementation questions. And the one that did ask more leetcode style questions only asked easy ones. It would be different if I were applyi
625.
▲
by
cageface
5y ago
The Hack pipe proposal reminds me a lot of Perl's special $_ variable.
626.
▲
by
cageface
5y ago
I've begrudgingly been doing leetcode for the last few weeks in prep for looking for a new job. And a lot of it is stuff that I have never needed in 20+ years of coding. But I will say reviewing the graph algorithms hasn't been a
627.
▲
by
cageface
5y ago
For example in Typescript, you can specify whether a parameter is allowed to be null in the signature of a function. If you do the compiler will make sure that you don't accidentally pass a null value to that function. function foo
628.
▲
by
cageface
5y ago
Lack of null safety is still a major shortcoming in my book compared to Rust/Swift/Typescript.
629.
▲
by
cageface
5y ago
Samsung stores are quite common in Asia.
630.
▲
by
cageface
5y ago
Yeah it works in an incognito window. I've never seen a site that completely breaks scrolling with a content blocker installed before.
More ›