|
cool i now know cyclical prime stuff existBrave GNU World posted:[0, 1, 10, ..., 19, 2, 20, ...] ur lang s*cks Shaggar posted:or really theArray.length instead of n. off by one strikes again
|
# ? Dec 24, 2014 21:40 |
|
|
# ? May 25, 2024 16:47 |
|
yeah lol
|
# ? Dec 24, 2014 21:56 |
|
wait no, that should be fine?
|
# ? Dec 24, 2014 21:57 |
|
Shaggar posted:wait no, that should be fine? KARMA! posted:off by one strikes again
|
# ? Dec 24, 2014 21:59 |
|
Brave GNU World posted:[0, 1, 10, ..., 19, 2, 20, ...]
|
# ? Dec 25, 2014 04:54 |
|
don't post my javascript output
|
# ? Dec 25, 2014 05:30 |
|
Luigi Thirty posted:javascript output don't sign my posts
|
# ? Dec 25, 2014 05:40 |
|
Subjunctive posted:don't sign my posts don't post... my... signature?
|
# ? Dec 25, 2014 05:54 |
|
ShoulderDaemon posted:it's fine. if you have p coprime n then i*p mod n for i in [0,n) will generate every value in [0,n) exactly once. this is because the finite groups <Z mod n, +> are cyclic with any integer p coprime n as a generator of that group, which should give you enough to google on if you want to see the actual proof aaah, i could recall something about picking a generator for a integer field but yeah coprime sounds right
|
# ? Dec 25, 2014 07:07 |
|
Luigi Thirty posted:don't post
|
# ? Dec 25, 2014 16:55 |
|
fart simpson posted:lol the automated tool i wrote in haskell to improve one of our processes at work started to catch on, except people asked "why are you writing this and not the software team? your job isn't programming" so the software team asked for the source code so they can take over maintaining it. none of them have ever heard of haskell and they're all incredibly lazy and seem to be pretty bad programmers. i wonder if they'll ever manage to add a feature or even change a line of code without breaking everything or if they'll just throw it away and write their own crappier version in java update: they threw it away and wrote a crappier version in java
|
# ? Dec 26, 2014 05:24 |
|
sue them
|
# ? Dec 26, 2014 09:30 |
|
Brave GNU World posted:[0, 1, 10, ..., 19, 2, 20, ...] I fixed this bug in my software on Wednesday did you know .NET has no natural sort implementation? you have to DLL import the Windows one.
|
# ? Dec 26, 2014 10:09 |
|
~Coxy posted:I fixed this bug in my software on Wednesday nice plang
|
# ? Dec 26, 2014 13:32 |
|
~Coxy posted:I fixed this bug in my software on Wednesday
|
# ? Dec 26, 2014 15:59 |
|
Shaggar posted:array and list both have sort methods oh did they add natural sorting for strings at some point? because that's what we're talking about here
|
# ? Dec 26, 2014 17:09 |
|
Does string define a comparator?
|
# ? Dec 26, 2014 17:34 |
|
yeah it implements IComparable so it has a natural sort order. you could also sort w/ one of the predefined comparators or w/ ur own
|
# ? Dec 26, 2014 17:42 |
|
don't trust natural string sorting...
|
# ? Dec 26, 2014 19:42 |
|
convert all characters to ints and perform a radix/bucket sort
|
# ? Dec 26, 2014 19:52 |
|
i dont like to think about sorting
|
# ? Dec 26, 2014 20:18 |
|
MeruFM posted:don't trust natural string sorting unless LANG=C
|
# ? Dec 27, 2014 03:55 |
|
BONGHITZ posted:i dont like to think about sorting I think this weird obsession programmers have with sorting is just another aspect of their OCD manifesting itself
|
# ? Dec 27, 2014 07:44 |
|
Shaggar posted:yeah it implements IComparable so it has a natural sort order. you could also sort w/ one of the predefined comparators or w/ ur own Natural Sort not "natural" sort
|
# ? Dec 27, 2014 08:25 |
|
speaking of sorting someone linked this to me todya. thought it was p. cutecode:
|
# ? Dec 27, 2014 09:29 |
|
well i tried to follow the PL thread but now i'm here
|
# ? Dec 27, 2014 21:27 |
|
PleasureKevin posted:well i tried to follow the PL thread but now i'm here don't worry the pay is pretty much the same
|
# ? Dec 27, 2014 21:51 |
|
pointsofdata posted:don't worry the pay is pretty much the same lmao
|
# ? Dec 28, 2014 00:49 |
|
pointsofdata posted:don't worry the pay is pretty much the same
|
# ? Dec 28, 2014 00:59 |
|
pointsofdata posted:don't worry the pay is pretty much the same lol
|
# ? Dec 28, 2014 01:34 |
|
pointsofdata posted:don't worry the pay is pretty much the same
|
# ? Dec 28, 2014 01:38 |
|
pointsofdata posted:don't worry the pay is pretty much the same
|
# ? Dec 28, 2014 02:24 |
|
pointsofdata posted:don't worry the pay is pretty much the same
|
# ? Dec 28, 2014 02:40 |
|
pointsofdata posted:don't worry the pay is pretty much the same drat this loving post.
|
# ? Dec 28, 2014 03:06 |
|
switching from making an angular + json site back to making a wordpress plugin and them for a client was a really big context shift and i gotta remind myself not to do that
|
# ? Dec 28, 2014 03:13 |
|
pointsofdata posted:don't worry the pay is pretty much the same
|
# ? Dec 28, 2014 04:40 |
|
Dear ROOT: gently caress you. xoxo, ChiralCondensate
|
# ? Dec 28, 2014 08:06 |
|
pointsofdata posted:don't worry the pay is pretty much the same
|
# ? Dec 28, 2014 08:27 |
|
ChiralCondensate posted:Dear ROOT: do i accept the certificate ...
|
# ? Dec 28, 2014 09:45 |
|
|
# ? May 25, 2024 16:47 |
|
Stringent posted:grats luigi glassdoor for this company says "they pay peanuts and if you try to negotiate they'll rescind the offer the next day and call up the next guy but at least they offer full benefits" apparently they also hire on the logan's run principle which may be illegal idk
|
# ? Dec 28, 2014 22:12 |