Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
madhouse
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
madhouse
4y ago
Not really a public plea when it is behind a signup wall.
2.
▲
by
madhouse
8y ago
Flowers for Algernon by Daniel Keyes. Read it first when I was 16, at the recommendation of my literature teacher in high school. For the past... - darn, this was long ago! - ...more than 20 years, I've read it at least once a year, an
3.
▲
by
madhouse
11y ago
You can limit your search to certain repositories on GitHub, with advanced search: https://github.com/search/advanced You will need to enter the repositories by hand, though. Mind you, writing a small tool that'd
4.
▲
by
madhouse
11y ago
You know what would be amazing? Combining this with logic programming. (run 100 [box] (fresh [x y z] (randomo x) (randomo y) (randomo z) (locationo box x y z))) (Overly simplified and terrible DSL for it, but you get the idea!)
5.
▲
by
madhouse
11y ago
Is there anything like blessed + blessed-contrib for either of those? It'd be fairly trivial to write the bulk of potential-happiness in Java, if there was a display library like blessed + blessed-contrib in the JS world.
6.
▲
by
madhouse
11y ago
Author here. I'm running this in "production" (kinda, on laptop, looking at data from my own servers), and works for me. There are some annoying shortcomings, though, which I will fix, eventually. Among them is error reportin
7.
▲
by
madhouse
11y ago
Why do you need an URL shortener to begin with? (See http://joshua.schachter.org/2009/04/on-url-shorteners for some great reasons against them)
8.
▲
Potential Happiness – Dashboard for the terminal
(asylum.madhouse-project.org)
2 points
by
madhouse
11y ago
|
0 comments
9.
▲
by
madhouse
11y ago
I remember http://lamsonproject.org/ being a python SMTP server library thing. It may be possible to piece together something based on it. That covers the SMTP part. Mind you, the git repo looks dead, with the last commit b
10.
▲
Grepping logs is still terrible
(asylum.madhouse-project.org)
100 points
by
madhouse
11y ago
|
123 comments
11.
▲
by
madhouse
11y ago
> you're saying that yours is unconditionally better I don't think I'm saying that. The article presents two setups and a few related use cases, where I believe binary log storage is superior. > With the services you ru
12.
▲
by
madhouse
11y ago
I assume this comment is related to the journal. The article is not. But, to reply: yes, many organisations have fully functional, well-debugged logging infrastructures. A lot of them also use binary log storage, and have been for over a de
13.
▲
by
madhouse
11y ago
I experimented with that, and heard others toying with the idea too. There are even products out there that do something similar.
14.
▲
by
madhouse
11y ago
Agreed. But if I keep my logs in a database, I may aswell use the database to query my logs, instead of grepping in them. (And voila, you have binary log storage.)
15.
▲
by
madhouse
11y ago
Why would I need to be able to parse everything up front? Taking the syslog example, that has a commonly understood format. As a default case, I can just split the parts and have structured data (esp. with RFC5424, where structured data is
16.
▲
by
madhouse
11y ago
With a binary log storage system, nothing stops you from browsing all logs that happened around the time of the incident. Instead of locating the files, you just tell the engine to show you the logs from that time onwards (or from a little
17.
▲
by
madhouse
11y ago
Please don't confuse log storage with log transport. We can transform the stored format into any other, if so need be. (For example, I use Kibana at home. Works great, though I have no text logs stored.)
18.
▲
by
madhouse
11y ago
The machines I'm administering will all log the same way, therefore, within that context, they are universal. We have well documented tools and workflows, so anyone new to the system can catch up and start working with the logs within
19.
▲
by
madhouse
11y ago
* Why would you need a proprietary tool? * What if they get broken? I don't want to look at them raw anyway. * Text logs are easy to corrupt as well. Oh, append only? Well, you can do that with binary storage too. And again, there is n
20.
▲
by
madhouse
11y ago
I've worked with a number of implementations, both embedded and others (ranging from a PC under my desk, through dozen-node clusters to ~hundred nodes). For most cases, binary storage triumphed. Most often, we kept text based transpo
21.
▲
by
madhouse
11y ago
My small system is usually two computers. Having a router/proxy/firewall box at home is not all that uncommon, and some examples I gave apply there nicely.
22.
▲
by
madhouse
11y ago
You're missing the point. I'm not using a custom logging format. I'm using binary log storage , with emphasis on the storage. There is a database and a search engine behind it. Logging format and log storage format are two v
23.
▲
by
madhouse
11y ago
Bringing a few extra tools for forensics should not be a problem. You bring grep, strings, less, and a bunch more to read text logs. Why not bring one more to read the binary dump too? I'm sorry, but I don't find the "but I c
24.
▲
Grepping logs is terrible
(asylum.madhouse-project.org)
94 points
by
madhouse
11y ago
|
102 comments
25.
▲
by
madhouse
13y ago
Hy has macros, and they work fairly well. I'm using plenty of macros in Adderall, would not be possible without them. There are a few rough edges with Hy macros, mostly due to the underlying Python, but I at least, can live with that,
26.
▲
Hy: The Logical choice
(asylum.madhouse-project.org)
43 points
by
madhouse
13y ago
|
12 comments
27.
▲
by
madhouse
13y ago
I have about a thousand lines of Hy in production, but sadly, that code is not open source. I am, however, working on porting a few Clojure libraries to Hy, those will appear on my github profile (github.com/algernon/) in the comi
28.
▲
by
madhouse
13y ago
I hate significant whitespace, and the syntax of Python (not enough parens; allows crazy oneline hacks with comprehension, yet still forces indentation otherwise; blindly following pep8 often results in horrible mess of a code, etc). Hy get
29.
▲
by
madhouse
13y ago
I've been using Hy for a while (in production too), and while it has its rough edges here and there, it is a million times more pleasant to use than python. But I hate python with a passion, so there's that. Bidirectional interop
30.
▲
by
madhouse
13y ago
A coding style is there for a reason, and Laravel even has a documentation that tells you in advance the coding style and gives you tips on how to submit a good pull request: https://github.com/laravel/framework/bl
More ›