Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cutler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
421.
▲
by
cutler
4y ago
Yes, back in 2004 DHH created Rails on an 800Mhz PPC iBook with 256Mb RAM and launched Basecamp for the first year on a server with the same amount of RAM. A bargain basement VPS comes with 4 times the RAM these days.
422.
▲
by
cutler
4y ago
Uber - are you kidding? Their shortest route algorithms are extremely CPU-intensive.
423.
▲
by
cutler
4y ago
I don't consider SAMs as substitutes for real lambdas to be progress. Kludge would be more accurate.
424.
▲
by
cutler
4y ago
It's a pity they never stole quotemata() from Perl instead of having to escape regex metacharacters.
425.
▲
by
cutler
4y ago
Spark is still not compatible with Scala 3.2 unless you want to burn in dependency hell.
426.
▲
by
cutler
4y ago
I predict the opposite and for the very reason you inadvertently suggested. The more Scala devotees obsess about HKT and dream of Haskell in their sleep the less relevant to business Scala will remain.
427.
▲
by
cutler
4y ago
Yes, around the same time Scala was really big in the London financial sector with Morgan Stanley championing the language. The Guardian's back-end also runs mainly on Scala. There were also monthly Hack The Tower all-day Saturday meet
428.
▲
by
cutler
4y ago
I'm really looking forward to JDK 50 with its revolutionary Pattern.quotemeta() method which will be able to do what Perl has been doing for nearly 30 years.
429.
▲
by
cutler
4y ago
But left the fiddly bits and fjords to another species.
430.
▲
by
cutler
4y ago
Putin invades Ukraine. Who cares? ..... Putin invades Poland. Who cares? Putin invades my country and throws me in prison for saying the word "invades". Now I give a shit.
431.
▲
by
cutler
4y ago
So it's true - Java is the new COBOL.
432.
▲
by
cutler
4y ago
Kotlin has also suffered from this. It gained its credibility due to Google annointing it as the primary language for Android development but, being so close to Java, aspired to replace Java on the server. Sadly, Kotlin's main framewor
433.
▲
by
cutler
4y ago
I see the same thing in PHP. Example code full of inline namespace-qualified paths and a lot of array() instead of [] as if nothing changed since PHP4.
434.
▲
by
cutler
4y ago
“Before enlightenment chop wood, carry water. After enlightenment chop wood, carry water.” We need the mundane earthly activities to balance any inward quests.
435.
▲
by
cutler
4y ago
I can't help thinking that most of these examples of negative side effects are related to intensives rather than meditation/mindfulness itself. There's a world of difference between 20 minutes a day and 10 days in a retreat l
436.
▲
by
cutler
4y ago
Oh, and that's discounting responsive breakpoints. So if you have 3 of those that can be 3 lots of a, a:hover etc. for every hyperlink. You couldn't make this up.
437.
▲
by
cutler
4y ago
I prefer CSS. We even have browser support for CSS variables now so what else do you need? Tailwind wipes out half of the features of CSS and replaces them with mindless inline repetition and bloat all in the name of convenience. I call it
438.
▲
by
cutler
4y ago
The worst Tailwind I've seen is HTML littered with a, a:hover etc. declarations on every hyperlink. OK, you can create a global Tailwind stylesheet in your config but doesn't that defeat Tailwind's purpose?
439.
▲
by
cutler
4y ago
Aren't you selling Rails a bit short on its front-end capabilities considering Rails 7's embrace of Hotwire and its reworking of the asset pipeline.
440.
▲
by
cutler
4y ago
CSS has been mangled so many different ways, including the loathsome Tailwind, that I can't imagine what a newb web dev has to plough through these days. Some of us with longer memories were overjoyed to see browsers finally adopting
441.
▲
by
cutler
4y ago
I remember going to monthly "Hack The Tower" Clojure and Scala events at one of the big London financial institutions back in 2014. Both were hot languages but you could see by the presence of recruiters that employers were only i
442.
▲
by
cutler
4y ago
Never having really used DI consciously, my naive first reaction to this problem is that it should be something handled by the IDE, no?
443.
▲
by
cutler
4y ago
Excuse me for missing what might be obvious but where did the MyLogger and MyRepository types come from in the second example?
444.
▲
by
cutler
4y ago
Clojure ahead of Scala? In which universe? Go to any jobs site such as Indeed.com and you'll find Scala jobs outnumber Clojure by about 10 to 1.
445.
▲
by
cutler
4y ago
Can you back that up? Clojure was sold by Rich Hickey as an alternative to Java which he hated working with for more than a decade. If some companies managed to integrate it as you suggest fine but that was not what it was designed to be.
446.
▲
by
cutler
4y ago
Javascript was born with async built-in. The async/await in JS is just syntactic sugar around callbacks/promises.
447.
▲
by
cutler
4y ago
Agreed. Too much reliance on AWS, Heroku etc. can leave you without vital Linux skills. Linux cli tools are not just for getting a job done, though they're great at what they do. No, they're part of the *nix culture which is what
448.
▲
by
cutler
4y ago
PasS my ass. What's so difficult about setting up a VPS and installing PostgreSQL, MySQL or whatever floats your boat? At Hetzner.com (no I don't work for them) you can get a dual-CPU VPS with 4Gb RAM, 40Gb SSD and 20TB traffic. T
449.
▲
by
cutler
4y ago
I'd go further and say it's nothing like an ORM. It's just a library for passing values to an SQL query.
450.
▲
by
cutler
4y ago
HugSQL is great if you like to deal with your SQL directly.
More ›