HNHacker News
TopNewBestAskShowJobs

Accipitriform

86 karma · joined December 7, 2017

submissionscomments
Accipitriform··on Looking Back on the Spanish War (1942)
Biden isn't actually relevant, as the real candidate is K. Harris and her handlers. She is definitely a socialist/communist!

I doubt Biden would last as President until Inauguration Day.

Thankfully, all signs are pointing to a DJT victory tomorrow! ;-)

Accipitriform··on Australia wildfires: 500M animals and plants killed as glaciers turn black
>The US is an outlier, granted, but mostly for fixable reasons (in particular, over dependence on cars due to poor public transport).

This isn't an obstacle, given electric cars and clean electricity generation. As I said elsewhere, nuclear is the only viable answer. Sadly, it has been demonized, and that needs to be reversed.

ThorCon's efforts in Indonesia will be interesting to watch. I'm not sure I like its current plan of siting the reactors like oil platforms in coastal waters though...

The best approach is underground siting, with no or very little water cooling requirement.

Accipitriform··on Australia wildfires: 500M animals and plants killed as glaciers turn black
> Nuclear power is, but the environmental movement is actively blocking re-investment, and we're so far behind that it would take decades to jump-start the industry.

That isn't true. With desire and enough money, we could be churning out small modular reactors (SMRs) by the thousands. ThorCon, Nuscale, Terrapower and many others have designs.

In fact, that's my recommendation for the conservatives/populists. Take climate change away as an issue by promoting the only workable plan - a massive shift to nuclear power generation along with "renewables".

Even if global warming isn't an emergency, clean air is a good thing, and so is cheap, plentiful power.

Accipitriform··on Tree rings show the Americas are prone to catastrophic, simultaneous droughts
Higher evaporation means more clouds (somewhere) and more rain (somewhere).

Recent studies show increased snowfall in central Antarctica for instance.

It's entirely possible that global warming has lessened the severity of these droughts. One fallacy of climate alarmists is to never admit that global warming has some positive effects, no matter how few.

If in fact global warming has in effect cancelled the next ice age, that is a giant win!

Accipitriform··on Stop Blaming America’s Poor for Their Poverty
Right, of course we should want single-payer, just like Canada!

Never mind that the average wait time to see a doctor in Canada is almost 20 weeks, and that tens of thousands of Canadians cross the border to the US every year to avoid that wait...

There are tradeoffs with everything. Personally I think people should proactively try to live healthier lives - the medical establishment is about making money, not making you healthier.

The other major side benefit of that is our society might be able to afford the overall cost of healthcare - it's not looking too good at the moment!

Accipitriform··on Noam Chomsky: Life Expectancy in the US Is Declining for a Reason
I guess Chomsky didn't point out the fact that opioid deaths fell last year for the first time in around 30 years. That actually dovetails with the idea that increased opportunity, low unemployment and improved wages helps.
Accipitriform··on Nasa Study: Mass Gains of Antarctic Ice Sheet Greater Than Losses (2015)
It doesn't. The only way an ice sheet gains mass under any normal circumstance is new snow falls on top. As more and more snow accumulates over time, the ice sheet grows thicker.

What offsets that is that ice flows under pressure, so the entire sheet has a tendency to head for the ocean. Things are a bit complicated in Antarctica since some of the landscape where the sheet is grounded is below sea level. There are concerns that the seawater is getting warm enough to cause melting there, increasing the flow rate.

If, in fact, ice sheet mass is increasing, that's great in terms of sea level rise. There's no other way to spin it.

Accipitriform··on Haskell, Ada, C++: An Experiment in Prototyping Productivity (1994) [pdf]
Julia's "niche" is essentially an improved, free Matlab. At least, that certainly seems to have been its initial impetus.

Now it's grown far beyond that, and is acknowledged by its creators as a true, general-purpose language.

One example is its use in real-time robotics:

http://www.juliarobotics.org/

Accipitriform··on Haskell, Ada, C++: An Experiment in Prototyping Productivity (1994) [pdf]
> C++ seems very different to me now vs the early 90s.

True, but it's still very far from optimal. For something MUCH closer to optimal, see Rust.

All that said, from a practical standpoint I think Julia is near perfect as both a prototyping and implementation language, with the ability to drop to Rust/C/assembly easily as needed.

High productivity, and C-like performance. That's a sweet spot.

Accipitriform··on Is it still ok to have kids in face of climate change?
> The thing I never understood that if entropy steadily marches on, and the sun's energy is finite, isn't this all going to end bad anyways?

Ha, well the current estimate is that things should be roughly OK for about another billion years, give or take.

It is interesting to reflect that the run of life on Earth is 3/4 (or so) done, though...

> What will it matter to if we all voluntarily go extinct and add another millennia or two or three to the Earth? It will either overheat in a global warming or face eternal freezing when the sun burns out. Why not enjoy the ride while it lasts and allow others to as well.

We'll be in other star systems long before the Earth is uninhabitable...

Accipitriform··on Is it still ok to have kids in face of climate change?
> ...yet what is the best thing for the kids? That's a harder thing to know - you can't really compare "not existing" with "living in a world that has a ton of issues".

LOL! I certainly can 'compare "not existing" with "living in a world that has a ton of issues"'.

In the "don't exist" case, there is no possibility of anything good happening.

In the "exist" case, there is a possibility of something good happening.

Easy choice, and that's entirely outside my belief that the human race should continue, thrive, and expand across the stars. Climate change is likely not as severe as the alarmists portray, and is very likely to be solved by market forces. The future is bright!

Accipitriform··on What Makes .NET Core So Special?
Oracle is only one player in the Java ecosystem. OpenJDK owns just about everything now, and most organizations are going to get support somewhere besides Oracle. There's been some good recent innovation with Java, and I think it'll continue due to the new accelerated release schedule.

That reminds me, I want to experiment some with AOT compilation and also the new GC plugins.

Accipitriform··on A Rust FFI adventure in unsafety
> I think of Julia and swift as higher-level languages, more domain-specific. Different tools for different problem domains.

Well...my particular interest in these types of languages is primarily in the realm of soft real-time simulation, specifically various kinematic simulations.

Of the three, only Julia is garbage collected, and (unlike some other GC languages) it's fairly easy to not exercise the collector. I'm encouraged that will continue to be the case, since there's an organization using it for robotics, which is implicitly a hard real time use case.

http://www.juliarobotics.org/

Julia, Swift and Rust are all clearly general purpose languages. Swift is unabashedly general purpose, while Julia and Rust each have a primary niche - math/science and systems, respectively. All three use the excellent LLVM infrastructure.

Aside from determinism (which mainly requires pre-allocating nearly everything), my primary requirements are expressiveness/productivity, readability, and efficient runtime performance.

All three languages produce highly optimized code, and Rust probably has the edge as far as efficiency goes - but it clearly loses on the first two criteria, at least to Julia. If one needs access to machine level functionality in Julia, there's an extremely efficient C FFI, so mixing Rust and Julia (for instance) would be painless if needed.

https://github.com/dyu/ffi-overhead

It's a great time to be a software developer, and things will only get better as languages and tooling continue to improve!

Accipitriform··on A Rust FFI adventure in unsafety
Excellent and detailed post!

Up until now I've been focusing on Julia and Swift for projects that can use a new language, as the Rust pain/productivity ratio has looked too high.

Perhaps things are changing...correctness is certainly a worthy goal!

Accipitriform··on Miami Will Be Underwater Soon. Its Drinking Water Could Go First
Actually that link makes no prediction at all about how much sea levels will rise. It merely looks at the impact if the sea level were to rise by the given amounts.
Accipitriform··on Companies Shouldn’t Be Accountable Only to Shareholders
> But the CEO doesn't own the company, the investors do, so why would the CEO be the one to state the goals leaving investors to "take it or leave it"?

Well, one point of the article is that these days 62% of CEO income is equity, so in most cases the CEO is also an "investor".

It does seem to me that creates a conflict of interest, in that a short-term plan to increase share price may not be in the long-term interests of the company. Yet, the CEO will likely not be around for the long haul and benefits more from short-term thinking.

I'm generally not a fan of Warren, but a good bit of this makes sense to me.

I think the most questionable part is: "At least 75% of directors and shareholders would need to approve before a corporation could make any political expenditures". That is just thrown in there with no explanation, and is likely intended to cripple Republicans by not allowing campaign contributions in almost all cases. That is likely the poison pill that will doom this legislation.

Accipitriform··on Julia 1.0
Julia supports 0 based indexes if desired, similar to Ada and other languages.
Accipitriform··on Julia 1.0
> Julia Computing is largely made up of people they've hired from the community straight out of grad school.

Where do you think most companies get "professional programmers" from, exactly?

Julia's been designed and implemented by some very bright people, and it shows.

Accipitriform··on Julia 1.0
> And when I want Julia’s promise of fast loops, I use Numba. If all the effort gone into Julia had instead been spent on fixing remaining warts in Python workflow for science, we wouldn’t even havee this conversation.

Python is rather a mess. Code written in Python can't be sped up without pain/cost, and apparently it will never support concurrency natively. It also suffers from the bane of weakly typed languages, errors at run time instead of compile time.

I think the sweet spot for a language with most of Python's benefits that fixes many of its glaring warts is enormous.

Accipitriform··on Julia 1.0
> The blog mentions that Julia is supposed to be a general purpose language, and not a language built specifically for scientific computing. Is that wrong?

No. Julia is a general purpose language that has so far been mainly focused on scientific and mathematical programming.

It's design is probably least friendly to the real-time programming domain (GC based) but it can apparently be used there as well:

http://www.juliarobotics.org/

I see an extremely bright future ahead for Julia!

Accipitriform··on What Went Wrong with the F-35, Lockheed Martin's Joint Strike Fighter? (2017)
To be fair, each service has its own variant. That's increased cost, but each service should have aircraft that'll work well for the individual service's requirements.

The F-15, F-16, and F-18 are all multi-role aircraft, and are fairly unarguably the world's best in their categories. There's no reason to think the F-35 won't be in the same class.

As to the A-10, I believe the F-35's primary ground support approach will be from pretty high altitude, using smart weapons. That kind of approach will even work against first-tier opponents.

If you need "low and slow" close air support while shooting up the enemy with cannon, the Apache seems a better fit. The AC-130 is somewhere in between...note recent AC-130 variants have been getting longer and longer range weapons to decrease vulnerability to MANPADS.

Accipitriform··on What Went Wrong with the F-35, Lockheed Martin's Joint Strike Fighter? (2017)
It doesn't necessarily follow from "the airframe isn't the most expensive part" that you still wouldn't want an improved airframe.

The F-16 isn't stealthy (terrible in fact), and the F-22 isn't well suited as a strike bomber - its weapon bays are too small.

In fact, the F-35's single engine design works well in providing enough space for weapon bays, while still keeping the aircraft fairly compact.

Accipitriform··on Rust is Not so Hairy
> What makes Rust, like C or C++, efficient is not just that they are statically compiled, it's that they have massively-tuned optimizing compiler spending a lot of time in compile-time optimizations.

Consider that javac and the Java runtime have received plenty of resources and development time (since 1995 or so!).

The overhyped claim in the early days of Java was that it would be "faster than C" due to JIT optimizations. That has certainly turned out to not be the case. Further, Java and all the other managed languages (to include the CLR languages) remain unsuitable for real time applications due to GC pauses.

As this article points out, memory consumption for JVM based systems is also usually vastly higher than for C/C++/Rust/Ada.

C++ in particular has been a dumpster fire of a language, and IMO has set the industry back considerably. It's good to see Rust and a few other languages providing much better alternatives in the same space - languages suitable for lean, real time, high performance applications.

Accipitriform··on Why Crystal Is My Next Language
"In my view, programming language choice is cultural yet is always framed as something objective."

I think that's an objectively false statement.

There are many objective metrics by which a programming language may be evaluated. Conciseness, clarity, suitability for realtime applications, and efficiency come to mind.

"It is even possible to "use the best language for the problem"?"

It's certainly possible to use a suitable language for the problem. Some problems are more forgiving than others, of course...

I will say that the idea of a "general purpose" programming language, suitable for most tasks, is a good one. The current multitude of languages, while fun and good for exploring new ideas, is taking a lot of brainpower away from actually producing working systems. Also, I'll claim that there's no reason that most programs shouldn't be written in an efficient language, and in fact there may be a push for that in the name of datacenter efficiency.

It's sad that the most written programming language today is Javascript.

Accipitriform··on curl rate.sx/eth (or any other coin) for the cryptocurrency exchange rate chart
Nice charts! Very striking looking against my dark terminal windows...
Accipitriform··on Libertarians Are Politically Homeless in the Trump Era
"Bless your heart. Election history, with regard to the party holding the White House, strongly predicts the Republicans will have a bad time."

'Past performance doesn't guarantee future results...'

Trump has confounded observers quite a few times now, just sit back, relax, and enjoy... ;-)

"Yes, with the hilariously biased Rasmussen polls. Who the hell uses landlines in 2018? Not the average voter."

Rasmussen also polls those without landlines. One difference from other polls is that Rasmussen polls "likely voters" instead of "adults" like Gallup...

Accipitriform··on Libertarians Are Politically Homeless in the Trump Era
"President Trump is cutting regulations and despite all the hysteria to the contrary he is actually reducing the administrative powers of the executive branch and shrinking the size of many agencies."

Indeed. President Trump's judicial appointments are also great compared to what we would have had with a HRC victory. Leftists are all about curtailing personal freedom and eroding the Bill of Rights.

I have mostly libertarian positions on things, but I'm pro-military and want border enforcement. I'm generally happy with Trump's policies (note: not so much his behavior).

If Republicans can gain seats in the midterms, and personally I think there's a high probability they will, there's a good chance some real reform will occur in Washington - which is of course the real reason for most of the hysteria regarding President Trump.

By the way, did you happen to see that his overall approval rating hit 50% today...? ;-)

Accipitriform··on Life is Short (2016)
"Sure, with all the money saved on military expenses, and countries not drawn into conflicts we'd be a lot farther ahead."

I doubt that. Like it or not, military conflicts (and military confrontations such as the Cold War) have produced many of the technological advances that we enjoy today.

Accipitriform··on U.S. gunmaker Remington files for bankruptcy
They bother implying that because of a political agenda.

In point of fact the "hundreds of thousands" of useful idiots will eventually come to understand the real world - and in the meantime little will change. The millions of NRA members alone trump them, and NRA membership has just had a significant jump.

"When it's a matter of seconds, the police are only minutes away."

Accipitriform··on Why writing a linked list in Rusts is basically impossible
"If you're that confident in your knowledge here, then using Rust wouldn't be a problem for you: you can go the unsafe route and just do the same thing you'd do in C."

That's what I didn't understand - why the author didn't just use "unsafe". There's nothing intrinsically bad about using "unsafe", you just have to test that code thoroughly. There's plenty of robust C code out there.

Page 1 of 2Next →