Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
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

I'm glad it seems like we agree then, all military powers have abused their powers and hurt countless of others.

comment 3y ago · link · parent

I'm not sure if "killing millions" is on purpose a exaggeration or not, but again, Russia is not alone in doing killing and bombing as a strategy (civilians be damned), the US is very familiar with that strategy. Do you think the initial night raid on Iraq was only targeting military targets? They were dropping random bombs on Baghdad. Multiple campaigns of Vietnam were just dropping a ton of bombs all over the country, no matter who it hit (Look up "Christmas bombings").

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

If you actually want error-correction, I don't think either JSON or EDN is suitable for providing that out of the box. You probably want to provide error-correction out of band in that case.

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

I'm not sure if you count the US as developed or not, but in case you do, here are some highlights more recently than "a century or two ago":

- 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

Multiple actors can be horrible at the same time. The US is pretty horrible when it invades other countries, so is Russia.

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

The US has been proven to meddle in democratic elections in every single continent, except Africa I think, at this point. But meddling in Africa will surely be made public at one point or another.

comment 3y ago · link · parent

> defending smaller, but freedom loving, countries

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

There is no end-state for formats where one "won" and others "lost". XML "won" in terms of it being used everywhere in the past, JSON "won" in terms of it being used everywhere right now and some other format will have "won" in terms of it being used everywhere in the future.

Formats come and go over time, surely JSON will as well.

comment 3y ago · link · parent

Depends on the device I'm guessing. AFAIK, not all Garmin devices log location 24/7, but only when explicit activities have been started.

comment 3y ago · link · parent

I think it's highly subjective what's easier for humans to read/write.

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

Cheers, I'll blame the typo on lack of coffee. Although I'd like to get rid of both colons and semi-colons.

comment 3y ago · link · parent

> It's trained on generating the most likely completion to some text, it's not at all easy to tell if it's bullshitting you if you're a newbie.

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

Alien is not a reason something is bad, just that's it's unusual. JSON was a bit alien when it first arrived as well, as everyone was used to XML at the time.

`{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

> They continue to restrict it because look at how much trash was (is?) on the Android store

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

Of course, all of this depends on your context. It's possible that one's world is all about JSON5, while another person's world is all about XML (yes, still). It all depends on where you work, what FOSS you contribute to, what code you write, what language you use.

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

> You can do this, but only if you know exactly what that state means. In practice this is almost certainly too fragile to be useful. If you change anything you probably invalidate your understanding of this data and cause chaos.

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

That's a big pet peeve for me as well! Only thing remaining now is those pesky colons (edit: was semi-colons) that everyone and their mother seems to place in their new formats. Just get rid of them already!

Who wants to type `{name: "pveierland"}` when you could just do `{name "pveierland"}`?!

comment 3y ago · link · parent

That's like the least interesting feature from Dhall, and also probably one of the most common features of any new format. Not sure I could mention any even semi-popular format that cannot easily be converted to JSON.

comment 3y ago · link · parent

The basic equation:

- Small, nimble, fun, fast, low amount of cash, interesting work, ease to deploy

- Big, fat, tedious, slow, extensive supply of cash, maybe some interesting work at most, pain to get anything deployed

comment 3y ago · link · parent

> Sound like you need to learn to search

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

> I've never understood how real returns on house prices could be believed to be sustainable. If the value of a house appreciates in terms of purchasing power for some other good at a constant rate, at some point in the far future just a single house would become valuable enough to purchase the entire global supply of the other good.

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

Not sure what counts as a "business problem" for you, but personally I couldn't have gotten as far as I've come with game development without it, as I really struggle with the math and I don't know many people locally who develop games that I could get help from. GPT4 have been instrumental in helping me understand concepts I've tried to learn before but couldn't, and helps me implement algorithms I don't really understand the inner workings of, but I understand the value of the specific algorithm and how to use it.

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

> Getting rid of someone because of a fuck up is amateur leadership

So you're saying that all these people who were mistakenly hired by Google and were now let go, shouldn't have been let go?

comment 3y ago · link · parent

CEO fucked up, get rid of him/her. Why'd you hire so many people if you don't need it? Sounds like C-suite made the wrong call, in that case.

comment 3y ago · link · parent

One of the main features of military submarines is being undetectable by others, to various degrees. This include visual, audio and movement detection. Drones would probably make all of those three factors worse and make the submarine more detectable, than without a drone travel in front.

comment 3y ago · link · parent

If you think creating and using prompts are computer science then yeah, it has gotten weird :) Fortunately, I think that's a minority view.

comment 3y ago · link · parent

Why doesn't Wall Street want to give rid of Sundar Pichai then as it's obvious he's dropping the ball and have been for the last years

comment 3y ago · link · parent

> Remind me again how big-co CEOs assume "all the risk"?

Does anyone seriously believe this? I see it all the time as a "comeback" against CEOs, but I don't think I've ever seen anyone arguing that they actually are the ones that assume all the risk.

comment 3y ago · link · parent

I think it's very hard to objectively measure and give it a concrete number, but anyone who have kept a pet (dog, cat, parrot, pig or otherwise) can usually tell if their companion is happy or not, as they have bunch of signals they give us throughout their lives. With dogs, you can usually tell by the ears if they're curious or defensive, while the tail tells you if they're happy.
1
515253
307