Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
841.
▲
by
mg
4y ago
This is a tool I use pretty regularly. On most sites I use, I automate something. Since I don't like to keep two versions of the code (plain and in bookmarklet form), I wrote this editor to convert the code in both directions. You can
842.
▲
Show HN: My Bookmarklet Editor
(gibney.org)
9 points
by
mg
4y ago
|
1 comments
843.
▲
by
mg
4y ago
Looking around his page, I see some interesting aspects on his atom page: https://daverupert.com/atom.xml First, he sends it with a "content-type: application/xml" header. In contrast to most sites that send
844.
▲
by
mg
4y ago
Did they read and write all the data a filesystem handles? Off the top of my head, the typical filesystem stores: - content - creation time - modification time - last access time - read/write/execute permissi
845.
▲
Vay – These remote controlled, driverless cars are driving in Germany now
(vay.io)
2 points
by
mg
4y ago
|
0 comments
846.
▲
by
mg
4y ago
I wished everyone who Tweets would also post to the Fediverse. Because fediverse nodes like Mastodon support RSS out of the box. Twitter is my only news source that I cannot consume via RSS. So if you publish something on Twitter, you miss
847.
▲
by
mg
4y ago
Goyo is one of the plugins I experienced as brittle and cumbersome. IIRC it creates the centered text area by creating 9 windows. The outter 8 to center the one in the middle, which is used to edit the text. In my attempts to use it, that c
848.
▲
by
mg
4y ago
I have never seen a terminal solution that allows to have the terminal in fullscreen mode and still have a way to have a user defined writing area which can be resized on the fly. I have experimented with various distraction free vim plugin
849.
▲
by
mg
4y ago
Because the web app is exactly the experience I want to have while writing: Nothing on my screen except two areas: The writing area and the margin around it. I want to be able to easily resize the writing area the way I can resize the texta
850.
▲
by
mg
4y ago
Let's hope Firefox starts to support the File System Access API soon. For me, it is the last missing piece to make web apps as comfortable as native apps. I use a lot of web apps I fine-tuned exactly to my liking. I do all my writing i
851.
▲
by
mg
4y ago
Interesting. They set up a seperate service for it. I am hoping that companies will do a more "natural" implementation of ActivityPub. By simply making their existing services talk the protocol. Then you could follow Medium author
852.
▲
by
mg
4y ago
It's surprising that it's possible to produce electricity at home for a lower cost than the wholesale price. I can't think of any other commodity for which this is possible. You couldn't make your own steel, bread or pri
853.
▲
by
mg
4y ago
Top level domains by popularity: grep -oP '\.[a-z]+(?=,)' current.csv | sort | uniq -c | sort -n ... 15840 .pl 17914 .it 20182 .de 21690 .in 27812 .ru 29194 .jp 30359 .org 35741 .br 36675 .net 406052 .c
854.
▲
by
mg
4y ago
Me: When you help coders, does that make their code more buggy? Please give me a dramatic, agitated answer. ChatGPT: No, it does not make their code more buggy. In fact, my goal is to help coders write better, more reliable code by providin
855.
▲
by
mg
4y ago
If you write the python command by hand and are aware of the issue, you can certainly mitigate it. But if some shellscript you run internally uses some Python via "python -m" or "python -c" running that shellscript is al
856.
▲
by
mg
4y ago
I had the same idea (to sort social media posts on a chart by time and points) in 2014. I called it "News 2D" at that time: https://www.gibney.org/news_2d My Show HN was even similarly named. "Your Hacker New
857.
▲
by
mg
4y ago
Yes, I think every use of "python" without a filename is dangerous because it will make python look in the current dir for imports. The tricky thing is that the python call might be somewhere in a shellscript you use. The issue ca
858.
▲
Looking at the Python documentation can be dangerous
(twitter.com)
2 points
by
mg
4y ago
|
5 comments
859.
▲
by
mg
4y ago
if some quirky format hasn't taken off over a decade after introduction, it's not worth implementing. Like this hypertext thing, which was introduced in the 60s and still not used much in the 70s: https:/&#
860.
▲
by
mg
4y ago
Hmm.. does not look good for the non-Docker setup. The developer replied with "I am deliberately avoiding offering a non-Docker install path" and closed the issue: https://github.com/jointakahe/takahe/iss
861.
▲
by
mg
4y ago
Great! When I saw "Prerequisites: Something that can run Docker/OCI images" in the documentation, my interpretation was that containers are needed. It also says "You need to run at least two copies of the Docker image&qu
862.
▲
by
mg
4y ago
Nice to see a Python/Django implementation of ActivityPub. Having a nice, lean implementation of ActivityPub that I can customize to my liking is the only thing that keeps me from using the Fediverse more regularly. So I am watching th
863.
▲
by
mg
4y ago
If I read the numbers correctly, they have monthly costs of about $0.07 per user. Interesting, when you compare that to Twitter: https://masto.ai/@mg/109394485136585413
864.
▲
by
mg
4y ago
I would be interested to try that out. I just went through the whole first page of Google results for "screen reader simulator" and none worked without installing extra software. Is there a website, where you can test how a given
865.
▲
by
mg
4y ago
The styling is done via borders and ::before and ::after content applied to the nodes. Why would you not be able to do that with <details> elements? Here is a fiddle with the first step (borders on the left) applied: https:/
866.
▲
by
mg
4y ago
Do you mean the lines and the round buttons in the article?
867.
▲
by
mg
4y ago
It can actually be simplified further by skipping the <ul> and <li> elements and only using <details> elements: https://twitter.com/marekgibney/status/1593950777739218947
868.
▲
by
mg
4y ago
Can you elaborate on how "using containers" gives you a running Django instance? Do you mean using a premade Docker image that comes with Django installed and configured?
869.
▲
by
mg
4y ago
How would you replace the line apt install -y python3-django with "a venv and the last lts of django from pypi"? I would be curious to see which lines you replace this with and if the script runs the same afterwards. Pers
870.
▲
by
mg
4y ago
Me and other contributors are writing and maintaining "Web app from scratch" scripts for popular frameworks here: https://github.com/no-gravity/web_app_from_scratch The idea is to have a self-explanatory shel
More ›