skysight-inc/HackerNews huggingface dataset:
Behaviours don't have to be decoupled from the data they operate on. If I write a procedure that takes a particular data type as a parameter, it's a form of coupling.

However, there's no need to fuse data and code together as a single "unit" conceptually as OOP does, where you must have particular data structures to use particular behaviours.

For example, let's say I have a "movement" process that adds a velocity type to a position type. This process is one line of code. I can also use the same position type independently for, say, UI.

To do this in an OOP style, you end up with an "Entity" superclass that subclasses to "Positional" with X and Y, and another subclass for "Moves" with velocity data. These data types are now strongly coupled and everything that uses them must know about this hierarchy.

UI in this case would likely have a "UIElement" superclass and different subclass structures with different couplings. Now UI needs a separate type to represent the same position data. If you want a UI element to track your entity, you'd need adapter code to "convert" the position data to the right container to be used for UI. More code, more complexity, less code sharing.

Alternatively, maybe I could add position data to "Entity" and base UI from the "Positional" type.

Now throw in a "Render" class. Does that have its own position data? Does it inherit from "Entity", or "Positional"? So how do we share the code for rendering a graphic with "Entity" and "UIElement"?

Thus begins the inevitable march to God objects. You want a banana, you get a gorilla holding a banana and the entire jungle.

Meanwhile, I could have just written a render procedure that takes a position type and graphic type, used it in both scenarios, and moved on.

What do I gain by doing this? I've increased the complexity and made everything worse. Are you thinking about better hierarchies that could solve this particular issue? How can you future proof this for unexpected changes? This thinking process becomes a huge burden to make brittle code.

> you risk a procedural programming style lacking the benefits of encapsulation. This can increase the risk of data corruption and reduce data integrity...

You can use data encapsulation fine without taking on the mantle of OOP. I'm not sure why you think this would introduce data corruption/affect integrity.

There's plenty of compositional and/or functional patterns beyond OOP to use beyond procedural programming, but I'd hardly consider using procedural programming a "risk". Badly written code is bad regardless of the pattern you use.

That's not to say procedural programming is all you need, but at the end of the day, the computer only sees procedural code. Wrapping things in objects doesn't make the code better, just more baroque.
Has she tried specifying the kind of English she wants? I find for translation, even just saying something like this gets good results: "Please translate this so it sounds like a native speaker with an above-average vocabulary who is writing a business email to a colleague with whom she has a longstanding professional relationship. Do not make it sound too stilted or formal."
Are these comparing the exact same route?

Fwiw, my experience is same as OP. In Shanghai, it is far faster to take a Didi than public transit. It's typically a 20 minute door to door vs 40.
This is a common practice is almost every research group or collaboration.
Outcompeting? Hell no. Eliminating - sure.
Good stuff, thanks
It's more likely that people in all types of jobs are leveraging AI as tool, to do more/do things better.
Holy hell that guy is corrupt. The article did not comment on why the University hired him anyyand has not fired him yet. I'm very curious about that.
Fast and Effortless FPGA-Accelerated Hardware Simulation
It is my opinion. What else? I mean, what was the point of your response? You didn't even offer an opinion on the topic. You offered an observation and lazily concluded whatever-it-was with a rhetorical question?

Is that normal for people like you?
Personally I have always attributed my tendency of that to the fact that I sit on chairs or at a table when I talk about these types of things. So they are convenient examples to use in the moment, examples of objects that people have a good understanding of (or so they think).
That's a lovely idea - thank you for sharing!
I’m gonna be honest. This kinda just looks like Twitter on a PDF. Which I guess is the point but with how many images and media is on Twitter it’s hard to be inconspicuous lol
And we did, half a century earlier!
The real question is "is it good enough for the job"?

The broken english of original was clearly not enough, but a bit cringy alas correct may do the job fine and just like that another whole category of work is gone and same number of editors have to compete in ever shrinking market.
Yes! Thank you. I feel like some companies can slip into medical device territory to avoid all the hassle..

Honestly the regulatory process I have found to be incredibly opaque and difficult. It's tricky to find out what exactly qualifies as a medical device, and then the process for certification. A company called Open Regulatory helped us and the flow chart here is helpful (for UK):

https://www.gov.uk/government/publications/software-and-arti...
Terrible reasoning.

I have more faith in Microsoft to stop breaking Windows than on the Linux community to fix any of their desktop distros and environments.
That is Danish, not German.
Well that isn't self-serving at all.
It's fascinating how the Windows kernel is the only mainstream desktop or server kernel that stood the test of time without being either a Unix system or derived from a Unix clone.

That alone makes it a great case study. Of course it stood on the shoulders of giants too. But today it stands alone with many design decisions. Some turned out great, some less so. But the design philosophy and quality of the kernel is very solid (something I wouldn't say about the userland work Microsoft did over the last two decades)
This looks great- I'd give it a shot.

Marketing note: I'm pretty sure it's regional, but in the very densely populated place I grew up, lungy was a synonym for loogie, which if you've never heard the term, is phlegm mixed with saliva forcibly spit at someone or something. Unfortunately, I just viscerally find that name pretty repulsive through some deep-seated associations that would be pretty stubborn to rewire and that would probably work against the app's intended function. I'm not sure how wide of a region that's true for, but like I said, it was a very densely populated part of the US.

This isn't a criticism, it's just that I'd want to know that if it was my app.
The Berkeley Out-of-Order RISC-V Processor
Again, though, the weirdness exists; you just mentioned a bunch of niche things (presuming that KiCad is niche, I've never heard of it, so probably)

X/Wayland ain't like that AT ALL. It's something very central to the OS, which just tends to "get taken care of."

Really, my gut is that this is about a slow subconscious shift in culture; in the beginning there were the hippies who shared everything and now GNOME et al want to be 20 devs in a trenchcoat pretending to be Steve Jobs.
Make note of the author. Peter Watts wrote Blindsight.
I will bite. How do these multi-thousand-year furniture lobbyists continue to conspire to successfully frame our contemporary ideas toward their agenda?
Yeah, but you can do exactly that with proper wood too. As far as I understand, there's no reasonably priced option like this in US. Feels like this either-or extremity is a learned coping strategy for something going wrong with wood at US end. And with matresses, and table tops. That something's going wrong at the other ends is well-known, but it doesn't have to correlate 100% with the problem.
Show HN: Apple Shortcut to automate data point insertion to Health.app
Good-faith people who want to release an educational video are probably the least apt at subverting these kinds of schemes. Propaganda outlets? Of course they are pros at routing around attempts to quiet them.
> Rust is between 14 and 18 years old now.

Rust 1.0 was released 9 years ago (the language wasn't stable and hardly anyone used it before that). 9 years is a tiny amount of time to develop a Qt-level GUI toolkit.

Go 1.0 was released 12 years ago and it still doesn't have one.

I think you're vastly underestimating the enormity of the task.
The problem isn't just short-term thinking. You alluded to another point yourself:

> Looks great on the outside

Consumers aren't often equipped to evaluate quality, partly due to skill issues, partly because the corners are cut in places which are hard to spot before purchase. Price doesn't work as a discriminating factor (except to filter out a portion of the worst inventory) because of the number of brands explicitly trying to pass off junk as high-quality luxuries.

If you really can't tell which one is better, and you're as likely to get scammed buying something expensive, why not put less money on the line for something that has a chance of being good enough?
Yes but this is once again where the free-markets and economics come in: if the mass-produced ones match the custom-made ones in price, consumers will start switching to custom-made sofas. The mass-production suppliers will either have to 1) lower the price of their sofas or 2) increase the quality of production to match the quality of the custom-made ones. Both 1 and 2 are great for consumers and this is why competition is so great :). Notice that all of this is driven by the choices the CONSUMER (me and you) make.
Does the author not know of the terms “creole” and “pidgin”? Seems like it would be valuable to contrast what they call “language hybrid” with these two already existing linguistics terms that share a lot of overlap with their inventions, especially when the author just seems to be inventing terms out of thin air like translanguaging and Nuyurico.

Honestly the piece reads like some ethnoculturologist is trying to reinvent linguistics concepts that have been common knowledge in that field for decades.
Ooh, the term is indeed used differently depending on what it's being discussed in relation to: as in the article, the business's structure itself and its relation to its owner's hopes/expectations for it; or as you pointed to, the industry/market/product or service category of the business's product or service.
Windows can stop any time. But can Linux get better?
It's not just that the transit is faster by car but there is less mental overhead. Just get in the car and drive at your pace instead of memorizing schedules (or futzing with an app) and negotiating crowds.
Show HN: Web app proxy and container manager (Nginx Unit alternative)
I have been building https://github.com/claceio/clace, an app server for web apps. Clace allows easy hosting of multiple web apps, in any language/framework, on a single machine. Clace is cross-platform (Linux/Windows/OSX), unlike most similar tools which are Linux only. Clace combines the functionality of a reverse proxy and a container orchestrator (using Docker or Podman) in a single lightweight binary.

Clace can read from a source repo, build an image and start the container, proxying API calls to the container. The image is built from a Containerfile/Dockerfile. Clace can work without any change in the app repo. A gitops type deployment model is used for app updates, with staged deployment and preview environments. For example, an app at example.com:/myapp will have a staging env at example.com:/myapp_cl_stage. This allows any code and config changes to be verified in staging before being made live.

The reverse proxy can be programmed in Starlark (python-like language). No need to use a custom DSL for API config. Clace can proxy the app response or it can be used to build a hypermedia based UI using go HTML templates with HTMX and Tailwind support. Some of the auth related features are internal tools specific, but otherwise Clace can be used for any kind of webapp.

To install and try it out, run

curl -L https://clace.io/install.sh | sh
source $HOME/clhome/bin/clace.env
clace server start &

clace app create --auth=none --approve github.com/claceio/clace/examples/disk_usage /disk_usage # This installs a du like webapp
clace app create --auth=none --approve github.com/claceio/apps/utils/bookmarks /book # This installs a bookmark manager which uses sqlite for persistence
clace app create --auth=none --approve --spec python-streamlit --branch master github.com/streamlit/streamlit-example /streamlit # This uses streamlit framework, requires either Podman or Docker

See screen recording of a sample session and docs at https://clace.io
As a seasoned Windows (and DOS from the very early days) user for too many years I took a dislike to Windows 10 when 7 came to end of life in 2000. I bought a laptop with Ubuntu preinstalled and never looked back. Yes, some things took a little while to get used to, but really I was at home right away. So glad I did it.
Ask HN: Shared mailbox tools for teams with a lot of mail?
I manage a team of about a dozen who receive many emails per day. These range from alerts/notifications from internal tools, internal work chatter, meeting invites, and external requests that require some action, acknowledgement, or reply.

We moved everyone to a help desk type tool (HelpScout) which has the "assign this task to person" feature that we most wanted, but it's really made for full customer support teams so we are not the biggest fans of it.

Our org has M365 + Outlook which we were on initially, but having so many people with access to one mailbox caused lots of double replies, missed mail, and other headaches.

Any suggestions or similar experiences? I'd like to remove some of the pain out of managing our mail. We make heavy use of automated rules, filters, and workflows to file and categorize mail, but with the variety of mail we still end up spending hours a week on this issue.
I’m sorry you have to walk around with that level of fear, distrust and anxiety in your head that it has deteriorated your ability to differentiate.

Good luck
Most massive black hole in Milky Way discovered 'close' to Earth
> Paramount is very keen on region restrictions

Bit too much it seems, as I live in one of the countries mentioned in the article where this documentary is supposed to launch...
Ask HN: Best way to digitize old photographs
I’ve recently come into possession of a large number of old family photos, some of which are just prints others are groups are prints and negatives (let’s say more then 500 less than 1500).

I’m inclined to youse a service as I don’t really want to spend the time manually scanning all of these (nor do I want to invest in two scanners for a one time project) but am a little wary trusting such a project to some company found on the internet.

Any suggestions / recommendations?
> You cannot imply same rules for entire nations like all are the same. They are not. They have different cultures, different values, different taxes, different wealth, etc...

I'm not implying anything. I'm stating the fact that partisanship is not only dictated by EU membership. Maybe you're correct, maybe not, I dont really care, but it has nothing to do with my comment. Please try again with someone else who cares as much as you do.
Thanks for the pointer! Good news that an adapter exists. Less-good news that Termius placed the serial console feature behind $10/mo subscription. Looks like SecureCRT might be compatible, while GetConsole is abandonware.

Redpark SDK is public, perhaps serial console support can be added to an open-source terminal app, https://redpark.com/developer-tools/

Weird Apple restriction on DB-9 vs RJ-45 interfaces:

Per current Apple MFI policy — apps developed for the Serial Cable or Serial + Power Adapter may be used in private deployments or deployed via Apple Business Manager or Apple School Manager. However apps may not be deployed via the public Apple App Store.

Apps developed for the Console Cables or DEX Cables may be deployed via a public Apple App Store if desired.
Same here, but maybe I was thinking of “lifestyle brand” and I’d never actually heard “lifestyle business”.
yea.... does it make it "good" though
This page is so messed up on mobile. Your charts need a max width set, overflow-x should be hidden, and your code blocks are getting clipped in a gnarly way.
I've been using Chromecast Audio devices in my house for something like 8 years now and they work perfectly. Some are just the audio device plugged into powered speakers, some are speakers with Chromecast built in. Unfortunately the CC Audios aren't made anymore but I think you can still use regular Chromecasts (possibly with an HDMI audio extractor if needed).

The sync between devices has always been flawless for me.
We currently use JIRA for tracking practically everything, including objectives.

Whilst I don't really like JIRA, I think this kind of tracking of objectives, initiatives and delivered results is a good way to capture OKRs based on reality rather than mission statements.
> Your phone is not really connected to your PC

Not exactly sure what you mean, but KDE Connect is amazing for connecting my phone (and any device that has the app, including other PCs) to my PC.
Previous discussion from 2017:

https://news.ycombinator.com/item?id=15342840
Let’s say there has indeed been loss of insect life for the sake of argument due to “climate change” on account of human activity and that the knob can be turned back by some magical calibration of human activity.

As a chief beneficiary of such activity (clearly you are using a modern computing/communication device from a climate controlled space to access a frivolous internet chat forum), why don’t you take responsibility and the lead? Perhaps give up your computer(s), phone(s), automobile, refrigerator, television and quit commuting and vacationing away from your local park and live off the land by growing vegetables.
You know you can show us the ropes and kick start a global movement that will turn the knob.
While I do think Teal is pretty cool, I think adding gradual typing by the having a static language that compiles down to a dynamic language Typescript-style is the worst way to add gradual typing support.

The extra compile step and the added complexity kind of kills the advantages of using a simple dynamic language like Lua in the first place. You can only compile a file if the types are correct. You might think this is good but no, not at at all. This is horrible for prototyping because sometimes you might want to test a specific path even when you haven't yet refactored the rest of the program.

It is much less hassle to just add type annotations as comments and have the linter figure it out. So you can have your cake and eat it too, having both type safety when you need and want it and the power and flexibility of dynamic typing in one.

Now, an even better way is probably what Luau is doing because you also have type information available at runtime which then can be used for reflection and performance. Especially as they have an option to disable the type checking if needed.
> Yes fixing stuff is good for the planet. But big brands could offer customer service just fine if people wanted it.

They could but they won't. Because they realized (and probably all agreed) that it's far more profitable to sell the customer a new product, rather than fixing the old one. And since they are the big brands, and they have practically a monopoly (think about big tech companies) they make the rules. They even have the power to sue the crap to which small business tries to fix their products, like Apple did multiple times.

The repair culture is not something sustainable for a big business, that to stay in the market has to increase year after year their sales, and the only way to do so is... making consumers buy new products, even if they don't need them. How to do so? Decrease the quality of the products, make them impossible to repair. No big business would stay alive if they sold you a couch that lasts a century.
This is a helpful perspective, thank you!
> ironic that this is exactly the thing the US/EU political leadership have been bashing the chinese for since forever.

there's a good reason for that. it's not controlled by and for the benefit of our oligarchs.
I disagree. Delivering on the core functionality is the most important task.
May I ask how you keep your house warm in winters if you live above Mason-Dixon? I bet that activity alone ("heating houses in winter in North America") puts you in the top 10%-ile people in the world by CO2 emissions.
Show HN: I wrote a machine learning library based on TensorFlow
Yeah, the sub-1GHz Athlon and Durons were 1999, so this article is a little late.
Ah dignity. The reason mass transit will never take hold in America.
Since OP is doing this deliberately for speech2text they will presumably enunciate very clearly and have a good mic. S2T has very good performance under ideal conditions like that
https://strapi.io/ does this and much more.

It's primarily headless CMS but it produces solid db schema and sensible rest API.

Entities can be defined in json or in UI.

You get OAuth, admin panel, plugin ecosystem.
> For Medina, people who speak Spanglish have a “superpower”: translanguaging, or the ability to move fluidly between several languages.

That's common in people who are fluent in two or more languages, even when they don't speak some sort of creole. My mother and I speak English and Russian, and will frequently swap out words mid-sentence, or do the other thing the article mentions as an example, starting in one language, and finishing in another. She and her Russian&English speaking friends do the same.

But we're not speaking Rusglish, or Engrussian, or whatever. It's just a common facet of being multi-lingual.
This is one of the best resources out there for audio DSP+ML. While it is focused on music, it is also highly relevant to other audio such as speech environmental sounds etc.
Why am I not surprised? ;) Open Regulatory is doing great work, the founder is a fantastic guy. A breath of fresh air in the opaque and boring regulatory world.
It is a very "limited" warranty:

https://www.ikea.com/us/en/files/pdf/40/04/4004a9de/seating_...

If the sofa breaks, then sure it's covered.

But it explicitly doesn't cover fabric or leather coverings -- and good luck trying to convince them that the foam padding has gone all flat.

Whereas in my experience, how long a sofa lasts is determined precisely by how long the coverings and cushions last. (I've never in my life seen a sofa break.)

So the IKEA warranty is irrelevant there.

Your UPPLAND sofa may work great for 30 years in a guest room where it's sat on 5 times a year.

But good luck getting it to last 10 years in the living room where the whole family is using it every day and kids are climbing all over it. (Of course, more expensive IKEA sofas do tend to last longer than the cheapest ones -- people are usually talking about the cheap ones.)
Your average war movie is much more apocalypse porn than Civil War. Civil War was a "this would suck, seriously" experience, not fantasizing & idolizing which the word porn implies.

Also, I need to immortalize a typo that I made writing the above paragraph:

Civil Warn

That's a good summary of the movie.
We mitigated product risk while building AI features
Building AI features is inherently risky — much riskier than traditional non-AI features. One of the reasons it’s so risky is there’s a chicken-and-egg problem: you can’t know the quality of an AI response without building the system to see an actual AI response.