Better HN
topnewbestaskshowjobs
Log inSign up

guavaNinja

129 karma · joined Jul 9, 2019 (7y ago) · 33 submissions

Submissions

comment 3y ago · link · parent

At my last job, I built a SQLite editor as an internal tool with C++ and ImGUI. It had custom features/views for our custom needs.

It was super fun and the code was super easy to read and edit. Immediate mode made our job much easier.

comment 3y ago · link · parent

In Arabic there is the mothanna مثنى (pair) case.

3.

YSFlight Source Code Released(forum.ysfhq.com ↗)

40 points · by guavaNinja · 4y ago · 2 comments

4.

Nvidia Unveils 144-Core Grace CPU Superchip “1.5X Faster Than AMD's EPYC Rome”(tomshardware.com ↗)

21 points · by guavaNinja · 4y ago · 1 comment

5.

ABA Problem(en.wikipedia.org ↗)

1 points · by guavaNinja · 4y ago · discuss

comment 4y ago · link · parent

If a project supports cmake, this is the best package manager to fetch it https://github.com/cpm-cmake/CPM.cmake

comment 4y ago · link · parent

Sellers can easily pay to the site more than the buyers and it won't be in the buyer's interest

comment 4y ago · link · parent

It's ok to break it down iteratively, so after figuring it out you can get back to the list of subtasks and update them

9.

OpenCSF: Computer Systems Fundamentals(w3.cs.jmu.edu ↗)

4 points · by guavaNinja · 4y ago · discuss

comment 4y ago · link · parent

We hate getters/setters. There is `using Str = Buf<char>` if you looked into Buf you will find ptr and count and cap. You are looking for ptr

comment 4y ago · link · parent

This[1] is a c-flavoured c++ STL replacement, uses minimal number of c++ features to be easy to use yet simple. We built it and use it internally where I work.

It's not c but almost c, it could be useful for you

[1] https://github.com/MoustaphaSaad/mn/blob/master/mn/include/m...

comment 4y ago · link · parent

I think they meant you allocate data once and pass their pointers to a function to put its outputs there. `void return_multi(T* out0, M*out1);`

comment 5y ago · link · parent

Here is one for 2019 https://adventofcode.com/2019/day/2

14.

C undefined behavior can result in time travel(devblogs.microsoft.com ↗)

5 points · by guavaNinja · 5y ago · discuss

comment 5y ago · link · parent

That's a bug in Firefox for Android that's being tracked https://bugzil.la/1535985

comment 5y ago · link · parent

No, laugh to them for getting hacked. It's EA afterall.

comment 5y ago · link · parent

Could someone please screenshot the Instagram post and re-upload it somewhere else for those of us who don't have an account. Thanks.

comment 5y ago · link · parent

Beware, 3 years ago I lost my facebook account after I deleted all my posts using a python script that opened my facebook wall and iterated over the posts. Couple of days later, I was banned on facebook and whatsapp and never restored my old fb account, but somehow got back my whatsapp's. Probably they watch for possible bot interactions and flag them.

comment 5y ago · link · parent

Plus a huge number of TeX packages have been made and used. You can't just ask people to leave all of that and learn a new language.

comment 5y ago · link · parent

Though the first recommendation of it was r/funny

comment 5y ago · link · parent

https://youtu.be/gKAIazAJuzQ

https://gist.github.com/joepie91/df80d8d36cd9d1bde46ba018af4...

comment 5y ago · link · parent

I think it means "everyone". Read it as "night night, everyone"

comment 5y ago · link · parent

Maybe the leaks of facebook phone numbers?

comment 5y ago · link · parent

Start from the summary then follow the intro https://riskfirst.org/overview/Quick-Summary

They could have layed-out the articles better than this.

comment 5y ago · link · parent

I prefer this one https://youtu.be/NYSxkqL9l_8

comment 6y ago · link · parent

I suggest you look at minetest[1] textures. It's an opensource minecraft clone. Most textures have CC or MIT licenses. Read license.txt for each texture mod before you use them. They may help in opensourcing your project.

[1]: https://github.com/minetest/minetest_game

comment 6y ago · link · parent

Just the port they used by default, to help remember it

28.

Game Programming Patterns(gameprogrammingpatterns.com ↗)

11 points · by guavaNinja · 6y ago · discuss

29.

How to Write Unmaintainable Code (2003)(github.com ↗)

164 points · by guavaNinja · 6y ago · 85 comments

comment 6y ago · link · parent

My internet connection is slow, i couldn't load it, i gave up and still can't figure out from the comments what it is
12