HNHacker News
TopNewBestAskShowJobs

ithrow

372 karma · joined February 21, 2020

submissionscomments
ithrow··on Vim After 15 Years (2017)
Why did you switch from vim/neovim to emacs?
ithrow··on Show HN: Open-source non-blocking NIO Java HTTP Server
I don't like callback hell http servers in java since now you have to go chase async libraries for everything.
ithrow··on Alpine Linux Minimalist Desktop
Why is alpine so popular for VMs/containers when popular runtimes like the JVM or nodejs don't officially support musl?
ithrow··on Building a Startup on Clojure
That's like saying that C++ is a better backend platform than the JVM due to better performance. For 95% of business web apps out there it doesn't matter, I mean, multiple business with evaluations in the billions of dollars have been created with runtimes 50x slower than nodejs.

Nodejs competes with Java in single threaded performance, I'll say normal JS code is faster than normal Java code. For web services that are IO bound, nodejs still competes with Java unless you go with all the batshit crazy complex reactive stuff in the Java world, supposedly is going to get better with the new green threads implementation.

ithrow··on Building a Startup on Clojure
1. Objects are sets of keys

2. JS has Map/Set which allow other composite types as keys and can be converted to objects for JSON serialization then deserialize back to Map/Set.

ithrow··on Building a Startup on Clojure
Besides being fun for sure because you can use whatever you want for your own stuff I don't see what's special about clojure here. They are using react (behind a wrapper), IME, clourescript is not worth the hassle. On the server they are using ring/compojure which is similar to js/express, python/flask that can get the job done equally well in this case. The story would be more interesting if they were using something like datomic instead of postgres since datomic is were clojure could differentiate itself.

Keep in mind that they have to juggle between almost four different languages, Java, Javascript, Clojure and Clojurescript, almost because there are differences between Clojure and Clojurescript. Instead of for example just using one language: JS.

ithrow··on Codebase as Database: Turning the IDE Inside Out with Datalog (2020)
They are talking specifically about the built-in incremental compiler of the Eclipse IDE, not the whole IDE experience.
ithrow··on ReScript 10.0
Can you share what do you miss from JS when trialing another language?
ithrow··on Deployment and infrastructure for a bootstrapped webapp with 150k monthly visits
For a single person team it is bad because now they have to depend on their memory and shell history.

There is this thing called shell scripts.

ithrow··on The Reason Java Is Still Popular
This kind of thing happens often enough that it really should be baked into the language.

Since Java 17 there are records.

ithrow··on The Reason Java Is Still Popular
It's also very nice that the postresql project maintains a high quality JDBC driver https://jdbc.postgresql.org/

Working with pg in nodejs was frustrating in comparison.

ithrow··on The Reason Java Is Still Popular
Many "modern" companies chose Java for the core of their backend servers, stripe, square, netflix to name a few.
ithrow··on TimescaleDB 2.7 vs. PostgreSQL 14
Is Timescale suited for keeping the history of the data and then query against any point in time?
ithrow··on Skipping the boring parts of building a database using FoundationDB
Didn't explain myself well, meant I want to use Javascript only and maybe typescript only for the schemas. I understand that Tigris exposes a HTTP endpoint and is all json but wondered how well the Typescript SDK will play for pure Javascript development.
ithrow··on ZincSearch – lightweight alternative to Elasticsearch written in Go
Does ES support the embedded use case?
ithrow··on ZincSearch – lightweight alternative to Elasticsearch written in Go
If you don't want/need HA you can run a 1 node ES.
ithrow··on Skipping the boring parts of building a database using FoundationDB
Can typescript be limited to just creating the schema and then use javascript for the rest of your application?
ithrow··on I’m a productive programmer with a memory of a fruit fly
In what programming language? I find that with dynamic languages comments help but they require to have more discipline about documentation.
ithrow··on Java’s Cultural Problem
Write SQL and do the mappings to records yourself.
ithrow··on GitUI: Terminal UI for Git
It's common to have your remote dev environment on a remote VM.
ithrow··on BlueJ – A Lightweight Java IDE
You could say the same for Python/Ruby/Javascript or most high-level languages that rely on a VM.
ithrow··on Show HN: WunderBase – Serverless OSS database on top of SQLite, Firecracker
Couldn't find anything in the Prisma docs about it exposing a GraphQL API.
ithrow··on Penpot: Open-source design and prototyping platform
I don't see how Clojurescript is a good thing here, it's probably the most inefficient and with the most overhead of all the compile to JS languages (with out talking too much about react with penpot uses), even highly optimized pure JS won't come anywhere near the performance of Figma's C++ engine. Yes, performance for this tools matters.
ithrow··on Why Racket? Why Lisp? (2014)
Their existing imperative code operations actually produced the wrong results (subtly) frequently or their imperative code depended on the order of the data returned from the database (undefined behavior). Yikes.

That just sounds like very sloppy programming.

ithrow··on Scala isn't fun anymore
Doesn't the problem you mention for Loom applies equally to OS threads? What's the difference? Loom just lets you create more threads but with OS threads you are doing IO too.
ithrow··on Evolving my note-taking processes
Since this is an Emacs article I recommend checking out https://protesilaos.com/emacs/denote
ithrow··on The self-fulfilling prophecy of React
What is your recommendation for web apps that are not highly interactive but need interactivity to improve the UX?
ithrow··on One million queries per second with MySQL
No, a single database manages multiple customers but the customers are distributed among multiple databases.
ithrow··on Canonical joins the OpenSearch community (AWS-led fork of Elasticsearch)
Ubuntu is heavily used by AWS customers, Canonical sells support contracts for Ubuntu.
ithrow··on I like Odin
curious, why do you prefer snake_case to kebab-case?
← PreviousPage 3 of 10Next →