axelrosen
Seems like having people be more aware and tolerant of its symptoms would help a lot.
alias scs='systemctl status'
alias jc='journalctl --unit'And yes, as other mentioned js-cl is trying to do something similar, and I hope it works out!
Sorry bad wording on my part, was just reiterating the point that Parenscript maps closely to regular looking js, while cljs abuses js quite heavily.
As long as you're not dead set on specific characters you could do:
(defun extract-from-objc (obj)
(objc-typecase
obj
(%@NSDate [[[[%@NSISO8601DateFormatter @(alloc)]
@(init)]
@(stringFromDate:.) :pointer obj]
@(UTF8String)]s)
(%@NSString [obj @(UTF8String)]s)
(%@NSNumber (parse-number:parse-number
(objc-runtime:.:extract-nsstring
[obj @(stringValue)])))
(%@NSArray (map-nsarray #'extract-from-objc obj))
(%@NSDictionary (fw.lu:alist-string-hash-table
(pairlis (map-nsarray #'extract-from-objc [obj @(allKeys)])
(map-nsarray #'extract-from-objc [obj @(allValues)]))))
(t (or (funcall-some (cdr (objc-pick-by-type obj *objc-extractors*))
obj)
obj))))
The reason I say they're good for DSLs is exactly for re-purposing to have a special meaning.
Yes, nowhere close to being as powerful as reader macros.
But the nice part is everyone can and knows how to work with these primitives.I do wish we had reader macros like CL, but I'd still totally want the built-in [] and {}.
Most of the time you just have a .cljc file and pretty much the same exact code just works on both platforms. In a few places you'll use the #? reader macro that lets you do different stuff based on platform, and that's it.
Well, you basically get simple macros for free as long when you have an s-exp based notation for something. Which is why I do in fact like them. Something like Parenscript or Wisp is really great for lightweight websites.
I remember way back around 2010 or 2011 playing around with CL and Parenscript a bit and it looks like the landscape isn't too different today.
WISP is a little more like the Parenscript of Clojure (though it's written in javascript itself) https://github.com/Gozala/wisp/blob/master/doc/language-esse...
Like a good politician Clojure is pretty unimpressive in of itself, for any given characteristic, someone has a better take. But as a whole it's one of the few sensible choices out there.
[0] I feel like they're generally underrated. Adding [] {} and #{} might not seem like much, but when writing DSLs they really do make all the difference.
[0] it's a little different in that whether there is or isn't inherently a problem still isn't exactly settled science
I don't really see a reason to delete Facebook over the privacy drama, I fail to see how it has much to do with the management or anything. Any Facebook replacement one comes up with, would face all the same dilemmas.
What many outside of the privacy-conscious circles are tired of is this whole concept of everything being permanent online. Of having some behavior from years ago haunt you forever. There's where ephemerality comes in.
He's in a tough spot given who he's up against. In an oligopolistic industry like ours it's risky to be hated by anyone.
But I do think it would work in the sense that he'd have a larger group of people cheering for him. And this is solely about clarity. If you're too nuanced in what you're broadcasting to the world people don't know how to react. Nobody wants to waste time trying to figure you out. Doubling down is exactly about taking out any nuance for a stronger message.
If you travel to the US most major ones should open an account for you too. But they ban foreign IPs sometimes and unlocking can be hassle.
The only major problem with the US I'm aware of is the death tax exemption for non-residents is only 60000$, so you don't wanna die or need to structure appropriately.
Which I must admit I enjoy in a weird way.
I can see a situation where 0 users switch to VSCode and in a few years it still has, say, 80% of market share, just by getting all the new ones.
However the few interesting properties that they do have make for a big difference at scale if you look at it in a broader context.
> Its a datastore with some cryptographic identity checks and tamper proof guarantees. It can't prove that a package made it from A to B or that it stayed at some ambient temperature IRL. It only records that someone attested to that, not whether its true. An ordinary database will do for an audit trail.
Sure, there are no inherent features which directly enable that. However with a regular database can you give access to absolutely everybody (even if you have complex access control rules)? Can you incentivize people to interact with this database in a given way? Will people trust the data? Can you make people believe that your system is going to be around for long enough? Can your system be safe from regulatory risk?
The answer to all these question is a very qualified yes. However when you think about them it's pretty obvious it's going to be hard. Say incentivizing people. You can surely assign rewards to people, have a little virtual currency/credit system. But you can see how the more sophisticated it gets the more you're creating something blockchain like. Which is also why private, hybrid blockchains or non-blockchain decentralized shared database systems are interesting btw.
The point is - none of these features or problems are inherently technical. They're more social than they are technical. The questions I posed are just food for thought, there are so many more aspects one could consider.
Diminishing returns, lower tolerance for messing up, a lot of other going concerns, I could go on and on. The point is you're probably not putting in the same effort.
[0] say as we age our hearing ability predictably diminishes, accounting for some of the difficulty in learning accents etc. But the majority opinion, I believe, over-attributes the difference to reduced plasticity and the likes.
Otherwise you really need to make sure the customer cares about it as much as you do. And many simply don't.
https://github.com/typester/emacs/blob/master/lisp/emacs-lis...
Though then again the nice (best?) thing about macros is it gets inlined as a string at compile time anyways.
I generally try to be a nice person and never wanted to be THAT terrible person who tries to get a lot done for no $. But then you still feel like you're wasting your money and feeling scammed is not a great feeling. You have to pick between being a douchebag and a foolish people-pleaser.
I think contractors are great for large organizations that need to quickly scale up (and down) their tech force without hiring. Money isn't a problem for them and relations with employees in a large organization are transnational already so it's not going to be that much worse.
If you're trying to save money, then no don't do it. The best way to save money is to convince somebody to just do it for you.