Hacker News new | past | comments | ask | show | jobs | submit | struanr's favorites login

Some tips:

- The mu4e-alert package allows you to receive alerts with libnotify/growl/etc

- The org-msg package allows you to write your emails in org-mode and render them in both text and HTML

- message-view-patch is very helpful if you are dealing with patches over email (which I started doing as I started using https://sr.ht instead of Github)

- The mu4e-view-actions variable lets you implement quick actions for messages. One of my favourites is mu4e-action-git-apply-patch!

- The mu4e-contexts variable can be used to segment your config for different email accounts

- Mu4e has fantastic support for GPG signing and encryption. I use it way more now that I have it.

- mu4e-icalendar allows you to accept calendar invites and for them to be imported into Emacs as a calendar invite

- I prefer to read plaintext emails over HTML. You can discourage HTML and richtext mimetypes with the mm-discouraged-alternatives variable


I'd argue that you could write only for yourself for your entire life and still have a successful blog.

While everything you say may be true, this shows a fundamental misunderstanding about how the modern stock market functions. How much value a company creates is at best tangential and often completely orthogonal to how much the stock is worth. The stock market has always been a Keynesian beauty contest, but in the past few decades, strongly shaped and morphed by attention economies. A good example of this is DJT, a company which functionally doesn't do much anything, but in the last year has traded at wildly differing prices. P/E, EBITDA, etc, are all useless metrics in trying to explain this phenomenon.

In other words, NVIDIA is in the red not because the company is suddenly doing worse, but because traders think other traders think it will trade down. That is a self fulfilling prophecy, but only so long as there is sufficient attention to drive that. The same works the other way around as well, so long as there is sufficient attention to drive the AI hype train upwards, related stocks will do well as well.


This rings true to my ears:

> There is no technical moat in this field, and so OpenAI is the epicenter of an investment bubble. Thus, effectively, OpenAI is to this decade’s generative-AI revolution what Netscape was to the 1990s’ internet revolution. The revolution is real, but it’s ultimately going to be a commodity technology layer, not the foundation of a defensible proprietary moat. In 1995 investors mistakenly thought investing in Netscape was a way to bet on the future of the open internet and the World Wide Web in particular.

OpenAI has a short-ish window of opportunity to figure out how to build a moat.

"Trying to spend more" is not a moat, because the largest US and Chinese tech companies can always outspend OpenAI.

The clock is ticking.


Someone is actively working on user services, but it's not merged yet: https://github.com/OpenRC/openrc/pull/723

I don't see that contuer-intuitive at all. If you have a barrier in your cost function in 1d model you have to cross over it no matter what. In 2d it could be only a mount that you can go around. More dimensions mean more ways to go around.

Reminds me of this old website I used to stare at for long periods, found it very relaxing: "Listen to Wikipedia" http://listen.hatnote.com/

I got strong "The Nine Billion Names of God" vibes from this!

Just as the last video is uploaded, without any fuss, the stars start going out...

https://urbigenous.net/library/nine_billion_names_of_god.htm...


It's the economy, stupid:

-Inflation is not prices; it is the rate of change in prices. Low inflation doesn't imply low prices. -Aggregate statistics don't necessarily explain individual outcomes.

The Dems failed on this count massively, and have, for maybe the last 40 years, which is about the amount of time it took for my state to go from national bellwether (As goes Ohio, so goes the nation) to a reliably red state. This cost one of the most pro-union Senators (Sherrod Brown) his job.


Keep track of all TODOs in one's life. You can create TODO items and schedule them. You tag them (similar to hashtags) too. Now, if I want to see the list to things to be done today (or any day for that matter), Org Mode will generate the agenda for you. You can filter your agenda/TODOs - for example, if you are getting into a call with Team X, you can filter with "teamx" to get the list of items marked against the team. You can of course add checklists under tasks (sub items), and notes too. Recurring schedule is supported.

Keeping notes. Org Mode doubles up as an Outliner. You can keep hierarchical notes in a single large file. You can mix-in tables (with support for LISP formulae) for tabular data. You can embed images and LaTeX too. You can convert your notes to HTML or Markdown in a jiffy. There are shortcuts for instant note taking. You can archive sections that are no longer required.

I have stopped using mindmaps and now rather rely on Org. It can handle tree-structured information very well.

As a calendar. You can also add diary-remind reminders. Remember one's wedding anniversary (and Spouse's birthday) to save one's marriage.

As with everything in Emacs, configurable and extensible (with ELisp). Almost every method and every variable is Global. This is of course crazy, but the power that this proffers is enormous.

I learn something new about Org Mode every now and then. I do not consider myself as a power user, as I am sure there is still much left to be explored.

https://www.gnu.org/software/emacs/refcards/pdf/orgcard.pdf


I switch between Sublime and Zed all day depending on what task I'm doing, some things it's still not quite as good at as Sublime. The Ruff integration is excellent though, and the good news there is that apparently they're working on a type checker for Ruff's language server.

Counterpoint: What progress has generative linguistics made in the same amount of time that deep learning has been around? It sure doesn't seem to be working well.

Also, the racecar example is because of tokenization in LLMs - they don't actually see the raw letters of the text they read. It would be like me asking you to read this sentence in your head and then tell me which syllable would have the lowest pitch when spoken aloud. Maybe you could do it, but it would take effort because it doesn't align with the way you're interpreting the input.


My approach these days is to follow a meditation mantra:

1. Slow down - the moment I'm aware my mind is no longer quiet and alert because of some trigger (internal or external)

2. Stop suffering - I do a quick body scan for the associated sensations along the body, tell myself this is just a temporary mood change, it will go away the same way it made its way into my body and mind

3. Take a deep breadth - I focus on my breadth for a few seconds and relax

4. Let it go - I know I should not blindly believe any thoughts or feelings that take over my mind and try to get back to a relaxed state of mind

I do this all the time not just during a few minutes of formal pratice. Its so ingrained in my way of being that some people close to me say my personality drastically changed.

But there's still a long way to go.


Maia does this reasonably well! You can play against it on Lichess. I have gotten a few "feels like a human" moments when playing against it - for example, getting it to fall into a trap that could trick a human but would easily be seen by a traditional search algorithm. It's not adjustable but there are a few different versions with different ratings (although it's not a very wide range).

https://www.maiachess.com/

https://lichess.org/@/maia1


Totally! The magic of using your print menu word doc as the website is its so little work to keep the site updated. No one really cares that a family restaurant in a Toronto suburb has a visually stunning website. You just want to see the menu, hours, address and phone number. It's always going to be updated, exactly the same content as the print menu that you actually pay from, and they already knew how to make things look legible in word.

It's actually even more charming than any solution we ended up providing because this particular restaurant (sadly closed now) was run by a 60-70ish year old man, who's cropped portrait photo was their logo, `float:left` in the header of their index.html exported from Word. I don't think you can buy authenticity like that.

I of course thought that was hilarious because I was 19, an idiot, with my first tech job thinking I'm such a professional cranking out CodeIgniter-based contact forms and static About Us pages.

Looking back, I'm pretty sure we did them dirty. Whatever solution we sold them on (IIRC, they got a wordpress site with a custom theme) was probably less useful. Which sucks.


Anybody interested in efficient list (and other data structures, but mostly lists) implementation will probably find the VList approach interesting (relevant paper archived at https://trout.me.uk/lisp/vlist.pdf)

Software is a house. The more you lean into the analogy, the better.

I often tell clients "The first thing you asked me to do was to move a dining room chair into the living room. Then you asked me to do the same with the toilet. The latter only works if we tear out all the plumbing."

Non-coders seem to understand these analogies intuitively.


These days when I collaborate with other developers, we do it all in a git repo that is simply hosted on a VM everyone has ssh access to.

Project management is done in a plan/ directory which has task entries like

    1000-add_logout_button.txt
Where 1000 is the priority.

There is also a directory plan/done/ where tasks go that have been completed. In the plan/done/ directory, the priority gets replaced by the completion date, so it looks like this:

    2024-09-04-add_logout_button.txt
This has a bunch of nice consequences. Some of them are:

Task management does not need any software or logins.

Task management can be done directly in Vim by simply looking into and editing the plan/ directory.

Task history is nicely versioned by git automatically.

All the tooling that comes with bash and git can be used on the plan/ dir. Like finding all tasks that contain the term "rounded corners" in the description is just

    grep -r 'rounded corners' plan/

My bad - I meant to write "Mojo may be the biggest programming language advance in decades" but forgot to write "language". I've updated the title now. (Although it doesn't update the HN title unfortunately.)

Familiarity changes rapidly in the world of software development. But I do agree about discoverability.

However, I think the issue is rather that we need to find new discoverability systems that work for multiple dispatch rather than limit our languages to single dispatch because we can't come up with better ways to achieve discoverability.

Maybe (a,b)f would be better syntax.. or we could start writing backwards ;) but now we're getting into seriously unfamiliar territory.

Multiple dispatch might actually be superior for discoverability when we get this right because you can filter the method list based on all arguments rather than just the first one.


Nice thing about Julia is that you randomly find cool projects like this.

Magit should be the subject of a book about progressive derivative UX enhancement, and even passive pedagogy. Often tarsius and the team managed to make you curious and try ideas, like selecting a range of lines and hope staging would only stage it and not the whole diff range. You don't even make an effort cause it's one key down and one key to undo on case it's not what you expect. It's cozy to the point of brilliance.

I find that both are equally (un)readable. However, for expressions that are that long, I'm inclined to write:

    (setv result (-> (+ 1 3 88) 
                     (/ 2) 
                     (- 8)))

Just ordered the true Gang of Four:

* The C Programming Language

* The UNIX Programming Environment

* The Practice of Programming

* The Elements of Programming Style

I've read the C book before and also remember the writing to be excellent. I'm sure I'll pick up lots of programming wisdom but I'm also approaching this as a technical writer, figuring out what exactly makes Kernighan's books so good. I have a hunch that Kernighan has studied writing a lot, or has at least done a lot of "first principles thinking" about writing. The title "The Elements of Programming Style" for example is a reference to one of the most famous books about writing style, "The Elements of Style" by Strunk and White (which everyone should read once; it literally fits easily into your back pocket).


C-h a (apropos-command) makes finding things with unexpected names a lot easier. I relied on C-h f (describe-function) for years, but that only matches function names. Apropos searches doc strings as well.

> You’re already unemployed if you focus on history or literature but we still learn it.

Most people are still employed if they focus on history or literature. They just might not be making a lot of money or working in history or literature, though some do. Plenty of people in highly "employable" degrees also find themselves unemployed for a long time once they graduate.

The reality is that getting a college degree, regardless of the major, increases your chances of employment afterwards and potential lifelong earnings enormously over only a HS degree.

But as you implied, most of the worst trends in higher-ed, a real corruption of its original intentions and values, have come from a obsession with the idea that higher-ed is solely about employee training.


I copy your code below, because it's so terse and marvellous and I don't want to deprive anyone who assumes otherwise and doesn't click on your link:

    : >BRACES       1 CELLS BRACES +!  BRACES @ ! ;
    : BRACES>       BRACES @ @  -1 CELLS BRACES +! ;
    : {             DEPTH >BRACES ;
    : }             DEPTH  BRACES> 1+  <> ABORT"unbalanced" ;
And the example "backwards lisp" expressions you give as test cases:

        { 1 2 + } .
        { 5 { 1 2 + } * }

Cosmo looks so cool. Are there any big projects out there that use it for distribution?

For note-taking specifically, I've tried everything from plain old pen and paper to more modern solutions like Evernote and emacs (if you can call that modern), but nothing I've come across really beats Anki.

Although its main selling point is as a program for flashcards with spaced repetition, it comes with pretty much all the features of a good note-taking app, like tags, easy to organize, synchronization across devices (you can set up your own server), good interface for searching through your notes (which are stored in an Sqlite db if that matters), and yes, LaTeX. Not only that, it's also highly extendable with third-party plugins, so if there are features that you miss chances are there's a plugin for it. In other words, you can use it perfectly fine just taking notes. However, where it really shines is in all of this in combination the spaced repetition algorithm, which is now on steroids with FSRS[1][2]. The downside is that for this to be effective for the things you want to memorize, you'll have to write your notes to be suitable for a flashcard, but if you do it consistently you'll soon notice that you can store most of your notes in your head. Needless to say, any student would benefit greatly from this. Now, if that's too much work, you can still just use the scheduling to have it remind you of your notes. Either way, even as someone who sometimes goes out of his way to shoehorn everything into Emacs, I can't see a reason not to use anki for note-taking.

Edit: I should probably mention that I primarily use Anki on my desktop. The smartphone app might not be as good, though I wouldn't know because I haven't given it a good try yet.

[1]https://github.com/open-spaced-repetition/fsrs4anki/blob/mai...

[2]https://www.youtube.com/watch?v=OqRLqVRyIzc


Since python 3.12, builtin itertools now includes a batched method https://docs.python.org/3/library/itertools.html#itertools.b...

Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: