37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions
1531.
I tried Bevy for the first time for a game jam(kuviman.itch.io ↗)
11 points · by capableweb · 3y ago · discuss
comment 3y ago · link · parent
And lastly, don't forget about the only nuclear bombs that have been dropped have been dropped by the US military. That was indiscriminate killing at a scale never seen before, or since.
Look, Russia is horrible, the invasion is super fucked up, I wish they weren't do that and it'll take a long time before I'll ever forget about the horribleness that Russia put others through, as I've personally helped people being received from Ukraine into the country where I currently live. But that doesn't mean other military powers aren't as horrible as Russia, all of them are, it's their purpose so that's what they do.
comment 3y ago · link · parent
With your argument, JSON is equally bad because you could have {"name": "wizzwizz4", "age": 16} and ooops, some things got deleted and now the structure ends up being {"name": 16} which isn't really a sound argument against the format itself.
comment 3y ago · link · parent
- Haditha massacre
- Mahmudiyah rape and killings
- Abu Ghraib prison
- Enhanced interrogation techniques
- Sơn Thắng massacre
- Countless of others
All by US officials and/or military members.
comment 3y ago · link · parent
As far as I know, Ukraine never had a military big enough to actually do any invasion of other countries, but if Ukraine was the size of the US with the military of the US, I wouldn't bet on them not being horrible when invading other countries.
comment 3y ago · link · parent
Lol.
> Our grandparents told us stories about the russian army that many found hard to believe. And here we are proven that they were right all along.
This is true for any military power, read stories about areas under occupation from "freedom loving" or "non-freedom loving" (?) military groups, and you'll find it is equally horrible no matter what country the groups are from.
comment 3y ago · link · parent
Formats come and go over time, surely JSON will as well.
comment 3y ago · link · parent
Personally, I much prefer the latter of these two:
JSON:
[
{
"id":"0003",
"type":"donut",
"name":"Old Fashioned",
"ppu":0.55,
"batters":{
"batter":[
{
"id":"1001",
"type":"Regular"
}
]
},
"topping":[
{
"id":"5004",
"type":"Maple"
}
]
}
]
EDN [{"id" "0003"
"type" "donut"
"name" "Old Fashioned"
"ppu" 0.55
"batters" {"batter" [{"id" "1001"
"type" "Regular"}]}
"topping" [{"id" "5004"
"type" "Maple"}]}]
Strings (like `"id"`) are usually keywords (like `:id`) in EDN, but I still find it much easier to parse and understand. I've read a lot more JSON over the years than I've read EDN, so I don't think it's a "used to" feeling I have either.comment 3y ago · link · parent
I don't think many people (at least not myself and others I know who use it) use GPT4 as a source of absolute truth, but more like a "iterate together until solution", taking everything it says with a grain of truth.
I wouldn't decide any life or death decisions on just a chat with GPT4, but I could use it to help me lookup specific questions and find out more information that then gets verified elsewhere.
When it comes to making games (with Rust), it's pretty easy to verify when it's bullshitting as well. If I ask it to write a function, I copy-paste the function and either it compiles or it doesn't. If it compiles, I test it out in the game, and if it works correctly, I write tests to further solidify my own understand and verification it works correctly. Once that's done, even if I have no actual idea of what's happening inside the function, I know how to use it and what to expect from it.
comment 3y ago · link · parent
`{num 5, val 4}` looks fine to me, but we can do even better! We already know objects/maps are always in pairs, so we don't really need that comma either. Just do `{num 5 val 4}` and we save yet another unnecessary characters.
Of course, I didn't come up with this format myself, what I actually want JSON to be is EDN (https://github.com/edn-format/edn) which is a standalone format but also directly used in Clojure, so it already exists inside a programming language and works very well. There keys are strings though, so you example would end up being `{"num" 5 "val" 5 "person" var}`, where commas are optional.
comment 3y ago · link · parent
You're saying this like there isn't any trash on the Apple App Store? Come on... Beyond the top lists or other discovery models, the Apple App Store contains bunch of things that will never even be downloaded by anyone...
It was more exclusive in the beginning, I give you that. But today, it has as much trash as any other app store.
comment 3y ago · link · parent
TOML for example is extensively used in the Rust world, but if you're doing PHP, you're much more likely to deal with XML or JSON than TOML on a daily basis.
comment 3y ago · link · parent
I've used the crate `savefile` for this in the past (https://docs.rs/savefile/latest/savefile/), which also supports migrating data between versions. So if you have a bunch of on-disk data of a struct and you add a new property, you can handle migrating the data on the fly to the new struct structure.
I'm also using `savefile` for saving HN items (comments and stories) to disk in my own HN application: https://codeberg.org/ditzes/ditzes/src/branch/master/src-tau... and it's very quick to load stuff from disk, haven't hit any bottlenecks really
Example: https://ditzes.com/item/35640002 (SpaceX Starship rocket explodes minutes after launch from Texas) has 1223 comments which are individually loaded from disk, takes around 100ms to load from disk, which considering how inefficient and unoptimized the code is, I'm pretty happy with.
comment 3y ago · link · parent
Who wants to type `{name: "pveierland"}` when you could just do `{name "pveierland"}`?!
comment 3y ago · link · parent
Sounds like you need to not be condescending :)
Of course I've searched and tried countless of avenues to pick up this, I'm not saying it's absolutely not possible without GPT, just that I found it the easiest way of learning.
And it's not "Write a function that does X" but more employing the Socratic method to help me further understand a subject, that I can then dive deeper into myself.
But having a rubber duck is infinitive worth, if you happen to a programmer, you probably can see the value in this.
> have you tried using it in an area you're an expert in ? The rate of convincing bullshit vs correct answers is astonishing. It gets better with Phind/Bing but then it's a roulette that it will hit valid answers in the index fast enough.
Yes, programming is my expertise, and I use it daily for programming and it's doing fine for me (GPT4 that is, GPT3.5 and models before are basically trash).
Bing is probably one of the worst implementations of GPT I've seen in the wild, so it seems like our experience already differs quite a bit.
> you won't know when it's bullshiting you and you're missing out on learning how to actually learn.
Yeah, you can tell relatively easy if it's bullshitting and making things up, if you're paying any sort of attention to what it tells you.
> By the time LLMs are reliable enough to teach you, whatever you're learning is probably irrelevant since it can be solved better by LLM.
Disagree, I'm not learning in order to generate more money for myself or whatever, I'm learning because the process of learning is fun, and I want to be able to build games myself. A LLM will never be able to replace that, as part of the fun is that I'm the one doing it.
comment 3y ago · link · parent
Isn't this the illusion our economic system gives us though, for everything from goods to companies in general? There is no "top" of the value of a company, so seemingly everyone is OK believing companies can grow forever and always get bigger/more profitable, so shareholders gets more profit.
If this is to believed, why cannot you believe the same for the housing market? Seems to fit with how most people understand the underlying economic model anyways.
comment 3y ago · link · parent
In the end, it sometimes requires extensive testing as things are wrong in subtle ways, but the same goes for the code I write myself too. I'm happy to just get further than have been possible for the last ~20 years I've tried to do it on my own.
Ultimately, I want to finish games and sell them, so for me this is a "business problem", but I could totally understand that for others it isn't.
comment 3y ago · link · parent
comment 3y ago · link · parent