Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mesarvagya
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
mesarvagya
4y ago
Chart confirms SUV's are worse greenhouse emitter than sedan.
32.
▲
by
mesarvagya
4y ago
Code like this is expected in Spring https://hastebin.com/jevibugiqu.less . Literally all the classes I see are filled with annotations. Can we even write code in pure java without a single annotation ? Theres a lot of magi
33.
▲
by
mesarvagya
4y ago
Here are some tips which most of distributed systems follow : 1. Almost all distributed systems has a global load balancer sitting in front, which will distribute your traffic to nearest possible server. 2. Decide how do you want to make yo
34.
▲
by
mesarvagya
5y ago
IMO a toxic place is where you feel you are not appreciated for the work you have done.
35.
▲
by
mesarvagya
5y ago
I usually follow one mantra, that is "I don't care". I don't care whether XYZ is more richer than me, more intelligent than me, has more skills than me. Really I don't give a rat's a*. All I care is how do I ma
36.
▲
by
mesarvagya
5y ago
> I wasn’t able to really grasp FP (beyond using things like map() in Python) until I took a compilers course which used OCaml, Which compilers course is it?
37.
▲
by
mesarvagya
6y ago
How about following ? #define true 0 #define false 1
38.
▲
by
mesarvagya
6y ago
^ This. I try to keep corporate device strictly corporate. No personal sign-in to any service.
39.
▲
by
mesarvagya
6y ago
Sounds like classic n+1 problem
40.
▲
Why X^0 and 0! results to 1?
(mathforum.org)
1 points
by
mesarvagya
6y ago
|
0 comments
41.
▲
by
mesarvagya
6y ago
I believe those vegetable and fruits are GMO i.e. constructed genetically to look good. Moreover quality of soil and its nutrients is not like it was before, making vegetable and fruits less nutritious [1]. In the end, until grown vegetable
42.
▲
Do software engineer need to spend free time to be best?
(mobile.twitter.com)
2 points
by
mesarvagya
6y ago
|
0 comments
43.
▲
To free or not to free memory (C)
(stackoverflow.com)
2 points
by
mesarvagya
6y ago
|
0 comments
44.
▲
iOS Mail Vulnerability
(blog.zecops.com)
1 points
by
mesarvagya
6y ago
|
0 comments
45.
▲
iOS Mail App Vulnerability
(forbes.com)
7 points
by
mesarvagya
6y ago
|
0 comments
46.
▲
by
mesarvagya
7y ago
(7) Exactly. Please add how to free memory in standard way if there's an exception, and how not to use GoTo in such cases.
47.
▲
by
mesarvagya
7y ago
It reminds me of a famous quote "If something is free, you are the product"
48.
▲
by
mesarvagya
7y ago
They don't care. That's how they are billionaire and only thing that matter to them is get the revenue and get work done.
49.
▲
by
mesarvagya
7y ago
Or you can use Pi-hole and remove any and all ads :)
50.
▲
by
mesarvagya
7y ago
As Doug Crockford once said "In addition to it begin useful, it is also cursed and the curse of the monad is that once you get the epiphany, once you understand - "oh that's what it is" - you lose the ability to explain
51.
▲
Functors, Applicatives, and Monads in Pictures
(adit.io)
4 points
by
mesarvagya
7y ago
|
0 comments
52.
▲
by
mesarvagya
7y ago
Even better http://adit.io/posts/2013-04-17-functors,_applicatives,_and_...
53.
▲
by
mesarvagya
7y ago
In addition to OSTEP, Linux From Scratch [1] is also a good resource. [1] http://www.linuxfromscratch.org
54.
▲
by
mesarvagya
7y ago
I know this will get lost in lots of comments. But the medicine to any problem is * Mental Peace *. Try following steps: 1. Take a deep breath, let all your thoughts flow naturally. 2. See what's happening with your thoughts as a secon
55.
▲
by
mesarvagya
8y ago
I can see some Monads in his examples. One particular example being https://lucasfcosta.com/assets/fortune-and-cowsay-streams.pn...
56.
▲
by
mesarvagya
8y ago
Major courses cost $999, which is equivalent to Rs. 100,000 in Nepal. Of course it will be expensive for us.
57.
▲
by
mesarvagya
8y ago
The first definition is says it takes a normal function and returns a function in category f. But second definition says it takes a value fa and a function and return fb. Does the order of defining arguments matters or its just a taste of m
58.
▲
by
mesarvagya
8y ago
I am not sure about whether the functor definition in article is correct or not. Isn't it supposed to lift function as below: class Functor f where map :: (a -> b) -> f a -> f b instead of: class Functor f where map ::
59.
▲
by
mesarvagya
8y ago
Knapsack still is a NP-Hard Problem. Even though DP solution looks linear, it has pseudo-polynomial time complexity[1][2] [1] https://en.wikipedia.org/wiki/Knapsack_problem#Computational... [2] https://stacko
60.
▲
by
mesarvagya
8y ago
One of the techniques as described in CLRS is to first find the subproblem graph. Consider Fibonacci sequence: f(0) = 0; f(1) = 1; f(n) = f(n-1) + f(n-2) If we solve it naively, complexity will be O(1.6^n). Now we can solve it in DP usin
More ›