• 3 Posts
  • 114 Comments
Joined 3年前
cake
Cake day: 2023年6月24日

help-circle
  • By chance, maybe, but I specifically don’t click on “Advertised” links in search results. Even if do, does it matter if I’d chose service anyway? Coz all it changes is money moved from one rich ass to another. It doesn’t make me buy what I didn’t plan to buy. Contrary, I might avoid products which are too pushy with ads. In place where I come from people used to say that good things don’t need advertisement. So to me this ad changes nothing. If tomorrow world stop making ads nothing changes to me - I do search, it gives me options, I do research and make a decision


  • Is phone book an ad? The fact I bought something does not mean I did it because ad convinced me. When one buys a car presume they check what is available on the market and select option based on comparison. Same with travel, you don’t visit place because you saw poster somewhere, you have limit time so you find a list of popular options and pick what to visit. It’s exactly what you called it - research and review. It’s people rating things helping you make your choices, not companies convincing this is what you want to buy by showing you 10 seconds stupid ass video. Or at least I hope. I never understood the concept of ads beyond informing that this business exists. From my perspective could be just brand name and what it sells. No difference to me. I always thought it would be much better to just have site list of businesses with description and reviews




  • How large is very large? Would it be something that jq can’t do? Is it purely string search or JSON-tree search?

    Generally you would want to get file size, split it into ranges which can be read as valid UTF-8. Feed each range into reader thread. Can be inefficient for HDDs because each thread will try to access random location on disk forcing needle to jump back and forth. Also you’ll need reread ranges at split point with some positive and negative offset in case desired content got split. Things are getting much more complicated if you want JSON-tree grep. Branches may get split from parent nodes across multiple ranges.








  • Yaml is dogshit format. If you need tree-like structure use json if you need list of props use toml or simple key value pairs. I fucking hate app properties in yaml.

    • can’t search shit
    • copy-paste doesn’t “just work” when you want to merge two files
    • your editor doesn’t show whitespaces and you messed up somewhere - valid but incorrect
    • messed up formatting your list of banned IPs/hosts/ports/users/subnets/commands - get pwned

    It should’ve never left the basement of crackhead who thought “let’s make schema-less format depend on number of invisible characters”.

    I’ll rather save my data in Copybook and record it on tape then use this Python-bastardized abomination