skysight-inc/HackerNews huggingface dataset:
>why not electric trains like we do in Europe?

While electrification of the US freight rail network certainly may happen, you have to remember the US is twice as large as the EU (9.1M sq km vs 4.5M sq km) and only a quarter the population density (33 vs 117 per sq km). Long distance passenger train routes don't really make sense (electrified or not, very few people want to spend 2 days on the train when a flight is 4 hours), meaning rail in the US is almost entirely freight.
Why so gloomy? Something like 6-8 billion barrels in the Permian, we're talking at least 15-20 years out before it's even remotely an issue. Lot more short term and medium them effects to consider before optimizing frack jobs.
2018: "This website only works optimally on Google Chrome"
How to Setup IKEv2 VPN with Radius Auth and Let’s Encrypt on Ubuntu 18.04
Heroku vs AWS: How to Decide Which One Fits My Needs? 2018
I wish I could choose my default assistant like I can choose my default browser in iOS. AFAIK this is already possible in Android. Too bad we'll probably need some angry European politician to convince Apple.
The only reason I upgraded from my 6s to 8 plus was the massive battery. I gave my son my old 6s - with a newish battery and the Apple battery case and he loves it.
dav1d is a decoder, not an encoder.
Thanks all for all of the suggestions!

For the improvements, I will try get all of them done by tomorrow; they've all been really good!

For those of you suggesting alternatives:

* If you're suggesting them as a sort of 'BTW you can do this as well', then awesome

* If you're questioning 'why did I re-invent the wheel', as I've said in other comments:

a) Sending mail directly from a machine can be troublesome (lack of ports open, lack of SPF record for sending domain (since it maybe a workstation) etc.)

b) I've struggled to find an alternative method (since my original use for this was few and fare between) that I could actually remember.. often looking up how to send mail through curl for example meant reading multiple websites each time and time spent to get it working wasn't worth it, whereas I've never had problems remembering 'curl curlmail.co/email' :)

Thanks for all the feedback so far and, as with any quick side-project hack, if a single person in a real situation ends up using it and finds it useful, then its served it's purpose in my opinion!

Thanks
It sounds like you'd rather live under the influence of an imperfect God than to believe in a perfect God?

I'm struggling with this myself so I'm just echoing.
> I'm not sure why companies over-list.

My theory falls apart outside of the tech industry, but I'll list it here anyway:

Manager: We want to hire a good programmer

HR: Sure - What decides that

Manager: uh....

HR: Do they need to know a particular language or framework?

Manager: Well, that's nice, but actually any good programmer can pick this up, knowing it in advance doesn't mean much, particularly if they pre-know a style that is different than ours.

HR: How about length of experience?

Manager: No, that doesn't really map to how good that experience is. [ Editor: I'm lying here. They always want Senior devs that can hit the ground running. And more often than not get no one for a long time. ] .

HR: I have 5 million hits on Linked In for Resumes that cover "programmer"...I need something to narrow this down.

Cycle a few times on those criteria and you end up with the unnecessary requirements. The fact of the matter is that experience and skill ( or talent and promise) are important, but we have no way to quantify them. So they over require and they can pick someone that meets some of their criteria that makes them happy. That they reject good matches is regrettable, but they represent (they assume) only a small portion of the total filtered out applicants.

Those that have more rigorous requirements ( govt or govt contractors, for example) just shift the over-requirements from "required" to "preferred".
Sounds like they've correctly virtualized certain kinds of dysfunctional corporate environments.
A tree farm (at least the type that provide pulp for paper) is just a type of forest. Anyway, where I'm from, paper most definitely comes from forests (mostly second-growth) not anything you would call a "tree farm".
It feels like HN became Reddit overnight. We had a good run.
Show HN: A social platform for article creators and readers
Hosting Scalable WordPress on AWS
Dynamite doesn't come with a delivery mechanism though, which might change the equation a little.
Given what? If a theory gives you a well-defined relation between the magnetic moment of the electron and the fine structure constant, you can measure either one and then compute the other one. Which one is "predicted" is just a convention.

Eq. (13) in [1] is a prediction of the electron's magnetic moment given the fine structure constant. Eq. (15) in [1] is a prediction of the fine structure constant given the electron's magnetic moment. For the purposes of that paper (testing QED) it turns out to be more convenient to use Eq. (15).

[1] https://arxiv.org/abs/1205.5368
Ask HN: What is a good book to learn about the network stack?
I'm primarily interested in the network stack on linux, with a focus on TCP (but it would still be good to understand the lower layers)
> Unless he’d like to see chaos in the world economy.

Like trade wars usually tend to cause?
For strange that it may seem to youngsters, that capability is not unique to C.

https://www.mikroe.com/mikropascal-pic

https://www.mikroe.com/mikrobasic-pic

http://www.astrobe.com/default.htm

https://www.ptc.com/en/products/developer-tools/apexada

https://www.ghs.com/products/ada_optimizing_compilers.html

Some examples of non-C languages used in production code for doing stuff with hardware.
It's very easy to fix; a single tk command to change the scaling of the application.
https://www.smashingmagazine.com/2018/09/visual-studio-live/
Silicon Valley’s Chinese Dream
HotSpot is written in C++. I don't know about the other popular JVMs (IBMs thing, Azul, etc) - but I would guess C++ also.
Sorry for the late link change, it was to correct a copy-paste error

>Iran wants to spread its sect of Islam, and that is at odds with a lot of the Arab world

That had nothing to do with the US.

>I don't see how the coup in 1953 means that we don't have a distaste for Iran today

I understand that the Iranian Revolution is an obvious reaction to the 1953 coup, which made the two nations distaste one another for a gooood time. Without oil, no coup. Without the coup, one less big reason for Iranians to put Islamist to power and chant https://en.wikipedia.org/wiki/Death_to_America

All these things became complicated because of oil. Switching to renewables would slowly but surely simplify all of this.
Depending on how delinquent it is, Debt can sell for pennies on the dollar. The irony, of course, is the more delinquent you are, the less your debt is worth. Therefore, those who show the least attention to repaying their debt, are the ones who get the best deal on settling.

You just have to deal with Debt Collector harassing you for 2-3 years, and take a pretty big hit to your credit, and you can often settle debt for nothing more than the original principal loaned.

Of course, good luck trying to borrow money for the next 7-8 years...
> when she discovered that any time she wanted to leave the country she'd have to have a letter signed by him giving his permission

Does this clause apply to visitors / non-native citizens / non-muslims also? I thought it only applied to native saudi's from that Saud[1] dude's bloodline.

Not trolling, really don't know.

[1] https://en.wikipedia.org/wiki/House_of_Saud
Because it is bought at a significant discount. Selling the debt for 30% or 10% of the value would not be that unusual, from what I hear.
...because the US is the only market for oil, right?
Wasn't that the Apple conference?
Seen resumes with this, but a person somewhat reviews them for a few seconds after the giant batch filter - so you'd want to work for a company that does this and somehow thing your resume would qualify even if you dont have the thing they want.

I worked on applicant tracking databases, it's not worth your time - just go to a networking event or find some human face to the company if you want to skip their dumb systems.

edit - I would also say ATS systems are largely a waste of time.
They're often the same guns, though.

I hunt with the AR-15 that I have set up for home defense, and I shoot competitively with the pistols I carry for personal defense on a daily basis.
Yes, I found this as well. So now it is used as a broadcast system for Home Assistant notifications / reminders etc (super handy, actually).
I bet your C compiler is actually written in C++, unless you happen to use tcc.
Take a look at this casual statement on the website of the first CPAP supplier that appears in a Google search:

"The newest CPAP machines track and store sleep data so you, your insurance company, physician, or employer can follow progress made during your CPAP therapy."

[https://www.thecpapshop.com/our-cpap-machines]

Insurance company?! Employer?!!

What I want to know now is how I would go about buying (not renting) my own out of my own pocket with no insurance claim and using it without any network connection at all.
You only get shipping address, not billing address, right? I have always got my Amazon stuff shipped to a work office address, so hopefully have kept the residential (billing) address from sketchy sellers! heh
clang, among the most popular C compilers, is itself not written in C, but rather C++.
> You will need to become one of those people who call at dinner every single day, call employers, stalk online, harrass, even threaten

Most, near all of those things are explicitly illegal.

> I'm not going to judge the collectors, debtors or the business model, but it's definitely not for me.

In that case, I would definitely judge them.
> in some jurisdictions, you are required to hire whoever has the best qualifications for the job

Curious, what jurisdictions would these be? Nice idea I guess but I don't see how it could possibly be enforceable.
Maybe someone released a pretty aggressive page cache to help handle "Black Friday" shopping.
I used to do that before switching to Docker swarm mode (docker stack deploy automates rolling deploys with zero downtime). In my experience, it's not that simple to do it correctly. You have to start the new containers, wait for them to be ready, then switch traffic to the new containers, drain connections to the old containers, and eventually stop the old containers. You need some kind of reverse proxy to do this, or at least iptable rules.

I'm curious: how would you do it? Is your app directly exposed on the Internet, or is it already behind a reverse proxy?
Funny you say that, because Windows libc is actually implemented in C++ with extern "C" {} for the ISO C entry points.
Is your dad going to be writing code on this low-end laptop?
Why Do We Travel?
...but tubular tyres at too low a pressure tend to separate from the rim in interesting ways - hope you brought tape or glue to stick them back in place.
https://assets.bwbx.io/images/users/iqjWHBFdfxIU/izx7rgFSlvy...

From https://www.bloomberg.com/news/articles/2017-08-08/shale-exp...

>Here is the free cash flow after capital expenditure for a sample of 33 E&P companies, grouped by their main shale basin (all figures compiled by Bloomberg).

>It doesn't require the closest examination of that chart to see fracking is very capital intensive, with E&P firms spending way beyond their means even in the relatively halcyon days of 2012 and 2013. The 14 Permian-exposed companies in that sample saw their cash burn accelerate over the past 12 months to a collective $11.5 billion.
If this was in the US then almost certainly yes, if they had 130k cash or someone willing to lend it to them despite their recent default. You can generally "mail the keys to the bank" and have no further liability. In other jurisdictions, you might have to declare bankruptcy if you default on your mortgage.
OOPSLA 2018 Videos
Only if they were discriminating in favor of a different candidate who did possess their unrealistic laundry list of requirements...
I think it's more that C programmers don't really consider themselves part of a C culture in the same way that python, go, ruby, php etc programmers do. C programmers usually have another interest like kernel dev, firmware dev, or 3d game engines that is more interesting to them than the language itself.
C has seeped so deep into the collective unconscious of all programmers that the thought of setting up a conference for it is a bit risible. Branding a conference with your programming language is for languages that need to be promoted -- and C is perhaps the most accepted, most ubiquitous, and most cursed programming language ever, so promotion is the last thing it needs.
Cats not mentioned. Because they're not fully tamed?
"Nothing more than the original principal loaned" is a much less attractive deal than "pennies on the dollar"!
But don't people, who compile C on Windows, usually compile it as C++? That means you in fact get access to some (most?) of C99.
I know most of these concepts and the valuable part was to fill the gaps what I've missed. I would also like to read about work-stealing threadpools in a similar manner.

I liked the explanations.
On the tenth house they might start asking questions :)
Here:

They just want data. They never wanted to make people's lives easier.

fixed it for you.
> I'd rather someone give away $100M compared to $0 even if its peanuts for them based on their personal finance.

I guess that's part of the point of the thread's original comment. I'd rather he give money too, but he's actively avoiding giving money he should be giving on other fronts which would've been used for positive means also. Hence, is he really doing it to see people be helped, or for the PR that comes when you're the one "voluntarily" doing the helping.

> It seems odd that society feels entitled to decide what the richest person in the world should and shouldn't do with their money. I don't disagree with premise that he can hand away $5B and still not bat an eye but why is it out decision to make?

Jack Ma put it in some interesting terms when he mentioned that if you have a million dollars, it's your money. When you have a billion dollars, that's not your money, that's the trust society put on you [1].

And that's the thing, this money means huge amounts of power, so what he does with it really matters to everyone.

[1]: https://www.youtube.com/watch?v=dqmZsUbYIfA
I have obstructive sleep apnea. It is the worst feeling in the world to wake up after a night of not using my CPAP - I'm lethargic, and multiple nights without it lead to a lowered threshold of irritation and depression due to being so exhausted. Getting diagnosed, getting a CPAP, and consistently using it has significantly changed my life.

That said, the road to getting the diagnosis, even with good health insurance, has been an expensive one even before the machine. The sleep study to confirm cost $700 out of pocket, not one red cent covered by my insurance.

Acquiring the machine was an ordeal as well. I went to an ENT with the sleep study results and he ordered a CPAP machine. The doctor's office sent the order to an in-home medical supply company who got authorization from my insurance. In order to use my insurance to buy the machine, I had to agree to upload weekly data dumps of usage. The insurance would only cover part of the cost to acquire the machine - leaving me with a $295 out of pocket to pay for the machine with an additional $95 a month to pay for a year before the machine was mine and the data dumps were no longer required. At any point if they felt I was non-compliant I would be required to return the machine completely out of pocket, and there was no reimbursement for the money spent out of pocket at the end. So to pay for the machine (not including supplies) with my insurance cost $1,435.

I could buy the machine outright from another in-home medical supply company for $575, which I did.
I'm not sure where I found this link, there might be a HN discussion on it though.

https://motherboard.vice.com/en_us/article/xwjd4w/im-possibl...
Which Java VM?

There are plenty to choose from, implement fully in Java like jikes, partially implemented in Java and C++ like OpenJDK, implemented in Java and C like MicroEJ, and lots of other ones to chose from.

Then there is project Metropolis on the OpenJDK, which targets to replace Hotspot with Graal, thus reducing the amount of C++ code on the runtime.
Depends. Sometimes you have cause on your side. In this case we do know China does not play fair. Nothing weird about it except previous prezes always crossed their fingers, knocked on wood and hoped others would play fair just cuz. I’m actually pleased a president finally decided to call it for whst it is and do something about it and not just talk and take token steps for publicity and then forget about it.
Most people can't, this is beyond rare.

Everyone telling you it's "pennies on the dollar" are missing your point. Someone so delinquent on their debt that the bank is about to foreclose probably doesn't even have a penny, much less pennies.

This trick may work if you have a relative who has money and is willing to bail you out. Another person this might work for is someone who has protected assets that the bank doesn't know about. Yet another option could be if the house was bought under a corporation/LLC that has gone bankrupt but the owner of the company still has plenty of cash.
Fundamental Algorithms of Machine Learning
That my friend is a level of self-reflection and self-awareness that is not as common as you'd imagine.
Amazon’s website sucks
What are you arguing NZ should do? Is this an anti-socialised healthcare thing?
(See my other comment in this thread.)

People with undiagnosed sleep apnea are prone to falling asleep at the drop of a hat and enter a state called microsleep[1]. People who fall into microsleep often don't even notice that they've fallen asleep, and can snore during these episodes. Since healthcare in America is often tied to employment, many employers will require someone with this sort of condition to get treated for it as a condition of continued employment. This results in your employer wanting to know that you're complaint or if you're likely to fall asleep on the job.

[1] https://en.wikipedia.org/wiki/Microsleep
Remember when we used to complain about Emacs being a memory hog for using 32MB?
Fortunately not everyone makes technical decisions using the wisdom of crowds.
If I were going to attempt such an .onion hosting setup, I'd use a couple levels of isolation between users. Maybe setup several KVM domains, to help limit damage from a compromise. And within each domain, put each website in a Docker container. Given a custom Docker-optimized kernel for the host, and XFS storage, I gather that it's possible to set hard limits on CPU, RAM and storage for containers.

Given that Docker containers rely on kernel namespaces and cgroups for isolation, they're not as secure as using full VMs. But they're far lighter, and much better isolated than these late .onions. Alternatively, one could maybe use FreeBSD jails with Docker.

And about backups. I get his argument for not backing up. But maybe a setup with relatively fast rotation, and thorough deletion of old backups, would be secure enough. I'd use LUKS with dropbear for server FDE. That's still vulnerable, sure, but attackers would need to take some care while impounding the server. Also, I'd keep backups on another server, with only .onion-.onion connections (maybe OnionCat).
Build a Basic Golang HTTP Server
That's the one I'd read as well!
If people would switch to Rust and stop writing C the world would probably be a safer place yes.
If you require data integrity you cannot rely on ethernet's FCS. Personally I trust the core router far more than I trust the cheaper stuff around it, particularly the stuff my ISP gave me for 'free'.
These are people who haven’t paid their mortgages and weren’t foreclosed on. I don’t think they deserve free houses.

These entrepreneurs may use shady tactics but it doesn’t change the fact that they are living for free in a house they don’t own, can’t sell, and don’t have the title to.
Looks like Rust is starting to become the hardware language
When companies list many seemingly silly requirements (example, why do I need experience with database x, when I can pick it up in less than a week?), at least two types of candidates will be likely to apply: those that know all of it and possibly more, and those that don't check off all boxes but had the guts to attempt to convince them to pick them anyway.

The one type is going to fit right in and be ready to contribute quickly. The other has the drive to get up to speed and further.
Both are much desired people.
Writing laws is like writing software in every way except:

1. You have hundreds of code reviewers, many of whom will have their own motivations

2. The code base is hundreds of years old, poorly maintained and often contradictory in its goals.

3. You have hundreds of millions users.
GNU Emacs does a similar-sounding trick in its build process (called 'dumping' / 'unexec'), but not at runtime.

https://lwn.net/Articles/707615/

Come to think of it, I think there are applications to my own work... I'd have to be careful, though.
Property rights are agreements. If it is a net gain for all parties to follow an agreement, they will follow it, even in the absence of coercive enforcement.

The same can be said about the social contract. Is the only thing preventing you from running red lights the fear of enforcement?

For many people, yes. That's the only thing. And we violate property rights in many ways, like peeing in a forest that may be "owned" by someone. Or by using an idea that may be "owned" by someone.

Property rights become "States" if the organization is large enough.

Property rights are basically monopoly rights to exclude others, by force if necessary, from the use of a resource.

Sometimes this exclusion actively harms wealth creation. Especially if the resource is a public good.
Marx believed that capitalism tends to self-destruct which is diametrically opposite to Adam Smith's belief in capitalism's self-correcting Invisible Hand. I don't get where you're coming from.
I believe it's mentioned, but BSD conferences are often a great place to find presentations that typically gravitate towards low level systems C programming.

OpenBSD has an events page with a list of past talks given by developers, along with slides, and if it exists, any video.

https://www.openbsd.org/events.html
I'm stealing that for .bash_profile! It get's a spam marking right away, but useful nonetheless!
Modern C compilers are written in C++ actually.

IBM z, IBM i and Unisys ClearPath are still quite modern and aren't written in C, rather in memory safe system programming languages.

Then Windows is largely C++ and .NET, even what used to be plain old C nowadays has been migrated to play nicely when compiled with C++ compilers.

Finally there are a couple of embedded and real time OSes that are based on C++, like ARM's mbed or even Arduino libraries.
And you'll struggle upstream if you go that route. Pretty much all vendors for embedded platforms only provide C libraries/drivers/examples/subsystems/documentation.
The publisher can also control how much is shared with third party aggregators, either through robots.txt or a paywall method.

Which has been the case since search engines became a thing.
Navalism
I'd expect a modern laptop at any price point to be able to run a decent development environment.

Edit: I made it all the way through a college CS program just fine using an Acer Aspire one netbook with 4G of RAM.
>Everything in this industry is a series of trade offs, you need to be aware of what trade offs you're making at any given time.

>loudest 'Amen' in recorded history emanates from my cubicle
Humanitarian Highlight 11/21: Thanksgiving Edition