#ot1-perplexing-regexing
1 messages · Page 398 of 1
nice.
so how about American Handegg?
another salad?
don't follow, but i was watching a thing on American accents and holy crap there are a lot
We are big country
inb4 every american salad is a vegetableless combination of cheeses, meats and eggs
egg+salad is a combo I really don't get
we reach from Spain to Moscow
it's very interesting to see the similarities between some places
I ate an egg once. wasn't my thing.
boston / brooklyn have similar things going on
America also has a lot of people from different countries
Contributing to the different accents
I ate an egg once. wasn't my thing.
I can't actually tell if you're joking
Handegg, American football
okay that's not all of it though is it though
since the UK is very small but has a huge array of accents
I don't think the country of origin has a huge contribution to the different accents
@undone berry half joking. egg is a nice ingredient for cooking and baking. beyond that, gross.
i can drive 4h up the country and find people i can just about understand
Scrambled eggs are good, but I can’t stand anything else
i can drive for 30 minutes and find a completely different accent.
it's just very curious is all
I'm not a massive fan of eggs - but if done right they're nice
It's the same thing in Ireland
Boston/Brooklyn have similar things going on? Let's not discuss the Yankees and Red Sox
scrambled eggs, I can live with. omelettes too. but like a hard boiled egg is something I have no idea why anyone would eat.
And it's localised to counties mostly
Would you eat a scotch egg?
scrambled eggs, I can live with. omelettes too. but like a hard boiled egg is something I have no idea why anyone would eat.
@tame terrace Agreed
on the talk about eggs, i got a whole lesson on how to cook eggs from eivl
it was excellent
Can I just have the scotch?
scotch egg? probably not. too eggy.
Fried eggs are the best because they go well with toast
Can I just have the scotch?
haha, me irl
@tame terrace Boiled eggs are best when the center is still creamy, but not runny
no thank you
auchentoshan represent.
they are if you cook them in cream
nah - I don't accept it as a descriptor for egg yolks
Custard is good too yes
@undone berry It's a spot that is hard to hit, but it exists
Or they're Cadbury Eggs
hahahah
Can't eat Fabergé Eggs wither
oh.
was about to say
OH
Cadbury eggs are like diabetes in a single egg sized package
fabergé eggs are also creamy in the middle
They're so sweet
probably. we'll never know.
i love diamonds with my creamy egg
Ow
adds crunch
I'm willing to eat pretty much anything if it has enough diamonds in it
a hard boiled egg is something I have no idea why anyone would eat.
@tame terrace
Yeah, those eggs cooked so long they turned green
diamonds are like, eat'em if you've got'em!
Add some green ham and you're set to make a book
it's only said that the eggs are green
did you guys see the netflix version of green eggs and ham?
Green ham with a side of diamonds
True
green eggs and ham
the ham is clearly green
Fair point
in the show
the ham should be normal
But yeah in the book is - yeah
Or green ham with diamonds in it
it is, but seuss was a weirdo
and obviously not great with language
green (eggs and ham) is perfectly valid
it was actually really good.
cast had jillian bell, adam devine, keegan-michael key, michael douglas, eddie izzard..
a seriously solid cast.
My experience of Netflix adaptions https://i.imgur.com/1fuCMuc.jpg
That's pretty cool though
The only real life adaptation I can think of is Deathnote
wait, it's not ended?
how many things can he not like eggs on?
Green Eggs and Ham stars Michael Douglas, Adam Devine, Keegan-Michael Key, Ilana Glazer and Eddie Izzard give a dramatic reading of the beloved children's book. Netflix's animated series Green Eggs and Ham comes out on November 8.
Watch Green Eggs and Ham, Only on Netflix: ht...
rhyming dictionaries are only so long
I was gonna say they should have done the cat in the hat
But of course they already did
didn't that go... weird?
Yeah the Cat and the Hat adaptation was questionable at best
it's so weird he only got into kids books because his porn failed to take off
ok apparently it wasn't before Netflix
but - that's because Netflix was founded in 1997
Lol yeah, the porn thing is something everyone forgets
Dr Seuss was not a cool guy
well, maybe he was cool - but he wasn't particularly concerned with being a good person
what do you base that on
I recall he was a racist or something
Whilst his wife was dying he had an affair with someone else
and married someone the year after his wife committed suicide
I've heard that one
the racism claims, I'm less impressed with
he supported japanese internment in WWII
I'd post a comic he did but it would be banning territory
he did a lot of bad ww2 propaganda, yeah
According to Wikipedia, he apparently regretted the internment stuff after the war
article on some of the wartime comics he made here http://www.openculture.com/2014/08/dr-seuss-draws-racist-anti-japanese-cartoons-during-ww-ii.html
for those who wanna see some of them
I wasn't aware of these ones. I've seen the ones with questionable racial stereotypes in them but that always felt a bit wooden, like the tintin stuff
yeah I get it, they're dated. the world was racist back then
but yeah okay you guys are bringing up valid points with this stuff
this stuff isn't super cool.
Some people say some of it was just how the times were and write it off because of that, some people say doing that is wrong
I say, enjoy the work for what it is and make up your own mind
people use it today against people of middle east descent
Which is wrong, yeah
whoever recognises this string gets $1B: CPKTNWT
@charred burrow fun fact about gta sa cheats
If you're trying to choose material to give to your kids, I think its worth considering the messages that can be taken away from the work. Part of that is also considering the author's intent
posting in #ot2-never-nester’s-nightmare
Yup, that's also true
But it's also worth remembering that a lot of shitty people contributed good things to society
Larry Ellison?
Roald Dahl is a better example of a shitty person's shittiness coming across in their work
I haven't heard about that
Haha
what did he do then
Well, just looking at an example of his work - IMO this is pretty shitty. The takeaway from this is that ugly people are shitty people
bullshit, that's a lovely sentiment
that bottom person is also ugly
and yet they are beautiful
because they "think nice thoughts"
That is absolutely not a lovely sentiment. It is saying that you can judge someone based on the appearances of them
that is the takeaway - there are pictures with it
those two people are different kinds of ugly
I mean, bottom one is an American right?
It is also implying that people who hit rock bottom are going to become ugly humans
There's a solid read about it, which I agree with
weird how all the people writing great kids books are pretty fucked up.
"all the people"
too much there.
Enid Blyton hated kids
A lot of people are fucked up
Reading it, it's not actually super relevant to the current conversation
I feel like this conversation is going to take a turn for the worse
I'm thinking of something else from the same author which I can't find
“There is a trait in the Jewish character that does provoke animosity”, he said. “I mean, there’s always a reason why anti-anything crops up anywhere; even a stinker like Hitler didn’t just pick on them for no reason.”
i mean that quote on its own from an interview is uhh
On the face of it this is a nice, positive whimsy ... but sadly it isn't true and is therefore corrosive, harmful bullshit. it's a children's book. positive whimsy that isn't quite true is an effective and usually very benevolent device.
dahl is obviously just saying that mean people are ugly and nice people are beautiful, no matter how they look. reading into it in this sort of literal way seems obtuse to me
Here's another example of his work having a pretty shitty message. https://www.goodreads.com/review/show/850881820 pretty long read tho. I'll try and tl;dr it as in the book, a dude tricking and manipulating a girl into marrying him is seen as ok
I'll admit I've never read this, so I don't think I can comment
I've read many dahl books to my kid, though, and we both enjoy them a lot.
mathilda is one of the nicest children's books I know.
full of beautiful sentiment
I haven't read that one either
I think the fact there are pictures to go with the description show that it isn't the realistic takeaway. The takeaway from it, if you factor in the picture, is that some people have ugly thoughts - and you can identify those people by the way they look
Charlie and the chocolate factory, and the fantastic Mr fox, are two I grew up with
that's just demonstrably not true
hey, does anyone have any cool talks on gpu/parallel technology or autonomous driving?
I really liked this one: https://www.youtube.com/watch?v=hx7BXih7zx8&t=1591s
Things like the NVIDIA Keynotes are just to surface level and short 😉
ugly thoughts in no way correspond to appearance
and the picture implies that the takeaway is about appearance
i think you're so focused on the trees you're refusing to acknowledge the forest, but you're entitled to your opinion.
I can see both sides
if this it the worst you've got, I guess I'm safe continuing to consider Dahl a nice writer. Maybe with the exception of Esio Trot, though.
It's hard to say for sure without asking the guy what he meant though
Sometimes it is not about the authors message but the readers interpretation
That's a dangerous route I think, @tight meadow
So I step out of the chat for a minute and you guys start talking about Hitler?
tsk tsk
Is that your takeaway? Haha
@sand goblet Art can be understood in many different ways. You should not be forced to the authors definition
No, but also, there are some things that one can't reasonably be offended by I'd think
I agree that a solid chunk of his work is perfectly good - the other ones I've seen mentioned here are all pretty solid - but I also think the guy was a bit of a prick (see: antisemitism). I just think there are multiple examples of his work using a lighthearted, friendly, with fundamentally shitty messages
evening 😄
No, but also, there are some things that one can't reasonably be offended by I'd think
@sand goblet I can understand that but sometimes you can’t take things too literal. If it is trying to be offensive, take it literally. If not, don’t.
hey gee dude!
hi roons
@torn ridge good evening!
lemon!
@tight meadow Fair, I guess
you old fogey
IKR 45
i saw a video of him lately saying it was too complicated and couldnt get it working
Yeah, and he said he'd do a collab with DrZzs if he was down for it
And he posted a comment saying he was down for it
:>
ahhh nice!
i dont do much with automation nowadays, just have my lights turning on and off at sunrise/sunset and a self-hosted bitwarden lol
im just waiting for WSL2 to hit then maybe move the stuff off my pi
terminals released now too which is awesome
I'm considering doing an IoT project of my own
Inspired by Divoo's products - LED pixel grid speakers
Because you can't program them, there's no API
theres been some amazing cool stuff posted on the python subreddit lately, with lights / moodlighting reacting to monitor backgrounds / games
That's pretty neat stuff
one used arduino and striplights, the other used LIFX api calls
I'm planning on building something with a pi and an LED matrix
seeee id love an led matrix
Adafruit makes them
actually there is a ton of stuff io would love
My issue is mostly making or finding an enclosure
And also a grid and diffuser panel
ive not streamed in over a month or so, so my disposable income is... urmm... limited!
I hear that
but you end up using them so little!
That makes two of us lol
i have a lot of tins that need stacking
If I had one I could do a lot of IoT projects
When I looked, online 3d printing was pretty damn cheap
heinz tins are the same sized top / bottom, so they dont stack correctly
every now and then i will come up with something i want to 3d print, but im always to lazy to design it
Yeah but the problem is that you have to order it, you can't make things at home, adjust things until it's right
LOL, id just end up printing dumb stuff
BEHOLD ITS FINISHED.... another 3d printed willie!
Yeah but the problem is that you have to order it, you can't make things at home, adjust things until it's right
measure twice cut once - that probably holds true for 3d printing
Sure but I don't know how to design something in the first place
not really 😦 often things will warp by like .1-2 mm and then you have to figure out how to adjust
like id like to print a charging holder for my electric razor (it has the charge port in the bottom, so i would fit perfectly!) but its a suuuper organic shape and theres no way i can model that..
only way i can think of doing it is point cloud mapping or something
(would be a cool project..)
i want a stand for my pccculus quest!
i do, its FANTASTIC!
I'm thinking of getting one myself
How's the latency for that?
Nice
beatsaber and the like, feels a bit "spongy"
i only have a windows mr headset
i should probably sell that..
jiw ouldnt bother to be honest
gdude you interested? 😉
only way i can think of doing it is point cloud mapping or something
@buoyant pendant You could use a tool like meshroom to create a 3d model based onto some pictures, and import it into you 3d software
sorry i wouldnt bother with the cable
they just released an update so it works with usb 2.0
so no need for a thick USB3 cable
I do have spare 3.0 ports though
thanks @solid pollen ill try that!
its the thickness of the cable
I have Valve Index, I wish it was wireless but quality is oh so nice
and the added weight due to the length
Rabbit here is made of money
🦅
and people are reporting much better quality with VRDesktop than with the link cable
Interesting, okay
got to put that "Not paying for healthcare" money to good use 😉
i playd halflife alyx on it... beautiful!
absolutely wonderful
the quest is REALLY good
Good to hear
camera passthrough, hand tracking
Alyx is good
really do kind of want to try it, i was a huge fan of hl2
hand tracking games released in a few weeks (instead of just sideloaded apps)
its REALLY good
the headcrabs are GREAT!
i guess actually wearing something on your head makes it seem more realistic
I really want it for beat saber
I'm sad because I have a rift DK1 but there's no way to use it on windows 10 haha
Used to use it with vivecraft back in the day
yeah ive tried vivecraft too, its impressive, and weird because VR!
me and my best mate have one
so we watched bigscreen together (a virtual cinema) sat with our avatars in there, and watched battle angel alita in 3d together
absolutely fantastic it was
and echo arena!!!
HOLY GOD THAT GAME
its literally enders game in the games room!
DCS?
I need a better job :v
I'm on a community employment scheme
Got a text from my boss today saying he thought work was back on
Turns out one of the other sponsors on the scheme is breaking lockdown and bringing her people in
@sand goblet i think you should still potentially talk to the one link i gave you
they might be able to come up with better numbers
if you can convince them
RuneW0lf, flight sim
its terrifying, we're not over it! its not even kicked in properly yet i dont think
@sand goblet how difficult is it to get a VAT number in IE?
Pretty easy
Ahhh okies rabbit, yeah i'd probably VOM!
There's no concept of VAT registration for companies?
@sand goblet so it's not very expensive or too much bureaucracy as a private person
There is
You don't have to register for vat under a certain threshold
But you still have to do accounts to show that you're below it
alright - I'm guessing its roughly the same as here then
correct i'm registered as self-employed
Most likely
I'm VAT registered too
fuckin love it here with my taxes. 10% lol static
But I'm not doing business, so
i never hit the threshold, so im good 😄
make 100k a month? 10% thx bye
i make 3k / year.. ez!
Ooof, rough my friend!
it's 220 more than 0
Yup
my jobs to guilt trip people into giving me money
its like being a beggar... from the comfort of my own home
What you really need is a bikini and a pair of thigh highs
grins
Haha
💃
i could do that!
It's like half of twitch
if i had the assets i would!
@undone berry I just wanna say that I did read that patrick rothfuss esio trot review now and it was a really good read, thanks for linking it
Fair point that
I agree that that book sounds fucked up
there is no shame!
lemon will you hire me
nope
why not
I don't even know who you are
well will you interview me
🤷
he's the brains.. he has people for that!
doesn't hurt to ask
For the record, I don't think all of his work is trash or anything - just that some dodgy views creep into his work in some places. Most of it is largely fine
I found it really endearing that rothfuss made up a different ending for his kid
his version does indeed sound better
Rothfuss is a very cool dude
and it's also a bit cool that it's god damn rothfuss writing this thing
so, nice link. thanks
Oh man, self-employed taxes here are such a headache
what do you guys think about flutter?
for insomnia i just take a ton of opioids hoping i die every night upping the dosage.
@rough sapphire This is not the place for that kind of discussion. If you are suffering depression and having suicidal thoughts you should instead seek help from a professional. We are a Python community and as such this is not an appropriate place for this
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious/inappropriate or be for graded coursework/exams.
ah i see
From our code of conduct
Examples of unacceptable behavior by participants include:
Discussing topics that are overly polarizing, sensitive, or incite arguments. This includes the discussion of polarizing political views, violence, suicide, and rape.```
i said k , chill
sup guys
Hey @gentle moss you around?
watching a movie, but kinda
ohh
just had funny traffic today
Protocol TCP, Source 127.1 Destination 127.1
came from a customer server
what the hell are these people doing o_O
I have no clue 😄
I don't think they do either
Apparently it was a misconfiguration, but I really would like to know how they made the NIC send that data out
I am going to do some wiresharking later
127.1 does not fall into the default route usually
unless they have a different IP on their lo0 and deleted the 127.1 link completely
ah nice, wireshark is fun
then I can see how it would enter the default route
basically my job xD
Salad time
What are the orangish things?
Croutons?
I have NO idea if I spelled that correctly
that pictures looks like what it'd look like to wake up in a salad
Looking good!
i'd skip the olives, but it does look refreshing
I'd add some cherry tomato or pepper for color
or both :o
Let's not get ahead of ourselves
@gentle moss only if it's not November
you feta believe it
where to read mushoku tensei LN and WN online?
I have no idea what those are
You do enjoy avoiding sleep
i m not enjoying
my circidian rhythm is slowly moving forward
like one day i sleep at 12
sometimes 12:15
and thus it keeps on moving
until at somepoint
i reach morning
then i dont sleep the whole day
that's probably part of it
If I remember correctly, the trick to fixing that is to stay awake for 24 hours and then go to sleep at the time you want to be your new regular
and next day i sleep at 7PM
If I remember correctly, the trick to fixing that is to stay awake for 24 hours and then go to sleep at the time you want to be your new regular
Yeah, that works for me
Although it's a miserable experience
Although it's a miserable experience
Especially as you can't go sit in a coffee shop all day or something (right now that is)
i have coffee in home
Ah right
and tea too
Yeah, its not about the coffee - more about having to be at home
charlie has coffee in his pic or whatever else
It is indeed tea. This is a cup of Yorkshire tea with milk and 2 sugars. Stolen from /r/ratemytea
ok
To which I reply, ick
2 sugars is a bit sweet. But this isn't ick territory - this is prime British tea
I'm just not huge on milk in tea
i like black tea (no milk,no sugar) just huge amount of tea
In coffee sure but for some reason it just doesn't click with me in tea
I wonder if its one of those things that has to be culturally hammered in to you
Probably
Ah yes, good ol' cofftea
It isn't bad - but its just worse than either one on its own
Yeah it certainly doesn't improve anything
hmm
i didnt know it was a beverage that had official page on wikipedia
i just thought it was random combination
Different cultures, different tastes
If you want to see brits lose their temper, tell them to pour the milk first
I tried macha tonight. I didn't care for it much. That being said, I ended up adding, literally, another dimension to my image generation code.
and I looped the z axis.
So now it's kind of toroidal.
The US, last I checked.
If you want to see brits lose their temper, tell them to pour the milk first
Now this is where only the silly Brits get it wrong. Good tea is brewed in a pot first, and if you're brewing the tea in a pot - it doesn't really matter when you add the milk. It's slightly easier to add the milk after, so you can more accurately judge colour, but it's not a huge thing
@low shadow You didn't learn anything being here, did you?
How the fuck do you think linking this is ok in the first place?
[20:10] ☕ Charlie: It is indeed tea. This is a cup of Yorkshire tea with milk and 2 sugars. Stolen from /r/ratemytea
and it's a good looking tea.
classic builders brew
strong enough for the spoon to stand up
if that was a normal tea it'd be too weak
way too much milk
but it's chai
so it can get in the bin
but does it have what plants crave?
For marsala that'd be normal enough.
such a fun movie
i mean it is stupid, but also a funny commentary on society
"Carl's Junior, go fuck yourself."
i find the branding jokes super amusing
i think that's the reason why it was limited theatrical release
The only tea I currently have is pretty rubbish
i don't even know what's in my tea jar
i think it's yorkshire
right teabag shape for it
i haven't been on the caffeine in about 2 weeks :o
huh, chai tea
🙂
also there are chai lattes out there which're basically chai tea and milk, or something. depends on the brand, or where you get it
um just for the record chai tea is basically saying tea tea cos in hindi it's called tea
better to call it chai 🙂
ah. things get mistranslated 😕
it's a tautology, but it's useful in English
what we call chai tea here always inolves cinnamon
ah my bad
it's fine
which like is probably totally not authentic, but :>
I haven't actually had tea in aaaages
I prefer hot chocolate tbh and I have a bunch of odd ones in the cupboard at all times
chai latte with chocolate is a thing, too. a very nice thing
Chai latte + espresso, or dirty chai in parts of the US I think, is nice =p
at the moment, from memory
I've got rocky road hot chocolate
raspberry ripple hot chocolate and.. blueberry cheesecake
and I think orange as well
Isn't proper place for tea in the harbor? 🦅
P&G Tips !
The word everyone is looking for is marsala.
Chai Marsala.
But because people are people, it gets called chai.
I had a good first experience with it.
I’ve had some Indian spiced tea before, it was... quite spice filled.
Although it was a pre-packaged off the shelf sort of product. Not homemade or hand made at a coffee shop.
I need to find a good chai masala place, I was excited to try one out in the town my uni's in but it seems they add too much milk. One of my friends has offered to make me some should I visit them though, perhaps the best is homemade 😄
Indeed 😛 Homemade in any case is pretty much always better
Chai Marsala.
@soft violet if u referring to wine then the word marsala is correct , but if u referring to tea itschai masala
not marsala
chai = tea (hindi) chiya = tea (nepali), masala = spice
marsala = wine
brawndo, it's what plants crave.
@gentle moss plant crave ion and yes brawando though u wouldnt pour energy drink to plant LOL
carrot
Yeah, I use it a lot
pycharm is so cool
It was one of the first things I looked for after I started to use PyCharm as I was so used to it from Sublime
no, they are simple tools
Do you agreee with this? I find that it's often 100% the opposite.
It's a good principle
It's more like... if youre tool is so complex that configuration requires a manual and the ability for precise specification is necessary for some users but inaccessible to many others, that's when you write a CLI tool. When the task at hand is about sheer ability to execute whatever with enough tiem to studying the man pages.
it minimizes errors
yeah I suppose so
Personally, if an application is extremely complex that last thing i want to see as a user is a GUI.
Unless its inherantly visual in some way.
I think that configuration that you do not regularly need many bejaviours, it should definitely go in a config before a command flag.
But if its a thing you need this sometimes and that sometimes
good for flag
Personally, if an application is extremely complex that last thing i want to see as a user is a GUI.
A GUI means you can achieve some complex stuff without having to dig through manuals. For something where the use case is using it, I think they can definitely save time
PyCharm is a good example of this
I'm actually a fan of NOT implementing command line arguments besides --configfile
I suppose. They can also waste it. But its not a black and white issue. There are different use cases, preferences and productivities... but like okay... in a command line tool, everything is laid out exactly how it should be ideally. If I need whatever, I know exactly where to look for it. I can type it very fast. In a GUI, I have to look.
Ihave to scour with my eyes to find something in clutter
Depending on design
But if its complex
and for the love of all that holy, please use either JSON/YAML for your config file
that's just shit UI design
plenty of programs have made accessible menus without having it become a spelunking expedition
I hope to make it better anyway
Are we talking application that is server or client side?
But like... I can type a file path that I know faster that I can click on this, click on that. scroll through those, spot it where it is at this zoom level of the screen and window dimensions. The main thing is just that it takes time to be skillful with anything and you have to learn aliasing behaviour and maintaining your own shell scripts
But like..
there is no comparison for a lot of things. But both can say that about each othjer. They have important places for me
I wouldnt give up either
And when i say maintaining shell scripts, I mean like a couple of lines of the simplest thing in the world
file path windows are a bit shit when they don't let you type something.
So you dont have to look in man pages
GUI config for applications are provided because they are cheaper for a business
I think it has 100% more to do with the user wont use it.
lower entry point for use.
I mean on average
and cheaper to hire the person to operate it
TLS, again, whether not to have command line vs GUI vs config file depends on type of application
I mean... I definitely agree. And I think for many things you could have both, with one as the default set and the other for on the fly adjustments.
But it depends. Some programs you will never execute the same way twice
And will spend a good portion of time assembling it
Buit they arent all that way
and for the love of all that holy, please use either JSON/YAML for your config file
JSON is not a config format, JSON5, INI, YAML, TOML, cfg, ... is
what's the difference between JSON and JSON5
for command line applications we make, unless the option changes every run or so, config information goes into file, command line argument is --configfile --<not in config file option>
i thought json5 was that band with michael json in it.
its horrible when people use json as config files. Its worse than command line. It provides none of the ease of use for people who cant open a code editor
JSON5 has comments, trailing commas, unquoted keys and other nice features which make it easy to edit
SRE here, I want to set both of you on fire
JSON is a serialization format, it is in the name
and HTML is a programming language.
JSON, I'm not going to be editing these files without Editor/IDE or YAML
WHy? Because those both have support by most command lines natively without a bunch of weird libraries I have to install
I'm really talking about from the perspective of an end user.
For us its not entirely the same
JSON is a pain to edit even on editors that support it
pip install json5
import json5 #remind me to set the developer on fire```
TLS, never had that issue in VSCOde
I forgot the comma, why is next line all red and such, oh I forgot the comma
I want to be able to edit config files with ed over ssh
revokes lakmatiol SSH privledges
if I cant do that, it is a bad format
gets out the bat
wack why are you wack editting wack wack config files not under wack wack git control?
also, JSON has no comments
which is really bad in a bloody config file
because yknow, I want to know what a given key does
documentation you are probably reading?
the lack of comments is really awful
YAML then
looking 2 lines above is faster than searching through docs
haven't been following the discussion much but using json for config is ew
ye, YAML is good, even if a little overfeatured
it's not human friendly at all
kwzrd, real reason to use it is native support
humans don't natively support it though
you should not write config files for the computer
that is quite literally the exact opposite of their purpose
i see json as more of a data transfer format
Sure, it's primary use is that
ye, JSON is data transfer, and maybe data entry
but config/ini files are worst
because you are writing parsers to deal with their shit
@lofty dirgewhat?
idk, i grew up editing ini/cfg files and i find json far more frustrating
why are you parsing config files yourself
use whatever format your tool supports, or FFI into whatever C lib is around
or yknow, stop using bad tools
This is a really weird discussion somehow and the arguments aren't really sound imho
doesn't python have a built-in configparser for ini?
yes it does
key=value```
You cannot configure everything with a clicky-di-colorli ui
I think in python there is no excuse to not simply use a python file as a config file
in most situations
Writing a config file for certain things is how things works and how they should work
python is not a great data entry language
if you want a standard config file, use TOML/YAML/JSON5/that one standard format of INI
It does not matter what one uses, the syntax must fit the purpose
I think its better to have a file I can grep for an option instead of looking for it. But I woudl rather use something other than json. Something that is more like, This = this, that = that, not a data structure
@rough sapphire yeah, I also find it odd - I've seen people write awfully complex config parsers to create deeply nested hierarchies at runtime, when all it really needed was a dict literal
but some people insist on the config being a non-source file
I've never quite understood why
shrug. Ive never tried it so i cant say its a horrible idea but
i probably will never bother haha
config is data, code is code. You generally want to keep the two distinct.
@fervent dock Because it is easier to deal with an error in a config like yaml or json than a syntax error, which stops execution
We use JSON/YAML exclusively and almost never edit those files by hand
I suppose so.
then they are not quite config files, are they
I don't buy that argument, you can have a syntax error anywhere in your code
if you let that reach production, you have other problems
they are
well, a config file is edited by the end user
@fervent dock That makes no sense. A config is user edited
and if the user writes a syntax error, well too bad
I'm the "end user"
Weirdly enough, its the most simple linux systems files for running services on networks at low level specification where randomly i edited the file somehow to break
as SRE, I'm changing config for some service a developer wrote"
makes me the "end user"
all my config files are pickled python dictionaries because i'm the end user
so it's fine.
I think there are quite some principles mixed up in this discussion and it reached a point where everyone is speaking of a very different use case
and even then, JSON is supported by so many editors, I've almost never screwed up syntax that editor wasn't like "DUDE, WTF!"
Yeah, for sure. I dont dislike JSON, i only said anything because right now i have a command likne interface that sucks and it says, "there is a json!"
and its a tool that you need to have variation
if you have a nice editor, any standard format will do the job
so im working on it'
if you do not, JSON is hell
That makes no sense. A config is user edited
in that case, yeah, but you probably don't have the user define deep hierarchies - I'm not saying all config should be in source files, but I think very often it can be
I think if you do what i did to my pelican config file, you can no longer ship it to users as a config file
what advantage does JSON have over TOML as a config file?
if you want the user to define something complex, it probably needs a safer interface than editing a raw file
lakmatiol, for us, native support by our preferred command line tool, Powershell
@fervent dock You've never configured server services, did you?
I'd rather write apache config files than having to use powershell for that
and again, if you used python, native support
config files are straight forward
Is Powershell a language, a tool to be used in any terminal, or is it the shitty blue terminal that comes in Windows?
language
@undone berry all 3
Charlie, it's a language
powershell is apparently super cool, but I don't know if I'll ever be able to learn it
it's OOP scripting focused language
this file, which is all the same file, used to be just simple assignments
yes.
you can change the colour lol
for writing Powershell, I use Visual Studio Code
I dont know why i didnt do that in another file than my config file
So... definitely separation of concerns is a thion
if I'm writing Powershell on the command line, I use new WIndows Terminal
@undone berry All powershell 😄
I'd agree that the blue is a questionable choice
i'm mostly in powershell because of active directory / exchange
Powershell ISE hiss
I just discovered that you can change the colour - so that makes it actually usable. Not sure why the default is unusable
they wanted it to be clear when you opened Powershell instead of command line
because dumb windows admins
But its so unusable with the defaults of other programs
and then make lots of the highlighted text green
🙄
From all the people I know who work in that industry and are into the defcon scene, they do not hate windows server and AD as much as I would expect. They dont want to use it for everything but
that's... that's so sophisticated.
industry as in sec
AD in particular is one of best User Authentication software out there
yup yup
Ive never touched it.
But bottom line is and I think that is what I didn't like about what you guys said: There is not THE ONE config format for everything. Everything has it's use. I use ini as well as json or yaml, always depending on the use case. A tool must fit the need. That applies to wine glasses and drills as well as file formats, IDE, Operating Systems, Hardware etc
i couldn't imagine trying to deploy some sort of business environment without AD
it'd probably be a nightmare
One guy who is a mentor of mine told me that its fine for what he uses it for but he would never use the home desktop
like my friend who works almost entirely on Linux setup, they run 6 Windows server just for AD authenication for the servers
you'd probably have to use OpenLDAP or something
@gentle moss Please no. Not for Windows domains
I was gonna go to defcon for the first time this year
i've never bothered to look into it scorch
I have worked with Linux based Windows domains. It's a fucking pain in the arse
as AD works so well.
virus come
I'd rather use a real AD DC
bisk, no, the Linux servers authenicate against AD, not other way around
That probably works better
Does it have a graphical interface like desktop or basicallyt powershell?
For example, with the Linux-based AD, I couldn't roll out software remotely, because it does not support it
it has both.
so had to come in at 4 in the morning to roll out one program on 50 pc by hand
the graphical interface is damn solid for nearly everything you want to do
but sometimes having the shell is nice
I have heard that. It doesnt represent like... ummm ... vectors for ignorant people to do wrong things?
i guess you dont let them touch the computer
I find that people are far less likely to touch settings if it doesnnt look easy
like people at work
make the AD servers Windows Core to keep idiots off them
but the barrier to entry for simple stuff like adding / removing users
word
that shit can be done by someone with little knowledge
oh definitely.
I just cant imagine what its like to use Microsoft software that opens up possibility to do things you want to do without fighting it
Active Directory Graphic Interface
Im going to experiment with running different branches for different features concurrently.
I think it will help me
definitely set up a windows ad/dc at some point
Is it something i can do on a VM for free?
uhhh
You dont have to answer that lol
well you don't have to active windows server for 90 days iirc.
Yes
right haha
google Windows Server Eval
my windows is still not actrivated. I dont have a problem with it because I never use it. I endure the little message that it has there. I endure harassment and monitoring from them any time i use it
They are sufficiently paid i think
it's not Rule 5 violation to talk about it, Windows Server may be run for 180 days in non production use without license violation
speaking of windows license violations
i bet so many people are out of compliance atm
But I honestly cant remember the last time i logged into it
having enabled RDP functionality
RDP allows for 2 connections
RDP?
remote desktop protocol
ahh right,
yeah, but with everyone shifting to work from home right now
i can see it being a higher number than you'd think
RDP should never be public facing because that's mental
Sure
My wife brought a computer home with her to work on. And yeah
I have scanned and looked it.
Its on my network
but yeah
but a ton of companies have been rolling out Azure VDI which cleans the licensing issues right up
There is a lot of problems with it
or RDP HTTP Gateway -> RDP
yeah, they even said at first when it happened that they couildnt do this work from home because of where she works its an information security issue imo.
But they eventually had to.
And they rushed to get it set up]
And had us sign forms that we would protect it lol
that's the real problem, rushing to do it.
as a business to business IT support company we've been encouraging our customers to set up some kind of remote working for years
for disaster reasons
then it snows and no one can get in
"we can't get in! we need our critical staff to get access!"
so we cobble something together
then point out to them "hey, we told you about this. maybe you should implement a proper plan..."
"we'll do it later."
Im pretty sure if I wanted to risk fighting with my wife I could pull up the documents she is using from the cloud. I have seen all the services that are running exposed.
then it snows / floods again
thats really as far as i care to go into that
It is my house but its not my stuff
They usually come to me when the skip traces cant find someone who disappeared
and Ill be like
"Lay it on me"
But usually i only want to look at it if itis interesting
She works in law.
I just accidently commited a bunch of things like the venv and stuff that it sucks that i did that. But I didnt push.
Is there an easy command to take that back
You can amend the commit
so what you do
the .git dir?
git reset --soft HEAD^ will do a soft reset back to the previous commit, without losing your changes
then do git reset HEAD path/to/venv to reset the venv
ah cool. What does HEAD mean in the context of git? and is the caret intended?
it is intended and I'll explain that in a sec
ill have to read otherwise but thanks for telling me what to do either wya
once you've done that, you can git commit -c ORIG_HEAD to recreate the commit
as for HEAD, that always refers to the latest commit in the current branch
HEAD^ or HEAD~1 is one commit back
note that my second reset command there didn't use --soft
there are also --hard resets which will completely reset the state of those files back to whatever the repository had tracked
i need to look up several of those flags.
that is what i assumed that meant
but the -c on commit. I always just use -m
well -c isn't for specifying a message
alright im gonna try it
it basically reuses the log message and authorship information from another commit
-c will open an editor so you can edit the message
-C won't
since you're in the middle of a reset, the meaning of HEAD has changed, so ORIG_HEAD refers to what HEAD was before you reset
so, are you using capital letters to refer to a variable that i have to detrermine what I should put there?
No, you have to literally use that text verbatim
just making sure
they have specific meanings to Git
the part i am at now is in the editor, which is not the one id have picked by default but thats fine haha. Is this only for me to edit my message?
Or is anything else in there special meaning?
yeah it's just to edit the message
it uses vim by default, but I assume you knew that
you can set the EDITOR shell variable if you want to change it
anyway, hope that helps
there's a lot of advanced stuff you can do with git that most people don't need
it will, I gives me a path of new git concepts to learn. I decided to day that I would use branches more effectively
and i did this
protip: if you edit the gitignore, stage it before you try to stage anything else
otherwise it won't apply
i know, I just didnt.. This is a first commit to this.
I almost wan to just destroyu the repo and reclone it after saving my files. Its telling me that im ahead how by 1 when I do git status and i cant tell what is in the commit exactly
git is one of the most confusing things. It took me a while to understand just basic committing and pushing on the same branch but its actually one of the most sophisticated things in software
If you're using PyCharm or another intellij ide it can do all this stuff for you
I can't think of a single thing I'd need to drop to a shell for
Many other editors have similar tools as well
I would prefer to use the shell really, its always open no mattter what program im in. Its not so much the commands that are hard. Its the concepts. Its intricately complex on its own.
i think there is something scary about it too because you can imagine how embarassing it would be to destroy something
But I guess thats the idea of why we use it
I mean to be fair though
Clicking amend in an editor and unticking the files is easier
But once you've memorised everything you're still in a good spot
I dont have alot of experience with doing that other than that it causes me to get "your thing does not match the thing please fetch or pull in a sequence that is acceptable" Thats browser edits which i avoid for that reason
I don't edit in a browser either, yeah
But I use add, commit, and push very regularly. I dont alwasy checkout of and into branches though. And i definitely only have done one merge ever
and it scared me
i think there is something scary about it too because you can imagine how embarassing it would be to destroy something
@rough sapphire That is why you learn your tools before you use them. I create cheat sheets for tools I use
this way you get the options memorized really quick just by creating it
Definitely, that is basically what i am doing. These are just my shit shows. Although I am working on a fork now of someone elses work. I think its gonna be good for me
It makes me stop and be like, "Is that worth changing?"
and then be like, "Nah. I dont know his implementation well enough yet. Im adding one feature rn"
@rough sapphire Wanna know something I always get wrong and always have to google?
<link rel="stylesheet" href="/css.css"> this stupid line
haha yeah, for a long time i didnt get the difference between rel and type to be honest. I actually have to look up what atts go with what and not with other things.
Like a link tag has an src, um, a rel, and...
the type is important one that one i guess?
Mainly with that, its that its has changed so much over the years that i dont trust that its the same way anymore.
So i have to look it up
This is why i cant roll with using that terminal emulator toy in the browser to make shell experiences because i would be putting too much work into something i shouldnt
Hey they are suggesting automated fixes for some of these
at what point do i have too many browsers https://arse.ee/LJhGkSTS.png
You are missing opera and chromium
