Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
mg
7mo ago
German chancellor Friedrich Merz ... lashed out at German workers to “simply do a little more,” Germany literally pays people to do nothing. A friend of mine, an engineer who works in the German car industry, recently tol
32.
▲
by
mg
7mo ago
What basic office tasks are that? The last time I was excited about the performance of local computers was in the 90s I think. Modern laptops are so insanely fast. Not sure if they are 2x, 10x or 100x faster than I need them to be. But I ne
33.
▲
by
mg
7mo ago
The one thing that interests me most when it comes to laptops these days is weight. So I jumped right into the tech specs section and looked it up. Since this is the "Air" laptop of the company that is popular for thin and lightwe
34.
▲
by
mg
8mo ago
I'm not sure. I have not seen them on any large retailer in the USA like Amazon, Walmart, Newegg, BestBuy etc. Maybe if someone here is in the USA and has bought one, they can chime in and tell where they got it from?
35.
▲
by
mg
8mo ago
I have been maintaining this chart of phones with replaceable batteries available in the USA for 10 years now: https://www.productchart.com/smartphones/removable_battery Man, is it empty these days. The chart used to b
36.
▲
by
mg
8mo ago
Are you located in a country where Google does not yet show AI answers? In most countries, AI answers are the central aspect of Google now. Not the ranked pages.
37.
▲
by
mg
8mo ago
I don't think we have seen "all functionality" yet. We have not seen iterative AI use for example. The use case, where you tell the model "Solve this task. Then solve it again. Keep the better solution, then solve it aga
38.
▲
by
mg
8mo ago
The earnings do not need to come via direct monetization. Google search revenue for example was over $200B in 2025. This revenue will be tightly coupled to the quality of their AI models in the future.
39.
▲
by
mg
8mo ago
Sometimes it works. Steve Jobs aimed for 1% market share with the iPhone: https://youtu.be/VQKMoT-6XSg?t=4605 Now it is at 20%.
40.
▲
by
mg
8mo ago
My napkin-math approach to get a bird's eye perspective on the situation: A $1T investment needs to produce on the order of $100B in yearly earnings to be a good investment. Global GDP is about $100T. So one way for things to work out
41.
▲
by
mg
8mo ago
Is Termux still needed, now that new Android phones have a full Linux available? I keep reading on https://www.reddit.com/r/androidterminal/ about user experiences with it and it seems pretty great.
42.
▲
by
mg
8mo ago
This is a great example of how useful the File System Access API is. On http://co-do.xyz/ you can select a directory and let AI get to work inside of it without having to worry about side effects. The Fily System Access API
43.
▲
by
mg
9mo ago
I wonder what would happen if the USA offered to pay $1,000,000 to every Greenlander if Greenland becomes part of the USA. That would be just $50B - a pretty cheap way to increase the size of the USA by 20%.
44.
▲
by
mg
9mo ago
I don't have kids, but if I did, I would probably not go for Lego but for 3D-Printing. It shouldn't be hard to print pieces that can snap together. In all kinds of colors and all kinds of forms. I imagine the adventure of printing
45.
▲
by
mg
9mo ago
How did you test the output of Math.random() for transcendence? When you apply the same test to the output of Math.PI, does it pass?
46.
▲
by
mg
9mo ago
Three surprising facts about transcendental numbers: 1: Almost all numbers are transcendental. 2: If you could pick a real number at random, the probability of it being transcendental is 1. 3: Finding new transcendental numbers is trivial.
47.
▲
by
mg
9mo ago
Is there an error in the first video at 00:25? https://www.youtube.com/watch?v=eMXuk97NeSI&t=25 It says the input has 3 dimensions, two spatial dimensions and one feature dimension. So it would be a 2D grid of numbers.
48.
▲
by
mg
9mo ago
My problem with custom tags is that they require a hyphen, and that makes it impossible to have consistency between tag names and variable names. With classes, I can do: carList = document.querySelector('.carList') With c
49.
▲
by
mg
10mo ago
Contenteditable plus the CSS Custom Highlight API (which highlights ranges instead of elements) might indeed allow for a good solution. But I have not yet seen an editor that does that.
50.
▲
by
mg
10mo ago
It seems to have the same problems all of the web based editors I have seen have. Either they capture ctrl+f and take away the native search experience. Or they have a broken search experience. This one is in the latter category. When I hit
51.
▲
by
mg
10mo ago
This is interesting. I have yet to see a good web based text editor with syntax highlighting. They all mess with the native search functionality of the browser. Because they can't just use a textarea for the edit area. With this approa
52.
▲
by
mg
10mo ago
That works on the text inside a textarea? Is there a demo showcasing this somewhere?
53.
▲
by
mg
10mo ago
Oh, you are right! Hmm .. and the approach already shows its weaknesses when I play with it: When I search for something on the page, it gives me twice as many hits as there are. And jumps around two times to each hit when I use the "n
54.
▲
by
mg
10mo ago
Give me a few more weeks and I will probably have something online. You can find me on social media or feel free to connect via email.
55.
▲
by
mg
10mo ago
I'm currently building an online 3D-Editor that supports OpenSCAD and Python as the input language. The ease of use to highlight static text via Arborium seems nice: <script src="arborium.iife.js"></script
56.
▲
by
mg
10mo ago
I just wanted to write about a similar observation when using it in FireFox on Linux: When wiggle the spring, keep the mouse inside the white area until it is at rest, press CTRL+u to see the source code, move the mouse to close the source
57.
▲
by
mg
10mo ago
DISCOVER THE SHOCKING TRUTH ABOUT HOW TO hello WITH name: PRINT "hello " + name
58.
▲
by
mg
10mo ago
As I understand it, "RETURN" means that the function will return something. And that when you define a function that returns nothing, but only does something, you just use "HOW TO".
59.
▲
by
mg
10mo ago
Well, not as bad as something like public static function words(string $document): array { which some languages these days are coming up with.
60.
▲
by
mg
10mo ago
The first example in the lanuage introduction ( https://homepages.cwi.nl/~steven/abc/ ): HOW TO RETURN words document: PUT {} IN collection FOR line IN document: FOR word IN split line:
More ›