Night Shade posted:i have been appreciating tefs rants on distributed systems for a while now even with about half of them resulting in me going "oh god that's us and now Extremely same. Down to using both event sourcing and a queue (separately). Osmosisch fucked around with this message at 08:08 on Jul 23, 2018 |
|
# ? Jul 23, 2018 06:50 |
|
|
# ? Dec 7, 2024 05:23 |
|
Luigi Thirty posted:hey i want to throw together a tool for sending commands to the transputer board. unfortunately the system it’s in runs windows 95 and I don’t actually really know anything about pre-.net windows pogromming just write C for Win32, it’s a lot like classic Mac Toolbox programming for some reason
|
# ? Jul 23, 2018 07:26 |
|
Luigi Thirty posted:hey i want to throw together a tool for sending commands to the transputer board. unfortunately the system it’s in runs windows 95 and I don’t actually really know anything about pre-.net windows pogromming just use the win32 api directly if you are using c or use visual basic. it was basically made to quickly hammer out gui-based tools.
|
# ? Jul 23, 2018 08:17 |
|
The_Franz posted:
but now you have a visual basic program to maintain
|
# ? Jul 23, 2018 08:18 |
|
go maximum mid-1990s and use Harlequin Dylan for Windows
|
# ? Jul 23, 2018 08:37 |
|
Boiled Water posted:but now you have a visual basic program to maintain I mean you're writing software for windows 95 so I guess you're past the point of worrying about things like that.
|
# ? Jul 23, 2018 08:51 |
|
use your visual basic ui to track people's ip addresses
|
# ? Jul 23, 2018 08:53 |
|
Chalks posted:I mean you're writing software for windows 95 so I guess you're past the point of worrying about things like that. I missed that part completely also, welp
|
# ? Jul 23, 2018 08:58 |
|
delphi is the answer. all the good parts of vb but with a not entirely terrible language behind it
|
# ? Jul 23, 2018 09:09 |
|
eschaton posted:just write C for Win32, it’s a lot like classic Mac Toolbox programming for some reason odd also similar to GEM
|
# ? Jul 23, 2018 10:17 |
|
truly outrageous
|
# ? Jul 23, 2018 10:57 |
|
eschaton posted:truly truly truly outrageous
|
# ? Jul 23, 2018 13:07 |
|
i need a java library that does parsing of html, it doesnt have to be perfect, i just want to set up a proxy webserver and use the library to replace some strings without compltely breaking the html tags. i own a domain that is a parody of a very popular nazi discussion board and i'm going to have some fun with it. any suggestions
|
# ? Jul 23, 2018 13:42 |
|
Blinkz0rz posted:thats why our message bus passes pointers to files in s3. any performance loss (and there's not a lot) is offset by a) being able to sort of replay messages and b) diagnose failed payloads this is your brain on message bus? is there a reason you can’t do service discovery?
|
# ? Jul 23, 2018 13:43 |
|
CRIP EATIN BREAD posted:i need a java library that does parsing of html, it doesnt have to be perfect, i just want to set up a proxy webserver and use the library to replace some strings without compltely breaking the html tags. must it be java? I think pythons beautifulsoup does what you want, at least the scraping bit, the regex i'm more iffy on
|
# ? Jul 23, 2018 13:51 |
|
i'd rather not work with a plang and have to set up uwsgi or anything like that
|
# ? Jul 23, 2018 13:57 |
|
jsoup looks ok???
|
# ? Jul 23, 2018 14:38 |
|
I used jsoup in the distant past. in c# I would use html agility pack.
|
# ? Jul 23, 2018 14:40 |
|
tef/thread, is FoundationDB legit? It sounds pretty good as a CP system, with the "sane default" of no transactions >5 seconds long
|
# ? Jul 23, 2018 15:39 |
|
I don't want any j in my soup
|
# ? Jul 23, 2018 15:51 |
|
i used jsoup for an Android app a while back and it worked great for my needs
|
# ? Jul 23, 2018 15:54 |
|
prisoner of waffles posted:tef/thread, is FoundationDB legit? It sounds pretty good as a CP system, with the "sane default" of no transactions >5 seconds long ya im curious too, it makes a lot of promises that sound like bs but i don’t know enough to know
|
# ? Jul 23, 2018 16:17 |
|
I think my favorite part of Win32 so far is all the deprecated fields left for Windows 3.x compatibility
|
# ? Jul 23, 2018 16:19 |
|
ok I have no loving clue what mediatr does which either means I shouldn't touch it or I should definitely touch it. also I got asked to provide input into an industry group on establishing a data format for some stuff because I've basically architects our internal one and they asked for submission as "text or csv if possible" my tightly defined xml schema based on a concrete database model its gonna end up being a heap of poo poo I can tell
|
# ? Jul 23, 2018 16:38 |
|
redleader posted:tef posts make me feel like a huge fuckin idiot well hey i feel like cassandra over here and i mean the greek myth not the database
|
# ? Jul 23, 2018 16:48 |
|
prisoner of waffles posted:tef/thread, is FoundationDB legit? It sounds pretty good as a CP system, with the "sane default" of no transactions >5 seconds long it was legit enough to be bought, worked on sqlite's b-trees instead of writing their own, and a focus on composable behaviour through layering things atop k-v storage i haven't used it, but honestly i'd trust it more than cassandra, maybe as much a i'd trust dynamodb, if maybe a bit less, but it will probably do what you want
|
# ? Jul 23, 2018 16:50 |
|
CRIP EATIN BREAD posted:i need a java library that does parsing of html, it doesnt have to be perfect, i just want to set up a proxy webserver and use the library to replace some strings without compltely breaking the html tags. is https://github.com/rath/libxml2-java an option? well, any bindings to libxml2? i mean, it does the job
|
# ? Jul 23, 2018 16:50 |
|
tef posted:is https://github.com/rath/libxml2-java an option? well, any bindings to libxml2? i mean, it does the job might work maybe, but im going to be working with parsing html written by racists so im going to assume it's not going to have closed tags etc
|
# ? Jul 23, 2018 16:58 |
|
Osmosisch posted:Extremely same. Down to using both event sourcing and a queue (separately). welcome to every code base ever, because no-one knows that building large scale systems involves doing the opposite of what works in the small
|
# ? Jul 23, 2018 16:58 |
|
Using a proper XML library for HTML is like trying to pick up hookers in a go-kart: it's probably not going to work and you look foolish doing it. Go with jsoup.
|
# ? Jul 23, 2018 16:58 |
|
if you add a component in a system to prevent X happening it will become the number one cause of X in your system
|
# ? Jul 23, 2018 16:58 |
|
Peeny Cheez posted:Using a proper XML library for HTML is like trying to pick up hookers in a go-kart: it's probably not going to work and you look foolish doing it. ty. seems to be the consensus. going to make some skinheads realmad with this project.
|
# ? Jul 23, 2018 17:17 |
|
i don't mean this broadly but in a 'the errors still happen, the thing that should be put in place is working out responsibilties' there is a problem in that people will see a problem "X is slow" and so make X fast to compensate, but the other parts of the system relied on X being slow, or that the fix to make X faster will make all X's slower overall for example traffic jams exist, so people build wider roads, and now the traffic is slower and even more jammed the trick to solving traffic jams is to get less people to drive on the road, or to slow down the oncoming traffic as not to meet the wave of stop-start traffic ahead another example trains people think that making trains longer will help with over crowding, but in reality it makes everything worse: longer trains mean longer embark/disembark times what you want is to have more frequent smaller trains meanwhile with queues, well, persistent queues or logs of event streams people put things in a queue so that they don't have to handle errors, or wait for the other service to be online. the queue backfills, worker pool gets increased, the other service gets DoS'd out of existence. queues do not make for a robust scalable system because you need to have a linear number of operators tuning the system if your machine fails under a load of say '1000 requests per minute', you can put a queue on it so that bursty inputs don't break the system, but the problem is that now your failure curve turns into a hockey stick: the bad case was still there, and you made all the warning signs go away the thing is, your system will always have a breaking point, in the same way that making drugs illegal just made them stronger and more dangerous, 'hiding errors' will just make the errors more dangerous and explosive
|
# ? Jul 23, 2018 17:18 |
|
Powerful Two-Hander posted:ok I have no loving clue what mediatr does which either means I shouldn't touch it or I should definitely touch it. well, and this may be a not great explanation and will definitely be web-biased but here's why i like it (which will hopefully be more useful than a glib 'it passes messages to message handlers'): - it minimizes the number of dependencies your controllers have to take. instead of data access classes, loggers, whatever, your controller can just take a mediator and then send messages to it when it wants something. - related to that, it means that you can seamlessly (from your controllers' perspective) back a feature with whatever you want because it's all hidden away in the handler. the controller just says "i want all the things" but it doesn't know/care whether they're in a db, flat files, wherever. - it also means you don't end up coming back and cramming more stuff into your controller methods every time someone asks for something new to happen whenever you do X ("we want an email when..." is a great example). you just add a new handler for the message and do it there. - this is opinion-y, but i think it makes testing easier. controllers get way simpler (you just mock a single dependency), handlers tend to be more integration test than unit test friendly but... i think that's fine? there's also no reason you can't unit test them, you just tend to have to mock more which decreases the value imo.
|
# ? Jul 23, 2018 17:31 |
|
CRIP EATIN BREAD posted:going to make some skinheads realmad with this project.
|
# ? Jul 23, 2018 17:33 |
|
Peeny Cheez posted:Using a proper XML library for HTML is like trying to pick up hookers in a go-kart: it's probably not going to work and you look foolish doing it. welcome to HTML, where everything's made up and the tags don't matter
|
# ? Jul 23, 2018 18:59 |
|
<p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br>
|
# ? Jul 23, 2018 19:22 |
|
Can someone explain what is meant by "composability"? It's a term that is used itt all the time but I've never encountered it elsewhere.
|
# ? Jul 23, 2018 20:19 |
|
compostability more like
|
# ? Jul 23, 2018 20:27 |
|
|
# ? Dec 7, 2024 05:23 |
|
Ploft-shell crab posted:this is your brain on message bus? is there a reason you can’t do service discovery? it's a ~8 year old data ingestion pipeline and i have 0 control (or interest in control) over refactoring how services talk to each other
|
# ? Jul 23, 2018 20:31 |