rejetto forum

a new beginning...

rejetto · 86 · 69226

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
Hi guys, and sorry if I've been quite a ghost. :)

For those of you who care, I'm trying to reboot the project.
You'll find it at https://github.com/rejetto/hfs
This is actually replacing a previous attempt that was at the same address.

I have no idea if I'll be actually able to bring it to the dignity it deserves, and that's a thought that has often stopped me from starting.
I decided to give it a shot, and we'll see.

The current state of the project is "very early stage" and it's probably not good enough for most of you.
It is probably good enough to replace it in my daily use: you get the VFS and basic accounts.

There's no "simple exe" distribution yet, so for most of you it may be hard to even start it as it is now.
I will take care of this kind of things later in the project.

Many of you already know that I don't like working on the old HFS (delphi) since long. Starting anew is the only way to enjoy it.
Cheers


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline mandoz

  • Occasional poster
  • *
    • Posts: 37
    • View Profile

Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
I did something wrong
"tsc" could not be found
« Last Edit: December 22, 2021, 05:02:08 PM by dj »


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 859
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
@Rejetto: It's nice to see you again, after a long time. For as long you enjoy what you do, having a new (future) HFS is always good news. I guess there is still a long road before we could have a single executable file, but for advanced users it looks very interesting. Congrats! :)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
I did something wrong
"tsc" could not be found

I'm sorry i didn't answer before, i was relying on email notifications while they are apparently not working, maybe since i had to switch webhosting.
Consider you don't need to "build" because you get releases that are already built.
WHen you run it with "node ." you get EPERM on accounts.yaml, and that's a bit strange. Maybe you had it open with a software locking it. Double check the file status.
And also check new release
https://github.com/rejetto/hfs/releases/tag/v0.3.0-alpha

I'm very excited, this project is going very well.
I already got ZIP files without overhead on the server, just like we had with TARs.
At the moment it doesn't support resume of ZIPs, but that's ok for the moment. It took me a lot of work to get it working correctly like it is.
« Last Edit: December 31, 2021, 09:48:02 AM by rejetto »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i just added an exe.zip for those who don't want to install node
https://nodejs.org/

The exe is actually packing both "node" and "hfs" in a single file, and that's why it's big.


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
v0.3 and
exe: This app cannot be run on the PC
« Last Edit: December 31, 2021, 03:40:54 PM by dj »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i think i know what's going on here.
That crc32 module is a library using machine-dependent code for optimal performance, and i'm including only the version for my machine (crc32-win32-x64-msvc)
while yours is different (crc32-win32-ia32-msvc).
It tries to load the other version and doesn't find it.
It should run smoothly on an x64 machine instead.
I'll have to see how to solve this "distribution" problem.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
this should solve your crc32 problem:
enter hfs folder and run:
npm install @node-rs/crc32-win32-ia32-msvc --force


Can you tell me what CPU are you running it on? Or is it a VM ?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
in the meantime i renamed the exe zip into exe-x64 so to let people know that is architecture dependent.
I also reuploaded  hfs0.3.0.zip so it to include the "ia32" module.
I think anyway that it's better if I switch to a machine-independent version of the crc32 module. It is used only while creating ZIPs, and I think there will be only an acceptable increase in CPU usage. I can always reconsider this choice in the future.


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
Can you tell me what CPU are you running it on? Or is it a VM ?

Intel(R) Atom(TM) x5-Z8300  CPU @ 1.44GHz   1.44 GHz


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Hi Rejetto, just stopping by to say hi and happy holidays! The new rewrite looks like a cool project. I agree it's probably best to move beyond Delphi. It had a long and successful life. I hope you have fun writing the new version!

You might find it interesting to know that these days I am a professional software engineer and I'm proud to say that HFS and its template scripting is how I got my (unconventional) start.


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
Wow, great... :D

I don't interested in Node for some reasons. But I wonder if there will be a template engine, just like the old classic HFS2.

I kinda like the Lisp-ish syntax, hacking around it makes fun. But others may don't think so...

Making a template engine based on other stuffs is well acceptable, as well as the community develops :)

If this is the case, please open some API or Plugin interfaces (at any time), thus we can make an interpreter for old templates...

Cheers~
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
Intel(R) Atom(TM) x5-Z8300  CPU @ 1.44GHz   1.44 GHz

ooooh, atom. Ok, so i get from your screenshot that my "npm..." suggestion did the job and now you have this other problem. I can see from the "hashing" message just before that it is trying to WRITE the file. So it successfully reads it but then cannot rewrite it. Can you make an attempt at modifying that file yourself and see if you can save it? If you can but HFS can't, check if it is running under limited permissions, like a different user. I will see to make a better error message in the meantime.