Yaser Sulaiman

@ysulaiman

A computer scientist, a cognitive science hobbyist, and a Rubyist. A software developer, a photographer, and a wannabe mathematician and philosopher.

Vrijeme pridruživanja: ožujak 2008.

Tweetovi

Blokirali ste korisnika/cu @ysulaiman

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @ysulaiman

  1. Prikvačeni tweet
    22. lip 2018.

    This quote from Hamming's The Art of Doing Science and Engineering immediately came to mind: "In science, if you know what you are doing, you should not be doing it. In engineering, if you do not know what you are doing, you should not be doing it."

    Poništi
  2. proslijedio/la je Tweet

    Reading well-factored code feels like reading a concise, clearly articulated essay. It's a joy. Meanwhile, reading convoluted, laborious code feels like reading an incoherent rant.

    Poništi
  3. proslijedio/la je Tweet
    25. stu 2019.

    Agile is not about going faster. Agile is about destroying hope. The data produced by a good agile team provides a cold dose of reality to the managers — in time for them to — manage.

    Poništi
  4. proslijedio/la je Tweet
    14. lis 2018.

    Writing code for human understanding is a critical baseline, but it’s possible to strive beyond that. Writing code that’s beautiful. Eloquent. Even entertaining. Aesthetics matter. Utility, either for machines or humans, is too low of a bar.

    Poništi
  5. proslijedio/la je Tweet
    8. lis 2018.

    I was just asked whether I ever have to look things up when I code. I want to go on record saying that, aside from canned white board coding examples, I can’t write two lines of code without referring to Google or stack overflow. I would be lost without them.

    Prikaži ovu nit
    Poništi
  6. proslijedio/la je Tweet
    5. lis 2018.
    Odgovor korisnicima

    To be clear, I do not think that comments are unnecessary. Done are vital. But those that say no more than the code says are redundant; and those that are written instead of writing better code are very unfortunate.

    Poništi
  7. proslijedio/la je Tweet
    19. kol 2018.

    Set of illustrated Machine Learning cheatsheets covering the content of Stanford's CS 229 class: Deep Learning: Supervised Learning: Unsupervised Learning: Tips and tricks:

    Poništi
  8. proslijedio/la je Tweet

    Around 2010, I held views on intelligence that I can now see were hopelessly flawed, such as "cognition is compression (or prediction - same thing)", or "intelligence is sufficiently-scaled pattern recognition". Simultaneously, I did get several important things right at the time

    Prikaži ovu nit
    Poništi
  9. proslijedio/la je Tweet
    18. kol 2018.

    Craftsmanship involves the understanding of the techniques, disciplines, and strategies of software development, and how to effectively employ them on a case by case basis. Craftsmanship is nuance and discernment. It is not religion.

    Prikaži ovu nit
    Poništi
  10. proslijedio/la je Tweet

    "science is not up for debate" Except... everything in science is very much up for debate. That's... literally how science works. (Obviously, it doesn't mean that crackpot arguments should have the same standing as evidence-based ones.)

    Poništi
  11. proslijedio/la je Tweet
    9. kol 2018.

    The single best thing you can do when asking for coding help online is provide a short, complete example script that others can copy, paste, and run **without any modification** to reproduce your problem. This applies to StackOverflow, mailing lists, github issues... everything.

    Prikaži ovu nit
    Poništi
  12. proslijedio/la je Tweet
    8. kol 2018.

    If you want a proper education in software – it's quality, it's definition, it's management – you simply must read the works of Jerry Weinberg.

    Prikaži ovu nit
    Poništi
  13. proslijedio/la je Tweet

    In this light, the "intelligence" of the network comes purely from its training data. The network is sample-inefficient and only performs local generalization. The next frontier is abstraction & reasoning, which will enable extreme generalization and decent sample efficiency.

    Prikaži ovu nit
    Poništi
  14. proslijedio/la je Tweet
    8. kol 2018.
    Odgovor korisniku/ci

    I think JS is in fact a philosophical exercise in the deconstruction of equality and the value of truth.

    Poništi
  15. 7. kol 2018.

    9) Every time you're tempted to commit commented-out code, remember 's angry face, and repeat after us: "Commented-out code is an abomination." (Slide from my "Smell Your Code!" presentation: )

    Prikaži ovu nit
    Poništi
  16. 7. kol 2018.

    8) And since we brought it up, commented-out code is a no-no. Don't get me wrong, when you're experimenting or debugging, comment code to your heart's content. Just remember to clean up after yourself, and never ever commit commented-out code.

    Prikaži ovu nit
    Poništi
  17. 7. kol 2018.

    7) 's comment rules, summarized by (continued from last tweet): 5. Don't comment out code. Just remove. 6. Use as explanation of intent. 7. Use as clarification of code. 8. Use as warning of consequences.

    Prikaži ovu nit
    Poništi
  18. 7. kol 2018.

    6) 's comment rules, summarized by (continued in the next tweet): 1. Always try to explain yourself in code. 2. Don't be redundant. 3. Don't add obvious noise. 4. Don't use closing brace comments.

    Prikaži ovu nit
    Poništi
  19. 7. kol 2018.

    5) Try to focus your comments on the _why_, not the what nor the how (unless the what/how is intrinsically complex). With reference to this paragraph from 's excellent Eloquent , don't subtitle your code and don't explain your jokes...unless there's no other way.

    Prikaži ovu nit
    Poništi
  20. 7. kol 2018.

    4) The important thing is that you must identify and stay actively aware of the reasons that are making you want to add your comments. Be skeptical and err on the side of treating clarification comments as code smells.

    Prikaži ovu nit
    Poništi
  21. 7. kol 2018.

    3) Does it mean that you should never comment your code? Of course not. Just as there're plenty of bad reasons for adding comments, there're also good reasons to do so. Ref. 's reply () & 's comment rules further down this thread.

    Tweet je nedostupan.
    Prikaži ovu nit
    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·