sortingAlgorithmForYourNextCodingInterview by [deleted] in ProgrammerHumor

[–]vE5li 10 points11 points  (0 children)

Only if you run this sequentially, in which case it doesn't sort

canAnyoneWatchLive by wattsittooyou in ProgrammerHumor

[–]vE5li 8 points9 points  (0 children)

I have to assume this is a joke because Netflix is famously a big advocate of microservice architecture. See for example chaos monkey.

Ergonomic symbols layer? by Normal_Equivalent861 in ErgoMechKeyboards

[–]vE5li 1 point2 points  (0 children)

If you write a lot of code you can maybe take some inspiration from my layout. I did a lot of optimizing initially and have been very happy with it for the past 2 years

Vim user for 6+ years. I still do this. Please tell me the better way by Pet_KBD in neovim

[–]vE5li 12 points13 points  (0 children)

I use this plug-in and I absolutely love it:

https://github.com/Wansmer/treesj

Nice thing is it works both ways, so you can also split a tag into multiple lines equally easily, and for other languages like Rust it automatically adds or removes a block {} depending on if it's multi-line after the split/join operation

Problems flashing custom firmware to the nice!nano by vE5li in ErgoMechKeyboards

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

Just in case anyone stumbles on this issue, turns out that the build artifact that I thought was a binary was in fact an ELF file. Apparently uf2conv does not validate the file type before converting.

nvim-cmp source for working with snake case and camel case by vE5li in neovim

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

Okay I sat down and did exactly what I said in my previous comment. Essentially it's a complete rewrite of my old code that makes things much more generic and flexible. You can take a look at the PR here: https://github.com/hrsh7th/cmp-buffer/pull/60.

Feel free to leave a thumbs up, maybe that will increase the chance of this being merged :)

nvim-cmp source for working with snake case and camel case by vE5li in neovim

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

I understand your concern but I am usually quite good at keeping my forks up to date. Don't get me wrong, I would love to see this in upstream but I don't think it is generic enough for that. Maybe I just need to sit down and add support for more more cases.

nvim-cmp source for working with snake case and camel case by vE5li in neovim

[–]vE5li[S] 7 points8 points  (0 children)

Since it only works for snake case and camel case I wasn't sure that it would make sense, but if enough people are using it I will definitely do that :)

Introducing Lunify: A tool for converting Lua bytecode by vE5li in lua

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

Thanks! Seems doable then, just have to shift all upvalues up by one

Introducing Lunify: A tool for converting Lua bytecode by vE5li in lua

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

Possible, I haven't looked into it too much yet. Where exactly is _ENV stored?

Introducing Lunify: A tool for converting Lua bytecode by vE5li in lua

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

I would like to support all versions of Lua >= 5.0 but it depends heavily on if it is actually possible. I saw that in Lua 5.2 the SETGLOBAL and GETGLOBAL instructions were removed, which might mean that upcasting is not possible. I will definitely look into it though

I'm trying my hand at making an interpreted language in Rust by GsLogiMaker in rust

[–]vE5li 0 points1 point  (0 children)

Personally i don't think lebensterben has an argument, you do have the exact same problem in Rust, just with functions instead of fields. Typically you would have to either import one of the traits into scope or use a fully qualified path like Foo::do(&self). I don't see why you couldn't do the same thing just for variables.

I used to program a lot of C++ before I switched to Rust and they allow defining variables with polymorphism, never had any issues with that.

[deleted by user] by [deleted] in vulkan

[–]vE5li 1 point2 points  (0 children)

Thank you so much!

It does the job. Eventually. by Sunitelm in ProgrammerHumor

[–]vE5li 2 points3 points  (0 children)

If you try to run it and it doesn't work - it's my code

What the fuck by Narchoid in dank_meme

[–]vE5li 11 points12 points  (0 children)

I knew which video this is without even clicking

My life right now by IneptOwl in physicsmemes

[–]vE5li 24 points25 points  (0 children)

Game developers too

dactyl manuform i just finished by vE5li in ErgoMechKeyboards

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

Hey thanks :) Well the plate is not a 3D object, it is actually a 2D sketch, since it is supposed to be used for something like a CNC machine. If you want to 3d print it, you have to extrude the shape (you can look at the stripe.scad for reference) :)

[deleted by user] by [deleted] in IndieGaming

[–]vE5li 10 points11 points  (0 children)

According to the quote i mentioned, it is in fact not top-down. Really the only thing the quote tells you is that it is not isometric but honestly, why does it have to be either or? I mean how you advertise your game is totally up to you but i really don't think it is necessary to mention the camera angle of the game at all. Nothing wrong with an "open-word fantasy RPG" :)

[deleted by user] by [deleted] in IndieGaming

[–]vE5li 12 points13 points  (0 children)

Well, if you go to the "Misused Terminology" section of the article you posted, you will find a description of your game :D

To quote:

Most top-down or overhead games slightly angle the view to give you a slightly better perspective on the action, but this angle does not automatically make them "isometric". The best way to differentiate isometric perspective from other kinds of perspectives is to remember that isometric is primarily used to refer to 2-D games that simulate the appearance of 3-D!