skysight-inc/HackerNews huggingface dataset:
First, we create an AbstractFactory to generate objects that conform to our standardized output structure, ensuring extensibility in case "Hello, World!" ever needs additional variants. The Singleton manages our PrintManager, enforcing a single, controlled point of access to the output stream while Double-Checked Locking ensures thread-safe initialization. Dependency Injection provides our PrintHandler with a flexible logging system, allowing it to notify an Observer whenever "Hello, World!" is printed. The Mediator coordinates between components to ensure the PrintHandler doesn’t have direct dependencies on the OutputStrategy.

To maintain optimal efficiency, a Flyweight is used for the "Hello, World!" string, preventing redundant memory allocation. The Proxy regulates access to the print function, ensuring only authorized modules can invoke it. The Composite structure organizes potential multiple output streams, making it easy to expand the system beyond just console printing. A Factory of Factories, or MetaFactory, oversees creation of our AbstractFactories to maintain consistency and scalability.

Before execution, Encapsulation hides implementation details while Cohesion ensures the PrintHandler remains single-responsibility. Loose Coupling ensures that changing one component won’t break the system. Interfaces dictate behavior, and Abstract Classes provide reusable codebases. Dynamic Dispatch selects the appropriate OutputStrategy at runtime.

To enhance modularity, a Decorator wraps the PrintHandler for additional formatting options, an Adapter ensures compatibility with different logging frameworks, a Memento preserves state in case a rollback is needed, and a Facade simplifies access for higher-level modules. The Chain of Responsibility delegates different logging levels, while the Command Pattern encapsulates the printing request for possible queuing or delayed execution.

By adhering to Open-Closed, we can extend our print functionality without modifying core logic. Liskov Substitution ensures all output strategies remain interchangeable. Interface Segregation ensures smaller, focused contracts. Dependency Inversion prioritizes abstractions over concrete implementations.

Finally, SOLID principles uphold scalability, reusability, and maintainability. UML diagrams map out relationships, Sequence flows depict interactions, and Design Contracts enforce constraints, ensuring the system remains adaptable.

After all this, we simply call PrintManager.getInstance().print("Hello, World!"); and marvel at our masterpiece.
PCBs, copper pours, ground planes, and you
It's a "Gold Top", callsign PAT25

https://helicoptersofdc.com/helicopters/5-us-army-12th-aviat...
Sad state of affairs when SFgate is the more literate source. That said, I have to say its writing is getting better than this article was much more clearly structured.

The layout of the other was cancer even on desktop.
Ray Ban Meta is the first AR/VR product that's worth the price of admission imo.

The price isn't crazy, it's a very well put together product and I actually find myself using them. I wish I could use my AI of choice rather than Meta, but even so the AI presence in the sunglasses is actually helpful sometimes and the rest of the time is completely out of mind.

By far the best "AI assistant" hardware by a mile. Super impressed by the team behind it.
I know that everyone crosses all altitudes during landing. But why don't ATC / FAA stratify aircraft type and use by altitude.
Like all commercial traffic is put in even thousands altitudes. And the Military / EMS gets the odd thousands.

Its crazy to have things colliding like this.
If you know another language than English, try Microsoft Excel in that other language. And even if not, just for fun install a non-English version of Excel.

They translated the keywords. Even if you've programmed in proper programming languages for years without knowing English, all the regular keywords to get stuff done you will know in English. And you won't be able to do a single thing in Excel coz none of the keywords work.

One good thing I guess: You can honestly say when they ask you "hey, you know how to program computers, right? Can you help me with this problem in Excel" and you can honestly say: Nope, can't, no idea how that works. See it doesn't even have a simple IF.

Example: https://easy-excel.com/excel-in-other-languages/excel-formul...
So you are just like 50% of everyone else. It isn't unusual or uncommon nor proof that you did anything wrong at all, statistically a lot of people are going to be in that situation regardless of their own personal merits just based on the luck of the draw in life events and choices. That is why so many people are unhappy with current economic standards because obviously a lot of people that deserve better get shafted regardless, and others who are below average make out like bandits.
Because things can go from routine to multiple simultaneous life-threatening failures very quickly. Something like one flight declaring a mayday while another one just lost communication, all while the radar just started glitching in a weird way. Human intuition and common sense can sort it out. Deterministic algorithms would not.
pycontracts: https://github.com/AlexandruBurlacu/pycontracts

icontract: https://github.com/Parquery/icontract

The DbC Design-by-Contract patterns supported by icontract probably have code quality returns beyond saving work.

Safety critical coding guidelines specify that there must be runtime type and value checks at the top of every function.
How to "easily" use a second keybiard as a macro board ? Win Linux mac maybe ?

Easily
Commercial jet collides with Black Hawk helicopter near Reagan airport

1 hour ago | 92 comments | https://news.ycombinator.com/item?id=42874301

Many more details in comments, flight data, etc.
Oracle Database can do that with a feature called 'SQL Macros'

https://docs.oracle.com/en/database/oracle/oracle-database/2...

SQL> create table test_pallets (pallet_id number);

Table created.

SQL> insert into test_pallets values (1),(2),(3),(4);

4 rows created.

SQL> create table test_boxes (pallet_id number, mass decimal);

Table created.

SQL> insert into test_boxes values (1,10),(1,20),(2, 5),(4, 5),(4, 50);

5 rows created.

SQL> create function pallet_payload_mass(
2 p dbms_tf.table_t,
3 b dbms_tf.table_t
4 ) return clob SQL_Macro as
5 begin
6 return q'{
7 select
8 p.pallet_id,
9 coalesce(sum(b.mass), 0) as payload_mass
10 from
11 p
12 left outer join
13 b on b.pallet_id = p.pallet_id
14 group by
15 p.pallet_id
16 }';
17 end;
18 /

Function created.

SQL> select payload_mass, pallet_id
2 from pallet_payload_mass(test_pallets, test_boxes)
3 order by payload_mass;

PAYLOAD_MASS PALLET_ID
------------ ----------
0 3
5 2
30 1
55 4
Are you suggesting some kind of invulnerability? People iterate their techniques, if big techs are so capable of avoiding poisoning/gaming attempts there would be no decades long tug-of-war between Google and black hat SEO manipulators.

Also I don't get the narcissism part. Would it be petty to poison a website only when looked by a spider? Yes, but I would also be that petty if some big company doesn't respect the boundaries I'm setting with my robots.txt on my 1-viewer cat photo blog.
Can you imagine executing arbitrary SQL queries via your web browser? :D

Complete database control and potential privilege escalation within the DeepSeek environment without ANY authentication...
I believe his generality has more to do with his friends than the drug itself. I am a heavy user. Remembering names sometimes is hard upon first introductions, but besides that my short-term memory seems to function just fine. I have had many coworkers in similar situations at the organizations I've been a part of. We've stayed friends, they're doing just fine. Some are in happier work situations and no longer consuming to cope. I've been actively trying to find my own balance as well. But generalizing stoner -> loser is a harmful, limited, and ignorant perspective in my opinion.
No. We use some deterministic automation on the backend for helping with traffic management and rerouting flight paths, but the communication with aircraft is mostly done via voice. Everything happens too fast to insert a keyboard in the middle (*), and voice recognition would be too error prone for something safety critical.

(* CPDLC does allow ATC to send texts to/from larger aircraft, but this is only used for things that aren't time sensitive. Voice is still the primary method of control.)
Potomac is half frozen still.
Could be a relevant DEFCON talk: https://youtu.be/KYuBf2HpXJg?si=srOl5T6CY6Lg8HZQ

Sounds like maybe the ADSB was on in this case though.
Agreed. Why so many heli's to McClean? Are they just too stingy to pay the I66 toll in the afternoon?
Techology is a tool. It serves every corner of the political and ideological spectrum.
>It just needs to be plausible enough that OpenAI can make a reasonable case for continuing investment at the levels it's historically attained

>there's now doubt that a DeepSeek-level model could be trained without making use of OpenAI's substantial levels of investment.

But, this still seems to be a problem for OpenAI. Who wants to invest "substantially" in a company whose output can be used by competitors to build an equal or better offering for orders of magnitude less?

Seems they'd need to make that copyright stick. But, that's a very tall and ironic order, given how OpenAI obtained its data in the first place.

There's a scenario where this development is catastrophic for OpenAI's business model.
You do realize that the comments in replies quoting with counter anecdotes is specifically to point out that anecdotal evidence is just that and nothing more?

I think you might have missed out on some subtleness.
All software jobs, including those in startups, are affected by the amortization rule. It makes it harder for startups to afford more software engineers because they have to pay taxes on cash they don't actually have.

The only companies the new amortization rule helps is big established firms that can afford to amortize because they have excess cashflow.
Peanut gallery comment is C# because while you can do the old "enterprise factoryClassFactoryFactoryClassFizzBuzz architectural cancer" it doesn't fight you when you try not to.

Want to pass a pure function that takes structs as arguments around, sure.
Why would it need to even be AI? Why not just regular software? Couldn't airplanes just send a message that they want to land and the Air Traffic Control software sees where they are and what other aircraft are around and sends everyone the appropriate messages?
There's a number of people building various flavors of this. I'm one of them -- pulsemcp.com - we expose our data via API (pulsemcp.com/api) that is theoretically the starting point for what you're asking.

The issue with the current state of the ecosystem to do what you're saying is that server implementations all have extreme variances of quality. Some are very robust and reliable. Others have very poor and limited UX, if you can even get them to start up on your local machine.

So we're not really in a place where we can trust that a server "does what it says it can do [well]", and so any autonomous solution to "choose tools (servers)" probably won't work well today (yet) while the signal to noise ratio is poor.

Personally: I think autonomously choosing between tools is not the most compelling approach in the short to medium time horizon. I expect client application creators to get a lot of mileage by thoughtfully curating the possible servers exposed to their users, and building nice UX to integrate usage of relevant servers as-needed.
> When visual approaches are allowed, controllers can tell pilots to maintain visual separation from other aircraft, so they don’t have to leave as much of a buffer as with an instrument landing (where it’s entirely on the controllers to provide proper spacing).

From an incident at SFO where a Luftansa plane was not allowed to perform a landing using visual separation at night, and therefore was delayed interminably:

https://onemileatatime.com/news/lufthansa-a350-oakland-diver...
> On the other side, doctors such as X, Y, Z, have claimed success prescribing high doses of iodine for Hashimoto’s and for breast and thyroid cancers.

The blog post above didn't take long to go off the rails. Already in the introduction, the only "experts" in favor of high iodine are a bunch of quacks saying it can cure cancer. I have no sympathy for these fellows who are making a quick buck on the backs of vulnerable cancer patients.
not a bad question honestly.. I'd want some highly skilled humans there monitoring things but, yes. The air traffic control system of the US is absolutely incredibly amazing, but their entire mission, technology and equipment used to accomplish that mission, etc need to be reviewed, maybe rebuilt to be even safer.
Correct. At that altitude TCAS RAs were almost certainly inhibited. They might have gotten a TA.

On the tapes, the military helicopter was warned about the airliner. They replied that they had the traffic in sight and requested to maintain visual separation.
We can be a little sassy, as long as we acknowledge that the average X user is no better.
Yep, that's the right stuff. Now simply cross-connect all the free PCIe lanes of all thread rippers and you have a nice cluster for LLMs.
Where do you see 5 negative comments? Please link them?

Also why are you talking like cliquey high-school girl regarding a programming language. Complete with the emoji no less.

It's a tool, not a religion.
This came up recently, but generally musical instruments include a license for any music performance with that instrument.

Includes:
"STYLES, VOICES, PERFORMANCES, PATTERNS, ARPEGGIOS"

https://usa.yamaha.com/about_yamaha/proprietary_rights_notic...

There are limits to prevent copying of raw sounds and reselling.
> neurodivergent people don't need to be babied

> neurodivergent people need to be given work that they like, unlike normies who should just suck it up

hmmmm
Pluripotent heart muscle allografts for heart repair in primates and humans
One interesting I noticed is that the common sentiment online on "War on drug failed" is "so we'd better surrender to drug".
How is OpenAI going to train its next model?
> (albeit a bit complicated by byte-pair tokenization and decoder models rather than bidirectional)

You can clamp tokens (instead of letters / words) in the grille, I guess?
Surely the FAA would just shut the airport down in that eventuality, no?

Seems tenable for a GA airport in rural Wyoming but that is far too close to a major hub.
There's no good excuse, other than cost and training and equipment integration (which are massive costs, i know) for not having some kind of learning or at a minimum high levels of automation in 2025.
BBC is reporting that the Army has confirmed that it was a UH-60, not a VH-60, ie: not a VIP transport: https://www.bbc.com/news/live/cy7kxx74yxlt?post=asset%3A62b9...

Although it's early on and these communications are often chaotic/inaccurate.
Like many engineering problems, filter design rarely has a universal solution. Many MLCC exhibit resonant piezoelectric and or electrostrictive effects. Thus offer marginal noise floor performance in VHF/UHF LNA, and sometimes introduce more problems than they solve.

The main reason MLCC are so popular... is the price. =3
This will be the worst disaster since Colgan in 2009 which is the crash that upped the hours requirement for ATP pilots from 250 to 1500 even though both pilots had over 1500 hours. I think this is going to be a very big deal and very quickly become a political football. Regardless, this is absolutely awful and extremely unfortunate.
Curious how Fox News or MSNBC would fare in a NewsGuard Audit
If DeepSeek "stole" from OpenAI, then OpenAI stole from everyone who ever contributed anything accessible on the internet.

I just don't see how OpenAI makes a legitimate copyright claim without stepping on its entire business model.
Except access to the app didn't have to stop. TikTok chose to manipulate users and Trump by going beyond the law and kissing Trump's rear. It was only US companies that couldn't host the app (eg Google and Apple). Users in the US could have still accessed the app, and even side-loaded it on Android, but TikTok purposely blocked them and pretended it was the ban. They were able to do it because they know the exact location of every TikTok user whether you use a VPN or not.

Source:

> If not sold within a year, the law would make it illegal for web-hosting services to support TikTok, and it would force Google and Apple to remove TikTok from app stores — rendering the app unusable with time.

https://www.npr.org/2024/04/24/1246663779/biden-ban-tiktok-u...
what a non-answer answer!
Found it. The parameters are B=0 C=0.5458 in the Mitchell-Netravali formula to emulate Lanczos-3. It's not a perfect match, but I dare you to see the difference.
always was
I mean that it kneecapped the idea of RSS in the social consciousness. Most people believe that when Google Reader shut down RSS stopped existing, if they even knew what RSS was in the first place.

A friend of mine — in tech — asked me the other day where I was hearing a bunch of stuff and I said “my RSS feeds” and he laughed at me. That”s what I mean.
Fake thinking and real thinking
Isn’t this precisely how so many opensource LLMs caught up with OpenAI so quickly, because they could just train on actual ChatGPT output?
> fatal crash

But yes, you're right to point that out.
It just seems like software could pretty easily compute non-intersecting flight paths for all planes and assign them accordingly. As well it could real time monitor all trajectories and continue to give out the updated flight paths. I don't see why you also couldn't run a trillion tests using real and simulated flight data to make sure it works well.
To be fair lung cancer as the biggest concern to smoking was just the advertising boogeyman to convince people to stop smoking, the vast majority of smokers die from heart attack and stroke, not lung cancer. But telling some 14 year old kid that they might just drop dead at 55 of a heart attack isn't exactly convincing, to them that is old as fuck and just dropping dead from a heart attack sounds like one of the best ways to go at the time.
https://course.fast.ai/ is the best. From their site:
"
A free course designed for people with some coding experience, who want to learn how to apply deep learning and machine learning to practical problems.
"
Rough year+ for aviation at this point...
What I meant to say was that OpenAI did put a lot of money into extracting value out of the pile of (partially copyrighted) data, and that DeepSeek was freeloading on that investment without disclosing it, making them look more efficient than they truly are.
Indeed those donors must be elated.
> Now, when I said that 100nF “works well enough” above, what I really mean is your circuit usually doesn’t completely break if you use a 100nF decoupling capacitor. But given that the cost to use a larger, better capacitor is effectively nil in most cases

This is simply not true.

That Samsung cap he quoted is about 1 or 2 cents in volume from Digikey or Mouser. That cheap Chinese quote means that they are probably substituting inferior parts.

By contrast, the 0.1uF(100nF) in the same size is at least an order of magnitude cheaper. This matters a lot as you can wind up with a lot of bypass caps on your board (a significant percentage of 100 isn't uncommon). In addition, you can get 10V rating instead of 6V which means that you don't have to worry about USB transients destroying your cap and you get much better bias derating.

However, this article has a kind of fundamental misunderstanding:

"Bypass" caps (mostly) aren't about charge storage.

The point of a "bypass" cap is to provide a return path for high frequency signals--the "bypass".

All electrical signals require a circuit--that's a full loop. That loop goes positive power supply->chip A power->chip A out->chip B in->chip B gnd->negative power supply.

In the case of slow signals, it is fine for that loop to be that big. The problem is that as the signal speed increases, the resistance/capacitance/inductance of that loop the whole way back to the power supply gets bigger and bigger and starts slowing everything down.

You use your bypass capacitor so that the loop looks like chip A bypass (positive)->chip A power->chip A out->chip B in->chip B gnd->chip A bypass (negative). That loop is a LOT smaller than going the whole way back to the power supply. Which means that you want your capacitor to look a whole lot like a short circuit at the frequencies of interest, which 0.1uF(100nF) does.

In fact, given how much faster signals are nowadays, you probably want to use 10nF bypass caps, but that's an argument for another day.

As for RF bypassing, you almost always have to go to small value 0402 and 0201 in values like 100pF or lower, anyway. So, this discussion is mostly moot for RF.

Yes, if I have to use a ceramic 1uF capacitor for some other reason already, I won't sweat the idea of it serving as a bypass capacitor. But I'm certainly not going to upvalue all my nice, cheap 100nF bypasses.
OpenAI is going out of their way to demonstrate that they will willingly spend the money of their investors to the tune of 100s of billions of dollars, only to then enable 100s of derivative competitors that can be launched at a fraction of the cost.

Basically, in a round about way, OpenAi is going back to their roots and more - they're something between a charity and Robin Hood, stealing the money of rich investors and giving it to poor and aspirational AI competitors.
FAA is however an agency that regularly tangles with SpaceX and could be seen as slowing them down. Seems like a conflict of interest for the guy tasked with government efficiency.
the repo says the code is in the mypy repo and it looks like it is maintained in there. so I think it has had updates the last four years?
> there can be hundreds of arrivals per hour

I Googled about this. London Heathrow is widely regarded as the busiest two runway airport in the world. They allow less than 50 arrival per hour. Are there any airports in the world that can have "hundreds of arrivals per hour"? Conservatively, 200 can be considered "hundreds", then you would need 8x runways operating at max capacity. That seems hard to imagine. Google also tells me that Atlanta (normally the business airport in the US) can handle about 250 "operations" per hour, so let's say half for arrivals.

Serious question: Why is 3D such a hard problem for modern computers? I could imagine a plane enters a cylinder of airspace near the airport and automatically communicates by radio waves information about itself. Then, HAL9000 can provide guidance as a landing plan.
yeah, it's money.
Quantum theory and thermodynamics: No contradiction with new entropy definition
Trump is fully responsible for plane crashes /s
I played later, still I thought perfectly, but was 4-5 hearts short. Then I played again and cleared the board with 2 hearts to spare, and another time with 1 to spare. I've scored 303 and 302 points. It might be possible to score higher by getting really lucky.

I think it's about delaying using the heart-healup as long as possible. Use them at later levels, not earlier levels, whenever possible.