Better HN
topnewbestaskshowjobs
Log inSign up

mdibaiee

325 karma · joined May 15, 2014 (12y ago) · 51 submissions

Submissions

comment 1y ago · link · parent

I thought so, but I installed Sleep Aid, and when I disable "Wake for Maintenance", Sleep Aid gives me a stern warning:

> Disabling "Wake for Maintenance" can lead to this Mac waking every few seconds. Please select "Disable Wi-Fi" to help with this

So it seems like actually Enabling this setting somehow prevents the Macbook from waking up every few seconds... presumably due to Wi-Fi? Enabling it seems like the recommendation by Sleep Aid anyway

comment 1y ago · link · parent

Seems like wider outage of Google Cloud Run services, can anyone confirm?

comment 3y ago · link · parent

For people who want to put something like this, here is the code snippet:

  <span id='browser' class='hidden'>
    This website is designed for <a target="_blank" rel="noopener noreferrer" href="https://firefox.com/">Firefox</a>, a web browser that respects your privacy.
  </span>

  <script>
    if (window.chrome) {
      document.getElementById('browser').className = '';
    }
  </script>
Class .hidden must hide the element somehow, in this case I do:

  .hidden { display: none; }

comment 3y ago · link · parent

https://mahdi.blog

comment 3y ago · link · parent

SEEKING WORK | Based in EU | REMOTE ONLY (anywhere)

GitHub: https://github.com/mdibaiee

Email: mdibaiee@pm.me

Hello! I'm a software engineer with 8 years experience, focused on backend development and infrastructure at the moment, but I have front-end and full-stack experience as well, and I'm happy to be an all-arounder for freelance projects!

Technologies: Rust, Go, Kotlin, Scala, TypeScript, CSS, HTML, React, Kubernetes, Docker, Linux, DevOps, GitLab, GitHub, Jenkins, Elasticsearch, Linkerd, Istio, Terraform, Helm, Supabase, Postgres, Ruby on Rails, etc.

I'm flexible with timezones, and I try to be a good async communicator: I do my best to reply early and keep people in the loop. I have been working remotely for the past 6 years.

Let's chat about your project!

comment 4y ago · link · parent

We are not asking for foreign countries to "replace the Ayatollahs" for us. What we are asking, is ending their diplomatic relations with this government, or at least severing it, instead of trying to strengthen their diplomatic relations.

A deal between this dictatorship and the west will only strengthen them, leading to more oppression. A weakened dictatorship due to foreign pressure will make it easier for the people of Iran to replace them.

comment 4y ago · link · parent

For me the reasoning is being able to distinguish between what needs to be wrapped, and what I would prefer not to be wrapped. In this case, code samples would preferrably not be wrapped. If I can wrap normal text manually, and keep code samples unwrapped, the client can disable wrapping entirely and see the code lines untouched.

This is possible with HTML and CSS, but not in plaintext. I think wasted space is something I can handle, but a badly wrapped code is something I dislike.

comment 4y ago · link · parent

the code highlighting is really cool, well done! pretty sure it's possible to do something like that with jekyll by updating the `highlight` liquid tag to be able to render ascii highlighting in case of raw pages.

comment 4y ago · link · parent

ah! that one includes a JavaScript I used to draw a canvas in the post body, hence the script showing up in the curl result. Might try to think of a solution for that.

Edit: fixed it by moving the script to its own file.

10.

You can read my blog posts using curl(mahdi.blog ↗)

101 points · by mdibaiee · 4y ago · 70 comments

11.

What is Box﹤str﹥ and how is it different from String in Rust?(mahdi.blog ↗)

2 points · by mdibaiee · 4y ago · discuss

comment 4y ago · link · parent

I use Protonmail.com and I'm quite happy with their service. It does allow custom email domains, etc., but is paid.

comment 4y ago · link · parent

Location: Ireland

Remote: Yes

Willing to relocate: No

Technologies: Java/Kotlin/Scala, Rust, Haskell, Go, Kubernetes, DevOps, etc.

Resume: https://mahdi.blog/files/resume.pdf

LinkedIn: https://www.linkedin.com/in/mdibaiee/

Email: mdibaiee@pm.me

GitHub: https://github.com/mdibaiee

I'm a software/platform engineer for 6 years, looking for opportunities preferrably with potential for low-level programming work. See my resume for my experience with different technologies and projects. Thank you!

comment 6y ago · link · parent

LastPass is the worst piece of software I have ever worked with. We had a lot of trouble making sense out of its sluggish user interface and confusing terminology and more.

BitWarden is my choice, it's cheaper than alternatives, the UI is simple and easy to understand. It's open-source and battle-tested. You may want to self-host as well.

15.

Emulator Tools for Google Cloud BigTable and PubSub(github.com ↗)

5 points · by mdibaiee · 6y ago · discuss

comment 6y ago · link · parent

That's a good idea to propose to Mozilla for the new "Firefox Preview" which is a new version built from the ground up. They are open to innovations on that version and so far they already have made some experiments there.

You might want to try it out and leave this idea as a feedback on the app: https://play.google.com/store/apps/details?id=org.mozilla.fe...

17.

How Complex Systems Fail (1998) [pdf](web.mit.edu ↗)

4 points · by mdibaiee · 7y ago · discuss

comment 7y ago · link · parent

thiscommentdoesnotexist.com

comment 7y ago · link · parent

Hey! I just added Gnod tools to the list. I saw your pull-request for Gnoosic, but the other tools also fall in the same bucket.

comment 7y ago · link · parent

This is cool! I would appreciate pull-requests to add these to the repository

Otherwise I will take a look at them later on myself

comment 7y ago · link · parent

There is Stylus for Firefox and Chrome:

Firefox: https://addons.mozilla.org/en-US/firefox/addon/styl-us/

Chrome: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpe...

22.

Going Self-Hosted: Moving Away from Google and Others(theread.me ↗)

4 points · by mdibaiee · 7y ago · discuss

23.

Show HN: Super Snake – Snake game packed with extra fun(github.com ↗)

2 points · by mdibaiee · 8y ago · discuss

24.

Mathematical Induction for Proving Tiling Methods(theread.me ↗)

1 points · by mdibaiee · 8y ago · discuss

25.

Haskell Typoclassopedia: Exercise solutions(theread.me ↗)

2 points · by mdibaiee · 9y ago · discuss

comment 9y ago · link · parent

It looks lightweight, but it's actually 3MB and uses JavaScript as a necessary dependency (so browsers without JavaScript will probably break it). The list is meant to include only websites with less than ~1MB of content and no, or very little JavaScript.

comment 9y ago · link · parent

Added to list, thanks! +1

comment 9y ago · link · parent

I just created an awesome-lite-websites list to be filled with lightweight and usable websites alike:

GitHub: https://github.com/mdibaiee/awesome-lite-websites

Hacker News thread: https://news.ycombinator.com/item?id=15212155

29.

Awesome-lite-websites – A list of lightweight websites without all the bloat(github.com ↗)

8 points · by mdibaiee · 9y ago · 4 comments

30.

Difference between Travis CI tests: pr and push(theread.me ↗)

2 points · by mdibaiee · 9y ago · discuss

12