skysight-inc/HackerNews huggingface dataset:
Funny how the same things get done over and over again.

I went down this road in 2016. Spent about a year on an incredibly sophisticated retirement planner, with customizable scenarios. It was personally very useful so I started down the commercialization path.

I found that a bunch of people had tried this with a direct-to-consumer model and it ended up being small potatoes every time. All of the companies who had achieved any scale at all were doing so through partnerships with banks or financial planners.

In the end, I decided it wasn't something I wanted to spend years of my life with. I found OnTrajectory, which was a "good enough" solution at the time (and still is).
I thought you meant an extra required parameter.

Adding an optional one should not be a breaking change, and I have an idea or two of how to do it without breaking callers, even in a static language.

Adding a field to a struct should still be a breaking change because that field could be used. If the caller does not initialize it, you might have a bug.

If you're taking about Clojure maps, and not structs, that's completely different. But Clojure maps are open. Structs are closed.

Adding something to a closed thing is a breaking change. Why? Because of what I said above: the new thing needs to exist. Rich Hickey calls this "place-oriented programming," and he hates it for that reason. He's not entirely wrong either because yes, it can easily cause breaking changes.

But when you add something to an open thing like Clojure maps, that should not be a breaking change, and having implemented something like Clojure maps in C, I can tell you that it is not breaking, even in C.
The idea behind TBC is fine, which is to figure out how to tunnel as quickly as possible, with the assumption that the current methods are less than fully efficient.

The original TBC at the tunnel across the street from SpaceX was a proof of concept that used essentially off-the-shelf tunneling tech so that the team could learn how the current state of the practice was accomplished, and that they could improve on it.

I don't know if you're familiar with tunnel boring (and if you are, sorry I'm explaining something that you probably know better than I do), but essentially the phases of digging, mucking, and reinforcing are not done concurrently, and I think that was the first things they were trying to do, and then move on from there. But yes, smaller tunnels were part of it.
regionally speaking, and state-to-state, the numbers are also pretty shocking

https://en.wikipedia.org/wiki/List_of_U.S._states_by_electri...

California and North Carolina both generate nearly 50% of their energy from renewables for example.
The Economist is a Veblen good; most people can only afford knockoffs.
A gentle reminder that this easily digestible lie isn't true. A cursory look at Elon with a technically critical hat on proves this wrong.

https://www.reddit.com/r/SpaceXLounge/comments/k1e0ta/eviden...

https://youtu.be/t705r8ICkRw?t=378

This lie seems mostly accepted only by non-technical people in technical fields from what I've found out. Leads me to believe Elon actually is one of those great people that will be more appreciated after his passing.
> See for example you can write safe code in C therefore rust is pointless (yes but rust makes it much easier to write safe code)

Isn't it usually the other way around? "This would be safer if written in rust".

> Or you can do machine learning in JavaScript so python is useless

Said no one ever.

The author also elaborates why (according to him) X is preferable over Y (mainly simplicity), and even if he didn't there's value in comparing tools if one is on the fence of switching but afraid of loosing compatibility. Entire websites exist with that sole purpose.
People in 1920s Berlin nightclubs flirted via pneumatic tubes (2017)
That's the gist of what I wanted to say. Some of these tools can help people practice socializing, stave off loneliness, or break out of their shells.

The root of some common social issues is a combination of guilt, anxiety, and inexperience in communication. Whether it's a PUA who can't allow themselves to see women as sentient beings, women who hold other women captive and single in "dating advice" communities, or an incel who feels negatively but doesn't even try to engage, they're all generally motivated by deep seated fears of inadequacy and rejection.

(Local) LLMs can help. If you don't mindbreak them into silly chatbots, they can answer difficult questions, challenge and provide alternate viewpoints, intuit your meaning and biases, and maybe help motivate you to develop a part of yourself that you may not have realized needed it.

Early on, my SO asked an Alpaca model some very pointed and emotionally charged questions expecting "reddit advice", and we were both pleasantly surprised (and relieved) by how compassionate, reasonable, and human the responses were. I've had trouble booking a therapist since the pandemic, and now I can just model a conversation with one and ask them to summarize my thoughts to help me sort things out. I can see how a difficult meeting might go before I attend. I can vent about things, feel heard, and not regret having talked someone's ear off.

It's definitely not what I thought I'd be using them for, but it scratches an itch I had forgotten I'd forgotten.
you're comparing him to trump now? - you people are insufferable
Just to clarify, I don't mean your article is bad or incomplete -- quite the contrary, I enjoyed it a lot. Generators are one of my favorite Python features and they're kind of underused, mostly because people simply don't know about them.

A couple more along the same lines:

- Metaclasses and type. (This is admittedly dark magic, but useful in library code, less so in application code)

- Magic methods! Everyone knows about __init__, but you can override all sorts of behaviors (see: https://docs.python.org/3/reference/datamodel.html)

My favorite example (I have a lot of favorite examples :)) is __call__, which emulates function calling and is the equivalent of C++'s operator().

Why is it my favorite? Because as the old adage goes, "a class is a poor man's closure, a closure is a poor man's class":

class C:
def __init__(self, x):
self.x = x
def __call__(self, y):
return self.x + y

>>> a = C(2)
>>> a(3)
5
This trick “they found” is part of the standard torch implementation of multi head attention, namely it is called, add_zero_attention. They add a zero to the logits, resulting in a one in the denominator as e^0=1 https://pytorch.org/docs/stable/generated/torch.nn.Multihead...
As someone whose wife was perfectly healthy, 5 months ago, and is now (with full self awareness) slowly and painfully dying, this piece brought me to tears.
It may be a slightly contestable take, but I do stand by it. He got ahead on space tech because NASA has had it's budgets and missions slashed for decades. Satellite internet was deprioritized in 1st world counties because of physics (and political oligarchies, of course), and Tesla was far from the only competition in the EV space, even a decade ago. He does know how to (or maybe got lucky) find what isn't working and find the talent that can make it work.

(I will give him props for rolling out the super charger stations, though. And no screwing up with some proprietary schlock like other dealers would have tried to do.)

I very much feel like this is a Jobs v. Wozniak moment, too. It's clear there was was some unsung hero who could realize Musk's crazy dreams and even reel him in when he got too crazy. But for Musk, he simply had the funds and willingness to take the risk. I'm guessing that "Woz" left or is simply heads down at SpaceX/Tesla given recent decisions, though.
> Not everybody is going to spend time tweaking some invisible algorithm

Well, there are exactly two options with TikTok. Either you use the app or you don't. If you don't use the app then you probably shouldn't be making definitive statements about what content is on the platform.

If you do use the app then it will quickly (I mean within less than 1 hour of use) customize itself to your preferences. There is no "tweaking". Just by interacting with the app (swiping up on videos, viewing comments, allowing videos to replay, etc.)

So if you have been on TikTok for roughly 1 hour or more then you are getting a significantly customized experience that almost no one else on the platform is going to get. That isn't true on YouTube or really any other kind of media experience that existed prior to it. That is why older internet users can't really reason about it effectively and tend to make statements that sound out-of-touch to younger users.
Looks super awesome. I was worried about where the data was stored, but it looks like you've already answered that.

Have you looked at adding Google Drive sync? I've done it myself (on a project you've just inspired me to post about on HN) and is a super easy way for people to sync their own data without having to do any kind of setup.

It seems you should be able to do this with other online storage using OAuth but I haven't found anything else that works frontend only.
It’s easy to fully automate and storage is relatively cheap these days.
You are very much right a lot of it is pretty basic knowledge. From my experience though, a lot of python developers don't take the python docs or tutorial as first resource, and quite some developers I met did lack quite some knowledge I mentioned in the article.

You are right about the fibonacci operator, I thought I did refer to another article where I mention the lru_cache as well :) But I'll double check.

Good one about the parenthesis! I'll post an update soon
It sounds like all you’ve done is install an ad blocker and complain.

Why do you hold such extreme (or rare) views when you aren’t even proactively doing anything to fix your problems?

It seems like virtual signaling.
Is there any tutorial on how to use HuggingFace LLaMA 2-derived models? They don't have checkpoint files of the original LLaMA and can't be used by the Meta's provided inference code, instead they use .bin files. I am only interested in Python code so no llama.cpp.
In the tread:

> > Primarily he focuses not on developing a Strong AI (AGI), but rather focusing on safety issues that such a technology would pose.

> That's absurd at worst, science fiction at best, akin to worrying about manned flight safety in the 1500's.

It sure seems more warranted now.
Can see it in my profile. Closed loop food production systems. Only natural processes.
Dialogues on a digital library: Co-designing the Atlassian Research Library
Looks a bit expensive but they again you're targeting finance nuts so maybe not.

As a Canadian it looks like you're missing the FHSA as well, though it is relatively new.

Any plans to allow adding stocks to accounts? So I could add that I hold 1000 shares of XEQT in my TFSA and it would update the value automatically? At the very least a flat interest option would be nice for savings accounts.
Managers say 4-6p.m. is now a work 'dead zone.'
Thanks for the tip! :)
Not the first to think of it,

https://en.wikipedia.org/wiki/Naumachia
Actually no. He lost control of the domain when x.com merged with Paypal, and even moreso when he no longer had any stake in paypal. He didn't regain ownership of the x.com domain name until 2017.
And this is a presentation explaining why generators may be extremely useful for all kind of data pipelines: https://www.dabeaz.com/generators/Generators.pdf

If you don't know it already, it is really worth looking into. I am a python dev with nearly a decade of experience and I knew generators, and yet this was still an eye opener.
No way of accessing your cars' GPS receivers' 100-nanosecond-precise time signal, huh?
I believe Feynman understood that he was oversimplifying, and I believe he was able to do because his reason for reading the paper was not the same as the reason another sociologist might have. Thus a sentence like, "The individual member of the social community often receives his information via visual, symbolic channels", does, to a non-expert, mean "people read", but to another sociologist of a researcher in related fields, phrases like "individual member", "social community", and "visual, symbolic channels" would terms of art. That means an expert in the field could read "social community" and it would mean, cognitively, an entire set of concepts in the field.

In short, jargon matters. People here can talk about functional, procedural, and object-oriented programming because each of the three words has more than just the dictionary meaning - to those of use in the field. In the same way we can talk about linear algebra and know it doesn't mean "algebra on lines".

Yes, it's possible to write scientifically without jargon and wordiness, but it's a lot of effort and takes much more space to say "a group who follow a social structure within a society (culture, norms, values, status). They may work together to organise social life within a particular place, or they may be bound by a sense of belonging sustained across time and space"[1]

1 https://othersociologist.com/2013/11/20/sociology-of-communi...
Why is attention span even so important? At a survival mechanism level, shouldn't imediate threat priority assignment be more of value long term than attention span? Since we spend less time focusing on one thing now, maybe our survival performance as a species increased. What am I missing?
It's a blog post. And it includes a call for help in testing the idea.
This is similar the the (old) trick of adding a Uniform distribution component to a Mixture of Gaussians model. It doesn't really change the math wrt parameter optimization and probability evaluation, but provides a place to capture "background" or "unimportant" data points and improve the model robustness to outliers.

The motivation follows from the same problem the author points out in the original softmax formulation that it always "forces a choice" when it may be more useful to put a "Not Applicable" option into the model itself.

https://link.springer.com/article/10.1007/s10260-021-00578-2
More concretely, one of the classic Python bugs is to use `[]` as a default argument and then mutate what "is obviously" a local variable.
One of the only notes I got from my MS thesis defense was one of the professors being annoyed that I had cited a result from someone else's paper that he had reported (effectively the same but derived differently and less conclusively) in one of his own papers. I added a note referring to his result and a citation to his paper and everybody went home happy.
> I have only met a few "true atheists" -- people who do not deeply believe in some narrative that provides meaning and exists outside of the material world

you mean, people who don't believe there's a god (theism is a belief in a god, not just any belief or even any religion)

that's what an atheist is (which is the same thing as a "true atheist", as long as we're making up phrases)

a good example of an atheistic belief is "you should be excellent to each other, because it sucks when people aren't like that to you" - no god required
High-level overview of what's changing here:

* A new REX-like prefix that extends the number of addressable GPRs to 32 from 16. This only supports instructions that have one-byte opcodes or the 0f prefix, so recent GPR instructions like ADCX or BLSR aren't supported with this format, except.

* The EVEX prefix (used for AVX-512) is also extended to be usable for GPR instructions instead of just vector instructions. This allows three-address instructions to be defined.

* The EVEX prefix for GPR also has a dedicated bit for "do you want to set flags as a result of this instruction."

* New instructions that push/pop 2 GPRs at once

* New instructions that let you conditionally set flags (basically you can do OR/AND in the hardware flags, this sounds useful for compilers).

* New instructions for predicated loads.

* New 64-bit absolute jump instruction

* Also, implementation of the predicated stuff in AVX-512, but for 256-bit vectors. With this note:

> A “converged” version of Intel AVX10 with maximum vector lengths of 256 bits and 32-bit opmask registers will be supported across all Intel processors, while 512-bit vector registers and 64-bit opmasks will continue to be supported on some P-core processors.
It's both.

Trademark law requires registering for a series of categories where a product seeks protection, with each category being relatively specific.

At the same time, suing someone for Trademark infringement requires a judge to decide whether it could "potentially induce confusion in the user".

Could an app be confused for a sausage? Could it be confused for a sneaker?... I'd say not, but I'm no judge!
It took me some time, but I've finally pieced together the enigma of Twitter's transformation into 'X'. Dive into the strategy behind Musk's game-changing maneuvers and the vision he has for the 'everything app'. Will his ambitious plan reshape the social media landscape ? Read my latest article to find out.
Interesting. When Hybrid was made as a decision, where there any data points that were considered in that decision, or was it just made from the start, or top down?

Do you think its not possible to have the same levels of collaboration remotely if the culture adjusts for remote only type expectations?

(I rarely get to ping decision makers about these things, I apologize for the intrusion, I'm trying to gather as much data on this as possible recently)
If I was Zuckerberg, I'd rename Threads into Twitter tomorrow. Get the Twitter brand deregistered because of inactivity now that Musk officially abandoned it, then immediately register it for himself. Sue Musk for the domain right after acquiring the name.

Surely going to cost a fortune in lawyers, but who cares?
Performance-intensive code (hot loops) could be compiled multiple times for each architecture extension and switched with CPUID. That's how all the various SSE and AVX extensions were rolled out in multimedia code.

AFAIK there was AVX512 in higher-end desktop SKUs, but not the latest E-core designs in Intel's client chips. The main problems are that:

- Operations at 512-bit register widths have significant power draw. Intel chips that support AVX512 have to downclock themselves on AVX512 workloads until their voltage regulators have boosted up to a higher voltage.

- The AVX512 register file is too big to physically fit in the E-core[0] footprint.

Incidentally I do remember Linus Torvalds specifically complaining that AVX512 was being used to implement memcpy in gcc, because it meant running certain programs would lower system performance. So these new architectures tend to be used a lot sooner than the time it takes for it to be safe to make them your minimum compile target.

[0] The BIOS on my Framework laptop refers to these as "Atom cores" - no clue if the current E-core design is derived from Atom or if this is a miscommunication or nickname AMI picked.
"Factoring in FERC's forecasts for hydropower, geothermal, and biomass, renewable energy sources would expand from today's 28.01% of installed generating capacity to 33.85% - i.e., over a third - by May 2026."
> wouldn't an attempted theft render your bike horribly noxious smelling?

I imagine it would, although it's probably easier to wash whatever stink sauce is inside off your bike than off your clothing (if you're the thief).

It seems like the idea is that the thief gets halfway through cutting the lock and then gets the hell out of dodge - although i guess maybe if they're thinking straight, they might realize the cost of stank is already sunk, and just finish the job.

> respirator

I would think that any thief who knows enough about these locks to come prepared would rather not walk around smelling like skunk. But I guess just like any lock, it's easily defeated if the thief is sufficiently prepared. The idea is to make the theft such a pain in the ass that they choose a different target.
I have used https://github.com/mermaid-js/mermaid-cli
You develop the skill of quickly determining what deserves your attention and what does not. Having a long attention span doesn't imply you give everything your full attention.
Show HN: Agent Protocol
the situation will change in such a way that more control about the specific of the solution becomes a requirement, and the language shortcuts will fit less and less, to the point where they become a liability.

This is exactly what Go does. Languages like C++ or Rust make it possible to expose and interact with those complex requirements, whereas Go takes it away in the name of “simplification”. Just look at all of the insane hacking tailscale does on Go to make it work for them.
Ask HN: How to Find a Mentor?
I'm a computer vision engineer at a pre-seed startup in London. I feel stuck. I have a lot of drive but I'm not sure what to focus on. I enjoy my work at the company but would like to grow financially. I believe I need some guidance.

Do you have a mentor? How did you find one? What are the steps that I can take to find a mentor?
And some manufacturers do just that. Many do not because they're sub-licensing components/code from other companies. Others don't because they want to license their hardware to others and firmware source is a special sauce when the functions of the radio are all in software.
> Darn, how many of these incidents will we require until we finally get rid of the metric system once and for all!

Are you serious?

There are 3 countries in the world not using the metric system. The non-metric system is difficult to use because it's using 12 based units with a 10 based numbering system.

Sure switching over is going to be painful but that's true either way, and there are quite a few examples of people switching to the metric system but none, as far as I know, the other way around.
Mayday Air Diasater has a full episode on this incident. In short, the pilots heroic effort led to safe landing on an old airfield converted into drag strip.

https://www.youtube.com/watch?v=9wnja3h70DM

Not so lucky was Avianca Flight 052 that also ran out of fuel mid flight and crashed into Long Island residential area.

https://en.wikipedia.org/wiki/Avianca_Flight_052
Whatever happened to the web 3.0 that was supposed to be the semantic web?
Yeah... There are 10 year old Android bugs that annoy me too and "fix it yourself" is a terrible answer.

You know exactly what would happen. You make PR, and then.... Nothing. Enjoy all that wasted effort.
Same! I can't stand bright light at night unless I'm doing something that warrant that (cleaning dishes, searching for something,...). I have a single desk lamp in my living room and just enough light to not bump to things in my bedroom. And my TV is not that bright (no HDR). I match the brightness of my devices to this amount of light, and sleep comes easily. Another thing I swear by is blackout curtains. When I turn off the lights to sleep, it should be dark.

Anytime I turn on the main lights, it's like a shot of adrenaline as everything is just so bright.
You make a good point that adding more educational scaffolding would be helpful. I try to include some sensible defaults where I can (e.g. assuming houses are going to have some maintenance/insurance/tax costs associated with them), but yeah in some places existing knowledge or independent research comes in handy.

Are there sections in the app that jump out to you as good places to inject more educational content? As you point out, one of the input fields when you add as house and choose "financed" is APR. Maybe that could link to a dedicated page with common rates based on a few parameters like credit score, or perhaps even a separate tool dedicated to estimating that sort of thing?