Better HN
topnewbestaskshowjobs
Log inSign up

echoangle

5,377 karma · joined Oct 20, 2023 (3y ago) · 2,450 submissions

Submissions

comment 4mo ago · link · parent

What’s the actual use case for this that’s not malicious? When would someone want to generate a fake satellite image of a selectable area? Is it for architects that want to visualize projects?

comment 4mo ago · link · parent

You don’t need internet to run JS though. And the JS seems to be pretty sandboxed in normal viewers too, so a pdf file shouldn’t make network requests on its own. As long as there is no iframe-like content I don’t see how rendering a document would ever need network.

comment 4mo ago · link · parent

Even when drunk?

I’m not saying it’s a real danger (people willing to do that could already do a lot of other stuff) but I wouldn’t be so sure that you couldn’t do it either.

comment 4mo ago · link · parent

It would have helped to write that when talking about the review.

comment 4mo ago · link · parent

Do you seriously not see how this misunderstanding is coming about though?

If you write a blog post over a negative review accusing you of nagging, I would expect you to say “actually I’m not really nagging, I just have a line saying to please leave a rating in my app” if that’s the case. If you instead double down and make excuses and advocate to just ban the reviews because you don’t like user reviews anyways, it sounds like you’re actually wrong and the rating is correct.

And I’m not surprised that readers don’t proactively go out and look for your app to check themselves before criticizing you.

comment 4mo ago · link · parent

> My opinion is low of them all.

Sounds like a you problem, people like them and find them useful, so I doubt they’ll be going away.

> One important difference is that Google does not review restaurants before they open, whereas Apple claims to review every app before they are published to the App Store.

What does that have to do with anything? So if google went around and checked food safety of every restaurant before listing them, you would say that google ratings for restaurant are stupid because the people doing the rating aren’t professional food critics?

The App Store review is like the food safety check but the ratings are the ratings.

> Amazon, like Apple, has a major problem with scam and copycat products in their store.

Ok, does that imply fake ratings or what does that have to do with the discussion?

comment 4mo ago · link · parent

How is that baseless?

If someone says “hey, this guy has a nag screen” and your response is “but everybody does it!”, it’s not baseless to think you have a bag screen without checking your app. If you don’t, I would expect you to write “the reviewer here is wrong, I don’t have a nag screen”.

comment 4mo ago · link · parent

> complaining that my app requested a rating… like the majority of other apps in the App Store!

But your paid for app does request a rating when using it? That’s what people call a nag screen

comment 4mo ago · link · parent

Why would you ever need that? I’m pretty sure you can already supply a custom explanation in the system permission modal to explain why you want the permission.

comment 4mo ago · link · parent

> Imagine if a professional writer for the tech news media submitted this app review to their editor for publication. The writer would likely be fired for incompetence. Yet Apple allows reviews like this to be published to the App Store.

Yeah, like every public rating system. Google reviews on restaurants wouldn’t directly go into a Michelin guide either, and the same is true for Amazon ratings. Welcome to the real world.

comment 4mo ago · link · parent

Kind of scary, imagine someone putting an ad in that and placing it on random people without them noticing.

Obviously doesn’t really make sense because if it’s an ad you also know who did it but somehow that’s the first thing that came to mind for me.

comment 4mo ago · link · parent

If I enter Madrid and Milan in Google Maps and select walking, it does show some footpaths to take, no? Those don’t look like major roads.

Don’t know how to share the route without doxxing myself but you can enter it yourself.

comment 4mo ago · link · parent

> Modern European pilgrims on the Camino de Santiago seem to do about 20 km/day [1] and it's considered tiring but accessible by average people, not serious hikers.

Yeah, because they sit in the Albergue half of the day. You need to start looking for one around 4pm or it will be full because people tend to stop walking around that time. It’s also an activity that mainly retired people do.

You can easily do 40 km/day on the Camino routes with manageable elevation (the coastal ones).

You’re right about the equipment weight though, I can’t imagine what a Roman soldiers full pack must have weighed with the textiles of the time. On the Camino, you don’t really need to bring anything except some clothes.

I see the point with the camp but on the other hand after the third day you’re more limited by your feet, not the time, so you would still have enough time for that in my estimation.

comment 4mo ago · link · parent

I don’t think the Roman street system way covered in dense bush, that was kind of the point

comment 4mo ago · link · parent

Are there no bike paths or foot paths close by? You don’t literally have to walk on the street the cars are using.

comment 4mo ago · link · parent

> On X, Orochi said they went undercover to investigate the love hotel and found the Famicombox installed in every single room except for one.

I wonder if they really had info on the hotel beforehand and went to investigate or if it was a happy accident

comment 4mo ago · link · parent

> Many airports across Europe are now introducing new high-tech 3D scanners (C3/CT) that allow passengers to bring up to 2 litres of liquids in their hand luggage and keep electronics and liquids inside their bags during security checks.

Second sentence of the article

comment 4mo ago · link · parent

> The tool is called OmnesViae (Omnesviae.org (source in Spanish))

I’m pretty sure the page is in Latin for me

comment 4mo ago · link · parent

Isn’t assumption 1 (“It is possible for technology to simulate consciousness and human civilization at scale”) covered by outcome 1 (“Civilizations end before they can start simulations”)? With the tiny implicit assumption that civilizations aren’t eternal.

comment 4mo ago · link · parent

Yeah, the correct position if you believe the argument in the article is agnosticism.

comment 4mo ago · link · parent

That doesn’t prove it doesn’t send data if it has the possibility. It could use the offline model only as a fallback.

comment 4mo ago · link · parent

A bit off topic but is there a reason why the Cyrillic letter in the example image is slightly different than the regular “a”? Did someone redraw it from scratch and it looks kind of different or did someone actually take the “a” glyph and slightly modify it to make it Cyrillic? Because the small difference is so small that it can’t really be on purpose to make them look different, right?

comment 4mo ago · link · parent

I don’t get the hypothetical, the perpetrator and the guy arrested were both using Kik and the account names were confused. There was no other service in this case.

comment 4mo ago · link · parent

https://en.wikipedia.org/wiki/2016_Kumamoto_earthquakes

The main shock of this one at 7.0 killed 277 people so sadly I think it’s pretty likely there will be some deaths.

comment 4mo ago · link · parent

You can get the domains from your local European nations registrar though. How is the American conglomerate going to prevent that?

comment 4mo ago · link · parent

You mean like the numpy authors that let the comparison operators return arrays?

Also, apparently SQLAlchemy does exactly what I proposed so apparently they are erring in their ways too.

I honestly don’t find it that bad.

comment 4mo ago · link · parent

Not if you do the magic with getattr and comparison overrides. You actually need to do it on the metaclass because the Field as I wrote it isn't an instance but this works:

    from datetime import datetime

    class Filter():
        def __init__(self, name):
            self.name = name
        def __gt__(self, value):
            return {
                "field": self.name,
                "operator": ">",
                "value": value
            }

    class FieldMeta(type):
        def __getattr__(cls, name):
            return Filter(name)

    class Field(metaclass=FieldMeta):
        pass

    print(Field.end > datetime(2024, 1, 1))
This gives:

    {'field': 'end', 'operator': '>', 'value': datetime.datetime(2024, 1, 1, 0, 0)}
You can make python return arbitrary values for comparisons by overriding __gt__ (and lt, eq) on the first operand (which we control here since it is a Field class), it doesn't have to be a bool.

Edit:

You can even make a little adapter to use this with the current filter system if you really want to:

    from datetime import datetime

    class Filter():
        def __init__(self, name):
            self.name = name
        def __gt__(self, value):
            return {
                "field": self.name,
                "operator": "gt",
                "value": value
            }
        
        def __lt__(self, value):
            return {
                "field": self.name,
                "operator": "lt",
                "value": value
            }
        
        def __eq__(self, value):
            return {
                "field": self.name,
                "operator": "eq",
                "value": value
            }

    class FieldMeta(type):
        def __getattr__(cls, name):
            return Filter(name)

    class Field(metaclass=FieldMeta):
        pass

    def _(*args):
        kwargs = {}
        for arg in args:
            k = arg["field"] + "__" + arg["operator"]
            kwargs[k] = arg["value"]
        return kwargs

    def filter(**kwargs):
        for k, v in kwargs.items():
            print(f"{k} = {v}")

    filter(**_(Field.end > datetime(2024, 1, 1)))
This prints

end__gt = 2024-01-01 00:00:00

comment 4mo ago · link · parent

> I can't quite picture how operator overloading would look like, could you give an example?

Instead of this:

self.filter(end__gt=self._midnight(today))

You could write a "Field" class that implements __getattr__ and __gt__ so you could do

self.filter(Field.end > self._midnight(today))

The "Field.end > self._midnight(today)" would evaluate to an object that would just store "my field name is end and my value needs to be larger than xyz".

filter() can then look into its argument list and construct the filter criteria from the passed Field objects instead of the key value pairs as it does now.

1
91011
82