HN user

mhasbini

751 karma

Mohammad Hasbini

email : mohammad.hasbini at gmail. website: mhasbini.com

Posts77
Comments38
View on HN
www.youtube.com 3y ago

Building a Foldable Rover

mhasbini
3pts0
today.lorientlejour.com 3y ago

The issue of white 100 USD bill in Lebanon

mhasbini
3pts4
mhasbini.com 3y ago

Porting 2048 game to Odroid Go

mhasbini
2pts0
news.ycombinator.com 5y ago

Ask HN: Favorite Quotes

mhasbini
1pts0
ahmadhamze.github.io 5y ago

Using the Monte-Carlo simulation to estimate the value of 𝛑

mhasbini
2pts2
mhasbini.com 5y ago

Httpy – Let's build a (nano) HTTP client

mhasbini
3pts1
mhasbini.com 5y ago

Impossible List

mhasbini
1pts0
monacivilengineering.blogspot.com 5y ago

Designing a standard sewage network for refugee camps

mhasbini
126pts40
mhasbini.com 5y ago

My Next Phone: Rational decision to choose my next phone

mhasbini
1pts0
mhasbini.com 6y ago

Deploy this blog using nix

mhasbini
1pts0
mhasbini.com 6y ago

Emoji Solar System

mhasbini
1pts0
yt-embed.herokuapp.com 6y ago

YouTube Embed as a Picture

mhasbini
1pts0
mhasbini.com 6y ago

Simplify embedding a YouTube video into GitHub

mhasbini
1pts0
mhasbini.com 6y ago

Let's build a (nano) web framework

mhasbini
1pts0
mhasbini.com 6y ago

React Offline Disclaimer

mhasbini
1pts0
twitter.com 6y ago

Deploy your BASIC code to our 6502 data center in just one tweet

mhasbini
3pts0
www.upguard.com 6y ago

Identity and Access Misstep: How an Amazon Engineer Exposed Credentials and More

mhasbini
3pts0
twitter.com 6y ago

Bug (Unix Epoch Y2k)

mhasbini
2pts1
mhasbini.com 6y ago

Show HN: Simplify DIY Imgur Albums Browser

mhasbini
1pts0
mhasbini.com 6y ago

Show HN: Gmail Analyzer – get statistics of your Gmail account

mhasbini
2pts0
mhasbini.com 6y ago

This Web Page Does Not Exist

mhasbini
1pts0
mhasbini.com 6y ago

Jekyll plugin for preprocessing Prism.js highlights

mhasbini
1pts0
medium.com 6y ago

Which countries have the most bot traffic?

mhasbini
2pts0
mhasbini.com 6y ago

Show HN: CyberStyle.css – CSS Stylesheet Inspired by Tesla CyberTruck

mhasbini
16pts3
mhasbini.com 6y ago

Show HN: Mac Image Preview menu bar app

mhasbini
1pts0
www.csszengarden.com 6y ago

CSS Zen Garden

mhasbini
3pts0
medium.com 6y ago

HCaptcha Now Supports Privacy Pass

mhasbini
2pts0
mhasbini.com 6y ago

Show HN: Mac toolbar app to show electricity cutoff schedule

mhasbini
105pts48
www.hanselman.com 7y ago

Everything's broken and nobody's upset (2012)

mhasbini
7pts0
www.microsoft.com 7y ago

Project Tuva: Richard Feynman’s Messenger Lecture Series

mhasbini
1pts0

source code:

    /* Copyright 2010 Google Inc. All Rights Reserved. http://tools.google.com/dlpage/gaoptout/intl/en/eula_text.html */
    (function () {
    var a = document.createElement("script");
    a.type = "text/javascript";
    a.innerText =
        'window["_gaUserPrefs"] = { ioo : function() { return true; } }';
        document.documentElement.insertBefore(a, document.documentElement.firstChild);
    })();

Most of the stores I interact with accept it -as long as it passes a bill checker- but they take a commission -usually 4$- on it.

I don't think they'd take it at all if there was a risk to lose 96$ on it.

People who have access to a fresh dollar bank account[0] have the ability to deposit the old bill and then try to withdraw it again in hope of getting a new bill.

A couple of services spun up that take lower commission for bulk conversions e.g. 2$ instead of 4$ for each 100$.

[0] https://www.bbacbank.com/banking/personal/account/fresh-mone...

I just tested moving the ecoflow to another room (both door closed ~5m between the ecloflow and the monitor) and used an extension cable to power the monitor.

The issue is still happening.

Unfortunately I don't have a different HDMI cable at hand now. I'll test another cable as soon as I get my hands on one.

A bit off topic: I'm facing an issue where a monitor works only when getting power (220v 60hz) from an outlet but not from an external power generator: ecoflow river pro (220v 60hz) as well.

It's the only appliance that doesn't work. It turns on normally but stays black (I use it in mirror mode).

Every hour or so it may show the correct content for a glance then it'll turn black.

I suspect the power supply source is not the real reason, maybe there's something causing interference with the cable?

I'm waiting to have a free weekend to check it out.

Edit: I'll check if it's related to this issue: https://news.ycombinator.com/item?id=32631017

When I get a chance, I try to dig into the "magic" parts of the tools I'm using.

I've wrote a bit on this on my blog in the context of creating a (nano) web framework similar to Rails [1] and a (nano) http client library similar to requests [2].

I find this to help assure me that if I have to go one layer deep in abstraction I'd still be able to learn how it works.

[1] https://mhasbini.com/blog/lets-build-a-web-framework.html

[2] https://mhasbini.com/blog/lets-build-an-http-client.html

Getting locked out of Google is a legit risk that I have: I'll loose most of my personal & professional data because of it: Emails (Gmail), Files & Photos (Drive), Contacts, Calendar...

Google already offer a way to download backups from Google Takeout. But this isn't enough because:

1- I have to remember to download an up-to-date backup myself. 2- I have to store the backup somewhere. 3- Retrieving the data is cumbersome: e.g. if I need to access my emails after a lock down I'll have to first get a recent backup that I stored somewhere then try to find a program that work on my machine that'll read the email format then import it.

This approach is open to flaws that is why I'm working on the side on a product that address these pain-points: you'll be able to automatically get backups to the service servers and it'll do all the parsing so that you can have a similar services UI (read-only) to the ones from Google.

Shoot me an email if you want to keep updated.

Firefox Voice 6 years ago

I'm surprised by how well the stt work for me as a non native English speaker. I hope to see more products that uses Common Voice.

Hashcat 6.0 6 years ago

Congrats on the release! I was following up the development progress on GitHub.

I'm pretty excited about "Plugin Interface". I think we can this refactor effort as a success story: simpler code + improved performance + more testing.

It's amazing that they've added this tutorial for adding new algorithm: https://github.com/hashcat/hashcat/blob/master/docs/hashcat-... (previously information was scattered around PRs).

Thanks atom and all the other contributors!

Launch a competing product that accomplishes the same thing.

Disclaimer: I was part of hCaptcha team.

https://hcaptcha.com/ is competing with ReCaptcha. It's a drop-in replacement for ReCaptcha.

It's privacy focused (supports privacy pass), and is fair: webmasters get a cut for each captcha that is solved correctly (they can choose to directly donate it to a charity of their choice), hCaptcha get a cut for running the service and a customer will get their images/data labeled.

Disclaimer: I was part of hCaptcha team.

https://hcaptcha.com/ is a drop-in replacement for reCAPTCHA.

It's privacy focused (supports privacy pass), and is fair: webmasters get a cut for each captcha that is solved correctly (they can choose to directly donate it to a charity of their choice), hCaptcha get a cut for running the service and a customer will get their images/data labeled.

I've created Quoter[0] to address this point in particular. I read a fair amount of materials on daily basis (books, blogs, discussions) and some times I want a to save a sentence. With Quoter it's just one click away.

To get reminded about the quotes (or annotations) that I've saved: I've configure it to show a random quote every 3 hours.

This quote was shown when I was writing this comment :)

Every time you create something – whether it's a website, a client app, a blog post, a powerpoint presentation, or an email – ask yourself, "so what?" If you can't answer that question convincingly, reformulate and try again.

It also have the ability to export saved quotes, I a script to process the output to a page on my website[1].

[0] https://getquoter.app/ [1] https://mhasbini.com/highlights.html

Hey HN,

Often, I come across interesting quotes or tips that are worth saving.

I’m lazy, so I needed a way to save them effortlessly – otherwise, I would forget or procrastinate.

I also wanted a pop out every now and then to remind me of my highlights, so I don’t have to manually check the quotes.

Then I hacked together a workflow that saves quotes using a shortcut and a cronjob that shows a random quote periodically (every 6 hours).

I used this setup for almost two years and it worked perfectly (My saved highlights: http://mhasbini.com/highlights.html).

Recently I decided to make the quotes accessible from the menu bar with the ability to easily change configurations and manage the quotes. I worked with a friend who had similar needs and so Quoter was born.

It just works and doesn’t get in your way. It’s configurable and lightweight (~3 MB compressed and have small footprint).

Hope you like it.

Start Your Own ISP 9 years ago

Thanks for your great work!

In the past what I've seen is that the police will ask you to identify who was using an IP and also to help them catch the person in the act if they do the thing again

What's the method to catch the person in the act? Is it something like creating a rule: "if [this website] was visited between [foo] and [bar] notify me" at the routing level?