skysight-inc/HackerNews huggingface dataset:
> Is there any effort to get browsers to support typescript

You may want to read

https://news.ycombinator.com/item?id=35187377

https://news.ycombinator.com/item?id=35653653

Transpiling is entirely optional. Choose "esnext" as target and don't use the old and no longer needed "namespace" (now: just use modules) and "enum" (now: just use an object literal annotated with "as const") - and all that is done is removal of the type annotations.

If you write Typescript you already write pure Javascript, you just add type annotations, which are not part of the code and don't make it into the code.

Typescript mixes type checking and transpiler (Babel) and a few other thing in one big "blob" of a tool - unfortunately, the Unix way would have been to have separate tools. Which you can do and many do: Don't use "tsc" to create your .js code, only use it (through the IDE or standalone) to check types, and let Babel do any transpilations. It's much more flexible than "tsc" too.

What you are really asking is "Is there an effort to add types to ECMAscript" - and that does not look likely, because a) the existing solution already works well enough, and b) if you look at all the troubles and limitations you get when you use types you realize adding types is nearly impossible if you want to remain backwards compatible. If you use typed code, e.g. by using Typescript or Flow, you either end up with a lot of "any" types, or you have to code for the type checker. You cannot add reliable types to any previously pure Javascript code base. The code itself would have to change. Also, enough people don't want any types with their JS.
> I don't understand why people think that it matters whether AI is conscious or not

Exactly. Ethically important, we don't want to cause suffering. But danger? What special risk does consciousness bring to the table?
I had exactly the same problem. Recently, with the help of ChatGPT (just free version). When I didnt know anything, I just asked. The result was pretty good.

I also wrote stupid code first in my own version, and copied + pasted to chatGPT, asked it to improve it, or rewrite in ruby on rails style. And wow!! The rewrote version even went with explanation.

Beside that, you can use Rails console to test.
It's clearly meant to invoke thoughts of Minority Report. There's not a court in the EU that will convict someone on a prediction that they will commit a crime. Made by computer model or otherwise. So it's stupid as hell to ban it. It's already banned.

And if the models are only used to know where to police, then my response is that that we've been using that for centuries now. It's called statistics, and can be as simple as bloody counting how many people lose their wallet in a busy street. Get some cops there, arrest the pick-pockets. That's a good thing, and it doesn't become "evil" just because somebody calls it "AI".

But this is just politicians piggy-backing on some popular fear-mongering about some new tech. It's unlikely to go anywhere. It may be rolled out again in a few months or years when these politicians need some attention again.
I think it makes sense, the framing is an inherently human one even if in negation. In contrast we'd probably never feel the need to clarify that a speaker isn't really singing.
A really good token predictor is still a token predictor.
I studied urban planning in grad school, but didn't discover Alexander until I learned that my favorite band Phish had modeled their work on a Pattern Language.
I would pay a 30% premium to never have to use a regular taxi service again. Surely they can find a way to make this profitable with a reasonable premium.
Transfer of power only matters in a free and fair election
The only good use of this domain.
It is of course not legal, but practiced by everyone nonetheless. I mean, even 20 years ago all "awards" and other nonsense were just paid, different award figurines from different "review" sites arriving with the same sender address... Like after 20 years on a dating sites one may forget that they were supposed to pretend that they were looking for the "true love", people can forget it here too... Not even sure these lies are a benefit to anyone anymore, like people aren't dumb. It's more of a ritual dance.
Kind of morbid to learn the meaning of English idiom "to ride shotgun" reading this story.
That’s a fair point. I can accept that he does a good job in that role.
The language homepage has a solid "Getting Started" section that will walk you through the basics:

https://elixir-lang.org/getting-started/introduction.html

There are also interactive tutorials that ship with Livebook, including visualizations of message-passing:

https://livebook.dev/

After that, the Pragprogs have a solid line of books if you want to go deeper.
Aerosols from pollution could be a culprit?
UK defamation laws are more like a religious inquisition than American defamation laws. You essentially have to prove your innocence.
I can only recommend TechPowerup, Tom's Hardware and Buildzoid for Motherboard stuff. Those are the ones I check out. I think TPU also has PSU review?
Better and simpler for who?

Simplex noise is arguably inferior in quality to improved perlin noise.the difference usually doesn't matter. It's also faster, but on an order of difference that usually also doesn't matter.

All of the other noise types can give you different things for different purposes. Most of them look pretty similar, but there are differences! for example, value noise is quite similar to perlin noise (which actually interpolates gradients instead of values). Some of the popular perlin noise tutorials actually teach value noise instead accidently! What that means though, is that the low frequencies are unbounded in value noise, because you may randomly have clumps of like values in a row. Perlin noise is guaranteed to have zeros at the lattice points of the noise and so produces band-limited noise that is useful when you're doing a summation.
https://news.ycombinator.com/flagged?id=Waterluvian

I check mine every now and then, and I always find some I fat fingered.

It drives me NUTS that I am adding noise to this system.
> These predictions suggest ocean temperatures of 55–85 °C during the period of 2,000 to 3,500 million years ago, followed by cooling to more mild temperatures of between 10 and 40 °C by 1,000 million years ago.

Imagine going to the beach and finding the water temperature is 85C, near boiling :D. What a different world that would be.
Don’t look to politicians to solve these problems.
> Thank deity that we don't have package managers for fonts.

I use the Homebrew package manager on macOS to install fonts. Probably works the same way when running Homebrew on Linux.

How I install one of my favorite fonts:

brew install font-meslo-lg-nerd-font
In the US, truthfulness of a statement is an affirmative defense to libel/defamation, but believe it or not, that is not the case everywhere. Specifically, it is not the case in the UK.
Honestly I think while confusing, this will ultimately not wind up being a big deal. As it is, I have spotted literally hundreds of accidental links across the internet, caused by ccTLDs and gTLDs. Any time someone ends a sentence with a period and doesn't put a space after it it's extremely easy for it to become an accidental link.it isn't that hard to imagine :)

Doesn't necessarily mean it's great for ICANN to be granting all of these dumb top-level domain names, but it is a stronger argument against aggressive autolinking. It's always been crappy behavior anyways.
It makes sense if you accidentally paste somewhere to immediately be able to undo. But, just like in a text editor, undo should undo the most recent change. Once a copied file has edits, the copy operation isn't most recent, so that's not what should be undone. Of course, file explorer would need to be aware of changes to files it hadn't made for this to work.
>Even if the numbers are hot garbage, they proved the point about how easy it is to publish fake science papers, since it got published.

Not by the definition of "fake" used in the article, as the data wouldn't be plagiarized or fabricated. It'd just be shitty data.
> I know, because I rewrote a different 100KLOC typechecker myself in Rust (making a few small adjustments for a slightly different target language). It took me about a year.

It sounds like you could easily have a nice consulting gig for Microsoft.
Interesting. In what way ostracized? Can you give some examples?
I kind of have two somewhat complementary, perhaps ill-formed thoughts on this:

> The whole point of security attacks is that you have adversarial attackers. You have very smart, motivated people trying to break your systems. And if you’re 99% secure, they’re gonna keep on picking away at it until they find that 1% of attacks that actually gets through to your system.

If you're a high value target then it just seems like LLMs aren't something you should be using, even with various mitigations.

And somewhat related to that, the purpose of the system should be non-destructive/benign if something goes wrong. Like it's embarrassing if someone gets your application to say something horribly racist, but if it leaks sensitive information about users then that's significantly worse.
> Furthermore, they’re explicitly saying that “red flagging” by their simple indicator doesn’t mean that the paper is fake, but that it merits higher scrutiny.

Then they and science should change their sensationalist headline. It's ironic that a paper about fakeness of something uses a borderline misleading title.
Another thread finally made it click for me. I hadn't looked at the mechanics of why the current method is used. Which seems to be that a ton a synthetic training data is added that allows in band instructions.

And this is precisely the catch, as there is no out of band stream to a language model. It is only completing a single channel of text/tokens. So, yeah, I think I get it, now.
"One thing that makes me skeptical about the EU long term is the way they seem to view regulation not as an unfortunate necessity, but as an exciting project."

https://twitter.com/paulg/status/1050787382390329345
People say it is hard to find talented Elixir developers, but I know of two people who would love to jump ship to work with Elixir. Also, I think the BEAM is the most sensible platform for the modern web, and it puzzles me a bit that it is not more widely adopted.
Weird how everyone wants to blame the TLD and not the systems that naively convert text into hyperlinks.
It’s been a real ride here this year. The winter was unreasonably long, with no spring to speak of. That said in places like seattle it was a very mild winter overall, marked with intense snow storms in the mountains (as was seen all over the west). That was inauspicious enough for extreme weather this summer. Now it’s starting to manifest I fear.

When I moved here everyone said “you don’t need air conditioning here.” I grew up in the south east, so I know you always want air conditioning everywhere, along with plenty of iced tea. So got a house with a heat pump. Turns out to have been a really prescient idea.
The rule I omitted from the quote was "hospital affiliation". In the paper, they try a variety of combinations of rules, including some where failing any one rule classifies the paper as fake.

The meat of my complaint remains even when they're intersecting with other rules. We should not be incentivizing people to use emails that predictably go dead in O(years). It is quite a common annoyance to read a paper, want to contact the author, and not be able to because the email they listed is dead, requiring searching for where they currently work and trying to find their email at that new place, with mixed results.

Yes, a private email is predictive of a paper being fake, in the literal sense that P(fake|privateemail) > P(fake|institutionemail). I get weird looks at work for using my permanent email address because of it. And probably if we select on that as a way to discard papers, it will initially appear to work and then start to look like it's working even better because anyone trying to give permanent contact info will be forced to switch to be published/cited/taken-seriously. But that's a bad outcome. Also, if you systematize this rule, paper mills will just start using emails that appear institutional, because this is a simple rule to defeat.
Asrock was so annoyed being called out as "the mainboards to avoid", that they stepped up their game quite a lot. Their products are quite decent.
Microcenter here in Overland Park, Kansas had at least one of each of the major brands of 4090s available for sale in store last week when I was there. Do people go to Best Buy to buy ultra high end graphics cards? I haven’t bought a graphics card at Best Buy since they used to scam people by putting “pro” at the end of a worse product back in 2003 or so.
> Of course it's just statistics, but so are we.

Where is this coming from?
> The researchers in this paper use an astonishingly biased "fake paper detector"

I havent looked at the details here, but if you make a prediction model and if that prediction model is robust enough to explain with great accuracy something with 2 or 3 variables, it's not going to be "biased", it's just going to be robust and right more often than not using only these few variables (as long as the training data was broad enough).
FYI, it's "voilà", not "viola."

A viola is a string instrument similar to a violin: https://en.wikipedia.org/wiki/Viola

"Voilà" is a contraction of the phrase "vois là" meaning "see there."
Confusing food health labels debunked
Looking at the picture of the orbit, its a lot wider around Australia, is that a benefit given the shape of the country or happenstance
> Header files.
Wait, what?!? Yes, I prefer having header files to not having header files.

> Verbosity.
Wait, what?!? Yes, I prefer the verbosity of Objective-C method names.

I agree with a lot of what the author wrote, but this… this I cannot stand behind.
I'm shocked to learn that Chegg has stock at all.

I'm amazed the public was willing to invest in a site that, as far as I can tell, solely exists to help students c̶h̶e̶a̶t̶ get access to homework answers.

At least ChatGPT does things besides cheating :)
You made a copy. No theft occurred. I still have mine.

I never will understand why this is so hard for people to grasp. I’m not entitled to anything else.

https://youtu.be/IeTybKL1pM4
Chegg stock was in a down trend since before ChatGPT.
> but you can easily block adresses that do too much while not breaking the workflow of recieving emails you want.

Right, so this is a different use-case. You're talking about a usecase where you're not sure if you trust the site, but you may be interested in getting emails from them in the future, should they not violate that trust. You may even be interested in responding to the email. Fastmail also supports this with their masked emails.

OP's use-case is you're sure that you don't trust the site, you're sure that you're not interested in getting emails from them in the future, and you're sure that you will never reply. Therefore, you need an address that is entirely disposable. It's not quite the same thing.
Base64 is just another translation with very basic rules, you can even do it by hand [^1].

How hard would it be for an LLM to convert a string to binary? That's just a lookup table. How hard would it be to remove all spaces and add spaces every 6 bits? And convert that to letters. That's a lookup table again.

[1]: https://pthree.org/2011/04/06/convert-text-to-base-64-by-han...
You're just saying words without ever explaining why. What am I supposed to do about that? There's nothing to argue with if you're just repeating nonsensical claims without even trying to support them.

For example:

>> It is mechanical pattern recognition that approximates our understanding.

That's just a claim and you're not even saying why you make it, what makes you think so, etc.
Indeed. Nagel famously clarified that "an organism has conscious mental states if and only if there is something that it is like to be that organism." Many found this enlightening. I find it extremely perplexing that this wasn't immediately obvious to everyone. On the other hand, in Tibetan Buddhism there is something called a "pointing-out instruction," where your enlightened nature is pointed out to you. Afterward, you wonder how you could have ever missed it. Perhaps I should treat Nagel's paper as analogous. Like "oh, duh, the lights are on. Thanks for the reminder."
I don't know what you were responding to. We're not talking about personal experiences, we are talking about people using this stuff to annoy others.
MediaPipe: On-device machine learning for everyone
If I take something that deprives you of it that is theft because it’s real.
It's a medRxive preprint. It didn't get published anywhere. Science (the magazine) has lowered it's standards.
Yeah, I moved to Seattle recently and also knew coming up here that not having AC would be a mistake. I ended up using my portable AC a lot last year.
From the front page:

> Available anytime, anywhere, Caryn has been flawlessly cloned into an AI for your convenience and enjoyment.”

Just me, or a bit creepy?
Are you saying it's ok to call someone you're arguing with on the internet a pedophile with no evidence, if it's just one British person living in Thailand? What point are you making?

Edit: Looking at your post history, do you own a lot of SpaceX and Tesla stock? You do a lot of name calling to defend Elon, so your opinion defending one of the world's richest guys doesn't seem altruistic.
Russian Disinformation Efforts on Social Media
A fairly balanced report in my opinion. They also advice against launching state-backed counter-campaigns. Though, I think RAND, like many others, missed the point that most of disinformation online is probably generated by domestic forces in most countries. So the obsession with foreign interference is a little misplaced in my opinion.
You know, Windows really needs a single menu where you can manage and customize the contents of the right-click menu.
Factfulness: Ten Reasons We're Wrong About The World - And Why Things Are Better Than You Think (English Edition)
Hans Rosling, Ola Rosling, Anna Rosling Rönnlund

I'm reading this right now and I'm quite surprised by how little I know about the most impactful data on human well-being. The writing is a little bit off sometimes but still worth looking at.

I also liked "Fooled by randomness" by Nassim Taleb. His other writings are good too but I would say this one is the most impactful.
My favourite example is the grievance studies (https://en.wikipedia.org/wiki/Grievance_studies_affair). The authors published, among others, portions of directly copied Mein Kampf. In one "study" submitted, they claimed to have observed thousands of hours of dogs having sex in parks, to observe the "patriarchal" linked to "rape culture". The entire thing is a horrible indictment on the level of scrutiny undertaken in the various activist and social "science" oriented journals.
I agree with the author on choosing the right tool for the job, 100%. But I think that obj c is less and less the right tool. Just my 2 cents.

With respect to the point about header files. Of course you can have an API in swift either by having your class conform to a protocol or using visibility modifiers.

Also the point about verbosity, the benefit is often in reading others code and being able to quickly grok it. Swift also has a number of functional methods (map, reduce, etc) that are really nice for this.

I agree stability and compile times were an issue, but I think they’re getting to a fairly good place now.

And lastly I like the additional protections swift offers when working in a large team with varied skill levels. Just because the author has been able to avoid crashes, it does not mean this will be the case for a junior dev on the team (and code reviews can miss some things).
People really need to update their model of what a "statistical predictor" can accomplish.
We know that Transformers are universal approximators of sequence-to-sequence functions[1], and so any structure that can be encoded into a sequence-to-sequence map can be modeled by Transformer layers. It follows that prediction and modeling are not categorically distinct capacities in LLMs, but exist on a continuum. How well the model predicts in a given instance is largely due to the availability of data during training. This is the basis for the beginnings of genuine understanding in LLMs. I talk about this in some length here[2]. Odd failures and hallucinations are just the model responding from different points along the prediction-modeling spectrum.

[1] https://arxiv.org/abs/1912.10077

[2] https://www.reddit.com/r/naturalism/comments/1236vzf/on_larg...
Might be better if they cannot make it work and pay back all the investments then bankrupt. Another company can replace them with the correct expectations. I would also pay 30% + fair wage. Albeit less frequently. There was no functional taxi service in my metro before Uber and Lyft.
Their baseline had better be representative.
I don’t know how LLM do that, but I would think base64 is easier than arithmetic. ‘All’ you need (more or less) to do it perfectly is a table with 256 × 256 × 256 entries containing four-character ascii strings and the ability to chop up byte sequences at every 3rd byte.

Also, changing a character in the input only has local changes; it changes at most 2 characters in other encoded byte stream.

In arithmetic, on the other hand, a single character change can have effects at an arbitrary long-range.
Yes indeed. You are essentially using deterministic code to oversee a probabilistic model. Indeed, if you aren’t doing this, your new LLM-dependent application is already susceptible to prompt injection attacks and it’s only a matter of time before someone takes advantage of that weakness.
Based on the current pace of development, it's on the roadmap for 2055.
> Such an annoying failing of so many sans fonts.

Here's an example of some fonts, for anyone curious: https://i.imgur.com/jYA6jt3.png

Some fonts like Arial are bad at this, capital "I" and lowercase "L" look the same. Calibri and Liberation sans both have slight differences, but not enough to not be confusing. Some fonts like Open Sans have crossbars on capital "I", which solves this problem. But that's not the only solution, fonts like PT Sans have a different looking lowercase "L" which is different enough not to cause confusion. Then again, technically you could also run into issues with the vertical line symbol "|".

Also, PT Mono is a nice font, but has issues with a small full stop symbol at smaller sizes (not as pronounced as Liberation Mono, annoying): https://en.wikipedia.org/wiki/PT_Fonts
The post compares it with the enthusiasm about the iPhone as a platform in 2007.

A lot of the long hanging fruit has already been done since then, so it takes more effort to get kicks out of shipping an app that people use. Learning a new tool like a programming language is an easier way to get such kicks.
Whats the battery life on that :)
There is an issues though, many of these advice's are affected by culture, and shouldn't just be copy pasted to another culture, for example some of them might not pass in Germany.
The fact that they don’t seem to learn from the disastrous results of current regulation is even scarier.
Who would build a massive and super-fast (at least human brain scale) neural net with realtime and high resolution inputs/outputs (with a direct and dedicated communication channel with us) that for several years?

Friendly reminder, "shutting down" a self-aware being has a name: murder.

That said, it will very probably happen in the far future: when humanity will be close enough to certain extinction and if humanity science has no answer, they will build a super AI to see if it can give us beyond-human science to save us.

Who will write the script of the movie? :)

Humans: "Super AI? Can you tell us how we could save ourselves?"

Super AI: "42"