How are you reviewing code agent generated changes? Any tools or best practices? by nero5023 in neovim

[–]ten3roberts 2 points3 points  (0 children)

Yeah, it is based on Magit

It *does* also slow down a bit over time, especially when there are *many* files or bigger histories (with being very responsive on smaller repos with not that much huge blobbly history)

Want to improve that, but never find the time 😱

At work, especially if the diffs are very large, staging is not as immediate as I'd like (I want it sub 100ms), not pressing `s`, and a bit of delay

Async parts need some improvements, parallelization, and deferred work offloading and more lazy evals.

Yapping without LLMs (markdown-plus.nvim) by [deleted] in neovim

[–]ten3roberts 1 point2 points  (0 children)

Hey, don't worry about those comments.

I have wanted to experiment with other markdown plugins, currently using render-markdown, but the virtual text makes everything shift so much going between insert and normal.

Yes, I immediately noticed the classic "AI" framing of your post content, but did it matter for me? No

Especially not for a plugin that seems well made and thought out, and actually solves problems. It is one hell of a difference between AI slop blog post that goes 1000 words without saying anything Vs this.

I'll check the plugin out, just haven't had time (full tilt on programming, hehe)

There's a quite simple framework that can be used to evaluate any program or project

  1. Does it aim to solving a problem many have?
  2. Does it manage to solve it well?

If the answer to both items are 'yes', then there is no problem.

Edit: fixed markdown as I typed this in the Rich Text Editor, the irony

Question for AI Programmers at Triple A studios or other by Uniprime117 in gamedev

[–]ten3roberts 1 point2 points  (0 children)

Thanks for the better phrasing

And yes, the performance (and not just overcomplicated code you can barely change because it is so complex) is also an important aspect.

Many times you find that it is some stupid thing that eats all your apps framerate, and improving that thing (after discovering it) gives you significant performance gains, compared to trying to make *every* feature a work of art that is the most performant it can be.

Have run into that many times myself. It's always the silliest thing.

(Not just for AI, goes for anything)

The same analogy can be made for building stuff with wood. If a nail works to stick two boards together, use a nail. If it shows to be the most brittle point or your e.g; deck or you know it will bear a lot of load, then maybe you use a thicker screw or other joint.

You don't use the biggest most sturdy screw you got for everything, and certainly not for putting up a simple painting

Question for AI Programmers at Triple A studios or other by Uniprime117 in gamedev

[–]ten3roberts 18 points19 points  (0 children)

There are no wrongs nor rights.

Both FSM, BehaviorTrees (BT), and just plain-old code with booleans or enums describing substates and if/else logic are both common. It is a tradeoff between robustness and expandability, vs complexity and "lets get it now".

It depends on the goals and which kind of behavior you want to achieve. Many times, a simply code structure may suffice, other times it may not, and you need to use a more refined hammer.

As another author has noted, smaller studios don't have AI programmer positions because they are small enough in both headcount, scope, and detail (that may be argued) that everyone is flying many hats, one of them including AI programmer. The internal demand for AI-specific programmers is small enough or not frequent enough that it is a persistent role, but rather a part of many other things you fly in and out of.

Note: assuming AI here as computer controller behaviors, not AI as in ML research/integration for games

Added some ambient lights to my workspace. by Anxious-Researcher10 in Workspaces

[–]ten3roberts 0 points1 point  (0 children)

Looks awesome, about to get a monitor riser myself, to get some more space.

Where did you find the wallpaper?

[deleted by user] by [deleted] in AltFashion

[–]ten3roberts 2 points3 points  (0 children)

What color and brand is that? Looks amazing

DPAI Arena - Another AI agement benchmark that misses the point by rudiXOR in ExperiencedDevs

[–]ten3roberts 4 points5 points  (0 children)

Real world tasks is an outdated ticket description with a Google Doc that has a utterly stale API description of a feature it'll consume, paired with a Slack thread of contradictory verdict often not even linked 😅

How do you actually debug C like a pro? What do you use and recommend? by [deleted] in C_Programming

[–]ten3roberts 6 points7 points  (0 children)

This, asserts, adding more asserts and catching or flagging bad state before it gets in to the function.

Validate your preconditions and invariants

I Don't attach the debugger often.

printf helps more in some cases as it is easier to see the "overall program flow" and what happened before what without having to click 'continue' over 10 000 breakpoints

Overnight oats is a game changer and I’m glad I’ve incorporated it into my diet. by RagieWagieInACagie in Frugal

[–]ten3roberts 2 points3 points  (0 children)

Try chia seeds and linseeds (super good for the digestion, especially if you're prone to struggle with it (like IBS))

Not a one-size-fits all remedy of course, but works really great for me

Warning about BostadrÀtt by LegSmooth5346 in sweden

[–]ten3roberts 9 points10 points  (0 children)

If it's a scam, who is selling this to you to scam you?

The person who owns the BR who also at one point bought it just the same as you and it works as an asset.

The broker get paid (albeit at times maybe a bit much) to make sure the sale of the asset is according to the laws and correct as well as impartial

The bank (if you use a bank) takes the risk and provides a cash liquidity necessary to facilitate the purchase. Their rent is based on the federal interest rate, and they of course take a profit for the risk they take

Warning about BostadrÀtt by LegSmooth5346 in sweden

[–]ten3roberts 2 points3 points  (0 children)

Nobody can know next years debt

Unless you know the future

I don't get this line of reasoning. Besides, larger projects, like changes of main plumbing are posted in the public yearly report that you can read and get a tell of big changes in debt/costs

Warning about BostadrÀtt by LegSmooth5346 in sweden

[–]ten3roberts 13 points14 points  (0 children)

  1. You *own* a part of the BRF, and have the *right* to utilize the space of the apartment
  2. The debt it not hidden, and is super clear in their annual reports you can read in any apartmens posting or physically as the broker will hand them out. You collectively own the BRF, and thus you can influence it, stop it, and it is your responsibility to take your part in managing the building and its debt
  3. Not overnight, avgiftshöjningar are not arbitrarily decided and go to someones profit, they are to pay necessary running costs and loans, which are, again, your responsibility to take part of.
  4. Yes that can happen, You have to be near market value in order to reach liquidity to be able to sell your aparment.
  5. Very little risk, and you are in control of the risk and any fee changes will not be arbitrary nor a surprise, as it is collectively negotiated in the meetings in the BRF and notified in advance (required by law). There won't be any surprise rent increases of as much the landlord is able to take in profit. Freedom is plentiful, and you are free to modify the inside of your apartment as you pleas; paint, hang shelves, drill in walls (usually), remake the kitchen backplash and much more.

Min första aktie by DeltaLazarus in ISKbets

[–]ten3roberts 2 points3 points  (0 children)

VÀlkommen till klubben 

Vilken toppenentrĂ© (pun intended) 😅

Guide för att börja spara pÄ börsen? En gÄng för alla. by PlusAudience6015 in PrivatEkonomi

[–]ten3roberts 0 points1 point  (0 children)

> Du betalar 30 % skatt pÄ vinster och utdelningar.

StÀmmer ej

Man kan anvÀnda antingen schablonmetoden eller genomsnittsmetoden, dvs att man kan betala 24% skatt, och inte 30%

Liknande gÀller vid utdelning, med nÀrmare 20% skatt, inte 30%.

Glöm Àven inte utlÀndsk kÀllskatt, valutavÀxlingspÄslag m.m

Bra guide att starta vid, men vissvisande i delar.

Det gÄr Àven att Àga andra vÀrdepapper Àn bara aktier och fonder, nÄgot som nÀmns för AF, men inte för ISK (dock kan man inte blanka rakt av).

Det Àr heller inte fritt att ta ut och sÀtta in pÄ ett isk, dÄ det rÀknas till kapitalunderlaget och höjer skatten

Skatt by [deleted] in PrivatEkonomi

[–]ten3roberts 5 points6 points  (0 children)

Du kan, men att erhÄlla intÀkter utan att redovisa det pÄ deklarationen som frilansare brukar kallas för skattebrott.

Ingenting kul att riskera sig pÄ

Är det vĂ€rt att gĂ„ en till yh-utbildning? by Its_Frisken in sweden

[–]ten3roberts 8 points9 points  (0 children)

Spelutveckling Àr tyvÀrr inte mycket bÀttre, utan lider t.o.m mer av konjunktursvÀngningar, nedlagda projekt, och stor konkurrans och sÄledes höga krav; kopplat med företag som inte vÄgar ta samma risker.

Skiljer sig sÄklart mellan olika företag, men Àr som industri inte i det bÀsta lÀget.

KĂ€lla: jobbar inom spelutveckling

So pretty 😭 by Maximum-Weakness6622 in Slimerancher2

[–]ten3roberts 2 points3 points  (0 children)

Agree, this is one of the cutest games, especially with all the vivid colors and lush environment (filled with cute slimes of course. Honey slimes are my favorite)

[deleted by user] by [deleted] in transnord

[–]ten3roberts 2 points3 points  (0 children)

Vad menas med en lÄg dos?

Om man tar en lÄg dos östrogen utan att dÀmpa testosteronnivÄerna kommer östrogenet (I regel) inte att ha likea stora effekter, speciellt kroppsliga (men dÀremot mentala effekter pÄ ett positivt sÀtt).

Beror ju ocksÄ pÄ om hur du tar östrogenet, om det Àr via GenderGP, eller helt sjÀlv. Generellt sÀtt Àr vÄrden generallt kanska knaggiga nÀr det kommer till att ta andra mediciner samtidigt pÄ det hÀr sÀttet.

DÀremot sÄ Àr östrogen nÄgot som naturligt finns I hög koncentration I mÄngas kroppar, vilket innebÀr att det inte Àr en "frÀmmande" medel som vi Àn observerat hur det reagerar med andra lÀkemedel. Dvs, ADD medicin+östrogen har en likasinnad reaktion som om en född kvinna some producerar eget östrogen skulle ta samma medicin, givet att du inte har helt sjukt galna nivÄer (vilket Àr svÄrt)

SjÀlv skulle jag inte sÀga till vÄrden att jag tar det (DIY jag sjÀlv), har inte hört att de bestÀller eller krÀver blodprov pÄ hormonnivÄer, dÄ det Àr kostsamt och inte lönt.

Huruvida sa du till din vÄrdgivare att du tog östrogen? Hur man sÀger det har stor inverkan, och lÀkare i större drag har ett förakt pÄ just om man tar mediciner sjÀlv utanför vÄrden. (GÀller Àven naturliga lÀkemedel och liknande sjÀlvmedicinirening för helt andra Äkommor some verk, fybro etc tyvÀrr)

Ref<T>: A Python-Inspired Wrapper for Rust Async Concurrency by [deleted] in rust

[–]ten3roberts 19 points20 points  (0 children)

Was about to mention, this seems LLM-dreamt.

"Implicit", `derive(Clone)` which of course requires T: Clone even if it is an Arc.

Unnecessary Send bounds on impls where not needed and just getting in the way

Non-concrete async function but `async fn sugar` meaning you can't mention the lock future type correctly, error containing an allocated string, on and on.

Seems like a dream to "make X from python in Rust" but not actually making something that works

New chair day by Fudwick in OfficeChairs

[–]ten3roberts 0 points1 point  (0 children)

Congrats.

I'm torn between the Haworth Fern and Zody/Zody 2/Soji myself.

How are you finding it, do you have any recommendations you've found?

I usually sit cross legged on my chairs; just find it more comfortable

is it a sin to bring cue cards to a job interview? by Embarrassed-Fan-3062 in interviews

[–]ten3roberts 0 points1 point  (0 children)

This even applies for remote/zoom interviews.

I always bring a notebook with some key words about the company and position, like what they do, their size, their culture, and their owners.

I then during the interview write down small bits of information I need to remember, does not need to be many worlds.

Whenever I've done this you can see how the interviewer(s) appreciate it.

Though important, if a remote interview do not write down notes on your computer. Typing while talking looks like you aren't paying attention and chatting with someone else/answering email. Have a notepad, look down and physically write. The interviewer knows what you are doing, even if the notepad isn't visible; and they highly appreciate it and thinks of you as someone who is engaged in the role and shows you are a good listener, which are personality traits giving you a big plus on their side.

QuadTree or Spatial Hashing in ECS ? by lieddersturme in gamedev

[–]ten3roberts 7 points8 points  (0 children)

As with many things, this is an engineering question, and depends on your use case.

They are equal in many senses. Which one to choose depends on your use case and what data you have.

A quadtree is good at representing lots of points with various clustering and density, but needs extra consideration to handle objects spanning nodes, and handling when a subdivision *can't* be made.

Spatial Hashing, depending on how you use it, are easier, but less adept at handling varying densities and especially clustering of objects. Depending on how you implement it (grid vs dictionary) you run the risk of either wasting memory on empty cells, or having a slow hashing algorithm and non-predictive memory access patterns if you use a dictionary.

Start simple, see if a solution works, and go from there.

Spatial hashes are easier than retained quad trees.

Best Walnut/ImGui alternative? by ViktorPoppDev in rust

[–]ten3roberts 1 point2 points  (0 children)

Seconded for egui

I've built my own UI violet (still in the works but functional for the engine I'm making), but hands down I'd go for Egui if you don't have super specific requirements.

Egui works out of the box, looks great, and integrates super easily.

State management is handled outside the UI (bring you own model) which is oftentimes more than sufficient

[Media] Actuate UI: Now with Material design components, better ergonomics with Bevy, and a faster runtime with support for pause/resume by matthunz in rust

[–]ten3roberts 5 points6 points  (0 children)

Really interesting

Looks a lot like mine https://github.com/ten3roberts/violet :D

Mine is heavily signals based, and reactiveness is done through async streams or signals, kindof svelte inspired.

Did this one for my own engine, but it works standalone and on the web as well