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

comment 14y ago · link · parent

Click: http://www.coderegator.com/

comment 14y ago · link · parent

If they say no, I'd suggest Milles Bornes - a French card game from the 50s I used to play and love until I lost the cards back around the turn of the century :(

comment 14y ago · link · parent

I consider this to be a UX failure: visit page, adjust one slider, select something from a pop-up, re-adjust the same slider, and when I hit the Back button nothing happens. Click Back again, nothing happens. Long-click the Back button and see 20 or 25 entries for the site even though I never left the front page or obviously loaded new content.

If they dump the JS that obliterates my browser history that way, then I would agree that it is indeed slick.

34.

Python High Precision Timer Extension - cTimer(github.com ↗)

1 points · by Rust · 14y ago · discuss

comment 14y ago · link · parent

I wonder if GitHub Pages behind a CNAME record would work...

comment 14y ago · link · parent

Started with Applesoft BASIC and IntegerBASIC about 28 years ago personally, started getting paid professionally 21 years ago.

37.

Perfect hacking food?(shine.yahoo.com ↗)

2 points · by Rust · 14y ago · discuss

comment 14y ago · link · parent

You could look at Noostr (http://noostr.com/). It's been stalled for a while now, but will eventually see a 1.0 release :)

Big missing feature is paging...

Edit: It's a PHP app that uses MySQL.

comment 14y ago · link · parent

PHP is easy to learn and the documentation is extensive. But it is very easy to do things wrong in PHP, mostly because people learning PHP do a lot of copy/paste coding without really understanding the domain they're coding for (in this case, a web browser over the internet).

There are a lot of sites that give information on working with PHP correctly (including http://appwithphp.com/ and http://planet-php.net/), but expect to do a lot of reading and experimenting before getting it right.

I personally didn't care much for Perl as a web language, although it's great for system-level scripting.

I'd add Python to your list of potential languages too. I've been having a lot of fun with it lately :)

comment 14y ago · link · parent

PostBooks (http://www.xtuple.org/) is a fairly capable replacement for Quickbooks on OSX (and Win/*NIX), and has both OSS and Commercial versions.

GnuCash (http://www.gnucash.org/) is another I've used in the past and had good results with. It's more of a Quicken replacement than QuickBooks though.

comment 14y ago · link · parent

Update: after reading the article at http://www.matthewcompher.com/posts/trouble-with-semantics-t... , the writer used the ÷ as a line operator, not a natural division operation.

I would maintain that since this is not taught in any school I've ever attended, it is at least questionable. I've never seen a math textbook use the / symbol for natural division either.

comment 14y ago · link · parent

I might be remembering incorrectly, but 2x and 2(x) are totally different things in algebra.

2x would be expanded as (2 * x), whereas 2(x) expands as 2 * x.

In this case, since the equation is 2(1+2) which results in 2(3), it's final DMAS form is 6 ÷ 2 * 3 = 9, instead of 6 ÷ ( 2 * 3 ) = 1

comment 14y ago · link · parent

I enjoyed the bit at the end where the writer managed to use the wrong (IMO) formula to arrive at the correct answer.

Using BEDMAS as I was taught, so many moons ago:

6 ÷ 2 ( 1 + 2 )

6 ÷ 2 ( 3 )

6 ÷ 2 * 3 // because 2(3) is not an exponent or algebraic construct, it's straight multiplication

3 * 3 // division and multiplication are in left-to-right order, no precedence

9

44.

JQuery.cssMinMax Polyfill Plugin - CSS3 min() and max() today(github.com ↗)

2 points · by Rust · 14y ago · discuss

comment 14y ago · link · parent

I admit their licensing is stupid - why would I pay based on the number of developers I have working on my application?? It would make more sense to pay per-domain or per-site it's actually being deployed on.

That said, no, the price is too high for sure.

comment 14y ago · link · parent

Highcharts (http://www.highcharts.com/) is pretty darn good.

47.

Simple JS To Convert Color Strings(indyarmy.com ↗)

2 points · by Rust · 14y ago · discuss

comment 14y ago · link · parent

Just wanted to let you know I used your boilerplate for my first jQuery plugin recently - https://github.com/indyarmy/jQuery.awesomeCloud.plugin/

Thanks a lot, it saved me a pile o'trouble :)

comment 14y ago · link · parent

Direct to demo page: http://indyarmy.com/awesomeCloud/

50.

JQuery.awesomeCloud Word Cloud Plugin(github.com ↗)

1 points · by Rust · 14y ago · 1 comment

comment 14y ago · link · parent

Does the action call really say "while supplies last" when referencing a downloadable PDF file??

comment 14y ago · link · parent

It should be noted that the Java dev obviously over-designed the system, and that a different dev may have delivered something much more "keepable".

However, my experience over the last 20 years has shown me that this is pretty much the way of things - expert Java devs love making things complex by layering more complexity over things in order to make them simpler. Expert PHP devs tend to remove complexity and turn in far more intelligently organized code.

I've seen exceptions to both generalizations, but not very damn many. It's depressing.

comment 14y ago · link · parent

I am both a PHP and Java dev, and have found that PHP is far faster, leaner and more maintainable for websites than Java is.

The last hard-core (ie. expensive) Java dev we had working on one of our back-end projects turned in code that was so abstracted and made such heavy use of dependency injection, it was not only difficult to read through, but took over 30ms to respond to requests. Maintainability was a nightmare, mainly because by abstracting things so thoroughly he effectively (and inadvertently) made the platform so tightly coupled that changing low-level code became very difficult.

Our current hard-core (ie. affordable) PHP dev spent almost exactly the same number of hours re-implementing the Java system, retained the extensibility requirements, and the framework returns responses in about 1ms. We have extendable objects for everything (models, controller, extensions, etc.), but without the 5 to 10 layers of abstraction.

As an added benefit, with PHP we don't have to worry about recompiling every time a change is made (during development, at least), we aren't running any memory-hog VMs, and it's far easier to find good devs when we need them.

That said, PHP takes a lot of crap because of its low barriers to entry. It's easy to learn the basics, it's very easy to learn bad habits, and it's too easy to write insecure code. A good PHP dev knows how to write fast, secure code, but it is hard to figure out who is a "good" PHP dev and who is a "copy/paste" PHP dev.

54.

Show HN: Code Styles for Beginners(appwithphp.com ↗)

1 points · by Rust · 14y ago · discuss

comment 14y ago · link · parent

Clickers!

http://knowitapp.com/

http://knowitapp.com/jeff

http://knowitapp.com/nash

http://knowitapp.com/invite/hn

56.

Language Detection and Internationalization in PHP(appwithphp.com ↗)

2 points · by Rust · 14y ago · discuss

comment 14y ago · link · parent

Check out http://appwithphp.com/cryptography-and-php/ - it's a beginner/intermediate overview of how to implement one-way and two-way hashing/encryption in PHP. The concepts should be transferable to other languages though.

58.

Show HN: AppWithPHP - Straight, Simple PHP Articles for Everyone(appwithphp.com ↗)

6 points · by Rust · 14y ago · discuss

comment 14y ago · link · parent

Personally, I either code so the site doesn't care if "www" is there or not (watch your cookie domain though) or force a redirect to the non-"www" address (particularly when I don't want to purchase 2 SSL certs for a domain).

A couple of years a go I would have said to keep the "www" - it's a subdomain that refers specifically to the World Wide Web (or HTTP) address of a site, as opposed to the FTP or email services.

Nowadays, I prefer to either drop or ignore the "www" - if you're using an HTTP client to reach my domain, I'm going to go ahead and assume you want the website and not the FTP site. Intelligently named subdomains are good for organization :)

So either make both work, or redirect one to the other. It really doesn't matter very much either way.

60.

Ask HN: OAuth, OAuth2 or public/private key

1 points · by Rust · 14y ago · discuss

1234567