skysight-inc/HackerNews huggingface dataset:
I'm not sure I understand your point, but I'll elaborate on ways that we could "homogenize" the two features:

---

We could add implicit enums to impl Trait, so that you could return different types from a function:

fn foo() -> enum impl Display {
if rand() > 0.5 {
"str"
} else {
42
}
}

which would let you get around the problem of returning a type erased object for a Trait that isn't object safe:

trait Trait {
const C: i32 = 0;
}
impl Trait for i32 {}
impl Trait for &'static str {}
fn foo() -> Box<dyn Trait> {
if true {
Box::new("")
} else {
Box::new(42)
}
}

error[E0038]: the trait `Trait` cannot be made into an object
--> f500.rs:6:17
|
6 | fn foo() -> Box<dyn Trait> {
| ^^^^^^^^^ `Trait` cannot be made into an object
|
note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
--> f500.rs:2:11
|
1 | trait Trait {
| ----- this trait cannot be made into an object...
2 | const C: i32 = 0;
| ^ ...because it contains this associated `const`
= help: consider moving `C` to another trait
= help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Trait` for this new enum and using it instead:
&'static str
i32

---

Relax object safety rules, like making all assoc consts implicitly `where Self: Sized`.

---

We could make enum variants types on their own right, allowing you to write

fn foo() -> Result<i32, i32>::Ok { Ok(42) }

let Ok(val) = foo();

There's some work on this, under the umbrella of "patterns in types". For now the only supported part of it is specifying a value range for integers, but will likely grow to support arbitrary patterns.

---

Having a way to express `impl Trait for Enum {}` when every `Enum` variant already implement `Trait` without having to write the whole `impl`.

---

Anonymous enums:

fn foo() -> Foo | Bar | Baz

---

Being able to match on Box<dyn Any> or anonymous enums

match foo() {
x: Foo => ...,
x: Bar => ...,
_ => ...,
}

---

Stop needing to create a new struct type in order to box a single variant

enum Foo {
Bar(Box<struct { a: i32, b: i32 }>),
}

---

These are of the top of my head, there are many things that you can do to make trait objects and enums feel closer than they do today, to make changing the way your code works a "gradient" instead of a "jump". My go-to example for this is: if you have a type where every field is Debug, you can derive it. As soon as you add one field that isn't Debug, you have to implement the whole impl for your type. That's a "jump". If we had default values for structs you could still use the derive by specifying a default value in the definition. That makes the syntactic change "distance" be as far as the conceptual change "distance".
Changes in pig farming spread antibiotic-resistant Salmonella around the world
Many years ago, I used to like expensive pens. Over the years, they were either stolen, lost, or damaged, so I realized the futility of expensive pens. Now I'm used to disposable pens, where I don't have to worry about whatever happens to them.

At the same time, I have a lime-green plastic mechanical pencil that I got from a Microsoft printer room, and it's probably about 8 years old by now. This one never gets stolen, lost, or damaged.
mostly yes, at $work we're trying to move away from pandas entirely in favour of polars. Polars is mostly faster, with an API that's actually sane and makes sense. No reason to use pandas nowadays.
What typing does Python have available?
I think that depends what your expectations are, and what you mean by another AI winter.

We're just scratching the surface of what's possible with the current state of the art. Even if there are no major advances or breakthroughs in the near future, LLMs and associated technologies are already useful in many use cases. Or close enough to useful where engineering rather than science will be sufficient to overcome many (though not all) of the shortcomings of current AI models. Never mind grandiose claims about AGI, there's enough utility to be gotten out of the limited LLMs that we have today to keep engineers and entrepreneurs busy for years to come.
Doesn't the bigger employer already pay more? Otherwise, why would you work for them? If compensation is the same, the smaller employer will otherwise be preferable to work for.
> it will scale up on a single machine to make use of all the cores (unlike Nodejs, Python, or Ruby)

Python definitely does "use all cores" on a machine with the multiprocessing package, not sure what you mean?
Enforcing use of mypy is good enough for all real world use cases

https://mypy.readthedocs.io/en/stable/index.html
Thanks for the suggestion, I've just added the feature:

https://hn.wilsonl.in/s/sentiment%20analysis
There's a pretty consistent stream of relatively senior postings on the elixir forums[1] as well as a number of successful large-scale elixir deploys (Discord, Heroku, etc) that probably do their own recruiting. I get the sense that YCombinator's technical mentorship focuses on language silos they have experience in, so this community is probably just a bit outside the "sweet spot" for BEAM hiring.

Hiring juniors (and getting work AS a junior I imagine) is a challenge. I don't think Elixir is that hard to learn (and has fewer foot-guns than many competitors), but it makes evaluation more difficult.

[1] https://elixirforum.com/c/work/elixir-jobs/16
Simplicity is one of the reasons we started this project. IMO, far less maintenance overhead to running Postgres compared to RabbitMQ, especially if you are already running Postgres in your application stack. If PGMQ fits your requirements, then you do not need to introduce a new technically.

There's definitely use cases where PGMQ wont compare to RabbitMQ, or Kafka, though.
> In the absolute worst case a high resolution/hertz cam on one's own screen with a quick ML software polish job, would look near to completely indistinguishable from the original content.

I’m not even interested in piracy (no ethical dilemma I just can’t be bothered), but I think this would be an absolutely fantastic tech demo, and also very funny. Ultimately the video has to be displayed on a screen, so this must be the final defeat for DRM, right?
The main difference is that Muddy automatically creates and updates those shared tabs for you based on what's being added to the project timeline (multiplayer feed of apps/websites).

We used some similar tools like Workona in the past but without constant maintenance, links would get stale and we'd abandon it. Wanted something that did that for us automatically.

(Also we support: website annotations, team presence, and letting you rewind a project's timeline back to any point in time)
If that were true it would be possible to watch in 4k resolution on Netflix on Linux. But it's not.
The ad does seem very tone deaf. It looks like they were going for “thinness” with the hydraulic press, but the ad instead evokes “destruction.” Apple’s brand has never tried to be about destruction, particularly the destruction of creative things, so it feels like a pretty big mistake.
Where did you get them? They make jeans as nice or as cheaply as stores want to carry.

This thread is representative of what I’m talking about: https://www.reddit.com/r/BuyItForLife/comments/uf591v/has_le...

The pair you find at an outlet is not the same as what you’d get from their online store, let alone their “premium” or “vintage” lines.
T: Connect iOS app for insulin pump could kill users, says
The ad is kind of pretty and gently amusing. In the grand scheme of "offensive adverts" this doesn't wiggle the needle. I'm suspecting this is more likely a thinly veiled hype from Apple, or just a result of Apple being polarizing.
This is not what the article is about. There is nothing in the article about exporting.

The percentage of America's electricity generated by non-renewables is lagging behind others. The crux of the article is that American has replaced coal with natural gas.
the way he's holding it afterwards makes it look very much unbroken, and all we have is his clickbait-word that it's true
TBH part of the BEAM runtime is actually pretty slow. is the problem.

* Want something flexible and easy and don't care about performance? Use Python
* Care about performance? Use Rust, etc.

Just because it is distributed cloud native doesn't mean for single requests or functions it is fast.

Almost all SaaS applications are request based and do not need P2P or real time communication. BEAM is worse here. If a company does need that they can specialize that part of their application.
Speed bumps and roundabouts do not “wear out” your car. Not how you ever arrived at that idea.
I 3D print jigs to hold things together for welding. Mind, blown.
Coolest thing on Show HN today :) I love that at it's heart it's just a (very nicely designed) PM tool. Would love to see LLM flows more integrated into product UX like this.

Amazing work!

Edit: Why the hell do people downvote positive comments?? What is wrong with this god awful community - this site desperately needs "Delete Account" I'm done
I think this is already the case today; streaming players don't work unless the whole chain from the player to the display is verified.

The only reason it's possible to copy such content is because keys were leaked in the past, and they are not blacklisted.
Nope. Cloud storage only, no obvious mention of whether the data are encrypted at rest, no guarantee given as to whether the data is secured.

If this was local only then yes but no way am I firing what could be extremely personal data to a random company to control, with no option (seemingly) to export to a different service.
Yeah there's no problem with the general concept of the ad, and a cartoonish squish solves that. But they wanted dramatic images of destruction because it looks cool or whatever, without thinking that it's really odd and dissonant to feature a bunch of creative tools being destroyed in an ad which is ostensibly meant to celebrate and encourage creativity.
The basic concepts translate well from other languages like say, Python.

I work for a major University. The only major numerate discipline for which we do not teach programming to undegraduates is Medicine, and my guess is that Medics are already completely buried by the tremendous amount of stuff they're expected to have at least some knowledge of to do their eventual jobs, without us showing them how to make apps.

Like sure, if you come here to study Fine Art, we don't (by default) teach you to write software, but if you come to learn like mech eng. or electronics or chemistry or something you're going to be shown how to write software. You can probably flunk that in most of these subjects and still get a degree because it's not on your critical path, but we tried.

These are not software engineering courses. You're not going to learn how to be in charge of a major software project, you won't learn how to design software, nor even stuff like CI and revision control - if you try to scale what you learned in one course as a Biologist into a Chrome-sized application that's going to be a disaster, but you've written software, you know what a loop is, what a variable is, and so on.
Except MBA claims to be a signal of management capability. With that prior assumption, it is a catastrophic failure.
I will help you. The truth is that you are an asset. Even if they make you feel important, you are as important as a good chair. They will replace you without thinking twice if they want.
> not-entirely-useless but still quite crappy

15 months ago, general-purpose LLMs that have not been specifically trained on legal reasoning could score better than 90% of humans on the multistate bar exam, and these are humans who actually completed law school.

General-purpose LLMs get similar results in medicine, and when the models are fine-tuned for medical diagnosis they're even better.

And that was more than a year ago. Those who have seen current models not yet released tell us they'll make the current state of the art look like toys.

Progress is still tracking the steep part of the S-curve, and there's no indication that they're near the top yet.
Also there aren’t really enough of us watching videos on Linux for it to be a worthwhile market for them to address, I think.
Looks solid to me for what it is. Especially if compared to jira.com

I see a video on the home page btw
Then it’s not clear to me exactly why should chaperones be a problem, though I get the gist intuitively
Discord uses Rust (and Elixir) https://discord.com/blog/how-discord-stores-trillions-of-mes...
Don't stop reading there! The next three words are "on the nation's grids" (at least in the first occurrence of the phrase). When dealing with grids, capacity always refers to power measurements.

The journalists did not mess up anything, they are actually using the correct units used by people who run grids, build grid assets, plan grids, etc. The only people who are confused are those who don't know about grids, but know a few things about electricity in other contexts.
We migrated from an in-house redis queuing system.

Temporal has its own way of doing things; there's rules about what you can and cant do in workflows, what has to live in activities, etc. Its generally quite easy to adapt existing code work with it. We use typescript.

The worst part for us has been error/anomaly handling. Workflows can sometimes hit a state where the status reads in progress and errors aren't reported anywhere except buried in the event log; which surfaces great in the UI but we still haven't figured out how to programmatically respond to this condition.

A good example is: we use a home-grown version of this [1] to proxy large payloads to S3. However, if those payloads get REALLY large, they can take some time to upload and download; and if that "some time" is longer than 5 seconds, the control plane will believe that the worker has died, it won't reschedule, and the workflow just sits in In Progress. There's always a beautiful error on the temporal dashboard, and we can manually terminate/retry, but the world just seems to die when this happens and we can't do error-level cleanup stuff like alert the user that the thing they were doing didn't finish.

Temporal is also challenging to get support for. Its new, open source, we don't pay for temporal cloud, and there's not a ton of resources or people using it. The documentation is quite bad (if you like 500,000 word pages, codegen'd library sites with no comments, and one example for each feature, you'll like their documentation). Given we run our own temporal cluster, we've also had pretty large challenges in the self-hosting world. We work through them, usually after deep-diving into the temporal server code itself, but there's startlingly little documentation on self-hosting, and even less community support.

Overall, we don't regret adopting it, but if we had a time machine we wouldn't do it again. I feel it makes a series of sacrifices in order to create a system that has extremely high standards for processing, like financial/bank/healthcare level stuff. But, not only are we not building that, but the system has never behaved in a way which makes me think I'd even want to use it if I worked in those industries. Obviously I feel like I'm the one in the wrong here, and I'm sure its just a matter of "we screwed up something somewhere", but that leads back to: bad documentation, no way to get professional support without being on their cloud, and a lack of community support.

[1] https://github.com/DataDog/temporal-large-payload-codec
What do you use instead, out of curiosity?
Why shouldn't the burden of proof be on the people making these meal replacements?

The NOVA system is more interested in the wider effect of ultraprocessed foods replacing existing eating and cooking habits. The Brazilian dietary guidelines that were inspired by NOVA places a lot of importance in the social aspects of procuring food, preparing it, and eating it. In a sense, it's the antithesis of products such as Soylent.
Does Java sealed classes enable something like an exhaustive pattern matching? (A form of pattern matching that will fail at compile time if you add a new class that extends the sealed class)
The 'neuropathy' part is meant to imply that the issue isn't with the hearing mechanism itself, but rather with the part that allows the mechanism to communicate with the brain. In this case, the expression of a specific gene causes the creation of a specific protein which plays a role in the transmission of audio to the brain. This gene was either not present or malfunctioning, so they added the proper gene manually.
> Also, getting template of 100s of LOC saves time in writing it from scratch even if I know exactly what I'd need to write.

I rarely know exactly what I need to write and writing it usually isn't the problem. Sans LLM, there have always been tools and techniques you can lean on, like syntax highlighting, auto completion, your compiler feedback, or unit tests.

I find that writing code consumes only a small percentage of my time. And while writing code is obviously where bugs originate, it's not where the big problems come from.

Making software good is the easy part, making the right software is where the trouble lies. It's why I spend most time not coding, but talking to people. Figuring out what needs to be done, how, when and why.
I definitely agree with that. Probably the worst company experience I've had was with senior leadership who fundamentally didn't understand how software development works.

But still, I've never experienced a CTO who was that clueless. Other members of the senior leadership team, certainly, and I've certainly seen CTOs who I thought were poor, but never really CTOs who were as clueless as the one described in this article.
Hey, thanks for challenging this. Good questions!

It doesn't differ from you setting up terraform or aws cdk yourself. If you know how to do that or have that expertise in house and have time to do that you don't need this.

I'm programmer for 21 years, I could do coding but this is focused on infrastructure itself: Setting up CI/CD, networks, instances, rds, security, monitoring etc. etc.

I know DevOps is combination of Dev(elopment) and Op(eration)s but from what I've seen in many companies it's like 90% dev and 10% ops, and not so many devs are so keen to learn ins and outs of AWS (or other clouds) and those who know that tend to be expensive.

So idea here is to help I think mostly smaller companies who don't have enough Ops work for fulltime person. I hope this could be good option for them.

So maybe DevOps is not most correct word, maybe could be Stunning Infra or Stunning Ops but I have a feeling DevOps is more catching phrase/term.

IaaS might be better wording but again I assume that not every company who want/need/must use cloud has knowlege (or time to learn) how to setup and use it properly. (just running scout
suite usually reveals lot of basic mistakes).

It's basically a different take on DevOps/Infrastructure agency.

Thank you againf or feedback!
IF and that's a big if, IF the master password is used to encrypt the password then sharing passwords between users would only be possible if every user would have the master password to the encrypted password they want to use.

IF that's really the case then the whole thing is pointless and you can just revert to a KeePass file on a web share or something similar.

Also decrypting the passwords in the web interface is either done in Javascript which would open the master password to all kinds of attacks or it's done server side which means they have the password.
Familial Transmission of Personality Is Higher Than Shown in Typical Studies
I’m sure their RTO efforts will help!

https://news.ycombinator.com/item?id=40306941
Related:

NASA's Voyager 1 Resumes Sending Engineering Updates to Earth

https://news.ycombinator.com/item?id=40117599
I think this is ignoring the fundamental issues with weight and health. Each day you naturally burn a set amount of calories dependent upon a number of factors - largest being your activity level and your current weight. If you go over what your body burns, you will gain weight. If you stay under it, you will lose weight. It's that simple.

Of course nutrition is critical in this. You need a set amount of vitamins, proteins/amino acids, and so on, to keep your body functioning optimally. Eating a cookie provides basically nothing in terms of nutrition and sends your a pretty good chunk of the way towards your daily 'limit' of consumption. So it means if you eat a cookie you're going to need to be that much more nutritionally conscious on a smaller limit of max calories, to remain healthy.

Paradoxically, this is even more true for fit individuals than fat. Even when you're doing nothing, your body is constantly burning calories to keep things going. Fat individual's bodies have to work far harder during this process, and so they passively burn far more calories than fit individuals. This is why an obese person could, in general, start losing weight by "just" eating 3000 calories a day. By contrast, eating 3000 calories a day would see a fit person's weight start rapidly increasing. So a fit person has a far smaller limit to squeeze in all their nutrients. It leads to the paradoxical outcome that that cookie is relatively worse for you if you're fit than if you're fat!
Also, if we don't get some calendar reform, by the year 17000, the northward (spring) equinox will be around February 23rd.
Oof, I didn't know that anyone still used Java 6 anywhere. I have to think that it's a potential security nightmare at this point isn't it?
> Does Devie auto-fix compilation errors?

Awesome to see you have this on your roadmap. Our product has similar functionality and it's quite a pain to get right. Excited to see how this shapes up
Biscuits – A Tasty Solution for AuthZ
Show HN: Transform your character photos into clay animation-style images
In the US, it's only a legal violation if you try selling it. For personal use, you can rip DVDs.

Granted, the media companies use civil lawsuits to also make it feel illegal.
Looks promising. The new coding pasting could be a huge quality of life improvement. I hate having to create temporary files or fiddling about with `if __name__ == '__main__'` just to test something in isolation real quick.
Ultraprocessed bread has more fat & sugar than regular bread, for improved shelf life.
Cool stuff! One comment on the landing page: the slideshow view thingy of examples is fast, and when I click one to read it, it moves to the next one so fast again, so I can’t really look at the demos.

I also can’t quickly find any details about what field/algebra/whatever these cover. If I make a Expression.var, what structure is it assumed to have?

Great job on this project :)
Read dude
The only part of this that I can't be cynical about is Andy Serkis still getting paid. Good on him, at least there's one human still working in a creative field.

But I don't think we need more Gollum, that character served his purpose. LOTR (the franchise) seems to be suffering from the same pathologically risk-averse need to keep drawing from the well of the original trilogy as Star Wars. And I'm saying that as someone who actually liked some of the risks the sequel trilogy seemed to want to take with the characters (as much as I hated the execution.) I still would rather have seen something other than yet more chosen bloodline / Palpatine vs Skywalker / Sith vs Jedi stuff. Like Anakin building C3PO it just makes what should be an infinite universe seem small and petty.
yes, see the discussion on free-range kids