Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
511.
▲
by
mg
3y ago
Is there any proof that the universe is bigger than what I experience right now? For example: My eyes can focus on this word on my screen: "Hello". I don't know how many bits of information this word contains. I can see the s
512.
▲
by
mg
3y ago
Yesterday, in Microsofts earnings report, a number that stood out to me was their quarterly Linkedin revenue of $4B. That revenue probably mostly comes from the old school hiring process where employer and employee get to know each other an
513.
▲
by
mg
3y ago
Same. I don't like that the meta stuff inside the function. I prefer to have the function be pure code.
514.
▲
by
mg
3y ago
I don't really like types on the function declaration line. Instead of this: def check_permission(user: User, perm: str, obj: BaseModel | None) -> bool: I find it much nicer to read something this: """
515.
▲
by
mg
3y ago
In Chromium, you can click on the request in the Network panel and it will show the IP. I see: Remote Address: [2606:7100:1:67::26]:443 When I put that into the url bar: https://[2606:7100:1:67::26]/ I also
516.
▲
by
mg
3y ago
What I like about Bluesky is that your identity is a hostname. So you can just use your own domain for example. What I don't understand is why the bsky.social service (which holds most user accounts at the moment) doesn't redirect
517.
▲
by
mg
3y ago
That lacks a few things: 1: The comment 2: Printing the status message ("Listening on ...") 3: Outputting "Hello world, got {request.path}!" Aka http request parsing and string extrapolation.
518.
▲
by
mg
3y ago
I like the first code example on https://crystal-lang.org # A very basic HTTP server require "http/server" server = HTTP::Server.new do |context| context.response.content_type = "text&#
519.
▲
by
mg
3y ago
Compare that to Plausible: Over $2M in revenue last year. Plausible started in 2019. Not sure when [name redacted] started. Clicking on "blame" for the readme file in the repo, I see a commit from 5 years ago. I can very much empa
520.
▲
by
mg
3y ago
The thing is, I don't run my applications locally with a "local run command". I prefer to have a local system set up just like the production server, but in a container. Maybe using WSGI with MaxConnectionsPerChild=1 could be
521.
▲
by
mg
3y ago
I love Python and use it for everything other than web development. One reason is performance. So if Python has a faster future ahead of it: Hurray! The other reason is that the Python ecosystem moved away from stateless requests like CGI o
522.
▲
by
mg
3y ago
Is Lemmy the new Usenet? Looks like there is quite some action already: https://lemmyverse.net
523.
▲
by
mg
3y ago
"some queries"? Show them, so we can discuss?
524.
▲
by
mg
3y ago
Without a browser, I can't think of a solution that is as lean as just putting a line into your vimrc. I guess you have to decide on an LLM that provides an API and write a command line tool that talks to the API. There probably also a
525.
▲
by
mg
3y ago
What did you try?
526.
▲
by
mg
3y ago
That could be. If so, it would be interesting to know how Copilot does that. For me, just asking LLMs "Can the following function be improved" for a function I just wrote is already pretty useful. The LLM often comes up with a way
527.
▲
by
mg
3y ago
For vim, I use a custom command which takes the currently selected code and opens a browser window like this: https://www.gnod.com/search/ai#q=Can%20this%20Python%20funct... So I can comfortably ask different AI engine
528.
▲
by
mg
3y ago
Is there a good fitness band to measure sleep quality that lets you download the data from a Linux machine, or at least lets you see the data on screen? With "see the data on screen", I mean at least some quality index, not just t
529.
▲
by
mg
3y ago
products below 200 euros and brands speedo or quicksilver That is what I expected you could mean. Yes, that is a popular pattern. But it is not customizable like the "bicycles that are (made of steel AND weigh from 10 to 20kg
530.
▲
by
mg
3y ago
Outside of product search, there certainly are user customizable OR functions in search. That's why I said that the product search example the article gave is probably not a good example. Because in product search it is very, very unus
531.
▲
by
mg
3y ago
Can you link to a product search where OR is supported?
532.
▲
by
mg
3y ago
But faster than you can imagine, the next requirement comes in: OR filters! bicycles that are (made of steel AND weigh from 10 to 20kg) OR (made of carbon AND weigh from 5 to 10kg) Hmm.. I don't know if this is a goo
533.
▲
by
mg
3y ago
This brings up the question how efficient the human brain is. As AI keeps catching up more and more with human intelligence, will it also need more and more hardware? Can it achieve human and superhuman intelligence and still run on a devic
534.
▲
by
mg
3y ago
How far away are we from AI reading books so well that everybody who has the book in text form automatically has it in audio form, because they can just turn it into audio via a multitude of AI text to speech networks? By the way, I would l
535.
▲
by
mg
3y ago
When you lend money from a bank, you will not spend it on fancy restaurant visits. Because you know you will have to pay it back. When you own a house and there is a cafe in that house which pays rent even though it is closed, because it ge
536.
▲
by
mg
3y ago
No. That is exactly my point: That the change in M0 is the source of increased prices, not changes to M2 (apart from the changes that are in M2 because M0 is in M2). Think about it this way: How can M2 increase without M0 also increasing? T
537.
▲
by
mg
3y ago
The amount of money was increased by a factor of 6 since 2008: https://fred.stlouisfed.org/series/BOGMBASE The amount of products and service we produce probably did not. Most people think that M0 is only a small facto
538.
▲
by
mg
3y ago
How would ed help? Say one of the files is talk.py and there is a function inside of it at line 17 which the LLM wants to change: 17 def hello(): 18 print ("Hello!") My approach would be to provide the LLM with a
539.
▲
by
mg
3y ago
Why attach this to an IDE? I would think that simply letting an LLM control a terminal and make a commit would be the better approach. I recently tried it with "You are in a directory with a web app that does ... and you want to implem
540.
▲
by
mg
3y ago
I wasn't comparing energy in a battery to energy in the atmosphere. I was comparing a car in city A with a car moved to city B. Both in warm atmosphere. You can heat the atmosphere AND move the car, without creating more entropy than b
More ›