skysight-inc/HackerNews huggingface dataset:
The majority of employees and C-level are russians. It is a Russian company.
A closer look at Intel and AMD's different approaches to gluing together CPUs
Tbh banning the whole ASN seems a bit excessive, you might be banning sizeable portions af a country.
Battlefield refuses to run under Proton
OP did allow the base frequency to vary when he did the fit. So if you found the first residual and then used the same varying-frequency fit, you might not get an exact harmonic of the base frequency. That would not be the Fourier transform!

But suppose you fixed the base frequency (which wouldn't be a bad idea). You still seem to have a nonlinear fit, because the phase (the "f" in the model equation in OP) is buried inside sin(). Why are we needing a nonlinear function-fitting process when the Fourier transform is linear?

Of course, you can bring the phase outside by adding in a cos() term with its own amplitude. Now instead of the phase "f" you have an interplay between the amplitude of the sin and cos terms, and those amplitudes are linear in the data.

The resulting fit (or recursive sequence of fits) would indeed be the Fourier transform.

The key property is the orthogonality of the various harmonics. That's what allows the sequence of single-frequency fits to not step on each other.
Majority of employees are russians including the C level
> can one construct a model of function calling that makes one not have to care about async vs. sync functions at the cost of something else?

If I understand it correctly this is technologically possible in Python and there are two main tradeoffs depending on how the event loop is modified. given the following:

x = 0
y = 0
async def set_x():
global x
x = await request_x() # returns 5
async def set_y()
global y
y = await request_y() # returns 10

def business_logic():
if x == 0:
set_y() # magic synchronous call to async func
print(x + y)

async def do_business():
business_logic()

async def main():
await asyncio.gather(
set_x(),
do_business())

What is the value that's printed? If all coroutines share the same event loop then we don't know because set_y() could yield execution and give it to set_x(). The author of business_logic() may not even know they are writing async code because it just works, and the author of main() assumes that do_business() is concurrency safe because it's async.

The alternative is nested event loops, so everything in business_logic() gets its own event loop that must fully complete before anything else in the parent event loop can run. This solves the concurrency bug but we've introduced blocking into code that was obviously intended to be async. This approach works (see nest-asyncio package) but the core devs have opted against it because they feel it makes it too easy to break the value of async on accident or out of laziness.

IMO something that could work is a `sync def` declaration where the function is written in async style but gets its own event loop and can be called synchronously. It solves the tainting issue while still being explicit, easy to convert to full async, and easy to lint for in projects where it would be a net negative.
> I and many friends have experienced Aetna routinely denying things that are explicitly covered by their plans and

My dad passed away from cancer over 20 years ago, and this was Aetna's plan even then. Each claim followed the exact same process of deny, approve but pay only pay a fraction, and then finally pay the correct amount. Literally every single claim. My mom built an automation in Excel to track the calls for each claim and to prompt her at the various time intervals required to follow up at each phase.

Personally, I experienced this went I went to the ER with acute abdominal pain and ended up having emergency surgery within a few hours. Naturally, Aetna tried to deny that my ER visit was an actual emergency. On the phone with the rep, I asked them if they new of any non-emergency situations where someone was able to have a surgery scheduled only 4 hours in advance. They agreed that it was an emergency and promptly paid $8k of the $16k bill. After another call several months later, they paid all but $800.
Any experienced Stein drinker will attest that the solution is to drink it at the same pace as you would a smaller beverage receptacle.
I would say yes, because many come from disadvantaged groups and are so smart they could get any degree but couldn't afford any; so they went to coding which is just about only well-paying desk-job field where you can succeed without a degree. So they needed to make money (they were poor and could not afford to "follow their passion", they needed to make ends meet, now - and probably support a lot of deadbeat relatives), and they couldn't afford a degree, and became coders. If they had more cash and fewer pressures, they'd probably just choose another field and equally succeed in it, but we see overconcerntration of them in coding because that's the only field that doesn't discriminate against/reject them.
In the past we just had line of sight microwave links all over the US instead.

I think it's just too damn expensive for your average webapp to cut out ten milliseconds from backend latency.
Hmm my intuition isn't agreeing with this. Does this have a name so I can read more about it?
I personally agree that there seem more low quality comments and also submissions but, as a sibling poster points out, we aren't permitted to discuss it because of the guidelines. There's nothing really to be done about it other than downvoting or flagging until the site moderators decide otherwise.
> why would they go above and beyond

Your parent comment isn’t suggesting they go “above and beyond”, they’re saying they don’t even do the bare minimum to comply. Those are wildly different things.

And as to why Apple would do it (either comply or go above and beyond), there are numerous reasons:

* To avoid government intervention. All the stuff they’re being forced to do was absolutely avoidable. The writing has been on the wall for long.

* To not have to keep paying fines.

* To not trash their reputation.

* For long-term customer satisfaction.

* So developers, which they depend on, don’t hate them. Just look at the Vision Pro, which shipped with no apps from the big players.

In short, being an asshole only made short-term business sense. In the long run, they should strive to do better.
But then when you really need them you have no infrastructure with which to extract them nor experience doing so. You have also lost out on tremendous economic opportunity from money you needed to spend on resources while the people you've paid, assuming they manage their income responsibly, have invested that money in further productive assets.
iOS 18.2 to Allow Third-Party Browser Web Apps with Custom Engines in EU
https://newenglandhistoricalsociety.com/new-hampshire-pine-t...

kind of.
Fil-C: Memory-Safe and Compatible C/C++ with No Unsafe Escape Hatches
From Fil Pizlo (http://www.filpizlo.com/), major contributor to WebKit's JavaScript engine, among other things:

> Fil-C is already powerful enough to run a memory-safe curl and a memory-safe OpenSSH (both client and server) on top of a memory-safe OpenSSL, memory-safe zlib, memory-safe pcre (which required no changes), memory-safe CPython (which required some changes and even found a bug), memory-safe SQLite, memory-safe libcxx and libcxxabi, and memory-safe musl (Fil-C's current libc).
I have loved JetBrains ever since I entered their ecosystem for the End of the World Sale in 2012. As a professional developer, I need my tools to work for me and not against me. That is why I pay for these tools and I appreciate JetBrains' consistent iteration on making them even better.

I do have a few gripes though. I wish the performance was better on my current setup on my M2 MBP. It is an awful experience when tools get in your way and break your flow. The file sync to MacOS is fairly laggy and new files that are created can take seconds to appear. UI interactions can be laggy. Sometimes invoking the context sensitive intentions/actions is blocking where it will hang for seconds. I need to keep my movements fluid to keep my train of thoughts on the track and not be derailed by my ADD.

I also would like a plug-in system that wasn't entirely on Kotlin, Groovy and Java. I did Groovy dev in a past life but it's painful for me today. Thankfully ChatGPT gets me most of the way there. I wish there were JS/TS bindings to build upon.

Overall, I'm pleased with JetBrains. I appreciate their content they put out on YouTube to further empower the developers that use their products with knowledge and guidance of efficiencies. I'll continue using it as my core IDE for the foreseeable future. I have augmented my flow with a bit of Cursor but JetBrains is the bread and butter.
I'm curious, how would looking at the Microsoft MFA app convince me that android apps aren't spying on me?
I used to think containers were they way and maybe they are, but so far my experiences with them has been really poor and marked by confusing interfaces and unnecessary GUI ops vs e.g. git ops.

If someone could explain to me how to programmatically perform all lifecycle features with a container (e.g. rebuild etc) without ever having to touch VSC’s special in-IDE command palette that would be incredible.

The current iteration is too much magic at the expense of too little control and visibility.
Looks interesting. Always looking at apps in this space, but I've found a good rhythm using 2do [https://www.2doapp.com/]. It allows you to set a "due" date, a "start" date, or a duration for a task. I also use the "snooze" feature a ton because it allows me to repeat a notification in 5 minutes, 1 hour, 1 day, etc if I cannot complete it at the originally set time.

I also use Things as others have mentioned but for more ad hoc tasks and reminders. 2do is great for my daily routine tasks and others that are recurring.
I think software should be neutral, otherwise why not implant an NSA backdoor in the Linux kernel to fight the Russian invasion?
If you want job1 and job2 to be executed in parallel, you could do this:

set result to [job1(), job2()]
set result1 to the first result
set result2 to the last result

The array expression will wait until all promise values resolve.

This isn't really what hyperscript is designed for, however: its async behavior is designed instead to take the async/sync distinction (and callback hell) out of "normal" DOM scripting. If you have sophisticated async needs then JavaScript is probably a better option. The good news is that hyperscript can call JavaScript functionality in the normal way, so that is an easy option if hyperscripts behavior isn't sufficient for your needs.
No invisible magic sounds more like something I've read about zig, maybe they were confusing it with that?
We love feedback, let me know what's missing / what you wish was better. We have a discord if that's easier, or just email me at nicholas <at> srcbook <dot> com
If every line had an implicit await then it is indistinguishable from pre-emption, which I think is the point the person you're replying to is trying to make.
Air-Taxi Maker Lilium Plummets After Insolvency Warning
They get play testers who aren't gamers and need their hand held like that. Studios and publishers think making the game accessible to people who don't play games will expand their market, but those people don't already know standard gaming conventions because they were never interested in games in the first place.
They also pulled the plug on free support for their Rust plugin which really upset me. Jetbrains is intent on making you pay before you get IDE functionality; I'd rather use VS Code or Zed these days.
I had a friend who participated in such a trial and ended up with long term liver injury.

It's not money for nothing and it's a bigger choice than people credit.
Threes would have worked fine as a free web game if they prioritized attention, but they chose to make it an iOS only paid app, presumably because they preferred making money over gaining attention. That's a very reasonable tradeoff in my book, I'd rather have money in pocket than stranger's upvotes.
Is there a reason one would not consume beer from a stainless steel vacuum insulated tumbler?

With a well insulated container the shape could be selected to minimize tipping / sloshing / spilling.
Specifically yjs provides a great experience for building CRDT editors.

I think it’s a big selling point.

I recently built a centralized, multiplayer, editor as a POC.

I did one iteration with hand rolled operational transforms (what google docs uses) and one with yjs.

Yjs just kind of works, where OTs require me to handle different kinds of data in bespoke ways and resolving conflicts is much more difficult due to the manual, one off nature of OT based systems.

Yjs’s CRDT approach is much simpler to get going with and, imo, CRDTs are easier to reason about than OTs.

Yjs’s implementation of CRDTs is quite a bit more space efficient than other implementations I’ve seen.

I haven’t dealt with either in a production scenario yet, but I’m going to be moving forward with Yjs crdts. There are native bindings as well.
Von Neumann randomness extractor

https://en.m.wikipedia.org/wiki/Randomness_extractor#Von_Neu...
Show HN: Create a custom GPT for your business
Hello everyone. I have created a SaaS that will let business owners create a custom gpt for their website and get leads 24/7. This is along the lines of Chatbase but priced lower with more allowance. I built this while homeless and at the library and could use some good luck with this. Any feedback would be appreciated!
I’ve always wondered this logic myself. I feel like a small book could be published around human psychology and air travel things.
I mean, yes, VS Code certainly is great and all, but…

> It's probably 70% of what VS on Windows is

no. From my perspective, it doesn’t even have 50% of VS features, and that’s probably a generous estimation. VS has lots and lots of features. Granted, many of them are irrelevant for most users most of the time.

Even Rider is lacking in comparison. It is very limited regarding debugging targets for example.
I didn't post any top level comments, I'm only correcting people who I see posting misinformation. Isn't the point of Hacker News for people to talk about things they have expertise in? This happens to be a situation I know a lot about since I was also a mobile puzzle game developer at the same time this happened.
Spectacular?? Terrifying. If I need to type non-ASCII Latin characters I'll just use compose sequences. The thought of a non-U.S. keyboard layout with modifiers required to type []{}<> and so on is terrifying.
It's customary in astronomy because it correlates more directly with observation. An object 10 parsecs away exhibits a parallax shift of 1/10 arcsecond.
This is exactly why I like all of this being handled in the return type. Return a Promise<T> or a Task<T> or a Stream<T> or an IEnumerable<T> as appropriate. Every function always returns immediately, but it might not do the important work immediately -- instead, it plans out the important work, which you can plug together as you see fit with other work and execute if you want, or simply return a composite plan for someone else to execute. All of its various "colors" are explicit in the return type.

Combinatorial explosions are wrapped up in the Ts themselves. Sure, you might sometimes get a Stream<Array<Stream<T>>>, but if that's simply the appropriate type to describe what your function does, then who's complaining? As long as you have various ways to manipulate those types, like "Combine" (Array<Stream<T>> -> Stream<Array<T>>) and "Flatten" (Stream<Stream<T>> -> Stream<T>) then you can handle everything. And you'll find that getting your types correct increasingly implies that your entire code is correct, so the compiler is helping you out a lot.
"Nadir" is a pretty good name for a product that aims to minimize something!
Students or OSS
Another argument why 1177BC happened is the rise of Assyria. After the Hittites fought with Egypt at Kadesh they quickly made peace as they now feared Assyria more. The Hittite vassals also rebelled and are believed to be the core group of “Sea Peoples” who would terrorize the Mediterranean. The Sea Peoples were not unlike the barbarians who would later threaten Rome. They brought their wives and children with them presumably to settle in new lands after the collapse of the Hittite New Kingdom.

https://luwianstudies.org/the-initial-sea-peoples-raids/

https://en.m.wikipedia.org/wiki/Hittites#New_Kingdom
Studio in BC for over $2500 a month.
You mean you? It took mere minutes to respond. :D
I loved JetBrains IDEs years back.

These days I am mostly using NeoVim.

I decided today to stop supporting JetBrains BECAUSE there is no good kotlin language server.

I would gladly pay them money even if I don't use their IDEs if only they provided a good language server.
It's entirely understandable that you have a different opinion from me; I just don't like the implication that "caring about solving problems" makes one appreciate Go, since that is what nearly all professionals care about.

Btw, my opinion isn't just "liking Rust" -- Rust has plenty of problems. My opinion is that Go is uniquely bad among modern programming languages. Most of the major flaws in Go are fixed in every other modern mainstream language, of which Rust is merely one example.
honestly I agree with that aswell, probably would be a lot to display - my use case was more for seeing the degrees of separation between contacts I already know rather than a list. But probably not super useful - been using heavily tho the past 24 hours really love what you guys are doing here
Discussion on the source (9 points) https://news.ycombinator.com/item?id=41934885
Anyone who has ever used an IBM product will keep this as far away from their code as possible.
> Sorry but this kind of theoretical reasoning wouldn't move a needle if I'm reviewing your PR.

If this were a PR review situation I would ask for a callgrind profile or timings or some other measurement of performance. You don't know how your code will be optimized down by the compiler or where the hotspots even are without taking a measurement. Theoretical arguments, especially ones based on handwavey applications of big-O, aren't sufficient for optimization which is ultimately an empirical activity; it's hard to actually gauge the performance of a piece of code through mere inspection, and so actual empirical measurements are required.
I lived in the C# world for a while and our style guides mandated that we use those JSDoc style comments for every function definition. I loathed them. They invariable became a more verbose and completely redundant version of the function definition. Developers even used a tool (GhostDoc, IIRC) to generate these comments so that CreateNewUser() became // Create New User. Nobody ever read them, few ever updated them, and they reinforced my hunch that a small percentage of comments are useful (in which case, by all means, use comments!)
Learnings from My First Freelance
Yes. The person I replied to described a situation that, to me, is made easier by this bifurcation.
This is neat!

I have a few thoughts:

- my intuitive sense of animals that are thin or fat is totally off. I think of cows as being fat (ex: "fat cow") but their body fat percentage is only 6%! I think of Gorillas being super fit and muscular but they're at 31%!

- I hate that I can't hit enter after changing the body fat percentage value and have it change

- on that note I'd prefer if there wasn't a "find my match" button at all—after changing the body fat percentage value the match should immediately update

- better than that would be a sliding scale of every animal and the one that matches gets highlighted and centered

- real-world pictures would be better and even better than that would be an image of the animal and a cross section/MRI of the animal where you can see the fat distribution
When I want to know whether something is pre installed on gh actions, I go to https://github.com/actions/runner-images , click through to the image we use, and Ctrl+F for the software I’m interested in. If it’s installed, it will tell me which version is installed.

If you’re getting your runner from someone other than gh, you’ll have to check with them instead.
The Scrum Survival Guide
Augment Code: Developer AI for Teams
Some more info here:
https://saielab.wustl.edu/all-projects/tugunbulak
Btw, as a paying ultimate user for the Java EE features I was surprised how good vscode support for the same is. And completely for free
Shohei Ohtani: the Dodgers' normcore megastar reached baseball's biggest stage
Rider is by far the best C# IDE. Especially if you're not running Windows. It was a real lifesaver while working with Unity.
I guess that depends on your definition of simplicity. I don't think of simplicity as 'easy to do' or 'less lines of code', but in terms of easy to immediately understand what the code in question is doing, both from explicitness of said code and size of language. Perhaps I should have used 'readability.'
How to Ruin an Engineering Organization
i don't know who Benjamin is, and i am unfamiliar with anything you've done since, but fwiw i also recognized your name from the sneedacity incident. you're cooler than i remember you being.
Apologists for socialism will state the usual: "But that wasn't /real/ socialism"

Socialists tend to believe that real socialism hasn't been tried properly yet. That's how they explain the litany of failure.

And if anyone wants to try the "but Scandinavia is socialist and look how great they are" trope then bring it on...
Containers are great interface with other teams – ie black box their services, don't care how their things are running, just communicate which envs to use to make it work according to comms spec.
Self-Hosting Marketing Automation Software: A Guide
You misunderstood my question. I'm pointing out that the compounding pharmacies and the med spas that buy from them are not getting it from any sort of official source - thus them getting sued. Having spoken to owners of compounding pharmacies, they are getting it from the Chinese manufacturers as well - not from other sources.

I've swapped to buying from Chinese manufacturers and reconstituting my own so I'm not exactly lining the pockets of Eli Lilly or Novo Nordisk.
History is so fascinating. You read about outlandish locations, cultures, peoples as you would in a fantasy
novel, then you realise it actually existed.
Journal paper had to be lead author. Lead author on 3 conference papers out of 6 published. That’s what I ended up with - 6 conference, 1 journal. I graduated before I got the second one published. I did ieee conference papers - so they’re the smaller size - 5-7 pages. The ACM ones are hard.
I don’t want to diminish others experiences, because I’m sure they’re just as important as mine.
All I can say is anecdotally I haven’t had any issues with disputes…in fact the dispute experience for me has been better than other cards. The app makes it quite simple.
You can't invoke "international norms" and then in the very next paragraph "but no talking about precedent, that would be whataboutism".

Norms are established through precedents. There are considerable precedents in the 21st century that military invasions DO NOT lead to international sanctions. So this isn't a valid argument, and it's true that that decision was emotional and politically motivated.
Duplicate of a post 10 minutes earlier https://news.ycombinator.com/item?id=41936873
I didn't intend for this to be propaganda, I don't even use it anymore since I'm on grapheneOS now.
But I have tried all three. I need to use a VPN in split mode for certain apps, and since using Tor with apps wasn't part of my threat model, I ended up using RethinkDNS (the app only). I don't necessarily like their upstream DNS servers, but considering that I can use my own server (and do), I don't consider that to be an issue.