there's always a computer nearby unless I'm on vacation
if I'm on vacation, tough shit
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
0
admanbunionize your workplaceSeattle, WARegistered Userregular
edited June 2016
The one time I edited on a phone it was on a weekend, during a fucking Seahawks game, and they needed a blob of validation code disabled because that project was a fucking nightmare of reasons. So I just went in and commented it out directly in TFS so that they would stop fucking calling me.
The one time I edited on a phone it was on a weekend, during a fucking Seahawks game, and they needed a blob of validation code disabled because that project was a fucking nightmare of reasons. So I just went in and commented it out directly in TFS so that they would stop fucking calling me.
"oh sorry I'm losing reception I'm at 1 ba..." *switches to airplane mode*
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
KakodaimonosCode fondlerHelping the 1% get richerRegistered Userregular
This CUDA project is very annoying. I keep trying to explain how we need the algorithms designed and every time I unroll the loops and branches the other programmer comes through and adds the branches and loops back in to "make the code more maintainable." And then bitches that the performance is terrible.
Monday I'm going to have a chat with the partner and at least get this guy off the project if he keeps refusing to understand CUDA devices actually work.
This CUDA project is very annoying. I keep trying to explain how we need the algorithms designed and every time I unroll the loops and branches the other programmer comes through and adds the branches and loops back in to "make the code more maintainable." And then bitches that the performance is terrible.
Monday I'm going to have a chat with the partner and at least get this guy off the project if he keeps refusing to understand CUDA devices actually work.
Branching is fine as long as all units inside the warp branch the same way ( if somebody is replacing your SIMD style bit mask branching :fists:). Have you tried using the #pragma unroll instead of manually unrolling, I have had decent results with that approach.
So I'm moving team and one of the things the new team will be doing is doing javascripty web front end stuff that none of the other 3 peeps on the team have done aor myself.
After quickly checking the state of Flex cross compiling to JavaScript and rejecting it as not mature enough yet I've done a quick tour of other tech.
We will have to be maintaining a legacy Angular app but will also be doing green field development. Can anyone convince me otherwise that React isn't the clear and obvious choice for the green field development?
Bear in mind i think that two way databinding is the devil.
How big do you expect this project to get? Do you want to make your own build chain, or are you okay with taking a pre-baked one someone else has made for you? If the answers to those are "pretty big", and "yeah, someone else can sort that out for me", then Ember is definitely worth a look. (it used to do two-way data binding a lot but they've moved away from that pretty enthusiastically these days).
(or if you like the Angular way of doing things, there's angular-cli, which is Angular's copy of Ember's build approach. Just like how Ember's DOM building now does things the way React does, there is a lot of cross-pollination between the big frameworks, which seems like a good thing all round).
So I got an offer from the place I was interviewing at.
I had never done the thing where I refuse to name a salary before...
Umm, they offered me a 75% increase from what I currently make. And I was already making a decent amount. A++, would stonewall when they ask for salary again.
We will have to be maintaining a legacy Angular app but will also be doing green field development. Can anyone convince me otherwise that React isn't the clear and obvious choice for the green field development?
React is the good and smart choice. Pair it with Redux for extra points.
There's a decent write-up here that gives an opinionated list of JS frameworks, build tools etc, which is worth a read. If nothing else, I want to highlight AirBNB's linting rules, which I think are the quickest way to enforce a consistent coding style across a team, and will probably be really useful if everyone's starting fresh.
0
ShivahnUnaware of her barrel shifter privilegeWestern coastal temptressRegistered User, Moderatormod
Hey everyone, I have a Python question
I was writing a little thing to send stuff to pastebin (my first dealings with HTTP! Exciting!) and to do so, I'm using urllib. I was setting all the values up as a dictionary - the actual code was
then it works (in the first example, I'd assigned everything earlier, obviously).
I don't know what the difference between the two is, I had thought they were identical. Could anyone help me figure this out?
TL;DR, how is dict(one=1, two=2) different from {"one":1,"two":2}?
0
LuvTheMonkeyHigh Sierra SerenadeRegistered Userregular
It's a naming issue. In the first example, because the names are enclosed in quotes (as they usually are), you're creating keys named api_dev_key= etc, equals sign and all.
A few years ago I posted only very slightly in jest that the Flash vs HTML war was over and that Flash had won as HTML5 was the web remaking itself in the image of Flash.
A couple of years ago I mentioned that it looked like various JS frameworks were trying to badly reimplement Adobe Flex.
Working through the React tutorial and my conclusion is that they have reimplemented Flex's MXML really well for the Javascript world. That's why I like it so much.
Adobe are so incompetent as a company that over the last 8 years they've forced a complete rearchitecting of web standards and were years ahead of the curve on Rich Internet Application development yet somehow have absolutely nothing in the space.
In addition for python http stuff install requests. It does everything urllib does but better in every conceivable way.
I was just about to say the same thing. Requests is a much better library, for practically all use cases.
I got a lot of this from searching online, but, at least so far, I only use urllib for two lines, in one of like fifteen files the bot (er, looks like I didn't mention what this was for. It's part of an irc bot) uses. I'm ok with that.
I actually have another, much broader question, though. I've got several threads in the program, which most of the time is fine, but occasionally one will crash. I want to implement a thing to restart crashed threads (I've been told that this is called a watchdog?) but I am having trouble finding information on how to implement them, in general. My first instinct is to have a thread that sleeps for a second, then goes through all existing threads and sees if any of the critical ones are missing or have died, restarting those if they have. Is this the proper way to do it, or is there a better way?
Hi all, I'm finally going to dive into the fun world of VPS hosting. My long term client finally decided to pay me about 5 months after we talked about it.
Anyway, in a battle of Linode vs. Digital Ocean, does anyone have a favorite? They seem to offer more or less the same thing at the price point I'm looking at.
This CUDA project is very annoying. I keep trying to explain how we need the algorithms designed and every time I unroll the loops and branches the other programmer comes through and adds the branches and loops back in to "make the code more maintainable." And then bitches that the performance is terrible.
Monday I'm going to have a chat with the partner and at least get this guy off the project if he keeps refusing to understand CUDA devices actually work.
I thought CUDA did a lot of the grunt work of unrolling loops for you? Or am I thinking of OpenMP?
I'm guessing you all don't have a morning stand up?
It's a bit of an odd outfit here - it's a small company run on the side by the owner. He has his regular day job, so our sprint meetings are after office hours. It was literally the last thing yesterday.
And no, no standups here yet. Though we did start doing planning poker yesterday, so at least it's moving in the right direction.
Hey, other new guy on the team. Check your TFS and don't start on tasks assigned to me and then get annoyed when we've worked on the same thing.
Also my solution was better.
Maybe you two could talk more and silently pick up tasks less ;o)
I mentioned that I start the day by looking at available tasks, wink wink nudge nudge. Didn't want to be all passive-aggressive about it.
Not to mention the sprint meeting where stuff was handed out was yesterday.
Still, man, if its a problem and bothering you, just discuss if saying "Hey dude, picking up X, that cool?" is ok with both of you. Communication is always nice!
Does anyone know of any formal development methodologies or disciplines for solo programmers? A lot of stuff out there like Agile is meant for coordinating teams of people and keeping everyone on track, but a lot of that stuff is kind of ridiculous if you're just working on some side project by yourself.
What ends up happening is I make some plans then just sit down and write code and keep a list sometimes of small things I need to do, but I find myself getting off track all the time and sometimes I end up not knowing what I should do next or how to choose what to do next.
Spending the time to create a backlog with relative complexities can be very valuable for self-guided projects, even if you don't need to do sprints or whatever.
sometimes team members just space out. heck, we have a physical board with index cards and magnets that we put our names on and someone started trying to work on a task that my pair had pulled a few weeks back.
and yeah, just making a backlog and figuring out what you want to commit to doing for an iteration even if you're completely solo and that iteration isn't timeboxed at all can be useful.
Posts
Even as a daily vim user, the idea of vim on a phone keyboard is terrifying.
it's the typing
there's always a computer nearby unless I'm on vacation
if I'm on vacation, tough shit
"oh sorry I'm losing reception I'm at 1 ba..." *switches to airplane mode*
On a phone keyboard it would be unusable shit.
I made a game, it has penguins in it. It's pay what you like on Gumroad.
Currently Ebaying Nothing at all but I might do in the future.
Monday I'm going to have a chat with the partner and at least get this guy off the project if he keeps refusing to understand CUDA devices actually work.
Branching is fine as long as all units inside the warp branch the same way ( if somebody is replacing your SIMD style bit mask branching :fists:). Have you tried using the #pragma unroll instead of manually unrolling, I have had decent results with that approach.
After quickly checking the state of Flex cross compiling to JavaScript and rejecting it as not mature enough yet I've done a quick tour of other tech.
We will have to be maintaining a legacy Angular app but will also be doing green field development. Can anyone convince me otherwise that React isn't the clear and obvious choice for the green field development?
Bear in mind i think that two way databinding is the devil.
I made a game, it has penguins in it. It's pay what you like on Gumroad.
Currently Ebaying Nothing at all but I might do in the future.
But you should also give fair weight to both Angular 2 and Ember.
PARKER, YOU'RE FIRED! <-- My comic book podcast! Satan look here!
(or if you like the Angular way of doing things, there's angular-cli, which is Angular's copy of Ember's build approach. Just like how Ember's DOM building now does things the way React does, there is a lot of cross-pollination between the big frameworks, which seems like a good thing all round).
I had never done the thing where I refuse to name a salary before...
Umm, they offered me a 75% increase from what I currently make. And I was already making a decent amount. A++, would stonewall when they ask for salary again.
Holy shit I'm going to puke
There's a decent write-up here that gives an opinionated list of JS frameworks, build tools etc, which is worth a read. If nothing else, I want to highlight AirBNB's linting rules, which I think are the quickest way to enforce a consistent coding style across a team, and will probably be really useful if everyone's starting fresh.
I was writing a little thing to send stuff to pastebin (my first dealings with HTTP! Exciting!) and to do so, I'm using urllib. I was setting all the values up as a dictionary - the actual code was
but the thing didn't work. However, when I instead format it using the dict() function:
then it works (in the first example, I'd assigned everything earlier, obviously).
I don't know what the difference between the two is, I had thought they were identical. Could anyone help me figure this out?
TL;DR, how is dict(one=1, two=2) different from {"one":1,"two":2}?
I made a game, it has penguins in it. It's pay what you like on Gumroad.
Currently Ebaying Nothing at all but I might do in the future.
I was just about to say the same thing. Requests is a much better library, for practically all use cases.
A couple of years ago I mentioned that it looked like various JS frameworks were trying to badly reimplement Adobe Flex.
Working through the React tutorial and my conclusion is that they have reimplemented Flex's MXML really well for the Javascript world. That's why I like it so much.
Adobe are so incompetent as a company that over the last 8 years they've forced a complete rearchitecting of web standards and were years ahead of the curve on Rich Internet Application development yet somehow have absolutely nothing in the space.
I made a game, it has penguins in it. It's pay what you like on Gumroad.
Currently Ebaying Nothing at all but I might do in the future.
I got a lot of this from searching online, but, at least so far, I only use urllib for two lines, in one of like fifteen files the bot (er, looks like I didn't mention what this was for. It's part of an irc bot) uses. I'm ok with that.
I actually have another, much broader question, though. I've got several threads in the program, which most of the time is fine, but occasionally one will crash. I want to implement a thing to restart crashed threads (I've been told that this is called a watchdog?) but I am having trouble finding information on how to implement them, in general. My first instinct is to have a thread that sleeps for a second, then goes through all existing threads and sees if any of the critical ones are missing or have died, restarting those if they have. Is this the proper way to do it, or is there a better way?
Anyway, in a battle of Linode vs. Digital Ocean, does anyone have a favorite? They seem to offer more or less the same thing at the price point I'm looking at.
Digital Ocean has good tutorials and stuff on their website.
Avoid Rackspace, they are overpriced and tend to be dickish about shit, or will blame you for their own faults.
I made a game, it has penguins in it. It's pay what you like on Gumroad.
Currently Ebaying Nothing at all but I might do in the future.
Also my solution was better.
I was tracking down an issue in some Python scripts.
The script that had the issue looked ok, but had just a few imports.
And in pythonBase
Yes, he imported every single base Python library and some packages.
Maybe you two could talk more and silently pick up tasks less ;o)
I thought CUDA did a lot of the grunt work of unrolling loops for you? Or am I thinking of OpenMP?
https://docs.google.com/spreadsheets/d/1OLcAGbXhWIVcl5IziVpG0eKFJS3xi_Sac9kYMkRFvD8/edit?usp=sharing
I'd also note that our webdevs love Aurelia, as they looked at Angular 2 and some others and ultimately went with Aurelia.
That's not a lazy developer. A lazy developer would never take the time to type all that.
probably copied and pasted from another one where they copied and pasted from a guy in the early 90s
These are your father's imports. A weapon for a more civilized age.
I mentioned that I start the day by looking at available tasks, wink wink nudge nudge. Didn't want to be all passive-aggressive about it.
Not to mention the sprint meeting where stuff was handed out was yesterday.
I'm guessing you all don't have a morning stand up?
https://docs.google.com/spreadsheets/d/1OLcAGbXhWIVcl5IziVpG0eKFJS3xi_Sac9kYMkRFvD8/edit?usp=sharing
It's a bit of an odd outfit here - it's a small company run on the side by the owner. He has his regular day job, so our sprint meetings are after office hours. It was literally the last thing yesterday.
And no, no standups here yet. Though we did start doing planning poker yesterday, so at least it's moving in the right direction.
Still, man, if its a problem and bothering you, just discuss if saying "Hey dude, picking up X, that cool?" is ok with both of you. Communication is always nice!
Or wrote a script that was basically
What ends up happening is I make some plans then just sit down and write code and keep a list sometimes of small things I need to do, but I find myself getting off track all the time and sometimes I end up not knowing what I should do next or how to choose what to do next.
and yeah, just making a backlog and figuring out what you want to commit to doing for an iteration even if you're completely solo and that iteration isn't timeboxed at all can be useful.