HNHacker News
TopNewBestAskShowJobs

asattarmd

236 karma · joined October 2, 2013

submissionscomments
asattarmd··on 339 Bytes of Responsive CSS
Good, but I'd replace that font with the default:

`font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif`

It'd remove the unnecessary font and still look good.

asattarmd··on I Miss Rails
I believe Firebase + React is actually that. Yes, it's buying into a proprietary system, but it is so productive working in that. Database is taken care of, file uploads, authentication etc. are all taken care of.

It's not comparable to Rails in that we can't have plugins to install new things that work with the entire stack, but whatever we have initially is really good and I feel makes me very productive

asattarmd··on Redesigning GitHub Repository Page
Github is used for at least two things: (1) finding new repositories and check how actively they are developed and (2) actively developing repositories.

This design fits well for (1). But for 2, it performs badly. I need all the files, the commits etc if I'm working on the repository.

asattarmd··on None of my projects want to be SPAs
For CRUD apps, using Rails etc. with Turbolinks[1] is the best way to go IMO. It gives you the SPA feel without the headache. In all SPAs, we load JSON, with Turbolinks, we load HTML of that page alone (without the CSS, JS etc).

[1] https://github.com/turbolinks/turbolinks

asattarmd··on Ask HN: Codebase at my work is a complete mess, what should I do?
What do you think HR is abbreviation for?
asattarmd··on Vim plugins I use
Vim for me is an editing style. It's more powerful than using arrow keys/alt/ctrl for navigation. Wherever I edit, I just need that editing style.

The vim editor gives you only the editing style. VS Code on the other hand gives you that editing style (arguably less powerful, but good enough for my needs) plus a whole lot of other things without much configuration. I'd choose VS Code anyday

asattarmd··on Don't publicly expose .git (2015)
Source Code is the sensitive information that he's talking about in the article.
asattarmd··on Idris 1.0
Strict by default. You can make it lazy easily.
asattarmd··on Understanding Git for real by exploring the .git directory
That and The Git Parable (http://tom.preston-werner.com/2009/05/19/the-git-parable.htm...) gave me a wonderful understanding of Git.
asattarmd··on Learning Haskell as a non-programmer (2014)
I thought people say learning Haskell as a first language is easy because

1) you don't have do a lot of unlearning. See, you still don't understand why you want things to mutate. Experienced programmers (in other languages) mutate things in every single line of code they write. They have to unlearn mutating things to learn this.

2) It's closer to mathematics which many people know.

I think the problems you faced are actually problems because you read a book that was meant for programmers. Hell, you'll face these problems even if you read a C book that is meant for programmers.

I still think, Haskell (as a language) is a good first language.

asattarmd··on Ask HN: I'm an actor. I need an SaaS idea that allows me to act full-time
How about Aaas, Acting as a Service?
asattarmd··on Ruby talks of 2014

  class Blog < ActiveRecord::Base
  end
Ever wonder how that works? Metaprogramming.

  enum status: [ :active, :archived ].
  validates :status, presence: true
Ever wonder how that works? Metaprogramming.

Used the awesome debugger, pry? Ever wonder how that works? Metaprogramming.

`find_by_id` isn't the only thing that's implemented using Metaprogramming. Practically, everything within ActiveModel is achieved through Metaprogramming. It is one very important reason that allows Ruby to be so expressive.

asattarmd··on Websrvr – Deploy your websites to a CDN using Dropbox
Dropbox tells you when asking for your permission.
asattarmd··on Websrvr – Deploy your websites to a CDN using Dropbox
To be fair, it is asking for access to only a folder that itself creates.
asattarmd··on Why Go Is Not Good
The Rust compiler :) He is part of the Rust team and writes Servo.
asattarmd··on Google Domains
Branded emails is the best thing Google offers now! I don't want to buy Google Apps for my sideprojects.
asattarmd··on Google Domains
Looks like they don't offer ANAME or something similar.
asattarmd··on The reason Angular JS will fail
I fail to understand what makes AngularJS difficult. I believe AngularJS is a very intuitive framework.

When you write in AngularJS, you forget the nitty-gritty DOM manipulation, you just care about your data. AngularJS changes DOM for you. A Controller holds the data. AngularJS keeps the view updated with the data in the controller. You need to fetch data from somewhere such as REST API? Just ask for it, AngularJS gives you $resource. Just like that. No initialization, handling dependencies. Feeling there's code bloat in your controller? Extract a service and AngularJS will make it singleton for you and pass it whenever you need! Need to filter data before displaying it? Write a filter! Directives are bit difficult, I understand, but all the rest of stuff is easy and very intuitive.

Microsoft folks have been writing MVVM apps in WPF and Silverlight for nearly a decade now, writing their own DelegateCommand, using an IoC container, using an ORM and plugging all these things together. AngularJS gives you all of these as one framework! (considering $resource as the ORM). AngularJS got SPA right and IMO, is the way to build apps. I don't think it'll fail.

asattarmd··on Show HN: Tired of doing coding interviews on Skype? We've built this
I see you have used Firebase. I am very interested to see how you have achieved this without a solid backend.
asattarmd··on Github Down
http://isup.me/github.com. Down for everyone
asattarmd··on A brief introduction to Haskell, and why it matters
Beginning Haskell: A project based approach is a good book. http://www.apress.com/9781430262503
asattarmd··on A software engineer's website
Are you using Vimium on Chrome? I had this too, just went into insert mode.
asattarmd··on The impact of shiny looking design on user uptake
> I had made the design simple just to convey the 'Simple' theme

It doesn't say "simple" to me. It says "not too effort went into it" to me.

Don't get me wrong, I'm NOT judging how much effort actually went into it. I'm actually a user of getsimpleform and happened to recommend it in the formspree post too. I'm just saying that your design doesn't show the "simple" side. It comes off as something that was just cooked without putting in a lot of effort. So, yeah, a design overhaul might work for you.

asattarmd··on Show HN: Add forms to your static site – no iFrames required
There's another one (getsimpleform.com) that handles uploads and spam prevention via Akismet. It does not expose your email.
asattarmd··on Ask HN: Why isn't Erlang more popular?
I'm not saying that Erlang shouldn't reach out to new users. I'm saying that new users should look past the website and put in a little effort to know about Erlang. Dismissing a language because of the its website is not just right.
asattarmd··on Ask HN: Why isn't Erlang more popular?
> Starting with the Erlang website makes eminent sense

Of course it does. But stopping at the Erlang website because of the website makes much less sense. Find some other way to know more about the language and then decide whether you'll use it or not.

asattarmd··on Ask HN: Why isn't Erlang more popular?
Ffs, you're not looking at some small product that an unknown company built. You're looking at something that is really well-known. What does the website of Google convey? Do you really decide whether you'd learn a language by looking at its website?

> "that the online reference doesn't cover interaction with anything outside of your program" This does NOT mean it does not teach you IO. The full bullet point is

> "How to communicate with the outside world and/or software written in other languages (ports). There is however a separate tutorial for this, Interoperability Tutorial"

It means it won't teach you FFI in a tutorial.

> "guessing that Erlang is one of those functional languages that are great for mathematical proof-like software development but not practical for solving actual problems because the world is mutable and the language constructs are not."

I don't know how you got to this dumb conclusion when "What is Erlang?" on the main page clearly states:

> Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.

asattarmd··on JZed.js – The functional JQuery alternative
I see nothing that makes this library "functional".
asattarmd··on Functional Programming 101 with Haskell
The best intro for functional programming, IMO, is Joel Spolsky's "Can your language do this" (http://www.joelonsoftware.com/items/2006/08/01.html).
asattarmd··on Ask HN: Which language/web framework to learn for employability?
I don't think there are a lot of jobs in Haskell. Yesod/Snap/Happstack(/Scotty) are the only web frameworks and I can count only three companies (not blogs or framework websites) that use Haskell to serve websites. And learning Haskell is very demanding. I'd never advise any one to start learning Haskell and hope to get employed any time soon.
← PreviousPage 2 of 3Next →