News for hackers. Stuff that matters.

cjohansson

Re:Emacs 29.1 Released on Sunday July 30, 2023 @07:46AM (#36930190)
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

Re:The Philosophy of Computer Science on Monday February 20, 2023 @03:43PM (#34872653)
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
Re:GPT for Second Brains on Tuesday February 07, 2023 @01:03AM (#34689300)
Yes but humans are required (as runners or drivers) to make it interesting to watch. Humans are human-centered by nature (of course)
Re:72-year-old Congressman pursues a Master's in AI on Thursday December 29, 2022 @03:57AM (#34170830)
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
Re:Emacs: Feature/tree-sitter merged into master on Wednesday November 23, 2022 @03:29PM (#33724122)
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
Re:The German School of Lisp (2011) on Saturday November 12, 2022 @03:50PM (#33576907)
Is there a Lisp that supports references and pointers, perhaps pointer aritmethics too?
Re:iPhones and action discoverability on Saturday September 24, 2022 @03:30PM (#32965827)
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
Re:Linux on the laptop works so damn well that it’s boring on Saturday September 24, 2022 @03:21PM (#32965756)
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
Re:An Intuition for Lisp Syntax (2020) on Sunday August 28, 2022 @05:55PM (#32632468)
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
Re:Advice for the next dozen Rust GUIs on Saturday July 16, 2022 @02:57AM (#32115827)
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
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
Even if you eat healthy food you still need willpower to prevent yourself from eating too much. But it's a easier problem
Very good points, I'm saving that text in my library
Re:Show HN: A Full-Stack Web Framework for Go on Saturday May 14, 2022 @03:16AM (#31375768)
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?
Re:Using LSP in Emacs and Debian on Thursday April 28, 2022 @03:39PM (#31197240)
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
Re:GNU Nano 6.3 on Thursday April 28, 2022 @03:26PM (#31197075)
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
Re:The case for LineageOS and the PinePhone on Tuesday April 19, 2022 @01:40AM (#31080019)
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
Re:Difftastic: A diff that understands syntax on Tuesday March 29, 2022 @08:21AM (#30841562)
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)
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
Re:Simple.css – A classless CSS framework on Saturday January 15, 2022 @03:14AM (#29944733)
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
Do you have a peer reviewed study to support your opinion about Hacker News comments?
Re:My negative views on Rust on Thursday December 23, 2021 @02:58AM (#29659676)
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
Re:Show HN: Emoji to Scale on Friday December 03, 2021 @01:03AM (#29427105)
Well it says "to scale" not "to realistic scale" so it could be a made-up scale
Re:Ask HN: Has Google search become quantitatively worse? on Tuesday November 30, 2021 @04:18PM (#29397586)
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
Re:Self-parking Car in 500 Lines of Code on Saturday October 09, 2021 @03:45PM (#28812634)
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
Re:Self-parking Car in 500 Lines of Code on Saturday October 09, 2021 @03:42PM (#28812613)
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
Re:The Emacs-28 release branch has been created on Thursday October 07, 2021 @05:35PM (#28792406)
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
Re:Is this the simplest (and most surprising) sorting algorithm? on Wednesday October 06, 2021 @01:04AM (#28769399)
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
Ok so this why the Librem Phone has physical kill switches

Older »