Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xigoi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
181.
▲
by
xigoi
4mo ago
> It probably should message YOU rather than the person who's birthday it is, so you can send something personal. We already have that. It’s called a calendar app.
182.
▲
by
xigoi
4mo ago
> you can choose to send them an automatic "Happy Birthday" message on their birthday at a specific time. Nothing says “AI enthusiast” more than automating away social interaction.
183.
▲
by
xigoi
5mo ago
I enjoy pressing keys and entering code; I find it to be the most efficient way to communicate with my computer. Why would I not spend my time doing something I enjoy?
184.
▲
by
xigoi
5mo ago
Can you elaborate?
185.
▲
by
xigoi
5mo ago
I accept your challenge, assuming you mean a grammar with a real use case and not an artificially constructed pathological example. You can contact me at [my username] at disroot dot org. I could also send you a stripped-down version of one
186.
▲
by
xigoi
5mo ago
While optimization may be done in unpredictable ways, it does not (by definition) change the effective behavior of the program. If you write a program to calculate prime numbers, it will always calculate prime numbers, no matter how the com
187.
▲
by
xigoi
5mo ago
> I don't understand what "human-made" means. Thankfully, the website answers that. If it’s too long for you, you can ask an LLM to summarize it.
188.
▲
by
xigoi
5mo ago
Writing code by hand costs me zero money. If I were to use AI, I would have to pay thousands of dollars. How does that make more sense economically?
189.
▲
by
xigoi
5mo ago
> assemblers, code generation, compilers, JIT. Or really, just writing bytes that can represent machine code, P-code, or bytecode. All of these things have something in common that LLMs don’t. They behave in a predictable, documentable (
190.
▲
by
xigoi
5mo ago
Auto-generated changelogs from commit messages are bad, no matter if the commit messages follow some structure.
191.
▲
by
xigoi
5mo ago
The article explains why this does not work properly.
192.
▲
by
xigoi
5mo ago
> (usually I can get ~2k of value per month on the $100 plan) Would you pay 2000$ for those tokens? If not, the number is meaningless.
193.
▲
by
xigoi
5mo ago
Pardon my harshness, but the generated photos look terrible. It is clear just from looking at them that the face has been pasted onto a template with little modification.
194.
▲
by
xigoi
5mo ago
I’m guessing LLM credits to vibe-code it.
195.
▲
by
xigoi
5mo ago
purelymail.com: $10.00* unlimited** storage, unlimited accounts, unlimited domains *or possibly less if you choose pay-per-use pricing **soft limit if you use way too much
196.
▲
by
xigoi
5mo ago
Of course this grammar does not work; you violated the two rules of writing PEGs: • do not use left-recursive rules; • put alternatives in such an order that none can be a prefix of a subsequent one. These may seem limiting, but can always
197.
▲
by
xigoi
5mo ago
What do you mean? When you import a module in Janet, it adds a namespace prefix to all symbols. What more do you want?
198.
▲
by
xigoi
5mo ago
> Perhaps this exists already somewhere? https://janet-lang.org/spork/api/infix.html
199.
▲
by
xigoi
5mo ago
Under what circumstances does PEG not work?
200.
▲
by
xigoi
5mo ago
> PCRE regexes would be a great inclusion to the stdlib Why? Anything that can be done with a regex can also be done with a PEG, and the PEG will be much more readable.
201.
▲
by
xigoi
5mo ago
Not quitek in Scheme, parens and brackets are completely interchangeable.
202.
▲
by
xigoi
5mo ago
I am not talking about operator precedence, that’s a separate thing. Consider the parsing of math expressions, where juxtaposition of terms denotes multiplication unless it can be interpreted as something else. So f(x+2) is function applica
203.
▲
by
xigoi
5mo ago
> The first one is pretty C-specific and for example doesn’t exist in Java. It was just an example, most languages have quirks like this. I don’t know about Java, but in Rust you have the turbofish operator, whose necessity stems from us
204.
▲
by
xigoi
5mo ago
The kind of subtle difference I’m talking about is that in C, you have to put a semicolon after struct {…} and do {…} while (…), but not after other curly brace constructs. What would be the analogue in Janet?
205.
▲
by
xigoi
5mo ago
> Also my main objection to Lisps is still the horrible bracket syntax. Yes it's unambiguous and easy to parse, but it's HORRIBLE to read and edit. I use Parinfer, which allows me to edit Janet as if it was an indentation-based
206.
▲
by
xigoi
5mo ago
What would be a better syntax according to you? I have found Janet’s syntax very pleasant to work with as opposed to JavaScript, Lua or even Python.
207.
▲
by
xigoi
5mo ago
If it was called [Something] Lisp, Lisp enthusiasts would complain that it’s not a lisp because it does not use linked lists as the primary data structure.
208.
▲
by
xigoi
5mo ago
The non-commutavity is a feature, not a bug. It allows you to have clearly defined parsing for grammars that would traditionally be considered ambiguous.
209.
▲
by
xigoi
5mo ago
I have built a markup language with embedded scripting in Janet. I originally tried to use Lua, but found the verbosity extremely frustrating.
210.
▲
by
xigoi
5mo ago
The idea is that instead of having to learn tens of different syntactic constructs with subtle and often arbitrary differences, you just have parentheses and use them to build everything.
More ›