Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomstuart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
tomstuart
5y ago
You might find this (from 1989) interesting: https://dreamsongs.com/RiseOfWorseIsBetter.html
92.
▲
by
tomstuart
5y ago
Hey Sam! Thanks so much! That means a lot.
93.
▲
by
tomstuart
5y ago
Thank you, I’m glad you liked it! Yes, some of the same ideas are covered in the second half of chapter six. The presentation in this talk is different, mainly because Ruby has pattern matching now, which makes everything clearer.
94.
▲
by
tomstuart
5y ago
This is the sequel to a talk about the lambda calculus I gave ten years ago. Here’s the 2011 Hacker News discussion: https://news.ycombinator.com/item?id=3343205
95.
▲
Programming with Something
(tomstu.art)
62 points
by
tomstuart
5y ago
|
6 comments
96.
▲
by
tomstuart
5y ago
No: > In the next few weeks, the Montreal and Sherbrooke studios will be officially closed on Fridays, without changing the working conditions currently in place nor the salaries of employees, thus switching from the 40-hour week to 32-h
97.
▲
by
tomstuart
5y ago
Thank you for explaining this! To elaborate for anyone who’s curious: the square root function is 𝑓(𝑥) = 𝑥^½, so its derivative is 𝑓′(𝑥) = ½𝑥^-½ (power rule) = 1 / 2𝑥^½ = 1 / 2𝑓(𝑥). If we know the value of 𝑓 for some nearby input
98.
▲
by
tomstuart
5y ago
Then you might enjoy this: http://pascalwyse.com/blog/2017/12/15/in-our-time-machine
99.
▲
by
tomstuart
5y ago
An earlier post ( https://raphlinus.github.io/gpu/2020/09/05/stack-monoid.html ) explains it. The elements of the monoid are stack operations represented by pairs `(n, vs)`, where `n` is a number of values
100.
▲
by
tomstuart
5y ago
There was, but it got suspended: https://www.bbc.co.uk/news/technology-57018148
101.
▲
by
tomstuart
5y ago
With time: https://youtu.be/6l18q7Gi4GQ?t=553
102.
▲
by
tomstuart
6y ago
The problem is with the centralisation and aggregation of that knowledge. It’s not (necessarily) bad that the site owner knows you’ve visited their site, it’s bad that Google knows all of the sites you’ve visited.
103.
▲
by
tomstuart
6y ago
That’s a very generous comparison, thank you!
104.
▲
by
tomstuart
6y ago
I find the distinction between “fake”, “stub” and “mock” very useful when making decisions about my own code, but I’ve basically given up on using it to communicate because I never find myself dealing with anyone who cares about the differe
105.
▲
by
tomstuart
6y ago
This video from Game Maker’s Toolkit is an excellent overview of the topic: https://youtu.be/gwV_mA2cv_0
106.
▲
by
tomstuart
6y ago
It’s a class dedicated to a single object. Every object has its own eigenclass — this sounds expensive but in practice they’re lazily created. Regular classes are used to store the definitions of methods which are available on all instances
107.
▲
by
tomstuart
6y ago
The parent comment meant three consecutive collinear vertices among other vertices , not a zero-area “flat triangle”.
108.
▲
by
tomstuart
6y ago
This is a great post! The setup could be clearer: I found it a little difficult to follow (during “a real number x … this value which I will denote f … treat the 31-bit value as an unsigned integer u ”) what each of the named variables
109.
▲
by
tomstuart
6y ago
This is the opposite of my point of view. I think it’s a great example because the whole point is that, while most people’s everyday experience of a bank account is as a single mutable value, the reality is far more complicated and subtle
110.
▲
by
tomstuart
6y ago
My favourite real-world example is something like: you have a React component which accepts the boolean props `showFoo`, `showBar` and `showBaz` to control its mode. The intention is that exactly one of `foo`, `bar` or `baz` will be shown a
111.
▲
by
tomstuart
6y ago
You may be interested in precompiled native Nokogiri: https://github.com/sparklemotion/nokogiri/issues/2075
112.
▲
by
tomstuart
6y ago
I’ve read Only Forward by Michael Marshall Smith. It stuck in my mind the same way that Vurt did. I still think about the man with no head sometimes, and the idea of a road being different when you’re going the other way on it.
113.
▲
by
tomstuart
6y ago
This looks similar in spirit to `git range-diff` [0], which may interest anyone who wants more visibility of what’s changed between branches (e.g. before and after a rebase). [0] https://git-scm.com/docs/git-range-diff
114.
▲
by
tomstuart
6y ago
The context implies it’s macOS on Apple silicon.
115.
▲
by
tomstuart
6y ago
The Magic Keyboard uses scissor switches, not butterfly.
116.
▲
by
tomstuart
6y ago
The purpose of this project is to parse JavaScript (turn a flat string of code into a structured tree), not evaluate it.
117.
▲
by
tomstuart
6y ago
You can, of course, do the same with React: https://reactjs.org/docs/add-react-to-a-website.html
118.
▲
by
tomstuart
7y ago
I think PLT is generally broad enough to include anything related to making (vs using) programming languages — the more practical topics like compiler/interpreter construction, VM implementation etc seem to obviously qualify despite no
119.
▲
by
tomstuart
7y ago
This is such a great tool which deserves a wider audience. I honestly think that more people would hear about it & use it if it had a less unappealing name.
120.
▲
by
tomstuart
7y ago
You’re always going to be on one side of the expression problem [0]: either your operations live with your datatype (classes), which makes it inconvenient to add a new operation, or they live somewhere else (“functional modules”), which mak
More ›