HNHacker News
TopNewBestAskShowJobs

alexkehayias

470 karma · joined January 3, 2011

https://www.alexkehayias.com
submissionscomments
alexkehayias··on I used standard Emacs extension-points to extend org-mode
Having used emacs for many years, OP's description of "doing things wrong" is exactly the way I use emacs.

I seldom care about the inner workings of emacs and will do the absolute minimum to get it to work the way I want and then move on. I'm reminded over and over again that Emacs patinas really nicely with poorly written elisp in an init file over time.

Case in point, I found that org-export is super slow. After profiling it, I found the slow function, copied it, removed the slow part, and advice-add it right back in there[0]. Might this break some other deeply intertwined behavior someplace else? Probably. Does it matter if I'm the only one using it? Nope.

[0]https://github.com/alexkehayias/emacs.d/blob/master/init.el#...

alexkehayias··on Goose: An open-source, extensible AI agent that goes beyond code suggestions
I’m using gpt-4o which I think is the default for the OpenAI configuration.

Haven’t tried other models yet but old like to see how o3-mini performs once it’s been added.

alexkehayias··on Goose: An open-source, extensible AI agent that goes beyond code suggestions
So I gave goose a whirl and I actually really like the approach they are taking, especially because I use emacs and not vscode. I would recommend people try it out on an existing project—the results are quite good for small, additive features and even ones that are full stack.

Here's a short writeup of my notes from trying to use it https://notes.alexkehayias.com/goose-coding-ai-agent/

alexkehayias··on My Emacs eye candy
You have to fill in some gaps (and occasional paranthesis) but it’s pretty darn good at writing elisp for improving your config. I find it’s helpful enough that you can take on medium hanging fruit that you wouldn’t attempt otherwise.

For example, I wrote a minor mode for centering text, an org-export backend for Notion, and some plumbing for chatgpt-shell.

https://notes.alexkehayias.com/using-chatgpt-with-emacs/

alexkehayias··on My Org Roam Notes Workflow (2021)
I have a pretty similar workflow for publishing my personal notes which is exported using GitHub actions. https://notes.alexkehayias.com

Relevant emacs init code here (a lot of hacks to get exporting to ox-hugo to work and improve performance): https://github.com/alexkehayias/emacs.d/blob/master/init.el#...

I find navigating notes with an interactive graph as not that useful for others. I mostly use org-roam-ui myself to spot notes with no links but otherwise there's way too many nodes to do anything other than randomly click around.

alexkehayias··on Ask HN: Coming back to Python after a 5 year hiatus–-what do I need to know?
Nice, I’ll check out poetry.

That’s great that some of the virtualenv functionality made its way into the standard library!

alexkehayias··on Ask HN: Coming back to Python after a 5 year hiatus–-what do I need to know?
:-) Thanks for pointing out FastAPI!

You're right, far less churn than when I came back to js after leaving off at backbone/coffeescript/grunt...

alexkehayias··on Ask HN: Coming back to Python after a 5 year hiatus–-what do I need to know?
Thank you! re: sqlalchemy, are there more options for python micro web frameworks like Flask? I enjoyed flask + sqlalchemy in the past.
alexkehayias··on Ask HN: Coming back to Python after a 5 year hiatus–-what do I need to know?
Thanks for the heads up about graphQL—I think I'll avoid for now. It will be for a new project so not a big deal.

I just had a quick look at PyTorch... you're totally right this is miles ahead of what I remember.

I forgot to ask about package management. Do you use pip, conda, poetry?

alexkehayias··on Ask HN: Coming back to Python after a 5 year hiatus–-what do I need to know?
Thanks, didn’t know about py video. I will take a look!
alexkehayias··on Getting Past C
I wrote a little tool to help check Rust crates on GitHub. It's been really interesting seeing how different libs use unsafety. https://github.com/alexkehayias/harbor
alexkehayias··on Final – A credit card built for the 21st century
I've gotten early access and have been trying it out. So far it's been incredibly easy to use (one time cards is awesome for ordering food or trying out new merchants/startups) and I enjoy the notifications. I just received the plastic card so it may end up being my primary card replacing a Chase Freedom card I have had forever (also 1% cashback). As for the comments about annual fees, if this becomes your primary card I think it will more than pay for itself over a year.
alexkehayias··on I’m Joining Stripe to Work on Atlas
Looking forward to working with you! I'm joining next week to work on Atlas too.
alexkehayias··on Kinesis Advantage 2
Anyone know if the firmware allows you to program keys to emulate a mouse? I use this often with tmk_keyboard https://github.com/tmk/tmk_keyboard firmware and found it to be just good enough to never use a mouse and keep the keyboard on your lap which is much better for my shoulders.
alexkehayias··on Ask HN: How should the CLI be designed today?
Easier inline editing of command args i.e accidentally executing the script when trying to enter a newline.
alexkehayias··on Show HN: Explore EBNF Grammars Interactively
Author here, this was a quick hack using ClojureScript and react to help myself play around with EBNF grammars by rendering them with HTML/CSS. All credit goes to the wonderful Instaparse library written by Mark Engelberg. Yes I'm aware the example grammar isn't perfect, but that was the point of making this :-)
alexkehayias··on Making an RPG in Clojure (2010)
I've been working on a project to create 2D sprite based game engine in ClojureScript. My goal was to represent the game completely with data and let the engine figure out how to interpret and render it (declaratively). In the end I implemented an entity component system (as other comments have suggested) and used existing javascript rendering libraries to handle rendering (not writing a wrapper for webgl...). You can check it out here: https://github.com/alexkehayias/chocolatier

It's been a ton of fun bringing a functional approach to games using Clojure and I gave a talk about it at ClojureWest this year. https://www.youtube.com/watch?v=TW1ie0pIO_E hope this helps others looking to build games!

alexkehayias··on Writing the next chapter for Prismatic
Love the work they open sourced in Clojure. Very sorry to see them go. I was a user of their app for awhile, but I tend to believe human led curation provides better signal to noise when it comes to content. It was a tremendous effort in trying to break that barrier and I'm thankful for all they contributed back!
alexkehayias··on Dataflow Programming for Clojure with Pulsar
Has anyone used this extensively and could share some experiences building with it?
alexkehayias··on Atreus – kit to build your own mechanical keyboard
Big fan of hackable mechanical keyboards. I built the Ergodox recently and it was pretty straight forward to put together and program layouts. I like the idea of a more portable mechanical keyboard because I end up bringing my keyboard back and forth to work :-)
alexkehayias··on Live Coding in VR with Oculus Rift, Firefox WebVR, JavaScript, Three.js [video]
So cool! Great work. Might be nice to keep the window as more of a HUD with some transparency so you can move around and still see the results while you code.
alexkehayias··on Ask HN: Who is hiring? (June 2014)
Shareablee (http://www.shareablee.com) - New York City, NY - Looking for Backend Developers to help us scale the collection and analysis of tons of social data for brands and publishers.

We help brands and publishers figure out what makes content shareable. We've just raised our Series A http://venturebeat.com/2014/05/12/shareablee/ from some awesome investors (Softbank, Valhalla) and are looking to scale what we've built and explore new areas. We work with companies like The Economist, Coach, Comcast, and Time to help them figure out how to create engaging content and interact with millions of people on the social web. If you like building distributed systems and distilling tons of data into actionable insights, this is the place for you!

Languages: - Python (strong) - Clojure (optional, but big plus) - Javascript/CoffeeScript (optional, but a small plus)

Experience: - Distributed systems including workers, batch processing - High volume data collection, storage, and transformation - Data analysis on data sets that are too large for a single machine

Role: You'll be building end to end systems for collecting and analyzing data from various social platforms. Everything from building a scalable and durable collection system to tools for analyzing and presenting the data.

Please apply via http://www.jobscore.com/jobs2/shareableeinc/backend-develope....

alexkehayias··on Poll: What are your liked and disliked programming languages?
Interesting seeing the high likes and dislikes for coffeescript. Recently there have been a few articles about xyz moving to JavaScript from coffee and how it writes non performant code. I still find JavaScript hard to write without libraries and remembering specific gotchas that coffeescript takes care of without me thinking about.
alexkehayias··on My account's Facebook applications have been disabled with no explanation
I put them in the comments as you suggested. The main one was just restored 288731291242658. I don't actually know the full list of IDs, but it looks like the ones I care about were restored.
alexkehayias··on My account's Facebook applications have been disabled with no explanation
FYI this issue still isn't resolved for a number of people. I'm still waiting on several.
alexkehayias··on A Dark Room - minimalist text-based game
Dammit I've been playing this for 2 hours straight...
alexkehayias··on Abandoned island in the middle of NYC
Lived here for 8 years and still learning something new. Got to love NYC! Also throwing it out there that Backspaces has really good, off-beat (in a good way), artistic content like this all the time.
alexkehayias··on A new Light Table experience
+1 for Emacs keybindings
alexkehayias··on Ask HN: What's your favorite music to code to?
I get that. I like DJ Khalid, Wale, and Wiz Kalifa to get me on my grind sometimes.
alexkehayias··on Ask HN: What's your favorite music to code to?
Yohimi is an awesome album for coding! Was going to put that in my answer too.
Page 1 of 2Next →