Better HN
topnewbestaskshowjobs
Log inSign up

Rust

281 karma · joined Mar 13, 2010 (16y ago) · 188 submissions

Starting up, what else :)

http://www.hackernewsers.com/users/Rust.html

Submissions

91.

Minimum Database Wrapper for PHP projects(github.com ↗)

1 points · by Rust · 15y ago · 5 comments

comment 15y ago · link · parent

We need a gateway MMOG engine. Something simple enough to get running so that the people who want to try their hand at creating a game can, and those who like it can move on (or upgrade?) to a more flexible and complex engine (larger worlds, more object, more interactions, etc.).

BASIC was the gateway drug that got a lot of us programming in more advanced languages. There is a space for the equivalent in MMOG engines too.

comment 15y ago · link · parent

Is there an actual video feed of this from anywhere? The http://astronomylive.com site is suspended and the http://astro.viten.no/english.htm appears to just be pictures.

comment 15y ago · link · parent

This took some effort, but one site I worked on a few years ago used neither technique (well, it did have context-sensitive help, but that's not "showing how"). For each help topic and FAQ, I created in-page, automated demonstrations with Javascript. Essentially, a big green "arrow" pointer and pre-recorded audio with on-screen captions showing exactly how to do something, while actually doing it on the site.

So the benefit of "showing" how to do something without the bandwidth required for video, far more engaging than straight text ("click here, type something, tap that, etc."), and slightly interactive (the user could, depending on what was being demonstrated, participate in the scripted events - imagine being shown how to enter keywords in a CMS).

I keep wondering if I should commercialize that sort of thing for other sites, actually...

comment 15y ago · link · parent

Well, since PHP will work with IIS (not to mention that Apache and MySQL both work on Windows, negating the need for IIS at all), is there a reason to switch? Joomla, Drupal and Wordpress all work well on Windows servers.

That said, Umbraco is interesting if you need something in the .net space. My few remaining Windows servers all run PHP through IIS or Apache, so I can't really recommend anything else.

96.

A Day Made of Glass - The Future of Ubuquitous Computing(youtube.com ↗)

1 points · by Rust · 15y ago · discuss

comment 15y ago · link · parent

I go about 45 minutes each direction on an average day. Sometimes (rarely) as quickly as 35 minutes, but about once a week it'll take between 90 and 110 minutes in one direction. So a good day means 1.5 hours, and a bad day is double that.

comment 15y ago · link · parent

Stupidity. I didn't RTFM. I wanted to copy a game from one disk to another. So I printed it out (it was in AppleSoft BASIC), then started typing it back into a new file on a new disk. Around page 5 zillion (often even having my parents read the code out loud while I typed it in), I realized that all I needed to do was LOAD the program, swap disks, and SAVE it. As it turns out, reading that much BASIC was enough to give me an understanding of it. Then came Apple ][ assembly language, COBOL, and my first game (a Choplifter clone, but with a fighter jet instead) around age 12. Since then, and like many others, I've self-taught whatever I needed to know.

comment 15y ago · link · parent

Too many: android app (JS + PhoneGap, not so bad); two FB apps; a CRM for small-to-medium music and dance schools; an online "object shortener" (like bit.ly for files - videos, music, images, Word docs, Excel sheets, PDFs, etc.) - upload once, view anywhere.

comment 15y ago · link · parent

Popcorn Hour A210 (or C200 if you don't mind it being a bit bigger). Plays virtually everything, has USB input, you can stick a hard drive (SSD or SATA) in it, works over the network with just about anything. http://www.popcornhour.com/onlinestore/index.php?pluginoptio...

comment 15y ago · link · parent

Is there an alternative to PHP that is as easy to setup? It seems that most languages require another server process running in the background (Tomcat, Ruby, etc.) and a web server to proxy requests. Is it old-fashioned to like the way Apache and PHP work together (and even nginx with PHP-FPM)?

comment 15y ago · link · parent

Clickers:

My Product: http://hotkeys.gameweaver.com/

Adobe's Product: http://www.photoshop.com/products/mobile/nav

HackerNews Post: http://news.ycombinator.com/item?id=1622890

comment 15y ago · link · parent

Holy crap, I had no idea that the way I work might actually be a medical condition.

In any case, I tend to work on 3 or 4 things at a time, and take a few days off a project when I need to. As long as I have the ability to switch-hit between at least three things, I generally keep up.

The down side is that I tend towards forgetfulness and disorganization - I have forgotten entire projects before (not for long, but long enough to be a problem).

I've quit jobs where I was working on something awesome, just because I couldn't work on something different.

Damn...

104.

Ideas Without Time/Money - How Can I Make Them Happen?

14 points · by Rust · 15y ago · 23 comments

comment 16y ago · link · parent

I've gone through http://www.merchant-accounts.ca/ in the past.

comment 16y ago · link · parent

While you're learning, remember that most tutorials are going to be slightly out of date (statistically speaking). Use the following guide to help find good resources (or to replace outdated sections).

MySQL functions = bad, PDO = good

die() = bad, throw new exception = good

$_GLOBALS = bad, bad and more bad

quoted SQL = bad, prepared statements = good (do not trust mysql_escape_string or any variant of it)

striptags() = bad, HTMLPurifier = good

And finally, for the confidence you need to start a project that's a little scary:

every other programmer = bad, you = damn good

Good luck! :)

[edited for spacing]

comment 16y ago · link · parent

For a simpler project, I usually start by building a basic library of classes/functions I know I'll need (for example, a database factory class and MySQL or PostgreSQL interface, helper functions for cleaning querystrings and form fields, etc.). Then I'll do a basic mockup of the front page and at least one or two internal pages (if they differ from the default page).

Finally I start building code out, starting with a very basic theme for the front end and concentrating on any security that needs to be in place.

Yes, I generally start from a blank slate each time, just using pieces of code I already have. I don't use frameworks or CSS grids.

comment 16y ago · link · parent

Getting a stable version of Noostr ready for release. Added multiple database options, plugin support, better themeing and pagination (big one) this release :)

comment 16y ago · link · parent

The 42Homes project provides free hosting to region-specific non-profits - http://42homes.com/

Like some others have said, WordPress with some plugins is probably the best bet. You could also look at Joomla, but it's quite a bit more advanced and might require a small amount of real training for them to be able to use effectively.

comment 16y ago · link · parent

Why? Despite his obvious lack of social charms, he is absolutely correct about Sencha (IMHO).

I don't like his attitude either, but the headline is accurate and the article (such as it is) is informative.

comment 16y ago · link · parent

I agree with your modification.

I haven't had the pleasure of experiencing an environment where a large, hard-coded IF block (or whatever) was preferred to a more stable, maintainable solution, so I can't comment on that.

But one of my clients has a brand new codebase written by an "expert" contractor that has all but killed the business. I call it "startup fail" and it's sad to see that stuff happen.

Especially when I saw it coming and warned the owner not to hire this particular guy. I suppose it's made me a little knee-jerky when I see code that he would almost certainly have written and been proud of.

comment 16y ago · link · parent

I'd much rather see code that might take an extra second or two to recognize than code that will need to be completely rewritten X times, constantly maintained, or is otherwise "stupid" (a technical term I use sometimes).

The example code is exactly the type of thing that would raise my hackles - only a really, really bad developer would write that. It's not only easier to write it correctly, but faster.

comment 16y ago · link · parent

http://jitrinc.com/

comment 16y ago · link · parent

It's funny - the writer thinks that something that costs $2500 and is sold for $5000 has a 50% mark up.

Actually, not so funny...

comment 16y ago · link · parent

Clicks:

http://HueCubed.com

http://PMPrepFlashcards.com

http://K12Flashcards.com

116.

Tron Lightcycles for Auction - Only 5 Being Built(cgi.ebay.com ↗)

1 points · by Rust · 16y ago · discuss

comment 16y ago · link · parent

I'll admit the website is pretty, but given the poor level of content editing on the site, I have no trust for the framework itself. The code sample (and documentation quality) on the ORM page is pretty clear.

comment 16y ago · link · parent

Yes, MP4, with h.264 inside. I don't remember the exact settings offhand, but we were just using x264 and ffmpeg to convert files.

comment 16y ago · link · parent

With my last client, we found that the proper encoding of a video to h.264 would work equally well as a Flash streaming file, iPhone/iPod/iPad video link, Android video link, and <video> tag source (in browsers that support h.264 - use OGG for Firefox).

Realistically, given the different resolution, something like 480x360 (4:3) for mobile devices and 720x480 for browsers is fine for standard definition video.

comment 16y ago · link · parent

What you need is to hire a contractor/consultant with experience in that specific area of scalable content/knowledge delivery and conversion.

I am that consultant and contractor - my last contract position was with a company that has a platform for delivering live and on-demand video to hundreds of thousands of simultaneous viewers, worked on all platforms, and would convert virtually any audio/video file into the necessary formats for streaming and downloading automatically.

Over three years there, their installed client base increased by an order of magnitude, the transcoding service is now being marketed as a separate product, and I'm looking for more work to fill up my time.

So my advice is to hire a consultant, and my other advice is to hire me :)

1234567