|
i used vim exclusively for my os class cuz it was all c and what the instructor used, but i never learned more than how to do regex replace and jump through lines by token. cant remember any of that now tho.
|
# ? Oct 21, 2016 05:39 |
|
|
# ? May 23, 2024 12:28 |
|
mekkanare posted:Everyone doesn't do this already since having Ctrl in the corner more to the point what the gently caress else are you doing with your capslock key
|
# ? Oct 21, 2016 05:44 |
|
^^ Remap for Ctrl, obviously. hifi posted:i can't parse this sentence Sorry. I assumed mashing Ctrl with their palm was something people already did, ever since using a keyboard that had Ctrl in the lower corner of their keyboard. LeftistMuslimObama posted:i used vim exclusively for my os class cuz it was all c and what the instructor used, but i never learned more than how to do regex replace and jump through lines by token. cant remember any of that now tho. Try typing vimtutor in your shell
|
# ? Oct 21, 2016 05:49 |
|
i think i grew up with terrible typing posture so it feels unnatural to do that. plus it seems imprecise with low travel laptop keys
|
# ? Oct 21, 2016 05:50 |
|
VOTE YES ON 69 posted:okay im installing spacemacs because 1) i hate myself 2) everyone i work with is an emacs user and idk that doesnt really matter does it you can just use it for a little bit to get hooked and see what you can work towards and then start from scratch
|
# ? Oct 21, 2016 05:55 |
|
VOTE YES ON 69 posted:more to the point what the gently caress else are you doing with your capslock key tells you if there's a graphical lag or if the system is hard locked
|
# ? Oct 21, 2016 06:16 |
|
eschaton posted:also when LMO comes out here for an interview maybe we can have another Bay Area goonmeet if this happens before christmas then i will just wait for it otherwise i will have to invoke the sacred rite of yosmeet while i'm still here
|
# ? Oct 21, 2016 06:22 |
|
Ugh, in the process of scheduling an SF trip soon. The only downside of remote work for SV companies is that you have to go to SF more than never. By that I mean you have a fine and wonderful city I love visiting and watching junkies shoot up at 8am in.
|
# ? Oct 21, 2016 06:43 |
|
my uncle lives right by manresa beach and worked in san jose for like 20 years and i think about how i wouldnt mind doing that
|
# ? Oct 21, 2016 06:49 |
|
MALE SHOEGAZE posted:i watched this https://www.youtube.com/watch?v=SzA2YODtgK4 and learned how to create links into files with org mode and holy poo poo this is going to change my life. thanks for this!
|
# ? Oct 21, 2016 08:27 |
Sometimes I feel like I am the only programmer in the world who actually uses their capslock key. It's useful for when you have to type more than a few capital letters in a row, like if you are giving a name to a GLOBAL_STATIC_VARIABLE or if you are coding in FORTRAN77.
|
|
# ? Oct 21, 2016 08:54 |
LeftistMuslimObama posted:bloody's recruiter claims i aced the rest hard enough to skip their technical screen. i will have to try hard not to burn any vacation as impromptu "gently caress this" days for the rest of the year. unless sf companies do weekend interviews Hell yeah. Let us know how it goes; this thread is rooting for you.
|
|
# ? Oct 21, 2016 08:54 |
|
VikingofRock posted:giving a name to a GLOBAL_STATIC_VARIABLE or if you are coding in FORTRAN77. I think I found your problem.
|
# ? Oct 21, 2016 09:52 |
|
MALE SHOEGAZE posted:i watched this https://www.youtube.com/watch?v=SzA2YODtgK4 and learned how to create links into files with org mode and holy poo poo this is going to change my life. So this is "that guy" at your office who you have to remind constantly that you don't speak neck beard. VikingofRock posted:Sometimes I feel like I am the only programmer in the world who actually uses their capslock key. It's useful for when you have to type more than a few capital letters in a row, like if you are giving a name to a GLOBAL_STATIC_VARIABLE or if you are coding in FORTRAN77. I used to until in intellij I could just auto covert static finals to caps with a click.
|
# ? Oct 21, 2016 11:50 |
|
geeves posted:So this is "that guy" at your office who you have to remind constantly that you don't speak neck beard.
|
# ? Oct 21, 2016 12:26 |
|
VikingofRock posted:Sometimes I feel like I am the only programmer in the world who actually uses their capslock key. It's useful for when you have to type more than a few capital letters in a row, like if you are giving a name to a GLOBAL_STATIC_VARIABLE or if you are coding in FORTRAN77. i write SQL all day long and I STILL don't use caps lock despite having it bound to a hotkey just in case
|
# ? Oct 21, 2016 12:43 |
|
I hold caps lock and it's control. I press caps lock and it's escape get on my remap level
|
# ? Oct 21, 2016 12:48 |
|
Well, apparently being nice to students doesn't work. We run a programming course for 3rd semester students and to be nice, we decided to give them all the tests that are run against their code upon submission, together with test reports from the tests after submission, etc. The result is this beauty code:
|
# ? Oct 21, 2016 13:28 |
|
the logical conclusion of tdd
|
# ? Oct 21, 2016 13:31 |
|
lol it's machine learning without the machine, it's beautiful
|
# ? Oct 21, 2016 13:37 |
|
the main pro of spacemacs is you have some spergelord managing your config the main con of spacemacs is you have some spergelord managing your config
|
# ? Oct 21, 2016 13:51 |
|
hackbunny posted:lol it's machine learning without the machine, it's beautiful Well I added input order randomization, let see what he does with that. Seriously though, if he does this again for the next homework, no more tests and outputs for students. We played nice under the assumption that they will also play nice, if they don't...
|
# ? Oct 21, 2016 13:55 |
|
"here is half of the unit tests your code will be expected to pass" also must pass ubsan/asan/tis-interpreter/etc (enforced where feasible)
|
# ? Oct 21, 2016 13:59 |
|
Bloody posted:"here is half of the unit tests your code will be expected to pass" We run stuff under valgrind, but only at half the points penalization for reasons. Sanitizers are a no go, because currently the time per evaluation is ~10seconds, 9 of which is compiling stuff. (We cannot precompile Catch's test main for much, much stupider reasons) ---- goddamit C++ code:
Xarn fucked around with this message at 14:18 on Oct 21, 2016 |
# ? Oct 21, 2016 14:06 |
|
comedyblissoption posted:the main pro of spacemacs is you have some spergelord managing your config yeah this is it exactly. it's great when it works and gives you what you want, but when it doesn't it's aggravating as hell
|
# ? Oct 21, 2016 14:28 |
|
this is called "adversarial test-driven development" and in general it is quite a hard problem when the person writing the test is confronted with a sufficiently motivated adversary
|
# ? Oct 21, 2016 14:31 |
|
leftist heap posted:yeah this is it exactly. it's great when it works and gives you what you want, but when it doesn't it's aggravating as hell i totally agree. it has, however, gotten much better. it's far easier to add your own layers now, which was incredibly difficult when i first started using it.
|
# ? Oct 21, 2016 14:48 |
|
qntm posted:this is called "adversarial test-driven development" and in general it is quite a hard problem when the person writing the test is confronted with a sufficiently motivated adversary I don't think there is a point when the programmer has to do actual work for pure tests (ie no implicit state), as long as he is given the expected output for the input. It is mildly amusing to me that in both cases, the fake outputs are ~amount of code as the proper algorithm.
|
# ? Oct 21, 2016 14:49 |
|
in sql server is there a way to get like the last time a stored procedure was blocked and what it was blocked by? trying to search in google and all i get is a million blog posts titled "HOW TO IDENTIFY BLOCKING IN SQL SERVER" and the actual post is two to five paragraphs on how important locks are and what they are and how blocking can be a problem and then it just tells you to look at the activity monitor to identify blocking. which is completely worthless for anything except the db choking on something and you need to fix it RIGHT NOW
|
# ? Oct 21, 2016 15:47 |
|
Xarn posted:Well, apparently being nice to students doesn't work. they did this for a couple classes i took too, but they used heinously obscured python for the job. like, they wrote libraries where everything had fucky names and calling conventions so that they could then write test harnesses where everything was also incomprehensible to a human reader. it was pretty impressive.
|
# ? Oct 21, 2016 15:56 |
|
ok git people I'm thinking about development branches. I'm thinking of two scenarios. 1) Devs create feature branches off master (which is always assumed to be stable and deployable), do their work in their feature branch. Feature branch code review'd, then is given to QA; they deploy feature branch to their QA env and gets merged back into master once it's tested. 2) Devs create feature branches off a development branch (which is always assumed to be unstable). They do their work in the feature branch, have it code review'd then after review it's merged into the unstable branch. QA tests the features in the unstable branch and when it gets to release time, a massive fuckoff merge is done from unstable to master. I've typically worked under scenario #2, but we're a few weeks away from switching to git as our version control, and I'm seeing the advantages of doing scenario #1 (which is essentially github flow). #2 is like git-flow for lazy people.
|
# ? Oct 21, 2016 17:26 |
|
the problem with one level of feature branch is that if you're developing multiple features in separate branches for the same release, they have to be merged together at some point for testing. if you do that in trunk then trunk is no longer stable so that's why you have a QA branch. The alternative is acknowledging trunk as unstable but then testing specific revisions of trunk and tagging them as stable once QA is complete.
|
# ? Oct 21, 2016 17:37 |
|
you should keep master unstable, run ci on it, and then cut stable release branches which you also run ci on
|
# ? Oct 21, 2016 17:52 |
|
Shaggar posted:The alternative is acknowledging trunk as unstable but then testing specific revisions of trunk and tagging them as stable once QA is complete. rjmccall posted:you should keep master unstable, run ci on it, and then cut stable release branches which you also run ci on The issue I see here is that QA wants to test on a per-feature i.e. per-jira ticket basis. They don't test full releases, necessarily. They start testing a feature when we resolve the jira ticket and move on to other work. So, the problem I'm trying to avoid is where we end up with a branch that has poo poo from last sprint mixed in with poo poo from this sprint, so your timeline looks like: v1 -- v2 -- v1 -- v2 -- v1 Instead, I want the timeline to be: v1 -- v1 -- v1 -- v2 -- v2 Where v1 is Sprint v1 and v2 is Sprint v2.
|
# ? Oct 21, 2016 18:23 |
|
if each ticket gets merged as a branch when complete, how are you getting v1-v2-v1 anyway?
|
# ? Oct 21, 2016 18:31 |
|
rjmccall posted:you should keep master unstable, run ci on it, and then cut stable release branches which you also run ci on this is the only method i've even known
|
# ? Oct 21, 2016 18:37 |
|
HoboMan posted:this is the only method i've even known This is what we do... Our ceo works on the branch which is currently in production all the time and then some fucker gets to merge his, um, code. Once he had a single commit against two branches at once because his workspace was hosed
|
# ? Oct 21, 2016 20:19 |
|
i have heard stories from several companies which do most work on release branches and then merge back to master afterwards, only to immediately rebranch for the next release surprise surprise it creates a poo poo ton of extra work for everyone (but especially whoever does the merge), makes commit histories completely unreadable, requires trunk to get locked for weeks every few months, and means trunk is basically worthless all the time
|
# ? Oct 21, 2016 21:09 |
|
stable master, use feature flags and compiler defines to disable functionality not meant for release, every commit has to pass ci
|
# ? Oct 21, 2016 21:25 |
|
|
# ? May 23, 2024 12:28 |
|
rjmccall posted:i have heard stories from several companies which do most work on release branches and then merge back to master afterwards, only to immediately rebranch for the next release this is what we do but also we only release every 18 months to 2 years and poo poo completely breaks for like a month between every release like clockwork. so bad.
|
# ? Oct 21, 2016 21:31 |