2,733 karma · joined April 30, 2011
The original intent of internet was to establish a honest and open platform for information sharing, and for me (personally at least) the development so far has only convinced me that most establishments out there are utterly incompatible with those values.
It's not exactly fun to code up payment integrations, and so I was kind of hoping to get it over and done with. But with Apples payment APIs, we needed months of production data to figure out how to use them without shooting ourselves in the foot.
Using the API felt like interfacing with some badly configured eventually consistent MongoDB cluster that a bunch of juniors stuffed full of receipts, using the entirely wrong data model.
Is the problem that the checkpointing critical section has the same duration as the triggering file operation?
I get that there must be some sort of critical section for setting a checkpoint, but I don't understand why it takes so long, and why it would be affected by how busy the userspace process that triggered it is.
I would expect it to have a short barrier-style critical section; drain all outstanding writes, record some checksum or counter from a kernel data structure, and then release all writers again.
In my mind this should be kernel code only, entirely unaffected by userspace, and if designed nicely, quite fast.
So I guess I don't get what is going on here.
Replace invalid ASCII char. Fixes rake error 'invalid byte sequence in US-ASCII'.
I don't want your entire life story in my commit log.
Ans as far as the analogy goes, it might be hard to fix the entire surface of the earth, but that's a strawman, because we have plenty of urbanised and indoor areas where you don't need shoes.
What's the easiest? To cover the entire earth in asphalt, or make all cars be 4wd?
Ok, that's kind of cynical, but still true to a large extent if you ask me.
Maybe that's where they got the name from? Although performing the effects directly through a pause/resume mechanism doesn't sound algebraic to me.
" So how does a PEG parser solve these annoyances? By using an infinite lookahead buffer! The typical implementation of a PEG parser uses something called “packrat parsing”, which not only loads the entire program in memory before parsing it, but also allows the parser to backtrack arbitrarily. While the term PEG primarily refers to the grammar notation, the parsers generated from PEG grammars are typically recursive-descent parsers with unlimited backtracking, "
I read that as implying generating a typical recursive descent, with the classical degenerate branching cases that TDOP partially solves.
For instance, you are responsible for declaring any possible branches with choice operators.
The approach becomes quite similar to manual lookahead in a recursive descent parser, but more declarative.
I presume that this makes the runtime characteristics of the parsing a lot more predictable and bounded, and I'm surprised I hadn't thought about the solution before. Seems like a great idea, and worked well for my usecase.
Charger review here: https://lygte-info.dk/review/Review%20Charger%20Ikea%20Ladda...
Now, having been there quite a bit, I must say that it really doesn't impress.
The impression I got visiting the US in general (NY, Seattle, San Fran, LA), is that it all seems quite ran down, full of inequality and social problems, and lacking soul, mainly from being so consumerist.
And although I would concievebly earn a lot more working over there, the total cost of living would probably more than make up for that increase. Especially considering having kids.
My friend who is a US citizen with a well-paying engineering job in the LA area, is considering moving back. The work culture is quite hectic, and the amount of trouble they've been through with child care, insurance issues etc are making them reconsider. Not to mention that the area is super-busy and you spend a large portion of your free time in your car.
This obviously doesn't describe the entirety of the United States, but sometimes I wonder if people from the US are aware of living conditions in other western countries. I'm not so sure that the US is coming out on top any longer.
So you could simultaneously be at awe of the incredible improbability of throwing another heads while proclaiming meh over the 50% chance of the last throw.
It's all a matter of perspective.