DoctorGester

2.8K posts

DoctorGester

DoctorGester

@DoctorGester

Lead Developer & CTO @relicarena

Katılım Nisan 2012
83 Takip Edilen86 Takipçiler
Soufiane KHIAT
Soufiane KHIAT@SoufianeKHIAT·
@DoctorGester @EricLengyel Curious what did you use for parsing ? Did you support colored glyph ? And what was your strategy for adaptative sampling?
English
1
0
0
6
Soufiane KHIAT
Soufiane KHIAT@SoufianeKHIAT·
My attempt of rendering font with Slug Algo from the reference implementation of shaders (thanks @EricLengyel). Still having issue with thin stroke of some font, suspect my adaptative sampling. 1/3
Soufiane KHIAT tweet media
English
1
0
79
4.9K
Soufiane KHIAT
Soufiane KHIAT@SoufianeKHIAT·
@EricLengyel Differences with slug library: * Own flavor of adaptative sampling * No color support (for future) * Band in float4 vs uint4 * use stb_truetype parsing * No Cubic -> 2 quadratics * No {AA, ligature, Variable font, Kering, bidirectionnal text} * On demand data creation 3/3
Soufiane KHIAT tweet media
English
2
0
7
497
DoctorGester
DoctorGester@DoctorGester·
Man I freaking love github, it turns even a simple act of scrolling into a fun adventure!
English
0
0
0
21
DoctorGester
DoctorGester@DoctorGester·
@tagir_valeev If I was asked this in an interview I would just walk out, if the interview process is so broken, imagine what else is like that inside the company.
English
0
0
1
110
DoctorGester
DoctorGester@DoctorGester·
@WladySpb Другие челы тем временем говорят «связи и нормализация топ, все по книжке ща сделаем, красиво» и потом у них запрос кор сущности включает 14 джойнов и потом 100500 секунд уходит на то чтобы юзеру список из 100 вещей показать 🤡
Русский
0
0
2
43
Влади в Нови Саде🦥
Сначала они говорят - "да нафиг нас эти связи, денормализация и вот это всё, у нас документарная модель, мв всё в одну сущность положим!" А потом 100500 часов уходит на отладку апдейта одного поля вложенной сущности в условиях конкурентных асинхронных запросов🤡
Novi Sad, Republic of Serbia 🇷🇸 Русский
3
0
22
2.1K
DoctorGester
DoctorGester@DoctorGester·
@CChadChampion I can guarantee you most of those people don’t even have openclaw set up lol
English
0
0
2
251
DoctorGester
DoctorGester@DoctorGester·
@Web_Lain Как микробиолог, позволю себе поправить: Все не совсем так, на самом деле действительно есть два гена: 1. Крокодил 2. Букин
Русский
0
0
1
158
Никита Булгаков 🦔
Поясняю за мой любимый прикол с кофе: КОФЕ на всех людей действует ПО-РАЗНОМУ, в зависимости от генетики Есть 2 гена, где влияние кофе довольно хорошо изучено Ген CYP1A2 - если упрощать, отвечает за скорость сжигания кофеина и у конкретного человека этот ген может быть в любом состоянии - от «чуть вштырило, почти ничего не почувствовал» до тремора и панички через пару часов Ген ADORA2A - отвечает за рецепторы аденазина (чувствительность к кофеину). Если чувствительный, у тебя уже от малых доз Вьетнам начнётся, если нет – ты не чувствуешь эффект И это только 2 гена, которые могут быть в разных комбинациях и давать разные эффекты, а сколько ещё неизученных, например регуляция кофеином сонливости - представить страшно Например, на меня кофе работает так: когда выпью, люто хочу спать час-полтора и могу реально поспать, а потом я в режиме средней бодрости нахожусь до ночи И прикол в том, что у всех по-своему
денис (на работе завис)@designecist

а че за хуйня когда кофе вызывает сонливость? у него буквально одна работа и даже с этим не справляется

Русский
42
35
1.4K
121.7K
icon (5-core GPU)
icon (5-core GPU)@iconredesign·
@luciascarlet @1000kilobytes Reddit banged on about how millions are waiting for a small flagship iPhone again so hard Apple did it only for absolutely no one to show up because everyone was just too busy to buy an iPhone mini and they’ll definitely do it on their next day off Never listen to Reddit
English
4
0
24
8.8K
Ben Walker
Ben Walker@benprototype·
voxels data -> chunks -> marching squares contour detection -> tracing edge loops -> convex decomposition -> ear clipping triangles and its so fasttttttt and can update in real time! mesh parts next. i really hope i dont hit an engine limitation so much work went into this haha
English
33
32
551
22.3K
Nicholas Chapman
Nicholas Chapman@NickChapmn·
So now the algorithm is patent-free, and the vert and frag shaders are open-sourced, what we presumably need is some open-source code to take Bezier curves from a font file (or from the loaded data from FreeType), and process them into the data format that Slug expects.
Eric Lengyel@EricLengyel

New blog post: A Decade of Slug This talks about the evolution of the Slug font rendering algorithm, and it includes an exciting announcement: The patent has been dedicated to the public domain. terathon.com/blog/decade-sl…

English
3
5
191
14.3K
Tom Cox
Tom Cox@tomcoxcodes·
@AntonMartyniuk Is this syntically C# sugar or is there a deeper change in the CLR that enables union types to be shared between languages.
English
2
0
0
123
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
𝗖# 𝗱𝗲𝘃𝗲𝗹𝗼𝗽𝗲𝗿𝘀 𝘄𝗮𝗶𝘁𝗲𝗱 𝟱 𝘆𝗲𝗮𝗿𝘀 𝗳𝗼𝗿 𝘁𝗵𝗶𝘀 𝗳𝗲𝗮𝘁𝘂𝗿𝗲 Discriminated unions were merged in .NET 11 Preview 3 Discriminated Unions are finally here. This is the #1 most requested C# language feature. And it changes how you model results, errors, and state - forever. Before unions, returning multiple outcomes from a method was painful. Here is what most developers did: ❌ Threw exceptions for control flow → expensive and hidden ❌ Returned nullable types → no way to express "why" it failed ❌ Used boolean flags with nullable fields → invalid states everywhere ❌ Relied on third-party libraries → extra dependency ❌ Built own Result Types All of these approaches had one thing in common: ➡️ The compiler could not help you. If you forgot to handle a case - you found out at runtime. 📌 𝗖# 𝟭𝟱 𝗶𝗻𝘁𝗿𝗼𝗱𝘂𝗰𝗲𝘀 𝘁𝗵𝗲 "𝘂𝗻𝗶𝗼𝗻" 𝗸𝗲𝘆𝘄𝗼𝗿𝗱 Now you can define a type that holds exactly one of several possible types. The compiler knows the full set of options (some compiler features are still in progress). Here is what unions give you: 𝟭. 𝗖𝗹𝗼𝘀𝗲𝗱 𝘀𝗲𝘁 𝗼𝗳 𝗼𝘂𝘁𝗰𝗼𝗺𝗲𝘀 → a union can only be one of the declared types 𝟮. 𝗘𝘅𝗵𝗮𝘂𝘀𝘁𝗶𝘃𝗲 𝗽𝗮𝘁𝘁𝗲𝗿𝗻 𝗺𝗮𝘁𝗰𝗵𝗶𝗻𝗴 → the compiler warns you if a case is missing 𝟯. 𝗡𝗼 𝗱𝗲𝗳𝗮𝘂𝗹𝘁 𝗯𝗿𝗮𝗻𝗰𝗵 𝗻𝗲𝗲𝗱𝗲𝗱 → when all cases are handled, you are done 𝟰. 𝗜𝗺𝗽𝗹𝗶𝗰𝗶𝘁 𝗰𝗼𝗻𝘃𝗲𝗿𝘀𝗶𝗼𝗻𝘀 → assign case types directly to the union variable 𝟱. 𝗩𝗶𝘀𝗶𝗯𝗹𝗲 𝗰𝗼𝗻𝘁𝗿𝗮𝗰𝘁𝘀 → the method signature tells the full story This is a massive shift in how we write C# code. Unions work beautifully with pattern matching and switch expressions that C# already has. In future .NET preview releases, we expect more features for discriminated unions and their official support in ASP .NET Core. 👉 If you want to be up to date with the latest .NET features and reach the top 1% of .NET developers, join 24,000+ engineers reading my .NET Newsletter: antondevtips.com/?utm_source=tw… —— ♻️ Repost to help other .NET developers discover discriminated unions ➕ Follow me ( @AntonMartyniuk ) to improve your .NET and Architecture Skills
Anton Martyniuk tweet mediaAnton Martyniuk tweet mediaAnton Martyniuk tweet mediaAnton Martyniuk tweet media
English
12
31
231
11K
DoctorGester
DoctorGester@DoctorGester·
@LukeParkerDev il2cpp is not happening in the editor, no, it was a bit tongue in cheek, but mono is still .net land.
English
1
0
1
185
Luke Parker
Luke Parker@LukeParkerDev·
this might be crazy to you but in .NET land my runtime doesn't segfault every 30 mins
English
12
0
93
13.9K
DoctorGester
DoctorGester@DoctorGester·
@dillon_mulroy It’s physically incapable of ending up with more line deletions than additions, I’m convinced that if you ask it to rm -rf the repo it will still find a way to generate more dogslop.
English
0
0
2
309
Dillon Mulroy
Dillon Mulroy@dillon_mulroy·
5.4's idea of cleaning up stuff
Dillon Mulroy tweet media
Thomas Schranz 🍄@__tosh

@mitsuhiko I found gpt 5.4 pretty good at cleaning up stuff from earlier models needs some meta prompting in some cases that help me understand what status quo is and what our options are etc but I expect this to continue w/ better models

English
26
4
270
40.7K
Keruis
Keruis@yutongwu111140·
@DoctorGester So you read and carefully examine every line of code of every library you use?
English
1
0
1
195
DoctorGester
DoctorGester@DoctorGester·
@oxcrowx If you have money to do them fulltime for 4 years, yes.
English
0
0
0
52
DoctorGester
DoctorGester@DoctorGester·
@userpig Это заметно в любом его фильме, да и в киберпанке
Русский
0
0
0
966
DoctorGester
DoctorGester@DoctorGester·
@BRobo82 I don't know about that, DS2 is probably the first videogame for me which doesn't cause an uncanny valley effect with character faces.
English
0
0
0
296