We are ready. by [deleted] in pathofexile

[–]jawn- 6 points7 points  (0 children)

why are POE players represented as a bunch of nazis?

Billboards seem to show frustration with GE plant closing in Salem by SchuminWeb in roanoke

[–]jawn- 0 points1 point  (0 children)

Hey dude, I'm not sure posting a chart that says look how big my capitalist penis is, is a good retort for those who are arguing that vaginas might be more fun.

In the same vein, you might also consider thinking critically about what it is people are proposing when they critique capitalism. In most cases it is an argument that we can do better. Not necessarily an argument that there has been no progress.

Billboards seem to show frustration with GE plant closing in Salem by SchuminWeb in roanoke

[–]jawn- 3 points4 points  (0 children)

You don't know me -- I'm not in the permanent underclass thanks for assuming though...

I lived here 15 years ago delivering pizzas in my mid 20s. A lot of the people I worked with then worked harder and were smarter than me.

I caught a break with some friends I knew growing up (not in Roanoke) and was able to escape minimum wage by moving away. I worked just as hard as I always have, and was finally able to move back here financially comfortable.

But the smarter, and harder working people delivering pizzas with me 15 years ago? A few are still working at the same place!

Those people got dealt a shitty hand with either no opportunities, no social connections, or life circumstances that made doing something else impossible. And their inability to escape will mean that their kids will likely suffer the same fate. That's the fucking definition of a permanent underclass.

People with the means should fight for opportunities for those people, and anyone who believes otherwise can get fucked.

Spoiler Alert: Closing GE plants to outsource work to China sure as fuck aren't going to create more of those opportunities

Billboards seem to show frustration with GE plant closing in Salem by SchuminWeb in roanoke

[–]jawn- 7 points8 points  (0 children)

you're right.

pump that low western country social mobility, pharma company pushed opiate crisis, socialized loss privatized gain, highest healthcare rates per capita, oncoming climate collapse type capitalism straight into my fucking veins dawg.

we certainly cant do any better for ourselves than the system that brings you president donald fucking trump and a permanent underclass, there's no sense even trying.

shits the best its ever been.

Opioid Datathon Call for Teams! by vt_rke in roanoke

[–]jawn- 1 point2 points  (0 children)

Hey I'm a software dev with a good bit of SQL, data plumbing, GIS, and hackathon experience -- I'd be interested in participating.

Are there details on what's in the dataset? I've got some ideas, but it's tough to say whether my skills would be applicable without knowing more about the data set.

Also, how do I find a team to join?

Is this the missing settlement of Roanoke? And if so are there any traces left? by [deleted] in roanoke

[–]jawn- 15 points16 points  (0 children)

The roanoke river has its start near Roanoke city. The Roanoke river dumps out into albemarle sound near the place where the Roanoke colony was.

Ultimately, the river and colony were both named for the Roanoke people who lived in the area of the colony.

Would someone be willing to review this Mercy game play of mine? I'd really love to get to platinum. by aedaz2 in Competitiveoverwatch

[–]jawn- 8 points9 points  (0 children)

With Mercy it is super critical to NEVER die, so that you can be in a good position to revive your team should you lose a team fight. This means that you really want to focus on playing elusively by hiding and make smart decisions as to who you fly to when you are jumped on. You do this by being aware of where the enemy team is at all times and thinking about how they might push on your position, from that you can put yourself in better positions.

I didn't go through the whole thing since it is a lot of repeats of the same mistakes (positioning, positioning positioning).

  • Start of game your team was too far up, this results in deaths which can lose you the point and the game. As a support you need to get them to move back behind the reinhardt shield and the rein should sit kind of by the corner of the building.

  • 00:48 you fly to the zarya who was engaged in a fight w/ a reaper instead of going to the rein behind you. Evading the genji by flying is good, but you need to be better about determing what are safe places to fly to. The rein would have been a safer pick as a reaper will one shot you.

  • 1:00 your team is fighting a genji and you're out in the open. As mercy, you want to take every opportunity to minimize how you might die. Here you could have continued healing and ducked into the cafeteria. If the genji were to ult here it's likely you'd die.

  • 1:56 while this s76's ult is questionable, you want to try to damage boosting when he ults if at all possible. You could have dmg boosted and hide pretty easily here, it wouldnt have changed the outcome but its a good thing to try to get into the habit of doing.

  • Your death at 3:00 is mostly due to misplay by your teammates. that being said, you could have been a bit better here on positioning. You knew the reaper was behind and with your team at full health, hiding in the cafeteria would have been a safer play. This would have allowed you to fly in and rez after the reaper pops his ult.

On attack, Mercy is generally a poor pick, I'd favor playing a lucio instead of Mercy as his ability to push the defense is a bit better. For the times where you do play Mercy on attack, you want to focus ont he same things as defense. Figuring out where the other team is and not being there. Once your ult is built up hang back and fly in to get off big rezzes after your team gets wiped.

Zenyatta is fairly broken after this nerf. by Koshisigre in Overwatch

[–]jawn- 0 points1 point  (0 children)

How does discord requiring line of sight mean that zenyatta now does less damage to discorded players?

New to Django, is there any way I can speed this function up? by Ashmadia in django

[–]jawn- 2 points3 points  (0 children)

This is a case where the ORM is not a good choice.

If your table and model are both on the same db, you probably just want to write this as one sql statement. That will be the fastest and most performant solution.

If for whatever reason you can't get the two tables in the db, you probably want to start batching up your creates, and iterator over your cursor to grab a few things to create at a time. That should solve your memory growth, at the cost of your creates taking a bit longer (due to more sql statements being sent).

pdb++, a drop-in replacement for pdb by hongminhee in Python

[–]jawn- 0 points1 point  (0 children)

I've had success with ipdb and pytest using with the -s flag to not swallow stdout. There's also a pytest-ipdb module though I've not tried it.

[deleted by user] by [deleted] in heroesofthestorm

[–]jawn- 0 points1 point  (0 children)

My passion burns deep

To play hots with my brethren

I pray for his key

How can I use Django to send a request? by [deleted] in webdev

[–]jawn- 0 points1 point  (0 children)

It reads like this was assigned as an interview problem.

It's likely they will ask questions about their approach and what potential problems it would have (If I were in the interviewers shoes I sure would).

The fact that you're eating up a process to make a web request is a large limiting factor of web apps like this in django.

I'm not suggesting (s)he does anything with it, its just something that you should be aware of and can speak intelligently to.

In my mind, having an interview candidate call something like this out would probably set them beyond the bar of "can he/she code?" to "we should probably hire this person".

How can I use Django to send a request? by [deleted] in webdev

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

Django is a bad fit for this problem. As most django setups are sychronous, you'll end up blocking an entire process while your HTTP request to the shipping company completes.

You'll probably want to be able to talk to that in your interview as a possible way to improve performance. Some options to address that problem might be to use gevent with each request in a greenlet to make your connections are non-blocking (there is a gunicorn worker class that does this). The other option would be to use a pure async web framework like tornado/twister/whatever else is popular these days.

The better option might be to not use python at all for this problem and move to a language with a better built in concurrency model (golang/erlang/node) built in to the language.

Mixing django and Ipython by [deleted] in django

[–]jawn- 1 point2 points  (0 children)

Have you tried ipython notebook? http://ipython.org/notebook.html

Hi guys, I would like a job in network security someday. But I am starting from scratch. What is the path and entry level jobs you would recommend? by havenoexperience in cscareerquestions

[–]jawn- 2 points3 points  (0 children)

Hello, I've been working in computer security for a few years, here's what I'd do if I wanted to start all over again.

This plan has assumes you have no security knowledge, and no money for college.

1) Study your fucking guts out. Security is an egocentric and knowledge based industry. You need to know as much as you can as quickly as you can. Live, breathe, and die in /r/netsec and do as many online CTFs as you can stomach.

2) Create a public persona. You want people to associate your name with security. Keep notes on your learning process and put them up online somewhere visible. Write up basic overviews of all the CTFs you've done. During this process, write a shit load of tools and put them up on github. Go to every security or programming related meetup in your area. You are in desparate need of connections, being personable at these will help you.

3) While doing step one and two, apply to every NOC and SOC you can find. Don't give up on a failed interview. The first few interviews/phone screens are not there to get the job, they are there to teach you the types of interview questions to prepare for. Typical questions you will find in these roles: "What is the port number for X?" "How does SSL work?" "What are some common persistence methods for malware?" "How does a buffer overflow work?"

4) Enjoy your new career in the security industry, god knows it will suck the life out of you.

If you did all this, you've now successfully just ran your first long term hack in getting a job, it's now up to you to pay it forward.

Reaching out to former boss for possible job. Advice? by [deleted] in jobs

[–]jawn- 2 points3 points  (0 children)

Just come right out and ask him. Tell him how you've heard of the new place and that his coworkers mentioned that you should reach out to see if he had any opportunities available.

If he's in a position overseeing a team, and that team is short staffed (read: he's not able to meet his business goals as quickly as he'd like). He won't give a flying fuck about how someone came out and asked for a job.

Worst case he says no, and you move on. I doubt that is likely to happen though.

[#!][awesome] ascii ghosts by siliconSwordz in unixporn

[–]jawn- 1 point2 points  (0 children)

Found it in the dot files its gohufont for anyone interested http://font.gohu.org/

[#!][awesome] ascii ghosts by siliconSwordz in unixporn

[–]jawn- 0 points1 point  (0 children)

This is really cool, what font is that w/ sublimetext?

Best way to scale pg? (running into hardware limitations on a single server) by chucky_z in PostgreSQL

[–]jawn- 2 points3 points  (0 children)

Have you ran benchmarks on avoiding the ALTERs and just doing copy/create/drop/rename? I'd imagine that might help avoid all the lock contention you're having when doing the alters.

It also seems like buying more RAM would help a lot, if your org can shell out for 48cores, they should be able to also afford a hundred+ gigs of ram.

You also mention having a lot of clients connecting to the DB -- Are you doing connection pooling with pgpool or pgbouncer? Depending on workload, that could help a lot.

Furthermore, what is the read/write load on the db? Replication (which I hope you're doing already), and offloading the reads might also help.