HNHacker News
TopNewBestAskShowJobs

augustl

1,882 karma · joined August 30, 2009

submissionscomments
augustl··on Google Docs will now use canvas based rendering
And this is not new, they already do that with the current dom renderer. One div for each wrapped line of text, divs for selection, cursor is a CSS animated div, etc
augustl··on Google Docs will now use canvas based rendering
Makes me wonder if they actually implemented their own kerning..
augustl··on Google Docs will now use canvas based rendering
It already does. The old DOM renderer renders _everything_ by hand. Selected text are absolutely positioned divs, so is the cursor, etc. So switching to canvas is not a big change in that regard.
augustl··on Google Docs will now use canvas based rendering
I wonder how they will _measure_ the text. You can use the range API to get the client rects for individual letters of text nodes in DOM, and then you could render that into a canvas letter-by-letter. You'd get kerning etc handled by the browser. But canvas has no such API afaik. Maybe Google has implemented their own kerning?
augustl··on Pg_tmp – Run tests on an isolated, temporary PostgreSQL database
This is the way to go imo!

It also enables parallelization of test runs :)

And it also makes testing databases with limited transaction APIs (like DynamoDB) much easier.

augustl··on I Really Blew It (2020)
> his success at 80s game development made him think it was the wrong thing that caused the success

I love this!

Believing that you have complete insight into why you were successful the first time seems to be a major blocker to continued success.

augustl··on Homebrew 3.0
It seems to me that if you compare Apple and Microsoft, it's only the latter that cares deeply about the developer experience on their platform.

https://github.com/microsoft/winget-cli

augustl··on StimulusReflex, or LiveView for Rails
FWIW, I'd add a word of caution for this architecture. Coming from an SPA, it feels just like your average react/redux app, except you put your redux state on the server. Your server now maintains the state of all active clients, and you get network lag on all stateful UI interactions.

Now that Google will index SPAs, I'd strongly consider a SPA where the server just generates meta tags (for SoMe link previews etc)

augustl··on Standalone Nashorn 15.0 is out
They have both. GraalJS itself is just a JS runtime, but they've also made a separate package that reimplements the Node stdlib (but doesn't work on Windows yet, for example)
augustl··on Apache OpenMeetings – Video chat, messaging, white board, doc editing and more
I like this list :)

I'd add to it that developers are the ones birthing these projects, and they (or we, I should say) don't like to be bottle necked by UX.

augustl··on I asked GPT-3 for the question to “42”
Am I the only one seeing the religious undertones here? :)

> “What is the answer to life, the Universe and everything? What did you mean when you said now I know but I’m too young to understand? How can I understand the answer but not the question?” > The father put on a condescending smirk as he thought to himself, “I came up with the theory of everything. How dare a child doubt it?”

This maps well onto the christian idea of God, the father.

I guess we can read one of two things into this: AI has discovered that God is real, or humanity has discovered that anyone, even AI, can make up religion.

augustl··on macOS unable to open any non-Apple application
That's correct. AFAIK Catalina will check online for everything, even binaries you compile yourself.
augustl··on macOS unable to open any non-Apple application
The title is slightly misleading. ALL macs with a recent macOS (Catalina?) are freezing, since the security checks that happens when you launch a binary is down. Even if you don't update to Big Sur.
augustl··on Ruby's Proposed STM
Atoms - and immutable values :) Those two are really killer and solves all of my state problems, at least.
augustl··on Letter from Raspberry Pi Foundation over trademark use
On similar posts, people have pointed out that this is something trademark holders essentially _has_ to do in order to protect their trade mark. If there's a history of trademark infringements and you haven't gone after them, apparently your trademark rights gets weakened somehow?

IANAL, etc, maybe someone can clarify.

augustl··on Electric shocks to the tongue can quiet chronic ringing ears
The way I understand the physics, it doesn't add to the amplitude ("energy level") of the waves, the whole point is to send out sound waves that works against the sound that's there already, making the total amount of kinetic energy that comes into your ear less.

Maybe it's an issue with lack of "natural" sound causing you to turn up the volume more, or something like that?

augustl··on Big Bounce Simulations Challenge the Big Bang
The way I'm put together, both ideas makes me uneasy when I _really_ think about them. There used to be no universe? Ugh :( There's always been an universe? How's that possible? Ugh :(
augustl··on Porting a macOS Clojure Dev Setup to Windows WSL2
FWIW this is what I do. And I run stuff in WSL when I occasionally encounter stuff that won't run directly on Win10. Been working for me for about a year now.
augustl··on ISS Docking Simulation
Wow, that looks _amazing_, thanks! :D
augustl··on ISS Docking Simulation
KSP is more of a mission control simulator than a pilot simulator, afaik? I haven't played kerbal a lot..
augustl··on ISS Docking Simulation
I've flown enough "flight assist off" in Elite Dangerous so this worked exactly like I expected it to :)

I hope someone makes a game like Elite Dangerous without care for actual gameplay, and even more realism. For example, with FA off in ED, there's still a speed limit that varies from ship to ship.

augustl··on Hardware Microphone Disconnect in Mac and iPad
Does other manufacturers does this?

Maybe it's a standard thing that Dell, HP and others do as well?

augustl··on Reviving Sandstorm
A good example would be things like a todolist app and other personal things. It would be nice to make an app like that without having to also scale an entire set of servers and just have the syncing etc be provided by the user of the app instead of by me.

Something like that could even be integrated into iCloud if it becomes popular. Then your "user provided server" would probably only work with other Apple products, Apple style. But for many users that would probably be good enough.

And you wouldn't be limited to having only one of these "user provided server thingies", either.

augustl··on Reviving Sandstorm
Good point! This is why the e-mail analogy works. You _can_ host your own e-mail, and nobody has to know that you do, you can just do it. But most people settle for a 3rd party.

It should be the same with whatever someone comes up to as a "bring your own server" solution imo. I'm completely fine with having to do more manual work to set up my own box at home or something like that. Maybe I'll install it on Azure or AWS instead. Or just source it out completely. Would be nice to at least have the option :)

augustl··on Reviving Sandstorm
I hope we never stop trying to find a solution to what just _has_ to happen some day: everyone should have their own server.

If I make an app, I can safely assume that the user has a bank account, an e-mail address, etc. What would happen to the app economy if we could also assume that the user had a server? Imagine all the apps that would be made possible if the app makers didn't have to pay for and scale a back-end service!

Sandstorm.io, https://solidproject.org by Tim Berners-Lee, many people have tried, hopefully someone will succeed.

augustl··on The top bug predictor is not technical, it's organizational complexity
Probably because the title was originally extremely linkbait-y.
augustl··on The top bug predictor is not technical, it's organizational complexity
That's super interesting! What would be a good way to measure the comlexity of a task in some objective way?

Also, the study doesn't really take "tasks" into account at all, it seems. Just modules and data relating to the modules.

augustl··on The top bug predictor is not technical, it's organizational complexity
That's actually very interesting IMO! Now that you said that, it seems obvious to me that there's a sweet spot somewhere, and that it's higher than 1 and (probably much) lower than 100.
augustl··on The top bug predictor is not technical, it's organizational complexity
I think that's a fair point. But organizational complexity is compared to other measures, such as the complexity of the software itself, the number of dependencies, etc - i.e. the size of the software itself - and the study found that organizational complexity is still the #1 method.
augustl··on Steve Jobs: Out for Revenge (1989)
I'm running Microsoft's Linux "kernel". WSL1 that is, where they re-implemented everything :)
← PreviousPage 3 of 15Next →