#ot1-perplexing-regexing
1 messages ยท Page 366 of 1
Want what?
make that idea real ?
Oh
Well, it was never about me, really
We had a "prototype" which was essentially a flash game I found that did what I was thinking of, but with an entirely different target
The girl I had testing the idea is still using that, and it still helps
but yeah, I dunno
even if I did go for it, I'd never find a team
i mean like u never know unless u try it
I mean that statement has been consistent with my 11+ years of software experience haha
it doesn't matter how cool your project is
people don't want to help
they might give you all the praise in the world, but they just make excuses, even if they have the expertise and money is involved
besides, most of the work is graphical, math-heavy code - none of which I have the ability to wrap my head around
i guess they gonna look hwo much they can benefit from it too and if it really align with their interests
I mean if it didn't align with their interests, they're being kind of disingenuous with their praise haha
exactly haha sometimes ppl praise just to be on ur good side lol
no matter how much shit u produce
ยฏ_(ใ)_/ยฏ
Anyway, it's probably not going to happen, like most of my projects
programming is really just a hobby at this point
u never know ayee time changes ppl
wish i could make programming my hobby and get really good at it haha
anyways gtg thnx bud
Later, o/
hmm interesting . in code everywhere is "public" "private" ๐
@sand goblet Wait you were fucking offered an MIT scholarship?
Still amazing
They'd have made bank with that project
It's a bit overrated I think
Well I live in Greece, CS unis in Greece are next to nothing
The computers they run there are 2005 dells
That's the case for most unis to be fair
Hmm, I was thinking of going to Scotland since they have free tuition for EU students but I am still not sure. Also the exams for the unis will be postponed to around July probably and I am very very sad about it, the part of our edu system that handles students' introduction to universities is infamous for its difficulty
And I am not the kind of student to sit and read maths, Id rather make websites and programs all day
do u think this seedbox OK ?
๐
eeeeeeeh
Is it not that good?
Why not tho?
purely because of how antiquated it is, I'd say
we have a lot of better options these days
I have been told at times that the spaghetti code chance is close to 0 because of C# structure
but that's probably not why people are paying for seedboxes
@sand goblet sssh ๐
@gusty oar Could we not
@viral parrot sorry for pinging, is there an option for dual monitor on manjaro?
Oh nvm found it
Wait wtf
I swapped the screens
And all the things I click in the first appear in the second
you might want to set your main screen as the other one
is it correct to say that, given a (x,y) position, where x is the col and y is the row in my sudoku, I can say that the coordinate of the cell the number is in is x//3,y//3?
assuming each "block" is a 3x3 and i index them 0..2
so the 3 blocks on the 1st row are (0,0) (0,1) (0,2)
or rather (0,0) (1,0) (2.0)
with that, could I then say if num not in sudoku[3*x:3*x+2][3*y:3*y+2]
You can't index a list like that, a numpy array would be an way around that, or a simpler option would be to loop over the x and y values with a for loop and index each value and check individually if that makes sense
Yeah, I'm using ndarrays
It should also be x+3 and y+3
nice kiwi! manjaro is pretty great
My pc just crashed
:d
The second value is non inclusive though
it's not?
I thought it was
yeah you're right ๐ฆ
my slice notation doesn't work
One sec while my PC loads back up...
And then there is me with my 6yo HDD
SSDs are so cheap now
Hmm idk
intel optanes are fairly expensive
they're insanely cheap these days (i mean ssds)
Last I looked optanes aren't tangibly better than normal m.2s/sata
0_0
Yea idk I just had a deep desire to buy an optane
I used to code on a 2009 macbook
i just bought a 1tb ssd lol
up until like 9 months ago
Something like this for just Windows+Pycharm/another program you use regularly makes a PC so much more usable IMO https://smile.amazon.co.uk/Crucial-CT120BX500SSD1Z-Internal-Solid-State/dp/B07G3L3DRK/ref=sr_1_4?dchild=1&keywords=128gb+solid+state+drive&qid=1584288148&sr=8-4
Im thinking I might save up and get a quality laptop
I'm not dumb!!
get a macbook pro
Get a refurbished macbook
my next purchase will be that
it's so cheap
High quality laptops are like 1400ยฃ
you can get them refurbished, they're super duper cheap
If you don't mind minor blemishes
I'll probably buy an XPS 13 in a year or two, but right now you can get very good laptops for like 400/500ยฃ
My budget will be about ยฃ1000, which is enough for something pretty decent
build your own laptop
Depends on how you define decent I guess - what do you want it to do?
Building your own laptop is a pretty rubbish idea
that's plenty to get a good laptop
Its more expensive than a prebuilt, and generally lower quality
no, not at all
the laptop component market is rather limited.
and would be quite difficult to put together one
Yeah, much harder to physically put together than a PC
Ow
also - prebuilt PCs are pretty much on par with custom building at this point
at least if you spend enough time lookign for one
Well I don't do gaming so I probably don't even need a GPU, I just want to be able to run discord, pycharm, firefox and probably something else at the same time quickly
well you're going to get a gpu at that price range anyway
But you can get ยฃ~400 laptops that do that
get an ultrabook!
ultrabooks are great and surprisingly pretty powerful for their size
It depends on the kind of laptop you go for - but a thin+light in that price range often won't have a GPU
I'm not getting a surface
Owh
i've seen many ultrabooks coming with mx150s around ยฃ800ish
Ultrabooks are 1kโฌ+ here
if ultrabook, like Charlie, I'd go XPS. having proven linux ability is hard to pass up. ๐
The XPS 13/15 look great - and they were recently refreshed
what's the price for an XPS?
but I'm not sure I'd be considering it til I was at the point where I really didn't care about that amount of money
lemme find one
i'll say this though: the higher-end Inspirons are really close to the XPSes, and cheaper.
I looked the other day. 1400-1700gbp seemed to be the price for decent ones (XPSs)
that or about three and a half rolls of toilet paper
I don't think i really need an ultrabook, I'd rather get something a little cheaper and a little faster as size doesn't really matter to me. I want it to be a long term investment so I guess a GPU could be useful at some point. I haven't really looked into it much yet though
What would you want a laptop for?
Well I would buy a macbook 100%
i wanted an XPS, but you lose so many ports...
very reliable
As in what would be your usecase? Unless you're moving a lot, a ยฃ400 laptop and a ยฃ600 desktop seems like a better investment
Macbooks are only worth it if they're refurbished
not used, used they cost a lot still
refurbished is super cheap
just don't buy a mac. ever.
I only think macbooks are worth it if you like the OS
And if you need to develop for apple products
Or that
OS
entire apple ecosystem, imo. ๐
Yeah, thats true
apple should not exist and steve jobs should have choked on one. ohh, he did.
the hate I have for that is that it's 100% pure capitalism.
i mean...that's just wrong. i don't like Apple, but they do serve a viable market.
apple is pure marketing.
i hope you limit yourself to OpenBSD and GNU programs... ๐
Thats not true. Their OS can be very nice to use, their products are generally of a relatively high quality
Hmm, I feel like there are some things I would do if my computer could actually handle them (e.g. simple photo editing/maybe blender sort of stuff?) but tbh I don't really know. My main focus would be speed for simple programs with lots of multitasking.
@undone berry I don't disagree.
but that doesn't mean that "let's make our headphones wireless" isn't a 100% marketing decision
it's stupid no matter how you put it.
I see the wirless headphones thing as the same as their approach to USB
I think wireless headphones are probably the future
and apple pushing that is fine
their headphones are also of a good quality
the headphones can be good quality yes
but that doesn't mean you CAN NOT have both
No, but its not difficult to have wired headphones on the iphone whatever
the jack thing is/was blown out of proportion
it's 100% marketing. it's 100% apple being apple.
(and is also being done by other manufacturers)
It is apple being apple. But that isn't a bad thing
also, having multiple open holes in a phone case decreases "dropped in toilet" survivability. ๐
it smells like bullshit and it is bullshit
"We have a thing most users will like. Lets push users towards that" Is no more of a marketing decision than pretty much any other thing a company does
No
its not the same specs
well nevermind i can't find one ๐ i guess the laptop market has changed since i bought my laptop
similar processor
A) its not the same specs because yours doesn't support IOS which is a major feature B) no other manufacturer uses apple CPUs
Come on
I'm not saying apple can't be doing their thing but people are allowing that company to get away with anything while the only reason they are doing any of this is to maximize profits while making up bullshit excuses
C) absolute bullshit that your camera is equivalent
Supporting IOS and having a worse CPU doesn't justify 5 times the price
With macos u can develop ios and android
My camera is 48 MP
Iphone XR is shit
True
I'm trying to find photo samples
Also - the hardware matters jack shit to normal users. The only thing that matters is how nice it is to use
and the iphone is very nice to use
You're implying the note 8t isn't nice to use
No I'm not
also, again, that doesn't justify 1k price
Yes it does. Sinking shit tonnes into make your device pretty and easy to use justifies the price
I mean...we have different philosophies here
To me, it's not justified
300 maybe. 400.
but not 1k.
there's 2 things at play here Andrea
You're also just wrong about the CPU
the Apple CPUs are pretty good
and no other manufacturer uses them
First is this: are you the kind of person who looks at price to performance? if you are, you're spot on. Apple price isn't giving enough performance for the price. they never do.
There's a reason all the flagship phones are a similar price
i wouldn't particularly trust xiaomi
good tutorial to learn this python ?????????????????????
apple is in line with all the others
The second is this: are you interested in absolute quality? If so, You have to admit, apple does give "something extra" with their smooth experience
It's not nearly enough to justify the price bump if you were optimizing price to performance, but it IS something extra
Yeah. Out of the box, I think I'd prefer an Iphone to a Galaxy S-whatever it is now
@primal spruce "absolute quality"..?
which means for people who care about "Absolute better", it's their preference
@rough sapphire well, basically quality without context of price. it's a poor phrase, but i wasnt sure how else to phrase it
"just performance" i suppose
@primal spruce I think I understand what you mean by this quality. it's the sense of what happens when you're using this device as a person who doesn't know the difference between space bar and "any key"
pretty much
and there's nothing wrong with that.
no point belittling it, some people just want an amazing "out of the box" experience. they don't really care if it costs them an arm and a leg extra to get it
i suppose some people do.
"the cost of the premium experience" so to speak
Also, let's be honest, you can buy an actual camera for less than an iphone and it will make better photos, imho
Absolutely Andrea
Performance IS nice to use. When i use the phone, i'm concerned with how fast the apps load, does it need to shut down apps (including Chrome full of tabs) to free RAM and does it turn into overheated brick when i try to play some google play game.
no one is going to carry around an actual camera
People want to be able to take good photos on the go
for me that "out of the box experience" means usually "this won't let me do what I Want to do"
Cause the moment you consider "price" in the equation, nothing makes sense. apple does charge an insane premium
@rough sapphire same ๐
Also, im personally a price to performance guy.
Apple's premium is on par with Samsung's, Huawei's, and Google's
they just don't make low end phones though
No?
yes
Lately, yes
Price and specs
oh god I'm gonna shit my pants. this means covid doesn't it
The Iphone is on par with the other flagships in all meaningful specs
rofl
meaningful specs being screen quality, camera quality, and that the CPU/Ram doesn't shit the bed
Like, for me, i have a simple litmus test. just look at the so called "flagship killers"
you'll notice the spec differences just about disappear after a certain point
Have there been any since the early Oneplus phones?
I feel like the xiaomi are very good bang for your buck
Sort of, but not quite as groundbreaking as original Oneplus were
look at realme x2 pro, and redmi k20 pro
yeah, but we're not talking about bang for your buck
Only about flagships
because thats the only thing Apple sell
they are the flagship killers of 2019
yep yep
Damn - its been so long since a non-Chinese brand entered into things
I guess it makes sense tho
Yeah, nowhere else in the world has as much infrastructure for making phones
mmhmm should write some code
hehe
but yeah, so the main thing i was trying to get across
Make an app where people can submit ideas for you to make
and can vote on them and shit
@wind karma write the fisher-yates shuffler.
Make an app that tells you how fast you're going
take the price of a flagship killer. take the price of a flagship from a premium brand. since the specs are just about the same: the gap is purely taxes + "margin for the premium/price for the research"
(I actually started that project once - and gave up halfway through as with every other project)
@wind karma getting it 100% correct
Make a Discord bot with a web control panel
Already done that
make a clone of discord
make an app that generates and posts ideas by itself for you to use.
@wind karma write a PRNG
There's always features you can add to that
@terse sluice I have actually programmed to create that in the future
why is the fisher-yates hard?
make an app that generates and posts ideas by itself for you to use.
Now thats the real 5000iq
It looks fairly straight forward
Hahaha true
@lime gazelle it's not really hard but it's easy to mess up.
hahaha
^^
I already forgot the big brain idea that I had ๐ฆ
Should write them down somewhere
So
we've got to get your sudoku finished haha
the fisher-yates is just how you shuffle anything
I will make a discord clone for uploading ideas that can also get generated together and are shuffled usiong the fisheryates algorithm
Sure
or is it not allowed?
โช๏ธ
True
but I'm pretty sure it is allowed
Haha
โฉ๏ธ
Nobody of you watched futurama?
oh i see
Yeah
Hahaha
also, havent seen futurama ๐ฆ
Well, onto the sudoku for real!!! Also, has anyone done anything for pi day?
You must have seen the "I'll go and make my own XXX with blackjack and hookers" memes
Ah not really
what i did for pi was finally realise why pi was chosen to be this day
like, i can't believe it took me this long D:
I'll go build my own Ponyville, with blackjack, and hookers!
Obwohl... Die Szene ist aus Futurama Staffel 1, Folge 2.
Download Dixie - Blackjack & Hookers (Futurama Trap Remix) : http://bit.ly/1NjsJqR Subscribe to Doge Music: http://bit.ly/29ZV1OF Follow Dixie ยป Facebook...
Nice ๐
in my defense, i blame murica for putting month before day
first 13 seconds of that
Also we need a tau day
๐
=tex 2\pi
no one gives a toss about tau
One of my top moments of that show
Its literally the second episode and so memorable
annnnd... blackjack! annnndd.... hookers!!
I'm surprised
pi = circumference / diameter so
pi = 22/7 ๐
diameter = 2*radius
tau = 2*pi = circumference / diameter = circumference / (2 * radius)
so tau could be defined naturally as circumference / radius
well, @wind karma never exactly. if 22/7 was circumference by dia exactly, then pi wouldnt be irrational now would it ๐
22/7 is Pi though
it's an approximation of pi
no but seriously if circumference/radius is tau
that just makes so much more sense
tau is a much better constant than pi
given that tau = 2*pi and well the number 2pi is almost everywhere (and even in radians the full circle is 2 pi and not pi)
well, in equations you'll find pi more than tau
yeah but you should find 2pi
a new project just launched @undone berry thanks for idea
To make it more interesting - you should use new tech. I'd suggest FastAPI+React/another-js-framework-that-you-haven't-yet-used
No, thats just jinja
Ah
Actual HTML comments are something like <!-- -->
motherf---er. i just saw a cat play jenga on reddit.
Weird way to start that, but okay
@rough sapphire did you know that cats can play jenga
Animals can do a lot
well this guy is pretty good at it https://www.reddit.com/r/aww/comments/fj0qyo/rage_quit/
๐
How can I align a bootstrap button
I have tried to style it, create a wrapper div, margin it, w/e it doesnt work ๐ฆ
nvm, actually doing margin-left: 50%; worked
@wind karma yes, i have three monitors ๐
22/7 has barely 3 digits of precision as a pi approximation, and it's 3 digits to remember, that's useless, just learn the digits (and a couple more).
i was answering to the earlier discussion about 22/7 as a pi approximation
but yeah that was over an hour ago
I didn't see it, so figured it was something that got deleted ๐
given that you only have to remember 22 and 7, and you get 4 meaningful digits (3.141) out of it, it's pretty good
Realistically no one is going to remember that though
I remember 3.1415926545 (unless that is wrong in which case i remember less)
I remember numpy.pi and that has been so far good enough
The longest number I remember is probably the new 999 phone number for emergencies (01189998819991197253)
i remember 3.1415926535897932384626 but that's way more than i'll ever need
i did learn the first hundred with some app at some point, but i quickly forgot most of it
That is a lot but some of the world records for memory honestly amaze me
I'm so close to havign a sudoku!!!
22/7.
3.142857142857143
so no, you don't even get 4 digits of precision
this fraction approximation is trash, and since i've seen a few people thinking it was either exactly pi (!) or a pretty good approximation of it, i think people should just stop teaching it
Pi is exactly 3!
Assuming you're trying to measure how much room your completely circular 3m radius couch takes up - there's an error of 2.5cm using 22/7 vs 3.14159
thats pretty acceptable
that's the law in some US state ๐ (although it was not really fully voted, and never will)
yeah, but why not just remember 3.14 if that's all you are going to use? that's just as many digits to remember than 22/7 and less work to use
(also i think you meant cmยฒ)
actually - thats a pretty good point. 3.14 is just as easy to remember as 22/7
I did mean cm2, I just couldn't do the superscript two so ignored the problem (my default approach to problems)
๐
I remember a figure that is something like 40 digits of pi are needed to calculate the circumference of the universe to within a cm
Actually its 39 to within the width of a hydrogen atom haha
i think i did check that what i remember was approximately good enough for the galaxy to a cm yeah
certainly good enough for whatever i'll need it for
and it's not like i'm ever going to compute that manually, so if i use a computer, it'll know a a better approximation anyway
Yet people still decided they wanted to calculate pi to over 30 trillion digits or whatever the record is now
Sounds like it passed any level of useful a long time ago
we might find a sequence some day? that would be pretty ground breaking ๐
(but i think it's been prooved to be irrational at this point)
ye, there is some proof out there
It's a pretty useful benchmark for some stuff
What should I look for if I want to optimize code?
I've removed unnecessary if statements, unnecessary for loops
I can remember 3.14192(4/5)
if you want to optimize code for speed the first thing you should be looking for is probably not writing it in python
Wasted
Crusader for the truth
For a sudoku solver - its pretty obviously fine to write it in Python
Your contribution wasn't constructive in the least, Nix
Especially when talking to an obvious beginner
the question was never for a suoku solver, the question was for optimizing for code
Don't use python
Nix, is this really the hill you want to die on?
No, but the answer to "how to optimise code" is dependant on the code. You should have asked. Also - the solution to optimising code isn't completely different code
yes
Ruuuuun toooo the hiiiillls
Mk
I can't think of anything that I'm doing that it's blatantly wrong
Can you post your pastebin again?
You should try to think about how you can reach the same result with fewer statements
I'm not exactly good at optimising code, but I'll read it and see if I can see anything obvious
reaching the same result with fewer statements does not necessarily lead to better code performance wise
Also - another point nix - optimising code can have multiple meanings - the most common meaning is to reduce the time complexity
yes
thats why i said
if you want to optimize code for speed
at least read my message before shitting on it
Are you going to give some real advice, Nix?
You seem to know exactly how to optimise this
I mean, in most conversations speed is seen as time complexity
I know the code works for simple sudokus
like a 4x4
where 4 is the number of cells
like blocks, not single cells
i mean one problem is that he is using ndarrays in exactly one spot and then casting them to lists, im sure if there were only np arrays in it (i.e. not python btw) it would be faster
so really a 2x2
You mean like, 4x4 where each unit is a block of 9 cells?
(why are you using the third person rather than the second?)
Or shove it though py2exe/nuitka and say you've spend many a day optimising
Probably it's better to just visualize, I'm crap at explaining
2x2 big cells, with each cells being composed of 4 smaller ones?
Does it make sense?
Right okay
@undone berry because this seems much more like a convo betweeen me you and g rahter than me and @lime gazelle
Well, IMO it comes across as rude. Once you're commenting on their code like that, it just comes across as dismissive
I get that you didn't mean that
It just comes across that way
Welcome to pydis..
I don't have the time nor the crayons
I thought I was being smart with what I did, turns out I'm not
I'll take a look at your code when I get to my desk, Andrea
so ok, I'll think about it next week!
@lime gazelle just so we're clear on what we mean. I see it as a cell is a single digit, a block is a group of 9 digits (3x3), and a grid is a full soduko (9x9 cells, 3x3 blocks)
How much does you code currently work for?
it works for the following:
a 4 digit block, 2x2
a 6 digit block, divided into 2s
if I try and divide the 6 digit block into 3s, it hits recursion depth
i mean really, just using ndarrays instead of lists is deifnitely gonna give you a boost, just try it
I'm using ndarrays
youre casting them to lists all over the place
There's no numpy sets?
I don't really know
Also, not casting them to lists works all the same, it seems
so I removed the casting ๐
IMO its easier to work entirely in the domain of numpy (pain in the ass), or entirely in the domain of normal lists (easier but slower)
I guess thats probably fine then
I should make it a set really
I'm not convinced that solving a 6*6 sudoku is this difficult...
The closest is probably np.unique
since they're unique anyway
it's taking forever
Disadvantage of a set is that you can't use random.choice() with it
and it would only be a constant time speed up given that its 9 digits
or 6 or whatever
Idk I'm trying to write some good code
the best code is the code that works
@lime gazelle there's something weird going on with the code.
it sometimes gets stuck on the 4x4 grid too
D:\Temp\Pythonia>python3 solveri.py
[[0 0 0 0]
[0 0 0 0]
[0 0 0 0]
[0 0 0 0]]
[[2 1 3 4]
[4 3 1 2]
[1 4 2 3]
[3 2 4 1]]
Hurray!```
now it just worked
but i ran it a few times more and now it just got stuck
I'll go eat then go find my janky sudoku generator - I remember it was bad that it worked; I just don't know where it is on my laptop (or where my laptop is)
why would I add it?
I want the numbers that are not in the block, row and col
if I add it, I'll get the ones that are in the block
You are hitting recursion depth while generating a 4x4 filled out grid?
But that's 64 squares.
that just means there's a definite bug
Yeah
no, that's 16 squares.
And the default recursion limit is 1000
16 squares would be a 2x2
this is 2x2 times 2
depends on how you define it I guess
Looks like every time you encounter an invalid sudoku you go one deeper with recursion.
oh there was earlier discussion about the rationality\irrationality of pi. yes, pi has been proven to be irrational and transcendental.
Which should be something done iterativly.
The problem is, it tries to add a number that's already there. But it can't.
It physically can't, the list doesn't have a number
to add
The problem is that it recursivly starts a new sudoku if the current one is invalid.
This was originally for some stupid competition thing, thats why there's the silly menu
@stark prawn the problem is that, apparently, when it does that...it generates the same exact sudoku a bunch of times.
thanks Charlie ๐ I'll give it a look! If I can't find anything on my own!
Your system starts with a completely new one every time. And does it completly randomly.
So it can get the same one again.
I have like no idea what the fuck this code is doing
If it's not a valid sudoku, yeah
(mine)
I really wish someone could explain my own damn code to me
Where am I doing it wrong? ๐ฆ
I'm not selecting numbers that cannot be added, I'm checking what numbers I can add
I don't know what else.
I'm stupid.
Don't say that. This is just how you learn.
I know. But I understand where the problem is: I can't add numbers, so the sudoku isn't valid
I can't get around that. I have to start a new sudoku, but they're all gonna be invalid.
Not all, but most.
Add a number, check if it invalidates the sudoku, if it does try a different number. Once you've tried all possible numbers, take a step back and change the last number added
that'll hit recursion depth even faster
Your current version shouldn't have recursion at all.
so in the end, you're going to end up ~81 deep
My guess is theres an O(n!) hiding somewhere in this problem
that you're managing to hit

I'll try switching
instead of for loops I'll have two indices
although I'm not sure of how to implement it
The way I have it now a number can never invalidate the sudoku
A number is always a valid choice, i.e it follows the rules
@rough sapphire why your pp is elliot ๐ค
Why not
Hey
ยฏ_(ใ)_/ยฏ
How do I create a class variable in __init__?
Who knows if it's Elliot?
everyone dreams that right . being elliot ๐
Have you seen all 4 seasons?
XD
oh man what are you waiting for ๐ฌ
don't want to spoil you, but it's crazy, but you could have guessed that
i don't really think being Elliot would be that great...
๐ yea i guess it would be
Can I have legal advice
I'm not sure if that's legal to get.
i should look but final season is so delayed that i forget previous seasons
It finished 3 months ago
yeah but 3. and 4. seasons have distinct time
final season delayed actually
2 years or so
i'm sure you can find people who do what he does, but not as fast as he does it, that's the least accurate part regarding hacking of the show, he does in minutes/hours things that should take weeks/months.
to all students whose schools are closed from covid: https://pro.codecademy.com/learn-from-home/?utm_source=twitter&utm_medium=organic&utm_campaign=learn_from_home&utm_content=cta
only take if needed; thereโs only 10,000
@rough sapphireI finished the project I told you I was gonna make earlier
its on the projects channel
Didnt take much and I had a 5 hour break mean time
Yea I am kinda surprised myself
But it wasnt that hard anyways
next: make it so a person can only vote once
ooh that's smart
I really love how my db modeling knowledge has evolved
I used to see schemas and be afraid
But now I cant live without them
Anybody thought about making a tactical shooter with top-down perspective???
Well, not tactical, but a meaty one, similar to Crimsonland
Went as far as a sprite running and shooting suicidal exploding enemies with rockets, lazers and bullets.
Then ither stuff got in the way
Heh! That's a good one
But I tried to design one
Game has fog of war however (meaning things behind walls and not in players vision is invisible, like Real-time Strategy games (Warcraft))
To make game feel like a tactical one (make it feel, not a real tactical) I simply use a real and serious theme and story, sounds could help too, although I don't know how can I found good gun sounds. Having an advisor that gives you helpful information is good, and may use it as a power up (when found cameras center system and connect your gadget to it, then advisor could help you with locating enemies).
Have you seen Hotline Miami?
To make really tactical, having small health, powerful guns so players choose wiser...
Yes
It is like a puzzel
Yep, 1-shots on both sides of the equation, instant replays and no fog of war (for you)
I think having bith high stakes and complete information is great
1 hit death makes you choose wiser and not run and gun
No "wtf i didn't see him" moments
๐
Yes most guns kill in 4 shots
And have low fire rate
Game is round based with no respawn (makes player proceed with more caution), each round has a situation. Shootout, caution and hard (situation of round will be selected randomly), in shootout players have free access to weak weapons, in caution players have access free access to weak weapons should pay for medium guns and free access to simple utility (grenade and gadgets), in hard situation is like shootout and caution + hard guns and utility that that they should buy. (All weapons and utility will be taken in next round)
So the team with less kills couldn't be weaker than opposing team
The way teams get items is like this:
Money isn't for one player, every money goes to teams pocket, each round the money will be given to each player equally. So someone who had an ace can't have more money than teammates
Do you feel like this would prevent the snowball effect that you see in games like league?
Snowball?
I mean that's pretty much league's bread and butter haha
In league, netting kills earns you gold to buy items
So the more kills you get, the better your gear, helping you get more kills
It snowballs
Most MOBAs do something like that, though some do spread the gold out among the entire team
But you still get a team snowball
Well here money is earned by killing and doing tasks, saving hostage + doing environment tasks (I didn't talk about them yet)
Both teams have access to free weak weapons (not too weak, just weaker than others)
Also money earned is not that may much
And in shootout situation the money will be lowered (will be lowered to a certain amount: 2500 => 1000 and 1000 => 1000, letting the team with less money have an advantage, because opposing team doesn't have pay guns.
Environment tasks:
You can use environment for your advantage: a home with security cameras, players could find security box hack it and advisor will report enemy positions in places where there are cameras and last seen position (if player was seen in 5 sec) + broken cameras (shot by player) every 20 sec, terrorists spawn in home but they can't hack security box faster than counter terrorists, CTs (Counter Terrorists) have better hacking skill. By destroying security box the advantage will go away, but attacker should break box with getting close and turning off device, it is armoured so can't be shot.
CTs equipment are less aggressive since they don't want to damage properties a lot. Ts however, have more powerful guns but with less accuracy.
The scenarios in game are, hostage, search and disable (disabling gas generator of terrorists), capture (terrorists captured a sensitive position that would terrorize people, CTs have to capture it before it's too late). (More may come)
Ts have access to making traps + stuff for hiding trap. Also could lock doors, then CTs have to break door to enter the room making sound that could inform Ts (Terrorists). However not surprisingly Ts have limited equipment for these works.
There are some of my idea that will make in a far future, maybe near? Tell me what do you think about these systems, so I can improve them.
Hello!
Does anyone know what could I do to parse a comma separated list of directories?
in bash
Because, of course, it doesn't treat it as a string but as a directory.
thanks ๐
otherwise you have to use sed or awk or whatever
It works, thanksies thanksies ๐
I don't either ๐ฆ
also, the approach I came up with it's not very...like..manageable
That about describes bash, yeah
Look at what I just found
yes, that's a thing that happened.
Is that Gordon Freeman?
No, it is buddybisk
it's obviously jesus
Jesus, Bisk, What's the difference?
That's two names by the way, Jesus and bisk not Jesus bisk!
Now I'm reading that with Jesus as an exclamation. Jesus, Jesus, Jesus bisk, what's the difference?
(that is saying "what is the difference between jesus and jesus bisk" with jesus as an exclamation on the front, as in the phrase "Jesus Christ!")
they're all acceptable
Heh, they opend the coffee shops again.
When they announced yesterday they had to close for 3 weeks there were massive lines all across the country.
lines..?
because there's no better way to get over a flu that seems to like the respiratory system
than to fill you respiratory system with smoke
hey man, they're not addicts. it's just a habit
Also people weren't exactly keeping distance in the lines.
that's a line of people that smacks of avoiding
huge line of people with dry hacking coughs
It's basically a list of people to avoid, yeah
definitely not taking the coronavirus seriously
although the people that reopened the coffee shops are no better really
they're losing weight every day that shit dries out more :O
and, really, drug dealers aren't going to stop because of a pandemic
over here, people are like, making lists of places that closed ahead of the official closure advice
when this is over, a lot of people will be supporting those places and not the others
good on them
just make sure you wash your weed for 20 seconds in warm soapy water
They reopend them because some municipalities are scared it will cause a rise in drug related crime.
which it would
what measures wouldn't
Ones that don't involve criminals doing all the distribution.
well they have legal avenues for getting the cannabis
so in the UK the measures haven't exactly done anything to stop it
you're not trying to tell me that coffee shops are the only place you can buy legal highs there?
uhh, yeah
where Grote is, I mean
Yes.
well, there's your problem
they have to get a license to sell and everything
I mean yeah, of course, I'd expect that from a regulated drug market
just seems like a very odd decision that's coming back to bite people in the ass now
Selling them in specialized stores instead of general supermarkets is a weird choice?
oooh
you don't get it
haha
okay, so they're called coffee shops
but they just sell weed pretty much
so they're not actually coffee shops
well they can be
so they're weed shops that might sell coffee but some don't?
but the general term for a place that sells weed in .nl is a coffee shop
it stems from coffee shops not giving a shit about people smoking weed in them
so it was an evolution
Right now none will sell coffee though, since you arn't allowed to consume anything there.
I mean I guess there's only a problem if people are hanging out in the stores
Because of the virus measures.
That makes sense
We have what are known as "head shops" here
they're just shops though, you can't hang about
also there aren't tons of them because it's a dangerous business because it puts drug dealers out of business
No, they do
at least in Ireland
it's not the same stuff, but we do have legal highs
yeah, not real drugs. they don't really put drug dealers out of business
you're never gonna convince an asthmatic that setting something on fire and breathing it is good for you
Do they sell the kind of drugs that are too new to have been banned?
"synths"
The Alien franchise prepared me for this moment
chemicals which are roughly the shape of other drugs with unpredictable results.
Every once in a while one pops up, gets very popular very quickly, and then gets banned when people start dying.
they seriously cause more social harm than the existing ones
and they only exist due to demand from consumers to get krunk'd
"The devil you know versus the devil you don't"
another thing to add to the list of government caused harms
I actually just found a drugs.ie pdf that explains what they actually sell
which more or less backs up what you just said
"Don't deal with the devil" (wait, wrong reference)
salvia, spice, cathinone derivatives, piperazines, BZP, LSA-containing products, kratom
Who doesn't remember the great 4fa, it's like xtc without the comedown. Also people have died and now it's a controlled substance here
yeah
Bath salts zombies
(Wait, is it a drug discussion right here?)
more like a policy discussion
It's also not advocating the use of them
I've literally never heard of anything on this list except for salvia and shrooms
You've never heard of kratom?
nope
well the shrooms on that list, if they're on that list, aren't the shrooms you're thinking of
yeah, I guess I figured
fly agaric rather than psilocybin
The shrooms on that list are like regular mushrooms with the chemical sprayed on
The seeds of the โMorning Gloryโ and โHawaiian Baby Wood Roseโ are two of the most common sources of LSA. Effects include hallucinations, increased blood and heart pressure, nausea, derealisation.
Many of these things have local nicknames though. So may have different names in different countries.
TALKTOFRANK in the UK lumped fly agaric in with psilocybes which is just dangerous
they're very much not the same
I remember people sold """bath salts"""
ah, actually, this PDF is old
none of this stuff is legal anymore
so all these places sell is CBD oil
i guess you got your own analogue laws
Oh man, CBD oil is literally everywhere here
it's the latest health trend
I hate the fact that drug dealers can use any loophole and when they are closed you can't buy anything
A family video sounds like a store that sells vcs tapes.
Video rental place yeah
Even potassium permanganate is barely legal because people used it as oxidiser for meth making
it's also why you can't buy shit loads of sudafed
People used it as cheap desinfectant before
Cheaper than rubbing alcohol?
apparently hemp-derived CBD oil is legal here when sold as a food supplement
and for literally no other purpose
Ethanol? It's even more regulated here
and it has to be licensed, and cold-pressed only
hemp derived can be a very specific thing
there may be a legal definition of a hemp crop that it has a super low cannabinoid content
I mean hemp-derived means derived from hemp
you get hemp and then you press it
it's about the THC content
yeah
... he says remembering they're the same
We had cheap alcohol for """window cleaning""" 10-20 years ago. I remeber empty bottles of it everywhere until it was banned.
Like the hemp in those hemp fields everywhere here contain basically no thc.
Until you boil it in milk
you'd have to take like an acre to get high off it
the farming strains have a legal obligation to prevent it being used as drugs, plus also they're after different things from the plant
mostly fibres for cloth etc
Itchy itchy cloth
They supposedly make an amazing rope.
Yeah, manila hemp
Weed ban is the work of Big Cotton, trust me
Oh no wait
All cannabis products must have a THC content of 0.2% or less to be legal in Ireland. Any product with such a low THC content does not have any psychoactive effects on humans.
yep
That one isn't actually hemp
i've read similar things in books oouja.
however i personally think it's more complicated than that
far more complicated
I always Imagined it was the christians.
Also, poppy. Seeds are harmless and damn delicious. But technically you can get in trouble because of trace opioids.
i dont know why i kept reading that as "boards oouja"
i was like..huh, guess you're getting advice from the other side now
the first point at which cannabis was really considered to be internationally banned was at a league of nations conference on heroin / opium
"if you ban opium you must ban hashish!"
ok, done
But what will I have for breakfast?
Yep, discord has surprisingly good connection
and most the western nations there had no clue wtf it was
Don't take my hashish browns!
hah
Tiktok is also big on the other side
That tik tok hamster is my favorite thing in the world too !
I know it's simple math but it's just quicker for me to churn that out while doing my timesheets
agree, I do the same
Do that then divide my 6 to quickly get the time I need to mark down
no error > errors
!e
print(27-16)
@stark prawn :white_check_mark: Your eval job has completed with return code 0.
11
see, I can do basic math sometimes
1.8, you mean?
carry the one
"Hmm... gonna need to use the toes on this one. One sec, gotta take off mah shoes."
haha
i hate doing finger maths
every time i carry the one it's always a bitch to glue back on
Oh so THAT'S what happened to Lemon....
here's a fun point for you
HOw do you think bisk has 27 fingers?
Figured because he was thrifty
i always take a finger from the dish at petrol stations
I wonder what quirk could have caused that
I mean usually it's consistent for most people
Or the standards are different
I mean in London it was definitely a far more modern teaching method than this town of around 1k people (at the time)
Ireland had a better standard of maths education than the UK iirc
hey man, they're still using books from the 90s here
I don't mean books written in the 90s
I mean books printed in the 90s
Entry level math hasn't changed since then though.
Oh sure, the subject hasn't
but I'm sure there are better ways of teaching/explaining it
Oh how like an Englishman
I genuinely don't know what I mean by that
Just wanted to say it
only you could get Madonna stuck in my head, hemlock
They may be doing some more story based maths now.
haha
๐ถ Got your crumpets, on my mind ๐ถ
Your neighbour goes to the store to get 70 rolls of toilet paper, why?
