Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ionrock
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ionrock
6mo ago
I haven't tried this project, but did switch to vterm from shell-mode a while back because it managed to fix most of the paper cuts when using shell-mode. I also used to create a lot of custom compilation buffers for things b/c it
2.
▲
by
ionrock
2y ago
This kind of framework helps to optimize a bit for returning hypertext (iow HTML snippets) rather than leveraging a frontend system that only interfaces with the backend via an API. From that perspective, you need to be able to send HTML sn
3.
▲
by
ionrock
2y ago
Writing post-mortems is generally pretty kludgy. You might have a Slack bot that records the big picture items, but ideally, a post-mortem would include connections to the nitty-gritty details while maintaining a good high-level overview. T
4.
▲
by
ionrock
2y ago
After dealing with the current state of affairs regarding the front end, I think this is pretty interesting. I've been writing Go web apps with templ and htmx. I've punted on dealing with CSS using a cdn and bulma. I did get Tailw
5.
▲
by
ionrock
3y ago
While I can't say this is true for vim, in Emacs, I found that the customizability helps for a lot of different programing tasks. I run my terminals in Emacs and they are associated with my projects. Magit (the Emacs git package) helps
6.
▲
by
ionrock
3y ago
I don't know if I fully grok the web components described by the author. I did find that using templ with Go makes it reasonable to have components you can inject some logic and state into for sending back HTML to htmx where it makes s
7.
▲
by
ionrock
3y ago
I had a similar thought when I first looked at it, but then I thought about my browser history and URL bar. It is sort of a lot of work to open files to write scripts, keep them organized, and make them accessible just to make some commands
8.
▲
Show HN: Chet – Record your commands to speed up local development
(chet.monster)
6 points
by
ionrock
3y ago
|
1 comments
9.
▲
by
ionrock
3y ago
Chet is meant to be a helpful big brother that keeps track of how long commands take to run. It stores the timings in a local SQLite database so you can run queries to find opportunities to optimize. There is also a simple service where you
10.
▲
by
ionrock
9y ago
Personally, I think it is more convenient to think about things like this (ie firewall rules) as data, which makes the use of an API a convenient way to work with the data. The converse, in my mind, is that I'd have to configure each n
11.
▲
by
ionrock
10y ago
Most services that might be considered "backends" (ie databases, queues, cloud services) end up being in written in languages that can safely use async techniques for I/O and still use real threading or some other method for
12.
▲
by
ionrock
10y ago
While I don't know node.js very well and can't speak to the "shared memory server", I do think it is valid to point out that this sort of redesign to fit the platform is frustrating. I've hit similar situations in P
13.
▲
by
ionrock
10y ago
As an emacs user, it is ironic I mention this tip! You can use Control + [ as an alternative to using ESC in Vim. This solved my reluctance to reach for the ESC key in the far reaching corner of my keyboard. This thread does remind me of na
14.
▲
by
ionrock
12y ago
It is really a chicken and egg problem. On the one hand, it would be good to refactor the code to help write some tests. On the other hand, you really shouldn't refactor the code with tests to prove that you haven't broke anything
15.
▲
by
ionrock
12y ago
I've felt the same way at times until I realized the issue is just my perspective. OO provides an organizational tool for organizing functions and variables. The same thing can often be accomplished by changing the way code is organize
16.
▲
by
ionrock
12y ago
One thing that is challenging in managing the boundaries is that often times our languages don't prescribe enough layering. We usually have modules, classes / functions and methods to define our boudnaries. The real world dictates
17.
▲
by
ionrock
12y ago
At some point I think it is important as a programmer to take pride not only in the result of the code, but the code itself. Efficiently managing a project can and should be rewarding as well. Developer usability is a very important feature
18.
▲
by
ionrock
13y ago
The thing about techcrunch's response is that the guy doesn't even try to make something work. If Ycombinator and other start ups decided to stop doing anything with techcrunch it would be over. Obviously TC has clout, but that doesn't mean
19.
▲
by
ionrock
15y ago
Do they provide a simple app that you can use easily with a phone? I'd say the "social" aspects are where the benefit is. Being able to let one person pay the bill and everyone else just send their part seems handy.
20.
▲
Announcing pytest.el
(ionrock.org)
1 points
by
ionrock
15y ago
|
0 comments
21.
▲
by
ionrock
15y ago
One caveat before commenting is that I haven't written a major app in Node.js and I use Python most of the time (vs. Java). I don't think the decision to use Node.js should be based on the fact it uses Javascript. Currently, Javascript has
22.
▲
by
ionrock
15y ago
I agree that for the most part this is correct. But, I also would argue that some aspects of a language can lend itself to more organized code. The include statement is one example where I think PHP doesn't help keep code organized. An actu
23.
▲
by
ionrock
16y ago
Personally, I'd avoid node.js. It is most definitely cool, interesting and has been proving itself useful, but (!) there are a lot of details that won't come up until you really need them. If you're focusing on business logic and you alread
24.
▲
by
ionrock
16y ago
Hopefully the folks at Heroku see this comment as the idea for a cutoff rate is really good. I'm not sure cutting the bill in half is necessary, but describing the real costs of their service and potentially allow paying only that cost or a
25.
▲
by
ionrock
16y ago
I like your perspective on this design decision as it seems to make clear what the intent could be. Alex reveals that the difference in Python is not so much the syntax as much as it hints at Python's treatment of functions as first class o
26.
▲
by
ionrock
16y ago
I chose a VPS b/c I wanted to run Python web apps, which traditionally don't work with shared hosting environments. Most shared hosts have daemons that kill long running processes. If you have a python script running for a long time (even i
27.
▲
by
ionrock
16y ago
I wanted to second this. I do the same thing. We use IRC at my company and we all work remotely. Having IRC in my editor makes things much simpler since I can easily copy/paste code, visit links and generally stay in one environment all day
28.
▲
by
ionrock
16y ago
One of the biggest productivity boosts I've found working with something like Rails (I use Python but any web development system that involves starting up a local app server would be the same) is having an easy way to start up the entire ap
29.
▲
by
ionrock
16y ago
Sorry, but that is the majority of softare development. While you may believe all your previous accomplishments were really great, there is most likely someone looking at your code thinking how frustrating it is to work on the codebase. I t
30.
▲
by
ionrock
16y ago
Honestly, I program in Python every day and my biggest complaint is that duck typing and dynamic types as a paradigm is not well suited for large projects (like the ones I work on). When the codebase is larger than you can keep in your head
More ›