HNHacker News
TopNewBestAskShowJobs

pooya72

379 karma · joined November 29, 2010

I am a self-taught developer, and currently working in web development.

https://www.linkedin.com/in/christopher-pooya-razavian/

submissionscomments
pooya72··on PHP – The Right Way
Also a lot of the positive changes were do to the efforts of Nikita Popov[1] who has now left. It's led to the creation of the PHP foundation.[2] I haven't kept up to date with the foundation's efforts.

[1]:https://www.npopov.com/aboutMe.html

[2]:https://blog.jetbrains.com/phpstorm/2021/11/the-php-foundati...

pooya72··on New language features since Java 8 to 17
By multiline strings are you referring to text blocks? Those have been added to the language in Java 15: https://docs.oracle.com/en/java/javase/15/text-blocks/index.... .
pooya72··on Discrete Mathematics: An Open Introduction, 3rd edition
Actually, having gone through multiple programming books, I disagree with that. I highly recommend HTDP because of their design recipes. The book shows you an approach to solving problems with programs rather than just the syntax of a language. This book has had the largest impact on my (very humble) approach to programming.
pooya72··on Discrete Mathematics: An Open Introduction, 3rd edition
Thanks! Nice username.
pooya72··on Discrete Mathematics: An Open Introduction, 3rd edition
I'm just a hobby programmer, but I've been looking to learn discrete math so I can get in to algorithms. Is this a good book? I've seen a lot of people recommend Epp's Discrete Mathematics with Applications. I've kind of been holding off the topic until I really hit a wall and discover what/how much I need to learn. Any advice would be great.
pooya72··on Ask HN: What is deliberate practice for programmers?
At least one aspect that seems to fit the definition of deliberate practice that you defined is programming challenges. It's about a specific part of programming, namely algorithms, you are constantly pushing yourself based on the difficulty, and you can get feedback from other people who are doing the challenges. One good example is r/dailyprogrammer: https://www.reddit.com/r/dailyprogrammer/
pooya72··on Web Developer's Guide to DNS
I've also found this guide to be really helpful: https://howdns.works/
pooya72··on Fucking Color Picker
Sorry, I know I asked you this below. I'm just a new programmer trying to learn, how is that GUI development in Electron is faster?
pooya72··on Fucking Color Picker
How and why was it faster? Did it have to do with the tooling?
pooya72··on Fucking Color Picker
I actually tried installing this on my Mac and it doesn't open. I'm on 10.14.4.
pooya72··on Fucking Color Picker
That's a good comparison, and I think I should qualify my statement. It's the fastest way to develop cross-platform apps when you already know web development. I've only done some trivial apps with QT and Python, and it was pretty straight forward. The UI didn't look as nice as it does with Electron. I'd be interested to hear someone's opinion who has real experience with both.

edit: u/781 has some experience with both and says Electron was faster to develop, his comment is below: https://news.ycombinator.com/item?id=19652691

pooya72··on Fucking Color Picker
I know some people think Electron is cancer[1], but it is the fastest way to write cross-platform applications. I've been trying to learn to make apps for macOS, and it feels like even Apple doesn't want me write apps for the Mac.

[1]:https://medium.com/commitlog/electron-is-cancer-b066108e6c32

pooya72··on Why Developers don’t TDD: a podcast series
This is a nice series, but the background music is too loud.
pooya72··on The Shallowness of Google Translate
Yes, I was wondering the same thing.
pooya72··on The Shallowness of Google Translate
On the other hand, it's interesting how well Google Translate translates philosophical text. Just compare the translations below.

Gadamer's text from Truth and Method:

Die folgenden Untersuchungen haben es mit dem hermeneutischen Problem zu tun. Das Phänomen des Verstehens und der rechten Auslegung des Verstandenen ist nicht nur ein Spezialproblem der geisteswissenschaftlichen Methodenlehre. Es hat von alters her auch eine theologische und eine juristische Hermeneutik gegeben, die nicht so sehr wissenschaftstheoretischen Charakters waren, als"vielmehr dem praktischen Verhalten des durch die Wissenschaft ausgebildeten Richters oder Pfarrers entsprachen und ihm dienten.

Weinsheimer and Marshall translation:

These studies are concerned with the problem of hermeneutics. The phenomenon of understanding and of the correct interpretation of what has been understood is not a problem specific to the methodology of the human sciences alone. There has long been a theological and a legal hermeneutics, which were not so much theoretical as corrolary and ancillary to the practical activity of the judge or clergyman who had completed his theoretical trainin

Google translate:

The following investigations have to do with the hermeneutic problem. The phenomenon of understanding and the right interpretation of the understanding is not only a special problem of the humanistic methodology. There has also been a theological and juridical hermeneutics from ancient times, which were not so much scientific-theoretical in character as they corresponded to and served the practical behavior of the scientist or pastor trained by science.

pooya72··on Courts are using risk-assessment software to sentence criminals
Yeah, there's a good book on this very issue called "Weapons of Math Destruction."[1] The author did an interview on a podcast and discusses how algorithms used by these judges reflect our racial biases.[2] One example that I remember is that the algorithm takes into consideration one's zip code, which correlates strongly with race in the US.

[1]: https://weaponsofmathdestructionbook.com/ [2]: http://www.econtalk.org/archives/2016/10/cathy_oneil_on_1.ht...

pooya72··on 'Great Pause' Among Prosecutors As DNA Proves Fallible
This is an issue that Roger Kopel has been tackling for years now. His main research has been in the social epistemology of forensic science. He has argued that there is a bias towards conviction. In 2008, he published an article arguing that it was necessary to move away from the "monopoly epistemics" towards "democratic epistemics." See his paper here: http://journals.cambridge.org/action/displayAbstract?fromPag...
pooya72··on Occupy Google
Given the name, I thought it was an anti-google campaign.
pooya72··on Rust by Example
This is cool. I'm really excited about Rust, but as a programming hobbyist(noob) I haven't been able to get very far with it. The language is starting to become more googleable now, even though the name "rust" is a hinderance.

That's one of the things I like about clojure. Very googleable name.

pooya72··on Ask HN: jumping back into C++ after 4 years, what did I miss?
I think you replied to the wrong post.
pooya72··on Our new Rails app: pplrep
Sorry, just saw your reply. Well, the studies show that people well feel good about rewards when they are unexpected. But once it becomes part of a standard routine it turns out to lower intrinsic motivation.
pooya72··on How to Design Programs, Second Edition
Yeah, I went through the Coursera course. Honestly, it was amazing. I had read through several programming books, but this was systematic. The "design recipes" help you to write clean, testable functions, and to think about your design before you start typing. I actually found it to be one of the best introductions to programming in Haskell. I had read 'Learn You A Haskell', and 'Real World Haskell' but this course made the whole approach to types, and pure functions really click.
pooya72··on Our new Rails app: pplrep
I know this is well intentioned, but it might have the opposite effect. There has been a lot of study done on rewards and motivation. It turns out that giving external rewards can undermine motivation. For example, giving stars to children for their drawings will undermine their natural motivation to draw. The same can be said about monetary rewards. Moreover, people who do deeds for an external reward are usually less satisfied compared to those who do deeds for their own sake.

A lot of this research is done under Self-Determination Theory.

pooya72··on FP vs. OO, from the trenches
Isn't that what Scala is striving to do?
pooya72··on Ask HN: Intermediate Python learning resources?
I think Udacity.com has a great list of sources about programming from beginning to advanced. Most of their classes are in Python, but the concepts are applicable to any language. More importantly, they try to teach fundamental concepts that would be useful in a broad range applications. I would highly recommend CS262 Programming Languages: Building a Web Browser.
pooya72··on What my 11 year old's Stanford course taught me about online education
I'm not the author of the article, I just copied his title.
pooya72··on Learn Vim Progressively
I use VIM mostly for writing prose, and I learned VIM through these same tutorials. I don't think it's anything different.

I don't edit while I'm writing the first draft. But when I do edit, I'm always pressing <Esc>. That's why changed the keymap.

/<text> is an editor's best friend.

pooya72··on [dead]
it's a fake: http://i.imgur.com/WV5Y0.jpg
pooya72··on [dead]
Sorry, I've seen non-startup news here before. Thought it might be interesting.
pooya72··on Retail Hacking
From Umair Haque: "this is what happens when you're in the business of hard-selling toxic, meaningless junk: hypercommoditization." http://twitter.com/umairh/status/10760981747601408
← PreviousPage 2 of 2