skysight-inc/HackerNews huggingface dataset:
Does the author refer to GPT-4 API or the ChatGPT version of GPT-4? The recent discussions on GPT-4 quality deterioration seem to focus on the ChatGPT version rather than the API. Also, since ChatGPT version of GPT-4 is now supporting web browsing and plugins, I would assume it has to have been updated.
It would seem that the author of this code is actually the World No. 1 IOCCC champ!
Fair point! Consider it fixed
Oh, I really didn't expect the name I casually came up with to have such ambiguity.
I saw a tweet about a job from somebody I followed because I knew them from HN, and got a great job because we already knew each other from what we'd both written and discussed on HN.
Arc Browser does it but currently closed beta, I have spare invitations if you need.
What lifetime service do you sell and what have you priced it at?
Tstr: Safe immutable string format for C
> But it's generations of technical ideas, solutions, implementation details and understanding I have to go through. I would like to understand exception handling to implement algebraic effects.

and upstream:

> Need to create a closure in assembly.

"I would like to know how nuclear reactors work so I can build my own. I'd like to skip the Schrödinger Equation, differential equations, and linear algebra.
And I want the nuclear reactor to run on thorium."

> I should probably get better at writing assembly

Yes.

Exceptions are not hard to understand once you know assembly language (any one of them). There are lots of blog posts you can look at. Algebraic effects are rather new and haven't been widely implemented yet ("thorium"). You most likely won't be able to find a pre-written document that spoon feeds you the implementation details.

A simple exceptions implementation uses a stack of "handlers". The code pushes and pops as it enters and leaves scopes. When an exception is raised, this stack is searched from top to bottom for a suitable handler (or maybe just the top handler is used). Precisely how depends on the implementation. The problem is that it's kinda slow to do all that work if exceptions are rare. Another implementation strategy is to have a table: the code address where the exception was raised is looked up in the table. That gives you the handler info. A bit more cumbersome if you have to handle linking. More so with dynamic linking. Even more so with run-time generated code.

Closures can be implemented in a billion and a half different ways. A common way is to allocate whatever local information ("captured variables") that the closure needs in a block on the heap. When the closure code is invoked, it gets a pointer to this block as a hidden parameter.

Of course, there are all sorts of code transformation tricks to complicate things...

Some you might run into often are transformations to and from SSA and CPS (+ the optimization transformations you can do on those):

https://en.wikipedia.org/wiki/Continuation-passing_style

https://en.wikipedia.org/wiki/Static_single-assignment_form

If you are interested in these things, you should really know some semantics and type theory:

https://en.wikipedia.org/wiki/Operational_semantics

https://en.wikipedia.org/wiki/Denotational_semantics

https://en.wikipedia.org/wiki/Type_theory#Technical_details

You do not have to know all the myriad variants, of course.

Learning a little assembly language is easy compared to semantics and type theory. Just learn your linear algebra and stop looking for shortcuts. It's like wanting to learn calculus while still being uneasy about fractions.
Why is it ambiguous? The Python documentation is pretty clear about what type of elements a string contains:

> Strings are immutable sequences of Unicode code points

(from https://docs.python.org/3/library/stdtypes.html#text-sequenc...)
I’ve never had a bad accident in a car, but the closest I have ever come was in my friends new VW with lane assist on a dark country rode on a bend when the lane markers vanished due to wear.

I started to get lazy and distracted as the car was mostly driving, my friend was talking at me and the assist disengaged, next minute we were going pretty fast towards a barrier. We recovered but it was close.

I’d just prefer to drive honestly.
> Is there any RCT done on evaluating the efficacy of RCT?

What is the set of possible results from the experiment you propose? What function are you going to test: randomness in general, some special RCT event, maybe some doctor who loves to break some double blind experiments?
That's exactly why crossing private property to reach public land should be allowed. Not just corner crossing, but actually walking across his land. As long as you don't damage anything, don't enter or peek into any buildings, and that's a reasonable way to reach public land.

The whole idea that you could claim public land for private use by blocking access to it should be wildly illegal.
> Is it really that hard to understand why people don't get the hype around a Jackson Pollock or Voice of Fire?

It kinda is. In the sense that no one is confused if you say you do not Understand the 400th Marvel movie without seeing the previous ones, but art, which largely exists as a conversation with the movements that happened before it, is somehow expected to be understood without context. And mocked if not easily digestible.

It is why artists like Banksy, who in my opinion offer little to nothing, cause a big stir. You do not need to understand what was happening in the art world in the 2000s to get Banksy, a instagram photo does all the work you need.

The Great Wave off Kanagawa is now considered a japanese masterpiece, but in reality is heavily influenced by Dutch landscapes and Japan at the time considered it almost foreign art. As if some european now did anime. The conversation and circumstance of that print gives it a lot of nuance, and makes it infinitely more interesting than just the wave and Fuji in the background. Similarly Pollock, as pretentious as he was, lived in an interesting time when even math and physics where shaking their conceptual underpinnings. The time they lived in was a mess, that experience, put to canvas as a rejection of Easel and figurative painting and making the process and important part of the actual finished product is interesting almost in itself, beyond the painting.

Think how many artists now show "behind the scenes" of their work, bringing people closer to the work. From Guillermo del Toro showing his monsters, to actors doing live chats, to artists publishing their doodles and sketches. Pollocks work was an attempt to merge that with the piece itself, make the action of painting it as obvious as possible, compared to art movements like the European French Academy that would knock you points if the brush strokes where visible. Their attempt at perfet painting, make the artist invisible and the subjects "greater than men", all angels and stuff is almost diametrically opposed to Pollock, that wants you to almost see where he tripped, where he was soft and where he just slammed the brush.

Sorry for the rant, just think that it is such a shame, with how interesting art can be that people reject it out of, what looks to me, just not putting the minimum amount of effort to learn about it.
What a bizarre article. It talks about scientist self experimenters and specifically about psychedelics yet makes no mention of Shulgin?
The market is too small. I had a HP Jornada 720, and it dramatically changed how I worked. I followed the several later projects that tried to continue with small size, touch-typeable keyboard, and desktop compatible OS, but they all fizzled from lack of market interest.
Landlords as well https://www.propublica.org/article/yieldstar-rent-increase-r...
Okay, thank you for your suggestion. I will delete it and fill the readme with some useful content.
Military/intel/fedgov are still the main drivers of technology, actually probably moreso now than ever. The low hanging fruit are fewer and fewer and giant monopolies on the scale of Bell Labs don't really exist anymore. Just take a look at In-Q-Tel for a public example, then think about the academic research sponsored directly and indirectly, then there's all the nonpublic stuff on top. A ton of companies exist only to supply government, and more depend on government as a/the major customer. The cutting edge will always be there, following the money.
That would have been interesting if it supported a local translation engine.

Also, it's missing easily findable screenshots of the desktop version, and a list of features. Is it something that only accesses translation APIs?
> It was just me experiencing social psychology.

Well, that's you. Other people have other experiences. In my case peer pressure was pretty heavily against art in pretty much any form, being from a small agricultural town, with technical background and studying and working in engineering. I was ridiculed for my interest in music and later other art forms.

In my environment there was no Pollock hype, 95% people didn't know who he is and the rest thought 'that's not art'. Yet it indeed is art, as is Duchamp's urinal, and many other creations. It might not be for you, but it is for someone. There are many art forms and artworks I don't care for, but at least I don't claim to speak for "all reasonable people" because perception and understanding is subjective. Expertise in art can give you better understanding and change your perception if you want, but ultimately there is a big share of subjectivity.

It's offensive when you claim I am not reasonable and do not care at all, but more than that, it's quite obviously completely wrong.
When I was headhunted for my current job, I asked him how he found me. The agent then told me that they had an AI system for finding and comparing candidates. He then reassured me that I was well qualified for the job he was pitching to me. So, I took the job, and I've never been happier!

Now, I wouldn't call my formal qualifications exceptional for the tasks I'm doing right now. You both need intimate tech knowledge and organizational skills, on top of some very specific knowledge about systems, algorithms, and AI. The width of tech you need to know for this job is kind of extreme, and IMHO that's not easy to read from my formal resume which mostly shows a background from teaching.

I do however have a personal tech blog and some projects on GitHub. I wonder how well their AI tracks such extraneous links, because if I was a tech company I'd first and foremost want to know specifics about what I know, how I apply that knowledge, and how easily I am able to learn and pick up new technologies. I think an AI is the perfect tool to automate such an analysis, so I'm wondering if that's what they did.

I guess opening Pandoras box would be to also employ forensic text fingerprinting to find other projects from the same author under various pseudonyms.
Loved the pitch.
Sent my resume via email /fingers crossed/
I think you are not wrong. Blackberries used to be enormously popular. Same with various Nokia business phones that had full keyboards. Or their meego phones, which had full keyboards as well.

The formfactor did not really fail in the market but it just completely disappeared along with their software platforms. The thing that actually failed in the market was those software platforms. Keyboards were just collateral damage.

Android and hardware keyboards never really were a thing. I think there were a few niche models but none from mainstream manufacturers like Samsung. At least I don't recall anything that was seriously marketed in this space in recent history.

Apple actually sells keyboard covers with their ipads and they are super popular because real keyboards are essential for knowledge workers. But nothing similar is available for the iphone. There's nothing preventing that from happening except Apple deciding for their users that tiny touch screen keyboards are good enough when on the ipad, which has a much bigger touch keyboard it clearly isn't. I can see a contradiction here. That can't both be true.

A few reasons I can see that might explain why manufacturers don't like the idea:

1) it adds cost and introduces more failure modes (mechanical issues, keys failing, etc.). Apple knows a thing or two about failing keyboards.

2) it makes the devices thicker. Swappable batteries disappeared for the same reason. Once Apple got away with gluing in the battery to make the phone thinner, everybody else copied that and never looked back.

3) Android support for this would complicate UI and the touch keyboard appearing. That probably is a minor one and fixable but I given that there are few android phones with keyboards, probably not a lot of testing is happening for this. IOS seems to actually handle this nicely on the ipad.

Having used a few very robust Nokia models with keyboards, I think especially business users would appreciate a modern take on that formfactor. I don't think anyone gave this a serious try recently. Instead everybody seems to obsess about curved screens, folding screens, adding lots of camera lenses that mostly go unused, etc. So, manufacturers attempt to differentiate with features that don't really matter; which seems like it's a race to the bottom. But those same struggling vendors seem to avoid doing things that might actually differentiate them more meaningfully. Things like keyboards, swappable batteries, etc.
Can you also diff two files outside of git?
Sure! It's in Sketch, and the assets are here if you want to play:

https://github.com/davestewart/davestewart-site/tree/main/co...
Do you actually need tabs though? First thing I do after installing VSCode is usually getting rid of the tabs and just use the file tree and "opening files" pane (recently got rid of that too because you can just invoke its popup with a hotkey).

What annoys me more is that stupid minimap that somehow has become an enabled by default "feature" on modern editors.
There do exist things like the Gemini and the Astro Slide, which I've always looked at as a potential replacement, but they always seem to just miss the mark. The closest I've come to the same sort of experience was the Nokia N900, which was remarkable in a lot of ways.
It's legit the focus of where I work :c (gestures broadly to everything)
We have a disease called racism and bias and as a society we are applying various treatments.

Those treatments have side-effects of course, but the author is listing a variety of ills and "hand-waving" a supposed causation, and worse, implying by omission that diversity programs are a significant cause, and that's the side-effects are worse than the disease.
I can't access the article, but how much of the collapse is due to the pandemic and its consequences?

I remember visiting a maternity in Berlin, where they had a chart showing births by year in that hospital since its inception. I was surprised to see that there had been a stronger decline in births after the fall of the wall in 1989 than during or after the second world war. I would not be surprised to see a similar decline in the past few years.
I just thought that the charts in this project look good. I also used similar charts on my GitHub profile. Now I realize the problem with doing so. In the future, I will write some useful information in the readme instead of using such a chart.
Lots of children are telling the (elite) crowd the emporor is naked but they want to continue pretending so hard they wont budge.

It is a power move to go around naked pretending to wear cloths and get away with it.

The emporor in the story was fooled. The commoners played along with the emporor's cloths but they openly mock modern art.

The current situation is more of an injoke to mess with commoners.

Compare modern architecture that is nice inside but look horrible for the commoners looking at it from the outside.
Do I need to download the source and compile it using correct flags on the target system for optimal performance? In my previous institution they would download the commonly distributed R language binary and run as is on a brand new system, and I was wondering if recompiling from source would have made a difference.
Forgot to mention another kind of exception handling that is very common:

https://en.wikipedia.org/wiki/Microsoft-specific_exception_h...

https://learn.microsoft.com/en-us/cpp/cpp/structured-excepti...

Yes, Windows NT (and up) has a cross-language exception handling mechanism, separate from and in addition to whatever C++, Modula-3, etc have.
And having grown up in Norway, I feel Americans talking of "land of the free" while allowing landowners to block off even their own land is offensive on the face of it.

The ridiculous lengths these hunters had to go to in order to avoid straying onto private land is antithetical to freedom (you still need hunting licenses in Norway; and permission to hunt on private land so there are still potential issues, but worrying about a few meters and the accuracy of GPS to avoid even crossing a tiny little portion of private land is not one of them).
Someone managed to create a level 3 radiation-hardened quine in Perl (you can remove any 3 characters and it still works):

https://codegolf.stackexchange.com/a/100785/98955
AI-powered drone tried to attack its human operator in a US military simulation
Only Siths deal in absolutes.

Among that list, NATO is by far the preferred option.
Oh, I thought this was meant to be played solo. No wonder why my fingers got so twisted.

Rotating phone solved it but that’s against the point.
Yes, I am just creating a user-friendly collection.I have plans to add OCR and screenshot translation functions in the future.
That's my entire problem with AI or any machine decision. It has zero emotion, zero empathy, zero care.

Imagine if AI were running the subs in the Cold War. None of us would probably even be here. We may be stupid creatures, but we're still creatures...

https://en.m.wikipedia.org/wiki/Vasily_Arkhipov
As noted by a post above SQL is not a composable language. That means new features can not be implemented as (standard and user-extendible) libraries. And that makes the standard more bloated with every new feature. The DB-vendors benefit from the situation because it gives them more customer lock-in because when the standard is bloated, not everybody is likely to be fully compliant with it, which causes customer-lock-in.

Somewhat ironically the standards-body also benefits from such bloat because that is the product they are selling. The bigger the standard the more money they can ask for it.
The Guardian hasn't done any due diligence and is spreading fake news based on an interviewer who seems to have misunderstood the context of the exercise.

"He notes that one simulated test saw an AI-enabled drone tasked with a SEAD mission to identify and destroy SAM sites, with the final go/no go given by the human."

It is being established in the beginning of the story, that the drone needed confirmation from a human operator to attack a target, but no explanation is given how the drone would be able to kill its operator without his confirmation.

This is obviously absurd.

What I believe happened in reality: this was not a simulation, but a scenario. Meaning a story written to test the behavior of soldiers in certain situations. The drone did not behave according to the decisions taken by an AI model, but according to the decisions taken by a human instructor, who was trying to get the trainees to think outside the box.
>They’re not. UTF-32 code units have a 1:1 mapping to USVs, surrogates are not valid.

This is true, although very pedantic and irrelevant to the point of my comment. The distinction only matters when you're dealing with ill-formed strings.

BTW, Python strings can store surrogates.

>Is it? It’s not like they’re any more useful. Arguably less so, UTF-16 is at least a somewhat common storage medium.

If you aren't directly dealing with UTF-16, UTF-16 code units aren't useful at all.

Code points/USVs, OTOH, are the building blocks of Unicode strings and various Unicode algorithms operate on them. They're low-level, but not useless.
I thought about that too, the ability to group windows into tabs*, regardless of application is better managed by the desktop environment, rather than application.

[*] https://www.haiku-os.org/docs/userguide/en/GUI.html#stack-ti...
Arc does this as well, I think.
I heard from a science journalist friend of a friend that the genetic medicine is going to be very exciting with the further development of single-cell RNA sequencing. To put it incredibly crudely, DNA is the blueprint for an organism and it's the same in all cells. RNA is the expression of the DNA in a particular cell and shows you what that cell is doing, and with which genes.

Imagine the difference between diagnosing a genetic issue when you have information true for all cells versus knowing about the action of a particular cell of interest.

When applied to the brain it's possible we might have biological descriptions of conditions previously only psychologically identifiable.
Great work, thank you for sharing!
So human activity accounted for 84% of ignitions of 'significant' fires within coterminous United States during the twenty one year period [1992-2012] (inclusive).

Those fires ignited as a result of human activity accounted for 44% of total area burned.

Human activity as a source of ignition includes

> a variety of sources, including the US Forest Service-designated categories of equipment use, smoking, campfire, railroad, arson, debris burning, children, fireworks, power line, structure, and miscellaneous fires.

I'd suggest that it's important to point out that more than half of wild area burned doesn't result from human activity and that human arson is a small portion of human ignition sources (which is not at all how your intial comment reads).

I do agree that the biggest issue here is the effect of changing climate increasing the chances of wildfires both in areas traditionally prone and in areas that have rarely seen them.
I'm interested in the topic but have no understanding in depth. I like upvoting stories like these to revisit them after a day when there are hopefully some interesting comments and/or clarifications.

I really like the high signal to noise ratio in HN comments.
Works on Firebox iOS
Ask HN: Does OpenAI make a profit on GPT-3.5-turbo API?
Like many, I'm using the OpenAI API in my product and I've noticed that gpt-3.5-turbo offers very good value for money relative to the other models.

My main concern is that OpenAI might be running this at a loss, making a price increase likely.

Does anyone here have any educated guesses about their likely unit economics?
> applies too much resistance when attempting e.g overtaking

It doesn't turn off when you indicate to change lanes? It does on the Hyundai.
Cringe comment: the reason why will not see it both you and me will be the same if it doesn't get solved :)
Apple reportedly prepping a pair of high-end Mac desktops ahead of WWDC
Auchan is a supermarket chain. Ernaux is the Nobel prize winner.
> You lose [consciousness] when you’re under general anesthesia or in dreamless sleep.

How does he know that? Seems like a petty thing to argue about. But musing about consciousness is so subtle and evasive that you really have to be careful about how you think about it. And this seems like sloppy reasoning to me. Of course you could introduce that as an axiom. But then you still have to either strictly stay in a philosophical domain or you have to map this axiom to something you can measure and identify in reality. And I don't think you can look at an MRI or sth like that and say - see this is the specific measurement I interpret as "not being conscious".

I firmly believe there is no point in even trying to figure out consciousness without having significant experience in zen meditation.