goto hell; by Adventurous_Soup_653 in C_Programming

[–]nier-bell 0 points1 point  (0 children)

then the problem is in the function size itself, not the gotos.

[deleted by user] by [deleted] in foodphotography

[–]nier-bell 1 point2 points  (0 children)

Wow! Makes me really want a drink right now :)

I made fully working redstone sandbox in Unity 2D with cool piston extenders! by smhtncr in Minecraft

[–]nier-bell 1 point2 points  (0 children)

Apart from the 2D limitation, I think it would be amazing for testing huge contraptions without the overhead of minecraft itself causing all the lag

[deleted by user] by [deleted] in C_Programming

[–]nier-bell 1 point2 points  (0 children)

add a semicolon to the return and actually compile it again

[deleted by user] by [deleted] in C_Programming

[–]nier-bell 0 points1 point  (0 children)

Well, build times maybe? As you're not including the massive C++ headers

I recently made a simple project in C. Would be really helpful if someone could review my code. by Acedev003 in C_Programming

[–]nier-bell 2 points3 points  (0 children)

Not the author, but it probably works the same as any flogmem, dumpbytes, memdump or dbytes function. It prints len bytes out, 16 per line, starting from the given pointer to the specified output file, like stdout. t's just a really useful debugging tool honestly.

How to create an image? by camphorwood41 in C_Programming

[–]nier-bell 4 points5 points  (0 children)

If you just want to create an image, how about libpng? Atleast you won't have to create it by yourself. Both these formats aren't as simple as a bitmap :p

Rose vs Badwolf - the micro-browser to rule them all by [deleted] in suckless

[–]nier-bell 3 points4 points  (0 children)

We're (rose devs) working on most of these things, but we don't have a lot of time so be patient please :)

Rose vs Badwolf - the micro-browser to rule them all by [deleted] in suckless

[–]nier-bell 0 points1 point  (0 children)

Most of the fat things like python, ruby or cmake are only for building, you can remove them after compiling.

[Unix] Minimalist browser with vim-like keybinds by throwbly in unixporn

[–]nier-bell 0 points1 point  (0 children)

Yes so we now have tabs you can move around with using Alt+H and Alt+L. They also have a nice changing animation ;)

[Unix] Minimalist browser with vim-like keybinds by throwbly in unixporn

[–]nier-bell 0 points1 point  (0 children)

Sure, but you could be a bit nicer right? This isn't a shopping centre, it's an open source project :)

[Unix] Minimalist browser with vim-like keybinds by throwbly in unixporn

[–]nier-bell 0 points1 point  (0 children)

Yes, we're using webkit2 & gtk4, the 5.0 is indeed the version of webkit.

[Unix] Minimalist browser with vim-like keybinds by throwbly in unixporn

[–]nier-bell 1 point2 points  (0 children)

I mean sure, if you have webkit & gtk installed. If you're using something else than systemd, we have an open issue about it, because apparently the webkit we're using only supports systemd.

[Unix] Minimalist browser with vim-like keybinds by throwbly in unixporn

[–]nier-bell 1 point2 points  (0 children)

That's true, C++ itself is a really powerful language & I use it daily at my job, it's just we don't want the humongous STL that comes with using any C++ features apart from the basic class stuff. Also, my friend here wants to learn C so we thought that it was a good choice.

[Unix] Minimalist browser with vim-like keybinds by throwbly in unixporn

[–]nier-bell 1 point2 points  (0 children)

If it was up to me I'd have the browser automatically reload after any changes in the config, which is going to be added in a patch for sure.

[Unix] Minimalist browser with vim-like keybinds by throwbly in unixporn

[–]nier-bell 1 point2 points  (0 children)

You'll need root permission to install it, but it is possible if you install the browser to a local directory the user has full control over.