#tech-related-help

1 messages · Page 8 of 1

solar torrent
#

my spell failed me

dapper niche
#

yeah I thought about it, but I can't really see anything wrong with what's circled.

solar torrent
#

i wish that loop condition was <= num.. I'd have been satisfied it's that ;d

dapper niche
#

think it comes down to what they define as "error"

frosty sequoia
#

show me the wizard skills master

solar torrent
#

Maybe cuz user can provide a letter instead of a number there could be an error or something

#

Haven't done any c++ since my first or second year, i miss seeing that cout ;-;

frosty sequoia
#

btw is there any problem with using namespace std; so i dont have to type std every time or should i stop being lazy

warped oxide
# frosty sequoia btw is there any problem with ```using namespace std;``` so i dont have to type ...
solar torrent
#

but i don't remember what it was exactly

tepid aurora
#

blender would work just fine for that, so long as you have your experience.

remote steeple
#

that's normal

#

we don't count from 1 as programmers unless you use something like lua

frosty sequoia
glacial charm
#

Alright, thank you guyssss, will let you know after class @solar torrent @dapper niche

solar torrent
#

can you pls show the previous slide

#

plsss 😭

#

curiosity Happyjoms

solar torrent
# frosty sequoia sounds really complicated to my fried brain

Read the link sabrina sent tho you will get it, using the entire namespace it get's all its code block into your code, so you don't have to mention the namespace you're using like std::cout

if you have 2 different namespaces X and Y, if they both have methods or a functions in common called fc(), which one do you think the program will use in this case? the function in X or the function in Y? so they say happens a conflict.

Another comment in sabrina's link saying: Whether you like shorter or longer prose is subjective, but the prefixes objectively add clarity to the code. Not only the compiler, but you, too, find it easier to see which identifier is referred to.

#

If it's a good practice and you like C++ maybe it'd be a good idea to start adopting it then

glacial charm
#

@solar torrent my lecturer didnt answer me QQ nvm i will ask him again

solar torrent
#

I don't remember c++ but i think there are pbs with specifying a variable as int then user providing a string or float maybe?

#

I think that causes error?

#

I don't have c++ on rn so can't check tbh but could be that

dapper niche
#

right, but why is i++ circled? I can't think of a reason lol

remote steeple
#

maybe they wanted ++i

#

I don't see any other reason unless they explain themselves

warped oxide
#

it feels like it's one of those math problems you see go around on social media that has people fighting in the comments

#

during the for loop the first print statement will be "Enter number 0". I assume they want the student to understand that arrays start at index 0

#

changing it to have ++i in the for loop instead does not change the first print statement to "Enter number 1". It'll still print "Enter number 0"

#

I have no idea what the issue the problem pictured could have since there isn't more information

#

A hypothetical problem you could have would be if the array is smaller than the conditions but that's not an issue with i++

#

if this is a ++i or i++ debate the problem demonstrates it poorly

#

++i adds then returns and i++ returns then adds

#

the position of where you place the incrementor is important

oblique gulch
#

i hope im not interrupting anything, but do you guys actually use pseudocode or flowcharts before writing a program or do you just start coding and figure things out along the way? im doing my second semester as a cs student so idk if this is a silly question

warped oxide
#

if the prof wants the first print statement to be "Enter number 1" you would put the ++i incrementor here

for(int i = 0; i < num;)
      {
        cout <<"Enter number " <<++i <<endl;
        cin >> a[i];
      }

@glacial charm did you get an answer after all?

#

I'm all done now @oblique gulch don't worry

remote steeple
#

its preference but i do enjoy planning things out. as you gain more experience, the less implementation details you have to plan out if that makes sense

#

i dont use any specific flowchat/pseudocode program but a flowchart is helpful for planning out what you want to do

warped oxide
#

for classroom problems it's good to think about how you would program it before you start so you don't end up in a sunk cost fallacy going down one route that doesn't work all that well and then need to program around it. also it's time efficient to think up a possible outline of the program so you can just program and not think "how do i do the next step" and keep on exiting that programming flow you had before. doing it this way is not essential but it is an indicator of success that i see with the students i tutor

oblique gulch
#

alr cool thanks for the replies. was just curious. in hindsight i spend way too much time trying to figure out why certain things dont work after trying to code something, so maybe i should try to plan ahead a bit

warped oxide
#

brainstorming doesn't have to be elaborate, you can literally jot down next to a part of the problem "while loop maybe?" and that could save you a half hour. it's just about the metacognition skill and this translates outside of coding into other studies and daily life. if you've written an essay outline, this is the same thing

dapper niche
# oblique gulch alr cool thanks for the replies. was just curious. in hindsight i spend way too ...

Flowcharting is useful to help you learn because exposing the same information in multiple different ways is almost always good for learning. As an experienced programmer, I don't do any of that stuff anymore -- neither pseudocode nor flowcharting. A lot of "professional" programming is not that complex from a codepath logic perspective. It becomes more translating business requirements to technology available and simplifying everything so that it becomes more maintainable and testable.

The last point is what I would emphasize if any beginner is spending too much time figuring out why something doesn't work -- focus on making your code testable. Implement a very small part of your code and then test it. Then repeat. Make everything into small modules that you can test along the way. You'll never run into the situation of "why is this output not what I expect" for too long with that approach.

oblique gulch
#

thanks for the insight. my professor has had us get started with modules not too long ago so i will hopefully not have to spend too much troubleshooting from here on out

shut bough
#

anyone have any quick tips for dumb phone shopping LOL

bleak jetty
#

my monitor keeps dying, with half hazard screen which shows very bright colours and other half with normal colours, give me some help before i inevitably go to the repair shop

remote steeple
#

bring it to a repair shop

torpid obsidian
#

Any one knows why my windows 10 laptop was running letraly any game best graphic at high fps...
And all of sudden it can't even run simple game on low setting with good fps...and i mean every single game anyone know a solution?

remote steeple
#

bring it to a repair shop

torpid obsidian
#

Already did dude said he will add another hard disc and it will be faster than ever...but nothing changed🤡💔

#

Guys if i learned html,css and js.
Wpuld i find a job or can i make money from those 3 or i will need more languages to start making money?
Can web dev even give me some cash or learning it is just a waste of time?
I'm a dental student but trying to earn momey from any sidr hustle.
Rn i know some basics of css and html but don't know if it worth to continue or shall i search for another field or skill to learn?

dapper niche
# torpid obsidian Any one knows why my windows 10 laptop was running letraly any game best graphic...

this situation is either some disruptive software that got recently installed (intentionally or not) or some kind of thermal situation. If you download some software to monitor your thermals, it might give you an idea of what's going on (dust build up or fan stuck). Adding a hard disc is such a ridiculous idea in this situation. They sound like they don't know what they're doing at all...

Another potential is if your laptop is running from the integrated graphics instead of discrete somehow. Or, it's somehow running in power saving mode as if your power wasn't connected or something.

dapper niche
# torpid obsidian Guys if i learned html,css and js. Wpuld i find a job or can i make money from t...

If you're doing it as a side-thing, your income will be purely based on your business savvy and ability to acquire clients. It's highly unlikely you'll be able to get a regular job with it. But that's speaking from my region. I don't know about your location. Otherwise, yes, there's money to be made in web dev if you're committed to being very good at it. I don't think that'll be possible for you since your main focus is dental school. Maybe some form of IT support would be easier to get a side job in.

torpid obsidian
#

Many many thanks bro really appreciate ur help❤️❤️❤️
Thank u for ur time

dapper niche
#

any time!

remote steeple
#

i don't think it's worth chasing freelance jobs with basic html/css/js (but as tashi said depending on region). a lot of those jobs are heavily competed with by people from low income regions, so the pay is very bad. and for the niche more specialized freelance jobs, you're better off just full timing in the industry if you somehow manage to get those skills

torpid obsidian
#

Alright thank u so much 🫡

oblique gulch
torpid obsidian
oblique gulch
torpid obsidian
#

Okay i will try both solutions thx mate🫡❤️

oblique gulch
#

np, let us know how it goes. hopefully your laptop runs well again

torpid obsidian
dapper niche
torpid obsidian
#

No not even close😂

#

Wounder why heat is too high even tho i didn't open any app+i do changed my fan it was broken and changed the paste

dapper niche
#

you found out the fan was broken just now and fixed it? did that fix everything then? I don't understand what you just said completely

torpid obsidian
#

No no i mean it was broken like 6 months ago .
But when i fixed it and changed the paste nothing has changed...or i can say still not working as good as original

dapper niche
#

what I would do is monitor your temps and FPS when you load your game and start. if it instantly goes to an extremely high temperature, that might tell you something. You should verify that your MX130 GPU is being loaded in games instead of the CPU integrated graphics

torpid obsidian
#

I will check that. Thx

remote steeple
#

are you sure it was that laptop

#

mx130 is not that powerful

#

running low fps is normal

dapper niche
#

haha, was sorta thinking the same thing

torpid obsidian
#

Yup it was the same laptop😭 dont know how

acoustic lava
#

does someone see what is wrong?

#

this is notion by the way... it worked like lituarly 30 min ago and now it doesnt work anymore

#

it worked for 3 months

dapper niche
#

the error message says that you provided 1 argument instead of 3 for the first "If"

#

you can see that after your first toNumber("") you have an extra closing paren that "ends" the If method

#

I'm guessing you don't want that last paren

#

I've never used Notion before, so just a guess. If that doesn't solve it, try simplifying it. Reduce, reduce until it works.

acoustic lava
#

Oké thank you

#

The thing is I didn’t write that code

#

sadly it doesnt work and idk what and how to solve it

dapper niche
#

can you link where you got it from?

#

and what do you expect it to do? also might be easier if you paste the text instead of an image

acoustic lava
#

i want that it looks like this

#

and thats the code from him

#

and i downloaded it from his youtube video

#

its from kaynotebook

idle dew
#

Does anyone use Java here?

crimson prairie
#

i m buying a i3 11th gen laptop msi morder 14 can it run some games at low fps low settings

odd bay
dapper niche
# acoustic lava

I mean, your code from him looks different from what you pasted to us originally. you have deadline == deadline...so maybe try fixing that part. Also, yours doesn't say prop, but maybe that's not needed anymore?

minor shard
#

***Can anyone suggest me a topic related to computer science for a 10 min presentation 🙏. Except - flutter ,AI,neuralink,cyber security

dapper niche
#

who's your audience?

minor shard
#

just classmates , computer sci students ( first year)

#

how about
Web Development: Frontend and Backend Technologies ?

open solstice
#

ml is interesting

#

maybe image processing

#

computer graphics

#

networks

#

operating systems

#

theory of computation

#

programming languages

dapper niche
#

for first year students...maybe how to use source control (probably git) or how virtual machines work or how to use virtual machine software

#

the most valuable topics will be ones that the schools don't teach, but they can put them to practical use immediately

#

IDE tips and tricks or useful extensions

#

auto code clean up or linter tools

#

unit testing

#

regular expressions

raw iris
#

debugging

shrewd heron
#

i think source control and debugging are two of the best ones

dapper niche
#

debugging is important, but if school doesn't teach you that from the beginning, i'd ask for a refund haha

solar torrent
#

hey guys just wanted to say something to people new to programming or everyone in general, i'm not an expert but it's something i used to fall into a lot in the past and still do when learning new things but trying to reduce it

you don't need to know everything to start, if you started learning python or java or C# or any programming language, learning the basics of the language like variables, loops, functions and OOP is so enough, sometimes even the OOP is not needed to start doing something, don't bore yourself or overcomplicate anything on yourself.

cuz python is my favorite i'll say example about it, if u alrdy learnt the basics not OOP, you could start googling libraries for the purpose u want, simple communication CLI program=> you'll mostly need sockets module and couple of other modules to add functionalities, if u wanna make it gui without oop u can make it a simple Tkinter app, if u learnt OOP, could go for pyside or kivy..

set a goal and look for libraries related to it and start getting your hands dirty with the code, then you'll see you lack a lot of information, it's okay google it and start learning what you lack.

Don't wait too much to start doing anything. Don't get stuck in a studying/reading loop, create something, and it's easy when you're alrdy familiar with the language, all you'll need to do is start learning the modules needed to build what you want.

dapper niche
#

"paralysis by analysis" and being overwhelmed by choices where you just end up not doing or choosing anything

#

very real

solar torrent
#

worst of all when u r a curious person and love learning specially about cs, u find everything cool and wanna learn everything ;x and i have met many people who are very very knowledgeable in different things in cs, but everyone starts somewhere, best is to start and do something then gradually learn and practice Happyjoms

#

In the past, be4 internet and computers, ppl didn't find many things to do except few things, medicine, engineering, law, art and these things, and they didn't like the few choices, now there are endless topics specially in computer science and we have this paralysis 😂 looks like people will never be satisfied

dapper niche
#

no, people are generally happier with fewer choices

#

old, but often referenced book

#

referring to your specific comment of "they didn't like the few choices"

solar torrent
#

will add that book to my reading list tho 💯 hope it has some solutions

dapper niche
#

I read it many years ago, so I don't remember it has solutions or it just describes the problem

remote steeple
#

yeah too much choices is definitely not a good thing for beginners lol, "what is best language to learn" "is react worse than ${new trend} to learn" "should i learn js or python" "what is best course for python". "will learning basic html css js land me a job?" these are are the same types of questions asked everyday.

people spend more time 'optimizing' instead of learning, when if they used that time to learn, they will end up much further along.

tall cosmos
#

Anyon know if you can use plotly in pyqt6 QWidget? ?

tall cosmos
#

nevermind i shall sacrifice myself to the Matplotlib overlords

tall cosmos
#

net

fallen blaze
#

hi im new, looking for a pocket ereader with mp3 compatibility

sullen zenith
#

boys boys im lookin to get a new laptop for school ( my old laptop died after like a decade ) . i need something that'll last. any suggestions 😳

raw iris
#

rather than dwelling on the options and weighing the pros and cons it'd be more important to just start now

night turret
stoic harbor
rustic birch
#

GUYS SOS did any one take Calculus for Machine Learning and Data Science???

sullen zenith
#

thank you😳

remote steeple
#

m1 air is really good value even new with the base model but that depends on your usage and stuff, if you’re just browsing the web and doing microsoft words it’s enough

sullen zenith
#

what about more recent laptops like the m2 macbook air or the 11th x1 carbon

remote steeple
#

if money isnt a concern

torpid obsidian
#

Whyyyyy😭

#

Fr i didn't even start it's just the main menu

#

At lowest graphic

glacial nest
#

Hey guys I’m starting community college for cs and I was wondering what online courses/classes/videos you would recommend. Thx

tall cosmos
severe spoke
#

anyone know what his x1 carbon specs are?

solar torrent
#

at least remove mr robot's pic 😭 ....

#

idk whenever i see things like this i just laugh a lot, it's always funny to me

idle dew
opaque iris
ebon sphinx
#

Hello is there anyone that knows Powershell that can help me?

#

I have a project where i have to import a csv into a server and extract all the users

torpid obsidian
idle dew
ebon sphinx
#

At home i usually use Ubuntu Server but i cant now

idle dew
#

i know 0 powershell in that case

solar torrent
#

When working with PowerShell we can use CSV files to import data into systems or to use it as a reference list, of users, for example, to update or get settings. To do this we use the Import-CSV function in ... Read moreHow to use Import-CSV in PowerShell

ebon sphinx
#

I'll check out the link thank you!

#

If you want i can share my CSV and my OU structure it doesnt contain any personal info it's all made up for this project so it's fine

autumn swift
#

Hi guys, Im a AI uni student.

Next month, I am planning about 1000$ on buying tech stuff. Im thinking about a macbook, a iphone and a ipad in an ideal situation.

Im going to use it through my 4-year uni. My purpose is simple:

-Phone for checking email, coursera and communicating with neccessary people via Zalo (an application in my country similar to Messenger)
-Ipad for only learning Coursera.
-Macbook for coding, learning and working only.

So can you give pls give my some advices on choosing appropriate device with my usage. Thank you

remote steeple
#

1000 is not enough for what you want unless you buy all used stuff

#

the iPhone alone will take up 500 even used unless you go really old model

#

maybe go with something other than apple

raw iris
#

Get a laptop first and foremost

autumn swift
#

That why i think of apple product first

#

btw im now using my 150$ fujitsu laptop and it works perfectly for my school job, so i think a macbook will do its job better.

#

thats what im thinking rn, so i dunno if in the long way, a good laptop will serve me better or sth

muted grail
#

hey guys, is buying a macbook worth it? i’m going back from the us to my home country in february and debating if i should take a macbook with me or just buy pc parts and take it to brazil to build a pc there. both options will be good savings comparing to buying anything in brazil

silent zephyr
muted grail
stone narwhal
sullen zenith
#

im in high-school right now and i wanna do computer science for college. would you think the m2 macbook air would work well and last until then or are there any other laptops i should look into?

idle dew
stone narwhal
#

isn't this too low?

idle dew
#

I mean idk ur budget, obv maxed out is the best, but I meant if you consider getting the 8 gb model the 16 gb is very worth it for the price

sullen zenith
#

what about non macos devices like thinkpads etc. ?

hot fable
hot mica
sullen zenith
#

what laptops would you recommend in that case?

hot mica
#

thinkpads are nice. i'd personally value battery life and energy consumption over most things in a laptop

stone narwhal
#

ah f okay
you all talking about ram

hot mica
#

haha yeah

stone narwhal
#

I thought storage lol

hot mica
stone narwhal
hot mica
#

its a big misconception that you need to spend thousands of dollars on a good laptop for comp sci

sullen zenith
#

dawg i don't even know it depends on how my mom is feeling on that particular day ;-;

stone narwhal
#

it doesn't heats up much, have a great battery life, have awesome build quality to last a decade, and the keyboard+ the big touchpad

#

it's a W for it's price

hot mica
#

acer aspire 5, lenovo ideapad, acer Aspire Vero 15

sullen zenith
#

so a macbook air m2 with 16gb is fine?

stone narwhal
#

forgot to add it's very lightweight to carry

stone narwhal
hot mica
stone narwhal
#

my brother uses it

#

it's fire

sullen zenith
#

aight thanks man I'll look into it

#

thanks boys

hot mica
#

np 🙌

#

i personally use an old laptop that my dad got 5 years ago

#

but i upgraded everything inside and optimized it

stone narwhal
#

I myself have a Asus Rog

#

it's very good a/c to it's price

sullen zenith
#

I completely forgot to ask about this but I've been using windows my whole life so is it worth it to buy a macbook and learn how to use macos or should I just go for a thinkpad ?

stone narwhal
#

it's just the touchpad gestures, if you learn it, you can do things faster, but if you don't you can do it in normal way

frosty sequoia
#

the probelm with macbooks is that a lot of quality of life apps are paid you have to know this

#

in the price of that macbook i'd personally recommend thinkpad x1 carbon 9th gen

solar torrent
autumn swift
autumn swift
stoic harbor
#

I use both macbook and thinkpad (both lower end models), and I think for development I've ran into less trouble with macbook, but in terms of durability and battery life the ThinkPad is better

#

tho Ive heard great things about the m1/m2, Im thinking of getting either as my next it's just why is apple so expensive 😭

autumn swift
stoic harbor
vapid dock
#

anyone here from SEA know a reliable source to get used thinkpads for a reasonable price?

#

I cant seem to find a place to purchase used thinkpads esp for the more well known ones like the x61, x220, t430, etc

silent zephyr
#

For people that use The forest app, when you close your phone, does the timer still run?

sullen zenith
#

right as i was thinking of getting the m2 macbook air there are speculations of an m3 macbook air dropping soon ;-;

#

should I wait or ?

hot fable
#

get the m2 if you need it rn but wait if you don’t. computers come out every year so you’ll be waiting forever for the “best”

raw iris
#

the model and make of your device matters so little except for the few edge cases where you need specific specs, in my class people have anything from 5y old acer laptops to the latest macbook pros and it's such a tiny factor in how good you do

#

the quality of your sleep might even be more important

dapper niche
#

^^^ exactly. IMO, the main thing to look for isn't even performance specs, but comfort -- screen size, resolution, antiglare or not, and aspect ratio.

stoic harbor
#

I do think if you use your laptop heavily you should invest a bit more into specs. Why? because I was just trying to download a reading in class, and the way my fans roared 😅 , I felt like you couldn't even hear the professor talking, and now this moment will live rent free in my head forever.

raw iris
#

my point is that the specific machine you use is less of an obstacle than many people assume. Just by seeing so many people ask about what specific device to buy for school. Sure you can have preferences, but I would not invest the extra time, research or money to min max the laptop purchase. It’ll always be more important to just work on your skills on any device that can run reliably. Everything else is just nice-to-haves and whatnot

#

Plus you get readjusted to screen sizes, keyboards layouts and all that stuff so quick - it‘s weird now for me going back to my big monitor whenever I‘m back home

dapper niche
#

you're generally more productive when you have to scroll less, etc.

warped oxide
#

I have exclusively used various MacBook pros/Mac mini/ MacBook Air/Mac Studio and various Lenovo and IBM thinkpads (with windows and Linux) for the past 13 years until I recently built a pcvr gaming desktop (windows). I use my Mac mini and an old iMac I fixed as the monitor for photo and video editing, zoom tutoring, coding and regular daily use. I need a good file manager and color accurate monitor and I love the style of macOS along with all the other apple product integrations. My thinkpads come out when I need to go somewhere or use a windows specific program or the Linux ones when I need my networking tools

I agree with Lyy. The best computer is the one you will use. If you know you will have specific needs like a CAD program you use often needing a recommended 16gb of ram then find a computer that does that for you. If you need a super light laptop because you’re always on the go then that’s your top priority. For me, macs let me be efficient, meets my needs and as a plus I love the hardware and os. That M1 chip is FAST at video processing

I will say that the newer Lenovo thinkpads are not as well built as the older IBM ones. The older ones are pretty useless unless you like retro tech or want a home server or other Linux based application. But just to let you know that the new Lenovo ones are much more delicate. I had a fan break on an x1 carbon a year after I bought it. Easy fix but really annoying :/

idle dew
#

i need a c compiler for my Macos 11.7 4 GB of ram
anyone got a good not heavy c compiler?

autumn swift
#

Im in VietNam, i used to find these products in Facebook group

#

while they took laptops from old company and sold them for collectors

raw iris
# warped oxide I have exclusively used various MacBook pros/Mac mini/ MacBook Air/Mac Studio an...

This is fun, I feel like there is a lot of value in just putting your own requirements out there. I just have one lightweight laptop these days for my Masters degree cuz I live on the go and can‘t carry around a bunch of devices. I used to have a powerful Desktop PC, macbook air, old and new thinkpads, an iMac. It just wouldn’t be of use to me in my current situation. Albeit I miss my GPU heavy activities like 3D modelling and gaming

fathom vine
#

So I was thinking of buying the ASUS - ROG Zephyrus G14 14” 165Hz Gaming Laptop QHD- AMD Ryzen 9 with 16GB Memory-NVIDIA GeForce RTX 4060-512GB SSD - Moonlight White. What are y’all’s opinion on it? Do y’all think it’s too expensive for what I’m getting ($1599.99)?

sullen zenith
#

I think I'm just gonna go for the 13inch m2 macbook air

#

with 16 gigs and a 512 ssd

idle dew
#

tcc is in the official brew repo

reef parcel
#

Any good laptops recommendations? (for programming of course)

warped oxide
# reef parcel Any good laptops recommendations? (for programming of course)

you can program on any laptop it's more about the OS. think about which languages you want to program in and which IDEs would be the best and then choose the OS that is best for that IDE. Then think about which projects you want to attempt. Coding and hosting your own LLM has different gpu and storage requirements than programming a microcontroller. In general I recommend mac and linux over windows unless you're programming in C# or are a game dev. others will have different opinions and that's okay. use what you have until it hinders your efficiency

vapid dock
#

ebay isnt that popular in malaysia sadly\

vapid dock
vapid dock
#

i found a t470 with a i7, 940mx graphics and 8gigs of ram for 190 us

#

is it a decent deal or nah

raw iris
#

I don't know the model but it sounds pretty good to me based on the parts. Remember tho that you'll wanna buy a fresh SSD with that

jade summit
#

Compared to new computers, it's a steal

dapper niche
#

sounds like a good deal if you need the dedicated graphics. don't get too caught up on i5 vs i7, etc. usually doesn't matter much on a laptop due to thermals. aside from that, an i7 might be slower than an i5 or i3 from a new generation, etc.

vapid dock
#

i see, ill save up for it

pallid vale
#

hi idk where else to ask and i am so sorry to intrude but i need a CS major's help ASAP... I have a very important state competetion and i need to submit an out line tmr but it is VERY ambitious and i need someone to let me know what even is my idea and how i can start...

tall cosmos
#

dm

glossy bobcat
gloomy lily
#

Should i overclock my cpu(ryzen 5 7600)? Its averaging around 42 C

frosty kiln
#

I am new financial student. Should i get macbook or windows laptop for study?

idle dew
tall cosmos
#

Yes, you read that right and I really didn't see it coming to such a swee temperature. As always I try to overclock and run as low a voltage as I can, with a few runs seeing it was about to do under 70c, I knew I had to try to push it to go below 60c.

The sub 60c Cinebench R23 temperature was accomplished using DeepCool LS720 AIO, I know it's a...

▶ Play video
gloomy lily
#

got another one laying around tho

#

although i dont rlly know how to install it…

#

wait but 5ghz is crazyyyy

hidden junco
#

i started working on the music genre classification uisng ML project a few days ago, and i've struggling to understand mfcc ;___;

#

can someone please expain it in a simple way ;___; thankyouuu sooooo muchhh ❤️

dapper niche
#

you don't get that much out of overclocking modern cpus

sick hazel
#

Does anyone know of any retro-looking gaming monitors?

lime ridge
glossy bobcat
tall cosmos
trim ravine
#

hallooo

#

anyone here by chance uses linux for music production?

idle dew
#

if i keep my macbook battery on full economy mode for 3 month..... is that will affects battery life time or performance

frank geyser
#

depends what year your mac is

#

If its newer it should be fine

ivory bear
#

Does anyone has a pdf containing code examples in C ?

analog flower
ebon sphinx
#

i wanna buy a new laptop i'm doing Cs rn and i'm thinking of buying a I7 16gb ram 512 ssd thinkpad t480 will this be enough? i have the same specs on my hp laptop rn but that one has a AMD Radeon gpu and the thinkpad has a UHD Graphics 620

solar torrent
#

Programiz also has for different languages not only C, it's a pretty good website tho

analog flower
solar torrent
#

You can sign up on leetcode or codewars for more coding 'challenges' rather than examples too

ivory bear
#

Thank you guys both 🥰

idle dew
#

guys if anybody got some tips or stuff that i should know before switching to linux from windows plz feel free to tell me

#

also if u have some good free recources or like good books for learning linux (for hackers) plz tell me that too

ivory bear
#

is anyone familiar with Unit Tests using the RTRT tool in C ??

vapid dock
#

*flavour/distro

vapid dock
#

my old ass laptop with a 3rd gen i5 and igpu scores higher on a opengl test than my i7 with 840m graphics lmao

somber jackal
#

does anyone have any books that can help with critical thinking and math when it comes to programming?

idle dew
#

does anybody know where I can get a matte screen protector similar to one james uses? actually any screen protector, I just don't know how to choose since I couldn't find a matte screen protector that explicitly says that it's for hisense touch

ivory bear
#

I try to type a code in VScode and I get this error idk why

oblique gulch
# ivory bear I try to type a code in VScode and I get this error idk why

im probably a bit late on this but you need to make sure you have a c/cpp compiler installed and to have configured your launch.json file to have a c launch and attach option. the compiler you need will depend on what operating system you use. idk about the other OSs but i use gcc on my linux machines

hoary abyss
#

has anyone ever tried the samsung g1650 flip phone in canada? im trying to see if it would work on freedom mobile

#

ive got my eyes set on the digno 903kc but its gonna be a real long time before i can get my hands on it and im kinda impatient

warped oxide
#

i just looked up both those phones and they look super cute. i know that a lot of times cool japanese and korean flip phones are a gamble outside of their respective areas

#

i would talk to someone with the provider you want to use to make sure it's supported

vapid dock
#

heyo anyone here that know a thing about vintage keyboards? i just wanted to ask about the apple AEK and what kind of switches does it come with ; afaik ive seen it come with salmon and orange alps switches but idk about other types

#

m0115 btw

warped oxide
warped oxide
#

i don't think it came with other switch types like the AEKII did

#

besides an alps skcl lock switch for the caps lock key it says

vapid dock
#

speaking about the aek, anyone knows a commercially available ADB to PS/2 or USB converter

#

because theres literally only 1 imate for sale in my entire country and its not reasonably priced

amber mountain
#

Anybody a CS Major here? I need help in my system that I'm working on. It's a billing/invoice system. I'm struggling in putting like a selection of amount ( Example 500$, 700$ ) on how much they will pay. I have no dropdown button. I need help with that. Thank you.

proper zenith
#

i found a yahoo auctions site

barren oasis
#

Is anyone highly intrested in cybersecurity, more specifically NFC connections? I have question about specific model of NFC tag and possibility of bypassing its security and decrypting its data

barren oasis
raw iris
warped oxide
barren oasis
#

Flipper doesnt work

barren oasis
warped oxide
#

which keycard are you using?

#

and do you have a proxmark handy?

barren oasis
#

Thanks for joining the discussion sabrina

#

So the tags we are using are mifare desfire ev2

warped oxide
#

oh, those are pretty secure

barren oasis
#

I got proxmark but its not the case here

warped oxide
#

they have like a special handshake if i remember correctly and can't be cloned

barren oasis
#

Its hard but its possible, the question is how hard

warped oxide
#

heat death of the universe hard

barren oasis
#

I was scooping some info on tor since cant find any reliable thread on the web, if some of you got some good sources u can share

warped oxide
#

it has AES-128 encryption

#

front page of google can give you all the info you need

barren oasis
#

I want to try some bigass powerfull magnet tommorrow and brute force it like that lmao

#

Sometimes those lags bug during that circumstance

#

But im afraid it need some Deep level programming to Access the data rly

warped oxide
#

that would wipe it i believe

barren oasis
#

Yeah boss just wants to know if the storage is breachable

#

I can even use a Hammer to get in

#

(Thats a joke)

barren oasis
#

Wondering if theres a way to interefare

warped oxide
#

desfire is secure, you would worry about training people to not let anyone in behind them and physical security now

barren oasis
#

Between these 2 signals

warped oxide
#

there will always be bypasses, you are trying to make yourself look like a hard target and not worth it

barren oasis
#

And the place is on huge space

#

Its very hard to coordinate

#

The stuff, and maintaing security

warped oxide
#

nothing is 100% secure, your job should be to make it as secure as is needed for the information and making yourself not an easy target

barren oasis
#

He wants to do this with least ammount of workforce

warped oxide
#

then the card you want to go with would be the one

#

and spend money on training your employees to not fail a physical pentest

barren oasis
#

Ok anyways, i gotta go now, thanks Sabrina, uve been wonderfull

#

Cyu

warped oxide
#

you're very welcome. see you at defcon next august

barren oasis
#

Haha

barren oasis
#

But on the other hand upgrading whole system would cost a lot too

warped oxide
#

both are necessary

barren oasis
#

He basically wants to have black and white answer from me

warped oxide
#

you could pitch it as saving millions in private ip to competitors if you're in private sector

#

always pitch improvements to bosses as a security person in how much money could be saved or lost

#

they speak in dollars

barren oasis
warped oxide
#

not cyber and physical security

#

if locks are currently bad - locks
if employees are clicking on spam emails and not badging in - people

barren oasis
#

Bb Sab ill read tommorrow

warped oxide
#

there are companies that do email pentests for you that aren't expensive on a business's budget

#

please don't shorten my name, it's weird

warped oxide
#

but yeah ttyl

barren oasis
#

Im just trapped in idea of always finding solution to a given problem

#

Which sometimes is unsolvable

warped oxide
#

you also don't want to make something so hard or cumbersome that your employees wont follow

barren oasis
#

Yeah i can do it mindest

#

Mindset

warped oxide
#

that's another problem i see in security teams. you have to toe the line between secure and convenient. if it's too much of a hassle employees will just ignore it or bypass it themselves

warped oxide
#

if you want to learn more in your free time here's a guy i like, he's a dev for the proxmark3: https://www.youtube.com/@iceman1001/videos
you're not going to find a way to crack the desfire ev2 from him tho lol

oblique gulch
# ebon sphinx i wanna buy a new laptop i'm doing Cs rn and i'm thinking of buying a I7 16gb ra...

dude, you can code on just about any modern desktop or laptop so don't worry about specs too much. as an anecdote, i started coding on a thinkpad x220 which had an old af second gen, dual core i5 and 8gb of ram, and it was fine. to answer your question though, the t480 will be more than enough for doing college cs work. you can stay with the hp you have, which if you're correct and the hp has the same specs (im focusing on the cpu here), the hp will likely outperform the thinkpad anyway, as the Intel uhd 620 graphics aren't very good, at least not for gaming.

warped oxide
#

^^yes. specs only matter if you're gonna host something yourself or are going to be working with heavy CAD/game/simulation programs. if it's just for getting through undergraduate programming classes and general education classes you're solid

#

always get as much storage as you can tho. paying for cloud storage is wack

surreal beacon
#

Hi all, i wanna ask u guys questions regarding Spring Custom Library.. so here's the case:
I've build my own custom library in spring boot. And Ive injected the custom library to my main project. The problem is I dont really know about the behind the scene of how the Jar file is imported from my custom library jar into my main project. Can u guys explain to me how does the importing process happen?

umbral orchid
#

does anyone know anything about "Blogger implementation using QUIC protocol"??

frank geyser
#

i started on my dads thinkpad x230

frank geyser
#

Thats how linus got his shit hacked

buoyant finch
#

is this dfa minimization correct?

tall cosmos
#

Any of you lads used pyqt6 before?

amber mountain
#

Anybody a CS Major here? I need help in my system that I'm working on. It's a billing/invoice system. I'm struggling in putting like a selection of amount ( Example 500$, 700$ ) on how much they will pay. I have no dropdown button. I need help with that. Thank you.

idle dew
tall cosmos
nimble lily
#

can anyone recommend me a good book or course to learn C++?

tawdry field
thorn moon
#

Any suggestions on to land an entry level job?
I'll complete my bachelors in cs, but am getting tons of rejection emails

dapper niche
#

try applying to internships if you haven't graduated, yet

azure pond
#

Hi there, does anyone familiar with Angular’s timeAgo pipeline? Was trying to do translation for the terms like “months ago, weeks ago”, but it’s so deep to be modified🥹

surreal mica
#

Guys i need some infortmation on ARM 5,7 Architechture cause i need to make some case study and i dont have any idea about this so can anyone help me with this please
Also help before 29th oct would be appreciated as that's the due date for me

#

its something related to computer organisation and architecture

autumn swift
#

i can suggest some books for u bro

#

Im learning the same course and here is my reading list

#

U can check these out

surreal mica
#

Thanks vuddy

#

buddy*

autumn swift
#

good luck bro

#

u can dm me if u want the files

cloud stirrup
#

anyone familiar with blueprint unreal engine?

plucky sandal
#

anybidy help me in css and html

open solstice
open solstice
clear trout
dusky pelican
#

hello CHATGPT is disabled in my country even vpn didnt help? can anyone give any free email to use, pls? temp mail also not working

gloomy lily
#

anyone any ideas on how to fix this? Do i need to manually install all drivers for my hardware?

#

(win11 installation)

#

I had windows running properly, but after i dual booted linux mint i get a blue screen error(IO1 INITIALIZATION FAILED), thats why im reinstalling now

scarlet relic
#

hi everyone! i need some advice. i started my first year of uni (electrical and computer engineering) and I'm learning C. it's been really hard for me to learn it, so i was looking for some help. i already bought a book recommended by my professor (its not enough ;-;)

dapper niche
# scarlet relic hi everyone! i need some advice. i started my first year of uni (electrical and ...

take one step at a time. one smallest step. when you're introduced to something, don't move on to the next thing until you "master" it.

by mastering it, I mean...

  • start asking a lot of questions about it
  • write code to test your questions and get answers based on the output.
  • experiment with things that might or might not work and learn from the output
  • ask questions if you're still unclear about anything.

Then when you feel completely comfortable, move on to the next thing and periodically review the past things you've learned. I believe that no programming language concept is very difficult, but each concept builds upon the previous. And, people can make it very difficult on themselves when they try to move too quickly or out of order.

scarlet relic
dapper niche
#

everyone has a different learning style, but I just used the classic K&R book

nimble lily
#

does anyone have a video or guide to recommend for making a hackintosh?

frosty sequoia
rotund ingot
#

If anybody here knows a little about css and especially <div > Ineed help with this problem. I want to center vertically the paragraph contained in the <div> but vertical-align isn't working for some reason. Is there another way around ? This is the html code ```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Exercice 3</title>
<link rel="stylesheet" href="/structure.css">
</head>
<body>
<div id="bandeau">
<p>Ceci est le bandeau</p>
</div>
<div id="contenu">
<p>Ceci est le contenu</p>
</div>
<div id="pied">
<p>Ceci est le pied de Page</p>
</div>
<div id="menu">
<p>Ceci est le menu à droite</p>
</div>
</body>
</html>

#

and this is the style code which i need to modify

#
#bandeau
{
    position: absolute;
    top: 0%;
    left: 0%;
    right: 0%;
    background-color: rgb(19, 148, 148);
    width:100%; 
    height:10%;
}
#contenu
{
    position: absolute;
    background-color: yellow;
    right: 10%;
    left: 0%;
    height:82%;
    top: 10%;
    z-index: 40;
}
#menu
{
    position: absolute;
    background-color: aqua;
    z-index: 44;
    height:82%;
    top: 10%;
    right: 0%;

}
#pied
{
    position: absolute;
    bottom: 0%;
    right: 0%;
    left: 0%;
    background-color: rgb(16, 153, 107);   
    width:100%;
    height:auto;

}
p{
    font-size:larger;
    font-weight: bold;
    text-align: center;
}
surreal beacon
#

Heyy calling for all Spring Developer out there, have u guys encountered this problem??


Parameter 0 of constructor in com.example.Lcustomloginlibrary.ApplicationUserDetails required a bean of type 'com.example.Lcustomloginlibrary.entity.UserAccount' that could not be found.


Action:

Consider defining a bean of type 'com.example.Lcustomloginlibrary.entity.UserAccount' in your configuration.

I have used @Entity annotation on my UserAccount class, I dont know why the error occured. How do u solve the error?

idle hazel
#

recc some mouse plz

#

i have like 60 dollars

vapid dock
#

be more specific

lone wharf
idle hazel
#

Ive tried g102

#

Its been a month i bought it the scroll acts wired it skips and opposite scroll

#

I cant get rmaed rn

#

I bought a basilisk v3 the synapse is shit plus i cant save ctrl +tab on board and rgb also need aynapse

#

Basically synapse is shit

#

And viper 8k has dpi switch in bottom

#

Hmnnn

#

I am getting dav2x for less 30 usd

vapid folio
#

Does someone what kinda motherboard this is ,it is from Philips

#

Cant find no information on internet

idle dew
#

any leetcoder's

dapper niche
#

^ I've done some. what's up?

shut sail
idle dew
#

good to meet you guys

stable cobalt
#

Try it with justify-content and align items

lunar yacht
#

lambda what? Thank you.

idle hazel
potent vale
#

helllooo frens! so i need help with my arduino project. we were told to build a device that uses color sensor and according to a specific colour it should perform an action (ex. if we build a car and with color sensor it senses black it would go forward , for green it goes back etc.) . We are given some specific components to use. Arduino uno with adafruit motorshield, rgb sensor , servo motor and stepper motor. we can not buy/ add any other components other than these. now the issue is I have never used arduino IDE before its so freaking confusing. but i somehow managed to find codes that I can use to run the stepper and servo motor, But idk how to link them with rgb sensor as in how to write codes for tht. if anyone is able to help pls dmEmotionalshrek Emotionalshrek

urban saddle
#

hi, anybody know why my unity project gets stuck loading at this point exactly?

trim pivot
eager shadow
#

Hi! quick question for those who are familiar with Reactjs. If I zoom in on page1 of my website, then click a link which takes me to page2 of the same website, is it possible to reset the zoom levels in mobile browser?

graceful trail
#

Does anyone have a boox note air and or recommend it

#

Like first gen note air

lime ridge
#

Everyone that's not using vim, learn it. It's the best productivity tool that exists.

hasty juniper
#

Does anyone know how to use an app thats not compatible on the newer software

hasty juniper
#

Yea the issue is that its incompatible on an android-

hasty juniper
# idle dew what is it?

Its the rise tmnt power up game, its not suppose to be available in my country, but i was able to download it through an apk, but like its just not working

vapid dock
raven abyss
#

can someone explain how am I on paper getting x = 7, y = 8

#

i should get x = 6 not 7

frosty sequoia
frosty sequoia
#

also guys i started experiencing with c++ after c and i have a question

#include <iostream>
#include <cstdio>
#include <iomanip>

int main() {
    float pi = 3.14159;

    std::cout << "Cout: " << std::fixed << std::setprecision(2) << pi << std::endl;

    printf("Printf: %.2f\n", pi);

    return 0;
}
#

here i cant just use printf instead of that long one for c++ its shorter but why no body use this i mean from my point of view its more efficient

frosty sequoia
#

both lines do the same thing

frosty sequoia
# raven abyss i should get x = 6 not 7

what about y
also i think its because you forgot braces next to the for loop

#include <stdio.h>

int main() {
    int x = 0, y = 1, i;
    for (i = 0; i <= 3; i++) {
        if (i > 0)
            x += x + 1;
    }
    y = --x + 2;
    printf("x=%d y=%d\n", x, y);
}
``` the output is x=6 and y=8
raven abyss
#

ik thats the output but in our tests we have to go through the process of getting that answer

#

and when i do i get that x is 7

frosty sequoia
# raven abyss and when i do i get that x is 7

here's how x changes within the loop
i = 1: x += x + 1 = 0 + 0 + 1 = 1
i = 2: x += x + 1 = 1 + 1 + 1 = 3
i = 3: x += x + 1 = 3 + 3 + 1 = 7
after the loop x is decremented by 1 (--x) resulting in x = 6
so idk why you are getting 7

raven abyss
#

wait why is —x at the end

frosty sequoia
#

bro you litteraly wrote it

#

here

y = --x + 2;
    printf("x=%d y=%d\n", x, y);
}
raven abyss
#

i thought --x is only when calculating y = --x + 2

frosty sequoia
#

oh wait my bad

#

yeah

#

let me check why the duck you get 7

raven abyss
#

😭

#

thanks bro

frosty sequoia
#

can you send the exact code you wrote

#

@raven abyss

raven abyss
#

its the screenshot one

frosty sequoia
#

what about the one in your assingement

raven abyss
#

i just copy pasted it

#

wait imma screenshot it

#

im not home so

frosty sequoia
#

yep its still giving me x=6

raven abyss
raven abyss
#

but on paper idk how its x 7

frosty sequoia
#

i think since you are looking at the first one

frosty sequoia
# raven abyss

the second one you provided with the screenshot is the bottom one right here

#

so yes it will give x=6

#

i think you kept looking at the top one as if its the solution?

#

@raven abyss

raven abyss
#

nah i didnt cus i just typed the code into vsc

#

didnt even look at the paper

frosty sequoia
#

so you get x=7 in vscode

raven abyss
#

no no

#

i get x=6

#

but when i do the math on

#

paper

#

its x = 7

frosty sequoia
#

ooooh

raven abyss
#

ts so confusing

frosty sequoia
#

ok let me do the math too you know sometime code works just because it wants💀

raven abyss
#

alr alr

#

lemme know how it goes

frosty sequoia
#

bruh asked ai and told me x=3

raven abyss
#

imma email my professor

frosty sequoia
#

yeah ask why tf that's happening

#

if he told why ping me @raven abyss

raven abyss
#

he probably sleeping its kinda late here

vapid dock
#

:q! for when you are stuck and just want to exit

frosty sequoia
prime spire
dapper niche
# frosty sequoia oh wait my bad

no, you didn't make a mistake. it is --x + 2 at the end. which means y = 6 + 2. and x = 6. I am guessing @raven abyss got x = 7 because he didn't realized that --x also assigns a new value to x.

raven abyss
#

wait so once we calculate x+=x+1 and get the value of x the --x changes the x again?

unreal sun
#

Hey guys I need an advice I am studying data science from an academic course but I don't think it would be enough to work as a data scientist so a friend recommended to me this course, does anyone know would it be worth it or not to apply or it will just be a waste of time? Hey guys I need an advice I am studying data science from an academic course but I don't think it would be enough to work as a data scientist so a friend recommended to me this course, does anyone know would it be worth it or not to apply or it will just be a waste of time? https://www.wqu.edu/programs/applied-ds-lab/

frosty sequoia
frosty sequoia
#

can someone tell me why the duck the output is not 2 and its giving me 0

  #include <iostream>

  namespace first {
    int x =2;
  }
  int main()
  {
    using namespace first;
    int x =0;

    std::cout<<x<<std::endl;

    return 0;
  }```
#

i know it works if i did first::x but that's why i added the using namespace and its not working the output still 0

shrewd heron
#

bc u declared it again, so the local variable takes precedence

frosty sequoia
#

oooooooooooooh yeah my bad

#
  #include <iostream>

  namespace first {
    int x =2;
  }
  int main()
  {
    using namespace first;
   
    std::cout<<x<<std::endl;

    return 0;
  }``` 
now it will work
shrewd heron
#

yeah that looks right

frosty sequoia
#

also if i did this

  #include <iostream>

  namespace first {
    int x =2;
  }
  int main()
  {
    using namespace std::cout;
    using namespace std::endl;
    using namespace first;
    int x =0;

    cout<<x<<endl;

    return 0;
  }```
is this ok since i heard using namespace std as a whole is bad
#

then what about specific ones

dapper niche
shrewd heron
dapper niche
# frosty sequoia hm ok thx

I believe the main concern is for collisions across namespaces, so you will most likely never run into that in your small projects

rotund ingot
stable cobalt
#

Great!!

#

Can anyone say how to get code from apk file and modify it

bronze widget
#

Hi

#

So I tried running this but it won't show the output

#

This is the question btw (it didn't ask for coding but I just can't visualize it )

compact bay
#

its the second modal that doesent apear

frosty sequoia
silk pagoda
#

fd

zenith leaf
#

any one know anything about how to deploy a ml model on azure

vale roost
#

Hey, any idea if this is the right place to ask about good dumb phone recommendations

bronze widget
#

Yes

stable cobalt
#

Yeah

#

Anyone know about reskinning application

nimble wing
#

why is my vscode like this?
somebody can help?

frosty sequoia
#

yo so we have this mf thing in c++ :

  #include <iostream>

  int main()
  {
    int correct= 2;
    int questions = 5;
    double score = correct/(double)questions*100;

    std::cout<<score<<"%"<<std::endl;

    return 0;
  }
#

isnt just simpler to do this instead ?

    double questions = 5.0;
    double score = correct/questions*100;
dapper niche
#

I would say the former is preferable because from a data perspective, there's no such thing as a fractional question. so "count of questions" doesn't make sense as a floating point number

frosty sequoia
#

hmm ok thx tho

ashen lichen
#

anyone here do competitive programming (codeforces)? if so how much leetcode did you do before doing code forces

idle dew
dapper marsh
#

hey, i wanted to ask you guys about something, in vscode, i can't run a C code which contains the library : pthread.h
i heard that i have to add it in the path of the gcc but i dont know how, can someone show me ?

crimson thistle
# dapper marsh hey, i wanted to ask you guys about something, in vscode, i can't run a C code w...

well i tried this simple code
`#include <stdio.h>
#include <pthread.h>

void *print_message(void *msg) {
char *message = (char *)msg;
printf("%s\n", message);
pthread_exit(NULL);
}

int main() {
pthread_t thread1, thread2;
char *message1 = "Thread 1: Hello from Thread 1!";
char *message2 = "Thread 2: Hello from Thread 2!";

// Create and run the first thread
if (pthread_create(&thread1, NULL, print_message, (void *)message1) != 0) {
    fprintf(stderr, "Error creating thread 1\n");
    return 1;
}

// Create and run the second thread
if (pthread_create(&thread2, NULL, print_message, (void *)message2) != 0) {
    fprintf(stderr, "Error creating thread 2\n");
    return 1;
}

// Wait for both threads to finish
pthread_join(thread1, NULL);
pthread_join(thread2, NULL);

return 0;

}`
and it compiled just fine can you elaborate more of your problem?

idle dew
#

what is the best, most reliable AI pdf-reading chatbot you guys know?

#

I tried chatpdf but it instantly gave me imprecise info

mental ibex
#

Hello guys , anyone does leetcode ? is there any guidance or specific roadmap to master dsa ?

ashen lichen
#

anyone here used T3 stack?

frosty sequoia
open solstice
#

do you knwo the concepts or what

idle dew
#

my code is passing 174/175 test cases, if you can debug please help

#

class Solution {
public void setZeroes(int[][] mat) {

    for(int i=0;i<mat.length;i++)
    for(int j=0;j<mat[i].length;j++){
        if( mat[i][j]== 0){
            mat[i][j]= 'A';
        }
    }

    for(int i=0;i<mat.length;i++)
    for(int j=0;j<mat[i].length;j++){
        if(mat[i][j]=='A'){
            conv(mat,i,j);
        }
    }


     for(int i=0;i<mat.length;i++)
    for(int j=0;j<mat[i].length;j++){
        if(mat[i][j]=='A'){
            mat[i][j]= 0;
        }
    }

    
}


public void conv( int[][] arr, int m , int n){  
  for(int j=0;j<arr[m].length;j++){
      if(arr[m][j]!= 'A'){
          arr[m][j]= 0;
      }
      else{
          continue;
      }
  }

  for(int i =0;i<arr.length;i++){
      if(arr[i][n]!='A'){
          arr[i][n]=0;
      }
      else{
          continue;
      }
  }
}

}

nimble wing
fleet dirge
#

Anyone have any tips for trimming down the 14k emails in my promotions tab on gmail other than manually going through and deleting each one by sender group or deleting the entire folder?

dapper niche
trim pivot
# idle dew hello guys, i was solving this leetcode problem set zeroes https://leetcode.com/...

you're setting your flag to be A number 65 if the original matrix has that number inside, is going to use to set to 0 the row and the column, even though you don't put your A there.
they expect you to use 0 as the flag but then you need to be carefull where you put it so you don't set to 0 something that you don't want to.
i think the else -> continue is just the default behaviour so there is not need, going to try to write a tip on how that's supposed to be solve below if i can

#

||you can use the first row or column to put your zero, so it works like built in hash table , dont modify the first row/column and then check a then if you need to put it to zeroes, either that or actually using something to store where the 0 zerows row/columns are something like a hash set but that uses extra space||

#

actually ignore the part about A==65, is going to depend on the character set of you pc, but A is going to become an int when you put i in the matrix of int's, and if that number is in the matrix originally is going to mess up your process to define where are 0's

idle dew
#

🙏

idle dew
vapid dock
#

i found another t470p with an i7 and discrete graphics (as good as that could be); though i am a bit split on whether i should get a w540 which has a 4600m and quadro graphics or the t470p

#

since i cant confirm whether the i7 in the t470 is a quad core or a dual core i cant firmly decide on one

#

oh wait i am stupid the 4600m has 2 cores 4 threads

#

yeah the t470p processors all come with 4 cores minimum

#

im stupid

autumn cedar
#

i got an x250 with a 1366x768 panel, its got a few dead pixels and looks like stuff burns in and slowly disappears after a while, might be a software issue, not really sure. thought of a display upgrade, but im not really sure how that would work out or if its even worth it

#

a higher resolution ips panel might be nice, but i dont know if i should go for it

#

well, the whole laptop is a bit crooked, but still an upgrade from my X61s

neat jackal
#

anyone know how to make computer science fun again?

autumn cedar
#

worked when i wanted to play halflife 2 episode 2 for the first time again

dapper niche
idle dew
neat jackal
#

@idle dew it killed me in python

frosty sequoia
autumn cedar
#

what next

ashen lichen
vapid dock
#

we need the neofetch ! !

#

also an iso version

#

nice

frosty sequoia
autumn cedar
#

ive got arco linux

#

i didnt want to go through the process of installing arch

#

arco is alright i guess

#

but what should i add to the setup

dapper niche
autumn cedar
#

yeah man, i might get a dock for the thinkpad

#

and connect it to a monitor ive got

#

HP z23n g1

#

i could get a Keychron V1

#

not sure which mouse i should get

dapper niche
#

I prefer the ultralight mice. there's some budget ones, but I haven't tried them, yet

#

I love the G305 shape and size, but it's a little heavy

autumn cedar
#

yeah i was looking at both the g305 and used g pro superlight

#

a used G Pro costs about the same as a new g305

#

this would also be really nice

#

not sure if they can ship here

covert oracle
#

hii some app developer here?
im having big troubles with ionic capacitor
https://forum.ionicframework.com/t/capacitor-ios-status-bar-overflow-app/237604

frosty sequoia
dapper niche
autumn cedar
#

i have a g102, which is pretty much a wired g305

#

i dont really like the shape

dapper niche
#

with the G305, you can "mod" it by using a AAA lithium battery to save some weight

autumn cedar
#

yeah

#

i like the looks of the g pro a bit more

#

the shape might be better for me

idle dew
#

guys if you like use leetcode, pls do upvote my solution

vapid dock
#

laptop stand

#

monitor riser below the laptop stand

#

and a 1200$ keyboard paired with the car mouse

#

(setup of someone i know)

#

i thought he was shitting around with the car mouse as a meme, didnt expect him to actually main the car mouse

dapper niche
#

think we need photos

autumn cedar
#

damn

serene flume
#

Can you recommend usb podcast mics under 100$?

tidal sable
#

Does anyone know if I can use a G5 iMac as a monitor?

fringe knot
tidal sable
#

Okay, thank you. I have one, and I really like the design. Do you know of a monitor with a similar style?

frosty sequoia
#

guys so when i search for jobs in indeed or any other site for my country (its not a tech country we still old school heck some company's still use windows 7) and they require some unrealistic things (like mastering at least 5 programming language commonly python java c++ c# and js and like at least 3 years of experience and masters degree too unrealistic for experienced devs let alone new grads ) but when i look int the us or eu market they ask for a specific field like web dev or mobile dev so what do you think about that ,am i right or should i stop complaining

trim pivot
# frosty sequoia guys so when i search for jobs in indeed or any other site for my country (its n...

It's not ideal because then you do not know what to study for, but these companies a,t least in my country ju,st put a bunch of technologies there so any of those works and not so much for like you must know all of them, or that's what I have seen (even thought there could be special cases where they expect you too know all of them) but you will only figure that out after starting the interview process, i will try to apply anyway(and probably in the first interview with hr person/non technical person just say that you have done basic things with those), i think the best is just try to filter by years of experience if they're looking for someone with 5+ years of experience it's unlikely they'll hire you(and apply if you like the job to 0 to 3 years, or not years of experience mention). getting a first job is going to be more difficult than usual i think market has been showing difficult recently

dapper niche
# frosty sequoia guys so when i search for jobs in indeed or any other site for my country (its n...

Complaining doesn't do anything to move you closer to your goal, so you just need to assess what the reality is and make yourself a good fit for it. If that's beyond your willingness to do, then you're not left with a choice other than to choose a different field of work.

Every market and every company hires suboptimally. My personal opinion is that a new hire should have skills to learn what they need in order to solve problems and also be able to get things done. As long as they can prove and demonstrate those capabilities, the tech they know or don't know is almost irrelevant. I know every company doesn't hire that way, but that's how I approach things. I don't expect them to know any specific piece of technology. I'll give them some general problems to solve and also ask them to explain things to me because communication skills is incredibly important and valuable.

frosty sequoia
#

yeah you guys are right

#

i mean that makes since that's why a big chunk of programmers here work for eu or us company's remotely anyways

limpid rivet
#

hello is there any one who knows how to recall a lost note text on mac? I was typing in note and selected the whole text and paste other text and went out. So I lost the previous text that I was typing and command+Z won't work...Is it impossible to recall the lost text in this case? :((

flint steppe
#

ello is there any one who knows how to recall a lost note text on mac? I was typing in note and selected the whole text and paste other text and went out. So I lost the previous text that I was typing and command+Z won't work...Is it impossible to recall the lost text in this case? :(( >> chat gpt it or google it you will get better answer there

frosty sequoia
#

nice you made two acc and asked the same thing and add the last part like we wouldnt notice

wide nova
#

e

flint steppe
#

i didnt even help

#

lol

#

but thankso to you for being nice

dapper niche
buoyant finch
#

does anyone know nasm

lunar escarp
#

Hey is this the right chat to ask about e readers and e ink tablets?

lean island
buoyant finch
lean island
#

i never code anything using assembly

#

just an code to write pixels in bootloader

dusky pelican
#

WHO KNOW HOW TO GET GPT4 FOR FREE?

blissful moon
tepid salmon
idle dew
# blissful moon did anyone know if i can use this theme in ubuntu and how https://www.reddit.com...

Hello! Yes, you can use it on Ubuntu, however, don't get too emotional. From what I saw in the printscreen, it has i3gaps, changed the fonts, used exaggerated transparency and used custom colors on the window borders. It may be that all of this makes the environment unviable to work in.
Well...taste is taste. If you want:
You can use the "config" file that he made available on github, and place it in your /home/user/.config/i3/ or /home/user/.i3/ (this depends on your distribution).

#

Be careful. Before making any changes to your config file, make a backup before removing or changing it (just in case something goes wrong), also, if you use someone else's config, some settings and binds have probably been changed . Read the "config" before making the replacement.

spare nimbus
#

One note on that though is that you do need to install i3 before you do that. As im pretty sure Ubuntu doesnt have it as default. One morething. I3 is a tiling window manager so most if not all things are done with keybinds like switching windows etc etc... If you know this and are familiar with that great! but just wanted to let you know before you got confused @blissful moon

flat timber
#

does anyone know matlab here? i need help with a simple question 😦

fluid basin
#

Can anyone help with html? I have nav bar in the body of my page and it’s fixed position but the anchor Id links only work when I scroll down in the page. So I can’t navigate without scrolling

buoyant finch
#

does anyone know how to construct pushdown automata

frosty star
#

does anyone know java and help me study?

kindred trail
#

Anyone good with PC upgrades hmuu

coarse bluff
#

does anyone do sport programming

spare nimbus
#

I know quite a bit

#

If you wanna dm it feel free they should be open

idle dew
crimson vapor
#

Hello

coarse bluff
#

but for programmers

dapper niche
#

the more common phrase is "competitive programming" i think

lean island
idle dew
buoyant finch
#

Anyone knows how to construct a pushdown automata?

idle dew
kindred trail
ocean pecan
#

any php experts that can DM me, i am strugglin' to set up a server and work with a database.

bleak jetty
#

any chrome extension u guys know? which can make me watch the 14 hour youtube vid, its capped at 11:55:00, i need to watch the whole of it

buoyant finch
#

does anyone know how to do context free grammar and pushdown automata

buoyant finch
livid leaf
#

Yeah go on

willow coyote
#

hey guys

#

is it real that I can study front end in 3 months and get a job or is it just a scam

#

If you have answer please mention me!

buoyant finch
#

hello does anyone know how to convert PDA to CFG

idle dew
# buoyant finch hello does anyone know how to convert PDA to CFG
  1. Identify the Components of the PDA: Understand the states, input alphabet, stack symbols, transitions, initial state, initial stack symbol, and accept states of your PDA.

  2. CFG Construction: Create a context-free grammar G = (V, Σ, R, S) where:

    • V is a set of variables.
    • Σ is the same input alphabet as the PDA.
    • R is a set of production rules.
    • S is the start symbol.
  3. Define Variables in CFG: For each pair of states (p, q) in the PDA, introduce a variable ( A_{pq} ) in the CFG. Each ( A_{pq} ) generates all strings that can take the PDA from state p to state q with the stack ending up as it started.

  4. Formulate Production Rules: The rules in R are constructed based on the transitions in the PDA. For each transition in the PDA, you'll derive one or more grammar rules. The general pattern for these rules is:

    If there's a transition in the PDA of the form:

    • ( p, a, X \rightarrow q, YZ ) (where p, q are states; a is an input symbol or ε; X is the top stack symbol to be popped; Y, Z are stack symbols to be pushed),
    • Then for every state r, add a rule in CFG: ( A_{pr} \rightarrow aA_{qr} ) if Y and Z are the empty string, or ( A_{pr} \rightarrow aA_{qs}A_{sr} ) for all states s, if YZ are pushed onto the stack.
#
  1. Handle Accept States: For each accept state q in the PDA, add a rule ( A_{pq} \rightarrow ε ) for every state p, allowing the CFG to produce empty strings if the PDA can move to an accept state.

  2. Start Symbol of CFG: Set the start symbol of the CFG to ( A_{q0q_f} ), where q0 is the initial state of the PDA and qf is an accept state.

  3. Refine and Test: Finally, refine your CFG to remove any unnecessary or redundant rules and test it to ensure it generates the same language as the PDA.

This process can be quite complex, especially for larger PDAs, and it may require a good understanding of both PDAs and CFGs. Each PDA may lead to a unique set of steps based on its specific transitions and states.

buoyant finch
idle dew
# buoyant finch i still dont understand starting from 3
  1. Creating Production Rules:

    • For each transition in your PDA, create rules in your CFG.
    • If your PDA has a transition like "from state p, reading input a, and popping X from the stack, it goes to state q and pushes YZ on the stack," then in your CFG:
      • If YZ is empty, add a rule: "A_{pr} becomes aA_{qr}".
      • If YZ is not empty, for each possible intermediate state s, add a rule: "A_{pr} becomes aA_{qs}A_{sr}".
  2. Dealing with Accept States:

    • For each accept state in your PDA, add rules in your CFG that produce an empty string (ε). This allows the CFG to represent situations where the PDA can accept by reaching these states.
  3. Setting the Start Symbol of CFG:

    • Choose a start symbol for your CFG that represents the process of starting from the initial state of your PDA and reaching an accept state.
  4. Refinement and Testing:

    • Remove any rules from your CFG that are not needed or are repetitive.
    • Test your CFG to make sure it generates the same language as the original PDA.

The key is to systematically translate the PDA's behavior into rules for a grammar.

idle dew
buoyant finch
buoyant finch
#

ok thank uu

buoyant finch
idle dew
buoyant finch
#

does anyone know how to convert PDA to CFG

verbal agate
#

anyone know any good sources to start learning python?

#

i wanna start learning but have no idea where to start

willow coyote
#

coursera website

#

you can ask them for financial aid if something is expensive

#

also there are many playlists on youtube

dapper niche
#

books, website guides, youtube playlists, or academic courses. choose whatever is best for you. personally i prefer books

#

I like to know "why" everything is the way it is and all the little details. Others are more concerned about "how" to do something. They get more motivated and successful when they can see results faster.

buoyant finch
#

hi does anyone know how to construct pushdown automata and context free grammars

frosty sequoia
frosty sequoia
amber saffron
buoyant finch
#

anyone in CS who knows Context Free Grammar?

surreal beacon
#

anyone in CS who is familiar with web dev using laravel?

frosty sequoia
brazen walrus
coarse bluff
steel tide
#

Are there other easy ways to easily swap between two computers that are hooked to the same monitor and use the same pheriferral? as in swapping between mac os and windows, Without the use of a KVM switch? (they cost alot to me)

dapper niche
urban saddle
#

Hey! I was wondering if anyone here knew how to setup doom emacs in a mac (ventura for macos)

shell hollow
#

does someone know how to transfer from windows to nokia 3310

#

nokia pc suite is troubling me

#

the pairing is easy to figure out

#

but authorize i dunno how

viral oyster
#

Does anyone know these HP 3500yl 48 PoE switches? especially the 8693A? I want to set up the IP address because I don't think this switch gets one via DHCP. I think you need to connect a computer to the serial port, but I don't have one. So is there another way to do this?

idle dew
# viral oyster Does anyone know these HP 3500yl 48 PoE switches? especially the 8693A? I want t...

Some switches have a factory default IP. If you can reset it, you can simply use a standard ethernet cable and plug in a laptop to access the settings. I did this on an old 3com I had, it always worked. I didn't do much research here, but it would be interesting to have the product manual to know which IP range the device is in and try to access it using your laptop, or use wireshark/nmap and try to see the MAC address. These are just some tips.

viral oyster
#

After some research I think the only option is to connect a computer via the serial port on the back. After a factory reset it still doesn't have an IP address and my DHCP client is active. I found a manual guide for this switch and they said you need a serial cable.

#

My english isn't perfect so it's possible that I misunderstood something in this manuel.

fallen totem
#

Can anyone tell why my html code won't run ( code is correct) it's showing 404 error on output?

lusty parcel
#

could be a mistake in url or server issues

gloomy lily
#

Does anyone know any chrome-browser extensions, that makes new tab open to the left of the tab bar. I often switch tabs using ctrl+<number>. But with more than 9 tabs, thats not possible.

slate seal
#

does ctrl+left click work for you?

#

i think it worked for me once, not sure tho, haven't used chrome in a while

dapper niche
slate seal
#

ohhh okay okay

fallen totem
# lusty parcel could be a mistake in url or server issues

The live server won't open and if we have to open then it has to be done manually by opening chrome and putting the host number. And even if that page opens, it isn't live i.e. when code is updated the page won't update even after refreshing

green jackal
gloomy lily
#

lets say i have 4 tabs open, that i dont rlly need rn(for example some yt vids/music). Then I google smth in a new tab, and open everything interesting in a new tab in the background. When trying to view all of those new tabs I’d need to use ctrl+9 or maybe even ctrl+10(which isnt a thing), to switcch to the tab

idle dew
#

You can always switch between tabs with ctrl+tab and backwards with ctrl+shift+tab

dapper niche
#

hmm dont know of an extension like that, maybe you can make your own

#

there's an extension that rearranges tabs in alphabetical order, so it should be possible

nocturne badge
#

Can i get help with this problem

You are given an array containing n integers. Your task is to determine the longest increasing subsequence in the array, i.e., the longest subsequence where every element is larger than the previous one.
A subsequence is a sequence that can be derived from the array by deleting some elements without changing the order of the remaining elements.

I am trying to solve it using segment tree c++, but i get stuck at some point.
if anyone can help me pls dm

hearty idol
#

If a guy is really poor at maths like me will be able to become a good developer?

hidden forum
#

need help with a schema not grabbing the id from another schema mongoose db, anyone ?

hearty idol
#

I will really do as much as I can and will try my best

brazen walrus
stark vortex
hearty idol
#

I don't know if I can be better at it anytime soon

#

But I have no other options cuz every tech fields requires logic.

buoyant finch
#

Anyone know pumping lemma for CFL?

stark vortex
hearty idol
stark vortex
#

So what are you developing?

#

maybe I can give you few TODOs in what you are developing to improve your logic

hearty idol
#

You can give me some only HTML and CSS TODOs cuz I am currently learning JS

#

JS is vast language so it may take time to learn.

hidden forum
#

30 Days, 30 JavaScript Projects For Beginners to Practice #javascriptproject
GreatStack

#

this is at the level you are rn

hearty idol
#

Yeah I'll see

#

Thanks

hidden forum
#

just check it out, they are simple and not long js logic, but rather simple, you get to use the DOM a lot

hidden forum
buoyant finch
hearty idol
#

You can learn this topic from neso academy on YT.. That's all i can tell you.

buoyant finch
#

which is easy

hearty idol
#

Oh my bad.

buoyant finch
#

but idk how to do 4 in a language

#

the division of parts is a bit confusing

outer harbor
#

cn we use google lens on pc?

#

by using a screenshot

unique seal
#

anyone know how I can run Solidworks on Mac (ARM chip) without paying for Parallels?

Or any good CAD software that has the same capabilities and can run natively on Mac?

buoyant finch
outer harbor
#

which one?

stark vortex
#

CFL is pretty easy

#

drop questions here

#

I might be able to help

buoyant finch
#

hi what do u need help with

idle dew
#

Guys does somebody owns an FPGA

warped oxide
dapper niche
dapper niche
# hearty idol This gave me ptsd of my last sem. Theory of computation is horrible

you've done theory of computation but you have trouble with logic and have questions about math? that's really strange or backwards to me. theory of computation was one of my final classes. I did all the logic and math before that. What do you mean by you need to work on your logic? Like boolean algebra and discrete mathematics? Or converting thought and concepts into flowing code?

dapper niche
# hearty idol The latter one

really weird curriculum...I did discrete math my first year and theory of computation in my final year. not even sure what parts of discrete math are important for your average software engineering role, aside from the super basics.

#

the super basics being...the boolean algebra part

hearty idol
stark vortex
#

what help you need?

vapid dock
#

can someone lend a hand here? ive encountered an issue with windows and i have no idea how to fix it other than a complete reinstall

#

tl;dr, was doing a clean reset, reset was going smoothly until a abrupt restart at around 30%, the reset did not continue but instead booted into the user login screen. but because it has already wiped some parts of the os and data, theres no user to log into

#

and im stuck here

#

i have no idea why and how but that just happened

#

and because windows doesn't really have a centralized wiki similar to the likes of arch linux, i can't find the solution to what might possibly be just a small dumb issue myself

oblique gulch
#

i really dont know what to suggest to you other than maybe try using some windows startup media and seeing if one of the options there can help you repair the os

#

but im guessing that's the first thing you tried so idk

buoyant finch
#

anyone who knows how to code NASM?

compact wedge
#

yes

buoyant finch
winged knoll
vapid dock
#

windows was ass

#

just installed arch instead

winged knoll
#

lmaoo nice

gloomy lily
#

i also use arch btw

idle dew
#

I use Artix.

idle dew
#

I use Endeavour

stable cobalt
#

I have took a burst image with contain 20 pics..
I accidentally hit "Save N Selected Photos" instead of "Save all" and that saved only the selected photos and deleted the rest. Is there a way I can recover those other photos in the burst series that I lost ?

vapid dock
#

which i agree

#

systemd is meh

idle dew
#

My windows Bluetooth drivers got deleted Bluetooth does not show up in device manager and in hidden devices . When I run the troubleshooter it says check Bluetooth capability

deep ridge
#

i am finding a computer which:

  1. is affordable
  2. just powerful enough to watch lectures(from a website which host live lectures)
  3. view pdfs and can play videos

was thinking about raspberry pi 4 2/4 gb ram, but if there are better options, pls suggest!🙏

#

and for me being less powerful is not a problem, as i want to get less distracted by other things, so powerful pc can do a lot of things which i don't want, so basically one step towards digital minimalism

wheat silo
wheat silo
deep ridge
#

any os, and browsing too

idle dew
idle dew
deep ridge
#

100$ maybe

idle dew
#

Are you going to use it for college or something

deep ridge
#

yeah, my college has a website where they show live videos

#

basically like youtube live lectures

idle dew
#

Are you going to do projects on it?

#

Like coding or anything intensively

#

And do you live in US

deep ridge
#

not anything intensively like machine learning and stuff, but maybe some python which is not cpu intensive

wheat silo
idle dew
#

Same

#

You can get a thinkpad t series used

#

It has great upgradibilty

#

And good performance

idle dew
deep ridge
idle dew
#

James also has a thinkpad

wheat silo
deep ridge
#

but can u recommend sm sbc or minipc?

idle dew
#

What’s a abc

#

Sbc

deep ridge
idle dew
#

Bro do you live in Delhi

deep ridge
#

no

idle dew
#

I would suggest looking in you computer market area and see you can get dell optiplexs for cheap

#

But why do you want a mini PC

deep ridge
#

have a gud monitor

#

and want to keep it minimal

idle dew
#

You can plug it your laptop too

#

If your monitor has good display you won’t be able to use it because you old mini PC will only support low res

#

You won’t be able to take advantage of is display

#

Still I’ll recommend a thinkpad

deep ridge
#

i don't usually carry it anywhere, so laptop is basically just a computer for me
so thought mini-pc wud be powerful, and there won't be maintenance like its my 3rd time replacing battery of my laptop

wheat silo
deep ridge
idle dew
#

Once you see it’s perks you check it out

#

Initially my camera and bluetooth jack were not working I updated them and then my Bluetooth did not work

#

I deleted drivers because the. The device manager re installs them

wheat silo
#

Right, it happens, maybe you want to roll back the driver to the old ones or try the other one that match your bt hardware. If it's Lenovo then all the hardware specs of the laptop are listed on the web you can check it first.
Like this one:
https://support.lenovo.com/us/id/downloads/ds503592-intel-bluetooth-driver-for-windows-10-64-bit-desktop

I had similar issues back then and I tried other driver it works. There was also an issue where my bt not working all of sudden but it wasn't the driver, the cable disconnected somehow

#

I hope that helps

idle dew
#

Thanks Dee

shy whale
#

Hello! Does anyone work with QGIS and/or SIMPA?

jade summit
#

Any rumors about 2024 Boox releases?

idle dew
bleak jetty
#

my phone loses more battery in battery saver mode than in normal mode 😭Happyjoms

next beacon
#

guys i need help

#

im making a website and an image i want to use has a wierd white outline

#

and i cant get rid of it

#

but it dhousldny

#

i tried using both svg to fix this problem and png

tame kelp
jade summit
#

In gimp you can replace all pixels of a certain color with another one

uncut forge
#

anyone got any good videos explaining reductions and rices theorem? my profs lectures were kinda confusing and i couldnt really find any videos that were good

modest raft
#

anyone here works with ionic? app development

#

im trying to install it but im getting deprecated error, i even tried on vm and it was the same

#

i cant find anything about this on the internet

void mulch
#

Quick Javascript question, Why is variable "iconIndex" out of scope?

#

for (var i = 0; i < 20; i++) {
setProperty("icon" + 1, "image", iconsList[iconIndex]);
}

idle dew
#

is iconIndex defined in parent scope of for loop? or else it's defined somewhere else

void mulch
#

Sorry, but, nevermind i didn't even need that line of code and i was being stupid lol

idle dew
#

ooof, no worries

#

if you ever face with variable out of scope error just check whether the variable which you're using is either within loop's scope or in its parent scope

void mulch
#

Makes sense, Thanks :)

idle dew
#
{ 
  let test = "hi";
} // test variable will out go out of scope after this parentheses

console.log(test) // this will throw variable out of scope error
idle dew
void mulch
idle dew
#

here's a better example, if you're gonna write it in your notes

void mulch
#

alright ty

dapper niche
wanton briar
#

yo does anybody know how I can build a thinkpad

#

Cuz I know James has a bunch of thinkpads he’s upgraded

vague cedar
#

Old ThinkPads is an easy to upgrade laptop, you only need to check the correct ram that already on the laptop that you will buy, a good sata ssd and you'll be fine

vivid sky
#

i need help plss

#

the upload speed on my phone is mad slow, but when i test the speed on my pc it's the usual

buoyant finch
#

does anyone know how to do turing machines

jagged palm
#

what is the best resource to learn python

lusty parcel
#

anyone worked with xray images/ image AI-ML ?? i need DT

lusty parcel
idle dew
woven pelican
# jagged palm what is the best resource to learn python

Check out pysdr.com if you want a neat way to apply any python you learn to Digital Signal Processing and other radio-related stuff.

I'm a researcher in the US and I work with python and c++ for a living for DSP-related applications so I personally found that site useful

If you have absolutely no experience in python though, consider doing Advent of Code and googling the bare minimum of python stuff you need to solve it.

I think project based learning is best

remote wedge
charred ocean
#

Hey guys got a question about laptops, I will be going to uni next year to study cs

#

do you think a thinkpad with 16gb ram will be enough?

#

or should i go for the 32

regal path
#

16gb will be plenty, make sure it has good upgradeability though for the future

charred ocean
#

i think they are upgradeable

quasi matrix
#

Does anyone here use Emacs?

#

I need help configuring it and also I want to know how to set it is so line numbers are relative

#

it's not being saved by emacs for some reason

night osprey
#

participant= []
headcount = input("Wie viele?")
repeat headcount:
age = input("Wie alt:")
if age >= 7:
participant.append(age)
else:
print("too young", age)

print participant
can somebody help me this is for school and I tried to add floats, but everytime I tried to add one it was turned into a string and it ignored the if statement (even if I typed 5.5, which is under 7, and so it was added into the list)
the program is really bad and we use a language that is called Jython (which is not used anymore)

rain pier
#

if this works like python

#

then you need to convert whatever you get from age input() into a integer/float

#

input() function automatically turns anything into string

#

so:
age = float(input("Wie alt:"))

#

if you do this, then the program should correctly compare integer with 7 and execute accordingly

idle dew
#

Jython ☠️

idle dew
#

are you doing machine learning python or watching lectures

clever pivot
#

can anybody help rq with unix cmds?

hoary dome
#

Hi guys can anyone tell me why i5-14600kf is on bottleneck with rtx 4070

#

If im doing tests with ryzen 7 7700x3d or 7800x3d everything is okay

#

But they are pretty similar to i5-14600kf

dapper niche
#

what makes you think it's a bottleneck? the concept of X CPU is a bottleneck on Y GPU is kinda nonsense. it depends on the game and resolution

regal path
#

thats true, your specs are seriously overkill. I don't see why there would be a program that could even push it enough to bottleneck

#

unless you're using a benchmark program to force it to bottleneck. Which in that case the bottleneck wouldn't even matter because it wouldn't bottleneck running normal everyday programs

errant sorrel
#

Hi, I need help froom the guys who are using visual studio, when I am debugging how to see them values: