#ot1-perplexing-regexing
1 messages Β· Page 221 of 1
@wild yarrow Seen last week's new Powerwolf music video already? https://www.youtube.com/watch?v=cXOAcuNhFS4
Order "The Sacrament of Sin" here: http://www.thesacramentofsin.com After spilling gallons of blood and fighting tirelessly, after only two albums with Napal...
Nicee
are there any good online games now
for someone who hates battle royal shit
and CoD crap
dota 2
I basically only play csgo
and random single player games
like Stardew valley, Not tonight etc
modded minecraft
I do that, until i progress enough to having to do automate stuff. Get confused, quit π
World of Warcraft
factorio, man. or hackmud.
good programmery online games.
although factorio is mostly a coop thing.
I have factorio
it is so time consuming π
it feels a bit like work, but I don't get played
Good old ck2
Noting like having a cold and then getting your entire face removed as a result
π
And if you hate battle royale but like tactical shooters perhaps you should take a look at escape from tarkov
I USE ARCH BTW
I USE ARCH BT
I USE ARCH B
I USE ARCH
I USE ARC
I USE AR
I USE A
I USE
I US
I U
I
I U
I US
I USE
I USE A
I USE AR
I USE ARC
I USE ARCH
I USE ARCH B
I USE ARCH BT
I USE ARCH BTW
I USE ARCH BT
I USE ARCH B
I USE ARCH
I USE ARC
I USE AR
I USE A
I USE
I US
I U
I
I U
I US
I USE
I USE A
I USE AR
I USE ARC
I USE ARCH
I USE ARCH B
I USE ARCH BT
I USE ARCH BTW
this doesnt count as spam right?
You don't use arch
I DON'T SPAM EITHER```
@tired osprey i was quoting joph
I use arch btw
How did you like the diamond operator in python Gwyn
its good c:
the what now?
The diamond operator
It's inequality in ruby style
There is a future module adding that to pythons syntax
So <> is the same as != then?
c:
@worn kite
π
So I hired this 10 year old fortnite coach and ended up trying out for his clan... βΊ Previous Video: https://youtu.be/zA-Da6CERqk βΊ Subscribe: http://bit.ly/...

Did he hire Joseph as coach π€
fair enough
speaking of fortnite
oh no.
I wanna get factorio but it's $30 :(
Why did I buy rocket league
I thought it would be good
Buts is absolute shit
At least on PC
maybe you still fall in the refund window?
same
I keep watching some fun challenges on codingtrain, and keep thinking I want one
Would make structuring projects so much easier
It really does
Maybe that's what i need to get my server-client rolling 
Like during the dev discussion yesterday that you weren't in I wish I had one so I could write out architecture ideas
I may have an "ink" one
Ink?
uhh
I have no idea what it's called
I dont wanna say liquid chalk
cause that's wrong
That's the exact one i have
somewhere... if it's not dried up
we have a whiteboard as well
We have lift off
@bleak lintel still older than you
you are the 10 year old fornite coach of the guy from before
juan even estimated you four years old
ok show me then
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int gps_eval(char *dataset, float *coordinates){
if(dataset[0] != 'G'){
return 0; // not a gps dataset
}
else{
float longitude;
float latitude;
float altitude;
char *ptr;
char delimiter[] = ",:";
ptr = strtok(dataset, delimiter);
int counter = 0;
while(ptr != NULL){
if(counter == 2){
coordinates[0] = (float)atof(ptr); // LONG
}
else if(counter == 4){
coordinates[1] = (float)atof(ptr); // LAT
}
else if(counter == 8){
coordinates[2] = (float)atof(ptr); // ALT
}
ptr = strtok(NULL, delimiter);
counter++;
}
return 1;
}
}
int main(){
char dataset[] = "GPS,LONG:1.34545,LAT:34.24234,SPE:34.354345,ALT:35345.234";
float test[3];
if(gps_eval(dataset, test) == 0){
printf("Nothing was found");
}
else{
printf("Found gps\n");
char c[50];
sprintf(c, "%g", test[0]);
printf(c);
printf("\n");
}
}
vim nix-reply.txt
lul
CTRL+C
CTRL+V
Wow Nix! This is awesome! How did you make this?!? That's wonderful π
It's almost as he did it
CTRL+Shift+C then
i made this because people from another team begged me for a way to parse my gps format
"GPS,LONG:1.34545,LAT:34.24234,SPE:34.354345,ALT:35345.234";
which is as you can see really hard to parse
ok
in fact they are programming a thing for the thing of my team
and i told them that it is physically impossible for their thing to work as the rocket would move to fast for them to receive a data set twice
but they dont believe me so now i have to write this parser for their thing which gets integrated into my thing
which wont work and bascially make the mission fail
i am looking forward to telling that to them
Integration wew
yes
i integrate my thing into their thing so they can integrate their thing into anothing thing of mine
fancy right?
memes?
memes broke.
aw shucks
new chrome ui
i use FF only since Quantum
quantum?
basically Firefox 57
Quantum is a Mozilla project encompassing several software development efforts to "build the next-generation web engine for Firefox users". It includes numerous improvements to the Gecko web browser engine of Firefox, largely incorporated from the experimental Servo project. ...
Quantum was a set of projects to give a new engine to Firefox, for Firefox 57
i kinda like it
ye
ooh
its a fairly big improvement
I noticed the chrome thing on phone
but how do i delete the thumbnails?
But preder ff on desktop
NO X BUTTON
oh yeah Chrome on Android got revamped too
oh wait i found i way to remove shortcuts
also my Discord app has new typing indicators
on Android I use Firefox Focus
what OS is this ?
i dont use arch btw
:P
(This isnβt meant to be a complete list of events during this time period)
At t = 4 P1βs time slice expires
At t = 10 P2 executes a command to read from disk unit 2
At t = 15 P3 is swapped out
At t = 17 P4 executes a command to read from disk unit 3
At t = 20 P5 is dispatched
At t = 25 P6 executes a command to read from disk unit 2
At t = 28 P5βs time slice expires
At t = 31 P1 is dispatched
At t = 33 an interrupt occurs from disk unit 2; P2βs read is complete
At t = 40 an interrupt occurs from disk unit 3; P4βs read is complete
At t = 42 P1 terminates
At t = 43 P3 is dispatched
For each of the following times: 21, 35, 44, identify which state each process is in. If a process is blocked further identify the event on which it is blocked.
anyone know exactly what this si asking?
https://www.coursehero.com/tutors-problems/Computer-Science/9054556-hi-can-u-please-send-me-the-answers-for-the-questions-attached-in-the/ this looks similar?
you can only see a couple of the answers but it might help?
hmm
this is what I came up with
21: P5, P6, Ready/Running. P2, P4 blocked for I/O, P1, P3 Suspended
35: P1, P5 Running, P3 Suspended, P4, P6 Blocked for I/O.
44: P1 Suspended, P2,P3, P4, P5 Running, P6 Blocked for I/O.
hope thats not aimed at me... i just copy pasted your thing into google
Ye
@tame terrace hey, you know this one? https://www.youtube.com/watch?v=IwqGgrgqpLw
NEW EP "Barada" out on 29.11.2013 - incl. "Barada" & 3 cover versions: 1. Barada; 2. Wake Me Up (Avicii); 3. Roar (Katy Perry); 4. Get Lucky (Daft Punk) http...


I'll listen a bit later
π π
probably because it's considered a vulgar abbreviation
Noice
Nah
Its news bruh
π
I also came up campus without eating breakfast
Life π©
I also didnβt eat breakfast
But luckily my campus has a store on it for stuff like that
Lucky you
Ye. Feels okay man
i never eat breakfast
I normally just eat one meal a day
never hungry in the morning
one meal a day sounds terrible
Itβs quite nice
@narrow nexus It's random, but you do get to choose someone you'd prefer on your team. However it's not a guarantee
oh right because i don't have much experience but would want to participate
Go for it
Ayyy
def foo(bar:str = "hi", bar2:int = 5) -> int:
print("hello world!")
``` becomes
public static int foo(str bar,int bar2) {
Console.WriteLine('hello world!');
}
we almost there
Wonder if it might be easier to generate a C# AST from the Python AST and then work from there
Official video for the second single from the album TIME TO TANGO. buy album @ Amazon: http://amzn.to/1hPqsJl download track @ Amazon: http://amzn.to/1GfIYqg...
play with sound muted first, then enjoy the surprise π
Yes, those 2 do not go well π
I love that top comment
Grandma saw the video and said "My, I'm glad you finally listen to good music". I didn't have the heart to unplug the headphones.
"What kind of instrument do you play?" "I play the Satan staff"
The satan staff is my favorite too
Well, I've been not applying to college for two years now
but now everyone I talk to about it says that they accept pretty much everyone
So I applied for a CS course
worst case scenario I get turned down and I can just apply again
any pro tips for college if the second worst case scenario happens and I get accepted?
π
thank you
I did terrible in high school but I somehow graduated with a diploma
and the least essential academic core course and least relevant science
I would def
Suggest
going to community college.
If you had less than decent performance especially if you don't understand the foundation material.
That's my just 2 cents.
But uh
Has anyone heard of Neural Lace? Apparently they are working on injecting a mesh into the brain that allows them to somehow download data to your mind.
@lost hornet They kinda lied to you. They don't just accept anyone, but community colleges pretty much get paid to take in the stragglers and returning patrons. Most professors are hit-and-miss as well, so you have to go in with a well-opened mind and a will to do without help in need-be.
Take it from me, the one-year-of-college drop-out who makes a living in IT now with no certs.
Man the reactions to that were weird
lmao π
There's literally people complaining that theyre moving to OpenBSD or whatever because they dont want a SJW os
??????????????
wew lad, more triggered edgelords
"This guy wants to stop telling people to get retroactively aborted, I hate this social justice bullshet!!!!!!11!! AAAAAAAAAAA"
I mean I won't lie I find his rants amusing, but like
it doesn't take a high IQ to realize that it doesn't foster an inclusive community
i want to be able to be in a toxic culture, waaaaaaaaaaaaaaaaa. waaaaaaaaaaaaaaaaaaaaaa. i want my toxic culture back so i can be a piece of shit waaaaaaaaaaaaaaaaaaaaaaaa π π
I was reading comments like this guy was like "How many horrible anti features or bugs were avoided because of his attitude?
And it's like, dude, you can reject a patch without telling someone to get aborted
I've seen multiple people complain that the kernel will go to shit without him being abusive
I highly doubt it
same
But what if I like being a piece of shit?
That's soooo dumb
π€
honestly it will likely improve
Not being a shitty person doesn't mean you can't be assertive
because his baby can be moved into the future and not held back
@lilac glade you should get that fixed
You can be firm, yet tactful
^ yee
For some reason that's a distinction some people just don't understand
@stark prawn But there's nothing to fix.
Like they seem to think that the git logs are gonna have trigger warnings in them
well, some people feel the need to be edgy and exclusive because they're shitty people and they want to be allowed to continue to be shitty and not grow up
and so any toe across the line of respect is "evil"
sigh
It's like how they announced that Python was going to phase out Master/Slave terminology
I don't care how people really feel about the change itself but
the things people were saying
holllly crap some people are absolutely insane
yup
They think it's all part of a grand communist conspiracy
And then you had people quoting like things from Hitler's rise to power on what they were doing to language or whatever
like calm the hell down
right?
And you just can't reason with these people
like... that's a bit of an overreaction tbh
A bit?
Humans dislike change
i think maybe you're projecting some insecurities
There are industry standards in electronics named after master slave
Yes of course
You will never get rid of those
Of course
yeah, and that's fine
and I don't particularly care either way
but the fact that some people are actively upset about it, like up in arms, is weird af
for what it's worth the whole master slave thing showed some people were PC warriors and some were toxic pieces of overreactive easily triggered far righters.
so
(especially in the context of the internals of a language)
Eh, it's whatever, to some people any attempt to lean towards a more inclusive environment is an affront to their existence
shrugs
nah it's cool, you're totally right
Heaven forbid society progresses and technology has to keep pace π
:P
π
π

A deer just crossed the road 
You mean robo deer

Hurr durr
o.o
I will not use udemy, nor will I play LoL
xD
but do you associate with men at campus?
THANKS ANTS
THANTS
Fucking Look Around You.
Comedy gold π
Nothing beats a good bit of intelligent calcium
glad someone appreciates my obscure otnames
It's such a good series
Hostel internet too bad ;(
No Bisk
It's like
Constantly at the worst point of my ex wifi
It is so slow pip refuses to make a valid SSL handshake
You can change the timeout
Yeah but if it can't even do SSL handshakes because of speed how will the download rate look like :(
Is it just pip that's so slow or everything
Ah, I just use 4g when not at home
Apple ditching display of EV certificates
π
Now we'll never know who has an extra Β£150 to spend on a certificate :'(
Xd
spoof EV certs?
i think it's stupid to call https secure like browsers did, it gave power to scammers who siad their site was secure and real because of https
@stark prawn firefox at least never called https secure, they called http insecure
Chrome does the same now
but yeah, slapping down EV's is a good move
more than one CA has issued bad ones and how they get presented gives a false sense of security
Uhuh
there's literally no advantage to an EV
Β―_(γ)_/Β―
the only people who don't believe that are SEO experts
"GREEN BAR GIVES CUSTOMERS CONFIDENCE! LESS SHOPPING CART ABANDONMENT! INCREASE CONVERSION!"
green bar can be deceiving
How to teach yourself hard things
julia evans is great
https://youtu.be/ZN0BjN3wGEU It's beautiful
Today I show you how to make the world's most indestructible iPhone case. This case is so strong, it can even stop bullets. Sick of dropping your phone and b...
@robust sierra 
Anyone noticed how many series try to "enhance" and magically create pixels in low resolution videos
series / movies
My favourite one was in an X-Files episode I think
"Can you zoom in there?"
zoom
"It's a little blurry, can you enhance that?"
"Nope, that's the quality that comes off the tape."
or smth
Realism
In the X-Files

Good series, watch at least S1-3
well, everything is better than the infamous "two idiots on one keyboard" from NCIS...
although I generally liked the show otherwise
New iOS chrome Ui π¦
why wouldn't you use safari?
Because you can use a browser that is not safari edge of is?
No you can't
Not on iOS
All browsers on iOS are actually just safari under the hood.
nix that wasn't my question
Even better, they're OLDER versions of safari than the actual safari app
like i use safari on my mac and iphone because it works very well
and i don't see why i wouldnt use it
Apple does this to prevent competition on their app store
It's actually written into the submission guidelines
I think it's bonkers that the EU allows this after they slammed down on Google and Microsoft for it
I just liked the chrome ui mire
But now chrome and I are no longer best friend safari is my friend now
Nah Iβm on that 11.3.1 JB life
@tame terrace I'm actually interested. Is their a super simple solution to the code-jam practise?
To separate the good from the great coders?
except for remembering to add a damn docstring
minus the docstring, of course.
Mine was a few lines... Not very elegant
I think the best one I saw was like 2-3 lines of code
You don't need a docstring if your code explains itself 
just wanted to say, the ugliest was one line
yeah, the worst solution was a oneliner :/
and you always need a docstring.
I don't make the rules Β―_(γ)_/Β―
I didn't submit a one liner!
PEP257 does
And I'm quitting the jam anyways sadly :(
who neds peps(i) π
did you get someone to help with that?
A few people made 1 line solutions, but those are all really ugly for real world situations
I forget how withdrawing works again
yeah, it involves using a slightly lesser known dictionary method. :)
see if you can figure it out
:(
π
I'm guessing byte wrote it?
I'll go to bed.
By the smirk
:0
but yeah he wrote one of the very good solves.
I don't know where I need to split off...
Like do I still do a split.
Maybe a zip?
Dict(zip(list))
Mmmm
:(
whatever, don't spoil it for the people who might still sign up in the upcoming days.
Good night.
What do you mean?
I post all my answers in 4chan
I deleted one of your messages because you're on to something. go look into that.
you melt chocolate with your mouth obviously
gdude melts chocolate in a fancy way.
o.o
hot
Are you hot by any chance?
very
You say hot a lot, is there a reason for this choice of word
sexy, perhaps?
Gwyn 
i mean
there's a reason she has an orange sign that players put down that says amazing chest ahead
idk i like the term hot
like that's cool
that's hot
idk.....
i have weird mannerisms
How to melt chocolate? I'm dumm
Put chocolate in mouth
Instruction unclear, got fridge coolant in mouth
Nice, at least you're not hot
Instruction unclear, melted a hole through the fridge
Got it
shit wait? if the chocolate melts in my mouth am i hot? is that bad ;~; pls send help
it does
like other people's showers. like you know when you stay at someone's place and you have to figure out how to use their shower. it's function is mysterious.
o.o
weirdly only ever had that problem at the gym, not at peoples houses
youd have thought the gym would make it more obvious since more new ppl use their showers
that is a good point
Usually it's press the button
and hope it's not freezing or boiling
What is mysterious though, is how some people shower in boiling water and others freezing
never seen a button on a shower in my life
Yes.
wow that looks like it's out of a saw movie
ye this is a horror movie
I always press buttons
They added a button to each bus stop sign with the text "information" above
i forgot about swimming pools
i've seen showers with buttons there
I pressed that button so fast
not even considering the fact it could be a hotline for bus schedule information
I like buttons
they're connected to a screen and when you press it, it reads out what's displayed there
i.e. current time and date and the next few departing busses
That's what it did
I'm gonna put a button in my shower. but I won't tell anyone what it does. 


alarm buttons here dont' do anything when you press them anyway
you need to hold them
Ok, I held the elevator alarm button
imagine but dialing the elevators alarm line
"Hello, this is the elevator service hotline. Did you try turning it off and on again?"
My elevator was stuck halfway past the lowest floor
but where does it elevate to? π€
Or an elevator into a lemon juice pool
Acid would be too super villain
Therefore, natural acid.
a secret elevator to your man cave
man caves are more fun than woman caves tbh
Was it real if you were invited?
hmm
The man cave is where the dungeons and dragons table is, the magic the gathering cards are stored and the fridge is stocked with beer.
Just like i have not been to a real womans cave 
i play dnd and magic and i drink
i'm excited for next week, guilds of ravnica prerelease
or beeer (with 3 e's)
yeah boi
now I feel like I need a man cave
to the other bathrooms :D
"Hello family, I'm showering just passing by"
I imagined it floating through the kitchen where people were eating
π€
and you just wave to them as you float by to the next bathroom
one of those fully glass elevator shafts
I don't live in a chocolate factory, flops
my elevators don't just "float around"
haha
:(
chocolate factory sounds fun o.o
Why you gotta crush my dreams
maglev elevators
I've always looked at you as the Willy Wonka of Python
yeah but a glass elevator powered by jets is an incredibly irresponsible idea.
And you dont even have a floating elevator
at least make it out of something sturdy
transparent aluminum?
def float_elevator_to(dest):
...```
We always teach kids to not limit their imagination
And here we are
Saying we can't have a floating elevator shower in our own home.
i mean..... you could
just... maybe it might not be ideal if you're just soaping up, accidentally hit the button with your elbow, and end up floating naked in a glass box above your house...
that would be hilarious in retrospect tho
elevator... shower?
yes?
Letβs say in a story youβre walking through a crowd, and suddenly youβre encircled by 5 men in like navy seal combat gear - everyoneβs ducked onto the floor so its u and them standing, and theyβre about to all shoot at it....
Is it cooler if... suddenly 5 shots ring out (maybe together) from hidden snipers and they all drop to the ground dead....
Or their bullets ineffectively bounce off u?
Last one seems ridiculously unlikely
First one also unlikely, but less unlikely
What about 2 sniper shots which both take out 2 (good angle)
while you use the distraction to attack the last? 
i prefer the first one
like the story could be about this unseen guardian angel who's always following the protagonist
and eventually they get all paranoid and crazy from being stalked all the time
the second one sounds like a superman origin story π
Itβs not actually for a story... itβs more a euphemism for my bots
Cuz I realised the way I coded my bots, they all know exactly what all the others are gone do
So if I sell some to someone else, the ones protecting me can see what his will do and act ahead of time to stop them (ie kick them all from the group)
Or I can just make myself immune to all my bots
Itβs just as dramatic as it sounds, if not more so
sad
Why sad?
looks up the meaning of euphemism
Zwack why are you a pleb again
Because I wasn't contributing to the server like I used to
Life gets busy
But it's alright
Yeah same
hi
If that's you, Arc, you might want to lay off the coffee
No u @plucky ridge

<
lmfao
<
So I didn't participate in the previous code jams. How seriously do people take them? Is it any point in joining if I will be very short on time the first days? Or are these things somehow put into consideration when teaming people up.
If you are short on time on the first couple days it isn't an issue
As long as you maybe show your face for a bit and meet your team you should be fine, if you can try discuss some stuff with them, you still have time after a couple days to get something done yourself
People take them seriously but they don't work on them 24 hours or anything, they just put their free time towards it
people have to show their face O.O
metaphorically show your face gwyn
kek
Good to know. Is there any matchmaking involved, as in will I get grouped with people with the same level of commitment?
It seems interesting but I might be busy and don't want to ruin anyones day.
I would believe (without inside knowledge) that the matchmaking will aim to compose teams that have members comfortable with all of the roles (i.e. lead, dev and creative), and then do the rest kinda random.
Maybe pre-sort them by assumed knowledge level to avoid having a team of experts vs a team of newcomers
There's also a question whether you want to voice chat in the sign-up form, which will then probably affect the pairing too
Okay, is there a option for general comments in the sign up form?
Yep, along with our qualifier code, we ask for you to input your preferred team role and we ask if you have any requests or comments
Okay, I probably should have checked out the form. Assumed you had to solve the qualifier things before you got that far. Thanks for the answers!
No problem!
wheeeet


Immersive Engineering Garden Cloche FTW!
The cloche is nice, yeah
to the guys here who studied computer science, any of you do stuff like transforms (ie fourrier) on the course?
Fourier transforms are more common in engineering than comp sci
^
Just an example (cuz other ppl I asked confused transforms with transformations)
But like donβt u learn them so that u can do graphics stuff?
also in physics
you probably want to learn fourier transforms if you go on to an ML career
I mean
when most people use computer graphics they are using a tool and not dealing with the low level maths
fourier transforms are necessary whenever you want to convert anything that varies with time into frequency domain. doesnt show up in CS much
Ok
good intro to graphics dev is openGL TBH
cos its quite low level
well, low level relative to python anyway
Nice photo
Somebody should make a program that lets you make an image from what's in your screen
Get to it then
lmao
But making a photo of a display works for every kind of display.
technically this is still a screenshot since he shot the screen with his camera

java doesnt work on dos
... right?
checkmate
well call me a bicuit
or even a biscuit
JDK1.3.1
Oh hey i have internet
spent my downtime playing through bioshock infinite. And I have so many questions
Ive played 1
2 half way
They're not really my kind of games
I just had nothing offline installed
I want to make a bot for Piano Tiles 2 on my phone using pyautogui, is there a way I can look at and be able to click the screen from my PC? (I have an iphone btw)
"If you haven't jailbroken your phone yet, you're going to need to for this to work." oh rip
i guess i'll just use bluestacks
tbh... you could probably sideload a screenshare app or something?
(i dont actually know what sideloading means but i remember it from some jailbreaking article lol)
although your bluestacks idea is definitely better
https://www.apowersoft.com/phone-manager im just testing this
to see if it can click
its a file manager...
If you're using an iPhone, forget about doing anything interesting without a jailbreak
That sort of thing is possible on android, though.
don't jailbreak would be the answer
if you want a hackable os with no risk to the device, just don't use apple products
android devices are more openβ’
if you want to hack with it, just don't get a expensive phone, buy a cheap one somewhere and knock your self out with it
would an old kindle fire suffice?
ios jailbreak is fun tho
i have one of those
I never looked into the kindle more than just using one, but I think you can jailbreak them
@sullen thorn fun but dumb
its android so yeah you can
the last time I saw someone hacking with a kindle was where they used a kindle as a TTY
It actually looked pretty awesome
they had a raspberry pi and the screen was a kindle
but it was one of the real ink ones, with a keyboard on the bottom, so it was a almost fully functioning linux device
pretty sick imo
"This version of the Kindle runs the older Android 2.3 (Gingerbread) by default; a special version customized specifically by Amazon called Fire OS."
i still have the ink one with a keyboard...
ur saying i can transform it with a rasberrypi?
*raspberry
I don't know how but yeah I believe it is possible to flash a new image onto them
E-ink screens still aren't really standardised
It'd be easier to tie a kindle to a pi than to write drivers for the screen
i think my kindles charging port is dead
rip
its stuck in a loop of turning off and on
while im charging it
You could probably solder a new one on pretty easily
for reasons beyond my comprehension, i'm trying to upload an empty file with only 1 line in it to github. problem is, it keeps turning it into 2 empty lines, somehow preventing my stupid script from reading it properly. is there any work around?
That's one line
There's probably a newline character in it
oh?
All files in version control should end with a newline character
how can i fix this?
Why would you?
because my stupid script needs it to be absolutely empty
Maybe fix the script? Why does it need to be empty?
it's gonna read some data from there, and write some input if it's empty
Can't you just create the file in the script instead of checking it into version control?
o fug, you're right
It sounds like a data file, so.. It probably shouldn't be in version control
wdym version control?
Git
i'm pretty new to both git and github, could you explain?
sorry for the stupid questions
Sorry, I'm in a restaurant, but feel free to ask your questions in #tools-and-devops
np, enjoy your meal. thanks for the help
Version Control is a way of managing projects. It allows you to track changes, create new branches of the project, etc, etc
Git Basic Concepts - Learn Git (A Fast and Flexible Version Control Tool) in simple and easy steps starting from its installation, project creation, file addition, committing, status checking, tagging project, merging files, branching projects, debugging project, sharing proj...
I'm trying to use kindle fire utility to root my kindle fire, but the drivers don't work with windows 10?
Can I set up a windows 7 VM then connect the usb to it?
yes
VirtualBox does USB pass through
should do the trick
you'll have to specify the device manually though, i think
And turn on virtualization in bios
You'd have to do that anyway though
hmmm, not looked into that
perhaps it was on in my BIOS by default
whatever the option is
You're not talking about VT-X are you?
For Intel it's vt-d and vt-x
i think all you need to really enable is VT-X and you can do USB pass through
vt-d is for regular virtualization, vt-x us for Passthrough
But on older machines vt-x, or the amd equivalent, might not be there
VT-X was supported by P4's in the mid 00's though
that'd have to be an ooooooold PC :D
or one of the lower price bands
I got em mixed up
It's the other way round
My laptop has a 3rd gen i7 in that that doesn't have vt-d so no Passthrough
Linus has a video where he did 6 work stations in one pc running off VMs and he mentioned some setup for giving them pass through
But I donβt remember what it was
He did 12 or 13 later iirc
Yeah
The important part was that he mentioned doing something in one of those videos for pass through and how he set it up
I've been thinking about buying a second gpu and use looking glass to get near 0 latency displays on the primary display
But i can't really afford it
When @tame pier stops being stingy with his 1080 Iβll be picking up a second one
coursework is annoying
such a basic task, yet i didnt learn anything in class so i cant do it
programming is something you learn for a large part by doing it
yeah i realised that the other day
like, my teacher would say shiz and i wouldnt get it but i would test things out and would get it pretty quick
CS courses donβt really teach programming. They teach critical thinking
cs is mostly math
In some aspects
The only real math classes Iβve had is security and algorithms I think
I picked se because it's more focussed around programming instead of maths and such
I tried to do an SE pre-master as my minor
But calculus and discrete maths didnt' work out for me
Think Iβm gonna do some form of biology for my masters
Maybe computational. Maybe marine. Who knows
HELLO JOSEPh
Finished my JS project. Who wants to@code review it
wut
that's a lot of javascript for a php file
for (let x = 0; x < littleavg.length; x++) {
You shouldn't use let in code you aren't gonna transpile
it actually doesn't have any functional php in it. it's a valid html file if you remove the empty <?php ?> at the top
Yeah
I just used PHP storm and it auto generated the brackets. Didnβt wanna remove them
alert("Order successful, processing order");
Because i mightβve needed it. Turns out I didnβt
alert can block the entire browser
and the behaviour of alert is consistent across browsers
Yeah. Was one of the requirements to use alert
You shouldn't use let in code you aren't gonna transpile
Spoken like someone who cares about Internet Explorer
If they use IE. theyβre the bug not my art.
javascript has something similar to f-strings called template literals
Ooo
formatting of the code is quite strange
This code is a cluster fuck though.its functional but not my finest work
You could use a tool like eslint to make it better
why are you adding + to all these values
To make sure theyβre processed as a number
temp = +temp / +littleavg.length;```
if .length isn't a number you have different problems
Was getting NaNs randomly. Made them all integers everywhere to fix
both chrome and firefox have good built in debugging tools
Was my first real project in JS. I hate it.
It can be beautifull, but you can also go in it without caring and create a monstrocity
Yeah, JS has basically 0 opinion, it doesn't enforce any good practices on you
which is good and bad
Monstrosities scare small bugs away
at least you are using ;
seen to many people complain about bugs they didn't know why they got it
when a line was interpreted as a continuation of the one before it
I forgot ; existed until I saw phpstorm giving me the yellow square
Been too much python
is there a reason you are selecting the same nodes multiple times
Where
like selecting group and item
The node you get represents the node on the page
If the node on the page changes
The node in js reflects that
Honestly Iβm not super sure. Probably not.
Why? Whatβs the correct way?
Add them through js
Wdym
Not that there's anything actually bad about it though
Like what's bad about it except that the semantic distinction between markup and functionality is broken
select the node, and add an onclick event to it
Oh
It's also bad because you could trigger a function before the js is loaded
fair point
+xhr.responseText + " days";
Here you use + to make sure it's an int
And then add a string to it
Yeah. That part was kind of weird. At one point it was gonna be that value + another int value
But I stopped doing it
having all input methods have the same name is strange
class would be a better place to do that
TIL Js has classes
Oh.
you are using let for values you aren't changing later
const would be a better option there
transpiling is such a meme
enjoy non-human readable code
that is horribly inefficient
he's already using let
oh boy
What?
π
I was just poking fun at your earlier comment Grote :D
How is the transpiled code not efficient
And readability doesn't matter, that's why you have sourcemaps and you don't need to read the code that was transpiled anyway
Why do people always talk about food when gwyn is in the channel and I enter it
Why
you rearely ever deal with the code
You deal with the normal readable code, then transpile it into something that is supported by more browser
like taking one expression to another provably equivalent expression in a different language while maintaining any semblence of..... idk
it's just i'm good
thanks
i guess
If you want to target iphone users you can't use any modern js for example
that's true
So you transpile it to js that iphones do understand
it's because i bring the gloriousness of food
OH i should share my uh.... thing i made last night
just for you nix
:P
that makes sense Grote
FKIN HELL GWYN
O.O
bbq party with some coworkers
has been a nice evening
that's awesome!
@wild yarrow whatd u make for nix
oh i made mac n cheese last night so i shared a pic
:P
i think i shared it when you and lizard man were there? that sounds right
prolly idkl
i kinda wish the ringed knight straight sword didn't have this graphical glitch for the weapon art



