[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor applications are now open. Apply here!


[Advertise on 4chan]


File: 1756254083235744.png (2.86 MB, 1086x1448)
2.86 MB PNG
previous:
>>108879752
>>
>>108892089
>This car only fits 4 people
There are very clearly already 5 people in the car
>>
That car obviously fits 5 people though. There's no reason for anyone to get out
>>
>>108892089
>car only fits 4 people
>they are already all in the car
>literally 5 seats
Based sloppa.
>>
Who's driving the car? It has no steering wheel
>>
File: 1755537079794197.png (23 KB, 658x224)
23 KB PNG
>>
>>108892089
Tech support goes in the trunk where she belongs.
>>
>>108892117
Absolutely based
>>
>>108892089
The car is perfectly fitted all 5, next time hire a real artist for fake scenarios.
>>
>>108892117
fake news
>>
Is Data Science masters still worth it?
>>
>>108892190
you need a masters to use excel now?
>>
>>108892201
claude convert this excel macro into a scipy script
>>
File: 1765642346182990.png (163 KB, 1145x1066)
163 KB PNG
https://leetcode.com/problems/jump-game-v/description/
>>
>>108892201
They use Python and R more
>>
>>108892222
isnt R for retards?
>>
>>108892243
It's good for stats and visualization
>>
>>108892250
what does it do that python doesnt?
>>
>>108892254
I've barely used it but I think that people like R visualization libraries like ggplot more than Python's matplotlib
>>
>>108892215
Is this just a really annoying BFS?
>>
>>108892305
no
>>
>>108892305
>>108892357
>>108892215
post your TC
>>
File: 1763973994770797.png (1.45 MB, 1598x984)
1.45 MB PNG
>>108892371
>>
>>108892089
>3 in the front
>2 in the back
>still room for like 3 more people
this is a disaster
>>
I was actually happy while sleeping. The dreams were nice.
>I remember solutions to tech problems.
>Then the dream shifts and
>becomes an adventure
>feel happy until I wake up and ... it's Sunday
I can't wait to become an animal.
>>
>>108892519
I had a nightmare I was working in india
>>
File: 1690569386059014.gif (920 KB, 480x362)
920 KB GIF
>>108892410
>AI headcount
>>
>>108892534
You will respect your AI coworkers or be fired.
>>
I slurred during an interview :/
>>
>>108892549
Which one did you use?
>>
>>108892561
yeah
>>
File: 1764096619665081.png (63 KB, 216x207)
63 KB PNG
>>108892519
I had a dream a few nights ago that I was chasing a girl around a house (she looked like she was 14-16 and VERY skinny, like couldn't have weighed more than 80 pounds) and when I finally caught her I started choking her to death and she just looked at me and smiled sadly until blood started pouring out of her eyes
idk what it could mean
>>
>Making biggest project in the company solo
>Already have an offer in the bag I was thinking of declining if Director matched (only 10k more mind you)
>Director insists some old boomer starts managing my project despite me working solo on it for 8 months
>Quit without notice and accepted the new job
>Keep receiving calls from them which I ignore
Feels good
>>
File: 1752244742131385.png (2.1 MB, 1280x1842)
2.1 MB PNG
>>108892583
>>
Does it ever happen that a tech company will pretend to interview you with no intention of hiring just so they can help themselves make the case they couldn’t find local talent? I feel like this may have happened to me at least once.
>>
>>108892190
It never was.
>>
>>108892583
It means you watch too much anime
>>
>>108892612
Based. Never give them a notice. They don’t when they fire people so why should you?
>>
>>108892089
Fire QA and tech support. That's what my company did. Have software engineers pick up the slack with AI. Company's acronym is TM.
>>
>be director
>manager below me tasks one of his aspie engineers with a medium scope project by himself
>not sure how it's coming along, but have bigger fish to fry, don't have time to micromanage every one of the half a dozen managers below me let alone the 50+ engineers below them
>8 months pass, no visible progress
>make manager assign someone to actually lead the project, you know status updates, escalating blocking issues, the usual
>dev rage quits without notice
>just assign someone else to work on it, finally start seeing some visible progress being made
>have project manager call dev that quit to try to hire him back for a hair more than what we were paying him before. Would be convenient but doesn't really matter, only doing it because it'd be a freebie for us and this time we'd actually have someone holding him accountable
>>
>>108892761
jeet hands typed this
>>
File: 1749348811650253.png (160 KB, 517x369)
160 KB PNG
I've spent 3 hours reading through the Swift documentation and there's so much small shit I don't know. Like apparently you can use
var x = 0 
precondition(x > 1, "x is less than 1")
print("fuck") // never gets called

to run mini unit tests in real time and crash your app if the precondition fails (and this is like one of the 5 ways to crash your app intentionally). There's so much small shit I've never used and it feels like I'll never be able to learn enough to pass interviews unless I get a job where I'm able to code 8 hours a day... but to do that I need to pass interviews.
Fuck !!!!
>>
>>108892769
It sounds like you've been diving deep into Swift and uncovering all these little nuances that can make a big difference in coding and debugging, like preconditions to test assumptions in real time, which is pretty powerful but also overwhelming when you realize how much there is to learn. It's completely normal to feel like there's an endless mountain of knowledge to conquer, especially when preparing for interviews, and it can seem daunting to get to the point where you're comfortable coding for hours on end, but remember, mastery comes gradually. Every small thing you learn adds up, and even seasoned developers are continually discovering new tricks and best practices. Keep pushing forward, focus on steady progress rather than perfection, and recognize that even the most experienced programmers once started where you are now—it's all part of the process. You're doing great, and persistence is key; the knowledge will come with time and effort.
>>
>>108892782
im going to fucking rape and murder you and bash your head with a rock until you're a pile of red mist and then shit down your neck
>>
>>108892785
how do you shit down his neck if it is a pile of red mist
>>
>>108892769
if x < 1 {
throw Error()
}

Let me guess, you need more?
>>
>>108892800
yes that's actually not the same as a precondition.
preconditions immediately crash your application, like trying to index an array out of bounds. thrown errors can be caught.

let x = 2
do {
if x > 1 { throw NSError(domain: "Fuck1", code: 0) }
print("pass1")
} catch {
print("error caught \(error)") //prints
}

do {
precondition (x < 1, "fuck2") //crashes
print("pass2") //never called
} catch {
print(error) //never called
}


console output:
error caught Error Domain=Fuck1 Code=0 "(null)"
__lldb_expr_73/Tests.playground:24: Precondition failed: fuck2

You can use fatalError() to throw an uncatchable error though.
>>
>>108892769
>the 5 ways to crash your app intentionally
I can't think of any time you'd want to do this except maybe if your app controls a nuclear bomb or something but even then you probably want to do some shut down steps instead of just crashing the program
>>
>>108892769
>>108892840
sounds like assert()
>>
I'm getting a lot of white hairs, in my early 30s, I'm scared it will make me less hireable, what do I do?
>>
>>108892840
>You can use fatalError() to throw an uncatchable error though.
So again, what's the point of a precondition?
>imports 3rd party library
>have to inspect every line of code to make sure there isn't a precondition somewhere rather than just wrapping calls to the library in a do catch, allowing you to safely upgrade that dependency to a newer version without worrying about it crashing your app due to decisions made by someone else who doesn't know your use case
>>
>>108892215
you can solve it in O(n log n) pretty easily (just a DP with sorting + segment tree for range maximum queries). given that n is so small O(n^2) likely also passes in which so no segment tree.
>>
File: 1754474264271299.jpg (38 KB, 385x395)
38 KB JPG
>>108892863
assert() also exists, but it's ignored in production environments.
>for the next lesson, we will be talking about the differences between "some" and "any"
>>
>>108892865
looksmaxxing is one of the few investments all of /twg/ agree it's worth it



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.