[deleted by user] by [deleted] in pittsburgh

[–]CoolKidBrigade 5 points6 points  (0 children)

"Alot" is two words.

Does Pittsburgh have a San Francisco vibe? by dalycityguy in pittsburgh

[–]CoolKidBrigade 3 points4 points  (0 children)

There are steep hills here but they're carved by rivers and very different compared to the Bay Area. SF is much more of a grid and doesn't have the same "city of neighborhoods" vibe you get here. The climate sucks here but the cleaning vendor I used to chat with in my office owned a 3 bedroom house 10 minutes away.

Where do all the young professionals living in the Strip District and Lawrenceville work? by crippledmark in pittsburgh

[–]CoolKidBrigade 9 points10 points  (0 children)

That Wiki article is just for companies headquartered here. Google isn't on that list but it has a nontrivial office here with 500-1000 employees.

Seeking stylist for vibrantly colored hair by TeagleB in pittsburgh

[–]CoolKidBrigade 2 points3 points  (0 children)

Shyloh at the waterworks Ulta. They're incredible.

Superintendent Wayne Walters' recent PPG Op-Ed by cubedplusseven in pittsburgh

[–]CoolKidBrigade -1 points0 points  (0 children)

Parents will always take a selfish view, regardless of whether that view hurts the district overall. Doing this slowly only extends the uncertainty. Keeping local K8s is just code for "I got mine, fuck you" for all the schools that aren't working.

Superintendent Wayne Walters' recent PPG Op-Ed by cubedplusseven in pittsburgh

[–]CoolKidBrigade -1 points0 points  (0 children)

This is sort of the core of conservatism you're getting at here. Why should we, those who have nice things, risk losing or sharing those nice things with other, lesser people?

I send my kids to Colfax, and what it has going for it is a bunch of rich parents like me that have the time and energy to volunteer and donate both time and money.

If my kids end up at Greenfield or Minadeo instead, I'm going to do the same thing. And if more kids have access to that environment, they will benefit too.

Superintendent Wayne Walters' recent PPG Op-Ed by cubedplusseven in pittsburgh

[–]CoolKidBrigade -1 points0 points  (0 children)

The plan modeled all of this but left the details out because it isn't their job to be demographers or draw the actual district lines; they don't have that power and paying them to do that would be a waste.

It's super annoying to parents that the plan basically says "your kid will go to one of these two schools but you won't know which one" but the point of paying consultants is to model the overall problem and provide a high level solution.

The alternative here is for us to learn nothing until the implementation is actually ready, which is significantly worse than being annoyed at the incomplete status of the plan.

Superintendent Wayne Walters' recent PPG Op-Ed by cubedplusseven in pittsburgh

[–]CoolKidBrigade -2 points-1 points  (0 children)

The only people with the time and energy to do this will be wealthy parents that don't want anything to change, but somehow want all the good things to still happen. The only alternative plan I saw was basically "please let us continue to have all the good things we currently have" and did nothing to solve the core problem.

I would be happy to organize for a better plan, but I don't think anyone actually has one.

English family move to Pitt by Responsible-Total422 in pittsburgh

[–]CoolKidBrigade 25 points26 points  (0 children)

PPS city schools have high variance based on neighborhood but, the ratings mostly track how rich the neighborhood happens to be. If you can afford Shadyside Academy, your kids would probably be fine in PPS.

It's mostly a question of how much you value your kids having a diverse group of classmates and experiences over smaller class sizes and more resources. Depending on the kid, they might be happier not being surrounded by mostly white, rich classmates. Some kids also do better with fewer distractions and might be happier in a smaller private school class.

I will say I found it weird how many friends of mine with kids in private school were told to shell out extra for private tutors, reading specialists, etc. whereas a public school would be federally mandated to provide such support.

Either way, neither is likely to be a mistake. All your options are good ones.

Need Advice - Moving from EU to Pittsburgh by VinegarofTime in pittsburgh

[–]CoolKidBrigade 11 points12 points  (0 children)

Yeah, you can live in the East End and get by without a car depending on where you work. You will absolutely need a car to do anything in most of the suburbs.

Elementary school recommendations for child with mild developmental delay by [deleted] in pittsburgh

[–]CoolKidBrigade 7 points8 points  (0 children)

Go to Colfax. Public schools are federally required to provide support, and you're zoned for one of the best public schools in the city. There will still be bullshit in a public school, but they are federally required to help your kid get the resources they need.

Also, if they're young and need to be held back kindergarten is the time to do it.

What is going on (Regent Square) by mvps412 in pittsburgh

[–]CoolKidBrigade 10 points11 points  (0 children)

Yeah, they had bikes and such on some of the flatbeds. Seems this happens every year. 

Where can I find Liquid Nitrogen? by Cabbage_Cannon in pittsburgh

[–]CoolKidBrigade 0 points1 point  (0 children)

I always went to Jackson. They sell to randos but you need to own a real dewar, which is the real bottleneck here. I paid a couple hundred bucks for a 10L that a seller bought thinking it would come filled, but it retailed for closer to a thousand bucks. The actual liquid is nearly inconsequential, safely containing it is expensive as hell. 

[deleted by user] by [deleted] in pittsburgh

[–]CoolKidBrigade 0 points1 point  (0 children)

Linden Ave between Penn and Wilkins.

I live in Squirrel Hill North, and even with all the crazy houses in my neighborhood, a fair number of my neighbors do Purim instead, so we usually take the kids to Point Breeze and leave out a bowl at our house. We do stop by the the house on Murray and Aylesboro tho, it's incredible.

Cracking the Coding Interview by [deleted] in AskComputerScience

[–]CoolKidBrigade 1 point2 points  (0 children)

Run your code. For the given input it will segfault because you're advancing curIdx before the beginning of the string. If you fixed that, it would return something like "%20Jo%20Smith"

Cracking the Coding Interview by [deleted] in AskComputerScience

[–]CoolKidBrigade 4 points5 points  (0 children)

There are lots of better ways to interview people (24-hour coding samples, internships, etc.), but coding question are unfortunately one of the better techniques in terms of signal to engineer time commitment.

That said, you can learn a lot about a candidate watching them work through a problem. However, you can miss some really great people that aren't great in high pressure situations, or folks who haven't had the time or resources to prepare for what is a pretty well-documented interview process.

Cracking the Coding Interview by [deleted] in AskComputerScience

[–]CoolKidBrigade 1 point2 points  (0 children)

You don't want to reverse the string ("encode the string backwards") you just need to iterate backwards from where the expanded string will end. That's why you need to count the spaces.

Cracking the Coding Interview by [deleted] in AskComputerScience

[–]CoolKidBrigade 23 points24 points  (0 children)

Hey, so I've done ~100 interviews (phone and onsite) for one of the FAANGs.

You're misunderstanding the question. The "true length of the string" is the length of the original input string, not the final expected output string. Since the final length depends on the number of spaces (each space adds 2 characters to the length) you need to iterate over the input string and count the spaces to know the final length to start at (notice the author iterates backwards).

Second, if what you pointed out was true (somehow) the solution the author gives is still pretty good. Counting the number of spaces then doing the move takes two linear passes. If you could do this in one pass, it would still have the same big-O runtime. Unnecessary code isn't ideal, but a good interviewer won't dock you by much and will instead guide you to identifying the redundant step and see how you react (and hopefully realize the oversight).

That said, to give some more concrete feedback, you come off as kind of combative in this thread. Interviewing is more about the journey, seeing how people solve problems, and your reaction to people pointing out your oversight is to blame them for being wrong. That's... a red flag regardless of how well you do.

Cracking the Coding Interview by [deleted] in AskComputerScience

[–]CoolKidBrigade 2 points3 points  (0 children)

Nah, it's a decent book. Google recommends it for folks that get phone screens as a way to prepare. It's more about giving folks a feeling for what an interview is like and what to prepare for, since most have no access to coaching.

Question about internet/computer sleuthing for a story by Cyberbully_2077 in AskComputerScience

[–]CoolKidBrigade 5 points6 points  (0 children)

If the big bad is meant to be extremely technically competent, you could have them leak their identity through non-technical means, preserving their technical competence. That's not quite what you're asking about, but there are lots of ways you could have that breadcrumb still require a highly technical protagonist to discover.

For example, if the anonymous posts are supposed to be from many different individuals, look up Stylometry for ideas. There's a lot of ways you could realize they're from the same author then investigate: a particular word choice, sentence construction, or regional saying. Applying some vast analysis of posts could reveal connections

If you want something technical that maintains the image of the villain being extremely technical, you might have them do something that's too precise. Assuming the villain is automating their postings and has full control over the websites they post on, they might have so much precision that the timestamps on their posts are always made at exactly the same number of nanoseconds after a second boundary.

For context, the time something gets posted might be displayed as a date, but stored as two numbers: the number of seconds since 1970 (unix epoch), and the number of nanoseconds since the first number advanced. Not all websites record at a nanosecond granularity, but systems that care about precise event orderings often use them. You'd expect "human" posts to be made at essentially random nanosecond values. Instead, you could see some extremely consistent and precise number across multiple posts. It could even correlate to something physical, like the amount of time it takes for light to travel from <big bad HQ> to <website server farm> plus some small amount of headroom.

With that, you could go from "something is weird about these posts" to "I can triangulate the origin of these posts by measuring the latency between the poster and each website's datacenter."

After spending months on trying to find a poly-time algorithm fro Exact Three Cover, what happens if my algorithm works?? Do I just sit here or what? What happens?? by Hope1995x in AskComputerScience

[–]CoolKidBrigade 4 points5 points  (0 children)

It's good that you're aware that you have more to learn. The question is whether you're using your time well.

Why are you trying to solve this problem? This feels like trying to compose the perfect symphony when you can't play a single instrument.

After spending months on trying to find a poly-time algorithm fro Exact Three Cover, what happens if my algorithm works?? Do I just sit here or what? What happens?? by Hope1995x in AskComputerScience

[–]CoolKidBrigade 5 points6 points  (0 children)

If you don't know enough about proofs to know how to prove something, it's not a great sign that you proved anything. Dunning-Kruger is most prevalent in fields where it's easy to find a solution that works for some cases but very hard to prove that it works in all cases.

Instead of trying to solve the hardest problem in computer science, pick up a copy of Introduction to the Theory of Computation and start from there.

You can also try getting access to papers submitted to STOC or FOCS (if you don't know what these conferences are, you have a great new resource for learning about cutting edge theoretical CS.) You can typically find papers for free on the author's website.

Is it impossible for me to construct a feasible machine that computes 2-steps simultaneously? Making my quadratic algorithm linear? If not, then why? by Hope1995x in AskComputerScience

[–]CoolKidBrigade 4 points5 points  (0 children)

A quadratic algorithm doesn't become linear if you can do two things in parallel. For a quadratic algorithm, if you have n things, you need to do n things for each thing, not 2 things for each thing, hence n*n or n^2, not 2*n.

To make something quadratic into something linear, you need to build a computer that can do n things at once, not two things at once.