« first day (2356 days earlier)      last day (2599 days later) » 

12:07 AM
"I was [debugging] my code with 'document.write' in various parts..."
Interesting technique.
 
maybe they're on a locked down machine that has the developer console disabled the ability to install programs removed
 
hey
how can you make node run on all drives and dirs locally
 
my development environment has no internet access
 
works fine on c but on another drive script is broken
 
define 'broken'
 
12:08 AM
cannot find module it says
 
Do go on.
 
The first thing I thought of was when I first discovered JavaScript at 13 and would write out huge blocks of code on my DSi, the only browser I had available.
 
@zeddex, you probably have an absolute path defined somewhere
 
C:\Users\username>node "F:\Coding\NodeJS\Read Image Text (Tesseract.js)\Read Image
Text.js"
module.js:472
throw err;
^

Error: Cannot find module 'tesseract.js'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (F:\Coding\NodeJS\Read Image Text (Tesseract.js)\Read
Image Text.js:1:79)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
 
My first messages were with document.write and eventually when I knew slightly what I was doing, everything was debugged with alerts because there was no console.
 
12:09 AM
If on c drive it works fine
 
*Nintendo DSi in case that wasn't clear.
 
surely i dont have to install to f drive?
node js i mean
script is just this:
var Tesseract = require('tesseract.js');
var path = require('path');

var image = path.join(__dirname, 'cosmic.png')

Tesseract.recognize(image).then(data => {
	console.log(data.text)
})
.catch(err => {
	//console.log('Errors: ', err);
})
.finally(e => {
	//console.log('Script Finished');
	process.exit();
});
 
No, but you should normally run your code from the same drive.
where is the node_modules that have tesseract.js installed?
 
C:\Users\username\node_modules
cosmic.png is same location as script
 
But the script is on F:. it can't find node_modules.
 
12:12 AM
shouldn't it be global to the pc though?
 
you don't need to install node on f:, but you probably need to npm install tesserct.js over there
 
like a .txt opens notepad everywhere
 
most certainly not
 
wont work for this path either: C:\Users\James>node "C:\xampp\htdocs\New folder\Read Image Text
but works for C:\
C:\Users\username also
odd
why wouldn't xampp dir work?
 
the answer to that requires a thorough explanation of node modules and how to bundle them for the browser
you can start by looking up webpack
 
12:17 AM
I can't tell without knowing what you moved (1 file, lots of files, 1 directory) and the contents of there you moved it.
whoa, he's making a node app, no webpack needed.
 
in xampp?
 
you just gave a toddler a loaded gun
what' a xampp?
 
like lamp
with perl
 
Xml And Mom's sPaghetti Power
 
i wanted to exec it
 
12:18 AM
it wasn't there before, i think that's just a random location he tried to move it
 
and then process results with php
 
Yeah, we're not gonna help you do that
 
yeah ive been making a little node app as a side project
no transpilation for es6 features
 
I have no idea what's wrong here. The only thing not working on this new version of electron for my app is that I can't seem to get the canvas to work in 3d. The library I'm using even says "enabled webgl context"
 
12:19 AM
its pretty cool
 
is that a picture of you
 
he wishes
 
if only I could be that spaghetiful
 
so basically there is no json or node config with paths etc i can modify?
 
anywho, server-side js script. he just needs to learn node modules and paths.
 
12:21 AM
that is much easier
 
@zeddex We're seriously not gonna help if you're gonna try to run node from php... Seriously... That's just so bad.
 
i can have it in c it's no problem
just i would prefer it somewhere else
and i should be able to exec that from c with php even if i cant use the xampp folder
just i would rather place it where i want
 
node_modules/tesseract.js is where in relation to "Read Image Text.js" ?
 
I'ma bout to make a buttload of jerky
 
> I would rather do things my own way, regardless of what anyone says, like running a fake executable of node from php
 
12:22 AM
Is that what a banana looks like on the inside?
 
Yes
 
if only lol, then eating a steak would be so much easier
 
doesn't the node app find all installed modules in its default location
 
just peel the skin and consume
 
the 'fake executable' is bullshit, but scripting tesseract from node and running that from 'some other language' is all ok-ish.
it finds it if it's in the same folder.
please answer
 
12:24 AM
you try to make out i am a moron because node has some retarded system locally.
 
@zeddex oi
he's helping you, don't be a dick
 
and i exec c++ commandlines locally with php all the time
ok sorry
 
this is all written down in the docs, if you chose to read them
 
But they are written in a dead language.
 
12:25 AM
english.
 
node scripts shouldn't be thought of differently though, if it completes a task exec and process for your tool works fine no matter, don't hate on php coders that like js also
 
I wish php would die
 
lol
im guessing node will surpass it
 
you can answer my question or continue to tell me how you think it should work
 
well a different drive if f, however the node app should detect script is ran from f locally and load module regardless
same drive if c
 
12:28 AM
so... option 2.
 
default install path
well i guess i will yeah if nothing else works
 
@Luggage lol
 
i was hoping for some json config or something i could edit to make it function correctly
 
Some mother fucker's always trying to ice-skate uphill...
3
 
PHP: Ice-skating uphill both ways to the circus
 
12:29 AM
well maybe when node gets to phps standards that simple type of thing will work ok
...
only joking
 
php doesn't have json configs
 
I certainly hope Node never regresses far enough back to be considered on par with PHP's standards
 
node actually does, you're choosing not to use them
 
it has ini
both have loads of cool stuff coded for them
you have never used wordpress?
 
wordpress is still bound to an ancient version of the mysql bindings
 
12:31 AM
then again it will probably get ported to node js lol
 
it won't even work with PDO, much less anything recent
 
well the fact most website use it say php is not capable of working well enough
 
No it doesn't
 
node has ghost and a bunch of static site generators
 
is ghost the wp alternative?
 
12:33 AM
PHP is a very capable language that we all despise.
 
most websites don't use php, jobs growth is falling
it's a dying language by the numbers alone
 
Even if they did it's a false equivalency
 
ok, well i see everyone here is php fans also
 
wordpress is the most abused piece of software I've ever worked with. Take a CMS built for blogs, pile on about 2 dozen plugins, and now you have a fully capable e-commerce site
 
PHP has a place in the history of web development like how horses were used for agriculture. Do some people still use horses for agriculture today? Sure. Would you use horses if you were starting a farm today? No
 
12:34 AM
unless it's a horse farm.
 
anyway changing topic...
 
plenty of people still have horses
 
what hosting services offer node support that works well
 
no idea why, they're gross and smelly
 
recommend any web hosting companys
 
12:34 AM
glue factory lol
 
@zeddex any vps provider. I like OVH, you can get a small machine for $3.50/month
 
you aren't ready for housting.
or hosting.
 
ive heard of heroku and digital ocean...never used it myself though
 
actually, this will probably get hacked, so you should use a different cloud
 
? why because node wont run on my f drive
 
12:35 AM
but definitely not housting
 
digital ocean is great for that, they ignore most abuse
 
!!urban housting
 
@derp No definition found for housting
 
whew
 
@Luggage that's when you put your servers in Houston, see
reminds me of a wonderful conversation I had with a mobile "developer" from SF one time
told him we couldn't put a mac mini in the DC, he offered to fly with it to DC and plug it in, and since when did we have an office there?
 
12:37 AM
wat?
 
with a vps can i just install it like on a regular pc
 
the poor guy didn't know what a datacenter
the word showed up in the email a few places, too
spelled out and abbreviated
 
hahahha i though DC meant washington
 
who doesnt
 
oh right
 
12:38 AM
No, i mean Wat? You discriminate against mac mini owners?
 
i dumb
 
@derp "the dc"?
 
j/k :)
 
the racks certainly do
and have fun letting the mobile devs maintain it
 
@ssube yep...i dumb
 
12:39 AM
one thing i wanted to try was host stuff on a raspberry pi
no idea if its possible
 
though you did give me the funny image of a mac mini plugged in next to server racks lol
 
s/funny/nightmarish/
 
it's possible. it's just a computer. it can run real operating systems and real software
 
yeah all that other stuff is just for show, our business runs off this mac mini with a "do not turn off" post it note on it
 
people rack em
 
but if anything fails, you throw away the whole thing
run em more than a few hours a day and they last months
 
wasn't there some guy that made a web server out of a potato?
 
phpotato
 
12:42 AM
@zeddex don't use godaddy
they're a garbage host for garbage people
 
lol
 
ok
what do you guys use?
 
and if you can't get it working on your windows machine, what makes you think throwing unix in the mix is gonna solve your problems?
 
godaddy are scum
 
i assume you have node on them right
 
12:43 AM
you should probably figure out what you'll need to put on the server before you go looking to buy one
and in the process, understand how modules work
 
but also stop trying to combine php and node... just use one
 
because like you have been told many times i wanted to do something with exec locally which has nothing to do with any web projects which would be in a standard path
and different
i wont be doing bot stuff on a server
 
you need to read the module docs, figure out how it's working on your system now, then go looking at how that might happen on a server
 
if its a windows vps wouldn't you just have it on c though
 
!!headdesk
 
12:45 AM
@Luggage That didn't make much sense. Use the !!/help command to learn more.
 
i just assumed they would have made all drives work locally
so i dont know node, use php, people dont like php then apparently im a tard
 
you won't read the docs we've linked a few times now
 
for asking questions about something i only installed today
 
I just want everyone to know, if you like Barqs root beer, you're a disgusting and vile person
 
i bookmarked the links thanks
 
Why? Is it made from ground up babies?
 
No, it's just really bad root beer
 
i will read the docs tomorrow since i need to go soon
 
also, re-read any of my messages with "node_modules" in them.
That's the word of the day for you.
Also the word of tomorrow.
 
anyways, even though i got bashed for liking php thanks for the help
 
12:48 AM
Budget cuts.
 
and node modules is 2 words btw
with a _ seperator
 
you say potato, I say po_tato
 
and your strings are mutable
so
 
@zeddex not a tard for starting out learning node, a tard for trying to combine it with php
 
only for some tasks, mainly i will use it by itself
 
12:50 AM
It's like mixing pizza and poop.
 
but why even for "some tasks"? That doesn't make sense... just use one
 
basically i mainly code php but constantly code js and tampermonkey stuff
 
(node is the pizza)
 
You gain no benefits from trying to use both
 
you do though if you use library's and other peoples code projects
 
12:51 AM
but as @ssube stated earlier, node has far more modules and libs than php does now-a-days
 
unless somehow every php project got ported to node and i haven't heard about it yet ;)
 
so you don't
 
ok
anyways, thanks for the help
got to go now
later everyone
 
3kg of meat is now curing
By end of day Thursday I should have like 1kg of jerky
 
curing of what? aids? cancer?
 
12:53 AM
beef herpes
mad cow
 
Used the meat slicer this time to cut up the slices vs a butcher knife. 10/10
 
like a spinning slicer?
 
Yup
 
you have one in your house?
 
Yea?
 
12:55 AM
ok.
 
it's probably not as big as you're imaging
 
the one I am imagining is comically large.
 
^ good investment if you like sliced meats
 
> At home in your kitchen or woodshop.
 
it's a Canadian website
what do you want
 
12:57 AM
to never work again
 
syrup, eh
 
I use syrup in my jerky sauce
 
I honestly can't tell if I'm just in a constant state of burn-out, or I really do want to switch careers... Everything got so weird for me once I was laid off.
I have no idea what I want to do with my life
 
Hello darkness my old friend
 
it's brown sugar, worcestershire, maggi, soy sauce, syrup, and a touch of onion powder
let your meat soak in that for 24 hours
 
1:00 AM
maggi was his neighbor.
 
Josiah made a meme of me and messaged it to me on facebook
 
what is this strange canadian sauce I have not had?
 
Nice curves.
 
@ssube it's good stuff
international
you should be able to get it
 
1:01 AM
I enjoy international sauces
 
Maggi is an international brand of seasonings, instant soups, and noodles that originated in Switzerland. The brand was acquired by Nestlé in 1947. == Company history == The company originated in Switzerland in 1885, when Julius Maggi took over his father's mill. He quickly became a pioneer of industrial food production, aiming to improve the nutritional intake of worker families. Maggi was the first to bring protein-rich legume meals to the market, and followed up with a ready-made soup based on legume meals in 1886. In 1897, Julius Maggi founded the company Maggi GmbH in Singen, Germany. In...
 
@ndugger don't be like somekittens man... lots of people didn't like him :p
 
@Loktar What are you refering to?
 
my message has context
 
@ndugger Hey, work to live, don't live to work. There is no shame in not having a hard on for you job every morning.
 
1:03 AM
@Loktar I'm not seeing it, though; you talking about me mentioning my salary? I'm not bragging; I was making a point that all of the career goals I set have all been met, and now I am seriously questioning what I want to do with my future
 
if salary is no issue, then work toward having a job that gives you lower hours or something
 
I'm so used to running myself into the ground every day in order to meet my goals
now that I'm there, I'm confused
 
eh it comes off like bragging honestly
if you're not maybe I'm just reading into it wrong I guess.
 
Well, I promise it's not my intention. I'm honestly just feeling really lost with it all
 
@ndugger hit the gym. once you can bench 400lbs then I'll give you another goal.
 
1:04 AM
I didn't take it like that in the context of his ennui he was discussing.
 
Jesus, that sounds like too much
 
I didn't see any other message just that giant face :p
 
!!define ennui
 
My triceps are fucking nonexistent... Every time I've worked on them with a trainer, he was confused as to why they're so weak... I have no idea
 
@Luggage That didn't make much sense. Use the !!/help command to learn more.
 
1:05 AM
when dugger wants to brag it's about his memes or mixtapes
 
oops.
 
Takes forever to build muscle in my arms vs legs
 
@Luggage ennui A gripping listlessness or melancholia caused by boredom; depression.
 
I don't brag; I'm just very open about my problems, because everyone else seems to have their lives together, so I want some of that sweet, sweet wisdom in my brain
 
well that's a stupid problem honestly
 
1:06 AM
> fake it till you make it
 
like I have no pity for you regarding it lol
 
the trick is, everyone just fakes it
no one makes it
 
Of course it is; all of my problems are stupid. I swear to god, I'm like the most emotionally retarded person I know
 
people are out there literally with no food
 
when you do, you die
 
1:07 AM
bah I'm just being negative,
/me leaves the chan for a bit
 
No, your points are totally valid
 
no, they aren't valid. it's a normal common problem.
 
I agree. I'm just stupid... Like seriously... meeting your goals should be a happy thing
 
eh yeah I just feel like I'm attacking you and that's dumb
 
<3
@Luggage meeting your goals and then being depressed about it doesn't sound common
 
1:08 AM
@ndugger are you serious?
it's the leading cause of cocaine
 
Very common.
 
I should get myself some cocaine
 
A common theme in literature, too.
 
I think I'll just search again tomorrow.
http://i.imgur.com/pFyvUs5.png
 
@Luggage cocaine or the other thing?
 
1:10 AM
both
 
the feeling of aimlessless or depression even when you 'have it all'
 
I should buy a boat
 
also, cocaine.. yes.. but that's not what i was talking about
 
> The company has not yet revealed which color is getting the boot or what will replace it, only teasing in an announcement it will "retire one of its beloved colors from its iconic Crayon portfolio." Crayola will be livestreaming the Friday event on its Facebook page.
> Once the color is retired, the company said it will not produce any additional crayons in that shade. This would be the first time the company has dropped a color from its 24-count box.
lol such news
 
will it be a 23-count box now?
 
1:15 AM
I for one am shocked and appalled
 
is this another pluto situation?
 
Ohh, great. Another Pluto denier.
 
Earth isn't a planet
 
we aren't real
 
something about eyes and mirrors
 
1:20 AM
although yeah, burnout is a real thing
 
I've been burnt out before; this feels different somehow
 
even if your feelings don't make sense, they are still perfectly valid :)
i love this podcast softskills.audio
gets me through the day
well...also you guys
 
@SterlingArcher @Loktar i.imgur.com/3mz8gmf.gifv
 
Saw that clip on failarmy
 
wtf
that's such a small pumpkin
why does she think she can break it with her head
 
1:32 AM
Do people break pumpkins with their head anyway, even if they are bigger and easier to break?
 
Hello everyone this robot automatically prints Trump's tweets, burns them, and then @'s Trump with a video of it https://twitter.com/burnedyourtweet/status/846845227503702016
i dont even know
 
I've seen that on /r/shittyrobots and /r/osha already today :P
 
@derp Hello, I checked my code on another computer and it seems to be having the same issue. On your screen does the animation for my dropdown work on first mouseover?
 
@kaloncpu57 idk maybe just seems like the bigger ones would be the smarter option
but if you're trying to break them with your head you're not too smart anyway eh?
 
Definitely smarter if you're going to headbutt a pumpkin at all. lol I just.. what?
I could maybe see punching or kicking one just to show that you can.
 
 
1 hour later…
2:44 AM
should i use angular 4 ???
 

« first day (2356 days earlier)      last day (2599 days later) »