Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
391.
▲
by
mg
2y ago
What I love about Django is that you can create a Django project with just one file. You can turn a fresh Debian machine into a running Django web app by just doing: apt install -y python3-django apache2 libapache2-mod-wsgi-py3 And
392.
▲
by
mg
2y ago
Surprisingly, none of the replies here in the HN thread pass the test either. They all confuse correlation with causation. A reply that would pass the test: The siblings Ana, Berta and Charles live together and get random calls from mom and
393.
▲
by
mg
2y ago
Maybe they should tag tags they create with AI as 'Tagged with AI'.
394.
▲
by
mg
2y ago
True, if you rewrite the code, then that would even work via a simple injection of _cover(123); after each line, where 123 is the line number. Could be a fun project to write a bookmarklet that does this to the current page, then l
395.
▲
by
mg
2y ago
Yes, typo. I meant non-finance. QQQ is a good indicator for how tech performed since the so-called "dot com bubble". And it performed pretty well. That's why I tend to not call it a bubble.
396.
▲
by
mg
2y ago
How is it able to test code coverage in the browser? Can JavaScript step through JavaScript?
397.
▲
by
mg
2y ago
I often wonder if there really was a dot com bubble. Some companies failed, but shouldn't we look at the software market as a whole? Look at the performance of th qqq certificate, which invests in the largest 100 non-tech companies in
398.
▲
by
mg
2y ago
AI is already so woven into my life. I use it all the time and wouldn't want to go back. For example I made a bookmarklet that summarizes articles linked from HN. So the way I have skimmed this article is by reading this: Apple&#
399.
▲
by
mg
2y ago
You mean a prompt in the form of "A happened, then B happened, then C happened" activates the word "inconsistency"? We can test that by slightly altering the text so that there is no inconsistency anymore and see if the
400.
▲
by
mg
2y ago
The better the models get, the harder it is for me to form a mental model of what goes on inside of them. An example of a prompt for which I don't have a good mental model why it works: What do you think about the following text?
401.
▲
by
mg
2y ago
The baml config files look a lot like code. For example in baml: class Resume { name string education Education[] @description("Extract in the same order listed") skills string[] @description("On
402.
▲
by
mg
2y ago
I think a good indicator if it is useful or not is to look at how much it is actually used. Tesla published a chart of cumulative miles driven over time on page 8 of their latest quarterly update: https://digitalassets.tesla.com&
403.
▲
by
mg
2y ago
Interesting, how different the monetary base over time looks like in China compared to the US and Europe when you click on "max" on these charts: https://tradingeconomics.com/china/money-supply-m0 USA: https
404.
▲
by
mg
2y ago
Online advertising is such a strange world. Do I see it correctly, that half of the worlds' population (the ones without ad blockers) is paying the web for the other half (the ones with ad blockers)? The amount of ads these days is so
405.
▲
by
mg
2y ago
One file in your project. 'apt install sqlite3' will install more than one file too. But the DB that is in your project is just one file.
406.
▲
by
mg
2y ago
You just need a wsgi.py file: import os import django from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mysite.wsgi') application = get_wsgi_applicat
407.
▲
by
mg
2y ago
I wonder how much of a factor the "One DB, one file" concept is in SQLite's success. I always loved that an SQLite DB is just a single file. People say "Who cares how many files the DB is?". But in practice, I alway
408.
▲
by
mg
2y ago
I don't know enough about Mandarin to have an opinion on it. The language has more characters than what fits on a keyboard, right? I wonder how typing on a keyboard feels. I guess only people who have experience in writing Mandarin an
409.
▲
by
mg
2y ago
Maybe the world should standardize on: Driving on the right Speaking English The metric system The 2024-06-09 date format The Celsius scale The 24-hour clock
410.
▲
by
mg
2y ago
When they released Stable Audio 2.0, I tried to create "unusual" songs with prompts like "roaring dragon tumbling rocks stormy morning". The results are quite interesting: https://www.youtube.com/@MarekGi
411.
▲
by
mg
2y ago
All public alternatives I know about: https://www.gnod.com/search/ai DevvAI, FastGPT, Perplexity, Phind and YouChat all seem to be up.
412.
▲
by
mg
2y ago
To support SSL you would add a virtual host section like this: <VirtualHost *:443> ServerName mysite.local SSLEngine on SSLCertificateFile /path/to/cert SSLCertificateKeyFile &#x
413.
▲
by
mg
2y ago
docker run -v $PWD:/app/public -p 443:443 \ dunglas/frankenphp If you want to build a docker container yourself that you can use to serve your app, then running these commands should do the trick to turn a fre
414.
▲
by
mg
2y ago
From a single image, one cannot get a good grasp. If you want to show the world a new fractal, I think the best way is to write a js+webgl program and put it online, so people can explore it themselfes.
415.
▲
by
mg
2y ago
A way to colorize the two-dimensional plane. Nothing compares to the complexity of the Mandelbrot formula when it comes to colorizing the two-dimensional plane. With complexity I mean the human impression of complexity. The reaction of &quo
416.
▲
by
mg
2y ago
I'm still surprised that only one mathematical form has been found with the beauty and depth of the Mandelbrot set. One would think that like in the physical world, there should be many "species" with different types of appea
417.
▲
by
mg
2y ago
I don't know much about Nostr, but would like to learn more. The author says they usually publish their messages to the relay at wss://pyramid.fiatjaf.com Does that mean when I use a Nostr client, I can instruct it to pull fr
418.
▲
by
mg
2y ago
The one long term open bug that irks me the most is that you cannot properly date-format the x-axis of scatter plots in LibreOffice: https://bugs.documentfoundation.org/show_bug.cgi?id=54132 12 years old. According to the c
419.
▲
by
mg
2y ago
developers can add “breadcrumbs” to their apps so that you can not just return to a specific app but also the exact context you wanted to Recall Similar to what the back button does on many web apps? Some people say th
420.
▲
by
mg
2y ago
The headline says Bento3D is a web tool that allows you to create 3D printable dividers and toolboxes with millimeter precision. Is the "millimeter" precision noteworthy? This is kind of a CAD program, right? Why
More ›