Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_paulc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
_paulc
10y ago
(In .vimrc) set cryptmethod=blowfish2 vim -x scp://.../...
32.
▲
by
_paulc
10y ago
In zsh: autoload zmv zmv '(*).baz' '$1.bar'
33.
▲
by
_paulc
11y ago
Wow - this looks really really similar to my wrapper library (pgwrap [1]). See comment below [2] [1] https://github.com/paulchakravarti/pgwrap [2] https://news.ycombinator.com/item?id=11054944
34.
▲
by
_paulc
11y ago
It looks like a number of people have done something similar so though I would mention my attempt - pgwrap [1][2]. This is also a thin wrapper over psycopg2. This provides the following - * Simplified handling of connections/curs
35.
▲
by
_paulc
11y ago
Unavailable...
36.
▲
by
_paulc
11y ago
Interestingly I just went through the same process as I wanted to understand how jails worked without the tools (my preference is iocage if you want something full featured - ez-jail doesn't properly handle the new jail.conf approach)
37.
▲
by
_paulc
11y ago
Probably not, but I would guess that the difference is well within the error margin of the original estimates.
38.
▲
by
_paulc
11y ago
I think that the real value is in forcing people to think about optimistic vs worst case estimates - in my experience the initial estimate is almost always actually the optimistic number and when they start to think about risks people tend
39.
▲
by
_paulc
11y ago
The fact that planning estimates represent a probability distribution is well known and there is an established process (PERT)[1] for estimating the expected time of a set of estimates - essentially instead of asking for a single 'most
40.
▲
by
_paulc
11y ago
just a bash script with no dependencies Except of course - bash. It would be nice if people remembered that this isn't installed by default on lots of systems.
41.
▲
by
_paulc
11y ago
A better analogy would be if the Jamestown settlers had spent 10 years floating in the English Channel being resupplied by rowing boat rather than actually getting on with the business of crossing the ocean and settling somewhere. The whole
42.
▲
by
_paulc
11y ago
The first of these is easier as: open -a Safari
43.
▲
by
_paulc
11y ago
Isn't there a simpler reason - a square design is easier to implement with a 3x3 matrix switch and the number layout ensures that the letters associated with the digits are in alphabetic order.
44.
▲
by
_paulc
11y ago
For dnslib [1] I use a much simpler fuzzer as part of the test suite [2] - this is nothing like as sophisticated as afl-fuzz or go-fuzz in terms of understanding and exercising code paths (just takes a DNS record and randomly mutates it - t
45.
▲
by
_paulc
11y ago
PIC32 is a MIPS core
46.
▲
by
_paulc
11y ago
See libxo[1] There has been added in FreeBSD 11 but I am not sure how many of the commands have been converted. [1] https://juniper.github.io/libxo/libxo-manual.html
47.
▲
by
_paulc
11y ago
If you have dnslib installed ( https://pypi.python.org/pypi/dnslib ) you can also do something like: python3.4 -m dnslib.client --server <ns1> --diff <ns2> <domain> <type>
48.
▲
by
_paulc
12y ago
The Juniper libxo [1] library is an interesting approach which preserves the traditional text output but also gives an option to output structured data: The libxo library allows an application to generate text, XML, JSON, and HTML out
49.
▲
by
_paulc
12y ago
The AM355x already has 2 x 32bit Programmable Realtime Units (PRU) [1] so the AVR seems a bit redundant (other than compatibility with existing shields and ease of programming) [1] http://elinux.org/BeagleBone_PRU_Notes
50.
▲
by
_paulc
12y ago
This looks somewhat like the concept behind a fresnel zone plate [1] - in general these are highly dispersive (only work at one frequency) so it looks like they have done something to address this. Many (30+) years ago my final year project
51.
▲
by
_paulc
12y ago
I think that a lot of this depends on whether you want to run a desktop or server - a lot of comparisons focus on how Linux/FreeBSD compare as a user workstation. To be honest I wouldn't recommend anyone use FreeBSD as a desktop&#
52.
▲
by
_paulc
12y ago
There are also some very old alternatives: https://www.freebsd.org/doc/handbook/jails.html
53.
▲
by
_paulc
12y ago
Ironically there were 42 comments when I opened this.
54.
▲
by
_paulc
12y ago
Long time since I did any optics but this basically just convolution. The impact at the output plane of dust/imperfections on the lens is (approximately) a 2D fourier transform of the dust/imperfections. If you have a single dust
55.
▲
by
_paulc
12y ago
I'm a big fan of removing dependencies and very partial to distributing single dependency free executables, but don't you just need to install all the shellfire dependencies instead of Python/Ruby etc. Appreciate that you can
56.
▲
by
_paulc
12y ago
Absolutely right - Perl 4 had a clear niche (text processing, UNIX system scripting etc) and did this very well. Perl 5 added so much cruft and ugly syntax on top of this in an attempt to try to become more 'general purpose' that
57.
▲
by
_paulc
12y ago
Or: python -c 'import random;w=open("/usr/share/dict/words").readlines();print " ".join([random.choice(w).strip() for _ in range(5)])'
58.
▲
by
_paulc
12y ago
Except that this is the opposite of my point - the libsodium repository is 9MB with 326 .c/.h files and c.25000 lines of code. Tweetnacl is 2 .c/.h files and c.1000 lines of code.
59.
▲
by
_paulc
12y ago
The easiest way to get round the slightly odd build environment for NaCl is to just use TweetNaCl ( http://tweetnacl.cr.yp.to/software.html ) which just requires you to drop a single .c/.h file into your project - this i
60.
▲
by
_paulc
12y ago
from __future__ import print_function import textwrap t = """ Hello there This is aligned """ # Need strip to get rid of extra NLs print(textwrap.dedent(t)
More ›