HNHacker News
TopNewBestAskShowJobs

Kristine1975

2,687 karma · joined October 2, 2015

submissionscomments
Kristine1975··on Qanat
Looking at the article's history it seems to have been a one-time contribution by an editor.
Kristine1975··on Unethical Research: How to Create a Malevolent Artificial Intelligence
Context: https://en.wikipedia.org/wiki/LessWrong#Roko.27s_basilisk
Kristine1975··on University Title Generator

  Vice President of the Committee on Donor Relations

  Estimated salary: $381,384
Sounds like donor relations are a lucrative business.
Kristine1975··on First Friendly Contact with the Sentinelese
No?
Kristine1975··on Indefinite prison for suspect who won’t decrypt hard drives, US government says
In the past in Europe, there existed the concept of "partially guilty." Someone got shot and you were seen in the vicinity of the crime scene with a gun? You're 25% guilty. Then you're tortured (since you're 25% guilty, it's not torture of an innocent, but punishment), and under torture you "confess", making you fully guilty.

Source: Foucault's Discipline and Punish

Kristine1975··on Indefinite prison for suspect who won’t decrypt hard drives, US government says
>even if you never act on them, then you are contributing to the denigration and subjugation of people of color.

How so? I sometimes think racist (and sexist, and...) thoughts, but I know they are wrong, so I don't act on them. How am I contributing to the oppression of people of the ethnicity I have racist thoughts against?

(Incidentally I think "people of color" is a pretty racist term, since it lumps all non-white ethnicities together.)

>Paedophilia may be sexuality, and yes, it was wrong to demonize homosexuality, but unless you're arguing that one day we'll look at paedophilia the same way, then you can't put them in the same boat morally.

Well I do argue that. Just as homosexual rape is a crime (although often treated as a joke, c.f. prison rape), child rape is a crime. No matter the sexual orientation of the perpetrator.

>but a better one is to stop being a paedophile

Since when can sexual orientation be changed? According to Wikipedia:

There is no evidence that pedophilia can be cured. Instead, most therapies focus on helping the pedophile refrain from acting on their desires

Kristine1975··on Face recognition app taking Russia by storm may bring end to public anonymity
Is this from this year's Stupid Hackathon? (http:////www.stupidhackathon.com/) Because it totally could be.
Kristine1975··on Indefinite prison for suspect who won’t decrypt hard drives, US government says
A zip drive with no fingerprints of the person it supposedly belongs to? Not very convincing.

Also in this case the prosecution apparently has a bit more information that just "he did it":

A subsequent forensic exam of his Mac Pro computer revealed that Doe had installed a virtual machine ... the examiner found one image of what appeared to be a 14-year-old child wearing a bathing suit and posed in a sexually suggestive position. There were also log files that indicated that Doe had visited groups titled: “toddler_cp,” “lolicam,” “hussy,” “child models – girls,” “pedomom,” “tor- childporn,” and “pthc,” terms that are commonly used in child exploitation.

... The exam showed that Doe accessed or attempted to access more than 20,000 files with file names consistent with obvious child pornography... and that he used the external hard drives seized by Delaware County detectives to access and store the images.

Kristine1975··on Twitter Picks Russia Over the U.S
>This is nonsense: Dataminr performs no surveillance, because there is nothing private about the tweets it mines for data.

This doesn't make sense: Surveillance is surveillance even when conducted in public, say with surveillance cameras.

Kristine1975··on Indefinite prison for suspect who won’t decrypt hard drives, US government says
>How likely do you think it is that the children fall into their jurisdiction?

Since child porn is illegal just about everywhere (although the definition of "child" may vary), it should pose no problem to notify the authorities in the country of origin.

Kristine1975··on Indefinite prison for suspect who won’t decrypt hard drives, US government says
I wouldn't call looking at pictures (even of victims of child sexual abuse) "the most despicable crime in our modern society". The child sexual abuse itself is worse.

Also torture, wars of aggression, mass poisoning...

Kristine1975··on Signed overflow in C
How about:

  #define ADD_OR_DEFAULT(a, b, d) \
      ({ typeof((a) + (b)) r; __builtin_add_overflow((a), (b), &r) ? (d) : r; })
and then:

  return ADD_OR_DEFAULT(a, b, 0);
P.S: Names beginning with two underscores are reserved for the implementation.
Kristine1975··on Signed overflow in C
>Why do GCC/clang not have: __builtin_addition_would_overflow(a, b)

But they do: https://news.ycombinator.com/item?id=11711608 :-)

Kristine1975··on Signed overflow in C
It seems to me that you're mixing (signed) int (x and y) and unsigned int (UINT_MAX).

As for securely implementing overflow checks for signed addition, this seems to be useful: http://blog.regehr.org/archives/1139

Kristine1975··on Signed overflow in C
Doesn't happen here (Firefox). Seems indeed like a rendering issue in your browser.
Kristine1975··on Signed overflow in C
Just put the intrinsics into their own functions and re-implement those when switching compilers.
Kristine1975··on Signed overflow in C
>the members of the committee were rubbing their hands at the thought of all the optimizations the poorly specified ambiguous successive versions of the document would allow:

I couldn't find that in the blog post you linked?

Kristine1975··on Signed overflow in C
Friendly reminder to use clang's and gcc's intrinsics to check for integer overflow (signed or unsigned):

https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins...

http://clang.llvm.org/docs/LanguageExtensions.html#checked-a...

Kristine1975··on Mistakes to avoid with C++ 11 smart pointers
The game Abuse (now open source) uses/used Lisp as its scripting language: https://news.ycombinator.com/item?id=516853
Kristine1975··on Mistakes to avoid with C++ 11 smart pointers
Unless they are modified: const reference. Otherwise you cannot pass a temporary object as in:

  void foo(const std::shared_ptr<int>& p);

  ...

  foo(std::make_shared<int>(23));
This will not compile with

  void foo(std::shared_ptr<int>& p);
since a temporary object cannot be implicitly converted to a non-const reference, only to a const one.
Kristine1975··on Mistakes to avoid with C++ 11 smart pointers
Mistake #10 contains a race condition when another thread destroys the last shared_ptr to pIceman (Top Gun fan much?) between the call to !pMaverick->myWingMan.expired() and pMaverick->myWingMan.lock().

Just use:

  if (auto p = pMaverick->myWingMan.lock())
    p->take_shower_with(pMaverick);
See http://en.cppreference.com/w/cpp/memory/weak_ptr/lock
Kristine1975··on Lambda expression comparison between C++11, C++14 and C++17
Clang's C++1z support: http://clang.llvm.org/cxx_status.html (scroll down a bit)

And gcc's: https://gcc.gnu.org/projects/cxx-status.html#cxx1z

Unfortunately neither supports constexpr lambdas at the moment.

Kristine1975··on Lambda expression comparison between C++11, C++14 and C++17
Yes, it is. Just write:

  [a](...){ ... }
and the variable "a" will be captured by copy.
Kristine1975··on Why free speech matters on campus
Archive link that doesn't require sign-in: http://archive.is/XxkBv

It's interesting that the article only talks about the threat to free speech on campuses by "safe spaces" and completely ignores the ongoing censorship of students/faculty members that are critical of Israel: https://theintercept.com/2016/02/16/greatest-threat-to-free-... (third section talks about campuses)

Kristine1975··on No Sane Compiler Would Optimize Atomics
Indeed. I just read the source at https://raw.githubusercontent.com/jfbastien/no-sane-compiler...
Kristine1975··on Theranos Executive to Depart Amid Regulatory Probes
How about this guy: https://news.ycombinator.com/item?id=11523822
Kristine1975··on Make it illegal for a company to require women to wear high heels at work (UK)
> She should've read the contract before signing.

The point is, the clause in the contract about high-heeled shoes should be null and void.

Kristine1975··on New US Army Tech Instantly Destroys Enemy Fire
I don't see the problem. Self-LART's have a long and colorful history.
Kristine1975··on Hashtags Instagram Won’t Let You Search
>so admins simply have to react

They should react in a fashion that does not involve blocking hashtags with multiple meanings.

Kristine1975··on New US Army Tech Instantly Destroys Enemy Fire
>so most children or children-thrown objects would not be targeted.

>most

Great/s

← PreviousPage 10 of 26Next →