skysight-inc/HackerNews huggingface dataset:
Ask HN: Product feedback: “state machine as a service”?
I frequently run into the problem of "lifecycle management" for various entities.

In short, when some "thing" is created in our system e.g. an "order", "user" etc... there is a semi-automated song and dance commenced between customer service, customers, and community members, over the course of days or weeks...

For example:

- Order lifecycle: New, Awaiting Shipment, Pending cancellation, Awaiting Review, Disputed, etc... The problem isn't defining the states, but rather defining who could make a transition and when.

- Listing lifecycle management: Pending Review, Closed, Sold, Banned, Open, etc... Once again the complexity arises when we try to define which transition is allowed by which user, and at what point.

- Community membership management: Awaiting confirmation, Active, Probation, Banned

My idea was to create a low-code platform where you can easily design and deploy state machines. The goal would be that once you define the entity lifecycle (the state machine), You could just send us an API request anytime a new entity was created in your system, and we would handle involving the key people needed at the right times, sending notifications, status updates, etc...

An example: https://imgur.com/a/mr5Pdss

This represents an order's lifecycle. Once deployed, you could send an "order" to this service to kickoff execution:

1) Purchased - sends a notification to customer service that a new order was purchased. The "Customer Service" role (“C”), can take the action "confirm availability", which when taken, transitions the entity into state "Confirming Availability".

2) Confirm availability - Whoever is assigned to the "warehouse" role (“W”) would receive a notification that the order is in this state, and once they confirmed availability, could either take the action "available" or "unavailable" transiting to the order to the appropriate state.

etc…

Does any of this make sense, or have I gone off the deep end?
I highly recommend the books "Toyota Production System" and "The Machine That Changed The World" for a background on the manufacturing cousin/ancestor of agile software development.

I wish there were newer studies though that cover the rise of Hyundai/Kia quality in the last two decades. If you know of any please let me know.
The only ads I click on are mobile ads, and that's because many times the X to close them is too small. Other times the ad is jumping around my screen and it steals my fingerpress.
Do popular GUI frameworks that present an immediate-mode interface actually use an immediate-mode implementation under the hood?
If I search "Kleenex", am I specifically looking for the Kimberly Clark product or should Procter & Gamble be allowed to bid on ads for that search?
More like "The feature is present in silicon but motherboard makers are not required to turn it on". At the end of the day, ECC support does require extra copper traces in the PCB and some low end models may deliberately choose to skip them, thus the expectation has to be managed.
The answer to your confusion is that un sophisticated remarketing (showing ads for searched or purchased items) has in nearly all cases a measurable improvement on ROI. Improvements to filter out useless ad views are much more complicated and expensive.
Advertisers actually don’t care about any individual case, but buy on aggregate results.
Agreed, FORTH is repl-driven in the sense I mean. The main difference from Lisp and Smalltalk systems is that FORTH environments are, generally speaking, more spartan.

In the late 1980s I had a group of friends at Apple that included Smalltalk, Lisp, and FORTH programmers. We certainly found plenty of things to admire and attempt to steal from one another, and everyone accepted the basic goodness of building systems by engaging in conversation with them as they run.

Lisp and Smalltalk cross-pollenated each other more than each did with FORTH, but maybe Slava Pestov's Factor is a glimpse of what you get if FORTH is more in the mix.
My anecdotal evidence is far from rigorous, but the Google data from ten years ago doesn't match up with my experience running thousands of ECC enabled servers up to a few years ago. Their rates seem a lot higher than what my servers experienced; we would page on any ram errors, correctable or not (uncorrectable would halt the machine, so we would have to inspect the console to confirm; when we knowingly tried machines with uncorrectable errors after a halt, they nearly all failed again within 24 hours, so those we didn't inspect the console of probably were counted on their second failure), and while there were pages from time to time, it felt like a lot less than 8% of the machine having a

There's a lot of variables that go into RAM errors, including manufacturing quality and condition of the ram, the dimm, the dimm slot, the motherboard generally, the power supply, the wiring, and the temperature of all of those. Google was known for cost cutting in their servers, especially early on; so I wouldn't be surprised if some of that resulted in higher bitflip rate than running in commercially available servers. Things like running bare motherboards, supported only on the edges cause excess strain and can impact resistance and capacitance of traces on the board (and in extreme cases, break the traces).
Huh, interesting. It seems that the work doesn't have to be explicitly parallel for this to work, which is a surprise.
No one care about use case, they just want to be rich. You can go see this is anywhere people are discussing bitcoin.
Of course they do? How would erst make money otherwise?
This is really just Uber failing to effectively manage their ad spend. Somebody at Uber is not doing a core function of their job if this can happen. A person at Uber is responsible for ad spend, moving it between vendors, checking CPAs, etc.
I'm building an Apple app that does this and saves everything as a journal.
The culpability of Dean Oemcke in this particular incident should not be understated. Hindsight is hindsight, of course, but the fact that the new owner of the platform distribution rights of this open-source project was (and apparently remains) anonymous seems like it ought to have been a huge red flag. The fact that these rights were paid for made it obvious that monetization was pending. The lack of transparency made it obvious that the form of that monetization would not be acceptable to the contributing community.

There might be a way of contesting the rights to the project name but that would require legal activism and external funding. Basically the original project is dead insofar as the contributors are not comfortable with supporting a parasitic and probably malicious actor. I guess a fork is inevitable. Meanwhile the parasite will harvest the value of the 'brand', distribution rights, and existing codebase until it is drained by obsolescence.

A really disgusting way to treat a community by both parties. One can only hope that Mr. Oemcke desperately needed the money for some vital purpose.
Ah yes, the BoS forum. I was one of the moderators.

Some of the BoS regulars can still occasionally be found at:
https://discuss.bootstrapped.fm/
The constexpr specifier should give C++ an advantage
Well, I'm fairly confident that there'd be a lot of online noise about the iPhone's orange dot being on all the time, the way there was about Clipboard notifications.
So, the article is saying that by getting proponents to make their case in writing, it forces them to think things through and avoid fecklessness.

Isn't that how the court system works? And yet, despite rulings from the supreme court, a significant number of elected representatives and, according to opinion polls, voters, continue to challenge the result of the US presidential election.

What conclusion might we draw from this?

I'm not asking for advocacy about the legitimacy of the election so much as examining the process for establishing the legitimacy of the result. How's that going?
I work in the field. Incrementality testing is a big part of marketing measurement at any reputable agency. Any claims to the contrary are FUD.

That said, companies like P&G, Airbnb, and Uber, which are oft-cited as examples of digital not being worth it, fail to understand their own brand recognition and organic power, built through prior marketing efforts, as key to their current standing.

Sure, TODAY, it doesn’t have the impact they’d like it to have but the investments PRIOR were key to ensuring their success.
Agreed. Now to be fair, the acquisition is also what helped the company survive because it got them the console business. So it's not like it was completely botched.

They screwed up majorly with software, and they may have the same problem with an FPGA acquisition as well. AMD failed big time to capitalize on GPUs the way Nvidia did, and that's really almost entirely down to lack of good software solutions. There's ROCm now and it seems plausible that the gap is going to narrow further with AMD GPUs deployed to big HPC clusters, but a gap remains.
> If every almond in the entire world disappeared, how much food insecurity would it cause? I've never really considered them a staple

Impossible to tell, but what it does do is open the door to the 'well I don't eat it, so it should go away...' narrative that goes hand in hand with things that are far too prevalent in Society today: Cancel culture.

If you were to reduce the water you would essentially decimate the cultivars that have been resilient up until now and destroy the established almond trees in most of the World. This isn't desirable, but merely a consequence of the frankly haphazard centralization of the food supply system, and central points of failure in non-software take far more resources and time to address.

Again, I would like to see more biodiversity in all fruits/veg/grains moving forward and a transition to almond cultivation have a diaspora away from CA is welcomed; but, to seriously consider phasing that out without have the contingencies that are providing viable harvest numbers which will likely take several years to decades.
What if that were spoofed?

How about if there was a supply chain attack on the bank’s software?
Which means, assuming google is running very large machines with lots of memory that one might expect a single correctable error once every 6-10 years on your average workstation of small server. That's generously assuming your workstation has 1/3 as much memory as the average google server.
I know someone who worked at a marketing "machine learning" company. The ML really needs to be in quotes, because if you looked under the hood you'd see the people behind the curtain (literally -- Amazon Turk workers). But VCs loved them, customers loved them. The blind selling to the blind... Marketers had money to spend, ML is the hotness, everyone makes money! (My friend no longer works there)
Figure this is as good of a time as any to ask this:

There are many various DRAMs in a server (say, for disk cache). Has Google or anyone who operates at a similar scale seen single bit errors in these components?
Listening to the podcast just a minute ago as I found this post... What a coincidence. I second that recommendation.
Stay in touch. I'm building an Apple app for that.
Yes, exactly. It's perhaps my fault for not making this more explicit in the essay, but the "repl" in "repl-driven programming" does not mean the repl window.
> We're trending to a point where any non-systems language is just an exploratory language unless it's build on JVM or .Net.

I certainly hope this does not turn out to be the case.

Both the JVM and .NET impose a certain type system on all their client languages. Those languages have an option to embrace it, like F# or Kotlin have, or to struggle against it, like Scala has, but they don't have the option to truly pull free of it. Not without shutting out effortless interop with the rest of the platform, and, in doing so, undermining the whole purpose of being on those platforms in the first place. And, since most the interesting developments in programming languages center on type systems, that implies that huddling together on the Big Two bytecode VMs stifles a lot of really interesting innovation.
AFAIK there exist some Xeon + FPGA chips. No clue about availability though...
Sometimes I get the impression 99% of HN comments are pretty much: I like X. I don't know why anyone else likes Y.

All right, yeah, desire vectors are different for different people, homie.
Exactly my thoughts. In the context of the posted article, one just installs the Remote - SSH extension and moves on with life.
If Only I Had X, This Moment Would Be Perfect
Thanks for sharing this! I love the technique. I'm going to try it out and see for myself.
He's a pretty good writer. To me, it read as a feel-good programmer story. I loved reading it.
ha, this reminds me of Manfred Macx forgetting who he was without his digital glasses and associated suite of external agents in Accelerando
Enterprise SAAS charge between $1,000 and $10,000 USD per seat per month?
My intuition: a python interpreter gets one `PYTHONPATH` variable and so when I `import my_dep` in my app and another dependency also imports `my_dep`, they are resolved by the interpreter and cannot specify different source locations for `my_dep`, which I believe would be called "vendoring".

Again I am not sure if that is why Python can't support a tree or simply why it doesn't currently support a tree, I searched for a PEP explicitly defining dependency resolution but couldn't find one.
I would highly recommend a graduate-level course in computer architecture for anyone who thinks ECC is a 1980s solution to a modern problem.

There are a lot of seemingly high-level problems that are solved (ingeniously) in hardware with very simple, very low-level solutions.
Not seeing it on my watch. Just a fairly uninteresting solar graph. Maybe it's not available on my watch - but shows a real problem in modern UI design. The "shadowban" school of UI. The problem with that is discoverability. You'll never know if you're looking in the right place.
The boards that I have used could not reprogram the FPGA over the PCI bus.
This is AMD competing with Nvidia, not AMD competing with Intel.
The bucket can change over time though. If you want to be sure, you need to test often, which gets in the way of using the computer.
This is creeping pretty close to the legal definition of fraud.

But advertising has had a fair amount of safe-harbor carve-outs for over a 100 years or so that are not available to other industries. So it is no surprise it continues today.

edit:
I hate to say it but the auto-downvoters here on HN are approaching reddit levels. Everything I said above is true.
I had the same experience with wonderboy 3: the dragons trap on the sega master system. Especially because it was a platform rpg where you could have different combinations of armor, weapons and shields.
You cannot traverse the whole document with DocumentFragment and same with browser node API. But anyway, the motivation is why to read the DOM nodes from the browser while I already have them in the app. I like to think about it as a layer that connects what's missing from any modern framework.

See the effect in Drag & Drop. The great benefit of knowing exactly where the dragged element is going in the tree. The basic implementation is to `switch` with siblings in the same container. And perhaps do the same thing with the whole container. Being able to drag & drop containers with the same level/depth. Maybe later, expose the `switch` functionality so it can be replaced with `bounceToRight` or `JustHide`.. etc. I've been asked many times how this is different, and as far as I can tell it's not just simple implementation for draggable. Hope to reach the point where I can achieve a fully flexible layout. The Insertion and design can in theory done by the end-user.

So much work has to be done Including add Svelte support.

Edit:

I've already started a project to compose flexible forms: https://github.com/jalal246/folo And like DFlex the backbone is pure javascript.
Well you are saying that even in C you can use the restrict keyword to tell the compiler that 2 memory locations can overlap. Of course is in the hand of the programmer to tell the compiler to do so.

I don't think there is a fair comparison between Rust and C: C is just an higher level assembler, if the programmer knows what he's doing he can use the hardware 100% of its potential. That is the reason why C is still used in all the embedded applications where you have ridiculous low power microcontrollers and you must squeeze out the best performance.

That is the difference between C and Rust to me: for each fast Rust program you are guaranteed that you can write an equivalent performant program in C (or assembly). Worst case scenario you use inline assembly in C and you get that.

Thus the contrary cannot be true for Rust: if I give you a heavily optimized C program not always you can produce an equivalent version in Rust.

Also not always these optimizations are what you want. In C you can choose the level of optimizations, and most of the time, at least on the program that I write, I choose a low level of optimization. The reason is that a lot of time performance is not the only thing that matters, but it maybe matters most the stability of the code (and a code compiler with optimizations is more likely to contain bugs) or the ability to debug (and thus the readability of the assembly output of the compiler).

Rust gives out an horrible assembly code, that is impossible to debug, or to check for correctness. You just have to hope that the compiler doesn't contains bugs. For the same reason Rust is the ideal language to write viruses, since it's difficult to reverse engineer.
> From the tweet, it’s crazy that they were spending 100m without tracking the quality of the users.

They were high quality users: Uber didn't pay for installs, but for installs + first ride. What's being alleged is that the ad networks were detecting a user installing the app, and fraudulently creating an ad display event to make it look like the install happened due to the ad.
We need more people to be working on solving climate change, not less. We would have viable nuclear power by now if it weren't for all of the leftists in the 70s-90s protesting its existence and making it a liability for many companies to even consider it.

The unintended consequences of this would be stunning. But I suspect if the people that enacted these proposals were ever around to see the results, they would shift the blame.

"Carbon tax should be so high that nobody asks if they should fly but if they can afford to fly."

Just like all of these types of proposals, they only help the rich and powerful. Propose gun control? But hire private guards with guns to protect you. Propose Universal health care? But have the best private care in the world that the rest of us will no longer be able to afford.

We also aren't focusing on the actual source of the problem. The US only accounts for around 25% of total carbon emission. India and China make up a much larger percentage, yet can can continue to pollute and destroy the environment with impunity while gaining power in the process. While economies shrink in places that have strict carbon emission rules, China doesn't follow those same rules and grows. It's sort of like playing baseball when the other team is allowed to take steroids.

..and before you tell me about per/capita and 'fairness', this doesn't really matter in the end when humanity is destroyed.
The Prophet of Maximum Productivity
Show HN: Pluto – macOS system monitor app
Check out our new system monitor app "Pluto", it's a different take on at-a-glance availability and is very customizable.

Mac App Store link: https://apps.apple.com/us/app/pluto-hud/id1544577573?mt=12

Promo codes below:

36F3FWR6W6NJ
HKHLWTMHHP7P
3YHKK9XFWHRE
XX9WJX3HNKLR
LTJ6YL343RM4

Update: here are 10 more codes for you guys, thanks for the support!

REF3KY37YXHP
Y4L77PPLLFTH
R6HEJALF67YM
93FYNH3YXALL
FWHMPFHF3XHR
KJ3RYH7JK639
JL49PFKFKWYN
NH4HXY7KM6XH
94E777T7449Y
HEPT4TW6KWKJ
Renaissance Technologies patents method of beating HFT (2016)
I agree, it's not a foolproof solution, but the presence/absence of various trackers in their app and website is usually a good predictor.

Furthermore in the name of pragmatism I am not opposed to all ad targeting; some of it is indeed outside of my control. However, there's a difference between sending a name/email address combo once during signup and having the advertising SDK ping the advertiser every single time the app is interacted with (which is what the Facebook SDK does for example); the former only leaks "I use X service" once to the advertiser, the latter leaks a detailed trail of my usage patterns & IP addresses (can be used to correlate where I've been and who I'm hanging out with if their own phones are connected to the same Wi-Fi network and thus share the same IP).
Almost the same here. Had an Google Ads budget of $200 a month. All I got from this were dubious sign ups, which all together never looked around in the application and never came back. As my ROI turned to be negative, I turned off ads completely. My organic sign-ups even increased since that. And those people are staying!
I currently host https://femto.pw/ - A URL shortener I've kept up for ~4 years and intend to indefinitely. It doesn't do anything with regards to tracking cookies or other dark patterns. It just redirects you using a 302 redirect.
This remains common in aerospace, each voting computer is referred to as a "string". https://space.stackexchange.com/questions/45076/what-is-a-fl...
But someone did. "Brand awareness" is a thing.

For example we can probably agree that for completely new companies spending on ads makes sense. Or giving out free samples, etc.

Similarly for big companies doing media campaigns to keep the new ones at bay makes some sense.

Even if word of mouth is a thing, even if there are organic searches, and even if it seems like a race to the bottom if everyone just tries to outspend each other.

It'd be great to make experiments about how to sensible prevent/regulate this ad arms-race. But first better data privacy laws.
Nah, the benefits of structural editing can be nice, but so too are the benefits of a great line-by-line editing workflow ala vim, which makes one just as productive, regardless of language.

And I think that a job where you have to constantly switch between lisp and non-lisp styles would be a lot more frustrating than just using only one style and getting used to it, so I can see your pain there.
Show HN: Xstyled – Utility-First CSS-in-JS Framework for React
Very cool. I currently use PhotoScan. I'll give this a shot.
Incels Brutally Criticize Each Other's Faces (2018)
I wish them good luck. Azure IOs are awfully slow unless you throw money at Azure. I couldn't use Azure Codespaces because it was a lot slower than my old notebook.
You should be able to check logs for corrected errors, right?

I'm guessing you won't find any.
We provide (internal) access to data where we provide interactive access via GraphQL-based APIs and bulk access via CSV or RDF dumps - I feel like dump files are grossly undervalued these days.
Well, the answer is easy. We are all different

It’s so easy it gets skipped over in almost every thread like this, it seems, where someone goes off on some expedition of personal development and chooses to write about it to share with others where inevitably someone comes along to pontificate why anyone would even bother.

There’s not always going to be some neat, logical nor highfalutin reason for an individual making a choice about documenting, recording and analyzing parts of their life.

And that’s fine. Promise.