HNHacker News
TopNewBestAskShowJobs

Scarbutt

1,655 karma · joined November 27, 2014

submissionscomments
Scarbutt··on Second-Guessing the Modern Web (2020)
A subset of Javascript though.
Scarbutt··on Second-Guessing the Modern Web (2020)
I wonder why JSX didn't just go all the way with the language (arrays and objects) to represent html tags and attributes, it would have cut the noise by 50%.
Scarbutt··on Cisco Acquires Splunk
Well no, dropbox is aimed at non-technical oriented users. Sure, they have "enterprise" features for admins now but that's not how it started and in the end the product is vastly consumed by non technical users.
Scarbutt··on Harlequin: DuckDB IDE for the terminal
Is there something like this for XML?
Scarbutt··on Ruby 3.3's YJIT Runs Shopify's Production Code 15% Faster
Are there companies in the last 7 years that have started with rails and have become big like spotify?
Scarbutt··on JDK 21 Release Notes
1. In Node, the main event loop is single threaded. So if you want to do some work that is heavily CPU intensive, until you make an IO call, the Node server isn't free to handle another incoming request. You can test this out with a busy wait loop in a Node request handler. If you have that loop run for, say, 10 seconds, then no other incoming requests can be dispatched for 10 seconds. In other words, Node doesn't allow for preemptive interruption.

Nice. I will add that JS runtimes now have worker threads, while they are still terribly inefficient even when compared to OS threads they can alleviate this problem if you don't need to spawn more than number of cores worker threads. If you are using nodejs and that is not enough, welcome to the microservices world.

Scarbutt··on I hacked macOS
Read computer architecture and computer systems books.
Scarbutt··on I hacked macOS
How can she do all this using kate and not vim? /s
Scarbutt··on Java 21 makes me like Java again
Libraries for application programming, last time I used Go nothing came close to the Java PDF creation libs for example.
Scarbutt··on Ask HN: Do I need AWS? Or am I thinking this wrong?
This. AWS can be as simple or complex as you want it to be.
Scarbutt··on Relational is more than SQL
Business requirements change over time, specially at the beginning, you may have 80% certainty of the schema today but not in four months.
Scarbutt··on Relational is more than SQL
Looks like they are showcasing the output of the compiler, not the hand written SQL.
Scarbutt··on Relational is more than SQL
It's hard to say, if microsoft or google where behind prql and promoting it, it may as well become a typescript. There's a reason many developers use query builders, while not exactly the same, they want programming language features and familiarity of modern programming languages. Not saying prql is the correct approach here since I don't know it.
Scarbutt··on Tails is a portable OS that protects against surveillance and censorship
How do you run a GUI with a container? Xorg server running in the container?
Scarbutt··on What's new in Emacs 29.1
Wait until you learn about users of that editor called vim.
Scarbutt··on Things I wish I knew before moving 50K lines of code to React Server Components
Network effects, react is where the jobs are.
Scarbutt··on Google Maps is a critical dependency for nutrition facts on mcdonalds.com
How bad is mcdonalds food?
Scarbutt··on LibreOffice 24.2 Will Succeed LibreOffice 7.6
Exporting to .xls files it's pretty bad, so it's a no for sharing. Unfortunately, Google sheets does a better job here. I assume cloud office is the best in this case but haven't tried it.
Scarbutt··on Squeeze the hell out of the system you have
They mentioned adding a DB replica for reads.
Scarbutt··on Squeeze the hell out of the system you have
Normalization is not only about data storage but most importantly, data integrity.
Scarbutt··on A Modern C Development Environment
Docker provides an extra layer of "safety" for rogue third party packages. Better than installing those rogue packages directly to the host.
Scarbutt··on Ask HN: Did anyone write a book in Nano?
FWIW, there's a community around Emacs that focuses on writing. Lots of articles have been written about it and there are some "famous" authors that have written books/novels in it. Yes, you can use Emacs in the terminal if you want (which I do cause I like using tmux for my workflow). But then, I don't see the issue with using Google Docs (you can just treat it as nano) unless you care about a local workflow and don't want to store in the cloud.
Scarbutt··on Austral Programming Language
I would add 'no macros' being a no no too.
Scarbutt··on SQLite Begin Concurrent
SQlite is much more efficient if I dedicate one process to handle all writes and optimize that process for speed (i.e. batch writes, etc.).

That increases complexity on the application side though.

Scarbutt··on Journalists should be skeptical of all sources including scientists
What was the issue with COVID?
Scarbutt··on Val, a high-level systems programming language
What language has C++ interop?
Scarbutt··on I'm moving my projects off GitHub
Using plaintext is one click away while composing an email in most email/web clients I have tried.
Scarbutt··on Firefox has surpassed Chrome on Speedometer
Mozilla fired the dev tools team, so features get in more slowly compared to Chrome.
Scarbutt··on Thunderbird 115 “Supernova”
A more seamless switch would be just using the web clients.
Scarbutt··on Emacs GUI Library
Then screen is your WM for the remote VM.
← PreviousPage 4 of 34Next →