News for hackers. Stuff that matters.
Re:Git's list of banned C functions by kazinator on Thursday March 04, 2021 @05:31PM (#26349397)
> I teach at university as external lecturer. Teaching strings in C is the hardest thing I have to do every time.

But if you keep up the good work you will one day go from

  extern void *lecturer;
to

  static const lecturer;
Re:Git's list of banned C functions by lvs on Thursday March 04, 2021 @06:10PM (#26349827)
More commonly

     volatile unsigned short lecturer;
Re:Git's list of banned C functions by ineedasername on Friday March 05, 2021 @01:58AM (#26353705)
Actually it usually ends up being much simpler than a compiled language. Something like this:

    delete from schema.hr.employee

    where employee.employee_type = 'Lecturer'

    having rownum = cast(dbms_random.value(1,count(*)) as int)
Most Deans' computers have it mapped to alt-delete. They don't even know what it does-- it's just called the "reduce budget function". Which is really unfortunate because when they hit ctrl-alt-delete on a frozen system, but miss the ctrl key by accident, some poor lecturer gets fired and at the end of the semester the Dean says "Huh, wonder where that budget surplus came from.".

Once an entire physics department was disbanded when their Dean's keyboard had a broken ctrl key.

Re:Git's list of banned C functions by MaxBarraclough on Thursday March 04, 2021 @06:30PM (#26350019)
In C++ we'd have to decide if lecturer needs to support move semantics.
Re:Git's list of banned C functions by offbyone on Thursday March 04, 2021 @08:25PM (#26351196)
Probably just delete.
Re:Git's list of banned C functions by kbenson on Thursday March 04, 2021 @10:47PM (#26352380)
Not if they're tenured. Then you can assume they'll never move.
Re:Git's list of banned C functions by MikeTheGreat on Friday March 05, 2021 @01:08AM (#26353393)
Minor detail: lecturers don't get tenure.

The job role of 'professor' may be able to get tenure (I think these roles usually do) but 'lecturer' really means 'full time temporary teacher, with a contract for a specified amount of time.

Re:Git's list of banned C functions by ineedasername on Friday March 05, 2021 @02:10AM (#26353774)
I occasionally adjunct. What students call me at the beginning of the semester is always awkward:

Them: "Hello Professor"

Me: "Technically I'm not a professor."

Them: "Okay, we'll just call you Doctor."

Me: "Yeah, about that... not a doctor either."

Them: "So why are we paying you?"

Me: "Technically, you're paying the school. And the school is paying me... very little"

Them: "Answer the question"

Me: "Because I know stuff that you don't."

Mostly they still just call me professor and I feel awkward every time.

Re:Git's list of banned C functions by MikeTheGreat on Saturday March 06, 2021 @03:40AM (#26366067)
I knew someone who was TA'ing a class back when they were in grad school. I heard a story about him - to get ahead of this uncertainty he gave the class three options for what to call him:

1) 'Steve' (his first name)

2) 'Mr. Wolfman' (his last name)

3) 'Darth Wolfman' (funny, obvious not meant to be taken seriously, option)

Guess what the class overwhelmingly voted for? :)

Re:Git's list of banned C functions by A4ET8a8uTh0 on Friday March 05, 2021 @02:45AM (#26353986)
I don't think you should feel awkward. I refer to all my teachers in emails as professor ( unless I want to list more detailed honorifics ). My current analytics guy is clearly very smart, seems to be in that adjunct zone, but I address him as professor out of sheer respect.
Re:Git's list of banned C functions by kazinator on Friday March 05, 2021 @11:25AM (#26358620)
For all the complicated social protocols in that neck of the woods, this would be simple in Japan. You're just 先生 (sensei) and that's it.
Re:Git's list of banned C functions by mcguire on Friday March 05, 2021 @11:27AM (#26358663)
If they ever ask "What do we call you?" you should answer,

"God-Boss."

(Pace Steven Brust.)

Re:Git's list of banned C functions by thisrod on Friday March 05, 2021 @02:29AM (#26353892)
I teach first-years in Australia, where boys from private schools call me "sir". When I'm feeling mean, I tell them to drop and give me ten pushups.
Re:Git's list of banned C functions by rvense on Friday March 05, 2021 @04:13AM (#26354702)
> ten pushups

I'm guessing you don't teach computer science

Re:Git's list of banned C functions by bregma on Friday March 05, 2021 @06:52AM (#26355808)
OK. 10 push_backs() then.
Re:Git's list of banned C functions by mcguire on Friday March 05, 2021 @11:29AM (#26358684)
Re:Git's list of banned C functions by anonymousDan on Friday March 05, 2021 @06:58AM (#26355850)
Not the case in the UK at least.
Re:Git's list of banned C functions by swagonomixxx on Friday March 05, 2021 @12:42AM (#26353219)

    Professor(Professor&&) = delete;
Re:Git's list of banned C functions by InvOfSmallC on Friday March 05, 2021 @02:03AM (#26353740)
I'm not really const. I'm definitely volatile depending on the budget. It's definitely a side gig.
Re:Git's list of banned C functions by unixhero on Friday March 05, 2021 @04:05AM (#26354636)
I need a side gig, for shits and giggles. I miss uni a lot, for the community of it. Would you recommend it?
Re:Git's list of banned C functions by InvOfSmallC on Saturday March 06, 2021 @04:31AM (#26366278)
I love teach students what I know. I would love it to be a full time job. But then I realized I got it due to my work experience so...
Re:Git's list of banned C functions by sas41 on Friday March 05, 2021 @02:45AM (#26353988)
I can confirm, this is exactly what happened to me.