News for hackers. Stuff that matters.

typedweb

It's a git repo and it's GPL so I might move it over to GitHub when I get a chance.
Re:Is there a simple algorithm for intelligence? on Friday July 10, 2015 @11:36AM (#9864522)
> humans are the stupidest possible creatures that can build a civilization

Many insects have quite elaborate 'civilizations' or at least colonies, and it's doubtful that each individual bug is very intelligent.

Here's a quick (ambient) sample I did with it last night with abridged source code in the song comment:

    https://soundcloud.com/kruhft/incudine1
Re:Scheme 9 interpreter ported to Plan 9 (again) on Saturday July 04, 2015 @12:29PM (#9830632)
A file is an object that supports the methods open(), read(), write(), and a few others. That's about a generic as you can get.
Re:Atom 1.0 on Thursday June 25, 2015 @04:16PM (#9780634)
Both emacs keybinding emulation packages are sub-optimal. One misses C-p, the other misses C-e, both basic editor movement commands. Not impressed.
Re:Palaver – Idle Random Chat on Monday June 22, 2015 @12:53AM (#9756221)
New URL: palaverchat.herokuapp.com
Re:Palaver – Idle Random Chat on Saturday June 20, 2015 @01:36PM (#9750508)
No, just one on one for now. I was thinking of adding an option to pull in another random stranger, but that'll have to wait til tonite/tomorrow if I have the time.
Re:Palaver – Idle Random Chat on Saturday June 20, 2015 @12:51PM (#9750395)
Hi, author here. I made this site as and alternative to Omegle, correct. I was interested in finding some way of meeting new people and making connections, which seems to getting even more difficult in this short attention span, information overloaded world. So far, as an experiment, it's worked for me and a lot of interesting users have come online and I've had some really great conversations. If you have any questions about the site's motivation, just ask.

Oh, and I made it in node and jquery and about 2 hours.

People are less willing to borrow money to buy stocks at higher interest rates.
Re:Toronto Condos: Should you rent or buy? on Wednesday June 03, 2015 @01:26PM (#9654292)
Canada has a First Home Buyer tax credit of $5000, AFAIK.
Re:Where is the Modelling Software for 3D Printing? on Wednesday May 20, 2015 @03:16PM (#9578513)
AutoDesk has 123D Modeler[1]. I'm not sure which printers it works with, but it probably uses the Spark platform[2] for the actual print drivers.

    [1] http://www.123dapp.com/design
    [2] https://spark.autodesk.com/
Re:Why Lisp? on Thursday May 07, 2015 @05:59PM (#9508620)
I'm not quite sure how being able to extend syntax is a theoretical problem. It was just a basic example for brevity.

There are many more examples of macros that solve real world problems, such as writing a compiler for an embedded DSL that is tuned to solving your real problem that allows expressivity and brevity that you would never see without the use of macros.

Re:Why Lisp? on Thursday May 07, 2015 @04:47PM (#9508180)
How about syntactic extensions:

    (defmacro unless (test &body body)
      `(if (not ,test) ,@body))
Re:Why Lisp? on Thursday May 07, 2015 @04:44PM (#9508160)
A lisp macro is a code transformer run by the compiler using the full features of the language to generate code.

Macros allow for the arbitrary evaulation of it's arguments (rather than the standard left to right order before a function call), allowing you to do syntactic extensions without the added boilerplate that functional languages can require.

Essentially, each macro allows you to define a mini-language that is parsed by the compiler that returns code that is then compiled. It takes a while to groc, but once you do you can never really go back.

Re:I would have hired Doug, but... on Wednesday May 06, 2015 @04:07PM (#9501460)
Same with conditions and restarts.
Re:Writing Bug-Free C Code (1995) on Friday April 17, 2015 @11:35AM (#9394951)
D'oh. Guess I should read the article sometimes before I comment :)
Re:Writing Bug-Free C Code (1995) on Friday April 17, 2015 @10:09AM (#9394362)
The title reminds me of a book I used to have years ago called 'Writing Bug Free C Code for Windows'. It was a great and not windows specific all all, covering object systems and all the nooks and crannies of the language. It was on par with some of the Lisp books I have regarding coverage of language features. Highly recommended for those interested in what you can do with C, but I'm sure it's impossible to find these days.
Re:The State of Probabilistic Programming on Sunday April 12, 2015 @01:01PM (#9363950)
Probabilistic programming in Common Lisp:

https://github.com/nikodemus/screamer

Thanks for the info. I've done some research on competitors and I'm trying to find the correct pricing vs my costs for the system. This is my first web service so I'm really just trying to figure out all the details on something simple that I haven't seen provided yet and go from there. Hopefully some people will find it useful, but I realize I have to keep my pricing in check but my costs in balance.
The system I'm developing is a message passing system, so I've looked mostly at PubNub's pricing model to get the idea for a tiered system. Mine is going to be a lot smaller at the start and it's only me running it so I'm looking at the least hassle and maintenance for collecting fees.

Ask HN: Is Cost per Call (CPC) a Reasonable Way of Pricing for a REST SASS?

I'm developing a web service and have the idea of implementing charging for the service using a Cost Per Call (CPC) method, having the customer keep a monetary balance with the service to continue using it. Does this seem like a reasonable way of charging customers, or would they be more happy with a tiered (based on usage) monthly subscription model? Pluses and minuses of either pricing...

( Read More... | 6 comments | 3 points | on HN )
lose, not loose.

Older »