HNHacker News
TopNewBestAskShowJobs

skocznymroczny

3,934 karma · joined February 18, 2014

submissionscomments
skocznymroczny··on 3dfx: So powerful it’s kind of ridiculous
Standarization of features might lag behind D3D, but availability of features usually comes first on Vulkan because of the extension system. For example NVidia brought raytracing to Vulkan long before DXR was a thing.
skocznymroczny··on Introducing ChatGPT and Whisper APIs
Check out OpenJourney. It's Stable Diffusion trained on Midjourney style images. I had great results with it.
skocznymroczny··on Beautiful Binary Search in D
Unless I am missing something, you can just use .length on a static array:

    int[5] a = [1,2,3,4,5];
    writeln(a.length); // 5
skocznymroczny··on Rust's Ugly Syntax
D fell into the same trap. D 1.0 started as a relatively simple language mixing OOP and basic template semantics and attracted many people from Java/C# backgrounds. But with D 2.0 they started to appeal more to C++ programmers. Advanced template metaprogramming, even language features were added to make it easier to interop with C++, in hopes that C++ programmers will transition parts of their apps to D.

In the meantime, chasing C++ programmers introduced problems. Template heavy code means that IDEs can't follow it well and there's problems with compilation time. C++ programmers never were keen on GC so D tried to introduce GC-free semantics for the language which aren't complete.

I don't think C++ programmers in general are worth chasing. If they stuck with C++ for such a long time, it means they are used to it and accept C++ with all its flaws. It's also my impression that Rust is attracting more JS programmers than C++.

skocznymroczny··on Ask HN: What does your WFH day/routine look like?
Wake up 8:50am. Start work at 9. After logging in and checking emails I usually go grab something to eat for breakfast. Then I don't eat anything else until around 2-3pm when my mom makes dinner. I work until 4pm then I take an hour break. I usually go for a walk at this time, or do some stuff I have to do like online shopping. At 5pm I have an hour long webmeeting. After that I am free. I usually browse internet and play videogames until late night. I go to bed around 1-2am.

Don't plan to go to the office ever. But it's not that I dislike offices, I just dislike the commute, which for me could easily be 1-1.5h one way.

skocznymroczny··on Pomodoro Timer
Same here. Likewise pom.xml in Java gets me every time
skocznymroczny··on Summer Afternoon – A WebGL Experiment
> Unity offers live editing in its application, but that doesn't apply to web; whereas modern threejs/babylonjs systems offer hot reloads.

It doesn't have to. The idea is that you'll develop the game as a desktop target, with all goodness such as live editing, and then just export the game to WebGL as a final step.

skocznymroczny··on 1500 Archers on a 28.8: Network Programming in Age of Empires and Beyond (2001)
One of the unofficial solutions used in Warcraft 3 was to spawn an illegal 3D model object in the corner of the map by a trigger as soon as the map begins, or during random spot checks during the map gameplay.

The model would crash the game (and world editor, that's why we have to spawn it during runtime) when displayed, but it wouldn't get displayed when under fog of war, so you'd put it in a place that is impossible to be seen by a player under normal circumstances. But if someone uses a fog of war cheat or a maphack, it'd crash for them.

Of course it won't prevent you from more advanced hacks which e.g. modify the client and display an overlay of the enemy units rather than just revealing the fog of war.

skocznymroczny··on 1500 Archers on a 28.8: Network Programming in Age of Empires and Beyond (2001)
https://www.codeofhonor.com/blog/the-making-of-warcraft-part...

there's this for Warcraft 1 development

skocznymroczny··on 2022 Climate Tech VC funding totals $70.1B, up 89% on 2021
Yeah, and now no matter what happens gets blamed on global warming... I mean climate changes (had to rename it because it's not warming as fast as they hoped for). Snow? Effect of climate changes. No snow? Effect of climate changes. No matter what, they'll blame it on climate change.

And of course they implement lots of policies restricting movement, taxing and limiting airplanes... except for private jets which are always exempt from those policies.

skocznymroczny··on Adding design-by-contract conditions to C++ via a GCC plugin
D has had support for pre/post contracts and invariants for a long time, but I haven't seen them used in many projects. I think it's one of those niche uses, or something that sounds like it'd be fun to have but in the end ends up being annoying to maintain.
skocznymroczny··on Mummy – web server written in Nim that returns to the ancient ways of threads
I bet it's just a one big wrapper anyway
skocznymroczny··on Young adults and mental health: Is more childhood independence the answer?
For me as a non-native English speaker it might be a case of English having confusing pronunciations. Pronunciation of loose and lose is very similar if not the same (I probably couldn't tell them apart). One might expect lose to be pronounced similarly to words like hose, rose or pose.
skocznymroczny··on Young adults and mental health: Is more childhood independence the answer?
Living in Europe this concept always seemed strange to me. I'm Polish and here it's normal to have couples living together while the parents are in the same house and even having sex together while parents are in the same house. There's no need to "hide" from the parents, you just ask them not to be disturbed for the next hour or two.
skocznymroczny··on Show HN: GPT-3 Powered Shell
Or enter a valid tar command on first try.
skocznymroczny··on Tell HN: Merry Christmas and Happy New Year
In Poland Christmas is 25th and 26th, but all the main celebration happen on eveningn of 24th. The remaining two days are more for rest and hanging out with your extended family.
skocznymroczny··on I still use Flash
Ahh Hapland. I managed to beat 1 and 2 without a solution. Never beat 3. Didn't know how to get started. Once you get started things start to get rolling.
skocznymroczny··on The genius of binary space partitioning in Doom (2019)
From what I've seen in the modern game engines, the current state of the art seems to be executing a compute shader which does frustum and occlusion culling on GPU and dynamically generates an indirect argument buffer which gets drawn in several or a single indirect draw.

This article contains a basic implementation of such idea in Vulkan - https://vkguide.dev/docs/gpudriven/gpu_driven_engines/

skocznymroczny··on IKEA asks horror game to change so people stop comparing it to IKEA [update]
Well, it's tricky, but many games do that and get away with it.

In many games you have cars or guns which are obvious lookalikes of real life cars and weapons but have their names changed to avoid copyright infringements.

Look at GTA. They can pretend it's taking place in Los Santos, Las Venturas and San Fierro, but we know what real life locations they are meant to represent. We know what that VINEWOOD letters on the hills are meant to represent, we know what "Area 69" military base is meant to represent.

skocznymroczny··on Doom3do: DOOM for the 3DO
PSX Doom soundtrack is also pretty unique, abandoning the electric guitar in favor of ambient gloomy horror atmosphere.
skocznymroczny··on Why is D's garbage collection slower than Go's?
I agree about riding the fence. The main reason D is so criticised for having a GC because it gives users a choice. I'd also rather have it either go full GC or full manual/semi-manual memory management, probably leaning more towards GC side personally.

There are other aspects where D gets hit from both sides because it never picks a side, instead it tries to cater to both sides, never going full into any of them. I guess there is some benefit in a language that's general and doesn't force you into specific paradigms, but it also increases the surface area (maintenance area) of the language and adds complexity for developers when every step of the way you have to consider the alternatives.

skocznymroczny··on CD Projekt is remaking the first Witcher game in Unreal Engine 5
It was based on the Neverwinter Nights 2 engine, so the similarities to NWN are expected. Actually, from my perspective, combat in W1 was a big improvement over the turn based click and pray combat of NWN.
skocznymroczny··on CD Projekt is remaking the first Witcher game in Unreal Engine 5
If it doesn't count sales on GOG then it's not really reliable. GOG is owned by CD Projekt group, and one of the big points when releasing Witcher games was that people bought them on GOG so that all money went to the devs instead of paying the Steam tax.
skocznymroczny··on Wad Commander: Play Doom I and II in the Browser
I was going for a pistol start UV recently, and some levels are really hard, especially if you don't know where secrets are. On some levels it's hard to get that shotgun to get things going and the ammo is often scarce.
skocznymroczny··on How to make a roguelike
I miss devmaster and flipcode, both coming from the age of people writing their own engines. Unfortunately ever since Unreal and Unity went mainstream, the community of amateur game engine developers shrunk considerably.
skocznymroczny··on Introduction to Dlang [video]
Personally I am mostly happy with D, but it is missing out on the WASM revolution, where Rust, C and C++ dominate.
skocznymroczny··on Introduction to Dlang [video]
there's some AWS/S3 libraries available, but they all seem to be in alpha stage https://code.dlang.org/search?q=aws
skocznymroczny··on DIY out-of-band management: remote power button
At my workplace we had a farm of laptop machines and we weren't allowed to disassemble them to pull any power wires out. What we ended up using was a remotely controlled motor with a small plastic "finger" attached that would press on the power button for n seconds, depress, wait few seconds, then press it for n seconds again to do remote hard reboots.
skocznymroczny··on USB kills off SuperSpeed branding
How about Ludicrous Speed?
skocznymroczny··on Make-A-Video: AI system that generates videos from text
Reminds me of South Park when Cartman was pretending to be a robot and was made to invent movie prompts

"Adam Sandler is like, in love with some girl, but then it turns out that the girl is actually a Golden Retriever. Or something.""

← PreviousPage 4 of 34Next →