#ot1-perplexing-regexing
1 messages · Page 422 of 1
Fair point
I think it's just their Beginner Guide that messed with me the most. It's just one massive page
Also, didn't realize it's pronounced "engine-ex"
Everyone says n jinx
Then everyone is a fool. A FOOL I SAY!
Once I get this whole kerfuffle sorted out this will ACTUALLY be the completion of the project
Have to wait and make sure I can test it properly on a machine
I'm so tired, I feel like someone drugged me
.... and I'm completely out of green tea
Crap
:O
!offtopic
Off-topic channels
There are three off-topic channels:
• #ot0-psvm’s-eternal-disapproval
• #ot1-perplexing-regexing
• #ot2-never-nester’s-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Urgh Creative Cloud is so frustrating
Is it neither creative nor cloudy?
Urgh Creative Cloud is so frustrating
@honest star
What are you using or for?
Currently importing photos into lightroom for light edits. Usually graphic design.
The cloud aspect is super frustrating because the updates are super flak
y
For my very nonprofessional graphic design stuff, I switched to affinity designer. Id recommend checking it out. It's a buy once product
Non-profit I volunteer for pays for the CC license, which is useful. It lets the full Marketing & Communications team use the same product.
But I'll check it out! I'm leaving the non-profit and will be looking to leave the CC ecosystem. How does it compare to AI and INDD?
I found it easier to use than AI. But im very much an amateur, so it might be missing features. For the simple vector and design stuff that I do, I really like it though.
Have you used Affinity Publisher or Affinity Photo?
Hmmm and the price isn't bad.
oh come onnnnn, now it's not displaying .arw files?? When it has previously??
cheese
Okay, Office I call bullshit
Why do you have a "TriState" boolean that only supports True and False
And not only that, but True is -1
true, false and null maybe
weird
Mixed, Toggle and CTrue, wut
Just makes no friggin sense
Well, it kinda does
I mean I understand why it's there, but at this point
When over half of it isn't supported, why still have it
So I guess they have to tell you that it is unsupported
But why have it
Well I mean, they are a lot of functions in Excel
I don't think that is how quantum computing works.
I'm pretty sure some can have more than 4 output
Ooh
Excell formula's are subject to localization 😄
I guess some features need them then?
Maybe.
So sum(A1:A10) wouldn't do anything if your pc is set to dutch 🙃
Oh really haha
MS and standards are a no no
hey man, that's like your python program not running in france because print is different
Eh.... sort of
als variable is Waar:
afdrukken("Ik hou van python!")```
I still haven't forked CPython and translated the tokens haha
Waar! HUH! Good god! What is it good for! Absolutely nothing!
MS does manage the LSP standard.
Literally Stupid Programming?
language server protocol
Honestly most of my hate is directly at Office
si sens_de_la_vie égale 42:
écrire("Yup !")```Just imagine haha
Like Microsoft has been putting in seriously great work in other spots
MS and Apple are pretty close actually
In terms of...
my github issues state otherwise
They all create their own standards instead of using existing ones
Lol, not this issue again
Adobe is in that club as well
I mean, there weren't standards before
Mr. Hemlock, is this Office API still?
in this case
@lofty dirge The dotnet one yeah
Office API is mess mainly because they have stopped putting a bunch of effort into it
importeer verzamelingen
woordenboek = verzamelingen.GeordendeVerzameling
woordenbook.bijwerken({"a": 1, "b": 2})```
their replacement is Microsoft Graph directly editing files in Sharepoint/OneDrive
Oh god haha
That doesn't explain why the Office.js was a mess. They're pushing friggin everyone to it
Office api is a mess because they want to maintain like 25 years of backwards compatibility while still adding new features.
is office.js a mess if you're using o365?
you wouldn't need Office.JS
It's still a pain in the ass to get it working
if file is in Sharepoint online/OneDrive, you could edit file via REST API using Microsoft Graph
The famously known ZBrush issue, trying to keep compatibility with everyone's workflow
@lofty dirge That's still dependent on you subscribing and using all of that
I know that doesn't help you Hemlock
Rather than buying individual products
No it is interesting, though
Didn't know about it
puts on his Microsoft hat
We dislike you type of people doing this: Rather than buying individual products
takes off hat
Cloud or bust
I'm shocked they sold Office 2019 outside Enterprise agreements
Semi related question. Is it normal for companies to mix and match cloud platforms?
or is going all in on one of AWS/Azure/GCP more standard?
Exchange 2019 is locked behind Software Assurance/Enterprise agreements
I'm not in favor of having to completely toss our current infrastructure just for the sake of some minor convenient things
Hemlock, I'm not advocating for you to do so
just giving Microsoft business point of view
they make SOOOOO much money from cloud
Charlie, It depends
I don't doubt it, but the idea of snubbing the other users sucks
my division of my company is in Azure
That push makes sense from the company's perspective in the medium term though. The support is going to be much better
I know it's not a good business point of view, but it sucks
my company has a whole is pushing GCP but we have other divisions in AWS
Pros of single cloud: You can really use all their features for rapid development
Cons: You are really really stuck
And that's something I'm not on board with
One thing goes down, all of it goes down
iunno
there's so many single points of failure already
that it doesn't really matter all that much
Most companies don't care since Office365 is cheaper then what they were doing
tonnes of work just comes to a complete halt if say email goes down
or the shared drive goes down
that it's not that much of an issue
Sure, but it's lots but not all
enough that the added potential cost is pretty meaningless
Cloud stuff gives me the heebyjeebies
I don't like losing additional control, and I know that's just a me thing
Sure, but it's too cheap to ignore
like running Exchange in cloud is cheaper then running it on premise for all but largest companies
I think I quite like it. The advantages seem to outweigh the disadvantages from a enterprise POV (even excluding cost)
digs out his spreadsheet from consultant days
I dislike it from an individual's perspective though
I'm heading home for the day. Been exhausting for mah brain
goodnight Hemlock
night
Why's this not safe for me eh
thinking of funny retort
wait is linux watchdog and python watchdog 2 completely different things? 
hm ye, it uses inotify. Damn
anyone use mac os? I've recently updated something without realising and it changed the python version to 3.8, which broke a load of shit, which is super annoying
I've not used macOS for that long, is this a regular thing?
best not to mess with the python it ships with
but you can use pyenv to maintain several versions on your machine seamlessly
works like nvm if you know anything about nodejs ecosystem
I know it's Asparagus, but I cannot guess what the dipping to go with it is from the pic
Guesses anyone?
Looks like thick lemonade
Looks pretty buttery, but am not too sure
hi
I have a git repo with just some notes in it. The git aspect of things seems to have died, getting corrupt object something or other as the error. I have the files, so it's not much of an issue - but is there a simple way to get my history back?
Object corruption is basically the worst problem you can have
that's roughly what I gathered from Google. I'll just copy the files out and ditch the gitness
There is some stuff to try in this
@narrow pecan could you send me the video on EOLA? I've forgotten what it contains.
Well, it's the series on Essence of Linear Algebra
ah
Just so good
the essence of calculus series is really good
Makes it all seem so intuitive
you probably went through it as well
And just so good to know when you start learning the theories in school
And it's more about the formulas than intuition
oh yeah it was perfect timing for me
started learning calculus and then I immediatly started watching those videos
I wish he made more of them
Same! So helpful to have
Yeah. When I looked through the Manim projects, it looks like a second "season" of linear algebra may be coming
time to put his series on netflix lol
Yeah hahah, that'd be awesome
I don't know how how I lived without walrus-chan:
def sliced_by_string(s, o):
co = s.find(':')
return o[int(before) if (before := s[:co]) else 0 : int(after) if (after := s[co+1:]) else len(o)]
What's walrus-chan @bleak rain ?
:= the walrus operator
It allows you to do some pretty nasty stuff
Haven't heard about it before?
Don't think so
Well, basically, it mushes together assignment and comparisons. Example:
if (ans := input()) == 'foo':
print('bar')
else:
print(ans)
Oh btw, where are you from?
ayyy jag tänkte väl det lul
New in 3.8
Hahahha härligt
(can we speak in other languages in offtopic?)
Don't think so

Prefer English online though ahahh
yeah same, I'm better at english from computer nolife
Generally, English only as moderating not English is not possible.
Perfect:)
anyway I'm happy to meet a swede so I can offload my excitement
HAhha yeah, that doesn't happen too often
LUND datateknik boysssssss
I've already started looking for a place to live
So goddamn hard though
Why? For uni?
Out of Sweden?
Cool; do you currently live in Lund?
nah, ystad
I'm 17
somewhat close
No clue where Ystad is tbh
Well, 1hr with train
Basically I just wanted to vent about the queue times... like holy shit
Queue times?
varenda jävla sketen 19kvm kostar 4 lax i mån och har cirka 100 pers i kön
I'm so angry I wrote in swedish! Not often you see this
Anyway, it will be at least like 2 months before I will be able to find something
AHhah true. It takes quite some time to get a place to live--especially when it's a student city
I'm not even picky, I can live in a lice-infested bathroom, I literally don't care anymore
Welp
Natur
Helllll yeah
So, a lot of science stuff hahah
NATNAT?
ayyyy same
Well, I just graduated so yeah
Really? How did it feel, considering COVID-19?
Well considering that there would be no studentflak, no utspring (well, a really shitty one), a really boring studentmåltid. All in all, I decided to not go
Everyone bombarded me with questions irl lol
Yeah, I can get that tbh
It's crazy how the hat can cost everything between 500 (what I bought it at) to like 1500
Yeah
I gotta stop myself before I'll rant some more lol
lmk if you ever want advice in general about whatever (gymnasiearbete coming up soon?) and we can DM so I can talk in the kötbulle language
So much wisdom to share, so little time
I think I should be fine, but thanks for the offer:)
hmm, ohyggligheter? Something like that
Hmmm okay hahha
hey technicium
Hey I have a silly off topic question
What is memory slots in laptops?
I searched they said it's used to upgrade RAM
My laptop has no memory slot but my friends laptop has 2 slots
What kind of laptop do you have?
It should have slots. It may not have any not currently unoccupied, but it'll have some place where the ram is plugged in
Although in both laptops RAM can be upgraded to max 16 GB only
See this @plucky ridge
Oh! So every laptop has atleast one memory slot?
Odds are good that it also has 2 slots
It should, yeah
RAM/memory is needed to run a computer
Okay
https://www.crucial.com/ Run the "Scan computer" option from their site
Should tell you what you have available and what not
ig the 16gb refers to your motherboard limitation
have you opened up your laptop?
the ram in laptops dont look like the ones you see in custom PCs
they are smaller
From what I've read, I could bump up my laptop's RAM to 8GBs because of a free slot
Just would have to find the appropriate stick
wait only 8gB?
The limit's probably higher
Yeah though that'd be a bit hard to find
yeahh
also doesnt the rams have to be from the same brand and stuff
for maximum potential
Nope, 8GB max
and same speed
Wait so it's 4gb at the moment?
Ye
no i meant: both the ram sticks need to be identical for maximum performance
I honestly want to save up for a proper PC
that would be the dream yes
I want compiling to go nyoom
It's unlikely that 32gb of RAM would really be worth it on a laptop that came with 4gb anyway, you'd end up bottlenecking with something else first with most tasks
hmmm true
Saving up for a better PC is probably your best bet if possible
32GB is a ton
few people need that
even standard development probably doesn't require that
to mr.hemlock's message
Its a pic of list of projects ranked at different difficulties
fuck
I've realized that my current project is one of those projects that can grow indefinitely and can turn out to be gigantic
that scope growth exponential
I'm so depressed. There are so few interesting dev jobs aroudn here 😦
Almost everyone is looking for web dev JavaScript stuff or whatever
That sounds so awful, IMO :/
But I'm too tired of school to go back
What to do? 😦
Way too many programming jobs are focused on making money instead of doing interesting things :/
That's kind of the game in general
Do you think 16GB is enough for Android Development?
Depending on what you're planning to do, but yes. You can get by with far less.
interesting doesn't pay the bills
I'm thinking of changing fields but know what else I'd do
But I can't do most of these jobs. I have no idea what to do :/
Well I'd advise sticking with the field you're in for now until you can gain the knowledge or credentials to hop
Nothing worse than being miserable and unable to feed yourself
Isn't there? I've rarely been more miserable in my life than when I had to hunt down memory issues in C and C++
I can't work with JavaScript either
That stuff makes me miserable. I can't imagine being forced to do it on a daily basis
I'm making a search thing (PostgreSQL). I want to search my database for any entries where a specific column's value is similar to a provided string. I tried using LIKE, but it doesn't work very well... it's even case sensitive. Any ideas how I can do this with PostgreSQL?
JavaScript really is no where near as bad as it was even 3 years ago
@velvet rapids The folks over in #databases might be able to help you out
ah, thanks 😄
Happy to help
I am fundamentally opposed to JS as a language though. I honestly don't think I can use it and be happy with life
Why's that?
Because too much of it requires knowing JavaScript
I don't care about computers
Having to think about them is boring and often frustrating
So having to spend time thinking about JavaScript instead of logic would be a nightmare
Yeah, I don't care about computers. At all. Zero interest
JavaScript is logic.
Yes, there are pitfalls in the language, but that's the same with any other
It's another tool in the belt
JS has too many JS specific things for me. It makes me unhappy not knowing if what I'm doing is legal, and JS is all around doing things I thing should be illegal
Do you have an example?
"1" + "1" as opposed to "1" + 1
Always the irrelevant typing stuff
People love to hate despite the fact they've never touched it
And something that can be mitigated or completely eliminated by using a superset like TypeScript or a completely different one like Reason, or even just a type checker of which there are plenty of good ones
It's not irrelevant. I like knowing things about my code. I like having security and protection
JS doesn't offer those things
It does, though
And just like anything else, you just have to know how to use it
Look, I HATED JS for a long time
Hated hated hated
But the more I explore it using things like TypeScript and Reason or others, the more I can appreciate it
Because in the end, you can see the end result of what the compiled JS is
If everyone used TS, maybe I'd consider it a bit more... but I am not a computer person. I like math. The only I did CS as opposed was because I wanted a safer route
Having to think about mundane things like that are seriously soul crushing to me. I'm not joking or exaggerating
I almost dropped out of school several times because I couldn't stand dealing with pointer issues
I just don't care
If it's not a logic issue, I don't care. The computer should be able to take care of it
It was a mistake getting into CS instead, damn :/
I mean I can see where you're coming from, but it's all very interconnected.
Like how can you expect to import or retrieve the data you need to work with if you don't interact with the computer itself.
And using a language like Python, most of that IS abstracted away
If maths is your true passion, then it might be worth going back to school with that focus in mind
That's why I'm okay using Python though. For the most part, what you see in Python is what you get
Statistics, teacher, etc.
There are few tricks or things you need to think about or take care for
It's mostly straight forward
But JS simply isn't that
Sure, but there are plenty of traps as well
Yeah, and that's why I still complain about Python a lot
You set a default parameter with a mutable type? Hooooo boy
Sure but all of those ARE logical issues
Just not on the same specific part you're thinking of
It expects it to be one way, if given it another way, of course it's going to act contrary to what you'd expect or want
But that's all part of it.
If you can, it may be worth talking to a career counselor
Seeing if there's anything that can better fit your skills or wants
But there isn't a perfect language out there that's going to abstract everything away 100%. It's just not possible
I might simply not have a ny other choice but to apply for grad school or something and try to get some sort of research job. This job hunt thing has been brutal...
If only people paid you to solve puzzles all day 
I mean that is what coding is. But it just involves puzzle pieces you're not a fan of
Or IT
Could become a detective
Ha, like I said... I don't care about computers. IT sounds even worse than any of these jobs, no offense
The other problem though is people could at least be doing novel things
Such as
But instead every job sounds about the same. "Build a website to interact with our customers", or "Keep track of these documents"
Well yes. That's life. People in life need everyday things
If you want something novel you have to make it yourself or continue to improve yourself so you get picked for those kinds of things
And keep in mind, those novel things are still going to involve all the things you hate
Probably more so
Finding new ways to solve problems
People constantly talk about business logic and what not... nobody seems to make business logic the code itself
So why not make a new language to solve this? Make the business logic the only way that things can be done
Like with the Game of Life. The laws are in a way the program itself
But they aren't. They're specifications, not the means to the end
They're direction, not instruction
This might be a bad suggestion, but I think that if you want to make something that is fun for you, then make your own business. It may be risky and it might not work out, but if you only care about making something "interesting," you probably won't care
just my thought, i'm no business owner
What's the difference between a direction and an instruction?
Directions are broad, loose concepts. Instructions are point to point, do this then this then this
TheKing, TS is heavily used, Microsoft, Google and others use it, I think Discord does as well
Sorry, I meant more used around here
we use it exclusively
I'm not looking for jobs away from here unless it's a remote job
That's also going to hurt chances.
Yeah :/
(granted I'm not willing to move either right now, so I feel you there)
Masked Man Because I'm not good about making money
What even qualifies as business logic?
It's one of the last thing that I think about... I don't even know what people might want 😮
Dunno
The term just seems to be thrown out a lot
I mean you know what they want
They're hiring for it
It's just not something you want them to want
I guess :/
You have to figure, all the current novel ideas are focused heavily in machine learning and AI tech. And most of that won't end up being fully useful or practical for the clients
Might be more so when 5G becomes standard, but for now, a LOT of it requires too much processing power
People want practical solutions, practical applications
https://en.wikipedia.org/wiki/Business_logic
This sounds exactly like it should be a trivial problem. If we can make crazy state machines for things like parsers we should be able to do this stuff no problem
In computer software, business logic or domain logic is the part of the program that encodes the real-world business rules that determine how data can be created, stored, and changed. It is contrasted with the remainder of the software that might be concerned with lower-level...
Does what it says on the tin
I mean... we have that.
Websites do that all the time, office suites like, well, Office do that.
Business logic isn't a new concept
It's literally UI
The modern conveniences we add to things to make the user less aware that they're using it rather than just doing the thing
But under that it still requires all the gears and cogs it always has
Then why are people always talking about it? Let's just come up with as general a solution for this as we can and move on to something new
Who are the people talking about it
ahh, the life ending statement of every programmer "This process is simple, we should be able to code it easily"
then all one off requirements show up
Recruiters, job application stuff, etc. I see the terms pop up all the time
People who don't know code you mean?
Who don't understand the process?
They just know the result they want
Why do you need to code? Make a state machine http://www.micromouseonline.com/wp/wp-content/uploads/2014/05/state-machine-example-1024x385.png
For every single possible state?
So this is assuming that business practices never change?
No new needs are ever had?
We code the way we do because it IS expandable
Because we can easily build on the concepts we create to make it apply to things that might be needed in the future
Any one else can correct me if I'm wrong, it's just how I view it
You can add new things by dragging and dropping chnges. Just throw them in there. Make the graph your solution to the problem
And if you have a new need for something those states don't cover?
Do you remake the system, add to it, or start using the existing pieces to create things it wasn't intended for?
That's not business logic anymore, if you need to transform data in one way the you need an actual programmer
But how many things do businesses actually need to do? Probably not manu
I like how you boiled down those to 4 things as if those 4 things aren't comprised of thousands
"What's it take to get to the moon? Oh we just gotta make a rocket ship and then we're there"
That's part of the problem. People make things too complicated
Because things ARE complicated
Some things are, a lot of things aren't. You can ignore most details... that's one of the most important parts of computer science
You can ignore most details
Yes, after you determine which ones are safe to ignore.
until that detail is critical to some executive somewhere
I'm talking about business logic
Coding is the solely the act of breaking larger things down into smaller, working pieces
Not coding
Yes, and even business logic requires smaller bits to make the larger bits work
You cannot have one without the other
so I dealt with purchasing department at mid sized company, approval process alone was a nightmare
hardware approvals up to 1000 were auto approved if Dell and Laptop
Sure you can. Cellular automata don't require our physical computers
unless the person the hardware was for executive, then it was 2000 and Mac/Dell
software could be approved by anyone up to 5000 except for Sharon who couldn't approve any software
God damn it, Sharon
after 5000 it had to go Mike/Bob, after 10k it was Mike
but Sharon could approve vehicle purchases up to 20k
That's what's really cool about declarative programming, BTW. You describe what things are
You don't tell the computer how to solve your problem, you simply tell it what the solution is
The computer then figures out the details
so just doing "if purchaser.approval is Sharon and purchase.amount > 5000: reject"
wouldn't work
Yes I'm aware of how declarative works
most declarative programming becomes this GUI unreadable mess
However you still need to know how the bits work in order to make those bits
so it becomes Write Once, Edit Never, like a Perl program
Knit one, Perl two
Someone has to do coding, but again... business logic is not coding
Kind of like that, yeah
I think I'm not understanding what your point is
But you can edit it. It'd be kind of like a lambda calculus thing
If your point is that there needs to be more business logic solutions, then cool. Do it
there are plenty of those already
But repeating the buzzwords and loose concepts of it won't create it
ServiceNow/SalesForce is two I can think of
@rough sapphire Rather you didn't drop random videos into the middle of an ongoing conversation

Azure has Logic Apps
I think I lost what your overall point is, King
Why don't we use business logic more and coding less?
AWS/GCP has something similar I'm sure
Because you're highly restricted in what you can do in those business logic situations
You work within the constraints of the system. In coding, you create the system
Hemlock, how is Excel work going?
Better this time around
I'm happy they have a Ribbon Designer
Less happy that I have to do it by hand but eh
I can live with it
Was hoping for a way that I could just dump all the images into it and it'd generate the buttons for me
But this is okay too
Should have gone with this in the first place....
It's what I get for trying to be too forward thinking, I guess
Another plus side is that it's far, FAR easier to interact with the workbook and what have you
No having to try and sync between two different systems, essentially
(Sorry, reading about some stuff)
I'm not sure what I was going for since I don't do business or business stuff 🤷
I guess just a way to describe how a business is run. A universal mode l of sorts
erm
texas isn't real
California might not exist if it stays perpetually on fire
Anyone have any experience creating a .dll file out of a .c file?
I feel like it should be really easy and that I'm just an idiot
But I've never had to do this
The smartest guy I know said he tried to do it and asked two of his professional brothers for help... His conclusion was that they're magic
The last time I'd to compile a DLL I had to use MSVC
(Although his case was maybe a little bit special. I'm not sure)
I'm just trying to create a .dll file so I can call it in python with ctypes
What's MSVC? Visual Code?
(Combining two different .NET languages)
The Visual C/C++ compiler I think it's what's called
Basically Microsoft's C/C++ compiler
I have C code that does a thing with an obsolete file type. It's basically impossible to recreate in Python since no documentation exists for the file type, but I still need a Python file that parses the data.
.eas
What does the raw binary file look like?
I don't know.
Check it out. Maybe it's pretty easy to read
How about wrapping the C code in Cython?
Learn about .EAS files and view a list of programs that open them.
I don't think I've ever used Cython
I just know that my boss wanted a Python parser
Now I'm curious
TheKing, it's an output of an EEG device, the company discontinued the file type 12 years ago
Can you post the file that generates your output file?
I don't think I can, but it's messy af. It's basically someone going byte by byte and doing all kinds of pointer voodoo
To process it
I was originally going to recreate this all in Python, but the code is so dense that now I kind of don't want to do too much to the input/outputs
That sounds so weird... this is for a microcontroller, right?
So I guess maybe that's why :/
No. It used to be on a microcontroller, now they want to host it on the cloud
Right, the code you have is for a microcontroller
Yeah
I want to use ctypes to be able to call the functions in python
Even if you build a DLL you still need some way to get communication and am understanding of the data
But I think I need a .dll for that
The .c file returns a pointer to a structure, I'll modify it to return the structure itself
Right, but you don't seem to understand the data structure so how would you use the DLL?
Anyway, I've mentioned it a few times but I think SWIG is the easiest way to do what you want. Maybe give it a shot if you can't make any progress :P
I've made progress in understanding the data structure the file outputs
But the internal data structures are a mess
So why not just ignore it? I'd you're tryyto make a DLL I take it you won't be using Python for parsing
Yeah, I'm planning on ignoring the internal data structures, lol
🦆
ducks are not real
I have a question, I DON'T PLAN ON DOING THIS: but is it possible to login as a bot on discord?
@tight meadow I believe discord does not like it.
I was watching youtube and a video about coding was making a ranking app that arranges specific thumbnails by votes
And the algorithm was built in maths ?!
I mean I don't think it didn't have any relation with maths
The algorithm:
Are they overreacting or it's real ?
@formal blaze Computer science is very heavily involved with math. In fact, it's a field in mathematics
A lot of algorithms are nothing more than calculating numbers in a certain way
@viral panther Isn't ranking thumbnails all about comparing numbers here ?
What numbers?
Every thumbnail will get it's rank in the custom web page by comparing the number of votes it has
The most votes gets the higher rank
Even a simple model like would require some manipulation. You can't treat 5 votes that are all positive the same way you would 1000 votes that are 99% positive
So you have to do some math magic to make things fair
Well the app he coded was very simple
For the homepage you see 2 thumbnails
You click one
It's a vote
You get other 2 thumbnails
Etc.
Doesn't even requires 5 hours of coding
I'm talking about the whole website he made
Goes to show you how important math is then if even such a simple app needs it
I'm discussing because if most of these basic apps requires maths then my career is a joke 😂
What's your career?
If I can make it without these complicated stuff, There's no problem ?
Maybe. Depends on what you're trying to do
I don't know if you can watch the video since I don't wanna waste your time
That's just one small app. Maybe you'll need math for the next project. Maybe you won't
It depends on the app. Math is a pretty great tool though, you should definitely get comfortable with it
I will definitely keep that in mind, Thanks <3
Guys is prime os good?
@boreal olive Prime OS?
i haven't used it
Are you talking about https://www.primeos.in/?
but a friend has used phoenix os
Considering I've never even heard of it until now, I'd have to do more research.
But, upon initial cursory inspection, I wouldn't trust some random OS claiming to be the end-all, be-all.
yeah
Windows task manager resources view is esoteric at best... I look at my ram usage and it says I'm using up about 1.8gb in total from all processes... It says 88% usage (I have 8GB installed). Then I fire up some RAM hogs and I get my ram usage up to about 4.5GB.. Now it says 93% usage
????
I fucking hate that windows won't let me see what is truly using up the ram, put your cards on the table what the fuck
I might actually switch to linux because of this, I imagine they would have more transparency with these kinds of lookups and less winbloat
Tried it yet showed the same
What about individual programs?
look up, resource monitor.
In Use: What Applications actually have data in
Available: How much is available for usage (memory being used by cache and memory requested by applications but not actually in use)
Committed: How much memory has been given over to applications regardless of use or not
Cached: How much RAM is being used to backed files or paged memory, under memory pressure, this is second chunk of RAM that would be turned over to applications, free memory (if any would be first)
Paged Pool: System Reserved
Non-paged Pool: System Reserved```
I don't care what you do, but don't blame OS for lack of knowledge
If you want to see your memory table, you can download Microsoft tool called "RAMMap" that will show you a break down of your RAM usage byte by byte
I have literally downloaded that exact program
but it didn't tell me the exact processes using it up
It gave me the categories, sure
but that helps me jack
really?
hold on, I'll burden my RAM and I can screenshot what I mean
Works for me
Yeah, but it doesn't add up for me
I'll show you what I mean
my goto way of burdening the computer is opening up GTNH lol
because you misunderstand Windows Memory management (which works like Linux)
you can't just add up, because some of categories overlap
either I must've missed something completely obvious or I have a fucking taiwanese cryptominer slowly chipping away at my computer
I am talking about the individual processes
only thing you really care about is memory (private working set)
that's RAM that application has asked for and cannot easily be moved around
under which application
so java has given 4.2GB of RAM, 77MB are not actually in use, 12MB need to be sent to page file and 10MB are being used to memory mapping tracking
Do you have onboard video card?
thinking hardware reserved?
yep
that sounds like gibberish to me
what?
on this machine
...yes?
i mean it's not gibberish. if you had an onboard a portion of your RAM would be reserved for the onboard graphics.
Yes but it's gibberish to me
ah right
talk to me like I'm a toddler
something is asking for RAM but not using it
a toddler that really likes playing with big mc modpacks
which still hampers performance?
depends
Alright, and how to find said "something"?
really, for Windows Memory, only counter that matters is Hard Faults/Sec
and commit charge, both are listed in resource monitor
because of way it works
for example, python
Commit, requested and granted, Working Set, ACTUALLY holding data
in RAMMap, Use count comes from memory manager, processes is actually looking at what in RAM HOLD stuff
and stuff can be committed to it by Windows BUT actually shared
for example, if two python.exe processes fired up and asked for requests library, they both would show requests library in memory but Windows would actually share it between them
hm
windows would mark both of those processes using 5MB of memory for request library even though it was shared
10MB used, 5MB actually in RAM
Well, that's the weird part, because I didn't notice any really huuuge performance hit that 100% ram usage does imply
have you hit commit charge at 100?
graph at right hand corner
Hard Page Faults is ultimate counter
that means windows is running to hard drive constantly for memory requests, either because it can't keep files in RAM or it's hitting the page file constantly because it's paging
Right, so the faults you mentioned, what do they signify?
what I said
oh
memory requests cannot be backed by RAM, they must be resolved by hard disk seeking
That makes sense
for example, when java opens mod.jar then closes it, unless Windows is under significant memory pressure, it leaves mod.jar in RAM
so when java requests mod.jar, it's "Soft Page Fault", Windows didn't have the file it wanted inside java.exe memory map but it's in RAM so it's simple matter of mapping RAM into java.exe memory set and saying "here you go!"
hard page fault means "Shit shit shit, I have to go pull mod.jar from hard drive"
Now you're talking my language! haha
so when you open a new program, you see a bunch of hard page faults because obviously nothing is in RAM
but after that, it should be close to 0
right, great, jotted down
If I notice an anomaly I can't explain with your explanation I'll let you know
at work in my fleet of 200 Windows Servers, only memory statistic I alert on is hard page fault
For now the performance is average so I can just chalk it up to false alerts
I track other stuff because it's useful in situation, but otherwise, hard page fault is clearest indication that Windows is under serious memory contention issues
It's real shitty of the taskmanager to say a hundred percent usage though, makes me freak out
if your commit is 100%, you could be out of RAM or not
some applications (JAVA COUGH COUGH)
heh
are notorious for asking for a bunch of RAM and not using it all
so even if other processes are literally begging on the streets for more ram then the ram won't be reallocated to be used somewhere else and taken away from java?
depends
if commit/used is way out of wack, it might remove it from java
it's preference is purge RAM that is backing swap memory and cached files
right
but if that is close to 0, then yea, it will begin walking back commit
never hurts with a crash course in what ram is, lol
if that's not possible, the new application will be told "no memory for you"
ducks are not real?
never have been.
it's easy to do html and css
ooof
Never been fond of design so I find it hard too
(It's hard when you have no visual creativity)
I just read some ones code so u though it was easy
I think design is easy for me since i do digi arts
@bleak rain Easy to learn, hard to do well
Oh god that font would drive me insane on my phone
I struggled with this frontend for... several hours
and it looks straight outta 90's internet
Frameworks
I think i get it now
Though that being said that was my very first foray into frontend
People have already done all the heavy lifting for you
There's no shame in using a framework
Css is for the design and html is for the functionality
@rough sapphire Sort of
HTML is what you see, what the browser uses to know what goes where. CSS is for styling the HTML, so telling it what is what color, what font to use, where to put stuff, etc.
There is SOME functionality you can add in to a page using HTML, but most of that is relegated to JS
yup thats what i mean but in simpler way
Fair enough
the heck with the indentions tho
It's for helping you know what parts are nested in others
also im still studying in android XD
Same as with any other language
Python does the same thing, but the only difference is that it requires it
idk cause its kinda different it only has 1 space
2
dang easy to learn!!!
(hard to apply)
<body>
<header>
12345
motivation!!!!!!!!
2 spaces
HTML doesn’t use indentations for control so most people only use 2
Also considering how many more indentations you end up with...
the code looks kinda zigzagy
I think of it as staircases
Yep
It's how HTML knows that that block has ended
\
i wonder why
Because that's how they designed it?
There isn't really a deep philosophical reason
XML does the same thing
hidden function maybe XD
\kill @mobs
Not appropriate
\kill @e
At all
What is project you have learned the most?
@plucky ridge
guess what
||remember the site i said earlier with the nihongo quest I got it's code now its mine XD||
timw to do the CPE
copy
paste
edit
easy website 😂
What
So you're going to scalp an entire website?
Well that's fairly shitty
And likely against their terms
ha
well gg to me
luckily Edit was part of it so hahahahaa
remove that copy right 😂
I've got no respect for people who do that
If it's someone else's hard work or dream then why would it be the right thing to do to just steal it?
just kidding it was all for references
also I just noticed that html is dependent language
cant function without css
probably
haha
srly it was all fir references also i dint sven knie html that much yet
I for my keybodard
F
It's pretty nice
now i can actually see the methods and variables that i want to even though i wouldn't be able to before
also if i return self does that mean i can string methods together
I believe so
Mmmm I'm 6th in line for this waitlist class. Here's to hoping people fuck up and don't do the daily "yes, I'm sure I still want to take this class"
Ask the student advisor and or teacher for an exemption code
In my experience, if you ask for permission they let you in even if the class is full and has a wait list
Not for this class or this program. It's not my exact research field, just something I want to take.
Oh yeah it's all coming together
def hire(pay):
if pay >= good_enough:
return hire(pay / 2)
else:
snitch()```
Nice
There was a story associated with this code, hold on
Apparently the final hitman felt sympathy towards the guy in whom the hit was on, and confessed to him
Lmao got'em
Does anyone have a recommendation for Code Wars vs Code Kaya's vs whatever else?
I used one of those sites and it sucked, but I can't remember which site it was :(
So now I just want to know what the 'best' one is
@scenic blaze if you do it in the terminal that pycharm provides, you should be in whatever conda's equivalent of a venv is
so it should be a relatively painless process
I hope so. I haven't had much luck with relatively painless processes lately, haha
It's funny/not funny how much of the job can have like... dealing with stuff that has nothing to do with coding or even thinking of coding
@vital moth any channel in Python Help: Available is available and you can post a message there to claim it
any channel in Python Help: Occupied is being used, if you talk there it should be to help the person who claimed the channel with their problem, not to state your own problem
any channel in Python Help: Dormant is dormant and will come back later
(this is an off-topic channel because there wasn't any other fitting channel for teaching you about the information you should have already found by reading #❓|how-to-get-help)
Does anyone know what it's called when you're trying to figure out the file structure of a binary file?
Like, trying to figure out which bytes/bits are the header, what part of the header, etc.
Is that just... the binary file structure?
Or is there some technical term
normally it's defined by some magic number at the top
Right, I was just wondering if there's some kind of special lingo or term for the specs of a binary file
metadata?
Hmm, maybe? I guess none of this really matters, I just don't want to be unclear or come across like a noob but I can either clarify or just suck it up
I think metadata technically qualifies as the correct term for it, but it's usually used to refer to specific parts of the file header
Like artist and album data for .mp3s
But the structure itself probably has either has a different name, or is just referred to as the file structure
ha ha ha
Either way I think file structure sounds clear enough, don't stress about it
👍
I don't think they're going to give it to me tbh
But if they do it will make my life a whole lot easier
Can't believe a significant portion of my job rn is begging another company for obselete proprietary information but here we are
https://software.pcworld.com/p36877-windows_10_professional anyone used this website? are they trustworthy?
aaa hi. uh i just kinda wanted to introduce myself although im not expecting myself to be too active. my names connor & i make discord bots just as a hobbyist. im like,,, Extremely New to this so i joined here so i can ask questions i cant answer with google, basically lol.
Hi
Welcome 🙂
403-addicted-to-coffee
i dont even know..
click on processes
i usually stay at 50% cpu when Kaede is running, and 25-ish% disk
its system, and pycharm
but i dont know why this is happening all of a sudden
im running less than i usually do
check the processes tab
give screenshot
what service is that expand
doesnt help, my disk is at 100% active time, with 2MB/s cuz something keeps making lots of tiny reads and writes and monopolizing my disk
oh. of course
that makes sense
doesnt help, my disk is at 100% active time, with 2MB/s cuz something keeps making lots of tiny reads and writes and monopolizing my disk
this happens a lot ^^^^
lol is it updating or some shit
well i mean i have an update ready
which.. should imply... that it's done doing what it need to do
i want my hdd's response time back >:(
is it normal for spotify to use that much cpu tho
it is a music client
and it is using as much as a browser does
it spikes
i feel like the disk response time being so high is keeping prgrams waiting longe
which might be the cause of the high Cpu?
get a ssd
also this happens occasionally 
well
the thing is
i dont think it's a hdd vs ssd issue
my hard drive is capable of 200MBps
i've benchmarked it mutiple times
what
raptor drive?
its nothing special, just a laptop hdd
why do one have raptor drive in laptop
huh
its a toshiba this
ewww
that drive is not capable of handing 200mbps read write
you sure your benchmark is accurate
still not 200mbps
