1
3
submitted 4 months ago* (last edited 4 months ago) by activistPnk@slrpnk.net to c/AskLemmy@lemmings.world

I’ve always found it annoying that the search function in the web UI forces us to enter a query string, when theoretically other filters should suffice. It turns out that it’s not just a UI limitation. The API for the search insists on supplying q.

Next thought is the user profile. I suspect this is the call for that. But I don’t trust it. I think I’ve seen situations where the user profile fails to find posts that the search function can uncover. Although it’s perhaps down to sorting issues.

Any other way to get a user’s list of post IDs?

2
5
submitted 4 months ago* (last edited 4 months ago) by activistPnk@slrpnk.net to c/AskLemmy@lemmings.world

The linked page has this as sample shell code for the API call:

curl --request GET \
     --url https://lemmy.ml/api/v3/post \
     --header 'accept: application/json'

It does not specify the post ID, so of course if you run that the reply is {"error":"couldnt_find_post"}. If a post ID is appended (https://lemmy.ml/api/v3/post/123456, it shoots a blank response with a 404 code in the header. I have no idea why API docs are so often missing critical details.

Update

Ah, figured it out. Had to pull down the getpost object. In the end, had to add ?id=123456 to the URL, which worked.

3
4

You’re on a long train journey that lasts several hours, maybe most of the day. You brought simple food with you: slices of bread and slices of cheese, plus some ice tea to drink. Nothing fancy. You don’t count how many slices of either you brought. You don’t even think about it, because train journeys are cool and you’re just chilling out. You just assemble cheese sandwiches one by one, eat them during the trip, and enjoy the ride. Each sandwich uses exactly one slice of bread and one slice of cheese. When one of them runs out, the sandwich-making stops. You arrive at your destination and, naturally, the numbers didn’t line up perfectly. I mean, why would they…

Now you open your bag and discover that something is left over:
• either a few slices of bread with no cheese, or
• a few slices of cheese with no bread.

Which one would be worse? Standing there at the end of the trip, one of these outcomes just feels more annoying than the other, right?

Which leftover would bother you more, and why?
 Is it purely practical? Emotional? About mess, smell, value, or expectations? Or do you genuinely not care either way? I’m curious how different people experience this.

4
6

small/short people, dwarfs have sometimes small heads, homo floresiensis was small, birds have very small heads but prooven denser brain structure. science is "surprised" for example that floresiensis (hobbit) made tools but i can't find any source (as well as personal experience) that small people with small heads are less intelligent. Also, we know that domestication if animals reduces their brain volume and it is thought to be connected with aggressivity and general defence of tweritory or dominance. Also we have some people apparently functioning totally normal with half a brain.

my question is, aren't we still totally misinterpreting size with function? Is that already somewhere in literature? I mean just that aspect of volume, density and mental capacity?

5
6
submitted 10 months ago* (last edited 10 months ago) by ThrowAwayForObvReasons@lemmy.world to c/AskLemmy@lemmings.world

I don't know where to begin, so I'm just going to put words on 'paper'

I'm 33 and got out of a serious relationship ~6 months ago.

I'm looking for someone to spend the rest of my life with, and recently met someone that is a perfect fit for me on paper in so many ways however there is a thought or feeling I just can't escape. I feel there is a lack of chemistry/attraction.

My new potential partner and I have been seeing each other for about a month, and have spent many days and nights together. She is objectively good looking and anyone would be lucky to have her multiple of my friends have said wow she's really pretty when they've met her however I don't feel the chemistry/attraction and I think I know where it comes from.

My ex was extremely feminine and we had insane chemistry from the start, the new potential partner I'm dating isn't feminine and is quite masculine in physical and behavioral ways and I think that's a turn off for me. I didn't even realize femininity mattered this much to me.

I feel insane for thinking of breaking things off with an objectively attractive, successful women who's logistics fit so well with mine it's honestly like finding a needle in a haystacks.

I feel stuck constantly fighting questions like:

  • Am I just full of shit and looking for a unicorn that doesn't exist?
  • Should I listen to my heart and feelings and let go of this because it doesn't feel right?
  • I'm getting old and want to settle down, should I priorities logistics and accept good enough?
  • Am I just overly picky? Can I afford to be this picky?

My heart is telling me one thing, my head another. Help

6
8
7
3
8
10

AskLemmy

76 readers
5 users here now

founded 1 year ago
MODERATORS