skysight-inc/HackerNews huggingface dataset:
It's far from clear that Aurelius was a bad emperor. Most historians have judged him to be quite a good one, in fact.

Rather than a weakness, the teleology inherent in Stoicism is part of what makes it attractive against the ubiquitous reductive materialism of the modern world. One can just as easily point to materialism's lack of teleology as a critical weakness that ruins any virtues it might otherwise have had.

I also disagree that his journal reads as though it was meant for publication. In fact I get the opposite impression when reading it, that a man like Aurelius would have been mortified to know some of these entries would be known and re-read by audiences of millions of people for thousands of years to come.

It's also not clear how having a son who turned out to be a bad man and heir would count against a philosophy that explicitly rejects the idea that we can control such things.
Hi, the link provided is the pure ML part of the project, without any Flask thing.

Unfortunately, I don't have written a notebook for it. Maybe you could try to figure it out through the source code? The code itself is actually prettly simple and short.

https://github.com/chonyy/basketball-shot-detection
>Then why didn't they patent them, given that Apple always thoroughly and excessively patents stuff when they get the chance?

Because "invented the modern X", doesn't mean created X as a raw technology (to patent it), but created the version of X most people actually care about from them on...

That said, they do have tons of patents on the iPhone and iPad, and on phone/tablet design. Not to mention they've made the Newton already, a defining 90s tablet...

As for the inventor of the smartphone, that was IBM, with the Simon Personal Communicator. Do you care much for those devices in 2020? Didn't think so, like I don't see people buying TV sets from the inventor of TV, or clothes from the inventor of clothing...
Amphetamines were originally marketed as diet pills. Valium (diazepam) was marketed as a stress reducer.
Hopefully wind energy doesn’t work... and temperatures rise by 10 degrees Celsius.
While the game looks like a great piece of art, I'm not sure how this game specifically is relevant to HN.

There's a lot of video games out there and this community typically doesn't upvote or discuss game releases.

Was there some previous discussion of this on HN?

Any dev blogs with interesting technical insights?

What's special about this?
CSVs are the worst and only option for data exchange in 99% of the cases.

Most CSVs travel through excel at some point in their lives, so we need to talk about excel:

Excel neither reads nor writes UTF-8 CSV files without jumping through hoops.

Excel saves files in different character sets on MacOS and Windows.

Excel tries to interpret fields with digits as numbers, stripping off leading 0's, etc. (think serial numbers or whatever with leading 0's)

Excel will try and interpret date fields and write them out in a different format.

Outside of Excel:

There is no way to know what character set a CSV file is encoded in. You can only guess.

UTF BOM - sometimes there, sometimes not.

If the file is malformed but still opens in Excel it is a bug in your CSV parser, and not a problem with the producer of the file (so they will tell you)

Most CSV libraries are extremely buggy and cannot generate CSV to spec.

Most CSV libraries are extremely buggy and cannot read CSV that meets spec.

Many programmers think CSV is easy and do not use a library go generate or read CSV producing even worse results than their language's buggy CSV library.

The spec is just a suggestion

Nobody reads the spec

That's just the tip of the iceberg
Mathematics for Human Flourishing (2020)
Yes it'd be like Hasura.

There's also libraries (usually in-house) that let you query for every relation off that specific table. You can imagine how it works just match up the fks and expose in the graphql schema. That gives you control of what not to expose as well.
Where you gotten that idea from? Don't think this is true. I've never worked at a company that stopped sending emails because the trackers didn't work, and I haven't had remote content enabled for 15 years and I still get spam.

Is it maybe supposed to be a joke? Went past me in that case.
When Elon Musk realised China's richest man is an idiot ( Jack Ma) (YouTube)
How many people learned to type by typing in programs from magazines? I did.

By the time I took "typing" freshman year in high school I could type 80wpm. No issues. I received an F in typing and couldn't understand why. When I asked the teacher I was told I was typing wrong and had to use home row. Even though my typing was fast with few mistakes, still received an F. The teacher couldn't understand I taught myself to type using a Commodore 64. He maintained there is only one way to type and I explained he was wrong.

Parents and principal got involved. The negotiated result was a B in the class, I had to apologize to the teacher and had study hall for the rest of the semester.

Everything from Compute or Computes Gazette was awesome. You'd type it all in and sometimes it didn't work ... you could wait until the next month when fixes were printed or you could debug and solve it yourself.

This started to end with the release of SpeedScript, which was the first MLX release from the magazine. Since it was machine language you didn't enter the program lines, but numbers.

https://en.wikipedia.org/wiki/SpeedScript

Amazing times.
Do you mean a mechanical keyboard?
> the wrong delimiter

I personally try to always generate my data as SSVs. Occasionally I'll have a need for one column with multiple words, in which case I'll make it the last column and it poses no parsing problems as I include the header always and then can just parse the last column as rest.

This means you need to be restrictive on the types in your data—which I've always found helps with a lot of other things anyway. No commas, no tabs, no newlines, no quotes—none of that is allowed in a value, and then you have nice clean data ready to parse, that is URL friendly, etc.

Of course, when I send my data back out into the world, need to "compile" it to CSV, as almost no one uses SSV.

> CSVs have no types, everything is a string.

I think this will be solved in the next 10 years or so. We'll have something that's like Schema.org meets DefiniteltyTyped. A "Common Tongue" for types, with a Wikipedia like community and an easy syntax to extend at the last mile for defining your own dialect to suit your worldview.
I agree with Vue or Alpine.js (if you're looking for a jQUery replacement). Those two have been the most accessible and easy to pick up out of the entire JS ecosystem for me.
I just wish currently illicit/scheduled drugs simply had the same list of disclaimers that FDA-approved drugs had. The side effects aren't different enough to be rebuttals to support their prohibition.
Remote can mean isolated and disconnected as much as faraway and distant. Plenty of the UK is remote in that sense. I work in a part of Surrey where, despite there being frequent trains to London, the actual town and surrounding area is very hard to get around without a car (and the public transport options there are are significantly less frequent than trains away from the place).

Infrastructure is as much a factor as proximity I'd say.
How to switch an old Windows laptop to Linux
No meaningful anecdotes since we mostly just talk.

Typical topics:

- They ask why I do it

- They tell me how the others are at the ends of their ropes but that I couldn't understand that situation without being there

- They call me good a lot.

- They tell me how others litter but never themselves.

- They tell me I should use gloves (I don't because I'm avoiding creating more trash)

- They tell me how the people who are supposed to clean don't clean that well

- Of course, they ask if I want to buy drugs or at least buy them dinner from a food truck

None of them ask me about my life, my values, etc. No meaningful connections. Just chit-chat. We'll see if things evolve.
The automaker might port device drivers and other stuff to the GPL code (most likely Linux). Linux devs want it. This is how most Android drivers were opened, for example. If some automaker chooses Android, any kernel-level improvements will eventually flow back to the mainline.

Unfortunately, improvements above the kernel stack will keep closed, since the Android userland don't adopt GPL as much.

edit: for example, OpenWRT was created through a GPL enforcement lawsuit! Router companies weren't complying with GPL and were closing their kernel (which had in-house drivers). The companies were sued and had to open their code. You would think that their customers weren't interested in this, but actually.. many use openwrt to this day (arguably, there's even an environmental angle to this - openwrt increases the longevity of the router by having it do more stuff with the same hardware, reducing e-waste)
What an amazing shilltastic subjective string od comments.
people don't agree with locking up the consumers.
It means the rewriting of the apparent source address of outbound connections, yes? On Linux, you would do it with `iptables -t nat -A POSTROUTING -o wan0 -j MASQUERADE`. Is that an accurate enough description to convince you that I know what NAT means?

"Rewriting the apparent source address of outbound connections" means that it's an operation you apply to outbound connections. Inbound connections are completely unaffected. This is made even more obvious by the `iptables` command above: it explicitly says "-o wan0", which restricts the rule to applying only to connections going out of wan0, not to ones coming in from it.

So yes, your ISP (or rather, anyone on the immediate upstream network, which is typically the ISP) can connect to your 10.1.5.12 -- that's just basic routing -- and NAT won't stop them because NAT doesn't do anything to inbound connections.
> Where you gotten that idea from?

From my and my friends personal experience.
I expect with the likes of Guildford it's also something of an economic decision. Less expensive than being based in London, while being reasonably connected to potentially catch some of that workforce and being accessible enough for those travelling from overseas for business.
Nothing. macOS is my daily driver.
> we (humans) are always aspiring to be better,

Various religious, spiritual and even political belief systems through time and space take a different position on this. Buddhism in particular encourages an acceptance of the world as it-is (while also encourages small acts within that world to reduce suffering). There are many religious systems in which one becomes better only as a spiritual, inward matter, not by changing the world.
old.reddit.com is better than the abomination that is the most recent Twitter redesign. Though new Reddit is truly terrible, probably even worse than Twitter.
Nice! Hopefully China wins.
> that isn't what this is happening

Of course it is. You have never seen an ad selling some drink as a tool for unwinding after a stressful day?

Anything psychologically active can be sold for therapeutic and recreational uses. And anything used for the latter can be abused.
An MFC-L3730CDN .

I am still using Mojave; I was unaware of the "Image Capture" app - I opened the printer icon, which has a "Scanner" button on the right when you have a multifunction printer - but it appears to be the same underlying implementation, and it has the same bug, described here:

https://support.brother.com/g/b/faqend.aspx?c=hk&lang=en&pro...

perhaps it was fixed in Catalina; the page I linked (with the exact kind of corruption I just tested through Image Capture) is from 2012...
"Complete" goes too far, I agree, but it's also not right to think these movements are standing up to the powers that be. A movement including JPMorgan, Google, Nike, Walmart, Chevron, etc. has to be seen as a component of the current social hierarchy rather than a challenge to it.
"people voluntarily interacting"

A referendum falls under that description too.

"how much of that is directly government funded/directed"

Basically all fundamental research is government funded, from space exploration to study of the atom. Then publically funded scientists have published reseach papers, after the scientific journals earned their money without giving a dime to original authors.

Then you might have entrepreneurs pick up these concepts and exploit them, and even then many technologies, like GPS, still have to be done by the state.
The economics of offering free storage at that kind of scale eventually doesn't work out. Multiply the number of Android users by the average amount of cloud photo storage they use...
There's no upside. Tabs are common in real world data. If someone's csv library is naive enough to fail to quote a field with a comma it will also fail to quote a field with a tab. Changing the delimiter is just moving deck chairs around on the titanic.
Which can be massaged.
Yep, same problem with eMMC on Tesla's Tegra board. Solution: mount /var/log and other such partitions as ramdisks :)
Glad to see the project but not sure how I would use it. I'm friends with the founder of Litterati, but even that app is too much trouble for me to use. I don't bring a phone when I plog.

Still, I value tracking since it's fun and I think would motivate people. If my experience or practice can help, I'd be happy to.
AMD is in SV, so naturally salaries must be higher than in Oregon.
If those people are still alive! Unfortunately, I found an obituary when looking up one bankruptcy asset owner: never married, only child, whose parents had died prior. No idea what next of kin looks like for that.
Looks like this game features some neat procedural animation. Nice
Agree with this. I’m on antipsychotic medication due to psychosis and insomnia. Works great but there are a lot of side effects, which I take additional medication to correct.
Internet says:

"(...) The infamous 6 connections per host limit does not apply to WebSockets. Instead a far bigger limit holds (255 in Chrome and 200 in Firefox). (...)".

We do single connection per session (tab/window), there's no need to have more.
Historically most successful AMD designs came from the outside. 286 was Intel clone, Am386 Intel microcode copy. Am486 lagged by one year, offered lower performance and was still developed using Intel IP. K5 first 100% AMD design, slow and late, competed in the bottom low end, considered a failure. K6 100% external design by NexGen, let AMD move up to middle of the market. K7 designed by DEC Alpha team and manufactured in Motorola partnership, great success.
Open access <3
> Most CSV libraries are extremely buggy

Examples? (Of libraries and bugs)
What Are Domain Events?
FYI France doesn't have any plan for fission nuclear in its future –

(even reduced to 50% of current production, which seems to be the currently professed plan^W wishful thinking)

– unless of course it's being for now kept as a complete secret from the general population.

But we've pretty much reached the moment when new reactors have to start to be MASSIVELY built to start replacing the aging ones in a decade or so (it takes a long time to build a nuclear reactor !), so again, I doubt that there actually IS a plan out there.

(A third possibility is that they are planning to keep the current reactors working waaay past their expected life duration, which is extremely reckless, and is certain to one day blow up in an international scandal, hopefully only metaphorically.)
You can still have that magic, I've done that in a couple projects and it's certainly possible. Unfortunately implementing something "good enough" might get super expensive depending on your data model and security constraints.
eMMC tops out at 80-100 mb/s, NVME is an order of magnitude faster usually.
> If they can both charge and advertise, they will, just like cable tv.

While not always an exact distinction, the cost of cable is to carry the service to your house, and the advertising on cable is to pay for the content being served over the former.
Great idea, now sell me one with 8 of those big cores and none of the rubbish ones.
Where are the subsidies coming from though? I'm not aware of any gaming subsidy from hmrc
You generally wouldn’t run a cache in front of your GraphQL server, but can definitely have a cache between your data sources and your GraphQL resolvers. For instance, we have a single GraphQL interface in front of many backing micro services. Some of those are very hot and constantly handle direct reads, others only access the backing services through redis reads, others basically do REST requests (which are cached as normal) and drop unrequested fields (basically the BFF pattern from the article), and others even have hybrid approaches where accessing a certain subset of available fields sends you to a cache and accessing others triggers a live read. The resolver architecture gives you a lot of flexibility, but it also can enable a lot of complexity (though it is fairly easy to reason about because all of the connections are explicit). We’re a big org, so we’d have complexity either way, and switching to GraphQL has absolutely been a huge improvement that no one regrets (though we’ve learned a lot along the way).
Looks interesting.

I've been using https://33mail.com/ to solve this problem for a few years, seems like this service might be complimentary. 33mail was created by my brother and currently handles about 3.2 million emails per month.

Instead of signing up with your real email address, you just create an alias like foo@s4n1ty.33mail.com and use that (where "foo" may be the name of the website, or anything else you make up).

33Mail forwards any emails directly to your normal email account, but if you start getting spammed then you can block the alias. It has the added benefit that if your email alias finds its way on to an email spammers' list then you know who gave it to them.

The basic service is free but if you want additional features like a custom email domain you can sign up for a premium account for $1/month.
Hi @pyepye,

I tried signing up on your website but I have the following error :

An uncaught exception happened while servicing this request

link to a screenshot : https://imgur.com/a/ph8RrO1
We build our GraphQL schema partially by running introspection on our MySQL schema. Only fields that are indexed in MySQL are valid sort/filter parameters in the GraphQL schema. To make a field sort/filter-able we add an index in a MySQL migration and regenerate the GraphQL schema from the new database.
Apparently all the puzzle and creature logic is built with in-game logic gates that you can modify.

Also, it's pretty and many of us like the aesthetic.
I‘m not an expert on this, but it seems that penicillin was discovered and developed into a drug with public funding.
This is a bug in spreadsheet csv import functionality.
Hey, thanks for that link. That actually does make sense to me. I wish it was written a bit more kindly so that the Republicans would actually read it, but I will do my best to share the ideas in there.
Ask HN: What services can I use to collect/query and dashboard my custom data?
I have always wanted a "life dashboard" that I can host somewhere to show information about all aspects of whatever I want all in one web dashboard. I would pull transport info in from Transport For London, News in from where ever relevant, Reddit posts, my current finances from my bank, Home info from HASS, Server statistics, etc..

Ultimately I would like a service where I could hook into existing connectors, or write my own adaptors to pull data and display on a dashboard.

Does anyone have any experience with such software or other solutions? I've been toying with some ideas and services, but was curious about existing services that already have the framework in place (and hopefully connectors), as I don't want to go reinventing the wheel for logging, caching, etc.
Is the MongoDB SSPL license an example of such a "royalty friendly" license?

https://www.mongodb.com/licensing/server-side-public-license

I've heard of this in a couple of other places, I'm not aware of a common approach just yet. And I'm not sure how it's played out.
Thank you for the real examples of GPL benefiting a project. Too much of the copyleft debate happens in the abstract.
Honestly, learning to program. I was listless when I got into university, and couldn't cope with the fact I wasn't the smartest person I knew anymore. That hit me a lot harder than I expected, and cascaded into a complete loss of confidence.

Learning a skill from the ground up I couldn't bullshit from random esoterica I'd picked up from high school forced me to confront my lifelong hubris and put aside my ego. Eventually I got decent enough at it that it became my career. It was a slow, grinding, painful process, but it taught me a lot about humility and the value of incremental progress.
I completely agree with you. But, some advice, if you want to have a chance at changing somebody's mind, leave out the attack on the GOP. You trigger emotional thinking and defensiveness when you do that.
As an aspiring game dev, I can't help but click on these posts haha :) The art in the trailers is beautiful, and I like the programming theme.

One thing I can't figure out is how much of that programming theme is simply used as a muse (portal) and how much of it is intended to teach the player something about computers (redstone in Minecraft). For example, "every single environmental feature, including power grids, locked doors and even huge enemy spawning machines are all powered by intricate, interconnected logic gate circuitry." does that mean the game will implicitly teach the player about basic rules of logic? Demorgan's and so forth?

Another bit that caught my interest was "the game’s entire narrative takes place within 1 second of real time." Is there user / system time as well? Or is this just a plot point?
Or NSVs (null separated values). It doesn't have any downsides.
Take that big pharma!

Nothing like the fear of death to recalibrate against your sources of fear and depression.
Yes, in a few scenarios I see that possible:

A) You can spam attempts to the login endpoint, at an unlimited rate (not likely).

or

B) You have a dump of their user/pw database, unsalted (not likely).

In other words, assuming proper foundational security practices, 12 char/72 bits is a good balance between usability (ability to remember / type) and security.
TIL: Preview can import from the scanner.

I was using the scanner window available from the printer icon associated with the multifunction printer. Another comment mentioned the standalone "Image Capture.app" which was also news to me.

However, all three are using the same underlying implementation. Scanning in color works. Scanning to JPEG works. However my preferred scanning mode (300dpi, A4, to PDF) produces the garbled image seen here[0], and apparently has been doing so since at least 2012 ...

My impression is that preview/scanner/imagecapture all trust the printer to do the conversion to PostScript/PDF, but somehow don't manage to tell it to use B&W instead of color -- it seems like r/g/b pixels are treated as individual gray pixels.

[0] https://support.brother.com/g/b/faqend.aspx?c=hk&lang=en&pro...
>> Do any of these copyleft (FOSS) licenses address royalties?

No. The goal of copyleft is to ensure that the users of software are free to do what they want with it. Royalties would encumber that freedom.

The only freedom not allowed is giving the software to someone else without granting them the same freedoms.
Actually, there is some evidence that sleep needs remain the same for older people while deep sleep becomes more difficult to achieve and easier to interrupt.
That is a distinction without a difference, mostly - since those paying customers are free to then publish the source code they got from you for free for everyone.

The theoretical possibility of charging money for distributing GPL software has not materialized for any company. You can get RHEL for free if you want, for example, and build sell your own devices with it.