Hacker Newsnew | past | comments | ask | show | jobs | submit | oxalorg's commentslogin

This sounds very close to my dream IDE, I've always wanted to build a smalltalk + emacs like editor/ide in Clojure but never got around to it.

I wanted to try Easel but there were no instructions how. This is how I got it running:

  git clone [email protected]:phronmophobic/easel.git
  clj -X:deps prep
  clj
  # now in repl
  => ((requiring-resolve 'com.phronemophobic.easel/run))


At work we've started switching to codeberg (which uses forgejo) and honestly it's a breath of fresh air compared to GitHub. It's blazing fast compared to GitHub and has feature parity with our needs.


I have (almost completely) moved my business from GitHub to Forgejo as well. I’m deploying an instance at home as well.

It’s shocking how bloated and slow GitHub is even for basic actions when you compare it to Forgejo running just your own stuff.

Bonus: if you can manage to reliably backup a database and a filesystem, you can then backup your forge. Outside GH Enterprise there is still no restorable backup option inside GitHub.


This is great to hear! I’ll check it out.

How is it for usability (other than speed) compared to GH. Given that most/all devs are already comfortable in GH. What are the downsides in your experience?


A bit late on my reply here, sorry.

There are minor clumsy points here and there in the UI, but nothing major and nothing that’s a stumbling block.

It’s hard to paint a perfect comparison without using the same features but all the basics are there and working.

The version we have in use doesn’t support a gist functionality but the last I looked there was a PR for a similar feature with a less-GH—lawyer-baiting name. That was the biggest thing for me.

It has a GH Actions compatible rubber system too.


Not an option for the majority of companies as it only allows open source repositories as far as I'm aware.


Selfhosting gitea is trivial, I'm saying this as someone who has been doing it at work for almost 6 years. Our experience has recently prompted another org (run by people we know) to move off GitHub, they also seem to be happy.


There are plenty of alternatives to Github, from Gitlab and Gittea to Forgejo, but Codeberg is not one of them, which is what I wanted to stress.


Tangled.org


I have clicked about ~20,000 photographs on a Sony camera in the last year and a half. And I have published exactly 0 of those photos on social media.

Whenever I meet my friends and family, I show them the pictures myself and the story behind them.

I love the thrill of street photography and it gives me immense pleasure to capture candid moments of humans. It's a great creative outlet for me and helps me think about life and philosophy through my pictures.

Maybe one day I will care enough about publishing these pictures, maybe one day I will care about AI. But right now, I don't. This is the closest I've been to my "kid"-like self, just enjoying something for the heck for it.


The pictures go with a story, that's the interesting part.


As someone who would love to get into street photography, and has an old NIkdon D7100, what would you recommend is a good lense (not model, but focal length, zoom, etc) for street photography ?


It all depends on what you want to do. If you want to get started cheaply the kit lens is more than enough.

Prime lenses will have larger apertures that can give you more creative options.

How close do you want to stand? Indoor/outdoors? What are you planning on taking pictures of? D7100 is APS-C, I find that 50mm (~75mm ff) on APS-C doesn't give you quite enough room indoors to take photos. So you might want a 35mm prime or a zoom that goes down there. If you're planning on taking portraits you don't want something too wide (~20mm and below can be good for real estate/architecture) because it makes people look weird.

Most everything else is dictated by how much you want to spend and how large/heavy you want your camera to be.

Personally I have a 35mm f1.8 on my camera and am happy with it, I use it for family outings, a lot of portrait-level shots and just general "hey we're at the museum" kind of photos.


I have a D7100 as well and a 35mm 1.8 and 20mm. Both are great. 35mm on APA-C is about 50mm on full frame and is the "natural" view. Generally too narrow for landscapes and streetscapes, the 20mm starts to be good for those.


You should try to rent a lens to see what works for you. I used lensrentals.com just to try out the 85/1.4 that "everyone" said was awesome. I loved it, but couldn't justify the price for a hobby, so I settled on the 85/1.8. I bought it years ago (4+) and I think I've taken less than 20 pictures with it. My "nifty 50" is still a favorite 50/1.8, but I also love the 70-300/4.5-5.6. Those two are my most used, and both were less than $600 US total.


I left my Hetzner VPS open to password logins for over 3 years, no security updates, no firewalls, no kernel updates, no apt upgrades; only fail2ban and I survived: https://oxal.org/blog/my-vps-security-mess/

Don't be me, but have some solace in the fact that even if you royally mess up things won't be as bad as you think.

I self host a lot of things on a VPS and have recently started self hosting on a raspberry pi 5, it's extremely liberating!


You have no idea whether your server is currently actively compromised and participating in a botnet.


I left my VPS open to password logins for over 3 years, no security updates, no firewalls, no kernel updates, no apt upgrades; only fail2ban and I survived: https://oxal.org/blog/my-vps-security-mess/

Don't be me, but even if you royally mess up things won't be as bad as you think.


I've had password login enabled for decades on my home server, not even fail2ban. But I do have an "AllowUsers" list with three non-cryptic user names. (None of them are my domain name, but nice try.)

Last month I had 250k failed password attempts. If I had a "weak" password of 6 random letters (I don't), and all 250k had guessed a valid username (only 23 managed that), that would give... uh, one expected success every 70 years?

That sounds risky actually. So don't expose a "root" user with a 6-letter password. Add two more letters and it is 40k years. Or use a strong password and forget about those random attempts.


I wonder about:

- silently compromised systems, active but unknown

- VPS provider doing security behind your back


I'd be worried about this too. Like there must be AI bots that "try the doors" on known exploits all over the internet, and once inside just do nothing but take a look around and give themselves access for the future. Maybe they become a botnet someday, but maybe the agent never saw the server doing anything of value worth waking up its master for— running a crypto wallet, a shard of a database with a "payments" table, an instance of a password manager like Vault, or who knows what else might get flagged as interesting.


Security is way more nuanced than "hey look I left my door open and nothing happened!". You are suggesting, perhaps inadvertently, a very dangerous thing.


I recently added the python-feedgen module for creating feeds in my blog generator: https://github.com/oxalorg/genox/commit/3a73013ffe82930b1a7e...

I always love removing dependencies and simplifying software. I will try and switch to a simpler implementation like yours, thanks for sharing!


Seeing lots of emacs praise on HN since the last 2 days.

In this blog post I walk through the process of how I go about extending emacs (specifically a 3rd party plugin) and tailoring it to my specific problems.

I'm definitely not an emacs pro, but I've written a few packages in emacs and have a cursory idea of it's vast powers! Happy to answer any question.

For anyone interested, my emacs config is at: https://github.com/oxalorg/.emacs.d


Creating signal backups for iPhone users is _really_ hard. The only way to do it is to get a backup from the Signal Desktop app, which is also non-trivial because in recent versions of the desktop the decrypt key is also encrypted and store in keychain.

I had to install sqlcipher, find my encrypted key stored locally, find the decrypt key in apple's keychain, decrypt it using Signal's format, etc. This took a lot of trial and error, and reading a lot of existing source (special thanks to https://github.com/bepaald/get_signal_desktop_key_mac but unfortunately it did not work OOTB for me)


Sorry but this is anything but simple to me.

I consider my own static site generator [1] much simpler than this. Around 250 SLOC with 4 dependencies (markdown2, pyyaml, jinja2, Pygments)

[1]: https://github.com/oxalorg/genox


I use one line static site generator:

  for I in *.md; do pandoc "$I" --template=template.html --metadata title="My Site" -o "${I%.md}.html"; done


pandoc is awesome. As well as standard markdown it can handle syntax highlighting, convert LaTeX equations to MathML and much else besides.


Came here to post this too. Pandoc and a few lines of shell, all you need. Here is a super fancy Makefile:

  CONTENT_DIR  := content
  BUILD_DIR    := public
  MD_FILES := $(shell find $(CONTENT_DIR) -name '*.md')
  HTML_OUT := $(patsubst $(CONTENT_DIR)/%.md,$(BUILD_DIR)/%.html,$(MD_FILES))
  .PHONY: all clean assets serve
  
  all: $(HTML_OUT) assets
  assets:
   @mkdir -p $(BUILD_DIR) && cp -a static/style.css $(BUILD_DIR)/
  $(BUILD_DIR)/%.html: $(CONTENT_DIR)/%.md templates/default.html site.yaml
   @mkdir -p $(dir $@)
   pandoc --standalone --from gfm --to html5 \
     --template=templates/default.html \
     --metadata-file=site.yaml \
     --toc --toc-depth=3 \
     -o $@ $<
Ask ChatGPT, it'll spit out the rest (sample posts, template, CSS, YAML, Makefile, etc)


Exactly this. My entire website is handcrafted, and not once but over the last decade almost ~10 times.

It's fun and I almost end up revamping something every year.

Everything handcrafted:

- the matrix js code on home page. https://oxal.org click on the matrix for a surprise!

- it's built using my own Static Site Generator: https://github.com/oxalorg/genox

- my website uses a css theme, again handcrafted: https://github.com/oxalorg/sakura/

- if you go to https://oxal.org/blog/ you will see a small cyborg following you (started with a base image generated by chatgpt and then edited and added animations manually in Piskel sprite editor)

- it's deployed on a VPS manually, just run `make` (I've experimented with serving it via a handwritten C http server, but I haven't finished this toy project yet)

- i have several shell scripts which uploads things to my websites in private locations (think gists, quick share videos, screenshots etc.).

- the favicon is also pixel art, made when I was still in college! https://oxal.org/favicon-32x32.png

- I even tried designing my own funky font but gave up and used a Naruto inspired font

- and as a bonus, try to `view-page-source` on the home page

I see my website and feel extremely proud of my journey as a software engineer, and I cherish this simple thing oh so dearly!


It’s good to see you here! For a long time I was just using your project Sakura CSS file to mane everything look pretty.

Even though I have moved on to using a mix of LaTeX.css and a two column theme, I still love using Sakura whenever I’m crafting a hand rolled HTML page for something.


You might like this guy's website - https://kdrag0n.dev/

(it's not me, I also don't know him personally)


That’s hilarious, I was just using Sakura not long ago for a small mvp I made where I couldn’t be arsed to write any css myself. Good stuff


I quite like the matrix w/ the surprise!


I really like your website, it's both very clear / easy to navigate and yet unusual.

Great work!


The floating robot makes me smile. Reminds me of 90s silliness. I love it!


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

Search: