Better HN
topnewbestaskshowjobs
Log inSign up

pepper_sauce

132 karma · joined May 4, 2018 (8y ago) · 70 submissions

Submissions

comment 7y ago · link · parent

I'm surprised by the mental gymnastics other commenters in this thread are displaying in order to avoid contemplating how tech can and should be held responsible for its own actions.

All the more reason to push for some form of professional ethics!

comment 7y ago · link · parent

The venerable master Qc Na was walking with his student, Anton. Hoping to prompt the master into a discussion, Anton said "Master, I have heard that objects are a very good thing - is this true?" Qc Na looked pityingly at his student and replied, "Foolish pupil - objects are merely a poor man's closures.

Chastised, Anton took his leave from his master and returned to his cell, intent on studying closures. He carefully read the entire "Lambda: The Ultimate..." series of papers and its cousins, and implemented a small Scheme interpreter with a closure-based object system. He learned much, and looked forward to informing his master of his progress.

On his next walk with Qc Na, Anton attempted to impress his master by saying "Master, I have diligently studied the matter, and now understand that objects are truly a poor man's closures." Qc Na responded by hitting Anton with his stick, saying "When will you learn? Closures are a poor man's object." At that moment, Anton became enlightened.

http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/m...

comment 7y ago · link · parent

You could use tech to improve the educational opportunities and equality within a society, thereby increasing societal cohesion. People with more stake in society are less attracted to the fringes, and people with genuine mental health issues are more likely to receive help.

comment 7y ago · link · parent

Why is it better than grep?

comment 7y ago · link · parent

Have you considered that people reveal different sides of themselves to varying degrees based on context?

Most people have something interesting to say, if they don't share it with you it's either because they're not comfortable with you or not comfortable sharing it in that place. Bob from Accounting isn't going to talk to you about his intricate love of Georgian architecture at the work BBQ.

comment 7y ago · link · parent

A solution half-way to what you're talking about (it still utilises text editing) is Paredit/Parinfer for Lisp languages. They allow you to directly edit the program's abstract syntax tree. When coupled with a REPL you can evaluate sections of the syntax tree at will. It gives the dev a much finer grain of control than even the smallest unit test.

comment 7y ago · link · parent

If you make use of the NPM ecosystem you are inviting security holes into your product. Stay away.

comment 7y ago · link · parent

A wide variety of implementations

Performance

save-lisp-and-die

CLOS

LOOP

Conditions system

If you need to build what Hickey calls a "situated program", Clojure is a great choice, but that's not the only type of environment we need to run programs.

comment 7y ago · link · parent

The bias is caused by a glut of junior developers who don't have the experience to feel comfortable using more than one language.

It's one of those ideas that sounds good until you realise the single-language stack you've chosen is based on JavaScript, Node and npm.

comment 7y ago · link · parent

What does a good answer look like? It could be very easy to veer into a "culture fit" bias against the working class with a question like this.

comment 7y ago · link · parent

A truly excellent keyboard, but not particularly ergonomic. I recommend Kinesis Advantage for reducing wrist strain.

comment 7y ago · link · parent

Hi Lin Pengcheng, do you have an example of making side-effect calls with Pure Function Pipeline Data Flow method? e.g. database query.

comment 7y ago · link · parent

Do you have appropriate benchmarks? I would appreciate seeing the comparison.

comment 7y ago · link · parent

Cool, I wasn't aware of Scala's LMS. Thanks for sharing!

comment 7y ago · link · parent

Which features make it the most advanced?

comment 7y ago · link · parent

Interoperability + meta-programming? You have to go with the king, Common Lisp! There's a bunch of implementations for different platforms [0]. It's also much simpler to write macros in a homoiconic language like a lisp, than using something like Rust's elaborate macro system.

Although your phrasing ('expected/future adoption') makes it sound like you value picking a language that will have loads of jobs available. Clojure has a few solid niches (same number of users as Kotlin IIRC) and is 'symbiotic' with JVM and JS environments. Rust is growing and has supposedly 'safe' BEAM NIF support. Elixir is popular with the Ruby crowd. Although I have to say, 'meta-programming' & 'functional programming' isn't exactly the hottest job market filter.

[0] https://common-lisp.net/implementations

comment 7y ago · link · parent

Is this a joke about regular Erlang's readability? :D

comment 7y ago · link · parent

It's a sign of poor management, add a strike against the company in your mental tally then stop caring about it and do your job with a smile.

When you can't be bothered with your bad manager/company any more get a different job.

Don't burn bridges.

Working for someone is a business transaction, not a school class. No company should grade you like a child and you should judge the company as such.

comment 7y ago · link · parent

I agree with you that there's no direct zero-sum connection between public transport investment and self-driving cars but I'd say that's missing the point.

This is a tangent, but there aren't two separate pots of currency labelled 'PRIVATE FUNDS' and 'PUBLIC FUNDS' in society. Nor does private industry have a monopoly on R&D. As you acknowledge, it's entirely feasible through political action to change society's declared priorities, and there's nothing 'full communism' about it: Private companies operate within the market defined and backed by the state and legal system.

Self-driving cars, even if ready to go tomorrow, present a worse value proposition than public transport unless we enter into the realms of a post-scarcity society. My opinion is that it's a shame that the current sociopolitical system has ended up offering better incentives by having half a dozen mega-corps pump endless amounts of money into their own proprietary research of something less useful to society than public transport, which provides similar functionality.

Is it a useful, actionable statement? No, of course not! We're wasting time on HN not debating in parliament ;-)

comment 7y ago · link · parent

My original comment is a criticism of how investment is allocated in society. Self-driving cars are (in my opinion) a much lower priority than public transport. If the current allocation mechanism prefers wasting billions (in mine, and the article's, opinion), over investing in a chronically underfunded public transport system then something is wrong at a high level.

comment 7y ago · link · parent

I'd rather have frequent, reliable and safe public transport than self-driving cars. Can we pour billions of dollars into that instead, please?

comment 7y ago · link · parent

Force myself to work on the task or do nothing.

This usually means either opening an editor and staring at a blank page (doing nothing), or working on the task.

comment 7y ago · link · parent

Aphex Twin. Anything with drones.

comment 7y ago · link · parent

The current rate of signatures is approximately 500 per 10 seconds.

comment 7y ago · link · parent

They also figured out how to solve their own problem with the issue. Use the REPL!

comment 7y ago · link · parent

I agree. If HTML was fit for purpose, why is it almost always paired with a (language/framework specific) templating engine?

comment 7y ago · link · parent

A similar example (using the popular Iris dataset):

https://www.math.umd.edu/~petersd/666/html/iris_pca.html

comment 7y ago · link · parent

Read On Lisp before Let Over Lambda, but after a beginner book like Practical Common Lisp.

comment 7y ago · link · parent

Good heavens! Not Scheme!
123