g6d3np81

joined 1 year ago
[–] [email protected] 1 points 1 year ago

I also have a similar side project planned for a revamp. Successfully made a v1 with grease monkey (vanilla JS) + stylish back in maybe 2016. Super dangerous to keep firefox 56 running only for this front-end. Just need to do the v2 then migrate to latest librewolf.

I want to redo the whole thing in Vue, client side routing with build step. The problem is that

  • site is not open source
  • no API doc (but I already made my own)
  • required log-in (no sensitive info)
  • some route request must be made from that domain due to CORS

My goal is not to change the UI but wipe the whole page and start over with custom API call instead. V1 do this by visiting a 404 route to stop unnecessary load and use my own URL param for the API call. For bonus cringe I used local storage for database.

Ended up having to use userscript, and now I'm kinda stuck with how to mash Vite build and tamper/violent monkey together :(
Do you have any suggestion or resource I can learn more on this?

[–] [email protected] 5 points 1 year ago

Thank you. After thinking about it overnight, I realized I asked a wrong question. Your answer still helps greatly and get me more than half way to satiate my curiosity.
Tolerance grade and example objects that require different grade/minimum pi accuracy is what I was looking for.

[–] [email protected] 12 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

Thank you, I already skimmed through that article before posting. Maybe I failed to put my question into words properly.

I want examples similar to pool/fence circumference in the article. Along the line of "We're building x, and this is the worst rounding we can go, one fewer digit and it will be off by y"

[–] [email protected] 3 points 1 year ago

I would not place my hope on kadokawa doing anything like that. I don't think they even care about anime industry aside from make money part of it.

[–] [email protected] 1 points 1 year ago

Misinformation may reduce repeat visit, that part, I have no idea if google take into account when they rank the result. Domain/page age also plays a role. But what about other "problems"? If I try to de-optimize every items on that guide, will it speed up the de-rank as well?

[–] [email protected] 14 points 1 year ago (3 children)

Regarding SEO, What's stopping maintainers from vandalizing their own fandom page?

It would not be difficult to make a bot to update fandom page with a convincing but slightly wrong info, after a few hundred iterations, it's all useless. Go look at what google recommend and do complete opposite. I'm convinced this will bomb ranking and put whatever wiki they migrated to at the top.

[–] [email protected] 1 points 1 year ago

Your bubble idea could work and you will have to be comfortable with css, no way around it I guess.
I see vis.js have a lot of timeline examples you might be able to adapt to your need.

[–] [email protected] 1 points 1 year ago (2 children)

Can you explain a bit more about "zooming, different levels of detail" you mention? Maybe break them down to separate issue you are having with the library, what does it do, what do you want that it's not doing. If there is a way to tweak it then you don't have to build the component from scratch.

But if you already abandoned the idea of tweaking timeline-js then you can have full control in vue, have to build it yourself though. Start by breaking the functionality of the timeline into separate interaction. From a quick look, timeline-js just make style attribute reactive. Have a box? good. Now put really long div in it with placeholder texture. Can you drag/scroll it? no? grab a suitable function from vueuse and make it scrollable. Follow with markers, zoom, dummy event items, data fetching (the actual width, marker spacing, events placement can be calculated from timestamp in json after this step), lazy loading, styling, animation, so on.

I don't know how much experience do you have with each things required (html, css, js, vue) so it is a bit difficult to give useful answer.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (4 children)

Events?? TimelineJS3/blob/master/API.md
Not sure what else is available if you want to build the component yourself though.

but note that because TimelineJS's primary use case is the embedded iframe, some of these methods have not been thoroughly tested.

I think you can replicate most of its function with vue alone, skip all the tedious work with vueuse. Lazy-load with Intersection Observer. Basic events and refs for zoom level.

I would start with putting all entries into a usable format. A CMS will help a lot. Maybe a JSON from your django server containing batch of entries, its timestamp, length, importance, tags, etc. Anything that is required to place entry on the timeline properly in vue.

EDIT:
Have you tried the official tutorial?

[–] [email protected] 2 points 1 year ago

Basically biological description and discussion of this slug-like Hitori organism. Kita saying she have no idea.

404
COOL BLUE™ (media.kbin.social)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
89
THE BOY AND THE BEEF (media.kbin.social)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
176
anime_irl (media.kbin.social)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Apprentice witch who wants to draw magic circle VS A familiar who wants to sit in a circle

pixiv : 101473206
twitter : https://twitter.com/koikoisararira

 

There is this janky early-access game that I try recently and another good one, Everspace 2.

In Everspace 2, I really like how you can force lower frame rate when the game is not in foreground (when alt-tab to another window)

In GameUserSettings.ini under [/Script/ES2.ESGameUserSettings] there is

FpsLimitNoFocus=30
...
bFPSCapEnabled=True
CappedFPS=60

Are these implemented by dev themselves or are they available at engine level on all UE4 games? Is there a way to do this on other games that do not have this in-game config?

 

Famous example... a man spent $44b to push his memes.

43
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

How should I do it if I want to...

  • Format external SSD to use with linux
  • Full drive encryption
  • Compatible with windows (temporarily)
  • Preferably do it with KDE GUI

Context: A linux noob. I got a new laptop earlier this year and uses it mainly for tinkering/playing with linux, get competent with it before dropping windows completely on my main desktop. There is a lot of stuff I want to move back and forth between those machines during this learning period.

My idea is to use an external SSD which when I'm done with windows, I can still use it to store work files or any sensitive stuff, so it will need encryption.

Saw a reddit thread saying I still need veracrypt, which I'm totally ok with on windows side but I prefer keeping everything simple on linux side (I only know it can be done without any extra package)

Extra question:
I can possibly store all works and sensitive data on encrypt external and leave root drive unencrypted. In that case, which file system should I use on which drive? Does it matter?

Thank you in advance.

 

What I want to do:
Deploy brochure site(s) with minimal (or no) cost.

Stack:
Nuxt, Sanity, Cloudflare Pages.

Problem:
$0.00 challenge (maybe I just don't want to pay)

Requirements:

  • Trim trailing slash on all routes
  • Server-side form sanitation/validation (optional)

Solution 1: Nitro server...
No problem with route middleware, I just don't know this will translate to function/worker usage. Can someone even DoS my site and exhaust 100k allowance? Is it 1 per request? Will crazy convoluted validation logic effect credit used?

Solution 2: Static generation...
I don't know how to use _redirect to trim trailing slash on all routes. The docs do not show any example using wildcard (splat) follow by slash.

Senpai of the Edge, please enlighten me.

view more: ‹ prev next ›