skysight-inc/HackerNews huggingface dataset:
Nothing wrong with using mmap for this, though I'd just do a big map of the whole file. That said, you can achieve similar results with readv...
For the past 4 years or so we’ve simply just cultivated a relationship with an area rancher. Most will happily give you a tour of the farm and everything.

It doesn’t fix the price issue, although luckily we have enough income and prioritize food quality over other things, but it does help with some of the moral qualms you might have.
Facebook and Twitter are not public services. They are there to make money off of people clicking images and text that other people pay them to show. It does not require truth but is easier to get people to click through if you play on their fears.

If it is a poison, which I think it is, stop using it. It’s akin to an abusive relationship. At some point you (journalists) have to just help get the abused out of it. You’ve tried to get the abuser to stop but it hasn’t worked. The abuse has not only continued but it seems to have increased dramatically. Stop empowering the abuse and GTFO. Boycott if you have to. The Internet is not Facebook nor Twitter.
Depends how the fish was caught. Generally line caught fish is the best, because it reduces accidental and unwanted kills.
Fair doesn't mean the same as legal. And actually, positive discrimination is also legal and constitutional, and is not just "making decisions independent of race/characteristic".
> I think it's because the proportional cost of children actually increases as you move up the income ladder.

The opportunity cost as well. Having and raising a child means there are things you can't do because you have to raise/take care of the child.

> If someone lives in a place where housing is cheap and don't expect anything beyond public primary and secondary school then another kid only really costs some extra groceries and clothes.

At the end of the day, even for people with low COL raising a child to adulthood is still on the order of tens of thousands of dollars. Planning might also be a factor there, it's likely more present higher up the income ladder, meaning the wealthier segments see the kind of costs associated middle/long term and go "maybe not yet".
Discussed at the time: https://news.ycombinator.com/item?id=11367406
The problem is not different. Large newspapers in the US are consciously propagating narrow, misleading, and sometimes outright untrue narratives. The only different between this and "social media misinformation" is that it is backed by big money and power, and they have think tanks to shore up the narratives against scrutiny. It's information warfare. And it's asymmetric. The small time social media narrative peddlers are either freedom fighters or terrorists depending on who's side they are on.
Why is this getting downvoted? It's a legitimate question in this discussion.
I'm sorry, I am an ex-journalist now for several years, and this is laughable. The NYT, WSJ, Fox News, and each of the major news outlets have regularly and clearly been caught writing submarine stores, special interest news slants, and general just being played by PR like a fiddle -- all while claiming some sort of "only true access to news." Viral misinformation has been a part of published news since Edward Burnays used to incite invasions for hire using manufactured sources and rumors

They don't validate sources, rarely investigate, heck they barely even copy edit these days. They re-report entirely false stories published in questionable sources, using their name to validate it. Obviously everyone knows how deeply inaccurate any story becomes once technology is involved, now imagine that level of inaccuracy spread across all the topics they cover.

Its painfully self-interested for them to be claiming to be such a clear source of truth.
An episode [1] of my favorite TV show ever, Connections [2], did a great job of showing what an important step the Jacquard loom was in getting to today's digital systems.

[1] https://www.dailymotion.com/video/x3dvbkg

[2] https://en.wikipedia.org/wiki/Connections_(TV_series)
> Do we want the current status quo, where misinformation runs rampant, filling eyeballs of people who don't know better with utterly fake news?

Do we want freedom of speech, and an even playing field for freedom of expression between common people and media conglomerates? Because that's what those look like, for better or worse.
Ask HN: What are some really costly solutions that companies use?
I am trying to learn what are the tools/solutions that cost +$100,000 per month to companies but companies use them. The reason for asking is to understand there can be products where a single deal can bring in +$100,000 in sales.
The guy stayed in Twitter for 2 years before getting fired. It's rumored he was targeted after a team from Misk (MBS personal NGO) visited Twitter HQ in 2014/15 and discovered a Saudi working there.

The fact "they could not find evidence that he had handed over Twitter data to the Saudi government", yet they fired him AND notified some accounts that they could have targeted by a state-sponsored actor is ridiculous. He went back to work in Misk. That definitely says something.
3D-printed guns are not a problem that needs solving. They're mostly dangerous to the user. I'm more worried about companies trying to shut down legit spare part manufacturing & repair (think Apple but in another context).
I am aware, however you didn't explain what the problem is.
>And OO implementations often have a LOT of side effects.

If you're worried about side effects and want pure functional programming... Arc is not the language for you.
Disclaimer 1: We actually didn't totally remove jQuery as we have a few custom features and pages that use it, but for ~99.7% of our pages, it's gone!

Disclaimer 2: The following method isn't something we recommend if you rely heavily on front-end contrib modules, authenticated traffic, or parts of Drupal 7 core that depend on jQuery.
Yep... medical care and child care are expensive. Not to mention my employer-provided insurance has ridiculous co-payment, co-insurance and deductible limits
Case in point, a sort-of general purpose IO library was using mmap as the OS interface, and presenting a read/write style API. We had various bugs related to this (e.g. extending or truncating a mmap'ed file is slightly tricky to do correctly etc.).

I ripped out the mmap codepath, fixing the mmap-related bugs, and for some benchmarks performance improved by a factor of 20.

Now, there are certainly places where mmap is awesome. E.g. if you can push the mmap semantics up to the application level, or you need the sharing semantics etc.
First, Your assertion is basically not that compliance with AGPL is not hard, it's that "you could just do more than the license requires".

That is always true, even for non-open source licenses.

You could take MIT code and comply not just by publishing a notice but by publishing all of it.
I don't think that is a meaningful argument against the annoyance of having to collate and publish notices.

Imagine if you have a commercial license that requires you be able to allow them to look through your books to verify software licensing, that often has high cost.
Your suggestion is basically "why not just make your books public" (IE more than the contract requires).
I don't think that's a meaningful argument against the cost of compliance, because that's not about compliance with this license, but instead one that requires more.

The whole point of contracts/licenses is that they are a deal. What you are suggesting is a very different deal, and we'd deal with it a very different way.
I use Wiktionary — no ads, comments, and it's fast.

My father had an "Official Scrabble Word List" book, which was just a list of words without definitions. An app would be even better for this: you could take a photo of the word, and it could give a simple yes/no without any chance of "accidentally" seeing other words.
StockX just raised the biggest VC round in Detroit history, with $44MM from GV and Battery.[1]

Full disclosure: I’m on the StockX Engineering team (serverless), and we’re hiring.

[1] http://detroithomecoming.com/stockx-raises-44-million-from-n...
There's a gentleman who spends an hour or so every night walking around the neighborhood. He's usually watching something on his phone as he walks, and he always smokes a cigar at some point.

I've always wondered if he'd be better off not exercising and not smoking that cigar. I guess now I know.
It'll be compiled once for every Cpp file that includes it. Pragma once (or ifdefs) means that it only gets included once for that compilation, and has no effect on any other Cpp files.

You are correct that I'm mostly talking about template heavy header files. There is a strong correlation between template based header files and header only libraries. The matter) latter generally means the former.
genetic predetermination == ancestry

It's a very weird idea that the universe belongs to a class of people.
A quick wipe with acetone will solve most of that. I think nanoparticles in plastic stock for tracing will be the future here, and in many recycling and corprate dumping issues.

For now, the most effective tracing would be localized nozzle temp effects, inferring equipment and software by toolpath, and basic composition analysis. However, just particulate dust embedded in the plastic may be enough to determine something useful about mfg location.

Somehow, I doubt it will be anything basic police work can't uncover. Treating 3d guns as easier to produce than with hardware store parts does not reflect the current state of affairs. A trip to home depot will produce a superior slam fire shotgun with no welding, or machines beyond a drill and file. Its alarmism and fear mongering.
Virtually all business models could make more money by throwing in some immorality. I don't think that means that nearly all business models are broken, just that morality and social good have to be higher priorities.
Don’t forget the “stress test” required to get a mortgage since last year.

New buyer now have to qualify for a mortgage at the Bank of Canada rate plus 2%, which is close to to 6% now. Even though mortgages can be had for a little over 4%.

That shutdown a lot of buyers very quickly.
Go is #12 on the TIOBE index, and by that measure more mainstream than Perl or Ruby. If by mainstream you mean "the top 3-5 programming languages", then you're not talking about anything invented in the last 20 years, which is kinda the point.
Scorecard: Is Your Product Designed to Be Calm?
At a global level, those are called "rich people". I'm sure you can find some individual exception somewhere, but by and large every mac user will be able to scrape or borrow $100 by the time their software is developed, tested and ready to ship.
They sped up the Windows update part in build 1803. It's also in server 2019 now.
The article's title is somewhat misleading. The study emphasises the level of fitness rather than the regularity of exercise. [0]

> Question: What is the association between cardiorespiratory fitness and long-term mortality?

> Findings: In this cohort study of 122 007 consecutive patients undergoing exercise treadmill testing, cardiorespiratory fitness was inversely associated with all-cause mortality without an observed upper limit of benefit. Extreme cardiorespiratory fitness (≥2 SDs above the mean for age and sex) was associated with the lowest risk-adjusted all-cause mortality compared with all other performance groups.

> Meaning: Cardiorespiratory fitness is a modifiable indicator of long-term mortality, and health care professionals should encourage patients to achieve and maintain high levels of fitness.

[0]: https://jamanetwork.com/journals/jamanetworkopen/fullarticle...
Common people and media conglomerates are going to have an increasingly hard time getting heard over corporate astroturfing and foreign intelligence services.
Yup FNV is terrible from my experience using it in a custom hashmap implementation. The lower bits of the FNV hash have a lot of bias.
Well, cigars surely cannot be in the same category as something you inhale.
That’s what the names and addresses where for, these comments weren’t anonymous, the government just lacks a way to verify citizens digitaly other than this trivially broken method.

But fraud no matter how easy it is to commit is still fraud. Lying to the FBI is easy to do and probably easy to get away with, but people often don’t because the penalties are severe if you are caught. A similar system could work here if there was political will to prosecute this fraud.
Yes. You still need a test bench and to either travel a bit or have some local engineers. But the point is all the "manufacturing jobs" aren't people welding, etc.
I assume this specific method is only applicable to filament-based printers, haven't read the study though.
MIT AGI: Conversation with Yoshua Bengio [video]
On the one hand, if you have an IT department to care about such things, you probably have the extra money to upgrade. Woe is you.

At the same time, most large-ish companies (around 100+ employees I'd guess) will also have a person whose job is to negotiate pricing with all their vendors, and the discounts can be substantial.

Maybe SaaS products should just be more transparent and say "Want to have more than 50 users? Pay us double."
Close protection for executives is provided by state bodies in the UK?

What about when the executives travel?
Ill take it! no matter how many apps ive tried on my PC ive always ended up back at winamp
Which is a little reminiscent of The Onion (a satirical US website) riposte to a legal threat they received from one Michael Cohen https://www.theonion.com/the-onion-has-finally-read-michael-... though they took a different approach.
https://github.com/cmuratori/meow_hash/blob/master/meow_hash...

What do AESRotate(foo,bar) and AESMerge(foo,bar) do?

[edit]

So it's a simple cyclic rotation preceded by A.Q0 = _mm512_aesdec_epi128(A.Q0, B.Q0)

From Googling, _mm512_aesdec_epi128 looks like an Intel processor built-in.
Supporting SSO is generally non trivial as each customer's SSO setup differs and requires different configuration options. I don't see issues with charging for SSO support if the application already has a secure method of authorization and the customer would like to tie authentication into their own system.
Is this still the case? I would be very interested in reading more about the person/team behind it.. Are there articles/blog posts you can point to?
https://www.nytimes.com/2018/10/15/technology/myanmar-facebo...

For context to what he is saying.
How about not releasing a software update until catastrophic bugs are fixed?
That's a little pedantic, even for HN, don't you think? "Oh, it's not the exercise that's important, it's the stuff that happens BECAUSE you exercise."
What about the likely fake Chinese spy chip news put out recently by Blomberg? The pictures of the spy chip that this supposedly reputable news agency plastered all over the Internet have been shown to be nothing more than a bog standard filter chip they found on Mouser Electronics' website. Fake news is not automatically distinguishable from real news regardless of the source.
The average rent in Toronto is even lower than that of Chicago. It doesn't sound like there is a housing problem there.
There aren't anymore. They are using cumulative updates now
Having worked among journalists(not a journalist myself), a lot of them are completely unaware of their biases. They're quick to point out biases in others, but then they can't see how radicalized they are when it comes to how they believe it's up to them to determine how other people should be thinking. Social media being the prime example, they believe it's their duty to sway the public when the public's own thoughts don't align with popular politics, when in reality their primary job should be to report the news and now view themselves to be saviors of the common person. I knew journalists who both overtly and covertly believed that they were just in writing information in a slanted way in order to bolster their credibility as a source of truth, and they'd even acknowledge how it contradicts the idea of checking their biases because they thought the ends justified the means.

Time and time again, I've caught insanely biased or flat out wrong headlines that these news outlets sheepishly "correct" later down the road after the story has trended and most people remember what the original headline said. It's abominable, but they have no shame at all. HuffPo is possibly the worst, but I've seen this happen just about everywhere.

No, they're definitely not all like that, but it always seemed to me that enough of them are that it's a problem.

I remember at one point in conversation it was mentioned that some people in the newsroom, who remained nameless, were more conservative than liberal. The prevailing reaction in the room was astonishment, which is troubling since there's no reason why both conservatives and liberals wouldn't be interested in the production of accurate, slant-free news.
I wonder if they considered decoupled Drupal, where Drupal functions as the CMS and API, and you can use anything you want for the front-end. I've done 3 sites this way, using Angular for the front-end, and it's been a pretty good experience.
Reminds me of this http://mark-lucovsky.blogspot.com/2005/02/shipping-software.... (from 2005, during the longhorn debacle that would turn into Vista).

> I would argue that Microsoft used to know how to ship software, but the world has changed... The companies that "know how to ship software" are the ones to watch. They have embraced the network, deeply understand the concept of "software as a service", and know how to deliver incredible value to their customers efficiently and quickly.
Are you attaching to the kernel?
You have to compare it to avg incomes. They make less in Vancouver than Chicago, so it takes up a much higher percentage of their income.
An Introduction of Go
No consensus on how it should work, and the standard anyway deals with the runtime environment rather than the tooling.
You were very smart not to buy.

Housing prices are coming down in Toronto as well, and people who bought homes still under construction are finding out that that the prices are now lower than what they paid.[1]

Canada is generally has recourse laws, which means you can’t walk away from an underwater mortgage.

[1]https://www.thestar.com/business/real_estate/2018/01/29/how-...
How do you propose that someone attain a high degree of fitness without regular exercise?

Would it be insufficient for a study to tell people to drink more water even though we know it's not the action of drinking water that helps us, but the cellular interaction with it once it's inside us? And even though people could connect saline bags directly to their nervous system?

So, I'm wondering what you're clarifying.
Hafez's poems are not fiction. They don't have a plot, they are just pure expressions of emotions.

I am curious to know if Ferdowsi ever talks about feelings in Shahnameh [0]. I cannot remember any such instances, but I have only ever read small parts of it.

[0] https://en.wikipedia.org/wiki/Shahnameh
Free dictionary sites are pretty appalling. Paid dictionary apps are great.

I've never actually used the online OED, but I imagine it's great.
> i also can’t think of a case where a forgery has caused a serious problem in the public sphere.

You're not paying attention then. Here's just one example.

https://www.google.com/amp/s/globalnews.ca/news/4333499/indi...
If you have two graphics cards and a modern processor you can pass one of them through to a VM that can directly use it with native drivers, so you get native GPU performance in that VM. However that means the picture only goes to the physical outputs of that second GPU.

What Looking Glass does is take the output picture of that GPU and copy it into a window on your host machine.
They're not really comparable.

What good is being fit when you die in your 50s from lung cancer?
>Auto executives say they need to avoid a nightmare tech scenario that’s become a common refrain at industry gatherings. They don’t want to become the next “handset makers”—commodity suppliers of hardware, helplessly watching all the profits flow to software makers like Apple

Weird comparison since Apple has always made the lion’s share of profits from hardware. Also interesting contrast between big automakers and Tesla. I see Tesla as being in the hardware biz primarily
I think it's more that regular exercise isn't sufficient to actually have a high degree of fitness. If you exercise regularly but still over eat with a terrible diet then you're likely not going to actually get fit.
Please don't ask such questions. Parent comment already has positive score, but your comment remains. There is actually a rule saying you should't do this on https://news.ycombinator.com/newsguidelines.html: "Please don't comment about the voting on comments".
I found the app "Pleco" invaluable when I was learning Mandarin. It does handwriting recognition (even with a beginner's scribbles), character "assembly" (put the bits together), transliteration, and an impressive OCR.

Once you have a character, "word" or sentence, it will give an English definition, male and female pronunciation, show the correct way to write the character in simplified (PRC) or traditional (HK, TW, SG etc) script, link to the component characters, and link to the characters to which it itself is a component. And give example sentences (with pronunciation).

The basic version is free, but it's one of the few Android apps I paid for.
I'm a manager too (my question was refering to a manager as a boss of a business, which is vastly different).

What you say is very true, except when your team is a bunch of people who positively don't want to grow, they just want the paycheck and the minimum trouble possible. You're basically managing to make sure the comfort zone doesn't grow. And that's as tough as it is boring.

I have nothing against the comfort zone, that's perfectly human. But not every team member want to grow.

(me realizes that maybe I has a cultural issue with the company :-))
Since we arrived on this null-character discussion by considering text manipulation in C, I suspect most comments in this thread are made in the assumption that the text must be manipulated in some way (mine are!), so treating it as a byte stream of unknown encoding doesn't really solve the problem.

While null in filenames may be forbidden on Unix (and also on Windows), there are more exotic systems where it is allowed [1]. When writing portable software it's probably best not to make assumptions about what characters will never be in a filename.

Naturally if you have a problem where you can get away with just moving bytes around and never making assumptions about its contents then that is a great solution.

[1]: https://en.wikipedia.org/wiki/Filename#Comparison_of_filenam...
This is almost guaranteed to be used as a tool to hurt innovation in modified IP.
> have regularly and clearly been caught writing submarine stores, special interest news slants, and general just being played by PR like a fiddle

Including the one we're commenting on. There's a narrative being driven here, and it's sad so many even in our industry can't recognize it. We can argue levels of harms by these open content platforms (I often reside on the most-people-aren't-stupid, sticks-and-stones, please-no-gov-interference side), but there's no arguing what harms interests want you to think are occurring.