HNHacker News
TopNewBestAskShowJobs

skocznymroczny

3,934 karma · joined February 18, 2014

submissionscomments
skocznymroczny··on D3wasm 0.4 – Doom 3 in WASM
The originals had a lot of horror vibe. It might not seem like it nowadays because players are used to it and there's many mods like Brutal Doom trivializing the content, but original Doom was scary. There was no other game like it at the time, and the growls of the monsters, the flickering lights, rooms getting dark when you grab a key and monster closets opening, body horror elements on walls and decorations. Doom 3 felt actually milder, it just was more annoying with the darkness everywhere.
skocznymroczny··on Zig, the Small Language
I like the idea of Zig, but haven't got to actually use it yet. I still can't get over it's syntax. I think the manual memory management approach but easier than C is a good path to follow. It makes Zig a natural in other environments such as WASM. Compare that to Go or D which started with a garbage collector and struggle in WASM (Go has to compile it's garbage collector to WASM to work, D forces you to manage your memory manually).
skocznymroczny··on Zig, the Small Language
It makes a massive difference. I find most math related code unreadable without operator overloading, such code is very common in e.g. gamedev.

Just because people misuse operator overloading doesn't mean it should be removed from the language.

skocznymroczny··on Draw Anything – A Simple Stable Diffusion Playground
I think they are aware they can't filter it, they just don't want to be the first company with a large scandal because of e.g. some celebrity/politician deepfakes going mainstream.
skocznymroczny··on 134.5 kg Concrete Bike [video]
> keyboards with 1lb resistance springs

I'm sure there would be mech keyboard enthusiasts who would find the actuation force too light on those

skocznymroczny··on Orcas are breaking rudders off boats in Europe
"Rudder prank on unsuspecting boats! you won't believe what happened next!"
skocznymroczny··on Top Programming Languages 2022
I don't understand how D is anywhere near Rust, and I say this as a D fan. Maybe because of the name D is positioned better because it gets more matches in searches? Rust ecosystem seems far more vibrant, with lots of libraries, new ones every day, and many new projects announcing moves to Rust. Also Rust is a very powerful contender in the WASM environment. Meanwhile D, while not dead, is fairly stagnant. There are constant improvements to the language, and new libraries pop up every week, but in a much smaller volume.
skocznymroczny··on Clip control on the Apple GPU
I don't know why there's so much love for OpenGL in the communities still. Maybe it's the "open" part in the name, which was always confusing people, thinking it's an open source standard or something like that.

The API is very antiquated, doesn't match modern GPU architectures at all and requires many workarounds in the driver to get the expected functionality, often coming at a performance cost.

Vulkan is nice, but it goes into the other extreme. It's very low level and designed for advanced users. Even getting anything on the screen in Vulkan is intimidating because you have to write everything from scratch. To go beyond hello world, you even have to write your own memory allocator (or use an existing opensource one) because you can only do a limited amount of memory allocations and you're expected to allocate a huge block of memory and suballocate it as needed by your application.

In comparison, DX12 is a bit easier to grasp. It has some nice abstractions such as commited resources, which take some of the pain away.

Personally I like Metal as an API. It is lower level than OpenGL, getting rid of most nasty OpenGL things (state machine, lack of pipeline state objects), yet it is very approachable and easy to transition to from DX11/OpenGL. I was happy when I saw WebGPU was based on Metal at first. WebGPU is my go-to 3D API at the moment, especially with projects like wgpu-native which make it usable on native platforms too (don't let the Web in WebGPU confuse you).

skocznymroczny··on A golden age of consumer convenience is passing
Steam was at the right place at the right time. Also it was more insidious in its behavior. Throughout the late 2000s and 2010s most AAA games were Steam releases only. Even boxed copies were not much more than a Steam code. This allowed them to build a powerful network effect. At some point gamers were demanding that any new big release was a Steam release ("no steam no buy").
skocznymroczny··on The world map that reboots your brain
Growing up in Poland, I don't think we encountered Mercator until much later when actually learning about various map projections. I think Mollweide projection is more widespread here for full Earth maps, and it reduces the stretching near poles effect.
skocznymroczny··on Website to Sign Up for the Lyme Disease Vaccine Phase 3 Trial
I don't know about how common it is, but my understanding is that tests for Lyme are fairly unreliable, leading to many people self-diagnosing themselves with Lyme, kind of like we're seeing now with 'long covid'.
skocznymroczny··on Fog Volumes arrive in Godot 4.0
It's the game engine equivalent of "why people use Maya if there's Blender who can do that stuff". There is a lot of middleware designed to work with Unity, there are many workflows defined on how to properly export models from 3D software to Unity preserving all the materials and special effects. There isn't as much for Godot yet. Yes, you can do it yourself, but most companies don't have time for that.
skocznymroczny··on Microrobots can brush and floss teeth in a proof-of-concept study
Are these ultrasonic toothbrushes actually using ultrasonic waves? I have an expensive sonicare toothbrush and a cheap noname $10 "sonic" toothbrush from the supermarket and can't really tell the difference between both. Both feel like a standard toothbrush with a phone vibrating motor put inside.
skocznymroczny··on Ubuntu Unity desktop back from the dead after several years' hiatus
I used to dislike Unity when it came out. I thought it's weird with the global menu, close button in the top-left corner and other ideas. However, after using macOS for a longer period of time, I got used to these ideas and actually prefer them nowadays. After that Unity became one of my favorite desktop environments.
skocznymroczny··on Reasons to tour by bicycle
Agricultural roads often come with their own dangers. I'll take a busy street over a tiny road blocked by a big black dog staring you down menacingly.
skocznymroczny··on Review of Internet for the People: The Fight for Our Digital Future
jacobin.com is a notable far-left website in general
skocznymroczny··on Let's learn D game programming development (2021) [video]
I've been using D for my amateur game engine development for a while now and so far it's been a pretty good experience.

Thanks to reflection features I can serialize/deserialize entire scenes just by annotating the fields in structures as needed, and can also autogenerate editor fields for inspector views. With C++ I'd have to do some out of place looking define magic to generate my structures and it wouldn't just work with any struct.

Unlike my fellow D game developers I don't fight the GC. I don't use any of the @nogc features in D or obsess about manual memory management. I have a fairly beefy machine, but still, I think the dangers of D's GC are somewhat overblown. There was a blog article back in the day by someone writing a 3D space game in D and it was often referred to as an example of how bad D's GC is, but there wasn't really enough data in that post to know about the methodology. Firstly, in a game most of the data should be preallocated anyway, in the game loop there isn't that much to allocate. Secondly, D has value types, so there's much less pressure on GC because you can stack allocate things like vectors or matrices. Sure, in other GC languages a sufficiently smart VM could probably optimize that out and avoid the GC, but I doubt it would catch most cases.

I also like how easy it is to interact with C. This grants me access to gamedev libraries such as bgfx, wgpu-native, ODE, NewtonPhysics and many, many more. C++ interaction however never cared much for. I feel like D spent too much effort here, even adding language features (copy constructors) to interact better with C++. In the meantime, it seems that it's still hard to interact with C++ libraries from D, and ironically I feel like languages like Rust or Zig have a better interop story with popular C++ libraries like Qt or Bullet, despite not investing as heavily into that.

My main current issue with D is that as a community project, it seems to lack some direction. There's some very talented people working around the project, but most of that work is done on a specific issues and projects people want to work on. Since a lot of the work on D is unpaid work, you can't force people to do what you want them to do. However, the language lead team should influence the direction of the language and provide a path forward. It's getting better in recent times, so there is a lot to look for in that aspect.

The multiparadigm aspect of D and its flexibility can be detrimental too sometimes. There are some subgroups in the language community that approach the language in a specific way and feel their way is the true "D way". For example, you have OOP folks that would like more features like named constructors, you have template metaprogramming folks who would like to remove most D features such as classes and just replace them with some metaprogramming template magic, you have folks that disable the GC and avoid the standard library from the get-go. This causes some friction, because any new feature for the language would have some opposition from the other side who will consider it bloat and unnecessary. In some ways the article about "Lisp curse" applies well to D.

These factors however don't really influence me personally, because I get to pick the features I want to use and can avoid the ones that I don't see the benefit of.

skocznymroczny··on Bob Cassette Rewinder: Hacking Detergent DRM
I bought a cheap black and white laser printer and it's been working great for me. I don't print that much, and if I do it's text anyway or things like plane tickets which don't need color. I don't have to worry about refilling four inks at once, I don't have to worry about ink spilling.
skocznymroczny··on Bob Cassette Rewinder: Hacking Detergent DRM
Well, most games did not have online DRM and such until Steam spearheaded the way. You needed to activate the game online through Steam to play Half-Life 2, in a move very criticized back then. Fast forward 15 years and people are threatening not to buy the game unless it's released on their DRM platform of choice.
skocznymroczny··on New study finds significant amount of HFO degradation product in drinking water
LPG propelled cars exist and are popular in some parts of the world, and it doesn't seem like they're more unsafe than diesel or gasoline equivalents.
skocznymroczny··on I disabled WiFi on the new Samsung fridge
It's "so broken" from a perspective of a privacy advocate or a tech oriented user. For casual users of these devices, a TV that doesn't support Prime Video/Netflix/HBOGO out of the box is "broken".
skocznymroczny··on I built a Reddit clone in 2 weeks using Bubble: nocode
Kind of reminds me of Unity Game Engine - the free version requires you to have a Unity logo play before starting up the game, but it can be removed in a paid version. As a result, most games that do have the logo, are low quality games made with the free edition, whereas solid quality games remove the logo so you don't know they were made with Unity.
skocznymroczny··on Earthworms after rain (2019)
In Polish, earthworms are "dżdżownica" which is derived from old Slavic for rain.
skocznymroczny··on Ask HN: What do you pay for your internet connection, and where do you live?
Rural Poland, $25/month for 40Mbit download/4Mbit upload. The price is pretty much static, and the bandwidth is limited by the copper wires. Started with 128kbit connection back in the day. They are laying fiber in my village, so some day I can expect to have 100Mbit+ connection for the same price.
skocznymroczny··on Ask HN: What game do you wish existed?
Some persistent world NWN servers might fit the bill. Some are heavy on roleplaying, and are more of chat servers with optional combat rather than a traditional MMO setting.
skocznymroczny··on Ask HN: What game do you wish existed?
I feel like such game would be hard to balance, because everyone would want to be the boss. And even then, you'd need some very good ideas to provide compelling gameplay for both the commander and the commanded.
skocznymroczny··on Ask HN: What game do you wish existed?
As for 1), I think it did? With games like Talos Principle, Turing Test, Spectrum Retreat, and other like Antichamber or The Witness, there's plenty to choose from.

2) this is a mechanic in Prince of Persia: Sands of Time, when you die you can turn the time back to the moment before death.

skocznymroczny··on Ask HN: What game do you wish existed?
GW2's Living World had storylines that lasted for months with permanent changes to the world. Although there weren't really any or much changes during this few month period, only between those periods.
skocznymroczny··on Ask HN: What game do you wish existed?
A stealth based Terminator game. Most Terminator games were cookie cutter 2D platformers (in the 90s) or generic FPS games where you play a resistance fighter/Kyle Reese and fight terminators or you play as T-800 and fight bikers and other terminators.

What I'd like to play, is a Hitman/Dishonored like Terminator game. You play as T-1000, you should avoid suspicion, shapeshift to gain access to restricted areas. You can do combat, but it should be avoided because it will make achieving your goals harder.

skocznymroczny··on U.S. moves toward supplying Romania with a new style of nuclear plant
Poland also has an interest in small nuclear plant modules, mostly from US and UK. I guess the advantage is that these can be produced on a larger scale and then installed on the spot, instead of having to design a nuclear plant from scratch every time one is to be created.
← PreviousPage 5 of 34Next →