#ot1-perplexing-regexing
1 messages · Page 340 of 1

Although honestly, it may not hurt to look into a library like kivy
I know that lets you translate well between several platforms
But again, it depends on the kind of application you're wanting to create
Its practically impossible to support every platform
if you want mobile, tablet, and common Desktop OSs you probably have options
nice
:|
you're all about smiley theft arentcha
It's more pleasant than frowny theft
i miss my shifty eyes :(
¬_¬
:>]
(╯°□°)╯︵ ┻━┻
=-O
finally playing skyrim and noticing that stealthy archers are still the most overpowered thing in the game
You have joined us in the modern age
Although having said that, Destruction mages are ridiculous as well.
Skyrim is fun
The risk of trying to deal with two computers at once: using the wrong friggin' keyboard
oof yes
when doing work on raspberry pi's at work i've got two keyboards on the desk and often get lost
i'm still only just starting out in skyrim,. the miss got it for herself so i figure i might as well give it a bash
I used to play it like 3 years ago or whatever
What race did you go with?
You are going to wreck shop
but they fucked up the keyboard config
default is WASD with F for the menu
you can't rebind the menu button
but i prefer to play with ESDF
so i just didn't bother playing
I always play wasd
you have better reach to more of the keyboard
ah true
plus on older keyboards it meant your key presses were split across other clusters
which reduced the chance of hitting the key rollover and getting the dreaded "too many buttons pressed!" beep
I see
old world problems :D
mhm
but for stuff like Quake ESDF just made it easier to have each weapon bound to a key next to your movement keys
qwrtagh
hopefully it doesn't go downhill like oblivion felt it did
main quest in Oblivion got to sucking like 60% of the way in
I'm worst when I have a laptop infront of a desktop and the mouse looks like it's connected to said laptop
ESDF seems much better than WASD - but not to enough of a degree that I'd switch to it
i don't like play gambling except russian roulette
Have you never used a slots command on a discord bot?
this meuidmum of my code this is super easy
var class::: FO; copy.ELEMENT.varChange-var+CCC
CCC class::: type>.kdeNEONtp.ELEMENT>INNERCJH>
CONST.creatNewDOCUMENT.creatBUTTON "area".link.creatSOFTWER.[|].creatDOCUMENT.typ>>>?FINDwier.codeLSD.lietsCREAT.client.enterCode."typ".REFRESH [=].codeNew.CopyElementRefreshSOFTWER.DOCUMENT.whenREFRESH.contant.ADDNewContant.unlessNoTYP [=] refresh.SAME.changeCodes.REFRESH.addNewContant
this eaz
@nimble schooner if wont lesson talk to me in dm's!
@rough sapphire what language is that?
what language is that
"cjh". a creation of their own, apparently.
and discord supports this language for color formatting?
interesting
@serene crag its cjh
my privet languige
its java 50% html 40% c++ 90% c 2% python 30% cjh 100%
312%
@rough sapphire wana learn it dm me
!!!
time to sleep.. 1:15 i'm up way too late
what's a good way to learn python
fire isn't getting any sleep tonight
lol
hands-on learning is the best way imo
but here are some resources
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
thanks a bunch
gn
gn ty
gn
!warn 567980151233708047 No advertising is allowed either. Please re-read our rules here: https://pythondiscord.com/pages/rules/
:incoming_envelope: :ok_hand: applied warning to @rough sapphire.
😦
Ahh weird radio songs
I like music more when you can hear something other than electronic bass that does not fit
<@&267629731250176001>
!ban 318381099854331904 Bye
:incoming_envelope: :ok_hand: applied ban to @modern flume permanently.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@fossil solar mc in python would be worst than in Java I think
lol okay
Performances of python aren't really great
I mean I may be wrong, but performance issues might be remedied if you use something like cpython, or some other alternate "fusion" languages
cpython is normal python, you probably mean cython
I've been awake for 20 hours and now I'll be trying to explain monads in Haskell cause why not 
Get, rest.
good luck \o/
I wouldn't want to bother explaining typeclasses while deprived of sleep so I'll try and keep this as general as I can.
Let's say we have an integer '42', which we pass to function that divides that value to zero. Naturally, that would cause an error to occur, and FP isn't very fond of that, so what do we do? Luckily enough Haskell lets you define your own data type that have their own constructors.
One such data type is the Maybe type, which can be constructed using Just x where x is any value or Nothing which has no parameter. Now, here's how you can leverage this to your advantage.
Let's say you have a function that divides two integers x1 and x2 given to it. If the function gets 0 for x2, it returns Nothing, if not, it returns Just x1/x2
Okay great, you made a function that takes two integers, and returns something of a Maybe type, that's great. But what if you wanted to use the value that just got returned to you and use it in another function that takes a regular integer, not one wrapped in Just. Well you can get the wrapped value with some case syntax so here's some pseudocode.
j = divide 20 2 # Just 10
n = divide 20 0 # Nothing
# Case Syntax
case j of Just x then other_function x
case j of Nothing then Nothing
case n of Just x then other_function x
case n of Nothing then Nothing
But that's writing too much code that does the same thing, so what we do is we create a function that does that for us.
function bind(monad_wrapped_value, function_returning_monad):
case monad_wrapped_value of Just x then function_returning_monad x
case monad of Nothing then Nothing
But we have a limitation for the second parameter, that it has to take a regular value and return a value wrapped in a monad. This is so that the results of bind can be used on another call to bind with another function that returns a monad.
Now, we can see how "Monads are boilerplate code".
right okay
A bit of a crude explanation that may raise some questions but for now I'll have to catch up on my ZzZs
I think in C#, the concept can be applied too.
I wish visual stuff worked on pydroid
did you try kivy? it should be available here
lol, why is the littl stock image for this page so cute... https://www.iso.org/news/2017/02/Ref2164.html
the tea, spoon, dried fruits and stuff
i guess dates are cool, and thinking about how to represent them is dope, but a healthy meal is even greater 🙂 or people just like to randomly put pretty picture in places these days, as we are all photographers
what got my attention in the header picture is the watch though, i hope it's not some dark advertising
help
?
I want to do something like this
MyData.push(new MyCSV(data[index][0], data[index][1], data[index][2]));
and then put those into the lat long values
so then I can do something like
for (var item in maparray) { map.addMarker({"lon" : maparray[item][1], "lat" : maparray[item][2], color: red, char: x }); }
nobody understands 😦
pls
js
i have some 60000 entries to do
Better to ask for js on somewhere that specializes in js
oof
they are like why you do that
i am like i dunno how you do the things eee
9 hours of bash was painful enough
why was i using damned awk
for the same thing that grep does
its okay bisk
but to be honest, the stuff you were doing yesterday is actually really good practice for being competent at "sys admin" on linux
i am finished with that
I have made an assumption that the telnet bots are way smarter than the ssh bots
shell scripting is incredibly useful
making python versions is probably more important...
well, as i said yesterday, i'd have done it in python
sort $1 | uniq -u | grep succeeded > $1-out && grep -e '([0-9]{1,3}[\.]){3}[0-9]{1,3}\|SSHService' $1-out > $1-out-ssh && grep -E -o "([0-9]{1,3}[.]){3}[0-9]{1,3}" $1-out-ssh > $1-out-ssh-ip && sort $1-out-ssh-ip | uniq -u > $1-out-ssh-ip-fix && for i in `cat $1-out-ssh-ip-fix`; do curl -H "Accept: application/json" ipinfo.io/$i/loc?token=$sex;done > $1-out-ssh-ip-fix-loc.csv
but i already knew all the tools you were trying to do stuff with in bash
just because python is easier doesn't mean it's not worth learning that shit
i guess it could be shorter
yeah, most likely
i don't think i need that regex for ip 2 times
don't stop learning shell tools
once you get familiar with them they're incredibly useful
sysadmin get paid lots of money
and get 3 lunches a day...
if my project works well I can either sell it or make a company
hmm
atm the server 1 server is hella expensive
for project to work properly i need more servers
at least 3 per cloud service provider
fuck me agnostic is gonna be aids
can't wait to se what happens when i make azure talk to aws and gcp
also have to build an image per platform
i am a sys admin
i get paid well
but i do not get 3 lunches a day
however i can eat as much as i like at my desk
so, if your definition of lunch is eating food, i can have as many lunches as i like
also, docker it
completely platform agnostic
You lunch in a container? :D
well sometimes lunch is in containers
bisk
i need to add headers to all the files
how do i add 1 line to the top of the last file generated
also this was telnet on 2019-12-01
I don't know what I'm looking at, but that looks really cool
@rough sapphire wtf is this o.O
Should i download pycharm on a 4 gb RAM laptop ?
i have it temporary , and i don't really like VSC
Python IDE with complete set of tools for productive development with Python programming language.
you should be fine
i used pycharm on a windows computer with 2GB of RAM for an entire year and it was fine. then again, that implies that i have standards.
Is anyone here a mega systemd genius
I've got a screen daemonising inside of a systemd service for a Minecraft server
It all works great apart from, the ExecStop just doesn't seem to work
The process just exits immediately
But weirdly, if I run the command in ExecStop manually it works fine
ExecStop=screen -S Service -X stuff 'say Server is stopping\nsave-all\nstop\n'
I cannot figure out why
its 2020 according to the iso week date
i don't think that the fact we are in the first week of 2020 doesn't implyies we are in 2020 yet
double negative = positive
playing games on a console makes me feel like i'm doing a tech demo at e3 or something
stick control is tooooooooo smooth
oh hey i'm a thief now
noice
Happy new Year!!
I could try that thing Superman did to travel back in time
Crazy stuff!
\o/
Teleportation of particles between electronic chips
Which would mean almost unlimited, instantaneous network connections
Quantum physics is confusing but cool
i imagine the power required to generate the entanglement is beyond "insignificant". but, i'm not a [quantum] physicist, so i'm talking out of my range here. 😄
I don't understand quantum teleportation
Quantum entanglement is one of the coolest thing ever
It's at the speed of light maximum so it's sort of the same as shining a light through a vaccum but quantum and with whatever particles you want?
with the help of classical communication and previously shared quantum entanglement between the sending and receiving location. Because it depends on classical communication, which can proceed no faster than the speed of light```
Uhn
So if we have instant teleportation to anywhere, that solves the whole light speed issue
Hyperspace
I did not see the same information in previous articles
This is from wikipedia
Okay, I guess Wikipedia is trustworthy
The special theory of relativity implies that only particles with zero rest mass may travel at the speed of light.```
Apparently
I still don't get the whole speed of light thing
Something about relativity
it's speed is constant, at least in all ways in which we can perceive and measure speed.
But the way we percive is relative?
correct. i think. that's what makes it "special" to physics and how we understand physics.
Like if you had two cars at the same speed, you are measuring compared to say the ground
right. digging through my fallible memories to remember a really good explanation i've come across.
So you mean speed is constant ignoring relativity?
Einstein postulated that light always travels at the same speed for every observer, regardless of that observer's speed```
To be fair, it's still just a theory
Light still doesn't actually make sense
(because photons are quantum particles)
Apparently everything is both a wave and particle in some respect
if you like spending 9 minutes confused, in a 12 minute video, this is a good explanation (though not the one i was thinking of): https://www.youtube.com/watch?v=msVuCEs8Ydo
So speed of light is the "speed limit" due to a photon's weight?
Not watched the video yet (just saw title) but just reading through some wikipedia: going to guess it's about how the name should be the speed of a photon?
Because of The invariant mass of the photon is zero; it always moves at the speed of light in a vacuum.
yeah, pretty much. linked video uses time of causality. but its based on massless particles (e.g. photons).
Quantum physics is always a fun rabbit hole
"Things change if you look at them" is always a 🤔 lolwut?
i never liked the notion that it's the act of "looking" at them that changes it. And it's misled many people. We're directly interacting with it when we measure it, of course it's going to change
of course! it was a Vsauce video!
https://www.youtube.com/watch?v=ACUuFg9Y9dY
@grim pelican Isn't that the case, though?
isn't what the case?
Looking at things changes them, in quantum physics.
Schrodinger's Photon? had to...
haha
Yeah, I'm definitely not certain of any of this.
@rough sapphire by "looking" at it, in terms of with our eyes, we have to literally bounce photons off it and then let those photons absorb into our retina. That's like throwing a mountain at it at that scale. It's not like we can simply just see what's going on, we have to physically interact with it to see it
now that i think everyone can agree with
@pine vector A "Quantum superposed photon" you may say ;)
They just had to make shrodingers cat sound fancy didn't they
I tried to watch a video on quantum physics, it's a tad confusing
Just brings up the question of why are the laws of physics like this
the double fence experiment shows that it's not the act of looking with your eyes that changes the experiment
it's checking which fence the photon goes through that makes it going only through one
if you don't mesure, everything happens like it's going through both
iirc this experiment and schrodinger's cat are almost ubiquitously misunderstood.
schrodinger was trying to make a point about how wrong this whole idea about reality depending on the act of observation is. but it got distorted to 'the cat is both alive and dead'.
To "look" at a subatomic particle you'd have to bounce another subatomic particle off it, which changes the energy state or trajectory of both particles. Or you could send a stream of subatomic particles at something and see what happens. That's how I picture it.
Off the top of my head, they discovered the atom by shooting electrons at a sheet of gold. Or something like that.
I don't understand how electrons can "teleport" or how quantum entanglement works. I'll have to research that next year.
So like once you open the box the cat jumps out and runs away. And then it's gone and you need a new cat.
Cat should have stayed in the box because Pavlov's dog ate it.
I know there is a good joke there but I haven't figured it out yet.
2020!
@rough sapphire I think they done that and found that some bounced off the gold and some didn't
Ah looks like they discovered electrons basically
@vapid bluff i think schrodinger indeed wanted to make quantum mechanic look stupid, but it backfired a lot, not sure how you think the double fence experiment is generaly misunderstood.
along similar lines, that conscious observation causes some spooky things to happen inexplicably.
So does all this imply that a subatomic particles ability to exist in two places is due to its wavelike nature?
I think so.
That article says "This occurs when two quantum objects, such as photons, form at the same instant and point in space and so share the same existence. In technical terms, they are described by the same wave function"
In regards to teleportation
I posted it earlier today :P, two photons flip their state at the same moment
The two particles are kind of linked together due to quantum entanglement
That's pretty cool. How do these computer chips hold a photon is what I'm wondering now.
Im having trouble finding information on that. I guess that a photon is split using a crystal, which create the entangled pair, then one photon is beamed to one chip and the other to another chip.
But it's crazy that authors like Usula Le Guin and Orson Scott Card where thinking up this stuff before it was a scientific reality.
i have a hard time understanding how entanglement is different from being simply in sync, like if they have the same state, they'll evolve exactly the same way, until something unsync them
of course, being "in sync" would mean quantum is actually not random, there are just hidden variables we are not able to determine
and i think this hypothesis is pretty fringe now
I though that that one entangled photon could flip it's spin and the other would do the same.
well that could be explained by an internal state we aren't able to mesure
I've been thinking something similar.
That all energy and mater exist as an infintesimal in another dimension.
And all the forces are an expression of this connected matter in the 3rd and 4th dimension.
Like how all matter has a gravitational attraction to other bodies of matter.
I've heard the idea that life is a projection. This seems similar, but I haven't researched that idea much.
i think the quantum field is a way to see like this, it's of course an oversimplified view, but if the field was a plane surface, ripples in it would be our reality, our matter, is just the crest of waves on that surface.
I see.
A thought experiment that I have been doing is to try and view the world without the concept of time (sinces space and time are interconnected).
Spacetime seems to be a single phenomenon that is split in two to our point of view.
(any actual physicist reading this discussion must be facepalming themselves to death now 😆 )
Ikr?
I'm going to find a quatum discord server eventually and try to fly some of these ideas. See what's really up.
well, we have been pretty much convinced since 1915 that time and spaces were completly unseparable i think
be really patient, and read the introduction material they'll link you to, it's pretty much certain our ideas are highly misinformed
The idea of a field helps taking space out of the equation and only imagining time.
Those will be some tough articles :/
The ones where you have to look at 5 Wikipedia pages to understand one term.
This has been a really interesting conversation. I'm on a plane and have to disconnect though.
Good talking to you.
i'm sure there are good layman's introduction to quantum mechanics, and that you can build up from there
Hey guys, I am trying to make a trading platform. I want to buy&sell stuff according to the price printed on the screen. In the meantime, I want price to refresh every 5 seconds.
Asking for a user input will stop the execution of refresh function. How should I approach to this?
you want to do it in cli, not gui?
After making the mechanism work I will move it to gui
Oh dear
And nobody was surprised
@vagrant spoke then i would say build the functions indepentently, and even display them indepentently, if you want to keep things simple, you can run the program in multiple processes, as it's likely you'll connect to a db anyway, no need to concern yourself with how to mix a refreshing display and text input in CLI if it's not your final goal
you could of course use curse, but to me it's the same as doing gui, it's just doing gui in a terminal, with the limitations of it
2.7 it deserves less
@royal tartan RE music, what the heck am I listening to
"I'm still confused about how exactly I ended up getting wet"
its uh... i guess indie music fits
after i finish this song~
okay :>
:>
@sand goblet you dont even wanna know whats the weirdest thing ive heard today... o.o
ive been listening quite a bit to uh.... arthur brown
now thats weird
"like actually wet"
"How'd I get wet?"
I don't know arthur brown
"I'm still confused as to how I actually got wet"
haha
@sand goblet there~ https://www.youtube.com/watch?v=6amhd2wZq-Q
Provided to YouTube by CDBaby
Fire · The Crazy World of Arthur Brown
Gypsy Voodoo
℗ 2019 Mike Morgan - Arthur Brown
Released on: 2019-06-26
Auto-generated by YouTube.
yeah and all of his songs are weird like this
oh my god, is that where the sample the prodidgy used?
The ultimate love jam written and performed by The Supreme One himself, Kylo Ben Ren Solo. If this doesn’t seduce Rey to the dark side, nothing will.
Lyrics below
One time donation: https://www.paypal.me/auralnauts
Patreon: https://www.patreon.com/auralnauts
Merch: https:/...
:>
Tour Dates -http://www.theprodigy.com/
Stream or buy all music by The Prodigy - https://prdgy.lnk.to/music
Official Prodigy merch - https://prdgy.lnk.to/store
Subscribe to the Prodigy’s official YouTube channel: http://prdgy.co/ProdigySubscribe
Web - http://theprodigy.co...
around 00:35
yeah, not new 😄
@frosty berry probably
probably from this https://youtu.be/en1uwIzI3SE
Here is a performance of Fire by The Crazy World of Arthur Brown performed in the Top of the Pops studio in 1968. It was originally broadcast on 18-7-1968
i prefer the new version cus its just better made?
sounds exactly the same indeed
interesting that someone actually sampled it? xD
i am the GOD of hellfire
and i come to bring you
fire
prodidy were big in the 90s
and even 00 i think
oh damn, the singer died in march 2019, missed that
suicide at 49, damn
Yup
They were fairly popular here, I actually have one of their CDs
Which is rare for me because digital
i still have my Fat of The Land and Dirtchamber Sessions CDs. and, they're in regular rotation in my car. 😄
and somehow they don't skip with all their scratches. 🤷♂️
I mean, I don't listen to any of my CDs anymore anyway
there's no point when I have spotify
even the centre console in the car has spotify on it
i switch between CD and spotify in the car. i'm cheap on my cell data. 😄
i mean...that takes effort. hehe
go to your library
tap the "download" toggle
done
:>
I have an "offline" playlist though
honestly, i haven't even looked past it in the phone app. but that requires premium, from what i can tell.
isn't it cheaper in early january?
in other years they brought it down to $1/mo for 3 months
i stuck with it for too long. spotify is sooo much better.
hoooo
hooooooo
that's a spicy meatball
it's always a good day when this nut is sentenced, i hope he goes to prison someday
100k is not enough, i'm sure he made more money than hat with his grabby marketing of products to his captive audience
he still has $10 millions to go apparently
I think the case the 100k is part of hasn't even gone to court properly yet. This is just legal fees
f
Yeah
f
f
f
I don't think we need to pay Alex Jones any more respects..
he's crazy, but he is a good producer of meme material
I say keep them coming in
F
Does anyone know if Aperture is very busy lately?
I mean, most people tend to be this time of year
true
@sand goblet i googled it and apparently alex jone's net worth is 10 million dollars
o_o
Yup, someone said that yesterday
odd~
magic
It's not really that surprising
Why?
cus i cant get anything done ;-;
steering behaviors are hard
trying to make lil mobs not collide with walls
there are 2 ways to do it generally - i could use a navmesh, which would really just mean the mobs have absolute knowledge of the whole map
or steering behaviors
the latter is far more difficult but also makes it so the lil mobs behave realistically
Pathfinding is always tough
UE4?
You should look at how Minecraft does it maybe
No, you shouldn't :D
(because it's neither of those things)
You should use a navmesh for sure
You can even make ennemies avoid certain terrains, like mud
By setting the navmesh value up (can't remember the name)
Anyway, using navmesh is way simpler, because you just need to drop a navmesh on your scene (and build it) and you're good to go @royal tartan
I can link you to some good live training if you're interested
@solid pollen thing is, the game is pretty much all about the mobs
its more like an ant colony simulator than a game
_(you're using UE4 right?) _
yeah but thats not really the main issue~
it needs to be realistic
if i tell the mob to go somewhere, i want it to walk around the obstacle instead of just doing the most efficient path
which is to go diagonally around it
it needs to act like a proper creature
"Starcraft II uses a constrained Delaunay triangulation of the map terrain and buildings to produce a navmesh; A* with a funnel filter is used to path along this mesh, taking into account unit radii; then local steering and collision avoidance layers are added on top of that"
i mean look at this, this is so complex ._.
You could just use a navmesh and set a bigger falloff
thats the thing though... bugs dont use navmeshes
you ever saw a cockroach avoiding a wall?
it has these antennas, when they hit something, it just steers away
it doesnt actually "know" a path
Use two navmeshes
two?
Yes
And make cockroach use a navmesh that includes wall
And the others use a navmesh that only use the floor
i dont think i understand what you mean quite
Maybe that's not a thing in Godot
Can't you just use two navmeshes?
They aren't placeables objects?
there are navmeshes
i just dont really understand how youd simulate proper movement with them
meh, everytime i want to do stuff i have to install 10 thousands things on my windows
here i wanted to install kivy, but i need this extension, another day, it's some fft library, and it's something else
i just want to fuck around 5 minutes and i have to install 3 things, set all my venv and all that stuff
_Welcome to the DLL hell! _
i should just buy a smoll linux laptop
You could simply buy a raspberry or dual boot
or use my rasberry
Well
yeah yeah, but flashing up the thing, setting it up, downloading stuffffffff
it's an hassle
(i'm ranting)
well it's an hour for me and i'm in my bed
At 1PM?
the laptop power
yeah literally forcing me to be in my blankets with hot coffee
my life is so hard smh
how to get rich with conspiracy theorises? easy, make sure to build a platform large enough and cheap enough to reach the 1-5% most paranoid citizens of a country (or more), feed them more and more fringe stuff, so they are unable to reconcile your news with any other media, and are so invested now that they'll stay with you and get only your news from you, and since you occupy such a large share of their mental universe and input, throw advertisement for shitty products with a generous profit in that, use any trick possible to get their financial support, if you can extract 100$ a year from a few millions of them (on average), then you'll get rich pretty quickly.
(yeah, i'm a bit late)
@solid pollen out of curiosity
I see commands being written as
async def hi(self, ctx, one)__ -> None__
What does -> None mean ?
Means that the function returns None
Which all functions do if you don't put a return statement in them
Why it even exist ;-;
What? A return type hint annotation?
yes
For the same reason the other type hint annotations exist?
I just spraypainted a bike part black at night, was a mistake
also did you make sure to apply a clear coat afterwards?
can't just spray black on something and expect it to last
I don't expect it to last and just 1 until it dries then i'll fix it up tomorrow
A bit of it pooled up at one corner (though it'll be inside the bike 90% of the time so doesn't matter much)
Well, I'm about to factory reset my computer and set up a single linux partition.
Which distro?
Lubuntu
Best of luck
Remind me, can you specify which kernel you can use in Ubuntu?
I'm used to Manjaro where you can kind of pick fairly easily
gabriel@gryphon:~> apt-cache search linux-image- |head
linux-image-extra-virtual - Extra drivers for Virtual Linux kernel image
linux-image-generic - Image du noyau Linux générique
linux-image-lowlatency - image du noyau Linux à latence faible
linux-image-virtual - Virtual Linux kernel image
linux-virtual - Noyau Linux générique minimal et en-têtes
linux-image-4.15.0-1004-oem - Signed kernel image oem
linux-image-4.15.0-1006-gcp - Linux kernel image for version 4.15.0 on 64 bit x86 SMP
linux-image-4.15.0-1007-aws - Linux kernel image for version 4.15.0 on 64 bit x86 SMP
linux-image-4.15.0-1008-kvm - Linux kernel image for version 4.15.0 on 64 bit x86 SMP
linux-image-4.15.0-1009-azure - Signed kernel image azure
768 items in the full list
of course, a most of them are just slight variations of the same thing
but you can install and use any version
and you can of course build your own, though i didn't feel the need to do that in years
you're probably fine with the lubuntu 18.04 install and not worrying about this
Before I do the reset does anyone have suggestions for fun ways to break my current set up :3 ?
i am onnn uhhhhh
4.15.0-70
with lubuntu 18.04
you could play russian roulette with the system
rm -rf --no-preserve-root roulette
I've been finding that the 5.x versions haven't been sitting well with my laptop
That's the only reason I ask
Been sticking with... I think 4.19
this is actually dist-upgraded from 16.04
so i'm not sure what the actual lubuntu distro is packaged with
And I'm speaking from the standpoint of Manjaro, which is Arch based, so I don't know if anything changes regarding the kernel and Debian based systems
Why do you prefer arch over Debian?
A friend told me that arch has more system update, but thats about all i know
Honestly it's more about Manjaro than it is the Arch system. Manjaro is the only distro I've used where I installed it and everything just worked
Didn't have to mess with any drivers, didn't have to fiddle with stuff
It just worked
That was enough to hook me
If I remove python from usr/bin will that be the equivalent of uninstalling it?
it updates a lot more often, as soon as possible when new releases of software goes out, but the flip side is that it's probably a bit more prone to hitting bugs with new software and combination such software together
Not exactly.
Ideally all of your installing/uninstalling should be through your package manager
Which in the case of the Debian based systems would be apt
and never uninstall python
And there's usually a GUI equivalent for your package managing as well
you'll probably break a shitload of stuff
i accidentally replaced 2.7 with 3.5 a while ago
and then was like
"oh.... oh no.... whoopsie."
I call that the "Well, shit" moment
(i think the question was exactly about breaking the system in a fun way)
Oh right that
rm -rf roulette!
removing dpkg can be fun too
i think my record is twenty something clicks
it'll be very much against you doing that, but if you insist, you can
ok here we go with roulette
remember with the --no-preserve-root
10 so far
So this is just removing files at random from the machine?
nah, roulette with rm -rf --no-preserve-root 1/6th of the time
using random and then some maths
if it survives you get a click in terminal
no it is
I haven't gotten click yet
I saw a similar script online but it was a lot differen
t
shouldn't leave shit like that hanging about
So that's the one I run?
yeah
ok here we go
(hope your backup disks are unplugged)
so you're root
Is this real?
yeah
it's how i kill testing VM's for fun
i want that script
google it
:D
5/5 clicks this might be it
Oh der
rf is reformat
Why do I keep forgetting that
Also I'm mad that it's = for comparison
Every time I see that anywhere, I get salty
r means recursive
hm, -r is for recursive, and -f is for force (ignore errors)?
rm: it is dangerous to operate recursively on '/'
rm: use --no-preserve-root to override this failsafe
one - is for short options, combined, -- is for long options
what should i google to get this ?
So don't actually do it unless you don't care if you lose your system
Ok Ok gonna do it on a AWS
Or I guess if you're in a VM
you'll be left with a shell and the tools that come with that shell
i have tried to rebuild some basic functionality from that
I've done it a bunch of times... is it working?
The one guy that accidentally does || for the first set instead of &&
and you basically have to pipe binary into a file
I remember asking the host to reset my machine for like 5 times and he had to download it all cuz it was my first time making a cs go server ;-;
I think I need the version with --no-preserve-root
Or just say screw it and get your new system up and running
it's fun to watch all the text scroll
ok so it actually removes everything, i thought it kills one thing at a time
no
It's a full wipe
you're basically running as root and telling it to delete absolutely everything on the file system
including all system files
the reason the shell survives is because uuuuhhh duh you're in it
it's not exciting unless you run it on something you care about ;)
guess so
it didn't work for some reason
im going to start deleting stuff in bin and see what happens
root@gentle mosstop:/home/bisk# [ $[ $RANDOM % 6 ] == 0 ] && echo 'Oh nooo' || echo 'Click'
Click
root@gentle mosstop:/home/bisk# [ $[ $RANDOM % 6 ] == 0 ] && echo 'Oh nooo' || echo 'Click'
Click
root@gentle mosstop:/home/bisk# [ $[ $RANDOM % 6 ] == 0 ] && echo 'Oh nooo' || echo 'Click'
Click
root@gentle mosstop:/home/bisk# [ $[ $RANDOM % 6 ] == 0 ] && echo 'Oh nooo' || echo 'Click'
Click
root@gentle mosstop:/home/bisk# [ $[ $RANDOM % 6 ] == 0 ] && echo 'Oh nooo' || echo 'Click'
Oh nooo
root@gentle mosstop:/home/bisk#
rofl
thanks markdown...
oh wait
i will replace this laptop at some point so i can get my frigging backticks and tabs back
:D
did you get a shit load of errors saying it couldn't delete /proc/?
or other similar errors
reboot
im surprised chrome is still runnin
because that would require launching a new process
is that because this is saved in flash or something
but....
you deleted them all
so the chrome you have is running purely from what's in memory
reboot: command not found
:0
trapped forever!
🤣
I can open files on the desktop
what is the OS ?
thats in memory too?
lubuntu
just pull the plug
its dead
F
it now matches the name of the channel
f
~400 miles worth of mileage for last month. Would have been more if I hadn't gotten sick
Oh well, will still be a nice little addition
1200 kilometers (745 miles) in 7 days :D
Do you get paid for you..... kilometerage?
I don't know if it's still called mileage if it's in metric
your milage may vary on that
btw there is a metric mile
it's a mile in metric rounded down to the nearest sensible number
1500m
I've heard mileage used like that
Probably just be "distance"
"your distance may vary"
In an english context it'll just be milage
Nah. Mileage and distance are different
But for taxis rates, would just be something like distance (km)
I mean it can also be used in the context of gas mileage, or how many miles per gallon you get
kmpl
Never really heard it in metric
Mileage is just a general term to refer to distance driven. I used to get mileage money when delivering pizza even though it was on a per delivery basis
In the UK at least
is that gallon in that american system ?
Imperial
well, american imperial is different to british imperial
gallons are different values
It was everyones system until they went to something better (metric)
which makes american MPG's even more offensive
The British mess of units is atrocious
since an american gallon is larger
So now it's just america and a country in africa I think
Probably worse than just imperial everywhere
Yeah
so a 30mpg american car is probably closer to 25mpg in real
i estimate shit in imperial
Cars are all imperial
and measure it in metric
Pound for british is money
For american its weight
Loosing 5 pounds be like
But we use mm and cm for education and half of engineering
Except fuel
we also have pounds, AG
That's liters
Which triggers me
Oh god yeah
because if you made the prices per gallon
holy shit that number would be annoyingly large
like fucking £5 per gallon
that'd just make you rage
Because km/l and m/g are both worthless
"£0.01 per ml!"
haha
[Star wars theme tune]
nah, i'm fine with it for the road system
ITV presenter -> Ruler of the earth
i'm also fine with it for estimating distances
There's no advantage
or football fields per hour'
It's alright. You'll be condemned for saying your when you should have said you're
Except familiarity
if you're doing anything serious and you're using imperial
If it ain't broke don't fix it
you can get in the bin
it's easier to visualise 1ft because to be quite frank
you can look at your foot
Fuck trying to get swype to figure out the right your
nah, iirc a lot of the engineering firms that do international work standardised to metric because:
a) it makes more sense
b) everyone knows wtf you're on about
Just adapt one universal thing , there is always that kid that tries to be cool by being different
Its easy to visualise 1 meter
you going to use 1/1000th of an inch?
if you know roughly how tall people are
or 180cm
I don't know heights for humans in metric
nah, i still can't accurate visualise metric
its like a arm for a meter
unless i relate to imperial and do head thinkings
Thats just familiarity
shoulder to arm is roughly a meter
I can but just feels weird for heights
ditch that you old fart
I don't know what a yard is
fuck you
yard is 3ft
pinch your index finger between your middlefinger and your thumb
a completely pointless measurement
I think of feet like mini-meters
but
even if you want to use imperial for estimation
driving in imperial makes 0 sense
just switch over to km completely
I'm even for m/s instead of kph
Oh god no
there are 32 million cars in the UK
although that gets a bit sketchy with speed limits
there are 32 million cars in the UK and most of them support kmh on speedos
there's about ~300,000 miles of road in the UK
how do you fix yard markers?
all the road signs with distances
it doesn't matter that yard markers are wrong
signs are a bit of an issue
Motorway speedlimit: 31.2928 m/s
what actual gain are you getting?
what gain? standardisation with the rest of the world
ease of use
there is benefit to both of those
Standardization?
yeah but it's not like we're a country directly connected to others by say
@vestal briar thats really high
land
We use left hand lane
same
lets switch that as well
no
We're above standardization
why
i am not changing gear with my frigging right hand
what is the advantage to left
And no
i want that on the wheel at all time
because my right hand is the strongest hand
alright
That'd cost far too much
fuck it
so it makes sense to not remove that from the wheel
why are you so scared of it
rest of the world can change
Imagine how much converting uk signs would be
laughs in automatic
We done it in wales
yeah, have fun driving your computer AG
Yeah they are
fly-by wire bullshit
my dad hates automatic
tbf, last time I drove my mums automatic, I almost got rear ended because I accidentally went for the clutch
everyone in the UK hates automatics pretty much
he says you can't gain power in short time with automatic
you can't
yeah, because you can't do a sudden shit into a new power range
you have so little control over revs
unless you have a very smart automatic
you have to take your foot off then jam it down
with semi-auto override
if you want to rev it
TBH 100 - 0 is more useful then 0-100
Why don't we use sequential ;)
Sure but the issue with that is that is that it can change based on the tires you have, the break pads you use, etc.
All cars can feel like race cars
There are a lot more factors with stopping instead of starting
No need to take hands off wheel
and can be cheated with a wall
if you want to get from 100-0 really fast get in a self driving car
when you're revving it a bit too much
But you can press a button
until it gets worn out
yeah, but shifting the stick is the fun bit
I just like playing with the nobby bit at high speeds
Piers loves shifting his stick
Is the sound of an engine
but automatic are good to drive in a city with traffic
at low speeds automatics aren't too bad
I think automatics are nice for america
they're not awful at moving off
And uk should stick to manual
.bm 662377329212915754 Thats what she said gif
Auto's can have things like cruse control built in much easier, better for long us highways
tbf, whilst they're a lot less fun to drive, automatics are pretty much just better for normal/safe driving
@plucky ridge still staying on top of my bookmarked messages
Yeah
Blarg. I'm not sure my computer can boot from a USB.
Neat
My dad is famous for driving at 40 kmph in a narrow shittiest street in my town
@rough sapphire May have to be enabled or require a Bios update
It actually is a good computer I've been poking around for a while in the BIOS and secure restart on Windows.
Mine had secure boot enabled but it didn't work
Also double check for any UEFI settings
I feel like I've done it before, but maybe that was a different computer.
I'm not seeing UEFI for some reason.
The closet thing is launch EFI shell from file system
Prebuilt (like bought it from HP or something) or did you build it yourself
Do you have a model number?
Asus is a good boy
I have never called company support for hardware
Either I fix it myself or return it (usually bought from amazon)
I only do to claim the warranty
That's something I forgot to do with my last laptop
how does your BIOS look like
Only fault with it is a small crack when you open screen
@rough sapphire It's probably fullscreen ncurses
Yeah I only get support involved if there's a part failure
Otherwise I can fix it myself
is it blue and grey or modern looking
if its blue and grey its legacy
else its UEFI
Part failure?
RAM, PSU, GPU, etc.
for your status