skysight-inc/HackerNews huggingface dataset:
> I tried to understand the implementation of boost::intrusive_list once. Yikes.

To be fair library code, especially library code that's supposed to run on a huge number of compilers and platforms, must include support for a ton of weirdo special cases which ultimately render it unreadable to someone not steeped in it. It also has to handle weird corner cases most developers might not think of, either because it's just a weird corner of the standard or because it might commonly be, say, embedded in some other structure or used in an unusual template expansion which would imply non-obvious constraints. This BTW is true of any language.

By contrast: I wrote a small lock-protected container template used in a local code base. It's short, fast and easy to use. Also easy to understand if you bother to read the code (but it's so easy to use, why bother). But there's a huge tradeoff: it doesn't act completely like a regular container; it only handles cases we care about in our code base and only works on the three compilers we care about. There is zero interest in implementing a more general solution. When this object doesn't work, sometimes we extend it and sometimes we change the caller.

So which would be a better example to read? I'd argue: neither.
As is often the case, the article renders fine with JavaScript and CSS disabled. This sort of scenario is why I run uMatrix in whitelist mode, with JS/CSS always disabled by default. These technologies are net negatives to me, I only enable them on select websites and my browsing experience is more pleasant on average because of it.
https://www.cnet.com/how-to/how-to-mute-entire-websites-in-c...
ClickHouse has very clean and modern C++ codebase.
https://github.com/ClickHouse/ClickHouse
I would also highly recommend looking into local FIRST Lego League [0] teams, which are part of the FIRST robotics competition series yet targeted for younger kids. I got into FLL in late elementary school, though the age range accepts kids from pre-K through middle school [1].

FLL uses LEGO Mindstorms robots, while later FIRST Tech Challenge (FTC)and FIRST Robotics Competition (FRC) use metal/plastic parts. In FRC we used milling machines and CAD, big steps up from playing with LEGOs.

The FIRST programs are amazingly educational and fun engineering/programming experiences. I cannot recommend them enough. Going through FLL and FRC was life changing for me, getting me into programming and building teamworking and countless other skills.

[0]: https://www.firstinspires.org/robotics/fll

[1]: https://www.firstinspires.org/robotics/fll/what-is-first-leg...
My point is that you would use boost.container if you need its additional features otherwise just use the equivalent standard containers. The complexity is there for a reason.

A separate .cpp would require explicit instantiation. I do not see how that would work for a third party library that has to work for any T.

Normally you can at least abstract away the memory management code, but in the case of boost container the use of custom allocators is expected, so you can't even do that.
unique_ptr<> let's me override its destructor behavior with a function object that's called on the resource. I mostly use unique_ptr<> for 'wild' mmap()s, FILE*()s, etc.
I think they mean unlimited in the sense that you're only limited by what local storage you have on your devices.
The other thing to bear in mind is that the capability is way higher now than in the past, despite the feature having the same name. It works perfectly with multiple lanes of closely-spaced traffic, through bends, bad weather etc. It actually uses the brakes rather than just engine-braking when necessary. It works well enough in stop-and-go traffic. It doesn't lose its mind if people merge in front of you.
> It may not seem obvious now, but prior to the suburbs, a lot of people lived in ragged tenement buildings that were in bad shape.

A lot of people still do. The people that could afford to move to the suburbs were also people that could afford to move out of tenements in the city, too, generally.

OTOH, it allowed them to be farther from (and outside shared facilities like schools, etc., with) the tenements and the people stuck living in them. (Which, due to economics and outright, overt discrimination in both lending and things like restrictive real estate covenant, especially meant non-Whites.)
It really is amazing how big a difference this makes.

I've started using Apple's Aperture software recently (I'm well aware it's been discontinued). I really like it, but my biggest frustration is that it's difficult to learn how to do new things, because "aperture" is a generic word in photography. I can't search for the name and get results about the software.
As this has been downvoted, perhaps it wasn't clear that I am being serious and earnest :)

I'm keenly interested in composing and talking to a loosely hierarchical structure of functions that do text layout through profunctor optics. Profunctor optics are an approach to define composable, hierarchical, and "simpler ways of writing programs that access the components of compound data structures". It's especially interesting when the problem context is this complex. To build that complex program, we would want to use the ways that are as simple as possible, right?

Can we use profunctor optics to build a functional (working) description of a text layout pipeline? Can we use profunctor optics to swap out components? (Probably!) Can we design a profunctor optic-based program structure that allows meaningful transformations of input and output as needed?

Abstract: Profunctor Optics Modular Data Accessors

Matthew Pickering, Jeremy Gibbons, and Nicolas Wu

http://www.cs.ox.ac.uk/people/jeremy.gibbons/publications/po...

Abstract Data accessors allow one to read and write components of a data structure, such as the fields of a record, the variants of a union, or the elements of a container. These data accessors are collectively known as optics; they are fundamental to programs that manipulate complex data. Individual data accessors for simple data structures are easy to write, for example as pairs of ‘getter’ and ‘setter’ methods. However, it is not obvious how to combine data accessors, in such a way that data accessors for a compound data structure are composed out of smaller data accessors for the parts of that structure. Generally, one has to write a sequence of statements or declarations that navigate step by step through the data structure, accessing one level at a time—which is to say, data accessors are traditionally not first-class citizens, combinable in their own right.

We present a framework for modular data access, in which individual data accessors for simple data structures may be freely combined to obtain more complex data accessors for compound data structures. Data accessors become first-class citizens. The framework is based around the notion of profunctors, a flexible gen- eralization of functions. The language features required are higher-order functions (‘lambdas’ or ‘closures’), parametrized types (‘generics’ or ‘abstract types’) of higher kind, and some mechanism for separating inter- faces from implementations (‘abstract classes’ or ‘modules’). We use Haskell as a vehicle in which to present our constructions, but other languages such as Scala that provide the necessary features should work just as well. We provide implementations of all our constructions, in the form of a literate program: the manuscript file for the paper is also the source code for the program, and the extracted code is available separately for evaluation. We also prove the essential properties, demonstrating that our profunctor-based representations are precisely equivalent to the more familiar concrete representations. Our results should pave the way to simpler ways of writing programs that access the components of compound data structures.
SQL Lessons for NoSQL Developers
Windows 8.1 is under extended support until January 10, 2023.[0] Why can Microsoft still support that system up to that date, but not let anyone else?

[0] https://docs.microsoft.com/en-us/lifecycle/faq/windows#what-...
is it weird that i don't really want to push my kids into tech?
I think what happened with the 1918 pandemic (and the 2019 one for that matter) is a virus hopping between species can "reset the clock" on that trend and start as very fatal for humans.
This isn't even a choice we have to make. Why can't SuperCruise make sure the driver is paying attention even when it's not doing the driving?

The numbers are pretty clear. If we want to save lives by making sure drivers are paying attention, it should be on the cars without Autopilot.
> Look, mass sterilization is bad. But

I'm done here.
I immediately back out whenever encounter Recaptcha.

The other day I was forced to endure it, because I wanted to delete my ancient Minecraft account, since Microsoft pulled a Facebook and are going to require a Microsoft account to play going forwards. Without exaggeration, it took me 15 minutes of training Google surveillance AI (had to solve it three times), for Recaptcha to let me in. I guess Google really hates me.
There are similar efforts in other countries, e.g. the European Green Deal.[1] And yes, we are all doomed without massive government intervention and mass mobilization in the next few years.

[1] https://en.wikipedia.org/wiki/European_Green_Deal
Version 1.0 of .NET for Apache Spark
It's good to hear you aren't trying to shame anybody. Incidentally, what is the word for people who complain about free things?
Highly ordered magnetic fields in the tail of the jellyfish galaxy JO206
More online than comments on the changes in the Mr? Like:
https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/2...

(there's some old discussion on there, random example)
Interesting that they're still using Eagle. I was using Sparkfun, Eagle, and KiCad back in 2013 and before when it was still with Cadsoft:

https://learn.sparkfun.com/tutorials/how-to-install-and-setu...

Even then, it was pretty limited: 100x80mm board size maximum, only 2 layers, 2 schematic pages, for personal use only, but Kicad was pretty hard to get configured. Altium, Cadence etc. were still the industrial behemoths.

But now Eagle is among the behemoths, owned by Autodesk. It requires a subscription and an Internet connection, the subscription is free for one year, and then costs $495/year to continue to get access to your files on Autodesk's cloud. One hazard I remember from projects at school in 2010 was that the school had an education/commercial license from Cadsoft (the original manufacturer) and you were essentially unlimited in the schematics and PCBs you could create. However, if you created a design on your laptop in the freeware version, opened it with a school computer using their paid license, you could no longer open it on your freeware license - that's a pretty old bug (or feature, depending on your definition. I trust that when Sparkfun sends back Eagle files, they're able to be opened by people with a "Fusion 360 Personal" subscription Eagle license.

Kicad is much, much easier to use today, especially after the big development push from CERN. And it's open source, so whether Sparkfun would want to extend it with Python scripting, write a plugin, or modify the software itself, something like this could be trivially automated.

The choice of Eagle seems to be obsolete by half a decade, when you're looking for a open-source-hardware electronics CAD package, especially if you'd want it to be scriptable and extensible, as I'm sure Sparkfun ALC is (I can't imagine they're paying someone in Colorado to route traces for $950). On the other hand, there's a lot of institutional inertia when all of Sparkfun's early designs were created in Eagle. Sparkfun is one of the big drivers of hobbyist Eagle adoption. I wonder if any early discussions of how to implement ALC were guided by an in-house Autodesk rep...
Apparently the adapter needs to support the 9V 2.2A profile, which is uncommon. So the max wattage isn't all that relevant.
From what I understand, the point of these benchmarks was to write relatively straightforward idiomatic code in all the laguages. The Julia devs were well aware that their knowledge of julia would make benchmark hacking straightforward, so they purposefully did not take many optimization opportunities available to them. They did the same with the Fotran and C benchmarks.

These things are all pretty subjective though when it comes to 'what is a fair benchmarking methodology'? Another valid approach would be to have experts in each language try to write as optimal an implementation as possible, but this would quickly become a bit of an arms race.
Chili-shaped device could reveal just how hot that pepper is
They don't listen to your phone calls either. If they did, Snowden would have leaked it, and it would have been a bombshell revelation. If you have information otherwise, you should blow the whistle.
The article also includes a call for developers that want to help support X.
> There's evidence for influenza virus existing thousands of years before 1918. As such, it seems to have evolved into a much more deadly strain at that point.

Influenza refers to a class of viruses, not a single virus.
Hello from another of the last archetype.

It's a blessing and a curse. And one I find very few careers favour.
The spam is infuriating (not GitLab's fault, of course). Atleast, on our instance at https://git.cloudron.io, we got massive snippet spam. After we disabled snippets, we got massive spam on the issue tracker (!). The way we "fixed" is by turning on mandatory 2FA for all users.

As a general lesson, what we learnt is these are not bots. These are real humans working in some poor country manually creating accounts (always gmail accounts) and pasting all sorts of random text. Some of these people even setup 2FA and open issues with junk text, it's amazing. Unfortunately, GitLab from what I can tell cannot make issues read-only to non project members (i.e I only want project members to open issues, others can just read and watch issues).

Currently, our forum spam (https://forum.cloudron.io) is way more than GitLab spam. On the forum, we even have Captcha enabled (something we despise) but even that doesn't help when there are real humans at work.
Yeah, this is what I was getting at. It's not about bodily autonomy if it affects other bodies too.
White men in 21st century America are still at the top of the totem pole; their situation is nothing like that of Jews in early 20th-century Europe

This seems like an odd statement. You are aware of why anti-semitism was so widespread in Europe at that time and why Hitler found it such fertile ground? It's because Jews were perceived (with some justification) as being at the top of the totem pole, they tended to dominate top financial jobs in particular, but also were successful in many other ways e.g. many were business owners, lots of academics were Jews and so on. The anti-Jewish trope at the time was that this was because Jews were involved in a global conspiracy to promote Jews above others.

The Protocols is an example of this kind of conspiracy theory. It was said they controlled the world's financial systems, the press, and so on. The conspiracy theory was vague, and the Protocols doesn't really name any specific people or give specific evidence. Nonetheless it became widely believed in the first part of the 20th century in Russia and Europe.

This was why the first part of the anti-semitic policies of the Nazis was to start banning Jews from holding high ranking positions, and boycotting their businesses.

https://encyclopedia.ushmm.org/content/en/article/boycott-of...

Now in 2020 it is de rigour for people to state that white men hold positions of power due to a vague sort of conspiracy ("patriarchy" and "institutional racism"), that they should be removed from these positions and replaced by people of acceptable race and gender, and that this is OK because they sit at the top of the totem pole. Patriarchy/institutional racism are vague theories, with no specific names or evidence ever being presented to support their existence. But nonetheless they are very popular theories and are routinely used to justify discrimination against white men.
amusingly enough, coming from the EU the site told me: "451: Unavailable due to legal reasons"
Coinbase Card
We Talk About AI Affects Who Gets Credited for AI Art
> There's also what's known as the "geometry" problem - 1 self driving car takes up as much space as 1 human driven car.

Human-driver cars consume parking spaces at the destination, self-driving cars don't have this limitation. They park themselves away from high-traffic areas or they could ferry other people around.
I recently switched to Sway on Wayland. Sway has good dynamic output configuration. `wl-clipboard` and `wl-paste` are there for CLI clipboard access. There's a rofi fork that works on Wayland, and can also emulate `dmenu`. `clipman` is Wayland compatible. I use `grimshot` with `rofi` integration for screenshots. I have a HTML Color Picker script for sway that's launched from `rofi` that I should share. `ydotool` and `wtype` emulate the parts of `xdotool` that I care about.

Also, there's no longer tearing when I resize windows!
A Flu Shot Might Reduce Coronavirus Infections, Early Research Suggests
I take the subway everywhere in my city in the US. I don’t expect it to be perfect and I’m not disappointed.

I’m also very happy to let my car drive for long boring stretches on long trips. I find I arrive at my destination much more relaxed. And yes, I keep my hands on the wheel and eyes watching around me. The car does the stupid stuff like keeping the car in the middle of the land and watching for other cars all around.
I think the obvious answer is yes.
> Look, mass sterilization is bad. But genocide?

Yes, it's exactly genocide. Preventing a people from reproducing is quite an effective way of wiping them out as a people.
Windows Server 2012 R2 is in support until 2023. Businesses have planned lifecycles and budgeting around that date.
From a fellow maintainer of open source software (currently not being paid for the work at all) - I agree 100%.

Users are always demanding things: new features (which sometimes are very bad ideas), merging patches (which sometimes were never tested), expecting answers for questions that were asked and answered thousands of times before…

> It's just that if you don't like something, you need to step up and do something about it to improve the situation, instead of just complaining.

Exactly. Users who want to say on X (for whatever reason) should start contributing instead of spending time blaming the devs. If they want to switch to Wayland, but are missing something - they should work towards fixing it instead of dragging everyone else back.
BBC's microbit is an awesome start - my daughter loves it!
Isn’t the person you’re responding to saying exactly that? Tesla is prioritizing utility storage over home storage (and your links provide helpful evidence).
Quite possible.

The constraining factor on SDC commonality in the short-to-medium term will be maintenance. These cars require dedicated service (which is why they'll likely start as replacements for taxis, not privately-owned; people will have to be hot-rodders to want to do all the work necessary to keep the sensors clean and tuned).

There may be a threshold in the future where the sensors are hyper-rugged or self-maintaining, but it's a little ways off. The maintenance burden will keep the ghost cars down in the short- to medium-term.
For a minute I thought their name was (without the quotes) "[NAME AVAILABLE ON REQUEST FROM COMPANIES HOUSE]".

Seems like a regulation to add "computer code like expressions" to the list that requires prior approval of the Secretary of State might be useful.
What is the license for the finished pcb design if you use this service?

I believe most Sparkfun designs are "Creative Commons Share-Alike" [0], but they are a little confusing as to their interpretation of that license [1]. My reading of that license is that if I base my commercial product (consumer, not for the hobbyist market) on one of their designs but make changes to the pcb design (such as additions and the shape) I would have to release my design to the public (which I would not want to do)?

But here [1] they seem to contradict that and suggest all you have to do is attribute some of the design to them?

I ask because this seems to be a really good way to get to a mk1+n prototype but obviously before going to mass production you are likely going to want to make changes, potentially large ones. If your final (very different) design has a lineage back to a CCSA licensed design then technically your final design would have to be shared for free.

Obviously the CCSA license is important for them to protect their core business, the hobbyist market, and ensure competitors don't just steel their designs.

[0]: https://creativecommons.org/licenses/by-sa/4.0/

[1]: https://www.sparkfun.com/news/1852
I find Consumer Reports reviews to be very conservative. I bought their top rated washer in a rental apartment where the landlord told me to "buy whatever." It was a decent washer, but nothing too incredible, and got mildewy smells (I know, I could have cleaned it more assiduously).

For my next washer when I moved into my own house, I did my own research, and found a washer that 1) stored an entire bottle of detergent and dispensed it automatically 2) ran a venting fan to prevent mildew after a load is done, and keeps it bone dry, 3) Sends me a phone notification when my laundry is done and when it's been sitting for 30 minutes, 4) Can wash a small load and dry it in one shot with the venting fan. Massive upgrade and nowhere on Consumer Reports' radar.
Before Bitcoin stock was rarely a problem.
The article was seeking to describe usage of the word(s), not the origin.
There is no such language as C++/Java.

Java is an obligate-OO language, whose OO mechanisms must be subverted to code other designs.

C++ is a language that has constructs you can use for OO if you really want to.

Coding with an inheritance hierarchy and pointers where it does not fit is actually called "Java Disease".
yes, exactly. You can store as much as you want for free if you use your own resources. If you would need our network, it's a premium feature
>> Between being crammed in the cars, the mentally unstable accosting you, the lack of cleanliness and the occasional assault

Three of the four of those are things you don't hear people complaining about with the transit system in Japan because of the culture differences in the USA.

How can that be fixed, here?
Funny, I'm writing this on a Arch/Gnome/Wayland XPS machine, that I use as my daily driver. So clearly it's not "literally unusable".

> Frankly, I'm a little shocked distros are making Wayland their default display server ecosystem

They're making it the default because it work better for most people.

You may not be most people, but I can at least concede that X is probably still the right choice for you.

You seem to be unable to have a good faith conversation about the merits of Wayland.
Governments are important to protect freedom. I'm in favor of national currencies, but when it comes to the world wide web, and computers in general, I'm more comfortable with having a neutral currency not influenced by some people taking political decisions and deciding whether or not my savings can exist or not, or adding arbitrary technical limitations because of political reasons.

Projects like bitcoin are not a negative thing for regular citizens, the benefits outweighs the cons. You proposed earlier to make it illegal however, which means you're not okay with some persons having the option to control their currency in the digital space. Such opinions are the reason why bitcoin appeared in the first place, and why cryptography will probably be for a long time a beneficial tool to protect people, along with governments.
How to Hire the Right Blockcahin Developer for Your Project?