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

> I assume the author means "out of all the ISAs I know"?

Out of all the ISAs where they know whether it provides integer division or not.


Yeah but my point is that as a reader I'm trying to figure out which ISAs actually don't provide this (vs. which ISAs the author lacks knowledge of), and I still don't know what those are. The sentence looks like it's supposed to tell me, but it doesn't.


This is not "hard-coded" as I would describe it. It is defined in `gv.el`:

    (gv-define-setter buffer-string (store)
  `(insert (prog1 ,store (erase-buffer))))
Unfortunately, it is marked obsolete since 29.1. The NEWS says:

* Many seldom-used generalized variables have been made obsolete. Emacs has a number of rather obscure generalized variables defined, that, for instance, allowed you to say things like:

    (setf (point-min) 4)
These never caught on and have been made obsolete. The form above, for instance, is the same as saying

    (narrow-to-region 4 (point-max))


This used to be the case until Emacs 24.1, in 2012.

    Passing a nil argument to a minor mode function call now ENABLES
    the minor mode unconditionally.  This is so that you can write e.g.
    
        (add-hook 'text-mode-hook #'foo-mode)
    
    to enable foo-mode in Text mode buffers, removing the need for
    'turn-on-foo-mode' style functions.  This affects all mode commands
    defined by 'define-minor-mode'.  If called interactively, the mode
    command still toggles the minor mode.


Wherever possible, I use sina plots, which provide many of the advantages of violin plots while actually showing the individual data points.

https://en.wikipedia.org/wiki/Sina_plot

https://cran.r-project.org/web/packages/sinaplot/vignettes/S...

Adding on a representation of mean in a different style (like a black bar) can be helpful. So can a boxplot-style indication of variance, in some cases.


When would you need to use rdmsr and wrmsr in a crisis?


I wonder if they swapped the benchmark results somehow. Because on my computer, I get roughly the same times but with {} twice as fast as dict().


I don't think so, but in 2023 "PC" can refer to a whole bunch of different things, and "5150" is precisely clear about what it refers to.


I hope it keeps its blazing-fast startup. I regularly used Paint instead of Photoshop on a system where I had both because Paint starts instantly but Photoshop took a bit.


I use photopea quite a bit for this reason. It's faster to open this in a web browser than it is to boot photoshop. The 1/3rd sidebar ad it loads is... a lot, but I'm amazed that I prefer that to a 30s boot time.


I am surprised how photopea can be so feature complete and still run on an ad supported model. It doesn't have all the bells and whistles or Photoshop but covers 99% of the use cases without having to keep paying for a subscription. I pay for Adobe's photography bundle but primarily for Lightroom; for any other image editing I just go to photopea.


+1 for Photopea, best free tool ever!


I was just reflecting on why I fire up Paint more often than GIMP, and this is the reason. Especially when all I want to do is paste an image, add a small annotation, and copy it back out, there’s no tool as fast.


It is basically why i have KolourPaint installed on Linux and ready on a launch button despite having a bunch of other 2D image editing apps: it starts (almost[0]) instantly and is perfectly fine for cropping images, adding annotations, etc and then pasting it to imgur, discord, or whatever. The only thing missing is having a tool to draw shapes like arrows (not something the Win9x era MS Paint, which is what KolourPaint replicates, had, but it would be a useful feature IMO).

[0] it takes somewhere between half to a second, there is a visible delay between double click and the window appearing but i can live with that. I'm not using KDE as my DE, it is possible it'd start instantly if i already had the KDE libs in memory.


kudos for KolourPaint, it replaced mspaint for me perfectly too! Set it to Ctrl+Alt+P :)


Lightshot is a great app for exactly this. And lines, boxes etc


Indeed. Also, I just read that mouse-wheel lets you adjust the line/arrow size...


You can do all this in the snipping tool without opening a separate app, which is in fact a little faster


Yes, except (unless I'm mistaken) the snipping tool can't add text and it can't draw boxes, which are two of the core use cases of screenshot annotation.


https://getgreenshot.org/ Fast, doesn't crash, does what you say and more.


i use monosnap for this reason (free version)

The number of times it crashes vs snipping tool, its like night and day.

yet i keep coming back for monosnap.... it made my snippets look somewhat professional (gone handwritten arrows lol)


The Bay Area has inadequate public transport for a metro of its size, but its utility is kind of another universe from the Austin's CapMetro.


This is super cool. I use Emacs `abbrev-mode` for taking contemporaneous notes but autosuggesting words would be great.


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

Search: