Better HN
topnewbestaskshowjobs
Log inSign up

cjohansson

198 karma · joined Jul 19, 2018 (8y ago) · 218 submissions

Submissions

comment 3y ago · link · parent

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

2.

Spotify Dropped Support for Linux(community.spotify.com ↗)

11 points · by cjohansson · 3y ago · 1 comment

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Yes but humans are required (as runners or drivers) to make it interesting to watch. Humans are human-centered by nature (of course)

comment 3y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Is there a Lisp that supports references and pointers, perhaps pointer aritmethics too?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Even if you eat healthy food you still need willpower to prevent yourself from eating too much. But it's a easier problem

comment 4y ago · link · parent

Very good points, I'm saving that text in my library

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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)

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Do you have a peer reviewed study to support your opinion about Hacker News comments?

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Well it says "to scale" not "to realistic scale" so it could be a made-up scale

comment 4y ago · link · parent

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

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Ok so this why the Librem Phone has physical kill switches
12345
8