Biome formatter wins The Prettier Bounty Challenge to write a prettier-compliant pretty printer in Rust
  • g6d3np81 g6d3np81 Now 100%

    Is this gonna be equivalent of ESLint + Prettier but in one performant package?

    3
  • Who did this????
  • g6d3np81 g6d3np81 Now 100%

    (https://quackers.gumroad.com/l/classic_modifier_menu)
    Here you go

    IIRC The reason is that old layout is getting cluttered. It least the modifier is searchable now, which I think is a great improvement.

    It's just a muscle memory issue for me, keep hitting S after Shift + A.

    7
  • [SOLVED] Need help with shader node, faking normal that is flatter than its geometry.
  • g6d3np81 g6d3np81 Now 100%

    Yup, probably watched the same video. Those are much more focused on flat shading... like dead flat.

    There is Abnormal addon but I find doing it with mesh data (beyond vertex weight / vertex color) is kinda cumbersome.

    After some fooling around, I find using normal form texture coord node is all I need.

    1. Take normal from texture coordinate node
    2. Rotate X to adjust up/down facing
    3. Map range Y axis to use as weight (or weight paint)
    4. Subtract result from true normal
    5. Transform vector from object to world (normalize first, maybe?)

    Not great but good enough, most importantly not ugly. Quite easy and fast to apply to different model too.
    Barbara from Genshin - Mihoyo
    Node

    3
  • Without using normal map, how do I make something look flatter in arbitrary direction? model: Godette by Pablo Dobarro [Figure 1](https://files.catbox.moe/wj4ewe.jpg) Let's say I want to smoosh character face to make lighting appear flatter while keeping the geometry. What kind of shader node setup can do this in a simple non-destructive way?

    7
    2
    kbin.social

    > > > Enjoy this showcase of amazing work done by the Blender Community. > > > > See everything new in Blender 4.0 LTS [https://www.blender.org/download/releases/4-0/](https://www.blender.org/download/releases/4-0/) > > edit: So this is not how to cross-post on kbin... sorry for extra click. Can't change the link now.

    20
    2
    youtu.be

    > > > Enjoy this showcase of amazing work done by the Blender Community. > > > > See everything new in Blender 4.0 LTS [https://www.blender.org/download/releases/4-0/](https://www.blender.org/download/releases/4-0/) > >

    14
    0
    How would I go about creating an alternative frontend for a website?
  • g6d3np81 g6d3np81 Now 100%

    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?

    1
  • At which scale (real world day to day life situation) when each extra digit of pi become necessary?
  • g6d3np81 g6d3np81 Now 100%

    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.

    5
  • At which scale (real world day to day life situation) when each extra digit of pi become necessary?
  • g6d3np81 g6d3np81 Now 100%

    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"

    2
  • [xkcd: Coordinate Precision](https://xkcd.com/2170/) but pi (π)? I tried looking for some answer but found mostly * People reciting pi * People teaching how to memorize pi * How to calculate pi using different formula * How many digits NASA uses **Update question to be more specific** In case someone see this later, what is the most advanced object you can build or perform its task, with different length of pi? 0, 3 =\> you can't make a full circle 1, 3.1 =\> very wobbly circle 2, 3.14 =\> perfect hole on a beach 3, 3.142 =\> ?? 4, 3.1416 =\> ?? 5, 3.14159 =\> ?? **Old question below** > > > In practice, the majority of people will never require any extra digit past 3.14. Some engineering may go to 3.1416. And unless you are doing space stuff 3.14159 is probably more than sufficient. > > > > But at which point do a situation require extra digit? > From 3 to 3.1 to 3.14 and so on. > > > > My non-existing rubber duck told me I can just plug these into a graphing calculator. *facepalm* > > > > y=(2πx−(2·3.14x)) > > > > y=abs(2πx−(2·3.142x)) > > > > y=abs(2πx−(2·3.1416x)) > > > > y=(2πx−(2·3.14159x)) > > > > Got adequate answer from @dual\_sport\_dork and [@howrar](https://kbin.social/u/howrar) > Any extra example of big object and its minimum pi approximation still welcome. > >

    101
    49
    Kadokawa Aims to Establish More Wholly-Owned Anime Studios
  • g6d3np81 g6d3np81 Now 100%

    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.

    3
  • Pixiv: [5234063](https://www.pixiv.net/en/users/5234063) Twitter: [https://nitter.net/asahi\_nini/status/1126817932565069824#m](https://nitter.net/asahi_nini/status/1126817932565069824#m)

    32
    0
    tactical fox
  • g6d3np81 g6d3np81 Now 100%

    Bruh, I'd like to be warned.

    THE ARTIST'S PIXIV GALLERY CONTAINS GORE / DISMEMBERMENT

    3
  • Stop using Fandom
  • g6d3np81 g6d3np81 Now 88%

    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.

    13
  • Question: How to start with building a timeline interface
  • g6d3np81 g6d3np81 Now 100%

    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.

    1
  • Question: How to start with building a timeline interface
  • g6d3np81 g6d3np81 Now 100%

    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?

    4
  • Bocchi the... thing
  • g6d3np81 g6d3np81 Now 100%

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

    2
  • Not even the ghost of obsolescence can coerce users onto Windows 11
  • g6d3np81 g6d3np81 Now 100%

    Flac is a low bar for any music player though. I don't know whether itunes support it yet, don't care.

    I'm sure Rhythmbox works well for you and that is great. But I also need some niche features which might not be in it.

    Mostly conversion and forensic thing.
    ape tak tta format, bit compare, audio checksum, mass-tag/batch-tag, replaygain, custom playlist columns, statistic driven field. Don't know what else until I try and find it's missing.

    I'm also sure I can get all those and more in different cli tool if I want but getting them in one software is very convenient.

    After a quick look, DeaDBeeF might have most of what I want.

    • Sort and group the tracks in any order you wish, using advanced Title Formatting scripting, compatible with Foobar2000

    Got the date wrong, last time I tried it was 2018. Lot of new features added since then.

    1
  • Not even the ghost of obsolescence can coerce users onto Windows 11
  • g6d3np81 g6d3np81 Now 50%

    What if I use foobar and will not settle for anything less?
    I have not fully moved to linux yet. Last time I tried it through wine back in 2020 it ran like shit. Deadbeef did not have feature parity either. Wonder how good is it now.

    0
  • pixiv: [108056561](https://www.pixiv.net/en/artworks/108056561) さがや

    42
    5
    Not even the ghost of obsolescence can coerce users onto Windows 11
  • g6d3np81 g6d3np81 Now 97%

    There is a trend line of the amount of shit you need to do to get linux to do things you want.
    There is a trend line of the amount of shit you need to do to stop windows from doing things you don't want.

    Those two lines have crossed quite a while ago.

    32
  • Please help me tackle a GIS problem using Blender
  • g6d3np81 g6d3np81 Now 100%

    If you've just open Blender for the first time and then you've tried to... do things.
    Maybe, trying to see how far you can go... without getting help. [laugh]
    You might have discovered... you need help immediately.

    -- some donut guy


    This is janky but will do the best I can. Maybe someone way smarter than me can find a more efficient way to do it.

    I'm doing this demo on some park with Butt in Germany (OSM)
    Blend file
    Layout window
    Node setup

    Limitation
    Line of sight is made from the 'origin' of (building) geometry (one-to-many).

    I have tried the same method but in reverse and combine lines of sight (many-to-many) and iterate through them but can not get any result, 'position node' output is changed based on whatever you are using with it and two sets of point cloud hurts my head.

    However, with this node setup if you model each room as separated object, it will still work but at room level instead of building level. Wowowee itsa very nice. Just no way to quickly get an ID that I know of.

    Process

    1. Import GIS stuff as usual
    2. You MUST set the origin of each object to its own geometry (orange dot must stay in the geometry) as GIS plugin will set origin as world center 0,0,0 and that will break stuff.
    3. Any object that will potentially obstruct the view must be put inside a flat one-level collection.
      3.1 Buildings to analyze can be put in any collection or not at all.
      3.2 If any potentially obstructing object is also an analyzing target from (3.1), it should be duplicate-link with Alt+D then ESC and put in the obstruction collection.
    4. View target e.g. park, lake, must have face, can not be just curves, edges, vertices.
    5. Add geometry node modifier to any buildings you want analyzed.
      5.1 Browse for a node named 'visibility' I already set up.
      5.2 Select target.
      5.3 Set ray length (meter) long enough to reach your target.
      5.4 Select any other buildings you want analyzed, with copy source in yellow, paste target in orange hilight. Ctrl+L to copy geo-node modifier to all of them.
    6. Open spreadsheet window and select a unit to see visibility value.

    EDIT: I forget to expose obstruction selector, you can select it inside geometry node window. I also got an idea for V2 which may solve issue of getting IDs list. Will try again tomorrow.

    HAPPY ACCIDENT: you can also stack the modifier and select another target, spreadsheet will show another line of visibility attribute for each additional target in the stack.

    Be careful though, too much and blender might crash.


    I don't recommend watching/doing the whole donut series, but you still need some familiarity to get around and understand more complex part of blender that other tutorials may teach you :|

    Maybe you can cobble together something even better from these tutorial channels. Erindale, Chris P

    1
  • Please help me tackle a GIS problem using Blender
  • g6d3np81 g6d3np81 Now 100%

    Yep... this is tough. After reading through another of your comment, I'm not sure if geometry node alone can handle this.

    The answer/solution will depends on how accurate or detailed you want for the result.
    If you count any single point on a building that can see any amount of a park as a 'pass', that will be easy. But when you start to dice them down to each floor or room unit, then it will be a bit harder. If you also want to check how much of the park you can see from certain room too, it will be even harder. If you want to list all that, I think you will have to write python code. The complexity will scale with amount of rooms, buildings, parks.

    If the amount of objects that you considered 'lit up' is possible to select and move into another collection by hand in reasonable time, then maybe geo node is enough. From your result, how many are those?

    Spreadsheet window (geometry node workspace) can list vertices/edges/faces and other things with custom attribute they have (in this case, see a park or not see a park). It can also list name of object in a collection but I'm not sure if it can also display extra data alongside it though, it's not the right tool for the job.

    1
  • Please help me tackle a GIS problem using Blender
  • g6d3np81 g6d3np81 Now 100%

    Geometry node with raycast
    EDIT: Removed rough description

    After some fiddling... I have ran into a problem of how to raycast from many-to-many points.
    Currently stuck to either boolean visible or not visible. In real life you would want a some form of how much you see it (float value).
    Will get there eventually, this is a nice exercise.

    EDIT again: Update with new top level comment

    2
  • 405
    2

    pixiv: [100617212](https://www.pixiv.net/en/artworks/100617212) artist's profile contains NSFW

    30
    0

    pixiv: [58352009](https://www.pixiv.net/en/artworks/58352009) mastodon: [https://pawoo.net/@jonsun](https://pawoo.net/@jonsun)

    30
    0

    Apprentice witch who wants to draw magic circle VS A familiar who wants to sit in a circle pixiv : [101473206](https://www.pixiv.net/en/artworks/101473206) twitter : [https://twitter.com/koikoisararira](https://twitter.com/koikoisararira)

    161
    1

    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?

    16
    3

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

    255
    80

    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](https://old.reddit.com/r/linuxquestions/comments/wooe2t/is_there_a_way_to_encrypt_an_external_hard_drive/) 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.

    43
    22

    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.

    8
    0
    g6d3np81 Now
    19 57

    g6d3np81

    g6d3np81@ kbin.social

    Heyyyyyyyyyy