skysight-inc/HackerNews huggingface dataset:
If you took event sourcing out of the picture, how would you solve it?

This is a problem to do with distributed transactions, not event sourcing. If you don't need distributed transactions, don't use them. If you do need distributed transactions, redesign your system so you don't need distributed transactions. If you _still_ need distributed transactions, use one of the available mechanisms for making them occasionally work, like three-phase commit, or clocking, or blind luck, all of which work just as well with events as without.

If you'd be perfectly happy using a single database server doing a more typical ORM solution with tons of database locking without event sourcing, you can use a single database server with tons of database locking with event sourcing: just serialise all (or maybe most) events.

My domain has a lot of unpredictable coupling between events, such that there's not really a sensible aggregate model to divide up the information model (remember: an aggregate is the unit level of consistency in your system). But it's also low update volume, so we quite happily just serialise all events - which is what we did before event sourcing, using table locks.
YNMO
I am in same boat. Wondering if people here can suggest resources
Omnistream | Singapore | Full-time | ONSITE preferred
* About us *

Omnistream is a Singapore-based company working in the field of retail data in South East Asia. We "turn data into profit" by wielding technology, notably to optimize assortment and logistic (machine learning, operational research, time series analysis) on one end, and optimize marketing (machine learning, recommendations, ...) on the other.

* Our team *

We are a very lean team with a decent work-life balance and a good spirit. We cherish personal accountability and autonomy, and a nerdy sense of humour.

* Open positions *

- Data Engineer: to collect, process, clean, verify various amount of various quality data from various source. Technology used: Python, Postgres, AWS. - Data Scientist: to develop clever, pragmatic models to improve the baseline. Our motto is that _all models are wrong, some are useful_. Tech used: R, Python, SQL. We actually build cool stuff, we don't suck too much and we are looking for strong individual contributors.

* Apply *

The application process is designed to be less painful (feedbacks are welcome) and starts with a short treasure hunt.

Take a look here to know more and how to apply: http://omnistream.co/job-opportunities/. Happy to answer any questions here.
I agree that event sourcing (and also CQRS) are not so simple, in practice. The coupling the author mentions is something I definitely experienced, and I think the answer is to separate your internal event representation from both the input (e.g. command) and output representations. I got seduced by the simplicity of having them all be the same, but I definitely found I wanted to be able to vary these things independently.

In the first project where I applied event sourcing, I treated my commands (system inputs) as events, but ended up regretting it. The problem was that many commands cause multiple effects and as the number of commands increased, the complexity of the logic for deriving the state started to accelerate.

If I could do it again, I would have strictly separated the command and event ontologies, and adopted the concept of a command processor. The command processor takes a command and an event list and returns feedback on the validation of the command along with a new event list that is at least as long as the input. Rejected commands would result in the same event list. Accepted commands that map 1-to-1 with events would result in an event list one item longer. Complex/composite commands would result in more events. I probably would have logged the commands to retain the command-event relationship (for things like undo), but largely that would be a separate thing.

If commands and events are separated, CRUD doesn't require the event sourcing paradigm to bleed through to the UI. Each operation is just a command. Valdiation comes directly out of the command processor and can easily be mapped back to user-visible feedback.

The other mistake I made was concentrating too much logic in my state calculator. My calculator produced all derivable facts from the event log, as well as housed the validation logic (the command processor). In retrospect, I should have figured out what the most fundamental derived facts were and then moved higher level facts into their own calculation logic. I think this would have made maintenance and testability far easier.

While event sourcing does come with its baggage, I find that in projects that aren't using it, the cost is a bunch of ad hoc solutions to the problems of "first-class change", which you get for free. It's an extremely helpful essential technique when modeling stateful workflows.
Electric taxi startup Téo Taxi closes shop, fires 460 drivers
Just speculation, but I wonder if Apple kicks it out simply because it is controversial and very political, and they just don't want to deal with it.

It's also a fairly low-value proposition for a native app, in my opinion. It's really the kind of content worthy of a web page, that's about it. Not sure that contributes to Apple's vendetta against it, however.
...owned by the Wonderful company, the same company that is the subject of the article...
Also “lying” ala Martha Stewart. They don’t get her on the crime she’s accused of but rather of misleading investigators. But they can’t waste millions to come up with nothing, do they hang her on that and call it a victory.
RISC vs CISC? :)
They want to make money off the blockchain hype. That’s it. They’re not idiots and they know what they’re selling.

I’ve bumped into a few projects where a company’s non-technical management demanded that blockchain be used, regardless of technical reasons. Several of those projects ended up using immutable, append-only, row-level-encrypted databases and then called them “blockchain”. Management was satisfied.
It's not a risk. That's a useful feature, but not because there are any security implications.
My separate comment was partially a reply to you: https://news.ycombinator.com/item?id=19073810
Yes, we know what you are arguing. And if auto-responders are yet another vector for an org, then it does not represent a meaningful increase in risk.
If you read the reporting on the subject, you'll learn it is from government pressure.

I agree with you, and think its endemic of the app ecosystem.
We're on the same page.

Give a man a fish vs teach a man to fish.

What I am suggesting is parents role is to teach kids to entertain themselves. Not by showing them how to turn on YouTube. But by guiding them to more "active" forms of entertainment like books, board games, running around outside, etc...
No, the issue is that GM did share buybacks and is now low on cash. It's entirely the fault of the executives.
> You should be pressing the "fire!" button not the key for typing the letter "f"

Sure, keyboard layouts are arbitrary, as are keycaps (you can also buy blank keycaps if you like). There are some fun interfaces you can make if you have the flexibility as can be seen in games for the Nintendo DS or switch or some tablet apps that can be used with external screens or people using multiple keyboards, music controllers etc.. However, just like with gamepads, joysticks etc. they are controls for something else. So once the controls feel natural you stop looking at your fingers and instead look at what you are controlling. I would argue that playing a game with a gamepad or joystick or touch typing or playing an instrument are all very similar. So just like putting stickers on the fretboard of a guitar this might make things "intuitive" at first, but is rather the opposite of direct and not something you keep using.
This is mostly Facebook since it's zero-rated where most Filipino mobile users are prepaid.

Young and old, rich and poor Filipinos are glued to their phones like zombies all day browsing Facebook.
Prior to working where I am now, I worked at a fabless semiconductor manufacturer, with a development office in Shenzhen. It was actually kindof nice: As long as everything was coordinated properly back in November, China would continue working during US Christmastime, and we would keep working during China New Year.
Do reading books on e-readers, tablets, and phones have the same effect? How about static websites with long-form text?
So, I tried it in other browsers (look, if I have to use other browsers to read things, the Internet has a problem), Edge is most readable in LoDPI, Chrome still is visually fatiguing but readable, Firefox has the most correct rendering but also the worst readability (I'm primarily a Firefox user).

On HiDPI (2x DPI on Apple Retina), its, eh, all of them are readable but fatiguing, no clear winner.

On my 3x dpi Android phone, its the least bad due to just the shear number of pixels. In Firefox and in Chrome, it still exhibits a lot of oddity. The stems are inconsistent in their width (being skinny and being at such high DPI makes it very noticeable), and the visual rhythm of the words is even worse.

I don't even want to read the article anymore, screw it.
I close down everything on the home gateway box but one publickey from one ip (hardened cloud server) with secure ciphers and protocol 2 only. Non-standard port. Cloud server acts as a jump box, only allowing login from lan ips (requiring vpn first). This is, in no small part, because of the awful quality of most isp-issued router/firewall combos.
That's amazing. I always assumed that the Hajj to Mecca was the largest.
So actually my one and only exposure to Stewart Lee was a clip of him dealing with a heckler: https://www.youtube.com/watch?v=LZQod7j-Cak

And that was what won me over! Other comedians would insult the heckler... but his response, oh gosh.

If it's too hard to understand, here's a little bit of the transcript of the end:

STEW: "Huh? But, I can't do something else now."

[LAUGHTER]

STEW: "This is what I do. I can't-- There isn't-- There's not time..."

[LAUGHTER]

STEW: "...to construct a bespoke act based around you."

[LAUGHTER AND APPLAUSE]

STEW: "It doesn't give me any pleasure to have wasted your time. I genuinely apologize. I genuinely do, because I've been in that situation myself, with kids, where I've got a babysitter, and I've gone to something, and it's not what I'd hoped. I'm genuinely sorry. I can't really-- I can't really say any more than that."

MAN: [INAUDIBLE]

STEW: "What? I can't do what you want me to do. I can't do it."

[LAUGHTER]

STEW: "I'm genuinely-- I'm sorry. I'm sorry I've annoyed you. I'm sorry that you got here and it wasn't what you hoped. But I can't just change now. And also, you know, objectively, I have a mortgage and I have children. What I'm doing now, I'm seeing a degree of a financial return for it. And that feat-- I was going a long time since I started to break even. I was about 36, 37... ticked over, and... I mean, how long can I carry on working at this level? 10 years before it starts failing? I don't know. But it would be a gamble to ditch this..."

[LAUGHTER AND APPLAUSE]

STEW: "...to try and fulfill whatever it is you think I should do. Even if you're right, I've gone too far down this road to... I'm as a much a prisoner of my expectations of myself as you are of yours. And that is the common ground that we have.

[LAUGHTER AND APPLAUSE]

STEW: "So, my wife had been away--"

For my first time, I will now gladly watch the comedic bit by him
K Framework – An Overview
Yeah! I guess you could say it's kind of like how modern CISC has RISC microcode under the hood.
Which is kind of what Ford did decades ago with the Pinto fuel tank & rear end design; not with patents, but with injuries & deaths.

Kind of backfired. After several dozen people burned to death in what should have been unremarkable rear-end collisions, it was revealed that Ford had deliberately declined to implement redesigns for safety in favor of just handling the claims because they estimated the costs would be lower (to pay claims vs implement redesign). The subsequent cases set several precedents & provoked reforms.

https://en.wikipedia.org/wiki/Ford_Pinto
The first page I looked at, for align-content, says:

The remaing space is 150px

https://cssreference.io/property/align-content/

Also, I lead a fairly ad-free life, so there's way too many ads for me to consider using it regularly - those fixed-on-the-screen ones are especially intrusive. A shame as it looks like a good idea.
As was poetry. All storytelling can be viewed as an escape. But it can also be viewed as a powerful way to reimagine the world.
Yeah, not a fan of the whole european server thing. Needless lag when no non-American will use it. Also, not a fan of European regulations. Having a European server might make me subject to GDPR (?) (or other regs I don't know about), a risk I don't want to take.
The "God of the gaps" phenomenon works both ways. I don't think the scientific method depends upon religion, nor would I want to live in a world without science. However the idea/phenomenon of once something is in the science column it is no longer in the religion column doesn't really make any logical sense to me. If an organized religion funds legitimate science, does it automatically cease to be somehow related to religion in their eyes? Doubtful, and this doesn't even take into account that much of the contemporary university system spun out of religious institutions in the 12th century.
It's politics, but I choose to not have my app distributed in China due to bot hyperactivity ruining my metrics.
I remember when a forum I browsed introduced the text captcha. Users intentionally typed in the same incorrect expletive for the word not known to captcha. It was easy to tell by the font. The goal was skew the algorithm.
I have intermittent connectivity issues, and [mosh](https://mosh.org/) has been super helpful with typing lag, reconnecting.
Anyone for Jaz drives? Oh man, I remember my mom having 100MB Zip drives and 1GB Jaz drives for a while in the 90s. Always wanted an excuse to play around with them but didn't have much useful data to put on them at that point.
So parents have to make a crucial decision vis-a-vis the environment and the brain development of their children?

Good luck making your decision giving too much weight to recent studies, which will probably be validated 20 years from now; if.

Children growing up without screen time have stood the test of time (think robustness); I’m not so certain the ones growing up with iPads will.
Psychology could learn something from studying some of the tools religions apply for example to for example influence and guide people.

Which is sure is true, just like you can learn a lot watching a used car salesmen with the tools he or she uses. Robert Cialdini wrote some great books about that topic.

The author is how ever mixing up things here on purpose, best seen with the title.

>What Science Can Learn from Religion

It should read what Psychology can learn by studying religious groups. Those two are very different things.
I think the current state of the art in AI is more comparable to the first mud huts, when they just started throwing mud on a wall to see if it sticks
Here in Kazakhstan a couple of wise guys suggested to use a blockchain to fight crimes within the police itself, and these plans quickly ditched after they realised the blockchain's pure brutality.
Silicon Inquiry
Latency is probably not that much of a deal if costs are half.
"If we allow decisions and conclusions being drawn by the AI"

Im doubtful that anyone is getting charted without specifics.

Moreover, with this amount of corruption, it seems clear that just some basic oversight is all that is necessary.
Making SetInterval Declarative with React Hooks
And Georgia wants part of the Tennessee. (https://www.wabe.org/georgia-lawmakers-revisit-tennessee-bor...)
About your second idea : do directory sites still make money? Doesn't Google frown on these?
So.. that seems very dodgy - you want to read more info, so get roped into signing up for a free trial, and what you get is exactly what you've just read. That seems somewhere between totally misleading and blatant lying.
It's interesting, but I think games have taken a significant backstep over the past few years in terms of RPG's in many ways.

The issue for me nowadays is that AAA studios seem to demand certain things. One of which, is fully voiced dialogue.

This sounds good, people talking lines to me is great right? But the problem is, each of those lines costs time and money, and adds rigidity around what can be changed as you need to get voice actors in and pay money, take time to record the lines, sequence the lips, etc. etc.

Having a purely text based experience (see the character, but have the conversation be purely in text) allows for better variability, imagination on your behalf and way more dialogue because they aren't constrained by time and money as much.

I can't remember who said it, but It puts me in mind of the concept that sometimes the most creative things happen when given the least tools to work with - if you give an artist all the tools to work with in the world, they can often find it harder to focus. Give constraints and creativity is given bounds and scope to work with. It's a bit counter-intuitive but I really think it can be true.
The 'problem' with widespread corruption is not identifying it, it's always been an issue of the political will to do something about it.

When it's rampant, it's easy to find.

So this has nothing to do with AI or even technology. Granted, tech might make it easier to find some bad guys, even then, the fact that stuff is 'online' and in a 'searchable DB' makes this possible, the AI is not necessary.
With some metrics, I bet it still is. My understanding is (and please correct me if I'm wrong) that everyone is all going to a specific set of locations (instead of the more-broad "where family is"). What I'm not sure about is if everyone goes to those places in the same order, on the same days.
Not including all the resources, but in my experience many (German) universities tend to have very comprehensive examination rules which list all offered courses with brief rough lists of topics covered.
For these the standard references are various textbooks, though almost none are ebooks and even fewer are freely available (scripts sometimes are).
Benzinga | Detroit, MI | FULL-TIME | ONSITE | REMOTE | https://pro.benzinga.com, https://benzinga.com A financial media company at our core, we're high-energy, focused on our users and our product. We reach over 2 million uniques and 200 million impressions / month.
Seeking people who love to code, design, move fast and get shit done: the hustlers of this world that know their stuff.

* (Sr) Frontend Engineers (React, Redux, ES6)

* (Sr) Backend Go & DevOps Engineers (Golang, Kubernetes, Python/Django, Java, MongoDB, PostgreSQL, Kafka, ...)

* Designer (UI/UX for our applications, modern web presence and brand consistency)

Apply at http://jobs.benzinga.com or mail me (bert@benzinga.com) with any questions.
Off the top of my head, Java’s Linq reimplementation (“Streams”) feels second-class because of the specialisation of value-types.
Why would mods care? The Chinese hold some uniquely unpopular positions, I'm not sure why the mods should defend them from that. There are plenty of things Western countries get roasted on here for as well.
> However the idea/phenomenon of once something is in the science column it is no longer in the religion column doesn't really make any logical sense to me.

It doesn’t mean the phenomenon is so longer relevant to religion, or that religions can’t offer some insights into how the phenomenon might effect humans, but it certainly obviated the need for religion to invoke the supernatural to explain the mechanics of the phenomenon. Which is, after all, what the “God of the gaps” perspective pertains to.
MIT patented a method and device to make the most useless interior electronics package and noisy experience for passengers?
> And I very much doubt Trump knowingly hired illegals

I very much doubt any somewhat-savvy businessperson hires illegals "knowingly". In other words, it's just plausible deniability.
> I ended up going to the local library during this time after months of crushing boredom and reading a lot of books like the CompTIA Linux, CEH, random programming books

It's only happened because you were that type of person, I know a lot more high school students who went robbing cars and drinking because of their boredom, not going to libraries to read programming books.
It’s ideology vs. science in psychology’s war on boys and men
its because google no longer just tests if you are a human- they also train their model- try this- and I've tried it successfully far too many times-

Enter your first captcha wrong and then half the times, on the second one it won't say you did first wrong. (it's because first was a learning set). do the second one right and then you're good.

I deliberately mark the exact opposite of right boxes in the first captcha at times, takes me the same time but at least I can say I delayed skynet.
So, I use Vimium to interact with my browser with solely my keyboard 90% of the time. I wonder how much this in any way correlates with the absolutely infuriating amount of captcha challenges I get one after the other.
I have heard the term "security vultures" being applied to the second group, and wish it was more common (the term, not the group...)
And now even hard drives and their associated bays are disappearing (good riddance) as flash storage becomes increasingly prevalent in the form of SSD M.2 slots. Most functionality that was on expansion cards is now either redundant (sound cards, disk controllers) or integrated somehow onto the motherboard/chipset/processor (networking, integrated graphics, video in/out capabilities built into USB and HDMI ports)...
But the interesting idea comes first.

I am not sure this is a requirement. Some of the safest businesses are also the most boring, aren't they? Everybody needs to eat, everybody needs insurance, clothing, waste disposal... etc. There isn't anything unique or even interesting about waste management and yet, there are people making serious money in it.

I guess an idea just needs to be useful and executed well for it to make money. There are of course dumb ideas that make money and there are of course interesting ideas that make money, but the majority of businesses are just plain boring, just like many of our daily tasks.
But that’s just saying that science can learn from studying religion, not that science can learn by following the teachings of religion. Of course science can learn from studying religion, just like it can from studying the rainforest, or stars, or diseases.
This is question more than a comment, as I have only casual knowledge of event sourcing...

"""

You wouldn't let two separate services reach directly into each other's data storage when not event sourcing – you'd pump them through a layer of abstraction to avoid breaking every consumer of your service when it needs to change its data

"""

Isn't the event itself precisely that layer of abstraction? That is, you're not publishing the details of your data store. You're publishing an event which is a thin slice or crafted combination of details that ultimately reside in that store, but which you are hiding...

Am I misunderstanding the quote?
Around a decade or so ago I did a report on the top SMS/Texting use - and Philippines was far-and-away number one.
>For regular users, it's more of a bookmark hack

"Regular users"? I don't know if that's true or not.

>Why? Is it still important for you and the people around you?

Not sure what "Why?" means. By "the classical search", you seem to mean "googling for things when you don't know exactly what that will be". Yes, "still" important for me and the people around me. For movies and list of movies I google with "imdb" in the search, for wikipedia stuff with "wiki", StackExchange-type stuff is by googling..