Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomhallett
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
tomhallett
2y ago
To me, the initial allure of the vdom was how much further it got you then backbone.js’ “this.model.on(‘change’, this.render)”. When that one liner in backbone was enough, it was magical. But once you hit scenarios where overwriting the t
32.
▲
by
tomhallett
2y ago
Thoughts: 1) put the “# Short syntax for string type.” comment in your docs on your homepage example. When I first saw the “price” element I thought it was a jsonb field or something 2) why the emojis? So confused. Are those an alternati
33.
▲
by
tomhallett
2y ago
Would open sourcing the core IP of a company “typically” require board approval? If a company goes under, the investors will want to sell off the IP, open sourcing everything would make that IP less valueable. There must be some blanket cl
34.
▲
by
tomhallett
2y ago
Is that what AOL Instant Messenger “Punters” used to do?
35.
▲
by
tomhallett
2y ago
at one point i started to make a gem called "dora" where you could "explore" the page with methods around the capybara driver, but never finished it. for example: page.find_blog_posts.highlight_all would draw a blue box
36.
▲
by
tomhallett
2y ago
Any recommendations on patterns/approaches for these declarative logic trees and where you put which types of logic (logic which goes in the prompt, logic which goes in the code which parses the prompt response, how to detect errors in
37.
▲
by
tomhallett
2y ago
For aws to make it available on rds Aurora, would it be safe to assume there would have to be some changes to the extension source to make it compatible with the Aurora engine? If we assume aws doesn’t want todo that, then their licensing
38.
▲
by
tomhallett
2y ago
Very cool! Will definitely check it out. Random question: when you "pause" a test, is it actually pausing the capybara/rspec test such that I can have a breakpoint/debugger/REPL experience to try out various capyba
39.
▲
by
tomhallett
2y ago
$10 = 6% fee; $5 = 8% fee. Both of which are far better than apple’s fees, so that point is a bit confusing. Chargebacks = customer support. I agree with that, but if you have a B2C business which has any non-trivial revenue (OP is talking
40.
▲
by
tomhallett
3y ago
While I’m not saying the specific scenario will work 100% of the time, it doesn’t need to - by the email getting forwarded at all, there is some element of trust in “my manager forwarded me this email and typed ‘complete this for me’”. If
41.
▲
by
tomhallett
3y ago
Question: does the YouTube content found by your algorithm have the follow/like/subscribe promos in it? Sponsored content in the videos? Is there some sort of score/rating for the “youtube creator self promo” (# of seconds
42.
▲
by
tomhallett
3y ago
When I was setting up my mother in law’s HP, her windows machine gave me a choice screen for the browser, but they littered it with dark patterns. It gave repeated warnings, would ask me to confirm that I wanted chrome, and then (accidenta
43.
▲
by
tomhallett
3y ago
When I look at the Tiny Twitter example and see the code below, I'm curious if there is a more "SQL" way to implement it. ``` select 'checkbox' as component, 'Terms and conditions' as label,
44.
▲
by
tomhallett
3y ago
Do you plan on supporting SQL queries? My top 2 would be postgres and snowflake.
45.
▲
by
tomhallett
3y ago
random idea: an event for "x-sync:missing". the server responds with `<ul x-sync id=notification>`, but the page doesn't have a matching id (and the notifications aren't inside a different target....). if the las
46.
▲
by
tomhallett
3y ago
A few features which look minor but the author got totally right, which IMHO would allow this solution to scale very well with more complex applications. 1) X-Alpine-Target ``` <form method="post" action="/comments&qu
47.
▲
by
tomhallett
3y ago
My first reaction was “why do I need an htmx-like version written in alpine?” when I could just use htmx. BUT… if you assume that you will need something more low level to complement htmx (“htmx + alpine” OR “htmx + hyperscipt”) and if you
48.
▲
by
tomhallett
3y ago
Would love to learn more. Guess: Is the “different position” that consistency can be achieved when a fault occurs by having the longest chain, instead of a leader/voting mechanism?
49.
▲
by
tomhallett
3y ago
This seems like the best option, because it works just as well if the child components are loaded async (Ie: a tab component loading sub tabs on hover, and then the parent tab container needing to subscribe to that)
50.
▲
by
tomhallett
3y ago
To me the usescase feels like: I am using Hotwire/htmx. When I need more complex behavior, instead of using stimulus/apline/hyperscript, you can make custom webcomponents which use rawjs for the rendering.
51.
▲
by
tomhallett
3y ago
Thanks! I was looking for a wasm book a few weeks ago, and most looked (understandably) out of date. Very helpful! The frontend masters course by Jem Young was really good as well. https://frontendmasters.com/courses/
52.
▲
by
tomhallett
3y ago
I’m curious: if one of the board members “knows” the only way for OpenAI to be truly successful is for it to be a non-profit and “don’t be evil” (Google’s mantra), that if they set expectations correctly and put caps on the for-profit side,
53.
▲
by
tomhallett
3y ago
Could the “jump” problem be improved with a subtle transition (200ms, 1s, etc) from one state to the other? If the editor “repaints” commit mono on the letter-pair boundary, I could see that being a very jumpy UX — ie: the letter I just typ
54.
▲
by
tomhallett
3y ago
The way I interpreted it: * Person A [Marketer who knows html/handlebars] logs into Postmark and makes a new email template. * Person A tells Person B [node js developer], "Please send the new 'welcome' email template fr
55.
▲
by
tomhallett
3y ago
I highly recommend reading "The Mom Test", https://www.momtestbook.com/
56.
▲
by
tomhallett
3y ago
100% agreed with you. Here's the part where I agree with user "PoignardAzur": * user "menaerus" goal is have "C/C++/Rust developer [...] expose your product as a browser service", which they can
57.
▲
by
tomhallett
3y ago
Yes, but it's important to think about the bridge/shim between your application code (the web assembly module) and the host (the browser). If you have a C++ game which draws to the screen with SDL, then you can use a shim to conv
58.
▲
by
tomhallett
3y ago
It sounds like question is: why fork Dolt to make DoltgreSQL?
59.
▲
by
tomhallett
3y ago
In this case, are you recommending the serverside validations (is a promo code still active and not expired) run after the call to stripe's confirmPayment, because you have a clientside validation (promo code matches a regex)? If so,
60.
▲
by
tomhallett
3y ago
Any recommended resources (books, courses, etc) which go deeper on sql topics like this? Comparing and contrasting different ways of writing the same query, with respect to performance. The one book I’ve found and really enjoyed was “SQL P
More ›