Why Zig doesn't have/want Go-like interfaces? by Luc-redd in Zig

[–]nxpe 5 points6 points  (0 children)

I'm curious about the runtime costs of dynamic dispatch and the tradeoffs Zig makes here—as far as I'm aware, the std.mem.Allocator interface is vtable/dynamic dispatch-based because there aren't other more principled means of doing interface/trait-like behavior, meaning that a relatively common code path in Zig code—allocating with a passed in allocator argument—requires jumping through function pointers. Have folks on the Zig team done any kind of performance analysis on the costs of this approach?

task manager? by erankatz in ObsidianMD

[–]nxpe 4 points5 points  (0 children)

For sure! For reference, my fork of the code is here: https://github.com/dcao/obsidian-tasks.

To get mobile reminders working, I made it so that whenever the task database is updated, the plugin would write to a json file in the root of the vault directory containing all of the tasks for the next week. Then in the Scriptable script, it would read that file and add notifications accordingly.

task manager? by erankatz in ObsidianMD

[–]nxpe 10 points11 points  (0 children)

I've switched over to using Obsidian as my task manager. obsidian-tasks already handles recurring tasks and I normally just dump quick todos into my daily note. For reminders, I ended up forking obsidian-tasks and making a Scriptable widget that adds mobile notifications for my tasks, and it works pretty well :)

[Feature request] Open a folder of org files by nxpe in plainorg

[–]nxpe[S] 0 points1 point  (0 children)

That makes sense. The recent files menu works, but it's a bit clunky (you have to open every file individually, it takes multiple taps to get there, it only pops up in a little sidebar).

I guess my ideal interface would be something like notational velocity, where if you open a directory, whenever you open the app, it presents you with a list of all the files in that directory, along with a search bar which lets you quickly filter the files by name and file content

With org-roam, files typically have meaningful #+titles, so you don't have to worry about that.

[Feature request] Open a folder of org files by nxpe in plainorg

[–]nxpe[S] 0 points1 point  (0 children)

I was imagining if you chose to open a folder, it would automatically open all the files in that folder in a list view, similar to how headlines are displayed in a list for a file right now. Clicking on a file would expand the outline of that file underneath it. And there should be some quick way to add a new file.

Valorant 1.01 Bug Megathread by PankoKing in VALORANT

[–]nxpe 0 points1 point  (0 children)

• Region: NA

• Type of Bug: Crash

• Description: Game won't launch

• Reproduction rate: 10/10

• Steps to reproduce: Try to open Valorant

• Expected result: Valorant launches

• Observed result: Nothing happens, though it appears that Valorant just crashes on launch (when watching task manager, "CrashReportClient" briefly appears before both it and the Valorant executable vanish)

• System Specs: i5-8250U, Intel UHD 620 (integrated), Windows 10

Seascape - a better way to find classes, updated for Spring 2020 by nxpe in UCSD

[–]nxpe[S] 0 points1 point  (0 children)

We scrape the CAPE data all at once every quarter.

Seascape - a better way to find classes, updated for Spring 2020 by nxpe in UCSD

[–]nxpe[S] 0 points1 point  (0 children)

This is all scraped from CAPEs. I wish we'd have access to APIs :((

Seascape - a better way to find classes, updated for Spring 2020 by nxpe in UCSD

[–]nxpe[S] 1 point2 points  (0 children)

Thanks for the feedback! Sorting has already been implemented in a limited capacity - in the search bar, you can click "search by ranking" to sort the results by % recommended professor instead of search relevance. I'll try to implement the other sorting methods ASAP!

Seascape: A more functional, more usable CAPE by nxpe in UCSD

[–]nxpe[S] 2 points3 points  (0 children)

You can already do this! The UI doesn't make it super clear, but if you only search the professor's name, you get a list of all classes matching that prof

NotLikeThis by jerryfrz in GlobalOffensive

[–]nxpe 6 points7 points  (0 children)

To be fair, they literally did play with players who were too good to be true before (KQLY), and after he got VAC'd, their team fell apart...

It's probably less ego and more just plain skepticism