skysight-inc/HackerNews huggingface dataset:
How much of that time is really spent in the system call interface?

You've got 4.968s of system time there (i.e. broadly the time spent in kernel code) and 2.123s of user time. Given that the user-space program is effectively a tight loop around read() and write() calls, we can assume that almost all of those 2 seconds are spent going through the syscall plumbing.

Now, there's going to also be some of the kernel-side time spent in the syscall plumbing too, but there's also a lot of I/O, buffer and filesystem layer code executing there. All of which will be in use with a BPF program too. So it's unclear how much of the effective time can be shaved off.
Write with those green dots on your GitHub profile
I found this package to be highly useful. Great to see that it is progressing like this.
Still waiting for fractional derivatives.
Temporal's razor: "Never attribute to stupidity that which can be adequately explained by systemic incentives promoting malice."
Yeah, all of their answers show that they never intended to take any advice.

If they were a junior developer here, they wouldn't make it to 3 months. If they were a mid-level developer, they'd get talked to about their attitude, and if they continued to be hostile, I'm pretty sure they'd be let go. It'd be a harder decision if they were passively hostile instead of overtly, actively hostile like those comments, but I think it'd show clearly enough anyhow.

The company here cares so much about the culture that my morning "standups" actually turned into hour-long random discussions daily, and management would walk by and say nothing, unless there was an emergency happening. (Thankfully seldom.) When one of us went remote, that turned into a video chat and they even wanted to schedule a second one in the afternoon, but we were all against it.

Toxic answers like the ones above could ruin that culture from someone with tenure, and we'd never let a novice with that attitude get far enough to affect things.

As for myself, I'm not as soft as the original questions, but I do soften my critiques. I'm honest about what I'm thinking about their code, and give my thoughts as to how it could be improved. When I think it won't actually cause a bug, I let them decide whether to take my advice or not, and most of the time they don't rewrite the code. (And often later find out that it was a mistake, but that might be years later.) Or it might not be a mistake. :D
Show HN: Referlist – Increase email sign-ups via word of mouth referrals
Hi there HN!

Excited to share Referlist (https://referlist.co/), a simple way to increase sign-ups on your landing page for pre-product launches. Give your users early access to your product when they share it with their friends!

I make A LOT of landing pages. Whenever I want to test an idea, I'll make a website with a sign-up form to see how excited people are about a concept. I wanted to encourage word of mouth growth and incentivize my users to share these sites with their friends. Robinhood was able to amass nearly one million sign-ups via their referral program, so I tried googling for an easy way to add something similar to my page. Everything I found was expensive, too complicated and came pre-packaged with a landing page which I didn't want. I ended up building a custom solution for myself and it worked great!

I noticed other friends launching projects doing the same, so we built Referlist to save everyone some time. No coding required. It's plug-and-play like Drift. Takes 5 minutes to setup. It's free to get started. You only pay if you get more than 100 sign-ups so you can feel free to launch as many failed experiments as your heart desires at no cost! You can export your users to CSV or Mailchimp. Also add a custom message, custom colors and seed your waitlist so that it doesn't look completely empty for the first few sign-ups.

Any feedback is welcome! Also feel free to email me directly at parthi@referlist.co

Cheers,
Parthi and the Referlist team
Yes, this is why I called it "arguably" undeserved. It's not totally black and white.

The best argument against LVT that I came across was from Bryan Caplan concerning prospecting for oil; once a person finds oil and builds a well, LVT would not charge her for the well, but it would charge her for the oil. She didn't make the oil, but finding it does take effort and you don't want to disincentive that.

I still like LVT conceptually but I don't know what the best solution is for this kind of case.
The one I often go for is: “What is the reason you’re not using sshd?”

It implies that I understand there is a reason, that I don’t know the reason, and that I’m ready to be surprised if indeed there is no good reason.
Pricing is hard.

I thought I'd bring this to Hacker News because I know that many users on this platform build apps or market apps for a living.

My journey in the world of apps came after a career selling WordPress themes. I was tentative to launch my app, but when I finally did, the response blew my mind, the reason? The pricing. It was a pay what you want app!

So many users enjoyed the app, so I thought I'd release a new version, and this time I'd add cloud syncing, better features, a new interface, and... a recurring pricing model.

I was happy with this decision, so in May I launched the app to my 15,000 strong email database and to Product Hunt. It went relatively well, but as the months went on the over-arching feedback was... users are growing tired of the subscription model.

Dang!

I knew I had to make a switch, but changing your pricing is difficult, I was already working on some cool new features. So I thought I'd just take the dive, and update my pricing at the same time.

I settled on a once-off $19.

Well, a few days into it and I'm pretty happy with the result. I sucked it up and mailed my users, many of them happy with the change, and some have even converted.

The moral of the story is: it's never too soon to change pricing and go in a new direction.

I my post another update here on the long-tail affect, but for now, pretty keen to chat about pricing in general.
I think that depends ... I'm not an expert on virtualisation but I've seen some cases where VMs get full bare-metal access to system functions, albeit supervised. I think this is the purpose of virtualisation extensions on modern architectures (e.g. VT-x) - this is how it's possible to have a 64-bit OS run virtualised on a 64-bit processor.

EDIT - but even without this, the comparison with user-space holds.
Studies among US death row inmates indicate that maybe more than half of them have TBI. One study found out that all who were convicted as underage had TBI. Usually from traffic accidents or beatings.
He was making a point about the oldness of the saying though, putting it in it's original latin helps deliver his point I guess
1080ti's are still great for a home deep-learning setup, they're pretty fast and have 11GB of memory. The current generation of cards force you to spend a lot more money for an equivalent.
The same can be said of alcohol, but life is lived to its fullest when practicing moderation on many fronts :)
T-Mobile has the first nationwide 5G wireless service. Sort of
Helicopters are certifiable for carrying passengers, and yet take offs and landings have no altitude nor speed benefits.

In what way do multirotors / drones differ?
Disney+ doesn't launch until next year in my market. We are stuck with Disney Life which is utter crap.
IT architect, lead unix system dev, R&D

Location: France
Remote: full
Willing to relocate: no
Technologies: BSD, Linux, C, Python, Go, SQL, ...
Résumé/CV: https://github.com/poolpOrg/resume/blob/master/resume.en.pdf / https://www.linkedin.com/in/gilleschehade
Email: gilles@poolp.org
I've taken this a step further and often completely flip the wording to match the intended assumption which is that I am wrong:

> I can't figure out the reason X doesn't work

This is more often what I really mean, i.e there is some obvious solution (to me at least), but it's too obvious that they have likely already considered it and there is an issue with it... but they have been working on the problem longer than me - so tell me. Occasionally the solution is obscure enough or slightly unfamiliar to them that it slipped their mind - in which case it's an "oh of course" moment, which also causes no hurt feelings since you aren't trying to rub it in.
The main use case for me as a linux admin is two fold. One, to augment iptables/nftables for increased speed and observability gains in them. It's possible to do BPF only netfilter (some firewall/IDS tools are likely to use it heavily) but I think it works better just helping the other tools, and you can lookup some benchmarks that show it.

Two, as a better tool for general observability and problem tracing. For example, I recently listened to a Usenix (LISA19) talk by Brendan Gregg (author of this blog) about linux systems perf at Netflix where he talks about how much strace can impact performance and he posits the future replacement for it will be 'perf trace' which uses ring buffer and BPF. [1]

1[] https://youtu.be/fhBHvsi0Ql0?t=1300
Part of my Upwork agency accounts get unfairly closed
I've been running the web development company called Pixelteh since 2007. In year 2011 I set up a personal account at Upwork (formerly oDesk) and since then our business has expanded considerably. All our developers have top rated profiles and we all are working hard on delivering top quality services for our customers and most of them are returning customers. Since recently, we've been experiencing an issue with verifications of our developers' identities which for some developers ended up with closing their Upwork profile by unknown reason. Many of our clients are pretty large companies which require a mandatory video call interview before hiring a developer or a group of developers for their projects. Some of them often come to visit us in our Ukranian office and we've been successfully delivering web development services for them for a long time. Closing the accounts seems wierd as I work hard with each developer as for maintaining perfect ratings at Upwork. It becomes really frustrating because developers put so much time and efforts in making their profiles stand out at Upwork and ultimately they get unfairly closed with a short and vague notice back, regardless the fact developers did have a video call with Upwork and answered all the questions and did verify the identity. I run the company and we'd like to continue growing with Upwork and have more and more returning and happy customers. Both me and all our developers are willing to answer any questions or provide any ID verfication documents or whatever is needed to get their profiles back to life and we truly hope something can be really done about this. We are all confused here and need assitance

With best regards,

Sergey Lesninsky
Pixelteh CEO
www.pixelteh.com
Possibly that it doesn't seem to warrant an entirely new name? that "shifted geometric progression" or something might as well do.
I'm not sure that people realized this happened and ended extremely poorly.

https://en.wikipedia.org/wiki/Sunil_Tripathi
https://en.m.wikipedia.org/wiki/2011_Præstø_Fjord_dragon_boa...

More details:

http://cphpost.dk/news/national/convictions-handed-down-in-b...
In a communication course my employer asked me to take a while back we were taught to a) never ask a yes-no question and b) never ask "why". So I would reformulate simply as

"How would sshd function in this setting?"
I agree with you. However I'd say leading with, "You are wrong" is risky. Unless you have a very good working relationship with them, always start with empithy and praise. "I think this will really work well for our clients. How do you handle 'reason they're wrong'?"

Obviously, do what the situation calls for, but I pissed many people off, without being wrong, telling them they are. I found really looking at it from their point of view first helps. Usually they're trying to solve a real problem, so at least take the time to understand it and how they see it.
You see someone struggling while trying to solve a problem, and you know that –in your opinion– there's an obvious solution to that problem called [𝓍]. The thing you're after, is whether they have considered using this solution.

Just ask them:

=> "Have you considered using [𝓍]?"

Either you will learn something new (why [𝓍] is not suitable for this situation), or they will (there is [𝓍] that solves their problem).
I wonder what Netflix does on their FreeBSD machines.
How is that possible?? If true, that would imply BPF programs are not Turing complete.
Hello, I would like to invite you to post jobs on https://stackraft.com/companies to hire from our community of pre-screened developers! It is FREE, no recruiters involved
Incompetence played a large role. I knew a couple of people who were interning at investment banks at the start of the financial crisis. The banks had absolutely no idea who owned each piece of the synthetic instruments - including the underlying collateral - that were on their books. Keep in mind that the insurance wasn't there to protect themselves - it was there to ensure that the product would receive an AAA credit rating - which made it palpitate to institutional investors who were restricted from purchasing or otherwise stayed away from riskier assets. It turns out that you can't accurately insure (or price) instruments when you don't have some knowledge of the thing that secures the instrument.
I agree, but I would say that .onion addresses should already be seen as being entirely legitimate. Let's not forget that Facebook's onion address (facebookcorewwwi.onion) is the main target of "darknet" traffic by a very wide margin.
Hello, I would like to invite you to post jobs on https://stackraft.com/companies to hire from our community of pre-screened developers! It is FREE, no recruiters involved.
In the world of money, it is rare to have to work past 3 decimal places. Bond traders operate on 32nds, so that might present some difficulties, but they really just want rounding at the hundreds.

Now, when you’re talking about central bank accruals (or similar sized deposits) that’s a bit different. In these cases, you have a very specific accrual multiple, multiplied by a balance in the multiple hundreds of billions or trillions. In these cases, precision with regards to the interest accrual calculation is quite significant, as rounding can short the payor/payee by several millions of dollars.

Hence the reason bond traders have historically traded in fractions of 32.

A sample bond trade:

‘Twenty sticks at a buck two and five eights bid’
‘Offer At 103 full’
‘Don’t break my balls with this, I got last round at delmonicos last night’
‘Offer 103 firm, what are we doing’
‘102-7 for 50 sticks’
‘Should have called me earlier and pulled the trigger, 50 sticks offer 103-2’
‘Fuck you, I’m your daughter’s godfather’
‘In that case, 40 sticks, 103-7 offer’
‘Fuck you, 10 sticks, 102-7, and you buy me a steak, and my daughter a new dress’
‘5 sticks at 104, 45 at 102-3 off tape, and you pick up bar tab and green fees’
‘Done’
‘You own it’

That’s kinda how bonds are traded.

Ref:
Stick: million
Bond pricing: dollar price + number divided by 32
Delmonicos: money bonfire with meals served
Thanks! That (simulated device loss followed by all the steps you mentioned) is something I plan to do every now and then but so far I've never gotten around to actually doing it.
Encouraged by your post think I'll finally do it (some day, hopefully sooner rather than later).
This presents an interesting diversion: the phenomenon of anesthesiologists who are addicted to drugs. I worked with one who lost his position as chief because he was caught buying street drugs . . . on a city street. If people who are so well-educated about the effects of recreational drug use can still succumb to it, it's unreasonable to expect that the average person should be "smart enough" to be immune to the risks.
The theorem you quoted is Van der Waerden's theorem [0], not Szemerédi's. It is significantly easier to prove than Szemerédi's result.

The article correctly states Szemerédi's theorem, if you interpret "sufficiently large" to mean "positive density": For every density delta > 0 and length k, there exists an n0 such that every subset of {1, ..., n} (n > n0) of density at least delta (that is, at least delta * n elements) contains an arithmetic progression of length k.

For n large, your set has density roughly (log N)/N (where N = 2^n), which is not bounded from below by any constant delta > 0; this is why Szemerédi's theorem does not apply. Speaking of your example, you might be interested in Behrend's construction [1], a way of constructing "large" sets (for another definition of large) with no 3-term arithmetic progression.

Szemerédi's theorem easily implies Van der Waerden's theorem because if you colour the integers with finitely many colours, you can apply Szemerédi's theorem to the largest colour class.

[0] https://en.wikipedia.org/wiki/Van_der_Waerden%27s_theorem
[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1078964/pdf/pna...
Yeah, I always have to write userscripts to get access to getElementsBy(TagName,Id,etc) and then call .parentNode().parentNode()... to reach the ancestor I want to remove.

Of course the downside of userscripts compared to uBlock rules is that they take time to run, so you end up seeing the ads briefly before they are erased, which is annoying. So then I run the scripts prior to page-load to insert CSS rules to hide all elements that might be ads, let the page load, filter it, and then override the older CSS rules. It's quite a hassle, really.

What I'm saying is, :parent selectors in CSS would be greatly appreciated.
The Wiki page is most confusing page I every saw, even have seconds and minutes after mix with 377k. Need some help there I think.
Hmm. The Atari ST did display bombs when it crashed. The number of bombs was a hint about the cause. It always felt very alarming and had me scrambling for the 'off' switch, though.

http://www.atari-forum.com/viewtopic.php?t=15500
The directness here is important. If you start playing word games to imply things (non-threatening, non-accusative) etc., you confuse the message. You know what's worse than a threatening or accusative question? One where the recipient spends their time trying to guess what second meaning might be implied with the obviously convoluted wording. Clear, direct questions that have only one distinct query.

>> Would there be any tradeoffs using sshd here?

Some might focus on the tradeoffs as the primary query, but others might assume that the real intent is press for an alternative to sshd. It sounds like you know something, but didn't want to say it, and now you want me to infer it from your question.

Some people might be offended or sensitive to direct questions, but that's for them to work through with their therapist.
That I believe in stuff like markdown. You usually need like 3 or 4 options
>Oh and I use it in a Firefox Facebook container so I'm not at all worried about it tracking me online.

You think that once you log in to FB in a container -- Facebook can't track you? Those container details are now appendage to your online fingerprint as far as Facebook are concerned.

Containers only work if you don't actually log in to such services. The only sure way for FB to not track you is to not use FB at all -- even then it requires other steps too as they'll be building a shadow profile on you.
You are right, eBPF is non-Turing complete. To be precise I heard that the kernel eBPF verifier ensures the flow of a BPF program is a kind of a DAG (no cycles = no loops). So eBPF VM is definitely not a general-purpose machine.
Move fast and break bones.

In other news, here in the UK Amazon has launched a TV add campaign encouraging people to visit their warehouses. Is the bad press starting to hit their bottom line?
The secret of all this is that the complaints have absolutely nothing to do with the approach - it's pure slave morality.
The Atari ST did display bombs when an application crashed. But it was never part of the character set. It's a graphic that is displayed by the trap handler in the operating system. The number of bombs indicate the trap type, so three bombs means trap handler 3 (address error).

The symbols that do exist, but was not included in the proposal was the Atari logo and the J.R. Dobbs picture. Both of which are copyrighted, which is why they are included.
> May I ask why you're running DB and stateful systems in k8s in the first place?

Because it is the easiest way to get our integration tests in CI working fine. We may change in future, if there is a need.
I think the problem is those meanings can plausibly be reversed, so it's hard to remember which way round it goes.

A better way to do it that I've seen is to represent air flow with wavy lines or similar on the 'open' symbol.
“Your Honor, Can I Tell the Whole Story?”
I know exactly nothing about aircraft safety, but since this is HN, I want to throw out a guess: in case of landing, could it be that helicopters make the blades spin very fast prior to beginning the landing maneuver, compensating for extra lift with pitch control, and then keep them spinning fast throughout the entire landing process, and brake them only after touchdown? This would, in my mind, let them do a soft touchdown via autorotation in case of sudden engine failure at any point of the landing maneuver (at least if the pilot has fast enough reflexes).
To better remove the criticism, add some honesty and objectivity...

"One of the first things I would think of, when trying to solve a problem like this, would be sshd. But, I may not understand the full scope of your problem."
That was specifically a design goal to make sure their runtime is bounded, and most tasks, especially in that problem space, can be done without being turing-complete.
Wow, Hearst Set Up a Whole Website Dedicated to Union-Busting
I'd add my 2-cents here, but this comments section appears to have turned into a bike-shedding/dog-pile..
This is one of the most blanetly and openly corrupt transactions in modern history. It saddens me that it looks like they are going to get away with it as well..
I read that as there were injuries, but they were due to risks that had to be taken, not risks that were carelessly taken.
First Trailer for Marvel’s Blackwidow Prequel. Thoughts?
Last I used it was ~11 years ago. I never realized it's anything more than a Windows IDE for Pascal with a GUI builder bolted to it.
Diets don’t work but they’re popular
I thought his first paragraph was just being illustrative. Like look how crazy this gets.

I suppose now I'm deriving meaning in my head.
I have doubts about whether this is true. While libraries are probably optimizing for popularity, I doubt that libraries 100 years ago had very good expert level book collections, at least an average library. Reason why it may be more visible today is that due to the internet we have extreme access to information on a scale never before seen, so standards for expert books have risen sharply. Not only you can get the books online, but you can learn about the books online and get them as soon as they are released. Something that wasn't really possible before the digital age.
>If true, that would imply BPF programs are not Turing complete.

It's not intended to be turing complete, just to be useful enough while provably not harming the system (e.g. by never terminating). There's quite a good write-up at https://lwn.net/Articles/773605/
Did you get a chance to use Duckduckgo? I tried it a few times, but ended up going back to Google for day-to-day use because in practical use it still fells better than the competition. I have been thinking, however, of ditching Google for something like Duckduckgo or Startpage.
This is just magical thinking - saying the right incantation is going to make everything ok. It doesn't work that way. This is all about the worship of weakness, a peculiarly American kind of power play where the goal isn't to gain any power, but to avoid any kind of value judgment at all.
Oh, I feel like I know this one:

“What happened when you used X?”