[QUOTE=~Kiwi~v2;50789434]Anyone who got banned for that dai'd for a good cause.
[editline]29th July 2016[/editline]
We talk a lot about things that ain't even related to H&S though[/QUOTE]
Airsoft got away with it for years if I remember correctly, and besides it always returns back to what we are supposed to talk about anyway.
[QUOTE=Levelog;50789755]Eh, 12 2tb disks still ain't bad.[/QUOTE]
it's not enough, if you take raid into consideration
[QUOTE=Giraffen93;50789797]it's not enough, if you take raid into consideration[/QUOTE]
I guess I just don't need more than what, 20tb in raid6?
I got a cheapo chinese dashcam for free because my uncle doesn't know what an SD card is 👌 Amusingly, the only language the instructions are in besides english and chinese is russian :v:
[QUOTE=Nerts;50789831]I got a cheapo chinese dashcam for free because my uncle doesn't know what an SD card is 👌 Amusingly, the only language the instructions are in besides english and chinese is russian :v:[/QUOTE]
Realize how many Russians (and russian-speaking countries) there is in this world.
Then realize how close Russia is to China.
Suddenly no longer so surprising.
[QUOTE=Giraffen93;50789734]well shit, most of the servers only support 2tb disks, that won't do at all[/QUOTE]
I'm willing to bet it's a software limitation of some sort (most likely the RAID controller's ability to set-up a RAID with them)
And most of those cheap servers seems to only have 2.5" trays anyway, and beyond 2TB in a 2.5" form factor is obscenely expensive.
[QUOTE=Van-man;50789888]Realize how many Russians (and russian-speaking countries) there is in this world.
Then realize how close Russia is to China.
Suddenly no longer so surprising.[/QUOTE]
Not surprising, just amusing because of the Russian dashcam stereotype.
[QUOTE=Levelog;50789816]I guess I just don't need more than what, 20tb in raid6?[/QUOTE]
yes, that's not enough
[QUOTE=Van-man;50789888]I'm willing to bet it's a software limitation of some sort (most likely the RAID controller's ability to set-up a RAID with them)
And most of those cheap servers seems to only have 2.5" trays anyway, and beyond 2TB in a 2.5" form factor is obscenely expensive.[/QUOTE]
ye but there are a lot with 3.5" too, but with the old raid cards in them usually
[QUOTE=Van-man;50789888]Realize how many Russians (and russian-speaking countries) there is in this world.
Then realize how close Russia is to China.
Suddenly no longer so surprising.[/QUOTE]
Not just that but Russians loooove their dashcams. and for good reason, the country has a massive insurance fraud problem among other issues, so. Hard to say you're at fault when you have video proof of the guy jumping out in front of you
[QUOTE=Nerts;50789893]Not surprising, just amusing because of the Russian dashcam stereotype.[/QUOTE]
Is it even considered a stereotype when it's actually completely true :v: ? Dashcams are extremely common in Russia due to rampant bad driving and insurance fraud.
Yeah, we also blogpunch, laugh at pentium and Amiga, complain about Windows, discover the magic of cheap servers, and complain about work and… urinary tract infections?
oh yeah the Nokia N9 and iOS 6 are in there somewhere
Some losers even spend a good amount of time shilling for Ubiquiti.
And I'm...here...
Okay, got into a debate with a coworker. One of us is clearly being a CIPWTTKT here, and I'm not sure if it's me or him.
Problem: in Java, we have a List<> of model objects, of a single and fixed class (I'll use ModelObject for this anonymized example). We need to convert it to a JsonArray of JsonObjects, where each JsonObject has properties for each of the fields in the model object. (It will later be inserted into a JsonObject representing our response message, and serialized to a string during this, but that happens much later and is the same in both of our plans)
My proposal:
[code]JsonArray results = new JsonArray();
for (ModelObject model : models){
JsonObject obj = new JsonObject();
obj.addProperty("field1", model.getField1());
obj.addProperty("field2", model.getField2());
// et cetera
results.add(obj);
}[/code]
The inner part of the loop would probably get refactored into a method of ModelObject, since it will usually be used in more than one place, but that's not relevant right now.
His proposal:
[code]JsonArray results = getGson().parse(
getGson().toJson(models.toArray(new ModelObject[models.size()]),
ModelObject[].class
).getAsJsonArray();[/code]
There's no way that building a string representation of an object and then parsing it is faster than just looping over the list and building up the object structure. That has to be a massive performance hit, right? But I've not been living in Java-land as long as my coworker, and maybe the GSON library has a weird special case to optimize this exact usage.
Is it worth my time to set up benchmarks to prove that serializing and unserializing an object to JSON just to avoid hand-writing some code is a significant performance hit?
[QUOTE=gman003-main;50790151]Is it worth my time to set up benchmarks to prove that serializing and unserializing an object to JSON just to avoid hand-writing some code is a significant performance hit?[/QUOTE]
Shouldn't take long.
Also, it's worth at least a few hours, to prove you're right, so you can be the smuggest fuck in the universe.
I wasn't sure wether to get an RX480 or GTX1060, but I think I'll go for the RX480 because it's price, and the ability to upgrade by buying a 2nd one. Does that seem like a solid idea or not?
Both RX480 and GTX1060 are solid choices, but seriously check pricing.
I checked both Jimms.fi and Mindfactory last week, and the GTX1060 was 10€ more expensive than the 480 - at that price point, the 1060 was a way better choice.
the cheapest RX 480 is €50 cheaper than the cheapest (non-compact) GTX 1060 here.
Either way, there seems to be little to no stock of either right now. I'll wait a bit more and see when things settle down a bit more.
I have a spare 5.25in drive bay on this machine and I have 0 need for optical drives
What other worthwhile things could I put in there?
Nothing really.
[QUOTE=phygon;50790491]I have a spare 5.25in drive bay on this machine and I have 0 need for optical drives
What other worthwhile things could I put in there?[/QUOTE]
Obvious answer is another hard drive, but you could also stick a card reader in there if you use SD Cards or other flash media often.
A cum sock drawer or pot I guess.
[editline]28th July 2016[/editline]
Mergeeee
[QUOTE=phygon;50790491]I have a spare 5.25in drive bay on this machine and I have 0 need for optical drives
What other worthwhile things could I put in there?[/QUOTE]
Cum sock.
[editline]28th July 2016[/editline]
Jesus Levelog you beat me.
tempted to get this, it's a cup holder + cigarette lighter. It would compliment my go-getter lifestyle
[IMG]http://mg.to/images/P6668A-3.jpg[/IMG]
I got one of those flashy NZXT fan controllers because I'm secretly 14 years old
[QUOTE=Teddybeer;50790592]You know, they should make graphics cards that neatly fit into the cd slots you never use. So you can just swap in a new one without having to dig in your case, and with some slot system you can have any ouput you want.[/QUOTE]
How often are you swapping graphics cards?
Also, you could probably achieve that with a PCIe extender cable and one of those midget graphics cards
[QUOTE=Nerts;50790567][img]https://i.kinja-img.com/gawker-media/image/upload/s--IqeiJUV2--/c_fit,fl_progressive,q_80,w_636/17jefyasxorhujpg.jpg[/img]
[url]https://www.thinkgeek.com/stuff/41/ezbake.shtml?cpg=cj&ref=&CJURL=&CJID=2470763[/url][/QUOTE]
When's the LTT review coming out
[editline]28th July 2016[/editline]
[QUOTE=Teddybeer;50790592]You know, they should make graphics cards that neatly fit into the cd slots you never use. So you can just swap in a new one without having to dig in your case, and with some slot system you can have any ouput you want.[/QUOTE]
If you're swapping out video cards that often then maybe you should have a test bench instead :v:
Alternatively you could get this
[IMG]https://cdn3.vox-cdn.com/thumbor/QkV0c73_tuSCk3YLSFP4tGjv7FY=/800x0/filters:no_upscale()/cdn0.vox-cdn.com/uploads/chorus_asset/file/6033859/Screen_Shot_2016-02-12_at_9.09.43_AM.0.png[/IMG]
[QUOTE=phygon;50790491]I have a spare 5.25in drive bay on this machine and I have 0 need for optical drives
What other worthwhile things could I put in there?[/QUOTE]
I've been thinking about putting some kind of small display in my uncovered 3.5" bay
it could display load percentages or something
[QUOTE=Giraffen93;50789018][url=http://www.ebay.com/itm/HP-SE316M1-G6-DL160-G6-ProLiant-Server-2x-Quad-Core-Xeon-L5520-2-26GHz-24GB-RAM-/141724178875?hash=item20ff6b59bb:g:1pIAAOSwRJ9Xg6TR#viTabs_0][img]https://rp.braxnet.org/scr/1469709078370.png[/img][/url]
Wait [B]WHAT[/B]??? Is this a scam or something? How the fuck can this cost nothing and be shipped to here for also nothing?
[editline]e[/editline]
[img]https://rp.braxnet.org/scr/1469709343082.png[/img]
I'M FREAKING OUT
why have i never seen these before??[/QUOTE]
Shit, thanks for posting, will have to keep that in mind if/when we need some cheap servers.
[editline]---[/editline]
Sure thing, [url=http://www.ebay.co.uk/itm/Dell-PowerEdge-Full-Server-Rack-15x-C6100-90-Quad-Core-CPUs-2160GB-DDR3-RAM-/122032737715]let me just buy a rack full of C6100s for £2,800[/url], also with £9.99 international shipping...
Sorry, you need to Log In to post a reply to this thread.