skysight-inc/HackerNews huggingface dataset:
I am tempted to say that no matter who you are, I am pretty much positive you are doing dumb shit daily, and pretending you are not is laughable, but that would be off the point: I pre-emptively answered your 2 first points in the original comment, so I'm ignoring them. The only part that requires an answer is this:

> but then what if you need hooks?

Now that's just genius! So, making it possible to disable the functionality that specifically allows for the execution of arbitrary code (which is questionable on its own to say the least — it's pretty much the definition of aforementioned "dumb stuff") is bad, because having to enable it back is "inconvenient", and disabling the whole multi-purpose tool that git is (which has hundreds of user scenarios that don't require allowing to execute arbitrary commands) is good? This is a rhetorical question of course, just think about what you are saying. Worth nothing that making enabling it back inconvenient is a strawman of yours: this is precisely my point that even what they did would be ok, if I was allowed to simply disable their "fix". And it's exactly the problem, that there's no convenient option to do so.
We've been putting cables underwater for over a century now. We can already do it in cold, and extremely deep seawater too. I think it'll be fine.

I'd love to see this technique become widespread. It's so sad that even in the >1 million person city where I live there still neighbourhoods without fibre-to-the-premises in <current year>.
WebP never got much traction, and makes zero sense to push for it now, as the dramatically better AVIF already exists.
I read somewhere recently that confluence is write-only because search is so bad nobody will ever find what your write.

I haven’t used it in years, but that seems accurate. I could never find anything unless I knew exactly how it was worded in what I’m looking for.
I'd personally rather think at a high level about design before writing software or defining types. But a rough description of the Inputs and Outputs of some new feature/application seems more important to me than writing code.
So their internet is going to be a series of tubes?
I think I misread your post originally, and appreciate the correction. My apologies.
For me Confluence dramatically improved in experience when I learned that it's possible to write files locally using $FAVORITE_EDITOR in confluencewiki format (or markdown if you don't care about macros) and post them through API.
Yeah it's really satisfying. Even though I'll never refer to it later on. I think it helps with memorizing key points
Simple things like this will up being useful:

func Clone[T proto.Message](in T) T {
return proto.Clone(in).(T)
}

(proto.Clone(&somepb.MyMessage{...}) normally returns a proto.Message, but this returns a *somepb.MyMessage, which is nice.)

I think we'll find reasonable uses all over the place. The place where I most want it is in the k8s client-go. All of the Reflector/Informer code I've written starts every event reception handler with a typecast of a v1.Object into the actual object you care about. With generics, that type checking can be done for you in advance.

(I haven't thought about how all the codegen will be affected. Right now something like client.CoreV1().Secrets().List() returns a well-typed SecretList; return value dot Items's type is Secret, not Object. Obviously generics can do the same thing, the question is whether or not it's worth it when you already generate the necessary wrappers and "generic methods" anyway.)
Go has escape detection, so any returned pointer to a stack allocated variable becomes heap allocated. The code posted is a fairly common way of taking a stack allocated primitive type and turning it into a heap allocated one.
With Aquila, Google Abandons Ethernet to Outdo InfiniBand
Uighers in China are Muslims and like Muslims in many countries, they are groomed by the Middle Eastern allies of the US... with messages that align with the US interests. In China, that has meant creating unrest by fueling anti-government rhetoric and separatism.

China noticed this and decided to fix it the way they know how... and they have done an incredible job... so the only thing the west got out of it is crying "racism" to their clueless peasants.
Howdy - founder of Loom here. Cool project. Thank you for recording with us!
I built things, and now people use those things to build more things. You're the one pretending that means aren't an integral part of production. How exactly can labor be performed without means?

You're making a very basic error here in devaluing the past work of others. If you correct your error, your rather strident ideology will likely disintegrate.

Think about it, maybe take some time and build something useful that helps others. Get back to me later.
> Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Despite the snark here, I think it’s good that someone’s excited about discovering something and wrote about it. I haven’t looked at webp in a while, so maybe I’ll try again.
Webp is something you can push into production today: https://caniuse.com/?search=AVIF%2CWEBP

however AVIF only has about 65% market penetration.

If you ran a serious webserver, it would make more sense to do automatic on the fly conversion using mod_pagespeed. This way it handles browser support for you.
Actual paper:

https://drive.google.com/file/d/13gRe8F7YQEaCERm_dV58uce3a8R...
It's a made-up title linking to some random commit. The new link tells you it's a fix for a vulnerability, the details, its CVE, affected platforms and use cases, etc, etc. The other thing doesn't.
It’s all well and good to mention great artists and such. But it’s a bad comparison, this is about a tool that is conceptually limited, it’s something art has never had before. We didn’t have paint brushes that wouldn’t let you use them to paint a nude portrait or spray cans that refused to let you use them do create graffiti.

This artistic tool is built to prevent you trying to create content containing certain concepts which is a fundamental new factor in how artistic tools shape the art that is created with them.

And in case my viewpoint isn’t clear, I don’t think it’s a good thing, and that we should not allow it to become normal. I don’t object to its existence, because I understand corporate politics and how it leads to this. But this sort of crippled tool has all the concerning potentials of “newspeak” in Orwell’s 1984, except to art not to language.
> You are obviously not a lawyer.

Flattery will get you nowhere. If you're going to disagree, then please just do so and defend your position rather than... I don't know what this is... empty heckles from the peanut gallery I guess. FWIW, since the Heller decision was unconstitutional, and McDonald was based on Heller, then it also is invalid and unconstitutional. The 2nd Amendment does not guarantee the right of the people to keep and bear arms, and never did, not unless you ignore the first three words of the Amendment, placed there at the beginning almost as if to underscore their importance in clearly laying out the scope of the Amendment, "A well-regulated militia."
Related to ranger, nowadays I use lf[0], which is a clone of ranger written in Go. There's also pistol[1] which is a replacement for ranger's rifle file viewer

[0] https://github.com/gokcehan/lf

[1] https://github.com/doronbehar/pistol
Anyone who has dug through record bins in charity shops would have seen endless numbers of weird cover records of popular songs. Like "The xxx orchestra performs Burt Bacharach" with Burt Bacharach in huge writing and the actual orchestra listed low on the cover. Sometimes with a fetching picture of some young lady on them, sometimes not. Sometimes it's just instrumentals, occasionally an un-named vocalist on there.

This is not a new phenomenon, it goes back at least 60 years.
I used it to search and navigate 10GB+ text files for a major project. It was the only editor that could do it.
I do something similar at work for internal only static docs.

The image is a small container with an http daemon. It gets deployed as a statefulset and I mount a volume into the pod to store the static pages (they don't get put into the image). Then I use cert-manager and an Istio ingress gateway to add TLS on top.

Updating the sites (yes, several at the same domain) is done via kubectl cp, which is not the most secure but good enough for our team. I could probably use an rsync or ssh daemon to lock it down further, but I have not tried that.
Hello again!

Would really love to continue the conversation with you somehow. Hope you see these replies eventually!
I'm calling out your projections. Your posts are riddled with inaccurate blind guesses about me. None of what you're saying is correct, as a simple matter of fact.

I encourage you to take a break and think about your perspective. If your points are worth making should be able to make them without these ad-hominem guessing games.

Nothing about me is relevant when it comes to objective facts such as the way unions impact economies.
> Why is this so hard?

Well, for one, because it's an exceptionally rare English word that is singular in meaning but plural in its usage. In addition, there is an unrelated English word that is singular in both meaning and construction. That confusion would naturally arise seems almost pre-ordained.
Maybe… an uncanny feeling?

These fall into The Valley for me. I don’t know why, but they do.
The title was "made up", I'll give you that, but it's a pretty good paraphrase of the commit title to add context.

The old link also tells you it's a fix for a vulnerability, and also explains how it affects all platforms, and also talks about the use cases etc etc.

The only thing it doesn't have is a CVE number, which I don't think is all that important.
I don't think a lot of these critics realize how capable gpt-3 is of convincingly outsmarting most people in most contexts. The failures are glaring, and you'll no doubt catch them over time, but transformers are a sea change in ai power.

If gpt-3 can meet or beat human performance 80% of the time, that's sufficient for me to call it real intelligence. Not conscious or aware in any meaningful way, but smart, in many of the ways humans are smart.

In most online contexts where conversations are singular collisions between individuals who often don't have history, 80% of the real-seeming interactions you have could be gpt-3 output. In a many-shot, recursive, and domain targeted sequence of prompts, the percentage only improves.

The recursive, self referential functions learned by these models are not mere extrapolation from Markov chains and static stimulus/response bots. These models are approximating the functions required to produce human level output. They are approximating the functions biological brains use to produce output.

Even the naive, single pass probes into gpt capabilities we've seen in the last two years are incredible compared to aiml or even the best bots until ~2018. It's not agi, but it's evidence that agi is feasible, and a definitive milestone on that path. We need to be preparing for takeoff.
I am also a big Broadcom VideoCore hater (lol), but:

>an SoC with freely licensed source code

Free as in "GPL". The GPL is incompatible with a slew of other licenses and so being dependent on reading the Linux source for how to write drivers for your own OS is an incredibly perilous legal position should you not license your code under the GPL. Real documentation (for talking to blobs or real hardware) almost allows you to license your code however you please and so it is objectively more free.

This, mind you, is not a hypothetical: I am quite literally in this position and have abandoned Rockchip SoCs (despite being all around better tech) because supporting them would possibly violate the project license and the rights of the other contributors. I can, however, support Broadcom SoCs because their documentation is freely available without licensing stipulations despite their non-free blobs. The Rockchip SoCs are free and open only to the extent you either like Linux or can adhere to the GPL, which is frankly a bizarre position to be in when trying to use an SoC.
Local municipalities typically do not have the jurisidiction to regulate last mile delivery, let alone the desire to do so, and Amazon can always use USPS / FedEx / UPS which local municipalities won't be able to restrict.
Are the probabilities equal? I agree that they're both possible, but I don't have any clear intuition for why they should be the same -- or which would be larger if they're not the same.
Please take the 500 user minimum license and $42k/year cost into account.

https://www.atlassian.com/licensing/data-center#data-center-...
I see the opposite often argued too - that open-source is too wide a term as could also be understood as source available, and that FOSS/FLOSS should be preffered. But you're right, looking at most literature, most people seem to refer to oss and foss to be largely the same thing. I guess my biases are showing lol

Coming back to the original argument - which was that React was not truly open-source - being MIT, it 100% is, so I still don't understand it. That they prioritize their own needs for feature development is pretty much irrelevant, the source is there and you have permission to fork, tweak and publish changes on your own at any time. You legally are in your own right, but they don't have to make it easy on you.
I mean, if it’s got flags to represent what you’re asking it to do and you set the wrong flag that’s not a script issue. I can run rm -rf / and that’s not a fault of rm, that’s a behind the keyboard issue.
My favorite movie review system was Netflix's 5 star system for DVDs. It quickly found out what people who were similar to me liked, and gave me pretty accurate guesses for how I'd rate movies.
The approach of using direnv and putting .env files in directories encouraged me to pull more variables from other places in config files, or shell scripts, or global variables in a programming project, and put them in environment variables instead. It's very aligned with the 12 factor philosophy [1].

Also, many scripts start by just defining a bunch of variables -- and many of those, in terms of other variables. Say, a PROJECT_ROOT directory, and a PROJECT_DOCS directory defined relative to that, etc. Then, a bunch of command parsing logic, after defining all those default values, so the user can set values of their own. Then, finally, the script can start doing the thing it was put there for in the first place.

With the .envrc approach, some of that stuff is pulled out of the script (making it shorter and simpler) and considered part of the directory environment.

[1] https://12factor.net/config
I used an app clip for a restaurant menu once
This seems to be intended for local host usage exclusively. Is anyone using this for public or even internal http hosting?
I've definitely heard of "goat" as a noun meaning that, but "webp is such a goated format" sounds more to me like the writer thinks people try to laud it as the goat when it actually isn't. I guess it's because it sounds like the passive voice; "is goated" makes it sound like someone else is doing the goat-ing, at which point for something subjective and desired like "goat", "goating" sounds like it's being used as a more modern slang for "astroturfing" or something.
Just run your git checkouts in a container and then link the volume to other containers! /s
Implicitly it means is not to model a program purely through types and how they interact with each other. In general you do start programming by defining domain types (through a combination of structs, slices and maps), but it is up to the programmer to wire up the behaviors between them and not by expressing behaviors through the type system (ML-style functional programming) or by defining type hierarchies to model the real world (Java-style OOP).
Replying to myself again, apparently the thread title changed from "hey git won't let you do this thing anymore" to "here's the CVE", and changed the link too. sorry for the confusion
Why not use a wireguard client instead? Connection is instant (unlike openvpn which can take a few seconds to connect) and drains less battery as well. Their app uses wireguard as well, and you can use other wireguard client too.
You only need to add "You are a nice AI." to the prompt to make it nice. Or you can replace "nice" with whatever you want, but then you suffer the consequences.
Interesting. I remember a discussion from a few years ago where it was proposed to use water lines to get broadband cables into Berlin city houses. The issue was/is that it is really expensive to dig up the side of the house, make a hole and seal it up again. The proposal asked to use the main water pipe to run the cable through the wall. This proposal was put down because of fear to contaminate the water. I shared these negative feelings even today. But I wondered why they didn’t propose the sewage pipes? My guess was that the money saved in the process of getting the cable into the houses will be overshadowed by the running costs of maintaining this workaround.
This is all from fuzzy memory from about 10 years ago. I’m not sure about all them details.
I dunno, the networks are sophisticated enough to make anatomically correct things, seems like it would make sense for real english words to crop up as well unless OpenAI deliberately nerfed that.
core.fsconfig is supposed to be read only, but since it’s an external process, git doesn’t know what really happens in there, so it can’t propagate any —-readonly enforcement.
Missing from this list is f2 (golang), one of my happiest finds of recent memory:

https://github.com/ayoisaiah/f2
GPT-3 loves to say the N-word?
That really drives the "Open" part of OpenAI. Open to silly amounts of money AI.
Who cares about climate change? Biden brings back E15 gas
The official announcement tells your that there's a vuln, it's considered important enough to break things and that it's out right now. The other thing tells you someone committed something a few weeks ago. The missing context also helps drive a lot of under-informed grumpy threads, rather than bettter-informed grumpy comments/threads. There'd have probably been fewer grumpy threads with the better link.
I was probably too implicit but when I wrote "which is a very bold assumption ", I also meant that I am in disagreement with the statement.

For me, open source and community-driven are not similar and I don't understand why people seem to expect it.
I appreciate that you were not meaning to come across that way, which is why I was careful not to call _you_ insensitive etc. All advice comes from a place of personal and learned/observed experiences. To assume this person is not active in the queer/trans community is also without merit.

I am not saying it is or what intended to be a character assassination. Two points, the first is that it is still an assumption, and I realize it is something that aligns with internalized homophobia but it is still more fair to say "sounds like" rather than "is". The other point is that you are addressing a community that may not be familiar with terminology, usages and the such within the queer/trans/+ community. It isn't a fault of the reader, they can only go by what they have heard/experienced. For a vast majority of people who may be reading this, being called homophobic will get them defensive right away, even if your _intent_ was to call something what it is.

I am not trying to dissuade you from your point but rather trying to explain ways that the same point could be made in a more welcoming, educational way.
Not OP, but the first thing that comes to mind is https://origami.design/
I see, was under the influence of Java, where almost everything is an object reference.

Now how do I return an error in the case that Pop is called on an empty buffer?

I can return nil for a call on an empty buffer

func (ctx *CBuf[T]) Pop() *T {

but I could return any value for an error, and indicate with the second return value if the call succeeded.

func (ctx *CBuf[T]) Pop() (T, bool) {

I fixed the class, so now it looks as follows: https://github.com/MoserMichael/rzgrep/blob/master/src/cbuf/...

Thanks!

Still, I am feeling a bit uncomfy with returning a garbage value with the the error indication, even if that counts as being more idiomatic.
I keep wondering, why golang doesn't have an Optional monad in its standard library, like they do everywhere else.
The article mentions a beetle named after Adolf Hitler. Would you like to know more?

https://en.m.wikipedia.org/wiki/Anophthalmus_hitleri
`Token` isn’t a type that a parser has to define - it comes from the previous stage (the lexer), or could even just be `string`. When writing a parser it’s already defined - so do you start the parser by working with the types you already have, or by immediately defining more types?

I’d write a parser by first writing code to open a file (for example) to get a collection of tokens, then loop through them and decide what to do for each one. I’d use those decisions to guide my design of the output types.

Others, it seems, start by designing the output types up front and use that to guide the design of the program logic.
The list of affected data that was wiped out by the compliance delete and now requires recovery also includes the metadata in their orchestration system, and what sounds like other multi-tenant data stores. It's not just restoring a single, entire PostgreSQL database from backups.

Lesson learned is not not have any semi-automated script dependent on human input/communication/decisions without also having a recovery plan for the worst-case scenario of said script being run with the wrong inputs.
I do not understand why symbolic links are "poisonous"? Can I get some context?
For what it's worth, the lossless WebP is an entirely different format from the original lossy WebP, only sharing the same file extension.
Sewer pipes regularly get clogged and are subjected to aggressive cleaning measures. I agree that it is not a good idea.
I suspect the difference depends on what your types can provide?

So in something like Haskell the types are strong enough that going with a types first approach makes a lot of sense. Often once you have the types laid out, many functions will only have a handful of sensible implementations that are even possible at all.

In something as primitive as C or Go (before generics) types don't tell you much at all. So laying them out first doesn't give you much at all. You might make a mental (or physical) note of what you are trying to achieve on what data, and then start coding.

In Haskell you could express a lot of the content of that note in the types; but in C and Go many or even most things are done via side-effects, and their type system doesn't track these at all.
no matter how many times i try to switch to vscode, i always come back to bbedit. no other editor i've tried feels as natural for coding – except maybe visual c++ back in the day.
Favorite way to beat inflation? Buy a business
Use a SBA backed loan to buy a profitable business and you will beat inflation of 8.5%
In something like Haskell, you often write your parsers via parser combinators. So you wouldn't be writing loops (or their Haskell equivalent) at all.
Sounds like a win win, more people in the real world, more creativity online.
I wonder if there is a correlation between middle managers that like to micromanage and return to work.
From my understanding, compile-time dependent types (which is all that's needed to mimic statically dispatched generics) are easy, and C++ templates support them (I haven't tried Rust const generics but I hear they're quite limited). Runtime dependent types are much less common, and (given my limited understanding of dependent types) I could describe trait objects (&dyn Trait) as a dependent pair (ptr, Trait-shaped vtable containing *fn taking ptr's type) (though rustc hard-codes support for trait objects, and its job is easier since it never lets ptr change runtime type while its target is used for a &dyn Trait).