News for hackers. Stuff that matters.

pavish

Ask HN: Is GitHub becoming more and more unstable?

I have been noticing several issues with GitHub over the last few weeks, most of which used to work flawlessly a few months ago.The outages aside, a couple of annoying, super-recent experiences:- Our release process involves creating draft releases before QA, and publishing them when ready. We published a new release today and team members from the US were able to see it as published while...

( Read More... | 4 comments | 3 points | on HN )
Re:Apache ECharts on Wednesday April 09, 2025 @04:04AM (#43629904)
Glad to see Echarts getting the recognition it deserves. It is arguably the best open-source visualization library out there.

Here are some points others haven't mentioned:

(a) Uses canvas by default. Faster than any other library I've used.

(b) Extremely flexible. Want to write your own widget on top of the graphs (eg., a customized tooltip). Possible!

(c) Provides a lot of metadata. Want to get the position of a point in the rendered chart, to use in your code? Entirely possible!

(d) Works really well when importing into legacy web apps. They even provide an option to get a customized build on their site.

(e) Very good at handling streamed data. The animation is very smooth between data changes.

I've been using it for almost 7 years now for various production and personal projects, and it's still my go-to library. Their docs have come a long way since then.

They do have long standing bugs that get annoying, e.g, dealing with 0 when using log scales, provided there are workarounds for it. I haven't noticed any blocking bugs for most common usecases.

Re:Thoughts on Svelte on Tuesday March 28, 2023 @04:16AM (#35337372)
I think I didn't phrase my statement correctly.

Here's more clarity on what I was attempting to say: I had to understand the internal working of the reactive statements inorder to use it the right way and it took me a building a couple smaller projects to completion to get there. I believe this was because at the time I built them, I did not have enough references and projects where similar problems were tackled.

After I understood how it worked, which was about 3 to 6 months into using Svelte v3, I found it rather simple and intuitive. I've been working with Svelte for nearly 5 years overall. It did not take me 5 years to find it intuitive.

Re:Thoughts on Svelte on Monday March 27, 2023 @02:43PM (#35330595)
I agree with most of what the author says, except the part about reactivity. I attribute that sentiment to the author being less familiar with Svelte.

I do think that people new to Svelte find it hard. It takes a while to understand how the `$` reactive statements work, and when and when-not to use it. When I first started working with Svelte, I tried to do things the React way and shared similar frustrations. Now that I've been working with Svelte for smaller and bigger projects for nearly 5 years (yes, since 2.0), I find Svelte's reactive pattern simple and intuitive.

There are some aspects I find frustrating with Svelte. One example is being able to pass templates around. With React I'd just pass JSX, but since Svelte is statically compiled, I've had to create components for such scenarios. Slots don't cover all usecases. I can live with this though.

I have built a couple large projects using Svelte and haven't faced issues with scaling. I found Svelte to be quite flexible, which has enabled me to build fast, and maintain a performant codebase.

My recent project is Mathesar, which has a large frontend codebase in Svelte + Typescript [1]. It's also open-source so you can check out the codebase. We use pretty much all of Svelte's features and we even implemented a full component library. Here's an old discussion for deciding which frontend library to use for Mathesar, where we selected Svelte [2].

We have had to establish a number of patterns (including around reactivity) so that new contributors don't break things, which happens more often than you think.

Svelte's primary issue is a lack of established patterns, which makes it easy for new Svelte developers to get things wrong. React has a number of such patterns due to it's massive community. I believe as Svelte's community keeps growing and more projects choosing Svelte, this would be tackled.

[1]: https://github.com/centerofci/mathesar [2]: https://github.com/centerofci/mathesar/discussions/55

We tested with the files from the link and right on, some of the imported table seem to not work as expected. You've just helped us discover a bug.

Here's the issue that tracks it: https://github.com/centerofci/mathesar/issues/2634

Thanks!

You're right, it's not in our current roadmap, which focuses mainly on features that improve data entry, analysis, visualization, and collaboration. Having said that, Mathesar could grow as a product and have a diverse set of features we've not yet planned, in the next few years.

A feature to build interfaces for internal admin tools sounds very cool, and while we cannot say that it's coming for sure, we'll definitely be discussing it. Please feel free to open a feature request issue on our Github repo, we'd appreciate it.

Thank you!

A hosted version is definitely on our plans for Mathesar, and being able to share tables and explorations publicly via a permalink is part of our roadmap[1][2].

[1] https://mathesar.org/roadmap.html [2] https://github.com/centerofci/mathesar/discussions/2266

Thank you!

We've documented the differences between Mathesar and other similar products including NocoDB on the FAQ section[1] in our website.

[1] https://mathesar.org/faq.html#how-is-mathesar-different-from...

Thank you! We're glad to take your feature request into consideration.

We have had discussions regarding auditing in Mathesar[1], though it's not explicitly documented in the roadmap yet. We do have plans to implement Undo & Redo support for data editing operations in our roadmap[2] which would depend on the auditing implementation.

[1] https://github.com/centerofci/mathesar/discussions/113#discu... [2] https://mathesar.org/roadmap.html

Haha, yes!

We also intend to release our Svelte component-library as a separate package and considering if we should establish a GalaxyQuest theme when naming it, perhaps Laliari.

Here's the discussion: https://github.com/centerofci/mathesar/discussions/833

(Mathesar core team member here)

My previous job was in a biggish e-commerce company and the business teams would send spreadsheets with corrections to the data (like updating descriptions, changes in pricing etc.,) almost every day, and the developers had to make those changes in production.

We ended up building an inhouse application to let the product team edit production data directly, with some restrictions. One of Mathesar's goals is to solve collaboration issues like these.

Mathesar allows setting up users with different access levels[1], so it's easier to create users with limited access. As part of our roadmap[2], we also intend to allow configuring permissions at a more granular level, such as row & column level access to tables. So, developers could breathe freely when providing business teams access to the underlying database.

[1] https://docs.mathesar.org/product/users/ [2] https://mathesar.org/roadmap.html

Re:Help us decide the front end framework for our OSS on Saturday April 24, 2021 @12:01PM (#26925902)
Hello everyone. We are working on Mathesar, an open source product that help users of all skill levels store, manipulate, and visualize data.

Github link: https://github.com/centerofci/mathesar

We are in the very early stages and are looking for opinions on choosing the frontend framework/library. It would be great if you could help us out on this.

The discussion thread on Github is here: https://github.com/centerofci/mathesar/discussions/55 and we can also discuss on HN. Thanks.

Re:Fat Representation in Books for Kids on Monday March 08, 2021 @11:26PM (#26395396)
> Well, it's because adults didn't want their children to become fat, you see.

This is a sOuNd argument. It stands to reason that as you mentioned, it is something you can totally teach your children without engaging them with books like Charlie and the Chocolate Factory, where the verses literally compare fat people to pigs and portray them as disgusting beings. Do you really think it teaches kids to eat less or to hate fat people?

> The reasonable response is something along the lines of "eating too much will make you big, and it's not good for you, but that doesn't mean you should be mean to that lady, or treat her differently from anyone else".

Some people, including my friends, are fat because of genetics and health disorders. Things that they cannot control. I've seen them eat very less compared to anybody else, practically starve and still remain fat. Eating too much is not the only reason.

The author never in any manner specifies eating too much is okay. All the author tries to say is that being fat doesn't make someone less of a human being. How exactly do you think you'll be able to teach your kids to not grow into being fatphobic when you portray being fat an undesirable quality, as you're trying to say here. Apart from themselves, doesn't this automatically burn the image into their heads that they should never love anyone who is fat?

I remember the exact kind of argument being used to tell kids that "you shouldn't treat queer people differently from anyone else, but you cannot be queer yourself".

> Imagine this. Let's say we come up with "Natural Dental Acceptance", "natdent" for short, a burgeoning movement for people who believe plaque is a protective coating for one's teeth and that "bad breath" is fake news that can be sufficiently combated by chewing Mentos. I could imagine now the blog post claiming children's literature is "netdentphobic" by claiming children need to brush their teeth etc, filling their heads with visions of "mouth bacteria" that nobody can even see. That's the level of ridiculous this post is.

This doesn't make a shred of sense. Nobody is preferring about random blog posts over science/good health here. Being fat and being healthly are two different things. Some bodies are just fat, and that doesn't make them unhealthy. All the author wants is for kids to be not bullied over their bodies and not form opinions on others or themselves just based on how they look. I can't even fathom how you went from there and arrived to this messed up logic.

> When kids become "fatphobic", we are arming them with important health information that can increase their lifespan and health, reproductive fitness, and more. If they follow through and live healthier lives, they will be happier people.

Wow. I regret posting this on hackernews. I genuinely believed smart people would be able to understand issues faced by other "undesirable" people in our society. By your argument, an unhealthy child should not exist/can never be happy. I am thin and I have a rocking bod and I have asthma, a condition that's going to exist as long as I live. Basically, you're trying to say that I can never be happy and I shouldn't exist.

Does this reply seem like I'm totally misunderstanding what you're trying to say? Yes, I was going for it, because that's what you've done with what the author is trying to say. Maybe you should first teach your kids to not grow up to be like you.

I don't care if this gets me blocked from here, while people advocating fatphobia, racism and denial of basic human rights, still get to say whatever they want on hackernews. This place isn't good for anything other than tech, especially not social issues. People here seem to have decent IQ and very little to zero EQ.

Any Indian citizen knows how poor documentation is in India.

People born after 1970, those who have born and lived all their life in India, those who hold school certificates, voter IDs, even Passports, can only prove their citizenship by providing documents of their ancestors.

How can anyone justify this?

> Perhaps the current generation has an issue with Hindus getting the short end of the stick.

I belong to the current generation, I am hindu and I do not believe that.

India's secular nature is what binds this country together. I do not want my friends to be persecuted in the country they were born in and lived all their life, because they belong to another religion.

This is against every core value the constitution of India was drafted upon.

Edit: This reply may seem out of context, because the previous comment has been edited by the author.

If you are clear with the partition of India, Pakistan divided itself from India to be a primarily Muslim country. India on the other hand, chose to be secular. India is home to all major religions in the world.

And now we are taking a step backwards by creating this divide. Many of these people speak the same language, have the same culture and have lived their whole life in India, and the government just decides to stripe them from their citizenship, because they belong to a specific religion?

How is this in any manner ethical?

For those of you supporting the government's take on this, and their argument that proper documentation is all it takes for being included in the NRC, how do you care to explain that the family of the former president of India 'Fakhruddin Ali Ahmed' was left out of NRC?

CAB is just an anti-muslim filter, and it's downright unethical.

https://www.indiatoday.in/india/story/former-president-fakhr...

Edit:

If CAB was truly meant only to deny illegal immigrants, which is infact a right move from a country trying to support its citizens, why base it on religion?

Arguments that say that other religions are persecuted in the neighbouring states, what about Myanmar? The Rohingya persecution has been going on for years and our government has done nothing notable about it. What about Srilanka and the mass genocide of Tamils? Rohingyas and Srilankan Tamils are mostly Hindus. Why not extend the help to them too? Why focus only upon the Muslim majority nations?

The issue that is concerning is the fact that the act specifically makes it harder for Muslims to become citizens. The question here is whether the government is actually trying to prevent illegal immigration or trying to cut down Muslim population in particular.

Then why would the ruling party express dismay over hindus who were termed as illegal immigrants. They made the process easier, basically providing immediate citizenship for hindus and other minorities, excluding muslims. This is downright unethical and should be regarded as a crime.
Re:What happens when a bot writes your blog posts on Sunday November 17, 2019 @03:51AM (#21557119)
Here's the total content generated by the model.

https://drive.google.com/folderview?id=1lgaXfKNTS_fm2fU9wyaS...

As you can see for each run and training step, the model seems to generate more believable content just like blog posts written by actual people.

Re:What happens when a bot writes your blog posts on Sunday November 17, 2019 @03:41AM (#21557098)
Well yes, the ML model generated a series of long text fragments and as more training steps were given, it generated text just like an actual blog post with proper start and end, simulating the style of the author.

The author has only posted chosen content from the whole array of text the bot generated, to appeal her specific audience of book bloggers, authors and readers.

I do however, have all the content with me, until 500 training steps, after which I stopped the model from running further. I think I'll share it in this thread in a while.

Re:What happens when a bot writes your blog posts on Sunday November 17, 2019 @03:08AM (#21557018)
Here's a twitter thread containing funny posts written by the same bot: https://twitter.com/ShrutiRamanujam/status/11877703414284861...
Re:What happens when a bot writes your blog posts on Sunday November 17, 2019 @03:02AM (#21557008)
I'd say it's more like trying to train your cat to play fetch.
Re:What happens when a bot writes your blog posts on Sunday November 17, 2019 @02:25AM (#21556945)
It is true that AI can carry bias and often produce results that are unexpected and offensive. It was clearly put into simpler terms by a ted talk I got to watch recently:

The danger of AI is weirder than you think (https://www.youtube.com/watch?v=OhCzX0iLnOc)

In terms of maturity, the AI we have now is much closer to a statistical analytics engine than to the all knowing AI governments shown in sci-fi, which is to say that it is in its very early stages.

I can't wait for the good stuff, but I'm also concerned that there's going to be multiple unexpected ripple effects in the path towards that goal.

Re:Ask HN: Successful one-person online businesses? on Wednesday October 23, 2019 @04:11AM (#21332348)
I read an interesting article somewhere about Listen notes (https://www.listennotes.com/), which is owned and run by one person. Not sure how profitable it is, but you can get in touch with them to gain more info.

Older »