Pages: 1 2
Hardmath123 wrote:
blob8108 wrote:
Hardmath123 wrote:
Email addresses are so complicated that most (sensible) people now recommend validating emails by simply checking they contain "@".
Or actually writing a script to send a dummy email and recording any error messages.
Yeah, that's the other one: just send them an email. That's what most sign-up forms do, of course.
Offline
blob8108 wrote:
Hardmath123 wrote:
I think regexes are really overkill for block-based programming
(\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b kind of overkill).
Have you seen the regex for validating email addresses according to the spec?
Yeah, i have.
Well, you've actually pretty much convinced me about Quartz. It does seem like a good idea to create a block-based graphical programming tool. So, i guess i'll have to do some more research into it. Do you know of any alternatives for Linux?
Offline
scimonster wrote:
blob8108 wrote:
Hardmath123 wrote:
I think regexes are really overkill for block-based programming
(\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b kind of overkill).
Have you seen the regex for validating email addresses according to the spec?Yeah, i have.
Well, you've actually pretty much convinced me about Quartz.
It does seem like a good idea to create a block-based graphical programming tool. So, i guess i'll have to do some more research into it. Do you know of any alternatives for Linux?
No, I'll have to look into it.
EDIT: No, sorry. If you want, I can make you a couple of screenshots for features you want to see (Quartz is on my mom's Mac, though, apparently it's not compatible with Lion...).
Last edited by Hardmath123 (2012-09-24 06:38:57)
Offline
If we're using functional programming, I can dig out my Scheme interpreter which parses and evaluates Scheme code in prefix notation. I have all the logic kinks and special forms worked out already, all we need to do is adapt it. It even has some rudimentary image processing:
(@import draw) (initcanvas) (define (graph title a b c) (list (clearcanvas) (setfc (color "black")) (drawtext title 70 5) (rect 10 150 10 (* a -100)) (rect 30 150 10 (* b -100)) (rect 50 150 10 (* c -100)) ) ) (graph "title" 1 0.5 0.2 0.1) (showcanvas)
produces
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAEd0lEQVR4nO3dIXBUVxiG4f/vRKQucSCpqyyyEhx1SCpbV4mtxVFHXSupo651RSLBFUcldcQl7lTszXBJk80NISTf8jwzmd3s7klOzDtnz71302OMAkjw2WVPAGApwQJiCBYQQ7CAGIIFxBAsIIZgATG2LnsCn6Lu/qqqblTVizHGP5c9H0hhhXVO3f2qu0d3f3eGYc+q6klVPbqgacFGEqw1unu7ux9295vu3jnm+Wu1WilVVd1bOq6q9qbbgw8/a9hcgrXe3aq6X1U7VbV99Mkxxr9V9bRW4flp6Tjg/djDWu/z2f3d7t6rqhpjHFStVlJjjNtnHbdEd39Zb2P38ixjYVNZYZ2gu+9W1S+zh/6uqv2qej17fn/avxrT96eOW/B7b3X3m2nc8+lrv7sfnvNPgniCdXYnrXROe+t36gppit1ftXorWfV2r6uq6n53/3H69GBzCdYJxhi/V9W3s4e+GGP0GOP67PmbZx13ku7ertWRw6pVqG6OMXarardW+2RVVXe6+9Z7/UGwAQRrvfmqaP+Y5086h+q0cce5M7t/a4zxoqpqjLF3ZJ/s2sKfBxtHsK6OebCez/bGRnfPP2Xxm489MbgqHCW8OuZHFtftkz3+CHOBK0mwrp69ae8KOMJbwstxeERxvpI6PAK4c3iKBPAuwVrv2ez+j1VV3X1juiTnPOOeT7d3pwuhq6r+nI150t3zS33udffr6UgifLIEa43p0pvDc6F+mDa/X1XVz9NjxwZkwbjD0xS2a7XBfmeMsVdV389+zOPZhvvjWh0ddLE0nzTBOt3X9f9N8IMjt0fvrx03xnhQVb/NHt+ZHv+1qm7XuyeMHnpaVQ8Wzxo2UPu/hMtM1/ZVVb2ZVlDnHjd9ksP1McbLY8bdqNUK7MBnZsGKYAExvCUEYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhAjK2lL+zuRf9xdYzR7z8dgJNZYQExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExti7rF3f3WPK6MUZf9FyADFZYQAzBAmIIFhBDsIAYggXEECwghmABMQQLiCFYQAzBAmIIFhBDsIAYggXEECwghmABMQQLiCFYQAzBAmIIFhBDsIAYggXEECwghmABMQQLiCFYQAzBAmIIFhBDsIAYggXE2LrsCXwo3T2WvG6M0Rc9F+BiWGEBMQQLiCFYQAzBAmIIFhBDsIAYggXEECwghmABMQQLiCFYQAzBAmIIFhBDsIAYggXEECwghmABMQQLiCFYQIz/AHZS1XcONGQLAAAAAElFTkSuQmCC
(copy all of it and paste it in your URL bar)
Last edited by Hardmath123 (2012-09-24 07:52:30)
Offline
That's very good.
Offline
Yeah, I'm really proud of my Scheme interpreter. It handles Lambda and recursion, too!
Offline
That looks pretty cool. I feel like i'd have to use Quartz, or something like it, to learn about its features.
Offline
Try watching some YouTube video tutorials.
Offline
Bump. Sci?
Offline
Sorry. life got in the way: I can't be too active over the next week. but i'll try to watch some videos about the usage. and use some similar programs: I found VVVV. which even has an online version::
Offline
scimonster wrote:
Sorry. life got in the way: I can't be too active over the next week. but i'll try to watch some videos about the usage. and use some similar programs: I found VVVV. which even has an online version::
Me too, I've got exams. Why don't we let this topic hibernate for two weeks?
Offline
Hardmath123 wrote:
scimonster wrote:
Sorry. life got in the way: I can't be too active over the next week. but i'll try to watch some videos about the usage. and use some similar programs: I found VVVV. which even has an online version::
Me too, I've got exams. Why don't we let this topic hibernate for two weeks?
You need to feed it lots of posts first to keep it warm...
Offline
Offline
Hardmath123 wrote:
Nice find. I was thinking of something similar.
Do you know the difference between VVVV and Quartz? Maybe you could use WINE, because VVVV is a Windows-only program.
Offline
VVVV looks gross to me. It's like Quartz, but it's nearly as cool to look at, and it's not nearly as intuitive. With quartz, you can drag and drop patches really quick, and it's much easier-looking to use. Besides that, since it's an Apple product, all the node connecters are beautiful bezier curved lines which are color-coded for error types. There are lots of 3D functions/transformations/built-in simulations, too. Here's some stuff about Quartz vs. VVVV, it's pretty definitive.
Offline
Pages: 1 2