HN user

TheSmoke

355 karma

software engineer.

7db2e82a28fb4bd9f5221680d91c0a2fca6be319316819a6a2c7cbb01fba48d0

Posts10
Comments180
View on HN

I do not have a horse in this race. I am the exact opposite of what you have in mind. I simply suggest that instead of being hypocrites or cry babies, you guys maybe choose not sponsor a civil war that ends up displacing millions of people. If you take one step into it someone is going to pull the other leg which is what happened.

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.

I wonder how a migration to for example Micronaut from Spring would look like in their case. It is optimised for startup time, performs the dependency injection and annotation processing in compile time as well.

Ruby 3.4.0 2 years ago

I definitely suggest using vite and the vite ruby gem. Create your Rails app, Create your TS + React app with vite, add the vite gem and done. It does not get better than that. Super fantastic.

so it's the year 2000, right. you got home from school, you're at 6th grade. saw your sweetheart and got fired up all day. summer's around the corner, it's been a pretty good day. a friend at school told you about napster, you download it and install it. you are amazed. you login to icq and wait for her to come online. in the meanwhile you search for some metallica and limp bizkit. it's insane! everything you search is there. you just have to be patient. you download nothing else matters, start playing it. she logs in and says hi, already missed you. and nothing else matters..

sure, take some scala 2 library and make it work with scala 3 / dotty with an effort similar to this one. or java 1.8 and 17. we'll wait.

I visited San Francisco in June 2013 and worked at an office for a month. I had a habit of browsing HN and Twitter during the working hours and from the work computer. I was also very productive. Always got things done. Days go by and I observe people working. I realized that many people would spend time on social media only when they were having lunch and were extremely productive the rest of the day. I thought to myself “If I am working then what these people are doing and if they are working then what is it that I am doing?”

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.

You need a couple of generic stuff:

- 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.

i enjoyed this, really nice. every metal band, every metal album and song decreased my score. :)

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

And even though you told us that it's defining a route, I cannot figure out what it is really doing. It is just not clear.

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.

it might look weird to the foreign eyes but essentially this is just a typed api with 3 routes.

/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.

i'm seconding this. not only react native version that re-natal supports is old but also the re-frame & reagent versions it supports are pretty old. shadow-cljs is really a good solution and you can pick it up for react-native projects too.

i feel you, jwr. at my previous startup i've developed everything with clojurescript. our dashboard, our browser plugin, our react native app was all cljs except for the api which i built with django.

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.

turk here, if we are going to replace lingua franca, can we please choose german? damn ich würde ein sexy Softwarearchitekt sein.

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.

for clarification: that was meant to be a joke.

dhh is David Heinemeier Hansson, co-founder of Basecamp. they basically run their company just like you, i'd recommend reading their posts.