267 karma · joined Jan 29, 2012 (14y ago) · 83 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
Sounds to me like you already made a good case for why those products exist.
Sure, you could also call HTML structured content, but using HTML for expressing the semantics of the content instead of the presentation has always been a bit of a pain. Plus you wouldn't really want to use HTML as a format to share this kind of data with for example mobile applications.
You could use XML, but I'd say that's basically the same as JSON with a fixed schema but with more angle brackets, which is pretty much what those headless CMSs return.
Then on top you need the devs to build the server, and to maintain the DB, to add a querying API, to add SDKs and tooling that enable smooth integrations with the new API, the workflows on top of the pure content, a UI that is intuitive to the people maintaining the content, security audits, scalability for when more parts of the company want to use your tooling etc etc.
Following your reasoning you could also say "Payment provider" is a marketing term for something that is just a DB that needs to sync with some banking APIs and AWS is just APIs in front of some DBs and VMs and analytics solutions are just a JS SDK on top of some DB.
Fundamentally everything we build is just some kind of frontend or abstraction on top of a DB. I don't see how that makes it in any way pointless.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 10y ago · link · parent
What I also like about it is that a closure isn't the only way to solve it. You can use `let` for example to make sure the variables are block scoped, or use `bind` to partially apply a function with the number.
So in the end it's a conceptually very simple exercise that can give you a very good insight into how much the candidate knows about how JS actually works.
comment 10y ago · link · parent
If it's basic income, then you should be free to choose how and when to use it.
For your example about forgotten payments, the result would be that you did not pay, so potentially you may lose your insurance, or you receive a fine or something worse. That's a decision you should be able to make yourself.
If you don't have control over your own money, that's not very dignified.
comment 10y ago · link · parent
If you start coming up with extra cases for when it's urgent and you can get a bigger payout, you're again complicating the system and adding extra bureaucracy where part of the idea is that the simplicity of the system compared to classic welfare systems is what makes it more affordable and allows to give bigger monthly payouts.
comment 10y ago · link · parent
Plus that question has so many answers depending on which country you live in. I can tell you for example that in my country you are expected to save part of your welfare money for those cases, which does not necessarily work very well since it's often not enough money to really save it.
comment 10y ago · link · parent
It's hard to make long term plans with that, because instead of putting aside $100 at the beginning of the month, now you need to save $3 a day. With amounts that small, it's easy to accidentally overspend.
Plus sometimes sudden unexpected costs happen, and you cannot wait another week to slowly save up for it, you need that money now.
Not all poor people are poor because they're drug addicts that cannot handle money. Poverty is hard to escape. I'd rather not humiliate these people any further and make it even harder for them to lead a dignified life just because some people might waste their money in the first week.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
In the end you want to write a function that just expresses what the state of the DOM should be depending on the input parameters and have something deal with applying those changes to a very stateful API. If the application state changes, all you want to do is say 'things have changed somehow, just re-render this component'.
This was possible before with classic templating, but it wasn't very efficient and had problems when dealing with re-rendering interactive elements. You would lose focus on input fields for example, and had to use some post-render hooks to fix the state of the DOM up afterwards.
Using virtual DOM structures fixed this problem in an elegant way and allowed rendering to the DOM to be integrated into more functional programming styles, which made more reactive architectures possible.
It all boils down to humans not being good with reasoning about state changes over time and how to express those imperatively. The only solution to that is not to do it and go more functional.
This is also why I am not a big fan of things like incremental-dom. It ignores the whole idea why we wanted declarative DOM handling in the first place and replaces it with a very imperative and side-effect heavy API. In that case, just use the DOM directly.
comment 11y ago · link · parent
If you pay for it and want to spend two weeks alone in your room and never talk to us, that's more or less fine. If you live in my apartment for free and you're not getting involved in at least some way, I'll be angry and disappointed.
So that way, screening on CS needs to be much more thorough and the chance that you get disappointed is much higher.
comment 11y ago · link · parent
We found it to greatly reduce conflicts between guests and hosts, and actually get people more engaged in our small community.
With couch surfing, I often had thoughts like "I pay for your room and you can't even put your dirty dishes away". Since we offered the room for free, we kind of expected some sort of autonomy from their side to help us out in the household or maybe cook some dinner for everyone if they stay longer than one night. They often expected that we would go explore the city with them and give them a lot of attention.
On airbnb that problem somehow mostly vanished. If things with the guest aren't great, at least you get paid. Thus you also don't need such a strict screening process anymore. Due to this, there seems to be much more diversity regarding the types of people we get to meet.
Many of them actually just want a quiet room to sleep in, and it's absolutely fine. Some people however really get involved and become good friends. Especially when they stay longer (which almost never happens on couch surfing), the fact that they pay rent just like everyone else seems to make some of them much more open to suggest improvements and be proactive.
We've met a lot of diverse, interesting people through airbnb, some of which ended up staying for a long time, some coming back regularly. On couch surfing we've mostly met the traveling couple, group of friends coming here to party and young backpacker stereotypes.
What killed couch surfing for me personally though, was that no matter how many people I've hosted, I could never find anyone who would host me when I was traveling somewhere. That really destroyed the magical vision for me.
comment 11y ago · link · parent
I really don't understand why it has to be so expensive. For inner city trips the gas costs are a negligible part of the total price, and most drivers are being paid minimum wage. (I've actually heard quite a few taxi drivers complain about minimum wage being introduced because their employers claim that it's too expensive for them and they need to cut costs.)
Either there are too many taxis out there so they need higher prices to be able to pay for the time where they just stand around waiting for customers, or somebody is getting rich.
comment 11y ago · link · parent
Any more supervision? Did the way development and deployments work change? I can imagine when you're publicly traded the higher ups might suddenly care much more about being on the safe side of things and try to enforce stricter rules.
55.
Digital audio signals and how they really behave in the real world(xiph.org ↗)
1 points · by ShellfishMeme · 12y ago · discuss
comment 12y ago · link · parent
comment 12y ago · link · parent
Then I tried to read the 'about' page but the text is very small and the lines very long, so it's hard to scan for relevant information. The bullet points make a couple of claims about what Patoline excels at, but still no code examples can be seen that could give me a feel for how Patoline actually works.
I had to go to 'documentation' and click a small insignificant looking link to actually get to see an explanation of Patoline and some code examples... in a PDF file.
I understand that it's cool to write the tool's manual using the tool itself, but if I come to the website and want to evaluate quickly whether this is interesting and could replace LaTeX for me, I need a quick overview directly on the index page, together with some examples similar to the one on the wikipedia LaTeX page (http://en.wikipedia.org/wiki/LaTeX#Examples).
comment 12y ago · link · parent
comment 12y ago · link · parent
So now notch is offended by a company he backed partly with the money he got from people like me, whose hopes of having a fully moddable open sandbox game made them invest, changing its strategy to allow them to reach a bigger market.
I can directly relate to that, but I cannot say that I sympathize. This is what happens, when you invest in something when it's still in an early stage of finding itself. Bad luck, move on.
60.
HN Berlin is coming on the 6th of March – Join us(meetup.com ↗)
4 points · by ShellfishMeme · 12y ago · discuss