Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chaoxu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
chaoxu
4y ago
Recently I have been testing vditor, vditor is a markdown editor that have a instant rendering feature [1]. If I'm creating my own editor, how hard is it to implement it using Lexical? [1] https://github.com/Vanessa219&
32.
▲
by
chaoxu
4y ago
This is true. But how does someone take advantage of it without changing their current behavior: write an entire paragraph and do 2 line breaks. Always end a sentence with '.\n'? Manually format lines so no line have more than 80
33.
▲
by
chaoxu
4y ago
Oh this feature is great. Solves my problem completely. I wish github would also implement word-diff option. Edit: Github actually does some form of word-diff! See example here: https://github.com/chaoxu/chaoxu.github.i
34.
▲
by
chaoxu
4y ago
git is line based, so good for code. But not for most markdown files, at least how I use it. I only start new line (actually, 2 new lines) when I reach a new paragraph, and I think this is normal for most people who ever write something in
35.
▲
by
chaoxu
5y ago
I wonder if one can hollow out the individual cubes to decrease the weight.
36.
▲
by
chaoxu
6y ago
I actually don't get why corporation should pay taxes. When the profit of the company is distributed, or paying the employees, the employees/shareholders will be taxed on that money.
37.
▲
by
chaoxu
6y ago
Yes, having a simple and well defined DSL it might help with tax planning. The difference is it allows one to optimize taxes under certain objective, instead of just enter numbers and see what comes up.
38.
▲
by
chaoxu
6y ago
How about the following process? Each person gets randomly assigned to one of the two groups, when one group is full, move the rest to the other group. Does this make sure every equal partition have the same probability of showing up?
39.
▲
by
chaoxu
6y ago
btw, took me a lot of time to figure this out. http://mathb.in/49229 This is useful for people with multiple unrelated employers with 401k plans.
40.
▲
Ask HN: Is there a system formalizing US tax code as set of inequalities
8 points
by
chaoxu
6y ago
|
2 comments
41.
▲
by
chaoxu
6y ago
Thank you! I've sent you an email.
42.
▲
by
chaoxu
6y ago
There are a few misconceptions that some other commenters are already making. This min-cut is different from the max-flow min-cut theorem's min-cut. This is what referred to as global min-cut, which does not fix the terminals. In max-f
43.
▲
by
chaoxu
6y ago
What, I just got Azlo account a week ago. Good thing I've applied for an account with Mercury. Waiting through the long verification process... But this definitely get me to think twice about using fintech banks. It could get closed do
44.
▲
by
chaoxu
6y ago
This is pretty good soulver replacement. I found all these similar tools has the problem that there is exactly one expression per line . Is there any exploration of this feature: have the computed number shown next to the expression. I had
45.
▲
Ask HN: What personal checking account are you using?
5 points
by
chaoxu
6y ago
|
5 comments
46.
▲
by
chaoxu
6y ago
I'm using python and selectorlib( https://selectorlib.com/ ) for my work flow. Since most of the webpages I crawl can be broken down to: - get to the webpage (selenium) - do some clicks to expand certain information (s
47.
▲
by
chaoxu
6y ago
0-1 knapsack is not known to be solvable in polynomial time.
48.
▲
by
chaoxu
6y ago
Me too. It is also interesting to know it is written in Haskell. One of the few real life Haskell projects.
49.
▲
by
chaoxu
6y ago
Thank you this is exactly what I need!
50.
▲
Ask HN: How to Automate Processing of Emails?
2 points
by
chaoxu
6y ago
|
2 comments
51.
▲
Yotta Savings and Covering Designs
(chaoxuprime.com)
1 points
by
chaoxu
6y ago
|
0 comments
52.
▲
by
chaoxu
6y ago
I've contributed some code to matroid optimization. The people working on it are very knowledgable, often professors at universities donating their time. I definitely learned a lot through implementing some algorithms from the 70s.
53.
▲
by
chaoxu
7y ago
https://chaoxuprime.com/blog.html I write about algorithms. You might like it if you like algorithmic puzzles. Some of the puzzles are actually in leetcode, but the solutions in the blog are through the viewpoint of a theor
54.
▲
by
chaoxu
7y ago
Totally agree. I tried a few ways and eventually giving up. I just have to live with not having accurate counts. 1. I try to make my own food using common ingredients. It failed in a couple of weeks because I do prefer to not spend that muc
55.
▲
by
chaoxu
7y ago
yeah, this problem is precisely the multiple-choice knapsack problem.
56.
▲
Formality
(github.com)
1 points
by
chaoxu
7y ago
|
0 comments
57.
▲
SVGnest – Free and Open Source Nesting
(svgnest.com)
2 points
by
chaoxu
7y ago
|
0 comments
58.
▲
by
chaoxu
7y ago
I was a TA in a few undergraduate algorithms classes in at UIUC. This level of problems can show up in the exams. Although I hold UIUC students in high regard, certainly we don't expect undergrads to be "faculty-level algorithm sp
59.
▲
by
chaoxu
7y ago
So Lambda School is considered as an educational institution. Does this mean any foreigner enrolled in it probably need a student visa? Can non-US residents take online courses while in the US without a student visa?
60.
▲
by
chaoxu
7y ago
The one that works for sum works for all associative functions. One can do a bit better using the same amount of space, but with query time O(α(n)), where α is the inverse Ackermann function. http://citeseerx.ist.psu.edu/vie
More ›