736 karma · joined May 22, 2020 (6y ago) · 255 submissions
1.
Ask HN: Open-Source Alternatives to Getstream.io
2 points · by searchableguy · 6y ago · discuss
comment 6y ago · link · parent
Check the status here - https://www.cloudflare.com/ssl/encrypted-sni/
Your best bet would still be a vpn which will work on all the sites.
comment 6y ago · link · parent
Why debubble won't work: https://debubble.me/opi6znpcml
Social media is a net positive: https://debubble.me/axyrntvh4e
Let's debate or debubble?
comment 6y ago · link · parent
Also, it's not just young people. If you tell someone ignoring the age that you are a plumber or farmer, they aren't going to look at you nicely even if you earn more than the engineer next door. Social media has changed perception of people regarding work. It is a primary means of keeping up with the world for younger gen and targeted advertisements make it worse. Instagram feeds have a happy skin-showing bias. Tiktok removes anything too sad or ugly.
I expressed in my earlier comment that expectations for young people now are different. They think they should be able to live better than their parents do now or did on the same folds the productivity has increased.
Compare 2000 to now and how work has been automated or made easier. Why not 5x-10x improvement in the living condition? That is why they want to get into FAANG.
comment 6y ago · link · parent
I support equal opportunity rather than bandids. The system is rigged and harm some people more than others. We need to find the core problems and fix them but I have no political power. By the time I do, I may become a grumpy old man who thinks people deserve what they got and it's their fault. Education system normalize this. Punishments are applied fairly but students are not equal and don't have the same situation at home or outside school. We need to stop punishing people in ways that only drag them behind. Be it students or petty criminals. Dragging people behind is never a good way to achieve progress and our society is riddled with it. Living is a zero-sum game for many.
comment 6y ago · link · parent
comment 6y ago · link · parent
I usually found 3-4 ways of styling in a medium codebase on github. I find varying degrees of state management - some built with context and hooks, some imported and traditional mobx/redux. I haven't found many significant opportunities to reuse code without refactoring a lot or doing micro files of 7 lines of code and separating logical components.
I now think of react as a library to build your own frameworks. It aligns perfectly with the javascript ecosystem mentality.
comment 6y ago · link · parent
it's easy to write the average function in the article in this way.
def average(arg) when Enum.all(arg, &is_string/1) do
# implementation
end
def average(arg) when Enum.all(arg, &is_integer/1) # for the int
which would be a more proper abstraction as it hides details of the type of your data.or using pattern matching in the arguments.
def shape("circle", ...) do
# implementation
end
def shape("square", ...) do
# different implementation
end
When you have map as an argument, you can do def is_good(%{ hn: HN }) do
IO.puts "#{HN.someprop} is good"
end
def is_good(%{reddit: Reddit}) do
IO.puts "#{Reddit.someprop} is bad"
end
def multiply_on_two_numbers_otherwise_square(a), do: a * a
def multiply_on_two_numbers_otherwise_square(a, b), do: a * b
My examples are trivial but this really gives you some awesome refactoring powers.comment 6y ago · link · parent
Here's how I would group HN based on income, what keywords make them click and demography.
1. Old system admins, FOSS lovers, and retired due to age folks.
Around median income.
Keywords - vim, Emacs, firefox, awk, unions, inequality, privacy, new tech bad, linux, open source projects, go, haiku, history, and against-big-tech.
2. Fresh college graduate/ enrolled in CS or equivalents, teenagers, hermits, and recently laid off.
Below median income or none.
Keywords - education, degrees, FAANGs, interviews, privacy, income inequality, against-the-popular-social-media, against-google-apple, firefox, chrome, free-speech, thought-crime, and twittter.
3. SV crowd, founders, and employees of a big company.
Above median income.
Keywords - rent, homelessness, parenting, investment, CA, economics, happiness, open source but the profitable or commerical kind (kubernetes tool, cockroachdb, materialize), startups, climate change, big-company-profit-loss, apple, security and immigration.
4. Researchers and retired by choice.
Above Median or low/no income.
Passive consumers so they click on wide variety of keywords. Occasionally, participate in something related to their field.
5. Long time active HN members.
Above median or median income.
They click on most posts on the front page but comment in their own silos or interests. They help direct the site by filtering from new or stopping hoard of initial comments.
6. Marketers, sales and non-tech crowd.
Median or lower median income.
Keywords - medium article, heres-why, how-I, growth, crypto, ads, effective-ways-to, and the likes.
This is only my observation so it will be biased and wrong but I definitely don't think hners are 1%.
comment 6y ago · link · parent
> As far as I see, all energy spent railing against the reservation system is better spent improving yourself.
You have approximately 60% seats reserved, the remaining 40% seats are left for everyone else to compete on equal grounds.
comment 6y ago · link · parent
What do you think about reservation in those institutions?
1. https://en.wikipedia.org/wiki/Reservation_policy_in_Indian_I...
2. https://theprint.in/india/education/iits-take-womens-quota-t...
3. For 10% poor all catch reservation which will be implemented soon - https://www.hindustantimes.com/india-news/10-reservation-for...
comment 6y ago · link · parent
Students from IIT in India are filtered from millions of students. They only take about 10-15k students every year and the rest are in NIT and other relevant institutions (around 50k). About 1 million self selected students participate in jee-mains every year. I only meant to highlight that OP's friend may be biased compared to the common situation here.
Here is the article for chinese investment in top Indian startups - https://www.vccircle.com/here-s-a-snapshot-of-key-chinese-in...
With government trying to shut down foreign investment, I don't see investment opportunities in India increasing.
comment 6y ago · link · parent
It's a result of huge population and most institutions being trash so students are concentrated in one place. That is in no way a feature of the education system itself.
comment 6y ago · link · parent
Startup ecosystem is booming on foreign investment especially from china. Local investment is still dire.