Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bccdee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
751.
▲
by
bccdee
3y ago
Rust does it well, too. For such a crunchy language, there are a surprising number of macros, but my experience using them has always been fantastic.
752.
▲
by
bccdee
3y ago
> By that logic, people should really value my review of the Bible where I excoriate it for encouraging a belief in invisible beings. Many celebrated works of philosophy has been written critiquing religion. Take Nietzsche, for example,
753.
▲
by
bccdee
3y ago
By that logic, the only criticism we can ever make is an accusation of hypocrisy. "Sure, the book says some heinous things, but what did you expect? It's just a heinous author expressing their beliefs." Not to say that it
754.
▲
by
bccdee
3y ago
"A good alternative to a car with seat belts is a car without seat belts that is nevertheless equally safe." There's lots of important information that comments can convey which code itself cannot. In particular, a program&#x
755.
▲
by
bccdee
3y ago
> To conduct, in all sincerity, a study of Shakespeare, today, merely for personal edification, is to take for oneself knowledge, which, it turns out, cannot and will not be taken or absorbed by most people. Even when that knowledge is
756.
▲
by
bccdee
3y ago
Yeah I think people get far too carried away with object ontology. You shouldn't be thinking of program objects as direct analogues for real-world things. At most, they're data which describes a real-world object, and like all dat
757.
▲
by
bccdee
3y ago
`derive` macros would not be possible to imitate with inheritance. `derive(PartialEq)`, for instance, examines all the fields of a struct definition and generates a function which compares them all. Using inheritance, you could inherit from
758.
▲
by
bccdee
3y ago
I just use a load of nested folders in my `Documents` directory. I keep a `_dirinfo.txt` in each one explaining what it contains. If I see something I haven't used in ages and don't expect to need again, I move it to an `old/
759.
▲
by
bccdee
3y ago
Wow, what is up with the material mkdocs theme ( https://squidfunk.github.io/mkdocs-material/ )? That's an extremely spiffy landing page, especially given that it's for a theme designed for a totally separate p
760.
▲
by
bccdee
3y ago
I really don't like Kakoune's model of extensibility. It's one of the reasons I switched back to Vim after using Kakoune as my main editor for several months. The configuration system is esoteric, fiddly, and (as of 4 years a
761.
▲
by
bccdee
3y ago
I once wrote a tampermonkey script to page through discord search results, scrape the contents, and post them to a local http server. I managed to scrape the most of the contents of an entire server this way without any API access. That wou
762.
▲
by
bccdee
3y ago
Hierarchies are better because they form a natural hypertext. I'm in my documents folder. I see a list of all the categories of stuff I have. Whatever I'm looking for, it's in one of them. I go into a folder, and I see all th
763.
▲
by
bccdee
3y ago
I don't think it's fair to equate static site generators with SPAs. At its core, a static site generator just renders markdown and slots it into html templates. That's nice and convenient and still perfectly simple.
764.
▲
by
bccdee
3y ago
I find (1) obvious (if brains exist, huge digital brains must be able to exist), but the real question is whether the arrival of superintelligent AI is an actual risk or not. Alien invasion is also possible, but I'm not terribly wor
765.
▲
by
bccdee
3y ago
Eh, I'm happy with json as being explicitly unicode. Blobs can be base64-encoded. And date parsing invites weird timezone stuff—I'm happy to stick dates in strings and let the programmer handle that. I suppose a good json parser c
766.
▲
by
bccdee
3y ago
It kills me just how close JSON was to getting it right. If JSON had been JSON5 [1] instead, YAML and TOML probably wouldn't exist. [1]: https://json5.org/
767.
▲
by
bccdee
3y ago
No, that's not really accurate. Crime and punishment are part of an important narrative in American conservatism. Making prisoners suffer, especially black prisoners, is viewed as a plus, and that creates a climate where overt cruelty
768.
▲
by
bccdee
3y ago
Wow, that's a whole little rabbit-hole. It's got that distinctly rationalist style of writing where they dedicate loads of words to these grand overly-detailed models and then skim over the places in their argument where they actu
769.
▲
by
bccdee
3y ago
These people somehow passed existentialism by entirely. Nietzsche was just the beginning of a whole wave of thought bent towards grappling with a meaningless world. It's so philosophically impoverished to commit yourself to "ratio
770.
▲
by
bccdee
3y ago
Yeah this is just a transition to a new form of neo-mysticism that they hope will be more satisfying than the last one—i.e. the idle speculation that a science-fictional transhumanist future will arrive any day now. I wish them the best in
771.
▲
by
bccdee
3y ago
No, you're massively anthropomorphizing them. You can't just add a "loop for rationality"—writing is a second-order product of first-order reasoning. If a model trained on that second-order product isn't reproducing
772.
▲
by
bccdee
3y ago
> Brains do this in spades. Sense data you perceive is partly fabricated for the concious self. You must be sprinting to move the goalposts that far that fast. I'm not talking about convenient sensory illusions or details of percept
773.
▲
by
bccdee
3y ago
The article you linked has nothing to do with your claim and neither the article nor your claim have anything to do with my point. The article demonstrates proof of choice-supportive bias, not that people have no recollection of their previ
774.
▲
by
bccdee
3y ago
Some people don't have an inner monologue at all, and reason entirely non-verbally except when they're writing or speaking aloud. https://www.cbc.ca/news/canada/saskatchewan/inner-monologue-...
775.
▲
by
bccdee
3y ago
Not the way LLMs do. Typically, humans are only hypocritical when they're trying to conceal their true values. For example, when someone makes a "states' rights for me but not for thee" argument, they don't actually
776.
▲
by
bccdee
3y ago
Asking the LLM to be more verbose can bring contradictions to the surface and lead to more reliable answers, but it still doesn't fix the underlying problem. Even when you ask it to show its work, it can still contradict itself, blindl
777.
▲
by
bccdee
3y ago
I think this misunderstands the reason why people say LLMs are "just" statistical text predictors and misunderstands LLMs in general. Here's where you're wrong: > The real reason behind this bizarre answer is that it
778.
▲
by
bccdee
3y ago
You've got it exactly backwards. They're not about common sense; they're about chat. LLMs act in insensible ways all the time. They contradict themselves. They hallucinate. If you ask an LLM to follow a simple but long logic
779.
▲
by
bccdee
3y ago
Not really? The server in your example serves the read & the edit components statelessly; the component which the user is viewing exists only on the client.
780.
▲
by
bccdee
3y ago
No, there're error events[1] which can be handled with a little bit of client-side scripting. [1]: https://htmx.org/events/#htmx:timeout
More ›