HNHacker News
TopNewBestAskShowJobs

sellingwebsite

384 karma · joined July 13, 2019

bold.cat8303 @ fastmail . com
submissionscomments
sellingwebsite··on Ask HN: How much time do you think you waste on Cookie prompts?
You can block these using uBlockOrigin. Look for "annoyances" blocklists in the Filter List settings, especially Fanboy's Cookie List
sellingwebsite··on J.S. Bach the Rebel: The subversive practice of a canonical composer
a few hours earlier, I was listening to the Bach's Concerto No.1 by Bernstein and Gould:

https://www.youtube.com/watch?v=9Nx09pigZRI

in the first few minutes, Bernstein explains that it is hard to play Bach because there aren't many clues left in the score, leaving interpretation of the music on the conductor / musicians.

sellingwebsite··on Ask HN: Which online communities do you hang out most on?
Clickables:

https://reddit.com/r/AskHistorians

https://discuss.bootstrapped.fm

https://lobste.rs

https://slatestarcodex.com

sellingwebsite··on Rejected from YC (Again)
or https://discuss.bootstrapped.fm
sellingwebsite··on The boring technology behind a one-person Internet company (2018)
I'd presume that they use the same codebase: https://github.com/lobsters/lobsters
sellingwebsite··on The boring technology behind a one-person Internet company (2018)
https://discuss.bootstrapped.fm
sellingwebsite··on Ask HN: Is there any point in trying to clear your online footprint
i have done that in the past. In fact, this is one of those anonymous accounts which I ocassionally use.

some data mining companies were quite stubborn in removing my data even though they had instructions on their website on how to request a removal. Once I brought up COPPA they immediately complied with my request. This is ridiculous. I should not resort to such moves to remove data that should not be there in the first place

if you are interested in clearing your footprint take a look at this site: https://inteltechniques.com/index.html

they host a weekly podcast where they discuss all things privacy including how to remove your data from the net and how to do it the right way. They also used to have list of links where you could go one by one and request opt-out but cant find it right now.

one note of caution. Your anon identity can be traced back to you by your writing patterns. There was a ddiscussion on hn about it some time ago. I think about it just as I type ...

sellingwebsite··on Show HN: A platform to share your side project
Where do you source these projects from? Where did you find your first users? And how do you keep spammers at bay?
sellingwebsite··on Running GitHub on Rails 6.0
I should have phrased it differently.

Yes, you don't roll your own security. You use powerful primitives provided by Ruby and Rails, such as bcrypt, has_secure_password/has_secure_token, encrypted sessions, secure httponly cookies with prefixes + samesite attrbiute all served over TLS 1.2+, with HSTS and CSP

sellingwebsite··on Running GitHub on Rails 6.0
Faraday is a wrapper around several libraries, no? I needed more features that these libraries could offer, namely HTTP/2 support, brotli compression, timings for the requests (namelookup time, tls handshake time, connect time, etc..). Faraday and Net:HTTP is fine if you're doing simple HTTP requests.
sellingwebsite··on Running GitHub on Rails 6.0
Because I too followed the common advice and started with Django (I only knew Python back then). Well, I hated it and got burnt out as a result. So, despite the conventional wisdom, I decided to change my stack from Django/Python/Celery to Rails/Ruby/Sidekiq and I am very glad I made the leap.

I have seen both sides of it, that's why I decided to vent it out.

P.S. Don't get me wrong, I have tons of respect for people doing open source and don't want to badmouth Django folks. But in my limited experience, it just wasn't a great experience.

sellingwebsite··on Running GitHub on Rails 6.0
Custom built auth isn't as scary as you make it to be. I have done it myself and would do it in the future. You just have to be cognizant of what you're doing (i.e. simply copying Hartl's or Railscasts' tutorial won't suffice; see session fixation attacks).

If I were to bring in 3rd party gem for auth, I'd have gone with Sorcery rather than Devise.

sellingwebsite··on Running GitHub on Rails 6.0
Because I've got burnt by Django in the past. If you do some search on the HN and elsewhere on the difference between two, the common answer that you'll find is that they are similar and it doesn't matter which one do you pick (given that you are not proficient with any of them). I don't agree with that premise and decided to make a case here.

So if you are ever in a position to pick between Django and Rails for CRUD-y SaaS app, go with Rails. You can't go wrong with that.

sellingwebsite··on Running GitHub on Rails 6.0
How about "I was struggling for days with Django which lead to a minor burn-out and as a result I lost several weeks of my time"?

That's when I decided to pick up Rails tutorial and it was probably one of the best tech-related decisions I made in my businesses.

I shouldn't use cookiecutter templates, plugins, scripts to make working with the software tolerable. It should just work and get out of my way. Well, at least when doing a greenfield development.

Take a look: https://rubyonrails.org/doctrine/

sellingwebsite··on Running GitHub on Rails 6.0
You have just proven my points. Sure you could do it yourself, but defaults matter. A lot.
sellingwebsite··on Running GitHub on Rails 6.0
ça dépend.

I am only familiar with Django and Rails, can't comment about Laravel.

If you are building a basic CRUD app, definitely stick with Rails. If you are doing some kind of CMS or need machine learning pipeline, go with Python.

A warning about Ruby/Rails: some folks have moved on to shinier languages/frameworks and as a result there are lots of unmaintained gems (gems are 3rd party libraries in the Ruby world) out there. For instance, I needed a curl wrapper written in Ruby. Nothing worked for me so I ended up forking Ethon [0]. I am hesitant to send PRs, since I doubt that they will get merged. Now I am maintaining two codebases at once. I will probably rewrite it from scratch at some time.

A warning about Python/Django: dependency management is kind of a mess [1]. See linked discussions [2][3][4][5].

[0] https://github.com/typhoeus/ethon

[1] https://xkcd.com/1987/ (Add pipenv and poetry to the mix)

[2] https://news.ycombinator.com/item?id=20672436

[3] https://news.ycombinator.com/item?id=18612590

[4] https://news.ycombinator.com/item?id=17607083

[5] https://news.ycombinator.com/item?id=13459740

sellingwebsite··on Running GitHub on Rails 6.0
My comment on one of the previous discussions:

I don't want to start a flame war here, but I think Rails (and gem ecosystem in general) is a better choice than Django, at least for SaaS apps.

These are all my personal opinions, take it with a grain of salt. Having said that, here we go:

* Authentication - it is a pain if you'd like to deviate from the standard Django User model (using username to login instead of an email). I don't like Devise either.

* Asset pipeline, even though it is not updated anymore (sprockets) and partially replaced by the webpacker, is still better in Rails

* Configuration spread across multiple files, by environment, instead of a single config.py file

* Sidekiq has a better API compared to Celery. Also, Celery's default broker is RabbitMQ, not Redis. It is really hard to find managed RabbitMQ hosting, for Redis there are plenty

* Mailer previews, small but quite useful utility

* Better security by default: Rails comes pre-configured with a bunch of security headers[0].

* Testing - Minitest and Capybara is just a joy to work with.

* I prefer ActiveRecord over Django ORM

* Rails isn't afraid to deprecate things and move forward. This isn't the case with Django, which is big on backwards compatibility. I don't like it, since it puts into a disadvantage folks who are starting new projects. Different strokes for different folks, I suppose

I could go on and on, but I remember struggling a lot with Django/Celery when building a SaaS app. I decided to switch to Rails and haven't looked back (Rails has its warts as well). YMMV

[0] https://guides.rubyonrails.org/security.html#default-headers

EDIT: Added last point about backwards compatibility

sellingwebsite··on Ask HN: Do You Use Boilerplates?
I have scripts, snippets, CSS skeletons, checklists that I try to reuse between projects, but that's about it. I have tried to build one for myself, but it just doesn't worth the effort, unless you are launching a large number of projects.
sellingwebsite··on Firefox 69.0 Released
But you can disable it quite easily:

about:config -> extensions.pocket.enabled: false

sellingwebsite··on Ask HN: What laptop computer do you currently use?
Laptop model: Early 2015 Macbook Pro Retina

CPU: 2.7 GHz Intel Core i5

RAM: 8 GB 1867 MHz DDR3

Storage: 128GB SSD

Screen: 13" Retina

Personal comments: Purchased a few weeks ago for $850 (110 charge cycles). My first Apple computer and it has been great so far. Great screen, plethora of ports, long-lasting battery (6-8 hrs), usable keyboard, speedy SSD, and there is a Magsafe! Screen flickers, especially in Safari and iTerm2 are really annoying tho. Firefox is draining my battery like there is no tomorrow, so don't use it much for now (it was my daily driver on Ubuntu). I couldn't get Airdrop to work, however hard I tried, even though Bluetooth is working fine.

sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
Dancing classes is indeed a great way to meet people. Thanks for sharing your story!
sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?

    staying at home too often instead of finding a SO
I am still struggling with that. I am working from home and don't go out too often. I am quite an introverted person, plus not big on dating apps, since they're mostly waste of time :')

I realize that this is a problem, but still don't know what to do about it..

sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
I get what you're saying and I've been there, done that (still there, tbh). But I think there is a balance to strike here: sometimes it is worth spending some time on choosing a better tool/architecture/library because it can save you time/effort/money/mental stability (yes) down the road. As in most endeavors, you've gotta strike a right balance

    Rewriting a side-project in a new language because it will be faster, more organized, more elegant, etc...
I've done that as well, although it wasn't a rewrite per se. It was a great decision and I am glad I made the leap, even though conventional wisdom is to stick with what you know..
sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
It works great if you won't deviate from the common use case. Otherwise, you have to do all sorts of crazy monkey patching. On top of that, it is a relatively old project that has to keep legacy code for backwards compatibility.

I decided to roll my own auth, but was very cognizant about the risks of going down this route. I used primitives provided by Rails (has_secure_password, has_secure_token) and made sure that my implementation is not susceptible to known exploits, such as session fixation attack: https://guides.rubyonrails.org/security.html#session-fixatio...

sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
OP here. Can't edit the post anymore, but I would add the following points:

* Following mainstream news -- Lots of clickbait, glad I don't do it anymore.

* Watching random YouTube videos -- however, I've also stumbled upon some great videos that have had huge positive impact on my life (and not only mine)

* Tracking currency exchange rates trying to save few bucks

* Buying cheap electronics -- time you spent fighting with it just doesn't worth the savings, unless you're in dire need

sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
I don't want to start a flame war here, but I think Rails (and gem ecosystem in general) is a better choice than Django, at least for SaaS apps.

These are all my personal opinions, take it with a grain of salt. Having said that, here we go:

* Authentication - it is a pain if you'd like to deviate from the standard Django User model (using username to login instead of an email). I don't like Devise either.

* Asset pipeline, even though it is not updated anymore (sprockets) and partially replaced by webpacker is still better in Rails

* Configuration in multiple files, by environment, instead of a single config.py file

* Sidekiq has a better API compared to Celery. Also, Celery's default broker is RabbitMQ, not Redis. It is really hard to find managed RabbitMQ hosting, for Redis there are plenty

* Mailer previews, small but quite useful utility

* Testing - Minitest and Capybara is just a joy to work with

* I prefer ActiveRecord over Django ORM

I could go on and on, but I remember struggling a lot with Django/Celery when building a SaaS app. I decided to switch to Rails and haven't looked back (Rails has its warts as well). YMMV

sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
Not familiar with WP, but can't you export your blog posts as HTML/CSS or as markdown at the very least, and deploy it to Github Pages or Netlify? THis way, you won't have to manage anything, except making sure domain names renew on time
sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
Why do you think your time has been wasted? I suppose you have had some expectations for the project you didn't meet

EDIT: wording

sellingwebsite··on Ask HN: Looking back, what have you wasted lots of time on?
Sure, if I've enjoyed my time and learned something useful I won't write it off as "wasted". Who knows what the future holds.

I just recalled a Steve Jobs quote while writing this comment: "You can't connect the dots looking forward; you can only connect them looking backwards."

sellingwebsite··on Ask HN: How to Sell a Side Project?
I get what you're saying, but my projections are based on observing similar sites in similar niches.

I also understand that potential buyers are bearing more risk than they'd have if the site were live with real revenue numbers; that's why I'm willing to sell it for cheap.

← PreviousPage 2 of 3Next →