Jump to content


Alice's Content

There have been 127 items by Alice (Search limited from 29-March 23)


By content type

See this member's


Sort by                Order  

#224674 GNU nano syntax files and improvements

Posted by Alice on 06 July 2015 - 03:50 AM in General

Just to note I now have them put in here and here. If you're on zsh, run the update-nano comand in the dotfiles' bin folder and it'll automatically give you a nanorc file. :D



#224636 GNU nano syntax files and improvements

Posted by Alice on 05 July 2015 - 06:27 PM in General

View PostMindenCucc, on 05 July 2015 - 12:49 PM, said:

You can use custom syntax highlighting in nano? I never knew that :P I'll have to try this out :D

I didn't until rather recently. Still trying to work it out but it's based on whether you can match a RegExp string. It's a gift that it's that simple but it also makes things difficult, such as HTML syntax coloring.



#224516 CCEmuRedux - ComputerCraft Emulator Redux

Posted by Alice on 04 July 2015 - 08:33 PM in General

The emulator should be built so that it perfectly emulates ComputerCraft. Why should they use that instead of the builtin utilities?

EDIT - Does CCEmuRedux add in functions to the Lua side that aren't in standard CraftOS? O.o



#224383 GNU nano syntax files and improvements

Posted by Alice on 03 July 2015 - 10:09 PM in General

So I've been doing a bit of work with GNU nano (commonly just 'nano') and I've actually gotten to writing some syntax highlighting scripts. I'm interested in seeing what everyone else has been able to do with this.
Lua
HTML



#224296 Post your desktop!

Posted by Alice on 03 July 2015 - 04:37 AM in General

View PostSandstorm, on 03 July 2015 - 02:22 AM, said:

View PostAlice, on 02 July 2015 - 10:08 PM, said:

View PostSandstorm, on 02 July 2015 - 11:15 AM, said:

View PostAlice, on 22 June 2015 - 01:55 AM, said:

Background
I run AwesomeWM on Arch Linux. Nothing to brag about really. Miss using a better DE, but Lua configuration \o/
Update

Is that an Arch derrivative? sorry, not a huge Linux user but wanting to get into it. :D/>

View PostDannySMc, on 02 July 2015 - 11:12 AM, said:

View Postrexthecapt, on 02 July 2015 - 01:00 AM, said:

Posted Image

A nice desktop is good to have. im very organised

That's nice! What are you using to hold the folders?

I'm obviously not the one who posted it, however I am most certain it is fences? :P/> :D/>

AwesomeWM is a window manager run in Arch Linux. You have multiple levels of display in Arch. Most of them are exchangable, if not all, for different ones
  • X server (X11 / Xorg)
  • Display Manager (LXDM, GDM)
  • Window Manager (Awesome, Gnome, Unity, Cinnamon)
  • Desktop Environment (Gnome, Unity, Cinnamon with additional packages/programs)
AwesomeWM itself is not a desktop environment. It is literally almost nothing until you configure it and install applications. You don't even have a terminal. PLEASE note this if you want to try it out.

Also, feel free to talk to me any time if you want to get started using Linux. :3

Thank you, I'm a little familiar with Linux thanks to Ubuntu and Raspbian :D, thanks a bunch you really cleared up a lot! :D

Not a bad place to start in my opinion. My first OS was Ubuntu 12. Then Debian 7. Then Mint 16. Then Arch. It takes a while to get to the lower levels of the OS.



#224295 Help with Commands (Non-CC)

Posted by Alice on 03 July 2015 - 04:36 AM in General

You should at least specify that this is Minecraft. "Non-CC" made me think command line Lua commands. You can also try here.



#224251 Post your desktop!

Posted by Alice on 02 July 2015 - 10:08 PM in General

View PostSandstorm, on 02 July 2015 - 11:15 AM, said:

View PostAlice, on 22 June 2015 - 01:55 AM, said:

Background
I run AwesomeWM on Arch Linux. Nothing to brag about really. Miss using a better DE, but Lua configuration \o/
Update

Is that an Arch derrivative? sorry, not a huge Linux user but wanting to get into it. :D

View PostDannySMc, on 02 July 2015 - 11:12 AM, said:

View Postrexthecapt, on 02 July 2015 - 01:00 AM, said:

Posted Image

A nice desktop is good to have. im very organised

That's nice! What are you using to hold the folders?

I'm obviously not the one who posted it, however I am most certain it is fences? :P :D

AwesomeWM is a window manager run in Arch Linux. You have multiple levels of display in Arch. Most of them are exchangable, if not all, for different ones
  • X server (X11 / Xorg)
  • Display Manager (LXDM, GDM)
  • Window Manager (Awesome, Gnome, Unity, Cinnamon)
  • Desktop Environment (Gnome, Unity, Cinnamon with additional packages/programs)
AwesomeWM itself is not a desktop environment. It is literally almost nothing until you configure it and install applications. You don't even have a terminal. PLEASE note this if you want to try it out.

Also, feel free to talk to me any time if you want to get started using Linux. :3



#224249 E3 Conferences - 2015

Posted by Alice on 02 July 2015 - 09:57 PM in General

 Sandstorm, on 02 July 2015 - 02:44 PM, said:

I would love it as a general interface regardless, I would love to have Netflix on my roof while I'm laying in bed with Facebook open on the wall to the left of me. :D

Finally, someone gets it. My parents think I'm crazy.

I also want a shell terminal up on my shelf. Preferably with the ability to hook up a Bluetooth keyboard to the VR helmet but I can use a holographic if needed, I guess. Nothing like being spammed with emails and being able to go fix the problem without even getting out of bed.



#224126 E3 Conferences - 2015

Posted by Alice on 02 July 2015 - 03:57 AM in General

 slow-coder, on 29 June 2015 - 05:50 PM, said:

the ms hololens isn't for gaming...i mean, you could if you wanted to, but mainly for architects, designers, ect.


but if you want, it is a neat toy to play around with

If you read the post you would see that I mentioned at least once that it should be able to run Windows 10 (probably Metro or whatever that is) applications.



#224125 CCEmuRedux - ComputerCraft Emulator Redux

Posted by Alice on 02 July 2015 - 03:53 AM in General

View Postcyanisaac, on 01 July 2015 - 12:46 AM, said:

If you could please upgrade the ComputerCraft version that this is running to 1.74 that would be greatly appreciated. Thank you very much.

Please read the whole post.

View Posttomass1996, on 22 May 2015 - 05:46 PM, said:

View PostMikk809h, on 22 May 2015 - 05:26 PM, said:

Btw, tomass. is there going to be any ports to the new CC version(pre release)?
or atleast the ability to choose the computercraft.jar file?

(i know it's been asked alot, but i guess many wants a "detailed" answer, or what its known as)

I've been meaning to take a look at it, unfortunately I've been MIA for a while due to University and the like.
Updating ComputerCraft should and most likely will be a easy task.
I'm not really in the loop about everything at the moment, but is 1.74pr20 reasonably stable?
The issues with the colours in the screenshots above is just that the numbers ranging [0-16] representing colour internally have been flipped, for whatever reason, but that's trivial to fix.
I can't make any promises about the choosing ComputerCraft version or jar. But I'll try to have a look at it sometime soon.

View PostItsRodrick, on 22 May 2015 - 05:32 PM, said:

Oh, now it's working fine :D

Oh, and I made to myself this small Batch that allows me to use any versions:
cd "%appdata%\.ccemuredux"
javaw.exe -Xmx512M -cp %appdata%\.ccemuredux\bin\jackson-core.jar;%appdata%\.ccemuredux\bin\jackson-annotations.jar;%appdata%\.ccemuredux\bin\jackson-databind.jar;%appdata%\.ccemuredux\bin\guava.jar;[b]%appdata%\.ccemuredux\bin\computercraft.jar[/b];%appdata%\.ccemuredux\bin\gdx.jar;%appdata%\.ccemuredux\bin\gdx-backend-lwjgl.jar;%appdata%\.ccemuredux\bin\gdx-platform.jar;%appdata%\.ccemuredux\bin\lwjgl.jar;%appdata%\.ccemuredux\bin\lwjgl-platform.jar;%appdata%\.ccemuredux\bin\ccemuredux.jar com.xtansia.ccemu.desktop.DesktopLauncher

Find the %appdata%\.ccemuredux\bin\computercraft.jar, place a (different named) computercraft.jar there and rename it in the Batch.



#223799 E3 Conferences - 2015

Posted by Alice on 29 June 2015 - 03:54 PM in General

 DannySMc, on 24 June 2015 - 07:52 PM, said:

 gametechish, on 24 June 2015 - 07:47 PM, said:

 Bomb Bloke, on 22 June 2015 - 09:42 AM, said:

Haven't watched anything E3-specific, and I'm not sure I care much about Hololens + MineCraft, but I must admit Hololens in general is a very enticing bit of tech. It's basically a better-funded version of the VR gear people cobbled together out of Wiimotes and Kinects, which itself was an attempt to bring to life the idea of VR that people've been dreaming of, since, I dunno, probably well before my time.

Just ten years ago, we didn't have the processor power to make it practical. These days, I can hook up a 3D camera to my computer and scan in real-time. In another ten years, VR headsets for every day use will likely be pretty mainstream. Maybe in twenty, ocular implants will start to emerge.

We're all incredibly privileged.

Wait till the DIY guys get there hands on a HoloLens
I know Im going to be trying to install Debian on it(and make it functional)

OMG We can make a CC Emulator for HoloLens!!!!!!!!!!!

Omg this is the best idea ever!! Computercraft emulator on a holo lens xD but with better screen ratios run it in C xD

In theory this could easily work. Microsoft is attempting to move Windows to use an API that is spread out throughout all platforms. Creating applications is now easier than ever, especially with the new XAML framework and C# implementations of code for the Windows 8.1 operating system. If we can implement things like this in Windows 10, and perhaps create a Metro app (because that's what the C# code is) to run a ComputerCraft machine emulator, this could easily be possible. Development can be done on a computer and tested on a computer, and in theory only minor graphical porting should be required to run it on Holo Lens, and even Windows Phone devices.

tl;dr: make it run on a Windows 10 computer and it'll be runnable on Holo Lens



#223046 E3 Conferences - 2015

Posted by Alice on 24 June 2015 - 07:20 PM in General

 Dog, on 24 June 2015 - 06:57 PM, said:

Oooh - I didn't even see Dishonored 2 - exciting! I, too, forgot to mention at least one other I'm excited for - Mirror's Edge: Catalyst.
New Mirror's Edge game? ++. Didn't really look into much of what EA had.



#223042 E3 Conferences - 2015

Posted by Alice on 24 June 2015 - 06:52 PM in General

Oh, I also forgot to mention, I'm really excited for Dishonored 2 :D



#223039 Standalone CC OSes.

Posted by Alice on 24 June 2015 - 06:42 PM in General

but... why not just make a program to run ComputerCraft in a terminal, then allow for an optional Raspberry Pi interface?



#222970 Standalone CC OSes.

Posted by Alice on 24 June 2015 - 01:17 AM in General

 Dr. Poof, on 24 June 2015 - 01:01 AM, said:

 oeed, on 24 June 2015 - 12:40 AM, said:

 Alice, on 24 June 2015 - 12:16 AM, said:

Oh really now? Then why don't you go ahead and draft something up.
I'll get to work on setting up a VM for testing and writing code. You have one week, if it's not too hard.

Chill.

Time will tell of course, but there's no use it making an emulator of ComputerCraft in any form if it doesn't accurately simulate ComputerCraft. So having full pixels is basically a must if it does get added, which seems increasingly likely.

I'm planning to implement this in a freestanding, non-linux operating system. It'll be hard, sure, but once I get drivers for things (I plan to make this for the raspi, so the hardware is pretty standard), implementing Lua and the CC libraries (including pixel rendering) will be MUCH easier.
Who said it had to be OS specific?
The PKGBUILD is simply a script to build it from source.
This is going to be a POSIX / ncurses compatible port that I am writing for Lua ComputerCraft.



#222962 Standalone CC OSes.

Posted by Alice on 24 June 2015 - 12:24 AM in General

 Dr. Poof, on 24 June 2015 - 12:21 AM, said:

 Alice, on 24 June 2015 - 12:16 AM, said:

 Dr. Poof, on 24 June 2015 - 12:14 AM, said:

 Alice, on 23 June 2015 - 11:55 PM, said:

 oeed, on 23 June 2015 - 11:49 PM, said:

 Alice, on 23 June 2015 - 11:42 PM, said:

"allows to draw pixels" is kinda stretching a bit too far.

Given that ComputerCraft will be getting that feature, I don't see why not..

And what would we use to draw pixels on a screen?
If we're doing this in a terminal application, terminals don't support drawing of custom characters.
We would have to almost make an X server type thing for it.
Meh.
Not _too_ hard.
Oh really now? Then why don't you go ahead and draft something up.
I'll get to work on setting up a VM for testing and writing code. You have one week, if it's not too hard.

The code itself is not complicated. The problem, really, is allocating time for it. I'll have about a month of free time from July the 6th to the 31st (I think). So I'll start then.

 Alice, on 24 June 2015 - 12:20 AM, said:

 Dr. Poof, on 24 June 2015 - 12:19 AM, said:

 ardera, on 23 June 2015 - 09:38 PM, said:

In my opinion, we should just build an application that emulates ComputerCraft but implements some lower level stuff like TCP connections, allows to draw pixels, etc,
and modify raspbian/archlinux/ubuntu (whatever you want) to boot in this application. It's way to complicated to make a new linux distro.

It's just a matter of writing a couple Makefiles.
PKGBUILDs too.
Arch, m8.
m8 good luck getting pkgbuilds in LFS

I meant to quote this: "It's way to complicated to make a new linux distro."

Plus, m8, makefiles are way better.

EDIT: Give me a name for this project and I'll go ahead and make a GH repo
I think not. I'd rather do it my own way. Honestly? Linux from Scratch? No.
I'm gonna set up a new GitHub repo once I got the VM set up, then I'll post my repo. You can do whatever you feel like.

This was to make "Standalone CC OSes." Not OSes programmed off of ComputerCraft code.



#222960 Standalone CC OSes.

Posted by Alice on 24 June 2015 - 12:20 AM in General

 Dr. Poof, on 24 June 2015 - 12:19 AM, said:

 ardera, on 23 June 2015 - 09:38 PM, said:

In my opinion, we should just build an application that emulates ComputerCraft but implements some lower level stuff like TCP connections, allows to draw pixels, etc,
and modify raspbian/archlinux/ubuntu (whatever you want) to boot in this application. It's way to complicated to make a new linux distro.

It's just a matter of writing a couple Makefiles.
PKGBUILDs too.
Arch, m8.



#222958 Standalone CC OSes.

Posted by Alice on 24 June 2015 - 12:16 AM in General

 Dr. Poof, on 24 June 2015 - 12:14 AM, said:

 Alice, on 23 June 2015 - 11:55 PM, said:

 oeed, on 23 June 2015 - 11:49 PM, said:

 Alice, on 23 June 2015 - 11:42 PM, said:

"allows to draw pixels" is kinda stretching a bit too far.

Given that ComputerCraft will be getting that feature, I don't see why not..

And what would we use to draw pixels on a screen?
If we're doing this in a terminal application, terminals don't support drawing of custom characters.
We would have to almost make an X server type thing for it.
Meh.
Not _too_ hard.
Oh really now? Then why don't you go ahead and draft something up.
I'll get to work on setting up a VM for testing and writing code. You have one week, if it's not too hard.



#222951 Standalone CC OSes.

Posted by Alice on 23 June 2015 - 11:55 PM in General

View Postoeed, on 23 June 2015 - 11:49 PM, said:

View PostAlice, on 23 June 2015 - 11:42 PM, said:

"allows to draw pixels" is kinda stretching a bit too far.

Given that ComputerCraft will be getting that feature, I don't see why not..

And what would we use to draw pixels on a screen?
If we're doing this in a terminal application, terminals don't support drawing of custom characters.
We would have to almost make an X server type thing for it.



#222945 Standalone CC OSes.

Posted by Alice on 23 June 2015 - 11:42 PM in General

"allows to draw pixels" is kinda stretching a bit too far.
Also, we can make packages for the distro. Arch has the AUR, so we can make a PKGBUILD from that.
Which also means we would need a Git repo to use. Would I set this up later or would you like to get started on this?

Oh, another note, I planned on implementing the API in a library called 'cqueues', it works great with file-descriptor based events and I've actually been thinking about making a CC wrapper for quite a while now! ^_^
This also means: SOCKETS AND MULTITHREADING WHOOO



#222927 Standalone CC OSes.

Posted by Alice on 23 June 2015 - 08:34 PM in General

So, off of the topic of networking, what I believe would also be a neat idea, is that if we could implement this all via pollable file descriptors. Most actual desktop environments redraw to the screen tens of times per second, and that's gonna really be a CPU waster IMO. With pollable file descriptors on a system and a neat backend library, we can have this set up much more efficiently. (also, a DE would totally ruin the CC feel?!?)



#222926 What Do You Look For in a Programming Language?

Posted by Alice on 23 June 2015 - 08:32 PM in General

View PostAnfred, on 21 June 2015 - 03:27 AM, said:

Um...why are there not hundreds of replies? I would make a robot lang for microcontrollers and call it "Lubot". I am new to CC. I found out about it, when I was searching for ways to make tetris on an Arduino. I come from a robot building, electronics background. I also have great interest in how people learn to code.
I think lua and CC may be the best possible place to start... Well, unless you create a better way! My dream is to have a language like lua, with the processing lang incorporated. Processing is the lang used in arduino microcontrollers, and is the standard for beginner robot building.
It would mean arduinos could be programmed in lua, if a custom firmware was written.
Currently, there are micro versions of java and python, but those langs are terrible for limited ram -- there is only 16kb of ram in some boards!
Lua is only available for the "nodemcu" wifi boards and the esp8266 chip. The new digistump "Oak" ($10) is a great wifi dev board with open firmware that needs lua support. This would finally bridge the gap between CC and Arduino as learning solutions, creating the best possible way to learn computer programming for software, the internet of things, and robots.
It would corner the market for the future of code education!

You are halfway right. Lua would be great for this. However, to interface to the actual device, wouldn't it be better to use something like C?
Also, I understand that people want ComputerCraft in real life more than anything, but let's try to stick to at least getting it running like this, before we go to microcontrollers.



#222924 [Over] CCJam 2015

Posted by Alice on 23 June 2015 - 08:15 PM in General

Figure I'll try again next year, but it looks like I'll be up against some minor competition next year.
Shame I missed this year's.



#222918 Standalone CC OSes.

Posted by Alice on 23 June 2015 - 07:47 PM in General

View Postardera, on 23 June 2015 - 02:58 PM, said:

View PostAlice, on 23 June 2015 - 09:50 AM, said:

Lua by default uses integers (LuaJ doesn't. Uses floats. What a shame). An integer is a 4-byte sequence of bits, which also happens to be the same size as an IPv6 address. This means that in raw Lua, we could have computer networks using IPv4/v6 local addresses that go up to the maximum size of an integer. This could actually work.
IPv6 adresses are bigger than 4 bytes. IPv4 adresses are exactly 4 bytes: the maximal adress is: 255.255.255.255 (notice 255 is the max value of one byte)
But that doesn't matter as you can also use IPv4/6 adresses without 4/8byte sized integers.
Also LuaJ uses 8byte sized doubles, using a 52bit mantissa -> even more storage possible than with Lua's integers (32bits). With a smart system, you can get the full 64bits of information out of a double.

I suppose that's true, Google has this glorious technique of thinking me typing "IPv6" meant "IPv4." Anyways, we'd have to modify Lua to use doubles instead of integers. Probably not too hard?



#222917 Post the status of your WIP project!

Posted by Alice on 23 June 2015 - 07:43 PM in General

View PostDr. Poof, on 23 June 2015 - 04:06 PM, said:

View PostAlice, on 23 June 2015 - 05:17 AM, said:

View PostDr. Poof, on 23 June 2015 - 12:19 AM, said:

View PostAlice, on 22 June 2015 - 02:19 AM, said:

Which project? I've quite a few.
[namedspoler=Personal]
My dotfiles (alt "real" name) are always under development.
Drunken Adventure is really barely done.
lidentd is getting there, I guess?
Boomstick is technically releasable but isn't (and probably won't be, for a while) complete.
[/namedspoiler]
hashbang

what even is a hashbang?

#!
O really?
That explaIns nothing

Then you would have no interest in them. :D