Hacker Newsnew | comments | show | ask | jobs | submit | minikomi's comments login

There's a boiling water pot in Japan which will send an sms to you when it's used - since making tea / miso soup is so integral to the lives of especially the elderly here. The idea is if you don't get your morning SMS from gradma's pot something might be up.

Edit : this is the pot http://www.mimamori.net/service/index.html


That's kind of clever.

Indeed. I have fun making little web apps which serve a small single purpose and can be run from a single script[0] - templating using response/xexpr with paredit is.. well.. fun! Speed isn't a problem since I cache the result behind nginx - these aren't mission critical apps.

[0] Tokyo Art Parties parsed out of Tokyo art beat events xml - https://github.com/minikomi/tokyoartparties-rkt/blob/master/...

-----


Things are progressing and I encourage you to have another look.

    $ lein new figwheel myproject
    $ cd myproject
    $ rlwrap lein figwheel

    Browse to http://localhost:3449
If you return to the terminal, you should have a connected REPL now running. Along with live code reloading on save of your cljs files.

-----


Maybe, but things progressed way further outside of CLJS space. If you told me this 2 years ago when I was in to it I would be jumping right on it - back when people were saying coffescript fixed JS problems :D

Right now JS has persistent datastructure libraries and TypeScript is a huge productivity boost - tooling is top notch - it makes JS manageable, once it gets async/await (which it should in the next couple of months) I'll be pretty happy with JS development story.

I'll miss some niceties like collection operations, homoiconicity and macros but on the other hand I have working optional type checking, excellent tooling and I don't have to code in AST serialization format with macros :D

-----


Interesting. Do you have a link to a very basic "get-started" in this space? Right now, figwheel / om or figwheel / reframe are very quick to get started with (although familiarity definitely plays a part..). Last time I looked at js there were 5 or 6 or so flux implementations competing for mindshare and I had to stumble my way through setting up a project with webpack / babel..

-----


Oh wow, that's a lot nicer than the last time I played with Clojure/ClojureScript. This plus Om makes me really want to play with it now.

-----


Solaris by Stanisław Lem. Well, maybe the loneliest might be a more accurate description.

-----


Also, when giving money - at for example a wedding, - it's a must to have very crisp bills.

-----


Lived in Japan for 8 years and have worked part time in cafes .. The training I got was to leave the money in the tray until you confer the change to the customer. It prevents things like "hang on! I gave you 5000 not 1000!" - the money paid stays in plain sight until the transaction is complete. Shop staff almost never put the money away before you get your change.

-----


I always assumed this was the main reason the trays are used. This, and the fact that either party can easily tip the tray into their hand to gather change, rather than picking up coins one by one or scooping them off the edge of the table.

Whenever Japan comes up people assume some matter of politeness is involved, but a lot of times the explanation is much simpler.

-----


A common analog in the U.S. Is to place the tender across the till dividers until the change is counted out, to prevent just such a scenario.

-----


I believe the penalties for stealing are severe in Japan. So anything that disambiguates who's money is whos is very important.

-----


Ah.. it's like .. smush equal neighbours together .. yeah, tricky to name!

-----


How about an in-row voxelperson or checkered flag, or something which indicates solved?

-----


I love this idea! I'll try to implement it..

-----


This was quite fun to write in racket:

    #lang racket
    
    (define (ten digits)
      (apply (compose string->number string-append)
             (map number->string digits)))
    
    (define (solve)
      (for* ([s                               (range 1 10)]
             [e (remove s                     (range 0 10))]
             [n (remove* (list s e)           (range 0 10))]
             [d (remove* (list s e n)         (range 0 10))]
             [m (remove* (list 0 s e n d)     (range 0 10))]
             [o (remove* (list s e n d m)     (range 0 10))]
             [r (remove* (list s e n d m o)   (range 0 10))]
             [y (remove* (list s e n d m o r) (range 0 10))]
             #:when (=   (+ (ten (list s e n d))
                            (ten (list m o r e)))
                          (ten (list m o n e y))))
        (displayln
         (format
          "     S E N D        ~a ~a ~a ~a~n +   M O R E    +   ~a ~a ~a ~a~n------------   ------------~n   M O N E Y      ~a ~a ~a ~a ~a"
          s e n d m o r e m o n e y))))
Excuse the ugly format line :)

    sendmore.rkt> (time (solve))
         S E N D        9 5 6 7
     +   M O R E    +   1 0 8 5
    ------------   ------------
       M O N E Y      1 0 6 5 2
    cpu time: 7124 real time: 7120 gc time: 80

-----


Ah, too late to edit, but using for*/first to terminate the first time it finds a match is faster still.

-----


Can you make it so after 100 people visit the site, it turns into an acquisition/"Our Incredible Journey" type message?

-----


Or a "5 things I learned" random post.

-----

More

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: