HN user

erikano

269 karma

Dear HN, please delete this account.

Posts56
Comments123
View on HN
www.red3d.com 10y ago

Steering Behaviors for Autonomous Characters (1999)

erikano
8pts1
news.ycombinator.com 11y ago

Show HN: A microblog hosted in DNS TXT records

erikano
5pts3
fabiensanglard.net 11y ago

Duke Nukem 3D Code Review (2013)

erikano
15pts3
www.indiegogo.com 11y ago

Let's produce MDMA and psychedelics

erikano
3pts1
forrst.com 12y ago

The Forrst is Growing Into Something New – A post from forrst

erikano
2pts0
erikano.authpad.com 13y ago

That time when I almost lost my LastPass password - erikano's Pad

erikano
1pts0
www.wired.com 14y ago

Apple Store Photos Lifted, Now Subject of New Art Exhibit

erikano
1pts0
www.solarwinds.com 15y ago

SolarWinds hosts Virtual Film Festival to celebrate two new products

erikano
1pts0
www.johnbenson.net 15y ago

How To Convert a SIM to a MicroSIM with a Meat Cleaver

erikano
42pts16
www.cleoag.ru 15y ago

Microsoft - kinecting people

erikano
1pts0
www.gamepron.com 15y ago

Optical Camouflage puts Kinect into stealth mode

erikano
1pts0
www.youtube.com 15y ago

[video] Axis 64 Midi Controller

erikano
1pts0
forums.explosm.net 15y ago

Explosm is looking for mobile app devs, says they prefer small indie devs

erikano
2pts0
www.youtube.com 15y ago

[video] Guy Builds his own Instrument and Plays Amazing songs.

erikano
10pts0
blogs.mcafee.com 15y ago

McAfee FileInsight - "integrated tool environment for web site + file analysis"

erikano
1pts0
www.zdnet.com 15y ago

Attack code published for unpatched Stuxnet vulnerability

erikano
3pts0
www.ping.uio.no 15y ago

Dear <blink>

erikano
1pts0
www.ping.uio.no 15y ago

Damn urxvt, You Scary (Fast)

erikano
3pts2
www.interactivefabrication.com 15y ago

Trace Modeler creates three-dimensional geometry from real-time video

erikano
2pts0
blogs.mcafee.com 15y ago

April Route Hijack: Sifting through the confusion

erikano
1pts0
www.wired.com 15y ago

Inside Foxconn City: A Vast Electronics Factory Under Suicide Scrutiny

erikano
22pts5
blogs.mcafee.com 15y ago

Missing Hotel Room Key? Try Your Phone

erikano
1pts0
nadiana.com 15y ago

Animated Terminal Progress Bar in Python

erikano
2pts0
www.youtube.com 15y ago

Hand vs. Liquid Nitrogen

erikano
1pts0
en.wikipedia.org 15y ago

Partial map of the Internet

erikano
1pts0
www.texasento.net 15y ago

Giant Spider Web in an East Texas State Park - 2007

erikano
1pts0
blog.acrossecurity.com 15y ago

Analysis Of The Microsoft Office 2010 Binary Planting Bugs

erikano
2pts1
www.pingbrigade.com 15y ago

Ping Brigade - measure how quickly your website loads from around the world

erikano
14pts14
www.vim.org 15y ago

GoogleReader.vim : vimscript for googlereader

erikano
2pts0
shifter.devloop.org.uk 15y ago

Window Shifter - move applications between networked computers

erikano
3pts0

Judging by the title, this book seems targeted at beginners. Nonetheless, I decided to buy it since I'm using Django in my current side project.

I have a question (not related to my side project). I maintain a list of my eBook library where I put the following information about the eBooks I have (data for this book in parentheses): Publisher (Leanpub), Title (Hello Web App), Authors (Tracy Osborn), Published (), Purchased (2015-07-08), Last known update (2015-05-08), Catalog Page (http://leanpub.com/hellowebapp), Read duration (). As you can see, I was unable to determine what to put in the Published field. I would like to have information for this on the form Month Year. Could someone -- preferably Tracy or a Leanpub employee -- tell me what to put there?

PS: If you'd like to see my eBook library list, you can find it at http://www.erikano.net/eBooks/purchased.htm. Note that some of the books at the bottom of the list are ones I am not so interested in reading any longer.

XQuartz might be of interest to you. It used to be included with OS X in older releases but is an external download now. http://xquartz.macosforge.org/

After you've installed it, you can test that it works by typing

    xeyes
in your terminal. That should show two googly eyes.

Then ssh to some other machine with X forwarding enabled. To do that, ensure the remote host has

    X11Forwarding yes
in
    /etc/ssh/sshd_config
then
    ssh -X example.com
Assuming the server has the necessary X11 libraries and xeyes is installed on the server, you can once again type
    xeyes
and you'll see the googly eyes again but what you are actually seeing is them running from the remote machine.

Hope this helps though I'm not sure it is quite what you're looking for.

(Personally, I use X forwarding very rarely, prefering the terminal for almost everything but browsing the web.)

Dead comment by user bombless. Reposting so Carol gets to see the comment (since she asked specifically for additional ways to find information) in case she doesn't have show dead on.

About the ‵mod′ keyword in ‵use′, if you ask it on IRC I'm sure many people including me would point you the relevant PR that was made around October. Nice article by the way.

It is currently a manual process.

This first entry I made by

    TZ=UTC echo $( date +%YT%T%z ). <message>
Which I copied to my clipboard and then manually created the TXT record for and then the CNAME.

Next time I want to add an entry, I will:

    expr $( host head.microblog.erikano.net \
            | egrep -o '[^ ]*$' | cut -d'.' -f1 ) + 1
To get the ID for the post to be made and then echo calling date as I did for the first post.

Had I still been hosting the DNS server myself, I would've turned this into a script and appended the entry as a TXT record directly and updated the CNAME to the new value using sed.

Actually, thank you for asking because I just realized what my next little project should be: Instead of the way I'm doing it now, I can selfhost a little DNS server which will be authorative over microblog.erikano.net while still hosting the DNS for the rest of erikano.net and my other domains where I have them now. The project will be written in Go since I have been wanting to make something in Go but didn't finish the other things I started writing in Go. I have no ETA for the microblog DNS selfhost server project because of work and current projects.

Hope I didn't misunderstand the question but if I did and you meant how to update the microblog when I'm out and about, the answer is I would need to use a web browser currently to manually update the records. When my own server has been written, I simply ssh to my VPS which hosts the server and run a cli tool I will name "mb" ("microblog") with my message as argument.

Never heard of that website, seems useful. Unless I am missing something, however, it seems that while the OpenBSD, NetBSD and DragonFlyBSD sources are up to date, the FreeBSD sources are out of date from 09-Dec-2013.

elgooG 11 years ago

Modern web browsers will complete from any start position in an URL (and some also from the title of the document, I think). E.g. if I have visited the Wikipedia article on irish setters and I start typing irish, it will suggest that article. In the same fashion, if the URL was com.example and you typed exa, it should suggest com.example.

For one of my repositories which I created in 2013 and then pretty much forgot about without having written any code, the license file is called COPYRIGHT instead of LICENSE because back then I thought back then that COPYRIGHT was a good name for the license file. Anyway, getting to the point:

1. While I personally have switched to naming my license files LICENSE rather than COPYRIGHT, I think others still do name their license file COPYRIGHT, so you might want to check for such a file as well (or is it github who should detect that?)

2. The link "Click here!" you provide leads me to https://github.com/erikano/pgviz/new/master where I am given a 404 by github. The reason being that I do not have a master branch in that repository but instead I have one called "devel".

3. I think you should change the link text from "Click here!" to "Put a license on it".

With that being said, I think the tool you wrote is nice and I also got a warm and fuzzy feeling from seeing that all the repositories it checked on my github returned "ISC" (aside from the one mentioned above and aside from the github pages repository which I have intentionally left without a license due to its special nature).

Off topic sidenote to anyone reading this: Most of my repositories are old I ideas I had but never executed on so they are mostly empty and almost none of them have any code. During late 2014 and most of this year, I have been working actively on two projects. None of those two are ready for use yet but there is code. One is saas-by-erik/timelog (written in C) and the other is erikano/django-timelog (Python/Django), both licensed under ISC. So if, for whatever reason, you are going to look at anything on my githubs, please look at those two. And if you feel like it, read the code and tell me where you think I'm doing something you think there is a better way to do, though note that the one I'm writing in C, I want to emphasize speed whereas for the one written in Python using Django, I currently do not worry about performance and will leave optimization of the latter (including queries eventually executed by PostgreSQL through Django) until a later point of the development. That being said, since I will optimize django-timelog at some point, if you do notice something in my code which is obviously killing performance, I will be happy for any issues reported where you tell me what you see. Sorry for this long off topic note but I felt I should add it, hope nobody is too bothered about it.

Blender is pretty good. I've only used it a few times but I agree that the UI seems to have improved quite a bit. I did find the interface modes a bit confusing at first (and I say that as someone whos primary text editor has been Vim for the last 5-6 years).

With so much functionality, where to find the things you are looking for can be a bit difficult. I think doing as you did and rebuilding your workflow around the tool is probably the best way to get productive.

Looks nice.

Off topic: Thank you for the link to the Custom New Tab addon -- been thinking I wanted something like that in my Firefox but hadn't thought to actually look it up. That addon doesn't seem to work for current Firefox on Android, unfortunately. Btw, your link to the addon in your README makes the page show in Finnish, you might want to change your link to point to the English URL.

I have a Wacom. Haven't used it for a while now but used to some years ago. The way I got used to drawing while looking at the monitor was that when I first got it, I spent a few days drawing only simple shapes like circles and boxes as well as trying to lift the pen and pick some other spot on the screen that I wanted to draw the next shape at. It was very hard in the beginning but got much easier fast.

Step one om this path is to stop subvocalization, saying words out loud in your head.

I've heard people say that before but I still don't understand how to do it.

I like alternative two, except that I'd have it be

    ssh <token>@<host> auth
This feels more natural to me and makes it easier to support other commands in the future should one wish to do so.

Regarding the part where he said:

Running a custom SSH server along side a web server is not convenient. There is no good equivalent to the HTTP Host header, so hosting multiple SSH servers on a single IP address doesn’t work well.

That's not a problem. Your server got the host header over HTTP. When you generate the token, just tie the token to that host name.

This appears to me to be correct. Found a file /usr/share/doc/sysv-rc/README.policy-rc.d.gz on my system where it says:

POLICY-RC.D Policy layer (/usr/sbin/policy-rc.d) interface:

Most Debian systems will not have this script as the need for a policy layer is not very common. Most people using chroot jails just need an one-line script which returns an exit status of 101 as the jailed /usr/sbin/policy-rc.d script.

I think, however, that the point that the parent comment was trying to make was that it'd be convenient if this was a switch to apt-get. After all, if you are just looking to install one additional daemon on a running system, it'd be a whole lot easier if you could:

# apt-get install --no-start-daemon example

than to have to activate a policy script which you might forget to remove or deactivate.

However, in the file I mentioned above, the next line says:

The /usr/sbin/policy-rc.d file must be managed through the alternatives system (/usr/sbin/update-alternatives) by any packages providing it.

So maybe one solution is to create your own script to manage it.

In fact, your script could even be a wrapper for apt-get. To be totally transparent in day-to-day use, you could then make apt-get be an alias for your wrapper script.

Your wrapper then:

1. Activates the policy.

2. Calls the real apt-get.

3. Deactivates the policy.

[...] copy all the APIs and create an independent alternative that lets you build apps that use features from Play Services, without tying your app to Google.

From http://en.wikipedia.org/wiki/Replicant_(operating_system) :

Replicant is a free and open source operating system based on the Android mobile platform, which aims to replace all proprietary Android components with their free software counterparts.

So I think that at some point maybe the Replicant guys might get to a point where they do what you are looking for, if they haven't already.

[T]ypically in a production context you have RAID for that, and failures tend to be for the entire disk[.]

Does QFS run in addition to other file systems on the storage nodes or does it manage disks directly? You see, I was thinking that maybe ZFS + QFS might be a good idea and would like to know if it's possible. Also, is QFS available for FreeBSD and/or SmartOS storage nodes and clients? How about CoreOS and Debian, are storage nodes and clients available for those?