- ComputerCraft | Programmable Computers for Minecraft
- → MKlegoman357's Content
MKlegoman357's Content
There have been 76 items by MKlegoman357 (Search limited from 10-February 22)
#251896 CraftOS 2.0 - Dan's Secret Project
Posted by
MKlegoman357
on 22 May 2016 - 04:27 PM
in
General
#257746 CraftOS 2.0 - Dan's Secret Project
Posted by
MKlegoman357
on 09 August 2016 - 04:19 PM
in
General
Lego Stax, on 04 August 2016 - 04:45 PM, said:
Basically, what I'm saying is that it would be nice for every GUI framework to be like XOrg in that they go as far as sharing the same commands for managing the screen or a window.
GUI frameworks could have other methods of displaying stuff outside of these commands as well, but every GUI would have to share this "common API/system".
thecrimulo, on 09 August 2016 - 12:11 PM, said:
The main standard for drawing pixels will already be there, no need to create one yourself. There actually doesn't need to be any standards for any programs by default, since there will still be something similar to the window API and everything will basically work like in CC. The only thing that programs will need to adapt to is the screen size and dynamic size changes (e.g.: window gets resized, a new CCNext-multishell tab is opened). This works with CC and windowed OSes already, if you make your program adapt to display resolution and listen for "term_resize" events. This way people won't need to search for any standard if they want to make their programs compatible with a windowed OS.
Where there should be a standard, is the actual window controls and properties: allow window to be resized/fixed size, change window's title, enable/disable close/maximize/minimize buttons, etc.. Also, for OSes with a desktop a drag'n'drop functionality would be fun (e.g.: dragging a file from your desktop to a messaging app).
#250976 Idea Exchange
Posted by
MKlegoman357
on 25 April 2016 - 07:56 PM
in
General
Anavrins, on 25 April 2016 - 04:56 PM, said:
It's the source code of the program that matters, so moderators could see what the actual program does. An encryption program shouldn't be marked as malicious just because it encrypts your files.
#254522 [Results in!] CCJam 2016
Posted by
MKlegoman357
on 22 June 2016 - 05:05 PM
in
General
#254577 [Results in!] CCJam 2016
Posted by
MKlegoman357
on 23 June 2016 - 07:53 AM
in
General
#254553 [Results in!] CCJam 2016
Posted by
MKlegoman357
on 22 June 2016 - 09:29 PM
in
General
#253825 [Results in!] CCJam 2016
Posted by
MKlegoman357
on 15 June 2016 - 02:25 PM
in
General
#256889 Post the status of your WIP project!
Posted by
MKlegoman357
on 25 July 2016 - 07:57 PM
in
General
Exerro, on 25 July 2016 - 03:51 PM, said:
EEVV, on 24 July 2016 - 06:20 PM, said:
Obfuscated code is pretty easy to un-obfuscate for anybody, there are tools that do it for you and Lua is fairly easy to parse anyway, and you're not actually allowed to post obfuscated code on the forums.
You're thinking about compiling to Lua bytecode, which isn't really a good way to obfuscate your Lua source, but EEVV might be making a better obfuscator, that doesn't just use string.dump().
A good way to obfuscate the code would probably be to compile said code into a very primitive language, or a very primitive Lua source code, similar to how, for example, C++ is compiled into a Linux program. One complex language is "converted" into a very primitive language and thus it becomes very hard to read.
#256893 Post the status of your WIP project!
Posted by
MKlegoman357
on 25 July 2016 - 08:55 PM
in
General
Exerro, on 25 July 2016 - 08:08 PM, said:
Like I said, you have to "convert" it into something primitive. For example, converting the Lua code into an assembly-like language and then either converting that into Lua or making a simple interpreter for it.
#249112 Windows 10 venting
Posted by
MKlegoman357
on 29 March 2016 - 07:18 PM
in
General
If there are ads in the start menu (I haven't noticed them) I doubt it's a core part of the OS. If it's a tile - it's an app, and if it's an app it's not really a part of the actual OS, is it?
Talking about start menu, I'm really used to the search feature, it works super fast and I can open any program I want in just second or two.
The main (maybe the only, for me) problems I have are two: automatic updates and tightened security. The first one bugs me because sometimes I am not connected to an infinite-data internet connection and I like to control when I actually download and install the updates. The second one is annoying when I'm modding games. Most (although not all) games' folders have their security tightened, so that you need to confirm every action you do, like deleting or moving files. It gets annoying with those messages ("You need to provide administrator permission to...") with a simple button to confirm that you're an administrator, which is kinda stupid...
I updated to Windows 10 (from Windows 7) mainly because of:
- the design looks better
- windows explorer has a better layout and more features
- the command prompt got some little changes
- the default windows apps for videos, music and photos (also calculator), they're awesome!
But of course there are issues with Windows 10, I'm not trying to deny it. When it comes to Windows I think you should be using Windows 7, and unless you have a good reason to update, don't really use Windows 10. There are a lot of hate about it (although a bit too much), and it's not just nothing. You should be aware of what your computer is running and what your needs are. I am satisfied with Windows 10.
#249555 Windows 10 venting
Posted by
MKlegoman357
on 06 April 2016 - 01:20 PM
in
General
everyOS, on 06 April 2016 - 11:58 AM, said:
Windows doesn't convert any files you download with your internet browser, it's the browser itself that creates the file and thus changes the extension. Neither MS Edge, nor IE does such a thing.
#256241 Windows 10 venting
Posted by
MKlegoman357
on 15 July 2016 - 09:44 PM
in
General
Dog, on 13 July 2016 - 09:03 PM, said:
MKlegoman357, on 08 April 2016 - 07:22 PM, said:
Bomb Bloke, on 08 April 2016 - 11:05 PM, said:
Dog, on 09 April 2016 - 06:03 PM, said:
Disabling automatic updates worked fine for me. When there are updates Windows will pop a notification and wait for you to actually approve you want to download those updates. Though you cannot select which updates to install.
#249701 Windows 10 venting
Posted by
MKlegoman357
on 08 April 2016 - 07:22 PM
in
General
#249773 Windows 10 venting
Posted by
MKlegoman357
on 09 April 2016 - 05:57 PM
in
General
#258591 BLAST AntiMalware Suite - 'Yet another' string.find antivirus
Posted by
MKlegoman357
on 28 August 2016 - 08:48 PM
in
Programs
#246198 Can't wrap head around prototyping and metatables, how to implement this...
Posted by
MKlegoman357
on 20 February 2016 - 09:45 PM
in
Ask a Pro
Both, tables and metatables, should actually be easy to understand, since they are quite basic (but powerful) things. A table is simply a container, where you can store any value under any key. Because of the lack of OOP, tables and functions can actually work together using the "colon" syntax:
local object = { --# define a simple object
bar = "Hello World!";
}
function object:foo () --# create a function inside that object
print(self.bar)
end
object:foo() --# prints 'Hello World!'
You can extend tables using metatables. Metatables define what a table should do in certain situations. For example if, when assigning a new value to a table:
local object = {}
object.foo = 1
..you'd want to modify that value before actually assigning it, you could use the '__newindex' metamethod:
local object = setmetatable({}, { --# create a table and change it's metatable
__newindex = function (t, k, v) --# define the metamethod'
rawset(t, k, v + 1) --# modify the value
end;
})
object.foo = 1
print(object.foo) --# prints '2'
#246304 Can't wrap head around prototyping and metatables, how to implement this...
Posted by
MKlegoman357
on 21 February 2016 - 08:12 PM
in
Ask a Pro
local object = {
bar = "test";
}
function object:foo (param)
print(self.bar .. " " .. param)
end
It is equivalent to this:
local object = {
bar = "test";
}
object.foo = function (self, param)
print(self.bar .. " " .. param)
end
The color operator automagically adds the 'self' parameter as the first argument to the function. And no, the 'self' identifier is not a reserved keyword.
#246325 Can't wrap head around prototyping and metatables, how to implement this...
Posted by
MKlegoman357
on 21 February 2016 - 10:40 PM
in
Ask a Pro
#250920 Codeable MP server apis Suggestion
Posted by
MKlegoman357
on 25 April 2016 - 02:51 PM
in
Suggestions
#254177 CCEmuRedux Character Sheet
Posted by
MKlegoman357
on 18 June 2016 - 08:24 PM
in
General
#253311 Speadersheet program - updated!
Posted by
MKlegoman357
on 08 June 2016 - 12:01 PM
in
Programs
#254011 CCEmuRedux Character Sheet
Posted by
MKlegoman357
on 17 June 2016 - 03:55 PM
in
General
#254143 CCEmuRedux Character Sheet
Posted by
MKlegoman357
on 18 June 2016 - 12:09 PM
in
General
EDIT: 21 and 167.
#254189 CCEmuRedux Character Sheet
Posted by
MKlegoman357
on 18 June 2016 - 10:06 PM
in
General
BTW, I noticed that the characters 238 and 206 look like nice torches.
#247723 Keep it day - A groundhog program
Posted by
MKlegoman357
on 10 March 2016 - 07:57 AM
in
Programs
- ComputerCraft | Programmable Computers for Minecraft
- → MKlegoman357's Content


