« first day (2399 days earlier)      last day (2554 days later) » 

4:02 PM
45
Q: String Deduplication feature of Java 8

JoeSince String in Java (like other languages) consumes a lot of memory because each character consumes two bytes, Java 8 has introduced a new feature called String Deduplication which takes advantage of the fact that the char arrays are internal to strings and final, so the JVM can mess around with...

TIL about string deduplication
> If hash code of two String are same then the Strings are already the same, then why compare them char by char once it is found that the two String have same hash code ?
rofl
 
@Abyx For the spikes you get impaled on over and over and over and over and over again.
 
@Abyx It's visual line mode.
 
@Abyx or the path you take through a corridor
 
@Abyx Yeah, but we don't care about muggles.
 
really, there were decent console editors in MS-DOS, with drop-down menus, windows and shit.
and now we have vim and nano
 
4:10 PM
@fredoverflow PEBKAC What he's doing is the equivalent of Ctrl+Home, Shift+Ctrl+End. There's % as a range which is much easier.
(Also, vim keys are rebindable, so it can easily be Ctrl+A, or something you can type without hurting your pinkies.)
 
@R.MartinhoFernandes is there a packet for that?
 
something I can install
 
Remappable keys?
 
no, config preset
 
4:13 PM
Dunno if Cream is still a thing.
Site is still alive: cream.sourceforge.net
It's a config geared towards more mousey and Ctrly people.
It defaults to insert mode and shit.
 
but it is not console, isn't it?
 
@R.MartinhoFernandes sounds awful
 
@LucDanton I know.
@Abyx I honestly never used it, so not sure.
 
we already have sublime/atom/code for GUI stuff
 
4:17 PM
I'm really interested in a sane console editor, which could be used without using X client/server
 
@RudiantoPrasetya you should really come back to the gaem, the community would know how to handle you
 
@LucDanton I just bought the Switch with Zelda
and spent 4 hours on it
 
haha yeah that's not at all a dishonest representation....
 
@Borgleader Aww... no favorites? It deserves at least some. lol
 
someone's opened it in Notepad so LF isn't handled as newlines. MIBs are actually human readble
in case anyone here is familiar with SNMP, our management server sends out traps & informs on behalf of 1-3000 remote measurement probes, which poses a bit of a scalability problem. Ideally don't want more than 100 informs pending at any given time (network protection software, AV, firewalls etc tend to chuck away more than 20 simultaneously received traps, assuming it's a DDoS) (more than that is hard on the unscalable implementations inside Net-SNMP and similar libraries)
but each device could, in the very worst case, suddenly raise 271 alarms at once
that's like 810,000 traps
I'd prefer to be able to combine multiple notifications into one trap/inform where possible to alleviate the scale concerns. doesn't appear to be possible tho :(
think this is a flaw in our MIB design
should prob just have two alarmOn/Off notification variants, and bind n alarm OIDs to each one as needed. then my software can collate notifications and problem solved
meh
 
4:26 PM
duh
 
261
Q: JSON: why are forward slashes escaped?

Jason SThe reason for this "escapes" me. JSON escapes the forward slash, so a hash {a: "a/b/c"} is serialized as {"a":"a\/b\/c"} instead of {"a":"a/b/c"}. Why?

> The reason for this "escapes" me.
lol
 
A crashed advertisement reveals the code of the facial recognition system used by a pizza shop in Oslo... https://t.co/4VJ64j0o1a
2
not code but logs
still it's quite fascinating
in a bad way
 
@Abyx Indeed.
 
@RudiantoPrasetya console scum
 
4:51 PM
@rightfold The first 10 DConf 2017 videos are up!
 
user1804599
I don't give a shit about D.
3
 
But do you give a shit about Walter?
 
5:37 PM
hum I need to come up with a better dispatch algorithm
the threading stuff is sorted; I'm happy with that
But now I'm passing x objects to a third-party library that in turn sends them off-world (read: over network). For each, it'll expect a response within y seconds, and retry z times. I find that if I pass x to the library at a time (this is SNMP) the network is eating up all but about 20 of them. So x-20 end up sitting waiting for y seconds and are retried. The result is a lot of latency, particularly as x grows.
 
@RudiantoPrasetya Good
 
So I reckon I want to actually only send to this library in batches. Naively I could just lob ~20 to it at a time and only send more when I get successes reported. But timeouts are to be expected too! If x is like 500 and my first batch of 20 fails but only due to a temporary network blip, I'm then waiting y seconds before progressing at all. Overall that's going to make the queue last a very long time, potentially with new items added faster than old ones are processed.
And I don't really know how to fix it
Is there some common way to approach this kind of nightmare
There must be
Put another way, how would you handle the dispatch of 810,000 SNMP informs?
meh guess I just need two thresholds. one an upper limit for what's managed by the library at any one time, another an upper limit for the remainder being "buffered" locally ... and I guess that's the best I can do....
ideally need to get x down :D
 
user1804599
6:04 PM
I like pickles.
 
@BoundaryImposition Are there duplicates? Can you deduplicate?
 
I wish I liked pickles :(
 
@rightfold I like sauerkraut!
 
@wilx it's not the most efficient MIB but ultimately all the data is unique
 
@BoundaryImposition I mean, if you are informing the listeners of disk space, you can loose one or two notifications of free space change.
 
6:06 PM
@wilx yeah it's not that
hundreds of distinct alarms for thousands of distinct devices (effectively being reported by proxy)
 
@BoundaryImposition Sucks to be you.
 
@wilx totally :(
to be clear, all alarms on all devices simultaneously is incredulously unlikely
but ~10,000 total informs at once isn't impossible and my app needs to not die if that happens
plus I'd like the extremes to work comfortably using some clever technique
 
@BoundaryImposition Wait for confirmation asynchronously then?
 
@wilx I do
but with the library waiting for thousands of responses it's very inefficient with RAM and CPU (linked list lookup, for a start)
 
@BoundaryImposition Is this UDP?
 
6:08 PM
and I can basically guarantee that sending more than 20-30 at once will result in all but 20-30 failing (network drivers don't like DDoSing), so we're wasting the y timeout for all the rest
@wilx yeah SNMP informs
 
user1804599
@wilx Disgusting.
 
@BoundaryImposition Can you elaborate on this?
> find that if I pass x to the library at a time (this is SNMP) the network is eating up all but about 20 of them. So x-20 end up sitting waiting for y seconds and are retried. The result is a lot of latency, particularly as x grows.
 
@wilx not sure
 
Are you saying you cannot safely send more than 20 traps or whatever at a time using the library?
 
seems like it - though in a test of 280 at once, I can see them nicely in a packet capture taken on the sending machine
so I'm blaming the receiving machine and/or intermediate hops (e.g. I've had better results when removing certain AV-like software that ostensibly protects from DDoSsing)
 
6:12 PM
@BoundaryImposition Is this Windows?
 
tbh for similar reasons I'm not sure I'd expect 810,000 concurrent sends to work anyway
@wilx CentOS 6 or 7 sending, arbitrary receiving
 
And you are getting some feedback/ACK?
 
@wilx inform responses correctly received for all of the informs visible on the receiving SNMP manager
I really think that a "rate limit" of sorts is nominal behaviour for a network
though admittedly 20 seems low
hang on how the fuck do games work
and like streaming video, that must chuck shittons of data over UDP
 
One more question, these informs are broadcasts or targeted to specific IP/machine?
 
targeted
 
6:15 PM
@BoundaryImposition OK.
 
multiple targets configurable by operator but I'm attacking the problem on a per-target basis for now
 
Well, it seems to me you could benefit from sorting out "stream/target" and then implement something like TCP sliding window.
That way you can rate limit the "stream" per target.
 
sounds promising
 
Assuming it is not the library but the network or the receiving machines who are the problem.
 
can you confirm what you mean by "sorting out 'stream/target'" please
right
I do also want to keep the library itself from being overloaded but I guess that's a secondary problem that is easier to manage. so I'll ignore that for now
 
6:19 PM
@BoundaryImposition Let's call all informs going to a specific target a stream. Then you can manage all informs going through this stream separately from other streams, including rate limiting and resends.
 
sliding window is a good idea; then I don't need to hardcode "20" and risk getting it horribly wrong
@wilx ah right ok
 
You would basically implement simple TCP like sliding window for each of the streams.
You can also adapt by sending bigger/smaller chunks or slow/faster per stream.
 
and then just put a couple of caps at other points in my pipeline
max informs queued in app per stream, sliding window value ("valve" :D) per stream, max informs sent to library total
bit of a shitstorm when bringing Traps into the mix though. will have to rate limit those at some fixed rate as they don't provide any success/failure notifications. but again that's a whole other ballgame
ok so this whole SNMP thing is way more complicated than I'd hoped, if I'm to get it working optimally
this is the sort of thing I'd have thought the damn library would do for me
at first glance potaroo.net/ispcol/2002-05/2002-05-snmpng.html appears to touch on what we've discussed
 
@BoundaryImposition Well, maybe all you need to do is patch the library. :)
 
@wilx funnily enough I'm already bundling a patched version :D
the "native" version packaged for my target OSs doesn't, for various reasons, support being linked with an application that may have more than 1024 FDs open
which is funny
 
6:26 PM
@BoundaryImposition select() limit. Or rather fdset limit.
 
@wilx yep
plus a couple of other reasons
 
6:43 PM
How much data is 20 informs? There is a UDP limit of 64K bytes per packet and even that will have to be fragmented which could be another source of problems.
 
@wilx it should be a very small amount of actual data
can't imagine I'm hitting 64k at all
I was hoping to be able to condense some of my alarms into fewer, larger notifications to make better use of that
but that's another topic
the more I look at this, the more arse-backwards I reckon we're doing it. e.g. we only have notifications atm, no GETs. I inherited this component from someone now gone, and we're only just starting to deploy into networks that'll use SNMP
I suspect we're going to find our new customers want this done differently to how we do it now
 
@wilx shocking
 
-4
Q: Ditel program asnwer needed

user7978635Does anybody have this answer? 1// Fig. 18.10: Date.h 2// Date class definition; Member functions defined in Date.cpp3#ifndefDATE_H4#defineDATE_H56class Date 7{8public:9static const int monthsPerYear = 12;// number of months in a year1011void print() const;// print date in month/day/year format1...

/cc @Mysticial
 
...Why do you post this? D:
 
@Borgleader Not enough plants around for people to stare at. That's why they're all turning to coding.
^^ Now that's what I call an edit that turns excrement into excrement.
 
god finally got the brake drums off
should've brought the bigger hammer upfront
 
7:15 PM
that's what she said
 
why would she say that
k time to decide what parts to order
 
@Borgleader Check out the OP's other question. The comments under the answer.
 
@Lexi I have but i want to get out of doubt. — user7978635 11 mins ago
I love it
I like how a school is evidently referring to cplusplus.com
 
7:35 PM
Well, when the curriculum was written it probably was the only source on C++.
 
so what do you use for derusting
 
I simply delete Rust source code on my computer
6
 
Puppy doesn't fuck around.
 
what can I say
even my colleagues have noticed my excessive intellect and massive experience, as well as non-fucking-around-ness
 
7:53 PM
@BartekBanachewicz a big plastic hammer is a must for these things.
I reworked my 'round the world without planes route gist.github.com/rmartinho/6c50445a23fc7d2f5b7059e7cf322fd7.
 
I GOT DISSAPOINTED WITH THIS BEHAVIOR. I DIDNT EXPECT THESE FROM STACKEXCHANGE USERS AND MODRATORS! — user7978635 20 mins ago
7
 
@R.MartinhoFernandes plastic? pfff
anyway the thing was stuck on the bearing which disintegrated in the process
 
@EtiennedeMartel I tried but I wanted to understand the Q 😐😐😐 what a behaviour it is! Thanks for your nice behaviour and hosbitality — user7978635 27 mins ago
I wonder if his thanks are sarcastic.
Probably not.
Not sure how I feel about that.
 
@BartekBanachewicz have fun damaging your brakes
 
@EtiennedeMartel heh probs
 
8:14 PM
@R.MartinhoFernandes I don't think there's any more damage to be done. Again, the bearing had to be replaced anyway, I'm buying new springs + new pads, and just hitting the drums won't hurt them
they're both off anyway
I want to derust everything I'm keeping, remake the brake hose ends, replace the elastic ones and all sealings.
after that the brakes will be done p much.
 
8:29 PM
Technically, an array is a const pointer that the compiler happens to know the size of. — AppWriter 1 min ago
ffs
 
// error C3312: no callable 'begin' function found for type 'int *'
You know he's heavily mislead when he's using MCVS to write C++ code
 
^^ Just another day on SE.
 
@Mysticial heh
how did you generate that list?
 
@BoundaryImposition yet we currently have three answers, some of them with UVs...for a question that is (still) unclear. :-( So much for answering well-asked questions. — Ðаn 10 mins ago
@BoundaryImposition sorry ... I'm so tired of the signal/noise ratio ... — Ðаn 8 mins ago
hypocrite!
@Mysticial neat!
I can't seem to find a link to that page anywhere
 
8:45 PM
Next April 1st, let's all post a question complaining about downvotes on meta.SE all at the same time.
Never gonna happen, but it'll be hilarious.
 
Does anyone here even write C++ anymore?
If so, which IDE do you use?
 
user1804599
Of course not, why would they?
 
@EnnMichael Yes.
@EnnMichael None.
 
@Puppy Nice
@Puppy Can you describe the process in more detail
 
nwp
8:56 PM
@EnnMichael Qt Creator, though I'm getting increasingly annoyed at it because it tends to ignore my warning flags and compiler paths
 
Oh come on @Puppy
 
@EnnMichael I use VS, Geany and juCi++ (and sometimes Vim, though I prefer to avoid it).
 
@nwp You might even say, it's getting cute with you.....
 
nwp
it is Q-T for me, it hasn't earned the right to be called cute and probably never will
 
8:58 PM
cute ee
you can't escape it
 
nwp
cue tea
 
@JerryCoffin Wait, does Geany do error highlighting and stuff?
And refactoring
 
@nwp good idea brb
 
@EnnMichael It does quite a bit of stuff. I suppose if I made errors, it might highlight them, but I've never checked. Geany on its own is pretty bare bones, but there are quite a few plug ins for it to add what it's missing out of the box.
 
Aha, okay, thanks
@Puppy I wasn't insulted if that's why you removed your message, I know you're a cool guy
 
9:04 PM
:37058652 lol
 
@nwp I've always wondered about the sanity of the person who decided to use the name "PyQt", when he could just as well have used "QtPy"...
7
 
Wait, did that was deleted by feeds?
 
@EnnMichael no, it was removed automatically and he is now suspended
 
Did it get mod-flagged? I didn't see.
 
@Mysticial it was regular flagged
 
9:05 PM
@BoundaryImposition Oh shit
 
seemed to happen pretty fast mind
 
Haha, rekt
 
What the fuck. Talking about someone's mom's ass is not grounds for suspension in this room.
 
@Mysticial well, at the risk of starting a debate on the matter, which I'd rather not do, that is grounds for suspension on this website which is not a school playground
(it's not really grounds for suspension)
that was kind of a rude first response to Enn though
 
@Mysticial So I didn't notice--have you had any discussion of the rumored AMD "Whitehaven" CPU (16 core Ryzen targeting high-end desktop, not servers)?
 
9:07 PM
chicken tikka balti ON ITS WAY #yessss
£13.80 meal but I don't care
 
@JerryCoffin That rumor's been around for a while. It's just been confirmed to be true.
 
Apparently the mods also like to do stuff to Puppy's ass
 
maybe they mod it
like adding afterburners and stuff
 
Wait, did someone else report the message or did it happen automatically?
I see the little flag button
 
@Mysticial Well (unofficial) confirmation that such a chip exists, which certainly isn't earth-shaking. How they market it (HEDT vs. server) has little to do with the CPU itself though (but could make a pretty significant difference to price).
@EnnMichael Pretty sure somebody has to flag it (and multiple others vote to confirm the flag) before anything happens.
 
9:11 PM
@EnnMichael Someone must have done it and then others across the chat network validated
It was validated so fast that I suspect the threshold is lower for messages containing words like what Puppy used, but we may never know!
 
@JerryCoffin It's definitely gonna cause Intel some headache on the HEDT side. Given that Intel doesn't have as high a core count and they're being forced to move up the release date.
 
The blue flag count icon barely came up before it was gone again
I have Puppy ignored but I knew right away what had happened ^_^ Easy then to check via profile.
 
@BoundaryImposition Then it was mod-flagged.
 
@Mysticial Aha so that skips the remaining validation vote requirement?
 
@BoundaryImposition Why? He's like the best person in this room
You savage
 
9:13 PM
@EnnMichael roar
 
Somebody flagged it. A mod saw it, and flagged. Mod flag is binding, so poof.
@BoundaryImposition yes
 
@Mysticial Owners see when mods flag?
 
@EnnMichael His ignoring you is a badge of honor.
 
No we don't. But the only way a message with one flag can disappear so quickly is if:
1. 5 other people simultaneously add their flags to it.
2. The owner deletes it.
3. A mod deletes or flags it.
 
Ok so deduction :thumbsup:
 
9:14 PM
@JerryCoffin I didn't follow
 
In this case, it's either 1 or 3 (mod flag). But 1 is highly unlikely. It's not 2 because the message history says deleted by feeds and not puppy. Getting deleted by feeds is getting deleted by flags.
 
What are you trying to say
He's muted :D
No actually one person is better than puppy
It's cat
 
there's a theme developing here
 
@EnnMichael He religiously ignores all the best people.
 
Heh
 
9:16 PM
@EnnMichael When I code C++ I usually do CodeLite, MSVC++, and occasionally Eclipse. Largely depends on the computer I'm using and which platform I'm programming for. Sometimes I just write the source and call the compiler through the terminal.
 
I guess you like @milleniumbug too?
 
@EnnMichael Oh come on, don't bring Cat into this.
 
anddddd I've run out of nicks to draw from. damn guys have more animal names
 
@BoundaryImposition Yesss
I love him
We bang
 
someone go to SE.SE chat and grab gnat quick
didn't we used to have a guy called Tony The Lion or was that another chatroom?
@TonyTheLion hah boo
 
9:18 PM
But seriously, it's more important to get started with an IDE than it is to choose the 'right' one. You figure out which ones to choose from experience.
 
@Aaron3468 They all seem terrible once you try writing, say, C# in VS
Because that's how an IDE should be done
 
IDEs all seem terrible once you start using sublimetext
 
I'm very happy with my development environment overall. Currently I have 10-15 directories in a specific directory, each being a SVN checkout of some module. The most active projects may have a few checkouts (trunk, a branch, some tag, etc). I'll edit in Notepad++, then WinSCP over to whatever VM I'm using to build/test, then make all in PuTTY from whatever subdir needs rebuilding. TortoiseSVN from graphical shell to arrange it all. And away we go. I can't remember being more efficient ever
It's like the perfect balance of flexibility and ease of access
Also got Synergy linking my laptop's desktop (lol) to the desktop on this my home PC, where Chrome is always open for chat and cppreference and std and SO; so, lookup is very very fast and doesn't break flow much
 
Like no
Have fun renaming a simple function
 
9:22 PM
With a good design that's not hard. And should be rare anyway
 
Rare?
 
@EnnMichael Shift>>>>>, Ctrl+D x6, type new name, done, fun :)
 
It's actually one of the most frequent things to do in code
 
I can do quite a lot to the guts of my code without directly affecting the outer layers, because I write decent interfaces rather than a big spaghetti mess
no it's not
 
How the fuck
Are you like a wizard?
 
9:23 PM
Not once you can write it properly the first time xD
 
if I do need to do it, Notepad++'s "Find in files" feature is perfect and it's frankly really really easy.
 
So you always get the name exactly right the first time?
 
@EnnMichael Duh
@EnnMichael If I don't, I'll get it right the second time.
@EnnMichael You make it sound like you spend half of each day renaming functions, which is a skill smell
 
Well no
It's called refactoring
 
"skill smell" 1. n. like a design smell or code smell but for skills
you refactor more frequently than doing anything else in code?
 
9:24 PM
@Mysticial When we start seeing competing "leaks"/rumors like right now (Intel X299 and AMD Whitehaven) I start to wonder how much is really "leaks", and how much is really intentionally released by the vendors to try to keep from losing the market before they can deliver a real product.
 
Of course
 
@EnnMichael 95% of the time I'm programming something I've programmed before and know what names to expect. The other 5% I'm renaming a variable that's only called two or three times because my code is modular.
 
cool
@Aaron3468 this
 
Okay I might have overexaturated
 
had to add support for a new type of device yesterday. logically this affects 90% of my application, but I only needed a new enum value and two lines in a couple of functions :D
it all just cascaded for me
 
9:25 PM
But I find myself seeing a name, thinking about it for 10 seconds, and being like "you know, <this new name> would be a better name for that" and then I just change it
 
I think I've finally got it with this project :D
aside from the SNMP obvs
 
How would you feel about networkhost << message::ping; networkhost >> pingreply;
 
@BoundaryImposition Can you link me a project of yours
 
@EnnMichael well, on the offchance that you're not trolling, that's a really bad way to go about things and it won't fly when you are in industry with a team and customers and tests and APIs
@EnnMichael no
 
@JerryCoffin It's obviously all intentional. I mean, there was this whole multi-forum crackdown on Kaby Lake benchmarks before the "NDA" lifted. In reality, it was just Streisand effect. In the end, the most boring part was the launch itself because so much had leaked that there was nothing left to look at.
 
9:27 PM
@CaptainGiraffe meh
 
@BoundaryImposition Why not
 
@CaptainGiraffe Looks pretty...synchronous to me.
 
You had these threads called, "NDA Violator Shame Lists" which literally linked to all the articles that leaked Kaby Lake benchmarks.
 
@EnnMichael because those which aren't classified are proprietary and not web accessible?
 
@EnnMichael True, that's a lot of your early programming experience; you tackle design problems. As you gain experience, design comes naturally and you spend more time debugging compiler optimization, your misuse of a library, or hardware/network timing bugs.
 
9:27 PM
I'm an actual programmer, not a github hobbyist ;)
 
@JerryCoffin Indeed, that is why I think this might be appropriate.
 
@BoundaryImposition I'm 16 :/
 
@CaptainGiraffe annoyed
 
@EnnMichael you'll find out all of this stuff
oh god you never even saw the 90s
crumbling over here
 
@LucDanton familiar though. The logic is well known
 
9:29 PM
@BoundaryImposition Well right! I'm at the point where I can mentally deal with being in the wrong at least
 
@Mysticial It'd be interesting to do some microcode patches on the engineering samples, so you'd have minor anomalies that could be traced back to who leaked what (except that, as above, it seems unlikely that either Intel or AMD really wants to stop them from happening).
 
@EnnMichael that fades with time :D
 
@CaptainGiraffe shift operators is not a great interface for non-shifting business
 
nwp
@EnnMichael wow, you surpassed @BartekBanachewicz at the age of 16
 
Hah, there's that guy with a Koala pic too
Forgot his name
 
9:31 PM
12
Q: Why do colours of object change due to incident light?

AshwinA leaf is green, a pen is blue and so on because those objects absorb all colours and reflect only one colour. However when red light is incident on these objects, their colour becomes reddish. Why is that the case?

this seemed really dumb at first
 
@CaptainGiraffe the annoyance would be just as familiar
 
@JerryCoffin I have non-AVX512 benchmarks on the new Skylake Golds. And the guy plans to run some AVX512 benchmarks and send me those numbers. He doesn't even know if he's under an NDA or not.
 
but it's actually a pretty fair question, hah
can't say I'd ever thought about it
 
IOW, nobody is trying to enforce shit. Granted, you can already access the Skylake Golds on Google Cloud.
 
And @EnnMichael, don't let us discourage you. You don't know much right now and you'll make a lot of mistakes (that we'll probably bother you about :)). Ask questions and you'll learn it in time. A lot of us have been through those experiences learning new things.
 
9:32 PM
@EnnMichael nah pics don't count
 
@LucDanton You wouldn't have a better suggestion in mind?
 
I more or less agree with Luc on this nowadays. I didn't always
 
@Aaron3468 I like you, though I still prefer @Puppy
 
went through a "stream interfaces" phase but I grew out of it
 
@CaptainGiraffe networkhost.send(message::ping); auto pingreply = networkhost.receive();
 
9:34 PM
@LucDanton That does look much better
 
now I prefer stuff like conduit.sendMessage<control::ping>() and conduit.addMessageObserver<control::pong>(&self::onPong, this, _1, ...)
ofc if everything's synchronous in your app then you don't need observers
 
nwp
@LucDanton is pingreply something like a future?
 
I already have that, and I really appreciate the input.
 
in fact even for the async stuff I have a system that looks roughly like this at the call site:
 
@nwp how would I know?
 
9:36 PM
sendMessage<control::ping>(networkhost)
   .expect<control::pong>(
     TIMEOUT_SECS,
     []() { /* timeout */ },
     [](const control::pong&) { /* on success */ }
   )
;
 
@Mysticial ...which tends to render any NDA meaningless anyway (essentially all of them I've ever signed had a clause about "until or unless it becomes known to public by other means", or something similar).
 
@nwp In this case it is all politely waiting.
 
does all the message/observer {,de}registration for you
you could do the same without any change if your system were synchronous
and that's more or less the same as Luc's idea
the timeout handler is also fired if the connection drops so there are added complexities but this is the basic idea
again more flexible without being too ugly IMO
I guess I accidentally took my design cues from jQuery
now binding the expectation to a future, interesting idea. haven't had a need for it yet but I wouldn't be surprised if that were an enhancement I make one day
.expect is also variadic so you can pile on more possible responses if you like
the actual message parsing/serialisation/dispatch/receipt is all happening way underneath in the "engine" behind an event loop
same engine currently powering three and a half products
(the half is a partial port to FreeRTOS)
so, well, there you go.
 
Also, I don't want to come off as butthurt, but some open source projects have also generated a lot of money
 
9:52 PM
indeed
and I'm consistently impressed by how relatively smoothly the whole online software ecosystem works
Linux distros, package repositories, free (and cost-free) software with updates being pushed down to the consumer, ...
it's a massive machine largely run by volunteers and it is fantastic
I do worry about becoming too reliant on it, because I'm paranoid and always thinking about the zombie apocalypse
 
The biggest issue is that there's only enough volunteers to support major open-source projects. Smaller ones usually die from lack of support.
 
Yeah, that's true
 

« first day (2399 days earlier)      last day (2554 days later) »