skysight-inc/HackerNews huggingface dataset:
Have you ever used dbext?
I dont understand your comment because it can handle multiple connections. Connections are referred to as named profiles. If you want to work with one connection at a time for safety sake you can use :DBSetOption profile=X

But dbext is vimscript which is very hackable like anything else in vim. If you want to use multiple connections theres nothing stopping you from writing something like

nmap <leader>se1 to run the selection with connection profile #1

nmap <leader>se2 to run the selection with connection profile #2

and so forth
Building Tools and the Future of Website Previews, Unfurls, and Social Meta Tags
> I think people who don't have tattoos over estimate how much thinking goes into having tattoos.

I agree. I have two tattoos that make me laugh, and they usually make others laugh the first time they see them too. One is symbolic (but still stupid and funny), the other one is just stupid and makes people laugh, which in turn makes me laugh.

It doesn't have to be profound or represent you as a person or have some deep symbolic eternal meaning, I look at it as a way to make my skin look less boring.
Distrust of the Symantec PKI: Immediate action needed by site operators
I honestly can’t tell from context whether the article is a sign of understanding. To be blunt, I’m not sure I can tell for people who talk about “(the) (I/i)nternet” either, and I met some of those who invented it.
Of course. What I meant is that if I am writing bigtask myself, then preallocating resources for any non-table-like data structure (like map) means I cannot use STL as it is now, even with custom allocators. I have to write custom data structures, or deal with any allocation potentially erroring out.
If we invested in space technology, the same money we invest into fusion, we'd be only 15 years from going to the moon too.

However there was the space race and lots of funds were allocated to going to the Moon.
Prettier docs mention that support for Java is WIP
wow https://github.com/Volume-GL/Pulp-Fiction-ARKit
About 5000 bucks? ;)
"If we are looking at what's in are basic genes as a marker on what we should be doing, I don't think we should be messing about with fusion. "

Why?

I didn't say we should live stone age style.
And using technology is very akin to our genes, afaik. So I don't see any problems with that. What matters more than the tools are the social interactions I believe. And there we could do better.
Yeah, I thought so too.

I don't think it was their best engineers that worked on this. Just some guys to spare for the marketing dept.
How to separate front end and back end with Rails API, Nuxt.js and Devise-JWT
- is it correlation or causation?
- could the causation be in the other direction?

You always need to ask these questions. Perhaps senior people who have immune systems as 20-year olds, are much more likely to cycle in old age. Or there is some other reason that causes both.
I think the first thing that will reveal is just how much detail is simply not there, or is inconsistent. E.g. consider the contortions that people often have to go through to make models of TV series sets fit the available facts because the series have not needed to pay perfect attention to room placement. Or how many rooms, or streets will simply be missing, or even walls of rooms because things are only ever shown from one angle.

It may make it easier to generate such environments, but it'll still require a huge amount of extrapolation.
You would need one for each bulb as the problem is that the bulbs characteristics are not tightly controlled like they are for vacuum tubes and vary widely even in bulbs from the same lot.
The funny thing is that you're announcing you're part of the tribe that doesn't like tribalism.
No no, these are not bugs, you are just misinterpreting the {standard, API, intention, stars} ;-)

/sarcasm
>inflation is good for net debtors and bad for savers.

With "savers" being a close approximation of "the rich" and debtors being another word for "the poor".

>price inflation is a necessary consequence of monetary inflation.

Counter-intuitively, it actually isn't a necessary consequence - not if velocity of the new money grinds to a halt after creation. Newly created has to be spent and respent and respent and so on for it to cause price inflation.

There are many ways that this can happen - e.g. if the money just ends up parked in a bank account or if the dampening effect of industrial slack offsets the creation of new money (i.e. a glut of inventory soaks up the excess cash).

>basic economics distinguishes between price inflation as a result of monetary inflation and price increases due to other reasons.

Economists actually get this wrong all the damn time. Monetarists (like Milton Friedman) attributed price inflation due to the 1970s oil shock to a so called excess expansion in the money supply that didn't happen.

Essentially, Saudi princes siphoning off more wealth via higher oil prices was blamed on money printing rather than cartelization, and it was decided that "debtors" should be the ones to take the financial hit for that by jacking up interest rates.
To quote my Physics of Electrical Power Generation lecturer from a few years ago: "Fusion is 15 years away, I think it will always be 15 years away."
Thank you for the info/insight.

I assumed that the specified language features, especially ones also depending on core libraries like libc++, would most likely be released as part of the next major OS update (since these are very essential for the complete system and need to be tested along side it as one whole).

I didn't check the macOS 10.13.4 beta, but I'm assuming that the features I mentioned are coming as part of macOS 10.14 and Xcode 10.
Let's say you recommended Slack and your company started using it. Then Slack adds PornHub integration. Wouldn't you be upset? Would you say: "just don't use it"?
Make an simple custom EventEmitter
>China is building tons of new coal plants to cover its current needs

Not so sure about this one: https://www.theguardian.com/environment/2017/mar/22/coal-pow...

Sure they are still building but at a rate that has been drastically shaken up by both the price of renewables and their own environmental policies.

Now regarding the environmental impact of producing solar panels and wind turbines, they clearly are carbon negatives

http://www.drawdown.org/solutions/electricity-generation/roo...

http://www.drawdown.org/solutions/electricity-generation/win...

Though I'm sure they can't have no-impact, you will get some other form of pollution, but at the moment what matters most if reducing our greenhouse effect. It's cheap, it's already there so there's no reason to delay it I think.
Sustainability in everyone’s business
Design is not fashion, fashion is fashion. Otherwise, every market and product/service segment has its own "fashion", but that doesn't make them "is fashion". (Startups are fashion, engineering is fashion, education is fashion, technology is fashion etc.)
What Was Fermat’s “Marvelous” Proof?
Excellent approach! Moreover, this approach helps you quickly build a relationship with each individual person in the team and immediately gain their respect. Everybody likes to be consulted as an expert.
I am a total layman, so could somebody explain the significance of this study? Obviously those substances alter the brain chemistry, that is not surprising, I think. How are those changes significant? Is there cause for concern?
I know COBOL programmers whose day rate is considerably north of £1000
Don't forget to add a conf file (ex. prettierrc), editor plugins have different defaults.
These demos are a good example of using animations. It makes the experience much better, helping the user understand what happened. Good UX IMO. But a lot of websites are not using this way, but throughout the page, popping up almost every element, asking attention for almost everything. This is bad UX because is not helping the user to find what they want. It's distracting and annoying, at least for me.
Ask HN: Designing a crawler to extract all the links from a website (site map)?
How would you build a bot which receives a website address for an input, and then it extracts and visits all the (sub)pages that can be found on the website? Then, it uses the gathered data to save the statuses of the pages (response codes, title, description, load time...) and it saves the pages in a data structure where it’s possible to create a tree map of the pages (like a folder structure in a file browser). This data structure needs to have weekly snapshots for making comparisons throughout time.

I’m thinking about the two main aspects of this bot - first one being the crawling strategy and the second one the data structure to store this data so it can be queried efficiently. Regarding the crawling algorithm, probably the easiest would be:

- Visit the page (level 1)

- Extract all the internal links

- Visit the first link, save data

- Go to step 2 (uncover the next level of links)

Obviously, there are some critical problems with this strategy. When do we know when we are done? How to prevent cyclical issues? What are the possible problems when crawls are performed concurrently?

The second point in question is the database for storing these links. Data should have the following properties:

- Associated to a specific website crawl at some point in time (to be compared with other crawls in different time)

- Links in each crawl need to be pointed to each other, so a website tree can be constructed.

This perhaps calls for a graph database, but that’s expensive (learning it + maintaining cost). What about a traditional RDBMS (Postgres)? A “links” table, referenced by “crawls” and “websites” table, where links are uniquely identified by its URL and can point to other links - for example the parent link (previous level).

Can you point me to some good algorithms and strategies?
Scientific research is inherently a field where progress could be modeled as punctuated equilibria. Just because there are long periods where little progress is made on a hard problem does not mean that it will never be solved, or that the solution is perpetually "15 years away". But it does mean that attempting to linearly extrapolate progress over a period of time is likely to be incorrect.
> Anyone who ships software to multiple operating systems?

You can do that without direct dependencies to POSIX.

I don't care how .NET, Java, Go, Free Pascal, Ruby, Python, Perl,Swift, D, C++... implement their runtimes, unless I actually need to look under the hood.
I was still waking up when I watched this today, but I only spotted one mistake, which is pretty good for a video about a technical subject and aimed at a general audience.

It also gives a plausible reason why Fermat (a) thought he had a proof, and (b) didn't.
House?
If the application is gaming, I feel that if a prop is far enough away that this quality of model is acceptable, then you're better off just using a flat texture for efficiency. These generated 3D models aren't necessarily low-poly, despite being somewhat janky.

While I can't personally see much application for this in its current form, the technology is really impressive nonetheless. I'm very interested in seeing how far this can go.
Zenithtechs
We should use the word “valuation” with care – and sparingly
On one hand, it's great that the Semi truck was able to slow and stop without hurting anyone, after losing connection with the control center.

On the other, how does this bode for an autonomous fleet of trucks that all suddenly stop somewhere along a highway? The traffic disruption could be nightmarish. And what if there was no lead vehicle to go fetch said truck in a timely manner?

Also i feel like there is a lesson to learn here about how it's not just hacked servers and software that could produce these events, but a hacked or disrupted (lightening striking a utility pole) power supply could also have immediate real-world impact on these transport systems. Particularly if you dont have backup control that is distributed and redundant (or onboard the vehicle itself).
Google announces Cloud Healthcare API to unlock health data
In France, the original title is still used ("10 petits nègres").

I read the book, but I did not really enjoyed it. But it was a long time ago, I might have been to Young. Or maybe it was the style, which was very different from what I was used to at the time (mostly Ellis Peters)
> The C _interop_ is key.

On UNIX compatible OSes, others not so much.
It seems to be back. I am confused, but happy ;)
Singapore airport has had one for years.
The industry makes software for grandma's protection so that grandma can feel like she is safe using a computer to talk to her grandchildren.

In other words, the industry does this to try and make computing more accessible to a non-specialist audience. I don't see why this is a bad thing.
Why do 99% candidates fail in job interviews
Does it matter that much? Just be active for as long as possible and reap the benefits of fit muscles and a stronger heart.

Purely anecdotal: My grandfather is nearing 90 and still jumps on his indoor bike every day. Last winter he fell (due to ice) and got away with a few bruises. For other people his age this kind of fall could have meant a broken hip. He had two heart attacks when he was around 60 and a life long lung disease - far away from the immune system (or health) of a 20-year old.
99% of the candidates end up getting rejected in job interviews. And all of them think that it is because they are not good enough, and they lack the experience, skills or education to get that job.

But getting rejected has nothing to do with your skills, experience or education.

The no.1 reason for your failure in interviews is your mindset.

We live in a culture, Where we are taught to keep our head down. To Follow the rules. To be humble and to think low of ourselves.

But If you think low of yourself. If you are unsure of your skills,It is reflected in your words, it is reflected in your answers. And it is reflected in how you carry yourself.

So in order to avoid the fate of 99% other candidates. You should not accept the roles that society makes you to believe. You need to Recreate yourself by forging a new identity one that commands attention

and never bores the interviewers.

You must become the master of your own image rather then letting interviewers define it for you.

Thus the best way to avoid rejection, Is to shift your mindset, And to recreate the image of yourself you have in your own mind.

As the great Bruce lee once said

“Defeat is a state of mind; no one is ever defeated until defeat has been accepted as a reality.”
Write your own brightness control
Posting on Google – Your presence on Google, fresher than ever
Author (of the article, not the demo) here. I still remember debugging this thing in Turbo Debugger in DosBox and the CDQ instruction was causing trouble because Turbo Debugger could not recognise it.
Exactly, or even "clone" the plan. Seems cool, git applied to tabulated data.
Testing Mobile Applications
The article is aimed at a manager or team leader that is joining a new team.

> things you can easily help with, like “we waste a bunch of time in meetings every week” or “we need a dedicated conference room.”

But agreed, a junior could do the same thing in a less overt way.
How Martin Selmayr became EU’s top (un)civil servant
I'm glad I wasn't the only person who thought this. The worst bit for me was "Christie, as Thompson details, came by such understanding through the traditional means of early hardship"... but the "hardship" then isn't explained for another three paragraphs!
Abstracting Code with Machine Learning
I'm not sure if it's still the case, but I remember a few years ago how commercials would get shorter over time. Take a single commercial, and start off showing all N seconds of it. Then, later, just show a brief section of it, and let the person's brain do the rest.

That, and I've read somewhere that people tend to remember the beginning and the end, but not the middle for a given thing. Edit the end because that's what people will remember, but it also won't stand out as being fully edited.
Why don't you consider D?
>> They'll no doubt be happy to talk and teach you the important things that you actually need to know in your position

Unless they are jaded from being underpaid or stuck at a position they dislike, which is a very common theme in Eastern Europe and middle East.
10 Essential Skill Sets for Your Social Media Team for 2018
What is the best business model for the startup in 2018
Uber's Progressive Web App
Tex-Mex is the most important, least understood regional cuisine in America
Contrast with Rust references, which are very much their own type (they more resemble pointers in their behaviour, with explicit dereferencing and address-of needed). As a C++ dev, this took some getting used to! But I never was a fan of how passing-by-reference was invisible at the call site.
So, it lost its umbilical to the great brain in the sky and came to gentle halt on the highway.

Color me unimpressed.

Sorry for my snark, but, donkeys do better. If only they could travel at 70mph :/

We are making incremental progress towards this autonomous vehicle goal, but hey, let's get some perspective and not let our techno-fetishism get us overexcited. Trains and stuff.
Where I currently work, we teach all of our BAs (regardless of how technical they start out), to use SQL (with redash), and some of them use Tableu. As this approach has been running quite smoothly for us, would SAS offer anything that a team like ours might be missing?
Yeah, I thought something was wrong with Scandinavian Airlines.
Type inference is a special case of abstract interpretation: https://www.irif.fr/~mellies/mpri/mpri-ens/articles/cousot-t...

(Not that I've read that paper in detail, mind you...)
> no such thing as "excess electricity"

there absolutely is a disbalance between energy produced and energy consumed. if we're lucky, there will be storage capacity nearby. we're mostly not lucky. ever heard of australia? or tesla? google some.

> wasted on useless cryptocurrencies

yeah, transferring value securely without trusting third parties is not useful at all. gotta run all those banks and employ all those bankers, because that costs no energy nor other resources.

are you a banker by any chance?
Agreed Taleb is not his equal is his superior.
Having read all Taleb’s books and a few Pinker books, i have learnt far more from Taleb. Taleb hails from the Middle East so is probably too pessimistic and cynical ( but hilarious). Pinker hails from affluence and comfort so is too rosy. Pinker has no deep insights he just cherry picks facts and presents them eloquently. Taleb is a much deeper thinker so his thoughts are far more interesting to me. His intellect is way above Pinker’s level, but not as powerful as Wittgenstein (who Taleb admires) my favourite philosopher
A different study found that intense exercise reverses aging at the cellular level: http://www.health.com/fitness/anti-aging-hiit-workout

The body process lymph several times more efficiently while active. This is how the body removes wastes from tissues. Seems to me that would be pertinent.
It's not sufficient to find a small part that is proven to never terminate - you still need to prove if that small part will ever be reached, which is impossible in the general case.

if (someveryhardproblem()) infiniteloop();

can't be verified to halt or not without solving the very hard (and potentially impossible) problem first, even though the program contains a potentially non-dead subprogram that can be proven to never terminate.
Judge: Trump should mute rather than block critics on Twitter
Product Hunt Desktop App
I fully agree. To me, SAS is either an airline company or british special forces, so I have no idea which company this blogpost is about - and I'm not going to start researching to find out which company a blog post about a company is talking about.

However, to be somewhat of a hypocrite, I don't mind abbreviations for broadly known terms, such as SaaS, DevOps or db. I guess it boils down to the context.
Publicity materials: https://theconversation.com/exercise-can-slow-the-ageing-pro...

Paper: https://doi.org/10.1111/acel.12750

This age of biotechnology is also an age of comparative indolence and comfort. As the research community measures specific biochemical aspects of aging, such as the decline of the cardiovascular system, or metrics relating to immunosenescence in the immune system, we might question the degree to which the results are peculiar to our era. How much of aging is the result of our choices - to eat more and exercise less than our ancestors - rather than the result of inexorable processes of biochemical damage that we, as yet, have little influence over? (Conversely, how much of past aging was due to infectious disease, malnutrition, and other adverse external circumstances that are controlled to a much greater degree today?) This topic crops up fairly often in research into the effects of exercise on health, and the research noted here is a particularly striking example of the type.

The study authors find that the age-related decline of new T cells maturing in the thymus is negligible in some people, those who exercise much more than the rest of us. This diminished supply of new T cells is thought to be an important component of immune system aging, and the failure of the immune system is very influential over many other aspects of aging: senescent cell accumulation, frailty, loss of regenerative capacity, chronic inflammation, cancer risk, and so on. Yet when we look at the demographic evidence for spread of life span based on exercise, it appears to be, at most, 6 or 7 years (with a much larger divergence when it comes to state of health over time). What does this tell us about the likely gains resulting from rejuvenation therapies seeking to regenerate the thymus? Less than we would like, I suspect, and not just because it is hard to evaluate any one contribution to aging in isolation of all of the others.

The thymus atrophies over adult life, with active tissue necessary for the production of T cells being replaced by fat. The first major loss of active thymic tissue occurs at the end of childhood, however, in a process known as involution. Immune cells are generated at a tremendous rate in children in comparison to young adults; evolution selected for a system that would be highly effective at the outset, at the cost of later issues. When it is observed that old people in their 60s and 70s who maintained a high level of fitness throughout life exhibit much the same thymic output as young people in their 20s, that tells us little regarding the outcome were the thymus restored to the same level of active tissue as is present in children. Only a mild restoration, to move thymic activity from typical aged to typical young adult, would be comparable - and why would we stop there?
Oh Fuck No.

The "safest decision of all" is most definitely not to stop "in its lane of travel". That's insanely dangerous in any real-world scenario.

At least have the vehicle pull over onto the shoulder. What makes them so "special" that they think they should just stop in the middle of a highway? If that's the state-of-the-art of self-driving, then those vehicles simply aren't yet ready to be on the road.
That all rather depends on why the connection was required, if it's a fundamental part of the planned way it'll work in the future, sure. If it's a current safety requirement while testing, it's less of an issue.
Ham radio operators are saving Puerto Rico (2017)
This was also posted internally and somebody else had a better way imho: after every weekly sync, he would take the bullet point list of things everybody in the team worked on/will work on and see if he can explain to an outsider what every item means. If yes, then check that out. Take all the remaining items, grouped by person and have 1:1 with said person to explain you the things you don't understand. Then you can set up a goal, like after 6 months I want to be able to strike out 70% of the items etc.