Better HN
topnewbestaskshowjobs
Log inSign up

mhasbini

751 karma · joined Nov 29, 2016 (9y ago) · 117 submissions

Mohammad Hasbini

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

Submissions

comment 2y ago · link · parent

Tom Scott was an early contributor to POPFile.

comment 3y ago · link · parent

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);
    })();

comment 3y ago · link · parent

There's https://github.com/httpjamesm/AnonymousOverflow. I made https://doublefault.mhasbini.com/ before I knew about it. On the plus side it keep default aesthetics.

4.

Building a Foldable Rover(youtube.com ↗)

3 points · by mhasbini · 3y ago · discuss

comment 3y ago · link · parent

Deobfuscated script without the vm part: https://gist.github.com/mhasbini/f9269d230ed8eb6dfdbb1bd1be9...

comment 3y ago · link · parent

Deobfuscated https://gist.github.com/mhasbini/97b471911866e7c7016fa6f27e7...

comment 4y ago · link · parent

I tested another HDMI cable and it's been running smoothly so far.

comment 4y ago · link · parent

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...

9.

The issue of white 100 USD bill in Lebanon(today.lorientlejour.com ↗)

3 points · by mhasbini · 4y ago · 4 comments

comment 4y ago · link · parent

They market it as a pure sine power supply: https://eu.ecoflow.com/products/river-portable-power-station...

Is there another appliance that I can test to see if that's the issue? I don't have an oscilloscope.

Edit: I just tested powering it from a UPS: It's flickering more now and when it show the correct content it stays for a second more then when powering from the ecoflow.

The monitor model is: BenQ GW2780-T.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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

13.

Porting 2048 game to Odroid Go(mhasbini.com ↗)

2 points · by mhasbini · 4y ago · discuss

comment 5y ago · link · parent

I forked old reddit redirect plugin to redirect to teddit.net: https://github.com/0xbsec/teddit-redirect

15.

Ask HN: Favorite Quotes

1 points · by mhasbini · 5y ago · discuss

comment 5y ago · link · parent

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

17.

Using the Monte-Carlo simulation to estimate the value of 𝛑(ahmadhamze.github.io ↗)

2 points · by mhasbini · 5y ago · 2 comments

comment 5y ago · link · parent

The picture in the README is a link to a (older) YouTube video.

Self plug: I was annoyed by the lack of indicators: when it's a picture or a youtube link that I created https://mhasbini.com/blog/embed-youtube-in-github.html

E.g. of before & after: https://github.com/bezineb5/RoboScan/pull/2

19.

Httpy – Let's build a (nano) HTTP client(mhasbini.com ↗)

3 points · by mhasbini · 6y ago · 1 comment

comment 6y ago · link · parent

Supporting GSuite/workplace accounts is on my list for things to look at once an MVP is ready.

Did you try to process listed here: https://support.google.com/a/answer/100458?hl=en ?

comment 6y ago · link · parent

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.

22.

Impossible List(mhasbini.com ↗)

1 points · by mhasbini · 6y ago · discuss

23.

Designing a standard sewage network for refugee camps(monacivilengineering.blogspot.com ↗)

126 points · by mhasbini · 6y ago · 40 comments

24.

My Next Phone: Rational decision to choose my next phone(mhasbini.com ↗)

1 points · by mhasbini · 6y ago · discuss

comment 6y ago · link · parent

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.

26.

Deploy this blog using nix(mhasbini.com ↗)

1 points · by mhasbini · 6y ago · discuss

comment 6y ago · link · parent

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!

comment 6y ago · link · parent

I tried it with a bit complex pdf structure and it worked like charm +1. Would love to learn more about the underlying techniques/tech.

29.

Emoji Solar System(mhasbini.com ↗)

1 points · by mhasbini · 6y ago · discuss

30.

YouTube Embed as a Picture(yt-embed.herokuapp.com ↗)

1 points · by mhasbini · 6y ago · discuss

1234