skysight-inc/HackerNews huggingface dataset:
> but architecturally they're inadequate for solving the problems modern frameworks and libraries address

Such as?

Do you think these are inherent limitation? Is it possible to get to an "adequate" place with webcomponents alone? Or with web component based frameworks or libraries?

> that's why you see them used nearly nowhere

Little companies you have have heard of using webcomponents extensively: YouTube, many Google properties, GitHub.

Personally I'm hella sad that this industry doesn't make new js frameworks like they used to. It now takes a Microsoft or a Facebook's name recognition for people to pay attention. And where-as before many people tried, devs in the React age see themselves not as capable web makers, but as downstream React craftsmen; we don't recognize in ourselves that we create & shape our development experience, are less trying to find what works for us & more trying to adopt & use existing tools.

I feel similar but different in this summation:

> the main thing we really need is time. There is clearly a best practices converging across the tooling landscape, best ways to solve common problems

We lack the range of experience. Time yes, but more so, there aren't visible enough pokers in the fire. And a lack of a strong blogging culture where every effort gets chatted up & considered by the broader mind. We don't really know what limitations or downsides there are; most folks haven't tried or seen many other tries.

(Shout out to niw-inactive Catalyst web component library, which I hope some day comes back. The action / target system rocks, very similar to CommamdFor/InvikerAction work that's been chunking along. https://github.com/github/catalyst https://github.com/whatwg/html/issues/9625#issuecomment-2115... )
I'm eager to see what a simple JIT can bring to computing energy savings on python apps.
>Currency counterfeiting is a different set of laws than interstate financial fraud

Which is somewhat irrevant. Teams dealing with each can still share headquarters, IT resources, support stuff, cafeterias, and lots of other things.
You really used a search specifically of people on their cell phones in subways as your proof that its the same everywhere? Wild.
Then why even consider it? You're giving up 50% of your weekend for nothing.
NirSoft web site provides a unique collection of small and useful freeware
Same as any other language. Separating UI from calculations is my most common need for it.
Asyncio is designed for things like webservers or UIs where some framework is probably already handling the main event loop. What are you doing where you just want to run something else in the background, and IPC isn't good enough?
Remote Internships Done Right
hi cryptoz! I'm curious to read about your approach but it seems I'm not the only one, your website went offline.
I'm really curious to see how this will work with async. There's a natural barrier (I/O versus CPU-bound code), which isn't always a perfect distinction.

I'd love to see a more fluid model between the two -- E.G. if I'm doing a "gather" on CPU-bound coroutines, I'm curious if there's something that can be smart enough to JIT between async and multithreaded implementations.

"Oh, the first few tasks were entirely CPU-bound? Cool, let's launch another thread. Oh, the first few threads were I/O-bound? Cool, let's use in-thread coroutines".

Probably not feasible for a myriad of reasons, but even a more fluid programming model could be really cool (similar interfaces with a quick swap between?).
But it would give you more headroom before rewriting for performance would make sense right? That alone could be beneficial to a lot of people.
I tried Tauri recently. I don’t recommend it. The current release, v1, is still a beta really with terrible documentation, and is not actively being worked on because the devs have moved on to v2 (in pre release).

They have an active discord which is good. But it’s painful to go through the chats trying to hunt down an issue. I wasted hours and hours just there.

I very strongly recommend electron. Yes the bundle size is larger but you will save so much time and effort that it’s worth it imo.
What did they do
I instead think that the lack of static typing is a waste of time, since without it you can have programs that waste hours of computation due to an exception that would have been prevented by a proper type system ;)
AI Enhances Story Creativity but Risks Reducing Novelty
also a good way to screen out astronaut candidates
<< AT&T were attacked, by criminals. The criminals are the ones who did something wrong, but here you are immediately blaming the victim. You're assuming negligence on the part of AT&T,

I am sure LEOs will do what they are paid to do and catch criminals. In the meantime, I would like to focus on service provider not being able to provide a reasonable level of privacy.

I am blaming a corporation, because for most of us here it is an ongoing, recurring pattern that we have recognized and corporations effectively codified into simple deflection strategy.

Do I assume the corporation messed up? Yes. But even if I didn't, there is a fair amount of historical evidence suggesting that security was not a priority.

<< Put another way - you trust a classical bank, with a money, to secure your money from criminals.

Honestly, if average person saw how some of those decisions are made, I don't think a sane person would.

<< But the truth is, given the size and international nature of the internet, there are effectively armies of criminals, sometimes actually linked to governments, that have incredible incentives to breach organizations. It doesn't require negligence for a data breach to occur - with enough resources, almost any organization can be breached.

Ahh, yes. Poor corporation has become too big of a target. Can you guess my solution to that? Yes, smaller corporation with MUCH smaller customer base and footprint so that even if the criminal element manages to squeeze through those defenses that the corporation made such a high priority ( so high ), the impact will be sufficiently minimal.

I have argued for this before. We need to make hoarding data a liability. This is the only way to make this insanity stop.
Likely the NSA

https://theintercept.com/2016/11/16/the-nsas-spy-hub-in-new-...
Non-blocking HTTP requests is an extremely common need, for instance. Why the hell did we need to reinvent special asyncio-aware request libraries for it? It's absolute madness. Thread pools are much easier to work with.

> where some framework is probably already handling the main event loop

This is both not really true and also irrelevant. When you need a flask (or whatever) request handler to do parallel work, asyncio is still pretty bullshit to use vs threads.
> I think the implicit assumption is that the vast majority of these breaches are obviously preventable (basic incompetence like leaving a non-password-protected database connected to the public internet is common).

Some breaches are certainly preventable. But is that the case here? I didn't see the technical details, I think they aren't released yet, but this is the conclusion everyone seems to jump to automatically, without necessarily good reason.

More importantly - these companies employ thousand of employees, all of whom could be doing something wrong that is causing a security threat. And there are thousands, maybe tens of thousands of people trying to find their way in. my point is that even without any negligence, if you have thousands of people trying to hack your company every day for years, it's easy to slip up, even if it's preventable-in-hindsight.

One of the first things you learn in working in security is that there is no perfect security, and you have to understand the nature of the threat you are facing. For these companies, the threat might very well be "North Korea decides to dedicate state-level resources to breaking into your company, plus thousands of criminals are doing the same every day". How is any company supposed to protect against that?
But they also correspondingly don't have any higher memory bandwidth than an ordinary PC. Obviously the "server" chips are going to want more than that. (Apple still solder the memory on the base model laptops though.)
It's doing the following cast:

&mut DeviceHandle -> *mut DeviceHandle -> *mut c_void

(with the pointer types being solved for automatically by the compiler)
it's like if you don't have an AI chatbot, no matter whether it actually improves the customer experience, are you even a company?
It’s always been an incredible resource
>Summary: We're discussing the act of taking a personal financial hit, for the good of society.

The word for that is "charity". That's what that word means.

Calling it "charity" impies it's done out of pity/compassion.

The parent implies it should be seen as a duty / contribution to the country instead.
its not more compact either, right?
I've changed the title since a lot of people think the article's own original title is "misleading or linkbait", as per the guidelines: https://news.ycombinator.com/newsguidelines.html
I'm glad it's more accurate, but now I'm disappointed. The title has me picturing people in wetsuits with harpoons rising from the water and spearing drones out of the sky!
It's a bit of a song and dance; you can turn a &mut T into a *mut T, and you can cast a *mut T into a *mut anything, but you can't do it in one step.
Banks don't really physically store much money any more.

And more importantly - the police exist. If someone were to actually physically rob a bank, enormous resources would be spent trying to find and capture them, then they'd be thrown in jail.

If they could do the same thing, but also be physically located in another country while doing it, with no chance at all of going to jail... more banks would be robbed!
Also Goldman Sachs: uses quant algorithms for high speed trading at scale.

What a joke.
The correct way is to follow what all other engineering and trade (medicine/law) already follow.

Some software engineers are licensed. A company must hire these software engineers, and any changes to what data is saved or how is saved must be signed by these engineers. If a breach occurs, an investigation occurs and if these licensed software engineers are found to be negligent, they lose their license. If they are found to be at fault, they get criminal penalties.

This, of course, must be coupled with penalties for management personals as well.
Hm, might be a DNS issue, not sure. I'll look into it, thanks!
SCHG
Was ready for this 15 years ago when I loved Python and regularly contributed. At the time, nobody wanted to do it and I got bored and went to Go.
Proteins from the same family (and thus the same fold) can share less than 10% identity and still keep the same functionality as shown by e.g. profile Hidden Markov Model comparisons.
I'm not sure about that particular story, but many similar stories are rooted in a very real issue of maintaining domestic supply chain expertise.

While centrally managed economies can just mandate that state-owned factories continue to exist, private markets won't do this. If you don't order tanks and missiles, the factories that make tanks and missiles will cease to exist, and the market will reallocate resources elsewhere.
I certainly support that recommendation, but it’s not responsive to my question.
Insightful comment; makes sense.
Look, I heard a lot of things from the guy at the street corner too, but that doesn't make it true.

We'll start with the fact that M1s aren't built on a "base", they're built at the Joint Systems Manufacturing Center in Lima. Government owned, contractor (GDLS) run, not a base.

What they do do is refurbish older tanks, which one I suppose could distort into "disassembling", if one wanted to make a rather distorted claim.

The waste contention for that base comes from an Army proposal to temporarily shut down the factory in 2013, which was supposed to save ~$1B. GDLS explained that, sure, can do, but spinning up production again is going to cost ~$1.5B, and restarting production in 2017/18 was always planned. It's not as simple as "the politicians always allocate money to the military".
Optimizing the Lichess Tablebase Server
> the city struggles to hire lifeguards to staff its beaches

They don't go into detail, but surely a fleet of drones with life raft deployment capability is a lot more expensive than just hiring more lifeguards?

I suspect if they put the drone budget into lifeguard pay, they'd find quickly they no longer have a problem recruiting.
In approximately 100% of cases, if your intuition is to say "this company is too large should be fined/regulated more," what you should actually say is "this company is too large and should be broken into many smaller entities."
Hah! We had ixemul.library and the geekgadgets distro back in the day! Full bizare GNU+BSD userland on top of AmigaOS!
We use both so feel comfortable here --

We picked perspective over datashader and others for most basic charts & cross-filtering in louie.ai. It checks a LOT of boxes for intense tools. We do GPU server-accelerated things for bigger viz (graphistry), and for frontend interactive (sub 1M rows), perspective is great. Likewise, for databrushing, we also occasionally swap in plotly for perspective.

We see a lot of scenarios like enterprise and web, and so having predictable scaling is important. Perspective is a useful tool here and offloads a lot of bursty server pressure by having strong clientside perf. You don't want 1 data scientist bringing down everyone else, so doing server-accelerated compute takes a lot more thinking. It took us years to smooth out serverside shared GPU compute with Graphistry, and we're still doing a lot more.

Otoh, for both perspective and especially datashader... the aesthetic and usability are abrasive & brutal, both for static viz + interactivity UX. I don't blame the authors, esp given the project roots. At the same time, an area I hope they will be able to afford investment in and will grow the community. Finance folks are used to this because 80s/90s quants disallow change now that they run everything, but it's a problem for most other people. We couldn't use either for core Graphistry, and are slowly working around this in Perspective for Louie.AI.
It’s interesting to me that the final assembly-trick-free version almost no longer looks like a hack.

If you commented the inner loop with something like “// Linear scan for adjacent nodes”, the reader gets an OK, if incomplete, intuition for why it’s faster. Even if you don’t know the exact CPU details, if you’re aware that flat arrays usually loop faster than contiguous linked lists, the nested loop immediately reads as a kind of “hybrid mode”.
This is already a well known fact: protein structure (and consequently function) is much more conserved than sequence, mostly due to biophysical constraints.
There is no incentive for the industry to do better. As for government penalties being an incentive:

If it was popular amongst the voters to hold corporations seriously responsible, you would see politicians campaign on it and win. It's not nearly as popular as virtually anything else based on empirical data.

Another way to say this is if 80% of all voters, regardless of party prioritized this as the #1, #2, and #3 issue, politicians would pass laws. It makes the politician look good and solidifies their reelection. Likewise, politicians that vote against those laws would almost certainly not be reelected.
Well you clearly haven’t put any effort into finding examples.

https://www.justice.gov/usao-dc/pr/former-federal-government...

Yes, he shouldn’t have accepted bribes, but in the private sector this would have been extremely unlikely to result in jail time.

Even if jail time isn’t a common thing, it’s far closer to happening to the average person working in the government than it is to those working in the private sector. The private sector simply fires bad employees. The government seeks to be made whole.
I'd guess introns are also prevalent in human-synthesised programs?
There's indeed a nice trick to be learned from cognitive science focused in biological cognition: the mind is embodied and embedded. Which means, roughly, that it is not portable. It doesn't store things like "glass at position x,y" but only "glass is at a small movement of the hand towards the right". Consequently, whatever gets encoded only makes sense within a given body and only inasmuch as it relied on its environment (with humans, that includes social environments). The good news is that, despite being not portable, this reliance on physical properties might be a step in the right direction, after all.
Usually performance critical code is written in cpp, fortran, etc, and then wrapped in libraries for Python. Python still has a use case for glue code.
I guess that depends from your perspective. I'm not a Python developer, but like many people I do want to run Python programs from time to time.

I don't really know Rust, or Cargo, but I never have trouble building any Rust program: "cargo build [--release]" is all I need to know. Easy. Even many C programs are actually quite easy: "./configure", "make", and optionally "make install". "./configure" has a nice "--help". There is a lot to be said about the ugly generated autotools soup, but the UX for people just wanting to build/run it without in-depth knowledge of the system is actually quite decent. cmake is a regression here.

With Python, "pip install" gives me an entire screen full of errors about venv and "externally managed" and whatnot. I don't care. I just want to run it. I don't want a bunch of venvs, I just want to install or run the damn program. I've taken to just use "pip install --break-system-packages", which installs to ~/.local. It works shrug.

Last time I wanted to just run a project with a few small modifications I had a hard time. I ended up just editing ~/.local/lib/python/[...] Again, it worked so whatever.

All of this is really where Python and some other languages/build systems fail. Many people running this are not $language_x programmers or experts, and I don't want to read up on every system I come across. That's not a reasonable demand.

Any system that doesn't allow non-users of that language to use it in simple easy steps needs work. Python's system is one such system.
This is a common misperception but it’s not that simple. Here’s an old study discussing how it varies based on the field, where the lower level jobs do tend to pay better but higher-skill jobs have the opposite trend:

https://www.cbo.gov/publication/52637

Since the Obama era, this has gotten worse because there were a ton of people trying to score political points saying they were cutting waste by freezing civil servants’ salaries and that really got ugly in tech jobs because salaries were booming once things like the Silicon Valley wage collusion lawsuit and high demand for security, DevOps, etc. started raising the ceiling for the private sector. In 2010 the top end of the GS scale was competitive once you factored in benefits, hours, etc. but a decade later that just wasn’t the case. I knew multiple people who were trying to stay in the public sector but it was literally 2-3 times more money if they went private even though their skills were considered mission critical for their agencies.

This sabotages contract work, too, because there isn’t anyone qualified to guide or review the work and that tends to burn orders of magnitude more money than simply paying more directly would.
well there you go, even the word "verified" will fool people, we've come full circle back to the title of this submission. now sure I know what it means, it means twitter has checked that the "check has cleared this month" or something to that effect but if folks are getting deceived by the blue check mark, I'm going to hazard a guess that "verified" isn't going to help.

anyways let me search and see if we can clear this up:

Blue checkmark: It currently means two things. 1) An account with this checkmark is a legacy verified account

yah ok, let me try again

The checkmark does not imply endorsement from Twitter, and does not mean that tweets from a verified account are necessarily accurate or truthful in any way.

thats a good definition from wikipedia. lets try x themselves:

Accounts that receive the blue checkmark as part of a Premium subscription will not undergo review to confirm that they meet the active, notable and authentic criteria that was used in the previous process. Learn more about the blue checkmark here.

so essentially the "check mark" means the "check" has cleared I guess hehe

I personally think maybe they should use a different icon for the folks paying, the check mark itself has previous meanings (and really, inherently the "check mark" icon itself sort of goes more with the previous meanings especially those users still left over from the time before the reputation of the site was flushed away haha
Crusoe is unabashedly anti-remote work, which is curious considering their company’s environmental and energy locality focus. I interviewed with them, they are very much an old school “you must all work physically in San Francisco” company. I work for one of their competitors now, one that embraces remote work.
You're asking questions already and looking for input with an open hand, so you're already on the right frame of mind.

Before anything else: just start asking people in your target industry/demographic questions. "Hey, I'm thinking of making a go of this. How do you make money?"

Are you open to creating motion content for any type of situation, so long as it gives you the freedom and compensation you want? Or is your heart set on the contexts you've outlined?

If the former, I'd optimize my efforts on creating a wide surface area from which to learn where the money is for motion visual creators. (Answer: it's probably in advertising)

If the latter, I'd go deep on understanding the business of motion visuals: who pays for them, how much (and how big is the pool?), who decides on them, what the process looks like. Reach out to labels, radio stations, other artists in the same space.
“But why don’t you want to work on Sunday mornings?”
Probably a silly and useless idea, but what if there was an ORM that was designed around CEL?
When is the last time you had a bug IRL caused by passing the wrong kind of thing into plus(x, y), which your tests didn't catch?
>You could fit Europe inside the US.

If we're considering contiguous US, then no.

Europe is 3.93 million square miles.

Contiguous US is 3.15 million square miles.
It calls x.__add__(y).

Python types are strictly specified, but also dynamic. You don't need static types in order to have strict types, and indeed just because you've got static types (in TS, for example) doesn't mean you have strict types.

A Python string is always a string, nothing is going to magically turn it into a number just because it's a string representation of a number. The same (sadly) can't be said of Javascript.
Unless there were gaping liberties taken with facts in that book, I can't for life of me fathom how that book still hasn't been made into a movie yet. It's amazing how one person was at the right place at the right time and at the wrong place at the wrong time in two very extreme ways in one lifetime.
Incandescent bulbs used in microwave ovens easily outlast the ovens themselves. When a 20 year old microwave oven dies for one reason or another, it's not unusual for the light to still work.
I hate quadcopter drones like you wouldn't believe. They're so annoying and invasive. I'm glad the birds are pushing back at least.
> If I understand, the conversion of gallium into germanium is exactly a beta interaction

In a "standard" beta decay the neutron turns into a proton and emits an electron and an anti-electron neutrino. In this reaction its absorbing an electron neutrino and emitting an electron (while still turning the neutron into a proton). Absorbing an electron neutrino is pretty much equivalent to emitting an anti-electron neutrino.