skysight-inc/HackerNews huggingface dataset:
Both, although most of the heavy ones in my projects are from the application-layer/user-defined.

having strings with common vector/map/unordered_map/set/unordered_set template specializations help a bit (i.e basic_string<char>, uint64_t int64_t, int and uint)

My methodology wasn't very scientific: when I found a template being specialized at a low-level, I added it to my list. another heuristic is anything that templates off of std::string (basic_string<char>), char, uint64_t int64_t, int and uint are all pretty good candidates as the likelyhood of them being reused everywhere is high.
It's a pleasant suprise how easy targeting wasm is from Rust. Just pass on the right `--target` flag to `cargo build` if you have the toolchain installed.
Nearly every article I've seen on this subject conveniently omits the proportion of aviation's contribution to global carbon emissions.

I'm starting to think it's intentional, and it's instructive to ask why.
> Sometimes I'm in a hurry and I don't do all this, and it often leads to hurt feels, pr flame wars, etc.

Have you considered framing all your suggestions in the form of questions?

Eg "have you considered doing this using <X>, because the style guide suggests it/it might be faster/etc"

That way if they have already considered it, they can just respond yes, and give the reason they didn't do it. And if they haven't considered it, they can think about it and make a more informed decision.

Maybe this is a very passive approach but it seems to work for me. Inspired by a sci-fi writing workshop I took and the tips they gave on how to critique without turning it into a confrontation.
IIRC they trained it off of reddit comments and pages linked to on reddit
I'm part of one based in Kitchener, ON: http://www.lifecoop.ca/

They have done some smaller scale solar projects and bought a 51% stake in an existing wind turbine— I believe there was a government benefit for "local ownership" or something that was the impetus for this particular move.
Yea, I mean, slave is a strong word but they're fully "indoctrinated" to it. Like many elders in any given culture. Nothing surprising imo.
Is "Universal Construction" a well-known term? I don't recall ever encountering it in my Comp. Sci. degree, and some quick searching only leads me to more academic papers.
Appreciate it. Annoyed I can't pull my Apple Card data into Personal Capital.
I don't think that changes anything. There's plenty of other illegal, monopolistic behavior to pick at here without demanding that ad companies run ads for their direct competitors.
Third party dependencies are generally toxic to the long term health of your application. So I push back hard against adding new frameworks or libraries unless they really carry their weight.

But if someone wants to use a new language feature we don't use often, or try out a new pattern I try and give it a chance. If you shut down everything you're not giving your people room to grow their skills, and they'll move on.
This seems like a positive move. If you can’t isolate your messages you have to be more generally appealing, and probably honest.
Twitter staff strongly support political ad ban and want Facebook to follow suit
Was unaware of motte and bailey so thanks for the heads up.

You can say astrology is bullshit mysticism if you can also say religion is bullshit mysticism.

If you want to say the latter that's fine, but I believe the discussion should be more nuanced (despite being an anti-theist myself).

I'm just trying to find a way to say that astrology is a bigger, broader topic than those merely aware of newspaper horoscopes know about.

As such to discuss it in a single generalist put down is to exhibit ignorance of or disinterest in complexity.
Areni-1 Winery
At the same time as we have seen decreases in income, wealth and home ownership for younger cohorts when measured at the same age. Its just a transfer of wealth from young to old.
Instant Builds
I really think that Elon Musk alone may cause the next AI winter. The guy has overhyped AI/ML to a crazy level that it clearly cannot perform at yet.
In every country there is intentionally a lot of friction if you want to manage your own retirement fund. Often you need to have a minimum amount and you are limited in the kinds of investments that you can make.
Yes, but they are only intended to use it in rare emergencies. It stresses the airframe components and reduces the life of the aircraft. To build an aircraft that lands heavy every time you need a much stronger undercarriage and frame.
How so? It seems to be a pretty standard compensation package for a software developer in California, and his post is clearly targeted at that audience.

To my mind, in order to be a humblebrag, he'd have had to be posting about a much higher income than his target audience. E.g. posting this same thing to a general audience, not other Silicon Valley devs. Or posting to the same audience, but about a $500k+ income.
Aren't you being insufficiently paranoid? No one should trust their municipal water authority but they can totally trust the makers of water testing kits? Obviously, everyone should reinvent all of the relevant chemistry and biology and manufacture their own water treatment infrastructure. [This is sarcasm. Your municipal water authority is probably fine. Everything involves tradeoffs.]
As someone who uses rust a fair amount, I can say that the syntax looks pretty normal to me. It's saying "only define this field if we're compiling on windows." I parsed that out immediately.

Maybe it just takes a bit of familiarity with the language, but everything does fit together really well after the initial learning phases.
I did read the article, I just don't agree with their emotional take on it.

Basically, I don't agree that this pension fund is solvent. The minimum funding requirements exist for a reason, because underfunded pension funds are probably going to blow up at some point.

What happened is, he promised a certain pension to his employees. Then, he put his money in a pension scheme that actually wasn't charging enough. Now, years later, once some sane accounting rules are put in place, it turns out that there isn't enough money to live up to the promises that were made. It sucks that a decision like this would make a business go bankrupt, but that's what happens when you make financial commitments that you can't afford to pay.
You do realise that science is just the practice of the scientific method, which is just a framework for acquiring and updating knowledge in ways that eliminate chance and bias? There's no reason that would ever fade away as long as there is anything unknown left in the universe.

You should probably read the wikipedia page, at least: https://en.wikipedia.org/wiki/Scientific_method
I don't think comparing a modern tiny processing platform to old fairly large desktop boxes achieves anything. An iPhone 6 has more computing power than even the Pi and it's sold 222 million.
I'm with you on 401k. I think the parent was more about pension plans where they are tied to an employer and the employee does not have much say in their retirement. A 401k can be rolled into an individual retirement account, allowing an individual to manage their own retirement money and allows portability between jobs. Pensions are often 'all or nothing'.
The problems of using hydrogen are practically non-existent compared to the problems of using batteries. Even if you use half the interior volume of the aircraft for hydrogen storage you are still in the realms of it being economically viable (though still challenging).

1lb of jet fuel has roughly 5kwh of energy. Of course you are going to get less than half of that out as useful work. But an airliner can carry 300000lb of fuel. So as a first order approximation you are going to need 10000+ Tesla battery packs to do the same job.
The pricing on this is tough. Wyze cameras are $20, whereas this is $5/mo. If I anticipate having an ongoing need, I'll just by a Wyze camera (which also has infrared). Just my 2¢, as a guy who has wondered about whether a service like this existed in the past. Maybe consider offering a lower tier ($10/annually?) for just one camera?
If you agree that Facebook has a monopoly on a certain kind of social networking, then this documents the abuse of that monopoly position.
There’s a two part book available on Amazon from the FreeBSD documentation project titled FreeBSD Handbook. Meant for going from 0 knowledge and up.
GP is referring to US policies on jury selection which, as far as I'm aware, _do_ include the stated provisions.
VCs are paying for it :)
I think common speeds are enough for 15-120sec of video up to pretty large resolutions, but for 30min or more? YouTube commonly has multi-hour videos, do people just let their uploads run for a week or three? Families especially would probably not appreciate Dad filling the upload pipe with last week/s baseball games all the time.

It may be obvious at this point that I don't know a lot about the producer side of internet video, and I'm sure there are 15 years worth of tools and techniques out there, but I'd be curious what the tolerances and expectations of users. YT probably pays a lot of money for focus groups to get that data, though.
> it makes sense to have some indifferent "web devs" to do stuff no one else wants to, somewhat like janitors. They won't care as long as it pays their bills anyway

Exactly. I think there's a lot of folks in our industry who found themselves sitting pretty, but the truth is, a large portion of their job is this kind of work. When employers discover that part of your job can be hired cheaper, you tend to move up or move out.
It often is and can be, but since when it comes to "pensions" we are specifically referring to periods of time and demographics, it can be relevant. Although when the bad stuff will happen may or may not align with any particular definition of the generations in question.
you can use whatever synchronization techniques you want, from lock free data structures/queues, to mutexes, to unadulterated unsafe reads/writes to raw pointers.

std provides some useful helpers like Arc and Mutex (Arc<Mutex<Type>> is always safe to use across threads, as the lifetime is managed safely by Arc and accesses handled by Mutex).

There are crates out there for things like lock free sync and other GC if you need it. Rust doesn't force you into a single world view.
Some planes are capable of that and some aren't. Some have fuel dumping systems to get weight down.

https://en.wikipedia.org/wiki/Fuel_dumping
You've eloquently stated my position in better words than I had used. Thank you, please feel free to chip in these thoughts on the platform
The biggest argument against UBI is that the government can require conditions with it, and you cannot easily find a new government. If you think this is unrealistic, look at selective service. You have to register or you can be barred from receiving federal financial aid or working in government positions, possibly for life. If the government makes recieving UBI contingent on two years of military or civilian service at age 18, what can be done?
These actions may look anti-competitive, but these companies are all foreign (China, South Korea, Japan). China does anti-competitive stuff to US companies all the time. I doubt there's any legal case for FB abusing monopoly powers based on this email. If anything, this is just very competent business decision making.
> The day that Intel launches a 12-core + CPU on 10mm, it'll be the belle of the ball for all of the next-gen big ticket builds

But it's based on Skylake. I'm not convinced that the game will shift sides that fast.

I only mentioned the 3nm becauses it seems a big difference. But i think the architecture is more important and that seems to be a home game for AMD right now.
Where does the data travel? That is, I have an IP camera that still works if my internet goes down because I access it over my local network. Would the same be true here?
As some other commenters wrote, you can probably be more direct:

"Why use XYZ pattern instead of ABC? This seems more complicated than necessary right now."

There's also a useful communication/pedagogy technique I learned many years ago called "praise, correct, praise". You frame a "correction" or negative feedback with either neutral or positive feedback. The idea is that the other person receives the feedback without feeling "stung" or associating it with negativity, which could reduce their receptiveness or even their ability to retain and/or apply the information.
While the unindexed time is impressive for the lack of index, the GIST and SP-GIST times are not 0.939 sec and 0.358 sec. All times are in milliseconds. GIST returns in slightly less than 1ms, not 1s. SP-GIST returns in slightly more than 1/3 of a millisecond.

Performance for GIST and SP-GIST are in fact three orders of magnitude better than what the author summarized!
I try. I never say "you". I always "I think" or "I believe", and almost always use questions. I also try and stay fairly terse out of respect for their time and to avoid "talking down" to them. But I think sometimes that comes across wrong. As soon as I sense hurt feelings I jump on a call though.
While you are on it, see also the https://en.wikipedia.org/wiki/Areni-1_shoe
HEAD isn't turned into GET, it's routed the same as a GET request. If it were actually turned into a GET request, then `request.get?` would have been true, and this exploit wouldn't have happened.

But I do agree with your point that routing of HEAD requests should be explicit.
Well if you're missing a semi-colon in a Lisp program and can't figure it out then you really have some problems.
What about long-running computations? They're not really async-safe (they will block the thread), but they don't perform any IO.
‘Solar farm can switch off every second day in case of negative prices’
Actually, more versions than that as there's A,B and + versions of each too.
Select the official AMI for you preferred linux distro and use the package manager to install postgresql?
This was really cool, thanks for sharing.
'Ice eggs' cover Finland beach in rare weather event
Yeah. It seems like there is a big difference between an AI that can spit out human-like responses, and an AI that can understand what it’s saying. In other words, can you ask the AI to “elaborate” on its idea? If not, it’s just a talking point regurgitator.
Ask HN: Is there a service like Heroku for hosting .NET core applications / dbs?
I love the idea of a Heroku style site for a single-founder startup but don't like the idea of third party buildpacks that lack EF migration support once deployed etc.
For the mainstream modern audience, yes you're probably right.

But astrology has rich and deep history of specialist variations, unsurprising if you spent a moment comparing Aztec, Mayan, Indian, Ancient Greek and several other civilizations who all furthered debate and branched this way and that.

Each of them was merely attempting to understand themselves further, and succeeding in part no thanks to science but to wisdom.
I'm pretty sure I hadn't found some of these last I tried...

Thank you SO MUCH!
Driverless Tesla coasting along mall parking lot causes confusion
Back when Ultima 9 was released around 2000 my PC had 128 MB of RAM. Now Threadripper has the same amount of L3 cache in total (Epyc twice as much).
The mass depletion is less than a milligram...
> What are your use cases for the tiny home server

Not the op, but small form factor home servers are so excellent. Pihole, UniFi controller, Home Assistant (coffee machine warming up for 30 mins before I get up!), some testing VMs and a load of docker containers for various chores.
My current stack:

Language(s)
JavaScript /ES6 TypeScript (Or Go, Elixir, Python, Ruby, etc) [insert your choice here]

Database
SQL
— PostgreSQL
—— pg
—— Postico.app
— or MySQL (w/ MariaDB)

ORM
TypeORM (or Sequelize)

NoSQL (can skip for now)
— MongoDB
— Redis
— Etc..

Backend
— Node
— Express (or Koa)
— AccountsJS (or Passport.js)

GraphQL
— Modules
— Apollo
—— Server
——— apollo-server
——— apollo-server-express
—— Client
—— Link

Frontend
Ant.Design (or Material, Bootstrap)
React (Or angular, or vue)
-- Hooks
NextJS (or NuxtJS, etc)
Gatsby
TinaCMS (or PrimeCMS)
Admin Bro

Mobile
Expo.io (For React-native, mobile dev)

Linting
ESLint/Prettier
Jest

Deployment
Netlify
Zeit’s Now
Heroku

Cloud
Microsoft Azure
Google Cloud
Amazon AWS

SaaS
Github
> 2. Focus on smaller to mid-size companies (large corporations likely have the tech team and contractors to cover almost of their needs)

Another aspect of this is that large corporations have pretty byzantine processes for hiring/vetting vendors. A freelancer acting as a sole proprietor or single-member llc raises risk factors with being classified as an employee, and will likely have to get routed through a third-party staffing firm for legal coverage. Which adds friction and cost to hiring you. A multi-member llc or incorporated entity, however, can sometimes be easier to get approval for.

You bypass all of those shenanigans by focusing on the small and mid sized companies first.
Not much, he ran the business as a sole trader rather than limited company so its debts are his debts.
Most of the OEM desktops are designed with large contracts far in advance, and AMD has had a fairly poor reputation for the past decade or so thanks to Bulldozer et al. In addition, intels marketing budget is in the neighborhood of amds gross so they can't compete on volume deals. Obv scandals are a thing (see Intel anti trust cases) but I tend to assume it's just a slow moving industry instead of pure shady dealings.

Related, AMD's consumer zen 2 chips support ecc, which Intel has always segregated to their enterprise grade parts. Typically ecc is a requirement for the volume business oems (Dell, mostly) so amds new products obliterate any value proposition Intel could even have.

Apologies for odd caps, mobile auto correct fights me.
> law changes are never a 'simple fix'

The article’s completely baseless tie-in to Brexit illustrates this: “Hey, man, I’d love to fix your problem, but those xenophobic bigots voted on something completely unrelated, so there’s nothing I can do…”
Politician's fallacy: "we have to do something, this is something, so we have to do this".

I don't see any argument so far why nationalizing PG&E is going to improve anything. It's already heavily regulated. Same bad decisions PG&E management took would be taken by State PG&E management for the same reasons.

> If you have better ideas for how to fix PG&E you should contact your representatives or perhaps start a ballot initiative.

This is another fallacy, for which I don't have a name. It goes like this: I assume my solution fixes the problem. In order to be allowed to poke holes in my solution, you must present another solution that you can prove fixes the problem, or your criticism is invalid.
Interestingly, star sign can be shown to correlate with some life outcomes. For example, here's a chart that shows that players in qualifying teams for certain youth soccer tourmanents are over twice as likely to be Aquarius than they are to be Sagittarius: https://en.wikipedia.org/wiki/File:Month_of_birth_distributi.... They phrase it a bit differently though. (half-joking, but: https://en.wikipedia.org/wiki/Relative_age_effect).
To me NLP always felt more like mysticism than science.
Girl Scouts are saving wild bees, one ‘hotel’ at a time
As an aside: I recently had an agency/contractor reach out via a LinkedIn connect request with the "personal message" being an ad for their services. I have a few startup things I've founded/co-founded on my profile, so I'm guessing this is a new way to "source" clients... that is until everyone starts doing this and I start just instinctively ignoring these messages or LinkedIn figures out this eats into their InMail revenue stream.
It's a bit more indirect, but in the vein of "consumers prepared to pay more", see companies like Bullfrog Power: https://www.bullfrogpower.com

Basically, you don't actually buy power from Bullfrog— you continue to pay your existing utility bill, and then pay a surcharge to Bullfrog, who invest it in green energy projects on your behalf. They're periodically audited to demonstrate that the money is doing what they say it is, but at its core it's a marketing company selling feelings, not an energy company selling energy:

https://www.huffingtonpost.ca/david-dodge/bullfrog-power-can...

But the point is, they have loads of customers, so there's definitely an appetite out there for paying more to get reduced-guilt energy.
Could use an electromagnetic rail to slowly but surely accelerate and launch it up to to cruising altitude https://en.m.wikipedia.org/wiki/Rocket_sled_launch
He's got a lot of other interesting things over at that site (fourmilab.ch). Well worth poking around for 30 minutes or so.
They are - but even then the Hades Canyon and coming Ghost Canyon have some beef to them. Dual nic too, so options abound.
How a glitch allowed one trader to turn $3k into $1.7M
I don't have the kind of wealth that you're talking about, but after earning a high salary, I started using an accountant and somehow they managed to turn my tax return into >100 pages. As someone who used to do their own taxes, it's difficult for me to read.

I can't imagine how complicated a billionaire's tax returns are with an army of accountants.
Sure, you could appeal to guilt about thinking less of others. But the politicians raising tons of money and spending it on ads seem to think it works, condescension be damned.

I'm not familiar with the research, but I'd rather not write off a theory because it makes me feel bad.
> These actions may look anti-competitive, but these companies are all foreign. China does anti-competitive stuff to US companies . . .

I don't think there's any exception in the antitrust laws like "but you can be anti-competitive if the other guy did it first." And anti-competitive behavior in a Chinese company can hardly justify anti-competitiveness against a Japanese company or a Korean company. They may all be in Asia but they are nonetheless different countries. Google is also not a Chinese company, as you are probably aware.

Also a note: you don't have to be a monopoly to be charged with anti-competitive behavior. Being a monopoly can raise the standard of behavior and increase the penalties, but anti-competitive behavior can be illegal on its own, aside from whether you have an actual monopoly. For more you can start with https://en.wikipedia.org/wiki/United_States_antitrust_law
C64 Bruce Lee is still one of my top 5 games of all time.
860 comes in both SATA and M.2 form factors.

I also have 960 and 970 evos, they are mostly fine, but there's a fall in speed during writes, when the slc cache becomes full. The 960 is also starting to have longer trim times than it used to.
What claim are you referring to?
No, I mean, not being able to figure out that you're missing a semicolon is some first week programming type stuff. A professional shouldn't be missing semicolons in the first place (or ideally not using a language that requires them in the first place I guess), and if they do on the off chance mess up, should be able to fix the problem immediately. Especially since the compiler often tells you that you're missing the semicolon in the first place. If I was interviewing someone who talked about that "one hard missing semicolon bug", I would politely tell them it's not a right fit.
That could possibly done, but then, no one had created such a design yet. It is also not trivial to cool in the gigawatt range. Actually, many power plants even run into cooling issues in some time of the year, as they often rely on local rives to provide the cooling and the water supply as well as maximum water temperatures (animal and plant live) limit their cooling capacity in normal operations.

In Belgium there were even streetlights being installed along all highways to use up nuclear energy when the grid was not consuming it.