ddg (python lib) is free and I'd say good enough for most tasks. (I think the endpoint is unofficial, but from what I've heard it's fine for typical usage.)
There's also google, which gives you 100 requests a day or something.
Here's the search.py I use
import os
import json
from req import get
# https://programmablesearchengine.google.com/controlpanel/create
GOOGLE_SEARCH_API_KEY = os.getenv('GOOGLE_SEARCH_API_KEY')
GOOGLE_SEARCH_API_ID = os.getenv('GOOGLE_SEARCH_API_ID')
url = "https://customsearch.googleapis.com/customsearch/v1"
def search(query):
data = {
"q": query,
"cx": GOOGLE_SEARCH_API_ID,
"key": GOOGLE_SEARCH_API_KEY,
}
results_json = get(url, data)
results = json.loads(results_json)
results = results["items"]
return results
if __name__ == "__main__":
while True:
query = input('query: ')
results = search(query)
print(results)
just setup searxng yesterday and mcp for it in lm studio to be able to search the net for answers to simple queries. small ibm granite worked surpassingly well, while oss20b seemed to be looping searches.
It's only criminal if they aren't provided with the education/information they need to live healthy lives (which is possible with the right diet/supplements).
Dark skinned people do not produce enough vitamin D in northern latitudes because of melanin. If you’re black and in Minnesota you probably need supplementation.
Minnesota? Minnesota isn't particularly dark. Minneapolis is apparently on the same latitude as Venice, Italy, and I don't think of Venice as particularly dark or gloomy (to be fair, they probably have better weather).
But yeah. Low vitamin D levels are common even with lily white people in Northern Europe, and at least here in Norway everyone with dark skin knows that they need vitamin D supplements. Traditionally, public health recommendation (for everyone) was to take cod liver oil regularly for every month with an R in it.
I’m painfully aware of that being dark skinned myself. That doesn’t mean that Minnesota is inhospitable though (or that it would be criminal to send me there). It just means that they’d need to know that they need vitamin D supplements and perhaps regular blood screens. Idk if that happens though.
There are towns in Canada that have heated hallways that go between buildings so you can’t get completely snowed in during the winter. Maybe they should build those. Or the underground walkways they have in a couple of the cities.
How did you arrive at the decision of not putting the GPU machines in the colo? Were the power costs going to be too high? Or do you just expect to need more physical access to the GPU machines vs the storage ones?
When I was working at sfcompute prior to this we saw multiple datacenters literally catch on fire bc the industry was not experienced with the power density of h100s. Our training chips just aren't a standard package in the way JBODs are.
My info may be dated, but power density has gone up a ton over time. I'd expect a lot of datacenters to have plenty of space, but not much power. You can only retrofit so much additional power distribution and cooling into a building designed for much less power density.
I'm not justifying the crimes and I think people should pay for the consequences of their actions, but I don't think it's that simple.
I think some people just haven't been exposed to the benefits of taking a path to life that doesn't involve crime. Some people also need to be convinced that there are viable alternatives to crime. And as someone else said, society needs to give them the chance to redeem themselves and pursue those alternate paths.
I personally wouldn't rely on my phone/watch if I'm headed anywhere remote without cell service & electricity. With Garmin inReach you don't just get better battery life - you also get the Iridium satellite network and a team that's more experienced at search and rescue.
That being said, I do think that these new emergency SOS features will come in handy for people who don't know what they're getting themselves into, or who just run into unexpected bad luck on what was supposed to be a quick day trip.
My naive first reaction was that a unit like that would consume a way too much power to be practical on a robot, but then I remembered how many calories our own brains need vs the rest of our body (Google says 20% of total body needs).
Looks like power consumption for the Thor T5000 is between 30W-140W. The Unitree G1 (https://www.unitree.com/g1) has a 9Ah battery that lasts 2hrs under normal operation. Assuming an operating voltage of 48V (13s battery), that implies the robot's actuator and sensor power usage is ~216W.
Assuming average power usage is somewhere down the middle (85W), a thor unit would consume 28% of the robot's total power needs. This doesn't account for the fact that the robot would have to carry around the additional weight of the compute unit though. Can't say if that's good or bad, just interesting to see that it's in the same ballpark.
The efficacy to weight ratio of meat vs. rocks and metal is freakin' absurd. We don't know how to build a robot that's as strong and damage-resistant as a human body and weighs only as much as one. Similarly we don't know how to build something as energy-efficient as a human brain that thinks anywhere near as well. Artificial superintelligence may well be a thing in the coming decades, but it will be profoundly energy-greedy; I fear the first thing it will resolve to do is secure fuel for itself by stealing our energy supplies like out of Superman III.
Autonomous vehicles are indeed robots, but they have power constraints (that Thor can reasonably fit within). Most industrial robots aren't meaningfully power constrained though.
It was a bit of a culture shock the first time I was involved with industrial robots because of how much power constraints had impacted the design of previous systems I worked on.
I tried to look up human wattage as a comparison and I'm very surprised that it lands around the same ballpark. Around 145W as a daily average and around 440W as a an approximate hourly average during exercise.
I thought current gen robots would be an order of magnitude less efficient. Maybe I'm misunderstanding something.
Electric motors are very energy efficient. I believe they are actually far more efficient on a per-joint movement basis, and the equivalence between us and them is largely due to inefficient locomotion.
Where we excel is energy storage. Far less weight, far higher density.
2000 kilocalorie converts to 8.3 megajoules. This should be the amount of energy consumed per day.
8.3 megajoules / 24 hours is 96 watts. This should be the average rate of energy expediture.
96 watts * 20% is 19 watts. This should be the portion your brain uses out of that average.
96 watts * 24 hours is 464 watthours. This should be the average amount of energy your brain uses in a day.
This is why I've never found "AI" to be particularly competitive with human beings. The level of energy efficiency that our brains operate at is amazing. Our electrical and computer engineering is several orders of magnitude out from the achievements of nature and biology.
To be fair we'd have to consider how much of this same secondary energy would be required to build, operate and maintain the power grid. The grid itself is not 100% efficient either so we'd need to calculate how much power is directly wasted every single day just in inserting and extracting power from those overhead lines.
It's been a while since I ran a receiver, but back when I did ADSBExchange was pretty popular. It looks like there are a number of other options at the moment though - like ADSB.lol and airplanes.live
And anecdotally they now censor some things, as I'm seeing much less private jet and helicopter activity than I used to, especially those that have to be triangulated.
That project is now commercial, but it still shows flights and aircraft that many of the other commercial ones do not. I agree though, supporting the non-commercial ones is important too. I should update my own feeder to do more.
I'd recommend just uninstalling the apps. I'm still able to get the content I need, and scroll mechanic doesn't work as well on the websites so a lot of the temptation to doom scroll goes away.
Also are there good solutions for searching through a local collection of documents?