Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Everything posted by wemu

  1. It's time scrapyard wars goes back to the scrapyard! Since on YouTube people always claim how easy it has become to build a PC, go further back in time. ATX is around since the late 1990-ies. YouTube after 2005 - almost a decade in between. It has always been easy! So the task would be: build a AT based PC. And for the fun: do some office work! Some task like: digitalize a document (by type it in or scan or or ...), transfer it to the other team, they have read it and print it. Transfer could be via network or floppy disks or tape drives. I don't care. Teams can agree on one set of hardware or just tell the other team what to send or what they have to use. Some cruelty might come up here. soldering gives minus points. finding the correct adapters of the time gives plus points. The most efficient team to do both (send, read+print) wins. Games? Don't know - optional to me. And maybe dress up like the in the 80-ies
  2. your code above looks ok. Thats the one you use to download the initial jar file? so what is the downloaded jar file doing? and why are the icons you show "pdf" while you are talking about jar files? Thats all a bit weird...
  3. That would still work even without that stand ?
  4. Oh thank god. I have to admit I was a bit concerned when I noticed that stand in the background of another video. A lot of youtubers criticized Apple for such a product or wrinkled their nose when it was announced. But I see a lot of them still having purchased one or even two of them. That to me goes against some of their credibility. Because it makes these products work. And stuff like that is not supposed to work. No other manufacturer should pick up on this. Don't go buy such things. So thanks for having a calm look at it - and now lets forget about it ? (the only acceptable future for it would be if you use it to build a PC with it, as some sort of case)
  5. this needs a part II where both swap tools. And then talk about whats cooler on the other side of the wall ?
  6. time to sell boxes in the background to viewers to choose or create! :D 

  7. its time for NVMe drives in RAID0 on PCIe 4.0 mainboards (without additional extension cards). just how far consumer mainboards can go ?
  8. it is a specific syntax and formalism that assumes people can write it and properly read it as well. And not all UML terms necessarily translate too well in your programming language. I encountered quite some situations where even senior developers would misunterstand some of the diagrams. Also, these diagrams suggest being true. But often they are not. And some UML tools allow you to disable custom mode and turn on strict mode. Haven't met many people that are then able to create a diagram... not the most humane technology - but that is just my opinion. That certainly is an important goto. But to outline structure, any combination of squares and arrows may be enough already and better to understand for your audience of the diagrams. There are some approaches to have them generated and have them "alive": https://leanpub.com/livingdocumentation So the structure you want to go for is in the code, the result is checked against rules and the resulting generated drawings. Yes, planning is important. Think about it! But still! Evolution is also important. Learn as you go, refactor against what you learned. That is also an important habit. Do some planning ahead! But don't plan things you will not implement. drawing this line is also important (and very hard to do alone. go team!).
  9. I'm not aware of this ? For example java projects usually copy a lot of jar files around and load them into memory (e.g. zip files with compiled classes). So file I/O and also cpu power (to create or extract these compressed files) comes into play. Nodejs projects have even more files going around. Then you may need a database for local development (be it a docker container or something else). So what may be a deployment of 2-3 servers should be run in a light version on your machine. So get what you can! The spec you have looks ok to start with (as mentioned above: more RAM - don't care what you have - it's true)! You may wait a bit here and there. Once you get crazy waiting its time to upgrade ?
  10. The topic is a bit broad like this, no? I would start here with the team. Go with them through the thought process of why you consider the code to be spaghetti code. About what changes to it would bring what benefits and so on. If it was your direction some reflection on how it all turned into this sort of code may be good as well ? If the team are mostly volunteers it's important you agree on a work mode rather than have one person decide on it. You make them spent their time with UML. Would you want that would it be the other way around? I am not convinced at all that for the team you have that UML is of any use here. It brings a lot of formalism to what may not even be in any way object oriented code or structured the way UML assumes. Games written based on a Game Engine may end up being a lot of scripts. Games have some very different things going on compared to enterprise software (like handling global state or being totally ok with something like that in the first place). There is nothing wrong in doing some software design and drawings. But for that you need a pen and some imagination of squares, boxes and arrows. Any more graphical syntax seems too much. And if the last game was created in two weeks, whats your timeframe here? 2 weeks don't sound like any UML to me. Even 2 months don't. It seems more important your team learns how to create games in the first place? John Romero (one of the Doom guys) often recommends starting in 2D games using something like Corona. It's more important to what a player should be able to do in the game rather than the code being specified in UML in advance. I would never put UML first. Are you creating a game at all? ? (I only assumed this). But the story stays the same. What does the player (or user) need to do? What is the easiest thing to implement that allows you to do that (or at least a part of it). Refactor, Polish. Go to the next thing (try iterating together, you, your team, your players/users). It's very good to care about the code quality. But the decisions need to be suitable for the situation at hand - not the one you would like to plan for.
  11. to me this is great news. the terminal situation on windows is quite behind what you have on linux or on macos. Sure there is bash for windows but the details... the details... if the terminal is any good this makes my macbook obsolete. Windows in an office environment just working nicely. Of course there is MS Office - hate it or not, its there. Docking station support is there, attaching a hdmi cable without restarting some x-server or other funky thing in a terminal just works. Driver support, battery life for notebooks... there are a couple of reasons to use windows and live with the drawbacks. The whole docker integration and all the new command lines for cloud services or development made a good console more and important. Powershell had some good ideas but never took off. Microsoft today is quite a different company than 5 years ago. Just watch the presentation in the windows developer channel: this sort of presentation wouldn't have happened only a couple of years ago. So this is great news.
  12. Aircool all the things! I ended up with aircooling the PC's I build. Servers do aircooling, that was my reasoning. The watercooled ones where more quiet (I think, didn't measure it, just what I felt at the time). And that "breathing" effect of fans spinning up isn't that present. And nicer to look at - I miss that part. But more work! Mooooore work! Once the PC is build, I'm a lazy man - aircooled: way less work! Tearing apart a custom loop with hard pipes takes so much time! And aircooled is hell cheaper. So I can spend the saved money on more RGB fans - and don't save any ? Wasn't aware the aircoolers would perform so good with overclocked CPU's - will give that a shot! And still - I'm a bit jealous at some of the watercooled PC's out there. Some look so good. Aircoolers automatically come with that transformers look of too many parts. Cool enough for me ?
  13. I would deny the "shitty" part. And I will argue that their devices are well designed. Just open up a 5 year old macbook... two fans, heatpipes in two directions... hot air blown out towards the (glas) display, not your hands - stuff everyone does - nowadays, just took some manufacturers years to adopt this design. I'm glad Apple did this, because now I can buy Windows Notebooks with USB-C and Thunderbolt and similar comfort. And better keyboards Progress! I agree: it would be way better if there wasn't a compromise necessary. But show me any device that doesn't do that? Even desktop PC's can run into thermal issues. I even have that issue with the PC's that I build myself... wrong case, bad fan layout, too much dampening materials... not always that easy or straightforward. And for notebooks there is not just performance on the table. There is weight, there is battery life, there is robustness due to transport and so on. So thermal design is probably not the highest priority on that list. Might needs some focus back - I agree -would be nice to have it all! With notebooks, I value weight, then battery life, then performance. I would argue 80% of notebook users rarely stress modern notebooks that much that this matters this much. True: if you rely on best thermals because you really need the performance... well... wrong device?! unless you're a final cut pro user? then you're just doomed to wait that minute? Again: 1% of their customers? 5%? Why should any company optimize for that segment if it's currently just not possible or easy enough or would make things even more expensive for the average customer? I only see gaming notebooks trying this or getting at least closer to proper thermals. But then I am back into the weight discussion - and on battery life... and does gaming focused hardware come with a large life-span? And besides: looks! Looks do matter. Any sales agent pulling out an Alienware device? No. Because looks are also part of professionalism. It might be uncool for techies to wear suits, but at some point these things matter too. The optical aspect just is important. (might be the right time to demand people on camera to wear long trousers? or proper shoes? :D) Not that it all should be like this. I mean the wishlist for notebooks is sort of clear and demanding this is right (since its advertised)! So complaining about this and making customers aware of what the current choice of features from manufactures is, so they can verify their assumptions what they buy, is surely helpful! But no car holds 2 to 40 people and drives 20'000km on one tank. Companies will design for the needs of the majority of their customers, and the devices need to hold up against those criteria in the first place (and this is just not what they write on their websites. the criteria they build for probably aren't public at all). Measuring against that top 5% percentile is interesting, but not relevant. I'll argue people buying a new notebook from the same manufacturer (Apple users tend to be on the stubborn side here?) will just compare numbers and go "bigger is better" (I mean explain to me how fast 2.8GHz is? compared to 2.6GHz a few years ago...) - so whats written on websites... those are there to sell and make people enthusiastic, not to tell honest stories. If so they would put the benchmarks there themselves - do they? No, because benchmarks make customers sad. Isn't that a bit a waste of time? Verifying that what companies advertise isn't true? Fuel consumption of cars? Used water of a washing machine? No one cares what they say - it's only important what it does. And the video shows this. I mean there are videos on what a notebook cpu does, and what it could do. Maybe be more clear on that. The differences of those two numbers ranked by model and manufacturer would be interesting. So I don't buy too expensive stuff hoping for the best ? (or the people that care in more detail - can't save everyone) - but then again: I can live with some throttling if there is less noise... a bit of a hard triangle to choose from - or define "truth" for that matter. The ranking would need some dynamic/individual aspects ? (until all just works as advertised). The video might didn't go deep enough ? - needs a series with some episodes or something (Dells are slower than Lenovos, Acers are slower than Razers, and so on, until we have a winner!)
  14. there are some nice tutorials around as running scripts remote seems to be a part of powershell. depending on what you want to do you may also have a look at ansible. supports windows too and can run powershell scripts too ?
  15. silence. for me silence is key. I use both windows notebooks at work and a 2013 mac book pro. Not for video editing - software development. The longer builds may take 20 minutes. usually around 2-7 mins. If you have render times of 20 minutes, 1 minute less with a lot of noise isn't worth it for me. I prefer the device to not sound like a leaf blower. Thats why I like the mac book pro more in those cases compared to windows machines that spin up fans way more. both hardware gets hot. And having a quiet notebook is better for my office neighbours too. For me there are quite some tools around that move load away from my hardware (remote compile runs, distributed compile caches). So the notebook isn't really the main work horse. I pretty much like the balance apple choses for their notebooks (heat, performance, noise). So in my opinion apple does what customers want. Its true that I also see a lot of professional users move away from apple mac books - but the main reason here is not performance or temperature or unreliable hardware. its price and that windows oriented hardware got much better in the last years.
  16. Python isn't the safest path to avoid web development - but with all the machine learning libraries and frameworks around or the broad usage in system administration and automation, not a bad choice. As mentioned above: C and or C++ - very uncommon for web development nowadays, still widely used in the linux community or embedded devices - maybe also for IoT. Both not the most modern languages... but a lot of choices to work on.
  17. well I think this year one issue was the speed at which the tickets where sold. A lottery may solve parts of this but that would need to be a speedy one, since flights and hotels have to be booked too. When it becomes hard to put a price tag onto something to give everyone time to think, what I've seen at rental car companies when they sell cars after a year: they do some sort of a reverse auction. So they let the customer choose the price: They will start at lets say 20'000 € - and every minute or hour the price is reduced. You can make an offer prior to the auction and hope (lets say you don't go above 14'999) or just wait and pray everyone else holds still. The moment the price is where it is worth it for you you buy it. If you're the only one interested you can get a free car (maybe, never saw that happening... someone always gets triggered). That would slow down the whole sale process, since people will try to get as low as possible - well maybe ? (but if it doesnt, people choose to pay that much)
  18. well I don't have any statistics for all hardware in the world. But here my statistics: I had around 4 Windows Notebooks. From Acer to Dell to Dell to HP to Lenovo. On average I used them for 4 year. I was able to give all of them to someone else to use them for another 2-4 years. But I'm a very careful person. A lot of the models I used were also used by colleges - and some have a talent to break stuff or drown things in coffee... Usually I kept the original Windows version, or upgraded out of curiosity. In 4 years experiments would cause a fresh install about 3 times? 2013 I switched to a MacBook Pro. Which is this machine here. Like the hardware. It keeps up with time much better than the other machines. But same story for the OS. Some failed Mac OS upgrades caused a fresh install about 3 or 4 times (one directly after the other and one Ubuntu experiment not counting). So - OS side: for me the same thing. If you're a bit careful you can live with one install for years - be it MacOS or Windows. Hardware side: I will argue the aluminum body copes better with time. But that might just be aesthetics. My other notebooks were all made of plastic or magnesium or some exotic mixture of a dozen materials. If you are careful: no scratches, no broken USB ports, no broken display hinges, all buttons on the keyboard working. All notebooks I had felt quite warm when using day by day. Would not argue if one or the other runs hotter by default. The HP notebook I had was surely a winter edition... In summary: the Apple notebook I currently use really feels younger after these years (I did replace the WLAN card last year). Aaaand I'm not getting one with that touch bar and no USB3 ports. The Ubuntu experiment on the MacBook pretty much pissed me off with the restrictions Apple applies to the hardware you own. Probably back to a Windows machine. Maybe Dell saves the day with a reasonable Linux Notebook ?
  19. thanks for the replies! finding phones that would survive a bathtub drop is sort of easy. But phones are too tiny. Which is a weird statement as I read it now ? Anyway. The rugged series from Samsung or any outdoor / bulletproof tablet isn't really for me. They are ugly. And heavy. And ugly. Same with the waterproof cases. They work but I'm not a fan of cases. So I'll try finding some crazy people watering tablets that are not build for it. But I'm not entirely comfortable with this approach ?
  20. Hello I owned a Sony Xperia Tablet Z (first generation). I was very satisfied with it, one specific feature was its IP55-/IP57 certification so it was mostly waterproof. Unlucky me I broke it. So I tried replacing it - but Sony seems to have stopped selling tablets years ago ? So I'm looking for a 10" tablet that is waterproof and running android (I used it mainly as kindle and some newspaper apps). But I can't find one... phones seem to be waterproof nowadays almost by default - but tablets are not? At least most don't state anything. So any suggestions would be welcome ? Thanks!
  21. well a benchmark suite that would just repeatedly measure some development tasks would certainly be interesting. It's true the requirements vary from technology to technology but that doesn't mean one could not just measure whats what to find the hardware that supports best what you do. I don't think game benchmarks are that different. There is no absolute truth, a lot depends on optimization. A larger performance comparison is (for example, not trying to start a war...) on the gradle website and they also provide some instructions on how to repeat them. I would believe similar measurements should be possible for - well anything. Compile java, or building node applications or running some TypeScript compiler... there are a lot of open source projects around, simply building them a few times and measuring should already give an indication what to expect from a certain hardware platform - to simplify what to look for - or where to invest more money (in memory, faster storage, more cpu's, faster network, other miracles, ...). Don't know a suite that would do this - would certainly be interesting ?
  22. I don't see why one would not start programming on Mobile Devices. Android Studio is very well done. The project wizard will allow you to have something running on your phone within a day. Thats quite a motivation boost to have something up and running. Also Kotlin development for Android simplifies a lot of the little things. Since the UI is an xml description you need to reference in Java manually and Kotlin's DSL building capabilities allow you to reference UI elements just as objects I would argue its even simpler. If you want to go the FancyPath don't forget Golang. Silicon Valley is full of it and that usually means it's going to conquer the world. Besides the plain language: find someone to learn from. Young developers (relative to the years they program, not their age) tend to fiddle around on their own. It is an important part to learn to do experiments and do and achieve things by yourself but there is a danger that you learn a workaround - not how its meant to be - that knowledge usually comes with experience. So learn from experience. Younglings tend to hesitate if they are stuck with stupid issues. Being honest about it usually isn't an issue (if it is, look for another community). So as hard as it is: go to meetups in your area (meetup.com is a great site for that) or participate at a code retreat to just pair with other developers. I do learn from anyone - apprentice or senior - not knowing should not prevent you from asking. Then there a a lot of Code Katas around (programming exercises where a solution discussion is available). So you know if your thought process is correct with the ecosystem of the language you try to improve. And as mentioned above. Just get it started. Practice is a big part of most things. I would suggest program something you like using. So if your other hobby is cooking, make a recipe application. Or you other hobby knitting - make a pattern manager. Because making something that is useful for yourself will keep the ideas coming.
  23. if repairing is an issue because gravity is strong in your family: buy one with a 3 year warranty and a drop'n'coffee insurance - dell has quite reasonable prices for this - besides insurance companies offer such things too. Don't forget the software. If nothing special is used windows or mac os wont matter - but who knows... I often see people being happy with tablets and bluetooth-keyboards. Depending on whats all the college-thing about. I would never be able to live like that - but that's sort of not so important here
  24. I'd say no. Even Apple itself when you fill in the give-back form values these notebooks with 0.- (https://www.apple.com/chde/trade-in/) Notebooks and screens are a story on its own - I encountered notebooks of friends (same model!) that had different screen panel connectors. But if you are happy with the overall performance of such an older device you may be able to find a used one in reasonable shape. Apple just released updated Mac Book Pros so some people may trade their older ones. If it wasn't the screen. I replaced the wlan adapter of my MacBook Pro. After opening it up I would even consider replacing the mainboard. Maybe not the battery - too scared. But the Screen? Any mistake you make will be visible.
  25. just DON'T concatenate sql strings from user input or data - this opens the door for sql injection and is one of the OWASP Top 10 all time entries. DON'T The way to go is to use PreparedStatement - there are probably hundreds of tutorials (random one) available - as this exists for some time now. PreparedStatements don't build strings, they will send the query and the parameters separately to the database. Beside just using JDBC for database communication there are some other options. Connections are expensive objects and the transaction and exception handling is pretty typing intense. Usually you would use a connection pool to have connections available when needed (see BoneCP / c3p0 / DBCP). Other options would be for example JPA (a framework of data-relational mapping, hibernate probably the most well know implementation). Then there are libraries that go closer to looking like SQL but using a Java fluent API, like QueryDSL or JOOQ. A lot of frameworks like spring and spring-data deal with a lot of aspects already (errors, transactions). Baeldung has some very nice tutorials for this. The spring JdbcTemplates are one of my favorite ways to attach databases - its a good fit between being close to SQL but also removing most of the boilerplate code.