skysight-inc/HackerNews huggingface dataset:
Since there is no contact form on the site, I figure I'll ask here. How well does it manage different margins on each page? ex Cover page with no margins, but rest of document with margins. Does it support Table of Contents and page numbers? What about other features like JS running in the page header/footer components?

Edit: Holy hell, was just reading some more comments mentioning the price and then had a second look. $79 bucks a month for 10 PDFs. Yeah I think I'm gonna go with spending 10 minutes writing a WebAPI to access my PDF generation API. For reference, it took me two days to land on Puppeteer, a day to configure it how I wanted, and costs me $5 a month to do about 50 PDFs per day (not upper limit, that's just how many we need in a typical business day, I don't know what the box is capable of).
This is true in the west as well. Especially now in 2018, if someone you're even tangentially connected to does something deemed to be unsavory you are expected to immediately and forcefully disavow them or face the social consequences. Even then, you still may be tainted by association.
>They are either trolls, racist, or derogatory comments that I WANT to have hidden from my view.

This view is pretty naive. I suspect you just don't hold any opinions against the groupthink of the subreddits you participate in.
You realise China's current political system is merely a stage of its economic development, I hope?
What is Stellar?
This is quite good. Maybe not the direction you're thinking of taking this, but it would be nice to have some optional social features; e.g. community writing prompts, commenting, etc. I used to use a site that would give you a 5 minute writing prompt and then allowed other users to read and comment on the daily entries. It was really fun and encouraging! I'd love to have an "HN Daily Writers" group to practice with.

Incidentally, it would also make the subscription a much more compelling value proposition.
WebAssembly is inherently simpler to compile and there is no complex interaction between the runtime and the SIP once compiled, like there is in v8.
Refresh Tokens in ASP.NET Core Web Api
"If they'd cover it on TV news, it's probably off-topic."
CryptSend: An Open Source Trustless Web Based File Server (Web Crypto)
This study is backward looking; it hasn't taken account of China's current set of factors that could skew the lifespan down tremendously for average Chinese citizens. Factors such as

1.) Air pollution. In your typical big cities, e.g Beijing, it average AQI 100-150 for the past 10+ years https://young-0.com/airquality/. In other lower tiered cities, it average between 50-100. Just to compare, WHO recommend only AQI of 25 in 24 hour span to be ok for your health. And even though recently Beijing's AQI has gone down, what the government has done is they pushed the coal-burning factories into the countryside, and moving the pollutions there.

2.) Water pollution. Cancer causing ingredients have been found in several water sources. for example: "Shanghai water supply hit by 100-tonne wave of garbage
" - https://www.theguardian.com/world/2016/dec/23/shanghai-water... https://qz.com/113751/only-3-of-shanghais-river-and-lake-wat...

3.) Smoking/smokers everywhere. "Smoking Will Kill 200 Million In China This Century" https://www.huffingtonpost.com/entry/smoking-will-kill-200-m...
Ask HN: Does contributing to open source, increase job offers chances?
I saw a company that basically run like Gitlab in a sense that they're code is open source and any oninge can contribute,

So this company opened a job offering that I want to get, I know there are +200 developers that applied for the job.

Will contributing heavily to their project for 1 month, help land me a job there?

Do you have any advice on how I can increase my chances of getting the team's attention or get noticed by who's responsible there?
The benefit is less strain on your feet/ankles/wrists/arms/shoulders etc.

Living in a high traffic area I would appreciate the time I don't have to pump my damn foot up and down every 10 seconds for hours straight while waiting in traffic.
It's the coding scenes that do a good job on PR that win. "Amateurs study tactics, while professionals study logistics." -- I think there's something analogous with programming languages and ecosystems/communities.
AT&T and Verizon both want to run massive ad-tracking networks to rival Facebook
Oh and the absurd costs of healthcare in the US
HTTP error code 403 -- access forbidden.

Article was pulled? Not fully published yet?
I agree that you want as few UBs as possible. I found the text below from the Rationale useful for understanding these issues. An important feature of UB is that it doesn't require the compiler to catch certain things that can be very hard to catch, such as dereferencing NULL pointers. As noted, it also provides opportunities for enhancing the language in ways that don't break conforming programs. An implementation is allowed to treat Undefined Behavior as Implementation Defined, simply be saying what the implementation does in such cases. But it's not required to say what it does.

----

The terms unspecified behavior, undefined behavior, and implementation-defined behavior are used to categorize the result of writing programs whose properties the Standard does not, or cannot, completely describe. The goal of adopting this categorization is to allow a certain variety among implementations which permits quality of implementation to be an active force in the marketplace as well as to allow certain popular extensions, without removing the cachet of conformance to the Standard. Appendix F to the Standard catalogs those behaviors which fall into one of these three categories.

Unspecified behavior gives the implementor some latitude in translating programs. This latitude does not extend as far as failing to translate the program.

Undefined behavior gives the implementor license not to catch certain program errors that are difficult to diagnose. It also identifies areas of possible conforming language extension: the implementor may augment the language by providing a definition of the officially undefined behavior.

Implementation-defined behavior gives an implementor the freedom to choose the appropriate approach, but requires that this choice be explained to the user. Behaviors designated as implementation-defined are generally those in which a user could make meaningful coding decisions based on the implementation definition. Implementors should bear in mind this criterion when deciding how extensive an implementation definition ought to be. As with unspecified behavior, simply failing to translate the source containing the implementation-defined behavior is not an adequate response.
That dude is linehandling with a tie and white shirt.
HAHAHA. Fake new site so it doesn't surprise me.
I deal with the new sailors who come out of these maritime institutes. There is no substitute for OJT.

Can you imagine getting the tie pulled into the wildcat.
Youch. That has to be a OSHA no-no.
Dopey picture. Like $70K fine in my world.
I agree that the bounty-stye approach works well for encouraging new development. I'm thinking about the times when you get stuck: the community boards often do not have exactly what you need and it can be tough to explain your issue and slow to need to wait for replies.

In these cases, having a synchronous discussion with the right person could save a lot of time. For smaller projects, I think a pay-per-time approach would work better than support contracts.
I've been a member on IMDB since the end of '90s, and I've seen high quality discussions and low quality discussions on IMDB. I think it goes too far to say that either is dominant. I can say though that controversial / politics related subjects likely create low quality discussion whereas clever movie plots generate high quality discussions. At least, that's my perception/experience of it. We both got our data point of experience, and that's it. We need some kind of data / analysis to get to a more coherent, unbiased viewpoint.
Reinforcement Learning – Comprehensive Introduction to Monte Carlo Methods
The yearly maximum is something like $1500 (and it's not paid up front) so it's not nearly as generous as it looks.
"You improve what you measure."

Metrics help me to focus, improve my results, stay motivated. They turn sometimes difficult and confusing process into a fun game.

Like if you're writing a long novel, or trying to blog regularly - seeing a measurable, tangible progress is extremely helpful.

That's not for everyone of course, not all people need this, but some people like it.
When uncle Joe in Utah posts a racist rant on Facebook, I don't get penalized. Even if he posts a political rant or conspiracy theory, I don't get penalized. I can and do still remain friends with him on this social media channel without consequence.
Lawmakers allow Elon Musk–and his California customers–to really play with fire
This is one possible route - whichever topic or doubt you end up searching the internet for, make a small post about the solution. As you grow over time, start being more comprehensive about the solutions, and try to list information on the very niche topic till the periphery of human knowledge( from history of birth to bleeding edge tech in that area). Growing more over time you will start getting in-depth and at a zen blogger stage, cross-domain.

Or you could make the blog all about you. Your personal journey of how some attained knowledge in the past, you were able to apply.
Obesity seems to be a side effect of prosperity, so China will probably be next.
Please let me know if you think of any vulnerability with the approach of using a URL hash to store the key. Thanks a ton!
How Could Non-Technical Founders Fail Their Tech Startup
Ah, I see what you mean. I can't really comment any further as I don't know what it takes to get hired as a webdev, but I'll take your word for it.
It's not just obesity that drives poor US life expectancy performance. Mexico's life expectancy is projected to rise meet the US life expectancy by 2030, and they're a nation with a fairly high obesity percentage.

https://www.cnbc.com/2017/02/22/us-life-expectancy-is-low-an...

We have to acknowledge that the lack of Universal Healthcare in the US is a big driver of our poor life expectancy showing.
Full automation is not at all folly. Manual testing doesn't scale and can't practically be done on large, complex products if you want to release on a rapid cadence while keeping costs reasonable.

The only two types of testing you can't really automate are exploratory testing and usability (UX). Exploratory testing should be done concurrent with product coding, and then the tests that seem useful can be scripted as a permanent part of the test automation suite. Usability testing should be done either on a separate branch, or on the release branch with a feature toggle. It's essentially part of requirements analysis and not part of qualifying a particular build for release to customers.

While Scrum doesn't call for any particular testing approach, in practice it's almost impossible to do Scrum effectively on a large product with multiple agile teams unless you have a very high level of automation. Otherwise development just bogs down and you end up with nonsense like "hardening sprints" (basically waterfall in disguise).
This is pure FUD. For a forum to be GDPR compliant all you have to do is tell the user what you plan on using their data for (probably just posting to the forum) and give them an option to delete their account. Also, the chances of regulators coming after hobby projects is nil. A lot of people seem to be parroting these talking points that are straight out of an ad-tech lobbyists handbook. The sky is not falling, and the threat to the free internet is far less than what we are facing from ISPs.
Pass -sectcreate to the linker, e.g. -sectcreate __DATA __foo foo.txt. Then you can reference the data like this:

extern char foo_start[] asm("section$start$__DATA$__foo");
extern char foo_end[] asm("section$end$__DATA$__foo");
Apparently the author used `vim`, but you can also do this in `emacs` with `artist-mode` and `ditaa`[1]

[1] https://www.youtube.com/watch?v=cIuX87Xo8Fc
Yeah, sounds crazy, but.. I've noticed when new cafes open, if they're kind of expensive they often quickly get packed with trendy people. If they were cheap, that glamour just wouldn't be there.

A lot of that, and a lot of the remarks on this page, seem to have to do with a glamour of money, a faintly sexual worship of money. And the 'love' in that seems love of themselves, and not in a good way.
I understand your point, and you aren't wrong, but you are short-sighted. You may only sell to big clients now, but you are also leaving a lot of money on the table for yourself, not your company, yourself.

You've been selling for 20 years? How many of your customers have you had for longer than 3?

Now I can hear your mind churning, 'but I'm at a different company now! I don't sell the same thing!'. It doesn't matter. Sales is sales. And the best sales people foster relationships for years before they really sell the big bucks. And can go back to those same clients and sell different products and it's easy because those clients know them and trust them.

Ever get that little pang of jealousy wondering why that guy you know in sales plays golf every day with clients and doesn't seem to do much else? It's not because he's just that good. He's not. He might even suck. It's most likely bc he has been building relationships with those clients for years and they would buy a cactus as a new pillow if he asked them to.

This attitude of telling the little guy to piss off bc he isn't your type of client might make for some ok sales now, maybe you even have a shiny BMW, but it doesn't make for long term relationships with people who trust you. Once those people at that big company move on to bigger and better things, you'll be stuck grinding it out with whoever they replace them with.

I take it you work hard. You're certainly passionate. But after 20 years in sales, you shouldn't have to be working hard. Whether you changed companies and products every six months or still work for the same company, you should have been building relationships.

Instead you are content writing off the little guy as a waste of your time. The same senior management you grind it out to sell to now who was a little guy 20 years ago. And the same little guys who will be senior management in 10 - 20 years.

I imagine you'll still be grinding it out every day then also, instead of playing golf like you should be.
That's, given the question, is a really moronic answer.

There are means to apply the modern approach of optimizations beyond O0 on C without importing all kind of UB from the language level. You just have to actually proove the properties you want to rely on, instead of relying on wishful "UB => authorized by the standard => programmer fault if anything goes bad" thinking.

And promoting local variable to registers CERTAINLY NOT depends on language level UB. It would be permitted by the as-if general rule even if anything prevented it to happen in the first place, which is not the case. You don't have to have an address if nobody wants it and random pointers haver never been required to allow access to all objects, especially those who might never have an address at all. Plus nobody ever expected that anyway. People expect 2s complement. Or at least something that can not result in nasal daemons, and given C history, something that matches what the processor does. So 2s complements is at least not utterly stupid. So conflating the two is dishonest to the highest point -- except maybe if the only intended audience of the C language is now experts who e.g. write compilers. What a bright future this would be.

Hell, we dropped the hypothetical flat memory model even without strict aliasing for maybe 20 years (and probably 30, to be honest), and this had NEVER caused the kind of issues we are talking about. So don't pretend it did, just to dismiss the real issues. So ok even then it was actually probably informal as hell and in some ways worse for experts, but the amount of exploited UB was also WAY smaller. Quantity matters in this area. And context too. Do you want secure OR fast embedded systems? I would prefer reasonably secure and reasonably fast. Certainly NOT fast to execute and exploit, or more probably fast to crash pathetically.

You know very well that compiling in O0 is not going to happen in prod on tons on projects.

Don't dismiss real concerns with false "solutions", especially when mixed with proofs of your misunderstanding of the situation.
That's not correct. Google location history also works with Google Maps and "the Google app" on iOS.
Yep, the UN classifies discrimination based on country of citizenship as racism (a.k.a xenophobia). Every rich country has all kinds of social benefits reserved only for citizens, and nobody is proposing the removal of these programs despite their racist underpinnings.
To add to those examples: standardized test scores (like those for college admissions), education records (including collegiate degrees), health records, residency records, credit scores, driving records are all permanent records that are maintained by organizations that are either governmental or no better than a govt org.

I'm not a fan of China's system either, but it's silly to act like it's something new. Nearly every citizen of any first world country has a huge set of permanent records being compiled on them, not just those in China.
I upvoted you. But what is wrong with being made by Microsoft? When the license is great.

But I agree with the CMake part. CMake is abomination. CMake is diabolical. But it is not vcpkg problem. It is C++ community program. They chose CMake because it was the facto build system for most packages.
It is quite possible that one may judge a statement as being superior when in fact it was not written as such. In that case, the reader could perhaps have some other emotion (inferiority?) coloring their perception.

Who is to say how the echo style of reply is generally seen, but I find it snarky. It seems less like saying, "I have a quite alternate point of view" and more like saying, "the originally presented view is backwards - here let me show you".

But this is all meta, and HN isn't a forum for us to be debating communication skills. Doing so is more futile amongst a group often known for lacking in communication skills in inverse proportion to their intellectual skills.
The US lifespan is decreasing due to opioid overdoses. Similar to Russia in the 90's with alcohol.
What about multithreading? An OS can read from an SSD then context switch to do useful other stuff until the data comes back. Once the OS issues a request to (relatively) slow memory, the only thing that can use that core are other instructions in the pipeline and other hyperthreads; i.e no other OS threads allowed.
Memoization is borrowing time from the past, not bypassing/compressing it.
Hack
You need access to keep an eye on your spouse by gaining access to their emails?, want to know what your kids do on social networks? Whatever it is, Ranging from changing grades, whatsapp hack, email hack. We can get the job done. change of grades?We are team and have great feedback. We are 100% legit. You don’t have to pay anything before we begin your job His contacts; skylinl80@keemail.meCell or mobile number-(+1 720 996 6640)
I can't be put on the no-fly list for shoveling bigmacs down my throat.
The Rockwell Retroencabulator ...
This actually scares me.

I want to bootstrap an SaaS company focused on enterprise / b2b soon and being bootstraped I can't afford to hire an sales rep/ account manager (or be one myself while working on the product) for what looks like a long process.

This is definitely a scary thought in my opinion.

Fingers crossed, I hope that's a good problem to have.
That may be. It sure is broken. What they did:

Things of similar base type (so ignoring "signed", "const", etc.) may alias. Everything may alias with "char".

What would make more sense:

Any unsigned integer type may alias with any type of the same size; this is not transitive. (so a floating-point type may not alias with a pointer type, but there likely are unsigned integer types that may alias with both) Structs may alias other structs from the beginning until the point at which the types of their content diverge.

Even with that better default, you'd still want easy ways to override it in both directions.
Actually vcpkg designed for this. It is a package managemer for your packages. You have to maintain a submodule of vcpkg.
As others have recommended, wear a pair of Nikes and just do it. For some inspiration, here is a good technical writing blog (a Microsoft dev analyzing various algorithms, apparently as part of his phd preparation):
https://blogs.msdn.microsoft.com/devdev/

Another with funny anecdotes from the Windows world
https://blogs.msdn.microsoft.com/oldnewthing/

I also like Peter Norvig's blog
http://www.norvig.com/
That might have been a relevant metric 10 years ago, but all sorts of tech and health news now gets screen time.
Software eating the world Tesla edition
I glad it worked out for the author but so far it hasn't worked out for me. It's been 5 years which wasn't my plan. I thought it would be 6 months until I figured out what I want to do. Things that happened.

Travelled: found it mostly extremely lonely to travel alone. Got sick of seeing the same things (this place's contemporary art museum, that place's famous church). Of course I saw some amazing things but I now think I agree with some happiness researcher who claims travel is best in short < 1 week bursts every few months.

Worked on personal projects. I do get some feeling of accomplishment but mostly I just feel lonely and isolated. At good jobs I had the camaraderie of close co-workers who became close friends and we really collaborated. I tried hanging out at cafes and coffee shops and that's better than staying home but not all that less isolating. The random people that show up are not people I talk to or become close to.

I don't feel "free" at all. I'm sure it's partly in my mind. I might also be age differences. I'm older and need to think about retirement I realize I can't just make any random decision because there isn't time to correct. I tell myself I don't feel free because I don't have enough money to never work again. I do have to do something that earns significant income (enough to retire in 10-12 years). If I did have enough to retire maybe I'd still not feel free like not having enough to do X where X is whatever (fund that project, whatever...) though maybe I'd feel free to do things and never worry about income (volunteer for various things?). Now I don't volunteer because that's not going to help me earn money to retire. I'm not sure I'd volunteer or not.

I'm pretty much completely lost at this point. No idea what I want to do anymore. I waste my days reading HN and browsing the net and working on personal projects that have no future prospects and answering questions on SO. I go to a meet up or 2 a week and that's about it.
I've actually seen a lot of calls on social media to completely cut off racist family members in the last year. Could be a difference between our relative social circles.

More generally, if you're Facebook friends with or a Twitter follower of someone of interest to the state security services, like a radical Islamic preacher for example, do you really not think that is being recorded somewhere?
This report contains a lot of data. Is there a counterpart to it that, for each slide, attempts to answer the question "So what?"