skysight-inc/HackerNews huggingface dataset:
In terms of safety, Zig is somewhere in the middle between C and C++ on one side, and Rust on the other side (e.g. it enforces much more correctness than C or C++, and has runtime spatial, but not temporal memory safety (but it has a debug allocator which doesn't recycle memory (or rather: address ranges) and which should catch most temporal memory safety problems - like your example).

Zig doesn't have separate sublanguages for macros and generics, instead these are all handled with regular 'comptime' Zig (along with type reflection).

Zig has builtin syntax sugar for dealing with optionals and error unions, which makes code less noisy (although that may be subjective - and I think Rust also got some of that over time).

Zig's interaction with the C world is excellent, and to a lesser degree also to the C++ and ObjC world (the Zig compiler can compile C++ and ObjC code, but still requires a C shim to sit between Zig and C++ or ObjC code).

Zig has much less influence from high level functional languages and less "type system wankery" compared to Rust, this again is a good thing for some people, while disliked by others.

A minor detail, but which I think demonstrates the Zig philosophy: the Zig compiler executable is also the build system and package manager. In Rust this is delegated to a separate tool (cargo).

...and my personal opinion: Zig is a lot more 'elegant' than Rust which results in more joy when writing Zig code. Rust feels entirely too much like 'designed by committee'. With Zig I "grokked" the language in a weekend of tinkering, while with Rust I never really had "fun" despite several attempts of trying to like it.

TL;DR: If I had to create an absolutely waterproof and critical isolated piece of code, I would probably write that in a "simple Rust subset". For anything else I would definitely prefer Zig.
Many of the AIs themselves are build by people on H-1B!

You can easily verify that Open AI, for example, have made tens of H-1B applications. Also, please go check the names of authors of influential papers - many of them are from countries who don’t share a land border with the US, but work here.

Yes, there are plenty of engineers who churn out questionable code. But those are not all folks on H-1B, or are H-1B exclusively on those roles.
Brian Kernighan
Thanks for the post about this. I have a Parrot Disco that I was planning to take for its first flight in about two years next weekend. Honestly these companies need to be sued over this behavior. Shutting down the servers without updating the app to work without needing login essentially bricks a product that I paid for.
To be honest, it’s a little hard to really take this seriously. The number of times I’ve watched Intel make Serious Declarations of Significant Strategic Realignments in the last decade or so only to watch them inevitably shed all the new divisions and product lines to Focus On Core Products makes it hard to really give this the attention it might warrant.
Step in the right direction. Would be nice to have some objective metric added to score against.
The point here is simplifying the codebase by removing an extra language.

Rubyists like writing ruby, not C extensions. And using the JIT allows us to simplify and keep enough performance.
That was within the country though, right? Not between countries? And this article [1] says enforcement of serfdom was localized and costly and there was de facto serf mobility.

[1] https://broadstreet.blog/2021/05/07/serfdom-the-state-and-th...
Google will know (and can even be pretty sure based on correlation of other things, like endpoint location if you tend to use multiple accounts from the same IP address) but at least the car dealer/manufacturer won't have your other email address, which solves for one possible threat model.
K8s is one of the best software I've ever worked with, learning it was an enlighting experience for me. It is so elegant, simple and complex at the same time and very powerful. This is the perfect tool for orchestrating containers at scale.
Anecdata of one. I've got a Gmail address that forwards emails to another address.

Somehow I can no longer login to the address that forwards these emails and I can't reset my password. It's been like that for a long time.

Suffice to say I'm transitioning away from Gmail. I also assume that there are more people like me in this situation.
> Rust is trying to be a low-level ML

Yep, this is probably why I like it so much. I liked OCaml when I used it and Rust derives a lot of features from OCaml, as well as its initial compiler being written in OCaml, so I think the creators saw how well parts of OCaml fit together (Option and Result types, ADTs, etc) and added it to Rust, as Rust was much different than currently [0].

[0] http://venge.net/graydon/talks/intro-talk-2.pdf
I think that’s what he’s saying: That they jumped from php to another hot mess. At least that’s how I read it.
That's the thing I'm seeing with AI from people with careers directly related to intelligence.

We keep raising the bar. First it was the the Turing test. AI has practically Rocketed past that and now a lot of people think it's a useless metric.

Now it beats mba students. I guess the new bar is CS students.

When your occupation is tied to your career people have a lot of pride invested in it. So they become in denial. They think in terms of their own skill and whether or not the AI can best them in the skills they spent years honing.

Two things:

1. An MBA student is a high bar. Any form of human intelligence is a high bar. Stop blinding yourself.

2. All trend lines point to AI surpassing CS students as well. AI has improved significantly in the last decade. The next decade will only be more improvement.
I saw a YouTube video describing Singapore housing and it sounded similar to this, but for condos not rentals.
How exactly is it legal to charge people to use bathrooms when it’s not something you can control for long? Seems like inhumane logic.
When in nature, earth becomes the restroom
I train LoRa Models or finetune foundation models for the task at hand. I've not encountered the need to train a foundation model, yet.
Usually a key or door code.
Ask HN: What cool desk ideas do you have for a home office?
I’m in the market for a new desk but I’ve decided I’d like to build the desktop out of wood and buy a height adjustable base. If I’m building it I want to do some interesting, unique, functional things. For reference I’m a software engineer and I’ve been working from home for 4 years with a pretty basic height adjustable desk. Assume I can build anything. That isn’t true but I’ll try :D
To be clear, it cut the starting pay for a specific type (but unknown number) of new hires, but also increased the pay for ~50,000 other established employees.

It looks like turnover for those particular new hires is likely not impacted by the pay drop, but there is value in trying to retain employees they've trained enough to add value.

To me, what's most interesting is that the other media outlets using the WSJ story as a stepping stone are all following the same narrative. That is, the narrative is about the lower starting pay, and not the raises for other employees.
Ah, if only Rust didn't drive away the person who was working on the comptime equivalent in Rust. Sadly, now it is likely that that will be a long way off.
"It doesn't seem to provide evidence for the CIA deliberately shifting the meaning of 'conspiracy theory'."

No one (the public) had heard that term before the CIA got US media writing propaganda pieces to disparage inquiry into the assassination. It wasn't about the theories. It was about defining a group of theorists and creating ways to dismiss them. That continues to this day in yearly exercises of establishing mainstream credibility where young "journalists" help us all understand the broken psychology of people who want the world to be scary.

Honestly, if you have ever tried hard to advance a line of thought that's dangerious to the establishment you'd maybe be personally familiar, as I am, with the smell of counter-intelligence. But I can't cite a web link that would make that credible. And you've already learned to discredit anyone calling themselve a truther.

It worked. I'm saying it worked because it works on me. No amount of facts or scope or wisdom makes mainstream friends of mine more open to reality. Reality is scary. Disagreeing with the 'news' is scary. But US industry gatekeeps history and I refuse to be naive.
I was in an apartment building in Santiago, Chile—in fact, pretty much all of the earthquakes I experienced were in Santiago. Never heard any (out of the normal) sounds. Is that because the buildings were built to handle earthquakes?
“Hi, my Dad died a number of years ago and this was his old number. I’m trying to reactivate one of his old accounts as there are a lot
of old memories that mean a lot to me in there. Any chance you could forward the signin texts you get so I can do that? I’d greatly appreciate it, and I’ll change the info as soon as I can so you stop getting spammed. Thank you for any help you can offer!”
I own one of only 5,000 copies?!
Because real estate prices are highly location-specific. People looking to buy a home in a nice, safe neighbourhood with a school in walking distance are forced to compete with investors buying houses and turning them into Airbnbs. As the article says, 30 per cent of home buyers are investors looking to grow their portfolio, not people looking for a place to live and raise a family. If those investors put their money into the stock market instead then that would free up the limited resource of homes near schools, causing prices to fall and making it more affordable to start a family.

Imagine what life would be like if we let billionaires buy up all the lakes, rivers, and other freshwater reservoirs. Water prices would shoot through the roof and we'd all be forced to pay the "water barons" whatever they decide to charge. It would be a dystopian nightmare and absolutely toxic to society. If you're curious, this is the premise of the classic sci-fi book Dune.
Bingo. If the system allows significant money to be made then it continue to be an investment vehicle regardless of who does the investing. You can't make housing a good investment while simultaneously making it affordable.

Land value tax would have fixed this decades ago, and it would still work today. I would love to see a single-issue political party push for it at this point.
I think the perfect example of the mismanagement and corruption of the public trust for the pandemic at the CDC was the initial suggestion during the vaccine distribution scheduling meetings was that minorities should be the first in line for these new and experimental vaccines for “social justice” reasons.
The thing that baffles me the most is that literally no one at Google has thought of this. They should be having meetings where they come up with scenarios like this and plan out realistic ways of dealing with them. Google isn't responsible enough to run an email service, it's a toy business where techbros fuck around all day.
I was a bit shocked when in some Canada's Horton's there was a disposable needle trash for the junkies, so I get why WiFi might be free for all but restrooms not so much
Maybe you can fine tune an llm for the routing thing ;)
My gmail somehow allows to click some options, show the last digits of the number, and just type the complete number to login
Russia is a pariah state like North Korea. There's no legal business to be done in either country.
More taxes on rentals means higher rents for those too poor to buy…
Why would I increase signal congestion the room with a device that is almost never moved? Why would I switch a device that has potentially decades of lifetime to a device that has a soldered battery and thus could die within years because of it (big quality keyboards rarely come with standard tubular batteries). Which on top of that has worse latency and more potential (connection) issues?
> Max Lugavere enters the chat
Surely the same exact argument is equally true for mkfs and everything else in the repo? Or is there something special about it?
Sure, you can take out HELOC against it, and but you're playing a very dangerous game when interests do rise. That has literally been happening right now.
Some of these are obviously not using the correct system prompt for the model.
This assumes there are no half sisters/brothers in the family.
This is what the article says the government did:

> urging the major social media platforms to remove misleading or false content about the Covid-19 pandemic

They didn’t tell them what they had to do, and didn’t censor anything specifically from these companies, so can you explain what exactly you mean by “censors in the west”?
Show HN: WhatsApp-Llama: A clone of yourself from your WhatsApp conversations
Hello HN!

I've been thinking about the idea of a LLM thats a clone of me - instead of generating replies to be a helpful assistant, it generates replies that are exactly like mine. The concept's appeared in fiction numerous times (the talking paintings in Harry Potter that mimic the person painted, the clones in The Prestige), and I think with LLMs, there might actually be a possibility of us doing something like this!

I've just released a fork of the facebookresearch/llama-recipes which allows you to fine-tune a Llama model on your personal WhatsApp conversations. This adaptation can train the model (using QLoRA) to respond in a way that's eerily similar to your own texting style.

What I've figured out so far:

Quick Learning: The model quickly adapts to personal nuances, emoji usage, and phrases that you use. I've trained just 1 epoch on a P100 GPU using QLoRA and 4 bit quantization, and its already captured my mannerisms

Turing Tests: As an experiment, I asked my friends to ask me 3 questions, and responded with 2 candidate responses (one from me and one from llama). My friends then had to guess which candidate response was mine and which one was Llama's. Llama managed to fool 10% of my friends, but with more compute, I think it can do way better.

Here's the GitHub repository: https://github.com/Ads-cmu/WhatsApp-Llama/

Would love to hear feedback, suggestions, and any cool experiences if you decide to give it a try! I'd love to see how far we can push this by training bigger models for more epochs (I ran out of compute credits)
Why would they pay 8%? Surely they can get margin at a cheaper % somewhere other than a retail mortgage if they are a professional investor or firm.
Nothing better than sitting out a rain storm, and taking advantage of the clean air immediately behind it. Some of my best images came this way.
People value things differently, including the things you mentioned, and cost is a large driver of that.

The only thing cities dislike more than an increasing population is a decreasing one. Given homeostasis is essentially traffic, suburban sprawl, etc we should let areas organically grow and shrink as people make choices. And areas that are appealing now will become unappealing either by cost or changing economies.
GPT-4 (at least) is explicit in saying that it's learning from user's assessments of its answers, so yes, the only valid way to test is to give it a variation of the prompt and see how well that does. GPT-4 failed the "Sally" test for the first time after 8 tries when I changed every parameter. It got it right on the next try.
Meroitic Language
Yes, I had the early history of LISP wrong. There were at least three major LISP factions in the 1980s, as LISP use expanded outside of the tiny AI community of the 1970s. Much controversy. All over now-dead issues.
Simple Text Chunking Library for LLM
Hi,

Tired of heavy libraries just for text chunking of LLM protypes in Node.js? I was too. So, I built a lean and mean text chunking library to get the job done without all the fluff.

Quick to implement, easy to use. Basically, it slices and dices your text into manageable chunks with just enough overlap.

Feedback welcome!

Cheers!

---

Translated by GPT-4. Originally written in Korean.
Asks me to sign up for a subscription.
Aberrant decoding
I thought house-flipping like this was reasonably popular in the US. Is it common for renovations to homes to increase the value by more than $250k (or $500k for married couples)? My guess would be no and even if some couple buys an actual fixer-upper that needs a lot of work, they aren’t going to next look for some kind of dilapidated mansion in need of hundreds of thousands of dollars of repairs. I’m pretty unconvinced that this specific tax difference has a big effect.
I get the sentiment, but at some point, the novelty wears off. Building a new set just isn't exciting because the process is almost exactly the same as building the last set.
I have pondered that possibility at length but have yet to see any compelling evidence or reason to believe that it is accurate. Some outage is legitimate and some is not, and a qualitative assessment like I performed will reveal which is which. "Both sides" are very different entities, far from being two sides of the same coin despite the common shallow rhetoric that tries to persuade otherwise.
I hope you’re just trolling, I’ll bite.

Privacy is not about what someone _might_ do with your data, it’s what they _can_ do with your data.

It’s also that they have your data, which means it can be exposed to staff or the world as the result of a breach.
I have never experienced an earthquake directly, but I once visited life safety learning center at Ikebukuro Fire Station in Tokyo and had the opportunity to experience the Great East Japan Earthquake of 2011 on a simulator there. Even if you are prepared for it, it is terrible. It's hard to imagine how people living ordinary lives feel when something like this starts.
This is the best advert for not buying an IOS device I've heard in a while....

never had any such problem on android, I still have working apps that target android 6...
What causal evidence is there that people posting on social media caused deaths and "losing months of their lives to extreme fatigue"?
If there were absolutely zero investment homes, then the price of a typical small home right now would be 150k.
Sounds like a really good leader. Looking back at my response, I realize I was somewhat unclear. I meant that most individual contributors are expected to do prepare a lot of slides so management can understand what’s going on and it very much cuts into actual time to build the thing.

Then when things aren’t going expected, we make more slides on why it’s not going as expected instead of allocating time to do the engineering work that’s needed to course correct.
The French small arms seem particularly afflicted by this.

The Lebel rifle is notable for being the first rifle which used smokeless gunpowder. (This made the bullet much faster; but also didn't reveal the shooter's positions in the same way that blackpowder did). Smokeless was so good, that the rifle's development was rushed, in secrecy.

Aside from being smokeless, the Lebel had technology that was the state of the art at the time... but, within a few short years, was almost obsolete for its lack of rapid loading, and its awkwardly shaped cartridge.

I think the French were working on replacing their infantry rifles with the next-generation technology of repeating rifles, but were unable to do so before WWI.
Its about to get a whole lot worse folks. up until now this was semi-frivolous info like location etc but with the advent of fitness trackers & AR you will have something constantly tracking your Bio-signs with increasing sophistication. Its not long before someone makes a bunch of ML models to connetect then to health problems and insurability in general. I hate apple as much as the next pro-open-source nerd but I hope to god Apple fares much better than 'others' in terms of privacy.
In the US employees of all nationalities have less leverage than many parts of the world. Healthcare tied to employment, persistent union-busting, at-will employment laws etc.
Disgusting position, thanks for sharing though
Copyright and fonts is a minefield. Hoping a credit isn't too much to ask for all the work.
It's a problem in some cities, but not in most of the country. Stories like this are weird to me because it feels like the author has never gone out into the majority of the US.
I am not familiar with this field, but I wonder if the lack of apparent standardization or centralization could be the result of many generations building on top of each other's work? If you dug up New York City's water mains today, they would be made of many different materials and in many different styles. Now add another 500 years of politics.
They might, on the basis of it being an open unencumbered ISA that will see a lot of investment from parties trying to get rid of Intel/ARM dependencies.

Think of it a bit like what happened to JS. Being the open language the web runs, it saw immense competition from multiple particles and today we have a what should be a shitty dynamically typed prototype based scripting language outperform and outoptimize the likes of Java with its static classes and types in some scenarios.
You associate faang with energy and cool kids?

That is very strange and curious to me.

MS is absolutely faang.
https://archive.ph/i0lx1
I don’t see how immediately
I think the only good news I heard in this area in the US, is one of the big companies doing this was going bust because they screwed up their calculations for how much to offer when buying homes. So if the companies just can't make the math work and go bust that would also be a good outcome here.
I bought a home in Woodstock, Ontario for about 525k in 2019. Last year comparables sold for almost $1M. And now they’re back down to about $600k.

Family wealth going up is somewhat written in fake money. Especially if you’re paying a mortgage with a rate that might renew at double.

Toronto is still super desirable but I think there’s real risk, versus it being a guaranteed good investment the way the boomer generation has been hammering into us about real estate. Can you imagine buying a home at $900k, only for it to fall 33% in value and your mortgage interest payments double?
Them:

> in my neck of the woods.

> Everywhere I worked at

You:

> Wrong

How can you tell them they are wrong in _their_ experiences?
A Local Information Perception Enhancement-Based Method for Chinese NER
Guy needs to take Toastmasters classes. Hard to listen to.
It's fair that a half sister is not a sister. At best, you'd expect two half sisters to be a full sister, otherwise, they're a different thing.