|
feedmegin posted:Object oriented cobol is an actual thing too actually, it's called ADD 1 TO COBOL
|
# ? Aug 14, 2017 02:49 |
|
|
# ? Jun 6, 2024 00:16 |
|
spring comes with a ton of poo poo, it's true. but anything you want to do with it is very easy to accomplish & has like 3 baeldung guides on how to do it
|
# ? Aug 14, 2017 03:34 |
|
I mean I agree that coming into a project with more lines of xml than java can be weird at first, but you get used to it after a while
|
# ? Aug 14, 2017 03:36 |
|
Ploft-shell crab posted:I mean I agree that coming into a project with more lines of xml than java can be weird at first, but you get used to it after a while
|
# ? Aug 14, 2017 03:42 |
|
use guice i don't think even spring knows what the hell spring is doing with its life these days
|
# ? Aug 14, 2017 05:34 |
|
That's why many are starting to do spring boot.
|
# ? Aug 14, 2017 06:21 |
|
im supposed to be teaching a bunch of colleageus about Python / backend programming in a single 2 hour class as part of our "internal training" (lol) they have (mostly) very little tech knowledge (altho there's a couple of JS devs in there) currently im thinking like 1 hour running over the basics (whats programming, whats backend, vague stuff about our company's tech stack/arch) and then like 1h of code academy but i have the feeling that this will be ultimately inconsequential other than just a "hey this seems cool", and wont lead to any deeper knowledge (kinda inevitable given 2h) u guys got any good tips 4 me?
|
# ? Aug 14, 2017 13:21 |
|
Mr SuperAwesome posted:
nope. that sounds like an impossible task to do anything but to maybe pique interest
|
# ? Aug 14, 2017 15:07 |
|
I laughed when I thought of "dehumanize yourself and face to bikeshed" and did a Google search to see how many other people thought of it before me. There's one hit and it's from two years ago in this very thread:eschaton posted:dehumanize yourself and face to bikeshed But wait! What about the inferior British spelling? Convoolio posted:dehumanise yourself and face to bikeshed The PL thread beats this thread by a year! But still, pretty good that the only two Google hits for the phrase are YOSPOSts!
|
# ? Aug 14, 2017 15:15 |
okay, whats the deal with data with row-based databases (if that sounds off then im asking about column-based databases)
|
|
# ? Aug 14, 2017 15:35 |
|
CPColin posted:I laughed when I thought of "dehumanize yourself and face to bikeshed" and did a Google search to see how many other people thought of it before me. There's one hit and it's from two years ago in this very thread: lol
|
# ? Aug 14, 2017 16:30 |
|
fun fact: -ise is not the british spelling, this is a common misconception; it depends on the styleguide you're following. for example the OED reccomends -ize. i personally as a british person also prefer -ize
|
# ? Aug 14, 2017 16:31 |
|
cinci zoo sniper posted:okay, whats the deal with data with row-based databases (if that sounds off then im asking about column-based databases) they're databases in the sense that any program that primarily deals with the storage and retrieval of information is a database, but if you start thinking about them like an RDBMS then its going to bite you in the rear end column databases distribute well, except when they dont
|
# ? Aug 14, 2017 16:34 |
|
Mr SuperAwesome posted:im supposed to be teaching a bunch of colleageus about Python / backend programming in a single 2 hour class as part of our "internal training" (lol). they have (mostly) very little tech knowledge (altho there's a couple of JS devs in there). currently im thinking like 1 hour running over the basics (whats programming, whats backend, vague stuff about our company's tech stack/arch) and then like 1h of code academy. but i have the feeling that this will be ultimately inconsequential other than just a "hey this seems cool", and wont lead to any deeper knowledge (kinda inevitable given 2h) i think it's best to start out with the questions "who is my audience", "what is the point of this training supposed to be", and "what are my constraints" (i.e. time and other resources). it sounds like you have some flexibility in designing the class; imo this is good and might be a big key to your success for your audience, if it's going to be people at your org who mostly don't have programming/cyberwizard knowledge, i would suggest to design your class at their level. you say there are some JS devs in the class who (presumably) know more, but imo it's better for the couple of more-technical people to be bored with stuff they already know, vs. trying to sprinkle in advanced concepts for them and confusing the heck out of your newbies for the point of the training, is there one? did you volunteer for this, did some higher-up put you on it, is there some specific goal or set of criteria you're supposed to be working towards? my uninformed guess is that you probably have a goal like "explain to these people what my department/team does" or "get people more interested in this side of our operation" or something like that for time and resources, imo this is one of the key things about giving a speech/presentation/class. it is very easy to cram too much stuff into a presentation. i would be careful about your plan to explain "programming, backend, and our tech stack" in one hour to a bunch of nontechnical people. lecturing for an hour on random computer science topics and tech buzzwords has a very good chance to just make your colleagues' eyes glaze over, and even if they do care, spending three minutes giving a super condensed summary of big-O notation or whatever probably won't stick with them or be useful to them. the other thing about resources is "do i have access to computers or other things i may want to use as teaching aids". you want to have this stuff set up and ready to go so that you aren't wasting time janitoring computers during your training. one other resource i would keep in mind is people: if you do something like code academy, you WILL end up running around to help people during the activity, so if your class will have more than a few people, this kind of activity would benefit a lot from having technical coworkers who can help during that portion of it i think your idea of having people do an activity is better than just lecturing, but i would still keep in mind my three bullet points here. code academy is great, but ask yourself: will my audience learn anything, or even give a crap? if they will learn something, is it going to satisfy what we're actually trying to do with this training? if yes, do we have the resources for this to run smoothly, and enough time that they will learn what we want them to/learn enough? (obviously you can't make people give craps about things, but imo it helps to at least consider the question) my final advice would be: try to make it fun, or at least mildly interesting. an example here would be one of the CS professors at my college, and the activity he would do during the first class period when he taught the networking course. this class was one of the lower level classes in the department, and it was a requirement for CS, MIS, and maybe was an elective for other things, so you had a mix of people from "i am totally already dedicated to being a cs major" to "i'm not sure yet" and "i have to take this nerd class omg". the activity he did was to give every student a sheet of paper that was folded in half. then he would explain that on the inside of the paper there was a set of instructions, and when he said "go" you were to unfold the paper and follow them. then he says "go" and you unfold the paper, and it says "you are number X. everyone else has a number, too. you have a list of instructions below that you need to follow". and the instructions were like "give the message 'hello' to number Y" or "if you get the message 'the job is done' from number Z, give the message 'continue' to number A". what happens of course is that the room at first explodes into people yelling, but then usually what happens is that everyone organizes themselves into some system of message passing. then when the class is done, the professor would put on his aviator shades and say "imagine four computer science students on the edge of their seats..." Lutha Mahtin fucked around with this message at 16:38 on Aug 14, 2017 |
# ? Aug 14, 2017 16:35 |
lancemantis posted:they're databases in the sense that any program that primarily deals with the storage and retrieval of information is a database, but if you start thinking about them like an RDBMS then its going to bite you in the rear end how's the structure suited for ad hoc analytics by people used to generic row databases?
|
|
# ? Aug 14, 2017 16:38 |
|
cinci zoo sniper posted:how's the structure suited for ad hoc analytics by people used to generic row databases? do you like mapreduce? because you should probably like mapreduce (or spark, or anything similar) like lets take hbase as an example: its basically a giant disk-persisted multi-dimensional hashmap; you have keys that serve to link information in columns together pretty much, and column families that serve as top level organization for the types of information you might be storing, and then qualifiers that zero in on the actual data, so if you transformed this information into a row, it would look something like <id> <column_family_1>:<qualifier_1_1> [data] <column_family_1>:<qualifier_1_2> [data] <column_family_2>:<qualifier_2_1> [data] etc etc now when it comes to queries: its pretty much key-value mechanics as you would imagine with a format that is basically a hashmap; you can do scans and tricks with partial key matching to get a collection of data, but thats about it there are filters that you can apply to your queries but those are applied to the columns so it can be kind of weird because it feels like you'll get partial results back because one column with the key you're looking at fits the criteria but another one doesn't so it doesn't get returned
|
# ? Aug 14, 2017 16:50 |
|
kdrudy posted:That's why many are starting to do spring boot. spring boot?
|
# ? Aug 14, 2017 17:02 |
lancemantis posted:do you like mapreduce? because you should probably like mapreduce (or spark, or anything similar) haven't used much mapreduce, spark, or similar things. all this sounds kinda okay but somewhat weird, but otoh the specific vendor in question - https://clickhouse.yandex/ - does have some ad hoc analytics groundwork laid. not sql, but there are rudimentary sql-esque controls
|
|
# ? Aug 14, 2017 17:15 |
otoh looking at their roadmap, it will definitely be a shitshow until q3 17, maybe until q1 18
|
|
# ? Aug 14, 2017 17:17 |
|
cinci zoo sniper posted:haven't used much mapreduce, spark, or similar things. all this sounds kinda okay but somewhat weird, but otoh the specific vendor in question - https://clickhouse.yandex/ - does have some ad hoc analytics groundwork laid. not sql, but there are rudimentary sql-esque controls ah so this is more sql-on-hadoop type stuff so apache hive is a better model to compare with; i don't really have any experience with that though
|
# ? Aug 14, 2017 17:43 |
lancemantis posted:ah so this is more sql-on-hadoop type stuff so apache hive is a better model to compare with; i don't really have any experience with that though ill read up on hive too then, thanks for pointers
|
|
# ? Aug 14, 2017 17:50 |
|
Ploft-shell crab posted:what's wrong with spring? spring has a huge surface that results in a couple CVEs every year or so. given most people are using it just for 1 or aspects, you're carrying around a lot of exploitable baggage for no good reason.
|
# ? Aug 14, 2017 18:02 |
|
meatpotato posted:cmake does seem to work magic but I wish there were better guides / tutorials on how to actually use it effectively for all but the most basic projects. you can pretty much do what you want, just whatever you do, don't try to add files by wildcard, explicitly add them to libs/modules/whatever. then if you need to detect functionality for a framework, write a cmake function and drop it in some directory by itself.
|
# ? Aug 14, 2017 19:10 |
|
lancemantis posted:it kind of turned into a kitchen sink project after a while i literally named our common lib at work "kitchen-sink" because of just that reason.
|
# ? Aug 14, 2017 19:11 |
|
speaking of java and gradle i am super loving lost on how to start with this android app
|
# ? Aug 14, 2017 20:04 |
|
also lol at the previous dev saying there was no way to handle an error condition without crashing on android. this code has zero try-catches in it extremely lazy or incompitent enough to actually be unaware of try-catch? you decide
|
# ? Aug 14, 2017 20:15 |
|
use kotlin on android
|
# ? Aug 14, 2017 20:22 |
|
im just trying to unfuck a mostly finished app by adding some basic error handling and adding a loading spinner so users at least know if a list is actually empty or the database is choking
|
# ? Aug 14, 2017 20:58 |
|
HoboMan posted:im just trying to unfuck a mostly finished app if it's that bad it will probably be quicker to start over
|
# ? Aug 14, 2017 21:14 |
|
CRIP EATIN BREAD posted:use kotlin on android blood kotlins can be deadly
|
# ? Aug 14, 2017 21:15 |
|
Soricidus posted:if it's that bad it will probably be quicker to start over the only real bug is it crashes if a network call fails. it's a real important bug, but hopefully fixing it won't take much more than figuring out where to put the try-catches
|
# ? Aug 14, 2017 21:28 |
|
akadajet posted:blood kotlins can be deadly it’s a bold strategy, kotlin, let’s see how this works out
|
# ? Aug 14, 2017 23:08 |
|
luigi thirty got me all excited about emulators so i started making my own can confirm the godlike feelings
|
# ? Aug 15, 2017 02:42 |
|
I started writing one for an arcade PCB, got a MIPS CPU emulated, got to the point where the bootrom wrote to the scanout enable register then realized I had a bunch of much more pressing poo poo to be doing
|
# ? Aug 15, 2017 03:10 |
HoboMan posted:the only real bug is it crashes if a network call fails. it's a real important bug, but hopefully fixing it won't take much more than figuring out where to put the try-catches christ lol
|
|
# ? Aug 15, 2017 04:26 |
|
Van Kraken posted:luigi thirty got me all excited about emulators so i started making my own nice! i'm currently working on polishing my emulator so that I don't have to, say, recompile it to change the emulated system model Sapozhnik posted:I started writing one for an arcade PCB, got a MIPS CPU emulated, got to the point where the bootrom wrote to the scanout enable register then realized I had a bunch of much more pressing poo poo to be doing what the hell were you emulating that used a MIPS processor
|
# ? Aug 15, 2017 04:33 |
|
have you looked at the machine readable spec ARM released recently?
|
# ? Aug 15, 2017 05:05 |
|
Luigi Thirty posted:what the hell were you emulating that used a MIPS processor
|
# ? Aug 15, 2017 05:11 |
|
quick update on emulator: in swift, switch/case does not have automatic fallthrough. in the metal shading language, switch/case DOES have automatic fallthrough. this explains the last 2 hours of my life.
|
# ? Aug 15, 2017 05:19 |
|
|
# ? Jun 6, 2024 00:16 |
|
Luigi Thirty posted:nice! a bunch of konami games used what was essentially a roided-out playstation 1. i wanted to emulate the variant used in ddr. it would be worth it just to watch the drat thing boot up at warp speed because the real machines take for loving ever "oh, bootloader sipping data out of what it thinks are some lovely 1990s EEPROMs and PCMCIA linear flash? hi, i'm a memory-mapped file backed by a modern solid state drive, nice to meet you " but again, the actual music is hardware-encrypted and afaik nobody's figured out the fpga/cpld/whatever that sits between the cpu and the mp3 decoder chip. and if capcom cps3 is anything to go by then there were a lot of surprisingly competent bored amateur cryptographers working at japanese game companies around the turn of the century.
|
# ? Aug 15, 2017 05:24 |