skysight-inc/HackerNews huggingface dataset:
Show HN: Gradient – a web API for fine-tuning and deploying Llama2
We’ve just launched Gradient — an API that helps you build private LLMs that you own. We simplify inference and fine-tuning on open-source LLMs such as llama2, and you only pay by the token.

Our API platform makes it possible for you to create private models with a single API call. Run inference on your fine tuned model instantly with no cold boot (and no need to pay for compute costs).

The product is truly on demand - when you run fine tuning and inference on our platform, there's nearly 0 startup latency for these API calls. And you're not paying for the compute, you just pay for the tokens you're consuming.

This makes it possible for developers to build and serve nearly unlimited fine tuned models without incurring ridiculous infrastructure fees.

We currently support Llama2 7B and Nous Hermes2 (Llama2 13B unlocked variant), and are releasing LlamaCoder and Llama2 70b in a few weeks.

Gradient is also SOC 2 and HIPAA compliant.

When you sign up, we give you $10 in free credits to start experimenting. We'd love to get your feedback, and let us know what you're building on our Discord!

Sign up (https://gradient.ai/)
Twitter (https://twitter.com/Gradient_AI_)
Discord (https://discord.gg/yvgVKEgkmd)
I also do missions daily without much disruptions. As long as the servers aren't overwhelmed its fine
UK electrics are mad - with the ring main and what not requiring fuses in the enormous plugs. All vestiges of post-WWII design. By code a modern American kitchen must have:

- dedicated 50A 240V for an electric stove or oven (unless gas service is present)

- dedicated 20A 120V each for the fridge, microwave, dishwasher, disposal (the latter being uncommon outside the US and Canada). The last two often share a circuit.

- two 20A countertop circuits with GFCI protection (what the Brits call 'RCD' - the difference being ours trip at 5mA vs 30mA and won't knock out half the house.)
I think at some of these large corporations and definitely in the public sector, there are tons of people who do not perform well especially now that they are remote. I think this is a way to get rid of those people.
And yet they are CEOs and you and I are posting comments Hacker News.
> mute

moot?
Collapse of what? Civilization?

I don't buy into that at all; massive waves of climate refugees, environmental disasters, loss of coastal urban space, economical crises: sure-- but collapse of civilization?! I simply don't see that happening, to me that appears like completely unfounded pessimism.

But feel free to try and change my view...
0.09 74AVCH1T45 x2

0.2 RS2227 multiplexers x2

0.5 FUSB302BMPX

0.2 1050170001 MOLEX usb B

0.4 USB 3.1 Female Type-C, Molex would cost $1

0.008 mosfet

0.0004 capacitor x6

0.0002 resistors x8

0.02 header

~2 assembly, half of that goes to 40 pin header for the pico!

~$1 pcb

all in all ~$6 per unit
yep! thanks

"Bedrock was built by Expensify, and is a networking and distributed transaction layer built atop SQLite, the fastest, most reliable, and most widely distributed database in the world." (https://bedrockdb.com/)
Sorry to break it to you, but a shortage of software engineers is what brought all these perks in the first place, not unions.
Nobody's pointed it out yet, so I'll mention it:

US voltage is 120 V (240 V phase to phase), not 110 V. And while 115 V is within service tolerances specified by ANSI C84.1 (114 V to 126 V), that's not the nominal value.
"You are a helpful assistant highly skilled in writing PERFECT code for visualizations. Given some code template, you complete the template to generate a visualization given the dataset and the goal described. The code you write MUST FOLLOW VISUALIZATION BEST PRACTICES ie. meet the specified goal, apply the right transformation, use the right visualization type, use the right data encoding, and use the right aesthetics (e.g., ensure axis are legible). The transformations you apply MUST be correct and the fields you use MUST be correct. The visualization CODE MUST BE CORRECT and MUST NOT CONTAIN ANY SYNTAX OR LOGIC ERRORS. You MUST first generate a brief plan for how you would solve the task e.g. what transformations you would apply e.g. if you need to construct a new column, what fields you would use, what visualization type you would use, what aesthetics you would use, etc.
YOU MUST ALWAYS return code using the provided code template. DO NOT add notes or explanations." (https://github.com/microsoft/lida/blob/main/lida/components/...)

They prompted that things MUST be correct in their prompts and it reports any transformations it does to your data, it might give you some insight into its logic to test yourself against the data.
At the point of the oldest Chinese writing, people spoke Old Chinese. But it's safe to assume old Chinese had dialects as well, and maybe some of them were quite mutually unintelligible enough to be considered different languages.
They can find a new job then.
This is kind of defeats the point of environmentalism. The point is for humans to live on a sustainable planet, not for us to accept artificial death.
vacuum cleaners.

I went "wait, what?" and then "well, that makes perfect sense actually"
> but I will note it is a lot easier to keep spares and change out a small transformer.

In my neighborhood, about once a year there's a loud pop, or quiet bang, and a bunch of houses lose power. The electric company will fix it pretty quickly.

I think that it's performing selection pressure on the unlicensed squirrel electrician population.
How 1950s!
Overall perhaps, but the taxes I paid in NZ were much, much higher than what I paid in the US, even when accounting for health insurance and other out of pocket costs.
The American healthcare system is so broken, this exact thing has happened to everyone I know including myself
While I agree with your reasoning, it's pretty ironic to blame top management for making changes "not based upon actual data" in the middle of a speculative claim that, itself, is not based upon actual data.
100% this. Employers know they can turn up the heat so to speak by making the workplace less enjoyable and more people will leave b/c of that. That saves them from having to lay off people. I think it's important to note layoffs tend to push stock prices down and that's what these folks specifically care about b/c that's what's good for their pocket book.
This post from today says that Llama 2 7b performs at the level of gpt-4, but 30x cheaper.

https://www.anyscale.com/blog/llama-2-is-about-as-factually-...
Life’s stages are changing – we need new terms and new ideas to describe them
Yeah. I do all those things. I'm vegan and I have a single car, and I support local walking and biking trails. But even so, I bet I'm not as green as the average European because I still have to drive far more than they do.
(Edit: @chrisan I am soft-banned from replying to you. The reply button is gone. Yes I know I should be open to new options. But I have suffered silently for years and everyone only hated me for my own ideas. So you have to excuse me when the flood gate opens. None of these have anything to do with you. I wish I could have said it back then to the people who actually shunned me)

(Edit: @HN, just delete my account. I am done with programming career. I will change the password shortly and never log back in)

If anything I'm concerned about future developers.

If we don't understand how things work under the hood, and future generations are discouraged even more from understanding them,

And if AIs can program and code for us,

Eventually one day we will forget how to program, how to fix low level coding errors, and how to fix a broken Linux kernel.

What happens then?

Yes it sounds like the slippery slope fallacy. But we have been slipping towards this direction for too long, even before AIs became a thing.
Expanding Duet AI Across Google Cloud
I learned the tale from Douglas Adams' Dirk Gently books.
I was quite impressed by Immich’s ML and search features. They generate embeddings from your pictures and search works across them so you can do things like search for objects in the picture.

It also has map+time features. I’d give it a try if you haven’t already. It’s under active development atm
This comment exactly what I’m talking about. Eventually someone will have to live with less. The lifestyle I described above is not too far from what life was like over a hundred years ago.

There is no efficient way out of the problem. Any efficiency gains will be used to pursue even more growth, not simply sustain what we have now.

Accept less.
Thank you for the explicit pointer (I searched for "die" already, but it seems that "dies" was not stemmed). And yet it is not same to "V should die"; it is rather V "should be ignored until it dies into obscurity". It is no different from "do not feed the trolls"---if V fails to prove to be something viable there would be no reason to make comments at all. And that comment predates her last position anyway, so I still think you are reading too much.
Because Python is not horrible general purpose language. In the end not everything is web.
Thanks for the clarification. It's been a while since I've looked at Poetry. I recall seeing people pull down the binary in their Docker builds and that rubbed me the wrong way. Good to know you don't have to do that.
Now there is a blast from the past: I par2 archives being used in usenet binary groups in the early 2000s.

Unfortunately they need to be considered before you need to recover the data, which my friend did not.

Also/instead having multiple copies would have been useful as one may have survived better (stored in different locations in case the environment in one makes the disk degrade faster). Though neither method removes the need to occasionally test the media to make sure you have enough workable bits to recover the data.
Strawberry Perl for Windows
Its simple really. Just go and ask your employer to pay difference. If they say no don't move.
its even more cynical than that. They aren't doing this for the greater good of preserving downtown areas, they are losing their tax breaks: https://www.bloomberg.com/news/newsletters/2023-02-21/tax-br...
Those who do not study history are doomed to replicate it.

Those who do study history are doomed to not replicate it.
Nobody heard of Quooker?
Good staff will quit by themselves after the layoffs unless incentivized to stay.
I think they believe they can still continue to attract top talent. Otherwise, they wouldn’t go down this path.
Some of the backing studies do, but the linked article, which is the object of discussion, absolutely does not. Have you read them?
Men Without Work [video]
So I just need to upgrade my current induction stove to a newer model? That seems reasonable... ;)
This is the library the author references. I’ve used it myself and it works great

https://github.com/gka/chroma.js
For some, there's more to job satisfaction/QoL than just money.
How convenient that you start counting in middle ages :)
I’d recommend [Boop](https://apps.apple.com/us/app/boop/id1518425043?mt=12). It’s free and open source.
Its adjustments lead it to still claim that > 99% of India, Indonesia, Philippines are all in "extreme poverty", that > 90% of Thailand and China are, that 84% of Russia is and so on. Those are not remotely realistic figures.
The nice thing about Nordic countries is that you got 4 of them that are quite comparable.

Denmark had a stricter approach compared to Sweden and arguably had better outcomes and faster economic recovery.
Big companies hate firing for cause. it's almost always cheaper to pay the severance than to take on the liability of proving cause. It's extremely unlikely that amazon would go this route.

Disguising layoffs as something else is about the stock price. It's not about getting out of paying severance.
I work as a developer in Silicon Valley, and my wife also works. So we probably have a better insurance (and better income) than 95% of Americans.

My wife probably burned 10+ hours of her life making phone calls that amount to "No no, I've already called the insurance company and they say the record is wrong on your side! I have to call your other office? No, I already called them! Why am I still getting a bill when it must be covered by the insurance ...!!!"

And none in our family is even badly sick. Don't want to imagine what will happen if one of us actually gets sick.

US healthcare system fucking sucks.
The fear of an collapse in commercial real estate is driving these decisions. What 4 hours of your life each day compared to the well being of the real estate moguls ?

I am staying at my job (100% wfh )and foregoing other opportunities in the job market as an extra hour of playtime with my kid is worth that much to me. The minute my employer changes their mind, I will be out hunting similar WFH job
the US Air Force wants $5.8B to build 1k AI-driven unmanned combat aircraft
If you are in the US, you are probably often paying for the wrong services as billing errors are quite common.
The tax aspect is also referenced in the article, the dimensions are quite impressive.

>When reconstructing consumption from taxes there is also the matter of personal production not captured by taxation, beer being a major product of consumption was consuming 12.5% of people’s salaries and was subsequently contributing around a 1/3 of government revenue in England and a 1/4 of government revenue in Holland, an amount equivalent to the contribution of Spanish silver to the revenue of Spain in the mid 17th century.
I've no idea why I'd bother with PuTTY but whatever you prefer to use. As I said, it works just fine and is not "unusable".
Insane ;(
You go this route of thinking, and eventually you're making OOP/FP programs out of what could've been simple Bash scripts.
this is the weirdest "head in sand" moment; you literally called out mypy as a desirable alternative

>And to add insult to injury Pycharm doesn't even have a pyright plugin and the mypy plugin is extremely slow and buggy.

ie you recognize that aligning with mypy is desirable.
>How those calories are processed, however, is influenced by a great many factors.

I feel compelled to assume that we can't possibly be extracting every calorie from certain types of food. Caloriometers work differently from human digestive systems.
More than happy to pay for good software, thanks for the lead! Downloaded and will give it a go this week
AI Anywhere with Google Distributed Cloud
To be honest I think 3 days a week in the office is a perfectly reasonable requirement. It gives enough opportunity for people to get face to face time and to build the relationships they need to build whilst still offering flexibility. Should it be combined with some flexibility for edge cases? Sure, managers will always turn a blind eye when it makes sense. And part of that is you can only have flexibility if the base line is established, if 50% of workers are still refusing to come in, the only way to solve that is a mass "Show up or else". In reality in 6 months you have a quiet word with your boss and probably the flexibility will creep back.

Having said that, the way we got here is less than ideal. Senior management at tech companies made a whole tonne of bad promises and poor decisions during the pandemic and they've taken no ownership of that at all. The only reason this has become so difficult is because Senior management didn't have the intelligence to say "Hey, this pandemic is a once in a lifetime event, we're going to be flexible now but we need you to know this won't last".
Given recent Big Tech behavior -- ie Amazon hiring based on work flexibility, then laying people off, then switching to RTO, who would trust these companies enough to move across the country for a role?

In my (40 yo+) peer group people have largely settled down somewhere not near a home office during the pandemic. People have the entire cost structure of home ownership, day care, and commuting built around not needing to be in a major metro going into an office. I would be very doubtful, unless the senior-staff-principal hiring faded, that they would comply with RTO before switching roles.

One solution to this could be to do what companies used to do - open more regional branch offices. Don't be so concentrated in one or two major metros that you eliminate any flexibility whatsoever.
> I've watched too many "common" functions grow over time with way too many arguments, too many conditionals, and way too confusing for anyone to easily follow.

This is not the fault of the abstraction. This is the fault of (especially junior developers) treating abstractions as sacred and non-disposable, which is itself the result of a mindset in which creating abstractions is discouraged. You should almost never modify an abstraction. Don't modify abstractions to cover new use cases, and you more or less won't run into any of these issues. If you need to, create new abstractions and throw old ones away.

> Unless there are at a _minimum_ of 3 implementations I think it's always better to duplicate.

This is a silly rule to follow, except for the most inexperienced of developers, perhaps. It doesn't take long to gather enough experience to know be able to recognize in most cases whether some instance of duplication is coincidental (structurally similar by happenstance, which could be "abstracted" in a macro-like manner, resulting in something quite fragile to changes) or if you're actually encoding some piece of knowledge into an abstraction. Advice like waiting until a piece of code repeats three times encourages developers to think about abstractions in terms of structural similarity, which is exactly the opposite of how abstraction should be considered.
> Also data centers don't use water for cooling.

Some do, some don't.

https://www.theregister.com/2023/07/27/thames_water_to_datac...

> Not all datacenters use water for cooling, but of those that do, a large facility might use anywhere between 1 million and 5 million gallons of water a day
Another technique is to pass the burden of proof onto the consumer. The hospital creates a new charge, and it is up to the patient to prove it should have been covered by insurance. For example, showing something like meeting your yearly out-of-pocket is a difficult task.

Sometimes it's up to the consumer to connect the two departments, insurance and the hospital billing, on the phone at the same time. Seems simple but the wait time between the two parties is high, and either one of them will drop off mysteriously.

If the bill is in dispute for too long, you will be sent to collections, and have your credit score degrade.
C'mon -- every corporate mandate has its exceptions and allowances. This one's obvious. And when I worked at a company and had a full-time remote allowance per my employment contract, guess what? The RTO mandate didn't apply to me.
TIL about the word "hob". Americans call it a "cooktop" or "stovetop" or "range"
I mean, in France we have a 'life expectancy' metric (82.5) and a 'life expectancy with good health', which is on average, the age someone born in 2023 will reach before getting daily pain or start loosing independence. The number is 76.5 year old (10th in Europe).

What's 'funny' is that our life expectancy with good health match USA life expectancy this year.
I have read this reasoning from time to time, but how does it make sense?

Wouldn't most of the high performers who don't want to go back to the office, just quit and get a better job, while low performing individuals would stick as long as possible since they could keep slacking as long as they go to the office three days a week?
This is a level of dystopian helplessness I have a hard time wrapping my head around.
Been using it for a while, like it :)
The homepage still makes the claim that "[autofree] takes care of most objects (~90-100%): the compiler inserts necessary free calls automatically during compilation."

There is no citation for where this 90-100% number comes from, it seems to be pulled completely out of thin air.

Autofree, as it currently exists, cannot handle structs at all, so any program whose memory allocations consist of more than 10% structs unfortunately proves this claim false.

For a specific example, a while ago I wrote a minimax tictactoe program[1] in V, which specifically used a struct to store the board state rather than an array.

In this case, with the minimax running for 4 total moves, valgrind tells me:

==8518== HEAP SUMMARY:
==8518== in use at exit: 2,250,360 bytes in 68,544 blocks
==8518== total heap usage: 161,756 allocs, 93,212 frees, 4,762,235 bytes allocated

So only 93212/161756 allocations were freed, which is 57%.

... Now, I don't actually care that much that autofree doesn't work on structs. I think that's quite reasonable, as it's a very difficult thing to implement!

But, in my opinion, your website should really cite where this 90-100% number comes from, i.e. which benchmarks were used to generate it, so that it is clear that it isn't just completely made up.

(As it currently stands, I would argue this is false advertising specifically because there's no citation for this number!)

[1]: https://pastebin.com/6ZDKKRQR
An affordable, zero-code AI serving platform for any model
okay, that made me smile. i'd love to see that on a slide in a pitch deck
In many cases, asking salaried employees to spend three days in the office is constructive dismissal [0]. Those employees may have moved to places with cheaper housing. They may have multi-hour commutes, kids in new schools, and may have just paid the high fixed costs of a real estate transaction - because they were told they did not need to come into the office. It may be infeasible for them to come back, so they'll quit without needing to be paid severance.

As a sibling comment said - changing the terms of employment unilaterally is exploitative - I'm just providing some color to the same sentiment.

[0] https://en.wikipedia.org/wiki/Constructive_dismissal
A lot of complaining from one of the most privileged and highest paid classes of workers ever to exist in human kind. Talk of "exploitation", etc. To put it in perspective, you sit at a computer and type, and get paid $200k+ a year for it.

Forget other people in the other part of the world, just compare your situation to the average American for a second - they don't have a choice of whether or not to be at the office, because their office is our schools, our fire stations, our construction sites. And they get 1/4th the salary you do.

Entitlement doesn't even begin to describe it.
Get the surgery, get notarized items from multiple docs, talk to a lawyer.

Healthcare insurance doesn't get to dictate your healthcare directly. They aren't doctors, and open themselves up to liability if we don't push back.
> Scott free

It is 'scot-free' apparently, and interestingly has nothing to do with the Scottish, it seems:

> Etymology
From Middle English scotfre, from Old English scotfrēo (“scot-free; exempt from royal tax or imposts”), equivalent to scot (“payment; contribution; fine”) +‎ -free.[1]

https://en.wiktionary.org/wiki/scot-free
Computer scientists tackle annual waste of 1.5B junked smartphones
Technically newsletter took 39 months to reach 50k subs
‘Life or Death:’ AI-Generated Mushroom Foraging Books Are All over Amazon
I suspect that, in that case, you can't. There have already been layoffs, so any employees that were already the "above and beyond" type are probably feeling very demotivated. Those who aren't already the "above and beyond" type can't be talked into providing free labor for more than perhaps the occasional fire.

I think that the best bet is to recalibrate the project. Scale it down to meet the budget, or extend the deadline so it can be accomplished without relying on people working beyond their commitments.
Cloud TPU v5e and Nvidia H100 A3 GA
Grayscale was unreasonably denied its Bitcoin ETF, court rules
> Should I choose React.js

React is just a framework. Learn vanilla JS instead.