skysight-inc/HackerNews huggingface dataset:
> p-strings means the length is the first item of the data buffer, which is just awful

You can represent it as a struct of (length, char[]) which isn't awful.
That's exactly the point. There is a huge difference in updating Windows 10 and macOS.
> but you can’t use the law to stop people reminding you of things you did.

Why not? In public places people are generally free to go where they want, but stalking is still illegal (in most jurisdictions that I am aware of). Has outlawing stalking led to even worse problems? I don't believe it has. I don't believe giving people who are not public figures the right to not have their names associated with certain search results concerning things many years in the past is going to lead to "even worse problems" (which?).

Note that a 'right to be forgotten'-like judgment was made in the USA in 1931 in Melvin v. Reid, and I don't think it has led to "even worse problems". Perhaps you could be more specific about the problems you foresee?
Is working at Microsoft under Satya Nadella still "dystopian" as the author mentions? If so, how?
OP here, I'll add my experience living in Catania, a city in the south of Italy:

- Almost everyone over 35 doesn't know English at all, and even younger folks are pretty lacking in this regard.

- Bureaucracy is definitely a mess. Even if sometimes there's a website for something it's the sort of website optimized for IE6, if you know what I mean.

- I can't speak for all Italians of course, but I don't think most of the people I've interacted with are particularly interested in tech. A friend of mine recently decided to learn programming and people reacted to it as if he decided to stay unemployed for life or something.

- The situation regarding startups of course varies from city to city, we actually have a startup incubator in my city, they claim something like a 90% success rate of their startups... Also I'm not aware of any even remotely big tech company that started here.

- Catania is definitely at the forefront of something, perhaps organized crime, but not technology.

- Public transportation is ok-ish.

- Public healthcare is not perfect but still way better than what you'll find in the USA for instance.

- Renting prices are pretty low.

Overall I don't think it's worth living here, the missed opportunities greatly overcome the low rents and the good weather.
As of somewhat recently, it’s possible to defer updates through the settings menu without using the group policy editor (though only on Pro, Education and Enterprise):

https://support.microsoft.com/en-us/help/4026834/windows-10-...
Truth hurts.
OmniFocus is far more than a basic todo app, if you are using it as one then I think you are using the wrong tool (or at the very least, a very expensive and unnecessary tool).
1) accusing a man of being a pedophile

2) selling vapor ware (full self driving)

3) stock price manipulation
Do you really care that much? Everything in this world is about tradeoffs. So tell me, if you had a magic button that would erase this narcissistic, childlike, condescending cult leader from history as if he was never born (or retired to the Bahamas forever after selling PayPal), would you press it? If you would, then in my opinion you are a spiteful and/or neurotic person with a distorted sense of scale. If you wouldn't, then all the factors you mentioned above are really unimportant compared to the results produced by Elon, and you know it. This is not to say that his behavior shouldn't be improved in an ideal world (we don't live in one, though). This is to say that Elon is more than worth the tradeoff. At this rate of crappy behavior observed he's basically a steal.
> The amount of institutional knowledge you need in order to thrive should be more fire hose than eyedropper.

I don't think this is what you meant, but I disagree as written. You shouldn't need a fire hose or institutional knowledge to thrive. Of course in practice, this is rarely true, but in general I think aiming to require minimal institutional knowledge is a good goal.
This comment breaks the site guidelines, which ask you to assume good faith, among other things. Please don't cross into personal attack, regardless of how wrong someone else is.

https://news.ycombinator.com/newsguidelines.html
>Why is 3 a major update?

Because they consider it a major upgrade, hence the major version number changing? It has a major new UI rework and features? If you don't like those things then it's not a valuable major upgrade to you, which of course is the market working exactly right, but it's still a major upgrade. OmniFocus 2 was released May 2014, so over 4 years ago. That's a plenty long free support period.

>The only useful new feature is batch editing, which was quite honestly overdue... And it still doesn't support an "end repeat" date!

>Things 3 seems much better featurewise.

Then get Things 3! Like, wow, blub has just discovered for the first time that competitive products can be different, and get updated to different degrees, and that there might be reasons to pick one over another one! Who knew right?
Because you're ignoring their first stated goal (which is immediately prior to the snippet you quote):

"we found a lack of published, well-optimized, large-data hash function"

Large-data != Inputs the same size of the outputs. Your comment is irrelevant to their goals.

(And later in the doc: "Don’t use the Meow hash for tiny inputs. The minimum block size for the Meow hash is 256 bytes")
This article is wishful thinking, with no real evidence of what the author is saying is viable or desired by many people. I'm not sure why it is here, since it is pure ideology with no real scientific backing.
It wasn't a failure but it wasn't much of a success either. The larger phones blew it out of the water in sales.
Grandparent posting said "Realtek in linux is an irreperable[sic] shitshow" which I take to mean that it must work in some other operating system like Windows, so it would be a software issue.

Now if they had said "Realtek is a shitshow (but hey, it's cheap!)" I would agree :-)
If you are given the external string as bytes, which is all you can have if you don't know the encoding. Then steps 2,3,4 can all be done as one step I would have thought. Something like - https://github.com/adamretter/utf8-validator/blob/optimize-u...
> The problem with them using words like 'fairness' is anyone who disagrees with what they're doing is immediately put on the defensive and labelled as 'unfair'. This is far from the truth though, as what society today is actually doing, is trying to figure out exactly what 'fair' should mean. Google et al just took it upon themselves to start pushing their particular brand of fairness onto society and acting as if it's the most natural widely-accepted common sense.

I'm sorry, but this comment seems reactionary in the extreme. Could you identify aspects of the courseware itself that are "unfair" in the sense you're using? Or give a misleading definition of "fair"?

> Not enough <demographic> represented in the workforce? Bias the candidate selection model to equalize it. Some <demographic> is over-represented in crime statistics? Bias jail sentencing model to be more lenient on them and hope it equalizes their representation in stats over time.

Further, followups like this suggest you're afraid that this is a play by Google to lead to the (presumably undesirable, from your tone) outcome of fairness. You're not-very-subtly suggesting it'd be unfair for black people to do less jail time for the same crimes, which has no relevance to the conversation at hand. Why include this? Is this a subtle signal? A tangent slide you fell down? A bad edit of a post?

> I don't know what 'fairness' should actually mean in modern society, but we definitely need to be aware that the US tech industry is hijacking the term to fit their agenda, and need to be checked. And the exact nature of the biases they're injecting should definitely be made transparent and put to public debate.

It's also extremely important to note that cultural elements are using the same processes to normalize acute unfairness in the workplace and in policy, often under the cover of "the machine predicted it."

Making sure that a broader class of people know that all machine learning does is fit models to pre-existing data (and therefore are quite limited in what kind of novel insight they can glean safely, requiring utmost care in the model design and data normalization) is an incredibly good idea, both for the industry itself and for society as a whole. It's in the nearly the exact same vein as, "I wish more people understood the implications of Bayes/Laplace's rule or the law of large numbers." The only downside is that fewer folks will be able to peddle complex-sounding ML methods that boil down to (from a practitioner's standpoint) a few lines of trivial Python as if they are the cutting edge of AI research.
> given homelessness levels, and given as SF is has one of the highest ones (slightly lower only than NYC) the conclusion seems to stay - expense level is very high.

That doesn’t follow at all. NYC spends 10x what SF does on homelessness. SF spends $3.8K [1] on each homeless person while NYC is around 10x that. [2]

[1] https://www.sfchronicle.com/bayarea/heatherknight/article/Bu...

[2] https://www.wsj.com/articles/cost-of-housing-homeless-in-she...
"Yup - first line of advice I give to family now is "shut your social profiles, and get off of the internet"

I don't have facebook, but I find I'm very pressured to use it and instagram for work related promotion...

I think the biggest problem is the addictive nature of it, followed by the self-esteem erosion. Does staying in contact outweigh the drawbacks?
The individual companies likely not, but it's not like those are the only companies doing these things. Human achievements come from standing on the shoulders of giants, not from individual supermen - we see this through history time and time again, with so many groundbreaking discoveries being independantly made at about the same time simply because previous discoveries had made them possible.

This is not to diminish the minds of those who discovered them, of course, but it is to _temper_ the hero worship. What SpaceX is doing is not enabled by an individual superman, as the comparison with Bruce Wayne or Tony Stark would suggest, but by allocating resources to something made possible by the work of hundreds of thousands of people.

Remove one man from the picture there and that work still exists. Just as other companies are doing the same things _now_, because they are possible _now_, they would be with any individual person removed, regardless of who that person was. The details would be different - without Musk, it would be some other company doing this, without the lead designer, the things themselves would look different, without the lead engineer some components would make different tradeoffs, et cetera - but without Elon Musk, everyone working at SpaceX would still exist, everyone working at Tesla would still exist, and everyone working at other companies doing the exact same things would still exist. We could be a little behind, for sure, the hero worship could well have translated into inspiration for some, or even a lot of, people, but that doesn't make the man himself necessary for any of those things.

I worry that saying things like this comes across as attacking the man, which it absolutely isn't. Without Einstein, we would still have made the same realisations, collectively, eventually. Other people were working on the same things at the same time. Without Edison, we would still have the electric lightbulb, entirely likely invented by, hm, who...

Oh right, Tesla. The company itself is named after one of the most blatant examples of this phenomenon. Musk may even understand - he certainly does, he's clearly not dumb - that he isn't a unique superman. That doesn't make him "bad", but it does mean that we really don't need to waste thousands of words on defending his obviously harmful actions under the theory of "we have to let him do and say bad things or he might stop doing good things too."
You might be surprised at how these things work, given enough time. My friends and I also used to joke about the "poor cows" (like you mention in a child comment). Then, slowly, cracks started appearing in our defenses. We realized that we do actually care about the lives of animals, strangers, and all manner of things in a way that maybe wasn't natural for our species even a few generations ago. Slowly, many of us have abandoned the meat industry. Even guys you may not expect it from.

Obviously I don't know you, and have no idea if any of that might apply to you. But I get the sense that unless a person is a sociopath, it's almost unavoidable to slowly wake up to the fact that other beings are sentient, and deserve our compassion. This happened with skin color and gender, and it seems to now extend to other species.

Cheers.
>Eventually, he's going to have to shell out for the upgrade

Or if he doesn't like it he could switch to one of the many other options. Or something open source, which can then be maintained himself if he wishes. That's part of the core point of open source you know? That one doesn't -have- to shell out for upgrades is why upgrades are good compared to subscriptions. If a developer puts out a bad paid upgrade, they get the most direct and unignorable form of feedback there is: less money.

>just to get something that had the right option in Xcode selected so he can still run it, despite an almost complete lack of new features or anything that actual development time was spent on.

Thanks for telling us that Apple promises backwards compatibility with all Mac software forever and that there are never any development maintenance of any kind required except "selecting the right option in Xcode". This was really news to me but will certainly make things a lot easier going forward now that I know nothing ever gets deprecated and removed from the OS over time.
Therr is a subtle difference between anonymous and mapped readonly pages: the later can be discarded right away because their contents were read from permanemt storage to begin with. Anonymous pages need to be written to disk first and that is significantly slower.
> My understanding was that utf8 was crafted specifically so that the only null byte in it was literally NUL.

Correct.

> That all normal human language described by a utf8 string will never contain a NUL.

Correct.

> If you have embedded NULs, it's not really utf8, is it?

Incorrect.

NUL is a valid character. If you accept arbitrary utf-8, or arbitrary ascii, or arbitrary 8859-1, then there might be embedded NUL. You can filter them out if you want, but they're not invalid.
Photo Mechanic 5 with Activation Code and Crack (2018)
I don't really see an issue here. The Daily Stormer is just a political site, should political sites really be banned for having wrong think? Sex related topics on the other hand tends not to have any intellectual use for people below 12.

I'd rather find my son reading The Daily Stormer than sex ed when he is 10.
How can a student find a mentor?
You're shocked people will put up with inconveniences on an operating system in which they develop and sell software for a living?
I would say it has already been confirmed. There have been three studies now using genes to predict educational attainment (easier to measure in large data than IQ, but very similar, as it turns out). We can now predict about 10% of the variation in educational attainment from your genes. This might not sound a lot, but if you look at the difference between the top and the bottom genetic scores, it is substantial. (Like, top quintile: 50% go to college, bottom quintile, 10% go to college.)

These are not just correlations. By looking within families, we get an unbiased estimate of the true causal effects of these genetic variants (because DNA is randomly assigned among siblings by the "lottery of meiosis"). Effect sizes are smaller than if we look across different families, but still significant and large.

Lee, J.J., Wedow, R., Okbay, A., Kong, E., Maghzian, O., Zacher, M., Nguyen-Viet, T.A., Bowers, P., Sidorenko, J., Linnér, R.K. and Fontana, M.A., 2018. Gene discovery and polygenic prediction from a genome-wide association study of educational attainment in 1.1 million individuals. Nature genetics, 50(8), p.1112.
For me, squashing images is most useful when creating thumbnails. This makes pages load much faster due to the smaller file size. In this sense, optimage would be more useful if it could also intelligently crop the image down to a square.
> they must have been much more reactive and automatic in their behaviour, and if you could travel back in time you would feel like you are amongst complete lunatics and it would be very frightening

This is exactly how I feel when I visit certain extremely religious relatives. They have a 'spiritual' explanation for almost every last tiny detail of their ongoing daily experience. Sometimes I think a few of the more fringe groups of this sort are actively enabling unmedicated schizophrenics.
Tutorial on Backprop and Compute Graphs
I thought it was a good movie but morally backwards. Once we have the ability to select against alleles that decrease happiness, intelligence, health, sanity, and longevity we are are morally obliged to do so. His mother’s choice was as monstrous as refusing to let your child learn to read.

Would you subject your child to a 1 in 1000 chance of being brutally disfigured? Well genetic defects that cause much the same thing are more common than that.

The use of genetic measures over measures of the phenotype in that movie was silly. Cognitive genomics will never be as accurate as an IQ test. It would be a mistake to, for example, replace the SAT with a spit swab, even in a society with genetic engineering.
I was thinking more along the lines of a hash map.
I grew up in Victoria, BC. There were a lot of Asterix fans, and relatively few French speakers.
> You can represent it as a struct of (length, char[]) which isn't awful.

It kinda is still: if you're storing it on the stack you're dealing with an unsized on-stack structure which is painful, and if you're not you're paying a deref for accessing the length which you don't need to. If by `char[]` you mean `char*` then it's a record string, not a p-string.
Personal attacks will get you banned here, regardless of how annoying another comment may be. Please review https://news.ycombinator.com/newsguidelines.html and don't post like this to HN.
I'm aware not everybody will be able to switch, but for me, 2018 is actually the year of the Linux desktop as all my projects and customers in 2018 are using it (plus a decreasing number of Mac OS notebooks still, but Windows is a complete outlier in IT shops). And Ubuntu is not bad at all compared to the alternatives.
My vague understanding is there's some kind of inode lock on in-use libraries, and only a reboot releases them. Therefore files can't really be overwritten. New files (and inodes) are written elsewhere, and then moved into place as part of the reboot.

Two things I don't understand: why updates are so slow; and why the updating can't be done out of band. Seems like it could be done either with hardlinks or using VSS, so that it's safe to do as a background process rather than effectively kicking the user off their own system for the entire duration. Both hardlinks and VSS have been around forever on NTFS.

While ReFS supports volume snapshots (but not hardlinks), its rollout as a replacement for NTFS appears stalled, only being recommended for specific use cases that aren't the general purpose use case (system disk).
>At the end of the day, though - do we need articles [...]? No, we don't.

Who's "we" and who are you to state that articles should or should not have been written? I don't understand this mindset. I understand disagreeing with the thesis of a piece of writing but I don't understand the notion that a piece of writing "didn't need to have been written."
Federal Circuit Overturns Fee Award in Crowdsourcing Patent Case
Seriously. I wouldnt use the term “luxury good” to describe a child, but having kids is far too expensive. My wife and I want to have more, but we can barely afford one. The hospital bills even with insurance are ridiculous, paid parental leave in this country is practically non-existent, and daycare is expensive (to the point where it is often cheaper to have one parent work and one stay home with the kids than to have both parents work and place the children in daycare). Housing for families is also incredibly expensive and can be hard to find. My city is building apartments like crazy but the vast majority are one and two bedroom luxury apartments, not three or four bedroom units than can accommodate families. Our housing market has also completely rebounded so houses are too expensive.
I’ve found that I have seasonal allergies well into the winter. I was surprised. Allergy meds made a big difference for me.
These two bits of advice really spoke to me:

> Consider being a for-profit.

and

> If you’re going to have a public space, try to find a cheap place you can buy and own.

I have, for a few years now, really wanted to start an art gallery, or at least something similar to an art gallery.

I've looked into the local equivalent of a nonprofit, and I've considered renting a super cheap space and keeping irregular hours and bla bla bla.

But I keep coming back to the idea that I want to really be in charge, even though I think it'll never make any money; and renting a loss-leader lifestyle storefront is a great way to achieve untenable fragility and poof it disappears at your next personal downturn, taking a chunk of your net worth with it.

I have no idea if I'll ever pull it off, but I'm increasingly attracted to the idea of forming an LTD and buying the cheapest space I can find... someday. Maybe in ten years.

In the meantime I am considering trying to do a pop-up version, which might be a stupid idea but would certainly be a learning experience and not have any recurring costs. The pop-up idea is, I think, useful for any kind of creative thing that doesn't require much equipment.
> Curious then why Starbucks doesn’t adjust.

Poor quality beans and robusta are ‘hidden’ with a dark roast as the flavour moves to bitter. This also lasts a long time and doesn’t go stale for ages. As a general rule in coffee, light roasts have a variety of tastes and dark ones are just bitter.
This saves a lot of money. Low quality arabica beans are less than half the price of good ones, and that’s for me, purchasing a few kg at a time. Starbucks will be using a lot of low grade robusta and that stuff cheaper again.
Combine this with a brand which makes coffee where the dominant flavour isn’t the coffee but the milk (if you can call miscellaneous juiced nuts etc that) which is often flavoured. I don’t think the coffee will be their primary cost in consumables, I’m guessing milk is.
If you want to have a play, get a heat gun and a kilo of beans. Have a play about with different roast styles. It’s a slippery slope but it isn’t an expensive one.

Edit: Here is a link with a breakdown of Starbucks costs. Not sure how accurate it is, but it puts the coffee as 16c per cup, and the milk at the same. The cup itself is about 32c according to the article.
http://coffeemakersusa.com/pricing-breakdown-cup-coffee/
Ask HN: How to conduct a code lab?
I am preparing for taking a code lab for about 25 engineers where they have to follow along what I do. While I show the steps I am doing on the projector I am not sure if I should create a slide and embed code in that or just create the whole tutorial in form of a markdown and share at the begining of the session.
I cannot understand why there are so many updates. It's seriously ridiculous.
Batch image resizer imgp v2.6 is released
[paper Notes] ShadowWalker: Peer-To-peer Anonymous Communication
Forgeries have had significant impacts. Everything from beef being photoshopped into meals leading to violence (e.g. in Hindu regions), to significantly impacting the burden of proof required for prosecution of war crimes.