Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
961.
▲
Fizz Buzz performance across different languages
(codegolf.stackexchange.com)
4 points
by
mg
4y ago
|
0 comments
962.
▲
by
mg
4y ago
That caches though. You can see it when you strace it.
963.
▲
by
mg
4y ago
Yes, same error as before. Memory usage stays the same for a while, then starts to skyrocket shortly before it crashes. node is v10.24.0. (Default from the Debian 10 repo)
964.
▲
by
mg
4y ago
Your node version indeed did not crash. Tried for 2 minutes. But using a longer string crashed after 23s here: node -e 'function write() {process.stdout.write("1111111111222222222233333333334444444444555555555566666666667777
965.
▲
by
mg
4y ago
For some reason, this raised my curiosity how fast different languages write individual characters to a pipe: PHP comes in at about 900KiB/s: php -r 'while (1) echo 1;' | pv > /dev/null Python is about 5
966.
▲
Are generic domain names for new projects a good idea?
(twitter.com)
1 points
by
mg
4y ago
|
0 comments
967.
▲
by
mg
4y ago
Javascript has become so nice, now that browsers support modules. I use a module "dqs.js" for all my query needs. It contains only these two lines: export const dqs = document.querySelector.bind(document); export const
968.
▲
by
mg
4y ago
Good point! Will add it.
969.
▲
by
mg
4y ago
Thanks, will add it.
970.
▲
by
mg
4y ago
If you like the punch-hole design, then there are quite a few options.
971.
▲
by
mg
4y ago
I maintain this chart of small Android phones: https://www.productchart.com/smartphones/small_android_phone... You can filter by specs to see how close you can get to your dream phone. There are quite a few available o
972.
▲
by
mg
4y ago
Glad you like it! Good point about letting people subscribe to something. I will probably explore some options in this direction.
973.
▲
by
mg
4y ago
Wow, very cool, thank you! I just woke up and saw this now. Your changes definitely make it look more professional. I especially like the larger paddings and that the headline is aligned with the rest of the text. I will get back to working
974.
▲
by
mg
4y ago
Yes, maybe. I am not totally sure the green/yellow circle makes any sense though. I consider removing it.
975.
▲
by
mg
4y ago
Thanks. The style is already more or less defined by the home page, which I designed a while ago. So I mostly stitched together bits and pieces from the home page for this landing page.
976.
▲
by
mg
4y ago
Just when I make a break from fumbling with html and css to create a landing page! I am 45 minutes in and it looks like this: https://www.gnod.com/guest Feedback is welcome.
977.
▲
by
mg
4y ago
This shows how hard it is to make such a search engine. I tried "indie makers" and "digital nomad" in the directory and both listed only one blog: Pieter Levels. And that one is dead for quite a while and just redirects
978.
▲
by
mg
4y ago
The prerequesite would be a list of non spammy blogs. Could it be crowdsourced, similar to how ad blocker filter lists are crowdsourced?
979.
▲
ESO event on groundbreaking results from Event Horizon Telescope Collaboration
(eso.org)
72 points
by
mg
4y ago
|
45 comments
980.
▲
Why I like Bugs
(twitter.com)
1 points
by
mg
5y ago
|
0 comments
981.
▲
I asked Van Gogh, Picasso, Munch and Da Vinci to each paint a nuclear inferno
1 points
by
mg
5y ago
|
2 comments
982.
▲
by
mg
5y ago
This might hold true when the application in question does a lot of stuff covered by a framework. For example if it does routing, then it is nice to have common ground on how routing is done. If the application mostly does custom stuff, not
983.
▲
by
mg
5y ago
I wonder if I will ever use a JavaScript framework. My projects are usually either in the form of "User enters data, sends it to the server, server sends a new page back" Example: https://www.gnoosic.com/faves Or
984.
▲
An Ode to Shell Scripts
(twitter.com)
6 points
by
mg
5y ago
|
4 comments
985.
▲
by
mg
5y ago
Pro shell scripts: - I often encounter machines without Python or Go. I never encounter machines without Bash. - Python and Go will probably change faster than Bash. So the maintenance cost of scripts in Python or Go will be higher. - When
986.
▲
by
mg
5y ago
Before the vibe shift, all the cool websites looked like this: Here he shows the sites of Path, Medium, Circa, Squarespace and AirBnB After the vibe shift, websites suddenly started looking very different: Here he shows I
987.
▲
The Screaming Mona Lisa, Van Gogh Style
(twitter.com)
2 points
by
mg
5y ago
|
0 comments
988.
▲
by
mg
5y ago
For static websites, is there any reason not to host them on GitHub? Since GitHub Pages lets you attach a custom domain, it seems like the perfect choice. I would expect their CDN to be pretty awesome. And updating the website with a simple
989.
▲
by
mg
5y ago
After a cursory glance, my feeling is that "The Mathematics of Neuronal Networks" would be a better title? In recent years, the term "Artificial Intelligence" is often used instead of "Neuronal Networks". I wou
990.
▲
by
mg
5y ago
Can you link to an example? The type of standardized hotel room you describe sounds like the small rooms that are made to sleep during the night and leave during the day. Not for "living" in a foreign city.
More ›