Hacker Newsnew | past | comments | ask | show | jobs | submit | vsundar's commentslogin

With lsp you don't need tags. You essentially have a lsp server like clangd [0] running in the background for finding references, definitions, code completion etc.

With the latest release 29.1, emacs comes with an in-built lsp client - eglot[1]. So you need to (a) Set up clangd or some other lsp server for c++. Make sure it's accessible from emacs (use something like exec-path-from-shell to get your shell paths into emacs) (b) Set up your project for clangd - this involves generating a compile_commands.json which basically lists the full compilation invocation of each and every file in your project. CMake has options to do that and likely many other build tools or maybe use something like bear[2]. (c) Enable eglot (install the package if needed on older versions of emacs) and configure appropriately.

I also use projectile for project mgmt though emacs now has something in built for that too.

I can post my configs if that helps.

[0] https://clangd.llvm.org/ [1] https://github.com/joaotavora/eglot [2] https://github.com/rizsotto/Bear


This is just unbelievable. wow.


"Bök aspires to create a poem enciphered into DNA that will replicate within an organism until the end of time"

Apart from the bioengineering there is "a pair of mutually-enciphered sonnets, ‘Orpheus’ and ‘Eurydice,’ so that either poem can be translated as the other using a cipher he called ‘ANY-THE’—so, “oh stay / my lyre” in ‘Orpheus’ becomes “in fate / we rely” in Eurydice’s corresponding lament." [1]

I found this just mind blowing.

[1] https://fivebooks.com/best-books/the-deep-future-david-farri...


wow, this is quite interesting. Thanks!


Wow, thanks for that link. That's incredible:

> JBIG2 doesn't have scripting capabilities, but when combined with a vulnerability, it does have the ability to emulate circuits of arbitrary logic gates operating on arbitrary memory. So why not just use that to build your own computer architecture and script that!? That's exactly what this exploit does. Using over 70,000 segment commands defining logical bit operations, they define a small computer architecture with features such as registers and a full 64-bit adder and comparator which they use to search memory and perform arithmetic operations. It's not as fast as Javascript, but it's fundamentally computationally equivalent.


While I do think it is true that people break norms, I'd say a large factor here has been the messaging and leaders behaving like the danger is past.

Leaders like the home minister, Amit Shah [1] and the health minister Harsh Vardhan [2] have been saying that we are in the end stage from Jan. Starting vaccinations is not the end game. We opened up for crowds for a cricket match (57k) [3] and kumbh mela [4] (actively promoted by the state and central govt), where the latter was expecting crowd in millions. (10 lakhs is 1 million). Covid protocol could really not be followed with that crowd [11]. We literally had an Assam minister saying that masks weren't needed earlier this month[6]. And of course election rallies with big crowds [5]. PM Modi was exulting about a huge crowd just a few days ago [12] Amit Shah was actually saying these are not related to the spikes [13]

I'd actually lay the blame on these:

- Inconsistent messaging on safety precautions.

- Vaccine shortage and related slow vaccination drives. India did not give advance orders and stockpile vaccines [8]

- Oxygen shortage. We already know oxygen was needed. The govt didn't follow through and build capacity for oxygen plants. We floated tenders 8 months into the pandemic and didn't follow through [9]

- We did not pay attention to and sequence variants to stay on top of things. [10]

I could go on... we are short various medicines, facilities; state govts of Gujarat, UP, MP, Bihar were actively under reporting by sometimes more than 10x [13]- if you don't acknowledge the problem, you can't fix the problem; not opening up vaccinations to everyone and not letting in vaccines that were already approved outside (both until very recently); not listening to folks who were trying to point these out...

Apologies for the long response. But yea, I'm shocked at how bad things are, and, while I think people can follow rules better, I'd squarely lay the blame for this on the govt.

[1] https://www.ndtv.com/india-news/union-home-minister-amit-sha...

[2] https://www.indiatoday.in/coronavirus-outbreak/story/we-are-...

[3] https://www.thestadiumbusiness.com/2021/03/15/narendra-modi-...

[4] https://www.thequint.com/news/india/massive-crowd-gathers-fo...

[5] https://economictimes.indiatimes.com/news/india/covid-has-a-...

[6] https://www.news18.com/news/buzz/assam-health-minister-himan...

[7] https://www.newindianexpress.com/nation/2020/dec/22/no-masks...

[8] https://www.telegraphindia.com/india/how-we-landed-in-covid-...

[9] https://scroll.in/article/992537/india-is-running-out-of-oxy...

[10] https://scroll.in/latest/990519/coronavirus-less-than-1-samp...

[11] https://economictimes.indiatimes.com/news/india/maha-kumbh-m...

[12] https://www.youtube.com/watch?v=W5jzuE866lo

[13] https://twitter.com/jburnmurdoch/status/1384782949879517185 (may have to go through the twitter link to access ft article)


This looks very useful. Thank you for this.



Headphone users beware


This is awesome. Thanks. I found libmesh which looks very interesting: https://github.com/plasma-umass/Mesh


Apart from books, if you are open to tutorials, videos too, there was a similar thread 2 years ago about write/build your own projects https://news.ycombinator.com/item?id=16591918. That has some already mentioned here but also others (build your own react, sinatra, redux created your own programming language, editor, make a lisp etc). Both threads are now in my fav....hopefully some day.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: