HNHacker News
TopNewBestAskShowJobs

cjohansson

198 karma · joined July 19, 2018

submissionscomments
cjohansson··on Emacs 29.1
GNU Emacs is now dependent on TreeSitter which is a MIT-licensed project and LSP which is a Microsoft project. Also built-in support for non-gnu packages to install. Soon it will be a non-gnu project entirely. I think it's a bit sad that the ideological basis is beginning to be abandoned but I think there is not enough believers in the ideology anymore.

I would say most modern editors (Helix, Neovim) do TreeSitter and LSP better than Emacs today and probably for many years to come

cjohansson··on The Philosophy of Computer Science
Google Translate got a lot worse after the AI version was introduced, maybe not for english-centric translations but all other. The previous deductive translator was be much better. Same with Siri and Google Assistant, they are really bad at other languages except English
cjohansson··on I used GPT to build a search tool for my second brain note-taking system
Yes but humans are required (as runners or drivers) to make it interesting to watch. Humans are human-centered by nature (of course)
cjohansson··on 72-year-old Congressman pursues a Master's in AI
This is not true, it varies by personality, some personalities have high neuropasticity even when they get older. It depends on individual differences in the dopaminergic system
cjohansson··on Emacs: Feature/tree-sitter merged into master
tree-sitter is a bit better than regexp but it is not an actual parser of grammars, a fast actual parser of all languages for syntax coloring is the future I think, tree-sitter is a pragmatic middle-ground while we wait for the prime solution
cjohansson··on The German School of Lisp (2011)
Is there a Lisp that supports references and pointers, perhaps pointer aritmethics too?
cjohansson··on iPhones and action discoverability
I would say most people don't know 90% of how to use the iOS interface but ppl are in general not interested in learning it and wouldn't read a manual if the box included one or even watch videos of it. People just what Apple to read their minds, to get their stuff done in as little effort as possible and people are willing to pay a lot of money for that experience
cjohansson··on Linux on the laptop works so damn well that it’s boring
I will never buy a Apple laptop again because Apple stops supporting it after a while and you can't install new version of the OS on it and new software. This is a deal breaker for me, completely a waste of perfectly fine hardware. Installing Ununtu on it solved all problems fortunately. Same thing with Apple AirPort TimeCapsule, such a waste to buy it when Apple stops supporting it after a couple of years. You might as well buy products from Apple and get the delivered directly to the garbage dump
cjohansson··on An Intuition for Lisp Syntax (2020)
Lisp is inspiring at first glance, but when you need to solve complex problems like references, pointers, macros, byte-compilation and native compilation it just is not expressive enough like C, C++, or Rust. Neither is Javascript. Lisp could not replace all other languages
cjohansson··on Advice for the next dozen Rust GUIs
Thank you for the context, this also explains why most UIs gets broken / stuck at times. Like spinners that never stops or buttons that stay disabled even though they should be enabled. Those kinds of issues happens every day even in Apple, Google and Meta products (a lot of economical power) so there must be a deeper structural cause for this and I think it boils down to that the UI frameworks used are inherently fragile and has built-in edge case issues because of this
cjohansson··on Open source body quits GitHub, urges you to do the same
I think that Copilot is independent of license since it auguments/manipulates the source but the idea of Copilot is independent of GitHub and that idea needs to be explored
cjohansson··on The brain has a ‘low-power mode’ that blunts our senses
Even if you eat healthy food you still need willpower to prevent yourself from eating too much. But it's a easier problem
cjohansson··on The brain has a ‘low-power mode’ that blunts our senses
Very good points, I'm saving that text in my library
cjohansson··on Show HN: A Full-Stack Web Framework for Go
I'm experimenting with something similar as well, I'm curious - how do you solve HTTPS support since it's a built-in web-server?
cjohansson··on Using LSP in Emacs and Debian
Ideally all language-servers should be integrated, managing LSP-servers if you work with a lot of different languages at different versions takes more time than it is worth, regardless of the editor/IDE
cjohansson··on GNU Nano 6.3
Nano is great, when I did not know how to use vi, vim or emacs I used nano. Nowdays for quick edits in terminal on unexplored servers I use vi. emacs and vim are not always installed
cjohansson··on The case for LineageOS and the PinePhone
Very good points, we have access to very powerful hardware in modern-day smartphones but the software is seriously limiting what can be done with it. My Nokia E71 from 10 years ago had a lot of nice features that I don't have in my iPhone á 2022
cjohansson··on Difftastic: A diff that understands syntax
If you have consistent code style and formatting this tool is unnecessary. I think that solution is better, you get a more consistent code base that is easier to read for humans. (Also diffs will be faster to compute)
cjohansson··on When an M1 Mac mini is faster than an M1 Pro: contention and core allocation
I upgraded my 2012 MacBook Air to Ubuntu Linux and it increased it's performance and stability by at least 3 times. Just want to throw that out here - if you consider buying a M1 Apple when you have a Intel Apple, instead consider upgrading to Linux, it's better for the environment as well to avoid producing new stuff when the old one is perfectly usable with a more proper OS
cjohansson··on Simple.css – A classless CSS framework
Thanks for doing this, it's a great response to the current trend in providing endless of css and js just to display basic sites
cjohansson··on Study finds no detrimental effects of psilocybin in 10mg or 25mg dose
Do you have a peer reviewed study to support your opinion about Hacker News comments?
cjohansson··on My negative views on Rust
I think the "Negative" part is really what made the article get to the front page. Rust is popular so anything negative about it causes salience
cjohansson··on Show HN: Emoji to Scale
Well it says "to scale" not "to realistic scale" so it could be a made-up scale
cjohansson··on Ask HN: Has Google search become quantitatively worse?
Yes Google is following Facebook and YouTube business model of building echo chambers. You only get stuff that confirm your opinion so it's useless if you want the truth about any particular topic. DDG is better but it has problems too
cjohansson··on Self-parking Car in 500 Lines of Code
I think what is usually meant is one expression or statement per line. Any editor get problems when you have lines that are a few MBs each
cjohansson··on Self-parking Car in 500 Lines of Code
Maybe you need to wait 9183718 generations before it suceeds? Like I do a random code generator in 10 lines and say it can solve any problem in the world if you wait long enough
cjohansson··on The Emacs-28 release branch has been created
Emacs is a perfect GNU propagator. To be able to use its full power you need an entire ecosystem of GNU tools. For that reason you can only get its full power by abandoning your Windows or Apple OS and converting to GNU/Linux and if you use Emacs you will do that sooner or later
cjohansson··on Is this the simplest (and most surprising) sorting algorithm?
Is it really? Building the hash can be made in linear time but iterating the values in order, especially when there might be gaps in the interval? Could be messy
cjohansson··on Always-on Processor magic: How Find My works while iPhone is powered off
Ok so this why the Librem Phone has physical kill switches
cjohansson··on Art or heist? A Danish artist took $84k and sent a museum 2 blank canvases
Great idea. When I'm finished with my AI that produces AIs to make money I will do the same
Page 1 of 8Next →