Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
G3rn0ti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
The Macintosh Portable was the Framework of its day
(youtube.com)
1 points
by
G3rn0ti
3y ago
|
0 comments
92.
▲
by
G3rn0ti
3y ago
Sounds like you should commit more often inside you topic branches. In case you are talking about merge conflicts: That's the nature of distributed development other people might trump on places you are currently working on. I guess th
93.
▲
by
G3rn0ti
3y ago
GIT is a tool. Like a swiss army knife, it looks tricky and you need some experience to master all what it provides. But you never actually need everything and, surely, you should also shy away from features if you do not really need them.
94.
▲
by
G3rn0ti
3y ago
Flattening tyres on other people’s cars could cause fatal road accidents. Consider these leaflets could get lost and the driver not realizing their tyre is flat (especially if it’s one on the back) when driving off. If you are an „activist“
95.
▲
by
G3rn0ti
3y ago
Try playing Lightning Force aka Thunder Force IV — it’s famous for its heavy metal soundtrack. In Higan it does not work, in Genecyst the sound is crappy (on older emulators on Windows I also were out of luck). In MAME it runs just fine w&#
96.
▲
by
G3rn0ti
3y ago
It also emulate home consoles. It’s got the best Sega Genesis emulator to my knowledge. Usually, emulators have issues with its sound hardware. But not MAME.
97.
▲
by
G3rn0ti
3y ago
Yes, but Spectre was easily fixed by limiting the accuracy of the Browsers’ window.Performance interface AFIR. Meltdown on the other hand required a Kernel patch and a general performance penalty. I also have all meltdown mitigations turned
98.
▲
by
G3rn0ti
3y ago
No. Nobody wanted Pentiums from the mid nineties by the end of the decade. Clock frequencies were racing to jump over the 1 GHz barrier. We produced a lot of electronics trash in the 90s. You bought a computer and two years later you had to
99.
▲
by
G3rn0ti
3y ago
In Germany about 20 years ago people were still doing dial-up using a broadband (DSL) modem. The provider wouldn't give you a routing device but only a bare-bones giant modem. When still living with my parents I remember rolling off an
100.
▲
by
G3rn0ti
3y ago
> [1] http://www.fli4l.de I remember using it (or rather a predecessor of that I believe) to turn a Pentium-II class PC without hard drive into a fully functioning router to share my broad band internet connection with a neig
101.
▲
by
G3rn0ti
3y ago
German here and a Berlin "native". In Germany, it is common knowledge that Berlin bureaucracy sucks even more so than on average. Part of it has to do with (Western) Berlin's history of being an island receiving a lot of subs
102.
▲
by
G3rn0ti
3y ago
I tried that but unsuccessfully. Did not get an error but also no grammar for Typescript or C/C++. Perhaps mileage varies with the language. Edit: I can confirm it works nicely for "javascript". Cool!
103.
▲
by
G3rn0ti
3y ago
> You would only get the top half of your code highlighted because a compiler Your comment implies a language server taps into the language's compiler/interpreter. That is a popular misconception. Almost all LSP severs don'
104.
▲
by
G3rn0ti
3y ago
I was lazy. I installed Emacs from Alex Murray's snap: sudo snap install emacs It works w/o problems as it is using snapcraft's "classic" runtime. It comes with both native compilation and tresitter support.
105.
▲
by
G3rn0ti
3y ago
BTW: While Emacs 29.1 comes with "treesitter" built-in, you still need to manually build and install any treesitter language plugin implementing the actual language specific parser. This can be fiddly and frustrating doing it your
106.
▲
by
G3rn0ti
3y ago
Yeah, sorry, I was hastily looking for a tutorial. But I got "c++-ts-mode" working for me now, see my other comment below: https://news.ycombinator.com/item?id=37466899 I am still not a competent C++ programmer bu
107.
▲
by
G3rn0ti
3y ago
Sorry, was AFK over the weekend. > Minor modes enabled in this buffer: Font-Lock Tree-Sitter-Hl Tree-Sitter > The major mode is TypeScript mode defined in typescript-mode.el: > Major mode for editing typescript. This actually indic
108.
▲
by
G3rn0ti
3y ago
> How do I transition from etags to treesitter? … to LSP: You don’t throw your tags away. If you run an LSP client it will add an “xref-backend” transparently, so Emacs will get all references and definitions from the LSP server. If you
109.
▲
by
G3rn0ti
3y ago
What I also love is the built-in „compilation mode“. I‘ve bound „C-c l“ to „compile“ and „C-c r“ to „recompile“. We have different tests in different directories so I‘ve sprinkled a couple of “.dir-locals.el” in all the relevant places popu
110.
▲
by
G3rn0ti
3y ago
I am programming SQL exploratorily in org mode. It renders server responses using org mode’s built-in spreadsheet engine. At the end of the day I mark the better queries for „tangling“ to create the schema changeset for me. In find that qui
111.
▲
by
G3rn0ti
3y ago
> LSP is arbitrary language-specific processes doing full-project parsing and analysis and introspection No. LSP is a way of separating the job of parsing and static analysis of a source file from the editor and doing it out of process.
112.
▲
by
G3rn0ti
3y ago
> Not only with autocompletion delay to 0.0, but also setting the > minimum prefix to 1, so that it activates on every keystroke; > the default is 3. There, from my config: (use-package company :after lsp-mode :hook (ls
113.
▲
by
G3rn0ti
3y ago
Well, Emacs has indeed a problem with blocking because it is single-threaded. To resolve that issue internally it also maintains an event loop being used to drive async. functions calls. But not all extensions leverage that yet. But I doubt
114.
▲
by
G3rn0ti
3y ago
> instantaneous fuzzy autocompletion on every keystroke- the GUI would lock up every time autocompletion is engaged, I am using lsp-mode enhanced autocompletion (using company.el) and I have never observed such a problem. I set the autco
115.
▲
by
G3rn0ti
3y ago
> when I re-indent some code in a file of Typescript What typescript mode are you using? Emacs 29.1 comes with "typescript-ts-mode" providing parser based syntax highlighting and navigation. Traditionally, re-indentation is imp
116.
▲
by
G3rn0ti
3y ago
I am not a Rust dev. It surely looks great. However, from what I understand it seems to supply just a parser separate from the Rust compiler ( https://github.com/rust-lang/rust-analyzer/tree/master/crate..
117.
▲
by
G3rn0ti
3y ago
Most LSP server implementations I've seen are just parsing the source or even stop at just tokenizing it. They don't do anything magical inside the source language (unless a language exposes parsing/compiler internals e.g. li
118.
▲
by
G3rn0ti
3y ago
Could FAT be actually better than NTFS in this regard?
119.
▲
by
G3rn0ti
3y ago
> Also I feel like performance could be improved a lot Would you mind to share your setup? I am using „lsp-mode.el“ on a Perl project with >100k LOC (including huge single modules) and never had a problem. I am using cperl-mode togeth
120.
▲
by
G3rn0ti
3y ago
But a tree sitter mode could parse the related files in the background. That’s exactly what an LSP server does, too.
More ›