skysight-inc/HackerNews huggingface dataset:
Ask HN: Scheduled events in an event sourced system
I've been learning a bit about Domain Driven Design, CQRS, and event sourcing. The domain I'm working with (at least parts of it) seems like an ideal use case of event sourcing.

But there's a part of it I haven't been able to wrap my head around: How to set up automated/scheduled tasks.

I'm most familiar with Python and Node/JavaScript, and that's what I'm planning to use as a starting point for the back end of my system.

In the past I've set scripts running on a crontab, and scheduled tasks leveraging Celery, RabbitMQ, and Redis.. but I've never built something with scheduled data fetching that fed that data into an event sourced system. Using the tools I know don't feel quite right.. like they're the nail to my hammer and I'm missing something.

To simplify: Basically I have one service that'll rely on an external data source (the data I need is available over a RESTful API), and another service that uses the resulting state of that data to create events in its own context.

Does anyone have experience with this sort of architecture? Could you offer any advice or point me at some resources?

Thank you in advance!
I wonder if all that excess heat from burning can be captured and stored somehow.
> Friend had parked a car in The Mission for their wedding held there. It was broken into and some wedding gifts including cash were stolen.

That someone would park like this with a car full of stuff is mind boggling to me. The mission is not somewhere I’d leave anything in sight in my car let alone a car full of wedding presents.

It’s unfortunate that this happened to your friend, and it’s not right that it happened, but it’s also obvious that it would happen. Were they from out of town?
Degrowth is not a solution in the same way that "just stop fighting" isn't a viable pathway to world peace.

Look for other solutions.
Oh! That makes complete sense. I didn't know .pyc was the bytecode of a Python file. Thank you!
What are the other major sources of air pollution / particulate pollution in the Bay Area?

There's no coal consumption to speak of. There's diesel fuel consumption, though that is largely concentrated on transport corridors (I-80, I-580, US-101).

Wildfire emissions all but certainly swamp woodstove usage.

That said, yes, a small number of poorly-tuned fireplaces can create a large amount of smoke. Where the intent is actual useful heating, and not fireplace-as-decoration, thats' a solvable problem.
It's not just a closed system, it's zero sum. It's only possible to cash out for a profit if there are more people willing to buy in.

Some of the anti-bitcoin crowd tried to make the term "Nakomoto Scheme" a thing, and clearly failed. The basic idea is that things like Axie Infinity have some of the aspects of a ponzi scheme, without the central organization and coordination that makes an actual ponzi scheme illegal. While there isn't a central operator paying out old investors with new investors money, anyone currently invested can only cash out if new people join. This begins to look a bit like a decentralized ponzi, with everyone currently invested in it motivated to evangelize it and convert new people in order to ensure the fresh supply of new buyers to keep the price up and/or let them cash out.
Sounds like the premise of David Macaulay's Motel of the Mysteries.
what's more odd is that "...locomotion closely resembled that of insects and arthropods, scurrying along faster and faster with no change to the basic step pattern" is completely wrong. many insects and arthropods change gaits/step patterns with speed. it's practically required, as you get beyond optimal energetics pretty quickly (like being stuck in the wrong gear too long on a bike).

cockroaches, for instance, only use their back 4 legs when 'running', and will use only their back 2 legs when all out 'sprinting'. we humans start jogging and then running as speed increases for the same reason, it's not energetically efficient to just 'walk faster'.
For anyone who thinks about doing these, here are a few tips for the advanced CAS exams.

- Time is your enemy.
- Use memorization techniques, like a memory palace.
- Grader are looking for key words, be succinct.
- If you do not know, skip. Your brain will figure it out while you work other questions.
- Create your own study material from the syllabus. Anything that is remotely mathematical will be tested at some point.
- Practice being efficient with the tool used to take the exam. Pen or keyboard.
I meant random in the colloquial sense (same sense as which a SHA256 is "random"), not a random variable.
China – From Economic Miracle to Mirage
You accuse others of rationalizing these collective behaviors and end up sounding like an apologist.

The fact is that companies engage and enable each other to perpetuate information asymmetries. They run me through the ringer of hours of take-home projects, algorithm tests, whiteboarding, phone screens, video calls, panel interviews, all in an effort to widen the information asymmetry. We simply ask for companies to reveal what they are willing to pay before wasting our time with bullshit.

A real answer is for software engineers and other knowledge workers to unionize. It's very clear that these companies are willing and able to approach employment relationships asymmetrically. Historically, the answer has been collective bargaining. It took decades for remote work to be "approved" by these companies, and it's clear that reasoning was that the status quo was to the benefit of the companies.

I relish imagining all of these outspoken techy leftists actually putting up and making moves that align with addressing the true center of inequities: economic relationships. I know it's wishful thinking. It's a lot easier to rail against Netflix content and Facebook algorithms than it is to engage in real radical politics.
If the game were actually fun, there could be money coming in from players who value the fun more than making money. Axie may have an element to this, but I hear it's not fun. The term for these players is "whales." They are willing to spend a lot for fast progression and domination. A game which pays Filipinos may have money coming in from a well-off player in China. There could be schemes where whales hire Filipinos to grind for loot and gold. However, it's hard to see a situation where a game could pay for development and support thousands of grinders. It would be interesting to see how big the MMORPG grinding economy is. That might give us an idea of how many people these games might support.
Ah yes. Found an artifact? Must be either a weapon, otherwise a military thing, or it must be religious. If it was any of these, you'd have found them mentioned in texts.

It's probably just some largely irrelevant garbage. A fad people back then went through. A toy, not necessarily a children's toy, or a tool of probably questionable use (like that apple slicer you bought). Anything actually useful wouldn't have been forgotten that quickly.

Those people with the knitting/sewing tool explanation might be onto something.
I thought it was possible to make cement that could absorb CO2?
To be fair, state pensions and stable financial systems might be just as much a solution for overpopulation as contraceptives. Kids are your bank and healthcare in advance age in developing countries. You don't need as many (or any at all) when you know your needs will be met by a combination of state support and your money that will still be yours.
I'm not sure why so many in this thread are so quick to condemn Colorado for this... sure, tech pay has come a long way in the past few years, but it wasn't that long ago that it wasn't very good and there were lawsuits over collusion among the industry's biggest players to keep comp down. Outside FAANG for that matter, overall comp still drops off pretty sharply. Anything that improves on the problem of asynchronous information would seem to be a good thing, and in an environment where there is theoretically a labor shortage one would think companies would be glad to share this information in order to help them attract talent.

I got to a point in my career where this was one of the first conversations - either when I was hiring or had someone reach out to see if I wanted a new gig. It wastes everyone's time if we're not in the same approximate range. At many companies, it really isn't a surprise anyway - sure maybe you are coming from far away and need some relocation help and I'm remote and don't need that, but we both get the same vesting schedule, etc. Frankly, if a company is coy about the approximate structure of their comp packages all it really does is tell me that they see me as expendable. Why would I want to go someplace where we are trying to screw each other over from the very beginning of the relationship?
You can lookup the AS of an IP and blacklist thr cloud providers you care about by AS Number.

Maxmind has a free database as part of GeoLite2 [1], but you can also put together a database from IP assignments or BGP data or ?

Most larger clouds publish their IPs as well.

Pitfalls are that you do need to update your database frequently, and it is difficult to validate changes. You're likely to get some real people who are using a VPN or something in cloud ranges, and some abuse/automation that is using residential ISPs, so it's not perfect, but it may help somewhat.

[1] https://dev.maxmind.com/geoip/geolite2-free-geolocation-data
Yes, CMU is in the Midwest. Pittsburgh is in the Midwest.
Your statement is blatantly factually false. I’m trying to decide if you meant it to be literal or hyperbole.

People already work low paying jobs in SF. They are likely living with multiple roommates or commuting from far away. Given a large influx of cheap housing would absolutely put downward pressure on housing insecurity.

Also, your perception of homeless is probably limited to the visible population that is chronically homeless perhaps in tents. Most homelessness is acute and occurs when rental prices increase, temporary unemployment, during bankruptcy, or when the renter/owner kicks out a roommate. These homeless tend to live out of their car or try to couch surf often. Acute homeless tend to have much better odds of finding housing again (maybe not in SF and maybe not during the worst of economic downturns). Lowering rent costs by 60% absolutely would help reduce acute homelessness.
Yeah, I remember them. But somehow we never let computers just talk to each other via sound, directly. Like humans do.
> 90F to 28F within 24 hours

After slowly becoming bored with the weather in Austin (initially, I couldn't believe it)...this type of change sounds refreshing.
So your desired message was a double hypothetical straw man attack?

You're suggesting that hypothetically if these technologies were viable, then hypothetically people would still oppose them, because you want to suggest they're acting in bad faith and secretly have an ulterior anti-fossil-fuel agenda separate from emissions.

Surely you can see how people are going to counter one or both of those elements though, right? (The technology so far appears to be mostly a distraction from more prudent efforts and 99.999% of people would in fact love and support the technology if it worked).
If I’m describing an action I took as a “crime” I’m not going to feel good about it no matter how finely I choose to split the hairs.
Imagine in a few thousand years someone finds a rubik's cube… it might similarly confused
> Shrinking consumption (ie economic deflation, a decrease in GDP) would absolutely destroy the USA.

I can't really argue - the US financial industry, especially, is built on never-ending exponential growth, and some would argue the financial industry has "decoupled" from the rest of the economy. The whole 2008 tower of cards blowing over certainly would argue for that. How much value can you build on top of a loan that will never be repaid? Answer: Way, way more than you ought to.

But if you've built something that can't go on forever, it's reasonable to see that it won't. Exponential growth on a finite planet can't go on forever, and even if you start playing around in space, you just kick the can a bit.

The question then becomes, "Do you just let things go on and hope you can kick the can to the next guy's {political term, lifespan, etc}? Or do you try and fix the problem?"

The various degrowth/steady state movements are trying to fix the problem, not just kick the can.

But if you've built a house of cards that requires GDP growth to even continue existing - that house is going to come down one day.
Which is it? Am I hostile (aggressive) or defensive? ;)

It doesn't matter, in either case. I apologize. My frustration is not directed at you but rather the poster of this HN post who is claiming Plain HTML is "Web 0" -- it sounded at first (and second) read you were defending their definition of Web 0. I misread.

When you said "We agree to disagree" I thought you were taking the side of the poster of the "article" -- I agree Usenet is not "Web 0" -- Web 0 isn't a real thing. I was just offering a counter point that what came before "Web 1" was not "plain HTML."

Anyway, my apologizes for escalating. It was not my intention. I was just venting my frustration over the past year at people redefining terms with no regard for history.

Anyway, have a pleasant day.
That's some bullshit IMO. The interviewers should ask for your Git forge(s) and not specify platform. I recently helped a team doing interviews and I had them do this. Did they get only GitHub links? Yes, but this didn't exclude anyone nor did it implicitly promote a platform and all candidates seemed to understand.
I assumed it was "marque," as in recognizable brand, both misspelled and misused. NYT can't seem to afford copyeditors these days.
I use Kodi on my android smart box with some 4K soc, almost daily. With some addons it’s like god tier piracy.
I didn't say that 99.999% of people are pirating media.
looks like a counter or calculator, to be used in combination with a long string knitted on the spheres, with the holes designed to fit different finger sizes or sticks to hold it
This, so much this. Happens all the time both w/ the kids and at work. I've had to learn this one in both places and one helps the other.

I still find it easier at work. I find it's easier to distract myself w/ just answering some slack messages from someone else while 'looking interested' on the video call w/ someone while they figure something out after I gave them a hint. It was so much harder while at the office though and it still is so much harder w/ the kids.

How do you make yourself wait? I still haven't figured out why sometimes I can wait for them to figure it out and sometimes I can't.
I think SMS is an American thing at this point? Your approach definitely would work fine but I’d not have thought about SMS if you gave me a year on this issue. It is an obsolete, half forgotten thing here.
I think it's a mix of language and company structure. We are a bilingual company where people speak a mix of Mandarin and English, and sometimes it's just too much of a pain to communicate to someone in English in text when you've been primarily speaking to them in Mandarin. That and a lot of technical terms are in English, so that also adds a layer of complexity in remote work when trying to mix English and Chinese.

Our company also is on the older side (in longevity), even though we're a small business the company has a lot of systems in place that's not equipped for remote work. I'm really trying to change this since I firmly believe hybrid seems to be the way to go moving forward.
This has been submitted 5x: https://hn.algolia.com/?q=estranged+parents+forums

I guess holiday depression is good timing?
Lattes in Miami are also $5, just saying.
Uber Lyft AirBnB

IMO these acronyms have reached the point where they don't really serve a purpose.
On the contrary, you can’t deliberately deceive someone in the wording of a contract, and you can’t even induce someone to enter a contract by deliberately deceiving them.
I have been shorting SLP-PERP for a couple of months now and the trade keeps printing.
India

2020 (Internship) - 7200$/yr
2020 (First Job) - 14000$/yr
2020-2021 (Big tech) - 27000$/yr
Plenty of people are born at home and don't receive any particular medical treatment. Of course there are risks to that, but it's hardly unheard of.
This article is really hard to read and follow. Yet, there really isn't new insight (much of which I agree with) being presented here that I haven't seen elsewhere.

Also, I'm curious to see what everyone thinks of the "Examples of Decision by Role" RACI chart. How realistic is it? I don't expect the Junior IC to be making any of those decisions the authors wrote.
This article praises Biden for economic performance that can’t be attributed to him. It comes off as very biased since the logic is unsound
I interpreted your parent as discussing an outcome of a policy change which involves reducing cost / increasing supply of housing in which “permanent housing” is a permanent structure/dwelling (eg. Not a tent/car) that more people would have access to (including existing Section 8 housing subsidies).

You seem to have interpreted that phrase as the new policy itself.
Because they want to extract as much as value as possible from their employees while paying as low as possible, and listing compensation is against that. In this I am with Žižek.Capitalism is a religious movement, not an economic one. Many people find perfectly rational for any company to this, but find highly offensive if a person decides to work as less as possible while still getting paid.
And yet unions and public positions have openly posted salaries and it doesn’t seem to hurt them. It’s actually quite easy to do.

You must be joking? You encouraged political activism at work and are surprised it led to problems? Is political activism code for “so long as it follows my politics”? Would you encourage a pro-lifer to be just as active as pro-choices? In any company I’ve worked at, the answer would be no.

People always seem to be surprised that others think differently than they do. I really can’t believe the hubris that goes into that. When talking to people (who suck at discourse) who think they are tolerant, but really aren’t, the conversation almost always devolves to “you’re a Nazi”. When talking to people (who suck at discourse) who think are very right wing, the conversation tends to devolve into something about how God made people/ the world / etc.

The easiest thing is just give people three PTO days that don’t carry that you encourage to use for civic purposes, but don’t enforce, and maybe set up a matching donation up to $X for any org with the valid paperwork.
Does GitLab also price their products regionally?
> I assumed it was "marque," as in recognizable brand, both misspelled and misused. NYT can't seem to afford copyeditors these days.

Given the error was on your end, maybe they're doing just fine with their copyeditors and it's your grading that's the issue with your evaluation.
You'd be surprised how much VCs idolize ponzi schemes. They aren't even shy about it, and haven't been for years if you get to talking to them.
All that is required for fairness is equal faces and equivalent reach behavior.

Every total symmetry fits. You don't need a platonic solid. By example, every even number six or up can be fairly represented as two pyramids joined at the base.

Many fair non-platonic dice exist besides the d10, such as the d30. Go ask at the game store
i switch back and forth,over the period of several months, usually like 2 months at a time. I once had some pain issues with it and found that switching periodically eliminated that, and so I just continue doing so.

I do not switch the meaning of mouse buttons.
Do you have any references for BPD abuse? I might actually need it soon
>There's only two ways to keep players playing: new content and/or grinding mechanics.

You neglected what's by far the funnest and most important and user-retaining aspect of open world MMOs: player-to-player interaction - be it friendly, neutral, or hostile.

The absolute most enjoyable open world MMOs I've played had essentially no content. Players forged their own content in the form of geopolitics, war, economics, and copious communication (propaganda and shittalking, largely). They felt like a completely unplanned, natural simulation of militaristic human societies from hundreds or thousands of years ago. Probably not ideal in real life, but very fun for a game.

I'm convinced the best MMOs to come out over the next 20 years will have very little content and very sparse grinding mechanics. The magic is the emergent game and meta-game that springs forth from the bonding and strife between gargantuan numbers of human agents.
I understand your point of view, but you haven't even attempted to qualify it.

I can tell you that I helped stop a predatory crime that was being committed using US dollars this year, partially by using digital assets defensively. Defamatory general statements about the target and digital assets had been made in the past in this case, and it backfired on the perpetrators- horribly, in the federal jurisdiction.

Could you take a moment to consider why unqualified generalizations like yours could concern some? In the past, the perpetrators had attempted to capitalize on the perception you are asserting as reality. The possibility of resultant ankle bracelets or worse for them is high, due generally to record keeping and time stamps.

The reality of this technology is that it solved the technical problems associated with Internet native asset classes. The rest is editorializing.
Here is what I heard from my Dad who grew up in a country next to Sovjet:

- "Russia took a good second place while the Americans came second last!" (i.e. Americans won)

- "In America there are huge differences between people, in Russia everyone is equally poor!"

Can't say if this is Western propaganda or not but this is what was joked about across the border.
> There is nothing in capitalism stopping anyone from disclosing their pay and creating a transparent market.

Is that actually true? Is it possible to verifiably disclose one’s pay? Are you supposed to sign an affidavit or something?
Haber-Bosch requires hydrogen not hydrocarbons.
Yes. By trivial example, two fifty sided pyramids joined at the base. These can be purchased.

Most players use d10 pairs with a tens die, though, because they roll better.
I’m a LastPass user. I change my master password every 6 months. I received the attempted login from Asia email also. So… it isn’t just some exploit from 2017.
Nobody is going to be confused what computer parts are for
> 99% non-economically-disadvantaged

That is a really long way of saying “not poor”.
That is indeed very surprising!

My understanding is that here in NYC the single largest (non-industrial?) source of air pollution is heating oil. The city banned the two worst heating oils back in 2015, but with a long phase-out period[1]. I would have expected the situation to be the same in most other cities, although SF's weather certainly doesn't justify oil burning the way NYC's does :-)

[1]: https://www.ny-engineers.com/blog/how-nyc-is-phasing-out-hea...
There was a great game in this vein (coding) that shut down due to lack of monetization but I feel would be perfect to relaunch as a crypto version, especially since playing at the top levels required coding: https://bot.land/
> You accuse others of rationalizing these collective behaviors and end up sounding like an apologist.

Not true - I am not saying that the market cannot be whipped into shape. What I am saying is it cannot be done by someone who doesn't understand the market.

It sounds you have a background in engineering - would you let a PR person tell you how to do your work? Obviously not. Well, Jessie Danielson is about as close to recruiting as a PR person is to coding (look up her bio and ask yourself what she's done outside of politics). Why trust that she knows how recruiting should work?
What were the vile statements?