#ot1-perplexing-regexing
1 messages ยท Page 372 of 1
giving you a story about how one time the guy built a webpage or some shit
Yeah I knew about the MDN
I find w3schools more concise than MDN
But that's usually for looking up stuff
Back to getting annoyed at pypi
They have tutorials and stuff
I don't even recognize JS anymore
Looking at their beginner tutorial, it feels more annoying to navigate than w3schools. w3schools is very conducive to jumping around to relevant bits
which is a good way of learning
If JS was strictly typed, I think I'd really like it
and if you didn't have to transpile everything
typescript works great when set up
it really is just JS with strict typing
that's what I'm using in my current project
oh, that reminds me
have another stuck-together logo
Optional static typing really doesn't appeal to me
Honestly if you treat it like you would any strictly typed language, it's not really that bad
TS isn't optional static typing
i'm so manly i eat my steak with a fork and a spanner
When I did JS it was what you used on client side. There were no frameworks, ajax hadn't even really caught on yet. It was just a language and you could do stuff in it. But now, the language doesn't even matter. If you do JS the question is which framework... Angular, Node or whatever...
It is a strict syntactical superset of JavaScript, and adds optional static typing to the language.
i use the spanner to beat chunks of meat off it
@gentle moss I don't want to know how you beat the meat
which eslint will bitch at you for by default
with a spanner
now, that's what she said
She has weird tastes
leaves me a bit tight in the nuts but it gets the job done
I'm mad I didn't think of that first
any thoughts on that arrangment of font-awesome icons btw?
I've only done a little bit of TS, but when I did, it just felt like a worse version of JS
pro licenses allow you to do that with them
and I don't think it really solves any fundamental problems
Worse in what way?
I mean, I'm using it, and it helps me to write better code
It does make you do more work for little gain comparatively
setting it up is the annoying part
Worse in that you can rely on any and write shitty code, but still have typing everywhere that isn't even useful
If you make sure to work on best practices in the first place, it's less needed
But typing is useful
sounds like a pipe dream
Same as in Python - typing is only useful when the purpose isn't evident
No?
and the places where you're doing complex stuff - any always ended up appearing
Typing is useful when you refactor stuff.
it's tools right... just tools
Refactoring without typing is a mess.
if all you have is a hammer then you can beat the screw into the board
You change something and then you have no idea if it'll work until you try every little edge case.
Typing adds a thousand implicit unit tests.
if your language has strong typing then you can use that, if it has hinting you can use that, and otherwise, you program it differently
"Prefer explicit to implicit" no?
it's still just javascript with typing
Dynamic is good for fast-paced development, static is good for maintainability
It does tend to be come incredibly verbose
well, that's good imo
the strong vs weak typing argument comes around every couple years and it is a huge argument and then it goes away again
If that's what they're called, can't remember
@vestal briar I don't really think that's true, even. It sounds plausible in theory, but everything worth doing needs to be maintained.
It might have just been the codebase I was working on, but I don't think so. It ended up as this annoying OOP stuff that seemed to move away from the more functional approach modern JS takes
I don't write functional JS
I said it's good for maintainability, not it's the be all and end all
That is true, JS does tend to move towards currying the hell out of everything
I use async/await and classes
most JS I have seen was oop'ed I think ClojureScript might be what you are looking for
callbacks can bugger off
I also don't think typing prevents fast-paced development.
It doesn't
With dynamic languages you don't have to worry about defining types, making development faster
And having types set make it a easier to maintain
when you have strong typed lanugages all the sudden people what to know how to do Generics in it
How much more time do you genuinely think it takes to write one more line to set a type?
I'm a fan of functional JS; its easy to write and easy/nice to read assuming it is actually written well
But with dynamic languages, you have to make up for the lack of typing with unit tests, if you don't want your code to be a buggy mess, and tests take time to write.
I don't buy the dynamic saves time because you don't define types
So yeah, maybe with dynamic typing, it's faster to write garbage that doesn't work.
I tend to treat everything I'm writing like it's static
I don't buy that it requires any unit more tests either
Or try to at least
Why not treat it like it is immutable
I have never been a supporter of the move to functional languages/code
Some of the constructs are handy to have
Functional is plenty fun!
but I'd rather write OOP
Right tool right mindset
Yep
I find the JS middle ground of OOP/Functional pretty nice to work in
I'm getting more used to it
The middle ground is nice and I do use functional constructs occasionally
but I'm still majority OOP
Most popular languages have functional language features nowadays.
I just still have a mental block with the... what is it... arrow functions?
It's pretty widely accepted as a good idea.
That still breaks me for some reason
Comparing lambdas to arrow functions, and arrow functions are much more usable
python lambdas that is
Well, Lisp was writtin in 1958 and it is still kicking... so perhaps there is something to this Functional stuff
@undone berry How so?
Oh god not functional arguments again
python lambdas are actually kind of useless, yeah
only a very small subset of situations where they're handy
No tool is uselss
no more useless than the stupid walrus
Mainly the fact arrow functions allow readable multilines
You know, the walrus has grown on me a bit
Mm, fair enough.
I like the walrus
it is cute, ever heard of the elvis operator?
yes, I use kotlin
The walrus is a small benefit. Don't see any downsides to it.
It doesn't look like Elvis!
just found this one out the other day
yeah it does, cmon
it's ?:
Even with the picture of elvis next to it, I can barely see it
you know how you have the ternary operator in C (x == 1)?x:y;
Okay, if I have to actively turn my head and squint and it still only KIND of looks like it
It's not an apt name
The fuck is this convo
so they have removed the center so you can use it for coalesing
?: is called the elvis operator because it apparently looks like elvis
(x == 1)?:y
Oh my god
it does
Weird duckface thing
Why am I here looking at people argue about if ?: looks like elvis
so you don't have to reproduce the test twice
@vestal briar Not sure, why are you griping at us for doing so
yeah, as dumb internet convos go, this one is fine
If you don't want to participate, don't
not like its pineapple on pizza that literally no one cares about
Just don't give us shit for having fun
And the next argument starts
funny thing, it actually works in CLANG and GCC but unfortunately not XLC
๐
oooohhh you said shit
Are you here for the 5 minute argument, or did you pay for the whole half of an hour?
I'm just confused why he suddenly turned into a grumpy butt
he might be a grumpy butt but he's our grumpy butt
He's usually more pleasant than that, and doesn't actively try to ruin people's fun in their conversations
maybe he can document that and do a pull request? isn't that the latest line du jour?
that sounds less fun though
Sorry I insulted you convosation
pomp and circumstance
well you can call it what you want, and something will stick. Unless you are talking about GIF
When apple came out with SCSI they didn't want it pronounced SCUZZY
The tunnel snake
it was supposed to be SEXY
As much as I respect him, I'm not sure Hemlock can convince the world to change Elvis operator to Pomp no matter who hard he tries
what do you call ->
It's my coding head cannon
arrow
Yeah, arrow
I call it the same as =>
arrow, yes
rocket
I didn't know => was called rocket
that's such a non-argument
my boss cocks an eye at me every time I say it though.. "I didn't know that what it was called... "
Okay, I might get crap for this
I feel like Python is like Linux and Ruby is like Mac
hehehe
Whenever someone mentions rocket as an operator, they mean <=>, aka "rocket ship"
when I've heard them
that a lozenge
Ruby tries to be all pretty and special but just appeals to the folks who want to look cool
I'd definitely buy that. I imagine vastly more Ruby devs are on macs than python devs
it's a what?
as a percentage
a lozenge is the thing you suck on when you have a sore throat
it's not a rhombus though, is it?
Unless you live dangerously
ozยทenge
/หlรคzษnj/
Learn to pronounce
noun
a rhombus or diamond shape.
Yep
fira code makes it look like this
Fancy
which makes more sense to me than a rupee on its side
it's s 2 headed nope rope
I'm not sure how much I like fonts messing with stuff to that extent
I am
Okay, how about #
Depends on the context
pound or hash
that's a hash
Not octothorp?
man I'm listening to an artist on spotify and I think this song is a runescape remix
what even
Pound on a phone, hash elsewhere
I think that is the coolest sounding thing
Octothorpe sounds like a villain in an 80's cartoon
hashtag hashtag
I think of that funny L shaped thing when you say pound
I just know it from phones
Or rather that's the only context I've heard it called that
Then what is on the other side *
Star
Nathan Hale
Well played
but I call it a splat when programming
in your head or out loud?
so you call ! a bang too then
I don't call that a bang, no
I only consider it a splat when talking about extra source books for roleplaying systems
All the various splatbooks
hmmm bang and splat tend to go together
I'm not old enough to call them that really
But I like Nathan Hale for *
I just picked up splat somewhere
The interrobang ( โฝ ) is the most underused symbol
Oh wait you were serious
yeah
I thought you were joking about the Hale thing
mind you I can't actually type the interrobang
and don't really want to go back to APL
It comes from people making all the things pronounceable so you can dictate code or remmeber passwords with symbols in them
i've heard splat used but only in context of *args and **kwargs and stuff in python
yeah that's where I'd call it a splat
(I also can't actually type an interrobang, but thats besides the point - I should be able to dammit)
Gnu just released a new APL with all the stupid characters and crap.... but J is alive and kicking and you don't need a special keyboard for it
I don't want to work with APL regardless of character set
It is a ! and a ? squished together
Yes
yes
i can type โฝ using my compose key
That is the WTF character
compose + ! + ?
and I believe you mean It is a ! and ? squished togetherโฝ
I don't have a compose key
What purpose does it serve?
oh man compose keys are amazing
To put after exclamatory questions
it's an entirely different way of typing accents
Fair enough
it's so good to be able to type things based on what they look like
Funny thing, when commenting chess games one uses ?! as well as !? and htey have differnt meaning
รท = compose + : + -
yes, but getting used to it isn't helpful
because almost no computers in the wild have one
I mean if you only ever use your own computer then fair enough, but
?! is a dubious move and !? is an interesting move... but if they squished together it would be hard to understand
I wonder who decided to put the tittle on the bottom of the I and just call it a new character
I usually do ?!?
The chess community cannot be allowed to stand in the way of the interrobang
well there's that
Read that as the cheese community
well - they can't either
that's my kind of community
I honestly just want a new piece of non-emoji punctuation to enter common usage
I use all the smilies as punctuation
Like
not emoji but tru actual smilies

Layered on top of each other?
Thats the same as emojis IMO
it is functionally the same
nope, because emoji require non ascii chars or actual graphics
some smilies do too
๐ is the most useful emoji
as soon as they do then tyhey are emoji and I abandon them as abominations
and what's wrong with unicode or images anyway
can't do that in ascii
that is very much not a thumbsup
yeah it's not
I hate that it changes my : ) into that blob
๐
then turn off that feature
I didn't even know it did
yuss need blob emojis
I have turned off emoji rendering in so many places then someone sends me a message full of aubergines and tacos and I don't know what they are trying to say
Sounds to me like you're speaking to the wrong people
Aubergines ๐ and Tacos ๐ฎ or I guess ๐ works too depending on your proclivities
mmm
Or the right ones ๐
Honestly now I'm just hungry
tbf, tacos didn't click for me at first and I also just want tacos now
at my age me too, but for a babaganush taco with peach salsa
peach salsa sounds rubbish
Any time I hear babaganush it just makes me think of MXC
it's great with ghost pepper
I'm not a massive fan of sweet/spicy combinations
then add more ghost pepper
Like getting a grape in a thai curry is just rubbish
at that point - I may as well cut out the salsa altogether tho
and just eat the ghost pepper
depends on the curry, might be good in panang curry, they put pineapple in it here
But then how do I get the peach into it..
I haven't
The trick is to make a meal from Aubergines ๐ and Tacos ๐ฎ and ๐ otherwise it is just sexual
but I'm confident I would like it
me too
Its normally a lot of cinnamon right? Cinnamon is usually great
doesn't sound kosher ๐
apparently not
and just one specific recipe I saw had a lot of cinnamon
well maybe with turkey bacon... but that doesn't even sound good
Bacon isn't good enough that you need substitute meats for it
or religion in general
Bacon is great
substitutes aren't worth it because they can't match up
Bacon is good - but I could definitely live without it
I am not a big fan of bacon, religion has no bearing.
you could live without anything
it is akin to a very salty ashtray
well, clearly - but if the different bits of animal, bacon is very far down the list of ones I wouldn't want to give up
I don't like the "smoke" flavor and then being in the US south, if you order a vegetable here it will have been cooked in it to death
Not all bacon is smoked
true, but then to me it is not bacon, it is something else porkbelly or prejuto or something
No, it's just unsmoked bacon
anyway, not my fav,
it's lots of fat, and redmeat and my Dr says I can eat redmeat 1 time per month.. I ain't wasting that on bacon
Bacon is white meat
apparently its not actually white meat
if it comes from a mammal... it is red meat
according to Quora
red meat is red before cooking and brown when cooked
bacon is neither of those things
or grey or beige depending on how you cook it
The USDA considers all pork to be red meat
and it is not the color but the class of meat product that matters
well the USDA has been wrong before
and they will be wrong again,
Yeah, the USDA isn't exactly the best org in the world
meh.. I have to start thinking about lunch now hmmm
Some meat, such as pork, is classified as white meat under the common or gastronomic definition, but as red meat under the nutritional definition.
that said, red meat's bearing on health is unclear
there's a good amount of evidence that suggests that it's not a useful metric in any form
most of which appeared last year apparently
well, I am just trying to live forever...
Dr said eat more plants, redmeat 1ce a month, poultry a couple times a week and fish a few as well.
It might not make me live forever, but it sure might feel like it
Had shrimp tacos last night, now I know shrimp is a bug so what color meat is that ๐
Eating more plants is almost certainly a good way to live for longer
Shrimp is seafood - so probably healthy
Hmm I could go for a nice veal osso bucco right about now.. that ain't happening either
or probably very unhealthy because I'd imagine US shrimp is full of mercury and lead or something
I didn't taste any mercury or lead... maybe I got the wrong ones
you'd think I'd be healthier then in that case since I eat roughly no seafood whatsoever
probably just don't eat enough chocolate
sadly its much easier to eat unhealthily than healthily no matter what
or scotch
I don't eat either of those things really either
Scotch is the water of life, if you could drink the correct dosage every day you would live forever... just have to figure out the right dosage
none?
actually been more on a rye kick lately so there't that.
Teatotaler? I respect that. I won't make you drink my whiskey if you don't try to take mine away.
I am both a teatotaller and a teetotaller
Seems like everyone here has become craft beer fans and IPA specifically
I'm pretty sure some kinda tea actually is the water of life
did I spell it wrong
well I drink my kombucha every morning
and I have a green tea right next to me
yeah, teetotaller is someone who doesn't drink alchohol - and I presume teatotaller is someone who drinks a lotta tea
Hmmm always spelled that wrong
It originated, as we learn from the Landmark, with a man named Turner, a member of the Preston Temperance Society, who, having an impediment of speech, in addressing a meeting remarked, that partial abstinence from intoxicating liquors would not do; they must insist upon tee-tee-(stammering) tee total abstinence.
I didn't know that - thats actually pretty funny
I don't believe in abstinence just moderation in all things... including moderation.
and a little absinthe from time to time as well ๐ It's been said that Absinthe maketh the heart grow fonder...
How do I make it print in discord and not in console?
you can use
from contextlib import redirect_stdin
from io import StringIO
new_stdin = StringIO()
with redirect_stdin(new_stdin):
exec(thing)
output_to_embed(new_stdin.get_value())
just dont actually use exec() for this
You should use a process jail such as NsJail for that
snekbox cog
oh, you mean in the repo?
nsjail has nothing to do with python
it's a process isolation tool
you run other processes within it
and yeah it's not trivial to use at all
@velvet rapids who will use your bot? If it is you, it is ok to just use eval or exec
if not, people can abuse your bot and just crash the server that your bot runs in
I mean people would have to do some heavy lifting to even get the bot to work in their server anyway
It's highly customized for our purposes and towards our setup
And it's unlikely that it would crash a Discord server. At worst it would crash the bot
I'm assuming he meant the server where the bot was running - which depending what else its doing, could be very bad
Gotcha. And I likely misunderstood from the start and assumed it was about someone implementing snekbox
I'm a very tired old man
I'll be the only one with access to the command
But for safety reasons, I just want to disable somethings that can
- edit files on my system thing.
- destroy the bot like exit() or print(token)
Also, using eval, when I print it prints in console, I want the output to come back to discord
I couldn't quite understand snekbox
you'll want to redirect stdout to another storage where you can put the collected output into a message reply
I just want to disable somethings that can
- edit files on my system thing.
- destroy the bot like exit() or print(token)
you can't fully prevent these if you're not sandboxing the environment
I wouldn't use eval personally even if I was the only one to use the command
I don't trust myself enough :D
To prevent those two things, it would be actually easier to setup a sandboxing environment
just run it in a kata container and go wild
would be fun to .sys rm -rf /* just to have the supervisor automatically redeploy the container once you've nuked it
I want to make the game racko with flask
How do I do something like, when 4 people click on a button, it renders the template with different variables for all of them?
direct them to another page that has the randomized variable
i'm fairly certain it is NOT a good idea to make a game in flask tho
decent number probably, there's a channel dedicated to unix
Probably Broadcom Wi-Fi chipset then ^^
I'm on Arch Linux ๐
fun, channel's called #ot1-perplexing-regexing heh
i use arch btw ๐
:p
@ashen dome Did you use Ubuntu?
Ubuntu or Debian with non-free firmware included would probably work with your system
Also greatly depends on the device ๐
non-free contains software that does not comply with the DFSG.
HP laptop?
ThinkPad?
Looks like https://packages.ubuntu.com/bionic-updates/rtl8821ce-dkms exists
https://github.com/tomaspinho/rtl8821ce also exists, but not sure if I trust it
just go with ubuntu, or kde neon
i'd prefer kde neon :) it's super pretty and there are themes like sweet
personally not a fan of the more gradienty theme ubuntu has, but to each their own
^
People really like mint and cinnamon, go for it if you want
But i will stand by my choice of kde ๐
Cinnamon is nice, but kind of bulky
Watch a video of it, it has super nice blur and the default theme is nice too
Has effects like wobbly windows too :)
User edition
Hmm not sure
Looks like here
basics of carpentry: how to build a box
"first set your tablesaw to..."
alright let me stop your there buddy
it plays music
that's good enough for me
hello
hopefully everybody is healthy!
we don't have to quarantine this discord
he's talking about my runny nose
i woke up this morning and it's just zipping around the house
it does make the sneezes much messier
๐
and my glasses wont stay on
tape it
i have to catch it first
no one else even gonna see you for a while now
what can possibly go wrong if i drop my specs in hot water , not boiling but hot enough to burn your hand
specs?
nothing
it might actually clean some grease off them
spectacles
wow, how did you burn boiling water?
my glasses are always fucking greasy
boiling water is the easiest of meals
wiping it just smears the grease around evenly
that's why you lick the lens first
i mean
btw we can't react in off topic ;-;
what does that say about your face xx?
i have a microfibre cloth in every room in the house pretty much
i hate grime on my glasses
I rarely wipe mine
if i see some i start to move my head about in a weird way to determine exactly where it is
like some sort of fucked up pigeon
haha if you two were in the same room, it would be like 8-eyes
I am like ehh
until i can read letters on screen it doesn't matter
like some spider
that's gross
better than licking your glasses
if it were just huge cakes of dirt in your eyes would you just be like
"well, i can still read words"
my eyes aren't made of glass, though
they're squishy, and full of strange fluid
well this lenses cost a ton still get dirty easily
and that fluid can get infected somehow
ofc they get dirty easily but that's no reason not to clean them
i clean my glasses like +6 times a day
i don't like putting my finger in my eye
plus knowing me i'd fall asleep with them in
i never tried one but i can totally say i can't bare them
what about lasers into your eyeballs
its like a spider holding your eye ball
mann there is a look to everyone who wear glasses that anyone can tell that he wears glasses without even meeting him before and him not wearing them at that time
but wouldn't work on the other
I feel weird when someone come up to me and say "you wear glasses right" and i am like yeah
that "look" is two little red marks on the bridge of their nose
either that or without them they go crosseyed
it just come out naturally without even knowing where to look
perhaps a vacant stare that shows they're really looking at anything in particular
Browsing upwork for the heck of it
I still find it hard to take seriously with stuff like this up there
the 20% premium is pretty rough too
Tbh I'm kind of out of options at this point so probably I'll have to use something like upwork soon
you're unemployed?
๐ค
That's how bad the job market is here haha
that sounds like you've had 10 years to practice whatever skillset you want
Ireland, rural, unable to move or travel
Can't pass the driving theory test, and have to stick with my disabled family
Yeah pretty much
I had a pretty promising application recently
remote jobs def. exist
Company wanted a Web developer to recreate their fairly basic WordPress site from scratch, as like a bespoke webapp
Sent in my CV, guy liked me, went to the company meeting
"We just don't see why we would want to hire a programmer for this"
what does that mean
Feels like I dodged a bullet there
I'm not sure
But it seems a bit weird to not want a programmer for a programming job
Especially given the portfolio of Web design projects I had in my CV
But oh well, I guess
@sand goblet I'm looking to apply some work that's supposedly 100% remote right now
What've you got in mind?
I'm not gonna talk until I've seen where this goes
Fair
I did a tech thing for them a couple of days ago but I don't know what they think of it.
Management can be pretty slow to handle tech-related projects
But I guess that's why they hire programmers
but this story you told me did make me think that it might fit you
I'm just frustrated to be honest and I've heard plenty of freelancing horror stories
People being banned from Upwork despite fulfilling the job
Stuff like that
So I'm hesitant
๐คท
I started doing some semi-freelancing stuff recently - and its very difficult dealing with non-tech people in a business context. Explaining to them why stuff costs money is just impossible for some things
I mean I'm gonna have no choice soon but
I don't know how the social security there works. does it allow you to work in any capacity or does it immediately start cutting into your benefits?
I have no idea what that means
Anything more than that and it's gone
I make 230 euro/week or so working at a sports club but that money is welfare money
230 is nothing
so you have to work to get that money?
920 a month?
and you have to work
is this how social security works in ireland in general?
No
The standard rate is 100/week if you're not on community employment
You can work and make less than that and they'll make up the difference
400 a month won't even cover the rent...?
No, it wouldn't haha
The lucky ones get to go on Tus or Community Employment
But you have to be on welfare for years to get offered that
what is the ireland some kind of banana republic
are there student benefits
but like monthly
i guess that works too
i did a quick calc on the finnish social security website
assuming your rent is 400e + water 30e + electricity 30e + pharmaceuticals 50e, the government will hand you out precisely 1012.21 euros for free every month without any questions asked, assuming you have zero other income
That doesn't sound terrible
We have a rent allowance here but it only goes up to like 100-150/mo
the rent will be covered in full here so if your rent goes up (up to some maximum which is way more than 400e) it will be in full
the guaranteed minimum for your own money is ~500e
but still
I'm surprised by the social benefits in ireland.
They announced a support recently
I thought they'd be as good as in .fi
Where they'll pay up to 400/week for people affected by covid based on what they'd usually earn
I am on welfare though so I don't count
But I have a good boss so I'm doing it all remotely
What our dog does when he decides to steal the tag from a plant https://youtu.be/GJlJgZiWpwA
Good times
doge
Darg
how are you not employed in some sort of tech job?
not necessarily dev, although i'm sure you could look for junior positions, but almost anything would make you much more money than what you do now
because I can't find anything
that's really more or less all there is to it
almost everything I can find online never replies or is some kind of math-heavy job
And there's nothing IRL
but there are no company looking for tech workers in your area?
No
๐ฆ
You can see why really
I mean look at the area I'm in in the video haha
This is farming central
what about remote?
i mean, for all i know you could be a 20-30mn drive from a city
That's the online part I mentioned
There are no cities whatsoever in this county @frosty berry
ok, indeed that doesn't help
We just have one big town, and a load of small towns
it's probably better to be in or close to a city for jobs, especially tech ones
Yep, but can't move
although everybody works remote these days anyway, but getting recruited now is certainly not going to be easy
I'll be in my 50s before I find a decent job at this rate
remote is also a lot easier to sell to a company (but still not easy) when you have experience
I do have experience though
as a dev?
And then the company goes "We need someone to make this webapp, so why would we ever hire a programmer?"
your friend..?
that'd be me
umm why
why what?
i guess some "asking for a friend" that wasn't taken ironicaly
His buddy said his company wanted someone for the job and asked him to ask around if he knew anyone
and he knew someone: me
ahh so it's a copypaste?
maybe they were thinking "this it not a job for a programmer" because the job is more about creating content on a website?
they basically sent me two links
"this is our website" and "we want it to look like this"
and then a list of requirements, half of which their current site didn't support
it definitely wasn't going to be a case of just writing a few templates, but it wasn't much more work than that
mmhm
maybe it's a wordpress site and they assumed you could install/configure ready-made plugins for that.
yeah it sounds a bit like that
that somebody came in from the side and just told them "I can do this in 10 minutes" and they probably couldn't
I mean, my CV does have CMS experience in it
if that was the case
but it's usually faster to ditch wordpress
they were doing some optimization probably. cutting features but then cutting also the budget
wordpress is the kind of tools you can do a lot with without any programming if you know the tools and ecosystem
yeah, unfortunately I do have a lot of experience with that
the whole laundry list of features was given to you
yeah not saying the result is nice to look at internaly, but it does the job enough to be that popular
but then somebody looked at it and said "if you cut this, this, and this, the budget goes down by 900%"
ergo, no need for a programmer
I mean that is entirely possible, yeah
it sounds like that to me
i guess your other option is to self-recruit, build your own business using your programing knowledge if you are not going to move anytime soon, and the local employment perspectives are inexistent
that's what I'm trying to do at the moment
nice
was trying to sell this really nice project idea of predicting some time series but it was fatally flawed as an idea because the predictions were shit
well not complete shit but
more like "no surprises here" level
I'm actually working on a cooking community site of all things
the thing went down the drain with the corona virus taking over the world
was expecting it to pan out. had to start seriously looking for new stuff again after that.
it's not easy to work on a project like that, especially not on your own
the thing was that they gave me a database dump and told me "we monitor these metrics" - i told them "I'll try to do some project proposal based on this information and get back to you"
NDAs were signed etc.
there was a lot of potential for cool stuff there still
It happens, I guess
but i guess this is the reality with most anything data science\machine learning
you can't have results before the project is done
Anyone know off hand if you can use one of those Apple all-in-one desktop computers as a regular computer monitor?
Probably not, right?
I'm pretty sure not - but I don't know why I'm sure of that
or at least not reasonably
It's looking like it only has the standard computer ports
USB, firewire, etc.
Yeah, looking like any display ports are only display OUT, so for attaching a second monitor to that particular machine
Makes sense
kind of like laptops
@plucky ridge wanna use an iMac as a monitor?
the screen connects via a laptop style monitor connection
iirc
you'd have to do some dirty work
Not my machine. It's for someone who would be remoting in from home to do work. And she's not the most tech savvy person
So I'd rather not go down that road
java devs are alphas.because they are OOP lord
I don't know if launching an app from the terminal is 1) classy 2) stupid 3) retro 4) lazy 5) broken
What would you say?
depends who you are and what religion you prescribe to
if you're used to having a full GUI environment you probably won't launch stuff from the terminal
not least because it then locks up your terminal
but if you're an bspwm or i3 user you probably basically live in the terminal
It is the Unreal Editor, it is too much buggy to be launched from the task bar, plus you if you manage to launch it, you have to reboot it to open the project, which takes around a minute
if not from the terminal then where would you like to run it from?
on linux?
Yep
try launching it with alt+f2
nice for KDE
or gnome
but not exactly as nice for gnome
works fine on gnome too
sort of fine
It makes a search bar appear for me
a little fine, if your system is setup nicely
I have to set the project path anyway
if it is in your path you will get away with it
Command being ./UE4Editor /home/akarys/Projects/UnrealProjects/Portal/Portal.uproject
No it is not
It is built from source
if it isn't and has to run from the desktop file then it can be a little funny
but you can still install
A 3D game engine by Epic Games which can be used non-commercially for free.
/home/akarys/UnrealEngine/Engine/Binaries/Linux/UE4Editor /home/akarys/Projects/UnrealProjects/Portal/Portal.uproject Hmm, big good old command
usually
../config
make
make install
I mean, it is probably not up to date, neither legal
you can always create an alias or shell script
what do you mean, not up to date or legal
I want to be able to compile specific branches too
Oh
the legal part is catching my ear
that file explains how to download and install the package from wherever it comes from
what's not legal?
Redistributing the engine binaries
and it seems UE4Editor is part of this package
so do you have the binaries that soemone gave you or did you do a build on your machine?
well yes, but these generally include working .desktop files
Sorry, Iron Man 1 reference
then no probs
Hmm yeah I cloned the arch upstream
cd into it and makepkg -si
Can I just drop that somewhere in my system?
I don't want to build it, it is already built
sure, depends on whether you want it only for you or for any login on the system
what is that?
mono! hooray for C# or is that something different?
I mean, what is it used for?
well you'll have to look at the UE docs for what that env var does
or read that bash script
I don't think the build script is documented ๐ฌ
well there are comments in it
There should ba a file named SetupMono.sh in the git root, right?
not in the AUR package
it'll be in the upstream UE repo
the package just patches it
read the PKGBUILD to find that upstream
Ah it is in a special path
patch Engine/Build/BatchFiles/Linux/SetupMono.sh
There is absolutly no comments
I mean you can see one in the patch
only the blue line is the line that gets patched
Okay, there are 3 comments, not helpful at all
haha
What is mono anyway?
it's a .NET runtime basically
a third party one, although microsoft have contributed to it
If it isn't set properly, can it cause weird issues with the editor?
Or it just wont start?
you take a .exe that was written in C# for .NET and mono will be able to run it, probably
no idea
I wonder if I should run the patch and recompile or not
Because it takes half a day to compile
does the pkgbuild directly reference the git repo?
because if it does, the package will have updates when the branch referenced is pushed to
Epic's upstream? Yep
Yeah, it is part of the project setup I think
Anyway, let's back to wor- Why on earth is that portal on the side?!
It doesn't really looks right haha
I should just blow everything up
And.. probably use git this time
But they're all binary files
I don't know how well git will perform
Oh my
I found some spaghetti
Running ubuntu
Giving me "destination host unreachable" for all but the 8.8.8.8 dns I setup if I ping
ping 8.8.8.8 or ping 1.1.1.1 or ping 4.2.2.2 work fine but any domains don't
No idea whats wrong at this point
Yes, this is eithernet
127.0.0.1 localhost.localdomain localhost ss2
::1 localhost6.localdomain6 localhost6
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts```^^ `etc/hosts`
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 8.8.1.1```^^ `/etc/resolv.conf`
With ss2 being my hostname
Running over ssh so local stuff isn't a problem
Got it
I had a static ip assigned on my router but the networking linux detected was really messed up from the simple static ip it should have found
Nice
Is there a better working way of doing this? tree . | grep BP_PortalUtils
Nevermind, the -P flag on tree worked
But I wonder, is there a built in utility for that?
Hmm, looks like it is searching for the file content
I'm searching for the filename
ah, I see.
@velvet rapids Have you followed the link?
missing a starting slash
Which line?
how did you install chromedriver
And it's Chromium installed, not Chrome, if that matters
I went to the link, downloaded the version that most closely matched to my chromium version for linux
can you do file /usr/bin/chromedriver for me
Something to note, Facebook really reeeeaaaaallly doesn't want people accessing their sites in automated ways unless it's through API
Something to note, Facebook really reeeeaaaaallly doesn't want people accessing their sites in automated ways unless it's through API
@plucky ridge Yeah I'm not doing that anymore lmao
do you see the problem
I do not
x86-64... on a Pi
Oh
which is ARM
I mean.... messenger is one of their sites
How do I download that?
ARM is a cpu architecture, not something you download. Use your distro's package manager to install the correct chromedriver for your architecture.
you rarely ever have to manually download and install programs on linux
thast?
you should do it all through your package manager
does raspbian really not have it in official repos?
no, that's right, I'm just confused as to why it's telling you to manually download it
Last I checked that's what you have to do for those drivers
you're not running ubuntu
Might still work, though
hemm
Both debian based
Where can I get the one for raspbian?
I'd use the search terms selenium chrome driver raspbian
looks like you do need to download the Ubuntu package though, yeah
https://www.reddit.com/r/selenium/comments/7341wt/success_how_to_run_selenium_chrome_webdriver_on/ just follow this
13 votes and 5 comments so far on Reddit
just do the things in the link I posted
it tells you what you have to do step by step
So which one do I download?
@rough sapphire
There's no right hand side
Oh this?
Proposed or Release?
Chromedriver serves as a bridge between Chromium Browser and Selenium
WebDriver.
.
See https://sites.google.com/a/chromium.org/chromedriver/ for details.
that link is old
use this one
Oh okay
