Better HN
topnewbestaskshowjobs
Log inSign up

_tw9j

736 karma · joined May 22, 2020 (6y ago) · 255 submissions

Submissions

1.

Ask HN: Open-Source Alternatives to Getstream.io

2 points · by searchableguy · 6y ago · discuss

comment 6y ago · link · parent

Sometimes.

comment 6y ago · link · parent

> The site would rank views by recent replies, which would reward controversy with attention and draw out more responses

How will you stop it from becoming 4chan in a different layout?

comment 6y ago · link · parent

By making request to reddit.

comment 6y ago · link · parent

I think it will on some supported sites. Enable the dns over https option in firefox.

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

I like the design of the site. It's simple and easy to follow. I would appreciate if you had more login options and examples than simply twitter. I don't see an option to edit the title or delete a debate/point. I think it would be reasonable to give people option to bury the debate or change the course within a reasonable time period.

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

I wasn't talking about icons alone in my second statement. :/

The design trend require soft shadows to be rendered on many elements in layers which I exaggeratedly pointed out. I apologise.

comment 6y ago · link · parent

That snark is unneeded. I only meant to be cautious when considering the opinions here.

comment 6y ago · link · parent

They went too far on that one.

Do designers consider how expensive the gpu rendering is for skeumomorphism or neuromorphism?

comment 6y ago · link · parent

CS career questions is an odd ball though. Internet isn't a reliable way to assess what young people actually think especially in geek or programming circles.

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 think I am qualified to answer this. It's harder to fool people when you can look at metrics compared to before. Information is widely available so adults can't make up rainbows to make me wage away for something that has no clear chance of a healthy life. Expectations are different for younger generation precisely because human productivity increased many folds but yet we have to grind more or less the same amount of time + spend more time in institutions which are not funded well except for the rich folks. Overall, world is getting better but that doesn't mean it is getting better relative to the effort everyone has put in for majority.

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

You nailed the problem. It's hard to compose css without resorting to what feels like a hack. @mixins and @appliers should have been part of the css years ago.

comment 6y ago · link · parent

I didn't single it out to SV. But yes, I did omit a huge portion of devs. I couldn't find any patterns. A dev living in [country] will talk in threads about their [country]. Such details are obvious. But SV crowd talk about rent details of other countries or states which is a trend.

comment 6y ago · link · parent

Relative to the local area.

comment 6y ago · link · parent

My problem with react is that there are so many ways to do the same things that reusability and refactoring becomes harder than it should be.

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

I think with modern editors, the cost of code duplication is lower than the cost of a tight over abstracted code linked everywhere in your system. You can easily find and replace instances of duplicated code as it would be isolated and can be automated to some degree.

comment 6y ago · link · parent

This article is good (although they could work on examples a bit more). One thing I have really found useful when working with elixir is that it gives you a way to abstract common patterns or add more use cases by differentiating based on arity and pattern matching.

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

I doubt that is true. SV crowd may be loud but they aren't the majority on HN.

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

I only mentioned it because you said that the consistent brutal selection process is a feature.

> 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

Edit: I misunderstood that it was for github. Great project for querying git repos.

comment 6y ago · link · parent

I don't think that is relevant to the education system still. That is a very small share of Indian student population. 15k/37.4 million.

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

> He got his degree from IIT, a tier 1 college in India.

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

> The top academic institutions in the exact sciences and engineering (old IITs, IISc) are excellent by any standard, and the students are top notch, due to the large pool from which they are selected and the brutally tough selection process.

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

> A significant portion of the current SV crowd on H1b, is a product of the indian education system.

Could you be more elaborate?

I can see that statement meaning wildly different things on HN and it doesn't answer my question.

comment 6y ago · link · parent

Relative to what? India has 1.34 billion people. If other countries put a million self selected students to compete with each other in a dog fight, I am sure the resulting 50k might have good chance of being similar.

Startup ecosystem is booming on foreign investment especially from china. Local investment is still dire.

comment 6y ago · link · parent

> India has an excellent education system

Explain in which way is it excellent?

Which part do you think Indian education system does well relatively?

12345
9