Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ricksharp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
ricksharp
6y ago
Cool, I never knew what that was called. Thanks!
62.
▲
by
ricksharp
6y ago
Object.keys() is always frustrating. Also, the array access not returning an optional type (I wish there was a strict option for that) often gets me. We need a middle ground: “TypeStrict“ that can clean up some of the edge cases. If you nee
63.
▲
by
ricksharp
6y ago
Thinking about this more. I think this project has some promising practical uses when combined with code generation from the typescript ast (which is what my project does). Since the type system can parse the SQL strings, then it becomes po
64.
▲
by
ricksharp
6y ago
But if you declare a string literal as const, then the string runtime value will match the string type. So it would be possible to have a runtime result (that executes an actual db query for example) that is paired with the type result.
65.
▲
by
ricksharp
6y ago
Right! That is insane - I had no idea it was possible to infer part of a string literal. My mind is exploding at the possibilities.
66.
▲
by
ricksharp
6y ago
Nice! I built something similar - A set of scripts that generate SQL statements from typescript types to wrap a PostgresSql db. It’s more a hybrid data structure where only relationships and certain fields become columns (which can be index
67.
▲
by
ricksharp
6y ago
Sure: https://ricklove.me So, almost all my content is hidden, but if you like text adventures you might have a go with the header bar. It's pointing at my repo which is a mono-repo full of whatever I feel like: https:&#x
68.
▲
by
ricksharp
6y ago
Thank you. I read the article, and I was like, "so they remembered a light flashed and got rewarded?" A basic lstm will do that - GPT-3 will do far more. How does that have anything to do with higher intelligence?
69.
▲
by
ricksharp
6y ago
This is a short blog post I wrote about the importance of respecting and benefiting the user. Note: There are some easter eggs on my blog for those interested.
70.
▲
User Beneficial
(ricklove.me)
2 points
by
ricksharp
6y ago
|
1 comments
71.
▲
by
ricksharp
6y ago
I’ve been building software for around 20 years. It’s more enjoyable to me than it has ever been. One of the reasons is I have my own playground repo + site where I put all my experiments and write whatever I want. I can now make more in a
72.
▲
by
ricksharp
6y ago
But is the guy wearing a mask?
73.
▲
by
ricksharp
6y ago
Saving yourself time and money is often more energy efficient. Here is a small example: For my blog site, I use Netlify to host - which auto deploys on a git push. My builds running on Netlify were averaging around 3 mins (every time I push
74.
▲
by
ricksharp
6y ago
vscode with ‘git graph’ extension is the best git toolset ever. My favorite feature is ctrl+click 2 nodes in the git tree and immediately see file level diff which I can explore in vscode’s diff viewer. For work, we use git flow with github
75.
▲
by
ricksharp
6y ago
I think there is a huge difference. Netflix gives me the freedom to cut out ads and watch what I want (from what is available anyway). That is why I have always loved Netflix and have always enjoyed not having cable tv (which always felt li
76.
▲
by
ricksharp
6y ago
I think you may be right. I've always hated ads, but never thought about why. They have never done anything good. If I need something, I can search for it. If I don't need it, I don't want an ad to try to instill some desire
77.
▲
by
ricksharp
6y ago
"We are more profitable to a corporation if we are spending our time staring at a screen, staring at an ad, than if we're spending our time living our life in a rich way." (Justin Rosenstein ~1:25:30) This is ironic, because
78.
▲
by
ricksharp
6y ago
I think the environment has changed because of mobile. We had to figure out how to make things work on more than an always connected browser. Also it’s not all read-only info anymore. But even so, with things like netlify, expo, etc. creati
79.
▲
by
ricksharp
6y ago
I’m getting to the age where that seems to happen often. On the positive side, I think I have figured out a sequence of all my favorite tv series in a loop that should last me for the rest of my life.
80.
▲
by
ricksharp
6y ago
Couldn’t help but think about Jesus words when reading your comment about the waste of potential: “they are ever hearing, but never understanding” I think in his case he was criticizing the scribes who memorized the scriptures, yet had no m
81.
▲
by
ricksharp
6y ago
Perhaps the issue is that it is far cheaper and easier to start from scratch and create a small app these days. As we innovate exponentially faster and have better tools and languages, it is far easier to tear the building down and start ov
82.
▲
by
ricksharp
6y ago
I did enjoy building my own PC. I haven't built one since in 1997, so that was fun. But you should see how fast vscode reloads :-)
83.
▲
by
ricksharp
6y ago
Nice - whatever maximizes your productivity is the right tool. I went the opposite route: I basically built a gaming rig so I could get really good auto-complete in vscode. Couldn't be happier... and I have a 'free' light sho
84.
▲
by
ricksharp
6y ago
This might work today, but it won’t work tomorrow. This is just one side of a GAN, on the next iteration, it will be defeated. Bottom line is that if a human can recognize, then it is possible for a machine as well. Also, given that the big
85.
▲
by
ricksharp
6y ago
Interesting. I was taught to consider the audience in communication, but I think I fail to consider their mental model most of the time.
86.
▲
by
ricksharp
6y ago
What is the purpose of the neural network and how does that help generate the symbolic regression using genetic algorithms? Are they somehow using the parameters of the ANN to seed the generic algorithms (and structure)?
87.
▲
by
ricksharp
6y ago
This is an excellent example of the potential. It feels like what I imagined playing in a Star Trek Holodeck would be (well the dialog anyway).
88.
▲
by
ricksharp
6y ago
That makes me think we are closer rather than farther away because all that would be needed is for this model to recognize the problem space in a question: “Oh, you are asking a math question, you know a human doesn’t calculate math in thei
89.
▲
by
ricksharp
6y ago
Yes, the emergent ability to understand commands mixed in with examples is pretty crazy.
90.
▲
by
ricksharp
6y ago
For me it’s performance passes a usability threshold for human + machine collaboration. It is possible to use it to generate texts which can be quickly curated or edited by a user. Specifically this could be useful in authoring fiction (sci
More ›