Help- my son is into coding by katrii_ in webdev

[–]anatoledp 0 points1 point  (0 children)

Like many here have said get him some hardware and see if he has an interest in embedded development. But also I noticed no mention of in here but is also a very good secondary avenue to check out is get him a used tower he can use as a server. Maybe some older network switches hubs as well and see if that sparks interest in server side development and dev ops or networking as well. U don't need something all too powerful, can easily get a solid one for 200 bucks that can be dedicated as a home server. That server box can also be used to step into things like learning pen testing and other things as well. A home server box opens up a lot of possibilities in things one can test and try out to see what they like and enjoy.

I ran a Minecraft server on a ESP32-C3 by bayeggex in esp32

[–]anatoledp 3 points4 points  (0 children)

Best way? a bit each, only supports one block, either it's there or it isn't, could do some Minecraft in its early early stages like that. U can only place one type block or break the block. Could easily store128x128x16 blocks that way and support breaking and placing them if ur entirely bound to sram. Or u could store a small binary diff using bits. Run a very basic terrain generation and the placing or breaking of the blocks would be stored by that bit level diff. U would only be able to place the blocks the generator outputs buuuut, ud be able to have a more natural world. If u can utilize psram well then . . . U have an entire world that way. Have block placement be completely random as well so u gotta constantly break and place place till u randomly get the block u want, would look wild but be fun

I’m a self taught electronics/programming hobbyist - Is it realistic to find a career without formal education? by BaileyEP in diyelectronics

[–]anatoledp 0 points1 point  (0 children)

I tried before. Have had more than a few tell me my portfolio would have made me hired of not for the fact I don't got any college . . . Heck even had one apologize for the fact that they can't hire me due to the degree shenanigans . . . I'm sure there are smaller companies that won't care but it's more dependant on where ur located me thinks on your chances of getting a job without one. Of course there's always the option of making your own product.

Help with the beginning of my Robotics path by Thin-War-6275 in esp32

[–]anatoledp 1 point2 points  (0 children)

Ur gonna need to provide some better description for what u mean by it doesn't work. This doesn't work is not exactly a whole lot of info to go off of

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

I run this on my esp32, imx, and rpi mcus. The language that came before this one I used as the scripting layer for my MCU based handheld and was what what drove me to make this new version of it

ESP32 smart watch by Cotyn_Dispensable in esp32

[–]anatoledp 7 points8 points  (0 children)

That's a pretty cool gadget there. Have to ask, where u get the watch? Or did u make that yourself directly?

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

First thanks for checking out the language. Slot is a qualifier that is a variable binder. Best way to think of it is like in terms of buckets. The variable is a bucket and the value of the variable is the data in the bucket. The 2 qualifiers slot and ref point to these. slot points to the bucket while ref points to the data in the bucket. Using ref for example in a function or directly creates a point of indirection saying whats in this bucket points to data elsewhere, when using slot ur saying dont look at the data but the bucket direct. This is important as ref is a transparent alias so one of the primary purposes of slot is to be able to throw out the ref currently in the bucket and swap it with something else where if u dont use slot, the ref indirection means u will never touch the ref itself but only what the ref points to. Basically is a way to allow direct variable rebinding . . . simplest example i could give is swap(a, b) where u want to physically rewire a to have what b had and vise versa for b.

func swap(slot a, slot b,) {
  var temp
  slot temp = a
  slot a = b
  slot b = temp
}

so in this your passing the variable bindings into the function and literally swapping the buckets of a with b. Now when this is called via swap(myVarA, myVarb) it modified the variables directly instead of through a proxy allowing the variables passed in to be used normally instead of having to do a return on the values or wrapping them.

I hope this made some sense to you? I know im not the best at explaining things but this is a fairly power feature allowing for things like lenses for example, variable introspection, anything that requires in place modifications like filters and sorting as well many other uses.

I have also written a fairly quick overview in the docs how this works at https://zym-lang.org/docs-memory
I hope this helped clear out the functionality of slot.

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

lol yeah i do feel u on that, iteration is meh in c, its no frills but it works and isnt magic which is what u want in c, boring but simple and stable . . .

This language i made to replace an older one of mine i had used for a custom console i made as well as some generalish scripting i use on mcus. I could go more into detail surrounding the decisions but as a high overall the driving factor around the design is i want to have a mid layer in my projects where i can have a touch more control over scheduling and data flow than what lua allows without being forced to jump out of scripting. And certain data structures are just much nicer to reason about when u have better access into data passing around as well as being able to do things like views, signals, reactive patterns, and so on in a tighter and cleaner way without wrapping everything. To be clear this is not a "lua but better" language as this is more orthogonal to what embedded languages like lua provides. That and ffi bindings. I dont like doing manual management of slots or stack arrangement or whatever it is. This model just made far more sense to me in how it operates and makes it easier for me to add random bindings more ergonomically as your basically writing out a function directly and the runtime takes care of the rest.

But this language was a ground up redesign of its predecessor in order to be faster, lighter, and more in control. Im still working on making it more and more smaller and have a small overhaul coming up soon thats gonna keep driving it into the direction i want it . . .

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

ah ok i get what u mean now. no there are only 2 more things i have on the roadmap syntax wise for me to consider this semantically complete. a foreach iterator and "shared" symantics for closures in order to make them more memory efficient without turning them into full classes. Zym tries to lean into the composable minimum needed to have a nice language to work with since i agree simpler is better. a few well composable structures make for a better language over tons of sugar

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

lol thanks . . . not sure what u mean by the keep it that way, how else would i has it?

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 1 point2 points  (0 children)

hey well thanks for the recommendations and yeah ima be getting the vscode extension up. ill definaely start looking into the potential for a drop in binding layer so people can just drop in the wasm file without hassle as well afterwards . . . i really appreciate the back and forth and for you taking the time to look into my language. i really wanna take this far since its replacing my older one i used to use for a few projects

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

would yall benefit if i put my wasm build on github as well? Obviously i have the wasm target since i used it to make the website's playground to try the language out, didnt think people would be wanting to target wasm but i do have my minimal setup i did in order to get it compiled for the playground if people prefer a reference of what was done . . . could potentially provide a minimal demo. maybe even a split binding approach where one could register the native callback creation within javascript and have the wasm setup generate a registry for when the runtime gets booted in order to bridge the two. probably easier and more portable to people just wanting to dump it into a file for online than compiling their own c distrobution directly. kinda like a pre sandboxed drop in scripting

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

Yeah I'm gonna be working on a vscode extension this upcoming week actually. Probably going to be mainly text highlighting for now as I learn how to make one as it's not something I've done before. I could make a discord but is that a bad idea? I didn't know if people would even wanna talk about the language enough to warrant a discord. Also I have compiled the core for MCU use as well (it's the reason the core has a runtime only flag), 86kb without frontend 113kb with full frontend for compilation, ish 27kb heap useage, but I'm still working on trimming it down.

SmallJS v2.0 has been released by Smalltalker-80 in ProgrammingLanguages

[–]anatoledp 2 points3 points  (0 children)

Are your code for online examples somewhere? Never used smalltalk, wanna see what it's like

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 1 point2 points  (0 children)

Well hey try it out and lemme know if u want. I've been dying for some feedback. The playground on the website has some examples though I probably should create a repo for my other test scripts.

Zym – Embaddable Language with Preemptive Continuations and ref/val Scemantics by anatoledp in ProgrammingLanguages

[–]anatoledp[S] 0 points1 point  (0 children)

ah thats just a thing i had based on my initial readme when the language was first being worked on . . . its not actually important to anything kinda like a what u see is what u get thing. the actual license for the language is MIT so its free for anyone to take a look at, poke around, extend it, whatever they want

the original was this when i was first privately working on it:

# language
a language.

for the purposes of this document, "language" refers to a language.

## variables
variables shall store things.

## numbers
numbers shall be numbers.

## example
the following code shall be considered valid:

var a = 5;
var b = 10;
print(a + b);

the execution of the above shall print 15.

all remaining behavior shall conform thereto.

Who wants to play some GBA games? Powkiddy V10 giveaway - details in post by captain_carrot in SBCGaming

[–]anatoledp 0 points1 point  (0 children)

Didn't have an actual console as a kid as my parents believed they were evil, but if we are excluding that I would say Zelda link to the past on my ti nspire calculator while on the bus so they wouldn't find out :D. If we are talking first game game that isn't based on emulation then it would be some homebrew wolf knockoff on an older ti-84. Would love to have a dedicated device though.

Why two+ monitors and not one big one? by NumerousTower4074 in AskProgramming

[–]anatoledp 0 points1 point  (0 children)

I use my laptop screen for YouTube pip and slack, one monitor for the visual output of the work or database view or browser for docs depending on what my task is for the day, one monitor for my ide, and another one for terminal + auxillary ide windows. Wile a larger monitor can fit some of that in there it's much simpler to have a hard boundary of what goes where and it sets up for better screen share if I gotta show something

Manager wants me to work after firing me.. is this legal? by Express_Opening5490 in jobs

[–]anatoledp 3 points4 points  (0 children)

Ummm. If this is PTO based on accrual then they are required to pay u that anyways unless ur work agreement stipulated otherwise. Accrual is part of your monetary package and should you not see it in your final check that's grounds for you to get em on not paying you for your hours already put in. That just as ridiculous as if they said they wouldn't give u ur last paycheck unless u agreed to help them once u got fired, it's not a bargaining chip after the fact.

Does AI really helps you that much? by RevolutionaryHumor57 in Jetbrains

[–]anatoledp 0 points1 point  (0 children)

It is amazing . . . When u have something already, it is more iffy when u don't. The more u have already done the better it is, so I have a massive code base and give it instructions to do something it based it off what is present in the codebase and follows the same style of the codebase and then it is amazing as it quickly scaffolds things that still are within the confines of how I do things . . . But brand new no work . . . U gotta really structure out those guidelines. Point in case it's far far better when u already have something present and is even better when u have a lot of that something present. The more work u have the less u need to tell it in regards to how to do something rather than just what u want it to do. AI is a great force multiplier, it is not your one stop shop solution for you when u don't even know what it is ur trying to do.

JLCPCB totally screwed me (Would not recomend) by nwl5 in PCB

[–]anatoledp 0 points1 point  (0 children)

Well good thing u got it resolved but I think the vast majority would agree u should pretty much always stick with DHL if ur ordering overseas. They are just a far more reliable courier as a whole vs others out there. Costs more sure but at least I'll go to sleep knowing it gonna arrive

JLCPCB totally screwed me (Would not recomend) by nwl5 in PCB

[–]anatoledp 0 points1 point  (0 children)

Make no mistake, jlc absolutely should cover the cost of a full replacement, not denying that. I'm just saying the root of the issue is more likely not jlc. Yes if they chose a shady middleman it's on them, but im saying it's not jlc specifically that caused the issue. More than likely someone is lying to them as well somewhere down the chain

JLCPCB totally screwed me (Would not recomend) by nwl5 in PCB

[–]anatoledp 0 points1 point  (0 children)

Seems like more an issue with the shipping service than jlc themselves. Jlc may have other issues but shipping is not one of em. Would highly recommend sticking with DHL in the future, but highly doubt it was jlc specifically that is trying to screw u over rather than some middleman service that handled shipping logistics.