pstuifzand!tell petermolnar I released a new version of ek (0.8.4), it fixes a problem it had with some token_endpoints and adds more error handling. Have you tried it?
[jdpinto1][Vincent] Not quite. I've found a temporary workaround to removing unwanted frontmatter using `formatted.content = formatted.content.replace(/slug: .*\n/, '')`, but this is clearly less than ideal. I simply can't figure out what document/code it's using to format the final file that gets pushed to my GitHub repo. I figured there was some sort of Jekyll template it was using and that I could easily modify that, but I'm really at a loss. Even s
[jdpinto1]The main modifications I want to make are to only include frontmatter variables that I want and also to modify the slug so that it's made up of the first three words in my post, not just a random number.
sknebel(although potentially someone might have also tagged an explicit "BBQ allowed here" corner of a park etc as such too, even if not the intended use of the tag)
skippyi have a vague, poorly thought-out question about options for displaying notes on my own site. I have almsot 12000 tweets currently archived on my site. Each is its own file. That now seems extraneous. Im thinking of putting them in one file per year.
skippyi know that obvious answer is "do what you want, its your site" but im wondering what initial reactions one might have to loading something like /2008/#06130801 inside a page with a thousand items...
ZegnatOn functional side: at some point you probably need to worry about the HTML file size and the DOM complexity. As that can slow down things for actual people visiting the URL.
[jgmac1106]@zegnat does overall website size effect functionality in the same way as page size? would there be an advantage to not publish each note as a url? but a fragment?
ZegnatSo the problem I am thinking of is that, if the file is big and the browser streams the HTML file and starts rendering partial DOM, or just starts rendering partial DOM because doing the whole DOM tree at once is too much, the visitor will not jump to the right place in file immediately.
skippyinteresting. is there common guidance on how big is too big for a singular html page? (knowing full well that the number of variables in play makes a baseline pretty well impossible0
skippyi need to do some experimenting, to see how big year vs monthly archives are; and also balance that against how long it takes to geenrate the site with each.
sknebel(for reference, cleverdevil at some point posted a 1 MB feed with 3973 entries, which I've been using for some performance work - parsing that takes around a second pure parsing time)
sknebelregarding the POI stuff: I wonder if it'd be realistic to make a POI "API" that offloads some of the work to the client and just is a lot of pre-processed static files hosted somewhere
sknebele.g. if you check the first time for venues in e.g. central Gothenburg, your server (or your mp client) pulls a file related to that location and caches it, and can answer queries from that area from it.
sknebelso the individual user doesn'T need a global POI database, and the global POI database has little dynamic work for answering queries and thus can hopefully be cheap
sknebel(although I'm mostly going by rough reports on how difficult the dynamic part is - would be interesting to try how well that works if tried really cheaply too)
eli_oat1, iasai, jjuran and benwerd joined the channel
petermolnar[jgmac1106] re resume vs schema.org: I used a top level Person, worksFor as previous workplaces with Org/Role type, alumniOf for my education place, knowsAbout on the Person level for skills. Mostly works. Ugly as hell.
Loqipetermolnar: pstuifzand left you a message 10 hours, 45 minutes ago: I released a new version of ek (0.8.4), it fixes a problem it had with some token_endpoints and adds more error handling. Have you tried it?
petermolnarback on schema vs resume: it's not just ugly, it's also undocumented, unprecedented, etc., even though it's sort of a core feature for online data in my opinion
[tantek]re: big HTML file and fragments for permalinks, yes as Zegnat pointed, my original blog started that way: tantek.com/log/2002/08.html - one file per Gregorian month
[jdpinto1][sknebel] This is definitely getting me closer to an answer. Still, I have to ask what must be really newbish questions. I can’t figure out how voxpelli’s webpage-micropub-to-github is using his node-format-microformat code. I’m guessing it’s somehow referencing the repo on GitHub directly? If so, should I fork node-format-microformat, make my modifications there, and then somehow link my forked webpage-micropub-to-github to it? I fee
[jdpinto1]over my head with this. All I want at this point is to change the slug so that it uses the first 3 words of my content instead of a random number.
[tantek]back then (2002) I tried to use Yahoo Groups as a way to create longerlasting permalinks for what were news articles that typically disappeared after a week or so, then it turns out Yahoo did some sort of purge of Yahoo Groups a while ago, perhaps due to inactivity so those links died too. but at least they actually go to a page saying the group doesn't exist
[jgmac1106]@zegnat @petermolnar yes I was thinking the edu vocab, for my use case, it is highly and overly devolped a large vocabulary controlled by one membership org and an open source movement that kinda tries to tag along
ZegnatI have seen the load and jump a couple times these days. But that is on 3G-ish connection with what goes for modern design these days. It is very possible that even some of the larger early-2000 pages have nil problems jumping to the right place imediately
[jdpinto1][sknebel] Thank you for your help and patience! I’ll have to take a closer look at this when I get the chance. Definitely headed in the right direction, though.
iasai, benwerd, ramin, [pfefferle], jjuran, cweiske, [kevinmarks], [tantek] and kisik21 joined the channel
ZegnatAlright. I need someone smarter than me. What does it mean when PHP says fopen() in a+ mode places “the file pointer at the end of the file”? I thought they meant cursor when they wrote file pointer, but ftell() still returns 0 :/
ZegnatI also do not understand why fseek()ing to the length of the file (thus putting the cursor behind the file’s last character/byte) doesn’t make feof() return true (end-of-file check). Need to take one more step.