8 ms·
There's a coffeeshop called java.update() in GTA V
- stickydink 13y agoThe Lifeinvader mission had me rolling around in stitches, really good stuff.
- quarterto 13y agoA void method that returns a value? How on earth did this coffeeshop compile?
- galaktor 13y agoHopefully they'll fix this in the next GTA patch.
- fennecfoxen 13y agoA void method that returns a sandwich, no less.
- RossM 13y agoRequires root user to run
- splatcollision 13y ago'sudo make me a sandwich'
- robinson-wall 13y ago-bash: sudo make me a sandwich: command not found
- laumars 13y agoI'm surprised you don't have make installed. That's usually one of the first tools I install on any new system (if it's not included as part of the base install, like Arch does): sudo apt-get install build-essential Incidentally, the make error you'd get is amusing: make: *** No rule to make target `me'. Stop.
- ushi 13y agosudo pacman -S make curl https://put.honkgong.info/ed8e3df8691ec7944a878cea595e00c363079504 > Makefile sudo make me a sandwich
- koenigdavidmj 13y agoLet's run arbitrary code downloaded from somewhere I don't know! As root!
- levosmetalo 13y agoDid you read the linked Makefile?
- koenigdavidmj 13y ago1. The posted code could change between when you read it and when I read it. 2. If you just cut-and-paste these three lines, then you are obviously not reading it.
- levosmetalo 13y agoThat's why you have another line saying something like: cat Makefile before blindly executing it. In general, you shouldn't blindly believe downloaded code, but in this case Makefile is simple enough that you can prove it's non harmful in a few second glance.
- es20641 13y agook
- deleted 13y ago[deleted]
- egwynn 13y agoNever mind that the function casts (coerces? constructs?) ints to bread and ints to bacon. Let alone how it's got a special "plus" operator that can work on bread/bacon and return a sandwich...
- cosmotron 13y agoIf you look carefully at the screenshot, you'll see that bread and bacon are declared to be ints above the method. =]
- galaktor 13y agoClearly bad practice to be using raw integers here. They should at least be using enums. public enum Ingredients { BREAD, BACON } public enum Delicatessen { BACON_SANDWICH }
- saturdaysaint 13y agoAnd a hilariously detailed start-up with a (Dropbox inspired?) play room. There's also a hacker character whose convincingly detailed computer setup shows several VIM sessions (one on a portrait oriented monitor).
- terhechte 13y agoThe attention to detail in this game is crazy
- toomuchtodo 13y agoKnow your audience.
- M4v3R 13y agoDo you have any screenshots of this computer setup with vim?
- zeitg3ist 13y agoI think the colors resemble more Sublime Text's default theme. Here, by the way: http://i.imgur.com/FYce2kD.jpg http://i.imgur.com/FYce2kD.jpg
- domness 13y agoYeh, I think it's definitely looking more like Sublime Text.
- skyebook 13y agoWouldn't sublime have that scroller on the side with the preview of the entire file? Or do real 1337 people turn that off? Can you even turn that off? Yeah, I've used Sublime twice I think.
- hablahaha 13y agoI've looked and looked for ages about how to turn that preview off... I don't think so.
- FuzzyDunlop 13y agoIt doesn't feel like it's enterprise enough to be realistic. class TwoBaconRashersInsideTwoSlicesOfBreadFactory { /* Make a sandwich * <p> * Construct a foodstuff consisting of two slices * of bread with two slices of bacon. * @return TwoBaconRashersInsideTwoSlicesOfBread a sandwich */ Public TwoBaconRashersInsideTwoSlicesOfBread getSandwich () { BaconRasherFactory pig = new BaconRasherFactory(); BaconRasherInstance bacon1 = pig.getBaconRasher(); BaconRasherInstance bacon2 = pig.getBaconRasher(); SliceOfBreadFactory loaf = new SliceOfBreadFactory(); SliceOfBread bread1 = loaf.getSliceOfBread(); SliceOfBread bread2 = loaf.getSliceOfBread(); return new TwoBaconRashersInsideTwoSlicesOfBread(bread1, bacon1, bacon2, bread2); } Or something... trying to do Enterprise Java is hard.
- pjmlp 13y agoAny language has hard time being enterprise. That what the space station architects are there for.
- pkorzeniewski 13y agoNot enterprise enough, it doesn't implement any interfaces nor extends any generic classes, there also should be some try/catch blocks (what if the bacon isn't fried enough?) and of course several unit tests to guarantee the highest quality sandwich ;)
- JonnieCache 13y agoThere isn't even any XML. Not enterprise at all, by definition.
- phire 13y agoYeah, we should be able to define types of sandwiches in XML. What if someone wants a BLT?
- wting 13y agoYou can always use this gem for reference: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
- jl6 13y agoI believe the simpsons had an internet cafe named The Java Server.
- rauar 13y agois it thread-safe ?
- deleted 13y ago[deleted]
- vph 13y agoI would just name it Java.update() and leave it there. These people are trying too hard. They probably turn off the average geeks (who find it too geeky); and the hard-core geeks just tear them apart with all of the semantic and syntactic errors.
- kaws 13y agoEither it was Lester's house computer or one of the Lifeinvader computers, but it was using a text editor that looked strikingly similar to Sublime Text. I had to do a double take. The whiteboards in one of the Lifeinvader rooms, gave me a chuckle. It read, "Remember! We aren't ripping them off if they don't read the T&C" with word privacy crossed out.
- roberthahn 13y agoI'm sure it says something about me when I read the title and assumed that GTA stood for Greater Toronto Area. But I was having trouble figuring out what the 'V' stood for. Now I'm hoping that someone will start up a coffee shop with this name.
- snarfy 13y agoDoes it install the Ask.com toolbar?
- beat 13y agoThere's also a garbage collector running around. But if you shoot him, the whole game pauses.
- dclowd9901 13y agoIf you're a developer and haven't played this game yet, I wholly encourage you to do so, just to witness the technical feat that this game is. There is a simply baffling level of detail and surely one of the most sophisticated open world engines ever conceived under the hood. It is stunning what the rockstar devs have pulled off here.
- stonemetal 13y agoHas there been any improvements in the way Rockstar treats employees? If not then no thanks.
- hawkharris 13y agoIf you look closely, Sublime Text is also in GTA5. It's on one of the screens in Lester's office.
- chrislomax 13y agoI think that is meant to be return new Sandwich (bread, bacon); !
- noarchy 13y agoThis reminds me of "Eunux" from GTA IV. http://gta.wikia.com/Eunux.net http://gta.wikia.com/Eunux.net
- habosa 13y agoThere's also a mission where you go to "LifeInvader" headquarters and kill a character who looks decidedly like Zuck. LifeInvader has many details that make it a great parody of a SV tech company (and the logo even uses the FB font).
- petdance 13y agoI'd heard that there were brutal scenes of torture in GTA V, but I had no idea.
- nolok 13y agoThere is one, and it's "brutal" if you have never seen an R-rated movie ...
- bjterry 13y agoIn the context of a video game the scene has a very different effect than in the context of a movie. The game forces you to graphically torture an innocent man. Because you are selecting which torture methods to use, the player is personally implicated in the torture. I found the scene to be far more emotionally impactful than if I had watched the same scene played out in a movie. It's brutal more for how it makes you feel than for what it depicts.
- kachhalimbu 13y agoThere is also a JSP breakfast store in Taiwan http://iwannagothere.com/userfiles/pictures/0005/5397/P1040978_big.JPG http://iwannagothere.com/userfiles/pictures/0005/5397/P10409...
- bitwize 13y agoRockstar's going to get a call from Oracle over use of their trademarks.