Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mehdix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
mehdix
3y ago
haha! I did use regex to find and delete repetitive patterns of code with slight variation that would be carried out by the aforementioned function. I wish I could write such a monstrosity though :)
32.
▲
by
mehdix
3y ago
I was giving myself RSI by deleting <12000 lines of copied comments (only misleading noise, explaining what was happening) and <4000 LOC (replaced with a 120 LOC in a single fn) when I reverted to using regex while sanitizing a badl
33.
▲
by
mehdix
3y ago
Not quite what you're looking for, but checkout bullshit.js[0]. [0]: https://mourner.github.io/bullshit.js/
34.
▲
by
mehdix
3y ago
> If you hadn’t previously noted the difference between a living and a dead butterfly, I’m afraid you will now begin to see dead butterflies EVERYWHERE, as I do. I didn't know this (as most of us I'd guess). It was an interesti
35.
▲
by
mehdix
3y ago
Z is part of my dotfiles. Everywhere I clone them, Z would be available immediately.
36.
▲
by
mehdix
3y ago
That's fantastic news. OpenWRT-based cheap travel routers have been a life-saver for me during my trips, specially to countries behind Iron Curtain firewalls. I'll buy at least one as soon as it comes out.
37.
▲
by
mehdix
3y ago
Interestingly one reason I use firefox is because of its builtin synching. My tabs, bookmarks, and passwords are synced. Extensions could also sync their preferences (not sure about data). I also heavily use their "send tab to device&q
38.
▲
by
mehdix
3y ago
In order to consume such algorithmus in any form, one should first know whether such algorithms exist at all. Moreover they should be able to figure out which one applies to their problem best.
39.
▲
by
mehdix
3y ago
I was on Influxdb 1.8 when they introduced 2.0 and flux. I'm glad I refused to switch since it's deprecated in 3.0.
40.
▲
by
mehdix
3y ago
Baresip is the single cleanest SIP client/library that I've ever found. And there aren't many.
41.
▲
by
mehdix
3y ago
Because I wanted to learn more about CGI. Below is the script, I'd appreciate pointing out any weaknesses in it. https://raw.githubusercontent.com/mehdisadeghi/mehdix.ir/mas...
42.
▲
by
mehdix
3y ago
> But you did spend time learning unix, nginx, bash, CGI, SQLite, etc. True, and it's been a rewarding decision ever since. For a corporate or a community Netlify or similar JAMstack content management systems might make sense, but
43.
▲
by
mehdix
3y ago
I used to have my static website on Netlify. I was using their form submission API and webhooks to trigger AWS lambda functions to run some scripts and send emails to users upon replying their comments. The website would then be rebuilt usi
44.
▲
by
mehdix
3y ago
Firefox is my daily driver on all my computers and smartphones. There are some hiccups, often with obscure websites and airlines. Most of them better be avoided anyways. However, Slack and Microsoft Teams don't function properly in Fir
45.
▲
Messaging Layer Security is now an internet standard
(blog.mozilla.org)
21 points
by
mehdix
3y ago
|
1 comments
46.
▲
by
mehdix
3y ago
Slack added threads somewhere last year iirc.
47.
▲
by
mehdix
3y ago
The CVE[0] is still reserved and yet to be updated. 0: https://www.cve.org/CVERecord?id=CVE-2023-37450
48.
▲
by
mehdix
3y ago
I use DecSync in combination with Syncthing to achieve that.
49.
▲
by
mehdix
3y ago
It'd be in user's best interest but not corporation's best interest.
50.
▲
by
mehdix
3y ago
no GIL (Global Interpreter Lock)
51.
▲
by
mehdix
3y ago
Perhaps interesting, they also acquired rancher (makers of k3s).
52.
▲
by
mehdix
3y ago
I think the AI gold rush has just begun, and we are yet to see much more.
53.
▲
by
mehdix
3y ago
> The same is true of the time investment. One person once told me "urgency has no price." i.e. time is priceless, as cliche as it looks like. For me in the long run, the cost of time I invest in the "consequence" of
54.
▲
by
mehdix
3y ago
Sentenced to nine years in prison when on parole for a previous eight year conviction, while having a child and a disabled sister to care for compared to fighting for wagner for six months to be free again. Not defending their actions, but
55.
▲
by
mehdix
3y ago
It was a good reminder. > People don’t walk around with anti-résumés telling you what they have not studied or experienced (it’s the job of their competitors to do that), but it would be nice if they did. I can resonate with this one. Ov
56.
▲
by
mehdix
3y ago
I find "paying twice for things" a nice analogy. Over the years I have been unconciously paying more attention to the second price, and often ignore the first one (obviously I'm getting older and have less time to waste). &qu
57.
▲
by
mehdix
3y ago
This was exactly my experience too. Their app is also optimized toward that end, ad-riddled, laggy, and privacy-invasive (the green online dot, bombarded my pi-hole with requests). Their web is the same, just pushing for the app and slow. I
58.
▲
by
mehdix
3y ago
I received the announcement email today. I understand and appreciate them offering the email service for free for many years. It's a lot of work and I was always wondering how they manage to offer email hosting for free.
59.
▲
by
mehdix
3y ago
Aren't all those potential limitations, in fact their strengths? They are eating their own dogfood, which works for them. That sounds great to me.
60.
▲
by
mehdix
3y ago
I am one of them. Heck, I have even worked for a wireless charging startup for years :) Even though I own all sort of wireless charging gadgets, somehow prefer the definite result of connecting a cable compared to putting my phone on a surf
More ›