|
shrughes posted:Oh wow, your sense of humor is different from theirs. Maybe they like eyerolls? They should be ashamed for having a different sense of humor than you. You are a superior specimen. libcxx posted:Noted anime watcher and libertarian is also an MRA. Unsurprising.
|
# ? Dec 13, 2013 22:00 |
|
|
# ? May 28, 2024 06:01 |
|
shrughes posted:Oh wow, your sense of humor is different from theirs. Maybe they like eyerolls? They should be ashamed for having a different sense of humor than you. You are a superior specimen. When you don't enjoy dumb MRA humor, you're the libertarian feminist in the alley and
|
# ? Dec 13, 2013 22:09 |
|
The important thing is that we work out what labels to apply to everyone.
|
# ? Dec 13, 2013 22:15 |
|
Remember, art is meaningless and all opinions are merely a matter of taste, which is distributed among individuals via a random number generator.
|
# ? Dec 13, 2013 22:41 |
|
shrughes posted:Oh wow, your sense of humor is different from theirs. Maybe they like eyerolls? They should be ashamed for having a different sense of humor than you. You are a superior specimen. What's amazing is how thoroughly you've managed to destroy my previously-held high opinion of you, built up over years, in just a few short weeks.
|
# ? Dec 13, 2013 23:20 |
|
None of this sounds like coding horrors
|
# ? Dec 13, 2013 23:33 |
|
What the gently caress is wrong with you guys? How does this thread always have so much god drat drama?
|
# ? Dec 13, 2013 23:36 |
|
code:
|
# ? Dec 13, 2013 23:37 |
|
Star War Sex Parrot posted:What the gently caress is wrong with you guys? How does this thread always have so much god drat drama? Kill it, wait about a month, then make a new one where the topic is restricted to ciseducated programmers ruthlessly othering scrubgrammers imo
|
# ? Dec 13, 2013 23:39 |
|
Was cleaning some old(6 months or so) code up and came upon this. I wrote this.code:
|
# ? Dec 13, 2013 23:41 |
|
Star War Sex Parrot posted:What the gently caress is wrong with you guys? How does this thread always have so much god drat drama? The clue is in the title.
|
# ? Dec 14, 2013 00:00 |
|
I continue to be confused and amazed that Urbit is a real thing and not some kind of fever dream. Also, the other day I saw a compiler error message (not in Urbit) that was a couple hundred lines long. Research languages are awesome. Opinion Haver fucked around with this message at 00:03 on Dec 14, 2013 |
# ? Dec 14, 2013 00:01 |
|
Opinion Haver posted:the other day I saw a compiler error message (not in Urbit) that was a couple hundred lines long. Research languages are awesome. But C++ isn't a research language...
|
# ? Dec 14, 2013 00:04 |
|
pre:WITH hist AS ( SELECT invoicenum, min(modified || '|' || source) as modified FROM invoices LEFT JOIN invoicehistory on lookup = invoicenum GROUP BY invoicenum ) SELECT ..., hist.modified FROM invoices JOIN hist USING (invoicenum) WHERE ... Our system prints out columns with pipe delimiters so a post-processor can convert it to .csv or .xls. Instead of just selecting both fields, our resident asshat decided it would be better to pipe delimit them straight from sql. Thus making sure that we have to un-delimit them to make links to the 'source' field, and that we can't run validation on this field before sending it out. Fantastic.
|
# ? Dec 14, 2013 00:12 |
|
Seriously? The PyGame site is a true work of art. If art were made of wet sticks and failure.
|
# ? Dec 14, 2013 01:07 |
|
Otto Skorzeny posted:But C++ isn't a research language...
|
# ? Dec 14, 2013 01:09 |
|
Opinion Haver posted:I continue to be confused and amazed that Urbit is a real thing and not some kind of fever dream. After reading this poo poo for the fourth time I think I am finally starting to understand what Urbit is. I'm not sure if I'm horrified or pleased. A network protocol with a virtual machine using a tree-based assembly language with a completely flat persisted memory model (no memory hierarchies), built for isolation where each shard is identified by either a random 128bit name or has a 64bit name issued by a name higher up in the hierarchy, allowing delegation and transfer of ownership... It's one big peer to peer computer that remembers every computation and gives people distributed identities based on social trust relationships. Canceling a task rewinds the state of your entire shard, literally undoing history. It's like you sat down to design a computing system but insisted that you can't re-use any existing concepts for your hardware, language, OS, or network. And invented your own vocabulary to describe it all. This isn't time cube, it's something... else.
|
# ? Dec 14, 2013 02:11 |
|
Ender.uNF posted:This isn't time cube, it's something... else. Bitcoin 2?
|
# ? Dec 14, 2013 02:22 |
|
It looks like Github took the repository down. It's now at https://bitbucket.org/FeministSoftwareFoundation/c-plus-equality/ManoliIsFat posted:Ya when I hear racist or sexist jokes, I'm not deeply offended or sad about the stupid thoughts that created them. It's just a matter of taste, the difference between people who enjoy an old school Andrew Dice Clay "get the gently caress outta my country you stupid chinks!" and those who find it offensive and ignorant. I mean, who are we to get all high and mighty? And here the jokes were about feminist theory and the humanities major mindset as expressed in stuff like this. I take it you think anything anybody says about Israel is anti-semitic, too. (It's perfectly reasonable to make fun of people who the humanities seriously for being idiots, that's what they're there for.) quote:Strings are called Ideals, or id for short. Feminist ideals are usually extremely well written, detailed and lengthy, clearly longer than what could be held with a simple char array. Such woman-hating men's rights activism. Let's make a list of people that starred the repository and blacklist them for life for hating women. Including a number of self-hating females. (Some people unironically started doing this before Github took the repo down.) Edit: @SteveKlabnik posted:The worst part of this is that @ariellebea 's research is super legitimate, and frankly very interesting to me. shrughes fucked around with this message at 05:56 on Dec 14, 2013 |
# ? Dec 14, 2013 05:54 |
|
I'm not siding with either side, here, actually. I think that the original research was absolutely bonkers, but this response just seemed to be laughing at the whole of feminism unironically, rather than trying to making a point to show that there's issues with Arielle's research. There's nothing positive that can come out of C+=.
|
# ? Dec 14, 2013 06:02 |
|
Suspicious Dish posted:I'm not siding with either side, here, actually. I don't know what Arielle did, but if C+= is the response, she did something right. All that indignation has got to be a cover for some serious issues.
|
# ? Dec 14, 2013 06:05 |
|
What indignation? Also, please poast 1 coding horror per post in the coding horrors thread!Perl code:
|
# ? Dec 14, 2013 06:39 |
|
If you spend that much time on a thing, either your blood is boiling or youre insane. That's all I meant. Here is a thing. Back when I still ran Fusker off my home computer, it would totally trash out with regular intervals. So I put this script in my cron: Perl code:
|
# ? Dec 14, 2013 06:50 |
|
Or you're just making a 4chan joke in the 4chan genre of humor after planning it in a 4chan thread. Speaking of coding horrors: capitalized variable names? code:
|
# ? Dec 14, 2013 07:25 |
|
shrughes posted:Speaking of coding horrors: capitalized variable names? Now by that I cannot abide. Only class names may be capitalized (and constants all-capped). Speaking of, though, does anyone know why they chose to cap methods in C#? It looks so incredibly wrong to me.
|
# ? Dec 14, 2013 07:30 |
|
shrughes posted:Or you're just making a 4chan joke in the 4chan genre of humor after planning it in a 4chan thread. So we all agree on "insane"?
|
# ? Dec 14, 2013 07:30 |
|
kitten smoothie posted:Grace Hopper is spinning in her grave ...There is great scholarship talking about weather... Good. Change your major.
|
# ? Dec 14, 2013 07:34 |
|
shrughes posted:Or you're just making a 4chan joke in the 4chan genre of humor after planning it in a 4chan thread. Unacceptable.
|
# ? Dec 14, 2013 07:51 |
|
You have to be actually retarded if it took you longer than a full minute to realize C+= was a parody. It's apparently an effective nerd tarpit, though.
|
# ? Dec 14, 2013 08:40 |
|
I think everyone gets that it's a parody. What people don't get is whether it's a parody of MRAs or Feminists
|
# ? Dec 14, 2013 08:42 |
|
Markov Chain Chomp posted:You have to be actually retarded if it took you longer than a full minute to realize C+= was a parody. It's apparently an effective nerd tarpit, though. Parodies are fine. There's nothing wrong with making a joke. But if you make a huge joke like that, and spend that much time on it, it means something to you. You have a vested interest or whatever. Nobody makes a huge intense parody about how you can't throw garbage on the street. That's all I'm saying.
|
# ? Dec 14, 2013 08:43 |
|
Carthag posted:Now by that I cannot abide. Only class names may be capitalized (and constants all-capped). I don't understand why so few languages use semantic casing. In Haskell, variables and functions (i.e. value bindings) must begin with a lowercase letter, while the names of types, typeclasses and similar things must be capitalised. Not sure how the distinction would work in a C-ish language, though. I suppose it could be used to get avoid 'typename' cruft in C++.
|
# ? Dec 14, 2013 10:46 |
|
Uppercase method names in C# and also potentially in C++ (as per the Google style guide, for example) get to be nice. It makes them instantly distinguishable from variable names, variables that contain functors for some reason, and also it makes autocomplete be slightly more accurate slightly quicker. Since it's relatively rare in C++, it helps distinguish between "your functions" and "the other functions", so you know that stuff that's lowercased might be some weird STL-style or C-style API -- if that sort of thing is weird to you (and if you're following the Google style guide at Google, it would be). Also Carthag I don't see why you're trying so hard to convince yourself that some 4channer is a bad women-hater. You're making the fundamental attribution error, for one, and it's as if you haven't heard the phrase "for the lulz" ever before. (e: If we're going to follow your logic, does it say something about you that you're so ready to assume others' behavior is grounded in some kind of category-hating intent?) shrughes fucked around with this message at 11:01 on Dec 14, 2013 |
# ? Dec 14, 2013 10:58 |
|
This all sounds like Budapest Notation.
|
# ? Dec 14, 2013 11:09 |
|
shrughes posted:Also Carthag I don't see why you're trying so hard to convince yourself that some 4channer is a bad women-hater. You're making the fundamental attribution error, for one, and it's as if you haven't heard the phrase "for the lulz" ever before. (e: If we're going to follow your logic, does it say something about you that you're so ready to assume others' behavior is grounded in some kind of category-hating intent?) nice reasoning doggo. ive spent maybe two minutes total on this, you cant write up all that stuff real quick. Also please don't use the word l*lz without a trigger warning.
|
# ? Dec 14, 2013 11:10 |
|
A client was complaining about poor performance with a webpage. It consists of two multiselect lists, and the ability to transfer items between the two. It was fine with a few hundred items, but they tried it with 10,000 items and it poo poo itself. I found this JS function being called to resort the "destination" listbox every time an item was shifted between the two: code:
code:
New Yorp New Yorp fucked around with this message at 16:55 on Dec 14, 2013 |
# ? Dec 14, 2013 16:50 |
|
It's a dropdown list (that you can multiselect) right? How is listBox.length returning a value? You'd want them to use listBox.options.length in this case right? Anyways, I think you want to just pass in a function to sort to compare. However I don't think there is a guarantee of stableness. listBox.options.sort(function(a, b) { return a.text < b.text ? -1 : a.text > b.text ? 1 : 0 })
|
# ? Dec 14, 2013 17:35 |
|
Strong Sauce posted:It's a dropdown list (that you can multiselect) right? How is listBox.length returning a value? You'd want them to use listBox.options.length in this case right? There's no sort function on the options object. I rewrote it with a binary search/insert and it's a bit faster than my naive solution. I'd say it's well within the "acceptable" range now. Still, suggestions are appreciated.
|
# ? Dec 14, 2013 17:57 |
|
Carthag posted:Parodies are fine. There's nothing wrong with making a joke. But if you make a huge joke like that, and spend that much time on it, it means something to you. You have a vested interest or whatever. Nobody makes a huge intense parody about how you can't throw garbage on the street. So what you're saying is that FizzBuzz EE was written by someone who still holds a grudge about failing their first coding interview, right? It was an over the top parody that clearly wasn't meant to be taken seriously. Why is this still being discussed?
|
# ? Dec 14, 2013 18:11 |
|
|
# ? May 28, 2024 06:01 |
|
because you can only gloss over all these mean-spirited 'satires' of feminism for so long before it makes you seriously uncomfortable with the software engineering community & its treatment of women, so every little thing starts to stand out. that is why. personally my #1 thing is how after months of asking we still haven't been able to get the Scala thread renamed to something without "whore" in the title. with examples like that constantly in your face, it's grating to be constantly told: everything is fine on the gender relations front as long as you Stop Talking About It. Stop The Drama!
|
# ? Dec 14, 2013 19:13 |