skysight-inc/HackerNews huggingface dataset:
Just thinking out loud:
As for long term relationships, they provide easily accessable sex for instance, so no hassle in constantly looking for partners. Also having someone always around is consistent source of other forms of (anti)social stimuli.

But I generally very much agree with you, (m)any of the psychopathy traits listed in the article can be, or even are to a certain degree, present in everyone. So there is real danger in stigmatazing just about regular people.

And sure interaction with a psychopath doesn't need to be destructive for everyone, that'd have to be some kind hard working super villain to be able to hurt everyone around them.

And to emphasize, antisocial behaviour or just put plainly being a bad person is something everyone is guilty of.

So if this psychopath term is to be considered real it would just mean that psychos do a certain combination of (bad) things to a much higher degree than everyone else.

But if it all comes down to a degree, it makes me wonder if there really is no therapy for these people? Can they really not change? Can they really not learn to accentuate wider spectre of emotions?

Regular people can change their behaviour albeit it can be really hard, and they need to want it. Thus I'm not really buying the whole it's a fixed thing, it's brain chemistry-morphology whatever narrative.
An editorial arguing from animal models is not “current good practice”.

Additionally, please no one take vitamin K supplements without speaking with your physician first. They’re a direct reversal agent for a class of anticoagulants, the prime example of which is warfarin. It’d suck if you accidentally had a stroke or pulmonary embolism because of a random internet comment.
You're going too far generalizing from your experience. They can imagine just fine, as their cognition is unimpaired. But humans are learning and planning largely on emotional basis. Their amygdala is less functional, so their imagination is decoupled from negative emotion: when they imagine some bad outcome, they process it in the detached way most people process heat death of the Universe or hunger in Africa, i.e. something that is maybe significant but has little bearing on actual choices. It doesn't generate aversion. What does generate it, though, is deprivation of positive stimulus, so when "bad outcome" means "being put in a small concrete cage with no entertainment and bland food", they'll strategize rationally and do their best to avoid being caught. When it means merely being shunned, reviled, disowned, demoted, physically hurt, it doesn't affect the strategy very much. They don't want being hurt in the present moment, theoretically, but they can't feel enough to factor this into their planning.

It's kind of like how overeating people struggle to curb their craving now with thoughts of seeing their weight increase later. Some succeed, and some can't do it at all. They'll feel negative emotions when they look at the scales, not when they get the ice cream and imagine the numbers. Except psychopaths don't even want to fight this tendency of theirs.

To be fair, positive reinforcement works for them about as well as for others.
Securing web sites with HTTPS made them less accessible
Visual Studio 2017 version 15.8
So even a person who only has very tuned down emotions, does not mirror other people’s emotions and mostly reacts very rational comes to prefer the same kind of relationships neurotypicals do.
That’s interesting.
I had a “commander Data” Moment while reading this.
Thanks for visiting. Apologies but there was an annoying error for the past few hours. Fixed now.
Where do you get, you know, the money from ?
Reads to me like an expression of disbelief.
Ask HN: What are your thoughts on very long functions?
I have a function that is very long - several hundred lines.

And I feel like I should break it up into smaller functions.

But the thing is, it's meant to be several hundred lines of sequential instructions. There's just a long sequence of things that need to happen at this point in my application.

Breaking it into functions would seem to be introducing unneeded complexity. After all - functions are there to be reused. And whenever you see a function you have to consider what places in the code might be using it. Whereas in this case, if I broke this code into functions, none of those functions would be re-used.... they would all be called in sequence.

Admittedly it is hard to navigate up and down this long function which does have logical sections to it. Maybe I should just bite the bullet and pull out each section into a separate function?

I dunno. It feels wrong to have a several hundred line function but it also seems wrong to break it up, thereby increasing complexity.

What do you think?
Judging by how many people in this comment thread identify with the traits described in the article, it probably just shows that those traits are pretty ordinary, just a facet of the normal diversity of humanity, and have probably been with us forever.

The true problems of recent societies might in fact be overdiagnosis and Hollywood-style oversimplifications, not the traits themselves. Not everyone needs to be hyper emphatic (though we probably need a great number of such individual to keep our societies cohesive).

In other words, don't judge, do live and let live, defend yourself and people around you if attacked. Don't watch TV.
The sensibilities of expats from these countries tend to be quite misaligned with that of their governments and a large chunk of their fellow countrymen. It is of course the case with almost every country but the divide can be markedly stronger in some countries.
> Getting more current, does anybody else like to stroll down the aisles checking out the current lineups of calculators at their local office supply stores?

Yes!!!!! Still love my Casio fx-4500PA and fx-50F. It's funny. I am a computer scientist working in big data etc. and you can find me standing open-mouthed in front of the shelf with the $20 scientific calculators in the store.
We've had that for at least a decade in the LogicBlox database (which is based upon Datalog and not SQL). So you could say write

transfer_table(id, user, src, dest, amnt), amnt > 10000.0 -> auth_table(id, man), managed_by_table(user, man).

If you wanted to express that for a transfer involving more than 10,000 dollars that it must have been approved by the user's manager. Basically any logical formula can be used as a constraint. It's also possible to express basic temporal constraints like

+user_pass_table(user, pswd1), user_pass_table@prev(user, pswd2) -> pswd1 != pswd2.

So that says if the user's password has changed, and the user had a password in the previous transaction, they cannot be the same password.
It may not have that meaning for you, but it does for others. It's nothing manufactured.

And, for many people, it's the only meaning that naturally comes to mind in phrases like "I tooted" or "Joe tooted".
Thank for the feedback. Unfortunately I can only get access to regular maintenance and inspection costs at the moment. Down the road I will try to incorporate repairs too!
When I find a TV show "meh", I usually jump from episode 3-4 to season finale to get closure. I wonder if others do this.
Any videos？
About 10 years ago I found the Casio 9860 slim (clamshell) which can do RPN with an addon, and integrated it to my desktop.

It is faster to grab it than firing off any piece of software, and easy to take with me when having coffee and doing back of the enveloppe calculations
I'm not going to say you definitely need to split them, but there's a good reason to do that, even if there are no other users - this read easier:

def function:
do_foo()
something = do_bar()
frobnicate(something)

than this:

def function:
// do foo
lots
of
detailed
code
// do bar
lots
something = of
other
stuff
// frobnicate
...

At least it makes the dependencies and logical blocks of functionality more clear.
http://pixyle.com
I appreciate the submission.. it was a soothing, peaceful read. :)
„I can't imagine there's the same desire for consensual validation, etc that drives so many normative relationships.“

So is the rational decision to be together with a S/O less worthy than being bound together by the subconscious (chemical?) force of love?
I had a server that used password authentication for the root user (on the standard port). After a few months of uptime it was hacked.

I suppose even minimal extra security would've helped (no root user, only allow x login attempts in y time, changing the port for ssh), but I was still surprised someone got in so soon by simply guessing a 20+ string of gibberish (I still wonder if maybe something else happened).

All that said, I've had servers running for years without any successful hack, and in all those cases using ssh keys instead of password logins probably made all the difference.
I once heard how the border between the 2 countries close to Maastricht was established: Maastricht was the first city not conquered by the Belgian revolutionaries. There were some military units stationed there, and 1 or more canons. As a result, the border was defined as everything that could reasonably be reached by shooting these canons from Maastricht.
Want to scale agile? Don’t. Descale the work first. Achieve big through small
You can't conflate issues here. There are two major questions in play:

1) Is it unlawful for the advertiser to publish advertisements that may result in an individual selectively advertising? There seems to be no law or guidance even suggesting that the answer is yes here. For instance, under your guidance the billboard owner (who then rents it to the advertiser) would not be liable for not ensuring that the advertiser was advertising in a sufficiently broad, or random, variety of locations to fulfill the legal regulations. Facebook in this case is not the person placing the advertisements - but the venue of advertisement.

2) Is it unlawful for a person to advertise without complete demographic representation? This is not what this case is about, though it's an interesting question. The HUD's guidance makes this quite clear though, like you mention, that is guidance from the HUD and not necessarily the law itself. Government agencies tend to take very broad positions on laws, but these interpretations do not always hold up in the courts. It would be interesting to see how this point is argued from both sides, though this is a tangential issue.

This case is quite peculiar though since the HUD release seems to be building a case based on #2, yet targeting a defendant was would be implied from #1. This seems highly inconsistent, so again - it should be very interesting to see how this case develops.
If that is the case, that idea was in the wrong hands to begin with. All the successful ventures you see seeded by an idea but grow to the success that they are because of execution and good ol' fashioned luck. There is nothing original or groundbreaking in Slack for example. Nor are they the only ones playing in that space. But Slack are Slack because they executed well enough and luck was on their side (right place right time).
Creating alliances and holding zero-sum trolls at bay
Anarcho-Technocracy by Harry Hooton
saving them from what? you can see in the end of video clearly there are people standing on solid bottom with shallow water not reaching even their waist without any need to swim

this is very very poor viral video, next time at least make actors pretend to swim in whole video and shoot in in 1.5m deep water instead of this 50cm beach, though thorough video you can already see many people actually just standing there instead of swimming
What is the rationale behind it, though? I've tried it and it does nothing to make me sit without slouching :-/
Not really. I got the i9/32GB/1TB model. It is fantastic. The only "issue" I have had is related to the Mojave beta which is kind of to be expected with a beta. Everything about this machine is basically perfect. As I said I even love the keyboard. It is really nice to type on for hours at a time. Yes it feels kinda weird at first but it really isn't as bad as people make out. It is is much, much nicer to type on than my XPS 13 which has very mushy keys that just feel uncomfortable.
You are seriously arguing that the threat of starving is how you want to motivate people to work for you? Sorry but I doubt European bureaucracy is what’s holding your companies back.
This may be true, but doesn't make the loud person credible. Not even in the eyes of the people who are happy to listen to such person.
> Before the arrival of the steam engine, people have always preferred to move cargo over water instead of over land

People have always preferred moving cargo over water than land period, that's still the case today. Steam and combustion engines made overland transport faster and more flexible and thus took over some of the more time-sensitive transport, but the bulk of manufactured chinese goods don't travel to europe or the middle-east overland, neither do central and south-american goods to the US or canada.
It's quite trivial to hack your own react-redux using the new context api. It makes a lot of sense too - you get type safety, redux state management, and the redux dev tools. Although I do worry that old-mate react-redux hasn't transitioned yet for a good reason.

Anyway, as soon as I realised that the two are complimentary, I was always kind of upset at articles like this that misled me for so long.
The current version of OpenSSH doesn’t allow root login by default.
After 18 months of applying, getting several 2nd and 3rd interviews, I got a random message from a CIO I interviewed with 6 years ago.
During my university years my boss (current, not at the time) asked if he could pitch an idea for those in class who wanted to listen instead of going on 15 min break, I think at this point he was going to pitch to investors and wanted the practice. Two or so years later I reached out to him, asking if anything had come of it (I mean he did quit a stable job at Uni to do this, might as well check up on him) and if they were looking for a summer intern and/or part-timer. Luckily everything was going well (except that startups are never smooth sailing) and I got offered an internship. A year later and I am set to work there full time at the start of September.

The lesson I took away from it all was to make effort to stay in touch with people.
Who did? I didn't get the context.
Stop letting attackers route to you. Put your ssh server behind an onion. Do the same if you have POP/IMAP and other servers that have no reason for being accessible through transparent routing.
The most surprising thing to me about this report is that it was self reported. I have no doubt that there are an immense, and seemingly increasing, number of people that stake their self worth on social acceptance. What is surprising to me is that people do this while being consciously aware of it!
The concept of "one legal address" makes no sense when legally one would assume they are two completely separate blocks of land registered separately in each jurisdiction.
Use sudo or doas.
In the wiki linked, that is in fact his first-listed innovation ... he condensed 20 equations into 4 using vector calculus.
It is not like there is a physical law of responsibility conservation. Multiple entities can carry 100% responsibility.
> Didn't you just basically say that what is "awful" is subjective? You're basically saying "maybe echo chambers are better".

Yes, I did. Instead of retweeting, you let the awfulness die out instead of getting more attention, i.e., don't let opinions escalate. Awfulness here doesn't have to be what I consider to be awful.
And I don't see what this has to do with "maybe echo chambers are better".

Now, I don't know whether that would be more efficient or not - it could, right?. Neither of us know, so perhaps the Mastodon experiment may teach us something.
Through a Dashboard Darkly
But history has judged him as one of the worst presidents.

I wonder if that is a fair judgement or whether he was just the victim of the economic cycle and external forces.
5 Free SEO Optimized Blogger Templates
In Australia, we don't have the same culture of pharmacies being convenience stores as in the US (and certainly not selling cigarettes!), or the same issues with prescription drugs (it's illegal to advertise them here like in most places), but pharmacies regularly dedicate half of their floor space on cosmetics, and it's not uncommon to have photo printing machines too - back in the days of film cameras, the pharmacy was where we would drop off film rolls for developing.
Douglas Adams, in HHGttG:

> The Encyclopedia Galactica defines a robot as a mechanical apparatus designed to do the work of a man.

> The marketing division of the Sirius Cybernetics Corporation defines a robot as "Your Plastic Pal Who's Fun to Be With".

> The Hitchhiker's Guide to the Galaxy defines the marketing division of the Sirius Cybernetic Corporation as "a bunch of mindless jerks who'll be the first against the wall when the revolution comes”
I needed a ride back home from a birthday party and so the birthday guy introduced me to a friend of his who lived in the same direction. In his car we naturally made small talk like “what do you do” and two or three weeks later I was working for him.
The article says that they can achieve an efficiency of 85 %. Which puts them in the ball park of hydro storage or lithium ion batteries. The problem with compressed air storage is that you are fighting with the fundamentals of thermodynamics i.e. compressing and decompressing air. The laws of thermodynamics try to ruin every good idea.
I was wondering if she was the interviewee.
How many ways can you skin infrastructure as code?
Vimax Pills in Pakistan
> Also it doesn't implement the scp protocol

From the FAQ[1]:

> TinySSH doesn’t have problem with scp protocol,
only doesn’t have scp program.

I assume this means an OpenSSH `scp` command will work just fine when pointed at a tinyssh daemon, without the rsync alias.

[1]: https://tinyssh.org/faq.html
I’m pretty sure the advice from the tweet would be the same regardless.
You made me smile
For me I lived my childhood on a plateaux then kept falling all throughout my teens and early adulthood then for the past 10 years it's been all struggle. I'm desperately trying to get back to the plateaux level which is what I need to feel normal.

When I see colleagues at work who were born in a difficult place and now they have the same job as me, I feel bad because they've never been happier but I'm having the worst time of my life.

At the same time, I find that people who come from a difficult place tend to have their own distinct type of mental scars.
I'm waiting a couple more months to see what happens with Apple, but I'm almost certain my next laptop will be a high end Chromebook. With crostini I would have all I need.
How is that an insult? He was being ambiguous. Explain to me in detail how is that an insult.
I know you wonder, yes in Dutch part there are coffeeshops where people can buy pot.
how it's this better than two wheeled cart, which is much more stable? this has benefit only on very narrow paths somewhere in mountains/forest, but otherwise carts are superior, you don't need to balance them, so I can see why this never took off outside China since there is obviously better solution to this problem
The more I look around the more I feel every one has at least the following phases in their career- Fall, Struggle, Rise, Plateau. The thing is the order is not guaranteed. But the phases come in parcels of decades.

That describes my career perfectly.

(this started in the mid 90s)

Fail - first pass of my first major development project out of college. I was the only developer at my company. I knew how to program - I done complicated side projects in assembly and C for years before and during college.

Rise - Asked a former professor for help, came out with version 2.0 of the project. Between two raises, a basically guaranteed 20^ bonus, and changing jobs, I was making $40K more in 4 years.

Plateau - next 8 years, took my eye off the ball, stayed at the one job too long and between bonuses being cut, and 3% raises, only made $7K more in year 9 than I made in year 2.

Plateau #2 - I changed jobs, learned a lot and muddled my way through the recession for 3 years.

Rise - over the next 5 years, changed jobs 4 times and made $55K more at the end.

For context, because of the mistake made by staying at a job too long up until 2008 and focuses on always getting jobs where I’m barely qualified to learn and build my resume, I’ve been under the median salary for my market for my years of experience since then. So I’m definitely not trying to brag. I’m also not in Silicon Valley. I am in a major metropolitan city.
How well can you introspect about code logic across a scroll? Or a page? If it's one unit of code, how can you mentally commit to it, without seeing all of it?

The smaller thing: it's about how you interact with it in an editor, ide.
Yeah, it's a compatibility issue. I can scroll to the right of the page, and see white space, with the flags moving.

Pressing enter with either textfield selected doesn't do anything on Safari.

Firefox and Chrome work perfectly fine.

EDIT: I didn't dig deep, but changing the "marquee" width from 3000px to 100vw, fixed it, but made the flags slower.
10 AWS Lambda Use Case to Start Your Serverless Journey
> A question still nags at me, and I pose it to the couple: “You have about fifty-eight residents now, but there are billions of animals that you can never save. Does this ever discourage you? Does it ever feel futile?”

> Jenkins looks instantly pained. His eyes well up. “Yeah, it’s tough,” he says. “That’s the hardest part. I try not to go there, because it’s overwhelming.”

Huge respect for these guys. From my perspective, nothing can be done about the animals already in the system, but the sooner we wind down the demand keeping them there, the more we'll save. Their efforts definitely help with that.
That's far less precise. As the crow flies is often not a very good indicator of potential customer base. National borders, rivers, transit design, competitor locations, etc can all mean that you might find yourself serving plenty of people 20km away in one direction but practically none 5km in the other.
Sounds great, although scary. Under the pretext of saving lives, governments may deploy drones to track and arrest undesirable people.

I imagine videos like this will encourage broad support for drone surveillance.
"Our road infrastructure - mostly based on asphalt - is more similar to that of the Ancient Chinese and will disintegrate at a much faster rate if we lose our ability to maintain it. The Chinese wheelbarrow - and with it many other forgotten low-tech transportation options - might one day come in very handy again."

It's funny how such intelligent and thoughtful people can write a serious article topped off by this. At first I think it's tongue-in-cheek humour, but then I realize, no, they're half-serious.

I should add - this is a great magazine, nice find!
Egypt president ratifies law imposing internet controls
I was a financial analyst with no interest in computers or programming.

Three years ago I bought a raspberry pi to set up a Plex HTPC. That led to bash scripts to automate little bits of my work. Fell head over heels into Linux and bash, then started learning R to do what Excel couldn’t do. Then I quit and started a Data Science masters. Now I’m employed full time as a data scientist but spend most of my time helping design a modern infrastructure at my very traditional employer. Raspberry Pi to rack servers running containerized workloads in 3 years - best time of my life.