Better HN
topnewbestaskshowjobs
Log inSign up

gopiandcode

1,211 karma · joined Jun 5, 2019 (7y ago) · 196 submissions

pronouns: she/her

url: kirancodes.me

Submissions

121.

Goodbye C developers: The future of programming with certified program synthesis(gopiandcode.uk ↗)

5 points · by gopiandcode · 5y ago · 2 comments

comment 5y ago · link · parent

Looking through the FAQ, It seems like Rally requires users to send their raw data straight to the aggregation service, with the only privacy guarantees being that the data is encrypted during transport, and a "promise" that they will run internal audits to make sure private data isn't released from their servers.

IMO this seems to provide worse privacy than even Google and Micro$oft's telemetry, which at least use differential privacy to make sure that each individual's privacy is somewhat protected (the data you send is randomised so even if the aggregator is compromised by a malicious third party (e.g. NSA) individuals have some degree of plausible deniability).

Sure, Mozilla's intentions may be more "pure" (or is that just their propaganda speaking?), but in terms of privacy guarantees this seems like it is a strict downgrade, that abuses their goodwill to hide its deficiencies.

comment 5y ago · link · parent

I wonder how many of the people defending or downsizing Nina Paley's position have seen the offending content - irrespective of how you feel about trans issues, representing trans women as such offensive caricatures (as violent club-wielding male genetalia) seems like sufficient grounds to label someone as hating trans-people.

Imagine if someone had drawn similarly offensive caricatures of black people or any other minority? Would you hesitate to claim that they were racist and hated the targeted minority?

I admire Nina Paley for her advocacy of free culture (both public domain artwork and free software), but it is somewhat saddening to her take such a hateful stance.

comment 5y ago · link · parent

If the expert witness were lying, wouldn't that be perjury, and doesn't that come with its own legal repercussions?

comment 5y ago · link · parent

> Stories about children either passing out or dying because they were required to wear masks.

Do you have any citations for these events, because they seem to be absurd misinformation.

The country I'm in (Singapore) has legally required masks in public since last year (as have many other countries) so everyone is wearing masks, and so far, I have not heard of a single case of people suffering due to wearing masks.

In fact, I even wear my mask when I go running and I have never felt any significant issues with breathing, even after hours of vigorous exercise.

If masks could reliably cause breathing issues in any significant way, given the number of people in the world who are wearing masks every day, we should expect a statistically significant number of such cases, not just a few cherry-picked anecdotes.

comment 5y ago · link · parent

I agree that this is really a non-story, but I don't get where the claims of fascism come from? Are the students fascistic because they took a /democratic/ vote to remove a monarch (who was in no way democratically elected)?

comment 5y ago · link · parent

I have been consistently appalled by the NHS' willingness to collaborate so freely with data-mining privacy-violating american companies (google, palantir).

Did the UK public consent to having their personal data shared to unaccountable foreign companies? I know I didn't.

comment 5y ago · link · parent

Just another reason not to trust companies that focus too much on "open source" rather than free/libre software. The former is just a corporate coopting of the latter in order to exploit developers and the developer community, as evidenced by the wildly regressive views of the repl.it CEO. Insane.

comment 5y ago · link · parent

It's honestly surprising how earnestly people can propose such draconian measures without even considering the consequences beyond a basic surface level analysis.

Mass manipulation by foreign interests may be bad (Americans should bear in mind that for the majority of the world they are also a foreign influence), but this kind of knee-jerk reaction just paves the way for unprecedented censorship.

comment 5y ago · link · parent

This is some really cool stuff, it really feels like the future of governance strategies. Even better, the software is libre. Other governments should take note.

comment 5y ago · link · parent

Here's an example of how the behaviour between Rust and Python differ because of scoping:

in Rust:

  fn main() {
    let a = 3;
    let f = | | { a };
    let a = "b";
    println!("{}, {}", f(), a);
  }
in Python:

  a = 3
  def f ():
      return a
  a = "b"
  print("{}, {}".format(f(), a))

The rust code outputs "3, b" while the python code outputs "b, b". The python code _assigns_ to the variable a, whereas the rust code creates a new scope and redefines a, shadowing it in the parent scope.

comment 5y ago · link · parent

Given that Grail has a quite ML-esque syntax and is also quite new, how does it compare to something like OCaml with JS_of_OCaml? Why would I use one over the other?

comment 5y ago · link · parent

Variable shadowing is orthogonal to static typing. You can do the exact same thing in OCaml or Haskell - a is being redefined so it can be given any type you want.

comment 5y ago · link · parent

I initially thought GP was being overly hyperbolic, but after watching the video I can't say I fully disagree. It's not so much the animal studies aspect, but rather the fact that they used bluetooth via a mobile phone to connect to the monkey.

That aspect of connecting via bluetooth from a phone is most conventionally used to interact with replaceable commodities such as wireless speakers/headphones, but here it's being used to interact with a _live_ monkey. This framing somewhat gives the impression that this living being has been reduced to the status of a replaceable commodity, a mere peripheral that one might connect to via bluetooth.

I agree that given how much modern society relies on animal testing that it's not really a rational response - maybe this reaction could have been mitigated somewhat if they had connected to the monkey via a computer or more involved process rather than simply just the conventional bluetooth pairing flow on a phone.

comment 5y ago · link · parent

Have you read the open letter? The points you list above are a lot more milquetoast than the "evidence" against RMS that was posted on the open letter - it performs such disingenuous actions as quoting statements that RMS has since retracted or changed, refusing to admit the fact that he has changed; mischaracterising his suggestion of alternative pronouns as a transphobic attack when in fact RMS has stated that he himself will respect people's personal pronouns; underplaying the vicious media attack that was launched against him.

While the claims you make in your comment might not be slander, the open letter is much less nuanced, and strays a lot closer to that line.

comment 5y ago · link · parent

> So, you're either forced to defend Richard Stallman and accept what's going on over there, or __YOU ARE THE ENEMY OF ALL OPEN SOURCE__.

Firstly Free software != open source, so you probably meant free software in your original quote.

Secondly, while there may be people who have legitimate concerns about RMS, the authors of the open letter have chosen not to highlight these claims but rather to rely on mischaracterisations and easily debunked lies. By supporting the open letter you are supporting these lies and thereby supporting an attack on free software.

Maybe this is not the most productive characterisation of the situation, but the creators of the open letter were the ones that chose this framing by choosing to propagate such falsehoods. We must stand up against such disingenuous actions, and can view them as none other than some kind of motivated attack on Free software.

comment 5y ago · link · parent

Software that removes the freedoms of its users is a moral injustice and the FSF has always fought against such injustice. I don’t see how capitulating to lies to satisfy a witch hunt based on slander, and thereby perpetuate an injustice, would help strengthen FSF’s commitment to fighting against the injustice of proprietary software. If all it takes for the FSF to stand by injustice is a misinformation campaign and sufficient bad PR, then what happens when proprietary companies start applying the same tactics to free software? will the FSF step back again, to avoid accruing too much bad PR? Sometimes in life it is difficult to make the right decision, but we must do it nonetheless.

comment 5y ago · link · parent

I don't think you're the target audience - it's a tool oriented at people implementing activitypub servers, and provides a set of tools for debugging and testing that an implementation meets the activitypub spec. As someone working on an activitypub implementation, even without any prior knowledge about the tool, from the screenshots and feature list I was immediately able to work out what it was for. Things like verifying message certificates and activitypub compliance were things that I was doing manually in an ad-hoc way before, but this tool seems to provide a standard way of testing it.

comment 5y ago · link · parent

NP-hard refers to solving the problem in the general case - for a given specific instance it may be possible to find an optimal solution more easily by exploiting specific features of the graph (for instance, a series of nodes arranged in a ring would have a trivial optimal solution).

comment 5y ago · link · parent

This feels like a strawman - the issue isn't people deciding they don't care about bias because of this change, but rather that if tech companies are bending over so much as to make such an insignificant change to avoid seeming biased against minorities then how could bias in the tech industry exist at all?

comment 5y ago · link · parent

How is that relevant to the parent's point? Non-determinism has no relation to a system with infinite states, and the NFSM -> FSM construction algorithm provides no help in that case.

comment 5y ago · link · parent

Good. Currently the fediverse is a breath of fresh air compared to modern social media with all of its name calling, vapid trends and political polarization. Hopefully whatever that makes regular social media "what it is today" _will_ never be seen over there.

143.

Testing Out Algebraic Effects in OCaml for Game Animations(gopiandcode.uk ↗)

3 points · by gopiandcode · 5y ago · discuss

comment 6y ago · link · parent

I think a visual representation of a concrete instance of the type would probably be a better explanation of c type declarations. At the moment this tool seems more a C gibberish to english gibberish translator.

comment 6y ago · link · parent

Its not proving a negative, its proving an existential query, there exists terror attacks that were stopped by PRISM. If the data was useful, then they could certainly point to the in-progress attacks that were thwarted - stopping an attack does not erase all information about its existence.

comment 6y ago · link · parent

This is not an excuse - the user should have the freedom to disable whatever they want - who is to say that your definition of a broken internet matches mine?

comment 6y ago · link · parent

The comparison to murder seems apt when we're looking at this in terms of intent rather than severity. The original response stated that we should forgive slack because "things like this happen", playing off the incident like an accident, when this was clearly not the case.

comment 6y ago · link · parent

(int, string) Map.t doesn't seem to be too many steps away from your example. When I was learning OCaml, I found that much of the module and module type system can just be seen as a more beefed up version of interfaces in OOP languages, so it didn't take long to see its benefits.

comment 6y ago · link · parent

We can spend all day arguing anecdotes. As a counterpoint, I've never used Facebook, but once tried setting up an account to participate in a group event organized by some friends - by the next day, before I could even use the account, Facebook had locked my account, and wanted a photo of my ID to let me access the account. Needless to say, I abandoned the account.

comment 6y ago · link · parent

You can't drop constant multiplicative terms in an exponent - O(2^n) is not equivalent to O(2^(2n)) as O(4^n) \= O(2^n) (the first one grows a lot faster).
1234567