Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
glouwbug
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
691.
▲
by
glouwbug
6y ago
Generic data structures work great if they use a void* since malloc returns a void*. Just malloc your structs, and suddenly a single set of 10 or so functions can work with all data types to build queues, lists, hash maps, etc
692.
▲
by
glouwbug
6y ago
Why are you pulling women aside after meetings to tell them how to speak properly? Just leave them be
693.
▲
by
glouwbug
6y ago
The next obvious step for webdev is to build its own JS powered array of gates, like an fpga, then a virtual machine for it.
694.
▲
by
glouwbug
6y ago
I just started porting various shadertoy glsl shaders to c++ for software rendering practise: github.com/glouw/softshader I'm really enjoying it
695.
▲
by
glouwbug
6y ago
Imagine if -fanalyze was like rusts borrow checker
696.
▲
by
glouwbug
6y ago
Battlefront 1 was an amazing game released by an amazingly talented game studio way ahead of its time.
697.
▲
by
glouwbug
6y ago
The mid 2000s was truly an amazing time when hardware support for even shadows or lighting forced developers to fully disable graphical setting drop downs based on your hardware. A shame, though, because 10-15 years into the future there&#x
698.
▲
by
glouwbug
6y ago
Check out the Resonance bot on the steam workshop. It makes playing the AI so much more enjoyable
699.
▲
by
glouwbug
6y ago
New projects using C++20's module system will greatly ease the pain of makefiles.
700.
▲
by
glouwbug
7y ago
And of course, this is why C++'s 40 years of backwards compatibility is so important. The same compiler can maintain the same code. The new features are there, but they do not necessarily need to be used.
701.
▲
by
glouwbug
7y ago
🧐 More opportunity for the rest of us!
702.
▲
by
glouwbug
7y ago
From my personal experience, a company wants a "yes man", someone who will do as they command. From their perspective, if you can't pass (or refuse!) the coding challenge, you're already in the red flag zone. That's
703.
▲
by
glouwbug
7y ago
This is juxtaposition, a form of literary style. He is sarcastically downplaying the _flu_ in comparison to the world wars because the _flu_ is already significantly lesser than the holocaust or an atomic bomb landing in Japan.
704.
▲
by
glouwbug
7y ago
My prof spent 8 whole months teaching us systems modeling and PID mathematics only to tell us there's no reasonable way to set your PID values... You gotta guess and check!
705.
▲
by
glouwbug
7y ago
Yes, though I'm not at the formation stage just yet. Boids just know how to stear organically much like Zerglings do. Boids just provide distancing at the micro level. Astar or Greedy First Best at the macro level ultimately provides t
706.
▲
by
glouwbug
7y ago
It probably was their idea, but you are right, it was the idea others before their idea. Difference is, their idea came to fruition, and their idea has contributed to what is arguably the world's most important piece of software
707.
▲
by
glouwbug
7y ago
New users typically think this is Reddit. Best we can do is encourage civil discourse
708.
▲
by
glouwbug
7y ago
Isn't C++'s selling point that it is compatible with almost 45 years of code? Seems like a terrible thing to break this late
709.
▲
by
glouwbug
7y ago
Yes boids are great for parallelization. Each boid must compute a stressor imposed by neighboring boids based on the three rules in the paper (separation, alignment, and drifting towards center of mass). The stressor for each boid is simpl
710.
▲
by
glouwbug
7y ago
StarCraft 2 used boids, and I'm using boids to rewrite Age of Empires II: github.com/glouw/openempires
711.
▲
by
glouwbug
7y ago
Proteins killing proteins at the macro and micro level
712.
▲
by
glouwbug
7y ago
C is still prevalent in embedded systems. Something like a clean slate strong type checker to remove C's weak type checking would be greatly appreciated for those who mainly work in IOT where C++ is already treated like C with classes.
713.
▲
by
glouwbug
7y ago
True, but wouldn't that incentivize people to seek out masks when the already short supply is needed for the health care workers?
714.
▲
by
glouwbug
7y ago
Yes but a static analyzer could enforce _new_ projects to maintain single ownership model, which could push C and its existing tools closer to Rust. A borrow checker for C is totally feasible as it is just compile time analysis of object li
715.
▲
by
glouwbug
7y ago
Wouldn't it make more sense for -fanalyze to work like a rust borrow checker?
716.
▲
by
glouwbug
7y ago
Most likely sheer brute force as well considering Canada's population is 10% the population of the states.
717.
▲
by
glouwbug
7y ago
I think the ultimate goal was getting GIMP to run in the browser. Javascripters aren't going anywhere anytime soon
718.
▲
by
glouwbug
7y ago
I think it means its a new user with like under 10 posts or something
719.
▲
by
glouwbug
7y ago
For the longest time I thought a green username meant you were a hackernews mod, and I kept asking myself why hackernews mods were such trolls.
720.
▲
by
glouwbug
7y ago
It would wear me down. I need a bit of a chit chat and bullshitting with co-workers to get through my day. I can only look at JIRA with so much self-motivation.
More ›