#ot1-perplexing-regexing
1 messages ยท Page 377 of 1
I didn't see the ending yet, so please don't spoil it.
@wooden silo yeah I'm just watching it for the first time and I'm loving it
i wont spoil anything
Thanks.
its a good show, for sure watch it
I watched like half of the last season.
someone told me Mr. Robot was better than Person of Interest but it did not entice me similarly
@quaint rivet Rushed? Definitely not rushed. Everything was definitely on purpose.
Person of Interest is more of a classical police procedural, isn't it?
i cant really go into detail here
in essence yeah
It's hard going from Mr. Robot to anything else and expecting anything to stack up
So it's a bit of an apples and oranges situation.
if you want to move to DMs id love to ask some questions i feel went over my head, or maybe i wasnt paying enough attention
Sure, go for it
they presented them as similar options because they were both had some thematic orientation at computing and subterfuge
It's a nice combination of concepts that appeal to me. Hacking, conspiracy, psychological, mystery, plot twists, etc.
they were not similar options
@slate quail Yeah, for sure.
@wooden silo those are all things i'm interested in, but the show still managed to bore me
mostly I was just looking for an excuse to talk about person of interest which is my favorite show
also i feel like the unreliable narrator trope was used wayyy too often to create plot twists just for the sake of plot twists
I think I watched one episode of Person of Interest, but I don't really like police procedurals too much. James Spader is great, though.
Blacklist was very much just a "I gots a person on my list. Ya gots to go kill 'em, capiche?"
unfortunate but understandable
Maybe there was a story in there, I have no idea
James Spader made Blacklist lovely
Blacklist I think is best enjoyed as "we like James Spader let's let him say cool things"
everything else is irrelevant
It's like anything Nicolas Cage is in
He doesn't actually act, he just plays as himself
i mean, he's a method actor
so it helps that he acts like a total cock all the time
he is apparently a nightmare to work with
not cage, carrey
Jim Carrey seems like a huge douche
and then there's the polar opposite who is Johnny Depp who is never himself
I also seem to recall that he has some rather unscientific beliefs
Which is probably why Depp is the superior actor
amen
yes but we are setting the bar pretttttttyyyyyy fucking low here
carrey was the best part of the sonic movie imo, not that i went into that with high expectations haha
side question, why did Adam Sandler make so many movies about a washed up and/or mentally challenged middle aged man who meets a beautiful woman and all his dreams come true?
A Sonic movie seems like the ideal context for an actor like Jim Carrey
@slate quail Have you seen Adam Sandler?
because people watch those movies
He's pretty much got the same cast of friends in everything he makes
because we all empathize with the washed up mentally challenged middle aged man who would like to meet a beautiful woman.
looks around room for agreement
He's pretty much the emphasis of washed up
nervous laughter
AND YET HE STILL MAKES STUFF
scratches head
AND PEOPLE STAR IN THEM
perhaps same reason Seth Rogan makes lots of movies about a dude that likes taking drugs
Adam Sandler makes a shit ton of money still
yeah what Bisk said! he's like... loaded
don't see why he'd stop
but
i think sandler just made huge bank and milked himself heavily when he was big
you couldn't tell from looking at him
Sure, and there's probably a market for bad movies
Might be why he's STILL loaded, though
Look at Sharknado
don't forget the Hanukkah song
oh gosh, not that one
Not sure if he's a huge frivolous spender or not
i mean it's not like Sandler pulled a fucking Love Guru
Happy Gilmore beats it for me
anyway, Sandler has had good/ok movies recently - e.g Uncut Gems
Yo, i will say that Rob Schneider appearances in his movies are epic.
and there's a nother
How about Uncut Gems?
Happy Gilmore ๐
JOO CAN DO IT
Uncut Gems and another movie from the last few years have been reasonably decent
and on the same note, Nic cage has some great movies too
youre gonna die clown ๐ฉ ๐
like.... like...
Nice to see some of the funnier ones do serious acting roles
i quite liked the Gone in 60 Seconds remake
Nic Cage has an Oscar
Love, love, love Melissa McArthy
Lord of War also another good one
@gentle moss Aren't those like, 15-20+ years old though lol
Yes, Lord of War was the only one that came to mind
what was that movie where Rob Schneider switched bodies with that teenage girl. that was classic.
Anything recent outside of LoW? Not really, no
that new one
i almost said freaky friday
The National Treasure movies are pretty good for what they are
I didn't think they were all that great tbh
they aren't thrilling, but they're solid family friendly action movies
where Nic Cage stars as an older Nic Cage who is trying to get into acting but is constantly ridiculed by younger Nic Cage for being a shit actor
@gentle moss I think Will Smith plays that one, and it's already been released
anyone seen color from space? any good?
Something about a clone or something
was the clone raised in West Philly?
Cage would star as actor Nicolas Cage. The character is desperate to get a role in a new Quentin Tarantino movie while also dealing with a strained relationship with his teenage daughter. He also occasionally talks to an egotistical 1990s version of himself who rides him for making too many crappy movies and for not being a star anymore.
The Cage character is also under a mountain of debt and finds himself forced to make an appearance at the birthday party of a Mexican billionaire who happens to be a fan of the actor's work and secretly hopes to show him a script on which he's been working.
that's the new cage film
:D
He whistled for an ice cream truck and when it came near, it had ice cream in the back and ICE in the mirror?
Cage was fairly okay in Moonstruck
Cage is informed by the CIA that the billionaire is actually a drug cartel kingpin who has kidnapped the daughter of a Mexican presidential nominee and Cage is subsequently recruited by the U.S. government to get intelligence.
@gentle moss Sounds like a jokey version of Seven Psychopaths
man i fucking hype for this movie
especially if it comes with a commentary track
by nick cage
a movie about cage where he's yelled at by himself and then talks over the top of it
how much can you nest this?
Does Cage think his movies are good - or does he sorta know they're crap?
Or what about Swordfish... No wait,that was Johnny Trev
@gentle moss
Nicolas Cage yelling on screen
"So, right here I was told to yell... So I did"
Lord of War was pretty good
"And when I was playing me, I really had to feel that energy. Really hate myself for yelling at me."
a movie about cage where he's yelled at by himself and then talks over the top of it
@gentle moss
so Face/Off? :p
WIkipedia says his Networth is $25 million. He must have done something right. Some people don't make that in a whole week.
Maybe he has to work so hard because he isn't all that good.. But they can't all be Christopher Walkin
he is credited as an actor 103 movies
@gentle moss That's a weird way of spelling "He plays any movie he can, regardless of if it's trash."
Lord of War is probably the best. Leaving Las Vegas was good too...
Face/Off. ehh...lots of one-liners for sure, but it hasn't aged well. ;D
"I want to take his face... off"
lmao its such an absurd concept
HIS FACE...... OFF
the "hate to see you go. love to watch you leave." is the best line in the whole movie. ๐คฃ
I liked Next but I was also young when I saw it
lmao let's see what this says https://editorial.rottentomatoes.com/guide/all-nicolas-cage-movies-ranked/
it asked too much suspension of belief. like merely swapping Travolta's face with Cage's, also simultaneously changed their body shapes. hehe
you've gotta take that shit with a pinch of salt for older stuff though
because stuff taken outside of the context of when it was released can gain cult status etc
which does ratings bumps
for the time, it was a bit "esoteric" as a plot. which helped it stand out.
compared to other large budget films*
horrible movie.
that list is pure RT dogshit
at least ed harris redeemed himself after that. ๐
is there anybody know java
Asking good questions will yield a much higher chance of a quick response:
โข Don't ask to ask your question, just go ahead and tell us your problem.
โข Don't ask if anyone is knowledgeable in some area, filtering serves no purpose.
โข Try to solve the problem on your own first, we're not going to write code for you.
โข Show us the code you've tried and any errors or unexpected results it's giving.
โข Be patient while we're helping you.
You can find a much more detailed explanation on our website.
@rough sapphire @undone berry While I appreciate the concern for how things look on the server, I'd really prefer if you guys would leave stuff like that to mods and admins to handle
The tags are a nice tool, and perhaps quite useful especially for those without the patience to merely type in the directions necessary
asking-to-ask is such a common thing everywhere on the internet, that typing out a friendly message every time gets tedious quickly
Sure but it doesn't even have to be much
"Is there something specific you're wanting to know?" Then drop the tag
I just mean that the tag here is probably fine - especially as Snof is here fairly often and knows people are largely friendly
Sure but I'm a big proponent of sticking to habits. Repetition will make it so that it becomes second nature, even in places where you don't technically need it
@undone berry Regulars will learn not to do it, so you won't have to tell them repeatedly. Newbies deserve to be treated as individuals and not have standardized messages thrown at them. If you don't feel like typing out a proper message, don't feel obliged to, just don't make others feel unwelcome.
The tag wasn't mine, and I generally do type out a message if someone askstoask- but I also don't actually help here too often. I just think a helper using the !ask tag doesn't make anyone feel unwelcome and saves them having to type out a message for the millionth time - I think the bot message is friendly enough that it shouldn't put anyone off
Sure but it's a case of leading by example
It's impersonal. And while it might be the millionth time for the helper, it's the first time for the new person.
We have users and regulars that use the tag as well, and those are the people we want to encourage to develop the good habits
And even if it's common in other programming forums, we get a lot of people here with no previous exposure to programming before.
Creating a 1115 new files commit is a bad idea, right?
Question being, why does this gitignore doesn't ignore files generated by the C++ part
@pale onyx here?
Yup.
ok
yes dump has data in . it now but the problem is i need data in the return statement
BTW, please ping me if I don't see a message - I've got this channel muted.
OK, now for the return.
I'll have a quick look.
ok thanks @pale onyx, really appreaciate your help
Where are you calling that function from?
viewdidload
OK.
How about self.jobs = self.tempJobs after dump(self.tempJobs)? Does that update it?
Also, it should be return self.tempJobs, I think.
ok let me try
still empty
@pale onyx is there any other solution? That's why is suggested the use of a completion handler
Do you have a link which shows how to use it?
Also, could you post the updated code (only the bit changed - the async function)
https://www.youtube.com/watch?v=xSF6aA1rIB8 there just youtube videos like this
My full length Udemy course: Saving Data in Your iOS App Using Core Data: https://bit.ly/30dcIjA
Check out my new full length iOS course:
Saving Data using Core Data: https://skl.sh/2O23FMN
In this tutorial we will learn the basics of closures and how we can use a closure as...
db.collection("sevices").whereField("uid", isEqualTo: uid)
.getDocuments() { (querySnapshot, err) in
if let err = err {
print("Error getting documents: (err)")
} else {
for document in querySnapshot!.documents {
let titleTemp = document.get("title") as! String
let categoryTemp = document.get("category") as! String
let priceTemp = document.get("price") as! Double
let descriptionTemp = document.get("description") as! String
let locationTemp = document.get("location") as! GeoPoint
let uidTemp = document.get("uid") as! String
let a=Job(title: titleTemp, category: categoryTemp, price: priceTemp, description: descriptionTemp, location: locationTemp, uid: uidTemp)
self.tempJobs.append(a)
}
}
self.jobs = self.tempJobs
}
return self.tempJobs
}
Can you try the method shown in the link I sent?
yes let me see
i mean i try to do it that way but i have trouble using completion handler
do you know how to implement that @pale onyx ?
Did you try the stackoverflow answer's method?
trying to understand how it works
It's very simple.
You send a callback function to it.
And it calls that function just like you're calling dump()
yes but how? would you able to give me an example?
OK.
I'll do it for you - but you are going to struggle to do anything if you cannot understand the code.
That's why I'm hesitant to.
i'll try to understand the code
Try this first:
class SecondViewController: UIViewController {
@IBOutlet weak var tableView: UITableView!
var jobs: [Job] = []
var tempJobs: [Job] = []
override func viewDidLoad() {
super.viewDidLoad()
tableView.delegate = self
tableView.dataSource = self
createArray()
dump(self.jobs)
}
func createArray() -> [Job]{
let uid:String = "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
let db = Firestore.firestore()
db.collection("sevices").whereField("uid", isEqualTo: uid)
.getDocuments() { (querySnapshot, err) in
if let err = err {
print("Error getting documents: (err)")
} else {
for document in querySnapshot!.documents {
let titleTemp = document.get("title") as! String
let categoryTemp = document.get("category") as! String
let priceTemp = document.get("price") as! Double
let descriptionTemp = document.get("description") as! String
let locationTemp = document.get("location") as! GeoPoint
let uidTemp = document.get("uid") as! String
let a=Job(title: titleTemp, category: categoryTemp, price: priceTemp, description: descriptionTemp, location: locationTemp, uid: uidTemp)
self.tempJobs.append(a)
}
dump(self.tempJobs)
self.jobs = self.tempJobs
}
}
}
}
Not sure if it'll work, but it's a simpler solution.
ok let me see
When I try to dump self.jobs in the viewdidload it says it doesnt have any element
@pale onyx
class SecondViewController: UIViewController {
@IBOutlet weak var tableView: UITableView!
var jobs: [Job] = []
var tempJobs: [Job] = []
override func viewDidLoad() {
super.viewDidLoad()
tableView.delegate = self
tableView.dataSource = self
createArray()
dump(jobs)
dump(self.jobs)
}
func createArray() -> [Job]{
let uid:String = "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
let db = Firestore.firestore()
db.collection("sevices").whereField("uid", isEqualTo: uid)
.getDocuments() { (querySnapshot, err) in
if let err = err {
print("Error getting documents: (err)")
} else {
for document in querySnapshot!.documents {
let titleTemp = document.get("title") as! String
let categoryTemp = document.get("category") as! String
let priceTemp = document.get("price") as! Double
let descriptionTemp = document.get("description") as! String
let locationTemp = document.get("location") as! GeoPoint
let uidTemp = document.get("uid") as! String
let a=Job(title: titleTemp, category: categoryTemp, price: priceTemp, description: descriptionTemp, location: locationTemp, uid: uidTemp)
tempJobs.append(a)
}
dump(tempJobs)
jobs = tempJobs
self.jobs = tempJobs
dump(jobs)
dump(self.jobs)
}
}
}
}
@blissful oracle I'm just trying a few things out - I'm not familiar with self in swift, so I want to make sure this easy method doesn't work at all before moving to the other way.
@low shadow
you are trying to see whats inside the file called "file" and then use a pipe to grep a specific word whithin the file
each operation you use is described in the man, so just do "man grep" and then look at its options
@blissful oracle
class SecondViewController: UIViewController {
@IBOutlet weak var tableView: UITableView!
var jobs: [Job] = []
var tempJobs: [Job] = []
override func viewDidLoad() {
super.viewDidLoad()
tableView.delegate = self
tableView.dataSource = self
createArray()
dump(jobs)
dump(self.jobs)
}
func createArray() -> [Job]{
let uid:String = "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
let db = Firestore.firestore()
db.collection("sevices").whereField("uid", isEqualTo: uid)
.getDocuments() { (querySnapshot, err) in
if let err = err {
print("Error getting documents: (err)")
} else {
for document in querySnapshot!.documents {
let titleTemp = document.get("title") as! String
let categoryTemp = document.get("category") as! String
let priceTemp = document.get("price") as! Double
let descriptionTemp = document.get("description") as! String
let locationTemp = document.get("location") as! GeoPoint
let uidTemp = document.get("uid") as! String
let a=Job(title: titleTemp, category: categoryTemp, price: priceTemp, description: descriptionTemp, location: locationTemp, uid: uidTemp)
self.tempJobs.append(a)
}
dump(self.tempJobs)
self.jobs = self.tempJobs
dump(self.jobs)
}
}
}
}
k, i'll try @pale onyx
3
- 0 elements
4 - 0 elements
1
โฟ 1 element
โฟ driver.Job #0- title: "Coder"
- category: "Coding"
- price: 10.99
- description: "I develop IOS applications as a freelancer."
- location: <FIRGeoPoint: (52.482900, 1.893460)> #1
- super: NSObject
- uid: "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
2
โฟ 1 element
โฟ driver.Job #0 - title: "Coder"
- category: "Coding"
- price: 10.99
- description: "I develop IOS applications as a freelancer."
- location: <FIRGeoPoint: (52.482900, 1.893460)> #1
- super: NSObject
- uid: "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
and
//
// SecondViewController.swift
// STSK
//
// Created by Snehdeep Singh on 02/02/2020.
// Copyright ยฉ๏ธ 2020 Snehdeep Singh. All rights reserved.
//
import UIKit
import Firebase
import FirebaseAuth
import MapKit
class SecondViewController: UIViewController {
@IBOutlet weak var tableView: UITableView!
var jobs: [Job] = []
var tempJobs: [Job] = []
override func viewDidLoad() {
super.viewDidLoad()
tableView.delegate = self
tableView.dataSource = self
createArray()
print("3")
dump(jobs)
print("4")
dump(self.jobs)
}
func createArray(){
let uid:String = "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
let db = Firestore.firestore()
db.collection("sevices").whereField("uid", isEqualTo: uid)
.getDocuments() { (querySnapshot, err) in
if let err = err {
print("Error getting documents: (err)")
} else {
for document in querySnapshot!.documents {
let titleTemp = document.get("title") as! String
let categoryTemp = document.get("category") as! String
let priceTemp = document.get("price") as! Double
let descriptionTemp = document.get("description") as! String
let locationTemp = document.get("location") as! GeoPoint
let uidTemp = document.get("uid") as! String
let a=Job(title: titleTemp, category: categoryTemp, price: priceTemp, description: descriptionTemp, location: locationTemp, uid: uidTemp)
self.tempJobs.append(a)
}
print("1")
dump(self.tempJobs)
self.jobs = self.tempJobs
print("2")
dump(self.jobs)
}
}
}
}
this is the code, ive added some print statements @pale onyx
It worked?
The first message is the output
no
3
- 0 elements
4 - 0 elements
1
โฟ 1 element
โฟ driver.Job #0- title: "Coder"
- category: "Coding"
- price: 10.99
- description: "I develop IOS applications as a freelancer."
- location: <FIRGeoPoint: (52.482900, 1.893460)> #1
- super: NSObject
- uid: "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
2
โฟ 1 element
โฟ driver.Job #0 - title: "Coder"
- category: "Coding"
- price: 10.99
- description: "I develop IOS applications as a freelancer."
- location: <FIRGeoPoint: (52.482900, 1.893460)> #1
- super: NSObject
- uid: "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
this is the output
of the console, as you can see the one in the viewdidload they dont have anything
I see why.
Could you try to use a completion handler? I think thats the only way it can work
I'll have to watch the video and get back to you.
You could, of course, ask elsewhere in the meantime if you like.
cool, i'll be waiting for the salvation ahaha, this is actual my third year uni project. It's an app that is like uber but provides different services such as different niches like plumbing jobs and other for the elderly people
Cool!
@blissful oracle Completion handlers seem simple - you pass a function to createArray which you call after jobs have been extracted. How about I "psuedocode" it and you fill it in? I'm not familiar with the syntax so it'll probably take me longer than you.
yeah sure no problem
Probably will be a syntax error for the completion function I'm passing in:
override func viewDidLoad() {
super.viewDidLoad()
tableView.delegate = self
tableView.dataSource = self
createArray(
{
(result: Void) in
print("3")
dump(jobs)
print("4")
dump(self.jobs)
}
)
}
func createArray(completion: (result: Void) -> Void){
let uid:String = "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
let db = Firestore.firestore()
db.collection("sevices").whereField("uid", isEqualTo: uid)
.getDocuments() { (querySnapshot, err) in
if let err = err {
print("Error getting documents: (err)")
} else {
for document in querySnapshot!.documents {
let titleTemp = document.get("title") as! String
let categoryTemp = document.get("category") as! String
let priceTemp = document.get("price") as! Double
let descriptionTemp = document.get("description") as! String
let locationTemp = document.get("location") as! GeoPoint
let uidTemp = document.get("uid") as! String
let a=Job(title: titleTemp, category: categoryTemp, price: priceTemp, description: descriptionTemp, location: locationTemp, uid: uidTemp)
self.tempJobs.append(a)
}
print("1")
dump(self.tempJobs)
self.jobs = self.tempJobs
print("2")
dump(self.jobs)
completion()
}
}
}
As you see we call the completion function after the jobs are done.
I'm using a shorthand method to define the function completion - https://thatthinginswift.com/completion-handlers/ but you can just use a normal function if it doesn't work.
ok let me see if it works
@pale onyx I am having trouble with syntax too since im learning
Ah right. Did my code give an error?
yes few syntax errors
nope, not yet. Sorry i'm still learning swift for the project even . thought they dont teach it in my uni
override func viewDidLoad() {
super.viewDidLoad()
tableView.delegate = self
tableView.dataSource = self
createArray {
print("3")
dump(jobs)
print("4")
dump(self.jobs)
}
}
func createArray(finished: () -> Void){
let uid:String = "1FCeXERAkJfzyhwCR5ZeYbq3Gun2"
let db = Firestore.firestore()
db.collection("sevices").whereField("uid", isEqualTo: uid)
.getDocuments() { (querySnapshot, err) in
if let err = err {
print("Error getting documents: (err)")
} else {
for document in querySnapshot!.documents {
let titleTemp = document.get("title") as! String
let categoryTemp = document.get("category") as! String
let priceTemp = document.get("price") as! Double
let descriptionTemp = document.get("description") as! String
let locationTemp = document.get("location") as! GeoPoint
let uidTemp = document.get("uid") as! String
let a=Job(title: titleTemp, category: categoryTemp, price: priceTemp, description: descriptionTemp, location: locationTemp, uid: uidTemp)
self.tempJobs.append(a)
}
print("1")
dump(self.tempJobs)
self.jobs = self.tempJobs
print("2")
dump(self.jobs)
finished()
}
}
}
this is the updated code
ok, wait.
ty amazon for pointing down the cable now i can't see the connector
lmao, why would they use an image with bent pins
jesus
Hmm, I'll have to look that one up.
k thanks
@blissful oracle func createArray(finished: @escaping () -> Void){ - https://stackoverflow.com/questions/38990882/closure-use-of-non-escaping-parameter-may-allow-it-to-escape
lol congrats, what do you work on nowadays?
are you in uni>?
wait, how old are you
if you have any project that requires marketing count on me
Sure.
I have a 10 million follower Instagram network
Well you've got all the elements for success! All the best!
yeah but facebook ads is hard
requires the right strategy . to generate sales
give it a try if you have some budget, search online "dropshipping"
Yup, I've seen stuff about it. I don't have any social media accounts, let alone successful ones.
you are not on social media?
you miss a lot still
and you know that discord is still a social media like platform lol
not really
Miss a lot of good and bad. Eventually I will if/when I need it.
i mean . in a sense its not but in another it is
i'm also not on social media, woohey
what makes you guys not get on social media?
Nice. It's a personal choice, really.
Mostly not productive.
Unless you have a purpose for it - which I do not.
true . productiveness decreases
You do, however.
and depression increases
have you . guys ever went in the deep web?
Nope. Why?
looks like an interesting place to be
And I've no interest in doing so.
Nah, not really.
Not that many people using it.
Only a few million IIRC.
yes but you find some really skilled people there
Why would they market themselves on the deep web?
Not the kind of people you'd want to be working with, in most cases.
they are mostly people with skills like hacking
I've always . been interested in cyber . security
so there you . can learn from the best
Teachers in the security course doesnt teach you .a lot appart from the laws
Hmm, eventually they will, surely?
however it is illegal that part of the web so better not to get in there
It isn't
the deep web is safe unless youre looking for some um
As long as you don't go to illegal sites.
Wikipedia doesn't exist on the dark web.
tell me more about your adventure ahah
@pale onyx i think it was a link / passage to get to somewhere else
a sort of fake wikipedia
what you can find in those sites?
@pale onyx incorrect
they have multiple different versions of the hidden wiki
some more censored than the others
you can also access the wikipedia from an .onion
could we make good money via making mobile games
if you are ea probably yes
hmm but no one will buy if i act like ea ๐
i don't have credit in users like ea ๐
which language
swift
ah got it
Ally Sheedy was pretty dang cute in wargames Ngl
Just me or was she like really pretty
you can also access the wikipedia from an .onion
@rough sapphire Yup, but that's not the dark web. What I mean is that the Wikipedia isn't on the dark web, but you can still access it via the Tor network. In fact 93% (IIRC) users of Tor use it to browse the clear net anonymously.
I was talking specifically about the Wikipedia hidden service
not accessing clearnet via tor routes
the former is, by definition, the "dark web"
why server icon changes constantly ๐
The Python server was peaceful. Until the Fire Nation attacked
I blame that bomb @tame terrace included in the banner.
Thus begins the continued storyline of the various Python Discord branding
server icon changes is what keeps it interesting.
Well that and the lovely staff
yes
top quality 
ugh facebook sent me warning
some of my photo(actually meme about iphone and math) deleted from group by facebook
and i got banned from live
and group got warning too (group will deleted if i repeat that)
says "violating community rules"
i wonder what i violated
COUNTRY ROADS
indentation is usually the most easy to fix tho ngl
COUNTRY ROADS
@quaint rivet
TAKE ME HOME
@gusty oar stop๐using๐facebook๐
or rather, stop letting facebook use you
The freaking card is currently listed for 300 euro on cardmarket :/
@gusty oar stop๐using๐facebook๐
@rough sapphire ๐ you are true
How to run cron job every time my computer start
and depending what you're doing you might want to look at bashrc
but probably what xx said
also don't put spaces in your range
and it worked
:D
i think it's "good practice" to wrap something you want evaluated like that in quotes?
yeah, doubles
there's a difference between them
double quotes will interpolate stuff inside them
so with "$i" it will evaluate what i is
but '$i' will not evaluate i to its value and will just result in $i
there's a bit more to it than that but that's the general feel
Do yall think this is a good enough laptop for coding?
Otherwise I'll wait and get a beefy XPS, but those cost 1.5k >
any laptop is good enough for coding
as long as it can run vim
@stark prawn That seems like a weird edit
Considering Godzilla has had that ability for how long? Also, why is Godzilla even in MTG? Am I missing something here**?** ๐ค
It's a crossover where some of the monsters in the next set have alternate versions that are toho ip
Huh. That's interesting
like the original godzilla was about the very real threat and terror of nuclear war
but as that has fallen away
it's just gone weird
@stark prawn That almost looks like a joke card
@stark prawn @rough sapphire I don't play MTG because I'm not a nerd like you guys, but doesn't this mean that corona card will be super rare and expensive?
i thought it was the dragon from that how to train a dragon thing
People are already gouching it big time. It's probably overpriced right now though.
I don't actually see it being worth 300 bucks.
i don't play MTG but when i do play MTG it's Gwent
nothing quite like a round of gwent
@gentle moss The only good Gwent was the one in 3. The off shoot game was trash.
off shoot?
i've only played 3
however i was thinking
"why the fuck is there MTG inside Witcher?"
then i was like
@rough sapphire Yeah, the "Gwent" came they released. It was it's own thing
how could they have messed it up? assuming it followed the same mechanics
"why have i been playing MTG for 2 hours inside of a game that has tits?"
It didn't have the same pace, and it generally wasn't the same feeling
i think going around and collecting the cards was one of the better parts of Witcher 3. quite a relaxing change of pace from killing monsters
i like the musical atmosphere of the game so i think i just got suckered in a bit
It felt pretty good to get some of the higher up cards. Like Blue Eyes White Dragon Geralt and the others
So my laptop charger broke, I found one that fits, same volts but lower amps, is that safe to use?
ye
cool
maaaan...
i'm so garbage when it comes to that shit
"eh... 0.5amp over? it'll be fine."
It's like double.
so the new power block is 1/2 the amperage?
Yes
i mean...
the worst i can see happening is a hardware error due to lack of power and a hard crash
much like putting too small a PSU into a bigger machine
Depending on where you're at, you should be able to order a charger and get it same day.
I've ordered one but delivery times have been unreliable these last few weeks.
Was just wondering If this would work without breaking the laptop even further for now.
I personally wouldn't risk it, if that means anything.
i for one think it's a perfectly fine thing to do in terms of causing harm but may make the thing wobbly.
however, i am not a profess-
oh
:D
@rough sapphire Yes and no. You wouldn't code emulators on a chromebook, or bots on a chromebook
Or would you?
I don't see why not
Why not?
i have in the past perfectly fine
also @stark prawn using lower amperage charger is perfectly safe
all it does is provide less power
that's it
Though, if you're using a lot of power on the thing.. ๐
then the laptop just won't charge fast enough to keep up with the pace
so you might have to, idk, use sleep mode or something to charge
the way i was thinking about it is that most laptop chargers are over capable of delivering power based on the spec of the laptop
a Dell i7 and a Dell i3 needing the same amount of juice? please
and under powering something doesn't break it as much as make it not work proper like
in my old OC'd 6300 i had to swap out the PSU with some spare shit and i couldn't keep the clock speed up because shit would just fault all the fucking time
cpu misses a beat and everything goes to shit
i love this servers icons lmao
It's an Eve joke
what you're looking at right now is riveting eve gameplay
i thought someone was actually going to repair the city of Hull
the heaving piece of shit that it is
I think all that is left there to do is a pod kill
who'd bother with level 5
so many better options
unless they suddenly made the skill more useful since i've been away
@rough sapphire Idk I feel 4 gigs of ram is too few. Although I'll admit, 200โฌ is stupid cheap.
I could always remove chrome OS and install arch...but still, 4gigs is too few.
id argue 8 is too few
ChromeOS doesn't really need much RAM
it's super light
but of course it isn't designed to run normal applications
lighter than most arch installs because some people cant help but be compelled to rice
I've revived decade-old laptops with chromeos
and those laptops weren't good when they were bought
Do you have to have a laptop?
or just purchase an upgradeable laptop
@sand goblet I have my work laptop, but I want my own too
Just to separate stuff.
And I don't have space for a tower
on a budget, i'd look at refurbished. factory or factory authorized, as the quality of repairs is much better.
I mean for refurbished I'd go with a macbook
They're not that expensive. Like
Entra per scoprire le offerte sui MacBook Pro 15.4" ricondizionati usati. Scopri la nostra gamma di Mac Book Pro 15.4" con e senza Retina Display rigenerati.
macbooks 
agree sommersoft. i personally love direct refurbs, like with dell.
also incredibly overpriced last time i looked
not my cup of tea, but i don't knock people for getting macs. i definitely wouldn't buy a new mac though, personally. ๐
that's not dirt cheap
But still. That's dirt cheap.
that's just cheap for apple
i dont think i was knocking them, if that was directed at me
well they're old machines that people have cleaned up
they're not worth full price by any measure

I'll save up and buy a shiny XPS or matebook pro
Or a tower, if I can fit it. That'd be nice.
i dont think i was knocking them, if that was directed at me
maybe i misunderstood the addition of pepe? sorry if that's the case.
I think I'll pay a tad more for dell refurbs since I'm buying from italy
They don't seem to have an italian website
for that
was knocking macbooks if anything
or maybe not lol
it doesnt affect me either way what people use
agreed. business machines are abused...
i'd go inspiron. XPSes lack ports, if you don't want to dock/adapter everywhere you go. ๐
they're pretty good for work yeah
they're just cheap lines that don't last super long
Hmm...other good companies that sell refurbs?
Cause fuck it, I can get a nice latitude with 16 gigs for 600 odds
That doesn't sound too bad.
Also I want AMD not intel >:I
Fuck intel. Prof says they have backdoors in their CPUs.
welcome to the age of misinformation lol
they don't build backdoors, but they're known to have a couple of more issues in their microcode than amd does atm
[15:59] Scragly: dell don't build amd systems yet
[16:00] Scragly: but they're coming
that or another mysterious brown envelope
they're here... ๐
AMD's laptop chipsets must've been far too tasty to turn down
okie frick. dell has no good refurbs. What else.
AMD APU's are the face of integrated graphics
i would probably wait for the newer mobile Ryzens though. power consumption has been higher in the early models, from what i've seen.
agreed
@dusky orchid ๐ฆ soz.
looks like it's only inspirons though in your link
No inspirons or xps in Italy >:I
sad times
thinkpads are another popular option. what OS are you wanting to run?
latitudes are not bad
imo anyway
well, the ones i saw in the late 00's / early 10's
they're not bad, they're just not super amazing either
k. just make sure you research the laptop model with linux support, before you finalize a purchase. driver issues abound...
and if i ended up getting a laptop, i'd want it to replace my pc
new lattitudes are fine. the refurbs, i would stay away from.
I mean I want a laptop to replace my work one
keep work and downtime separated
Maybe have windows on my personal one so I can game more easily
i recently gutted a latitude
it was ok for what it was at the time
only real issues with it were the trackpad and the weird touch bar media control thing

Is following tutorials bad?
Cause there is a tutorial for a GB emu in C++ I think, and I'd like to follow it
but I know I wouldn't be able to do it on my own
tutorials are helpful when you learn something from them
but if youre just copy/pasting code you're not likely to learn anything
@lime gazelle have you written a chip8 emulator?
it's usually the starting point for writing your own emulator and has some great resources online
I like to do tutorials then try to do something else related to the tut
I followed this, it was pretty good as a resource
lots of code is omitted so you can't just blindly copy-paste, it does force you to think
(the important stuff is still there though)
i've written a few emulators, yeah
reminds me of this talk. tis a good one (more, "how it should be", than "the way it is")
https://www.youtube.com/watch?v=t4vKPhjcMZg
Daniele Procida
http://2017.pycon-au.org/schedule/presentation/15/
#pyconau
This talk was given at PyCon Australia 2017 which was held from 3-8 August, 2017 in Melbourne, Victoria.
PyCon Australia is the national conference for users of the Python Programming Language. In ...
it all seems overwhelming at first but once you get into it it's just pure logic
@rough sapphire I tried, gave up because I didn't know how to progress. Using rust didn't help, as I don't know the language
haha talk about a crash course for a new language
Yes
yeah, i recommend using a language that you already know
because then the difference between "is this a language error or logic error" gets much clearer
I'm torn between C++ and Rust

I want to get into low level so why not with a CHIP8
@lime gazelle
Sorry, but it didn't feel right to just outright DM you. I'm interrupting again.
What kind?
I'll finish the chip8 I started way back in August
Idk if I should continue with rust or switch to c++
I know neither
CHIP8 looks technical. Fun. Hope all goes well. (And personally, I'd pick C++. I actually probably will, myself)
You'll do it too?
I'll do mine, make super sure it works and then try to port it to the nds
Cause why the fuck not, I have one laying around, might as well use it
I've read more about C++ than any other language. Besides Python. It just feels natural that that would be my next language.
Thought you meant C++. lol
Maybe I was looking at the wrong CHIP8 thing. I see what you mean now, about CHIP8 and emulation
nothing, its ok

"MBps" is not a thing but otherwise it sounds about right
my current connection is 20mbps and I get around 2.5 MB/s
yep thats right
companies often report speeds in Mb/s because the number is larger, even though everyone is more familiar with MB/s
not entirely accurate
i mean, i'm sure that's a part of the reason, but we were using bits per sec to measure network speed far before the internet came about
because of the way modulation and demodulation works
because of the way modulation and demodulation works
@rough sapphire hmm seems logical
good info ๐
also in the past bytes weren't always 8 bits
it's commonplace now, but there was a time where the common byte size was 4 bits instead
or was measured in octets instead
I think non-8 bytes still pop up occasionally
sounds like a nibble to me
@rough sapphire made a me-me for you
people on the C++ server say that Rust sucks.
which one are you on?
Yeah, looks like there is a type of hate from one community to another
idk why, my mission is to learn as many languages as I can
which ones do you know already Hacky?
You shouldn't. When you talk about your CHIP8 thing, I'm entirely lost.
I only started learning programming about 9 months ago, and it's not as if they're real languages, but Python, CSS, AutoHotKey, minor HTML
I mean I never implemented it.
Python would be the only one I feel comfortable saying I "know"
yeah, I haven't been doing Python for too long either, but it's the one I care about the most
But I am able to work with existing PHP as well, albeit with more googling than I'd care to admit
I'm just resourceful, let's leave it at that
all programming is googling
how did people manage before Google? 
Britannica? idk
No seriously. How the fuck did someone write programs?
@fervent dock I feel the same way. It's just so... easy. relatively speaking
Oh, programming. lol my bad
I have no clue
Listening to people talk about assembly is like listening to.. idk latin or something, for me
same
or any other low level lang
xD tell me about it
I'm gonna focus in low level languages
@lime gazelle are you aware of PICO-8? seems like a combo you'd be into...
https://www.lexaloffle.com/pico-8.php
I tried learning C++ like a dozen times in my teens, but never got farther than an hour into the intro. But I remember a lot of the concepts and stuff, and math comes natural to me, so I think I got really lucky deciding to try Python when I did
@pine vector I heard of it, yes, but never tried it
You know what, I think I'll do that. I'll try reading up on C++ again
@rough sapphire goodest of lucks!! I'll try too when I feel like it
Been 10 years (at least), but what the hell
rn I just wanna draw and have a fun time with the jam
Good luck too Andrea
Learn by doing
C sucks (idk)
but C++ can do everything C can so you'd be more like... better off with C++
I don't know the syntax yet. But that's how I learned Python. I followed a tutorial, and just started building a bot for a subreddit I mod in. (but the tutorial was for tic tac toe rofl)
Idk if it sucks, but C++ has C compatibility so..
hardcore parkour
But yes. Good luck! I'll focus on the jam and then I'll tackle rust
The book is short, so it's not a big deal
Oh and Pico 8, thanks sommersoft!
It's good to know C because there are some interesting things that are done in it
yw! hope you didn't have any plans this weekend. ๐
Has anyone here read SICP?
its a pretty cool project. i've only spectated on it, myself.
@rough sapphire basically everything is done in C, that's partly why I wanted to learn it
It's painfully hard
sicp?
yeah
what's that?
@pine vector heck, now I need to fork out 20โฌ
oh? i didn't know there was a cost associated...
frick they have voxatron too

Should I get both?
Maybe I should do some research before spending money
huh. i wonder if that's a new thing. i mean, i don't disagree with a developer getting paid for their work...at all. ๐
Yeah, that's not a bad thing
I wish they offered a demo/community edition to try it out
But
I know how hard these things are to make
the dev gives some pretty good talks (which is how i was introduced to it)
I wanted to recommend one, but it looks like they currently have no active invites
MIT moved away from SICP and started teaching python instead years ago, and i read the teachers had been pushing for the changes for years before that, so not saying it's a bad book, a lot of people swear by it, but it might not be the best resource anymore
C is a nice language for being easy to learn, there is not much to it, it's much less complex than C++, not saying it's easy to learn, as there are subtleties, but there is not that much to learn.
and i'm not a C or C++ expert, but i know it's possible to write code that is valid in both languages, but behaves subtly different depending on which compiler you use
Do you think i should take a intruductory course in CS or just go to the things i'm interested in?
It depends on what your end goal is - personally I think doing something like MIT 6.001 is a pretty good choice
but its certainly not mandatory
it can be really useful to have some structure to your learning, and that doesn't prevent you from learning for your interests
you'll certainly want books on these specialized subjects if you really want to understand them, but the concepts are not easy to grasp, a good teacher can be really helpful.
I need to learn it myself
Should i wait for university then?
I think i can ask for help in communities if i find myself stuck in anything that's too complex, no?
you don't need to wait, but it can be useful to go to university, is all i'm saying
you don't learn it all there anyway, there is just too much, but you get a good overview of the fundamentals
if you are able to keep focused on a subject for weeks and force yourself to persist when it becomes hard, without external obligations like school, then sure, you can certainly do without it, but a lot of peope fare better with more than just self discipline
I think i'm gonna jump the introductory classes and go to architecture, Algorithms and Data Structures and the basics then
With introductory i mean the programming basics like recursion and etc
I i find that i can't understand a topic because i lack some understanding in another thing then i learn it
And school in my country is pretty shit in my opinion
So i will just review or learn the things to get into the university myself
Thanks tshirt
good luck ๐
you could ask in #data-science-and-ml - but that really sounds like it wouldn't be a successful project to me
unless your dataset wasn't relying on parsing news articles themselves
I guess I'm wrong
if IEEE published a paper about it
well, there's multiple papers on the subject - they aren't generally too difficult to read
hmm i downloaded this article now
i'll look thx ๐
news detection using naive Bayes classifier. This approach was
implemented as a software system and tested against a data set
of Facebook news posts. We achieved classification accuracy of
approximately 74% on the test set which is a decent result
considering the relative simplicity of the model. ```
its actually not bad
%74 accuracy
I want to see the dataset for it
accuracy doesn't tell us much without more info about the dataset
this gives info little
naive bayes in general isn't too difficult to grasp
if you step through the bayesian logic stuff slowly
trying to jump right in can be a bit confusing
this should give info about dataset
yeah, I'm reading the paper now
๐ okay
their overall results are pretty good - although I always find it amusing if they could get better accuracy by just always predicting true
huh - my understanding of Bayes is apparently pretty rubbish actually - I didn't realise it was super relevant for NLP, but it is
yeah results are pretty decent
how they determine accuracy ? are they asking news staff if its fake ๐
They don't go into too much detail about the dataset. Apparently it comes from Buzzfeed
classified as accurate or not
they can actually add satire websites like , worldnewsdailyreport
thats the paper's source for the dataset
hmm good source for benefit
why they don't publish open project about that :d
i wish they did
you can find random examples with a google search of naive bayes for fake news detection site:github.com
oh thanks ๐
Word calendar? I've got an airplane calendar
BuzzFeed News analysis
Yeah sure
What happened to your social distancing rules
I feel unsafe
const correctness have you washed you digital hands recently
wait a second! Is celeste from the pico-8?!
Yep
ahhhhhhhhhhhhh facebook @undone berry
What have they done?
"we're not banning political ads because if a politician wants to lie to everyone they should be allowed to."
i watched the deposition
that's literally their platform atm
political ads will be fact checked but not banned
At some point they will be legislated. It'll just be done very very very shittily
Yeah, I agree. Facebook are clearly just too greedy
At least they're open about being complete greedy uncaring fucks
their political ad revenue is hard to put a finger on
but it's not small
oh okay it's actually not that hard to put a finger on
2019/2020 spending on facebook was $800m
just political ads
That also doesn't include ads masquerading as non political. So they're pretty flagrantly just grubbing after money at whatever cost
yeah
i just went to the supermarket (amsterdam), i hadn't gone in more than a week, they give a cleaned up cart to everybody now, want it or not, but there was more people in the shop that seems reasonable, despite rules to stay at least 1.5m appart, it was not always possible. and not everybody was really careful about it
Practically everywhere here limits the number of people allowed in - so the queues outside take forever to get in, but inside is pretty quiet - to the extent that there are lots of staff just standing around
@frosty berry Yes, I share that frustration. There are still people trying to go with their families as well.
๐ things seem not to be tooo bad in netherlands still, but if people aren't more careful, i'm not sure the current mesure are going to be enough to contain it
Things are pretty grim, if you look at fatality rates per week and compare it to a year or even two years (large flu epidemic) ago
However, our healthcare system isn't yet overrun
In part because our healthcare policies are different
I'm not sure at all why this happens - I went to a small local shop yesterday at noon and it was packed, there were massive queues at the tills
are people still trying to stock up?
yes
pasta with tho sace
and rice, I need at least 100kg of rice
what about wheat ?
and three trees worth of toilet paper
yeah, I could use some flour right now, but it's partly sold out
does linux terminal supports emojis ?
that depends on the terminal emulator and the font you're using, but I haven't used one that does not support emojis
It's just that my current font has a limit range of them
I am using noto sans mono
should i try pasting a emoji in it ?
๐
\๐
why unicode emoji not show up
\๐
nice
the emoji completion plugin i use in vim in my urxvt config
URxvt.font: xft:Monospace:pixelsize=15:autohint=true, \
xft:Noto Color Emoji:pixelsize=12, \
xft:Emoji One, \
xft:Symbola
the part about fonts in my .Xresources
For those who use Semantic Versioning in their software -- how often do you create releases? More specifically when during the initial development/alpha stage?
I feel like I should be bumping the version number for every little fix, or new feature merge. Should I really be releasing that much? I tend to in practice just build up a few small things, then release. Or when merging a larger feature, going for a minor release bump
Hey guys, so, I'm using Streamlabs OBS for the first time, how do I make it so I only record part of my monitor? I don't want to record the whole monitor.
please don't ask in multiple channels
Desktops are cheaper than laptops. Yeah. No ๐ฆ



