Readit News logoReadit News
paisawalla commented on Make Map Icons with Orthographic Projections   esri.com/arcgis-blog/prod... · Posted by u/bryanrasmussen
paisawalla · a month ago
Very nice result. You can also do the same in QGIS, this blog post shows off using orthographic projection for other goals: https://www.statsmapsnpix.com/2019/09/globe-projections-and-...
paisawalla commented on I'm switching to Python and actually liking it   cesarsotovalero.net/blog/... · Posted by u/cesarsotovalero
Mawr · 2 months ago
Just a small note on the code in the linked script:

    API_KEY = os.environ.get("YOUTUBE_API_KEY")
    CHANNEL_ID = os.environ.get("YOUTUBE_CHANNEL_ID")
    
    if not API_KEY or not CHANNEL_ID:
        print("Missing YOUTUBE_API_KEY or YOUTUBE_CHANNEL_ID.")
        exit(1)
Presenting the user with "Missing X OR Y" when there's no reason that OR has to be there massively frustrates the user for the near zero benefit of having one fewer if statement.

    if not API_KEY:
        print("Missing YOUTUBE_API_KEY.")
        exit(1)
    if not CHANNEL_ID:
        print("Missing YOUTUBE_CHANNEL_ID.")
        exit(1)
Way better user experience, 0.00001% slower dev time.

paisawalla · 2 months ago
Taking ephemeral arguments like channel ID from the environment is more offensive to observability and user comfort
paisawalla commented on Apple's Browser Engine Ban Persists, Even Under the DMA   open-web-advocacy.org/blo... · Posted by u/yashghelani
hungmung · 2 months ago
Can somebody tell me if this applies to FOSS browsers?
paisawalla · 2 months ago
Someone will need to establish an entity to bring a distributable version of that browser to an app store, and in doing so, taking on the compliance liability.
paisawalla commented on Learnings from building AI agents   cubic.dev/blog/learnings-... · Posted by u/pomarie
munificent · 2 months ago
Easy fix, just have the LLM generate:

    {
      "reasoning": "`cfg` can be nil on line 42; dereferenced without check on line 47",
      "finding": "Possible nil‑pointer dereference",
      "confidence": 0.81,
      "confidence_in_confidence_rating": 0.54,
      "confidence_in_confidence_rating_in_confidence_rating": 0.12,
      "confidence_in_confidence_rating_in_confidence_rating_in_confidence_rating": 0.98,
      // Etc...
    }

paisawalla · 2 months ago
Wasteful. `confidence`'s type should be Array<number>, wherein confidence[N] gives the Nth derivative confidence rating.
paisawalla commented on A new PNG spec   programmax.net/articles/p... · Posted by u/bluedel
joshmarinacci · 2 months ago
A fun trick I do with my web based drawing tools is to save a JSON representation of your document as a comment field inside of a PNG. This way the doc you save is immediately usable as an image but can also be loaded back into the editor. Also means your downloads folder isn’t littered with unintelligible JSON files.
paisawalla · 2 months ago
Are you the developer of draw.io?
paisawalla commented on A revelation about trees is messing with climate calculations   wired.com/story/a-revelat... · Posted by u/bilsbie
paisawalla · 2 years ago
A great HN feature would be a link to a chatgpt chat, with the contents of the article loaded into the context, summary already generated. Some of these articles are five sentences of interesting information, hidden among five paragraphs of forced human interest.

Deleted Comment

paisawalla commented on Digg's v4 launch: an optimism born of necessity (2018)   lethain.com/digg-v4/... · Posted by u/jamescun
mynameisvlad · 2 years ago
Have you considered examining why you feel you need to use the most opaque and overly-elaborate way to say an incredibly simple concept as a way to “project false moral superiority onto [and] obliquely insult […] strangers?”

Projecting your obvious superiority complex onto others while at the same time accusing others of doing so is, quite frankly, hilarious.

Next time, just introspect instead of digging this idiotic hole further. It’s not really that hard to ask yourself “am I the asshole” and it’s quite obvious you’ve never done it in your life.

Either way, I’m done with whatever you want to call this obnoxious rambling of yours.

paisawalla · 2 years ago
There's a lot to reflect on here.
paisawalla commented on Digg's v4 launch: an optimism born of necessity (2018)   lethain.com/digg-v4/... · Posted by u/jamescun
mynameisvlad · 2 years ago
The underlying motivation is to have assholes take a closer look at themselves instead of continuously blaming those around them for what ultimately is the result of their own actions.

If this struck such a nerve with you, then you may want to take a step back and re-evaluate why you're so deeply triggered by people advocating for introspection instead of deflection.

It's pretty clear from your comment you won't, but that's a separate issue.

paisawalla · 2 years ago
Have you considered examining why you feel the need to project false moral superiority onto, obliquely insult, and psychoanalyze strangers? Do you think this suggests a sober self-awareness and firm grounding of your principles -- qualities I'm sure you feel you possess and believe you're projecting?
paisawalla commented on Digg's v4 launch: an optimism born of necessity (2018)   lethain.com/digg-v4/... · Posted by u/jamescun
mynameisvlad · 2 years ago
If one person calls you an asshole, then they might be an asshole. If everyone calls you an asshole, then some inward reflection is in order because you're likely coming off as an asshole.

If it happens again and again, in different circles with different people, like GP indicates happens, then maybe, just maybe it's not everyone else that's the problem.

paisawalla · 2 years ago
The underlying motivation in these sorts of exchanges is rarely a desire for a global increase of genuine self-examination, but more often to exploit an opportunity for ostentatious preening. We know this because your logic can be trivially inverted to point the mirror in the reverse direction. So, reflection being what it is, if self-examination were the true goal, one imagines that those advocating it would at least show first that they had done it themselves.

u/paisawalla

KarmaCake day5181February 24, 2010View Original