HN user

majormunky

163 karma
Posts0
Comments48
View on HN
No posts found.

It would be great if they allowed JIT compilation in apps. This would allow things like Dolphin (Wii, Gamecube emulator) to run.

I also started my programming career thanks to Django, and I started using it while working at a local newspaper, so bonus points there! We built a system that our sales people could book ads, and then we could layout the newspaper through a canvas based tool (used Fabric.js for that), and then send the pages + ad stack to InDesign to be built. Was great to work with the whole process and Django was really never a limitation. I ended up moving on, but it'll always have a place in my heart.

MacBook Air M4 1 year ago

I think the old airs maxed out at 24, the M4 can be configured with 32gb of ram.

Taken a step further, customer support probably has the best understanding of their markets' needs!

People working in customer support, from my experience, sort of see the anti-survivorship bias working in action. Not many people call up to say how well something works. I would agree with you though on good Salespeople (ones that do try to understand what customers need and all that, not necessarily ones that sell the most) knowing what the customer wants/needs.

At my last job I had built a system where users could enter text into a quill textbox (and style it), and then save it into a database in their delta format. Later, a different team member would pull that into an InDesign plugin where we could easily read what styles had been applied to the text in quill, and style that using the styling in InDesign. This was used when the front desk person would enter in a legal notice for a newspaper, and the production team would be the ones who would get that into InDesign for printing. The quill delta format that it uses made this process so much easier than if we were to have been given HTML like most other editors output / save. Glad to see this is still around, its been a few years since I had heard / used quill.

It looks like the desktop Grammerly app hooks into all sorts of things, "An all-in-one writing assistant that works on your desktop and in your browser. Use it in apps, word processors, email clients, and more."

Its really frustrating how amazing the world is in GTA5 and there isn't any single player DLC's for it. There's so much opportunity for great stories to be told. That frustration builds up just a bit more every week when we get a GTA Online update of some sort, bleh.. I still can't wait for GTA6 =).

I use a python library called python_dotenv, which like the article describes, loads environment variables from a .env file. My use cases are for just tiny personal projects, but, I do like how the process is the same on my laptop and my web host. If i were to use some specific technology with digital ocean, I would still need to do something for when I'm building this stuff locally.

Generally speaking the only thing I'm holding in my .env file is the Django secret key, and the debug flag, so, pretty limited use case, but works well I think. I manually create the .env file when setting up my site, so none of it goes into any repos.

For being such a high tech car, its unfortunate that there isn't some sort of API that can be used to directly control things, even if its just things like the climate control, etc.

As a side note, my 2019 Subaru Crosstrek can't seem to show the backup camera, and deal with me turning the physical radio volume dial down at the same time. I think the computer in a car should be up-gradable.

I've not really encountered any situations where I've needed to do anything like this yet (still learning), but, I found this example, where there's an existing function, and someone alters the body of the function to create a new function. My guess is that there's various ways of doing this type of stuff: https://stackoverflow.com/a/1220198

Edit: a macro example, which I think may be the more common route of doing this type of stuff? https://lisp-journey.gitlab.io/blog/common-lisp-macros-by-ex...

I'm also learning lisp, mainly as a part of learning emacs, so I may not be super accurate here. In python, when you have a reference to a function, its a bit opaque, you can tell the thing is a function, but I don't think you can really go into the function object, and alter it lets say. You may be able to using the AST or something, but its not a "first-class" thing you can do.

In lisp (and code is data, data is code), the function is also a list, so you would be able to use all the normal programming tools to iterate over the list, add new items to the list, etc, which can change how the function runs.

The fix from that article has to do with how one would go about setting a different default browser. Earlier, they had to do this by associating the browser with filetypes, so, someone would have to make multiple changes to fully set their browser default. Now, you can just set the browser like you would think.

The issue at hand though has to do with other links within windows that open web pages. Microsoft had used a different protocol (not https, but, something like microsoft-edge://). I think these links are like news items that show up in the start menu, etc. There was no way to set Firefox to open these links with what Windows provided, it only opened in Edge. A program was written that listens for these protocols, and would let the user customize what program opened with those links were clicked. Microsoft has now shut that option down.

So this is sort of like a virtualenv, except you don't need to activate anything, it just looks within the main project folder for a __pypackages__ folder, and uses that to look for packages