Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidkunz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
davidkunz
3y ago
It'll be great if they'd build language servers via the language server protocol, that would be editor agnostic.
92.
▲
by
davidkunz
3y ago
> 'quasi-stochastic information compression' Isn't that what we humans do? We try to find patterns to discover underlying mechanisms. That's information compression.
93.
▲
by
davidkunz
3y ago
S - Spaghetti: Weave a tangled web of code, just like a master chef crafting a delicious pasta dish. Complex code is the key to intrigue and job security. P - Precarious: Make sure the code is fragile, such that any minor change could lead
94.
▲
by
davidkunz
3y ago
This is great, thank you! Usability suggestion: It should be possible to scroll horizontally in code blocks while still generating. Currently that doesn't work (at least for mobile).
95.
▲
by
davidkunz
3y ago
I use nvim-dap[1] in combination with jester[2] (by me) to run and debug Jest tests in my project, it works perfectly. [1]: https://github.com/mfussenegger/nvim-dap [2]: https://github.com/David-Kunz&#x
96.
▲
by
davidkunz
4y ago
Looks like I'll be doomscrolling through massive code bases.
97.
▲
by
davidkunz
4y ago
> Today LLMs have not been demonstrated to be capable of synthesizing novel code. They are capable of doing that (to some extend). Personally, I've generated plenty of (working) code to solve novel problems and I'm 100% sure th
98.
▲
by
davidkunz
4y ago
That already happened. https://youtu.be/akceKOLtytw Or even older: https://m.youtube.com/watch?v=jH-6-ZIgmKY
99.
▲
by
davidkunz
4y ago
Plugins I would like to see: - Compiler/parser for programming languages (to see if code compiles) - Read and write access to a given directory on the file system (to automatically change a code base) - Access to given tools, to be inv
100.
▲
by
davidkunz
4y ago
From my experience, most time is spent in the generate-copy-paste-compile-error cycle. Especially for strict/strongly-typed languages, checking for programming errors can be done by a machine, so this process can be automated (not for
101.
▲
by
davidkunz
4y ago
The steering wheel could invoke :earlier xs (when rotated by x to the left) and :later xs (to the right). We'd have a time machine.
102.
▲
by
davidkunz
4y ago
I agree. I love Nim, it's such a great language but I try to stick to Rust because I have a feeling that's where the industry is headed. And Rust will improve over time, maybe at some point it will be more pleasant to use.
103.
▲
by
davidkunz
4y ago
One cannot enforce optimal solutions but one can prevent sub-optimal ones through proper checks.
104.
▲
by
davidkunz
4y ago
A few examples: - Rust forces you to deal with errors and "null" values (Option). If you just unwrap them, it's visible. - Rust requires systems with clear ownership. You can opt out with various smart pointers, it's vis
105.
▲
by
davidkunz
4y ago
It depends. - Rust is a complicated language, so novice developers probably use something else. - Its ownership/borrowing system makes sure that architecture is not an afterthought (unless you pollute your code with countless smart poi
106.
▲
by
davidkunz
4y ago
I dislike the 1000 character limit. In ChatGPT, it's quite useful to insert larger chunks, e.g. for "improve this text" or "given that code, how can I implement ..." questions.
107.
▲
by
davidkunz
4y ago
Chat interfaces are great if 1) you know what you want 2) the alternative would require manual navigation to multiple UIs and/or many interactions
108.
▲
by
davidkunz
4y ago
Yes, but syntax decisions of programming languages shouldn't rely on such things. I would've preferred square brackets for generics (and something else for indexing).
109.
▲
by
davidkunz
4y ago
I don't know if it's just me, but find angle brackets really hard to read. Many times I just miss the ending one, because they have the same height as normal characters, so they don't stand out.
110.
▲
by
davidkunz
4y ago
I assume at some point, ChatGPT needs some kind of text ranking. Popular texts are usually correct (content and presentation) and useful, so they should rank higher. At some point, low-quality texts are filtered out. Personally, I don'
111.
▲
by
davidkunz
4y ago
Gitoxide is useful in other Rust programs that need to interact with git such as Cargo[1] or Helix[2]. [1]: https://github.com/Byron/gitoxide/issues/106 [2]: https://github.com/helix-editor&#x
112.
▲
Codeium: Free Copilot Alternative [video]
(youtube.com)
1 points
by
davidkunz
4y ago
|
0 comments
113.
▲
Writing Neovim Plugins with ChatGPT [video]
(youtube.com)
1 points
by
davidkunz
4y ago
|
0 comments
114.
▲
by
davidkunz
4y ago
Also at summarizing, so I'm gonna review ChatGPT's summary of ChatGPT's review.
115.
▲
by
davidkunz
4y ago
ChatGPT can also change its style, e.g. "Make the following text more interesting".
116.
▲
Helix 22.12: What's New? [video]
(youtube.com)
1 points
by
davidkunz
4y ago
|
0 comments
117.
▲
by
davidkunz
4y ago
Neovim is a continuation of Vim, you can find more info here: https://neovim.io/charter/ Edit: This doesn't mean Vim is discontinued.
118.
▲
Neovim Conf 2022
(neovimconf.live)
189 points
by
davidkunz
4y ago
|
119 comments
119.
▲
by
davidkunz
4y ago
You can ask for a simple example of a CRUD app, here's my code output: const express = require('express') const app = express() // define the model for a user const User = { name: '', email: '&
120.
▲
Having Fun with SAP CAP and ChatGPT
(blogs.sap.com)
1 points
by
davidkunz
4y ago
|
0 comments
More ›