Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social), page 9

  1. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 23-Apr-2019 11:54:36 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    I am wondering if #Haskell is worth bothering with... I've just written some code to solve a problem in it. And the best solution I could devise was the functional equivalent of a "do while" loop.

    It was a solution to https://adventofcode.com/2018/day/10

    It goes around a loop modifying a List of points, until the area of the points bounding box reaches a local minimum.

    It just doesn't seem very functional. but I can't think of a better way to do this.

    https://git.coop/kat/aoc2018/blob/master/10.hs

    In conversation Tuesday, 23-Apr-2019 11:54:36 EDT from mastodon.social permalink
  2. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 23-Apr-2019 11:53:40 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
    • Deadly Headshot

    @dheadshot it was just one reporter, "formerly known as..." re Assange in the news

    In conversation Tuesday, 23-Apr-2019 11:53:40 EDT from mastodon.social permalink
  3. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 23-Apr-2019 11:40:28 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
    in reply to

    Is #Haskell worth bothering with ?

    In conversation Tuesday, 23-Apr-2019 11:40:28 EDT from mastodon.social permalink
  4. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 23-Apr-2019 11:39:24 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    I am wondering if #Haskell is worth bothering with... I've just written some code to solve a problem in it. And the best solution I could devise was the functional equivalent of a "do while" loop.

    It was a solution to https://adventofcode.com/2018/day/10

    It goes around a loop modifying a List of points, until the area of the points bounding box is a reaches a local minimum.

    It just doesn't seem very functional. but I can't think of a better way to do this.

    https://git.coop/kat/aoc2018/blob/master/10.hs

    In conversation Tuesday, 23-Apr-2019 11:39:24 EDT from mastodon.social permalink
  5. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Friday, 19-Apr-2019 13:28:53 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    I like straight guys. Just putting that out their.. in case there is any confusion

    In conversation Friday, 19-Apr-2019 13:28:53 EDT from mastodon.social permalink
  6. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Friday, 19-Apr-2019 09:50:53 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    #XR lol

    In conversation Friday, 19-Apr-2019 09:50:53 EDT from mastodon.social permalink
  7. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Friday, 19-Apr-2019 09:50:37 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    #XR

    In conversation Friday, 19-Apr-2019 09:50:37 EDT from mastodon.social permalink
  8. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Thursday, 18-Apr-2019 15:41:56 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
    • National Gorilla Suit Day

    @ItsTheManOnTheMoon imagine answering a call from someone who hasn't signal messaged before

    In conversation Thursday, 18-Apr-2019 15:41:56 EDT from mastodon.social permalink
  9. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Thursday, 18-Apr-2019 15:38:52 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    Cherry blossom by basketball court in inner city #sheffield

    In conversation Thursday, 18-Apr-2019 15:38:52 EDT from mastodon.social permalink
  10. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Thursday, 18-Apr-2019 15:19:36 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    Pub O'clock #selfie

    In conversation Thursday, 18-Apr-2019 15:19:36 EDT from mastodon.social permalink
  11. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Thursday, 18-Apr-2019 09:54:43 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    My code is like this https://xkcd.com/2138/

    In conversation Thursday, 18-Apr-2019 09:54:43 EDT from mastodon.social permalink
  12. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 16:46:19 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
    in reply to
    • Internet Turtle 🏴

    @tealturtle I am worried for them. I mean, it will be OK in the short term. They will get locked up for a day, and let out. They will not get beaten up or physically injured.

    But, I worry, about the fines and bail conditions and things.

    In conversation Wednesday, 17-Apr-2019 16:46:19 EDT from mastodon.social permalink
  13. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 16:44:51 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
    • Internet Turtle 🏴

    @tealturtle they are in London for the last few days at the Climate change protest event.

    They just messaged, saying that they were about to get arrested, and have turned their phone off now.

    In conversation Wednesday, 17-Apr-2019 16:44:51 EDT from mastodon.social permalink
  14. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 16:42:54 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    My friend just got arrested :-(

    In conversation Wednesday, 17-Apr-2019 16:42:54 EDT from mastodon.social permalink
  15. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 16:42:32 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
    in reply to

    I suppose I should be pleased. A execution time from 11min -> 0.1 sec

    This functional programming malarky seems a bit dangerous. Making everything stateless and recursive seems nice, but picking the correct data structures and choices makes a huge difference.

    In conversation Wednesday, 17-Apr-2019 16:42:32 EDT from mastodon.social permalink
  16. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 16:16:04 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
    in reply to

    Ok, I made some changes, and it does the first part in a 0.1s now, and the second part in 7s.

    However the code looks very much like an imperative language now. There is a loop over a list inside which we do things, and use the State Monad to change things.

    The result is still slower than Python and less readable now.

    https://git.coop/kat/aoc2018/blob/master/9.hs

    #Haskell

    In conversation Wednesday, 17-Apr-2019 16:16:04 EDT from mastodon.social permalink

    Attachments

    1. 9.hs · master · kat / aoc2018
      from GitLab
      Git hosting for Co-operators
  17. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 16:15:28 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    Ok, I made some changes, and it does the first part in a 0.1s now, and the second part in 7s. However the code looks very much like an imperative language now. There is a loop over a list inside which we do things, and use the State Monad to change things.

    The result is still slower than Python and less readable now.

    https://git.coop/kat/aoc2018/blob/master/9.hs

    #Haskell

    In conversation Wednesday, 17-Apr-2019 16:15:28 EDT from mastodon.social permalink

    Attachments

    1. 9.hs · master · kat / aoc2018
      from GitLab
      Git hosting for Co-operators
  18. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 06:55:51 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    Seeing a large b/w increase from the #XR event... So increasing available b/w for https://landworkersalliance.org.uk

    In conversation Wednesday, 17-Apr-2019 06:55:51 EDT from mastodon.social permalink
  19. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Wednesday, 17-Apr-2019 05:05:12 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    Purely Functional Data Structures http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf

    In conversation Wednesday, 17-Apr-2019 05:05:12 EDT from mastodon.social permalink
  20. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 16-Apr-2019 12:10:32 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    Party time on Waterloo Bridge as it gets turned into a garden #XR

    In conversation Tuesday, 16-Apr-2019 12:10:32 EDT from mastodon.social permalink
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.