355 karma · joined Jul 4, 2010 (16y ago) · 197 submissions
7db2e82a28fb4bd9f5221680d91c0a2fca6be319316819a6a2c7cbb01fba48d0
comment 1mo ago · link · parent
[0] https://github.com/cursor/plugins/blob/main/pstack/skills/un... [1] https://github.com/cursor/plugins/blob/main/pstack/skills/te...
comment 4mo ago · link · parent
I do not think it's bad or evil that people want to protect what they have or protect even the idea of what they used to have. It's just that you need to have some level of intellectual honesty. That's hard, as you can see from your reaction.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 4y ago · link · parent
I seriously questioned myself and made a decision. No more social media on the work computer and during the working hours. Ever since then I am only reading HN and Twitter when I am on my phone when I am on a break. I haven’t even realized HN was down.
comment 4y ago · link · parent
- A non-sanctioned country
- Partnering up with existing banks so you can actually process payments and manage fees
- Regulatory license for payment processing - if applicable
- PCIDSS compliance if you will process cards (can come later on, card schemes will knock your door)
- A really secure infrastructure and application (or you are in trouble)
- Some of the founding people actually knowing the domain
- Well-thought API
If you get past the first one then the rest is actually all about the investment.
comment 5y ago · link · parent
> Your spotify was music-to-stalk-boys-to-hail-satan-heavy-eyeliner-post-punk bad.
> allegations-of-abuse-have-never-been-proven-in-court bad
> gallagher-brother bad
> instagram-your-tent-at-sunset bad
comment 6y ago · link · parent
it does nothing. :) that code sample is a description of the API. nothing more. when you're writing programs in a functional way, you describe your computation rather than actually computing it as opposed to imperative languages. imagine summation in math. it is a description rather than computation. you compute the sum according to the description. this API description is exactly the same.
the code in the comment is incomplete which makes it harder for you to figure out. where are the handlers? how do we return responses? i believe the rest of the code is actually mapping the API description to actual handlers.
server :: Server API
server = getPolls :<|> getPoll :<|> getResults
getPolls = queryDBForPolls `andThen` transFormToJson
getPoll pollId = (queryDBForPoll pollId) `andThen` transformToJson
getResults pollId = (queryDBForResults pollId) `andThen` transformToJson
i agree with the comments and sentiments which say mathematicians learn and write haskell easier than the rest of us but i will tell you a secret: i'm a high school graduate with no degree at all let alone a math / cs one. i'm using haskell happily but it took way much longer time than probably everybody else. it just takes a bit of focused time and will to learn it.comment 6y ago · link · parent
/polls returns an array of Poll. /polls/:question_id returns a Poll. /polls/:question_id/results returns a PollResults.
the thing you call a mess is the combination of type level operators which helps you describe your API which is the essence of functional programming.
comment 6y ago · link · parent
thanks to clojurescript, i was able to build all these tools so fast and clean, we had a lot of time to work on the business itself. we failed to find a product market fit though.
to every new founder out there who always wanted to try clojurescript, if you are going to work on a client application and love react, i cannot stress enough how easy and fast it is to develop with clojurescript and re-frame.
comment 6y ago · link · parent
also, chinese software engineering community was a closed up one until a few years ago. now they're actively contributing, rolling up their home brew libraries and applications for the world wide usage. there is simply nothing wrong with them using their own language. we might have a problem when they try pushing that but almost all the popular chinese libs have english documentation.