skysight-inc/HackerNews huggingface dataset:
"`baz` is associative and `quux` is an identity element."

(Though normally the latter would be more like "`quux` is a noop", "`quux` is an empty set", or whatever domain-specific term you need, and the associativity claim would be a brief parenthetical inside meaningful documentation.)
Absolutely a possibility.
Ask HN: Internships in Social Work
I have a friend in college with me who is looking for internships in Social Work. She's had a lot of success finding smaller internships around our university, but I don't think she found any of them really fulfilling. I believe she's looking for larger opportunities in cities like Chicago, but usually she's told that these opportunities are only available for graduate students.

I wasn't sure how much truth there was to that statement (I'm a CS major), and please let me know if there is/isn't. But perhaps more importantly, I'm trying to come up with some tech companies or social startups (large or small) that might be oriented enough in the Social Work direction to be fulfilling for her.

Does anyone have any ideas? She's doing very well academically and extracurricularly, and in general she's an amazing person and I'd like to see her able to do what she loves to do.
Do the Greeks have the same issue?
Thanks for sharing, It's interesting to hear how was the acceptance of other team members to the project moving into a different language ?
Don't let the name fool you. OpenAL is a closed-source library, much like Wwise or FMOD or PortAudio, that just implements playback. Bizarrely enough, it is also the only one of these APIs that uses a similar "play this buffer" approach and suffers from the same issues as Web Audio's memory management, just without a GC.

The actual audio equivalent to OpenGL is OpenSL [0], which I don't think picked up any support from anybody.

[0] https://www.khronos.org/opensles/
> you're going with "resolved: works on my machine"?

We're on a casual forum, all evidence here is anecdotal, and I don't work for Apple, so yeah.
If we don't speculate at all, we're left with the following bullet points from news articles this year:

- Michael Flynn was paid by Kaspersky to speak at its seminar (probably nothing, but mildly interesting)
- US Intel community considers Kaspersky to be an arm of the Russian government
- Kaspersky employee arrested in sting by Russian government for treason
- US Intel officials believe Kaspersky employees in US engaged in espionage
- Kaspersky employees investigated/interviewed in US by FBI
- Coincidence of a Russian military intelligence unit's ID in a certification for Kaspersky software
- Kaspersky denies it will ever work with any government on cyberespionage

Take all of that, and ask yourself this. Would the US govt, which already had suspicion to remove them, and had been getting the ball rolling since at least May or before then, ask them to spy on behalf of the US in Russia, and if they balk, remove their funding and damage their reputation?

To me that's real reason: they wouldn't play ball.
Someone on reddit [0] seems to have signed up for that option accidentally, so it would appear they don't require any documentation.

[0] https://www.reddit.com/r/personalfinance/comments/6zrwdd/soo...
I don't need to publish or develop them. I need to install them. It's frequently needed for testers.
SO discussion on “sharpening the saw”
That's not helpful at all. Yes, addiction is "filling" "something" "broken". Now what?
So, I am reading an article written by Chelsea Manning about trust and confidentiality. Am I reading this right? Is this where we are at now!?
Show HN: The Yak is Back
In what way is the specific name relevant? What alternative name instead of monoid for a monoid do you have in mind that would accomplish this goal?
Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading
I find it interesting that the article includes a German keyboard that doesn't include the proper ,,'' (or ,') quotation glyphs. However it does include grave and acute accents as well as French primary quotations (<< and >>) though not the secondary guillemots (quotation characters < and >) none of which are used in German text.

And of course I used ascii analogues to type these into HN :-(
Note (and I've seen this in a lot of apps/sites) that you should expect to not receive an email from a Facebook login. I explicitly do not share my Facebook email, and every website that wants to do Facebook login fails to notice that and ends up in an undefined state.

Your site `/dieu/rest-auth/facebook/` endpoint crashes (because I assume it expects an email and doesn't get one)
Having an internet connection as a requirement is "disconnected from reality"? In 2017?

I travel the world quite a bit and it's quite difficult to be offline, in any populated area of non-trivial size. Whether it's South-East Asia or Europe or South America, I'm never far from some kind of WiFi access point.

Where the heck do you live ???
Quotes and Accents
If I need a special character, I find a web page or document that has it and use copy/paste.
So how do you harness the knowledge that many of the best ideas that have been thought up weren't the original intention or objective. I don't get the point. I think this is saying something like, only fate will create something extraordinary. This is useless nonsense.

Most of the claims of the video and article seem to lead nowhere, or are commonly known and while mildly interesting, are easily explained by logical observation and analysis. Knowing them doesn't help get you anywhere (that would be an objective). If there is no objective to the video, then why watch it. This is starting to sound like some kind of relativism.

The success of PicBreeder is accomplished by individuals ability to see interesting things evolving and the vast number of real world similar objects they had to choose from. Of course an algorithm cannot replicate that because it is not creative. This does more to dis-prove natural evolution IMO because the images that took shape required creative intelligence to facilitate them doing so. As to the point of the final pictures only appearing when there was no particular objective, OK fair enough, but how does this help us? What new thing did we learn? We know that many inventions and innovations were discovered this way. Why is it an epiphany? The computer could not create a recognizable picture because it was only given one. If it had the google images library to match to, it would certainly come up with some very great pictures.

On the Living Image Project, The recognizable images didn't happen, because different people saw different things and voted different directions. This failed precisely because there was no objective. If the Living Image Project stated an objective (A teacup for example), it would have had far more success. This just goes to show that objectives are important because in the real world, there are needs. If the article and video was useful, it would have revealed something helpful about how to fill needs (objectives) in a better way. The majority of problems are solved with objectives in mind. This article and video never seem to recognize that. The conclusion almost seems to say that attempting to fill known needs is a problem in the world today.

In the Novelty search demo that was shown, the biped that used the novel behavior algorithm walked better than the farther distance algorithm only explains the constraints that the failing algorithms had. All it proves is that when an algorithm has more choices to explore, in many cases it did better. To me this would be like telling someone to build the best house, car, ETC but only use the knowledge from 3 books. Tell someone else to do the same but use the internet, unlimited books, Talk to people ETC. Should we be surprised at the result? Kenneth Stanley seemed to be, and seemed to think it revolutionary. What new thing does this teach us in practical terms? Nothing. More stepping stones mean a better result. This is common sense.

It is no wonder the National Science Foundation would not give this guy any money. He hasn't taught us anything new. I want my 30 minutes of life back.
As is evidential within that wikipedia links's first paragraph, there are different definitions of "hate speech," and its difficult to properly regulate. Above that, the US has a long tradition of upholding the liberal values of philosophers John Locke, and John Stuart Mill. And the latter even argues that it is unethical to limit things considered as hate speech. Its not necessarily a failing, it is by design.
Great article, but if your loved one has an opioid addiction and wants to quit without suffering the devastating withdrawal, I would strongly recommend investigating kratom. It is a non-opiate tree which grows primarily in Thailand and similar regions. It contains an alkaloid called mitragynine. This alkaloid is a selective opioid receptor agonist. Specifically, research shows that it is an agonist to several opioid receptors but particularly an antagonist of the receptor which causes respiratory system depression, and is thought responsible for the primary addictive nature of most opiates and synthetic opioids.

It is legal in most of the US (I believe there are 1 or 2 states which have banned it, it has a long history by now in US law. A year or so ago the DEA announced to Congress the intention to schedule it (ban it) under their 'emergency' powers (which is bullshit since there are no deaths from it, and it remains mostly unknown, those 'emergency' powers are simply abused). After that announcement, they were required to consult research and doctors, along with opening a public comment period. Afterward they withdrew their intent to schedule it. So, for now, it remains legal.

Its effect upon a person with no opioid dependence is at low doses similar to caffeine without the 'jittery' part and without the crash afterward. In larger doses it has mild analgesic and sedative properties. I've taken Vicodin after I had my wisdom teeth removed, and have also tried kratom, and not even in large amounts have I ever experienced it giving any sort of similar 'high'. It is mildly habit-forming of itself, but very mildly compared to opiates. Withdrawal after extensive use might consist of having the sniffles and feeling a bit restless for a day or two. With tapering dosages down rather than sudden cessation, nothing is likely to be noticed.

Reportedly, kratom ameliorates most, if not all, withdrawal symptoms from things like Oxycontin, heroin, etc. Expecting people to go through withdrawal is inhumane and stupid. We can deal with it without the suffering. Kratom can be gotten online from multitudes of vendors. Please steer clear of the "legal high" and 'weed shop' variety of places. In addition to being radically overpriced, their association does active harm to the community of people who use kratom reasonably. Stay away from extracts and concentrated forms (although those seem to have mostly gone away from most outlets, they were big for awhile and were bordering on dangerous) and just get simple crushed leaves. If you or a loved one wants to quit, kratom will let you do so without ruining your life.

If your loved one does not want to quit, because doing so would expose them to the full pain (emotional, physical, OR psychological) of a life they hate and which they feel traps them... your problem and theirs is not the drug.
I usually leave it closed unless I'm looking at a large/unfamiliar project. That said, any application I've ever used that offered a file tree placed it on the left and I never thought to question it. What's your motivation for it being on the right? Do you keep your desktop menu on the left or something?
I don't understand the subcontext of your rhetorical question. Could you explain why this would be a problem?
No, the Greeks have the issue of having half the population of Moscow, which makes them even more of a niche market.
Amazing educational video, and really well executed.
tome speaks the truth. More generally, in mathematics there are hierarchies of structures [0]. In this case monoids are both groupoids/magmas (a set with a binary operation returning elements of that set), and semigroups (a set with an associative binary operation returning elements of that set). Monoids add in an identity element.

Vector spaces have addition over vectors and multiplication of vectors by scalars. Considering vector spaces and addition only, that is a monoid. It also happens to be further along this hierarchy as you have commutativity, inverses, and other properties.

A bit like the statement: all squares are rectangles, not all rectangles are squares. We can say that all vector spaces are monoids (under addition), but not all monoids are vector spaces.

[0] https://en.wikipedia.org/wiki/Algebraic_structure
You also have to take in to account all the rents you saved (dividends on stocks are peanuts relatively).
Show HN: How Products/Projects Got Their Name
I’m sure there's a way to define the main function above in an Applicative fashion, but my Haskell isn't really up to it!
This is a known weakness with differential privacy. Depending on how much noise you inject into your data, your analytics either approach meaninglessness or the privacy decays.

The hype machine surrounding Apple did not want to hear this and were just caught up with the idea "Apple could data mine you while maintaining ur privacy".
> I realize trying to subvert any Canadian border search is not a good idea

Erm, I don't see how you'd be "subverting" the search. The purpose of a border search is to examine what you're bringing into the country. If you smoke marijuana at home but (prudently) don't try to bring some into Canada, that isn't subverting their search.

The latest time I returned to into the USSA (a while ago), I had an old laptop that I zeroed out the hard drive and physically moved it out of the computer. I figured this would leave the thugs with less justification to steal my things. However, I lucked out and was not actually subjected to an invasive inspection.

Also, I don't know what you've previously used this burner phone for, but any flash filesystem won't actually erase things when you delete them.
If you read between the lines this is the broken window fallacy: We need people to make useless junk in order to have jobs.

But now there is no one making sure the useless junk stays popular, so less jobs.

Except that's exactly the broken window fallacy: We could instead spend that money on other things.
1) Make a better client that's bug for bug compatible.
2) Get everyone to adopt it.

Easy.

bitcoin-core is a reference implementation. Just because 'the code base is shit' (it isn't, compared to many I've seen/worked on) doesn't mean it can't be a reference. If you can make a better bitcoind then use it, if it's so much better and you trust it with your bitcoin.
Hello, I created this for fun, although more professional tools are available for virtual trading this one is just focused on cryptocurrencies and for the fun aspect.
The cryptocompare's API is used.
I am willing to develop this a bit further, currently it's just a day old project.
People don't think God is literally a shepherd or he literally makes people lie down beside still waters. It doesn't mean they don't think psalm 23 isn't true. They just read it as a poem.

Part of the problem is that people used to call something "fundamentalism" but then the word "fundamentalist" started being a negative word and people had to find some other ways to describe themselves.

When people say they are "biblical literalist" (yeah, words drift), they basically mean that they trust the Bible to be absolutely trustworthy. It doesn't mean they don't practice critical analysis such as accounting for genre. It does mean they don't, say, commit adultery because "the Bible isn't literal".
Introducing GitHub Enterprise 2.11
U.S. officials looking at Apache vulnerability as cause for Equifax breach
> The hard problem is hard because it seems something deep in science and reality itself would have to give way to come up with a real solution.

An alternative is that qualia doesn't real exist (or doesn't exist beyond being a vague description for emergent properties arising from our cells) and that "consciousness" is a vague term with no clear definition. It's like if someone came up with a "hard problem of ghosts," and said that there wasn't any good alternative to where ghosts come from besides dead people.

It can be difficult to come up with an opposing theory as to why something exist if you don't believe that it actually exists. This isn't because the question is hard, but because you find the premise to be completely flawed.
Startup idea: Let people pool money to buy larger lots and do exactly this.
Please answer me this one question: What is the average number of bits that are necessary to represent an arbitrary natural number?

If the average number of bits is finite then I will shut up!
as a normie (at 5'10"), I've definitely noticed this
I was bothered by saying that static memory is assigned on the stack (implied that it is only on the stack). As an embedded guy, at least in bare metal situations, local function statics, any const variables, and any globals are either in the read-only data section[1] or in the general data section[2], both before the heap and definitely not in the stack section.

[1] - .rodata section in gcc

[2] - I think this is in the .data and .bss sections, where .data is copied from the file and .bss is zero initialized before calling main by the crt. If you peak into a linker script, or dump one by passing --verbose to ld, you can even see where it puts all the C++ bits and pieces. A dump I did on Debian with g++ is here: https://gist.github.com/Phyllostachys/0682a3bda13ef9c6b49d04...
from functools import partial

def rem(i, n, message):
return message if not (i % n) else ''

[(''.join([
partial(rem, message='fizz', n=3)(i),
partial(rem, message='buzz', n=5)(i)
]) or i) for i in range(1,101)]

vs

{-# LANGUAGE MonadComprehensions #-}

module Main where
import Data.Monoid (mappend)
import Data.Maybe (fromMaybe, listToMaybe, maybe)
import System.Environment (getArgs)

fizzbuzz i = fromMaybe (show i) $ mappend ["fizz" | i `rem` 3 == 0]
["buzz" | i `rem` 5 == 0]

-- mapM_ is our iterator, putStrLn writes to console.
main = mapM_ putStrLn [ fizzbuzz i | i <- [1..100] ]
Even Haskell doesn't have a way to declare a value precisely of type Bottom.

As far as the connection with monoids goes, Bottom is a subtype of all types in the same way that the empty element of a monoid is a "zero" of the elements of the monoid. I don't know if that helps, but the similarity is that the types form a lattice, and so do the elements of the monoid. AIUI lattices (in the mathematical sense) have top and bottom elements, and in between they look like a DAG...
journalists have processes to check sources. Don't buy into this 'mainstream is fake news' nonsense that's desensitizing the US to facts
I've been lurking here since it started. It's not patronizing - it's pointing out a basic statistical fact. Has the bar on HN truly fallen so low that pointing out that anecdote != data is now considered rude?
About trust and confidentiality... of citizens' private data. By contrast, she leaked military/diplomatic documents and footage. Not exactly a 1-to-1 parallel.
"Most Linux distributions do not provide an optimal configuration for running high load web servers out-of-the-box; double-check the values for each kernel param via sysctl -a."

This is not true, if you run Debian / CentOS7 / Ubuntu, out of the box the settings are good. The thing you don't want to do is start to modify the network stack by reading random blogs.
> any non-profits ... working to increase people's sense of community at a mass scale

You're describing most religions that I'm aware of. Say what you will about their beliefs, but most of them (definitely not all) work hard to have an inclusive and supportive community.
There live a whole lotta tactics and activities between "ah, we don't like this promotion" and "this is not ethical."
In contrast, I, personally, have run into programming/design problems where monoids or semigroups seemed to be the correct level of abstraction to work at. People aren't appropriating language and concepts from algebra/category theory for no reason (well, perhaps some are), they're doing so because they find them to be useful tools when building and thinking about systems.
My stepson went through the fidget spinner phase in about a month, I think he has a dozen of the damn things I keep finding them.

The longest he's stayed interested in anything is a cheap kite I bought him, so I think next year remote control plane.
ThanksMy company is not very strict about work hours, as in, you can decide to come and leave at your own timings but everyone stays pretty much 8 hours a day as a norm. My fear is that I will be seen as someone who doesn't want to do work if I leave early, but as other comments have suggested if I keep the expectations from me clear and deliver, reducing work hours shouldn't be an issue. If they see that I can do the work in only 5 hours a day, I fear they will increase the work I have. Does this usually happen? I'm a fresh grad so don't have much experience about how things work in the industry.
DC required or does relocation work?
> Withdrawal is hard.

Just to emphasize that:

Before my SO started working in a hospital, I had no idea that people going through alcohol withdrawal can end up in the ICU. They're ending up in an ICU because of the withdrawal, not the alcohol... That was really surprising to me.
It's been done one some laptops via Intel RealSense depth cams or similar hardware. Not sure if any other phones have featured this, though. The ones I've seen typically add the depth cam on the back for niche stuff like 3D scanning.
That 'this is your brain on drugs' thing with the egg and the skillet was heroin, not crack. I believe they did do a crack update later where the woman took the skillet afterward and destroyed the kitchen with it. To conflate humor and lampooning of those PSAs as not taking the actual drug issue seriously is not wise, though. Many people simply realize how useless, hyperbolic, and ultimately insulting those PSAs were.

If something is scary, you show the thing. You don't make up metaphors. Trainspotting and Requiem for a Dream most likely prevented more people from ever trying heroin than any government-sponsored PSA ever did.
Just profiled the page via Chrome's "Fast 3G" network preset. I saw 3.5 MB download over 21 seconds before the spinner disappeared. The DOM content was ready at 7.8 seconds – still far too long.
> OpenAL is a closed-source library

So are all official OpenGL implementations (MESA isn't official, last I heard). Doesn't stop them from being a standard and being used, although I agree they would be better if they were open source.
crack vs cocaine sentencing doesn't agree with you. It was clearly making the "black" crime of crack possession worse than the "white" crime of coke possession.

Obama got a whole law passed in 2010 to address it!
I'd love to live in your head for a day. It'd make for a great fear-based novel since you can somehow link a travel ban with... "the implication" ... the implication being "Yada yada holocaust." And at no point do you feel the need to really have any extra data points inbetween those.

Now let's apply the same logic to something that won't get applause. Violent video games. Yada yada. Columbine.

Clearly, we need to get rid of violent video games.

What's that? Oh... some of the raised hands in the room going back down as the room no longer feels the answer is obvious.
Moving Towards Science Fiction Thinking
Curses! Shame on me for commenting before thoroughly reading the article.
If there were one article this year I could force my family to process adequately, it's this one. Addiction is still seen in our group as a failure of character -- not raised right, not religious enough, not following the right path. This kind of advice is seen as 'soft', and that's a shame.