skysight-inc/HackerNews huggingface dataset:
On the lists.
The terms mean that black is bad and white is good.

If you have a chat with a racist they'll also tell you that black people are bad and white people are good.

I'm no expert but language shapes how we interact and perceive the world.

It's like cultures that have different sets of words to describe different shades of colours. I remember reading how this gives people in general more or less of an ability to differenciate shades.

http://www.apa.org/monitor/feb05/hues.aspx
Mocking everything is the unwise conventional wisdom. It complicates the code base for no discernible benefit. In practice, mocks are only useful for external dependencies, and computationally heavy internal dependencies. Possibly not even the latter.

Why external dependencies are a good thing to mock is not just related to testing, it's related to code rot: external dependencies tend to change under your feet, so isolating them from your code base is a good thing, especially if you want to minimise vendor lock in. And for tests, it helps you simplify the test environment.

Internal dependencies aren't like that: they only change if you change them, and they're already part of your environment. Mocking them just complicates your code without simplifying your tests.

---

Now there is this idea that modules should be tested "in isolation". Imagine you have three classes, A, B and C, such that A uses B, and B uses C (and C is self contained). Without mocking, testing A will automatically involve B's and C's code as well. Mocking lets you test A alone, without the distraction of B and C.

This is mostly bullshit. If A depends on B all the time, there's no point into making B a parameter (dependency injection). It's simpler to just hard code the dependency. As for the tests, who cares about isolation? If A is only used when it depends on B, there's no point in testing it under other conditions. More generally, it is okay to pull in the transitive closure of dependencies when you test a component.

Of course, you should have tested each dependency (C, then B) before you test your module (A). That way you can mostly ensure the absence of bugs in the dependencies. For instance, if the tests for C and B succeed, and the test for A fails, the bug is probably in A. The order of the tests also matters for the test suite: if the tests for the dependencies are ran first, the first failed test should point to the failed module (instead of a user of the failed module).

Now if your program is highly stateful, you might have to mock. Testing a highly stateful program without mocking requires setting lots of bits of states, and making sure all the pieces of runtime state interact with each other as they are supposed to. But then the problem isn't the lack of mocking, it's the fact your program is highly stateful in the first place. Make your program less stateful, first, then it will no longer need mocking.

---

There is this mistaken notion that we should mock because if we don't, we're no longer making unit tests, we're making integration tests. The answer to that is simple: unit tests aren't the holy grail they are touted to be. Don't force them. If the dependencies are well tested (which they should be), then you can trust them like you would the standard library.

Besides, the integration tests will catch more bugs for less effort than pure unit tests (with mocking) would have done. Don't waste your time with mocking, just go catch the bugs.
I have health issues that make avoiding steep streets important for me. The problem with topo maps is that it's a pain in the ass to read them, specially in areas with lots of features, such as cities.

I like color-coded height maps, they can give you an intuitive feel for how a city lies on top of its terrain. It's very hard to make out moderate slopes though, e.g. if the city has high hills. I would most prefer a color-coded map showing the gradient.

Incidentally, if anyone has pointers to where this kind of map could be obtained (mostly for european cities in my case, but any resource would be helpful), I would appreciate it. Right now, I just try my luck with google when visiting a new city.
(Well that was a really subtle dig at systemd.)
Who trolled whom? According to Hill (and supported by the timeline) the revisions were at the request of the editors. In that case, it was these editors who wanted a political axis added to it instead of just publishing an "undergrad applied math problem" to get a discussion started.

There's a proud history of publishers helping each others against outside threats (eg in 1960's Germany during the Spiegel-Affair the right-leaning "Bild" daily paper provided office space and printing presses so the left-leaning weekly "Spiegel" could continue to operate after a police raid shut down their operation).

In that light, I'd love to see a publication of the paper in some journal, maybe an earlier version with less of the political cruft. Potentially prefaced with some explanation: "The following paper may not match our usual standards, but it was subject to political interference which is at odds with scientific freedom."

That would also allow open critique (with proper citation of its subject matter) instead of the back-handed mess that apparently went on for the last 18 months or so: You shouldn't need FOIA requests to find out about counter-points to scientific publications.
30 Day Vanilla JavaScript Coding Challenge
Prepare Your Skill Set for Web Developer Interviews – Part 2
> Australia first, your country next.

Absolutely, specifically if you're living in a country that is a member of the Five Eyes.

They've actually been surprisingly transparent that this is a coordinated effort. The Official Communiqué opens with:

> We, the Homeland Security, Public Safety, and Immigration Ministers of Australia, Canada, New Zealand, the United Kingdom, and the United States met on the Gold Coast, Australia, on August 28-29 2018, to discuss how we can better collaborate to meet our common security challenges.

Full read: https://www.homeaffairs.gov.au/about/national-security/five-...
But wouldn't that mean that the universe has an edge, like a Mobius strip has an edge?
One reason certainly is that the physical differences betwen individuals regardless of sex are bigger than those between sexes.

Also, the measurable physical differences in the brain structure of women and men are there but totally insignificant with regards to intelligence.

Side note, there is no way measuring intelligence based on a MRT-scan of ones brain.

Also, history might help, humanity had some bad experience with People judging stuff like intelligence based on visible physical differences. I suggest to leave These questions to actual neuro-scientists and not People who tried to apply mathematics to a question they didn't really understand in the first place.
I think the first one is the only relevant one in this case anyway
Some kind of redundancy?
FWIW, I've had pretty good success in getting non-techie friends and family to write in after showing them this video:

https://www.youtube.com/watch?v=eW-OMR-iWOE

It's very entertaining, and explains it in a way that everyday people can understand how bad it will be. I highly urge all Australians to either send this video out to your circles.

(No affiliation, it came up in a previous thread about this topic)
or better yet, read TFA ;-)

but you are right, it wasn't on purpose and I edited it though it's now redundant
The main issue with Wikipedia is that its main focus is providing references rather than being spot-on accurate[1], which is more useful for subjective and cultural subjects where the objective accuracy can not be trivially determined. For a STEM-focused platform, it would be beneficial to have a process where articles can only be edited if sources are provided (so there would never be a "citation needed" tag).

[1]: https://en.wikipedia.org/wiki/Wikipedia:Researching_with_Wik...
My backup WISP link is pretty terrible, and does up to 10 Mbps, barely 5 Mbps most of the time, even thought there is clear line of sight to the base station antenna, and using Ubiquiti gear, probably because the people are either inexperienced or overselling. 4G gets me 300 Mbps (now up to 300 GB for $9/mo, or unlimited data for $25) in a village of 904 people. (though I use two different antennas and connect to two base stations to obtain maximum speed from LTE with carrier and link aggregation.
A little off-topic: Is there a way to stream ORG mode text directly from emacs to emacs, eliminating the browser part?

Edit: Another way of saying this is blogging and blog-consumption directly on Emacs. I think it could be possible.
I believe he refers to the fact that all "important" positions are selected from the bottom/top tier.

We don't imprison random people from the population, we imprison the most aggressive (in case of violent crime at least).

We hire people with top IQ for engineering and science related endevours.

We promote people who work the hardest ("industriousness")

The most ambitious people get the top jobs.

It doesn't matter if on average two groups are the same for those qualifiers, if only the top 1% are selected, then you would expect which ever group has the flattest bell-curve distribution (and thus more "on the edge") to be over-represented (whether it is gender, "race", age). If it isn't, then racism/sexism/whateverism is at work.

Caveat: with top IQ in engineering, an important factor that only people who "like things more than people" apply, other way around for loads of other fields.
PNG filters each horizontal line of the image data before running it through Deflate, with a pre-processing step.

Each of the possible filters is very simple, but the difference between a great PNG exporter, a mediocre one, and a trash fire is the use of a heuristic to decide which of the pre-processing filters should be applied to each line of output. libpng, the free implementation, includes a heuristic that does a fairly OK job, if you just don't implement a heuristic and use no filtering at all, the results are enormous PNG files as seen in turn of the century Adobe Photoshop. So, no, a general purpose compression algorithm isn't very good for image data on its own.

(Choose for yourself whether you think Adobe wanted to discourage use of a popular free image format in favour of licensed formats for which it held relevant IP, or their development team are just incompetent morons, or both).
Someone should go back in time to inform DaVinci to make sure he refrains from all of that not-engineering work.

It’s easy for people to forget that the engineering came first. The students came after. You can argue the point all day, but it will always come down to one person figuring shit out by themselves.
> write your functions small enough to be readable, but not so small their abstractions are meaningless

More precisely, you want your functions to be deep. The interface to implementation ratio must be as low as is reasonable: you want to hide implementation behind interfaces that are much smaller than them.

This goes for functions (something with 5 arguments that takes 2 lines is too shallow, something with 2 arguments that spans 20 lines is deep), classes (something that is mostly getters and setters is too shalow, something with 3 methods full of business logic is deep), or anything else.

This is not just for testing, this is to make sure you can understand the program at all. Deep functions (and deep classes, and deep modules…), are also about good old decoupling: the less you have to understand about a piece of code to be able to use it, the better.
Show HN: Deep Learning T-shirts
Basing your "top half of females" behaviour on un-specified asumptions, failing to even hinting on what is "desirable" and then subjugating this model of society to some sort of statistical model was not my idea. nAgain not sure whether this was intentional or not or if I got your point wrong, after all we do not know each other.

But again, that is to much oversimplyfication for my taste. Especially when mathematics are applied without any relevant domain knowledge.
Extra hot publication batch №129 – FUNNY VIDEOS (VINES – COUBS)
> "Furthermore, what is described remains a backdoor, albeit a keyed backdoor. There is no requirement for backdoors to be universally exploitable to be considered a backdoor, it merely needs to provide an alternative entry point into the target system or protocol."

If someone just looking for holes in the law already sees this, what would the supposed to be knowledgeable politician do/think they are doing.

Note: It's wrong because you are creating a universal access point in encryption to violate the original intent of the encryption (which is end to end most likely). This would mean you sell/show end to end encryption which has a man in the middle no matter what you do. And if it is poorly implemented, which is often the case with backdoors, it is probably universally accessible. Even if they say it's not. As already stated by the author.
Quite a lot of code is written in assembler, especially if one is in the demo and cracking scene. Low level driver implementations are often written in assembler. Machine implementation details of the kernel are written in assembler. Operating systems are still very much the subject of much research in computer science and much there is still unexplored frontier, terra incognita.

The instruction set of RISC V is not intuitive and is very clumsy even by RISC standards: compare for example the SPARC V9b and RISC V ISA. Then there is the issue of RISC V ISA closely mimicking that of intel processors, a notoriously bad processor design and it's dst, src syntax to boot (although using AT&T style assembler can ameliorate that horrible state of affairs somewhat).

A processor with a very clumsy ISA that is hard for humans to memorize and program is going to be even harder for compiler writers and for the compiler. Then there is the doubt that we don't know what the performance of this hardware will be: is it going to be a number cruncher like UltraSPARC T5 or POWER7? Who knows. But compiler writers have struggled with writing optimizing compilers for RISC processors for a very long time, most infamous examples being Itanium and UltraSPARC. To make matters worse, UltraSPARC processors are very fast, and yet the code generated never took advantage of that speed until Solaris 10 and UltraSPARC T3. Judging by the ISA alone, it's extremely doubtful RISC V will fare any better: it's too clumsy.

Final nail in the coffin: re-invention of the wheel. There is already OpenSPARC. RISC V is a solution to a non-existent problem, marketed as the need for a fully open source processor, even though OpenSPARC's Verilog code is copyrighted under the GPL.

http://www.oracle.com/technetwork/systems/opensparc/openspar...
Map of EU funding in the UK
> The third, WTF?

Not really. A society where only 16% of men mate has 84% angry young men with nothing to lose. Expect a lot of violence, and not much careful consistent tending of the fields...

My understanding is that this is why state-sanctioned monogamy exists: it is a tool for avoiding this situation.
The timing of this story was incredibly suss. Right before they launched this campaign against encryption, and it just doesn't pass the sniff-test.

Why can't they do some old fashioned police work and interview the girls? Get a warrant and physically monitor his movements to catch him visiting them, or them visiting him? You know... investigate. It's what we pay you to do.

They don't get to treat every single one of us as criminals just because they can't be bothered getting off their arses and doing some work. If I tried to make that excuse to my boss (and I'm public sector like them), they'd laugh at me and tell me to get to work or find a new job.
The "opération Sentinelle" (the soldiers patrolling in France) is mostly for the show... It's currently the most expensive military operation run in France, and is one of the main factors in the rise of desertion in the army. The only time these soldiers had to fire was to protect themselves, since they are magnets for wannabe terrorists or crazy people...
Again, when looking at wealth disparity, these numbers immediately lose their meaning once you begin to remove regional and local context.

We must take into account what quality of life that salary will purchase for the location in which the worker actually inhabits. Not what that salary would purchase somewhere the worker doesn’t live.

With your example the US based salary of $55,000 is not 1% in the US. In the US a one percenter salary begins at ~$389,400/yr. The quality of life you can purchase with a salary is incredibly location specific.

A salary becomes meaningless once you remove location specific variables. This is why salaries vary for the exact same job depending on what city you live in—a network analyst in SF will likely make more than a network analyst in Keokuk, Iowa. Generally we try to get salaries to have equivalent purchasing power based on the local economy in which the worker will actually be existing.

We can’t meaningfully look at wealth gaps and disparities if we remove all context of what quality of life a local job’s salary can purchase in that specific locale.
Apparently, he published all of his code (I didn't see any mention of where). Regarding the color -- he mentions being careful with the palette, but I wonder how he gets it to turn out correctly (assuming it's RNG). It seems like you would have to keep generating new instances until you find one that looks pleasing.

One algorithm that comes to mind:

1. Choose a color palette and initial resolution.
2. Implement generative features at current resolution.
3. Generate the output and until it "looks right".
4. Increase feature resolution.
5. Go to step 2.

In other words, one could keep generating prints until the locations and extents of the sampled colors "looks right", then keep the random seed and continue implementing finer details until they "look right", etc.

This will be the second time I drop this on HN this week, but check out Primitive Pictures[0] if you are interested in this kind of stuff. Also, I highly recommend Schiffman's YouTube channel[1] which goes into depth on how to get started with processing (and p5.js, the browser/canvas version). Note that the artist in the article learned how to do this by reading Schiffman's book, which is covered in a series of tutorials in the linked YouTube channel.

[0] https://github.com/fogleman/primitive

[1] https://www.youtube.com/channel/UCvjgXvBlbQiydffZU7m1_aw
True, but at this point it becomes your job and not something you're /just/ doing for fun. If you can't find a way to tolerate making content that pays the bills, then perhaps the entertainment business isn't right for you.
The middle ages started after the fall of the western Roman empire.

So there was more exposure to different races that what's conventionally thought by people in the time periods.

Like a across the Mediterranean from Greece and Italy is Africa.

Conquering Northern Africa have been a goal for centuries before that.

Also the middle East has also been a goal to capture.

So for millennia in Europe the idea of conquering the lands of darker skinned people has been a thing.
It seems to be published here:
https://github.com/manoloide/AllSketchs
Around 40, if you are not exercising, you will become noticeably weaker. After a while you start loosing muscle. Your back hurts. It is not possible to ignore it anymore, be it walking up stairs, during holiday or when outside with kids or just when walking to work. Exercising works. And it feels more pleasant then I remember it from younger age. Moreover things like running are not boring anymore (because you did not done those really fun things for years, so you cant compare.)

When your back or whatever hurts and when you have high blood pressure and what not, doctor tells you to do move more. Many people started those runs after healths problems started and sport really helps. The competitions and trying limits is really treating it the way the same people approached school, work, hobbies and pretty much everything in their life before.

Those 10k, 20k and marathons are achievements available to middle aged people. (5k easily reachable) We can run, we cant lift as much we cant effectively start sports that require flexibility or agility. In a lot of senses, these people are not doing anything different then their done whole their life wherever it was possible, except that they adjusted choice of activity to aging bodies needs.
Interesting stuff. All works of art tend to build on what came before, this does so in a much more direct way. At what point is something a derivative work rather than original?
You're making an awful lot of assumptions of both "educated, urban people" and "uneducated people in remote areas". We're all human and we all fall for these kinds of myths, just different ones.

Just look at "red pilling". Even with university level education it's easy to fall for various forms of propaganda, especially when it's "just the facts". White supremacists will happily cite "factual" crime statistics to nudge you into the direction of race realism and it takes conscious effort to understand that even if the numbers are 100% authentic that doesn't mean you can derive any useful solution if you just stop at "crime == black".

Everyone believes their life experience or education or "street smarts" means they're rational thinkers and can't be fooled. Then they get fooled. If we're lucky they realize it eventually. If not, they end up killing people.
I thought they weren't? https://www.forbes.com/sites/nathanvardi/2011/04/15/founders...
In the US, Barack Obama is considered black, even though he is half white. If that doesn't give you pause about "race"...
Best Police Shirts
This is also a natural consequence of globalization, and the increasing complexity of digital layers. At one point, it becomes impossible to have a 100% home grown solution, except maybe if you are really big, like the US or China.
Please don't drag politics into HN.. I know you can link anything to a ideology or government and start bashing it. let's not do that.
People are missing the entire point. This was never just about Australia doing it. It's a proposal by Australia AS PART OF THE 5 EYES to bring this in. They're absolutely planning for this to roll out to all the 5 Eyes countries.

If we really want to quash this, we need to start making that clear to everyone in the UK, US, CA, NZ, and AU, that this effects ALL of us.

They're just using Australia to launch it for this exact reason, 95% of the population of the 5 Eyes will think they're not effected, not fight it, and it'll pass. Then good luck stopping their momentum.
I know art is whatever people describe as art but I can't really get behind this specific kind of creation. To me this creates as much emotion as a gravatar and reminds me of my dabbling in fractal art. Just hit random until something nice comes out.
Thanks for this response, this is very helpful. I will update post with this concern
Or maybe, what's actually argued is something slightly different.

Hah, you can't try to sneak out of this using the tangential Gell-Mann lifeline. You said something along the lines of 'Hard to call it idle cynicism and incuriosity because [overt expression of idle cynicism and incuriosity]'. That's plainly silly.

As to this 'effect' itself, I've always found it strange it's given the weight and consideration that it sometimes is. I'm no Crichtonoscopist and I've never seen the full text of his remarks but given it was a bit in a speech delivered at the "International Leadership Forum" and arrives at the conclusion media is useless, I'm guessing it wasn't meant entirely seriously. It's a little amusing anecdote and morsel for thought in a talk - not some expression of deep insight and hard-hitting media criticism. If someone had come up with it on HN, there'd be legions of black-belt logicians leaping in to check off the fallacies (appeal to authority? confirmation bias? the dreaded 'anecdata'? plain old vanity? it's got it all).
Wedding Invitations Under $1 – Cheap Wedding Invitations