skysight-inc/HackerNews huggingface dataset:
This is a great analogy. Alcohol, cars are highly regulated. Facebook etc less so. Facebook will be much more heavily regulated in the coming years. It won't be banned, unless it breaks the regulations.
I tried setting up spacevim (edit: wrong! It was spacemac I used) a few days ago but gave up. I couldn't make auto-complete and snippets work.

Anyone knows how to make it work without having to spend hours? I was trying to make it work for python. Also, I want tab to be used.

EDIT: I am wrong. I tried setting up spacemac. I didn't know about spacevim.
Wow, how can this conspiracy-theory-like nonsense be voted to the top of the comments? I thought Hacker News was a rational place.

The reality is that lazy loading images really does help webpage performance, especially on mobile. You cannot properly implement it in the browser without additional information from the page developer - because you'll never know which images are so important that they will always need to be loaded, and which ones can be lazy loaded once they're almost in view.

We're talking about the addition of one attribute to the <img> tag here. There's no conspiracy, and there's no ulterior motive.
Remember that the amount needed differs if you have an IHS (every modern desktop processor) or straight die like in a laptop.
Ability for me to mark a user as "someone I'd like to meet". If they also mark me within 12 months, then we both get an automated email. If they don't, nothing happens.

It would probably need some anti-abuse mechanism, to prevent someone from just marking every single user.
The reason so many people are showing a gluten allergy/intolerance is a fad propagated by social media.

It has nothing to do with evolution - obviously - since it doesn't work in such a small time frame, and it has nothing to do with glyphosate, since glyphosate is used in most of the other (gluten free) crops as well.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3945755/
If there's anything I'm getting from these comments is that everyone seems to have all sorts of different reactions, and we should all be much more aggressive about randomly experimenting with different diets
> Facebook has no clue what kind of stuff gets posted on their platform

> The idea that Facebook is causing/enabling such behaviors is ridiculous

Those two points are not related to each other.
What about quinoa? If that's still an issue, what have been your favorite substitutes for grains? I'm fond of riced cauliflower.
> It's like the old adage about compiler bugs: they exist, but if you think you've found one, you haven't.

I'm not sure if that's a good simile. I've found several compiler bugs in my time, and I proved that with assembly output from the compilers and I've received updated compilers from the vendor as a result of my reports.

I suspect that to find "bugs" in physical theories must be orders of magnitudes more unlikely.
I can't help but shake my head at this whole argument.

For literally years I've been telling people that a VPN run by a third party does not enhance privacy or security, but because the consensus is "VPN = secure" it's a losing battle, and I sound like a tinfoil-hat-wearing loon.

Most VPN services are not designed to provide privacy or security, and if you have a subscription to one, that's probably not the reason you bought it either. They're designed to provide the minimal amount of traffic hiding required to allow you to pirate TV/movies/video games without getting in trouble or hitting blocked URLs. And it works, or you wouldn't still have the subscription.

Now, as both the buyer and the seller need a non-shady cover story, they describe hiding your suspect downloads as "security and privacy" - it's not utterly inaccurate, but it implies far more than what's happening.

The problem with the narrative is that it makes laypeople think they are "more secure" when using a VPN, when in reality, the opposite is true.

As an example, when I perform a Google search, my traffic is encrypted over SSL, so my ISP can't see that. My ISP can see the domain name of the result I click, and a VPN would mask that from them. But now a new third party (the VPN provider) can see that instead. This makes sense if you're downloading pirated media (as the VPN service doesn't care), but the buyer is in effect trading:

1) An ISP, which is in most western countries heavily regulated, with legal commitments to auditing and your privacy (just not from law enforcement).

for:

2) Some computer somewhere that is run by an utterly unregulated company or individual that may or may not know how to configure OpenVPN correctly and that you don't know anything about, other than they run a shady business based on allowing you to download pirate files on the internet. Also they're not at all regulated or audited, and may not even be in a jurisdiction that requires them to protect your data at all.

Given this trade-off, trusting a VPN to do a better job of protected your privacy than an ISP seems like madness to me, given that they could easily sell whatever information they have on you on and there's nothing you can do about it (and you'd likely never find out). It may not even be a crime depending on where they're located.

There's arguments for VPN in preference to unsecured Wi-Fi, but in reality, how often is that an issue? How many scenarios are there where you can't use mobile data instead? (And even where/when you can't, you still have all the downsides above which may or may not be better).
I totally agree with this and this is actually very relevant for us at Prisma as we're supporting various kinds of databases. Our goal isn't to have one universal data access abstraction, but instead we want to ensure developers still get all the benefits of the databases they're using underneath (as all of them have different strengths and are great for different use cases)! We're currently working on an improved version of our data modelling language that will make it possible to model DB-specific properties (indices, special DB types, ...) into your Prisma datamodel, you can find the RFC for it here: https://github.com/prisma/rfcs

PS. We've looked into mammoth a lot for inspiration and really liked it, great work!
Suppose many smart people do something that makes no sense to you. Specifically because something seems obvious to you isn't done by them.

Then it's reasonable to assume you are missing something. One easy way to figure our what you are missing is to say "hey, I'm not from this field, but I don't see anyone try X. Can someone from the field explain to me why?".

That is not calling everyone in the field stupid. It is trying to learn more about the field. Generally you can learn a lot from "why don't you just..." questions because they reveal widely presumed knowledge you are missing.

Hubris only comes in if you start chastising others for not doing the obvious thing.
For me it's not so much slow walkers that's the problem - everyone walks at a different speed, and I tend to walk quite quickly anyway (pretty close to a slow jog, I'm told).

The more annoying thing are the "street zombies" who - upon their phone beeping - stop dead in the middle of the street. Usually at a crowded bus stop on a narrow street where it's impossible to pass. By that point they're so oblivious to what's happening around them (or wearing noise-cancelling headphones and listening to music so loudly I can hear it too!) that it takes two "excuse me please"-s or a tap on the shoulder to snap them back into reality.

I don't know why I find it so annoying, but I do. It does, however, make me appreciate the people who are considerate. The phone goes beep, they move to the side and make a decent effort to leave room for people to get by.

I turned the beeper and vib motor off on my phone (well actually, the vib motor is broken and spares are NLA). I'll deal with it when it's convenient and safe to do so, thanks. And people are generally okay with this - so long as they know that if they need me, they're in for a bit of a wait.
I gave up on productivity long ago. It depends on the type of work that you do. If I am let's say on the assembly line and everything is already thought of and I have to follow well written guides, then I could try to be productive, avoid distractions and so on.

On my job I have to research complex problems, that you can't simply google them and find an answer. It takes time to design a possible solution, trial and error, a lot of thinking and observing and in the end you feel that you have hit a wall. In such cases I simply need a break and to think for something else for a while. It is also very hard to put an estimate and set a deadline for a such thing, so productivity is the least of my problems.
8yrs, I Finally Success Switched from JetBrains WebStorm to Visual Studio Code
I'm confident that it's down to the freedom of choice. That is, people are exposed to a lot more candidates nowadays and rely less on their own social circles for partners.

I believe everyone would like to get together with the most attractive people, however in practice it doesn't work like that and there's a distinct gender skew in that area.
> This is not hard to figure out - they are barely even trying to hide it.

You meant to say that are aren't trying to hide it, right?
I agree on all of the above points, and your excellent choices in classic JRPGs.

Specifically on slowing things down in 3D RPGs, Final Fantasy VII was pretty fun, even if a little grindy, up until the endgame. But by this point, effective grinding consisted of summon spells, which meant watching the same 90 seconds of an unskippable cut scene over and over again. Like, I get how mind-blowing 3D was in that era, but it killed the pacing so much for me that I never bothered to finish the game. I hear some cool stuff happens with Sephiroth, or whatever.
Nobody wants regulation?
Of course, it's a probability distribution, as just about anything else in life. But finishing high school is a predictor of good health, long lifespan, and a host of other things: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2099272/

Another powerful predictor is having both parents, and forming a family.
> Basic Computer Skills (not just MS Word but using the command line, editing the registry and setting up a network.

I don't want to sound like a gatekeeper but you're really not going to get very far as a "hacker" unless you know how to program. Honestly, this article just looks like a list of paid courses and a somewhat basic list of buzzwords :/
Seriously, people said they were impressed by the speech. I think it was terrible for anything beyond the condolences.

Instead of praising the values the shooter tried to remove from societies, they are giving him a hand in doing so.

Sorry NZ...
Also any surface that comes into contact with the gallium should really be nickel plated.

Copper is OK, but Gallium does alloy slightly and you may need to reapply after a year or so, not a problem with nickel.
Just so you know, in addition to what saagarjha posted, we (moderators) care about comments like this. We leave them flagged because of worries about how they might affect others, not because we don't care about you.

If there's a chance it might help at all, you're welcome to email us at hn@ycombinator.com.
At the time the book was written the later chapters on models of induction and abduction were describing one of the better models of human thought. There is a strong emphasis on meta-interpretation as it was believed that exploration of these models by implementing them in more specific languages would be a path towards intelligence.

Peter’s new book (from 2012) shifts more heavily towards statistical methods. This reflects the unreasonable effectiveness of scruffy methods against the neater approaches. A more modern versn of this logical approach would be something like answer-set programming or other constraint based models of logic.
To my knowledge, the first generation prevented infection from 2 strains. The second generation added 2 more. Eventually, Gardasil-9 came out, protecting against 9 strains.

But these are all precise genetic vaccines that should not affect non-included strains; they don't generally activate the immune system at large (hence their safety).

Perhaps something changed since I stopped reading papers about it?
Two things you need to do when applying LM.

Clear coat around the die covering any components (resistors and caps) and less is more. Seriously, a tiny drop is all you need.
So much keto talk here yet no one mentions blood markers or LDL (bad cholesterol). What ever happened to good'ol'data approach?

It's pretty obvious that altering ones diet can have profound effects. But a scientific approach to diet is a far safer approach. Ever tried to lower your bad cholesterol?

So a group of friends who are data obsessed tried keto after another group of friends raved on about it like it was a sign from above. The group that took a scientific approach getting blood work before and after noticed their LDLs shoot through the roof. Before keto: LDL 70. After 4 months on keto LDL 190. That's well above the Sutter health recommended LDL 120. Even 120 is well above what heart surgeons recommend to avoid cholesterol in your arteries: LDL below 70.

The other group that raved on about keto claimed to have done blood work but never shared the numbers. They said they felt great etc.. no st, the brain craves fats. You will feel better. You can triple your fish oil intake and experience some of that natural high for those daring.

Anyways some food for thought.
I tend to agree. While I find it painful to hear criticism when I inadvertently use words or phrases that are taken hurtfully, I nevertheless would prefer to be offered a wider perspective about how my words and actions are viewed so I can more clearly communicate in the future making fewer verbal blunders that detract from my point.
Perhaps off-topic, but if someone here on HN is from Saudi-Arabia or a similar country:

How does this work in societies where rich/succesful males can have multiple women? Are there simply a bunch of leftover men? Or is the number of men who have multiple women today too small to make a dent?

Assuming there's 50/50 men/women there too...
https://www.bbc.co.uk/news/technology-47826946
(I work at Prisma)

Thanks a lot for the positive feedback, we appreciate it a lot! As to your question, I assume with "backend schema" you're talking about the Prisma datamodel? Whenever you change the datamodel, you're also re-generating your Prisma client. So, it can definitely make sense to version your Prisma client as your datamodel changes. Does this clear it up?

The main purpose of the code generation really is to have proper typings for all database operations based on the datamodel. For example, if you're adding a new model type to the datamodel, Prisma doesn't only generate according models in your programming language, it also generates types that facilitate filtering, pagination, ordering and any other operations of your database.
The murder rate in London just surpassed NYC. There were many articles over the weekend about it if you’re interested.

Knives are prohibited there, and they have public knife amnesty bins (which occasionally get ransacked by thieves). Much like other cases of prohibition, it’s not really restricting the behavior of criminals.
How to import a Solidity / smart contract ABI into a Dapp Front end? 4 solutions
What's the advice for avoiding it? Organic food (which I always thought was a fad)?
Totally agree! I'm actually working on improving the Go API right now. We'll have a new API in the coming weeks that should look a lot more idiomatic :-)
Focusmate has nothing to do with pair programming. It's used by people who work remotely and don't have the benefits of working in an open plan environment.

The problem lies in how focusmate and pair programming are implemented.

Inexperienced dev managers, who have little or none knowledge of XP, use these techniques to micro-manage developers, making their life's miserable.
I'm often surprised that there is not more discussion about hacking the sexual market place on Hacker News.

We talk a lot about growth hacking and hacking technical systems. Hacking in the meaning of "Using intelligent, unusual approaches to gain an advantage over the typical approach". Yet for sexual market place it's completely silence here on HN.
There is a lot of body language and personal traits that can be shown in photo's.

As they say: a picture is more than a 1000 words.
Understanding the tech media’s obsession with VPN services
Thanks a lot for the feedback Max, we really appreciate it! We're currently working on many improvements (e.g. a more powerful data modelling syntax, a sophisticated migration system, opening up the database connector and client generator APIs, ...) for Prisma that you can check out in our RFCs: https://github.com/prisma/rfcs
The author has another blog post about learning to play the violin and how it taught him the importance of deliberate practice which I feel is probably what he is also trying to get across in this post.

I am experiencing something similar as I continue to study the classical guitar.

I agree that the importance of deliberate practice over just coding and coding really does matter - in my day job I will write many lines of code doing the same string processing etc. (I work in Data Science) but when I am trying to learn I really want to think if I am doing it in a Pythonic way, how I might make the code more reusable and so on.
I’m genuinely concerned that people seriously think this is a _solution_.

Beyond sex, relationships with romantic partners are a complex, rewarding part of the human experience. How did that get lost to some?
'Messes up' might be a harsh term but there are a number of threads on Reddit asking people about growing up with swinging or poly parents. If the primary relationship is strong and kids get exposed to certain things at the right time, it seems they don't have any negative impact and maybe some positive impact seeing different kinds of relationships etc. In other cases, some had negative associations from homes getting broken up due to one partner getting closer to someone else or poly relationships which split up.
right, typo, the left side is supposed to be a symbol for space-time interval, not z again.
Yep, every string is potentially an allocation (unless it's short and std::string implements Small String Optimization) plus O(log N) allocations by the vector itself.

C++11 didn't make returning the vector in this function faster because it's written in a way to take advantage of RVO. It did make growing the vector faster though -- individual strings now get moved instead of copied.
Boeing faces its biggest stress test
Jordan Peterson, is that you? :D
The Power of Namespacing in Swift
Bitcoin-NG's “Proof of Fraud” Explained by Tobias Lindahl
I am honestly still trying to figure out how the male 9s and 10s are supposed to be monopolizing all the female 1s-3s when they wont look at them.

I swear everyone I have ever conversed with that believes that attractive men were monopolizing all the women was a 2 with a really negative attitude towards women.

The best part is where they diss the kind of woman they actually COULD potentially date as fat or dumpy and ergo beneath them.

My theory is its a perception and attitude problem not societies problem. The internet shows them an entire planet full of women that are out of their league and they fail to chase the people who actually could be their mates.
This is really not clear from the site. Even after I skimmed the tutorials and docs. I would imagine it should be front and center like in Hasura and Postgraphile . I would be tiffed if I found out after I started developing with it using the cli that I need to setup another server and process in my production environment.
> Not if you don't "have the time" because of all the "memes" and "evolving conversations".

This is not related to something being accessible whatsoever. C&H is widely available, and someone choosing to not access it does not make it not accessible. People can choose different things to look at.

> Overexposure to constant new stuff

"Overexposure" is subjective. We live in an era where new stuff constantly comes out, yes. More so than ever before.

> is actually an impediment.

Subjective. Just because someone chooses to look at memes instead of C&H is nothing of an impediment. Please do not admonish others for not liking exactly what you like.
This is a very common question, we actually recently wrote a blog post about exactly this topic: https://www.prisma.io/blog/prisma-and-graphql-mfl5y2r7t49c/

Hopefully that clears it up!
I never tried a FODMAP diet - I guess at the time it just seemed _too_ restrictive. I suppose keto is just as restrictive, but it's like anything right? You're never going to be able to give up smoking until you're ready to give up smoking. I was just at a point in life where I could embrace something and it worked for me.

Based on how _I_ feel, I'd definitely recommend it. But I'm (definitely) not a doctor, and you're (most probably) not me(!), so I can't tell you whether it would work for you or not. That said, there are some fabulous communities, a lot of advice, data and science about keto though - have a read of some and if you think it fits, give it a go and see how you feel :-)
How many of them do you know well? Indeed, how many of them do you know?
The theory I heard is that sugar hardens the LDL and makes it dangerous. Source: https://www.youtube.com/watch?v=k-P2McPkgfg
From a more general pricing perspective: how should you price your product versus the status quo? Is it really appealing if it's only 10% cheaper? For my SaaS I was aiming more at 50% cheaper. Am I leaving money on the table?
Dude chill out lol , no one is talking about massive social infrastructure — get a dozen people together in front of some old abandoned land and build something cool. Maybe even just a landscape project with recycled materials from around the worksite. I’m just riffing here on ways to improve society — people may not like doing something but if it’s good for them maybe we should incentivize it .

If it’s a party that had cake which cured a bad recurring disease that I’m too lazy and stubborn to fix then I’d be grateful for those friends

I am doing the above, I do encourage people and really it’s not high on my priority list — it’s just a suggestion about how we could remedy a gaping problem in our modern social fabric
Strongly encouraged, then? I mean I do believe social education should be part of one's upbringing - it's not going to happen for a lot of people otherwise.
There are all kinds of programmers, even 0x and negative contribution ones.
I actually did such kind of experiment recently [0]. As a bonus, the users do not have to copy/paste the SDP data manually - instead it is transmitted through sound!

[0] https://ggerganov.github.io/wave-share
What does leaving the house accomplish? It's not like you suddenly will interact with people. Most people organize through internet nowadays and stick to their cliques. Talk to someone on the public transport, you'd say. That also doesn't work, because most of these people are reading a book and have headphones on, which is a "don't touch me" signal to everyone around.
That would imply the author cares enough about privacy / security to use VPN to hide for example POP3, but not enough to immediately drop an email provider which uses unencrypted POP3 service. And that's a strange argument.
Maybe it is just higher fat content? I mean fat got a lot of bad rep and people may not be consuming enough healthy fats.
No, commodity phones in developing countries do not come with massive memories. Memory is the biggest issue for those.

No, most phones do not have unlimited data at all.

I am not even starting with your conspiracy theory.

I am pretty sure when Chromium engineers look at same data for these decisions, but hey, maybe you have some numbers to share.
There was me thinking the name was a typo for Simone Giertz.