« first day (2181 days earlier)      last day (2663 days later) » 

3:00 AM
I frequently close all unpinned tabs when I am switching tasks.
not to say that isn't solvable but "that breaks my workflow!"
 
user165474
I just switch tasks because of Linux activities. It's pretty nice.
 
we should make a desktop version of TNB, so that you can have an app to distract you in addition to a browser
 
@ConorO'Brien I believe that's known as "Discord"
 
user165474
If SE chat has an API, it would be possible.
 
it does
@Pavel right, but Discord != this TNB
 
3:03 AM
Discord > this TNB IMO
 
We should switch to Discord. Altogether be more convenient.
 
I'm trying something new
 
Especially since Discord released a linux build last week.
 
user165474
Wait, you can just enable desktop notifications for TNB. I just realized that.
 
A teammate wrote the current pgs js and python interpreter
 
user165474
3:03 AM
Wait, there's a Linux build?
 
It's new
 
I'm going to try re-writing it
 
@AlexL. Chat notifications are only for pings, and you need to keep the tab open anyway.
 
user165474
I am downloading that right now.
 
What really irks me is that ctrl-tab moves to the next tab instead of the most recent (like alt-tab does). Because of this, I have a bunch of windows with 1-3 tabs open in each.
 
3:04 AM
@Pavel Except for those on school or work computers that can't access the site or download the app
 
@TrojanByAccident Where are you at that discordapp.com is blocked?
 
@Pavel On my school laptop
as always
T_T
 
user165474
I think most schools probably block it. My school board does it as well.
 
Oh, really?
 
wat
Let's please make a desktop chat.SE app
Where is the API documentation
 
3:05 AM
And make a discord bot for it?
 
Ooh that might be nice
 
wat
no, it would be separate
 
wat
That's python.
 
@AlexL. MY school is clueless and really only blocks social media sites (twitter, facebook, instagram. That's about it)
 
3:08 AM
woah, looking up control flow: apparently some languages (Perl, Ruby) have a redo control flow statement
 
@wat It's what you have to work with.
 
user165474
@ConorO'Brien My school doesn't block twitter or facebook, actually. In fact, they encourage its use for contact with clubs. What school do you go to?
 
it jumps back to the beginning of the flow block
 
wat
@Pavel no other APIs?
 
Not as far as I know, no.
 
3:08 AM
@AlexL. I'd rather not say.
 
wat
@ConorO'Brien no adult websites blocked?
 
user165474
Okay.
 
@wat idk, I never tried going there >_>
 
wat
@ConorO'Brien Probably wouldn't be a good idea
My school has one of the world's top rated filters apparently
called iBoss
 
huh. that's cool
 
3:09 AM
@wat My school website blocks half the internet as "uncategorized"
 
wat
It can even detect OpenVPN automatically
 
@wat same
 
wat
@TrojanByAccident that's called a whitelist
our school uses a blacklist based approach
so they block ssh over wifi
 
@wat but it allows some brand new game sites, and other questionable sites?
 
user165474
My school blocks some things as "insufficient content".
 
wat
3:10 AM
I connected an ethernet cable and could SSH into my web server
 
I've learned to get around iBoss's block on youtube(the redirect to cleanvideosearch)
 
wat
then just did ssh -D 1080 dk0.us -N & and set a socks proxy for localhost:1080
 
I've found this as a useful test for blacklist/whitelist: knucklecracker.com. For whatever reason, automated systems with blacklists don't pick it up, and I don't know why.
 
user165474
Fortunately my school doesn't block TNB.
 
wat
@TrojanByAccident games arent blocked
 
3:11 AM
My current school manually blascklisted it.
 
oh, the creeper game!
I loved that game
 
wat
oh yeah that!
 
@wat That website Pavel just linked is blocked for "prohibited games content", by my school's iBoss filter
 
wat
I've been meaning to get that
 
My school doesn't display images on SE, so certain questions/sites are next to impossible to fully apreciate
 
wat
3:12 AM
@TrojanByAccident Why are games blocked?
 
@MistahFiggins same
 
wat
everyone has phones anyway so there's no point
 
But they can see if you're on your phone
 
if I was a school, I'd block games
 
And confiscate said phone
 
wat
3:12 AM
 
@wat because we're a cyberschool, so if games weren't blocked, students could be on games all day
 
wat
@TrojanByAccident same here but oddly no one every does that
although they could
 
waitwaitwaitwaitwaitwaitwait NEW KNUCKLECRACKER GAME!!!
 
wat
One thing I miss about Windows: ShareX. Shutter isn't the same.
 
@wat Tab explosion much?
 
wat
3:13 AM
@Pavel WTF I JSUT NOTICED THAT OMGWTF
@Pavel by my standards that's only a few
 
...I am increasingly becoming convinced that maybe TNB really does need to be split into two chat rooms.
 
@Pavel They can't look through your webcam and check if you're on your phone lool
 
wat
I once had over 200 tabs open
 
@wat pfft
 
user165474
That seems slightly inconvenient.
 
3:14 AM
That's nothing
 
@TrojanByAccident TEACHERS have EYES.
 
@Pavel Cyberschool?
 
wat
@AlexL. I used a tree tab view extension
 
Oh yeah
 
3:15 AM
Why don't you use a personal laptop then
 
wat
Not anymore, now I just groom them sometimes
 
@Pavel My mom has it, cuz she's using it for work because something's up with hers atm
Also, my personal laptop is horrible
my 32 gig flash drive has more storage than it
 
wat
@TrojanByAccident time to install lubuntu!
 
@wat no, I tried to install ubuntu on my flash drive and failed
5 times
 
wat
@TrojanByAccident how
 
3:17 AM
so I'm not even going to attempt doing it to my laptop
 
How do you install an OS to a flash drive? It doesn't work that way.
 
wat
I have a multiboot usb drive in my pocket with an installation of Arch and Ubuntu (on the same btrfs partition, different subvolumes) plus a bunch of rescue and installation ISO images.
 
@wat Tried with 3 different linux isos, 2 different imaging programs
 
wat
@Pavel You can treat it the same as any hard drive
@TrojanByAccident use etcher
or rufus
 
@Pavel How do install an OS to a hard drive?
@wat I tried Rufus and LiLi
 
wat
3:18 AM
use etcher and a Lubuntu ISO
 
Do you mean you're installing FROM a usb?
 
wat
or follow the instructions here
 
@wat link
 
@Pavel no, imaging an ISO file onto a flash drive
@wat I tried arch
 
I couldn't figure out how to get it to work
i asked on irc
 
wat
@TrojanByAccident That link is for a multiboot ISO flash drive tutorial
 
the people there kinda just laughed and went "not for first-timers"
@wat i know
 
wat
@TrojanByAccident did you installation guide?
 
That's not how it works. When you image an iso to a flash drive, you're creating a USB that you can install ubuntu from.
 
wat
3:20 AM
@Pavel You can also plug in a second flash drive, then install to it
 
@Pavel I then run my flash drive in a portable VM
 
I know at least Ubuntu won't let you install itself on a flash drive.
 
wat
I actually had to do the Lubuntu install via VM
Onto a flash drive
Through VirtualBox
 
They show up differently
 
wat
@Pavel use the alternate installer then
Or use arch, pacstrap doesn't care
The install ation process with arch was so much simpler
You just mount the disk somewhere and pacstrap -i <mountpoint> <packages/groups you need>
 
3:22 AM
Ubuntu installation is incredibly easy. Download iso, image to usb, boot from usb, run installer.
 
I don't dare install another OS on my school laptop
 
wat
I used something like pacstrap -i <mountpoint> base base-devel lxde lightdm xorg-server xorg-server-utils xorg-apps vim zsh git gnome-backgrounds
 
which is the only computer I have access to that I can install it on e.e
 
wat
@Pavel yeah well you can install arch from a running system
 
Wait a minute
 
3:23 AM
Can you replace that hard drive?
 
hold on a second
How did we get here?
 
oooh! I just found a really good idea: instead of a while loop, make a forever loop. All of your break statements are followed by a condition that determines if they break the loop
 
Your school's filter is annoying af
 
because if (some condition){break;} is so common
 
Well now I have to learn Java and use Eclipse
 
3:25 AM
do {
    i++;
    print(i);
    break i>=10;
}
?
 
@Qwerp-Derp Wait why
That's a terrible idea
 
it gives you the ability to do do-while, while, and break out of other loops (like a foreach) easily
 
Cause I'm making a big project in Processing
@Pavel What's wrong with Eclipse
 
3:26 AM
I do prefer Jetbrains, but Eclipse really is pretty good
 
Ok, unlike many other things about which I will happily war about all day, I actually will accept Eclipse is fine.
 
intelij is where it's at
 
But IntelliJ is better.
 
@NathanMerrill Sounds like something Ada does
 
looking it up, thanks for the reference
 
3:27 AM
@Pavel ninja'd by 3s
 
Loop/End Loop with Exit When
 
Not necesarily, the point is stronger with repetition.
 
(It has other loops)
 
@Qwerp-Derp if you need any help, ping me, k?
 
I think I should just stick with Sublime and deal with all of my Processing files in one folder
Or should I learn Java and do multiple-folder magics?
 
3:29 AM
Yes.
It's good for you.
 
@HWalters looking at it: does Ada require you to name all of your loops?
 
@Pavel yes to what
 
Learning java from processing won't be hard, and it's a lot more useful.
 
True that
Alright here's a big question: C++ or Java?
 
3:29 AM
(If I want to exit it)
 
wat
@Qwerp-Derp imo c++
 
@NathanMerrill Not that I recall, but it's convenient. Unlike many languages, you can have an outer and inner loop, and in the inner one, exit to a specific outer one.
 
Java will take less time to learn since you know processing
 
You do that by name
 
wat
c++ is more low level and faster, but considered complicated
 
3:30 AM
It depends on what you need it for
 
wat
I personally dislike java
 
@Pavel Isn't Java slow though?
 
wat
It's a higher level language, it has garbage collection, it's interpretable on many platforms...
@Qwerp-Derp minecraft
 
@wat That's true
 
@HWalters right, that's actually pretty common among languages, but all of their examples have named loops
 
3:31 AM
Not as slow as say, Python.
It's in the middle.
 
True
I'll learn Java
 
wat
@Pavel did you watch the video
 
It's not as low-level as C++ right?
I don't know the difference between Java and C++ IMO
 
Yes
 
wat
3:32 AM
that's what you need to do to install arch on an image file
 
Memory management is automatic, no pointers to deal with.
 
IntelliJ is better right?
Or Eclipse?
 
IntelliJ
 
C++ really is a unique language. With all of the work on it, and a gazillion libraries, I wouldn't really consider it low level anymore
 
wat
on ubuntu you would need to do some FunkyMagicâ„¢ to get the image file onto a VM and then install using the installer
 
3:32 AM
however, if you compare it to C, then yeah, that's a low level language
 
@NathanMerrill Upstar for "a gazillion languages"
2
 
wat
From arch, you just do pacman -S arch-install-scripts and then run that command
 
@Qwerp-Derp IntelliJ
 
What's the difference
 
wat
then arch-chroot <mountpoint> and configure it
 
3:33 AM
@Qwerp-Derp "Low level" is a bit misleading... most people tend to picture this here as being "more assembly like", but it really means "closer to assembly" (that's a different thing)... C++'s considered a middle level language
 
wat
and you're done
 
@Qwerp-Derp It's just better
 
C++ and C are on the same "level", but C++ has higher level abstractions
 
Easier to use, prettier, doesn't require package declaration
 
@Pavel ??
Oh
 
3:34 AM
I've only ever used eclipse - probably should check out IntelliJ
 
How big is IntelliJ vs Eclipse?
 
IntelliJ is smaller iirc
 
@Downgoat how do I read a line of STDIN in node.js?
 
342 MB for an installer??? what
 
3:35 AM
is it? it feels painful
 
IDEs are big
 
@Downgoat :o trying out
 
@Pavel mine isn't that big
 
Eclipse is only 169 mb
 
but neither is pgs
 
3:37 AM
I have 3manyides5me
 
@Pavel my IDE can fit on floppy disk
 
Oh yeah, IntelliJ comes with a bunch of optional features, like android SDK and stuff
 
-2
Q: Extremely over powered hacked client reaking havoc on my Server. Is there a way to find the hacker?

NitrateI own a vanilla minecraft server and lately we have been having a few instances where a / some player(s) have been using some sort of hack to make themselves completely invisible to the server (we cannot even see them in the tab list - we think) and somehow gives them complete gamemode c access. ...

 
When creating your first IntelliJ project:
Leave Groovy and Kotlin unticked, ignore the options on the left panel. Click next.
Tick 'Create project from template'. Click next.
Give it a name and a dirrectory to install projects too. Leave 'base package' empty for simple projects or net.<projectname> for complex ones. Click finish.
 
module.js:442
    throw err;
    ^

Error: Cannot find module './build/Release/sync_prompt.node'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\Conor O'Brien\Documents\Programming\stacked\main\node_modules\syncprompt\index.js:1:81)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
@Downgoat
 
3:41 AM
FFS windows
 
It's the slashes I bet
 
I think node normalizes those?
 
I thoughts so too
use:
process.stdin.resume()
process.stdin.on('data', function(foo) {
// ... code
});
and ill try fix later
 
@Downgoat Yeah, aren't Windows file paths always with backslash?
 
3:43 AM
yes'
 
@Downgoat but I need a sync way to do it >_>
do you have any libraries you can point me to
 
Uh, can you wait like 5-15mins for me to fix?
I dunno anything that works besides that
 
@Downgoat yeah, definitely. I'm just working on porting stacked to node.js. No rush.
CMC: convert line endings in a file to CRLF
 
Node's way of forcing async down your throat still bothers me. I kind of like the way ES7 has it with async propagating up until it hits an await
@ConorO'Brien man dos2unix
 
@quartata yes it does bother me as well. It also makes code really hard to port.
 
3:52 AM
I'm looking at Go's defer....it's some serious magic
defer someFunc(someParam)
 
Pytek has \detach
 
it immediately resolves someParam, but doesn't resolve someFunc
 
It's kind of like \yield in that the function becomes a new thread and returns a thread object
@NathanMerrill Huh
 
I guess "resolve" isn't the word. It doesn't call someFunc
 
Hmmm... defer reads like an automatic dtor in C++
 
3:54 AM
or on(return) in event-driven pseudo-code
 
coroutines are cool
 
Coroutines are great. A shame more languages don't have them
boost::context helps
I hope it arrives in C++1z to replace ucontext
 
Not sure how to piece it together, but I was toying with the idea of capturing a function's scope, allowing part of it to have nested functions, and using coroutine like methods to sort of marry objects, pure functions, and coroutines into a single construct
 
woah, this is even more magic
func c() (i int) {
    defer func() { i++ }()
    return 1
}
 
\shared lets you observe the scope of a thread or coroutine in Pytek as long as the variables have modifier shared:
 
3:59 AM
that (i int) is naming the return value
and the deferred function is incrementing it
 
You can modify or add ones too
@NathanMerrill I hate that feature of Go.
 
really? I'm interested in your arguments
 

« first day (2181 days earlier)      last day (2663 days later) »