« first day (2083 days earlier)      last day (2868 days later) » 

4:00 PM
I get it when starting up my laptop running arch
 
Don't mount a partition formatted by dd
 
@KevinB I may make it pretty and put it in a userscript / theme
$('.sidebar-widget').each((i, el) => {
  const ident = $(el).children('[id]').prop('id');
  if (!ident) return;
  const wrapper = '<div class="sidebar-wrapper"></div>';
  const toggle = '<button class="toggle">' + ident + '</button>';
  $(el).wrap(wrapper).parent().prepend(toggle);
});
$('.sidebar-wrapper .toggle').on('click', toggleSidebar);

function toggleSidebar() {
  $(this).parent().find('.sidebar-widget').slideToggle();
}
 
mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error

In some cases useful info is found in syslog - try dmesg | tail or so
 
you can't mount a device
 
I mean... you say that
 
4:01 PM
@littlepootis it happens without an iso, even if the drive is completely empty other than partition and fs data
 
Totally missed that
 
Time to fuck an optical drive
@littlepootis lol there are no pics. Why would there be pics
 
@littlepootis that's what I meant by "debian doesn't like my usb"
 
@towc you can't mount a device
You mount a partition
 
@towc srsly m8, just stick to windows
you're not cut out for the hardcore world of linux-based systems
 
4:03 PM
wait, so I should do mount /dev/sdb1 instead of /dev/sdb?
 
@towc LOL
 
D:
ok, will anything bad happen if the usb contains a burnt iso?
 
Inb4 no fstab entry error
 
aka I shouldn't
ok
 
4:04 PM
@towc no
you're mounting a fs
does windows explode if you put in a CD?
 
it's weird tho, with that 1GB drive I did /dev/sdb
 
@towc yes, your PC explodes and you die
 
I think
yeah
I'm so confused
 
call Geek Squad.
 
@rlemon Oh, yeah, duh, my adblock can fix it. just auto-hide the room desc and tags.
 
4:06 PM
You should just try something like Gentoo
 
wuuut
and now it works
 
@BenFortune You know, you're the coolest assistant I have ever seen. And you very clearly have a mission of stackoverflow. You've checked in here not in vain. I even think you signed up for this moment. Thank you. Sorry for my English. I'll go to read the tutorial in English book too. — Александр Штанг 10 mins ago
 
What works
 
Lmao
 
I guess the 1GB drive was already counted as a single partition?
I can access all the other usbs with mount now
 
4:07 PM
No
 
as in, the whole drive was a partition
 
That just can't happen
 
it can. you can tell linux to put a filesystem right on the device, without a partition table
 
@littlepootis well, mount /dev/sdb /media/usb worked on that one...
anyway, we kinda know what's going on there
next step to check?
 
4:09 PM
Pics or it didn't happen
 
 
Who can tell me the solution to this? :)
 
You mounted a partition, nit a device
 
@littlepootis look at the one with no warning
 
Either that, ir my eyes ded
 
4:12 PM
@MadaraUchiha ...I know what I'm doing tonight.
 
yea, that screenshot does not match the text you pasted.
mount /dev/sdc1
 
Wait, you have access to Debian?
 
there are other mounts
@littlepootis the one with no firmware
 
@towc .........
 
and no DE, we went through it :P
 
4:13 PM
You can just dd from there.....
 
except I couldn't fit the new iso in that 1GB drive :D
but now I can
 
Are you trying to fit a 1.1G iso into a 1G usb? 😭
 
so, put the iso on the usb through windows, put usb in debian, cp outside of mount zone the iso, dd iso into usb
@littlepootis that was the whole point of why I was trying to make my other drives work
 
@OliverSalzburg \o/
 
4:15 PM
ended up cycling for 30 mins and looking around town for 50 mins to get to a shop with some usb sticks -_-
 
@MadaraUchiha Did you actually want the solution or was that just to tease? :D
 
can someone help me learn json tree traversal I want to find a key named text and modify it. How do I write a loop like this? jsfiddle.net/qo77vns3 (absolute beginner at loops)
 
@OliverSalzburg Tease
I solved it in about 30 seconds as well
And @BenjaminGruenbaum crashed the server while trying :D
 
@Raja does the json structure change? if not there's no need to "find" the key, you already know where it is. just loop over the array.
 
4:18 PM
@MadaraUchiha It took me longer than that just to figure out what the fuck it was talking about. It's a very odd and cryptic puzzle.
 
@kevinB the struture changes, Im looking for 5-10 unique keys to change their value
 
@MadaraUchiha Is the third turn being NaN intentional?
 
@Trasiva Maybe :X
 
@MadaraUchiha Also, I'm super curious what "the" solution is.
 
@VeronicaDeane The way to get to the answer
As the numbers are random for each session
 
4:20 PM
There are infinitely many such solutions
 
@MadaraUchiha you should definitely have something involving multiple bases (0x, 0b, 0, decimal)
 
maybe write the exponents in those bases?
 
which numbers?
just the exponents?
 
4:21 PM
use the ++x and x++ differences, those are always fun
// who can guess the output of this without running it?

function(){
   var x = Math.random();
   return x--- --x
}
that's one that confuses new comers so much :P
 
I can't be bothered to remember when postincrement changes the variable. I'm gonna guess before the rest of the expression is evaluated and say 2
 
@MadaraUchiha I'm kind of embarrassed, this doesn't feel like it should be this hard, I must be forgetting or missing something.
 
@towc Given that you asked, and it has Math.random() I'm going to guess "0" without even parsing it.
I was mistaken :D
 
fun fact: you're wrong anyway. It outputs the function or an error, but that was unintended
 
user2620028
4:29 PM
Guys, quick question on addEventListener behavior
https://jsfiddle.net/hatterismad/epmhyLe3/
 
user2620028
Why is it immediately invoking the second addEventListener when it is being created
 
Maybe because click is a tunneling event?
I know that's how it works in WPF
 
phenomenal
How does a trojan interceptor work?
Do you just track the network traffic and redirect it somehow to a custom program..?
 
and click happens on mouse-up. By that time, the document has the event listener attached.
 
user2620028
So even though the second click event listener is created in response to the initial click, that initial click will still set the newly created one off as well?
 
4:35 PM
er.. maybe.
 
@MadaraUchiha You said that it's random per session, right?
 
@Trasiva Yes
No more hints :D
 
window.setTimeout(() => document.addEventListener( "click", c ), 0); // fixes it, but I'm not sure how reliable that is
 
user2620028
Yeah i can write ways around it, but i am more curious about why it happens in the first place
 
user2620028
because it seems to me like that is poor design :/
 
4:37 PM
meh.
 
user2620028
i feel as though the intial click event should finish before the second event listener can capture it
 
@MadaraUchiha I'm just curious, because the rendition I have, based on what I've figured out, I -should- have the right answer.
 
I can't speak to if that behavior is according to a spec or undefined. I'm curious, but not enough to go find out. :)
 
user2620028
@luggage haha yeah, i was hoping someone around here would know if that was intended or not and why
 
4:39 PM
 
@user123123123 Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
> Compatibility up to IE7
 
@Luggage the spec is life
you should spend an hour every day going through the spec
 
the spec is a lie
 
@Luggage Very reliable
But I'm thinking there's a massive XY here somewhere
If you need to use setTimeout(, 0) to control order of execution, something went wrong...
 
4:42 PM
chromosome or problem?
right.. problem.
 
@Luggage what's the difference
 
checks his code for setTimeout's
 
@littlepootis dded from that machine, everything went to smoothly.... then booted from usb and ignored again
 
@SterlingArcher It's just doing the same thing as fiddler
 
from unmounted drive
and using /dev/sdd instead of /dev/sdd1 for both umount and dd
@ssube too
on booting off the machine said something about errors reading FAT
 
4:51 PM
@MadaraUchiha I'm not getting any work done, lol. Puzzles are my kryptonite...and nothing I'm trying makes sense, lol.
 
didn't have enough time to read the full error
 
user2620028
 
@Luggage The reason this works is that you schedule an event at the end of the current event chain in the event loop
And event handlers are (IIRC) a live list
 
@OliverSalzburg Were the clues accurate?
 
So by adding it in a timeout, the event handlers finish executing, and only then the function in the timeout (adding the event) gets called.
@Trasiva The clues are accurate.
 
user2620028
4:54 PM
@Madara i figured out why it was doing it thanks
 
@MadaraUchiha What. The. Fuck. :X
 
In case you haven't realized, it's not a programming puzzle, it's a math puzzle.
 
user2620028
@trasiva 64bit, 512bit huge fucking numbers
 
@VeronicaDeane Yea, I got that, but the seemingly solid answers I've come up with flopped.
Nooo, son of a bitch, I got it.
 
4:56 PM
You know what I love? When someone mixes 3 different naming conventions for a local sotrage key... AA-bbbCcc_DDDDDD
 
I'm just fucking dumb.
 
at least the usb is sure to be detected on boot and be rightly partitioned
 
@ndugger Really you love that? I could stab someone over that.
 
left it in that spot since dd
 
I WAS BEING FACETIOUS
 
4:58 PM
@towc why are you running as root
 
A lot of our code is just a clusterfuck of nobody communicating with eachother, so our legacy code is just a spaghetti bowl of a dozen different coding styles.
 
@VeronicaDeane why not? I can't even screw up more than this
 
that's what you think
 
@MadaraUchiha Kudos for that little challenge. Once I took a step back and looked at it from a different angle, it was obvious.
> I can't screw this up anymore - Every new unix/linux dev user in root ever.
 
inb4 "I SCREWED UP MORE THAN THAT, OH GOD THE MACHINE IS ON FIRE"
 
4:59 PM
@ndugger update me bro
 

« first day (2083 days earlier)      last day (2868 days later) »