37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions
comment 3y ago · link · parent
> Repeat what I've set as the requirements in other words to ensure you understand it. Describe concisely at least two different approaches you could take to solve the problem while explaining the reasoning for why it's a useful approach. Chose the best approach, then think through how the problem could be solved step-by-step. Finally implement each step and provide a full solution.
Yesterday I used that to build (iteratively) a Rust CLI that downloads the last X HN comments have group-counts them by domain. Ended up being ~100 lines that GPT wrote by itself without any errors along the way.
comment 3y ago · link · parent
I'm not arguing for making the test cases harder to read, it's very important to be able to see input/output/expected output as always, but it's also important that you're able to change the test code confidently, and duplication actively works against that.
I guess the "truth" or "optimal state" is somewhere in-between. Not 100% duplication but also not 0% abstractions.
comment 3y ago · link · parent
People play NMS for the seamless planet-to-planet experience and exploring things with you ship.
Starfield is played for it's story and RPG elements, same as every BGS game, not for aimless driving around in a ship from/to space.
I've played Starfield for maybe 20 hours so far, and I'm happy I don't have to manually take off and land, would have been too annoying.
Although it would have been fun to have the option, but it doesn't take away from the main features of the game for me.
comment 3y ago · link · parent
They spend time designing the architecture for whatever they are implementing but when it comes to writing tests, all of that stuff goes out the window and people just do whatever takes the least amount of time.
If you start treating tests as any other code, it should get easier to change as your implementation changes, and you'll get a lot more value out of automated testing.
comment 3y ago · link · parent
You could say it's a step to combine the idea of "massive worlds with 1000s of planets" together with story and heavy RPG elements, but that's different.
comment 3y ago · link · parent
It is the package the main repository exposes, for VSCodium or Visual Studio Code you need to use the AUR.
comment 3y ago · link · parent
What's new is old again :) People started doing React because they got tired of mixing languages for logic, structure and styles, why not do it all in JS? They got tired of that, so why not separate them? They got tired of manually doing bindings, so now that's hidden behind abstractions ("Hello 2000s templating magic"). I wonder what they'll get tired of next.
comment 3y ago · link · parent
comment 3y ago · link · parent
This is basically how many people already use the internet, read information on random blogposts, stack overflow and more, then take that it's true for granted. ChatGPT isn't really different than reading those things in the end.
What has to change is how people treat information that they read, no matter if it's from a blog post, ChatGPT or a friend. Verify everything, before you'd bet on that it's true.
I've used GPT4 to understand topics I've had no exposure to before, and it's true, a lot of the things GPT4 writes isn't accurate in the end, but lots of things are accurate too. That you can mold the information in a different way than static browsing, makes a lot of difference.
Overall, even with some false information, ChatGPT personally saves me a ton of times and I find myself only using Google for verifying information now, not for finding information.
comment 3y ago · link · parent
> play{Mix({|k|k=k+1/2;2/kMix({|i|i=i+1;Blip.ar(iXLine.kr(rand(2e2,4e2),87+LFNoise2.kr(2)k,15),2,1/(i/a=XLine.kr(0.3,1,9))/9)}!9)}!40)!2a}
> http://earslap.com/assets/thxdeepsound/soundtweet.mp3
Absolutely crazy how people can fit all these things into these short snippets of code. The demo scene impresses me equally in this.
comment 3y ago · link · parent
As someone who has done both, in similar settings, I'd still disagree with this. Datura was devilish like none other and probably one of the few psychedelics I'd never do again.
comment 3y ago · link · parent
No, even if you consider the surgeon. The article talks about that the robot is able to do maneuvers that a human hand cannot, drastically simplifying the surgery.
I'm well aware that the robot is controlled by a human, and I don't think anything in my comment indicates I wasn't.
comment 3y ago · link · parent
Why isn't the video shared if it proves they're innocent? Smells strange.
comment 3y ago · link · parent
I think you're making the opposite case here without even realizing it yourself. The Transformer was proposed in 2017, with the softmax-based attention being proposed in 2014 but it wasn't until 2023 when GPT-3 et al took the world by storm that people started really using the Transformer as it is today.
The timeline going from being proposed to being used in production models also took multiple steps, with things improving with each step. It's a iterative process, not "dump -> done".
> Simply believing a architecture is superior doesn't make it so
I agree. But also I agree the opposite, that just because you believe it's not superior, doesn't make it so. If you claim "RWKV performs poorly in practice", I expect you to have something to back that up, definitely more than "Just because you believe it's superior doesn't make it so"
comment 3y ago · link · parent
> Is chasing down new clients all the time and working on multiple projects really that desirable to people?
Chasing down new clients is probably a thing mostly affecting new freelancers without much experience. When I've done freelancing in the past, I've never had to look for any clients besides posting "I'm available to help out people on a freelance-basis" on various social media, and then I get more work available to me than I could realistically do.
I think most established freelancers "suffer" from the same. Once you're available for work, it fills up quickly.
comment 3y ago · link · parent
Maybe don't travel to Dubai (or similarly most-expensive-countries-in-the-world) then and establish accounts in a country that doesn't wildly out-rich you. Also, you don't have to stay longer than just a few days most likely.
Besides, many places to allow internationals to signup for accounts also allow you to do a video call with account manager rather than going there in person.
comment 3y ago · link · parent
controller = new AbortController();
const signal = controller.signal;
fetch("http://example.com", { signal: signal })
// abort request
controller.abort();
It basically couldn't be simpler? What sort of API would you like to be able to cancel requests?