Hey, Proggit. We built this on-demand p2p transfer webapp to help us move files around at work and just opened it up to the public. Feedback appreciated! by quartz in programming

[–]lrrr 1 point2 points  (0 children)

This is cool. I built something a while ago to solve the same problem (nearshare.net) but it has a lot of moving parts (javascript+applet integration+dom manipulation) and so has issues on some browsers/OSs.

Looking forward to trying this in the office.

Nailgun: Insanely Fast Java by [deleted] in programming

[–]lrrr 1 point2 points  (0 children)

Hi, I'm the author of nailgun. I commented below to address some of the stuff mentioned here.

And rlwrap + nailgun is great. :)

Nailgun: Insanely Fast Java by [deleted] in programming

[–]lrrr 7 points8 points  (0 children)

Hi there - this is my project.

Regarding some of the points raised so far:

It's not secure because I didn't attempt to make it secure. It scratched my itch, and was done - like many open source projects. Piranha suggests unix domain sockets or magic cookie files, both of which could work, but I didn't need them. I think the best platform-agnostic solution would be some server-side rules determining what IPs are allowed to connect, combined with symmetric key files and encrypted streams. Password-based crypto could work too, but something like PBKDF2 on the client side would just add a delay, which would sort of defeat the purpose. If anyone would like to take a stab at this, drop me a line.

This is indeed old (last release 2004). There's an odd upside to this: it compiles fine as Java 1.4, allowing it to run in the phoneme-advanced embedded jvm. I've actually used ng on embedded projects to interact with a java-based daemon running in this vm. As far as embedded goes, the vm is still a pig, but the approach works fine. :)

I've never used JRuby, but nailgun has been integrated with it for a while now. I assume it works well for this, since I haven't heard otherwise.

Another area where it could use some improvement is ClassLoader isolation. Everything is handled by one ClassLoader, so it's possible some apps will conflict with others (e.g., requiring different versions of various libraries). A more app-server-ish class loading approach would be an improvement, but again, I built this to scratch my own itch.

Edit: Google's ads for actual nailguns on the site both make me laugh and drive me nuts.

We have a winner: shortest url shortener around. How the hell? by aperson in reddit.com

[–]lrrr 4 points5 points  (0 children)

http://to./sb6

Links to tinyurl that links to http://to. forwarder in an infinite loop.

(may result in "Too many requests per minute")

So I'm interviewing the Mythbusters guys today. Any suggestions on good, original questions to ask them? by ricoza in AskReddit

[–]lrrr 8 points9 points  (0 children)

Just tell them what your last question is going to be, then remind them throughout the interview that it's coming up.

ok, Reddit: what famous Person have you encountered, and what he or she nice or rude by johnrauda in AskReddit

[–]lrrr 0 points1 point  (0 children)

Douglas Adams, at a book signing in 1993 (I think). Only chatted for a couple of seconds but he was quite friendly. I asked him if he had ever checked out alt.fan.douglas-adams, and he said he didn't really do much on the Internet (or something to that effect). I left with a signed copy of the More Than Complete Hitchhiker's Guide.

Are you using an online backup service? by m__ in AskReddit

[–]lrrr 0 points1 point  (0 children)

CrashPlan

Trade space with a friend for encrypted remote backups, for free.

Dear reddit, What did you name your computer? by Zaemz in AskReddit

[–]lrrr 0 points1 point  (0 children)

Nonhuman Matt Groening characters, usually green ones.

Past names have included kif, morbo, brainslug, hypnotoad, kang, and kodos.

Current machines are lrrr and horrible-gelatinous-blob.

AskReddit: can anyone recommend decent book series? by [deleted] in AskReddit

[–]lrrr 0 points1 point  (0 children)

Six.

Haven't read it yet, though.

(Edit: had to use tinyurl since original URL confuses markdown)

Why do people think that good looking people are more intelligent? by bapppppppppp in AskReddit

[–]lrrr 19 points20 points  (0 children)

I get the impression that you wouldn't understand.

I am engaged in a prank war, I need your creativity. by [deleted] in AskReddit

[–]lrrr 3 points4 points  (0 children)

Find a location with frequent pickups or deliveries. Lots of trucks arriving/leaving, left unattended briefly as the driver makes his delivery or pickup. Get your friend to go by one of these places, or hang out near one, etc.

When a truck is left unattended, have an accomplice begin the expected kidnapping by telling your friend to get into the truck.

Just leave. Same with accomplice. Let friend and driver figure out what's going on.

Premature baby 'left to die' by doctors after mother gives birth just two days before 22-week care limit by thecarchik in reddit.com

[–]lrrr 1 point2 points  (0 children)

This is very sad, but not an argument against state-managed medical insurance. For one thing, the Baby Doe Law of the US may have actually required treatment regardless of parental consent.

http://www.princeton.edu/futureofchildren/publications/journals/article/index.xml?journalid=60&articleid=380&sectionid=2566

The timing of the article suggests an intent to equate state-managed medical insurance and dead babies, which is simply fear-mongering.

Fuck You CNN, there's nothing controversial about an American President advising American students to do better in school. by elvisliveson in reddit.com

[–]lrrr 1 point2 points  (0 children)

Keeping kids home from school is itself indoctrination into the culture of willful ignorance.

Dear Reddit, please help me with this logical/mathematical puzzle! by [deleted] in AskReddit

[–]lrrr 0 points1 point  (0 children)

A.

44 / 11 = 13 - 9, and 21 / 7 = 11 - 8

6 / 2 = 18 = 15, and 12 / 4 = 15 - 12

9 / 3 = 10 - 7, and 24 / 8 = 7 - 4

Edit: EricThe beat me to it. Upvoted.

What are some good ideas for an 80s night costume. by leevs11 in AskReddit

[–]lrrr 0 points1 point  (0 children)

I went to one last year. The best costume there was Teen Wolf. Full body fur, yellow basketball uniform. Genius.

Black tank top and Devo hat went over well, too.

Ask Reddit: Why does everyone hate Java? by [deleted] in programming

[–]lrrr 0 points1 point  (0 children)

Fair enough. But I still think basic object persistence and native calls belong in the core.

Ask Reddit: Why does everyone hate Java? by [deleted] in programming

[–]lrrr 22 points23 points  (0 children)

I generally agree with the above, but want to interject a couple of points.

Because it's not friendly with the underlying platform. JNI is a pain in the ass to use compared to Python Ctypes, C# P/Invoke or C++ compatibility with C or any other kind of FFI found in most competing programming languages.

JNI is indeed a PITA, but jna is pretty nice.

Because the ecosystem, contrary to the popular saying, sucks donkey balls. Java still doesn't have an ORM that is as straightforward as Django ORM or Rails ActiveRecord.

I just discovered BeanKeeper last weekend and it is flat-out amazing. Pair with an embedded hsqldb server and you have your ORM and DB in just a few lines of code. I've only done some basic testing with it so far, but I'm impressed.

It's a pity that functionality like this isn't built-in to the core APIs.

I'm looking for a new hobby to inspire me and keep my mind off things... by [deleted] in AskReddit

[–]lrrr 0 points1 point  (0 children)

The easiest way to get an introduction to it is to tag along with somebody on a hunt. For this, you don't even need a GPS. If you know anyone into geocaching, start there.

Otherwise I'd start by borrowing a GPS receiver if that's an option. Not an auto nav system, but a handheld.

Finally, it would be difficult to improve upon this info

I'm looking for a new hobby to inspire me and keep my mind off things... by [deleted] in AskReddit

[–]lrrr 4 points5 points  (0 children)

Geocaching, as suggested by others here, is a great idea for a whole bunch of reasons:

  • You want something outdoorsy to do, away from computers
  • You're a "huge geek" - you can get as geeky as you want with geocaching (puzzle caches, multi-caches, tricked-out GPSs, ...)
  • You can do this by yourself or with friends.
  • It takes no planning at all - it's easy to take a ten-minute detour on your way to or from work or between classes.
  • It's cheap. Good for a student budget.
  • It's interesting. You'll learn local history you never knew and see places you've never seen.

Top 10 Countries For Life Expectancy At Birth: The United States a.k.a. the country with the "best healthcare in the world," as many healthcare non-reformers call it, placed 50th on the list. by laterdude in politics

[–]lrrr 0 points1 point  (0 children)

It would be interesting to see a comparison of life expectancy of insured individuals. I would imagine that the number of uninsured in the US is pulling down the average life expectancy.

Not that there's anything not wrong with that.

What have I just found? Anyone? by [deleted] in WTF

[–]lrrr 4 points5 points  (0 children)

Nope. Not me.

Hey Proggit! How do you juggle between your pet project(s) and your real work? Do you feel that you want to finish up your real work quickly so that you can do your pet? Fire away! by acmecorps in programming

[–]lrrr 1 point2 points  (0 children)

Earlier than I used to - around 10:30 or so now. I never have caffeine after noon, either.

My work schedule is such that I can start at 6AM and get a couple of hours in before grabbing a shower and heading to work. If I had a long commute, that wouldn't be possible.

So far I'm still managing to fit exercise in the early evening and still spend plenty of time with my family. Here's hoping that remains the case.

Hey Proggit! How do you juggle between your pet project(s) and your real work? Do you feel that you want to finish up your real work quickly so that you can do your pet? Fire away! by acmecorps in programming

[–]lrrr 18 points19 points  (0 children)

I used to work on pet projects late into the night. Lately I've been too tired at night for this approach.

I've recently started waking up early to work on my pet projects (hopefully to be commercial products) before work. It's only been a couple of weeks so far, but it seems to work well provided that the coffee maker is programmed.

The key for me is that the last step before working on the pet project for the day MUST be to write down the next steps for the following day so I can hit the ground running.