skysight-inc/HackerNews huggingface dataset:
Not when there are many ports out there without the right colours. Or with the wrong colours. Or arbitrary different colours because some manufacturer has a "bright" idea on their own. Or where it doesn't matter (were the keyb/mouse ports generally interchangeable? I certainly had two machines where they were despite the colour coding and I've seen single ports with "key/mouse" iconography since).

Maybe if the next standard has colours to start with, and they are unambiguous, and somehow not even ambiguous if confused with a previous port version, and they are adhered to by all manufactures, consistently, and nothing new arrives that someone adds a colour for before the standards body makes a decision...
I'm talking about Zig as it is now. If the design drastically changes, it would be different story. The UB comparison is not very relevant though because Zig, a language that takes correctness seriously, aims to make it very easy to not have any UB (at least with high probability) in its safe mode. Aside from being inherently safer than C, and arguably C++, even with all of those enhancements (not considering safe variants of C), Zig brings benefits other than safety. Like terrific cross compilation, fast builds, and a language that is extremely expressive yet very simple and easy to learn.

But I've long ago learned that language preference is mostly a matter of personal aesthetics, so all I can say is that I find Zig very appealing. Its design is certainly radical, and it doesn't feel like any other low-level language I've ever seen (it is about equidistant from C, C++, Rust, D, Nim, Ada; even when pushed I don't think I'd be able to say which of those Zig is most like, because it is so different). Like it or not, it offers a fresh vision on how low-level programming can be done.
Here in america farmers hire illegals to harvest crops, claiming that no american would do the work

This is a political talking point that has been repeated so often that people believe it is true.

During the recession of 2008, there were stores on local TV news in many places showing unemployed Americans waiting in long lines for the opportunity do do those jobs that the politicians kept saying no American wanted to do for those wages. Meatpacking plants, especially, had more than enough Americans to choose from who were willing to work for low wages.

Because these things happened in "flyover" states, they were only very rarely shown on television on the coasts, and so the meme stuck.

A similar oft-repeated lie is that American farmers are all a bunch of Republican hillbillies who hate brown immigrants.

Around 2010, I attended a conference in Seattle for farmers in the Pacific Northwest. The main topic of discussion was how to increase legal immigration from Mexico so that they could have more farmworkers to pick the cherries and apples and mint and whatnot. These people were talking about goals of making people from Mexico and Latin America U.S. citizens in staggering numbers.

The more you actually go places and do things and meet people and talk to them, the more you realize that the words coming out of the political organizations on the coasts are mostly for their own benefit, and do not reflect reality.
> I wonder if this is something that could be incorporated into smartphone cameras quite easily.

I imagine it'd be straightforward to put a circular polarizer in front of a smartphone camera lens. But people might not like the 1-1.5 stops of light lost because of how it would affect/limit low-light photography. I suspect the latter is more important to most people than the effect of a polarizer on sky color in a photo.
Clubhouse (Product Management) Is Down
You're right of course, most can leave. But in leaving you are leaving perhaps your best market (depends on what you do, but as an example, let's say you DJ). And also, by extension, you're sort of suggesting everyone making less than 6 figures leave.

I'm putting words in your mouth, I know, and I apologize. But it's the gentrification I am bringing up.

So many construction workers that repair roofs, install drywall, etc. in Silicon Valley live several hours away in Los Banos and have that crazy commute to get to where they can find employment.

Crazy world we live in.
Yes those can be a challenge with WP but "it works" because users of WP have no clue what JamStack or HeadLess CMS is and they just want to create a Page/Post with an editor that doesn't require running an "npm run" or stuff like that. The "just works" part is the ease and convenience that a user has with WordPress which frankly even after all these years, no CMS comes close to it.

I say this everytime a "but but WP is shit" post comes up, there is no better CMS for users that WP even in 2021 which is easy to setup, has a huge ecosystem and community, simple hosting options and many plugins that can enable a new functionality in no time. The tradeoffs it brings is much lower than the benefits.
Some photos of large Claude mirrors and information: https://frogenddweller.wordpress.com/2016/02/28/claude-glass...
My apologies, I edited my comment as you were typing I think. I added some more.
The solution to "too much bad content" is to ensure that the producers of that content get so little reward that they decide to stop making that content - which is what's happening here.
> You exhale carbon dioxide. However, this carbon dioxide comes from the carbon in the food you eat, and the food you eat obtained it from the atmosphere. Thus, it's a cycle. As a system (ignoring food transportation, deforestation, etc.) it's effectively carbon neutral.

All of modern agriculture and food science has been about turning inedible calories into edible ones (think: cooking meat with wood, baking bread). There is almost no food you eat that isn't touched by fossil fuels at some point in the process.

The cows are eating grain raised using anhydrous ammonia (made with natural gas) and processed using diesel/gas/electricity to be edible before the cow ever sees it. That cow is 'eating' all of those fossil fuels. Only silvopasture cows wouldn't be, but have methane emissions from those cows been studied?
The BBC is widely and justly praised! So long as you like its choices, everything is great. Central coordinators can, as you say, earn widespread praise and acclaim.

What happens if you're an artist that the BBC isn't interested in supporting? What happens when the BBC runs out of budget for the year?
A company wide style doesn't quite get it done. Is your style not to allow high kinded FP coding? (because it is too hard to understand). If so does that mean you don't allow libraries written in that style, like SLICK?

We had PHDs and very senior engineers, and they thought debugging common libraries like slick would take them weeks of work and they opted for avoiding that entire type of scala. But that is hard to do, because its a lot more than a coding style.
Reading this code almost makes me want to think about how differently I review Java than C or C++.

ch = ++index < strlen ? str.charAt(index) : 0;

If I saw that code scattered across in some java code, I would immediately be like - "rewrite please".

But the same code fragment in C would be like - yeah, we need a bounds check, good job, can you make it a macro please.

The java default Float parser was somewhat of a complete perf headache when multi-threading, more than about single core consumption (till jdk8b96 - JDK-7032154), so in the past Hive has shipped with its own strod impl[1] to avoid the central lock in parseDouble.

Also it worked off a raw utf8 byte[] stream, which is more common coming out of a disk file or network serialization rather than a CharSequence.

[1] - https://github.com/apache/hive/blob/4446414f4478091db1eb20bc...
Safety (memory and otherwise) isn't new, but during my CS curriculum, including a course on programming language theory, there was little/no mention of techniques to ensure safety in the space between C++ and Java. I probably would have pointed toward formal verification if someone said they needed safety guarantees in the absence of garbage collection and a potentially slow or bloated runtime.

Though I believe there were some languages with features to that end, at least research languages, they weren't that well represented. I think Rust's presence brought attention to the possibilities there, and an increasing number of people see the value of investigating and developing that niche.
> distract from the root cause

It's all hands on deck dude. Do you think we have the luxury to focus on just the worst offender? People (society) can work on more than one problem at-a-time, it's not a "distraction" it's doing anything and everything we can to prevent extinction of our species. Meat consumption and the environmental damage caused by it's infrastructure AND fossil fuel usage need to be addressed, not one or the other.
No, people distinguish pretty clearly, even in common parlance. Nobody in common parlance would say you're a criminal for speeding by 5mph.

I don't think they committed a crime, but my knowledge of UK law is limited and reading the Order and the Act didn't immediately lead to an answer. I'm happy to be shown wrong.
FYI Phillips hue is not vendor locked, and does not require the internet. They're not cheap though.
Same for all those "the same thing is 1000 times as common with the pill" posts
This is not extortion. The company made choices that left significant leverage in the hands of another business. That business correctly perceived the value of the services it could render and priced them accordingly.

This is exactly the free market at work regarding labor. Have a problem with the free market if you like, many of us do but do not accuse this poster of criminal action equivalent to a protection racket.
To me it's more baffling that a one-way plug would have a (roughly) symmetrical profile. Or even worse, the round connectors (like old PS/2 mouse/keyboard connectors).

A one-way plug would be fine if the profile were sharply asymmetrical, to the point where one could find the right orientation by touch alone. Maybe something like an even more pronounced trapezoid than hdmi.
The C++ standard includes the standard library.

If you want a fair comparisasion, include the standard library for the other languages.
So volunteer work.
But don't you Icelanders find sulfuric smells – the same that much of the world associates with rotten eggs – kinda comforting, too, because since childhood such smells usually accompany hot bath water from the faucets? :)
I might be a bit biased, since I've been writing Scala professionally for years.

While most of the article rings true, I wanted to share some counter-arguments:

1) A lot of the problems mentioned are only really noticeable if you use Spark, which really lags behind in Scala versions compared to the rest of the ecosystem. As someone who doesn't use Spark, I don't really feel much of the "Scala minor versions" pain.

2) While not great, cross-compilation/publishing is not that bad (there are plugins like `sbt-release` and `sbt-crossproject` that pretty much take care of it).

3) I mostly disagree with the "Difficult to publish to Maven" point. I'm not saying that it's easy, but I enjoy the fact that it's not as trivial like other languages. I would argue that this whole process makes [1] almost impossible, which is a plus for me.

1: https://medium.com/@alex.birsan/dependency-confusion-4a5d60f...
> every person who's gotten a degree-equivalent level of skill/effort into skilled art has earned a living doing it

Not for the folks I know. I know plenty of authors, painters, photographers, and ex-film-students who need day jobs. It's practically a trope. These are people with degrees in the subject who have already made professional money at it, but can't make enough steady money with it.

(guessing here) If you met these people on the job, you'd know a lot more gainfully employed folks simply by definition.
See Postville Raid [1] That was in 2008. The company owners were some prominent Jews, and the political fallout was so severe that immigration raids pretty much stopped after that.

[1] https://en.wikipedia.org/wiki/Postville_raid
> * Say I have a test over some deterministic code, and I make a small change to that code. I'd like to be able to run that test before and after, and get a diff of where the computation was the same vs. where it was different.

There are many things I do not like about ocaml build ecosystem but the last time I looked into it this was the default structure of test; is was possible to assert stuff in unit test, but you were "forced" to output something and then promote it to valid output; the next time the unit test are run the build tool check for diffs and you can choose whether the new output is wrong of whether it should be promoted to correct output.

I found it extremely flexible, expecially if you make an API change that would require to update dozens/hundreds of tests
No - I am drawing a distinction between B2 and the "unlimited" plans that I assume to be loss-leaders.

Aren't those the kind of users you can monetize through social media "engagement" ? I don't think it's the B2 users... which class of users had data leaks ?
You're comparing north america to the world, and the American Bison are only one species while cattle have displaced many species.
Going to chime in here - ice ages cause extinctions, not warm ages.

We are in the knifes edge of too cold. A little extra green house gas to buffer out the ice age is a good thing.
How is it extortion? If you need 1 resource in the whole world, the supply is 1. If your demand is great then you get to pay the price.

This person left the company, and documented everything. What should they do, come in and save the day for $15/hr?
It's a fair fee for such valuable work done for an apparently abusive, and possibly litigious, company.
On iOS it's already available and called Screen Time.
That's how they did it in 2015. Read the article if you want to know why they decided to change this in 2018.

Changing master for upgrades works great if youre not at their scale though.
I don't disagree, but Java keeps adding features that make it closer to Scala, and Kotlin is well-supported and has cleaner syntax, so you have better choices than C++. The space between C and C++ is too fragmented, and too many of the languages are niche.
Yes, Go is what Java 1.0 should have been, in 1996.
Right. It is the lack of. "abuse" that I can't really explain.

To be honest, the same people I used to see do heavy Reflection are the same that did heavy meta programming. Usually to the same end.

I do not have a hypothesis on why.
sorry if obvious: if you're going to compare with Jira, then my first question is "but does it scale?"

Everybody hates Jira, but it scales to 100,000+ issues across dozens of teams. Even tiny teams (heh, any team that's live and/or has a PM) quickly generate 1000s of issues and JQL is *godlike* in sifting through this stuff. Engineers tell me about Trello and I say, "great place to start" knowing they'll come to the dark side soon enough.

thoughts?
Automotive tariffs are literally made to prevent exactly that. And shipping costs for 2-tonne hunks of steel are substantial enough, far more so than for consumer electronics.
> are recycled poorly afterward

Current automotive lead acid battery recycling is somewhere between 98-99.3%. They are the most recycled thing. This is in part due to the fact that lead is really bad for the environment, but also because the batteries are highly recyclable.

Modern Lithium batteries aren't anywhere near as bad for the environment as Lead acid batteries but they're highly recyclable. And like Aluminum and Steel, it's cheaper to harvest Lithium from recycled batteries than it is to mine it.

Electric cars probably won't change the equation much because much of what isn't recyclable in a modern automobile is the plastics used for interior, ducts, cable insulation, etc. Approximately 80% of a vehicle is recyclable.
Visual Question Answering: A Survey
Heavily socialize education? What are you suggesting beyond what's currently done? To me, it already looks socialized about as far as can be done.

Unless by "education" you mean "college", which is pushing the boundaries of "basic things".

(I'm in the US, if that matters to this conversation.)
Ahhh Context.

For me, using context and stuffing and retrieving things from it is the most painful part of go.

If anything from go should die in a fire, it’s Context - well, the key value storage anyway. The canceling part is fine.
Five Best Public Cloud Database to Use in 2021
Consider that you are only hearing one side of the story and taking it entirely at face value.
> So, everything is fucked. We have (had) a custom DNS system built into our custom ERP software (don't ask). It had an integration to our old (bind) nameservers, which was stragith up awful and we've been trying to replace it for years. Well, on Friday it all broke down. All domain information was wiped out and records became null. Our company's domain is down, as well as our customer domains (we're a medium-sized MSP). Every person who knew how the custom DNS system worked has left the company years ago.

Unclear why HN wastes time on this type of 'story' with no attribution and scant details. (I have expertise in this area let's say).

To start this implies that they have not added a customer or made a change in several years by this statement:

"Every person who knew how the custom DNS system worked has left the company years ago."

This also contradicts:

"and we've been trying to replace it for years"
Why a check with your lawyers? Why not just deposit into your personal account?
The lottery, as a specific case, has an unfortunate loophole.

If the lottery funds public education, it allows the general fund from the legislature to allocate less money, with a fairly-clear conscience, to public education. The argument, "Math education is already well-funded by the lottery, and we have $IMPORTANT_CAUSE that desperately requires resources, so we will cut state support for math." is difficult to counter. The net outcome is that lotteries become a state-ordained tax on being less mathematically-literate.

I would welcome any suggestion that counters this slippery-slope scenario.
A Year Without Student-Loan Payments
I never knew/considered this. I wanted to clarify something. What you mean when you say that there is no cycle in the burning of fossil fuels, do you just mean that it is a net positive gain of carbon in the atmosphere because the carbon did not originate from the atmosphere? Plants can still process the carbon put there by the burning of fossil fuels but there is an excess because that carbon does not originate from living things? I guess I’m just trying to clarify that there isn’t something about the carbon from fossil fuels that makes it impossible for plants to consume it.
Fedora is great, I've been using it daily for 5 years.
Show HN: I wrote a minimal deep learning library from scratch in Python
taxation is not theft. it is also not charity.
> the less time I play with it, the happier I am.

There lies the problem. If you don't want to invest the time to learn the tools then you can't really complain that your screwdriver is rubbish at hammering in nails. And it doesn't matter how easy or hard any programming language is, all languages will have a learning curve that people need to be prepared to undertake.
Rust was a surprise to me. I didn't expect to like it (I'm a Kotlin person) but I ended up pretty happy with it overall.

I'm happy to pay the complexity tax associated with the borrow checker. You get outstanding performance and you usually don't need to dive deep into lifetimes to get some basic code running.

The language itself is reasonably pleasant but is missing some key features that really annoy me:

- No overloading

- No default parameters

- No named parameters

- Awkward constructor syntax which causes a lot of copy/pasting boiler plate

But overall, I'd say Rust is safely in my #2 spot, with Kotlin a bit ahead at #1.
> flathub are perfect for people like him

> justifying a solution you would never use yourself because there are dumb users.

I would understand dismissing power users by profit factories (e.g. https://tedium.co/2021/01/27/power-users-history/ ) but not in open source i would ever have dreamed of it.
Gyrators: The Fifth Element
> I don't know about you, but I don't want the tactics of Kim Kardashian to be the model of a future journalist.

I don't think something like Substack could even support journalism. Sure, it could support various kinds of punditry, which is often confused for journalism, but beat journalism is probably too boring and investigative journalism produces on too irregular of a schedule.
> I have to ask how often have you guys found yourself unable find a package (in your distributions package manager) for the software you want.

Very often. Or I just want a updated version. There is a lot of small/obscure open-source tool available on github (for example) to do X or Y. Most of them don't have a package, and if they have, it is often not really maintained and very outdated. The same apply if you need to use closed-source / not entirely open-source software.

I remember all the time I had to figure out what kind of build system the app was using, running cmake/make/some weird build sys, only to figure out that I was missing some lib, and that the repo version was not compatible so I had to also deal with dependency manually, and then figure out the different build option, ...
People get really pissed off when food gets more expensive. Politicians realize that and will therefore never pass legislation that would cause such drastic price increases on food.
> // #include <stdlib.h> import "C"

> is probably the coolest and easiest ways to use C libraries I've seen.

You should see Zig's interoperability.
This has honestly been my unbiased opinion since essentially day 1. I believe that the release was almost certainly a complete accident, but there's just no realistic chance a novel virus coincidentally originates in the same isolated place as a lab that specializes in that exact same type of virus. The denialists, including the WHO and CDC and everyone else, need to get real and own up to what happened and figure out how to stop it from happening again. This has nothing to do with the PRC or anyone or anywhere else, it could have happened at any biological facility in the world and will eventually happen again somewhere unless scientific honesty and cooler heads prevail.
Frankly, minding the existing solutions on the market, the product idea sounds extremely useful. No wonder you were able to acquire customers and grow quickly!
I've had more issues with USB-C connections wearing out than other formats, even micro&mini-usb.

My phone barely charges at this point, which is frustrating because it otherwise performs fine. I'm going to have to buy a new phone because of the damn charging port!

I was considering how many times I've actually plugged it in. Worst case for me would be 3x/day. At 3 years, that's only ~3300 times. Surely they stress tested the connection more than that before production? Of course, these days I'm plugging it like 20x/day because it falls out or just doesn't work.
It's different in that there's a different level of editorial control--though it's not that different from the op-ed page.

There are other examples, albeit ad-supported ones. One of the tech pubs used to have a blog network of outside writers. (They eventually dropped this as they became less and less comfortable with outside people writing under their brand; this was also a period when orgs were pulling back from their own people having strong personal brands on their sites.) Back to the print days, many tech pubs had a stable of regular columnists. A lot of Forbes blogs are third-parties.

It's not an unreasonable model. The question, as with many things, is what the economics look like.