skysight-inc/HackerNews huggingface dataset:
Correction to title:
Drawing Proportional-Intersection Venn Diagrams

This seems to be only for two circles.

I was hoping for an algorithm for drawing any Venn Diagram. Here's n=7
https://78.media.tumblr.com/tumblr_m74i4eR9Ym1qa0uujo1_1280....

Might not be the most efficient way to get proportionality, but it would seem that making the set boundaries elastic and putting a proportional amount of non-overlapping particles within the corresponding regions may draw a 'good enough' picture.

Sort of like in the type of graph layout algorithm https://youtu.be/_Oidv5M-fuw

I find this kind of physical approach to 'optimization' entertaining. With quotes because it need not converge/terminate.

In the book "The Mathematical Mechanic" by Levi, there's even more examples like a physical model for solving an optimal location problem in 2D (minimize sum of distance from a source to fixed locations, choosing where to place the source) by setting up weights connected by strings to a ring denoting the optimal location of the source. It also claims to prove the Pythagorean theorem by a prism-shaped water tank construction.
Stealing data from an air gap using power fluctuations as covert channel
TED 2018: Technology reveals fear and other emotions
You're not counting the fact that a refresh may require developers to get back to the app state right before refresh.
The day I decided to break from my parents
PostgreSQL like many SQL engines has real cost in doing separate queries, and the query analyser does a lot of work to "understand" what you mean (and may need a lot of guidance in the form of indexes), but in kdb+, a lot of these queries are simple and obvious to a q programmer, and doing it across multiple statements creates opportunities to understand what you're looking at -- and with little-to-no cost.

1.

fake:2017.02.01+til 28
t:select sum amount by legit:payment_date.dd from payment
t:update fake:legit from a where legit in fake.dd
select from t where amount > 2000

2.

string[2]," times "," 2 equals",string[2*2]

3.

t:desc select sum amount from payment by customer_id where payment_date.mm = 4, payment_date.dd within 10 13
/ or obviously clearer if you know the year:
/ t:select ... where payment_date within 2017.04.10 2017.04.13
d:exec distinct customer_id from t where amount > 30
select first_name, last_name, email from customer where customer_id in d

only want the top 5?

d:5#d;

4.

Tables are a data type (unlike SQL) so this is much simpler:

tbl_1:([] some_day:2018.04.01+til 15; an_amt:2.43+2.266*til 15)
tbl_2:([] some_day2:2018.05.16+til 16; an_amt2:15.43+1.03*til 16)

5.

No need for a query:

count film
count where film.rating="G"

or remembering this is a vector language:

sum film.rating="G"

count of each rating needs a query though:

select count i by rating from film

6.

An excellent opportunity to see value sharing syntax between function application and indexing:

m:`gold`bronze`platinum`silver!`gold_group`bronze_group`platinum_group`silver_group
m:m!`$string[m:`gold`bronze`platinum`silver],\:"_group"; /shorter

update member_status:m member_status from `reward_members where member_status in key m

7.

awards_to_honor:select expense_amt, member_status from reward_members where member_status=`gold_group
save `:awards_to_honor.csv
Chance to pay link tax? This thing basically makes news aggregation unprofitable. It's better to just make up your own news stories. Maybe even get sponsored by Russia if you make ones beneficial for them.
The physical nature of the device needs to match up to human abilities and needs: so I always ask questions about visual angle, resolution, pointing, drawing, typing, extensions of the hardware (especially via software), capacity, speeds that match to human nervous system, etc.

The software nature of the device also needs to match up to human abilities and needs: so I always ask questions about the GUI, how does it help in learning itself and other things, what kinds of things can I see and contrast and compare, what kinds of things can I do by programming, what kinds of things can kids do by programming.

And so forth. What do you think?
Open source is only great when it exists. For finite element analysis, there are only two generally useful open source products and neither of them has a remotely modern or easy UI. For $10,000 or so, you can get a proprietary one that's fast to use and doesn't have you hitting a brick wall when you find there's some key feature it can't do.

UI is a major failure of open source - it can hardly ever achieve it, at least not well. Most of the popular open source programs have no UI at all.
I think we need to distinguish between "lobbying", which is basically just talking to politicians, and campaign funding which is so close to legalised bribery.

The big question is "why does America seem to have no effective consumer lobbying groups"?
> Kicking the crap out of Google in the courts is the one good thing Oracle is doing.

Could you elaborate on why this is a good thing?
My question to you might be off topic. I am not a native speaker. Is your use of "a couple of" indicates a few or STRICTLY TWO?
“Kremlinology” has frequently been used, for study of (or, in practice, often speculation about) the inner workings of any secretive organization.

https://en.m.wiktionary.org/wiki/Kremlinology
That's exactly what Waymo does...

>“We’ve staged people jumping out of canvas bags or porta-potties on the side of the road, skateboarders lying on their boards, and thrown stacks of paper in front of our sensors,” Waymo said in its report.

https://www.washingtonpost.com/local/trafficandcommuting/way...

>For media day, they put on three of them. In one, a Honda convertible abruptly cut off one of the Pacificas just past an intersection, and the Pacifica braked to avoid it. In another, a car obscured by two parked vehicles suddenly backed out of a driveway. Again, the Pacifica came to a halt. The third was a faux moving-day scene, with a couch in the street and boxes tumbling into the lane, just as another car approached from the opposite direction. The Pacifica knew better than to swerve into the car. It braked until the coast was clear.

https://www.washingtonpost.com/local/trafficandcommuting/a-g...
50% of the time;
Film records the image when stationary in the camera.
Almost all movie cameras use half the time replacing the last film 'frame' with a new one: '180degrees' of the shutter cycle.
Thus, if you film a Dolphin jumping, he is recorded as a broken series of blurred stills ('trails'). A 48th of a second is missing during frame replacement, a 48th of a second is recorded, but his movement smears the image.
Humans see this flicker, so film projectors break each cycle into 3 flickers....

Sorry, to many words..........
Take your five year old to see the film 'Gandhi', the flicker and strobeing is unbearable.
I (and probably the vast majority of people) don't have to do any calculations to know I'll have less than $24,000 in deductions because $24,000 is ridiculously high amount.
What about your team?
TED 2018: The smart home that spied on its owner
Don’t be ridiculous. Humans are going to work there. Humans are going to earn money there. And “a corporate leech?” You mean a company that actually builds stuff? Without this factory, what would you have the local residents do, get high on opiates or meth?

Government are the leeches.
On the Waste Isolation Pilot Plant 10,000 Year Marker System
That's when you leave a friendly note. But I guess you are not supposed to think for yourself. Just react.
I feel your pain. Tried moving away from bower + simple gulp concat to pure NPM and webpack on an old angular 1.x app. Ouch.

Webpack as of now reserved to just vendor. Porting the whole app over will take a significant amount of work. I don't have that at the moment, not with 2 or 3 deadlines on my plate!
The webpack "schema" is extremely complex and dynamic in shape. You can often return a scalar, or an Array, or some objects with various optional keys for the same config option. That choice has a cognitive price and documentation fails to document all this in a sane maner.

Also, even the most popular webpack plugins have trouble tracking the latest version of webpack and you often still have blocker bugs months after a release, so you often have to try many, many combinations before your workflow does what you want.
The Next 100 Days After My SaaS Side Project Launch
I believe the apathy you express is more dangerous than words can describe.

What we see in the article is the most healthy, highest functioning form of government -- disparate interests working through the system to resolve their interests. If the pervasive and infectious apathy your posts contains were more widespread, the whole system would break down, as one party dominates an apathetic counterpart. This is why they must fight, if not to promote the highest form of government, then to protect their homes.

That being said, not sure where ya live, so maybe it's different around there.
It's not my idea, or a new idea. All the same I couldn't find a good reference. This [0] thread should give you an idea of what I'm talking about and hopefully someone else will come along with a better link.

[0]https://news.ycombinator.com/item?id=9397489
I suppose for the same reason as is speculated in the article; you can only focus on the moment when you're on a bike.
The code is neat, but given how terrible humans are at comparing areas[1] (particularly odd shapes like this), is there any point to making Venn diagrams proportional (other than filling your own deep OCD desires)?

1: See also: Pie charts
Nothing can be done about open corruption like this until money is taken out of politics. Since the Supreme Court has ruled that this can’t be done by banning donations or limiting political advertising, the solution is to reduce the size of each electorate so that politicians don’t need to raise truckloads of cash in order to run.

If there were only 20,000 voters in each district then people would be able to run (and win) on personally meeting all the voters. No need for advertising and the money this requires. If you got rid off all the political staff then it wouldn’t even cost anymore.
It seems that the early exit (the return false) in the middle of the loop prohibits the compiler from vectorizing the loop. The compiler can't know if part of the memory is inaccessible and so reading memory not being sure that the loop would run up to this point is illegal.

If you introduce a result variable and set it during the loop, the compiler can vectorize the loop. At least icc does, but I didn't play with the compiler settings of the other compilers too much.

Also compilers can still exit the loop early and at least MSVC does, because a segfault is UB and can be "optimized away".
The fact that it's happening and we're still alive.
yes but pgcli, https://www.pgcli.com/
>Secondly, why are people re-electing the politicians who suck up to Intuit then ?

In US you have less choices AFAIK, just seen yesterday that one party owns a big TV network and some HNer commented that the other party should also buy a similar big network, there is no consideration that maybe there should me more then 2 choices, from what I see from outside US is that it is impossible to have a 3rd or 4rd option so you have to chose between 2 bad options each cycle.

If I am wrong please correct me, again this is how the things appear from us outside US (I never heard of a 3rd party or 3rd president candidate with a real chance)
Show HN: Devilbox 0.13 – the last dockerized LAMP stack you'll use for local dev
Simple work tracking for freelancers
Jet engine and gas turbine are not same or that similar.
> No, it's not, in general; the purpose of representative democracy is to allow the actions of the state to give effect to the desires of the people, on the premise that even most people with the requisite ability to effectively decide how to give effect to their desires aren't optimally employed spending all their time figuring out how the state should do that.

That's one argument for representative democracy (and, I think, the best one for why participatory democracy is tricky) but it's not the intention behind existing representative institutions, at least in the US and the UK (and the countries who inherited different parts of our systems).

Edmund Burke's address to the electors of Bristol contains one of the most famous declarations of this principle: 'Your representative owes you, not his industry only, but his judgment; and he betrays instead of serving you if he sacrifices it to your opinion.'

The Federalist papers show that the US model was also not designed to operate as an efficient aggregator of citizens' opinions, but more as a means of the public endorsing competent and honest representatives to govern on their behalf.

The classic book-length exposition of this model (which is basically modern elite orthodoxy) is 'Capitalism, Socialism and Democracy', by Joseph Schumpeter. David Held's 'Models of Democracy' is a good comparative text, though there are lots of those to chose from.
>We, the members of the Libertarian Party, challenge the cult of the omnipotent state and defend the rights of the individual.

>We hold that all individuals have the right to exercise sole dominion over their own lives, and have the right to live in whatever manner they choose, so long as they do not forcibly interfere with the equal right of others to live in whatever manner they choose.

>Governments throughout history have regularly operated on the opposite principle, that the State has the right to dispose of the lives of individuals and the fruits of their labor. Even within the United States, all political parties other than our own grant to government the right to regulate the lives of individuals and seize the fruits of their labor without their consent.

>We, on the contrary, deny the right of any government to do these things, and hold that where governments exist, they must not violate the rights of any individual: namely, (1) the right to life—accordingly we support the prohibition of the initiation of physical force against others; (2) the right to liberty of speech and action—accordingly we oppose all attempts by government to abridge the freedom of speech and press, as well as government censorship in any form; and (3) the right to property—accordingly we oppose all government interference with private property, such as confiscation, nationalization, and eminent domain, and support the prohibition of robbery, trespass, fraud, and misrepresentation.

>Since governments, when instituted, must not violate individual rights, we oppose all interference by government in the areas of voluntary and contractual relations among individuals. People should not be forced to sacrifice their lives and property for the benefit of others. They should be left free by government to deal with one another as free traders; and the resultant economic system, the only one compatible with the protection of individual rights, is the free market.

- The American Libertarian Party Statement of Principles

https://www.lp.org/platform/
Jupyter is an amazing and useful piece of software. I agree that its openness is important, that its flexibility in producing content is excellent, and that it deserves to be the current hotness. But I'm afraid

> Now, Jupyter is the unambiguous technical leader.

is pure fantasy, imho. SymPy is still two decades behind Mathematica in large swathes of symbolic computation.

It may be that, for the things that the author wanted to do, the Python libraries were a good fit (it seems he was working on NLP), but overall, I just don't see it.
I have found the sentiment to be more "we don't need macros, we have a proper type system/laziness/whatever".

I know enough Haskell to know that many of the macros I would use in scheme aren't necessary, but it is not like the good parts of compile time code generation are completely negated.
Worth remembering that it's not always true - some people have genetic predispositions if I'm not mistaken.
If humans are bad at comparing areas, more the reason to have an algorithm for drawing equal sizes.
When your getting the thing done, So what?
John Ford would just tear pages out of the script to make the bean-counters go away.

See, this guy loved this bacon, but the store ran out.
So he found a wrapper and drove out to find the farmer.
No one was around. Wandering, he finely came up on the farmer holding a pig up into an apple tree.
"My God, how much time does that take!"
"Whats time to a pig?"
I have a friend that is recently diagnosed with a bipolar disorder (he just had a hypomanic episode followed by a psychosis). So I think he should be hospitalized to learn more about his bipolar disorder. The problem is that if he wants to be hospitalized, he needs to take medication (which he is hesitant about). The care is really good and includes psychiatrists. I’d love to hear people’s opinion with a bipolar disorder on using medication. When do you recommend it and what do you recommend? What would you recommend my friend to do?
Like a headcrab from Half-Life :)
Since the info presented in the article is totally new to me, would you say this book is a good intro to a non-scientist on this entire topic?
I work in a noisy environment and many of the intros are quite brief as a new starter is being shown around and I’m busy doing my job, so I’ve taken up quickly jotting it down.

But in other situations the repartition method has and does work really well too. Also, immediately introducing the new person to someone else works strongly too.
"Hungarian Notation is the tactical nuclear weapon of source code obfuscation techniques; use it! Due to the sheer volume of source code contaminated by this idiom nothing can kill a maintenance engineer faster than a well planned Hungarian Notation attack." /.../ "Insist on carrying outright orthogonal information in your Hungarian warts. Consider this real world example a_crszkvc30LastNameCol. It took a team of maintenance engineers nearly 3 days to figure out that this whopper variable name described a const, reference, function argument that was holding information from a database column of type Varchar[30] named "LastName" which was part of the table's primary key. When properly combined with the principle that "all variables should be public" this technique has the power to render thousands of lines of source code obsolete instantly!"

:D :D :D :D
We have some retrospective research though, although I'm not sure the causation was shown, not just correlation.
That is a very inexpensive area. Racine isn’t San Francisco. You can buy a house for $100,000 there.
They'll just arrest you: https://www.apnews.com/525a1ba9c9234ce0843cdd88146a517e
Creating jobs. How terrible. The alternative is no factory, no jobs.
> Catching up is kinda easy when you can just copy

That's easy to say now but no other country achieved that at that time. Especially not in a such a short time, it was an impressive feat.
If you have to file in France and the US she/he probably needs to file 1040 and 1116. And if you live outside the US you can't file online. Because the US is decades behind in this stuff.
The only solution to this is to get away from centralized sites. This pattern always happens, and people move from one popular site to another every few years because if it.
Note that Skylake-SP and Xeon-W/i7/i9s behave very differently in this regard. On Skylake-SP (eg Xeon Silvers like they're using) it's over 50% clockrate reduction when AVX-512 is in the pipe, on Xeon-W and the HEDT chips it's more like 10-20%.

https://twitter.com/InstLatX64/status/934093081514831872
The main difference sadly break most of the analogy.

Because a pod is far from the granularity of a process. It is closer to the granularity of an application, the biggest abstraction that OTP gives you.

What that mean is that k8s does not have the same property than erlang. In erlang, isolation is your go to tool. If you need something, you spawn a process. Having a lot of really granular process makes scheduling on cores easy, makes your design easy to crash because the blast area is small, and makes it really cheap to have message passing in the core of the VM.

In k8s, any networking is hard, hence the current trend of service mesh. As the unit of computation is bigger, supervision get harder. Building a supervision tree is more expensive. And crashing and restarting get more expensive too.

K8s has the advantage of being language agnostic ofc. But do not forget the paradigm shift that having really cheap process give you in an integrated environment like the BEAM.

And ofc, i have not even talked about the dynamic tracing that the BEAM gives.
Depends on a source of depression - some people may have genetic issues with serotonin path (just like ADHD people have with dopamine, or diabetics with insulin). Fortunately anti-depressants help out with this.

There is a nice book, "Listening to prozac", written by a psychiatrist who originally believed everything can be cured by therapy, but finally admitted that some people need to stay on anti-depressants for the whole life, since the source of their depression is neurologic.
I don't believe you need to read any of their clever commentary to use the service. You can ascertain the purpose of each screen by looking at the available options and click through ignoring all suggestions to pay them more.
Related thead on SE: https://politics.stackexchange.com/questions/30223/why-doesn...
Would you consider a 'typical' Western-European style 'social democracy' to be essentially capitalist? Honest question.

I can definitely agree that going 'full socialism' hasn't had a good track record, but somehow it doesn't feel right to call what we have over here 'capitalism'.
Isn't the bottleneck in any sequential access case the memory bandwidth?

IOW: Are the scalar instructions slower than memory bandwidth?
https://www.johncorcoranfoundation.org/john-corcoran

> Standard teaching methods didn’t work for him because – like millions of other children – he had auditory-discrimination problems that interfered with his ability to process language.
Probably you're right - I think they must fight, it's just a shame that it had to come to fighting that this cold hearted exploitation can happen in the 21st century.

I live in one country of the Visegrad Four and our whole region is shifting to right wing populism with an unstoppable acceleration; if you mix this political climate with the resurgence of "wild capitalism" the end result is either hatred and fear or apathy on a massive scale.

I'm not sure if Trump is making America great - to me it seems that he's unchaining a capitalist machine and kicking Iustitia to the curb in the process, feigning stupidity and ignorance.
But if most people don't perceive the actually equal sizes as equal, then what's the point?
Joel Spolsky's articles contributed to the mess of a tech industry we have now?
> first open source forum software

This is not at all correct
If you don't already know about them, check out the ANS synth.

https://en.m.wikipedia.org/wiki/ANS_synthesizer
A few, but it works for two or more.
AppFS (http://AppFS.rkeene.org/) supports this
I don't think the first test is very good. I gave it to someone who I know is good at recognising people in real life, but who is not American, has no interest in celebrities, and also never watches films, and they scored badly (3, 20% centile). The second (Australian) test seems better, but, interestingly, the person just referred to didn't do very well in it. I wonder if recognising static images of faces is a significantly different task from recognising people in real life, or even from silent video, when you can see the face in action, as it were.

(There's the bizarre phenomenon, which people other than me have reported, how some people seem to consistently resemble photos of themselves, while others don't so much: they're almost a different person in photos. I think this phenomenon may also have to do with the face in action, but I'm just speculating wildly.)
Sparbuch, an open-source event-store, now also supports MariaDB and MySQL