Hacker Newsnew | past | comments | ask | show | jobs | submit | mpthrapp's commentslogin

If you're interested in a student's perspective on a Sudbury school, I went to/help to found one from 7 to 16. My email is my username at gmail if you have any questions.


I met my current girlfriend on Tinder. We've been together a year as of the end of this month.

I had tried OkCupid as well and had no luck, though I'm not sure that was the fault of the site.


I'm pretty sure Tinder and OkCupid and the like have just slightly different results statistically as any other form of dating.

Because of the efficiency and availability there is a chance of more misses and people not taking it as seriously, but overall I think it would be foolish to say real relationships cannot be developed by these sites.

Best of luck to you both.


all the good luck to you & your relationship ;)


As someone who is currently "In Love With Python", I'm curious what other languages you recommend? I'm always looking to learn new stuff.


Depends on what you want to do.

Go is a fairly strong candidate for a straight up replacement for Python, but there will be a lot of newer things to learn with regards to using a compiled language without a repl, and the lack of traditional polymorphism.

Another good one is any kind of functional language, be it Haskell, Clojure, or OCaml. Learning how to think functionally will help your Python code quite a bit.

At some point in the future, Rust would be a good one to put on your list, but I don't believe that it is in a great place right now. It's getting better, but I don't feel that it's ready yet for production development. I think Mozilla can get away with it because they own the minds who are developing the language, and as such can hit the moving target which Rust currently is.


I'm not quite sure what I want to do, other than I don't want to do front-end development.

The other language I have any experience in is Delphi, which is a compiled language.

I have heard a lot of good things about Go, maybe I'll give that a shot.

I'd love to learn a functional language. I've looked at Haskell, and ouch. As someone with no formalized CS training, a lot of the type theory stuff goes right over my head. Is there a less crazy functional language you would recommend?

Yeah, I've looked a little at Rust, and it looks like it'll be interesting in a couple years.


> Is there a less crazy functional language you would recommend?

Clojure. It's a well supported and documented dialect of Lisp, which is a fundamentally functional language (though not purely functional), implemented on a platform that just about everyone has access to: the JVM.

The more you can minimize your use of the dot operator (which implicitly means minimizing your dependence on Java libraries), the more you'll learn about functional programming.


Alright, thanks. I'll give Clojure a shot at some point. I've played around with lisp a tiny bit in the context of reading SCIP, but that's about it.


You might want to look at Haskell again and not read too much into the type theory stuff at first, but learn how to use common monads, functors, etc.

Here's some code that might be convincing and understandable (correct me if I'm wrong!):

From a not quite yet ready to release everywhere web scraping library of mine in Haskell:

    main = runScraper $ do
        get "https://www.paypal.com/login"
    
        postToForm (Name "login_form") (Just creds) AllVisible
    
        get "https://www.paypal.com/myaccount/home"
    
        cursor <- liftM (fromMaybe (error "Couldn't get cursor")) getCurrentCursor
        liftIO . putStrLn $ "Your Paypal balance is: " <> getPaypalBalance cursor
    
      where creds =  [ ("login_email", "[email protected]") -- put your credentials here
                     , ("login_password", "password")]
An example of using lenses and imperative programming to create pong[0]:

    -- Update the paddles
    updatePaddles :: Float -> State Pong ()
    updatePaddles time = do
      p <- get
    
      let paddleMovement = time * paddleSpeed
          keyPressed key = p^.keys.contains (SpecialKey key)
    
      -- Update the player's paddle based on keys
      when (keyPressed KeyUp)   $ paddle1 += paddleMovement
      when (keyPressed KeyDown) $ paddle1 -= paddleMovement
    
      -- Calculate the optimal position
      let optimal = hitPos (p^.ballPos) (p^.ballSpeed)
          acc     = accuracy p
          target  = optimal * acc + (p^.ballPos._y) * (1 - acc)
          dist    = target - p^.paddle2
    
      -- Move the CPU's paddle towards this optimal position as needed
      when (abs dist > paddleHeight/3) $
        case compare dist 0 of
          GT -> paddle2 += paddleMovement
          LT -> paddle2 -= paddleMovement
          _  -> return ()
    
      -- Make sure both paddles don't leave the playing area
      paddle1 %= clamp (paddleHeight/2)
      paddle2 %= clamp (paddleHeight/2)
From "Program imperatively using Haskell lenses"[1]:

    battle :: StateT Game IO ()
    battle = do
        -- Charge!
        forM_ ["Take that!", "and that!", "and that!"] $ \taunt -> do
            lift $ putStrLn taunt
            strike
    
        -- The dragon awakes!
        fireBreath (Point 0.5 1.5)
        
        replicateM_ 3 $ do
            -- The better part of valor
            retreat
    
            -- Boss chases them
            zoom (boss.position) $ do
                x += 10
                y += 10


This is my first contribution to OSS.

Figured I'd share it here and see if it was helpful for anyone.

Also, I welcome any and all pieces of constructive criticism.


I've always liked "Wrapped up like a douche" (Revved up like a deuce) in Blinded by the Light.


I always heard it as "ripped off like a douche," which sounded very indecent, even though it makes no sense at all. Yes, "Blinded by the Light" as performed by Manfred Mann's Earth Band is my all-time longest-misheard song. I finally looked up the lyrics. "Revved up like a deuce" doesn't mean anything to me, which is why I never heard the song that way, but now at least I know what the songwriter (Bruce Springsteen) intended.

https://en.wikipedia.org/wiki/Blinded_by_the_Light


A "deuce" was a two-seater hot rod (cf. "Little Deuce Coupe" by the Beach Boys). I suppose it's now archaic slang. But I'm still puzzled, because Springsteen's original lyric is "cut loose like a deuce" and I have no idea what that means.


Here's a skit from an old Canadian comedy show about this song (apologies for the quality, but the original aired sometime in the early 90's I believe).

https://www.youtube.com/watch?v=U9_3nQFNy-w

Mark McKinney's (from Kids in the Hall) younger brother was part of this group. Every time I hear that song, I remember this skit.


"Wrapped up like a douche. Another boner in the night."


Yeah that one always throws me and I always forget to look up what it's supposed to be and then when I hear it again I forget, repeat.

By the way I will forget this comment too.


As someone who went to a Sudbury school as a child, I highly recommend at least giving it a look.


I will. It looks like my local chapter has been very successful and has had to move three times to larger accommodations. I have read their list of rules and it definitely reads as though children voted for them, but they are very sensible. I look forward to visiting next year!


Do you mind if I ask where you're from? That sounds like the one I went to. Also, my email is on my profile if you have any questions.


I'd prefer not to disclose publicly, but your email is not actually in your profile. You can email my throwaway, mike.anon at hotmail dot com.


I went to one (not the one in MA, but one of the bigger ones) as a child and I highly recommend the model.


If I can evangelize for a sec, I went to a Sudbury[1] school and I would highly recommend it. It's a very free environment and, as someone who is fairly self-motivated, it was amazingly helpful for me. There aren't a ton of locations, but if there's one near you, I'd recommend at least checking it out.

[1]https://en.wikipedia.org/wiki/Sudbury_school


I still use ADO and ODBC (oh, and the BDE, remember that one?) on a regular basis. I wish I didn't, but I do.


Raises hand, still have a VM with Delphi 7 that is opened once a week or so....


Only once a week? Can I have your job, please? I get to use that and 5 on a daily basis.


Anyone know if there's a way to find out if my phone (HTC One M8) will be able to upgrade to 5?


it is a 2014 HTC flagship. There are 99.9% chances that it will get a rapid update.


Rumours are HTC One will get an upgrade in the next 90 days:

http://www.phonearena.com/news/When-is-my-phone-getting-the-...

Wondering if my HTC One Google Edition will get the update sooner..


Yes, per HTC:

> We will begin rolling out updates to the HTC One (M8) and HTC One (M7) worldwide within 90 days of receiving final software from Google, followed shortly thereafter by other One family members and select devices.


Awesome, thanks.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: