skysight-inc/HackerNews huggingface dataset:
I think you're joking but there was a company in my area that famously stuck by their "mob programming" approach where 5+ developers would sit in a room, 1 would drive, and the rest would fill out an adjoining document.
As a 4k monitor user, I think KDE has DPI scaling on par with MacOS.
How do we predict ??“that”??
If you had already decided to buy one, why did you want to test one before buying?
I agree, of course, but once again I'm confused about how this relates to what I said or to the overarching topic.
IT tycoon Mike Lynch, daughter Hannah found dead
I have a stupid question (web dev, but also have used Java and C#).

TypeScripts type system is commonly described as implementing "structural types" (not "duck" typed)

And there are a ton of pragmatically sound gotchas around this, such as the importance of whether an object is used as an argument or a parameter, or if it is declared using an object literal.

(focusing on objects here because for primitives I'd assume that TS has almost nominal typing)

So, is there an ELI5 for the difference between structural typing and duck typing?

I'd guess that duck typing is more similar to the callee perspective in TS (give me an object with the properties I need), while structural typing is more similar to the checks performed when initializing an object literal with a declared type?

But I'm not sure if I'd be able to differentiate both terms succinctly.

What is the relationship between duck typing and "type narrowing"? Or is that more of a "structural typing" thing?
Used to do this in C decades ago. Worked on Unix but I doubt it works on Linux today, unless you disable memory overcommit completely.
This type of runtime type checking is quite common in Go. An example from bufio.Reader's WriteTo method:

// WriteTo implements io.WriterTo.
// This may make multiple calls to the [Reader.Read] method of the underlying [Reader].
// If the underlying reader supports the [Reader.WriteTo] method,
// this calls the underlying [Reader.WriteTo] without buffering.
func (b *Reader) WriteTo(w io.Writer) (n int64, err error) {
b.lastByte = -1
b.lastRuneSize = -1

n, err = b.writeBuf(w)
if err != nil {
return
}

if r, ok := b.rd.(io.WriterTo); ok {
m, err := r.WriteTo(w)
n += m
return n, err
}

if w, ok := w.(io.ReaderFrom); ok {
m, err := w.ReadFrom(b.rd)
n += m
return n, err
}

if b.w-b.r < len(b.buf) {
b.fill() // buffer not full
}

for b.r < b.w {
// b.r < b.w => buffer is not empty
m, err := b.writeBuf(w)
n += m
if err != nil {
return n, err
}
b.fill() // buffer is empty
}

if b.err == io.EOF {
b.err = nil
}

return n, b.readErr()
}
ReadCarlBarks linked to where you can vote on ideas.

KennyBlanken said don't bother to vote on ideas because they wont listen.

I pointed out that many ideas are in development or have been delivered (i.e. they do listen).

The rest seems pretty boring to discuss and unlikely to be a productive conversation. I'm already bored trying to explain this.
I didn't say it was unique in this aspect; it's a difference between nuclear (and hydro) versus solar.
Aside from finding the analogy strange and unfortunate, I assume you're talking about Unity, is that correct?

(if that is the case, I understand where the GC PTSD comes from)
The Go standard library makes use of a number of “optional interfaces”, which it uses to detect when a type implements a higher level action in a more efficient or specific way

This can be thought of as duck typing.

Examples can be found here: https://blog.merovius.de/posts/2017-07-30-the-trouble-with-o...
> Linux has gotten better over the years, especially as far as compatibility goes, but it's still _much_ harder to use than Windows

I dispute that notion

I was a Windows user from 95 all the way to 10. Yearly formats with fresh installs were a constant through the whole time.

Ever since I switched to Linux things are surprisingly stable. My laptop is running as well as my fresh install from more than 2 years ago.
because it's a subjective very negative judgement about another human, and in polite conversation one should assume baseline positive things about other humans. it's basically like calling someone an asshole. as HN as a culture of politeness, you apologize first, even if it's justified.
Are you still practicing them?
Multi-sensory interface to numerical data for blind and visually impaired people
FreeBSD at 0.01%. There are dozens of us! :)
The ARRL is the American Radio Relay League a non-profit organization of ham radio operators in the US. Been waiting since May for an incident report and this one doesn't go into very much detail as to how they were compromised.
Google, Facebook, Microsoft etc all have to shoehorn these things into their products to stay on top, but it's not their core business and they don't want it to take away from their ads or licenses they sell. Midjourney as a company is much freer to innovate without the burden of the restrictions of an established company.
Ideogram 2.0 was also released today, and it's nerfed (anatomy is lot worse than 1.0 now) just like StableDiffusion versions after 1.5 which is very disappointing.

Well good thing we have Flux out in the open now, both midjourney releasing web version or ideogram releasing there 2.0 on the same day after 2 weeks of flux won't redeem them as much. Flux Dev is amazing, check what SD community is doing with it on https://www.reddit.com/r/StableDiffusion/ . It can do fine tuning, there are Loras now, even control net. It can gen casual photos like no other tool out there, you won't be able to tell they are AI without looking way too deep.
Ah thanks, seems it got better at this one then ! I've tried the 2 other prompts with the latest but the space station I had only tried in v5.
Replicate, although not fully free, has the bonus of outputs from Flux (from their endpoints only) able to be used for commercial purposes whereas that is normally only applicable for Flux schnell:

https://replicate.com/black-forest-labs/flux-dev

https://replicate.com/black-forest-labs/flux-schnell
> Eliminativism is what you get when a materialist refuses or is unable to revise his worldview despite the crushing weight of contradiction and incoherence.

Funny, because eliminativism to me is the inevitable conclusion that follows from the requirement of logical consistency + the crushing weight of objective evidence when pitted against my personal perceptions.
If you adjust your standard to the level of human performance in most roles, including nursing, you’ll find that AI is reasonably similar to most people in that in makes errors, sometimes convincing ones, and that recovering from those errors is something all social/org systems must do & don’t always get right.

Human in the loop can add reliability, but the most common use cases I’m seeing with AI are helping people see the errors they are making/their lack of sufficient effort to solve the problem.
2FA (Two-Factor Authentication).

Using phone numbers for anything other than what they're useful for: phone calls.
I have had a lot of luck using the Plasma desktop environment (on Arch). Super customizable, to the level of hyper specificity you've described (down to the pixel, sometimes), and is mostly intuitive how to make these customizations.

My local machine basically looks/runs like Windows 10, but with the KDE Plasma logo in the corner instead of Microsoft Windows.

I have a similar setup using Cosmic on Pop_OS!
I've shared this before but in recent years (basically Win8+) it's actually been the opposite. I've had to help companies set up Linux systems running wine because they have better compatibility with ancient "must have" applications.

These days for 90% of users, the only "must have" application is a web browser anyways.
Nvidia Build a Digital Human
What frustrated you?
Though I agree that Statcounter's stats are garbage, their methodology is somewhat known. They have connections to supposedly 3 million websites that run their script, that script records each hit, and the end stats say 4.45% of desktop hits come from Linux.

It's unclear what sites they, but I doubt it's a representative sample. Even if it is, like one person figuring out which site was tracked setting up a refresh script could be enough to meaningfully damage the data.

https://en.wikipedia.org/wiki/StatCounter
In my company people who write emails outside work hours use schedule send to have them sent the next morning.
There's also Crystal for the compiled usecase.
I guess I can’t blame you for this response.

Diet has psychological, social, evolutionary, physiological, hormonal, economic, aspects (and more). Not only does that make it difficult to eat on a rational basis, people don’t even seem to be able to think or talk about diet rationally.

I think if you examine your comment, you’ll probably be able to spot some rather unlikely explicit and implicit assumptions, which will lead you to reconsider. I say this under the presumption you want to be a help (because if you don’t, no one gives a fuck what you have to say).

You want to think about causes that could actually explain the problem so that you can think of solutions that could actually work.

IMO, “eat better” is a good place to start, but the “how” is completely missing (not to mention, avoiding chips and pop is barely getting started with good eating). I think you need to think a little deeper about this.
This is the fundamental failure of the left--the *faith* in there always being a path to avoiding conflict. This is most definitely a faith-based position, never defended by reason. It's simply always taken as a sign that the side with "more power" (by their yardstick, not always correct) failed to use it's power responsibly.

If both sides are sure of what would happen with conflict there will always be peace. Nobody's going to pick a fight they know they will lose unless losing is just as bad as not fighting in the first place (say, your opponent wishes to kill you.) However, in the real world knowledge is far from perfect and circumstances can change. War happens when the two sides have different evaluations of the expected outcome.

(And you also have cases where losing is the objective--at least a double digit percentage of police shootings are suicide by cop and plenty more are people who evaluate dying as preferable to jail. Not outright suicide but pretty close to it. De-escalation is completely useless against both of these groups.)
Haha, that was the craziest part about signing on midjourney, when you have to sign up via Discord

I don't use Discord on my office laptop, and that was very odd experience
Are there any publicly accessible Flux image generation services you may recommend to check out?
The company doesn't have the same restrictions. They're not talking about the ai model.
There’s definitely been a sea change in efforts to provide a better UX when it comes to gaming. When steamos released, it seems to motivate scattered efforts to start congregating together in a more coherent way. See also:

https://bazzite.gg/

https://chimeraos.org/
Mark Zuckerberg and Daniel Ek on why Europe should embrace open-source AI
"Linux's 4.45% puts it firmly in fourth place,"

I don't think it makes sense to count "unknown" as being in third place…
> If it's something like a spelling error, then that's worth fixing.

My take on this is that if it's worth fixing it's not a nitpick. Small problems are still problems.

Automated stuff, if not automated, is also an issue that should be fixed.

Teaching opportunities are also not nitpicks, as teaching is important.

For me the acid test for a nitpick is that if I wouldn't add a commit just to fix it, it is not worth a comment. I'd add a commit to fix a spelling error, but not to tweak some variable name. This is assuming a real commit and not something you're planning on rebasing away.
I disagree. I use Linux mainly because it's just simpler than Windows. MS went on a pretty dark path in recent years with anti-user behavior, dark patterns etc.

The caveat is that I don't play games on my computers. For gaming, Windows is still the best choice.
The usual way this is presented as a free lunch has become disconnected from reality, IMO.

Free customers are not the most demanding, in my experience, but they are the most plentiful. If you cut them out, you don't lose any income (obviously) but you do cut down on requests by filtering out a lot of your users. A win!

So some people assume this is a monotonic function, where charging more increases their revenue while filtering out bad customers even further. If you press that button too many times, though, you discover that the higher price comes with increased churn, fewer signups, new competitors appearing on the scene, and, surprisingly, more demands from customers.

The last one is confusing because we were all told that "charge more" is a magic button you press to increase revenue and improve customer quality. The problem is that once your product becomes expensive enough, people expect it to perform at a certain level. If your $10/month service breaks one day, the number of people cancelling their subscriptions over it is going to be small. If your $100/month service is down for an entire day, people start asking themselves why they're paying so much for this thing anyway. The higher price gets more scrutiny at businesses looking to cut costs, so churn goes down. The higher price results it in getting recommend less over alternatives. It starts adding up.

Ideally you find the sweet spot where revenue is maximized, but that's hard to do. The feedback loop on price increases can take a very long time to show up in customer churn and reduced signups.

I've signed up for a number of SaaS products over the years that played the "raise prices" card too aggressively and then backtracked and cut prices.
> It doesn't support duck typing in the usual sense

The article is about how it does support duck typing in the usual sense. Why do you disagree?
Instant image generation using Flux Schnell
> Feels like you've just read grugbrain.dev and decided to shoot your golden tips at everybody without actually trying to understand the situation.

This feels like you've taken this personally or are projecting.

I'm not sure if you posted this to Hacker News as some sort of marketing exercise, but this is _Hacker_ News, there should be an expectation that some people are going to take a critical view at your post.

> Because those prices change 24/7/365, million times a day, and so refreshing happens pretty much all the time in the background, eating CPU time. What's more, calculating prices is much more complicated than a hashmap lookup - hotels can have dynamic number of discounts, taxes etc., and they can't all be precomputed (too many combinations).

I get that you have to recalculate things, I'm still not entirely sure how you ended up with 10% of your overhead being in malloc while doing it. That's pretty unusual, and almost everywhere, would be considered a code smell.

> a little trust in others won't hurt.

That's not why I'm here and I'm very sure that's not why you've posted this here either.
Sheffield Forgemasters?

They are actually now directly govt owned as of 2020, with future investment for a new heavy forge.
Don't compare Crimea and Donbas. There's literally nothing in common there, save for Putin being the one to decide.
> People have multiple email addresses and as a result wind up forgetting which email address/password they used for a given site.

Effectively you mean that people have multiple Google accounts?
That battle has already been lost for Python. Microsoft owns Python, they just don't make it public.

This is how I came to believe this is the case:

Few years ago I wanted to write Python bindings to kubectl. I discovered that in order for that to work cross-platform, I need to make CGo use the same compiler on all platforms as does Python. Unfortunately, on MS Windows, CGO uses MINGW while Python uses MSVC. I wrote to Python dev. mailing list (which still existed at that time) and asked why did they choose to use a proprietary compiler for their "open-source" project. The answer I received in a round-about way was that MSVC was a historical choice, which cannot be presently changed because MS provides Python Foundation with free infrastructure to run CI and builds, and it also provides developers to work on Python (i.e. MS employees get paid by MS to work on Python interpreter). And that they are under orders not to drop MS tools from the toolchain.

Year after year the situation was getting worse. Like in a lot of similar projects, success created a lot of ground for mediocre nobodies to reach positions of power. Python foundation and satellite projects like PyPA started to be populated by people whose way into these positions was not through contributing any useful code, but rather writing pages of code of conduct. This code of conduct and never-ending skirmishes around controlling positions eventually led to some old-timers leaving or being outright kicked out (latest such event was the ban of Tim, the guy who, beside other things, wrote Tim sort, which is a somewhat famous feature of Python).

Year after year MS was pushing its usual agenda they do in every project they get their hands on: add crapload of useless features for the sake of advertising. Make the project swing every way possible, but mostly follow the fashion trends as hard as possible. This is how Python is now devoted to adding as much of ML-style types as possible (in the language with a completely different type system...), AoT compilation and JIT (in the language that's half of the time used to dynamically glue native libraries...) and so on. Essentially, making it a C#, but without curly braces.

MS is smart enough to understand that publicly announcing their ownership of Python will scare a lot of people away from the technology, so they don't advertise it much. But they keep working on ensuring developers' dependency on their tooling, and eventually they will come to collect on their investment.
Apple's App Store Head to Leave in Reorganization Amid Global Scrutiny
Sorry, but where's the "horror"? I only see the description of a great feature.
Maybe you want to give an example of a specific type of data, but I think I covered everything I can think of.

I think there's a big difference between "data" and understanding principles of something. If you knowingly use "data" that your old employer hasn't made public for the benefit of your new employer, then you are probably not acting ethically. If your new employer is interested in you because of the things you know that they don't have access too, you are definitely not acting ethically. If you happen to know something that gives you an advantage, you can probably make advantage of it without disclosing that proprietary information to your new employer. Example: you now know that all avenues of trying to do X don't produce results. If you want to do Y at the new company, you can just not waste your time doing X, but you don't need to say why, and suggest trying a different approach. If someone else insists on doing X, you could still say that you think it's a bad idea, and suggest general reasons why, but probably you shouldn't say "No, at Blah we tried variants of X many times and it never worked." You can't unlearn the things you know, but you can handle that information ethically. Generally people have a pretty good read if what they're doing is ethical or not.

Whether you're in breach of a non-compete would ideally be exactly the same as whether you acted unethically or not. The purpose of enforcing the non-compete is to try to prevent the situation happening. In the UK, we rarely have non-competes and where we do, it'd have to go to a court to determine if you acted unethically or not (assuming honouring the contract is ethical) and attempting to prove if you did or not and/or the damage caused if you didn't.

But like, I say, there's a big difference between "data" (which you seem concerned about) and something you know/learned (which seems to be what your argument is predicated on). Using "data" would be corporate espionage, using something you learned because you understand the concept wouldn't be.

> effective putting you under indefinite unpaid non-compete

Not really, because most people do the decent thing, and there is generally no reason to suspect otherwise, and so these things never even go to court. If the company is convinced you have appropriated trade secrets, it probably will.

But people aren't under "indefinite unpaid non-compete" because most people just do the decent thing, and so most people are assumed to do the decent thing, and people just start their new job and get on with life. Non-compete agreements going to court almost never happens.

But it's important to add that I think this issue of trade secrets is different to non-compete, because years after you leave a company, if you leaked proprietary information of theirs that is still important in giving them a commercial advantage, you should expect to get sued even if you'd had a period of obeying a non-compete.
> So, is there an ELI5 for the difference between structural typing and duck typing?

While similar, structural typing is seen statically (think compile time), duck typing is seen dynamically (think run time).
>You also vote for your Representatives and Senators.

yes, one represenative that has continually lost represenative power for a century, and one senate who's as effective in California as they are in Wyoming.

Senate was always built that way, but represenatives growing weaker is part of the mechanics reasons behind why nothing feels representative.
If you installed your favorite distro on the average person's computer then they would likely not have a positive experience.
That is exactly what is happening at my employer, and it’s been really effective for trivial support, especially when it’s empowered to make meaningful changes on the customer’s behalf. It’s got large swaths of the whole UX in chat, with an authenticated session. You could see it being better a better experience than clicking around anyhow. It does a great job at search too. Lots of room to improve but it’s hitting its targets for reducing human support time and as a sales tool.
Confusing post; as I see it, it doesn't really have much to do with duck-typing.

It's more an illustration that with Go you can, if you choose, take "any" as your argument type and then later cast to the actual type you need, risking, of course, run-time exceptions if the type is not fulfilled.

Basically, you can opt-in to dynamic typing (the same as e.g. C#).

If the method quack were

quack(ducks ...Duck)

then you'd get a compile-time error.
Giving people a bullet point action plan at the end of an update helps with this.

## Action Plan

- Read my comment

- Try it

- Comment on your experience
It's somewhat acceptable with double precision floats - never single precision floats.

But far better to just use integer cents.
The above would be Linus Torvalds saying

> Nvidia has been the single worst company we have ever dealt with. So, Nvidia: [angrily for moment, wags a middle finger to the camera] fuck you.
Yeah, 20ish years ago I remember having to compile alsa drivers, network drivers, cups drivers, etc. I can honestly see why some left and never came back.

That hasn't been the case for a long time now. I can't remember the last time I plugged something in that didn't work. My home setup is a minipc with wireless kb and mouse on a unified USB receiver, hdmi to a large monitor, bluetooth speaker, wireless printer, and USB webcam with mic.

I didn't have to do a single thing. It all just works. And it has for years, through various distro hopping.
Is this how the SR71 was made?