Live data from Hacker News

Dungeons and Directories, an exploration game in your file explorer

wheybags.com

61–67 of 67 posts

Re: Dungeons and Directories, an exploration game in your file explorer

#61
post #50

Earlier quoted context omitted.

That depends on your version of windows (newer versions are more relaxed on it). Also file links are 'weird' in windows. You have 3 types junction points, file links and directory links. Each one acting in its very weird odd way. Junction points are for local only directories. Files for files and directories can be either local dirs or remote SMB points. Junctions vs dir can be an interesting trade off on what you wa…

You need SeCreateSymbolicLinkPrivilege to create symlinks in both Win 10 and Win 11. https://learn.microsoft.com/en-us/windows/security/threat-pr...

Its one of the things enabled by "dev mode" in the control panel.

Re: Dungeons and Directories, an exploration game in your file explorer

#62
post #58

Earlier quoted context omitted.

A nice thing about Apple’s Terminal is the open [0] command. I miss that in Windows Powershell and would likely miss it in Linux as well. ——— [0]: https://scriptingosx.com/2017/02/the-macos-open-command/

Linux and windows also have this command. Under windows it is called start. Under Linux it is called open as well.

> Under Linux it is called open as well.

You mean xdg-open? I'm not aware of a commonly available "open" tool under Linux.

Re: Dungeons and Directories, an exploration game in your file explorer

#63
post #50

Earlier quoted context omitted.

You need SeCreateSymbolicLinkPrivilege to create symlinks in both Win 10 and Win 11. https://learn.microsoft.com/en-us/windows/security/threat-pr...

Its one of the things enabled by "dev mode" in the control panel.

ah i probably enabled that...

Re: Dungeons and Directories, an exploration game in your file explorer

#64
post #39

Earlier quoted context omitted.

Ramdisks are extremely slept on, there is a lot of stuff you can kludge with a ramdisk in a pinch. I had to do some video stream processing the other day and I didn't have time. So I just made a ramdisk and read/wrote jpegs at 30fps, yeah it's stupid as hell, but it worked when I needed it to and that's what matters.

I have various folders mapped to RAM, like e.g. /var/tmp. This has many uses, as you said. E.g. sometimes even just downloading a video stream to disc creates a temporary file in the destination folder for every fragment. I just d/l those into /var/tmp first and then mv the finished video to where it's supposed to live. I'm sure both my SSD and HDD are grateful! =)

Doesn’t this make your var and temp rest on boots?

Re: Dungeons and Directories, an exploration game in your file explorer

#65

Earlier quoted context omitted.

One thing that modern computing has never been able to replicate is instant on. Literally press power button - thing is running. Nothing like having part of your memory address space mapped directly to ROM. No updates and no second chances!

I'd love to reinvent computing from scratch and fix this. There's no good reason it should take so (comparatively) long for modern PC's to boot. It's a symptom of all the complexity grafted on over the decades.

I think there are fundamental technological reasons as well. For example, even if you were willing to never update the OS, could you purchase a 1GB ROM chip for example? If using EEPROM, would the performance match RAM? Most people would not want to trade run time performance for improved boot time.

The thing is, there are far more trade-offs today than there were in the days of the C64. It is a worthwhile goal however, ideally computers should turn on instantly.

Re: Dungeons and Directories, an exploration game in your file explorer

#66

Earlier quoted context omitted.

Linux and windows also have this command. Under windows it is called start. Under Linux it is called open as well.

> Under Linux it is called open as well. You mean xdg-open? I'm not aware of a commonly available "open" tool under Linux.

I eventually found out about xdg-open, but I'm glad that I didn't know about it from the start. I learned to open things the more "normal" way (eg `soffice document.doc`).

Re: Dungeons and Directories, an exploration game in your file explorer

#67
post #39

Earlier quoted context omitted.

I have various folders mapped to RAM, like e.g. /var/tmp. This has many uses, as you said. E.g. sometimes even just downloading a video stream to disc creates a temporary file in the destination folder for every fragment. I just d/l those into /var/tmp first and then mv the finished video to where it's supposed to live. I'm sure both my SSD and HDD are grateful! =)

Doesn’t this make your var and temp rest on boots?

Yes, and that's 100% okay for /tmp. For /var/tmp it's a bit more complicated, but it hasn't bitten me yet.
Post reply on HN