skysight-inc/HackerNews huggingface dataset:
is monomorphization a more concise term for what is called "implicit template instantiation" in C++?

If so, is Rust worse than C++ when it comes to compile times of those? Heavily templated C++ code is known to be slow to compile due to this. Is it much worse in Rust? Are you aware whether C++ compilers do some special optimizations that Rust compiler doesn't have yet?

I don't see what can be done to make this better, the whole point of templates is to "pay" at compile time for some gains at runtime. (or in this case for gains in the amount of code a developer has to write)
> and will involve many fewer tickets

Given that many cities and police forces rely on traffic fines (and in the US, on civil forfeiture), the choice for city governments is skewed towards more enforcement...
It would be nice but the distro needs to warn the user that copy pasting some shell script may break and would be nice if a converter is provided from bash to fish script.
A filter would be just as good.
You have never been on a street that would support a hockey game. Such a street would not allow you to drive on it.
There were hardly any kids outside in my suburb and then the council built a small dirt jumps park and the day it opens there is a swarm of 40 - 50 people using it. People won't use something until it exists for them to use it.
This is done for MIPS FP emulation too - https://www.linux-mips.org/wiki/Floating_point#The_Linux_ker...
This begs the question of "Are businesses based in certain urban areas really more productive or do they just have more access to funding?"
Many games are like that, but some very popular games aren't.
that's an absurd speed. i literally cannot go that slow in my car without lugging the engine or slipping the clutch the whole way. no thanks.
That makes me sad to hear, because not only was this company left with an inferior solution, the man hours and effort that went into the original project (including purchasing part of the spectrum!) was essentially nullified.

It's an alarming trend among new grads as well, who see existing systems as bloated and in need of rewrites. Who would've thought the bloat was kind of important?
The visual tooling is still very meh though. Just compare the kind of code completion you get for C++ (even something as gnarly as Boost) in modern IDEs, to what RLS can do in VSCode.
19 New Year's Resolutions You Can Keep in 2019
The editors of this website remove comments and ban users who put opinions here that go against the mainstream, calling them "incendiary". That way they can ensure this website is basically a monoculture with no "dissidents", the downside is that sometimes low quality comments like that get to the top of the thread.
Serious emotional games are hard to do. Either they’re on point and really short (cool, but ultimately forgettable) or they’re probably too long to make their point. Furthermore if a player has no agency to avoid bad outcomes, it doesn’t really feel like a game. The thing you’re experience is forced. Easy to not feel accountable.

Fire emblem is a good example of this. It’s a strategy game where you have about 30 characters who permanently die when killed in any battle. Most players just restart each battle until deathless runs are achieved- either due to emotional or practical concerns. So, when someone dies, it’s not sad, it’s annoying.

You also lose empathy if a character dies due to unforeseeable consequences of choices or shitty AI performance.

Legacy board games address these problems well. Because the state of the game is irreversibly driven forward by physical mutation of the game, it forces you to commit to your fortune and errors. I hope we see more of these games made. I haven’t seen this model used anywhere, but I could imagine a video game where you buy the right to do one irreversible play through of a story mode, cloud saved on their systems so you can’t manage the data yourself.
Bricks are also a pain for bikes which often don't have huge tires and suspension.
Around $5,000.

Lots of really good low-hanging-fruit actual improvements and solid equipment in that price range (combined, for the whole system); above that you're just getting crazy, and likely seeing marginal gains you can't actually hear and/or aren't worth the cost for what you (maybe, possibly, unlikely) might be fooled into hearing.
I like fish's auto completion speed and smoothness but one thing that has held me back when I checked out fish was that there didn't seem to be a `Ctrl+r` command that bash and zsh provide to quickly go through history commands.
How is parsing "^https?://." a second guessing? It's a URL.
C++ is going to be around in 20 years. Maybe as legacy (although I doubt that), but there will be support for it even so.

It's not a given for Rust, and especially not a given for D or Nim (since they don't have any large companies behind them).
Quite. Why not also test your hearing first. Find a lab and offer them some serious money to test your "built in" equipment. Then you can get serious on delivering the best possible input. While you are at it, you'd better hire a decent studio and the artists, sound engineers etc and re-record to your spec. Recordings are normally designed to work reasonably well across anything from a car stereo to a disco. Now crack out your oscilloscope and work away at the environment, which is what gets in between your input and ears.

If you were really serious then why not buy a small plot of land well away from the city and build a custom man cave (yes it will be a man!)

Oh and don't forget to get your FLACs recorded in 32 bit - you'll need all those extra bits to be able to treat your golden ears properly 8)
I said unusual not unique, but perhaps I should have been clearer.

Pascal and C were definitely influenced by Simula, a language ahead of its time.

When K&R wrote that line I suspect they were thinking more of PL/1 which was the Multics implementation language. Though it has OPEN/CLOSE etc they were keywords not external labels.

I think it’s pretty likely K had heard of Pascal at the time.

More interestingly BCPL’s i/o was via library rather than innate. And c descends directly from BCPL (->b->c) rather than from PL/1; simula-67 and BCPL were developed contemporaneously in Europe.

Again, apologies for my prior brevity.
People in Southern California routinely commute 50 miles. Expecting your groundskeeper to ride a century on top of his actual job is sick and cruel.
I think pros in the music and sound reinforcement industry tend to be satisfied with rack-mounted power conditioners.
If code is completely under your control, then it's okay. But from my experience, these kinds of errors frequently stem from large code bases without a clear ownership. Think about a case that hundreds of people are working on the same code base. You may not understand 99% of code, and probably don't even want to understand all the horrors written by other programmers.

In fact, I have seen a number of horrific instances that someone decided to write clever tricks with object lifetime which leads to production crash and no one really understand (or even bother) what's going on there. The only way to deal with such code is looking into its implementation, probably for a week or two. And found that the original author has left the company.

In these cases, static type annotation helps a lot by serving as a formal contract. To reason about object lifetime, you don't need to dig into the implementation; all you need is looking into variable's type signature. Same thing can be applied to types other than those related to object lifetime.
Excellent point - but to what extent is this because Iran (or Persia as was) has been an ancient developed civilisation reaching back into antiquity, unlike much more recent (Arab) nations such as Saudi Arabia?

Or in other words, to what extent is this a cultural issue rather than a religious one?
> They're a hedge against a particular kind of collapse of society

I'm sorry, but do you not see how absurd that sounds? It's a hedge against a particular kind of societal collapse? This is just totally impractical. The reality is that bitcoin traffic in Zimbabwe and Venezuela is extremely miniscule; that's because you can't actually buy much of anything with cryptocurrencies, especially useful goods like food, water, medicine and guns, and trying to convert cryptocurrency into real money is fraught with obstacles and risks (i.e. if you try to do an in-person conversion). Cryptocurrency is not a realistic hedge against any kind of societal disruption.
Indeed, and if you think about it, an amplifier is a power conditioner.
Quick correction, the actual url for Xonsh is http://xon.sh. My understanding is that xonsh.org is an out-of-date unaffiliated mirror that the author of Xonsh doesn't control :(
I have no idea where public transit “fails you completely several times a month” or what that failure mode is.

If you mean transit can’t deliver you to your destination, that certainly isn’t the case in the Bay, Chicago or NY for any of my friends who take public transit daily in those cities.
>What do you do when you beg someone for their money? You comply! You don't come out for the streets saying you won't pay!

It's not like the creditors were helping from the goodness of their hearts. They made stacks of money off it, off those imposed austerity measures, off (if you excuse the description) of bleeding the working class dry. Let's not forget who profited the most off the situation generated by the European debt crisis: big German banks...

It's in the citizen's rights at least to protest for an alternative solution.
Agreed. I was referring to people that are able to get to the top of their games because they are able to "get shit done." Whether that shit is good or bad is another issue entirely.

Without getting too political, take Donald Trump, who in my mind kind of exemplifies this definition of success. Whatever your thoughts about Trump, he's definitely not lazy, and his early morning tweet storms seem to signify that he gets by on little to no sleep. Of course, he may cause WWIII in the process.
There is no stupidity limit. Research flat Earth!
Would be great for you to mention what kind of tweaks you do in postgres depending on the workload. Really curious about which settings to optimize for what.
How to Make Exercise a Habit That Sticks
“Monomorphization” is what happens when a template is instantiated. It’s essentially the same thing in both languages, and has roughly the same compiler performance implications.

There’s at least one thing that could be done, in Rust at least. But it’s only in some limited circumstances. See here: http://www.suspectsemantics.com/blog/2016/12/03/monomorphiza...
You start typing what you want, then hit the up arrow to fuzzy search back through history.
Mesa almost always uses proprietary firmware. The fail0verflow guys did some work last year to at least document it for the PS4's GPU to patch a bug. But the upstream Radeon Mesa guys are really hesitant to upstream it to avoid pissing off AMD. https://github.com/fail0verflow/radeon-tools/tree/master/f32

Of course that's all sorta orthogonal because that's all not really microcode or firmware in the classic definition, but just "code for an embedded processor I don't want to document."
You could say the same about any work of fiction, and you'd be equally wrong.
How can detecting URL go wrong? It starts with an obvious prefix and ends at a line end or a space.

If the URL contained a space that is not URL encoded, that would be user's fault.
Hard to say, I think businesses haven't been affected too badly. I've seen some closures but there were closures back when vehicles were permitted all the way through the street, too...

Distant visitors still arrive by tram loads. And parking, whilst terrible, is available close by.

When you think about switching the area back to allow cars again, you begin to realise how little you needed that street to begin with. It was mostly for people showing off their cars and loud music.
This is mostly wrong.

> No. Nuclear power creates the most dangerous waste known to mankind and we have no way of mitigating or eliminating it.

Nuclear waste is incredibly well controlled, unlike waste from solar, wind or fossil. Most Western countries didn't have contamination from civil nuclear waste at all and specially not in the last 30 years. Civilian Nuclear waste has basically killed nobody.

Calling it the 'most dangerous' is nonsense.

> Nuclear isn't cost effective on an ongoing operating basis (compared with natural gas).

Nothing is as cheap as natural gas in the US. Specially don't just look at creation but also the grid, the end to end price.

Nuclear on mass scale is very competitive and has been proven to be able to replace fossil fuels on large scales. South Korea and China can produce very competitive nuclear reactors and we could do the same in the West. France did it in the 70/80 with 1960s tech.

Nuclear has the massive advantage of being able to replace coal plants directly without redesigning the countries or even continents grid. These cost (and others) are always ignored when solar advocates claim of low dispatch cost.

> When you add the costs of closing and "cleaning up" a plant site, which run into the billions of dollars for each plant, nuclear just doesn't make sense.

Cleanup for any modern plants in the West are already part of the dispatch price. It takes a while to clean up, but the overall land use of nuclear is still 100/1000x smaller then anything else.

> Nuclear is far from "carbon neutral." The process of extracting uranium from the earth uses tremendous amounts of heavy equipment, but the carbon outputs from mining (and cleanup) are never mentioned anywhere in order to sustain the "clean power" myth.

This is another failure in understanding scale. Uranium mining is not very heavy in terms of equipment compared other mining. Furthermore Uranium has a far higher energy density then anything else we could mine for energy. Solar, Wind and literally everything else involves far more mining and far more 'gray CO2' in the production.

Nothing is zero carbon but nuclear is easily the closest thing we have. No other form of energy has a lower land use, lower resource use and produces less CO2. These are well established facts, however much anti-nuclear advocates want to ignore it.

One hand full of uranium is enough for a whole human live inclusive transportation heating and so on. Now compare this to the literal mountain of solar panels that would have to be produced (and the resource mined).
Reminds me of Christiana Mall in New Jersey's "Suicide by Ageism". They implemented a policy banning unaccompanied teenagers after 5pm - despite having 16 year olds working there! Articles in 2008 mention the boycott and the owner of the mall went bankrupt in 2009. Malls weren't their healthiest then and had grown beyond sustainability but talk about fast turn-around.
While I'm not refuting any of your claims, do you have a source for them? It sound like typical big corp behavior, albeit worse because of the importance of emergency services.
There seem to be many politicians including the US Republican Party that just lie. They implement aggressively Keynesian or heavily deficit spending based policies while toting a "fiscal responsibility" line and sounding like advocates of austerity.
The only option available to me was to call to cancel, though suspend was available online.
https://softiron.com/development-tools/overdrive-1000/

They actually "released" (to one manufacturer it seems) the Opteron A1100. With stock Cortex-A57 cores, not "Zen with an ARM decoder".
Writing good generative tests is extremely laborious, in general. It's hard to get an informative sample of the input space.
Haha you're underestimating Boston drivers. Out of all the places I lived in my life (SF, Berlin, Paris) drivers in Boston drive by far the fastest. Streets being narrow doesn't make people drive slower, instead it makes people drive more aggressive which puts stress on drivers, bikers and pedestrians alike.
Cameras overhead. There is a trial to catch drivers on their phones in Sydney IIRC.

Edit: found it https://www.theguardian.com/australia-news/2018/dec/17/drive...
>and Cargo gets it right in ways that few systems languages ever have (that I'm aware of, anyway).

Can you elaborate on that? ("gets it right")
As you yourself admitted, it was not the standard way of doing things. Ever since the first ISO C++ standard, the syntax was =0. And it was never guaranteed that NULL (which is a macro) expands to just plain 0. So even back when it "just worked" for you, chances were good that it only worked on that one implementation that you had, and would've broken if you tried to use a different compiler.

Judging by your mention of CodeWarrior, this all sounds like war stories from pre-standardization days (and of course it still took a while after ISO C++98 was published, for implementations to actually adopt it).
> Not to mention that anyone who grew up pre-Internet or pre-smartphones knows that the real barriers to kids playing outside are more cultural/societal.

I did, and 100% that's not the barrier today. I moved my kids from a neighborhood packed with cars to one with several dead-end streets and no through traffic and the change in my kids' lives has been shocking. They almost never wanted to play outside before because they couldn't really get anywhere safely. Now they are outside until dark nearly every day they aren't in school.

This isn't even addressing your ridiculous assumption that cities/towns can just easily add parks and fields. Those things take up space and people without kids don't care at all about them and want that land for their condos.
> That seems to me like a different problem (one of education or enforcement of traffic laws)

A child walking next to a road is in a situation where any mistake they make is reasonably likely to result in their death. No amount of education and enforcement is going to improve driver's reflexes and awareness enough to keep them from killing a kid who suddenly does something impulsive.

> if you travel to less developed nations, young children are able to successfully navigate complex cities with much more unforgiving streets unsupervised, with confidence.

In less developed nations, drivers have to be constantly on the lookout for random things on the road, like cows. If my kids do something random, they'll be the only random thing a US driver will encounter that week, and people aren't prepared for it.
I love PHP and jQuery and use it whenever possible.

I really tried to find a reason to use Backbone, Angular, React over the years. Vue is the only one that seems appealing but still, not terribly so.

editing PHP with Vim in production via a tmux session

Replace production with development instance and you’re good to go.
Is it true that in Portugal when you issue a receipt as a shop (e.g. when some person buys something and you issue a receipt for the client) the client gets automatically a number for a national lottery from the machine which is directly connected to some central government's lottery & tax department (kind of controversial, hehe)?

A portuguese colleague told me a few years ago that this was one of the measures taken by the government to lower tax evasion (and I thought "cool, why not") but I don't really know if that's true nor if it's still used nowadays.
But then you no longer get back 10-1 elements, you get back 10-1+1.
lol ya totally, bro
Blaming the big German banks is counterproductive when the real culprit is always the government that does the borrowing and the spending, along with the people that elected them.

It’s how socialism works. Spend other people’s money on handouts then blame capitalism for the public debt.
confused as to why someone who owns a lot of shares would want to take a "big risk" "without reason" during "normal times."

Wouldn't a person with a lot of stock not want to take a big risk without reason at any time?
Yeah, this is what I was thinking. Why not just install a solar roof and a Tesla Powerwall? Way-ass cheaper and a lot more benefit.
The thing is, that power upgrade is likely much more meaningful than the $60K amplifier or the stupid gold cables.

Clean power + $399.99 amplifier > dirty power + $60K amp.
Arma 3 does that. If your legs are hurt you still can move and the walking animation is the same, but the speed can be close to zero. if your arms are hurt, you cant shoot straight anymore. They also have a way better (whatever that might mean) visualiation of pain and dying than other shooters.

"Escape from Tarkov" is also praised for "feeling" realistic, but I can't say much on that.
Interesting that this comment is downvoted even though none of the posted replies disagree with it very much. Would some devotee of the Austrian school care to post a rebuttal?
But it's not a big deal. Not even a small deal. It's, like, not a deal at all.

I can't help but feel that the road to maintenance hell is scaled with tiny tiny things.
1. Quora paywall

2. Reddit install app nag

3. Paywalls on media/news sites
"What other options provide good public schools, homes that are pleasant to be inside, and a clean/safe/well-functioning environment?"

Cities at one time were far superior to non-cities in precisely those ways. It is not an inherent flaw of cities, just a problem with how we manage American cities.
You're not boozing it up if you're pouring from a decanter.

- me, to GF
> I personally am sure I would pick new and shiny, because it is generally much more pleasant and satisfying to work with than old technologies.

I prefer not to be on the bleeding edge of stuff, especially not in the JS world - got bitten too often by incomplete, missing or flat out wrong official documentation, horrenduous bugs, incompatibilities and sudden breaking changes all over the place.

Side note to all shiny tool vendors out there, if you want people to try out your stuff, provide usable documentation and don't force your users to copy-and-paste from StackOverflow...
Can you provide any sources on that? The only one I can think of would be military aircraft (ie. the Eurofighter) and they likely have relaxed stability (CoL ~= CG) as a design goal. All the GA examples (Long/VariEZ, the Velocity line, Cozy Mk*, etc.) have straight mechanical linkages and don't have any stability issues when operated correctly.
Harvard Physics Problem of the Week (2002-2004)
IBM Mission Critical – POWER9 [video]
A market-cap weighted tracking fund still has to rebalance if one of the companies issues new shares, or buys some back, as well. But that's a relatively unusual situation (like dozens of events per year, not daily).
Give HN: A chrome extension to bypass paywalls
Hey!

I've this idea.

Can anyone roll out an extension to bypass paywall using outline.com?
The VIX index is the average implied volatility of a theoretical set of options trading 30 days out by interpolating the implied vols of a bunch of options. However, what is being discussed here is VIX FUTURES. The price of a VIX futures contract is whatever clears the market based on demand and supply not some calculation (the prices of the options used for the VIX calculation are also whatever clears the market, not something off some ideal volatility surface but that is besides the point). More options, less options or whatever don't make any difference.

While VIX futures do cash settle to the special opening quotation of the VIX on expiration day, and while the correlation between the VIX index level and the futures is quite high, they don't necessarily move in lock step or even necessarily in the same direction.

While models that tell you what the theoretical price of something is are great at potentially identifying situations where there are mispricings among assets to each other, any mental model where the price of an asset is based on some theoretical calculation is dangerous when trading. The prices of traded things are based purely on demand and supply.
IntelliJ is heavily investing, and it’s already showing. We are too: https://ferrous-systems.com/blog/rust-analyzer-2019/

But yeah, if that matters to you, it’s less mature. We’ll get there!