@izzion ... or possibly to the large quicklime pit on the back yard.
Posts made by RandomStranger
-
RE: Information security
-
RE: Joberate - does your boss know you're looking for another job?
@Jaloopa said in Joberate - does your boss know you're looking for another job?:
Is it intentional that it has berate in the name? Like it's encouraging bosses to be nasty to employees
Only employees named "Jo(e)", though, so I'm not worried.
-
RE: Apple's newest iPhone, 2016
@pydsigner It's
turtlesJavaScript all the way down! -
RE: Apple's newest iPhone, 2016
@anonymous234 said in Apple's newest iPhone, 2016:
I think we've all seen that one before. You start with a thin client, but then you inevitably end up adding a scripting language so you can do simple things like animations client-side, and then processors get better and better so people end up doing more stuff on the client, and then finally you just end up treating the simple scripting language as a full-fledged software platform.
... and then someone makes a thin client for that software platform and the cycle is ready to begin again.
-
RE: Apple's newest iPhone, 2016
@pydsigner said in Apple's newest iPhone, 2016:
@accalia said in Apple's newest iPhone, 2016:
that's about the most user hostile thing they could do apart from make the phone fatally electrocute people at random
Didn't that one happen already?
That was about setting people on fire. Electrocution by smartphone is still kind of a pioneering field.
-
RE: Apple's newest iPhone, 2016
@ChaosTheEternal said in Apple's newest iPhone, 2016:
Speaking of (via Ars Technica):
beam-forming mice reduce external noise
... awesome, I had no idea those squeaky little critters could do something like that.
-
RE: Why are we resuscitating this zombie machine?
Reminds me of the time I managed to revive the machine of my then-girlfriend's dad who had wanted to free some space on his hard-disk by deleting some files and decided to start with all those annoying files in the C:\ folder... among other magic tricks, it it involved guessing the identity of some undeleted files by their size in bytes.
-
RE: Guy brings down thousands of npm builds
Woohoo, I caught one!
/me reels in a @xaade -
RE: Guy brings down thousands of npm builds
@cartman82 said:
@RandomStranger String allocations can be a problem. Array.join trick sort of forces v8 to use its internal StringBuilder or whatever it has, since there's nothing like that available in userspace.
Not that I actually tested this, so it could be a moot point.
Well, fine. Here you go:
function pad(str, len, ch) { ch = (ch || ' ').split(''); var l = len - str.length; while (ch.length < l) { ch = ch.concat(ch); }; return ch.slice(0,l).join('') + str; }
-
RE: Guy brings down thousands of npm builds
function pad(str, len, ch) { ch = ch || ' '; var l = len - str.length; while (ch.length < l) { ch = ch + ch; }; return ch.substring(0,l) + str; }
log(n), baby! And it even works when the padding is not just a single character!
> pad("YEAH, BABY!", 20, "padding"); <- "paddingpaYEAH, BABY!"
-
RE: 🔥 Australia. Now in Europe.
And there apparently is at least one farm featuring at least wallabies there: see?.
-
RE: Texmaker doesn't like filenames with spaces
I never said the particular example I made works for everyone; just that it works for me. The point I was trying to make is, that you can figure out (by trial and error perhaps) the minimal prefix that will bring up the desired result on the first press of the TAB key. Especially for often-used files or paths this can be a time-saving investment.
In the case of "Program Files" and "Program Files (x86)" I might instead exploit the fact that "prTAB" resolves the former and "prTABTAB" to the latter (in my specific scenario - you might have to use the prefix "prog" instead) should I ever need that - it's still better than typing it all out by hand.
-
RE: [C] `strtol(string, NULL, 16);`. Or you could do it the other way...
10 little endians, written to a file...
-
RE: Texmaker doesn't like filenames with spaces
I don't use tab completion much. Still much faster for me to type bscthesis.tex than type a few letters, TAB, are we there yet, TAB, are we there yet, TAB, are we there yet...
If it's a file you use frequently, it shouldn't be too hard to figure out just how many characters you have to type to make the prefix unique. In fact, habit forming should make that almost automatic.
When I am debugging my code at work, I have to launch a webserver (Jetty) so often that typing cd \prTAB\jTAB into a shell happens almost completely from muscle memory and I dare say is a lot faster than spelling out the entire path \Program Files\Jetty. And I know for example that the "prTAB" is neccessary, because just "pTAB" would resolve to something else.
-
RE: [C] `strtol(string, NULL, 16);`. Or you could do it the other way...
You forgot to ask "big endian or little endian?"
-
RE: [C] `strtol(string, NULL, 16);`. Or you could do it the other way...
```
#define hexchar(c) ((((c) & 0x1F) + 9) % 25)So, the hexadecimal value of "WTF?" is 29951 ...
-
RE: The Ultimate pedantic pedantary
For especially cute babies, perhaps the spelling "awwsome" would have been acceptable.
-
RE: Texmaker doesn't like filenames with spaces
Much faster to type
bscthesis.tex
then"A Novel Solution To Synergistic Frobnication Of R2-D2 Widgets.tex"
There are still shells around without TAB completion for filenames?!
-
RE: How does even McDonalds screw up this badly?
Also who the fuck eats their McDonalds mozzarella sticks on a baby blanket with BARBECUE SAUCE?
Duh! The sauce was obviously for the baby - they taste rather bland without it.
-
RE: Runtastic cannot into privacy
@RandomStranger said:
Excellent. :mr_burns:
You rang?
You're an emoji?
F(a)iled under: I love how nested quotes break the quote boxes, DISCOURSE!!! -
RE: Anti-pattern: Fucking Lazy-Ass Software
VPN software for some reason is always really really shitty at usability
Not just usability. I remember using some VPN software once that, after using it almost daily (job-related) for an extended period of time (a couple of months or so), eventually completely failed to make connections, running into a time-out every time. After several hours of raging, hair-pulling and experimenting, I finally realized it had nothing to do with the network connection - it was the f-ing logging routine, which must have been doing something retarded like reading the entire logfile, append the next line to be written, and write it back to the disk. As the file grew over time (to a whopping 2 MB!!! (yes, that was sarcasm)), this asinine method took longer and longer to complete until the delays it introduced eventually broke the network code. Simply deleting the logfile returned the application to working order (and it was lightning fast, quelle surprise!). What kind of moron does it take to write logging code like that? And who on earth allowed anyone like that anwhere near what's supposed to be professional-quality security software?
-
RE: Oh god, more Unicode emoji coming
And they still have only single-color-skinned emojis. That's discrimination!
-
RE: <spoiler>pre madonna</spoiler> on a ¡Jedi! hunt
Running his own shop, he could always blame his employees.
-
RE: Do nothing without doing anything
You'll be sure to attribute us when getting that promotion, right?
Screw the credit, he owes us a share of his bigger paycheck! -
RE: Thank you, TortoiseSVN...
When I called
svn cleanup
from the command line, it still failed, but at least it gave me an error message that contained enough information (like, the exact name of thefailfile causing the problem) for me to fix it. Why can't the UI give me that same information, say, by having a button "Show Details" which does exactly that? -
RE: Totally new software development methodology that's never been tried before
"Make me a program that renders Dwarf Fortress in really high res 3D."
followed by
"Make me a nude mod for aforementioned game."
Don't deny it, you know it's true.
-
RE: Totally new software development methodology that's never been tried before
It's just a matter of time until Samaritan shuts them down.
-
RE: Apple's full of shit
As opposed to Sid Meier being the living embodiment of the abstract concept of "civilization"?
-
RE: "I'm marinating a bitcoin in a Node.js brine"What the hell is all that newfangled crap?posted in Side Bar WTF
-
RE: Server Relocation WTF
"*******" really should be safe enough for everyone.
That's kind of a boring password.
-
RE: Loopy Discounts
Visual Studio auto-applies its own indentation to VB.NET code. No idea why since it doesn't do this in C#.
As everybody knows[citation needed], VB is a language that's only used (and useful) for teaching children how to code before they're ready to move on to real languages. And since they often have trouble indenting properly while still learning, Visual Studio helps them with that so they can get accustomed to it.
Failed under: All aboard the
-
RE: L WILL NOT BLOW YOUR ■■■■■■■‌
You'd be surprised how often I hear that. Or maybe not.
-
RE: Just a regularly abnormal day
Let me esplain
... while taking a stroll down the esplainade?
they can use git as a workaround for the system that's the real
The fact that git is the saner option compared to what they already have is TR
-
RE: How much data did I use in 1970?
I can't seem to understand is why it's only 472 Byte
Discocount, obviously. (Attention: Not to be confused with Discount)
-
RE: L WILL NOT BLOW YOUR ■■■■■■■‌
Of course. "Amused" and "turned on" are different things, even though one may lead to the other.
-
RE: Fallout 4 Thread OMG SPOILERS INSIDE MAYBE
@loopback0 said:
If you go east along the top of the map from Vault 111 there's another full set near the satellite station.
That's good to know, I figured there were other sets in the game. I didn't want to Google it because I'm afeared of spoilers. (And due to work schedule and such I won't get to REALLY dig in until Friday. Probably won't even be able to touch the game today.)
What? You're not ranting at him for offering help when you DIDN'T ASK FOR HELP? Wow. Mind blown.