skysight-inc/HackerNews huggingface dataset:
I work on a team with 75% of the developers don't write any tests. You never know what you're going to run into. Did I cause a new bug, or did I discover an old one? It's embarrassing when you discover completely non-working code paths.

I'm not even looking for a particularly high level of test coverage, just a basic "I wrote an API, here's a test (integration, unit, doesn't matter) for the happy path"-level of coverage would be great.

On the opposite end, I worked at places that wanted unit tests for every new function, even if it was something simple (like a getter or setter) used elsewhere. That's also terrible.
> We’re proudly built on Electron (just like VSCode, Slack, and Discord) with all of the network code and heavy lifting done in a local Go backend. This enables us to deliver a consistent cross-platform experience and the ability to leverage high-quality web components for our UI and plugins.

For my curiosity, why electron in a day when Tauri exists, or Wails since you seem to already be in the golang ecosystem?
Perfect ty!
So was manufacturing. I will say that Detroit was probably over-indexed on auto workers more than other kinds of manufacturing.
Some of the best games I've played in my life were the text based and pixel art games in MS DOS. Your imagination then had to render or enhance the visuals, and it was pretty cool to come up with the pictures in your head.
What kind of floppy drive was this? PC and just about every floppy drive I've ever seen only has motor, step, read / write data etc signals and no concept of DMA etc which would solely be handled by the FDC itself
As far as I can tell it's a "pinky promise you're over 18" site, so twitch has a "see no evil" approach to counting that demographic. The public number is 22% 18-25, 50% 25-34. My experience is young adults are much more common than teens, but that probably shifts when you look at bigger streamers and lurkers instead of chatters.
Pilots and controllers who are already in short supply? That’s the problem, the individual actors are helpless in a system optimized against them.

Certainly, the FAA is a contributing factor through wages and working conditions leading to controller shortages, but airlines can also do more to better accommodate pilots.

This is a system headed to failure, with those responsible not making responsible choices and who won’t be held accountable when failure occurs (hundreds of passenger air transport deaths).
I mean if you set aside the mere theming, Discord is everything Slack should be
Maybe. At the risk of being argumentative: This top-down alarmism now has been going on for decades. Electric vehicles have close to zero market share, all considered (commercial and commuter unit of mass travelled). It could go away tonmorrow and the world wouldn't miss it.

We're talking about today's and tomorrow's subsidies. Electric's supposed leverage, not assuming authoritarian market interference, isn't on the visible horizon.
It’s more that the risks and expenditure of effort are so different between changing files on a server vs breaking and entering that it becomes a separate category.
From their GitHub[0]:

> Evaluation shows that PowerInfer attains an average token generation rate of 13.20 tokens/s, with a peak of 29.08 tokens/s, across various LLMs (including OPT-175B) on a single NVIDIA RTX 4090 GPU, only 18% lower than that achieved by a top-tier server-grade A100 GPU. This significantly outperforms llama.cpp by up to 11.69x while retaining model accuracy.

Impressive result and very exciting if it holds true! The hybridisation idea (preloading known-"hot" neurons to the GPU and leaving "cold" ones on the CPU) is a neat one on the surface.

[0] https://github.com/SJTU-IPADS/PowerInfer
The part I’m confused on is the documentation saying the returned object from Object.groupBy doesn’t extend from Object.prototype. Is it still an object?

The return value of groupBy is an object that does not inherit from %Object.prototype%.
Hands and feet being particularly difficult for current AI means that humanity still needs to be part of the equation to get good results.
Same here... very upset at Google caving in. And now as icing on the cake, Gemini is not available in Canada either.

That legislation and the recently passed one (senators and conservatives teaming up)... make one mad.
Not everyone shares your views. Most people probably don't, and Twitch wants to keep the majority happy, not just you.

But more importantly, advertising. Once you're known as a website with lots of pornography, expect your cost per ad to drop to about 10%. And with potentially unmoderated adult content you risk having all major payment providers refusing to do business with you. See what happened to Pornhub about non-verified user uploaded content a year or so ago. Requiring things like uploading ID in order to stream will harm the non-adult segments of Twitch. So unless they want to go full-on porn site, mixing adult and non-adult just harms the rest of the business.
Sprout Social
> in public school settings when unchecked peer abuse occurs, as one example. Such abuse can grow into an irreparable state of dysfunction and life breakdown.

Just guessing but probably there is a reason why he mentioned that.
I personally will install any crap on my iPhone mostly with assurances that it can’t do any damage to my phone.

On the other hand supposedly reputable companies like Zoom have been found to install secret backdoor on Mac’s - a full web server - causing a massive vulnerability.

I’m much more cautious about installing something on my Mac or work PC.
Kind of a weird paper.

1. It uses formalism to try to deny that there is some competition for brain-share and number-of-users among programming languages, or rather around the communities around programming languages.

2. It ignores how C++ has, multiple times, semi-reinvented itself rather than "being C++", spurred by features, idioms or use patterns in other languages, and even managed to mostly "eat their lunch", for better or worse (e.g. the D language).

3. A call for "aiming for coherence", while ignoring how it sometimes contradiction with other principles, such as: "What you don’t use, you don’t pay for" (the zero-overhead rule); and failure to argue even for a balance.

4. "In committee, we frequently spend time on things that only a small number of people care about." <- but these are sometimes extremely important things, relevant to many, and in the future perhaps most programmers; and a small number of people care about them because most people aren't aware of their current or future importance. This is especially poignant where those things will only become important if the committee adopts them, and otherwise can be argued retroactively to never have been worthy of any discussion.

etc. etc.
Citation for Reagan comment: https://en.wikipedia.org/wiki/Professional_Air_Traffic_Contr....
I couldn't even build a simple 10x10 deck 12 inches from the ground without having to perform $8,000 worth of work to pour concrete piers and do several other destructive things to existing structures that make no sense.

This was for a deck that was going to be used by 1-2 people at a time, that could be built for $1000 worth of materials.

Same thing doubly applies for housing, except the numbers are 10-50x higher, because Karen in Bumfuck Permitting Services can't fathom that it's not necessary to build a single family dwelling up to Fort Knox standards, especially when it's made out of sticks and drywall anyway. It's almost like the code is designed to be especially convoluted to be a make-work program for local contractors.
>> I'm always saying that good way to learn language patterns and idioms is to look into standard libraries implementations.
>
>Why would that be true?

This isn't always true, and can't be generally expected, but I think it is true in the case of Go's standard libraries. These are high quality, and are one of my top examples of good, real source code to study (along with the DOOM and Quake source code). A nice touch in Go's library documentation is that you can click any API element (type, function, etc.) to be brought directly to its source code.

Yes, there are differences between writing libraries and writing programs. But there is value in studying well-written source code, even when it has concerns and requirements that differ from yours. You can adapt what you learn to your needs.
This was due to different track format.

Specifically, AmigaOS's floppies write one sector after another, with a single gap in the entire track.

Whereas the IBM PC format has a gap in each sector. This is because RAM was more expensive back then, thus holding an entire track in memory would have an associated cost.
One had a plug that output DC power. One had a plug that output AC power.

Oh, man, that reminds me of how I found out that MicroLogix PLCs[0] come in AC flavors and DC flavors. So the MicroLogix 1400 I had lying around here used an AC adapter, and you screwed the stripped wires into the holes that used screw retainers. Easy-peasy, just make sure the adapter's not plugged in in you wire it up. The boss orders me another MicroLogix 1400 for long-forgotten reasons, and to get it bootstrapped, I decided to use the adapter from the other 1400.

I already gave away the plot in the first sentence, and you can guess what happened next.

[0] https://en.wikipedia.org/wiki/Programmable_logic_controller
Nationwide rent control.

We've done it once before (World War 2 - in that case it was even retroactive, so you couldn't hike rents in anticipation), and it increased homeownership rate by the highest rate in the 20th century (something like 5% jump in a few years) by making leasing less profitable than selling.

Would also have to be combined with more building, but it does work. If you make investing in real estate less appealing (via rent control), people will sell - unless they're just hiding money (i.e. overseas investors).

You would probably have to go on a crusade in order to promote it, and it would require a massive anti-landowner propaganda push (of the sort that existed during WWII), but it's theoretically doable.
YES! We need more FEs like you.
* Copy/Paste

* Copilot told me

* Sabotage (internal or external)
That's just moving the problem somewhere else.

NSFW content creators have a strong financial incentive to find ways to use SFW content as marketing for their NSFW content.
@dang the author has created yet another account
There's a bunch of reasons but it's primarily the popularity of the airport combined with the runway layout and the noise abatement procedures all made worse by the Bay's weather.

SFO has two pairs of parallel runways and the pairs are very close together, with the runways in the 28L/28R pair only 750 feet apart. That's really close for an A350 with a giant 200ft wingspan and the noise abatement prevents the use of a standard step down approach where the pilots have much better visibility.
> the original post that is showing how giving people money helps them improve their lives

To be clear, I'm not arguing against this claim.

> Are you not understanding that the majority of crime that exists in a society is petty crime that doesn’t cause any serious physical harm to others or society at large?

What do you mean by "petty crime?" If it's something like driving 75mph on a 65mph highway, then yes that shouldn't generally merit a harsh legal response. But petty theft, shoplifting, minor vandalism, small-scale drug dealing, school bullying etc make life miserable for people who can't afford to live far away from it. The first-order effects are bad enough, but the countless second-order effects (reduced economic investment, lower consumer spending, having to live in fear every day, can't take the bus to work, etc) are absolutely devastating. And yes, even in the poorest communities, where people are the most desperate, the vast majority still follow the law and don't resort to victimizing others.
The author sounds out of touch. It has always been chaos, and whether something was viral has always been a curated reality. Throwing "AI" into an old narrative does not make it new and interesting. The internet has always been a twist on a gossipy book club, it's just that it has become so big it's not recognizable as such.

In comparison, those holding the most data know more than ever. That is how they built the AI tools to begin with. And in the chaos they will dictate what we get out of the internet.
I learned to prounounce it like "Yer-in-us" -- which results in different jokes, at least.
I absolutely would, if it were a thing that was bothering me. They're my friends, after all. Why would someone feel ridiculous for checking in with their friends about something strange?
Throughout the piece he cautions against abandoning friends, principles, and of striving for the inner circle for its own sake, and for greed. It is a very uncharitable reading to then recast this caution and awareness as a general prohibition against entering the inner ring for any purpose. Nothing in the piece gave me the impression he is cautioning against, e.g., an upstart entrepreneur entering various inner rings to grow his sales, or a general vying for political power to help his country. It is the inverse he warns of - a general staying silent, or becoming a yes-man against his better judgement, to gain social standing at the expense of his troops.

You're right, he spends few words extolling the usefulness of the inner ring [1] - presumably he thought it obvious, especially to his audience at King's College. Probably seeing greed and sycophancy as bigger dangers than lack of ambition or too much sincerity, he naturally warned against the former. Like an old captain warning against storms instead of giving encouraging words about how many fish there are to catch. I wouldn't begrudge him that.

[1] Few, but not none: It may end in a crash, a scandal, and penal servitude; it may end in millions, a peerage and giving the prizes at your old school. But you will be a scoundrel.
I like to disturb materialists, aka believers in the mechanical universe, with three observations: physics stands on GR and QM; GR says that any thing can dissolve into light (photons) that can, in principle, form any other thing; QM says that the entire universe evolves as one entity, that QM calls the wave function.
Was life easier for a white male coal miner or for an upper middle class woman?

What was the life expectancy of men vs women in the 40s?

Throughout History the only thing that makes life easier or harder is which social class one belongs to. Not sexuality or sex or anything else.
I played a lot with this LLMs recently, and here they do not seem to be the vanilla versions. There in some prompt attached before or they were fine tuned to change the reply. In general they seem "broken" compared to the normal models.
It's unhelpful to bundle this into the "GPU" at large and is only true for desktop systems anyway. On mobile, video decoding, GPU and display pipeline are typically different hardware blocks often made by different companies.
If they're used they're safe enough..!

Of course they -often- should be a lot safer, but not by turning them into Android or an iPhone
The issue is not individual lookup time, it is the aggregate cost of millions database lookup requests that you can avoid.
People buying things now, because they are afraid they won't be able to buy them next year because of inflation or they're out of a job? A last hurrah if you will?
They call it a plugin, but it's an ad. It wouldn't be any different if they put an ad in the IDE and installed the plugin when you sign up.

> Hopefully at some point there'll also be an option to use a local LLM with the AI Assistant.

I would love something where I could pick the inputs or at least give it inputs that skew results. Right now I think the big problem with AI is bad input. Most of the dataset that's publicly available is junk. A lot of "answers" are people guessing at stuff they don't understand.

Honestly, I don't even know if (or how) LLMs work if you train them with a smaller, more accurate dataset.
This coincided with a reevaluation of the role of objectivity in journalism, and the rise in the number of journalists who also self identified as activists. While I don't think The View From Nowhere was every really possible, I do think that this reflected a shift in norms that resulted in more blatant cherry picking of facts and backfilling of narratives to support predetermined conclusions.

[1] https://mediaengagement.org/research/can-journalists-also-be...
[2] https://archives.cjr.org/editorial/the_right_debate.php
Not Denise, Paula.

Denise is the video chip. Paula handles interrupts, audio, the floppy data signal (control logic signals are in CIA) as well as the uart.
> Retail experts foresee decent sales growth for luxury goods, toys and tech during the holiday season

But demand is strong for pretty much everything.
i'm probably reading too much r/amiwrong and r/aitah
The Bambu Lab CoreXY printers have force sensors in the bed for leveling using the nozzle: https://wiki.bambulab.com/en/x1/maintenance/replace-the-heat...

Vorons also have a nozzle probing design: https://github.com/VoronDesign/Voron-Tap
I knew pretty well about the size and emptiness of space, but what blew my mind was a video where a guy, showing a ping pong ball as if it were the Sun, drove to show how far the nearest star is. Not 10 kms away, not 50 km away, nor even 500.

If the Sun were a ping pong ball, the closest star would be 1500 km away. It is utterly mind blowing expressed that way.

Indeed, our best chance to travel that enormous distance to our next door neighbour is perhaps to take our entire Earth there.
No, that's not a problem. If there is demand -- any kind of demand -- whether it's for people's primary residence, a vacation home, or a short-term rental property, you build more.

If someone can't find a house because there are short-term rental properties, the solution isn't to force someone to give up their STR, it's to build another house.

I absolutely recognize that short-term rentals have other undesirable effects on a neighborhood or building: noise, constant random strangers in the building/area, etc. I think those are reasonable reasons for banning or restricting STRs, but "housing shortage" is not among them. If you have a housing shortage, the solution is to build more housing, full stop.
>Kent Beck, who invented the term unit test, was quite clear that a unit test is a test that exists independent of other tests

I vaguely remember him also complaining that there were too many conflicting definitions of unit tests.

Maybe that can be solved with another definition?

https://xkcd.com/927/

or maybe not.

I dont know many people who would describe a test that uses playwright and hits a database as a unit test just because it is self contained. If Kent Beck does then he has a highly personalized definition of the term that conflicts with its common usage.

The most common usage is, I think, an xUnit style test which interacts with an app's code API and mocks out, at a minimum, interactions with systems external to the app under test (e.g. database, API calls).

He may have coined the term but that does not mean he owns it. If I were him Id pick a different name for his idiosyncratic meaning than unit test - one that isnt overburdened with too much baggage already.
> Mr Clancy said the issue had proven more complex than initially envisaged.

> "Digital depictions of nudity present a unique challenge - artificial intelligence can be used to create realistic images, and it can be hard to distinguish between digital art and photography."

I don't buy it. You're telling me with all the brains and tech talent you couldn't see this coming? I think they want to sell pornography to children.
The pricing vary depending of the use case, for those using the CMS, it is mainly for the usage of our hosted version of the visual builder and the CMS. We already provide ways to connect with other CMSes besides our own, like sanity, stripe, contentful, hygraph... But it’s possible to self host and connect with other CMSes.
E-readers shouldn't be thought of as a 'replacement' for physical books.

Best if e-readers are thought of as 'complementary' to physical books.

There are times when an e-reader is handier than a physical book, and times when a physical book is far more convenient to use than an e-reader. It's a question of access:

An e-reader works better for straight-out sequential reading, like (say) a novel. And you can carry a lot(!) of novels in a very light-weight medium which is excellent when travelling.

A physical book works best when you want rapid random access all over the book, like (say) a technical reference manual. You can flick through a book and pick up a wanted section almost instantly. You can also put a physical book down and not touch it for 10 years and then continue reading on from where you left off. A e-reader's battery would have died long since.

I use both. "Works for me."
My theory is that the HN audience is filled with:

A) People working at cloud providers who have a financial incentive to demerit any anti-cloud sentiment

B) People who do not know what life was like before cloud and think it means that developers will have to go and build datacenters

C) People who don't really care about the cost because it's their employer that foots the bill, they just know that working in cloud pays more so they want the gravy train of inscrutable services and will ride the sunk cost fallacy.

D) People who genuinely don't understand how servers work and it scares them that someone might have different technical knowledge than them in the company... and they might be able to say no to them.

I could be wrong, but if any of the above is true then it explains why people keep bringing out the same tired arguments that show no weight (more staff/build datacenters from atoms of sand) and articles like this get flagged immediately.

---

of course it could also be that the discussion becomes a tired circlejerk and lacks any intellectual curiosity, however I don't believe that.
> Also, it doesn't even have to look right, it just has to look cool! =)

The refrain is: Plausible. Not realistic.

Doesn't have to be correct. Just needs to lead the audience to accept it.

Yeah. And, cheat as much as you can. And, then just a little more ;)
I always see references to free will when certain people start talking about quantum mechanics. Why do people care if free will exists or not?

It doesn't seem to affect anything I can think of.

- It feels like it exists; it feels like I'm making my decisions. Even if my whole life is a series of decisions calculated by me in some inevitable way, the calculations still had to happen in my head, and the experience of deciding was part of that. Therefore I own my decisions either way.

- For that reason, a criminal is just as guilty of their crime, whether they spiritually willed themselves to rob the bank, or whether they are predetermined to. The decision to rob the bank happened in their head.

- Punishment for a crime makes just as much sense either way and for the same reason. Seeing criminals get punished will affect the calculations happening in nearby brains, possibly lowering the chances they will in turn decide to rob the bank. Removing errant decision-making matrices from society should reduce the amount of badness.

- All of the opposite things are also true for rewarding good behavior.

What would you do with a CPU that can do nothing but churn out malware due to a design flaw? What if it's a CPU that only does amazing things? Or if it's some mix of both? It seems very similar to how we'd treat people who behave differently.
After the Land Registry debacle [1] this seems like a terrible idea. It is now possible in the UK to steal a house, resell it, and for the new "owner" to have good title.

[1] https://www.bbc.com/news/uk-england-beds-bucks-herts-6339202...