havenwood changed the topic of #ruby to: Ruby 3.4.4, 3.3.8, 3.5.0-preview1 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
<The_Camel> sigh
<The_Camel> some of the games they make nowadays....
<The_Camel> they focus so much on it looking good but they completely lack gameplay value
<The_Camel> no depth. and most of them, are boring as fuck
<fantazo> The_Camel: but the graphics!
<The_Camel> fantazo, yeah, they're absolutely fantastic and I love them but
<The_Camel> the gameplay!
<The_Camel> also
<The_Camel> they seem so
<fantazo> The_Camel: but the graphics!
<The_Camel> focused on information overload
<fantazo> sorry I need to make a joke out of that.
<The_Camel> I don't know half the shit around in my UI
<The_Camel> and it's only been like
<The_Camel> 10 minutes in
<The_Camel> I got showed so much crap
<The_Camel> ...
* fantazo would like to earn an income
<The_Camel> fantazo, https://i.imgur.com/zrtZI3A.png
<The_Camel> just look how pretty the graphics are!
<The_Camel> top notch. 11/10
<The_Camel> if only
<The_Camel> the game was fun.
<fantazo> how did I end up after 13 years of ruby experience and starting to run as a freelancer in the middle of a recession, an "AI-take-over" and the downfall of all(?) local ruby projects. I look at my account balance how it falls since months.
<The_Camel> fantazo, I'm sorry mate.
<fantazo> and when I send out normal job applications to "normal coding" jobs, then I'm not considered, because apparently you have to have 10 years plus as a java developer to be even considered to write one line in that "quality" programming language.
<fantazo> or C++, the same deal again.
<The_Camel> fantazo, yeah, I know. it's a retarded time period.
<The_Camel> completely fucked
<fantazo> I wish I would have the reputation, that would beat project providers into submission and give me projects and money.
<The_Camel> I'm unemployed too so don't feel so bad.
<fantazo> The_Camel: absolutely. not my timeline, who has brought that shit!? who selected the "dystopian timeline" at the coffee machine!? and now the floor is covered in fascist coffee.
<fantazo> The_Camel: being unemployed AND looking how the money runs out. I would need to close up my "company" and crawl back to the job office. that's like putting a dream you have into a shredder.
<The_Camel> well
<fantazo> but maybe I'll do that in june, july or august. I can't decide how long I still try.
<The_Camel> I'm sorry ;/
<fantazo> The_Camel: you don't have to. I'm just venting. I mean partially it's "my fault", because I haven't overcome my fear of marketing.
<The_Camel> fantazo, worse than my employment situation is the lack of a partner.
<The_Camel> that shit hurts bad
<fantazo> The_Camel: well, sounds like my life for 20 years.
<fantazo> no partner, almost no support group, always struggling somewhat, thought on a more "comfortable" level I guess.
<The_Camel> fantazo, a song that makes me happy when things are down.
<The_Camel> fantazo, it starts at 2:08. Ignore the beginning.
<The_Camel> fantazo, it's an advocator of karma.
<The_Camel> the wheel shall turn eventually. either in this life or another.
<fantazo> The_Camel: is that mandarin? sadly no translation of the subtitles. so when you say the song is about karma, that may be a relieve if you believe that re-incarnation is true, I guess.
<The_Camel> fantazo, it's in cantonese. and no I don't believe in reincarnation.
<The_Camel> fantazo, but I do believe there is some force out there, that makes the machinations of this world. be it panentheism, monotheism or perhaps... even if atheism.
<fantazo> The_Camel: I would like to see at least that the basic principle of say "you wronged me, that means someone will wrong you too" or that it will somehow come back to the person.
<fantazo> would actually work.
<The_Camel> fantazo, metaphysically, I have seen the world turn upside down in situations of power and the like
<The_Camel> fantazo, in every single domain and manner possible
<fantazo> I certainly see the value in not trying to cling to issues too much. as it makes things harder, I thing that's called dukha.
<The_Camel> fantazo, so whether you don't empirically believe karma is a thing, then at least let history show you that it has happened.
<fantazo> The_Camel: certainly, it has happened a couple of times. but it's sadly not a general rule.
<The_Camel> fantazo, I have a belief that is inspired by Kurt Godel. if there is no justice or God in this world, maybe there will be on in another.
<The_Camel> one*
<fantazo> which could force people to be kind. or make a person who was wronged in some way, get the luxury of an equlillibrium again.
<fantazo> The_Camel: maybe, but it's more theoretical. because I won't live in that world. I have only this life.
<The_Camel> fantazo, if there is reason, logic and order in this world, there will be one in the other. an afterlife is highly plausible.
<fantazo> and sometimes it means finding answers to un-answerable questions, like "what I'm here for?", "what's my purpose?", "why was I mistreated?", "why is this a pattern in my life?", etc.
<The_Camel> fantazo, sure. the "Unanswerable Questions" to which a lot of stuff doesn't make sense.
<The_Camel> fantazo, all I can say is - I have no idea. But I do hope things will be answered one day.
<The_Camel> if not, then we are all doomed.
<The_Camel> fantazo, in the world existence possible.
<The_Camel> worst*
<The_Camel> fantazo, I'm an agnostic deist by the way.
<The_Camel> I discard existing religions but I don't discard the possibility of a deus otiosus (hidden god)
<fantazo> The_Camel: I'm an agnostic or an agnostic atheist, depends on my day.
<fantazo> and someone with a philsophy thread, because I studied that a little bit. but then I needed to get a job and so I did not finish.
<The_Camel> fantazo, the modern form of "religion" is "Process Theology", introduced by Albert North Whitehead posits that a God is needed for the universe to exist otherwise "order" was not possible.
<The_Camel> fantazo, what is unpleasant with Process Theology is that it depicts God as, almost a cosmic entity that doesn't really offer salvation.
<fantazo> The_Camel: process theology, ok I need to look at that. but I generally believe not in a thinking or acting god like what 99,99% of religions think.
<fantazo> from what I see is that we are almost talking with ourselves.
<fantazo> god, is what we make up.
<The_Camel> fantazo, then you will find process theology closer to what you consider God to be. an entity that is very hard to explain.
<The_Camel> fantazo, ultimately, what you can take from Process Theology is - there are questions and mystery.
<The_Camel> if not satisfaction.
<The_Camel> very metaphysical driven.
<The_Camel> Far from abrahamic religions ;/
<The_Camel> fantazo, aside from the "Intellectual" aspect of it, as I said, the main thing that bothers me with it, is that the God described doesn't offer salvation.
<The_Camel> to some degree, you might even say that God doesn't even give a fuck (despite process theology saying otherwise)
<fantazo> The_Camel: as I wrote, I'm more of an atheist. but I "believe" in a principle. I could accept a "god", which is simply how this world is calibrated, a set of rules which define how things work out, which does not think. which just is. a very boring god and certainly what 99,99999% of religions in this world get wrong and would freak them out.
<fantazo> anyway I go to bed now. which ends this "offtopic" conversation.
<fantazo> everybody use the ruby programming language, a hackers best friend. and also elixir, which is another best friend.
<The_Camel> fantazo, good night. we may never talk again since we're always randomly here but
<The_Camel> fantazo, I hope one day there will be hope in the end.
<fantazo> The_Camel: btw. on hope. look at the language of hope: https://en.wikipedia.org/wiki/Esperanto
<The_Camel> fantazo, :P
rvalue has quit [Ping timeout: 248 seconds]
oznek has joined #ruby
rvalue has joined #ruby
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Ping timeout: 252 seconds]
nirvdrum741 has quit [Quit: The Lounge - https://thelounge.chat]
Linux_Kerio has joined #ruby
nirvdrum741 has joined #ruby
oznek has quit [Quit: Leaving]
_whitelogger has joined #ruby
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
grenierm has joined #ruby
infinityfye has joined #ruby
jmcantrell has quit [Ping timeout: 268 seconds]
infinityfye has quit [Killed (NickServ (GHOST command used by infinityfye__))]
infinityfye__ has joined #ruby
infinityfye__ is now known as infinityfye
Vonter has quit [Ping timeout: 272 seconds]
Vonter has joined #ruby
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
grenierm has quit [Ping timeout: 272 seconds]
nmollerup has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
repo has quit [Quit: WeeChat 4.4.3]
gr33n7007h has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
blacknova has joined #ruby
Exa has quit [Quit: see ya!]
schne1der has joined #ruby
Psy-Q has left #ruby [Exploring beyond the veil.]
Guest5 has joined #ruby
<Guest5> hi
Guest5 has quit [Client Quit]
gr33n7007h has quit [Ping timeout: 260 seconds]
gr33n7007h has joined #ruby
Vonter has quit [Ping timeout: 248 seconds]
_whitelogger has joined #ruby
GreenResponse has joined #ruby
Vonter has joined #ruby
schne1der has quit [Ping timeout: 248 seconds]
blacknova has quit [Quit: Connection closed for inactivity]
wbooze_ is now known as wbooze
Vonter has quit [Ping timeout: 260 seconds]
nirvdrum741 has quit [Quit: The Lounge - https://thelounge.chat]
Exa has joined #ruby
wbooze has quit [Quit: Leaving]
inline has quit [Quit: Leaving]
nirvdrum741 has joined #ruby
inline has joined #ruby
Vonter has joined #ruby
fantazo has quit [Quit: Lost terminal]
Sheilong has joined #ruby
sarna has quit [Ping timeout: 276 seconds]
user71 has joined #ruby
sarna has joined #ruby
sarna has quit [Ping timeout: 260 seconds]
sarna has joined #ruby
sarna has quit [Ping timeout: 272 seconds]
jmcantrell has joined #ruby
sarna has joined #ruby
jmcantrell has quit [Quit: WeeChat 4.6.3]
tronexte has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
<kjetilho> today's beauty: v.gsub(%r{^"}, '').gsub(%r{"$}, '')
<Rounin> Is the... Wait, where are the starting quotes!
michfx has joined #ruby
<Rounin> I'm too sober for this
michfx has quit [Client Quit]
<havenwood> kjetilho: v.gsub(/^"|"$/, '')
<havenwood> Rounin: Remove quotes anchored to beginning or end of a line.
<kjetilho> yeah. I don't think it is too bad to use two substitutions for this - but I really think they should be just plain sub
<Rounin> havenwood: Right... And the pattern just isn't quoted at all somehow... And that last bit is a double single quote, not a double quote
<havenwood> Rounin: Aye, the " versus '' can be... subtle.
<Rounin> {¦D
<kjetilho> ah, not with my monospace font, fortunately.
<havenwood> Monospace FTW.
<havenwood> Requisite non-Regexp solution: v.lines.map { |line| line.delete_prefix('"').delete_suffix('"') }.join
<havenwood> Oops, I changed my mind mid way and didn't account for the trailing newline. But that ^ idea.
<havenwood> (The #delete_suffix is wrong since the #lines leaves the newline on the end. I was going to `split("\n")` and `join("\n")` which would have worked.
<havenwood> Just had a momentary consideration for windows and odd newline separators and broke my example.
<havenwood> I'd: gsub(/^"|"$/, '')
<kjetilho> the code was insuccifient, anyhow, I copied a different "implementation" from elsewhere in the script: https://bpa.st/3IKA
Vonter has quit [Read error: Connection reset by peer]
sarna has quit [Ping timeout: 276 seconds]
<havenwood> kjetilho: Just curious, but should the gsubbed one be dupped too?
<havenwood> Oh, using the new string, got it.
inline has quit [Quit: Leaving]
<havenwood> Can get tempting to limit use of Regexp.
<havenwood> value.delete_prefix('"').delete_suffix('"').gsub(/\\(\\|'|")/, '\1') if value.start_with?('"') && value.end_with?('"')
<havenwood> Then do the escaping on a separate line to make it cleaner.
<kjetilho> I love using #include? in many cases where I would use a regexp in Perl. and strip variants. but I am not afraid of regexps :)
<havenwood> value.delete_prefix('"').delete_suffix('"') if value.start_with?('"') && value.end_with?('"')
<kjetilho> I think it is fair to require literacy of regexps, and then I don't think writing it out like that improves readability, really
sarna has joined #ruby
<havenwood> kjetilho: Somewhat tempting to #match rather than #match? since you actually are using the capture.
<havenwood> Yeah, I don't mind non-convoluted Regexp. I do think it's nice to consider the non-Regexp way to reject it, since sometimes it really does read nicer without performance drop.
<kjetilho> oh. that is a bit subtle for me, a typical sysadmin-touching-ruby-when-I-have-to-coder :)
<havenwood> A #match? is actually newish Ruby, I like it. We used to use =~ a fair amount.
oznek has joined #ruby
<havenwood> I'm glad we have match? since it's faster avoiding setting those globals and less cognitive overhead.
oznek has quit [Client Quit]
<kjetilho> havenwood: wow, I didn't notice the bug I introduced in my simplification. thanks!
<kjetilho> I didn't simplify it in the project. I would use an explicit match object rather than $1 I think
pastelowl has joined #ruby
inline has joined #ruby
<The_Camel> string parsing. joy.
fantazo has joined #ruby
o0ox1eef has quit [Remote host closed the connection]
o0x1eef has joined #ruby
joako has quit [Quit: quit]
inline has quit [Quit: Leaving]
joako has joined #ruby
inline has joined #ruby
pastelowl has quit [Quit: WeeChat 4.6.3]
o0x1eef has quit [Remote host closed the connection]
o0x1eef has joined #ruby
<mikko> i would write value[/^"(.*)"$/,1] but maybe i've just done too much code golf
aindilis has joined #ruby
<kmad> I'd absolutely go for the short and simple regex, but if you're super not into regexes, you can also use .chomp() and .reverse(): `.chomp('"').reverse().chomp('"').reverse()`
<kmad> But yeah, `.gsub(/^"|"$/, '')` is a lot more elegant and readable, IMO
The_Camel has quit [Remote host closed the connection]
The_Camel has joined #ruby
<kjetilho> the real solution is to use some shell command line quoting gem :)
<The_Camel> actually, the real solution is communism but that's another story.
<GreenResponse> but not of Asian origin (ruffian, chinese)
<The_Camel> GreenResponse, oh, especially of asian origin. especially chinese.
<The_Camel> GreenResponse, will put things in place as they should have been since the pax sinica
<The_Camel> Capitalism shall be kicked out to kingdom
<The_Camel> come
<The_Camel> never there will be enterprise set foot again on this earth
<mikko> i guess Shellwords#shellsplit would do the job without adding a gem dependency, and it would throw exceptions for stupid cases like "abc"def"
<The_Camel> GreenResponse, you shall all sit every day waiting for your rations until you repent the monstrous effects and deeds you have done as a western piece of shit world.
<The_Camel> imperialistic fucks
<kjetilho> mikko: oh my!!!
<kjetilho> yes, that is exactly what this code should be using
jmcantrell has joined #ruby
<kmad> mikko: Damn, that's nice!
johnjaye has quit [Ping timeout: 265 seconds]
matoro has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
matoro has joined #ruby
dionysus69 has joined #ruby
Sheilong has quit []
dionysus69 has quit [Ping timeout: 260 seconds]
The_Camel has quit [Remote host closed the connection]
user71 has quit [Quit: Leaving]
The_Camel has joined #ruby
<The_Camel> oh boy. my main SSD is at 47% health.
<The_Camel> 3 years usage. 130TB write/read. past the expected 100TB warranty.
<The_Camel> expected lifetime left, around 3.5 yeras.
inline has quit [Quit: Leaving]
cappy has joined #ruby
<adam12> The_Camel: I'm wondering when my MBA SSD is going to give out.
<adam12> Data Units Written: 1,399,982,954 [716 TB]
<adam12> This is how my last MBA died.
<The_Camel> adam12, the mean time to failure is past 200TB
<The_Camel> 700TB is already... overuse.
<The_Camel> depending on brand of course.
<cappy> What is the cost of replacement vs. the value of the data?
<cappy> No need to answer; it's your consideration.
Linux_Kerio has quit [Ping timeout: 244 seconds]
<The_Camel> I don't keep anything important on the SSD. My data is agnostic of machine and OS.
<The_Camel> it's __always__ on an external device.
<The_Camel> so if this machine goes bang. or the os dies. or the ssd dies, my data isn't affected.
<cappy> Then call Guinness to see if you're close to breaking some LBAs written record as burning your SSD to its terminus might breach a new maximum ;)
<cappy> ^ adam12 if this is your case.
infinityfye has quit [Read error: Connection reset by peer]
inline has joined #ruby
inline has quit [Max SendQ exceeded]
inline has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
GreenResponse has quit [Quit: Leaving]
<The_Camel> My external data is 6TB. The next purchase I'll make will be 15TB
<The_Camel> because I'm already technically "almost full"
<havenwood> adam12: Huh, only 19.8 TB written and 46.2 TB read on my laptop but still at 100% health.
<The_Camel> havenwood, sounds like you don't game. or make virtual machines. or do much on said laptop ;/
<havenwood> The_Camel: Looks like writing about 3 TB/mo at this rate.
<The_Camel> havenwood, it's 70GB/day for me.
<The_Camel> so... 7TB every 3 months.
<mikko> how do you even check that
<havenwood> The_Camel: So 2 TB per month?
<The_Camel> havenwood, about.
<havenwood> The_Camel: Less than me?
<havenwood> Do you game or make virtual machines or do much?
<havenwood> I'm not quite sure I follow!
<The_Camel> havenwood, well it sounds like you did that continuously for a time and then just stopped.
<havenwood> The_Camel: Nope, just about 3 TB per/month written.
<havenwood> mikko: On macOS: brew install smartmontools && sudo smartctl --all /dev/disk0
<The_Camel> havenwood, then how did you manage to get only 20TB write and 45TB read only? in how long?
<havenwood> The_Camel: 6 mo or so?
<The_Camel> mikko, on windows, install CrystalDiskInfo(Aoi :P)
<The_Camel> havenwood, oh. then you clearly do more than me.
<havenwood> 4 TB MB M4 Max 128 GB
<The_Camel> havenwood, 115TB read and 132TB write for me in 4 years.
ap4y has joined #ruby
<havenwood> I worried a bit about the disk but seems healthy.
<havenwood> The_Camel: Makes sense.
<havenwood> I read a good bit more than I write though. Hem.
<havenwood> Like double.
<The_Camel> havenwood, windows 10?
<havenwood> The_Camel: Your read-to-write ratio is the more interesting thing to me than usage amount.
<havenwood> The_Camel: macOS
<The_Camel> havenwood, Win10 here.
<havenwood> Maybe related?
<The_Camel> havenwood, maybe. I can tell you though that
<The_Camel> havenwood, I keep a lot of windows and browser tabs open and I used to hibernate a lot. I expect a lot of pagefile writes.
<The_Camel> havenwood, that likely is the reason.
<havenwood> The_Camel: I'd not think browser disk reads would account for much.
<havenwood> ¯\_(ツ)_/¯
<The_Camel> havenwood, browser tab writes. them going to swap
<The_Camel> is what I mean.
<havenwood> The_Camel: What I mean is, you read less than you write. I read more than twice as much write.
<The_Camel> havenwood, https://i.imgur.com/MWaFfq5.png
<The_Camel> all software should be like this. have cute anime girls on the side.
<The_Camel> windows should display an anime girl on the startup splash screen
<havenwood> Why write things you don't read? Hmm.
<havenwood> Backups?
<The_Camel> havenwood, my backups go to the cloud so unlikely.
<The_Camel> havenwood, maybe torrenting?
<havenwood> The_Camel: I'd expect that to be read heavy still.
<The_Camel> i dunno then
<The_Camel> havenwood, I download a lot?
<havenwood> An aside, but implementing tor is a pretty interesting exercise. Nifty.
<The_Camel> I will attempt to do that when I'll have a need for tor.
<The_Camel> right now, I don't think I mind my ISP knowing what domain I visit.
<The_Camel> I depend a lot on TLS though. Wouldn't like for them to know what I do.
<The_Camel> (like my type of porn fetishes and whatnot) :P
<The_Camel> It's ok for them to know I watch hentai. It's not okay for them to know I watch tentacle hentai. That sort of logic, as an example
<The_Camel> :P
<The_Camel> was it tenticle or tantacle. always get that wrong.
ap4y has quit [Remote host closed the connection]
ap4y has joined #ruby
<havenwood> The_Camel: All age server, so please no porn talk.
ap4y has quit [Remote host closed the connection]
<havenwood> The_Camel: DNS-over-TLS you mean, like DOT?
<The_Camel> havenwood, I was keeping it light. I won't go in further detail. You said that already and I did say I'll try.
<havenwood> The_Camel: You mean your DNS over TLS? I think that's smart for everyone.
<The_Camel> havenwood, no, as in, your ISP can see where you connect. it has access to all your DNS queries.
<The_Camel> but it can't see what you do on said website due to TLS.
<havenwood> The_Camel: That's why you DOT.
<havenwood> The_Camel: You can also TLS your DNS so your ISP cannot see.
<The_Camel> havenwood, oh can I? why isn't that on by default?
<havenwood> I think it should be default, but requires a router with support and configuration unless you want to do it on each device.
<havenwood> Which requires support on the device, so easier to do at the router level.
<The_Camel> then I can't be arsed. HAHAHAHAHAHAHHAAHHAHAHAHAHA
<The_Camel> yeah, ISP can look at my DNS queries. can suck my ... yeah.
<havenwood> The_Camel: Look into DOT or DOH.
<The_Camel> havenwood, when the day comes when they have access to TLS (by whatever means) then I'll look into tor.
<The_Camel> havenwood, I will, out of curiosity, cheers for pointing that out.
ap4y has joined #ruby
<havenwood> DoH is a bit harder to block but I DoT since it's a home router.
<havenwood> DNS over TLS should indeed be standard.
<havenwood> (DoT)
<The_Camel> havenwood, chatGPT told me I can just change my DNS server to google's @ 8.8.8.8
<The_Camel> and that will automatically be a DoT
<havenwood> Nope.
<havenwood> ChatGPT is lying.
<The_Camel> havenwood, I will have to dig into this without the AI
<The_Camel> but thank you. it is always nice to learn something new
<The_Camel> havenwood, it should be a standard honestly to DoT.
<havenwood> Google does offer DNS over TLS but 8.8.8.8 isn't enought. https://datatracker.ietf.org/doc/html/rfc7766
inline has quit [Remote host closed the connection]
<The_Camel> I mean, while I don't mind my ISP can see some hentai website in the dns logs...
<mikko> using dns over tls only to give all the data to google anyway is certainly a choice
<The_Camel> it's still "uhhh.. why."
<mikko> at least my isp isn't an advertising company :p
<The_Camel> y u do this, isp
<The_Camel> fak ouf
<The_Camel> havenwood, I should look into changing the windows startup splash screen
<weaksauce> quad nine is an option
<The_Camel> I want an anime girl on it
BSaboia has quit [Quit: ZNC - https://znc.in]
<The_Camel> weaksauce, heeeeeeey. long time no speak mate. it's John Ivan.
<The_Camel> the guy you taught how webservers work with application webservers.
<weaksauce> hey there
BSaboia has joined #ruby
<The_Camel> it's been ages. how's things?
<havenwood> tls://dns.quad9.net
<weaksauce> not terrible
<havenwood> 9.9.9.9 supports DoH or DoT but ISP can still snoop otherwise.
<weaksauce> havenwood just changing that in the dns server area instead of 9.9.9.9?
<havenwood> weaksauce: Usually need to toggle to DoT then set, but yeah.
<The_Camel> speaking of privacy, I've started using DHT based IM software
<The_Camel> it's "noice"
<The_Camel> wished irc rooms were encrypted too.
<havenwood> weaksauce: Looks like 9.9.9.9 does DNSSec validation but not DoH or DoT.
<The_Camel> like. not just TLS. but actual, E2EE
<havenwood> If you connect to them via tls:// or https:// it's actually private.
<havenwood> I found it annoying to set up DoT (and cake, to optimize buffering) but worthwhile.
<havenwood> No I have 8 GB RAM on my routers. >.>
<havenwood> Now*
<weaksauce> i can't be the only one that is annoyed by mac naming like big sur being the only thing said when they mention compatibility?
<havenwood> It just irks me we don't keep DNS private by default. Seems odd. So I do it myself.
<The_Camel> > <havenwood> If you connect to them via tls:// or https:// it's actually private.
<The_Camel> havenwood, https://i.imgur.com/gTRVCrj.png
<weaksauce> "works on big sur or later "
<weaksauce> ok but which one is that
<havenwood> The_Camel: To the DNS server. DNS-over-TLS shares with your IP the same way HTTPS does. Not.
<havenwood> I guess DNS + server is redundant.
<havenwood> Still, use DoH, DoT or better.
<weaksauce> which one is the best?
<havenwood> I find DoT a very nice fallback for devices that cannot negotiate a more secure connection.
<havenwood> weaksauce: DoT.
<havenwood> I'd only use DoH if my ISP was blocking DoT, and it doesn't.
<havenwood> Or if my router only supported DoH.
<weaksauce> ah
<havenwood> But either is fine!
<The_Camel> havenwood, I think my ISP already has had a ginormous list of 8+ years worth of my DNS logs so, I don't know if adding one now is gonna help xD
<havenwood> The_Camel: They generally purge logs at some interval.
<The_Camel> so something to keep in mind for the next provider; DoT then
<The_Camel> havenwood, oh neat. after how many years? :D
<havenwood> The_Camel: 3 in some jurisdictions IIR?
<The_Camel> not bad
<havenwood> Start DoT now, regardless.
<The_Camel> *(thumbs)*
<havenwood> I don't like to share ANYTHING with my ISP and have nothing to hide.
<havenwood> DNS just *should* be encrypted. So I encrypt.
<The_Camel> it should be, I agree.
<weaksauce> yeah same
inline has joined #ruby
<The_Camel> I wish I had an army of developers to make something like QT for ruby.
<havenwood> tk shipped with Ruby forever but wasn't widely used
<havenwood> got gemmified and removed
<mikko> doesn't qt have pretty decent ruby bindings?
<The_Camel> I don't want bindings. I want full support.
<The_Camel> natural support.
<The_Camel> a framework FOR ruby
<havenwood> mikko: I vaguely recall they stopped supporting latest QT version but someone may have updated or forked.
pastelowl has joined #ruby
<The_Camel> a lot of ruby projects are dying because a lot of them are done by
<The_Camel> ahem. people.
<The_Camel> tinkerers. people in the basement. people with time.
<The_Camel> whereas a fully developed QT framework that has massive support for a lot of the granulated, distributed gems people use...
<The_Camel> that is maintained by my army
<havenwood> The_Camel: It's kinda hard to justify writing a desktop GUI in Ruby.
<o0x1eef> This conversation was great. I configured my router's unbound to use DoT.
<havenwood> o0x1eef: <3
<The_Camel> o0x1eef, good job
<The_Camel> havenwood, yes but now, imagine, ruby, for electron.
<The_Camel> or
<The_Camel> havenwood, ruby for UWP/MAUI
<The_Camel> I just want ruby to not be dissed like the way it is
<The_Camel> that's all.
<The_Camel> I like ruby.
<The_Camel> If I was a rich fuck, I WOULD hire that army of devs to make something akin to QT for ruby.
<The_Camel> and much more
<mikko> have you checked out glimmer? https://github.com/andyobtiva/glimmer
<The_Camel> no but everytime i see a project on github, i wanna kill myself
<weaksauce> the glimmer guy is crazy apparently
<havenwood> The_Camel: It's what most Rubyists recommend these days.
<weaksauce> crazy or just crazy racist or something like that. idr off the top of my head
<havenwood> weaksauce: And yeah, Andy is a bit unhinged. I dunno about racist.
<The_Camel> havenwood, and that's why I don't like what's happening to ruby.
<The_Camel> "Hire Me
<The_Camel> If your company would like to invest fulltime in further development of the Glimmer open-source project, hire me."
<The_Camel> well, if he wants to, I hope he does.
<The_Camel> damn. started in 2007.
<havenwood> The_Camel: He believes Ruby should be the default Rails language on the frontend, it should use Glimmer, etc, etc.
<The_Camel> I believe ruby should be used everywhere.
<The_Camel> you can call me crazy too :P
<havenwood> weaksauce: I don't think you're wrong at all. I've seen some odd ranting and hostility.
<The_Camel> difference is, I ain't racist.
<The_Camel> but I can be hostile towards idiocracy.
<mikko> i don't know the guy but the project seems interesting
<havenwood> mikko: agree
<havenwood> pretty nicely done project
<The_Camel> it's nice but simply because it's not maintained by an army of people or a corporation that's large
<The_Camel> I can't bring myself to rely on it
<The_Camel> it's that "oh, it's on github. *kills self*"
<havenwood> The_Camel: Then Ruby might should be out. Lots of one-person shows.
<The_Camel> feeling.
<The_Camel> havenwood, yeah, I don't like the status quo.
<The_Camel> havenwood, you know what I started doing?
<mikko> i feel like most good projects are done by mostly one person or a small tightly knit group
<The_Camel> I started renaming a huge portion of python functions and classes to be exactly like ruby's
<havenwood> mikko: yeah, quite often
<havenwood> even very significant projects with long lives
<The_Camel> so that when I will write python next time, I can just import my little lib
<The_Camel> and get that ruby goodness.
<The_Camel> too bad some syntax just can't be done
<The_Camel> like .each() | ... |
<o0x1eef> That's why it is good to be familiar with the libraries you use. Ideally you could fork the project and be able to get up to speed quickly. So the quality should be decent.
<weaksauce> why are you using python in the first place?
<The_Camel> because for certain things (like talking to hardware and enumerating drivers and volumes) python that better library support
<The_Camel> I had a project where I needed to do that in ruby and it fucked too hard, so I ended up calling python on a separate script and spit me the data through a pipe before I continued with ruby.
<The_Camel> has*
<havenwood> The_Camel: Python certainly has more modern graphics bindings, but I find I use Rust for anything I would have used Python for these days.
<The_Camel> problem is, everyone is hoarding on making python better so
<o0x1eef> Nearly everything I find on huggingface.co has a Python interface. I think if you're doing serious in-house AI it's gonna be the go-to language, no?
<The_Camel> there are times where I just can't avoid having to use python for specific cases.
<The_Camel> yeah, one just can't avoid python. and I hate that.
<The_Camel> that's why I'm renaming functions and classes for myself lol
<The_Camel> so that I can write ruby-like python :P
<The_Camel> because *FUCK* python.
<o0x1eef> To me it just means it is good to be a polyglot, and HTTP is a good interface that all languages can speak, so you could place your Python dependencies behind one or more web services that Ruby could consume.
teardown has joined #ruby
<havenwood> o0x1eef: Yeah, I'd consider Python mainstream in the extreme on that front. Elixir and Rust have some solid inroads but not the lingua franca.
<weaksauce> wtf i switched over to tls one and dns still works but the cloud9 page says that i am not using cloud9
<The_Camel> Python? Shiteon!
<havenwood> o0x1eef: Yeah, most folk use an HTTP/WebSocket/GRPC kinda interface.
<havenwood> weaksauce: Does https://one.one.one.one/help/ say DoT?
<The_Camel> I "think" the python jetbrains IDE is more "freedom" than rubymine.
<The_Camel> pycharm
<weaksauce> nope
<The_Camel> > Free forever, plus one month of Pro included
<havenwood> weaksauce: Was a pain for me to configure, fwiw, but eventually got it working.
<The_Camel> wish they said that for Rubymine :(
<The_Camel> Rubymine is like "try our trial"
<o0x1eef> Amazingly it was a piece of cake to configure at the router level
<o0x1eef> I didn't expect it to just work
<havenwood> o0x1eef: So nice when things _just work_
<o0x1eef> Indeed :D
<weaksauce> i'll have to setup the new more advanced router sooner rather than later i guess
<The_Camel> let's see what jive has to say about glimmer
<The_Camel> Glimmerz use of tha Interpreta Design Pattern up in processin DSLs be also known as tha Virtual Machine Architectural Style fo' realz. Afta all, DSL expressions is virtual machine opcodes dat process nested keywordz stored up in a stack. I built Glimmerz original gangsta DSL back up in 2007 without knowin tha Virtual Machine Architectural Style (except like as a esoteric technologizzle powerin Java) yo, but stumbled upon it anyways all up in
<The_Camel> followin tha Gang of Four Design Patterns mentioned above, chizzlely tha Interpreta Design Pattern n' tha Chain of Responsibilitizzle Design Pattern.
<The_Camel> no fun.
<The_Camel> it's too much jargon
<weaksauce> havenwood any clue why it would not work? installed the profile from cloud9 and it's enabled but the 1.1.1.1 page says nada
<o0x1eef> If you install a router running Linux or BSD you have much more control over things like that
<weaksauce> yeah i have a ubiquity edge router that has all the control that i need to install
<weaksauce> haven't gotten around to it yet
<The_Camel> I be thinkin mah routa just displays javascript based pages n' config. I mostly connect ta it via mah browser.
<The_Camel> Don't be thinkin I have access ta tha operatin system or anythang else.
<The_Camel> It aint nuthin but probably linux but itz all a funky-ass black box.
<The_Camel> ----
<The_Camel> I hate how I can't make what's on my desktop directly go elsewhere than in /user/Desktop on Windows.
<o0x1eef> Windows is designed to make you hate it
<The_Camel> o0x1eef, can linux do it? I presume there's some config you can edit.
<The_Camel> likely desktop environment dependent too... but it shouldn't be.
<o0x1eef> Usually that would be something the desktop environment would take care of, I prefer more minimal setups like i3 and those kind of magic features don't exist.
<The_Camel> ah yeah. solving the problem of "making things on the desktop appear elsewhere" by not having a desktop space to begin with.
<The_Camel> :D
<o0x1eef> Lol
<The_Camel> i can do that on windows too :P
<The_Camel> that aside, this thing I want is likely in the same problem domain of making windows have separate partitions for things like Program Files, Windows and whatnot.
<The_Camel> "can't be done"
<The_Camel> or there's some risky, godforsaken registry entry that needs to be edited
<The_Camel> gotta love computing...
<o0x1eef> Windows implements an approach to computing that is almost totally alien to me. So it is hard to use it when you're always expect it to work differently.
<The_Camel> i feel the same about linux. and I KNOW how linux works. and I'm serious.
<The_Camel> the concept of treating every software's "innards" in separate /usr, /etc, /whatever directory areas is something I do not really like, and there's a side effect coming out of it.
<The_Camel> fuck up the main runtime and all programs stop working
<The_Camel> nothing is isolated.
<cappy> o0x1eef: Windows is designed to make you hate it <-- Wasn't always this way. XP was more than usable; things went awry since 10 and 11 became worse. All Linux now.
<The_Camel> If I destroy a framework installed on linux "globally", I destroy all programs that use said framework
<The_Camel> that *bothers me* on linux.
<o0x1eef> True, XP was pretty decent especially during its prime
<mikko> you might like nixos
<The_Camel> that's why I love snap or flatpak
<The_Camel> mikko, I really do actually.
<The_Camel> I tried it but
<The_Camel> it's incomplete stuff.
<The_Camel> hardware needs to become immutable and functional for nixos to be a true, pure os :P
<The_Camel> which isn't happening any time soon.
<The_Camel> and the docs are
<The_Camel> mikko, I mean, did YOU READ? nixos docs?
<The_Camel> feels like a spaz wrote them.
<mikko> nope, and i haven't actually made the jump yet, i use nix on top of opensuse tumbleweed
<The_Camel> you mean you use nix the package manager?
<mikko> been meaning to but it's always such a hassle to reconfigure everything
<mikko> yes
<The_Camel> ok
<The_Camel> mikko, just do it in a vm
<The_Camel> do the switch when you want
cappy has quit [Quit: Leaving]