HNHacker News
TopNewBestAskShowJobs

cttet

175 karma · joined December 10, 2014

submissionscomments
cttet··on Elementary OS 5.1 Hera
Ubuntu gave up unity and just use gnome. I would like to use a distro which actively improve its UX in the future. Gnome/KDE has a history of implementing all the fancy things(animation, customization,touch support) while ignoring the basics(performance, consistency), unity had the best desktop/laptop experience but it's gone, elementary at least have a good direction to go.
cttet··on History Is Written by the Losers (2016)
It doesn't not to have fact to be supported. Is can be simply a redifinition of winners, as who get to rewrite and distribute history.
cttet··on History Is Written by the Losers (2016)
Haven't read the article, but the title is quite an argument. So the Nazis will write the history, according to the title? Or the author redifined the meaning of losers?
cttet··on I Just Got Permanently Banned from China Because I Liked a South Park Tweet
South Park was right all along (ending speech of 201)
cttet··on South Park Responds to Being Banned in China for “Band in China”
“pollutes discourse by elevating an illegitimate side”-- What if they don't consider it being illegitimate?

I don't think "bothsideism" exist, the act itself is just a cover up for political opinions. What the accusation of "bothsideism" is actually saying is "you are actually not neutral, but biased". But SP never claimed to be a political neutral medium. It is just some opinionated comedy series that some people enjoys.

cttet··on How TikTok censors videos that do not please Beijing
They may have completely values. Your shame does not quite matter for them.

The real solution is either find a way to reshape their value or conquer them.

cttet··on From Underwear to Cars, India’s Economy Is Fraying
It is interesting that you've mentioned 50. if you expand that to 80, that would be almost every country in the world.
cttet··on Dumbdown – A Tree Language that compiles to HTML
Elm markup has a similar approach and I quite like this
cttet··on Ask HN: Best resources to gain math intuition?
You may be looking for mathematical philosophy: https://plato.stanford.edu/entries/philosophy-mathematics/
cttet··on Who Owns Huawei?
The problems of the centralized model is that it is in fact implemented in a distributed setting: there are breakdowns of nodes, there are broken messages, and there may be adversaries who take advantages of their positions.
cttet··on 'Today, Hong Kong; Tomorrow, Taiwan:' Resistance to China Spreads
I was replying to the previous comment and refer to the exact comment.

The previous comment did not mention this, instead, it is "Han promised riches for citizens of kaoshung, went to visit China right after the election, and yet haven’t done a single thing yet to improve the city, before running for president.".

What I was saying is that this is not a valid argument.

cttet··on Ask HN: Have you ever had an existential crisis?
Existential crisis are usually related with "why" questions regarding life. But "why"s are usually of very low priority as it hardly harvest any insights given limited time. It is a helpful tool for human to explore and for scientific progress as it reduces the search spaces of potential actions or models, but not quite necessary helpful for day to day life.

So you can remind yourself that in hour mind it always seems that "why" matters a lot, but facts matter more than models and models can always be improved. "why"s are supposed to be a friend to guide us, but if they created problems, just be skeptic from and reevaluate the value of question itself.

If your crisis is a "what" crisis rather than "why". It is often easier to cope with, as you only need to open up yourself and remind that all "what" questions are just nomenclature build on immature social/scientific models and never complete. Every "what" question can be altered by a different definition.

People often relate existential crisis with nihilist view, but my opinion is that they are not nihilist enough to think through that the existential questions are meaningless or of low priority themselves.

[edit] typo

cttet··on 'Today, Hong Kong; Tomorrow, Taiwan:' Resistance to China Spreads
This is not a valid argument to support your speculations though. With the same logic, almost every politician is questionable.
cttet··on Rust – Compile Time Memory Safety
True, and swift. They are nice to work with too.
cttet··on Rust – Compile Time Memory Safety
Actually I got into rust because it is the only language that has both ADT/patten matching and a practical mindset/community. There is simply no alternative. I would even code front-end rust for the sake of this.
cttet··on A book to learn R and Python in parallel for Data Science
I learnt Matlab/R/Python/Javascript altogether. It was a mess for me to grok all the similar-but-different syntax, but it make me realized more about the real essence of what is really important for the domain rather than language details.
cttet··on Why I Switched from Python to Clojure (2016)
The only one I miss in Python that is not in any other package is matplotlib. Is there any clojure alternatives?
cttet··on A ‘Disgusting’ Yale Professor Moves On
According to the evolution history we stayed quite a long time as tribes. This tribal emotional tendency may be deep rooted in our brains.
cttet··on Oxide: A Formal Semantics for Rust
I really hope there would be a ML-like syntax for Rust. The current one is not so friendly to read.
cttet··on Fearless Concurrency: Clojure, Rust, Pony, Erlang and Dart
Yes there will still be fear sometimes, but the point of the compiler is to help people to be fearless sometimes.

The halting problem does not need to be solved, since no program in practice runs forever. In some of the environments like C we don't have a way to specify finite things, where cases would be enumerable and safety guaranteed. To be fearless sometimes greatly reduces the mental workload of programmers and people who read other people's code.

cttet··on Books I Recommend
Mathematics is a very broad topic. Which part are you interested in?
cttet··on Gödel's Theorem
In my view, Godel's theorem means a lot to philosophy of mathematics and can do no more than that.

I have a simpler description of the theorem that includes the details:

You can choose 3 out of the 4 things within a axiom system (You can think of it as a language):

1. Completeness: No expressible statement can be neither proved nor disproved.

2. Consistency: There is no statement such that both the statement and its negation are provable from the axioms.

3. The system must be able to describe natural number

4. The system must use formal methods. (The proofs are finitistic)

For mathematicians nowadays, some of them have a natural Platonist mathematics view and take away 4. Some ultrafinilist like Edward Nelson, wants to take away 3. In practical cases we can take away 1, e.g. total functional language.

Some philosophers just wants to take away 2 without justify all the other assumptions.

In terms of moral philosophy, a much simpler alternative to derive the undecidability of nature, Chaos theory, can be used instead of assuming 1, 3, and 4.

The case here, in my view, is much less interesting philosophical than the interpretations of quantum mechanics, where most physicists refuse to discuss.

cttet··on Why Don't People Use Formal Methods?
In some area it is almost impossible to write complete specs.

CSS is originally designed to be a end-user spec language to change the website as they like. But layout is so complicated that it take a lot of experience to define everything in position dynamically as requested.

And now people are using programs (js) to replace the job of CSS, to some extent giving up on writing specs for layout, even with years experience on it.

The hard thing is not the language itself, it is often the domain.

cttet··on Stop Trusting Viral Videos
> polarizing viral content

I feel like the points in the article can apply even more broadly to all content, especially the ones that with more "professional" language and good typography, which people naturally tends to trust more, like the Atlantic.

edit: formatting

cttet··on IBM releases Elm-powered app
> You're saying a codebase of 5% JavaScript demands more JavaScript experience than a codebase of 100% JavaScript.

A codebase of 100% Javascript does not usually mean 100% written by the app developer. If you are coding in react for some basic app, like some basic crud with react using existing backend with Firebase, it almost only require you to learn the some basics of react and Javascript syntax, and fill in the template. You can also use other modules by just follow their documentation when you need some extra functionality.

However in Elm Ports we are required to pass async messages for everything which is much harder. I am OK with the boilerplate for the JSON encoder and stuff, but I have to wrap around my head for how to write a port for lots of basic web APIs.

Port is hard even for people that familiar with Javascript. There are plenty of experienced Javascript programmers willing to dive into the source code of Elm to write native modules to avoid ports even. https://www.reddit.com/r/elm/comments/81bo14/do_we_need_to_m...

In addition, even the 5% of Javascript will eventually leads to the full Javascript stack, where Elm, without an official recommend JS stack, feels more like additional choice as a part of the JS fatigue. Beginners ends up looking up on browserfy/gulp/webpack etc and figuring out a way to integrate Elm in.

> Seems like the argument is Elm isn't ideal if you're not a programmer

I program daily for machine learning, and I have used many programming languages. But Javascript is not the language that I want to dive in too much, which it is the main reason I learn Elm. If your requirement of being a programmer is having a job as a software developer, then I am not. But I think a language with an aim of going into education and scientific computing shouldn't limit itself to that. https://www.youtube.com/watch?v=uGlzRt-FYto

I enjoy Elm. It is one of my favourite programming language. But I have not gotten anything done with it mainly because of ports. If I am pursuing a career in front-end related development, I would dive into Javascript and build stuff. I understand the decisions from Evan and friends and I am just thankful for Elm as it is, there is no right for me to demand anything anyway.

[edit: formatting]

cttet··on IBM releases Elm-powered app
The alternative is less Javascript logic written by the app developer (and instead use packages and APIs directly).

Elm disguised as a beginner friendly language for web front-end, which is not true with the case of ports. Where you need to be fairly familiar with Javascript.

The Elm community also advertise a lot on the advantage of development happiness of Elm over Javascript, and mention the Javascript fatigue a lot. But the truth for a beginner is that you can't escape the Javascript ecosystem when using Elm, and sometimes it requires even more Javascript experience than using just Javascript framework like React to build something that require a web api that's not in the tiny list that Elm provided.

If web development is not someone's main job and they are just finding a tool with better dev experience to build some side projects, the fact that they need to design an interface for almost every external package is not aligned with their original reason to use Elm.

cttet··on IBM releases Elm-powered app
As nhanb mentioned I meant https://github.com/mdgriffith/elm-ui. There is a great talk about it: https://www.youtube.com/watch?v=Ie-gqwSHQr0
cttet··on IBM releases Elm-powered app
One of the reason I like Elm is that it has great potential for great IDEs. If you use Vim with lot of plugins then it is already sort of a minimal IDE right? Most IDE you hate perhaps have a lot of UX design problems. Good IDEs should aim for a better overall coding experience, by this definition.

For example in Elm, all the nice error messages can appear next to the line, and all the case-of statements can be auto-completed according to the type definition, it all adds to an overall better coding experience.

cttet··on IBM releases Elm-powered app
This was also the thing that attracted me to Elm years ago. But at that time Elm doesn't have a CSS module yet. Now with Elm-UI, it is like my dream HTML/CSS replacement.

However that was all for static UI though. Writing Elm app is still a pain if you are not a Javascript expert. Elm's implementation of the web API is minimal and the progress is extremely slow. In addition, most function that's in libraries in Javascript's ecosystem can not be directly used as you have to write Ports, which requires a lot of Javascript experience.

cttet··on IBM releases Elm-powered app
"one of the few languages that have parametric polymorphism but no ad-hoc polymorphism"

I wonder what others are? Would like to try them.

← PreviousPage 4 of 7Next →