HNHacker News
TopNewBestAskShowJobs

diatone

357 karma · joined February 14, 2021

tom@diatone.net
submissionscomments
diatone··on ask HN: How does an LLM like GPT3 perform addition/division?
Would be fun to see a breakdown of how some arithmetic prompts are tokenised, to help understand this. eg: is the number “1.23e+5” one token?
diatone··on To build truly intelligent machines, teach them cause and effect
iiuc, GP’s point is that these models, in their current form, can’t guarantee confidence in their ability to reason about a scenario exhaustively.

“Give it time” and other dismissals are beside the point. The point seems to be that these models approximate results based on some hidden criteria, which means that although for a variety of practical purposes they fare better than people and are therefore preferable, there remain problems which are better suited to computing approaches that guarantee exhaustiveness… even though those other approaches sacrifice the malleability of neural networks.

diatone··on All programming philosophies are about state
If you haven’t already, you might benefit from learning about the idea of OODA loops.
diatone··on Ask HN: I would like some career insight
Hey mate, I have a similar background and broke into tech via mech eng. in Melbourne a few years ago. Slightly different path but ended up okay, currently working at Canva which you may have heard of. I got started working for a startup adjacent to the CAD space, and can give you some advice if you’re up to it. My email’s in my profile. Either way good luck!
diatone··on Show HN: Open Source Canva Clone
Disclaimer: I work for Canva, my opinions are my own.

Among other things, Canva supports collaborative whiteboarding:

https://www.canva.com/newsroom/news/introducing-canva-whiteb...

and landing pages:

https://www.canva.com/designschool/tutorials/canva-websites/

So one way I like to think of Adobe Express is that it’s a subset of Canva’s offering, but the media editing features are slightly more refined. The corollary here is that Express’ moat is Adobe’s stock image library. It will have trouble beating Canva as a visual communication platform over time.

Also, Canva is more value aligned with me; I’m biased of course. But it’s worth raising in case you’re interested: the company is committed to promoting and pursuing sustainability where it can:

https://www.canva.com/sustainability/

and about 30% of the equity is committed to philanthropic work:

https://www.afr.com/wealth/people/canva-s-billion-dollar-giv...

diatone··on Ask HN: Is ease in getting started the key for Python's success?
1) type javascript:alert(‘Hello world’) in the URL bar 2) hit enter

iirc. but it’s been a long time since I’ve screwed with bookmarklets

diatone··on The use of ‘class’ for things that should be simple free functions (2020)
> JVM forces classes

Fair enough but it does suck that it has to be that way. But yeah, fair enough.

> Classes allow namespacing

This is the same mode of issue as the above: when your language doesn’t support arbitrary namespacing or (hello Python, hello Java) then yes classes can get used as namespaces in disguise. It sucks that it has to be this way in these languages, but we play the hand we’re dealt. Great point

> My colleagues have stylistic preferences

I’m struggling to understand this one. Are you saying that your colleagues prefer instantiating classes over functions, just because, or is there a technical reason for that convention?

diatone··on “What if it changes?”
In the subset of competitive video games known as fighting games, like Street Fighter, there is a slang term for a very similar tactic, called an “option select”[0]. Put simply: you’re maximising the expected value of your decision, by expanding the possibility space of what can occur after your decision, instead of eagerly (and maybe mistakenly!) committing to any particular possibility and locking yourself into some subset of that possibility space.

Go figure that I’ve overheard and used “option select” in the context of technical decisions at work, among coworkers who play fighting games.

[0]: https://youtu.be/rBLpz369i7Q

diatone··on Ask HN: Could you share the notes you took on a typical work day?
Counterpoint, most of my notes are gibberish and exploratory. For me the note taking process allows me to eventually synthesise a coherent idea. The idea makes its way to the team. If they read my notes it would confuse them, just like how I experience a mixture of confusion and familiarity when I reread my old notes.
diatone··on Show HN: A Visual IDE for React
Playing devil’s advocate here: if this graphical interface could be manipulated without mouse clicks, you’re still interested? Alternatively: if there were some high bandwidth, low latency feedback loop between you and this app, an order of magnitude faster than how you currently iterate on working with React, you’d consider it?
diatone··on Show HN: A Visual IDE for React
For personal projects it might be overkill depending on the scope. But if 2+ people are working on a constantly evolving system, shipping new features, and want consistency in the design system? It’s a solid foundation.
diatone··on Ask HN: What tool would you buy to make your life easier?
Fun unrelated fact: boogie board is an Australian slang term for what you might call a body board, used for faux-surfing. I was very confused by your comment for a while.
diatone··on Gh.nvim – A fully featured GitHub integration for Neovim
This is so cool! I’ve wanted something like this for ages now and was shy to build it. Really looking forward to getting stuck into this, thanks for taking that huge first step!
diatone··on Lessons learned from the recent job hunt
Does “the company” need to sleep?
diatone··on Mygov is a ‘huge disappointment,’ key architect despairs
If your house has a gas leak but it’s not too strong, she’ll be right.

If your bathroom faucet is leaking but it’s a drop an hour, she’ll be right.

If it’s bushfire season and you haven’t prepared for your house getting burned down, but it hasn’t happened in the last five years, she’ll be right.

Cynically, it’s shirking responsibility. Optimistically, it’s playing the odds.

diatone··on Choose your status game wisely
Nitpick: it’s not as straightforward to leverage a great body towards money as it is to leverage money towards a great body. Arnold and Dwayne Johnson are outliers. Many athletes struggle financially.

For other reasons I agree with your end point in that money isn’t strictly necessary for success everywhere else, but please don’t suggest that money isn’t uniquely useful when put to the task.

diatone··on Ask HN: What bits of fundamental knowledge are productivity multipliers?
Came here to say this. The library of Alexandria fell into disrepair. Try not to let the same thing happen to you, or all that knowledge will be for nothing.
diatone··on Ask HN: Name of when inconsistent UI makes you feel like youre about to stumble
Maybe not a term unique to the field, but it’s good practice for a user interface to be cohesive in its conceptual models. In your example, the model given to you wasn’t cohesive in that it required you to first memorise a specific key binding to proceed, then required a separate key binding because the associated ”finalising” term happened to be spelled a separate way. Consider the same case for international users: if the word “Done” is translated into the fictional word “Sploog”, should the final key press be Alt+S for those users? (Hint: No)
diatone··on How on earth I became an entrepreneur
Good business… ceteribus paribus. Which is to say, rarely if ever at all.
diatone··on Placeholder for a Conversation
Come on, "should have" really depends on a lot here.
diatone··on Some tiny personal programs I've written
In case anyone’s interested in the math to get the dice answer, it’s (1 + 2 + … + 6) * 2500 / 6 = 8750. At least, I think it is
diatone··on My Stripe Tax Story
The fraud indicator in this case is that the card is a dupe, hence why the machine couldn’t read it and the number needed to be manually entered. So when the charge went through, some poor soul elsewhere in the world had to issue a chargeback.

ed: sibling comment nailed it also. Didn’t even consider that, good stuff

diatone··on No one cared about my spreadsheets
So in other words, the kind of thing that typically is suited to academic peer review?

I don’t want to sound cynical, and this certainly isn’t ideal from a “cultivate a vibe of intellectual humility and curiosity” perspective, but is it a surprise to anyone but the author that laypeople didn’t take to a thorough critique of his work?

diatone··on Ask HN: What is your preferred “full-stack in a box” solution and why?
Gonna throw a hat in for Deno. It’s not super mature, but you can certainly write isomorphic React + some MVC code in a monolith - nothing to sneeze at, looks promising.

I think tooling to generate typesafe SQL methods from inspecting a DB is a big win for the Deno ecosystem. And an equivalent for Storybook. From that point forwards, it’s pretty good for lean projects.

diatone··on Ask HN: When should event-driven architecture be avoided?
No concurrency? No events. No more than a single team running a single service (even a monolith)? No events. Not dealing with asynchronous 3rd party APIs (eg: webhooks)? No events. Not dealing with arbitrarily many hosts/processes/tasks/objects communicating with each other, potentially asynchronously? No events. Not streaming? No events.
diatone··on Running Lisp in Production (2020)
Next Advent of Code, grab yourself a download of Portacle and see how far you can get with Lisp.

By day 7 you should have a feel for what people mean when they say you are directly editing the AST.

Basically: there is the same amount of friction to moving constructs around at a high level as there is at a low level, and this is due to Lisp’s uniform syntax, and paredit leverages this a lot.

Contrast this to a language like Java, where the friction between modifying a single expression and modifying class-level interactions are totally different, syntactically. Now you find yourself leaning on highly specific IDE-level support or Lombok for things like setting up Builders for every POJO, to get around these constraints.

From a Lisper’s perspective, these syntactic constraints are unnecessary, and should at most require a library that you can trivially port to any editor. Which is exactly what paredit achieves.

diatone··on Sleep quality and consistency associated with better academic performance (2019)
The results are interesting. It seems like there is a lot of clustering going on in the regression data. It could be worth investigating if instead of a linear relationship between sleep quality and consistency with academic performance, there is a logarithmic (or some other superlinear) relationship instead. This would help confirm the intuitive notion that there are diminishing returns to optimising one's sleep.
diatone··on What happens to developers who never go into management?
Looks like GP is drawing a distinction between deliberate application of good management skill, and reliance on the initiative of others. Unless you’re implying that good management is minimal (potentially zero) management?
diatone··on Sleep technique used by Salvador Dalí works
To everyone asking for a recording: I appreciate the curiosity, but we were very much a live act.

But I hope my little story encourages you to pursue the arts, and nurture them in your local area. Your local live music scene needs your support, so we can see serendipities like this appear :)

diatone··on Sleep technique used by Salvador Dalí works
Anecdote: I distinctly remember being on the edge of sleep writing a song one night in 2019. I was about to fall asleep on the floor with a notebook in my hand, and just at that moment, the music came into my mind. For whatever reason, I was able to stay awake and flesh it out as a recording. After reflecting on it the next day I realised I had written an acoustic fingerstyle piece that moved across keys as if there were multiple voicings in the accompaniment all moving independently in polyphony. Far more harmonically complex than anything I had written before, or since.

Three weeks later my partner and I played it for the first time in a pub, and the normally cosy and laugh-filled room fell silent. We had the exact same experience in another open mic night a couple of weeks afterwards, where we took the first-place prize before the competition even finished. It was as if people were moved by it without any effort or coercion, like we cast a spell over people.

Now it makes sense! I’ve heard music play in my mind as I’ve fallen asleep before; this news explains this story almost perfectly. Unreal. Live on the edge of sleep and magic can happen. I wonder what health risks there are with prolonged use?

← PreviousPage 4 of 5Next →