skysight-inc/HackerNews huggingface dataset:
Miiiiinor point/caveat here but jotting it down just for others that might be less familiar!

Today WebGL is commonly referred to as a JS API because pretty much every WebGL app is written using JS.

But, even though that MDN link quite literally says "JavaScript API", it turns out that WebGL is entirely specified in WebIDL and isn't coupled to JS.

Because of this, `wasm-bindgen` [1] is able to auto-generate all of the WebGL bindings [2] that I used for this demo.

Today `wasm-bindgen` automatically generates some JS shims because that's the only way to call the WebGL APIs at this time, but once anyref and host bindings land you'll be able to interface with the WebGL APIs directly without going through JS.

`wasm-bindgen` already plans to just replace those JS shims with direct host bindings.

But yup - totally agree with your points here - just sharing this minor detail that will be more relevant in the future!

[1] - https://github.com/rustwasm/wasm-bindgen

[2] - https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.W...
> And you need to use the C++ version that ships with that distro, so if you want to support old versions then the entire project is held back from using latest C++.

> And distos aren't backwards compatible. ie when libcurl4 is released, they remove libcurl3. So you can't have one binary for Ubuntu 18.04 and 16.04.

Release the source and the community will help you with many of these issues.
I think we can expect electricity consumption to go back up quite soon. Contributing factors are electrification of transportation, transition to electric heating, ever growing software bloat, increasingly compute-intensive ideas like deep learning and blockchains requiring more and more powerful data centres... and let's not forget that software hasn't eaten the world yet.

Some of it will be a demand shift from fossil fuels, which is a good thing, but it still means we need more electricity.
i understand what you mean, i guess it's more my curious/autistic nature to want to learn as much as i can.
to an extent that it matters, yeah.

Sure, I put 87 octane in our SUV and 89 in the audi, but yeah for the most part gas is gas, unless something is wrong.

Getting 2 random batteries to have less than 10% variance among them is going to be a lot harder (especially when battery health changes a lot depending on how they are treated. Users running them to near empty in cold weather is going to shorten the life a lot faster than the guy who only runs it to 50% before swapping out every time), and I have a feeling that the amount of "problem" batteries will be much higher than the amount of times i've ever had "problem gas" (which is basically 0 times so far).
The Complete List of 140 Things You Can’t Say About Assange or WikiLeaks
There are few reasons:
- they most of the time run embedded in a DAW
- they are usually computationally intensive themselves
- they are meant to be instanced as far as memory/CPU can go

ad to the third point:
Music producers already require and use pretty powerful rigs: 32-128GB RAM is not uncommon, CPU as good as it gets.
There's great benefit when you can run 100 instrument synthesizer instances parallel vs 14 instances - it's a difference between a differentiated orchestra and a rock band.
Well, give it a couple years for Canada to figure it out.
You can always write native extension in c++/rust/c.
I'll take the step and say that most developers do the mistake to treat linux like any other proprietary system which they can target with stable interfaces and call it a day.

Free software changes more often, but when it does, it is not that big of a problem because you have both control over code and the code that your code interacts with, because all code is accessible.

If game developers opened up, and here I don't demand the optimum, which would be open sourcing their game[0], but just to get people involved that actually are active in both their code and the free software community, they could deal with the eco system much better and make their code actually work even on most of the many configurations that exist.

Of course, the usual argument is that game developers don't have to care about this on other systems, but in fact they did have to gather experience and training on the other platforms, and with free systems, once you are involved in it, you can deal with it much more efficiently than what it seems at the start. There is nothing magic about filing a bug against mesa.

I am one of the persons that contacted Uber about PA not working on my linux system. It was a recent Debian stable without modifications. They didn't offer meaningful support. I just asked them to install a debian stable with free mesa drivers on a computer with a recent AMD gpu, and try to build and run PA, and see why it doesn't work (there were obvious, easy to reproduce issues). That is not a lot of engineering time, and I bet solving those problem would have solved many problems in linux systems.

[0] This starts to become a cultural problem that seems to need laws to deal with. As a society, we shouldn't accept to never have our cultural heritage, which games are part of, in the public domain in a usable form (source code and documentation).

Edit 1: Writing closed programs for a free software community is difficult. I think that it should be difficult. That pain is a constant reminder that you're doing it wrong.

Edit 2: Steam counts unsuccessful launches of a game where the game is laughibly broken as playing time, so after some extenstive testing, you can't even refund a game on Steam because it says you've played more than 2 hours -.-
Still a hell of a lot better than an Android device!
I concluded ages ago that no substantial applications should be integrated into an operating system. Dynamic linking if you're building something portable is just an awful idea because of how much variety you'll inevitably have to support (or choose not to support).

Some people have written about AppImages, this also applies to FlatPak and similar techs too. Isolating anything more complicated than a command line tool is the way forward and the tech exists. Not using isolation this way is a recipe for pain, whether it be on the desktop or the server (or the phone).

It depends how the plugins are loaded - it'd be great if they could use sockets so that AppImages were viable. No idea myself, though.
I'm not saying I would want that. My original point was that the person I was replying to said that they won't believe Linux gaming would ever be predominant. I'm saying it already is.
I ran into this trying to get into it about 3 weeks ago. I'm so used to things like npm, ruby gems, go packages, pip that it felt like a huge task just to get something built or settle on a way for me to build mine.

Even grabbing libraries from github, I was unsure if I should grab just the headers and DLLs, or import the entire tree and mashup my build scripts with theirs.

I wish I had stayed with it since college but now I feel I have to reach for something like Go or Rust just to get something shareable in reasonable time purely because of the tooling, whereas I would really like to use the C++ language itself specifically for working with win32.
> I feel that [a programming language is] just a tool to instruct a machine to do something.

I can't stress enough how true this is.
In about ten years someone will post one to HN. Written in Javascript.
I'm having some difficulty imagining that C is safer than C++.
Here is a quote from Pipistrel <https://www.pipistrel.si/plane/alpha-electro/overview>

Alpha Electro, the new 2-seat electric trainer: the greenest way of learning to fly!

Performance of the Alpha Electro 2-seat electric trainer is tailored to the needs of flight schools. Short take-off distance, powerful 1000+ fpm climb, and endurance of one hour plus reserve. The Alpha Electro is optimized for traffic-pattern operations, where 13% of energy is recuperated on every approach, increasing endurance and at the same time enabling short-field landings.
Hey, author here - this post/thread completely hit my by surprise, so apols for late reply:

1) ta_free() is only O(n) if block compaction is enabled, else it's O(1), i.e. a simple cons of the freed block addr to the free list (https://github.com/thi-ng/tinyalloc/blob/master/tinyalloc.c#...)

2) there's no hardcoded alignment (it's configurable via TA_ALIGN macro) and I'm confused about your other comment about not aligning the right address in general. that's a wrong observation and i think you misunderstood the diagram in the readme.

3) it's clearly stated in the readme that this is largely meant for memory constrained situations (or where not large numbers of blocks, realloc or multithreading is needed/available) and so it's not meant to be a replacement for dlmalloc / jemalloc caliber allocators etc. i needed something small & lightweight and it did it's job very well in several production projects on the ARM STM32 platform (where I have upto around 8MB managed). I also found it very useful for some ongoing JS/WASM interop projects (i.e. there's JS version here: https://github.com/thi-ng/umbrella/blob/master/packages/mall...)
Probably not, but is prohibition safe? Are armed police safe? Is paracetamol safe? Could this be perhaps an issue where a sense of proportion and balance of harms is appropriate?
We don't know, because it's illegal to research it.
Uri Alon gave excellent advice on how to give a good talk. I feel Uri Alon gives much more specific details on how to structure the talk, body language, and most importantly how to handle questions.

https://www.cell.com/molecular-cell/fulltext/S1097-2765(09)0...
https://www.google.com/amp/s/techcrunch.com/2017/08/13/godad...

Domain providers are beginning to police content they deem as unacceptable speech or ideas. Are you going to remember IP addresses when the DNS system itself polices thought?

The problem is, tech companies are beginning to behave like a cartel when it comes to free expression. We don’t just see it in Facebook, we see it across all facets of the digital economy, from payment providers to hosting providers to DNS services themselves.

If your solution for someone getting the scarlet letter is to say they are free to build their own network, then we are approaching a major problem.
Sounds like they're a little late to the party. "Scan" and go? Why would you need to scan when Amazon already has their Amazon Go stores in operation and Standard Cognition just bought a company to expand that tech to big box stores?

https://techcrunch.com/2019/01/07/autonomous-checkout/
I used to swear by Meyers in my old C++ days; his Effective C++ and More Effective C++ were my favorite software books. But recently, in the course of catching up with modern C++, I got the impression his ideas aren't considered good in the current community anymore. Can anyone comment on that?
...and now I understand why the Uyghur are persecuted in China.
It would be even better if they had decent GPU's available without spending $1000+ on an external setup.
I'm not the OP (and not associated with red an anyway, other than being a fan of REBOL), and I agree the wording deserved to be called out. "cult" and "Czech wizardry" aren't exactly positive framing words. Hopefully this doesn't spiral into a discussion about PC comments, because red looks to be cool and deserves a good technical discussion; but I don't think 9214 was off base calling out the comment.
You're right that you can punish a child (or an adult) into understanding something they can't yet understand, but you can punish a child (or an adult) into refraining from a behavior, unless the person is incapable of understanding cause and effect. Billions of people (and animals) have learned to restrain their impulses out of fear of punishment. It's fundamental to how mammal brains work.
2019 UI and UX Design Trends
> In the old methodology, any schema change requires the entire application to be shut down

MySQL perhaps, when even the addition of nullable columns without defaults or constraints requires a full table lock and copy?

That seems to be a common reason for stating online schema migrations are difficult (not impossible), but not a problem with many other RDBMS engines.
This is a bummer on many levels, but also personally, a bit of a relief.

For a while I was considering going all-in to try to get a role at Mozilla. I really believe in their mission, and I drink the kool-aid when it comes to the browser market getting gobbled up.

What held me back at the time were the company reviews. The culture sounds toxic, and the management sounds incompetent, and there's no force of change that has done anything to change that in the past ~5 years.

So this is a relief, because random online statements are often a limited glimpse into a company, and I've been worried that I made a bad choice by not going for a role there, but seeing something like this come from steve is very damning for Mozilla.

Best of luck Steve, I’m sure you’ll end up somewhere great.
Are New React APIs Replacing Redux?
Programming Loops vs. Recursion – Computerphile
honestly not sure what point you are trying to make here. a model 3 with two passengers will still be 300-400lbs heavier than the cars I mentioned.

yes, passengers also add a significant amount of weight to a car, but not enough to damage the road as much three separate midsize sedans.
Many programming languages try to have perfect symmetry and because of that, fail to be useful in the real world. C++ has constructs such as template specialization that allow symmetry breaking. Symmetry breaking is what makes nature beautiful and therefore I would argue C++ IS a beautiful language. C++ is complex because the world is complex. Just as a mountain is shaped by time and the elements, C++ is also shaped by decades of experience and change.

This is what also makes Bjarne one of the greatest language designers. Where most designers would have gone off making new languages, Bjarne has been polishing the C++ stone the whole time.
The overhead is not fixed and the 3KB are only for the default config and based on the max number of blocks one might have in flight (256 by default).
Huawei is in the game, for sure. Also, comments that dismiss Chinese achievements appear uninformed of the level of effort at technology supremacy under way in China.

BUT there are a few "buts:"

As the article says "the new CPU is designed to boost the development of computing in big data, distributed storage, and ARM-native application scenarios."

This isn't anything like an Apple A12, which has world-beating compute power per watt.

The Huawei chip should be compared to Intel server CPUs and ARM and other chips with other ISAs designed to use in data centers.

This is an important step technologically for Huawei, which will probably use enough of these chips to learn for a next generation. This is probably not a chip that will disrupt anyone else's chip business.
I do not understand the mentality of "opinionated" frameworks or tools being a good thing, and the trend toward said frameworks disturbs me greatly.

What people call "opinionated" is nothing more than something being "architected". Someone has made a bunch of decisions for you that down the road you have no idea whether or not it will actually be good for you.

Using these types of frameworks short-circuits the process of being able to understand the nuances of building software. It's the apartment building or high rise of software development.

It turns design of your system from a personal journey toward the solution of your problem into little more than assembling linking logs.

I can understand the argument for an opinionated toolbox, but not for wanting base tooling itself to be opinionated.
>The consumption probably grew due to Asia and Africa using more electricity, but in the western world?

Fair, looking at more recent data it looks like between 2008 and 2017 the US has bounced back and forth about 100 TWh in total use.

BUT if you look at things like Bitcoin... one estimate ( https://arstechnica.com/tech-policy/2018/05/new-study-quanti... ) put the Bitcoin network alone using 30-70 TWh a year.

If we look at https://yearbook.enerdata.net/ we see more recent data and yeah the biggest culprit is Asia with 1-3% increases each year. I imagine a good chunk of this is manufacturing for 'first world' countries though which one could argue should be assigned to the countries being exported to not the country doing the manufacturing but that's going to be way too complicated to estimate. I work in international freight and I've definitely seen freight grow in the past decade, especially Asia (if we exclude the past few months with Section 301 and China) and if EVs start to catch on in the next 5-10 years you'll likely see a large jump in actual electrical demand as well.

The middle east is consistently growing, I'm guessing a lot of that isn't 'third world' areas though and more likely cities like Dubai.

Something to keep in mind though is global warming, if budgets allow I imagine we're going to see cost of cooling increase in the coming years.
At around the same age, also in a gym class, I had a teacher who would pronounce "sit" as "set". I had no idea what to do when he told us all to "set".
That's just another way of saying "you should tolerate intolerance", and the fallacy is the same.

Saudi Arabia and China are not cultural monoliths. Their ruling classes may have a cultural value of stamping out dissenting values, but their subcultures so targeted would certainly disagree.
Which is why chromium pulled support for certain drivers on linux
But you don't hear people make the same sort of comments about languages like Go and Scheme. There's a continuation from complex to less complex and C++ is one one end of that.
Make was pretty ubiquitous and standardized.. I know in the Windows world there can be a lot of chaos but building from source has been a method of installing software on linux for a very long time.
What's the advantage? Most people with EVs are charging overnight, not once a week.
Well, the above solution would actually allow you to connect the stolen number to the specific organization you supplied it to. That would help with accountability quite a bit!
On Windows, I use the Windows API for downloading files. I don't need to worry about curl.

On Linux, I could have statically linked curl, but didn't realize it was going to become an issue. Ubuntu 18.04 was released and curl3 was removed, so that means our software that was working was either automatically removed by the package manager or it started crashing.
UK OpenU has a remote applied math/stats BSc and they've been around for 50 years (though recently plagued with financial problems) http://www.openuniversity.edu/courses/qualifications/q36

You'd pay the same tuition to go to a local school P/T though, total cost to complete is around $4k USD per year plus whatever you have to pay to a local testing center (here it was $60 per exam). Another way is just work through a rigorous introductory text like Concrete Math by Knuth and hire local math grad students to tutor you (or for them to come up with their own curriculum) but since it would be nice to spend all this time and gain actual credentials I'd be interested in distance math degrees too if anybody knows of others, University of London only has graduate level distance math degrees.
> Does it really matter? Is alcohol safe? Are most medications safe?

Yeah, it does. It matters a hell of a lot that alcohol isn't safe, and there are a whole bunch of very well-known problems associated with using it regularly. Same for most medications. Many aren't super safe, and there is a fair bit of research and information dissemination required to make sure doctors and patients know the costs and benefits. When we fail at doing that, it causes a lot of harm to a lot of people. You should be able to make your own call, and that means knowing.

The really creepy thing about this conversation is that there is a shitload of money to be made by concealing the hazards of marijuana use, just as there is for alcohol and cigarettes.
UnCAPTCHA AI Cracks Google ReCAPTCHAs with 90% Accuracy
How to Install a Two Handle Kitchen Faucet
Why hint at it at all then? Without details it won't satisfy the curious nor help fix whatever problems there might be. As someone who still works for Mozilla out of conviction, this feels like an unnecessary low blow.
The conclusion here is stated in the article as

"Issues specific to Linux were almost entirely graphics driver related, and unique to the platform."

So somewhat similar to having 0.5% of your pet walking customers complaining about issues you can't do much about, or have to do extra work to make them happy - their doghouse at home is too small, their car has an issue so they can't come and pick up the cat - basically a subset of your customers giving you a whole lot of extra work for very little gain.
The batteries are too heavy and bulky for most people to physically carry and install. The only way regular battery replacement can work is with a large automated system, which means it would have to be in a dedicated service station rather than an apartment complex.
$1T is leaving Britain because of Brexit
I really, really don't get it. Just bundle all your dependencies, what is so hard?
I keep a dualboot system because of the current situation.

Linux for "real work"

Windows for gaming (no-frills setup) and music production (much easier and less clunky low latency setup, way more availability of free synths etc)

I absolutely adore Linux for everything it has done to my career but I cannot drop my Windows system yet.
You'd thinking having another build target would help find bugs on existing platforms. Kind of like the BSD's.

Didn't ID software outsource the Linux ports to someone in the community and just provide it as free?
so then why use electron as well if the majority of your code is going to be native anyway?
Here to report two more cases of mental health decline with family history of mental illness.
One can't just learn C++ in one year, imho.
We both know Durham is better though ;P
Can text to speech improve the lives of our society?
Any photos you sync to Google can be publicly displayed for google's promotional purposes?

That doesn't sound great.
Limited in the amount of current it can generate. Doesn’t respond well to changing power requirements. Horrendously toxic if the casing is breached traumatically.
the engines of the named cars are essentially on par with the lowest specced (and lightest) model 3 that's currently available. the only situation where the model 3 has a strong advantage is in sprints from 0-60, a number most people pay entirely too much attention to in my opinion. edit: I'm actually wrong, according to car and driver, the 0-60 numbers are really close on all three cars.

I don't want to digress too far on the performance characteristics of the cars, as this starts to be a bit subjective.
Tesla’s hot swap demo was a compliance hack to garner as many ZEV credits as possible in California. There was no way it was going to be rolled out if you observed how rapidly they rolled out Supercharger stations instead.
It might be necessary to issue new dongles every once in a while, but it wouldn't be unreasonable to have a user fee for doing so. Certainly people have to pay to renew driver's licenses and such already.
> "Czech wizardry"

It could be a compliment of course, like "wow, this stuff is amazing tech wizardry that should be much more appreciated, and probably would be if not for the language barrier!"

Let's just agree that natural languages are too fuzzy and ambiguous and assume good faith.
Mallrats:

"He wants to have sex in a really uncomfortable place"

"Like in the back of a Volkswagon?"
They really haven’t been in that great a state since WoW released, and its just been going downhill from there