skysight-inc/HackerNews huggingface dataset:
> All views of freedom are paradoxical other than the most basic view, which is that everyone has the freedom to do anything to anyone.

No, there is a valid view of individual freedom that is limited by other people's freedom. In fact, that's the traditional American view of freedom.

I have the freedom to do anything that doesn't actively restrict the freedom of others. I can walk into an empty space. I can't walk into a space you occupy.

> Political philosophy consists of more than a worrisome story written eighty years ago.

If only 1984 was just "a worrisome story written eighty years ago".

Instead, it describes the totalitarian regime created by Marxist takeover of the Soviet union.

We are now experiencing an attempted Marxist takeover of our own society.

Books are being banned. Ideas are becoming unacceptable, shunned, erased from public discourse, and from our memories.

President Obama praised, quoted, and recommended Dr. Seuss's books in official press releases throughout his presidency, all the way to his last year as president - 2015:

https://nypost.com/2021/03/03/barack-and-michelle-obama-prai...

But now, barely 6 years later, the Leftist Mob has come for Dr. Seuss, and we're all bullied to recite that Dr. Seuss is racist, was racist, has always been racist.

And his books are, accordingly, being erased. Cancelled.

To quote Orwell: "The past was alterable. The past never had been altered."

The real point isn't that Dr. Seuss is actually racist (he never was), but to condition us to reject, ban, and shun "unacceptable" ideas, thoughts, and expressions - on social command.

The overarching theme here is control: in the leftist vision, society must control and regulate the consciousness of all its members, in order to create a perfect Utopian centrally-controlled society.
This specific thread is about public libraries. I definitely don’t want public librarians to see their job as an avenue for expressing their views.

But for the rest of it, I get what you’re saying. I definitely want to live in a world where there are Christian booksellers selling their curated collections, and left wing revolutionary bookstores selling theirs. That only adds to diversity of expression. On the other hand, if I started to see large numbers of previously neutral purveyors of books saying they wouldn’t carry anything that offends the church I’d criticize that. I don’t want to live under a new puritanism, even if everybody forwarding it is entirely within their rights to do so.
Agree--mostly prole. I myself would like to think I was born low prole and have moved to high. From the review I believe in many aspects I have middle taste, but I just don't think I've actually made it yet.
Indeed there are cases where that fundamental understanding is critical, and others where it isn't. I started my career at Intel, and I can say without hesitation that a significant amount of direct foundational material from my EE/CE degree was used every day. Microprocessor design, VLSI, signal processing, etc were all used in depth.I suspect it would have been very difficult to learn those 'on the fly' in this kind of environment.

On the other hand when I started my own software company, most of those skills were learned on the fly, with some awesome wins and failures along the way. You can and will be in both categories.
This isn't a study that shows that people's faces indicate their political leanings.

It's a study which shows that pictures that people select to represent themselves publicly have features that indicate political leaning.
> over the top affirmation

What does this entail, do you mind giving an example?
That's very nice.

I think this will make game preservation easier in the near future.
not sure what definition of "legal" they are using. I clicked Catalog, then 70, then 80, and found lots of "interesting" titles
Objects aren't bag-of-functions though (they have state, inheritance, initializers/destructors, interface/abstract classes, classes vs objects and tons of other concepts and patterns) and any complex program can become a large hierarchic tree of classes and graph of objects that goes way beyond a simple bag-of-function. Even modules that are almost literally bag-of-functions will scale quickly to something more complex.

The point is that simple concepts are nice to explain for a beginner, but what actually built your intuition in how to use objects is the years and years learning and experiencing it's benefits and pitfalls. With multiple dispatch it's the same, but since few languages use it (and even fewer, if any, pushes it everywhere like Julia does) most people didn't experience this process.

For me when I'm using a function I just consider them as self-contained abstractions over the arguments. For example there are hundreds of implementations of sum (+), which in practice I ignore and only think about the concept of addition no matter what arguments I give and I trust the compiler/library to find the optimal implementation of the concept or fail (meaning I have to write one myself). If I'm writing a method (or function) I consider arguments as whatever acts the way I need so that I can implement the the concept on them (for example if I'm writing a tensor sum I just consider arguments as n-dimensional iterable arrays and implement assuming that - and declare for the compiler when my method is applicable, without having to care about all other implementations of sum - if anyone needs a scalar sum them that person can implement it and through collaboration we all expand the concept of sum).

And the fact that whoever uses a function can abstract away the implementation, and whoever writes a function can abstract away the whole extension of the arguments (through both duck typing and the fact that the compiler will deal with choosing the correct implementation of the concept) means everything plays along fine without having to deal with details of each side.
> support for its templating language is scarce

Hello, i would say there's a few missing template features in Zola (especially hashmap literals/functions) but i don't find it scarce. Could you elaborate with your painpoints so they can be addressed for others as well?

Zola is constantly evolving for the better, and the community forums are also a good place to exchange feedback/criticism
My comment was "Everybody needs to eat". We need to eat food to stay alive and
meat is a very good kind of food. It doesn't have to be a choice of life and
death, eat meat or die. As an analogy, you also don't _need_ to wash to survive,
but it vastly improves your quality of life if you do.

As to vegetarians and vegans- while it's possible to maintain a healthy diet while being one or the other, it is much easier to do when eating some meat and animal products.
I like to express this as "it's hard to teach people the solution to a problem they don't have". I think it's a major problem in a lot of educational endeavors, including a lot of things like git tutorials.

I think the educational ideal is something more like: 1. Teach how to do something specific, e.g., "here's how to write a simply dynamic web page in Python". 2. Once they've done that, guide the student into a problem, e.g., "what if the user puts a <script> tag in their username". 3. Solve the specific problem (encoding user input properly). 4. Now, contextualize that problem in the broader space. ("this is a pervasive problem in protocols, let's talk about parsing theory and show the mathematical way in which this is fundamentally ambiguous".) 5. Finally, show another instance of the problem to show that #4 wasn't just an academic thing ("remember the $NEWS_ARTICLE about $BAD_PROBLEM? That was a similar encoding problem only in email instead of HTML").

I think pretty much all those steps are important, all the way out to #5. You can tell #5 is often not done by how many people manage to walk out of a 4 year computer science or software engineering education convinced they've learned nothing of value, because none of the actually-quite-substantial amount of stuff they've learned was contextualized properly.
The problem wit this is bad interpretation, people look at it and think oh this means political orientation is somehow inherent to biology or some such nonsense. Any data that can make predictions is just a sign that in this data there are some patterns, but there is never a straightforward interpretation for it.

Also, whoever makes the first app for this will go viral 100%.
You should check out Spot[0]. It's a Spotify client written in Rust using GTK. It's quite barebones at the moment and only works with premium accounts, but the interface is much cleaner than the official Spotify client.

[0] https://github.com/xou816/spot
I believe Metalsmith [1] is trying that approach

[1] https://metalsmith.io/
Interesting. Do you happen to know which eReader devices (and ePub readers in general) support it?

MathML would be so much easier than images!
Surprising, yet not surprising. As the article mentions:

> Both in real life and in our sample, the classification of political orientation is to some extent enabled by demographic traits clearly displayed on participants’ faces. For example, as evidenced in literature and Table 1, in the U.S., white people, older people, and males are more likely to be conservatives.

Most people can predict a person's political orientation of their own country with >50% accuracy as well just by looking at a face. Black or latino? probably liberal. Old white person? probably conservative. If you can see more than just their face it's even easier (wearing religious paraphernalia? LGBT paraphernalia? etc?)

What I thought was interesting was:

> The algorithm could successfully predict political orientation across countries

I was under the impression that "liberal" and "conservative" had different meanings in UK vs. USA so how could it do this?
How about "blocklist" and "allowlist"?
(not op) I personally love next.js but I guess it'd bee too flexible for some.
> the Parliament is not the government?

Correct. In the UK, "government" refers to the ministers currently in power, the "executive branch of the government" in US terms.
You're acting like social attitudes have only progressed in one direction in that time.

The 70s or 60s kid might be raised in a context of peace and love, anti-war sentiment, then be just as shocked to see Ronald Reagan, low taxes, spending cuts for social programs, the religious right, wars of choice, higher wealth disparity, outsourcing in manufacturing and other industries, privatization, young fascists going on tiki marches in favor of the confederacy, on and on ...
see https://www.nature.com/articles/s41551-020-0534-9

Abstract:

Technologies for the longitudinal monitoring of a person’s health are poorly integrated with clinical workflows, and have rarely produced actionable biometric data for healthcare providers. Here, we describe easily deployable hardware and software for the long-term analysis of a user’s excreta through data collection and models of human health. The ‘smart’ toilet, which is self-contained and operates autonomously by leveraging pressure and motion sensors, analyses the user’s urine using a standard-of-care colorimetric assay that traces red–green–blue values from images of urinalysis strips, calculates the flow rate and volume of urine using computer vision as a uroflowmeter, and classifies stool according to the Bristol stool form scale using deep learning, with performance that is comparable to the performance of trained medical personnel. Each user of the toilet is identified through their fingerprint and the distinctive features of their anoderm, and the data are securely stored and analysed in an encrypted cloud server. The toilet may find uses in the screening, diagnosis and longitudinal monitoring of specific patient populations.
But pseudo is the only type. Reading Fussel books gives me this idea.
New E-Toilet To Revolutionize Online Shitting (1999)

https://www.theonion.com/new-e-toilet-to-revolutionize-onlin...
It was more than a pipe dream. The mobile game revolution happened long before proton. Windows penetration in mobile gaming is <1%. Now we have some interesting Mac chips that will require cross-platform development too. And many of the best linux games (KSP) were popular before proton. WINE/Proton is a force, but is not the only player in the cross-platform gaming space.
If we try to purge everyone who did or supported things we now view as wrong we will have very little history left.
Yes, exactly.
The Mythical Man Month was written 45 years ago.
And since then we have gone from bad to worse.

Story points are even worse than man-months at measuring work.

Because in scrum not only is the assumption that the estimate for a task holds not matter who and how many works on it, but dependencies are also not handled well for either tasks or backlog items. To some extent a team can try to handle it in a sprint, but it is not part of the estimation.

For example it can be a lot faster if the same developers can work on corresponding frontend and backend jobs. If they are split in different sprints or if the developers also have to work on other tasks, it could take a lot longer.

And the whole story points, fibonacci, etc is just nonsense.
If an experienced developer estimates that a given job would take somewhere between 10 days and two months, depending if they can reuse X and the Y algorithms performs if he and developer Z works on it, then that is the best estimate you will get.

The only thing that makes scrum estimates more precise, is that once you have broken everything into 100 tiny tasks, you have added about 20 hours of writing commit messages, updating JIRA, and preparing for the next task.
"always flawless" is a bold claim
I am curious how much additional information, if any, is learned from a person's face. From a full-body photo, with the face blacked out, what can be learned?
Yes, it's hopeless to try and parse arbitrary HTML with regexes (or with anything really. I believe, the full HTML5 parsing algorithm is not even type-2, it's more or less turing-complete. In-the-wild HTML can also interact with scripting in all kinds of entertaining ways, to the point that a conforming HTML5 parser has to be able to execute javascript while parsing - and the javascript can inject additional tokens into the parser's input stream. It's possible to create a HTML5 document that only validates on every second thursday of the month.)

However, if we know the document is well-formed(!) XHTML, shouldn't it be possible? This would mean the document is valid XML and XML was specifically designed to be regex-friendly, I believe.

At least, out of my head, the only gotchas that have to be accounted for are comments and CDATA sections - those may contain arbitrary unescaped text, including angle brackets. However they also have unambigous start and end markers and can't be nested, so a regex could account for them.

Attribute values should not be a problem, as angle brackets must be escaped inside those to be valid XML.

I'm not sure about processing instructions and doctypes though.
Meh, it's not like there can't be a bug in whatever other parsing code a webserver uses.

Maybe using a float is overkill in this case, since you're never going to hit more than a hundred languages. But it's at least not setting any limitations.
What have you found it helped you to do?
hmm i wonder what percent of the market ebay controls in buying books
I am developing a browser extension to make a fill-in-the-blank language test out of any webpage.

I personally used this to improve my German vocabulary. This way one can learn new words from materials they naturally enjoy (vs boring text books).

The extension is available for
Chrome: https://chrome.google.com/webstore/detail/vocabboost/obgbcam...?
Firefox: https://addons.mozilla.org/en-US/firefox/addon/vocabboost/

There is also a video example here: http://vocabboost.online/.
JAX for Machine Learning: how it works and why learn it
Yup yup. I'm on the trail of just this using a purely functional Forth-like language called Joy.

Your hunch is correct, you're intuiting the "Categorical" (as in Category Theory) nature of "point-free" format:

http://conal.net/papers/compiling-to-categories/

> It is well-known that the simply typed lambda-calculus is modeled by any cartesian closed category (CCC). This correspondence suggests giving typed functional programs a variety of interpretations, each corresponding to a different category. ... This paper describes such an implementation and demonstrates its use for a variety of interpretations including hardware circuits, automatic differentiation, incremental computation, and interval analysis. ... The general technique appears to provide a compelling alternative to deeply embedded domain-specific languages.
Perhaps conservatives and liberals upload different kinds of face images to the internet.
I haven't read the paper yet, but it's not that surprising. I think it's about sociology more than biology.

In the US, African Americans vote overwhelmingly for democrats for example. Skin color therefore becomes a very good predictor of political orientation. You can probably extend this to states being populated from various migration waves, say 'people who look like Danes vote for republicans because state X was populated by Danes and votes Republican' . Carry this across generations/education, and you may have an explanation.
Wisdom the Albatross, Now 70, Hatches yet Another Chick
Show HN: Certbuddy, Custom Domains as a Service
German Post Service Tone Generator with Pre-Recorded Messages [video]
The problem is you'd have to pass an annoying extra argument (even if just a NULL) to numerous functions which have no alternative without that argument.

Technically it would be better, especially from a multi-threading point of view. The locale stuff was designed in the 1980's, before multi-threading was a mainstream technique.

Say you have a multi-threaded global server which has to localize something in the context of a session, to the locale of the user making the request.

Still, for thread support, you don't necessarily need a cluttering argument. The locale can be made into a thread-specific variable. In Lisp I would almost certainly prefer for the local to be a dynamic variable. (It would be pretty silly to be passing an argument to influence whether he decimal point is a comma, while the radix of integers is being controlled by *print-base*.)

What you want is for the locale stuff to be broken out into a complete separate library: a whole separate set of loc_* functions: loc_strtod, loc_printf, and so on.*
The humans are probably overthinking it. You get ~55% by assuming by answering "Biden" for everybody.
I think maybe it has to do with having "product teams." There is no worry that we'd collapse if our EE or crypto experts left, we've got many more, just not on this team. And having one product per team is not typical except for specific "products" I happen to be involved in, for both practical (this software is written much differently than anything else for many reasons) and historical (this team at one point worked on a similar in some ways, completely different in others, product in the past, that was in a different business unit, with a different target platform and a different customer, and when that whole class of products stopped existing, they were moved over here).
Well, it's an app for dating, not an app for finding "change my mind" political debate; so being an "echo chamber" is kind of what's desirable for that app.
Fun little project. As a Python developer who owns that specific camera, I approve.
At least on Windows you can try troubleshooting and various workarounds to problems to a certain extent, or ask for a refund.

I bought Pillars of Eternity on the Nintendo Switch for $60, which was broken on day 1, still broken today, and officially abandoned by the publisher (Versus Evil)

This isn't related to the OP in any way, I'm just still angry about it.
Let's just not name things after people anymore, we all suck.
Entry level dev salaries by city and country
In my mind, a good interview should be able to allow you to have google open, books, etc, if that is a tool you use. Knowing what you memorized hasn't been a good indicator for performance in my experience. I have done almost 1000 interviews in my career, and most of what I have asked about in an interview has turned out to be a poor indicator of success.
Part of the problem is that APIs are intrinsically harder to interop with than a local file format, for fundamental reasons like latency and shared state that others might modify from underneath you. You couldn't just read once at the beginning and then keep things in synchronous memory thereafter, persisting as needed but never reading again.

Of course that doesn't mean the accessibility situation couldn't be improved with (for example) more standardized APIs, better documentation/discoverability, etc. iOS Shortcuts make it easy to work with third-party services; what would the equivalent in a real programming context look like? There's probably some interesting brainstorming to be done here.
> Their facial images were obtained from their profiles on Facebook or a popular dating website

So, this seems to be doing profile picture recognition, not facial recognition. It's not like they're saying there are physical features in your face that give away your political affiliation - that is to say, putting two people's bodies under the same photographic conditions would probably not create this kind of signal.

What this is probably training on is the cues for cultural values that we self-select in our most deliberately promoted images of ourselves. If you have a carefully-chosen profile picture, it probably includes signals of what's important to you, especially if you're using it to attract people with similar values.
"VGGFace224 was used to convert facial images into face descriptors, or 2,048-value-long vectors subsuming their core features."

So they had more than age, race, and gender, but it doesn't really say how things were weighted.
Self-driving is a Hard Problem. I'm sure that there's an incredible amount of sophistication going into a system like this, and I have sincere respect for all the engineers working on it.

Nonetheless, o, the hype! Some caveats:

1. 100 vehicles is not "production."

2. "Please ... drive safely while paying constant attention to your surroundings." is not Level 3 Automation. The point of Level 3 automation is explicitly that it should allow the driver to not pay attention to their surroundings under limited circumstances, while the vehicle fully does the driving. The human remains the fallback mode: they must stay awake and alert so that they can take over control if the vehicle requests it. However they are NOT required to maintain a constant supervisory function. If they are, then that's Level 2 automation.

The problem with Level 3 has always been that it requires the vendor to take liability for unsupervised autonomous driving (like levels 4 and 5), but only some of the time, and the driver to take liability the rest of the time. The handover from one to the other is fraught, with the humans almost certainly being the weak link, since they're not all THAT good at staying alert in the first place, and get much much worse when they don't have supervisory duties to keep them awake. For this reason, many vendors have (wisely, IMHO) chosen to skip Level 3 automation entirely.

So my synopsis of this would be:

1. Honda's engineers have come up with some genuinely interesting new capabilities for autonomous driving, albeit falling well short of what would be needed for full Level 5 autonomy.

2. Honda's management would like to convert those innovations into some good PR for the company.

3. Honda's lawyers, actuaries, and human-factors people have realised that there's no way in hell mass deployment of Level 3 automation is a good idea, and so to limit the potential damage, are only allowing 100 vehicles to be shipped, to pre-qualified and well-trained buyers, and then furthermore attaching disclaimers which knock this down to L2.

4. L5 Autonomy remains a long ways away.