HNHacker News
TopNewBestAskShowJobs

enugu

457 karma · joined February 12, 2016

Google email id : harshavr
submissionscomments
enugu··on India builds detention camps for up to 1.9M people not on citizens register
To your question of religion based immigration, this ignores crucial background - After the Partition in 1947, there were Hindus and other minorities who remained in Pakistan(including current Bangladesh) and Muslims in India. There was the Nehru-Liaquat pact which curtailed further exchange of population provided the minorities were safeguarded.

This agreement was drastically violated, especially in the 1971 war when Pakistan Army deliberately targeted Hindus.

This site run by Muslim Bangladeshis documents some details http://www.genocidebangladesh.org/

This lead to a mass exodus of Bangladeshi Hindus to India. In fact, the Communist Party, advocated for their citizenship status much before Modi came to power.

There has been further persecution of Hindus, both in Pakistan and Bangladesh

https://foreignpolicyblogs.com/2018/06/05/bangladeshi-profes...

Also, regarding Myanmar, note that this act also doesnt give refugee status to Hindus who are also being persecuted in Myanmar. https://www.amnesty.org/en/latest/news/2018/05/myanmar-new-e...

enugu··on What is energy, actually? (2011)
Curious. Care to give some examples?
enugu··on Tiddlywiki – A non-linear personal web notebook
There is a server version, which you can run locally. This keeps all the individual tiddlers in separate files in a folder. You can sync this folder, run git on it etc. Currently, the server doesnt seem to notice changes made outside the server interface(like editing and saving tiddlers in a text editor) until restart, though there is probably some way to manage this.
enugu··on Generating random points inside a sphere
Yes, didnt look at the details of the next methods. He adjusts for this in the next examples by taking the cube root of the uniform sample(not square root as in my post), which is the correct adjusting factor, as a small shell will have weight in proportion to difference between cubic powers, which is proportional to r^2.
enugu··on Generating random points inside a sphere
For the second example, sampling the radius uniformly leads to an error with a higher point density in the centre of sphere. The radius, r, has a weight proportional to r^2 or the surface area. So, one can take a uniform random sample, s between 0 and R^2, and take the square root of s. That will give higher probability density around larger radius. Then, the second picture should look like the first one.
enugu··on StreetLend.com shuts down, citing GDPR regulations
What would be great is an 'open source' legal movement. Non-profit legal orgs which read the details of laws, cases and then put up detailed 'views' of the laws from the perspective of an individual, company, buyer, seller, landlord, tenant etc. Instead of having a list of laws, have an experience based checklist for each type of agent.

Also, requiring the government to not just frame laws but provide this kind of information. The ico website[1] seems to be doing it for this particular law.

This might be less useful in boundary cases, where firms with legal resources play at the edge, but it can at least serve as a safe upper bound for a lot of regular activity. Lot of this information already exists in books, legal reviews, but this is important enough to be made conveniently available on an public website.

[1] https://ico.org.uk/for-organisations/guide-to-the-general-da...

enugu··on The Irreproducibility Crisis of Modern Science
Pharmaceutical companies influence research according to [1] to gain support for their medicines.

Studying economic factors underlying social activity isnt by itself Marxist. This methodology is adopted in support of different political positions. In fact, many free-market economists also do this and get accused of 'economics imperialism' by social science faculty who want to study other factors.

Another point made in [1] is the blame isnt just on companies but people being influenced.

[1]https://medium.com/@drjasonfung/the-corruption-of-evidence-b...

enugu··on ‘Big Brother’ in India Requires Fingerprint Scans for Food, Phones and Finances
Leaving this issue aside for a moment, dealing with massive corruption in the govt requires an opposite approach - monitoring the government. Publicly available data which allows any citizen to lookup the details of the programs running in their locality, apps which allow public audits of quality of service of roads etc.
enugu··on Richest 1% on target to own two-thirds of all wealth by 2030
Exactly, this whole conversation gets sidetracked by assuming that communism is the primary alternative to the current system.
enugu··on Are unsound type systems wrong?
We can state a lot of things in first order logic about natural numbers or set theory which are not provable (in some given set of axioms like Peano axioms or ZFC, you can extend the axiom set but then one can generate a new unprovable statement if not a contradiction).

The issue here is first order logic is complete for statements that are true for all models of the axioms. As an example, imagine a infinite land which cant be completely described by any computable map(a programmable set of facts about the territory). The map will only tell you some true things about the territory.

But we can say this - if there is some statement that the map cant decide, then there are two different territories for both of which the map is accurate, and the statement is true for one territory and false for another. So the deductive system is complete description of true statements which hold for all territories for which the map applies.

But if we are interested in a single given territory, no computable system of facts suffices. For example deciding whether a diophantine equation has solutions in the standard set of Natural Numbers or a more familiar example for this site, whether a program halts. No computable deductive system(ie there is a program which generates all deductions) will suffice.

enugu··on Ask HN: Is it 'normal' to struggle so hard with work?
There are probably no simple solutions. But just in case, you havent already done this, just use a simple time logging tool and work in discrete sessions(20-40 minutes). (Eternity time logger is one good app, there are others). Dont worry about being precise (in terms of minutes high or low, or exact kind of task, over analysis isnt good). Instead aim for consistent use.

This allows you to work a certain number of rounds a day(instead of nebulous amount of productive time) and clarifies what is exactly happening instead on relying on internal psychological indicators of having done something or not.

Also, specifically for the ADHD part, the problem with wavering attention is that when one comes back, 'loading' the context again takes a lot of work. So write a note at the end of each session on what's done or maintain a simple task text file(again, it is easy to over organize here, so keep things as simple as possible).

enugu··on I Wrote Down Everything I Learned While Programming for a Month
This thread[1] by Michael Nielsen is a good description of the use of spaced repetition to memorize things.

[1] https://twitter.com/michael_nielsen/status/95776322945477427...

enugu··on Three Meanings of E=mc²
What isnt usually mentioned is that this equation is a special case valid in some circumstances. The more general relation is E^2=(mc^2)^2+(pc)^2 which includes momentum term, and applies to photons which dont have a mass. Here's a simple video about this from Fermi Lab, https://www.youtube.com/watch?v=eOCKNH0zaho

Also interesting is how conservation laws for collisions are handled much better in relativistic setting.

enugu··on Fish Feel Pain
Killing animals isnt new, but what has changed recently is that we have built large scale factories which greatly increase suffering. So, the least that we can do is to ensure that suffering(like dunking birds in hot water) is reduced.
enugu··on Fish Feel Pain
Is there a provable way which applies to other humans? We are either generalizing from personal experience or using biological explanations to postulate a connection between behaviour and sentient feelings. So, when a street dog whimpers and runs away as someone bends down to pick a stone, or when it jumps eagerly to eat some food, we deduce pain and pleasure.
enugu··on Dueling Rhetoric of Clojure and Haskell
Sure, flow/typescript already do this by default.
enugu··on Dueling Rhetoric of Clojure and Haskell
Yes, sure, monads, applicatives etc. have plenty of applications beyond IO, which is part of why keeping that abstraction separate from any particular use is of value.

My point is that this doesnt have much to do with static typing vs dynamic typing per se, as we dont check them statically. They are just important examples of an interface with implementations for many data types, which can be useful even in a dynamic language like Clojure. People who write a parser in a dynamic language might benefit from learning about distinction between applicatives and monads.

enugu··on Dueling Rhetoric of Clojure and Haskell
Watching Hickey's talk, many of the complaints seemed to be valuable, but they didnt seem to be about static types. Rather, it was about some problems with existing data types locking one into a rigid data model when the domain is constantly expanding.

This post by DeGoes makes the same point. http://degoes.net/articles/kill-data

The default model of algebraic data types is too inflexible.

There are different extensions which work with this issue. Good record system, Extensible cases, using free monads etc. We can have concise syntax for automatically declaring an interface for a algebraic data type based on some field values (ie, customizable deriving statements). Namespace qualified keywords, so we have rdf like attribute based semantics.

The post doesnt respond to the issue but suggests that if you want to do the same thing in clojure with error handling etc, you will need to think about this stuff.

Also, Hickey's mention of Monads was again not about static types. Monad laws are not typechecked. Their motivation is purity. The only slight inconvenience in a dynamic context is that you dont have return type polymorphism, so you have to type IOreturn instead of return.

enugu··on An anarchist takes on Big Pharma by teaching patients to make their own meds
If that is the primary obstacle, you can have a design which assigns money to a private research organization to develop drugs for government.

Also, current pharma will be biased against any cost effective solutions as this will cut their margins. There's got to be some alternative path to research and bring in these treatments to the public.

enugu··on Flow and TypeScript
Integration with a contract system like Clojure Spec is one of the best features still missing in current type systems. Having that would get best of the both worlds and allow better interaction with untyped code. Racket has this currently.

I like Typescript. But wish it had exact types like Flow. This leads to not being able to type a simple Algebraic Data Type with complete precision.

I think the reasoning given on the github page for not having exact types(involving how it plays with intersection types and union types) has a bug. One can assign T & U to T even when T is exact(exactness of T ensures U wont introduce extra properties), and assigning T to T | U should be fine when U is exact(For a user to determine if a T|U value is T or U, they will have to check whether a property in T exists, not U).

But this is a very small issue.

enugu··on How the Meat Industry Thinks About Non-Meat-Eaters
That was a good article. I've come across Temple Grandin before. She seems to have a positive opinion of CAS with the important proviso that induction is done right.

If such efforts at reducing suffering become the industry standard, with the standards backed by legislation requiring pain free death, it would be a very, very big deal.

Even for humans, many people fear the pain associated with death more than the death itself.

enugu··on How the Meat Industry Thinks About Non-Meat-Eaters
Wish the interview talked about how the meat industry can make the slaughter process as pain free as possible. We are talking about billions of animals, and any improvement in the process could reduce a lot of suffering.
enugu··on Climate Engineers Sucking Carbon Dioxide from the Atmosphere
Wouldnt it be cheaper to first capture CO_2 from the output of coal plants and other industries where it is in concentrated form? Also, economies of scale. Once we bring those down,we would still have to deal with decentralized sources like cars(electric cars and renewables can help), container ships, and the meat industry.
enugu··on Toyota Research Institute head says full autonomous driving is “not even close”
It would not be too costly to augment roads with electronic signalling devices which give information to the software in cars. This information can do what signboards or traffic signals do for humans.

The difficult part - when there is an error in these signals, or things shut down, autonomous cars will suffer much bigger problems than human driven cars.

Its these edge cases that are the problem. We already rely on such mechanisms for planes(information comes from both gorund control and on-flight radar). But a lot of care and resources are is required to get to $n 9's level of reliability.

enugu··on Ideal OS: Rebooting the Desktop Operating System
Looking at [1] and the key value database described there, it would need some key coordination mechanism to make use of the system database. For instance, a way for an app to say that a document it stores is either directly of a given type or implements the interface (ex: an email or a music data), so that other apps can use this document. So the type field would refer to a standardized type like a uuid associated with some type of data or a URI (like in RDF). Also, it can have some mechanism for other types to implement the interface or extend existing types and for users to create new types just like we can register urls today.

Having a database with standardized interfaces for documents replace a filesystem is a really important feature mentioned in the article. It will allow the development of many useful apps like the itunes or email examples. Also, this is not specific to any OS can be standardized independently and implemented on current OSes we use by having some extension which stores metadata along with a file.

enugu··on What Is Space?
I remember a mention somewhere of this kind of approach to inverse foundations for set theory, but lost track of the reference. IIRC, the approach didnt have problem with empty set, but would allow the existence as a default until some obstruction. So, 'large sets' (nowadays called proper classes) would exist.
enugu··on The Argument Against Terraforming Mars (2016)
Dismissing most of the world's heritage, because one is a literalist, is what is irrational.

By this logic, mathematics discovered for curiousity would not have applications, something which is not at all true. Number theory is just one example. There are many others like using 'imaginary' numbers used for solving polynomial eqns, later becomes basic to engineering.

enugu··on The Strongtalk Type System for Smalltalk (2004)
Nowadays, it has become pervasive on social media, and lost value as everyone uses it. It acts as a rhetorical device which can disguise the poor quality of of the argument.
enugu··on The Lucas-Penrose Argument about Gödel's Theorem (2012)
Point in my first post was that G is algorithmic. What you are referring to is the repeated extension of G which gets into issues of ordinals.
enugu··on The Lucas-Penrose Argument about Gödel's Theorem (2012)
There is a program, G, which will take as input the source code of the program, P (in some fixed language) and output Turing machine, T which doesnt halt, such that either P will fail to say T doesnt halt, or P has mistakes(claims halting for some Turing machines when they dont halt). Some programs P can algorithmically run P', P'' etc, but as long as that process is part of the source code of P, G will work.
← PreviousPage 7 of 9Next →