News for hackers. Stuff that matters.

polityagent

Re:The GameStop surge is just another Ponzi scheme on Sunday January 31, 2021 @05:42AM (#25977800)
Can you expand on your point here?
Re:The GameStop surge is just another Ponzi scheme on Sunday January 31, 2021 @05:39AM (#25977785)
I agree that a fair number of retail GameStop investors will be left holding the bag but this article is at best under reaearched and at worst deliberate spin.

No mention of the large long positions held by investors like BlackRock. It also draws a link to AOC whilst failing to mention that even Ted Cruz agrees with her (though he may be wanting to distract from the 6th Jan).

Re:JPMorgan to Move $230B Assets to Germany in Brexit Shift on Thursday September 24, 2020 @05:23AM (#24576819)
with the current Tory government the chances of taxing those assets significantly is indeed low.

with the assets out of the country the chances of taxing them at all is zero. As well as losing any possible indirect benefits from them being around (not saying there are benefits, but we certainly won't get them if there are)

if you use Firefox then reader mode is ideal for these situations
Re:Nubank acquires Cognitect on Thursday July 23, 2020 @06:19PM (#23933192)
small note: Banks do not want to forget fraud, the rollback would be akin to a git revert. Even if the history presented to the customer makes the fraud vanish it won't be forgotten by the bank.

With government requirements I'm assuming you mean something like gdpr. Datomic supports actually removing data via excision. it's just not the default behaviour. I personally prefer a system that doesn't forget by default whilst preserving the option to do so.

you can also support destruction of personal data via other means such as key shredding.

Why is the fastmail app allowed?
Re:The Defold engine code style on Monday June 01, 2020 @01:53AM (#23375780)
Am I mistaken in thinking that the issue was scaling not supported by the box2d physics library and that they needed a custom workaround in their engine?
Re:Ask HN: Who Regrets Choosing Clojure? on Friday May 29, 2020 @01:55AM (#23346672)
you learnt what everyone else was learning, so now you're competing with everyone else on their level.

learning something more niche can be a signal that helps you stand out, even if it's not what you use at your next job.

having said that, networking with people is the number one contributor to finding a great job.

Re:Ask HN: Who Regrets Choosing Clojure? on Friday May 29, 2020 @01:53AM (#23346660)
no regrets here (lead Dev at small company, 50ish employees) using for roughly 50% of the projects.

6 years ago we were fully Java, clojure allows us to mix the two without a business killing rewrite.

I've never had any problems training people on it.

Re:The Impedance Mismatch Is Our Fault (2012) on Friday April 10, 2020 @02:44AM (#22830580)
I believe it leads to datomic, a database you can try out on Aws (datomic cloud) to see the implementation of all the things he's getting excited about.
Re:Babashka – A Clojure for the grey areas of Bash on Thursday February 06, 2020 @04:34PM (#22260587)
ah I see, the greater risk of mitm attack due the script not being hosted by a package manager, fair enough.
Re:Babashka – A Clojure for the grey areas of Bash on Thursday February 06, 2020 @04:29PM (#22260546)
looks like the author also provides package manager installation on further reading of the readme. I'm still not quite seeing the issue with the curl to bash, I'm trusting the author by running their tool, regardless of the installation method. And I could always download the script first to check it right?
Re:Babashka – A Clojure for the grey areas of Bash on Thursday February 06, 2020 @03:59PM (#22260224)
whats the issue here? (genuine question) besides having to trust the author? and what installation methods do you recommend for cli tools?
Re:Clojure for the Erlang VM on Monday January 06, 2020 @03:58AM (#21967685)
I don't think this implementation harms either Erlang or JVM clojure ecosystems. I also doubt the creator of this has as much interest in maturing JVM tooling as you so demand of them, if they did, they wouldn't have made this port.

If this is inferior in every way to lfe then it will remain a niche project. If not, perhaps it will encourage some improvements either in lfe or Erlang itself (though I think the latter is unlikely).

Re:I love coding in C on Friday December 27, 2019 @09:53AM (#21891621)
I believe jblow removed this in more recent versions.
Re:Seven deadly sins of talking about “types” (2014) on Saturday December 14, 2019 @07:49AM (#21789253)
Yes I agree
Re:Seven deadly sins of talking about “types” (2014) on Saturday December 14, 2019 @03:39AM (#21788490)
Unit tests for business logic and specifications for data shape can help to catch those typos as a side effect of the other benefits they bring. However typo catching will never be as solid as in a typed language, I've decided I'm ok with that as long as I'm not programming something that could kill someonev if it crashes.
Re:Seven deadly sins of talking about “types” (2014) on Saturday December 14, 2019 @03:35AM (#21788480)
Safely and automatically renaming a function, local or global variable does not require a type system (see clojure and many other dynamic languages). Only renaming an instance field on a class needs it (because then all accesses on an object must be renamed, which requires knowledge of the type of your variables).

Incidentally programming in a more functional style reduces the need for this kind of thing. it doesn't eliminate it though so it can still be a source of runtime bugs when typos creep in, that's a trade off you have to make.

Re:The Great Cannon has been deployed again on Friday December 06, 2019 @10:24AM (#21722536)
This is not true, the traffic for the previous github incident with the great cannon was co located[0] with the great firewall (which is indisputably under the control of the chinese government).

[0] https://citizenlab.ca/2015/04/chinas-great-cannon/

could you explain the link? In this situation they were apparently silencing anti government voices, which sounds like the opposite.
In case you're unaware, your smarter compilers bullet point is called dependent typing. You can try it out in languages like Idris. Also the person who wrote "The little schemer" recently released "The little Typer" which is a nice intro to some of the theory behind it, very easy to follow.
Re:Hy: A Dialect of Clojure Embedded in Python on Friday March 01, 2019 @08:19AM (#19280275)
It is a lisp, with visual similarities to clojure. Library access is irrelevant. The features that differentiate clojure are not there.

- Immutable and persistent data structures as the default

- Functional programming (no early returns or mutable bindings) as the default

- Reader literals for those data structures

- Concurrency primitives (including core.async)

- Protocols for polymorphism

From the hy docs: "Hy derives a lot from Clojure & Common Lisp, while always maintaining Python interoperability". Borrowing nice features where you find them is great, but it doesn't make it either a common lisp dialect or a clojure dialect. It just makes it a lisp with some similar stuff.

Re:Hy: A Dialect of Clojure Embedded in Python on Friday March 01, 2019 @04:28AM (#19279038)
This is not a dialect of clojure, please fix the title.
But how recently have we developed the capability to:

- observe this thing at all

- accurately measure it's velocity and acceleration

- understand that it's velocity and acceleration were unusual?

Re:When FP? And When OOP? (2013) on Monday January 28, 2019 @03:04AM (#19015905)
Polymorphism doesn't require anything to do with OOP or objects themselves, see clojure multi methods as an extremely pure example that involves nothing even close to an object.

Protocols or typeclasses are also ways to implement functionality over (usually) immutable data. I don't see the relation to a mutable object with a closed set of methods defined at compile time.

a look at the related queries will show just how bad Google is at classifying searches for racket and scheme the languages as opposed to the words.
Re:Hiring Is Broken on Thursday January 17, 2019 @11:03AM (#18931791)
It's likely they're referring to the person's attractiveness as a potential candidate, not their physical appearance.
Re:Etsy’s experiment with immutable documentation on Thursday December 13, 2018 @02:38PM (#18675289)
Or use a new name for the new interface whilst not breaking your old one. If your api is private then break it all you want, but if it's public and you want a large grateful user base then you should only grow. See rich hickeys talk "speculation" for a much better explanation of this.
Can't say I mind too much about subsidies for solar panels and electric vehicles regardless of the motivation.
I hear that slave labour and not worrying about workplace injuries really reduced budgets for the original.

Older »