Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sedachv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
sedachv
7y ago
Here is a good example: http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-l... DFAs for regular expressions use exponential memory for regular expression size (also exponential time to compile t
152.
▲
by
sedachv
7y ago
None of these proposals are going to address the main problem: most Emacs modes depend on a lot of regular expressions for syntax highlighting and many other things. Regular expressions are slow; it is a computational complexity problem. Th
153.
▲
by
sedachv
7y ago
> It has to exist on a private network behind a firewall with ports open to application servers and other es nodes only. Have you ever heard of the end-to-end principle, IPv6, or number 4 of the eight fallacies? http://nightha
154.
▲
by
sedachv
7y ago
> How? I in Emacs info-mode. The prompt also has autocompletion.
155.
▲
by
sedachv
7y ago
> I'm pretty sure that really just means that they digitized footage and the analysts did the actual tracking manually but it reads as having good image recognition back in 2006. I do not know the specifics of the software used in t
156.
▲
by
sedachv
7y ago
It is worse than that. First-class continuations add a small overhead for stack operations, and they always have more memory overhead than callbacks/async transformation into callbacks. But the comment I was replying was about Go, not
157.
▲
by
sedachv
7y ago
> Can you give one that reaches this goal? First-class continuations. They are an efficient building block for everything from calling asynchronous I/O routines without turning your code into callback spaghetti, to implementing coro
158.
▲
by
sedachv
7y ago
> this is still explicit/userland asynchronous programming: If anything down the callstack is synchronous, it blocks everything. This requires every components of a program, including every dependency, to be specifically designed fo
159.
▲
by
sedachv
7y ago
I have ordered from Thriftbooks dozens of times. The only two things that happened was one package theft (obviously not their fault, but they re-sent the books for free, no questions asked), and one extra shipment of books I had not ordered
160.
▲
by
sedachv
7y ago
Keyboards generate scan codes, not characters. The character translation is all done in software. How do you think input language selection works?
161.
▲
by
sedachv
7y ago
Smalltalk (among other languages of the 1960s and 1970s) had a left arrow symbol as the assignment operator. 95 was ← instead of _ in ASCII pre-1967. Also, anyone pretending to be a competent computer programmer while whining about being un
162.
▲
by
sedachv
7y ago
Order cancellations here as well, after books have been sent out and returned as undeliverable. Have not ever had that happen with any other shipment to my address, so I suspect they have a recurring issue with label printing. Their custome
163.
▲
by
sedachv
7y ago
BWB is also the only online bookseller that seems incapable of delivering their orders consistently. I have given up trying to order from them.
164.
▲
by
sedachv
7y ago
> When developing in Emacs Lisp, and other Lisp environments (well, Racket, I guess), you’re editing a file meant to run at startup but can evaluate the code on the fly. So, you have control over how the source is textually written and o
165.
▲
by
sedachv
7y ago
I don't understand, what is there to set up? With the Emacs mode I gave as an example, you just open an XML file and everything is there. Any decent text editor will have XML support.
166.
▲
by
sedachv
7y ago
Not only that, the "Common" in Common Lisp is a reference to a standardization of several existing dialects, so a lot of Lisp code from the 1960s and the 1970s will run without any modifications.
167.
▲
by
sedachv
7y ago
> I'll open it in my regular editor, which will provide at most syntax highlight, and edit it as needed with a bit of swearing. That sounds like a very passive-aggressive way to deal with a problem. Do you do the same thing when wri
168.
▲
by
sedachv
7y ago
http://seriot.ch/parsing_json.php https://en.wikipedia.org/wiki/JSON#Data_portability_issues XML has XSD and RELAX NG for more than 15 years now. https://json-schema.org/ is still a dr
169.
▲
by
sedachv
7y ago
Maybe if you are using Notepad. Any decent text editor will provide things like auto indentation, completion, auto end-tags, structured editing, and schema validation. For example, Emacs comes with nXML mode: https://www.gnu.org&
170.
▲
by
sedachv
7y ago
Very cool!
171.
▲
by
sedachv
7y ago
SGML being replaced by XML being replaced by JSON is great proof that the idea of progress in tech is at best a myth and at worst a lie.
172.
▲
by
sedachv
7y ago
> At this point if you are not interacting with 20 year old java software, that was created when JSON didn't exist and XML was king, you should be using TOML for simple config, JSON for most things and heavyweight XML, protobuf or c
173.
▲
by
sedachv
7y ago
> YAML and TOML were optimized for human reading and writing, like markdown. That was the rationalization, in reality I don't know what actual writing use case they were optimized for (Notepad?). XML in a syntax-aware editor with th
174.
▲
by
sedachv
7y ago
S-expressions have been around since the 1960s. McCarthy was already proposing S-expressions for what XML would become, in 1975. Stop whining and finding excuses, and start using s-expressions. http://www-formal.stanford.edu/
175.
▲
by
sedachv
7y ago
> XML schemas give you a ready-to-use format to describe, restrict and document available configuration settings. As someone that likes and uses s-expressions, I never thought I would find myself defending XML, but here we are in 2019, n
176.
▲
by
sedachv
7y ago
Compare that to SGML: https://leancrew.com/all-this/2014/09/sgml-nostalgia/ SGML really needs a revival.
177.
▲
by
sedachv
7y ago
Hagen's _IPv6 Essentials_ covers the basics, Coffeen's _IPv6 Address Planning_ shows the amazing things you can do with IPv6.
178.
▲
by
sedachv
7y ago
> But that means you have to upload raw source code. And what is wrong with that? JavaScript source-code-only is by orders of magnitude the most popular and successful software distribution method.
179.
▲
by
sedachv
7y ago
> No matter how many people sing the praises of isolation and security to Docker, I will continue to suspect that almost all of its adopters use it because packaging software with dependencies is hard, poorly understood, terribly tooled
180.
▲
by
sedachv
7y ago
> And, I get the irony. It's basically cgi-bin 2.0. More like "fancy inetd."
More ›