Better HN
topnewbestaskshowjobs
Log inSign up

Scriptor

1,852 karma · joined Nov 10, 2008 (18y ago) · 533 submissions

Github: http://github.com/Scriptor
Submissions

331.

The only four types of classes an OO system needs(naildrivin5.com ↗)

1 points · by Scriptor · 16y ago · discuss

comment 16y ago · link · parent

HN is still supposed to have a fairly narrow range of topics. With the userbase growing so quickly, a lot of people may not read the guidelines and the content could start spilling into subjects not really meant for HN. In that case, I think just educating people about what should and probably shouldn't be here isn't bad.

comment 16y ago · link · parent

Does anyone have the link for the page where the guy categorized all the Ask HN posts?

comment 16y ago · link · parent

I was trying to describe how people who attack him think of him. Also, by "average joe schmoe" I meant someone who, among other things, hasn't published an entire book.

comment 16y ago · link · parent

I'd say it's not worthwhile to write about programming if people already have high expectations for you. Spolsky is definitely well-known and some people probably view him as somewhat full of himself, so they like to pick out anything that might hurt his image.

For the average joe schmoe programmer, people don't have such expectations, so there is far less negative reaction. Also, personality does play a huge role. Someone who doesn't seem too aloof and distant from other people will be better off (take _why for example).

comment 16y ago · link · parent

Ok, I didn't mean for my comment to seem a bit snarky, which I think it did. He made some valid points and I just wanted to see the discussion continue.

comment 16y ago · link · parent

Why not directly reply to them? It's less likely they'll read this here.

comment 16y ago · link · parent

The only problem with their review system is that paid reviews can skew things. Still, I find that just reading a good sample (especially the negative reviews) and seeing if the points brought up in them pertain to me works very well.

comment 16y ago · link · parent

His point still stands, Google Product is pretty much exactly what you described, so what would convince me to use your service instead?

As for frameworks, I don't think there's a ready-made package for what you need. You'll have to harvest the data and build the site yourself.

comment 16y ago · link · parent

I think Google Products (http://www.google.com/products?hl=en) is pretty similar to what you're looking for. I'm not sure if you can purchase the products through it.

341.

Factor (language) 0.92 released(factor-language.blogspot.com ↗)

3 points · by Scriptor · 16y ago · discuss

comment 16y ago · link · parent

I once alluded to something on IRC that I'd submitted here. Granted, I didn't directly link to anything and they found it themselves, it still felt like cheating a little.

Either way, the post only started to get a significant number of points after the first couple of outside votes brought it somewhere in the frontpage.

comment 16y ago · link · parent

Very true, I think Ruby's metaprogramming is an example of the kind of strong feature you were talking about. I don't use Ruby, but I remember reading about it in the Poignant Guide and being really impressed at how it can make code look very different, basically one way to make a DSL.

comment 16y ago · link · parent

Except this is not just a rookie mistake. Turning something in late because you're still getting your bearings is a mistake. He knowingly misled anyone who read his posts. Maybe if he was offered a bribe it would be more understandable, he could have just thought of it as an extra gift and not be completely familiar with the legal implications.

But he knowingly asked for a bribe in return for writing a post. His actions shows an actual personality flaw, not inexperience.

I think it's a fair trade-off, a young person is given the chance to take on an important role while being expected to show a certain level of maturity.

comment 16y ago · link · parent

It's pretty funny what he's actually putting in that page. I just learned that he writes "Object Oriented PHP", regularly writes SQL queries, and is one of those innovative people to use HTML/CSS/JS to make web pages.

comment 16y ago · link · parent

I wouldn't say that anyone posting about anything is a great thing about the web. Finding good information more easily is an advantage.

"without knowing more about anything than some guy named Guido?"

That's an exaggeration and it doesn't bring the discussion anywhere. It's very well possible to post a good analysis of a language without "knowing as much as Guido." In this case, experience with languages other than PHP and Java would help.

Anyone can talk about why they don't like something (even though a lot of the reasons he mentioned have been refuted here). What's so annoying about this person is the fluffy bullshit (ex: "it completely destroyed its potential.")

You can't confuse not impressing you in the meager amount of time you spent working with it and complete failure.

comment 16y ago · link · parent

Netbooks, which are basically the same price or cheaper, can do the same as the above and are much less locked in. More immediately, they also have Flash support, multitasking, and USB ports.

People still need more heavy-duty computers to do those other things as well as for non-leisure stuff. The advantage of an iPhone was that it was extremely portable and you could just pull it out on the bus to pass the time.

The iPad is barely more portable than a laptop, and much less functional. I guess reliability of the machine is greater since it's so stripped down. Other than that, I don't see what's so special.

comment 16y ago · link · parent

That just means a device for people who have very few technical skills will need a near-constant and perfectly working internet connection to be passably useful.

comment 16y ago · link · parent

It's to comply with US laws that state that nothing can be 'exported' to the aforementioned countries. In this case, software downloads are considered exports.

comment 16y ago · link · parent

I like to think that somewhere in some obscure part of the open source world, he's back. Under a new name, probably, but he's still back, quietly working by himself and churning out some awesome code.

comment 16y ago · link · parent

Right now I certainly wouldn't use it for any large projects. It's a pain to debug so it's really a tradeoff between better syntax and features and problems in the development cycle. Making the output code nicely formatted helps greatly.

The debugging problem can also be lessened by keeping each file small, so that syntax errors are easier to localize. In the future, it's possible that I'll make a debugging system that can read the PHP errors and find the Pharen code responsible for it.

comment 16y ago · link · parent

The Internet could be very useful as a way to connect and find relatives and nearby aid, as well as information in general. If there was a major earthquake where I live and I still could get online, you could bet that I'd use this to find out as much as possible about the situation.

The graph is evidence of the complete breakdown of infrastructure in Haiti.

comment 16y ago · link · parent

Looking at CoffeeScript was definitely an inspiration to pick up the pace on Pharen. :)

I'm actually a student in New York but can't be there Thursday. Will you be giving this talk at any other events?

comment 16y ago · link · parent

Thanks for the suggestions.

1. Pretty likely, though I'm a little hesitant to replace the current syntax for if. The others shouldn't be hard to implement.

2. I've been planning to use the vector literal syntax. I've basically been lazy since PHP's array() construct makes it easy to cheat.

3. Indexing into arrays presents a problem. Pharen doesn't know what's a scalar, array, or function name at the moment so a special function for indexing is needed. One possible solution is to prefix an array's name, so it would be (:some_array 4) or something similar. I personally think the superglobal syntax is cleaner, if not more succinct. Any suggestions?

4. I haven't implemented an object system yet because I want to try something new here instead of simply copying PHP's syntax.

comment 16y ago · link · parent

Done! http://github.com/Scriptor/pharen/tree/master/pastebin/

Note that html.phn, which contains a few simple html-element functions, should be compiled before the pastebin works.

comment 16y ago · link · parent

This was very much a learning experience and I'm sure there will be lots in the code that isn't done properly. If you find something wrong, please let me know!

Pharen was also started to eventually abstract out things I don't like about PHP's syntax, and maybe add some new ones. It's not meant as a competitor to other lisps!

Some special features are micros (closer to C macros than true Lisp macros) and partials (partial evaluation). Documentation for those can be found near the end of the linked page.

It is by no means close to completion. Although lisp should be entirely expression-based, parts of Pharen can't really be used as expressions yet (namely conditionals). Closely related is that returning something other than the last expression in a function has to be done manually.

Any questions, glaring (or subtle) problems, or suggestions you have are definitely welcome.

357.

Pharen: A lispy language that compiles to PHP(github.com ↗)

45 points · by Scriptor · 16y ago · 15 comments

comment 16y ago · link · parent

Sounds like the bystander effect's influence on the web. A difference is that the requester is contacting others directly, not passively waiting for help. I guess the mentality of being a small part of a crowd is the most important factor in the effect.

comment 16y ago · link · parent

But it was acted out long before then. :)

Many of Shakespeare's works only entered written form after he died.

1
111213
18