I use it as a scripting language for my game engine, but also for all the tooling around it. Premake for generating the VS solution/makefiles, but also my own tools using IUPLua [1] and a few other modules (lfs, sqlite etc). Pretty much my whole ecosystem is C++/Lua.
HN user
TheCams
I'm working on a 1920 pixels wide screen with a font of size 10. With the toolboxes on the side of my IDE, I can have around 170 characters on a single line without having to scroll horizontally.
As long as I dont have to scroll I'm happy.
Thanks :)
Sorry if that's a stupid question, but does that mean he was running his script as root?
Ahah, yes of course :) But this also applies to smartphones, and it seems like the trend nowadays is only to make them thinner.
I agree. And I'd rather have a laptop a few millimeters thicker and have a bigger battery inside.
If you're referring to a bounding box, it's called AABB (axis aligned bounding box). So I guess AA rectangle would be ok.
I think there's a difference between the files layout on a disc/install folder and a repository. The layout on the disk can be optimized for loading (even duplicating the assets sometimes). OP is asking for a repository hierarchy I think, since he's talking about sources files too.
Since nowadays we all have autocompletion and good refactoring tools (to rename a variable), I usually give a pretty explicit name, even if it's sometimes more than 40 characters long. At least there's no ambiguity on the variable meaning, even if it makes the code a bit hard to read sometimes.
Why not use the 2.5 jack connector?
I think the purpose of this kind of exercise is not to have the developer implement the whole class, but rather see how far he can go, how he can prioritize the subtasks and how he deals with pressure. Of course the result also gives an idea of its programming skills. Not that I agree with the method though.
I'm in the office so I wont download the beta now, but I think you should add more info on the website about the project (features, platforms supported etc)
What do you mean by "understand C++"? Does it offer features similar to Intellisense/Visual Assist?
Is the ratio price/hours of gameplay really relevant here? A long and boring game for cheap is not more interesting than a short but amazing experience for a higher price.
I'm not using Vim or Emacs but still doing intensive use of ctrl and shift in Visual Studio so I might give it a try :) Thanks for your replies
Is anyone using a pedal in addition of a keyboard on a daily basis? Do you really think this could be a significant help when typing code?
I would only put courses that lead to a degree on my resume under the Education section. If you have extra knowledge that you want to mention, a Qualification section would be the best place to add a line about it in my opinion.
Interesting, I had no idea how these devices worked :)
Never used it, except for the easter egg with Chuck Norris etc. Actually I was about to try and noticed that I can't click the button, as Google starts the search as soon as I start typing in ...
Definitely a fake, but the idea is good though.
I can't find the info on the website, is it possible to code in C++? All I see is the LUA scripting. The engine look really artist oriented, but I think the first people you want to attract for a commercial product are the programmers.
A recruiter contacted me on LinkedIn with a job offer. The interview went well and I got the position, so I quit my previous job and moved to the UK.
One of the thing that annoyed me is that the language forces you to put your opening braces on the same line as your condition/loop. I like to have them on the same vertical line, I find it easier to see the blocks.
I think what could be considered an early optimization (but not premature) is the architecture design of your software.
I dont know how you did your application, but in this example, you could have made the design choice of a heavily multithreaded application to fetch and process multiple pages at the same time.
It could be an early optimization that saves you a lot of refactoring later.
I think you meant "Stand by me" instead of Lean on me :) Great movie btw, I have the same childhood nostalgia when I watch it.
Really interesting, thanks for sharing.
Might sound like a stupid answer, but probably using the most widespread model as a development platform is the best way to start with. Then you'll have to test your app on different models anyway.
Totally agree with that. In my previous company we were always working with dumps for asserts/crashes and when I started working in my current company I was confused that they mainly use logs. Now I can't go back to debugging without logs. Using dumps is like looking at the consequences, looking at logs is looking at the causes.
Anyone used one of these as a scripting system for a game engine? I'm still wondering if I should use duktape/MuJS or simply LUA.
I don't want to divert the thread, but reading this surprised me:
"If using new ever fails to return an object, you're out of memory or some other critical corruption and your program isn't long for this world, wether you catch the null-pointer or not."
Is that the usual reaction to "out of memory" issues? I think that video games, having to deal with console memory constraints, should handle this. You can sometimes delay an allocation from a few frames if you know that you'll free some memory from another place soon.
I wonder what a graphology expert would think about this. I imagine that it would be confusing.