Better HN
topnewbestaskshowjobs
Log inSign up

grumpyprole

4,485 karma · joined Jun 30, 2015 (11y ago) · 2,043 submissions

Submissions

comment 9y ago · link · parent

Github repo link here: https://github.com/arximboldi/ewig ICFP 2017 paper: https://public.sinusoid.es/misc/immer/immer-icfp17-preprint-...

comment 9y ago · link · parent

I mostly use mine on the train during the commute. I'm one of many. At home and work I use desktops.

Mozilla will also want to target their engine at tablets and phones at some point. This is presumably why Samsung committed funding to Servo (IIRC).

comment 9y ago · link · parent

Thank you and keep up the excellent work! I look forward to trying it out (and at some point switching).

comment 9y ago · link · parent

Perhaps that now they are using Rust instead of C++, leaks and memory corruption should be much less of an issue.

comment 9y ago · link · parent

Are there any plans to have Firefox throttle background tabs? This is one feature from Chrome that is currently stopping me from switching. It's very useful for laptops with lots of open tabs. The current rate of progress is definitely impressive though.

comment 9y ago · link · parent

It seemed more like a marketing stunt to me. The issue was about a single iPhone with a warrant to search it. Apple made it a very public debate about all iPhones.

comment 9y ago · link · parent

And the postgres maximum table size is 32T.

comment 9y ago · link · parent

So strings are mutable? I'm not sure that's a reason to celebrate.

comment 9y ago · link · parent

They've gone to all the trouble of building an app using web technologies, but don't offer a Linux version? I develop on Linux because I deploy on Linux. I don't need a virtual assistant or animated emojis. I would quite like a nice Git UI however.

comment 9y ago · link · parent

Very little travel is my definition of terrible. Without travel, there is nothing to dampen my key presses, meaning my joints and fingers would get more fatigued over time. Apple have shortened the key travel to make their machines thinner, not to give you a better typing experience.

I only care because I worry the effect the Apple RDF will have on other manufacturers. For example, I can no longer buy a mobile phone without a glued-in battery.

comment 9y ago · link · parent

Most rich desktop APIs are very imperative and the Haskell bindings are often just a thin veneer on top. For an example of a really nice Haskell UI API, see threepenny-gui:

https://github.com/HeinrichApfelmus/threepenny-gui/blob/mast...

comment 9y ago · link · parent

Less of the insults please, I've spent most of my career trying to escape the 'wider field'. The way we choose to model the world is clearly very different.

comment 9y ago · link · parent

Mathematics has successfully modelled change over time for hundreds of years without mutable memory cells in a computer.

Please don't build software that mutates my data. I want history/provenance and reproducibility. I don't mind the odd bit of optimisation, but your use of the phrase "conceptual mutability" would have me worried if I was a customer of yours :)

comment 9y ago · link · parent

I did say they were rarely needed, if one does need interthread communication then yes an MVar or two will probably be used under the bonnet somewhere. Threads can however be used without MVars. Haskell offers many concurrency and parallel programming primitives.

Compare with C++ where every smartpointer holds mutable state (even if it points to a immutable value) and triggers a memory barrier whenever it is accessed.

comment 9y ago · link · parent

In functional programming one should model change over time as a stream of immutable values, there is no "conceptual mutability" and no need for mutable variables.

comment 9y ago · link · parent

I use modal dialogs as an example of an app forcing the user to work in a modal way. Thunderbird used to throw up a modal dialog whenever I lost wifi on my laptop. Outlook still won't let me send an email when I'm browsing the address book. Most people find modal behaviour an annoying restriction.

comment 9y ago · link · parent

He says "I rarely need the docs visible at the same time I’m writing code. I read the relevant doc, then code. My workflow is modal."

This is certainly not a common opinion. Most people want to glance back and forth quickly. And most people hate modal dialogs.

comment 9y ago · link · parent

Why do you need a mutable variable? I thought we were discussing functional programming, in which case they should be rarely needed :)

comment 9y ago · link · parent

Modern hardware struggles to impersonate a C/C++ abstract machine too. Machines with multiple cores and distributed memory hierarchies are difficult to program effectively with old OO/imperative languages.

comment 9y ago · link · parent

I would say that the opportunity to freely share values without needing to defensively copy is of greater benefit, especially with an increasingly multicore future. Updating in-place also requires memory barriers, which don't scale.

comment 9y ago · link · parent

I'm really confused by the choice of development process for BTRFS. First they write huge amounts of experimental/buggy code and then spend years trying to fix it. Reliability was obviously not the primary goal and I doubt they will be able to retrofit it.

comment 9y ago · link · parent

This is spot on. In fact, for most users Lollipop brought lag and excessive battery drain for little user benefit.

comment 9y ago · link · parent

To be fair, Samsung phones do sometimes get software features years before the Google and Apple phones (e.g. split screen multitasking).

comment 9y ago · link · parent

Actually Haskell can be a lot more practical depending on what one wishes to accomplish. I've seen many Haskell ideas encoded in Scala that then become a lot less practical (verbosity, stack space, efficiency).

comment 9y ago · link · parent

Thank you! I had been meaning to write something like this for myself. It's more useful than line numbers, which typically change often.

comment 9y ago · link · parent

In Template Haskell quasi-quotation is how one would add new syntax, but it's not necessary either if all that is required is macro expansion.

comment 9y ago · link · parent

Template Haskell is meta-programming. It supports quasi-quotation, just like Lisp.

comment 9y ago · link · parent

Haskell also supports metaprogramming and a REPL, these are not unique to Lisp. But granted, Lisp's syntax makes metaprogramming very convenient.

comment 9y ago · link · parent

But was it Clojure or perhaps functional programming in general that "changed how you think about programming"?

comment 9y ago · link · parent

Emacs has been with us for well over 30 years and during that time has always had folks claim it was obsolete (no graphical UI, no OOP etc). Emacs will be around for at least another 30 years.
1
515253
69