dnaq's recent activity

  1. Comment on Inside the Kiev fraud factory stealing senior citizens’ savings in ~news

    dnaq
    Link
    An in depth article about the perpetrators and victims of cybercrime.

    An in depth article about the perpetrators and victims of cybercrime.

    1 vote
  2. Comment on What are you reading these days? in ~books

    dnaq
    Link Parent
    I really enjoyed the first Dune book and avoided the sequels for a long time since I was afraid of being disappointed. Many years later a friend of mine was talking about how good the sequels were...

    I really enjoyed the first Dune book and avoided the sequels for a long time since I was afraid of being disappointed. Many years later a friend of mine was talking about how good the sequels were and that I really had to read them. I did, and I didn’t like them at all. To be honest they ruined the first book for me.

    Your mileage might be different, a lot of people like the sequels as well, but I’m not one of them.

    2 votes
  3. Comment on What are you reading these days? in ~books

    dnaq
    Link Parent
    Murakami is one of my favourite authors, and for something a little bit lighter, and a bit more surrealistic I would recommend Kafka on the Shore.

    Murakami is one of my favourite authors, and for something a little bit lighter, and a bit more surrealistic I would recommend Kafka on the Shore.

    2 votes
  4. Comment on Walkability a key factor determining upward mobility of a city’s residents in ~science

    dnaq
    Link
    I saw this post on hacker news and thought that it might get some interesting discussion here.

    I saw this post on hacker news and thought that it might get some interesting discussion here.

    1 vote
  5. Comment on Fitness tracker recommendations? in ~health

    dnaq
    Link
    I recommend taking a look at DC rainmaker. That’s my go to source for all kinds of sports gadget reviews. He’s very thorough, and writes really good (although a bit long) reviews. He also has...

    I recommend taking a look at DC rainmaker. That’s my go to source for all kinds of sports gadget reviews. He’s very thorough, and writes really good (although a bit long) reviews. He also has yearly sports tech recommendations.

    4 votes
  6. Comment on Recommend me a book that _________. in ~books

    dnaq
    Link Parent
    Anything by Haruki Murakami. Kafka on the Shore is a great book to start with, the Wind-up Bird Chronicles is my favourite, but it’s a bit harder to get into.

    Anything by Haruki Murakami. Kafka on the Shore is a great book to start with, the Wind-up Bird Chronicles is my favourite, but it’s a bit harder to get into.

    2 votes
  7. Comment on Recommend me a book that _________. in ~books

    dnaq
    Link Parent
    Nexus by Raamez Naan, and it’s sequel Crux.

    Nexus by Raamez Naan, and it’s sequel Crux.

    3 votes
  8. Comment on Any large-scale art installations you'd recommend? in ~creative

    dnaq
    Link
    I would like to go to Storm King someday. I’ve only seen it on tv, but it is a large national park/art center with some large scale statues and other works of art.

    I would like to go to Storm King someday. I’ve only seen it on tv, but it is a large national park/art center with some large scale statues and other works of art.

    2 votes
  9. Comment on Which OS do you use and how does it look? in ~comp

    dnaq
    Link
    I recently switched my home computer from Ubuntu to NixOS. I have to say that I really like the idea of having a single authoritative declarative description of my system, and being able to...

    I recently switched my home computer from Ubuntu to NixOS. I have to say that I really like the idea of having a single authoritative declarative description of my system, and being able to atomically switch to a new configuration. There are some things that might take a while getting used to, but all in all I’m really impressed by it.

    I Considered trying GuixSD instead of NixOS, but it felt like NixOS is more mature at the moment.

    3 votes
  10. Comment on Search function on Tildes? in ~tildes

    dnaq
    Link Parent
    Agreed. Setting up decent search using elasticsearch is pretty simple, especially since for now English is the main language on tildes. However it might be possible to write decent enough search...

    Agreed. Setting up decent search using elasticsearch is pretty simple, especially since for now English is the main language on tildes.

    However it might be possible to write decent enough search functionality using postgresqls to_tsvector if you don’t want to add an elasticsearch cluster for now.

    2 votes
  11. Comment on what are your favorite low-end or old games? in ~games

    dnaq
    Link
    I still think that planescape torment is one of the best character driven computer RPGs ever made, the mechanics haven’t aged well, but the story and character development is really good. However,...

    I still think that planescape torment is one of the best character driven computer RPGs ever made, the mechanics haven’t aged well, but the story and character development is really good. However, be prepared for a lot of text if you play it.

    I backed the Kickstarter for Torment: Tides of Numenera, a new game made in the vein of the original, and it was decent, but not at all as good as the original.

    1 vote
  12. Comment on <deleted topic> in ~talk

    dnaq
    Link
    It’s not really that hard. If you’re mountain biking it depends a bit on what kind of riding you’re going to do. If you’re going to ride downhill or really technical trails then you might want a...

    It’s not really that hard. If you’re mountain biking it depends a bit on what kind of riding you’re going to do. If you’re going to ride downhill or really technical trails then you might want a full face helmet, but if you’re mostly going to use it on roads an ordinary helmet will do.

    Get one that fits you well, the more you pay, the lighter it will be which won’t really matter for someone just beginning. Many helmets have MIPS, which is a system that lessens the risk of brain injuries when crashing according to some studies. I own a MIPS helmet, and I’m happy with it.

    Some brands that are good are: Lazer, Giro and Kask, but there are others as well.

    4 votes
  13. Comment on Monday Morning Thread in ~talk

    dnaq
    Link Parent
    A lot of codebases in the supercomputing world are written in Fortran 77. Most of the high performance BLAS/LAPACK libraries for example. Nowadays a lot of scientific code uses high-level...

    A lot of codebases in the supercomputing world are written in Fortran 77. Most of the high performance BLAS/LAPACK libraries for example. Nowadays a lot of scientific code uses high-level libraries through scipy/numpy and others, but a lot of the highly optimized underlying code is written in fortran.

    One of the reasons being that fortran compilers do extremely aggressive optimization and vectorization. It is also a lot easier for a compiler to optimize fortran code than C, since fortran has extremely strict rules for pointer aliasing.

    All in all, it might be worth learning, and you might be able to look for jobs at the supercomputing hardware and software companies if you learn it well.

  14. Comment on Juul & its House of Smoke & Horrors in ~tech

    dnaq
    Link
    To be honest I found that article (op-ed) to be quite silly. The author equates e-cigarettes with ordinary cigarettes and calls the company camel 2.0. I think the pretense is false, e-cigarettes...

    To be honest I found that article (op-ed) to be quite silly. The author equates e-cigarettes with ordinary cigarettes and calls the company camel 2.0. I think the pretense is false, e-cigarettes are probably not harmless, but it’s definitely more healthy than inhaling known cancerous substances and I believe in harm reduction.

    5 votes
  15. Comment on Programming Challenge: Construct and traverse a binary tree. in ~comp

    dnaq
    Link Parent
    It’s a good language to learn, even if you don’t use it daily. Some of the more complicated concepts might hurt your brain a bit, and some of the abstractions can seem really weird at the...

    It’s a good language to learn, even if you don’t use it daily. Some of the more complicated concepts might hurt your brain a bit, and some of the abstractions can seem really weird at the beginning (which is the reason there are thousands of monad tutorial), but once you realize what you can do with the abstractions then it’ll fall into place.

    I find that I’m a better programmer for having learnt Haskell, even if I don’t use it daily.

  16. Comment on Programming Challenge: Construct and traverse a binary tree. in ~comp

    dnaq
    Link
    data Tree a = Node a (Tree a) (Tree a) | Leaf empty :: Tree a empty = Leaf insert :: (Eq a, Ord a) => Tree a -> a -> Tree a insert Empty x = Node x Leaf Leaf insert (Node y l r) x | x <= y =...
    data Tree a = Node a (Tree a) (Tree a) | Leaf
    
    empty :: Tree a
    empty = Leaf
    
    insert :: (Eq a, Ord a) => Tree a -> a -> Tree a
    insert Empty x = Node x Leaf Leaf
    insert (Node y l r) x | x <= y = insert l x
                                      | otherwise = insert r x
    
    toList :: Tree a => [a]
    toList Leaf = []
    toList (Node x l r) = toList l ++ [x] ++ toList r
    
    printTree :: (Show a) => Tree a -> IO ()
    printTree = mapM (putStrLn . show) . toList
    

    Guess the language?

    This is basically the simplest possible implementation and there is a completely unnecessary conversion to a (lazy) list in the code.

    In reality you would write something like:

    data Tree a = ... deriving (Functor, Foldable, Traversable)
    

    and get all of the traversal code for free.

    3 votes
  17. Comment on What are you reading? in ~books

    dnaq
    Link Parent
    It was quite groundbreaking when it first came out, but I don’t know if it has aged well. Like most of Neal Stephenson’s books it starts quite strong, but then trickles out in a confusing ending....

    It was quite groundbreaking when it first came out, but I don’t know if it has aged well. Like most of Neal Stephenson’s books it starts quite strong, but then trickles out in a confusing ending. I loved Stephenson when I was younger, but he was never good at ending a book in time and tying together all plot points in a sane way.

    3 votes