skysight-inc/HackerNews huggingface dataset:
Almost certainly gigabytes.

Try some numbers yourself.

Anything kilobyte or below gives you effectively zero swap.

Megabytes gives you 90MB of swap on a machine with 8GB ram, that's an unusually small number and if it was supposed to be that small the advice would probably just be "128MB for all".

Gigabytes fit the idea that if you have a smaller amount of ram, you have swap comparable to it, but once you scale up you don't add a lot more for each gig.

Terabytes gives you hilariously large numbers for computers with 64GB of ram or less.
'The sense I was clever was knocked out of me': confessions of a uni dropout
Intelligence Community
In the hospital discussing hospice with my father and the extreme price of "good insulin", two thing that are not unrelated. I would throw stones but I'm currently unable, and I have much more sympathy for your problem than normal.
Game servers aren’t typical. Texas Hold’Em especially.

Like a chat application is also multi-user real-time. It’s obvious that when a chat participant disconnects you hold onto the messages to deliver to them for later. When you disconnect from a Texas Hold’em online and you were small blind, what should you do? Wait? Shift the blinds over? The next player in line gets big or small? Copy the leading product’s behavior? It’s hard to reproduce all the states in someone else’s live, production game.

It’s not at all obvious and this logic has to live somewhere. It touches a bajillion things, like the raw connection state, timers, transient and long-term persistent state. Your programming language isn’t going to make it simpler for you. It can’t just hide in your database’s conflict resolution or some AWS service.

This is a great Haskell demo because it shows that you can’t hide this code anywhere. It stares back at you with all its ugliness.
One problem with Linux in low memory situations is that the OOM killer is a really blunt force instrument. It would be nice if it were a lot more configurable. Simple OOM scores don't cut it, IMO.
> Services and healthcare are huge parts of the economy, are our indicators still as valuable?

That's true. But the value of manufacturing doesn't necessarily come from its total share of the economy, as much as it does from its fast responsiveness.

Many services, both on the business and consumer sides, tend to be locked in for fixed contact terms. They also tend to be lumpy, either you buy the service or you don't. In contrast, most goods are purchased on-demand at the time they're needed. And it's easier to cut back gradually over time, by purchasing smaller quantities.

Think of the difference between Netflix and Amazon. Netflix is purchased in monthly increments. It's also all-or-nothing. If a household's belt-tightening they might not cancel their streaming service until they're well into the contraction. In contrast they'll probably immediately dial back how much plastic crap they're ordering from Amazon almost immediately.

So, even if manufacturing was only 1% of the overall economy, the high and fast responsiveness of its output to economic conditions makes it a good canary in the coal mine for the rest of the economy.
If one is 3% and the other 80%, any effort put on the 3% is only useful to distract from the 80%. It's wasted time. So ideally you don't do both, you focus on the things that matter.
As long as humans continue to eat, agriculture will be a critically relevant part of the economy.

We don't normally look at agricultural indicators like crop yields, arable crop land, rainfall, food prices, and commodity futures because agriculture's a small but critical part of the economy. In modern developed economies, under 5% of the population is employed in farming. So while soybean tariffs may be tragic for soybean farmers, they have little effect on the broader market, just as Bitcoin price crashes may have tragic effects on Bitcoin miners but the broader economy doesn't care. The assumption is that we have enough food, and as long as we continue having enough, metrics about how much food we produce aren't that important for measuring the overall health of economy. This despite those metrics being a critical factor in human population growth for millenia.

Manufacturing is rapidly attaining the same status. We will continue to need stuff for the foreseeable future. However, as long as we have enough stuff, how manufacturers do is not terribly important to the broader economy, because they're a rapidly shrinking source of total spending. In many cases, when they're struggling it's because there's too much stuff and they can't find buyers for their products.
Shopping at the right places in Toronto and that's about right.

- $65 Haircut? Pretty easy, even for a simple men's cut. (I've paid as low as $8 with...varying results)

- $10 loaf of bread? Look no further than https://brodflour.com/#menu

- $25 Movie? $11-12 for a base ticket and easily $15 for a pop and popcorn. Add a beer to that? +$8 And that's taking it light while still buying your concessions there.
Most people do not have the skill to do anything beyond a buzz cut and don't want to risk messing things up to practice. Plus, if I want to try something new, it doesn't matter how well I can maintain my current style.
A revolutionary new way for metals to be malleable
I also turn off nearly all notifications. My phone buzzing can cause me a lot of anxiety, so I only want notifications that are actually important (e.g. my wife texting me about something).
Is the Joe Pesci picture a joke or has your website been hacked?

https://www.qalocate.com/company/
I think the issue is that people don't have an good intuition for how many digits past the decimal point are relevant in latitude and longitude. "42 degrees north" is obviously imprecise. 42.123456 is precise down to a millionth of a degree; but if you wake me up in the middle of the night and ask me how long is one millionth of a degree of latitude at sea level, I wouldn't just be able to blurt out the answer.

Turns out it's about 11 cm.

A millionth of a degree is about 1.75E-8 radians. For small degree values, sin(x) = x, so we can just multiply that figure directly by the radius: ~ 6400000 m * 1.75E-8 = 0.112 m.
This is a great companion to "The Goal" and "The Phoenix Project," both of which use fictional narratives to illustrate best engineering practices in the context of saving a (fictional) business.

https://www.amazon.com/Goal-Process-Ongoing-Improvement/dp/0...

https://www.amazon.com/Phoenix-Project-DevOps-Helping-Busine...
> but services can choose which they accept

And therein lies the problem.

> Re: most, really? There are some that don't accept non-mobile BankID, but it is uncommon in my experience.

You already refuted this yourself in https://news.ycombinator.com/item?id=20656033.

> I don't think it's unreasonable for services to want to know who they're dealing with. In real life, if someone else shows my ID at postnord, they have to show their own ID too.

BankID could have designed their API such that "person performing the action" and "subject the action applies to" are different fields.

But even that is unnecesary. Who actually requested the action only concerns the subject, not the third party carrying it out. BankID could simply log "Delegate A requested entity B to perform action C on behalf of subject D" and show it to D, while keeping B completely in the dark.
Now I'm suddenly wondering if this isn't really easy after all (or rather: should be really easy if all was well). If Linux behaves better when it has some slack space past the normal RAM that it doesn't like to put stuff in but will when necessary (i.e. swap), let it do the exact same thing to the last portion of your RAM. In other words: make a swap file of, say, 10% of your memory size, and put it in a tmpfs. Linux probably doesn't want that I believe, but it would, if working, give the results you want.
>Ephemera and arcana I've learned decade ago still serve me well today,

I think the usual back and forth about developer interviews may have this thought as an underlying assumption; specifically people who can solve a red/black tree on the whiteboard at the drop of a hat must be filled to the brim with useful but potentially obscure knowledge. (Obscure to those who haven't majored in CS or a related field.)

It would be interesting to submit an ask hn "What is your so there I was doing x, y, z when being able to answer obscure interview question seventeen saved the day" story.
(That's not well worded but you get the idea).
I wish there was a socially acceptable way to negotiate this. I just want the same comfortable silence you get from a massage.
You can do it completely in userspace, that's the ultimate configurability.
Am I the only one who feels that it's not a terrible thing to use Lodash? It's relatively small gzipped (4kb for core build), a single interface for a developer to learn, and means you don't have to think as much about the target browser. Sure it adds a dependency, but an incremental dependency isn't often an issue.

The .chunk is a good example (a 7 line function in native vs a 1 line function in Lodash).

I imagine some native functions are faster, but often it doesn't matter.

I say this only partially jokingly: maybe there should be a "You don't need javascript," and we should go back to assembly.
I’m assuming you’re talking about private app based transit here, not public busses and trains, based on the relationship to software. If that’s true you may be shifting the ownership of the physical goods used to transport you, but as long as they are private (as in no more efficient than a private car from a consumptive standpoint) there are just as many physical goods at play- more if you’re using any of the last mile scooter/bike/non-durable options out there
For Tesla to achieve that they would need to be still around in a year. Right now the numbers do not look very good but of course that can change again.
The Choices Facing Community Colleges
The Netherlands uses DigID, which is effectively a federated identity provider. Problem is that it was originally intended for government use only (recently it's been expanded to include health insurance providers), and it's not accessible for commercial entities.

It was also marred by very bureaucratic policies, for example to get information on account usage (e.g. how many times was my account used, from which IP, to access which site) you would need to file a police report first, and it supported 2FA very early (through SMS service, now via mobile app as well) but the end user could not forcibly enable 2FA, only the target service could determine if they wanted two-factor authentication on their site. Luckily, those have been fixed.

Would be nice if they supported open standards like OAuth though.
Germany, Switzerland and Austria are competing for that title. (And there are official numbers backing that up).
You get what you pay for.
I'm sure it'll never replace barber shops for people like you who really want some dude putting his hands on your head.

Personally, I cut my own hair, and would welcome a robot that can do it cheaply and more consistently than I can myself, and wouldn't require me to waste time going to a shop and then dealing with the human part that I really don't care for.
8chan will be back, and it will be hardened against DDOS and not reliant on SV good will.
I've never signed up for LinkedIn. What am I missing out on?
YouTube Has a ‘Craptions’ Problem
I agree with you 100%. I'm just interested now on the opinion of a professional to get some tips on my project. Maybe I did something wrong. Or my tests weren't that good...
I was supposed to be a baker.
They don't need a fucking house. They had a fucking house before they became homeless so it wasn't the lack of house that was the problem or cause of homelessness. There are other underlying costs that needs to be addressed.
Launch HN: Together (YC S19) – App to facilitate employee-employee mentoring
We're Matt and Nathan, founders of Together (https://togetherplatform.com). We make an app that manages employee-employee mentoring programs, and that ultimately improves employee career development and company culture.

Matt and I met while we were working at the Boston Consulting Group, an unusual workplace that gets a number of things really right. They rank Top 5 on Glassdoor every year for best places to work. The best thing there is the culture of 'non-evaluative' mentoring. It was common to grab a coffee on a weekly basis with a senior colleague outside your team, talk through what strengths you want to develop, and that conversation would somehow eventually translate into a project together where you worked specifically on those areas. It's the reason why we felt our 'personal growth rate' really took off - someone was always aware of your goals.

That got us thinking about whether the experience could be replicable at other companies too, and that's why we started Together.

We learned that a lot of companies have tried to run mentoring programs but the experience for employees wasn't great. Examples: Someone picked your match for you, and it wasn't a good fit; your match left the company and no one on the HR team even knew; you had a few sessions but had no clue what to talk about / no sense of progress against any goals; as an HR person, you had no visibility into whether the program was working or not

Through Together, any employee can voluntarily sign up to be part of their company's mentoring program. You can sign up to be a mentor, mentee or both - we've even had VPs enjoy the experience as a mentee. Once you fill out your mentoring profile, the magic is in the learning experience that is personalized just for you:

As a mentee, you get a curated list of the top 5 people at your company who signed up and can help you reach your goals. You can be part of one or multiple programs at the same time that focus on different career checkpoints, such as "new manager" or "internship" tracks. With that comes special agendas and content to work through with your mentor/mentee
You can track progress to your goals and look back through your personal session history with mentees/mentors - and if things aren't going as planned, an admin might even proactively reach out to you and see if they can tweak who you're working with

Many companies run mentoring programs today, but they largely fall flat. That's why companies like Disney Studios ask us to help them relaunch in a new and more impactful way.

What has been your mentoring experience at work? I'd love to hear about what worked and what didn't! What would you have liked to have? We'd love ideas for how an app like ours could support the mentoring experience for everyone involved. If you’re interested in launching Together at your workplace, [let us know!](https://www.togetherplatform.com/join-list).
He is describing an "old school" barber shop experience where the proprietors are actual barbers.

Not like supercuts, Floyd's, etc. Those aren't actual barbers - they are cosmetologists [1].

More info on the barbershop experience / history here:
https://www.artofmanliness.com/articles/rediscovering-the-ba...

1 - https://www.barbercosmo.ca.gov/
What is Hipmunk using underneath?
> Also, I feel like the number of devs out there who understand that mmap'd files — including binaries/libraries — are basically mini-swap files when memory pressure is high is really low; more than once I've diagnosed a machine as "page thrashing" to get back "what? but it has no swap that cannot be?".

This is also one of the reasons that putting swap on a different physical drive than /usr and /bin can help a lot. Once you hit memory pressure, I/O caching is going to disappear at the same time as your I/O is saturated doing swap. Just being able to read /usr/bin/ssh from a different drive than the one swap is thrashing can be night and day.
I use TripIt ever since Trips was shutdown. While it doesn't do everything, it does quite a lot (have all reservations etc in one place).
Adding Chart.js to Django Admin
> make a swap file of, say, 10% of your memory size, and put it in a tmpfs

You're looking for zram, I believe.
Google is so incoherent all the time that at this point it's the norm. Most projects are meant to last a couple years at best and then get shunned even if they had millions of users.
What are good Haskell codebases (or videos) to read through if you have a passing knowledge and want to improve?
Alas, missed this one. In the future, you can (better) guarantee message receipt by emailing hn@ycombinator.com instead.
In my experience, the really good discussions happen in the more specific groups, which for me would be the ones related to c, embedded, etc.
I would argue trust is a big part of it. My counter example:
Apple. Apple is a massive company that could collect massive
sums of valuable data. Althoguh they do act like a monopoly in many respects (cough cough T2) they do not abuse data that they could collect. I think the reason for that is they want some level of trust from consumers. They do abuse their position of power but they do not do very much 'creepy' things like google, MS, Amazon, or Facebook
The rest it's 7 line versus 1 line is lodash uses itself. A lot of these functions could be rewritten if other functions where there.

I do think it's silly to include 100 functions and use 2. But if we could properly tree shake lodash there should be no problem in using lodash, you would end up around the same as if you did it natively.
28 CFR § 36.302(f)(8) says,

> Investigation of fraud. A public accommodation may investigate the potential misuse of accessible seating where there is good cause to believe that such seating has been purchased fraudulently.

I don't know if there are any remedies available beyond civil tort and contract money damages, nor what the applicable criminal statute would be, if any. Seems like a complex area of law, but from reading bits of legal commentary dredged up with Google I get the impression that the government is deliberately erring on the side of reducing friction for the legitimately disabled and are well aware of the unintended consequence of increased fraud.
Google Flights doesn't get pricing for Southwest:
https://www.google.com/flights?hl=en#flt=/m/01cx_.CMH.2019-0...
Wow. "AI" and emergencies are such a bad fit. ML is great at probably being almost right. That's not how you want to run critical systems.
Look, I get your point on disease state and I don't think companies are doing it for charity. But I don't think it's helpful to drop revenue figures absent margins. And it would be interest to see comparative global profits broken down along lines like Prevnar/Gardasil vs dtap/mmr. Nothing against the former, but when I consider deaths from preventable diseases like the latter it's kind of staggering the value we get for the money. $32B is the market cap of twitter.
You can adjust pid scores in userspace or turn it off, there's literally nothing else you can do.
Holy crap, where are you getting your clipper? You can get a perfectly nice Wahl clipping kit for $20, which comes with the clipper and the color-coded comb attachments, and scissors and some instructions, and a convenient carrying case. Amazingly, it's even made in the USA if you care about that.
¿Puede su página de Facebook ser el eje de su presencia online?
Evaluation != Compilation that outputs a binary. This is what happens when language authors become overly obsessed with the elegance of SICP and completely forget how to slay dragons, properly.
Or they just like to try new cheeses?
Most commonly is working a side hustle without ensuring your employer does not have some IP or other contract mechanism to cause problems later.

One suspects that an awful lot of open source contributions are in such grey areas
Do you have any tutorial on how to set up Django with tailwindcss (using Django templates)? I'm new to Django and somewhat confused when it comes to integrating modern front end tools.
Holy Molly! 65 bucks for a haircut? In Colombia they're around 3USD, and in Chile around 7USD.

TBH that just seems like a ripoff.
> At least here in Norway you can get a standalone hardware 2-factor key.

You can get the key embedded on a smartcard, but it's still coupled to their proprietary driver (which only works on Windows or macOS, of course).

It's also a separate API and not as widely supported as Mobile BankID.
I think I have a "legally safe", but slow, solution:

1. The user requests information about them but claims that they lost the password and the email address.

2. The company sends a form (in English) that basically asks for the information on the id (name, date of birth, etc) and the information being requested (ex: password reset).

3. The user prints this form, fills it out and attach a copy of their ID.

4. The user goes to a notary in their country to get the signature and ID verified.

5. The user sends the form to the client's country Ministry of Foreign Affairs to get the notary's signature verified.

6. The user sends the form to the embassy of the company's country to get the Ministry of Foreign Affairs seal/signature verified.

7. The user takes a picture of them holding the form and sends that picture via email or similar to the company.

8. The user sends the form via snail mail to the company.

This process can be shortened if both the company's country and the client's country have ratified the Apostille Convention, formally known as
the Hague Convention Abolishing the Requirement of Legalisation for Foreign Public Documents.
I remember taking one of those tests in school when I was about 13. I also remember giving the answers that I thought would produce a career recommendation that would impress my friends. Then I wondered how this was different than me just choosing a career, since I was able to game the test so easily. My 13 year old self just assumed that there was higher reasoning that I did not understand...
"In prospective observational studies and randomized controlled trials, higher total SAFA intakes were not associated with higher incident CHD events or mortality, but replacement nutrients were not taken into account."

So I see the conclusion as a mixed bag:

"Although higher SAFA intake might increase CHD risk by increasing plasma LDL-C [70], recent meta-analyses of prospective observational studies [1, 71, 72] reported that when compensating nutrients were not taken into account, SAFA intake was not associated with CHD or stroke mortality, all-cause mortality, or myocardial infarction. Two large, independent, prospective cohorts of US men and women confirmed this result [73]1. In a prospective Dutch cohort, higher total SAFA consumption was related to lower risk of ischemic heart disease, but not to CHD risk [74]. In another Dutch cohort, a positive association was observed between CHD risk and palmitic acid, but not total SAFA intake [75]."

So the study you quote has lots of different outcomes as if the science is very difficult and under different conditions different results are found.
> Faster, smaller, and more secure, yet the say it's the backup plan. Something's rotten somewhere.

Developer Developer Developer ...
Aka. ecosystem ...