Hacker Newsnew | past | comments | ask | show | jobs | submit | mwambua's commentslogin

Tangential question. What do people use for search? What search engines provide the best quality to cost ratios?

Also are there good solutions for searching through a local collection of documents?


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)

and the ddg version

    from duckduckgo_search import DDGS

    def search(query, max_results=8):
        results = DDGS().text(query, max_results=max_results)
        return results


Oh, nice! Thanks! This reminds me of the unofficial yahoo finance api.


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.


To your eyes. But the sun angle chews up the wavelengths that make vitamin D.


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.


They have all already disappeared form public and it's only in the 40s right now. By winter you would swear no Somalis live in MN.


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.


Ooh, looks like the Raspberry Pi 5 is now supported!


Not sure if wifi and bluetooth work though?:

since:

> o Implement support for "vmmc-supply" in sdhc(4), needed to power on the WiFi chip on the Raspberry Pi 5.


There's no bluetoot stack at least that part is definitely not supported


In other word, Bluetooth on Raspi is supported 100% as well as Bluetooth on all other platforms. ;-)


wifi works, it's bwfm(4).


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.


Isn't the easy option to spread the computers out, i.e. not fill the rack, but only half of it?

A GPU cluster next to my servers has done this, presumably they couldn't have 64A in one rack so they've got 32A in two. (230V 3phase.)


Rackspace is typically at a premium at most data centers.


I'm more surprised that a data centre will apparently provide more power to a rack than is safe to use.


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.


This is my experience as well. We have 42u racks with 8 machines in them because we cant get more power circuits to the rack.


yep this was the case for us.


Adding the compute story would be interesting as a follow up.

Where is that done? How many GPUs do you need to crunching all that data. Etc.

Very interesting and refreshing read though. Feels like what Silicon Valley is more about than just the usual: tf apply then smile and dial.


The ethical stand serves the dual purpose of: a) trying to make sure the company does the right thing, and b) avoiding liability.

Seems like Engineer-1 failed at stopping her, but managed to avoid taking any blame at the end of the day.


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.


Can self-driving cars be framed as robots?

An electric car would have no issue sustaining this level of power; a gas-powered car doubly-so.


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.


I happen to have an envelope handy:

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.


Calculate how much energy needs to be input into acriculture and transport to provide that wattage.


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.

That's way off the envelope though.


We do a whole lot of things a robot doesn't have to do, like filtering blood, digesting, keeping warm.


Body maintenance.


Every hardware piece of such a robot can do a few things. Our body parts do orders of magnitude more, including growing and regeneration.


> too much power to be practical on a robot

robot could be useful even when permanently plugged to the grid.


From a UAV perspective, even at 140W it's not too bad. For a multi-rotor, that's about the same energy needed to lift around 750g-1kg of payload.


A robot working at an assembly line can be powered with a cable.


If you do set this up, consider also feeding data to non-commercial aggregators who make their data available for free and do not censor certain flights: https://github.com/rickstaa/awesome-adsb?tab=readme-ov-file#...

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


Agreed, flightradar24 can stick it. ADSBExchange is still the best option that's not paid off by billionaires so they can hide their private jets.


Dan sold out.


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.


This is the way.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: