skysight-inc/HackerNews huggingface dataset:
The importance of the "Attention is All You Need" paper by Vaswani et al., in 2017 is that it introduced the Transformer type of model architecture.

The model is so named because it "transforms" one sequence into another. For example, in a machine translation task, it can transform a sentence in one language into a sentence in another language.

The key innovation of the Transformer model is the use of self-attention mechanisms. This means that instead of processing the input sequence word by word, the model considers all the words in the sequence at the same time and learns to pay "attention" to the most important ones for the given task.

In essence, the Transformer model is a design for building network architectures that can process data in parallel and focus on different parts of the data depending on the task at hand. The Transformer model has proven to be highly effective and flexible, and has been adopted in many variants and applications, including BERT, GPT, T5, and many others.
As much as interviewers want to be seen as tough, they have to balance that against people not being willing to appear on their show anymore, depriving them of income and influence.

A not unreasonable position. There are commentators to do that work later on.
> If you want to be taken seriously, step one is not adopting Ron Paul's economics rhetoric.

I don't think Ron Paul is the only one who would call our economy "debt-based". Look at interest rates: when they go up people complain because they can't afford to borrow to buy a house or car - the economy tends to head into recession. That seems to indicate that debt is an important part of the economy.
Well before, some stray dev API keys were floating around (they never fully turned the API off, just stopped providing keys) but i think its mostly dead now.
I was hoping Epic would get the API back up and running.
They sure are determined. But no fetch is still not a thing
Hey narush, I'm the author of PandasAI. The way PandasAI works is slightly different. It's not the LLM that edits data, but a python script. This is in my opinion the best approach, as it gives a predictable result.
There are still some potential issues, including hallucinations, that we are taking care of, but all in all we hope that this could represent an advancement in the way we interact with data.

Any questions, feel free to ask :)
Thanks, but ugh: It's Web-based.
As an early music specialist (Baroque, plucked strings), it should be noted that for performers like us who prefer to read from primary sources, having original manuscripts from the Baroque and Renaissance periods available on IMSLP has revolutionized our field. It is only going to get better in the future, as more people upload the scans of music manuscripts held across the various libraries around the world. If you prefer to study and perform from primary sources, as we do, IMSLP is an excellent place to start your research.
If you're specifically focused on semantic similarity, I would say that attention adds to the dimensionality of the vector space. Distances between tokens can vary depending on context.
I thought CA contracted out most of the aviation and one of the big companies sold their fire fighting 747 and it was converted to a cargo plane.

Cal fire operates some small craft I think.
Ethics isn’t part of DEI. Ethics is a subject that humanity has been pondering over for thousands of years - it’s way older than the modern trends of focusing on diversity and inclusion.

At my university ethics was a required subject for all engineering students. (And this is long before DEI was a thing). We had a special ethics course with a CS focus and CS TAs. The content included looking at lots of ethical frameworks (eg Kant, rule utilitarianism, etc) and analysing different choices or actions through those lenses. There’s lots of examples from CS history where software (intentionally or otherwise) has caused human suffering or deaths. We talked about them, not prescriptively but to help decide for ourselves what we would want to do if we are ever placed in a similar situation as those engineers.

It’s good stuff.

I’m not sure if it’s a direct result of that course, but I’ve been horrified over the years by some of the opinions I’ve seen here on HN when ethics comes up. Stuff like “well yes lying directly to your customers and chronically underinvesting in information security is unfortunate, but would you really want to risk your job over it? They’d fire you and get someone else!”. Argh yes! Kick up a fuss! You probably won’t lose your job. You will probably get more respect in your organisation, from the right people. In my opinion, you are responsible for the outcomes of your work. As a software engineer on the ground, the computer is literally doing your bidding. Would you personally lie to the face of thousands of your customers? If no, why are ok with telling the computer to do it on your behalf?

We have power in society as engineers. Ethics asks us the question of how we want to wield that power. It’s much deeper question than preachy DEI stuff.
Fuel synthesis is a nice way to use lots of excess electricity. Easy to store, easy to transport, works with existing infrastructure.

And then there are alternatives for in place battery storage. They just don't beat lithium-ion given the relative levels of development and current low cost of lithium-ion.
Perfect, thanks for your time. Provider setup + deep link will work fine for us.
I would assume that OpenAI helped with the Microsoft prompt. Being Microsoft, and it being a front page feature, I would also assume that there are miles of powerpoint showing data in support for it.

What do you see as a better prompt? How would you test its efficacy?
Car Inflation Is Back–Don't Panic
Will the device be able to slot into an enclosure later or will more assembly be required?
The best distinction I have heard is that you lead people, and you manage things.

People whose job title is manager might have to lead people too, but they're being held accountable for managing a thing. A project, a product, a budget, a release, a software system. Managing means 'making sure the thing happens'.

What a staff+ engineer is held accountable for is engineering. What gets built and how. That a technical solution meets its requirements and constraints.

In order to do that they might also need to lead people. But they don't have to manage anything.
Accusations of government malfeasance are in a completely different class of claim than 'the earth is flat'. The fact that you even compare them at all is part of the problem.

You shouldn't be evaluating claims purely based off the offered evidence. You need to also factor in the plausibility of the claim. If I say a cop punched me but I have no proof, that claim should be considered plausible. If I say a space alien abducted me, that should fail the plausibility test. In either case there is zero evidence, but that doesn't mean you should judge these claims to be equally dubious. Doing so isn't rational.

P(A|B) = P(B|A) * P(A) / P(B)

P(Claim|No Evidence) = P(No Evidence|Claim) * P(Claim) / P(No Evidence)

P(Claim) for government malfeasance is very high, but very low for flat earth. P(No Evidence|Claim) is fairly high for government malfeasance, but virtually zero for flat eartherism. These aren't remotely comparable claims.
Eh. That would be worse. Software made a few months later would require newer libraries. The only “stable” (in the sense of unchanging) API out there is effectively win32. I can easily make software written for Win2K or Win95 work on Linux through WINE, but I cannot do the same for Loki games, or even for some abandoned application written a year ago.
Stuff I found interesting in May
Any efforts at privacy are good, but why focus on the USPS (which already has some protections), rather than working on general privacy legislation that would also provide protections with the corporate carriers?
> resulted in extensive controls being put in place on the US national security apparatus to prevent the things it discovered from continuing

Who told you that? Here's a NYT article from 2013 with the same story: https://www.nytimes.com/2013/07/04/us/monitoring-of-snail-ma...

It's good to draw awareness to what's going on here, but let's not pretend that this practice isn't trivially verifiable via ten seconds of searching.
Human reading speed varies by a factor of 10 or more between individuals, while speaking speed is much more consistent.
Are attorneys offered extra protection? There're several checkboxes for that.
Comprehensive performance and price comparison of the Cloud VM types available across 10 of the most popular Cloud providers.
Lithium storage doesn’t necessarily require Cobalt. LFP batteries don’t use Cobalt.

Powerwalls don’t use LFP yet (they use NMC) but other battery vendors use LFP.
got it. you have no answer.

light background radiation, present already everywhere is not the same as chernobyl (1000sqmi), where no one can live for 10000 years. i didn't think my matches example could possibly not be understood by even a talking monkey, but here we are.

a cruise missle does not damage an area of 1000 miles^2 for 10000 years. it blows up a part of a building. I have to ask - I thought the demographic here was older proffessionals. How did you find yourself here from the high school edgy teen subreddit?
Extraordinary claims (this year they will have had $1 Billion in assets stolen) need extraordinary proof
It's useless for this. Interesting things don't happen often enough and it's too blurry on bumpy roads.
Thanks for taking the time to try it out!

My post links to a demo that can be accessed by anyone, but if you want to view other articles you need an account, which you can request via https://gurney.science. I apologize for not making that clear!
> At best, she is living in her father’s shadow.

No, at best she is getting a shortcut which most of the time helps with your career.
Give it a billion subjective hours. Give it databases and network access. Do you really think it will produce something? You definitely do a good job of explaining one of the limitations an LLM faces compared to a general super-intelligence.
I looked at the cited papers and accept the presented economic dynamics. But I still do not accept that it is a predominant motivation for why people are nimby.

When I talk to my neighbors, I just do not get a sense of “oh yeah this dude is actually trying to maximize land value”. I see people just trying to have a decent life and raise a family.

All these comments that allude to “quiet part out loud” or whatever seriously sound like conspiracy theories to me. Call me naive, but the folks in my neighborhood are not a cabal of real estate moguls. Though, yes, some are nimby
> people won't take real action until suffering is unbearable

Do you see much evidence that suggests otherwise?
> setting a nepotistic precedent is what it is

That is how the world works.
Wait until someone comes up with a device that proxies HDMI with HDCP but streams it with people you wanna share the content with. Call it a remote working screenshare collaboration device that solves the problem of having join a meeting or start a local application (clickshare).
Yes or at least something similar. TLDR array lookups are not constant time in bash. I tested on my M1 Mac which came with bash3.2 installed and on ubuntu:22.04 with bash5.1. Interestingly bash5.1 seems to be able to traverse in reverse order based on bench65536.

```benchmark.sh

#!/bin/bash

xs=($(seq 65536))

function bench0() {
local x=${xs[0]} y=${xs[0]}
}
function bench16384() {
local x=${xs[16384]} y=${xs[0]}
}
function bench65536() {
local x=${xs[65536]} y=${xs[0]}
}
function bench() {
for n in $(seq 65536); do
$1
done
}

echo bash version: $BASH_VERSION
printf '\n%s:' 'bench0: local x=${xs[0]} y=${xs[0]}'
time bench bench0
printf '\n%s' 'bench16384: local x=${xs[16384]} y=${xs[0]}'
time bench bench16384
printf '\n%s' 'bench65536: local x=${xs[65536]} y=${xs[0]}'
time bench bench65536
```

```m1mac.txt

bash version: 3.2.57(1)-release

bench0: local x=${xs[0]} y=${xs[0]}:
real 0m0.366s
user 0m0.346s
sys 0m0.020s

bench16384: local x=${xs[16384]} y=${xs[0]}
real 0m1.704s
user 0m1.676s
sys 0m0.028s

bench65536: local x=${xs[65536]} y=${xs[0]}
real 0m5.443s
user 0m5.393s
sys 0m0.050s
```

```docker_ubuntu2204.txt

bash version: 5.1.16(1)-release

bench0: local x=${xs[0]} y=${xs[0]}:
real 0m0.348s
user 0m0.345s
sys 0m0.005s

bench16384: local x=${xs[16384]} y=${xs[0]}
real 0m2.394s
user 0m2.390s
sys 0m0.005s

bench65536: local x=${xs[65536]} y=${xs[0]}
real 0m0.348s
user 0m0.345s
sys 0m0.005s
```
Regardless, prokaryotes lacked the ability to tolerate the oxygen that they (as cyanobacteria) produced.

This crushing limit lasted for billions of years, until the age of eukaryotes.

This step is as much of a mystery as the Cambrian Explosion.
PS5 controllers do amazing haptics now.
Google doesn't give away Pixel phones, they sell them.
Which version of macOS are you running? As of a version or two ago, holding option toggles it between fullscreen and regular window resizing.
> I understand many people use smartphones or tablets for that, but I don't like the idea of having a smartphone with me at all times

This is where I stand. Regrettably it becomes harder and harder now that everything uses 2FA, cannot leave home without the phone.
> Educators can choose among a wide variety of effective AI and plagiarism detection tools to assess whether students have completed assignments themselves, including Winston AI and Content at Scale; ChatGPT is not among them.

I know that there are a number of tools intended to detect AI-generated plagiarism, but I think that those are also known to commonly output false positives.
Quite similar to what I wrote a few days ago to remind me when my water should be boiling. Decided to use swaynag(1) since my sound could be on mute or speakers off:

#!/bin/bash

[ "$#" -ne 2 ] && echo "Usage: nag when msg\n" && exit -1

when=$1; shift
sleep $when; swaynag -m "$@"
"Rooting for"? Odd sentiment, for sure.

Something like "Go Team Star Trek! Humans through the universe!" regardless of the chances of it actually happening?

I think the chances of doing much useful in terms of "long term sustainability and living within our energy budget" went sailing past in the 1980s, so adapting to a lower energy and lower energy reliability future seems wise to me. Though there are certainly useful things that can be done on the path. But I'd be happy with a return to far more local systems of food and energy production, and people adapting to living within the currently available energy at any given point in time. Having "solar days" in the winter like we have snow days is a lot easier than building power systems to deal with a week of heavy inversion at "normal energy use."
Too bad.

Will it at least lead to the removal of /sbin and /lib?
An interesting aspect of this is that any information that USPS collects is also likely to be available to foreign governments now or in the future. The U.S. government has a terrible track record of keeping its own information secure. See, for example, a list of notable federal breaches (2020-present): https://docs.google.com/spreadsheets/d/1PGVHO6BDZzGnB3l3j3hy...
Surface Laptop 4 here. Great keyboard. Great screen. Great trackpad. Surface Dock is great. And WSL gets the job done too. It's lighter than the Mac. Dunno that battery is better, but it's certainly good enough. And it was relatively cheap!

But I still try to copy & paste like it's a Mac. And it's not a question of remapping. I want Alt+C and Alt+V to copy and paste system wide.
> They won't implement it until the spec is finalized (is my guess, given that they haven't done so, so far).

Last time I checked their bug tracker, it had nothing to do with the specification—they had some technical implementation problems. My take on the situation: if they didn't get derailed by from what I recall were performance problems, they would have shipped it by now.

> but it's also super important to take into consideration what the literal standard says, which is that :has is not part of the specification

I'm not sure we're talking about the same thing; :has() is part of the "Selectors Level 4" specification [1] for a while now. I've read many W3C specifications; there's none of the usual warnings and caveats that are par for the course with experimental or unsupported specifications. That's not to say there won't be changes in the future, but that's true for virtually any recent CSS specification.

As someone who follows this stuff pretty closely (I even read CSS working group meeting notes sometimes), this is the first time I've heard any objection to :has() at all and certainly nothing regarding the spec not being "done".

I don't agree that Safari implemented :has() early; it's been in discussion for nearly 20 years and is something web developers have really wanted for just as long.

The WebKit blog has a pretty good description of the back story why it took so long and what the breakthrough was [2].

[1]: https://drafts.csswg.org/selectors-4/#relational

[2]: https://www.webkit.org/blog/13096/css-has-pseudo-class/
> it's still not very practical to require a dedicated 24GB GPU

totally agreed, you could get away with 12GB too which is in the midrange.

That said yeah it's still not something you could make a game with yet, I'm just pointing out 300GB+ of VRAM isn't the bar for entry here, it is reachable for medium-high end consumers but that's not really including the games resources either, and most gamers aren't medium-high end so...
Yes that's exactly the idea. And yes those "other means" sometimes exist, but they tend to be much more expensive than controlled burns. The amount of person-power and time needed to remove that material manually would be cost-prohibitive.

And that's assuming other methods even exist. Much of the fuel that needs to be removed is in places where there are no roads, so the only way to remove that fuel would be hundreds or thousands of individual helicopter trips. No government is going to pay for that.

EDIT: Methods like tree thinning are manual methods and they are done routinely and they help. But they cannot take the place of controlled burns for removing large amounts of fuel and creating big fire breaks.
A similar, but dramatically more light-hearted use of such mechanics was Resetti in the original Animal Crossing for the Gamecube. If you shut off your game without saving (either because you were save scumming, or just on accident), then on your next boot a hard-hat wearing mole would hop out of the ground, introduce himself as Mr. Resetti, and scold you. Repeated infractions would make Mr. Resetti become increasingly irate, including some sort of punishment, such as forcing you to type out (using the incredibly tedious joystick-character select) messages of either repentance or praise of Mr. Resetti, or a fake system shutdown.
My experience at mega corps has been the opposite: instead of a widespread, open source, robust implementation we had to suffer with a home grown, poorly supported, buggy, inferior product because it had the sponsorship of a politically important executive.

Truly dispiriting to be unable to use JSON or Protobuf, because some executive director claims his “standard” is better when it is demonstrably not so. In the end it breeds a culture of mediocrity — management has made it clear that engineering excellence is not a priority. So support the business use case, but do whatever …
You're right that data is poor for the 19th century. The point I wanted to draw with my more recent sources is that there seems to be little empirical evidence to show that increased redistribution via taxation and expanded government social programs actually alleviate poverty, compared to the evidence for rising living standards via technological advances and fierce capitalistic competition that lowers costs.

Across OECD countries, there appears to be at least a passing correlation between countries that have a higher ratio of government expenditure to GDP (and are at least commonly perceived to have generous government-provided social benefits) and lack of real wage growth over the past two decades[0].

[0]: https://stats.oecd.org/index.aspx?DataSetCode=AV_AN_WAGE
> This is not a good reason to be anti-controlled burn. You said yourself that this was due to negligence by the USFS

You're not contradicting anything, that's literally the topic of this subthread. From the GGP:

> We need to acknowledge that the solutions will cause less overall harm than not implementing them, but also recognize that the harms from the solutions may fall unevenly, and find ways to socialize the damage those solutions cause, rather than leave that damage on the powerless.
Just say its abbreviation means something else, they can’t copy right sentences now are they?
Therefore we can safely conclude that conspiracy theories are true, right?
> The reason that this is the only way to create a viable business is because your competition will be doing it.

Only if you choose to play in that market. If your goal is to make thin margins on undifferentiated products, sure, lard up your cheap-ass product with a bunch of useless shit to capture the unwary. Better to play in another pool.
The rust-analyzer extension for VSCode is quite good for this.

Though, I should try to use `quote_spanned!` instead of `quote!`, but I'm kind of a newbie with proc-macros.

As for your take on the visitor pattern. In my previous code, I had the `visit_expr`, `visit_stmt`, etc... And it's a lot of boilerplate, I wanted to reduce the amount of copy/paste and facilitate refactoring, hence my DSL.

I do have multiple phases during compilation where I walk the AST and the "only" difference is the return value of those `visit_*` functions and their body. Here, I just have to use a `model!{}` macro for each "phase", which is less boilerplate code.

In the end, it's just static dispatch through the use of a trait that I called "Visitable".
I don’t believe the argument holds. Just because individuals could see your mail is not equivalent to an automated agent looking at every piece of your mail every day from miles away and creating a profile of you. This is the true slippery slope, that we allow this processing for more and more data. Eventually, every bit of our lives will be processed and profiled at this rate!
I personally have seen them staring through regular binoculars lately more often than a radar gun. I assume they are looking for people holding cell phones. This is in Northern California.

Also, being seen on the freeway at all helps the crazies in their dodge chargers slow donw a little. If they know the cops are out, they'll keep it to 95 instead of 105.
I don't think you really want a 5yo's version, because that's "computers can be smart". But for an SDE1-level explanation I made this video which has gotten tons of compliments and keeps people watching year after year:

https://www.youtube.com/watch?v=S27pHKBEp30

It's in the context of NLP, which is where transformers started of course.
That’s because the people here on HN have jobs /s
github.com∕not-suspicious@package.zip

add https:// and your browser will take you right to https://package.zip
7B parameter models are more than enough for this and run faster than talking pace on even a low end CPU.

Even a finetuned 3B model would be excellent for generative agents and only use about 2GB of RAM to at high speeds on even a single core CPU.