#ot1-perplexing-regexing
1 messages · Page 315 of 1
any useful change in your fork?
Do you actually use straight up vim to write your code?
Or do you use an editor/IDE with a vim plugin?
straight vim
well, vim with quite a few plugins
though i can use default configuration when i don't have my setup
tried vim mode of a few editors, but too many habits to change
Vim appeals to me as a nerd, but as someone who wants to do things I don't have the patience to learn it - is there any reason why you use it besides you always have and thats the way you're most efficient?
I'll just stick to vscode and whatever I have got if I need to do any remote cli-only work
first i was curious, then i stuck to it because i like how i can edit text in smart ways, and how extensible it is, and how i can always use it whatever the conditions
like, just friday i wanted to understand why something was doing wrong in the preprod env in aws, instead of having to understand the difference between my local env and there to reproduce the issue, i could edit the code directly there quickly to debug and test a fix directly there
i have my conf on github, so setting it up on a new machine is quite fast
and if i just want to do a quick edit, the default config is pretty usable when you know vim
@frosty berry @jagged fog I shouldn't say anything with my 40 stars then...
yeah this thing https://github.com/0xf0f/audio-player i kinda got distracted and stopped working on it for now. most recent stuff (including an actual working readme) is in the dev-pipeline branch
Which OS does it work on / are you targetting?
oh nevermind i havent pushed the readme 🙃
all of them
tehre was a post about in #303934982764625920 ages ago
i'm not unhappy with the 32 stars on my oscpy library started last year
it's pretty far from the 9k+ stars on the kivy project though 🙂
how do you break up with someone
nooo retro month ended :C
rip lmao
@rough sapphire "As it turns out, I'm attracted to my computer and you don't play Crysis. GG NO RE"
is crysis still a meme?
never had something powerful enough to play crysis myself when it originally came out..
only ever watched it on youtube
I'm good, you?
I have awoken!
and I cannot sleep, it's 3:50 am here
and i didn't sleep enough and wokee up with a headache
cut the screen
would you recommend a box cutter or scissors?
I got to work today and the entire premise was closed, including the outside gate
turns out the guy that's supposed to open just never came in at all, and is probably partying in dublin still after the football
guess you've got an easy day /shrug
oh fair enough then
need to show him how the site looks with squarespace anyway
"I hate it, I want the 2002 one back!"
Haha, no, he likes it
you guys change this channel's name frequently
yes, about around exactly every 24 hours
yeah
@royal lake (the bot) selects them from a pretty big list and changes them every day
I mean... yeah...
i'm pretty sure this is a discord for fly fishing
i mean that's why i came here... i dunno about you
i've tried fly fishing but no matter how much i sit there in the garden with my rod i never seem to get any bites
except mosquitos#
help guys I cancelled my expensive internet contract and my voip phones don't work anymore
have you tried plugging them into the wall socket?
the one with 3 holes (2 in some countries)
my phone has power yes
oh no, you can get internet over power these day
i've heard those what do you call them
sys admins?
talk about IOPS all the time
internet over power system
nearly every community i've been in has had this kind of jokey stuff
i've got like a decade and a half of practice
hey g
check out this from a journo with political connections
Asked a Tory source if I should cancel my dinner plans.
They replied: “I’d just start drinking already."
120
you heard that the Tory party is threatening to deselect any MP's who vote against the government?
currently the list of those who would vote against is about ~25 MPs
would trigger a general election if they actually tried..
Do you happen to have a link to a list of the tory maybe-rebels?
I can only really remember Gauke
Oh, and Grieve
i think i can dig it out
twitter goes so fast
Here you are. My colleague @Peston has the full list of Conservative rebels, they are:
P Hammond
G Clark
Lidington
K Clarke
Gauke
S Hammond
Sandbach
Steve Brine
Vaizey
Bebb
Rory Stewart
Soames
Grieve
Spelman
Letwin
P Lee
Gyimah
Harrington
Burt
Greening
S Newton
A Milton
453
1011
there ya go
soz for delay, was watching some Penn and Teller Fool Us
great fun to try and a) figure out the tricks b) spot fuck ups c) try and decode the coded speak penn uses to explain what methods were used
also great magic
Me with my sponges fooling Penn & Teller. NEW DVD COMING SOON (21 OCT) for more sponge ball magic: Facebook: https://www.facebook.com/xuliomerino/ Instagram:...
foam balls are like the most basic / dull of magic tricks, it's like kids stuff
but this guy is literally the world master of it and his performance is incredible, worth a watch
thanks for the link
no problem
people taking the piss out of this new online "Brexit preparedness" website the government JUST made to help businesses / etc
nice timing, throwing that up like 2 months
I'm rather partial to a glass of cadaver water myself. Thats why we need Brexit now 🇬🇧
saw that vid of the sponge ball dude earlier
how do you reckon he does it
are those balls compressed into tiny pellets or something
that he can like maneuver around with sleight of hand and then they pop like a zit and expand to full size
i have no fucking idea
it's possible that they are compressed inside each other
and he's using some fucking ace slight of hand
@undone berry, someone i follow got banned for 48 hours for suggesting we use humans as a source of water
I'm glad Twitter is dealing with the serious issues
Source of water 🤔
You can see one of his passes clearly in the video
but, video replay is cheating with these kind of things
Later as well, in the "always got three" thing
he is very good
and he's probably using a combination of like, existing ball magic and some new techniques?
idk
most interesting ball trick i've ever seen hands down though
o_O
@rough sapphire ?
well hi, i'm the manifestation of what you might consider to be "god", or perhaps eternity.
your antics and whimsy are... wasting entropy.
Yes it’s me.
It's Joseph's Castle though
I'll tell you as soon as I find out
avoid all eye contact: he is known to laser people
What're you doing here anyway, void
@undone berry, while Boris was giving his speech outside parliament in all news footage you can clearly hear a large group of protestors yelling "stop the coup"
plus he said "i don't want a general election, and i don't think the people want a general election"
which is funny considering the Tory MP deselection strategy if they don't vote with the whip
*outside number 10
Boris is genuinely like a fat greedy little five year old - the kind of kid who says he hasn't had any chocolate when its smeared all over his face- awful person, and I have no idea how people find his blundering stuttering shitty personality charismatic
The fact he isn't even polling poorly makes me want to just fucking die
he's british trump
#StopTheCoup chants so loud you can hear them over @BorisJohnson's statement! https://t.co/H5JGokZckp
934
3138
apparently the audio from ambient mics had the volume of the protestors louder than boris.
He's not even British Trump - Trump at least offered working class people a big lie of the fact he'd bring back jobs. Boris just shits out ancient rhetoric about police, prisons and schools like every other politician
That is a fantastic video though
been following the bloated sack of jizz for the better part of a decade and a bit
he's pure selfish grift
The initial Brexit vote was when I started following politics properly. And its been pure shit since then
and except for 2017, not even interesting shit
i've been following since around the 2008 financial crash
at that point i was like "why did this happen? how?" etc etc
ended up burrowing into the deepest of fucking rabbit holes
since i mean all that ties heavily into politics / politicians etc
then i was reading all major papers daily. super unhealthy.
i gave that up
I gave up political Twitter a few months ago; it seems to be mostly advantage
i do twitter for jokes. i gave up on trying to have proper political discussions and stuff a while ago.
i rant a bunch but at this point why try to make reasonable arguments founded in reality?
I've never tried to engage on Twitter, I just meant following pundits and stuff
ahhh, i never engaged on twitter politically
mostly just other communities i was in, friends, family the likes
Yeah thats fair; I can see Twitter actually being a good thing when used like that
i spent enough years trying to do the good thing and engaging in political debate with the opposite side at parties or the likes and i wasn't a ranty wanker about it
it's just all a bit uhh....
when facts and the opinions of experts don't mean anything anymore and politicians opening ignore reality
I can't do it, I get too involved and then when I think someone is being stupid I start to get angry and insulting
nothing you can really do but take your hands off the wheel and laugh as you crash
i dunno if you've ever driven on ice
but i had a car accident on ice once
wasn't going fast but once it started i was like
"yup... well this is how it goes."
"fuck all i can do here, might as well enjoy the tunes."
I can definitely see why people elect not to follow politics
wellllll
The Telegraph (a newspaper that pays boris johnson £275k a year to write an article a week), is saying that if too many Tory MP's rebel against the government and vote against it, he'll call a general election on October the 14th.
which is obviously....
16 days from Brexit
it would be a way of forcing no deal brexit through
soo we CANT get out of brexit?
basically, all signs point to a car crash
i mean yeah, we can. we can revoke article 50
that's totally a thing that can be done
hOw
or an extension
enough MP's have to vote on legislation to do it
annnddd....
that's not happening
fUck
Best course of action imo is to call the whole thing off
the Tory party has also said it will "deselect" (remove as MP) any party member that votes against the Tory party (government) position.
atm that amount of Tory rebels is about ~25
which means Boris would lose a majority in Parliament
which would trigger a General Election
the two positions of 'just get on with it' and 'just cancel it' are the most worthless non-contributions to a discussions possible
yes
see, i don't mind regurgitating facts about the shit
i just can't be fucked with debate
my thoughts are the best thing is to do an extension and then hold a legally binding referendum that has "Remain / Deal / No Deal" or some such
but even then that's just...
tbf, being the person who just gives straight facts is generally a far more useful contribution to a discussion than arguing a side
yah
but we're in a post fact world
a top neurosurgeon who wrote part of a government paper on the impact of no-deal brexit
and deaths it would cause
was called "project fear"
by a government minister who
checks notes
commissioned the report
That was JRM on LBC right? Another fucking cartoonish stick of shit politician
why do i feel like puking after only slightly talking about politics
my belly no feel good
trust me
you follow it too hard for too long (like i did)
it just fucks you up
i only do cursory 2nd hand news for the most part now.
glimpse of twitter, few headlines
it's predictable at this point
Its amazing how little has changed since the initial vote
wait how long ago was the initial vote agian
June 2016
wat
i am much confuse
@gentle moss Is it possible to keep the crisis on for longer?
The crisis probably will go on for longer. The most likely path is that the anti-no-deal bill passes, theres a general election, then theres another delay.
Probably at least 6 months longer
you see, if it keeps on going, we wont leave eu which means everyones happy
Not really, because Brexit is a vacuum that sucks in all the attention from everything else
it won't make everyone happy, the uk's position in europe will be weakened terribly, even if they stay, they'll pay for the trouble
I think its possible that the damage will only be short term
depending on how long this bollocks lasts
not just in europe
in the world
plus if they don't sort out the N.Ireland situation (a.k.a. no deal) then we could see more fucking car bombings
that shit was scary enough as a kid
I forgot you were old enough to remember that
It was at its worst in the 70s right?
in ireland, yeah
but the bombing campaigns in the UK, specifically London, not a short bus ride from where i lived, were in the 90's
friends of mine almost died
well, i guess there were lots of terror attacks in the UK during the troubles
I really think the Troubles ought to be taught during secondary education
friend of mine (older than me) was with his mum near regents's park when that was bombed
Christ
it's weird to think that these posh twats with their expensive educations are probably less competent at running a government than me
someone who didn't go to fucking school
it only gets taught if you take A Level history
you have to take history for the first 3 years of secondary here
so they teach it then
it SHOULD be taught
it's just because most people in the UK never fucking saw a lick of it
light hearted digression: i was forced to make a BBC account to watch iPlayer on my TV
I guess the problem with teaching the Troubles is that its very difficult to cram into one unit of GCSE history
especially given that theres so much else that needs to be taught
the little school i attended focused far too much on ancient fucking shit
castles and kings
these aren't things that we need to know going out into a big wide world
knowing that Irish terrorists and British para's were fucking murdering civs over independence
that would be helpful knowledge right now
From what I can vaguely recall of GCSE history, almost everything was WW2+-50 years
yeah, because the whole shit seems to be written by rose tinted twats
"WE WON A WAR WE SHOULDN'T HAVE WON WE ARE SPECIAL"
I didn't necessarily mean WW2 itself, like I remember WW1, The Russian Revolution, and the immediate postwar era were main points of focus
i mean never forget and all that
All of which have a lot of value
except for the WW1 - no one gives a shit about the details of the actual war
not teaching modern history just set is up for where we are
my sociology teacher takes time out of his lesson to get us up to date about whats going on around us
pretty cool
At what level of education?
well that's a good thing
gcse
Yeah I agree
although I think it would end up exactly the same as 'citizenship' where no one gives a shit
how parliament works, how lords works, how government works, how elections work, how the EU works, how international trade work
even on a basic level
In fact I think thats what citizenship is supposed to be
part of this fucking problem is complete ignorance of the EU
and to be fair, i'm kinda part of the problem
i never voted in MEP elections
i don't even know my MEP right now
I distinctly remember being 'taught' about EU elections from the worlds least interested teacher via the world's most boring textbook
I mean, I don't remember what it was that I was taught
simple shit like
"we put in a bunch of money, but we work together to achieve greater things. plus the money goes towards bettering society across europe as a whole"
i remember voluntarily going to a financial education course (which i dropped out of) and we learnt stuff about parliament and tax and laws and other stuff
but i forgot most of that stuff, because i wasnt bothered lol
yay
queen not allowed in house of commons because she is not "common"
i remember that
because its stupid
a large chunk of the population who should all get in a fucking bin
https://tenor.com/view/viney-bin-jump-in-garbage-gif-7931660
no
it's not because she's not common
it's because parliament was SPECIFICALLY set up to rule
it was to stop the king / queen / whatever fucking up parliament
then what the fuck is the house of lords for
it's a check on the houses of parliament
the upper house
like the senate in the US
legislation ascends from parliament to lords and lords can send it back down if it's fucking bonkers
as has happened i think 8 times this year
which... is quite rare really.
i have been wondering what was wrong with this def is_square(n): if n/n % 2==0: return True else: return False
it took some time but i realised that this stderr test.assert_equals(is_square( 0), True, "0 is a square number (0 * 0)") is not really illustrating the problem
maybe if i do n*n
nah that still isn't it
a perfect square is a number that is divisible by itself
so i need to check for whether a number is an integral rather than even or odd
This is going to sound pretty bad but... am I too stupid to be a programmer? Like, I am really struggling with almost every obstacle I face in writing my program and I feel like I am progressing too slowly. Is this just what programming is like? I have no metric to compare my performance to.
I feel STUCK on this one problem. I know I will eventually work through it, but it's just taking a really long time. Like literally days just to finish one function.
once you've done it you know it though
future problems you come across will eventually start linking back to problems you've already solved, albeit perhaps in another manner or form
but, just like art (or just about anything else), it takes practice
that's all there is to it
True. Like right now I am having to do an enumeration using 2 different lists. My brain is derping hard.
stuff like that required something in my brain to click, at least for me
or you could try finding a "workaround", ie is it possible to combine the two lists, can you reformat it into a dict, etc
@rough sapphire you might be too stupid now, but like xx said, it takes practise. also, the brain can be trained to be more or less stupid.
but that's why you're not accidentally becoming a programmer with no effort
thank you
@kind cedar hello there
I'm alright, heading to work right now
and you?
Are you in Asia?
wassup
sup
@rough sapphire people seem to value me as a programmer, and i still feel like i'm stumbling on every little thing in my way, after doing it professionaly for 10+ years, and personnally for 10 more, plan on getting used to the feeling, it might not go away, and not mean that you can't be a programmer, i'm having a decent career.
thank you 👌🏽
and the braces are OFF
https://i.imgur.com/m88DwTD.png super comfy 
what are the options?
well i've got my delicate carpentry box for my raspberry pi AIY voice kit
but i have to start doing significant things to it
drill a massive hole for the speaker and button
taken enough time to get it where it is, kinda worried about moving onto that
just remember: measure twice, cut once, regret forever
@rough sapphire what does it mean?
you can use a framework like flask to create a website, yes
you could also use simplehttpserver
depends what you want to achieve @rough sapphire
Yes, a lot of websites use python
A website is a complex piece of software though, and python can only do some parts of the job, you need to learn other things to complete it
At the very minimum, you need html, and usually also css, js is not technicaly mandatory, but it's quite ubiquituous, and python can't really replace it for the front
Python is commonly used for the backend though
hmmmmmm
@tame terrace i remember the time you used an unpixelated pfp
is it a lemon Minecraft skin
sxm003, you really shouldn't make light
lemon has come down with a serious case of 8bititus
That's much better than Dean Town RSI-itus
haha
someone compressed him
8bititus is a serious illness and can cause serious accessibility problems
you can't take or make phone calls properly
hmmmm
Cover of Vulfpeck's "Dean Town" using NES sounds from AfroDJMac's Super 8-Bit pack for Ableton Live.
people can't understand you
that's serious
yeah
plus no one can quite work out what facial expressions you're making so social situations become a minefield
i am un understandable
i once suffered a case of 16bititus, but i got better
did you crash your kart?
now the server pfp is cool
why all the owners have pixelated pfp
and how can there be 2 owners
It's perfectly possible for 2 people to own half of something.
It's a role that can be assigned to multiple people
The highest in the role hierarchy
nah Ves, but my eyeballs did int rollover while looking at a monet
joseph has the individual owner status
Fun fact: They divide up the users by the order they joined.
every odd number goes to lemon, every even number to joseph.
Sorry, I did not know it would be that horriblke
I didn't play it before sharing it
ugh, I'm truly sorry for your ears
.
No, those headphones are on you
Using 200 bucks headphones on an 8-bit cover
That's like those audiophiles spending 5000 euros on their home audio system only to play 128kbps mp3's on it.
i'm not sure i own a pair of headphones that cost under £150
tell a lie, i have some £100 sennheisers that are literally just plugged into the piano upstairs.
Just buy Beats by Dr. Pepper man, all you need.
tbh i think i've purchased all my good headphones at airports
so i guess they're not TECHNICALLY £200 headphones
why would you do that to yourself
I'll have you know I play FLAC through my radio
only the highest quality sounds with my static in the morning
why would i do what to myself xx?
shop at an airport?
Heathrow has some very high-end products in it
no tax? yes please.
Are you secretly called Boris?
And currently herding your country off a cliff?
The "no taxes" part gave it away
Yes, that's what it looks like to the rest of the world
I wish Boris would defenestrate himself. I used to think of his as a bit of a buffoon, but generally ok.... now, he's just a ... I won't use the word, but it rhymes with the surname of the singer of that "You're Beautiful" song.
back in primary school we did a play where the bad guy was called boris bestinky
he invented a fake dragon that terrorised the kingdom then 'slayed' it to make himself the hero
the author mustve been a precog
hmm, reminds me of Dale Brown's novel Storming Heaven.... about a madman who uses airplanes in a terrorist attack on the US. written in 1994
wtf is wrong with ppl... https://www.theregister.co.uk/2019/09/03/idiot_poos_on_torquay_blokes_car/
most correct?
I feel like the Venn diagram of people who hit reply all and the people who click on phishing links is a circle
You'd be wrong, though
Lots of people click on phishing links and put in bogus information, knowing it's a phishing link
I know someone who knowingly clicks on phising links send by the IT department.
¯_(ツ)_/¯
Hello, we are acquisitioning your company. Please provide usernam and passwerd into info boxes below. Thank you for your company and our good will forward to next quarter!"
username: SOMEBODY_ONCE_TOLD_ME
password: THAT_THE_WORLD_WAS_GONNA_ROLL_ME
@rough sapphire
i do that!
we get support tickets come in with spoof pages
so i just fill them with junk like "eatmydick" etc
or, because some of them are so badly made and don't have a character limit, an excessively large amount of text
i have been tempted to write short scripts to flood them with data but then i remembered that it can also possibly be illegal
Jesus christ the bufferbloating is bad today
Like the 3rd time i pull the plug in the last 2 minutes
I am going to study Python for my software engineering degree...
It's not bad because we'll study some general CS stuff alongside the language.
The bad thing is that students near me will sometimes ask me about stuff when they have a problem instead of asking the teacher.
just pretend you don't know anything
I did that after second year of uni because I just couldn't be bothered
We had something like a poll about our previous knowledge in python and programming in general.
And I got baited into participating in it!
so it is bufferbloat then @glass gorge ?
did you figure out if it was your dongle or the router?
The day bisk mistakes the real deal as being a phising link
I still assume it is bufferbloat
And no, I havent talked to the landlord
So might be dongle, or router
I know he complained that his is sometimes slow and a reset fixes it, and same goes for my dongle.. @gentle moss
okay
to me that sounds like a memory issue in the router
like its state table is overflowing
buy a draytek
which is?
a reasonable quality but not too expensive router that can handle decent quantities of traffic
over wifi
2870 is probably overkill
not sure they still do 2820's
no i mean
it's hurting you
if you can afford to buy a medium quality router
and offer it to him
It's just 5~10 times a day I have to unplug my dongle for 1 sec
on like a "hey, our wifi sucks, so here's a good router"
I even wrote a script to give me a headsup when that is
Do you have a wired connection in your appartment?
Nope
thing is
we literally have a giant box at work full of old drayteks we don't use because they're out of date now
and also 2nd hand
i could be nice and mail you one :P
👀
I'd love to get rid of the thing, but it's not so bothersome that I'd buy a brand new router for it
I'm home like 2 hours a day
where i usually just code, which is offline
I got myself a cheap router, came in very handy when I moved.
Since I didn't have internet for about a month.
So I tethered my router off my phone.
ow
Used about 1.5TB of mobile data that month.
My parents have a fritzbox that was supplied by the isp.
But the house can't really handle the speed they are getting.
All the lines inside the house do 100mbps instead of 1gbps
That sucks
@glass gorge You share internet with your landlord?
That's strange, and somewhat limiting.
You can still setup a Pi-Hole
Not as DHCP
You can configure that per device
No, but can still hook up devices manually
Yeah, forget that.
Except DHCP
I only have 2-3 devices ¯_(ツ)_/¯
I've got my Pi plugged directly into the router via ethernet
Same
Pi-Hole with DHCP - ezpz gg no re
I could offer to setup a pihole on the entire network with a new router
or something
"Hey landlord, can I plug in a random device on your network?"
"And just totally replace your router with my own"
"Promise it's not sketchy. Btw, do you know what a MITM is?"
"What's your mothers maiden name"
"I was just curious becuase she's a wonderful woman and was curious."
"Btw is she single?"
What are the last 16 digits from your credit card?
"Expiration date and 3 digits on the back too."
"That's a nice dog too, what's his name and your favorite sports team too?"

ISP routers are sometimes dogshit
"Theres this 3 digit number at the back as well, you wouldnt happen to remember that?"
"are you the type of guy who uses the same password for everything?"
eyes technitwat
In this case it seems lik ethat
@gentle moss That's a weird way to spell "Always trash"
My current one has some shitty huawei router and doesn't allow you to use your own :/ So you have to bridge it
Ouch. As bad as Comcast. I had them years ago and you couldn't change the DNS at all on them
That way fun
They also disabled the usb ports on them.
Yeah naw
Same thing here
It doesn't even support connecting to a wifi network or usb tethering.
And if you manage to change some configuration in the router, you have to pay the full price for it
if you pay for the full thing at least let them put better firmware on them.
You'd be better off dropping $100 on a wireless modem/router
Then you at least own it and aren't spending the $10/month on the damn ISP's
You are paying monthly for a modem?
wtf at that rate you've paid for it fully within a few months
It's a rent fee type thing
"You're allowed to use this for $x/month"
A lot of ISPs force that in the U.S.
I don't watch tv, my parents do
I don't have landline tv or phone at all. Seems like a waste of money to me.
And we'll, they pay for it so
@stark prawn 100%
@rough sapphire Python/Java are the two that are recommended a lot to start with
You can do a lot with Python too
That stuff is like 15 euros a month, that adds up over a year.
@stark prawn Nothing good on TV anyway
@rough sapphire sounds like immigration
I get my news from the same companies' YouTube channels and Spotify podcasts, so...
¯_(ツ)_/¯
Green card lottery?
@rough sapphire No clue what you're talking about now.
I'm not your nanny
you're asking why US companies don't hire US citizens?
it's cheaper, probably
Define pained
Oh, are you talking about how Apple is #2 in H-2B visas?
Who can it be, knocking at my door? Go away, don't come around here no more.
Guys I have an eli5 type question
Why do computer graphics use polygons rather than Bézier curves. I know I'm missing something
I imagine it's too computationally heavy
it is, though i guess quadratic is enough for a lot of cases and is not too expensive, cubic (and more) quickly get expensive (well, kind of exponentially), but yeah, polygons are easier because it's just straight lines in the end, much easier to interpolate.
(i implemented arbitrary length Bézier for kivy, and other curves for our svg renderer, but most of the work is done on the CPU, not the GPU, it's not trivial to do so)
@frosty berry very insightful, thanks
I'm learning git.. finally..
what is the difference between
- Create project->Clone master repo -> make changes and commit -> push changes to repo
and
- Pull changes ->commit to local branch -> Make pull request-> Merge to master branch
I mean I think you've answered your own question there
The second is much easier to manage when working with multiple people. Changes don't just happen automatically, they can be merged whenever
I mean pull requests aren't actually anything to do with git specifically
That's just a git hosting platform thing
git itself doesn't have that concept
you clone or init a repo, you commit to a branch and push that branch to the remote
master is also a branch, so that doesn't change
ok.. so remote is the main branch?
No, remote is the host
ok.. so is main branch the live version of code or not
that depends on the repo
the main branch is usually called master but that isn't actually a requirement
it could be called anything
repo management isn't standardised either
some projects will use master for the latest stable version of the code
some use it as the absolute latest push and have tags for stable versions
it's down to the repo maintainers to decide how they structure their repo
either way, branches still exist, you always commit to a specific branch
a pull request is just "you guys should take my copy of this branch and merge the changes into one of your branches"
(in the case of a fork or third party contribution)
got it
you can also have a pull request between branches on the same repo
the reason that works is because every repo has a first branch
you start working on a branch, usually master
and then all the other branches in the repo are going to be based on that branch at some point in time
ok maybe I won't do something that complicated for the time being
it's not as hard as it sounds
you're on master, you want to work on a feature, make a branch
that branch is automatically based on the latest commit in the master branch
whatever that happens to be in your local repo
then you work on your new branch and merge it back into master when it's done
which brings over all the commits you made on your branch back to master
I get that part
if other commits have been made to master in the meantime then there might be a conflict, but git does its best to figure things out
in my previous company we had a complex but highly efficient version control system..
all code lived in a repo, you would use a machine on the cloud at a certain time to work on the code there, it automatically created a local branch for that machine
I like to supplement git with intellij IDEs
they're much better at resolving merges than git is
yeah, I get what you're saying
you could do your changes and submit your changelist, then sync your changes to the main repo in case there were changes made between the time
that's the cloud9 approach
oooh
honestly resolving conflicts is the scariest part of git for most people
but if you have a good mergetool, like the one you find in an intellij IDE, it's no big deal
cloud9 looks nice.. a browser based IDE huh
three-way mergetools give you three panes
the left is usually your version of the file, the right is usually the version of the file from git, and then the middle one is the result
and you just pick the changes you want
again, intellij IDEs have a fantastic three-way mergetool that you should work with at least once
but there are plenty of other good ones too
do you know of any other browser based IDEs
VS Code
Use Coder Enterprise to eliminate time wasted configuring, securing, and powering development environments. Let developers focus on the product.
it's not really an IDE
but then, neither is cloud9
I'd say VS Code has much better functionality though
OSS version is here https://github.com/cdr/code-server
seems dead from what I can find
yeah no date nothing
the browser vs code is so dank
it even works fine in firefox
so cool
hey
i like ur belly button
@rough sapphire Where is that comment coming from? It doesn't seem appropriate to randomly say that so someone.
Stalking?
@rough sapphire Code-server is where it's at right now.
They are working on version 2, its in a late beta. Fixes a lot of issues, and it's streamlining it's development in the future.
Put it behind a Auth Proxy, your good to go :D
@rough sapphire Is that that vscode online beta? or code-sevrer?
code-server 2.0
It's very decent
I wanted to use it but I realised the work laptop couldn't handle it anyway
As a client I mean
ChromeOS runs on fucking anything
I've converted shittier laptops than this one with it
I'm making a "public" one Tommrow, I'll let you test it if you want.
I'll be working on the squarespace site and it'll unload my pinned Gmail tab
That sounds like my Chromebook tbh
It's easier for me to connect to a remote desktop in Paris and do my work there
Which is what I do mostly
Fair enough.
I noticed something interesting in the programming world which exists also in every other field of labor.
Competition.
But, it's not like people are competing for money, or a job.
No, no...
Competing for DOMINANCE.
That's right, the human psyche is a fickle thing.
JUDGE NOT LEST YE BE JUDGED.
K
Who is the dominant small czechoslovakian traffic warden
?
Later
so ive made this simple idiotic NN right?
it takes the first 9 numbers and trains to convert them to a string
like 1 - "one" and so on
but the results for everything outside of its training set were...
and this result sounded to me just like this meme https://www.youtube.com/watch?v=vULshlDlhWE
He warned you, bro. I forgot to make a punchline
coding is fun, wish i were any good at it xd
@pliant pawn yeah
you cant really train nn like that
it would need some more info
it was just an exercise, to learn matrix multiplication and such
@pliant pawn i wonder if training it on a larger set of bigger numbers (not necessarily contigious) could product useful results, probably not though, unless you consider fun has some utility.
@frosty berry at this point i cant really logically imagine what a training set would look like for an extensive learning
manually teaching it all numbers 0-1000 would still produce gibberish results most likely
another idea would be trying to teach a "translator" by feeding it a whole book in two languages and training it letter by letter - hilarity ahoy
as a total noob im not trying to make something useful, jsut writing some stuff and seeing where it takes me
I was thinking a lot of numbers in the 0-1000 range, then a lot of random, much bigger ones, to get the various ways big numbers (milions to quintillions) are named
You'd probably at best get good looking but wrong results though
but the thing is, it has no idea what a letter even is
it works only on the ascii numerical representation of a letter
Not sure how google translate is trained, but it's now a lot of ai
Yeah, this is probably won't work well :D
ai scares me :(
it's quite overhyped, a lot of "AI-driven" things, actually depend on humans a lot, often tons of humans in low paying jobs in low-income countries.
AI Ethics and worries might be a problem at some point in the future, but the issues are definitely blown out of proportion for the moment
how do you know which directory is a repo and which is a subdirectory.. or is that just arbitrary
for example.. /home/repl/dental/data/ and /home/repl/dental/
@rough sapphire for determining the "root" directory of a repo, i'd use formula of the highest ordered directory that contains a .git subfolder.
👍
im very cooll hhaha
@rough sapphire Did you think about what I asked you yesterday? Also, you seem drop a lot of random comments in channels that don't contribute to any converstation; what's up with that?
Yea wut
m8
MAAAAAAAAAAATE
?
hahahaha
Waaat
?
What's going on mate
whats the basics
like the other day i was explaining the different datatypes to a mate
but i think you know that already
I'm noob level negitive infinity in Linux
oh in linux
Short cuts n stuff n other cool stuff
shortcuts eh
well if you want to select all text, you can do Ctrl+A
that's a nice shortcut
Where to download stuff
That little play store in Linux
What's it called I forgot the name
there's a play store?
Something like that
do you mean the ubuntu apps directory
Yea a software botique
or the snap store
ctrl + alt + t = terminal
neither of which i use tbh
apt-cache search <wide search> | grep <narrow search>
e.g. apt-cache search python3 | grep pip
grep is pretty good in general to know about
i use less if the file is fucking massive
tail i've used
Isn't discord in software botique
is it just me, or is this "software-boutique" some outdated app store software specific to ubuntu mate that isn't even install by default?
It's default
Pamac is nice
Do you like mate so far?
I've used it for a while, but some things didn't exactly work the way I wanted them to
This one is fine. I used it for two years or so
Pamac is nice
I've stopped using it for anything more than a basic search query
is that a distro?
Oh, were you asking about the packaga manager? I was talking about mate in general
I'm currently on the regular ubuntu 19.04, but with i3wm
okay
which text editor i should get? basically the same one which i used in windows, i used to use vs code
yep
okay
yea
the ide of choice for me is pycharm though
whats this related to tron
tbh i'm rarely editing documents etc on my linux laptop or my vm's
oops
so if i'm doing text editing i'm usually working on a python project
or doing something simple that's easy enough with nano
bisk, if i have real documents
it's never on a traditional editor anyway
it's 99% of the time on a google application
yeah
i will use vs code for web stuff
for work it's nearly all google apps
yeah
if not i'll be using np++
which google apps
or Office
np++ i used a lot on windows
np++ can i get on linux?
i use vscode on linux instead these days
orrrrrr i'll use Kate
if i'm really slack
for work i'm on windows with a single linux vm and a directory shared between the two OS's
so i can move files about pretty easily tbh
if i had to do a big edit
hm?
are you saying your linux is a vm
or you just access a partition that's available to your main linux os via the vm
i run windows with a linux vm
and share a directory between the two
for ease of file transfer

rather than what you said
i guess if you use windows as your main driver, that would make sense
i haven't booted into windows full-time since 8 months ago
maybe once since then actually, for an adobe app usage
i only really code / servery stuff from linux on my work machine tbh
but then that is most of my job
but to remote manage servers / desktop machines if needed the software is windows only
yaaay
i am going to install pycharm now
\o/
i thought your job was to use as much profanity in a single sentence as possible over a long period of time
going be a pain to setup all projects again in pychar
if you saved your config file from windows you could just copy it across (i think)
i kinda think its fun to reconfig it
you tend to install only the essentials you actually used
got this piss stain of an issue at work atm
and funnily enough it's allllllll windows
customer with an access program for stock management or w/e has about 10 machines that can connect into the database and get data
this ONE machine can't
yet the file has the exact same hash and the database connection is valid
its here
weird
i checked windows defender and apparently there's a new checkbox to block all incoming connections that's enabled by default (stops the machine responding to pings) so i assumed that was stopping the SQL server responding
did you try turning it off and on aga-
okay it's a joke, please don't stab me
@fossil solar even if it wasn't there, there's craploads of deb files out there for most things
you'll be fine
okay no it turns out that was the first thing did
so i should get it from the website?
if you want, you can
okay
it's all open options
i need to install python first
its also in snap
Get the latest version of Visual Studio Code for Linux - Code editing. Redefined.
otherwise the deb is here
but tbh if you have an easy install method, just use it
it's not likely it'll be majorly out of date
also learn a bunch of this stuff
the worst thing would be needing to use the terminal and having no clue how
! never touched
Then source
history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10```
will show you top commands you use
145 sudo
71 ls
39 gimp
31 nano
29 exit
26 ping
25 cd
24 cat
23 ip```
i have the apt package manager @sand goblet
That's the one, yep
:D
otherwise i'd have suggested it
big clear boi
It depends on the distro really
i just shut the session
What distro is iceman on?
i've got one open on desktop 3 all the time, but that's for typing gimp
lol
¬_¬
because i hate mouse navigation
but start button
but i hate mouse navigation
You're right, it isn't in the Ubuntu repos, though MS runs their own repo
ctrl + alt + t -> gimp
is faster
same for a lot of things
quicker through a term
Snap is probably easiest
or did you mean creating shortcuts on my taskbar
start button, g, i, m, enter


