6,331 karma · joined Sep 23, 2010 (16y ago) · 813 submissions
comment 5y ago · link · parent
Ya totally, but I think OP was hinting at a fundamental tension between this benefit of interop and the desire to be functional where Java is (generally) not. Clojure lets you reuse the wonderfully huge library of Java solutions -- but those solutions are (generally) not written with immutability in mind, which I could see becoming an issue when you're trying to write a concurrent app. I suspect that's what the java.lang.Object reference was about, although obviously I'm not sure.
>Many wrappers hide mutability and provide an immutable API. And more java libraries are being written with immutable classes.
All that sounds encouraging....
comment 5y ago · link · parent
Can I ask two related questions -
1. Reading between the lines it sounds like the mutability issue arises from interop, both in the core code and any dependencies that wrap Java?
2. If yes, curious why did the folks involved did not write native Clojure libraries to eliminate the (worst?) blocking dependencies (or patch the Clojure wrapper libs)?
I ask 2 because my understanding is interop was partly a bootstrap strategy for the language and there was always (I think?) an assumption that the native Clojure library ecosystem would grow and make interop less necessary. Is that not happening enough?
comment 5y ago · link · parent
https://nymag.com/intelligencer/article/coronavirus-lab-esca...
Even if you agree with him, it’s fair to point out he had a strong point of view before he ever went on this mission to Wuhan.
It’s also worth pointing out that in at least one way the linked tweet lends credibility to the nyt report: it acknowledges “heated arguments” on the WHO mission.
Finally, if you read the NYT report you’ll see it is building off recent reporting on the WHO trip by WSJ and the Australian Broadcasting Company. The issue of possible (accidental - not engineered by govt) lab origins for this sort of virus, in the past or future, is also a real and widely covered credible issue. There are a lot of comments here alleging an nyt agenda. Maybe you can argue the mainstream press has one, but this coverage is not particularly unusual, either on the WHO trip or Wuhan. (Also, it can be argued the MSM under covered the possible lab origins of Covid for months, scared of being lumped in with people who were saying the Chinese govt made it on purpose.)
comment 5y ago · link · parent
The sending peer runs:
$ pcp send my_file
Code is: bubble-enemy-result-increase
On the other machine run:
pcp receive bubble-enemy-result-increase
The receiving peer runs:
$ pcp receive december-iron-old-increase
Looking for peer december-iron-old-increase...comment 5y ago · link · parent
In other words, in Algol like languages you’re typically calling like(this) (or the dotted.equivalent(form)) and in lisp it’s (like this).
You do eventually take advantage of the fact that you’re writing an AST, when you get into macros. But that feels pretty simple once you’re used to the function syntax, since macros just manipulate the resulting structures.
What used to throw me off was the special syntax for lists - ‘(structures looking like this) - but once you get used to using the lisp structure for function calls it becomes clear why and when this kind of quoting is necessary (any time you want a list as data instead of a function call).
comment 5y ago · link · parent
Yes, I’m for abandoning pointless standards. There are concrete benefits to systemd - faster boot, comprehensive service management, power savings, memory savings, a consistent interface to changing system state. What is the benefit to sticking with an rc script architecture designed to run a handful of processes on a pdp?
comment 5y ago · link · parent
Not true. From the start it was positioned as much more than an init system. This is clear just skimming the blog post announcing systemd http://0pointer.de/blog/projects/systemd.html
Among other things, it talks about:
-deferring launch of some services until they are needed, to speed up boot
-launching additional services and shutting down others in response to hardware changes (e.g. adding a usb device).
-taking some or all socket management away from daemons so that sockets can be ready before daemons are live or daemons can be shut down when there is no activity
-“babysitting” services including through cgroup based process management
-managing (some of the) access to /home and other directories
It’s quite a broad scoped announcement. Toward the end there is a “short list of other features”, numbered, ending at 20. Under “Where is this going?” he writes, “ The feature set described above is certainly already comprehensive. However, we have a few more things on our plate.”
systemd clearly started out as a broad based solution, and reading through that post, looking at the problems it addresses, and considering that launchd and upstart tackled similarly many issues, it’s clear why it is so broad - the world has changed. In the 70s on a pdp 11 it was sufficient to launch some daemons at boot, keep an eye on getty, and call it a day. Maybe ~50 years later a new, more comprehensive system makes sense? When Linux runs laptops and phones that are endlessly reconfiguring themselves in response to network, Bluetooth, usb, when systems are sleeping and waking routinely, when vastly more services run on a single machine, when conserving battery is important, when boot time can be reduced to seconds if things are better orchestrated? “standard ways of doing things” have changed in every other sector of society, basically, why wouldn’t they finally change in OS service management?
comment 5y ago · link · parent
(In fact systemd and launchd are so tailored to their respective operating systems that FreeBSD likely would have to do their own init replacement if they cared to.)
comment 5y ago · link · parent
“ most people that attempt programming will never be a good programmer”
“ all people given the same opportunities will be capable of achieving, if not the same, then comparable results on a given task”
Persistence is exceedingly rare. Falling short of your capabilities is exceedingly common.
comment 5y ago · link · parent
Maybe GitHub should be offering additional services to better help pipe projects into all kinds of app distribution mechanisms. App stores, platform package managers (apt dnf ports homebrew), language package managers (gems pip maven CPAN npm etc), stand-alone installers (dmgs install exe-s), maybe even containers.
These services could form a layer with some autonomy from the underlying project — the author of the project rarely handles alll (or sometimes any) of the distro channels.
Anecdotally I feel like most of this stuff happens outside of GitHub, which is fine and actually good, but maybe there are things GitHub could do to smooth the process? To help the original authors arrange things in releases or set metadata in a way that’s useful downstream to packagers?
But some of it happens in projects already, sometimes for a desktop type app you’ll see a dmg or some other installer right in the project files. This could probably be more standardized.
comment 5y ago · link · parent
“ there are 1.97 cars per U.S. household, but in Des Moines, Iowa, there are 19 parking spaces per household. In Jackson, Wyoming, there are 27. “
The article goes on to discuss how parking lots are major opportunity sites for housing development, especially in suburbs. This worked well in downtown Oakland, where from ~1998-2008 there were 10k units built, many on former parking lots. This has the benefit of reducing gentrification impacts.
comment 5y ago · link · parent
“He holds a PhD in biochemistry from Bristol University and previously studied chemistry at Oxford University.”
From the Carbon Brief “about” page. (Click his byline on the linked article and you’ll see he works for Carbon Brief.) https://www.carbonbrief.org/about-us
So he’s a scientist.
Given that you disagree strongly with a well credentialed chemist, are you sure the profession of journalism or the credentials of its practitioners are the issue here?
Also, it’s interesting you linked an article that leans heavily on the authority of Michael Crichton, himself a noted climate change denialist — and a former physician.
It would seem to me poor information and sloppy work crosses many fields. I think anyone who has, say, used very much software in their life would probably agree.
comment 5y ago · link · parent
It’s an accident of circumstance you even need to buy a yubikey - your iPhone, iPad, laptop, android whatever can do everything a yubikey does. There just needs to be enough demand and time for OS and hardware vendors to come around to shipping and integrating this stuff by default. Suddenly you’ll own 3 or 4 yubikey equivalents without buying any special auth devices.
25 years into the web and our login tools remain pretty barbaric. Maybe in 25 years we’ll have it sorted out. But change is coming. Call it 2fa, webauthn, whatever - regardless of the details username/password auth (on its own) is dead.
comment 5y ago · link · parent
How many languages are there like this? A handful? Erlang, Scala, Haskell, Go.... Java has always been parallel but with pretty primitive concurrency tools, no?
comment 5y ago · link · parent
I used getmail for years and it is solid. duckerude posted this elsewhere in the thread, where the author of getmail rants a bit about fetchmail. http://pyropus.ca/software/getmail/faq.html#faq-about-why
Once I left Gmail I was interested in something faster and more efficient, because I was using the transfer tool for more than just backup, it became the main way I receive email on my machine. Then the mail gets indexed (for text search) by another program and displayed by a third.
Anyway I found mbsync, which is just this amazing, efficient, very solid transfer program that's been around for many years just quietly doing its job. I almost wrote it off because its homepage is on sourceforge but if you poke around a bit you'll see it is actively developed, there's an active mailing list, etc. I love it. It's kind of interesting how this project I had never heard of just does its job well and works and the program by the semi-famous software pundit whose programming essay went viral really does not (from what I have heard).
comment 5y ago · link · parent
This is false. The person you refer to, April Lu, is not the only specific example in the article, just the first. The second is Nicholas Ruiz, who I think it’s safe to say is not pregnant.
comment 5y ago · link · parent
comment 5y ago · link · parent
Also Valley money types: “Texas needs to regulate this exploitive type of labor contract California has banned since 1872.”
When people stomp off for greener pastures they maybe should consider what good things they might be taking for granted and leaving behind.
comment 5y ago · link · parent
Apparently this and other things did not go over well with developers (apparently the apps needed to be done at least partly in assembly too). Wikipedia:
GeoWorks attempted to get third-party developers but was unable to get much support due to expense of the developer kit — which ran $1,000 just for the manuals — and the difficult programming environment, which required a second PC networked via serial port in order to run the debugger.
Even though PC/GEOS is referred to as an "operating system", it still requires DOS in order to load. GEOS and its applications were written in a mix of 8086 assembly (Espire) and C (GOC), both with non-standard language extensions to support the object-oriented design.[5][9]
comment 5y ago · link · parent
It was not fast at all when the Java hype was peaking in the late 90s. I knew a dotcom era startup that replaced a bunch of Perl with Java and my friends complained it had fewer features and was much slower.
comment 5y ago · link · parent
It's a tradeoff. And I think for a while there in the midst of the history of free software an idea took hold that we could have our cake and eat it too -- that you could provide free software (as in Free software, capital "F") AND earn revenue as a for profit business to profitably sustain a company and extend its ability to contribute free (Free) code.
I wonder if recent history has shown that this is unrealistic. Maybe we should go back to seeing free software as almost accidental, as a wonderful anomaly -- when incentives are aligned correctly, you can subsidize its development, through government funding, or university research, or nonprofits, or hail mary last-ditch business efforts, or self interested loss leading spending by corporations (a bank contributing patches to a Java library, for example).
(I don't think this contradicts the goals of GNU, by the way. Because successful Free software tends to just keep going and live, and even seeming moribund code can be resurrected at any time because the code is out there, I think we could end up using free software for a higher and higher percentage of our computing lives as time goes on, even if its funding is ad hoc and unreliable on balance.)
comment 5y ago · link · parent
I use it for privacy (am a fan) but I feel pretty smug knowing I’m getting better reliability too. At least this month :)
No affiliation with the company.