« first day (1400 days earlier)      last day (2717 days later) » 

user6820627
02:34
function stupidPathfinder(map) {
// CONSTANTS
var width=map[1].length;
var height=map.length;
var left=-1;
var right=1;
var up=-width;
var down=width;
var nothing=0;
var start=1;
var end=2;
var wall=3;
var START, END;
var WALL = [];
// the number of start, end, wall.
for (i=0;i<map.length;i++) {
    for (j=0;j<map[i].length;j++) {
        if (map[i][j] === wall) {
            WALL.push(i*width+j);
        }
        if (map[i][j] === start) {
            START=i*width+j;
        }
        if (map[i][j] === end) {
user6820627
^ my code throws 1000000000 errors. fix it for me please.
user6820627
that :D an example of bad question.
user6820627
02:59
function stupidPathFinder(map){
// CONSTANTS
var width=map[1].length;
var height=map.length;
var left=-1;
var right=1;
var up=-width;
var down=width;
var nothing=0;
var start=1;
var end=2;
var wall=3;
var START, END;
var WALL = [];
// the number of start, end, wall.
for (i=0;i<map.length;i++) {
    for (j=0;j<map[i].length;j++) {
        if (map[i][j] === wall) {
            WALL.push(i*width+j);
        }
        if (map[i][j] === start) {
            START=i*width+j;
        }
        if (map[i][j] === end) {
user6820627
but i need to ask. so bad : waffles unicorns
05:38
!!hang b
@TheFlash b was already submitted
!!hang v
  +---+
  |   |
  |  \O/
  |   |
  |
__+__
a, b, e, f, s, v
b---e-e-
!!hang h
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, b, e, f, h, s, v
b---e-e-
05:42
!!hang k
@TheFlash You people suck. The word is burdened
:(
9 messages moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
5 hours later…
10:19
dataFromServices.children.push({
'name' : 'abc',
'xyz' : 'abc'
})
1 message moved from JavaScript
 
3 hours later…
user6754053
13:00
0
Q: ELF loader for Cortex-M processors

Mark Yisri Note: before you say it, this is not a duplicate of this. I want a specific library. I want an ELF loader that can relocate PIC (Position Independent Code) on Cortex-M processors. There is no MMU and relocations on Thumb/Thumb-2 code are required. Traditional ARM won't work.

user6754053
2
Q: Tiny filesystem written in C

Mark YisriI want a simple filesystem in pure C (no FUSE, or anything). It needs directories, and files that can grow. Specs of embedded system I want to use it on: 128KB of flash 64KB of RAM RTOS available for threading, queues, and fixed-size memory allocation No malloc available. Note: using a ...

user6754053
0
Q: Linux-like VFS for embedded system

Mark YisriLooking for a VFS (Virtual filesystem switch) that acts like Linux. Needs mountpoints, open(), close(), read(), and write(), and the ability to have directories. Specs of embedded system I want to use it on: 128KB of flash 64KB of RAM RTOS available for threading, queues, and fixed-size memo...

13:14
3 messages moved from C

« first day (1400 days earlier)      last day (2717 days later) »