Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dozzie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
dozzie
8y ago
The main selling point of PowerShell is that you cannot save intermediate results of a pipeline to a file for inspection.
92.
▲
by
dozzie
8y ago
Yeah, your eth0:xx is just a label (a tag of sorts) attached to the entry. Otherwise, they're exactly the same thing. You can even add an address with `ip addr add' that will be visible to ifconfig.
93.
▲
by
dozzie
8y ago
> printing things to the console is the poor man debugger. You may want to try working with network before making this statement, when you cannot step through a function because of timeouts. Or maybe even looking at tracing debuggers, li
94.
▲
by
dozzie
8y ago
> I don't think visual selections in vim work the same as in kakoune though, do they? I have no idea. I've never used Kakoune. > Can you just turn on selection mode and use that all the time? How would you use that ? Have a
95.
▲
by
dozzie
8y ago
I get it that you have your reasons to use Neovim more than Vim, and a large number of them is probably difficult to articulate, but framing it like Vim had no mode for selecting text visually is unfair.
96.
▲
by
dozzie
8y ago
Advanced, like what exactly?
97.
▲
by
dozzie
8y ago
> The model of select first, action after (reverse of vim) is so so much better for me. You mean, like the visual modes in Vim? Where you select text before running a command on it?
98.
▲
by
dozzie
8y ago
> It's not "maths" like arithmentic but it's "maths" like graph theory It's less like graph theory and more like inversion of control: an architecture, not a set of theorems and their proofs. Even Burge
99.
▲
by
dozzie
8y ago
Good heavens, no! You'd only have two different instances of the same service that is difficult to work correctly with. For serving as a debugging channel and user-facing shell access, SSH is fine (though I've never seen it manage
100.
▲
by
dozzie
8y ago
> it's based on a kind of maths called "promise theory" Promise theory is not math, despite its name. It doesn't predict anything, it doesn't explain any phenomena. It's an architectural approach. Brilliant,
101.
▲
by
dozzie
8y ago
> [...] the actual change can happen on the "client servers" at any point within next 20 minutes. [...] What if you want to switch over your web servers at a specific moment? You don't. Configuration management is a wrong
102.
▲
by
dozzie
8y ago
> This leads me to another thing that bothers me and that is where people think it's a situation of having to use e.g. Puppet or Ansible as if they're conflicting choices for the same tasks. That's mainly because Ansible f
103.
▲
by
dozzie
8y ago
> Well, teach your sysadmin to use the system configuration tester when they edit a system configuration file. Wrong. Teach your sysadmin not to overload a single service with different functions (debugging channel, user-facing shell ser
104.
▲
by
dozzie
8y ago
It would be even nicer if people weren't advocating it as a configuration management system, only as what it is: a deployment system.
105.
▲
by
dozzie
8y ago
> I've had files that had 666 user:group permissions/owner that I tar into a backup file, then untar, only to find that the file is now 664 with me:me ownership. It was PEBKAC, not tar's fault (GNU tar, anyway). Tar does s
106.
▲
by
dozzie
8y ago
> Anyone remembers something akin to "TV tax" ? It was a tax paid to sustain national TV (media) in a large scale, which provides them the possibility of being independent and not struggle with financing problems. Yes, I do. I
107.
▲
by
dozzie
8y ago
> That's not general POSIX, right? I seem to recall it's Bash-specific? (P.S. I think you forgot quotes?) Wrong. (And no, I did not.) POSIX, or rather SUS (I've never had an access to POSIX), mandates ${foo%...} syntax and
108.
▲
by
dozzie
8y ago
So this is rediscovering Puppet's language. OK, and what's new in here?
109.
▲
by
dozzie
8y ago
> The point I'm making here is that it's actually quite difficult to get a string that literally has the contents you want. It's not difficult, it's just tedious. foo=$(whatever). foo=${foo%.}
110.
▲
by
dozzie
8y ago
Yes, when something goes awry with the initscripts system. And systemd is not exactly famous for its transparency of execution and stability of options' behaviour.
111.
▲
by
dozzie
8y ago
> I'm not sure why you think nginx_enable='YES' is fundamentally less opaque than an nginx.service file. Both are parsed by another application. My guess: because the "another application" that parses nginx_enabl
112.
▲
by
dozzie
8y ago
Ah yes, systemd did promise the correct handling of start ordering (i.e. socket activation). Though this never happened in practice, you still need to manually specify dependencies in unit files, barring the very few daemons.
113.
▲
by
dozzie
8y ago
> It doesn't (bash, GNU grep). It can, you just incorrectly guessed what's the required input for it to work (the author didn't do a very good job at showing the environment in line 29). If you pass to grep a multi-line ar
114.
▲
by
dozzie
8y ago
Depends. Depends on the circumstances.
115.
▲
by
dozzie
8y ago
All this sort of sounds like topic maps, though they never gained much of attention and very few people know of or remember them, and beside Java there are virtually no libraries or tooling for them.
116.
▲
by
dozzie
8y ago
> Is it a bad idea to pursue a PhD in machine learning considering the current massive amounts of media hype surrounding AI? If you don't mind waiting another twenty years for the next cycle of the AI hype once this one dies off, it
117.
▲
by
dozzie
8y ago
> That's why Graylog requires you to load a log entry example when creating an extractor So it still fails silently when the log format changes slightly, e.g. upstream fixes spelling or grammar in one of the log messages produced.
118.
▲
by
dozzie
8y ago
As severine found out, it's called GrailBag ( https://github.com/dozzie/grailbag ). Docs and README are lacking, to put it mildly, so I don't deem it ready for being published, but I don't exactly hide it
119.
▲
by
dozzie
8y ago
> [...] programmers asking why git has problems with their newly requested LFS and a 40gb video file they decided to store. The thing is, git, as our industry uses it, is not really a good tool for keeping artifacts , and "video&qu
120.
▲
by
dozzie
8y ago
Parsing this way (in Graylog) is so very... manual. I'd rather go with rsyslog's liblognorm, either in rsyslog itself or in a separate daemon, like logdevourer I wrote. The rules then can be written in a regular text editor and ve
More ›