« first day (3154 days earlier)      last day (2019 days later) » 

18:00
for (i in a) <- I know about 4-5 languages where that is a normal line of code.
Can someone help me with that async function? I'm trying to load a json file and I need the javascript to wait until the file is finished loading before it continues.
Technically the project I made WAS working, but you originally had to use code/pre blocks and you had to paste the code into html and then run it manually
It was hacky.
Maybe lame, if thats even a better word for it
18:03
But sorry I don't know of any such tool. And since the amount of languages is near infinite it's doubtful such a tool will actually exist.
yeah, so, taylor, basically, step 1: include non-minified version of the file that is throwing an error, and then walk through the code to see why it is throwing an error
Yeah I'd look into the source of highlight.js and reuse their stuff.
Honestly i wanted to make a simple tool to recognize code I didnt know about, but if its wasting this much of my time, its a lost cause.
Sorry for wasting your guyses time :/
an error is occuring inside the library
one that the library isn't catching and handling gracefully
e.replace isn't a function
it's being thrown when calling highlightAuto
var block = document.getElementById("textinp").textContent; {
console.log(hljs.highlightAuto(block))
hljs.highlightBlock(block);

var lang = hljs.highlightAuto(block).language;
Yeah I screwed up the block variable
Originally it was supposed to be:
var block = document.getElementById("textinp"); {
console.log(hljs.highlightAuto(block.textContent))
hljs.highlightBlock(block);

var lang = hljs.highlightAuto(block.textContent).language;
What's happening is this:
escape(text) gets called, but text doesn't have a replace function
Oh by the way
My stupid ass school filtering program blocked GITHUB... So around 90% of websites running on source code css/js from github are blank html slates.
highlightBlock and highlightAuto accept different parameters
Listen, Im working off a bit of someone elses "semi working" code... Its a bit... DIy
18:11
right
and i'm looking at the source code
ideally there would be documentation that tells you what these methods expect, but i don't see any, so the sourcecode is the next safest bet
Im having a hard time finding the stupid little website where I found this thing... Stress is anoyying
@TaylorSpark Fix that before continuing (go & work from home?). - You'll have to get to github
I already have a github
I basically use it for data storage and backups for my C# game mods
I succeeded in disabling our school internet filter, unfortunately, even when signed out, its still blocking websites
yo
my pc crashed
18:17
ok
That Sucks...
Data crash?
Corruption? Virus?
it's... weird
this is a completely fresh install
I think it's a hardware problem
Oh, If its like that, most likely a corrupted power system
18:18
I had a lot of support calls that begin with "it's weird" lol
Try sending your pc to an IT, what does it look like when it crashes?
I just got it back from IT
lol
Just shuts off?
It had a failing harddirve
it just black screens to a reboot
GPU
And possibly power
but that sounds like a graphics crash
18:19
it could be any hardware
You can test hardware
that must be a crappy new pc
Why are you HDD, GPU, and PCS Broken?
That is just... like what....
you're not making any sense
18:20
IT doesn't like you lol
How old is the computer itself
well, it's made up of a number of parts
sucks tho when you get those computer gremlins
each of which may not have been in the original pc
Most likely, this is a referb
18:21
IT should learn the OSI model
It sounds like you simpy have a ton of corrupted hardware
corrupted hardware doesn't mean anything
-.-
it isn't a thing
It is
Ever messed with Regedit
18:22
It's called "damaged" in the general sense.
Pretty uch
Ugh my english
Data can be corrupt, hardware gets damaged (which causes data corruption).
I tried fixing a screen error once in regedit, and wound up "corrupting my hdd and battery" as told by the IT, and had to replace both
lol
18:23
Yeah I really hate the regedit thing...
I guess were going a bit off topic
Don't use it then
Your IT dept needs to learn the OSI model medium.com/@int0x33/…
I'd get in a long talk with IT about how the hell software running in userland can damage hardware.
All i get in the windows reliability history is "windows was not properly shut down", so it's definitely not a software issue. so i need to diagnose what else might be happening
It Dept? The dude I met sounded like a total loner
Kevin
18:24
probably plays doom in the basement
Anyone in IT probably already knows the OSI model
not true
Just try going into the safe mode (some use f8 at startup to enable it) and troulbeshoot the OS
loooool
18:25
I don't know it
usually learned in NOC roles and data center roles
Are you an IT tech?
I could easily be moved to that department if i asked
less in other IT roles
@KevinB My bets would be hdd (but only in specific regions, otherwise NTFS driver will report it, they are made to report damaged regions), ram or cooling.
18:25
my coworker made the NY Times for crashing a server once
Im not an IT
so you're not, bam
my point is irrefutable
But I know PC Hardware to a standpoint
CPU/motherboard could of course always be damaged, but that's unlikely and probably means "get a new pc"
18:26
I built my pc 3 years ago
i kinda doubt it's harddrive
there's only one harddrive on this PC
it was replaced monday with a new one
it was rebooting unexplainably before the replacement, and still is after
If your Motherboard/HDD are damaged, most of the time it either wont even turn on (usually a motherboard error) or you simply have a data corruption, in which case, youll likely get the blue screen of death (Data 0.#### errors)
no blue screens
Well graphic card failure won't reboot without error message. And peripherals give typically a loud beep when they break down.
0x###***
18:27
CDM - Cpu, Disk, Memory. You can run HD diagnostics to check drive hours, Run memtest tools and a CPU tool.
@TaylorSpark hex
So memory would be the most logical cause.
Then Im not sure how to help you, if you had your parts replaced, it was likely a dumbo who didnt wire your pc correctly, or another piece im not sure about is dead
and I guess a GPU tool, but that won't crash the pc, just video
Or well, the cause which you can fix yourself without wasting a lot of cash.
18:28
naw, he's not the kind of person to incorrectly install a harddrive, lol
Honestly, Im not that sure because I cant see your pc
It's pretty difficult to install a HDD wrong
You should never assume. Rule it out
^^ @forresthopkinsa
lol yeah, I was wondering how would you do that.
18:29
otherwise you're going to sit and spin
you'd almost need a hammer to install it wrongly.
HDDs are pretty much huge DVDs, you place them into the HDD Slot, place the cover (depending on case) and wire it to power/motherboard
Some cases/parts wire it differently
but relatively the same concept
If it reads Master Boot Record, then yeah, he installed it right
then you move on to an HDD tool
this problem isn't a user error kind of problem, I think it's most likely either the MB or PS
PS?
18:30
motherboard is an older model
psu
power supply
user1596138
Just put an apple sticker on it
user1596138
All good
user1596138
@forresthopkinsa Remember slave/master jumpers?
powersupply is most likely, in my experience
check your icloud lol
ah yeah
18:31
@DJSpud things can always be worse
Never had that break.
weak power supply could cause weird reboots
i've had so many bad power supplies
not enough power
or inconsistent power
18:31
Thats what I mentioned earlier
replace your PSU
yeah I think that's the first thing that's been said in the past 20 minutes I agree with
Or well I did once, but that was obvious (lightnig struck a tree I was sitting next too, fried the supply).
user1596138
user1596138
Them old days
Job Hunting is so dull
18:32
yeah if i was at home and this was my own pc, i woulda already figured it out
"image not found" Lame
but my options are a bit limited here
user1596138
@taco Dude yeah :(
@DJSpud I kid you not, I had to work with one of these a few years ago
user1596138
What an IDE drive?
18:32
@DJSpud you too?
well not just an IDE drive
what i'm trying to do is gather all the concrete information i can on the problem before i send it back to IT
user1596138
@taco I've been out of work for far too long...
The only PCs ive worked with are towers, mostly windows 7 and 10, I hate laptops
had to mess with the jumpers on the IDE drive
18:33
because they had it running all day yesterday with no reboots
all laptops should be mailed to r/trashy
@DJSpud trying not to lose my homes
Do you have physical access to the pc?
user1596138
@taco At least you have plural to lose?
18:33
but they don't like it when i start opening it up
I still work with IDE drives, but it's a rare occurrence that I have to mess with master/slave stuff
@KevinB shoot a youtube vid for us lol
Kevin, Unscrew your case, and screenshot important pieces, send an imgur link with all the images, I could work with that
Well then just take hands off and act dumb.
y'all are ridiculous
18:34
fixing without checking is impossible.
i'm not looking to "fix" it
Half of the PC experience in the 90's was tweaking interrupts manually for hard drives, modems, scsi cards, ugh
i can't fix it, i don't have the parts
THHHHHEEEN We cant really help you bud :>
SOrry
user1596138
18:35
Oh this is work equipment? lol
scuzzy ohhh yeah
i didn't exactly ask for help
:)
I cant even afford an r/trashy pc so :>
I found the problem
You didn't break it enough for IT. Break it more lol
lol
the original problem was failing harddrive, IT was able to detect that remotely before i even started having reboot problems
got it back today with a new HD
18:36
Btw isn't this justa one time occurance?
what
the reboot? it's rebooted 3 times so far today
user1596138
I remember when I worked for a place without IT/spare machines
What OS?
user1596138
!!s/worked.*/worked/
@DJSpud I remember when I worked (source)
18:37
windows
95?
oh that serious! I'd go running and screaming to ict that my laptop is about to die.
lol
10
pro
etc
Ya know we have created a half a mile long chat about pc repair in JAVASCRIPT....
18:38
fully updated
stop it from rebooting easeus.com/todo-backup-resource/…
so you can see the problem
we rarely talk about javascript here
user1596138
@TaylorSpark How many pixels in a mile?
Perhaps there are other chatrooms more fit for hardware/software
DJSquad
Pixels...
And I really need first aid high priority help before the world collapses from having a dying pc.
18:38
Well
depends on the screen
Im not sure
I need to load a JSON file, but I need the script to wait for it to finish loading.
eh, windows isn't causing the reboot
user1596138
@TaylorSpark Perhaps you should find a room you like better lol
if it were, it'd be recording it
sorry, bad article. that was for updates. I meant this @KevinB winaero.com/blog/disable-bsod-auto-restart-in-windows-10
18:39
it's not a BSOD
Angularjs problem: $http promise chain is not running a digest
not a GSOD either
well technically i think BSOD's went away with XP
afaict it should be running the entire chain in an $apply
18:40
nah, they still happen
probably a core dump
but then I guess I don't know how it would go about that
there's different variants now
Kernels core dump
you still get blue screens for windows problems, and you get a green screen for a graphics crash rarely
18:40
I wish the retard question system was more like the rule system HERE, Im tired of everyone judging peoples questions with their own opinions, its a bit stereotypical correct? almost 100% of questions by Gold/High thousand rep people get answered and upvoted, yet barely half of questions by newbies/low reps get downvoted, flagged, and usually deleted
both cases cause a log dump
Windows 98 would blue screen because Windows ran on top of DOS. Windows Kernels core dump
@TaylorSpark that's just confirmation bias
I've supported Windows 3.11+
I'm old
Write questions that follow the rules and are interesting/not dupes and it will be well received
Ask a dupe and it'l get closed
18:41
Graphics Values are very strange... They look like this sometimes: EU10000 and other times, alpha hex: 0x001312
I dont understand graphics coding
so i dont mess with it
?????
You do know you never make sense?
Im even sure what language graphics programs/drivers are written in
also yeah i never make sense
aspergians are like this
I cant socialize :/
thats probably why my questions are always downvoted too
probably not
user1596138
/me upvotes
hence I pretty much think of stackoverflow as a over restricted library filled with liberals :/
18:43
LOL
this room is unbearable today
2
lol
user1596138
lmfao
user1596138
@Taco what are you looking for btw?
user1596138
And where
Your ability to post a question has nothing to do with people's political views @TaylorSpark
18:44
low quality question from 2012: 3912 upvotes, 23 answers semi high quality answer from 2019: -3 votes, 0 answers
That post from 2012 has had 7 years to be voted on
The issue is,
it gets to 2k in the first week of questioning
High rep users get upvoted because they post quality content. That's why they're high rep.
no, that's not common
it does happen occationally
but it's completely irrelevant
18:46
Ive found a few questions saved around 2012-2013 in the "internet wayback" and they are around 1k behind what they are today
Right
7 years of 1k, 2 weeks, of 2000
and what i'm saying is you can't use that to justify questions from today being downvoted
it's completely irrelevant
My brain is shooting me in the brain
I can give you a recent example of that happening
18:46
Im going to go now.
several actually
It's always because the question gets shared somewhere, such as on reddit or twitter
everyone knows about the twitter upvote brigades
spreading positivity everywhere they go
/me doesn't give a care. So long as I do get answers that answer the problem :P.
@DJSpud I just went out to California to help start a marketing company. I know TV Everywhere (live Web streaming). I supported HBO, CNN, Adultswim, TBS, TNT, TCM, Cartoon Network, etc. I also supported NBA League Pass for nightly games. Streaming support was for connected devices like Roku, AppleTV, iPhone, iPad, Android, Amazon Fire. Supported Docker/Kubernetes, Amazon AWS, RHEL/Windows 2003/8/12.
Looking for Sr. Sys Eng, Admin, DevOps, AppOps, SRE. Willing to work for a startup in a CTO or VP of Eng role for lesser pay if there is equity or profit sharing
@DJSpud where do you live?
Supposedly we are at 100% employment, but I've been looking for two weeks and barely getting any hits
I'm hoping to hear back from Coca-Cola, I hear they are pretty cool to work for
I moved out to California for a month but its so damn expensive, so I drove cross country back during those tornadoes
you're kind of a weird dude
that is a pretty cool photo
yeah, it was nuts
user1596138
@taco I'm in Fort Wayne IN unfortunately... I have 2 options that aren't remote and they didn't want my skills
@taco Did you just barf as many company keywords in the shortest amount of text?
@DJSpud what's your linkedin?
user1596138
18:51
And yea. For an industry with a job surplus I'm sure having a hard time..
aw crap what
have I been duped by another username change
@paul23 I have friends here
such as @rlemon
user1596138
@taco Ready?
I know some have worked for Netflix and such such
Wut?
18:52
yeah
you've got to be kidding me
user1596138
I'm Jhawins if that isn't obvious
oh hey man, its obvious from the pic
I didn't catch the user change this time
user1596138
18:53
@taco Damn what a clean boi
lol
u sexy
user1596138
I always expect 2004 WoW player appearances
@DJSpud were you dating somebody outside of the US or was that somebody else
I'm officially lost
user1596138
@taco That's Aaron
user1596138
18:54
You have him on your linkedin
ah
user1596138
That's done and over with tho lmao
Just started dating a Filipina. They like to party lol
user1596138
Lol yea he was in Thailand for a long time
That's right
He acts like he doesn't like the ladybois
18:55
oof
user8729657
Dam, it sucks to be my neighbors. Suspecting me of selling drugs while I was on walks and following me, it all stopped after I gave them my business card lol
user1596138
Chat is nuts
it is particularly wild today
user1596138
WTf is happening lol
@OvieTrix dude I only know you over JS chat and I suspect you of selling drugs
18:56
I have a project I could sub-contract with you maybe when it comes up. What's your github @DJSpud
user8729657
LMFAO
it could be the whole drug-selling website
user1596138
Yea I've been doing a contract actually with another room member for a couple months
wait that was the other ovie wasn't it
user1596138
I really want a full time tho :(
user1596138
18:57
My GH is my OG SO username
@forresthopkinsa probably because he was asking about selling drugs
jhawins?
user1596138
yea. Less than impressive contributions tbh haha
@rlemon it's a subtle hint
@forresthopkinsa yes. I don't read the entire convo before replying to upper statements.
18:58
keep reading
I was elected to lead, not to read
user1596138
That reverse engineer project was fun and the company seems super interested... Just ghosted in the end tho as usual
wasn't it ovie adese that was doing the drug site?
are they the same person? might be
user1596138
I don't mind being rejected, I mean I do because I want to be accepted. But just being ghosted never hearing back on opportunities you're seriously excited about is the hard part
@DJSpud call them every day
make them own up to it
18:59
@DJSpud this project is currently being quoted, but it's for a Hollywood/United Nations project. I'm designing kiosks for it
@forresthopkinsa accounts were merged at some point
could be really cool
@rlemon ah thanks
user1596138
@forresthopkinsa I feel like that won't get me a job

« first day (3154 days earlier)      last day (2019 days later) »