The Official Status Thread
-
@tsaukpaetra said in The Official Status Thread:
@pie_flavor said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
Status: Java...
//In-line implementation of comparator because of course you can't sort changelists.... Collections.sort(list, new Comparator<IChangelistSummary>() { public int compare(IChangelistSummary one, IChangelistSummary two){return Integer.compare(one.getId(),two.getId());}});
Uh
list.sort(Comparator.comparing(IChangelistSummary::getId));
@tsaukpaetra said in The Official Status Thread:
I'll see about amending the commit
Cancelled that. Apparently you can't have method references in Java 1.7, and the ID is protected.
Would that we could all use the nice things.
Oh, you're stuck using Java 7? You can't use any functional style stuff, then, and your original anonymous class stuff is correct. IntelliJ is just having the access restriction error override the feature version level error.
You should probably stop using Java 7. :P
-
@maciejasjmj said in The Official Status Thread:
@pie_flavor said in The Official Status Thread:
@tsaukpaetra You should learn to Java then. Cargo cult == bad.
At least recognize that if you are making an anonymous class as an interface implementation, you are already doing it wrong.
Wasn't that the de facto way to wrap a delegate before Java figured out how delegates work? I seem to recall writing a lot of those for GUI event handlers.
Java hasn't figured out how delegates work. Functional interfaces don't completely suck ass, considering the myriad of ways they could have truly ruined it, but event handlers by and large utilize abstract classes, which means you can't use lambdas with them.
-
@pie_flavor said in The Official Status Thread:
You should probably stop using Java 7.
Not my choice. This is a plugin for Jenkins, I have no idea what the requirements are, I'm just modifying it.
-
Status: Impossibru!
-
@accalia said in The Official Status Thread:
i also have an old acorn that's not feeling well but i don't have the right adaptor for it to find out why yet as the adaptor i have is for the otehr side of the pond.
I didn't know anyone had even heard of acorn on your side of the pond
-
Status: Realized the time zone was set incorrectly on a build slave. I fixed that and it did this:
-
Status: Was looking over old issues, seeing if there was anything I forgot to address. I had forgotten about this one. My response:
This plugin is written for API 6. Any functionality whatsoever on lower or higher major API releases is completely coincidental.
Just cracked me up for some reason. If only I could respond to all my issues with 'This JAR file is a bunch of bytes that some program on my computer spit out. Any similarity to or functionality as a Sponge plugin is completely coincidental.
-
@pie_flavor said in The Official Status Thread:
Apparently her computer's VGA port is busted, which makes me remember her mentioning to someone else that she was having difficulty fitting the plug in. Did she employ the user strategy of "if it doesn't fit, force it"?
That would be a very solid bet. There's a slim possibility that the little pins could be lined back up well enough that it'd work, but don't count on it.
-
Status: Trying out a dedup program "dupeGuru" because why not. Set it to target a network folder that's pretty much guaranteed to have multiple copies of things:
Because this was before the age of semi-sanity, "backups" were apparently nothing more than "smash a copy of your Projects folder somewhere on the NAS every now and then", which copies of course included gigabytes of generated and cache files.
Hoping to reduce this to < 300 GB. Pretty sure I can do it too...
-
@accalia said in The Official Status Thread:
I am so glad my PC is up for replacement (come hell or high water, possibly litteraly) in January
If it's close to the shore, it could be littoral, literally.
-
@tsaukpaetra said in The Official Status Thread:
Status: Java...
//In-line implementation of comparator because of course you can't sort changelists.... Collections.sort(list, new Comparator<IChangelistSummary>() { public int compare(IChangelistSummary one, IChangelistSummary two){return Integer.compare(one.getId(),two.getId());}});
Why are you putting that on one line? It's making the code look far worse than it is.
//In-line implementation of comparator because of course you can't sort changelists.... Collections.sort(list, new Comparator<IChangelistSummary>() { public int compare(IChangelistSummary one, IChangelistSummary two) { return Integer.compare(one.getId(), two.getId()); } });
That's better! (Provided you're stuck on Java 7.)
-
@dkf said in The Official Status Thread:
Why are you putting that on one line?
To reduce the diff count of course! PRs are more likely to be accepted if it looks like not much was changed, right?
-
@tsaukpaetra said in The Official Status Thread:
To reduce the diff count of course! PRs are more likely to be accepted if it looks like not much was changed, right?
We have checkstyle rules to stop that sort of thing; if the code style is bad enough, the build fails.
-
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
To reduce the diff count of course! PRs are more likely to be accepted if it looks like not much was changed, right?
We have checkstyle rules to stop that sort of thing; if the code style is bad enough, the build fails.
I have no idea what that is.
Doesn't matter anyways, seems my commit was in a private repo (How to make it not so?) and nobody can see it, and therefore nobody can really review it, and it's therefore impossibly unlikely to be shoved back into the main sources until I ask support@perforce.com for better instructions on how to properly contribute to their fucking swarm...
No, I'm not salty.
-
@tsaukpaetra said in The Official Status Thread:
Doesn't matter anyways, seems my commit was in a private repo (How to make it not so?) and nobody can see it, and therefore nobody can really review it, and it's therefore impossibly unlikely to be shoved back into the main sources until I ask support@perforce.com for better instructions on how to properly contribute to their fucking swarm...
-
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
Doesn't matter anyways, seems my commit was in a private repo (How to make it not so?) and nobody can see it, and therefore nobody can really review it, and it's therefore impossibly unlikely to be shoved back into the main sources until I ask support@perforce.com for better instructions on how to properly contribute to their fucking swarm...
They're not on a local instance, they're on perforce's swarm itself.
Here's the relevant changelist:
-
@tsaukpaetra said in The Official Status Thread:
They're not on a local instance, they're on perforce's swarm itself.
Huh. That puts it into the โwell that isn't very obvious any moreโ category. And might require a person to do with the right access.
-
Status: changed file's extension from .tt to .cs in Visual Studio. After 2 minutes, it's still hung and using 40% CPU.
-
I'm gonna leave it until the morning and see what happens.
-
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
They're not on a local instance, they're on perforce's swarm itself.
Huh. That puts it into the โwell that isn't very obvious any moreโ category. And might require a person to do with the right access.
Yeah. I dunno. I mean, I can see it just fine when not logged in. Technically, if a reviewer were so inclined they could totally just take diff and apply it to the main branch theirself.
-
Nah, fuck this. At this point I'm pretty sure it's never gonna finish.
-
Status: Downloaded file had no permissions. None at all. And badly-written software just churned away claiming to be opening it forever before I worked out what was going on.
I believe it should inherit permissions from the 'download' folder it was saved into so NFC how this broke. Deeply weird.
-
@japonicus said in The Official Status Thread:
@accalia said in The Official Status Thread:
i also have an old acorn that's not feeling well but i don't have the right adaptor for it to find out why yet as the adaptor i have is for the otehr side of the pond.
I didn't know anyone had even heard of acorn on your side of the pond
:-D
i'm a strange one.
-
@hardwaregeek said in The Official Status Thread:
@accalia said in The Official Status Thread:
I am so glad my PC is up for replacement (come hell or high water, possibly litteraly) in January
If it's close to the shore, it could be littoral, literally.
i've taken to storing an open just of water on top of the tower. if january comes and goes without a replacement there may be an accident
>_>
<_<
>_>
"accident"
-
@tsaukpaetra said in The Official Status Thread:
As far as I can tell, it is...
[root@bob ~]# ntpdate -q domainserver.office.workdomain.com server 192.168.1.199, stratum 2, offset -0.081667, delay 0.02621 7 Nov 13:52:33 ntpdate[59323]: adjust time server 192.168.1.199 offset -0.081667 sec
You've discovered this by now but yeah, if it was then the other side wasn't. Kerberos requires both peers' clocks to be within five minutes of each other to prevent replay attacks. :)
-
@tsaukpaetra said in The Official Status Thread:
Hoping to reduce this to < 300 GB. Pretty sure I can do it too...
Easy: format the NAS
-
@accalia said in The Official Status Thread:
an open just of water
My caffeine level is too low to even guess what word you intended. You know what? It doesn't matter; the idea is obvious, even if the specific container is not. Carry on.
-
@hardwaregeek said in The Official Status Thread:
the idea is obvious
Right, the idea is to accidentally the just of water.
-
@heterodox said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
As far as I can tell, it is...
[root@bob ~]# ntpdate -q domainserver.office.workdomain.com server 192.168.1.199, stratum 2, offset -0.081667, delay 0.02621 7 Nov 13:52:33 ntpdate[59323]: adjust time server 192.168.1.199 offset -0.081667 sec
You've discovered this by now but yeah, if it was then the other side wasn't. Kerberos requires both peers' clocks to be within five minutes of each other to prevent replay attacks. :)
Nah, something else was wonky. For whatever reason, it's very easy to trip up the Active Directory connection in FreeNAS, and often enough if it fails in an unexpected way there's no way to recover from that except rebooting.
Reboot did fix it BTW.
-
@hungrier said in The Official Status Thread:
@hardwaregeek said in The Official Status Thread:
the idea is obvious
Right, the idea is to accidentally the just of water.
It's an accident just waiting to happen.
-
@accalia said in The Official Status Thread:
i've taken to storing an open just of water on top of the tower
Just water may not be sufficiently destructive - adding some electrolytes would be useful. Stickiness also helps. From past experimentation, I recommend soft drinks or milky coffee for optimal efficacy.
-
@japonicus said in The Official Status Thread:
@accalia said in The Official Status Thread:
i've taken to storing an open just of water on top of the tower
Just water may not be sufficiently destructive - adding some electrolytes would be useful. Stickiness also helps. From past experimentation, I recommend soft drinks or milky coffee for optimal efficacy.
iwas planning on using salt water, a supersaturated solution at that.
it's for my fishtank at home. I just brought it in for testing at the local lab on my lunch hour and it just spilled everywhere!
-
25 years later....... the best moment of my life is still that one time i got so mad i suplexed a train.
-
Status: the NetGear ReadyNAS apparently has some kind of Antivirus.
The most recent definitions are all in a panic now.
So much trojan, much wow,
-
@hardwaregeek said in The Official Status Thread:
@hungrier said in The Official Status Thread:
@hardwaregeek said in The Official Status Thread:
the idea is obvious
Right, the idea is to accidentally the just of water.
It's an accident just waiting to happen.
Justly.
-
@dcon said in The Official Status Thread:
@hardwaregeek said in The Official Status Thread:
@hungrier said in The Official Status Thread:
@hardwaregeek said in The Official Status Thread:
the idea is obvious
Right, the idea is to accidentally the just of water.
It's an accident just waiting to happen.
Justly.
THERE IS NO JUSTICE! There is just us.
-
@accalia Or is it just ice?
-
@magus Does that guy do the d-a-n-c-e?
-
@hungrier Scoop, from Awesomenauts, is apparently a knight made of intelligent gelato. Mostly he talks in a superhero-ish voice, making horrible ice-puns and hits people with swords.
-
Status: After being repeatedly told I needed to learn HTML because every developer worth his salt knows it, I figured maybe I was dragging my heels a bit much. So I've cracked my knuckles and set about learning WPF. Fuck HTML.
-
Ugh, do you ever have that feeling like your brain can't turn on?
Like you're trying to think about something that you know you understand, but at the moment the thoughts just don't come. It's so frustrating.
-
@pie_flavor The best thing about WPF: Grids. You can position things in crazy relative ways, center things, whatever you want, and it will always work exactly the same way. Or you can dock things around in dockpanels.
Wanna make a box, and align some text at the top right and bottom left, offset from the edge by 10px? Just go ahead and do it.
Now try in HTML.
tl;dr: I agree with you completely.
(Though maybe look into UWP)
-
@magus it's fun, though a bit difficult actually figuring out what the code I'm writing is doing. Also, immediate reaction to the tutorial is 'ew those NavigationPane buttons'.
-
Status: Told Drive Backup and Sync to stop enabling itself on startup. When I pushed the power button, it shut down in seconds. I'm amazed at how much it was slowing me down.
-
@pie_flavor You'll get past that. The number one thing I recommend is making sure your datacontexts are set in the xaml's codebehind, and that you never look at the codebehind again. Everything is easier that way.
-
@magus I love this. "You'll get past that" over "There's a solution to that". That's the fun kind of platform. And are you saying to never add listeners? Confused.
-
@magus said in The Official Status Thread:
@pie_flavor The best thing about WPF: Grids. You can position things in crazy relative ways, center things, whatever you want, and it will always work exactly the same way. Or you can dock things around in dockpanels.
Wanna make a box, and align some text at the top right and bottom left, offset from the edge by 10px? Just go ahead and do it.
Now try in HTML.
tl;dr: I agree with you completely.
(Though maybe look into UWP)
Apropos of this, I'm teaching a beginning web design class (HTML and CSS only, no tooling or libraries and certainly no Javascript) at the high school level. Since CSS grid has finally been accepted and implemented by all the major players, and since it's way easier than flexbox or (heaven help us) floats, that's what I'm doing this year. It mostly works, although it has some odd quirks. For example, to span the first 2 columns, you can use the following rule:
grid-columns: 1 / 3
. Yup, that's a non-inclusive end. Why? No clue really. It also interacts with the insane complexity of browser rendering, producing odd effects if it's not exactly what the browser expected. But generally, it works and is configurable enough that I think I'll use it for all new projects instead of bootstrap's grid (or similar polyfills).
-
@benjamin-hall CSS has a grid? Isn't the idea that HTML is the physical layout and CSS is the visual styling? How is a grid not physical layout?
-
@accalia said in The Official Status Thread:
i also have an old acorn that's not feeling well but i don't have the right adaptor for it to find out why yet as the adaptor i have is for the otehr side of the pond.
Which one, the BBC Micro, the Electron, or the Archimedes? I am assuming the Electron since you are talking about ancient systems, and if you meant a BBCยต you would have called it that.
-
Status: quitting video games completely.
I'll miss them .