Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
G3rn0ti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
G3rn0ti
4y ago
Well, the heavy lifting is usually done by the Perl backend. So you cannot directly compare the performance between Perl and JS/TS services in this case. From my web dev experience so far I believe the language's execution environ
242.
▲
by
G3rn0ti
4y ago
Everything basically: Generating HTML, serving AJAX requests, communicating with other services, processing files, running DB queries etc etc. It even has a (questionable) feature embedding LuaScript using Lua::Inline and, hence, allows our
243.
▲
by
G3rn0ti
4y ago
> I find bash to be much more readable Lol, you find bash readable? With all its weird ad-hoc constructs? I don’t pretend Perl looks pretty but at least its constructs seem to be consciously designed and do not look bolted on. At my wor
244.
▲
by
G3rn0ti
4y ago
It's grand child, Raku, also seems to be an impressive language actually. Hated by Perlers and non-Perlers alike, it actually would be a great environment to build powerful programs in: https://www.oreilly.com/library&#
245.
▲
Multithreaded processing of a list: Rust vs. Raku
(raku-advent.blog)
1 points
by
G3rn0ti
4y ago
|
0 comments
246.
▲
by
G3rn0ti
4y ago
Raku fka Perl 6.
247.
▲
by
G3rn0ti
4y ago
Yes, language servers provide that feature, too, and all language server clients replace „xref“ with their own implementation. „lsp-mode“ even provide some gui extensions to Emacs so it can display a hover window when there are several poss
248.
▲
by
G3rn0ti
4y ago
It sounds a bit like you want „perspective.el“ (1). It allows you to define „virtual workspaces“ of buffers with individual window layouts. On each virtual desktop the standard buffer list is replaced with a shorter showing only buffers bel
249.
▲
by
G3rn0ti
4y ago
If you think lsp-mode is too slow you can simulate „jump to definition“ using old-school „xref“ and „etags“ that comes with your Emacs. It creates a reverse index for you. Then you can put that in your git repo and add it to your .gitignore
250.
▲
by
G3rn0ti
4y ago
> and inserting custom snippets for things like System.out.println and public static void main YASnippet!
251.
▲
by
G3rn0ti
4y ago
Here is the tree-sitter grammar of Elisp: https://github.com/Wilfred/tree-sitter-elisp/blob/main/gramm... (approx. 200 lines) and here is the grammar of JavaScript: https://github.com/tre
252.
▲
by
G3rn0ti
4y ago
> My favorite part about this is that you deliberately explain _none_ of it Have you ever tried to explain what a bank account is to a person who’s never used money? Alternatively, had you tried to explain what the World Wide Web is supp
253.
▲
by
G3rn0ti
4y ago
> -This- is what people mean when they say such a system cant work in practice Not sure what you are talking about. First of all I did not argue whether smart contracts have benefits (the thread was about L2 chains in the ETH context and
254.
▲
by
G3rn0ti
4y ago
Well, the details are more convoluted than two sentences on a public forum can convey. If you are seriously interested in how digital money works, I suggest you to read „Mastering Bitcoin“ which I found quite accessible even without a stron
255.
▲
by
G3rn0ti
4y ago
Don’t think in terms of a „web app“. Instead, consider this: A block chain is basically just a distributed append-only database. Actually quite similar to how GIT works but with stronger security guarantees.
256.
▲
by
G3rn0ti
4y ago
The total gas cost of a smart contract is determined by its running time that is the number of operations a smart contract needs to execute. So a large contract may actually be cheap to run if it never executes most of its code base.
257.
▲
by
G3rn0ti
4y ago
> I like the multiprocess approach with standard protocols, despite its complexities, because it lets different editors share smarts. Yes, the benefit LSP brings is putting editors/IDEs on equal footing with respect to a specific la
258.
▲
by
G3rn0ti
4y ago
> It’s often used for navigation, ala goto-definition Yes, that’s LSP‘s primary use case, either to jump to a definition or show inline documentation from around the definition as well as for autocompletion based on symbols in the execut
259.
▲
by
G3rn0ti
4y ago
> These tools' relative importance has declined over the last 15 years. I would say to the contrary. There has been a flurry of new development on Emacs in the recent years initiated by a new generation of developers. New (and simpl
260.
▲
by
G3rn0ti
4y ago
* citation needed
261.
▲
by
G3rn0ti
4y ago
“men who are overweight tend to have reduced sperm concentration, lower total sperm count, and fewer motile sperm. … The fact that the sperm count decline is also occurring in countries in South and Central America, Africa, and Asia, accord
262.
▲
by
G3rn0ti
4y ago
Eglot does not have as many dependencies as lsp-mode and was designed to work closer with Emacs built-ins. Lsp-mode comes with many non-standard gui extensions — with some of them being quite cool, honestly — but they make the setup more co
263.
▲
by
G3rn0ti
4y ago
Maybe you just haven’t found a killer feature for you yet that blew you away. Personally, I also can’t give you THE one use case that sold me on Emacs. It’s more the integration of a diverse set of tools together with its robustness that re
264.
▲
by
G3rn0ti
4y ago
If you restrict yourself to older office versions like e.g. 2013, they should be working fine with vanilla wine. At least I remember running Word seamlessly on my gnome desktop. I even created a „desktop“ file so I could double click on wor
265.
▲
by
G3rn0ti
4y ago
> In German(y), you are considered to be a fluent speaker when you are able to speak the language on quite a high level That reminds of an old joke: The ultimate test of your German skills is listening to „Jan Delay“ and understand a wor
266.
▲
by
G3rn0ti
4y ago
As soon as you pushed your branch to remote (which I tend to do for backup reasons especially after working hard on a solution) rebase only means trouble.
267.
▲
by
G3rn0ti
4y ago
If you regularly need to review 10000 lines of code per PR your dev workflow is seriously broken. It‘s got nothing to do with git and its implementation‘s complexity. Sometimes features do require large changes. But usually you can break a
268.
▲
by
G3rn0ti
4y ago
The way to get „git“ is to think about version management as a concept i.e. starting top down. It’s the implementation details of git that many developers get confused about. But they don’t matter. It’s similar to recursions: You don’t try
269.
▲
by
G3rn0ti
4y ago
I don’t get why everybody wants to rebase their topic branches. Just use merge, come on. If you want a „clean“ commit history on main/master do a squashed merge into main at the end. This way we never had to force anything on the remot
270.
▲
by
G3rn0ti
4y ago
On Windows and Macs Docker uses VMs ... I think the DEV community really needs a new definition of "containers" and one that is not backed by implementation details of Docker Linux.
More ›