skysight-inc/HackerNews huggingface dataset:
> It's guidance from the government, not a '3rd party group'.

> Sort of, but not quite. It's actually published by the DfT

What do you think the 'Department of Transport' is a department of if not the government?

> It's guidance

> So the government recommend you do this.

What do you think the difference is between a recommendation and guidance?

I said 'It's guidance from the Government' and you corrected me with 'So the government recommend you do this.' Eh?
Let's start a thread sharing some experience with laser treatment:

A friend of mine did a Lasik surgery, but lost his sight after a week (1/10 on one eye). AFAIK, there was no wrongdoing from the doctor side, so no financial compensation.
> Physicists don't largely choose physical theories on whether they make life meaningful or not. I think you're thinking of religious people.

I disagree, I think quite the opposite.

Physicists often seem to adhere to a "religion" of sorts, that being atheism. Anything to get rid of the "God problem".

It's not all so cut and dry.

> “I believe in Spinoza's God, who reveals himself in the lawful harmony of the world, not in a God who concerns himself with the fate and the doings of mankind.” - Albert Einstein

I'm not religious.
Neo Geo Pocket Color
You can work with pointer+length or begin+end pairs in C just fine - it's just annoying. But you can always upgrade to C++ and use std::string_view to abstract that for you if you want.
On a side note, any news of semi-permanently implanted headphones? On a daily basis, I use both wired and wireless, IEM/monitors/bone conducting and none of these are ergonomically c enough, they all interfere with headwear, clothing and pillows. If my Aftershokz were not band on but clipped into skull slots, that would be a major quality of life improvement.
Show HN: Train an AI model on Android without coding, make your own app with it
Haha true true !
Maybe he is a cross-spectrum coder ?
Inline scripts being the opposite of using the "src" attribute for referencing external resources.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sc...
I think multiplication for string concatenation makes more sense than just "its juxtaposition so we call it multiplication". If you look at type theory, then a tuple of type (A, B) is called the product type of A and B. This is because there are #A times #B elements in the new type. A Sum type, in type theory is a tagged union. It is an element of Either A or B. (Like a C union with an extra tag saying which type it contains). This is a sum because it contains #A plus #B elements.

Concatenation of strings is much closer to the tuple approach. And the argument about the number of elements in the type still holds if you keep the string-length fixed.
> In December 2018, a search for laser light emissions from Tabby's Star was carried out using the Automated Planet Finder (APF), which is sensitive enough to detect a 24 MW laser at this distance.

But why? It’s intriguing, I just wish they could say what the hypothesis was. Alien teens goofing off pointing laser pointers on passing flying saucers?
Foundations and Introduction to X are typically very different courses. The second has a much more informal approach, and the objective is to facilitate understanding for someone in their first approach to the discipline.

In the case of foundations, the aim is to establish a solid and complete base on which to build all subsequent knowledge; and that need not be easy at all.
I did, and they make perfect sense if you look at them through the lens of MWI, which however seems weirdly unpopular in QM circles. I was taught the Copenhagen interpretation, which is just... madness.
The key point of the comparison is than in React, as in immediate mode, you tell what you want shown every time (for every "frame") as opposed to having references to and controlling instantiated widget objects (an object graph).

In React's case, you tell it declaratively (your JSX component tree) with some procedural stuff thrown in (JS parts in the JSX). In classical immediate mode, by calling paint functions. But in both cases you tell every time - as opposed to performing actions on a pre-created widget graph. With the caveat that in React's case, behind the scenes, there is a widget graph, the DOM. But that's an implementation detail, as far as the dev writing React is concerned, they re-describe every GUI state.

So, you can say that React is an "immediate mode" abstraction over the retained DOM. In fact that's exactly what devs say about it:

https://twitter.com/ibdknox/status/413363120862535680

That's the inspiration from "immediate mode" that React brought - the GUI intention described by creating a new state, as opposed to manipulating state. And the diff algorithm is also inspired by the diffing algorithms used in immediate mode to draw less for each frame.

That React does this with DOM widgets under the hood as opposed to painting commands, and that those are higher level widgets and not lines and rectangles is not the part of the analogy people emphasize.

retained: user instantiated widgets, and changes their state (e.g. to clicked).

traditional immediate: for every 'tick', user issues commands to draw the new GUI state, usually with some smart diffing under the hood to minimize paint commands.

React immediate: for every tick, user describes the arrangement of widgets, text, etc for the next GUI state, usually with some smart diffing under the hood to minimize DOM changes.

Calling a "draw button" function, as opposed to declaring a "<Button>" in a JSX structure, is not that crucial of a difference, compared to the conceptual change between "manipulating objects" and "telling everything about how the UI should look at each tick".

Heck, a dev doing an "actual" immediate mode could trivially wrap the "draw button" function call to be driven from a declarative file (if you parse the term "button": call draw button, etc). It still wouldn't be retained mode.

And React and co also inspired interest in immediate mode GUIs, and inspired some new actual bona-fide immediate mode, with graphic calls and everything.
Women aren’t “sexed” at birth. Woman means adult human female. Female is sex of a organism and is distinguished by egg cells (gametes).
In the early chapters of the Feynman Lectures on Physics (volume II) there is a really good explanation of why cross product and curl make absolutely no sense in more than three dimensions. The fact that they can be defined unambiguously is a complete accident which occurs only in three dimensions.

Not sure if this is what GP was talking about. But the explanation there is excellent. It's in the chapter where curl is introduced for the first time. After you read it, you'll get annoyed whenever you see curls or cross products.

Also: https://en.wikipedia.org/wiki/Seven-dimensional_cross_produc...
Well, they did not lose their jobs to automation for the most part. But tech enable rigorous surveillance so that taking a leak has to be a timed. Yeah, technology...
Two friends were staying in a hotel in LA.

One went sleeping, the other one could not sleep, so he took 100$ and went to a casino.

He put the whole 100$ onto a number and luckily won 10,000$.

He then put whole 10,000$ onto a number and won 100,000$.

He then put whole 100,000$ onto a number and won 1,000,000$.

He thought he is has a special luck today an put the whole 1,000,000 US$ onto a number and lost everything.

Coming back to hotel later at evening he spoke with his friend, and said: "I was unlucky today, I lost 100$".
Correction: set to 0, not 2.
Removed from school shelves. The title is very unclear in that it's for schools.
String theory is just intellectual wankery at this point.

However, a more interesting and much simpler variation has just 5 dimensions, and was seriously studied by Einstein: https://en.wikipedia.org/wiki/Kaluza%E2%80%93Klein_theory
Not what the headline implies at all.
Schools are not allowed to keep them in libraries or require their students to read them. You can of course still purchase them in a store or online.
Can't argue with that logic. But presenting failures is better than not having any information at all, I'd argue.

By showing any work at all, people can give feedback.
I like to measure things. Like token count, line count, variable count, method parameter count, indentation level and grokking time.

Clean code minimizes these measurements.

To minimize variable count I can use ternary expressions. To minimize indentation level I think carefully about early returns or extracting blocks of code to functions that do nothing if condition is true (early return).

To minimize grokking time, I revisit old code I've written and measure the time it takes me to understand it. It turns out it correlates quite a lot with line, variable, and token count, indentation level :D

Clean code as commonly defined is far away from any measurable metrics. That's why one might say that it does not exist.
One thing that always got me about solipsism, if you think that I don't exist, why bother telling me about it?
HTML+JS+CSS is a very refined toolset for building UI that provides you with a content to consume. Sometimes, especially when the content is text, video and images, it’s actually easier to build high quality experience that works very well on all the platforms because it provides interaction modes out of the box that are the same everywhere.

Native apps shine when you do something novel, something that’s beyond text, images and video consumption or you leverage platform specific functions.

IMHO, sticking to Web technologies is a better option for things like Netflix or Amazon Prime but not good for Uber and alike.
> Well, I'm obviously not a lawyer, but that definitely was not my intent

I think “don't roll your own licence (unless you have relevant legal expertise)” should be a regular mantra much like “don't roll your own crypto (unless you have significant cryptography expertise)”.

With the joint caveat of “unless it is for a personal project or plaything, for learning/practising/gaining that expertise, that you don't expect others to use” of course.

No matter how careful and well-intentioned your efforts are in either case, the chance of unintended consequences causing faf (for you in this case, needing to explain and/or reword in order to reclarify and smooth edge case interactions with other common licences).
Theoretical Advances in AMM (Automated Market Maker) Understanding
Thanks! Yes, it was definitely exhausting, but I think life is lived in phases, so I always take periods of rest when I need it.

Out of curiosity, what would you have submitted this post as? Tell HN?
If I'm not looking but the role looks interesting, I'll normally just ping them and ask. Most of the time they will give you a name, location and pay range online. Of course the more desperate you are the less leverage you have.

If you're actively seeking though, it is beneficial for you to talk to one or more good agents, but finding a good one can be hard.
I think the problem is that outdated competition laws stem from an era where a potato is a potato and it doesn't particularly matter whose potato it is that you buy.

It completely fails to account for the relatively recent platform lock-in and network effects which dramatically amplify the leverage and impact of the platform owner not only on the end users (who could with great effort choose a different platform and migrate all their data and services) but also the third parties who need access to the platform in order to enter a market.
Huh, neat!. Especially since alternation is commutative. So this is a ring-like structure! We have 'identity' if you allow a pattern that matches nothing. No inverse elements though. Not sure what the name of this ring-like thing is. But pretty certain it is named.
> The team has been busy with addressing technical debt that we inherited [...] migrating to Typescript

Wow, not writing stuff in TypeScript is now considered technical debt? I knew people were already rushing to rewrite everything in TypeScript if they could, but didn't knew we'd come this far along the hype-cycle already.
> Even though Firefox supports H.264, it's not really consistent outside of macOS because Firefox doesn't want to deal with patent hassles.

That's only a concern for video chats. Teams does a lot of other stuff too, and there's no reason you shouldn't be able to use that on Firefox.
I moved back to Firefox for 80% of my browsing back in 2018 or whenever Quantum update was released.

At this point it's only idealism that keeps me there. Tiny things just don't work well. And it is so endlessly frustrating.

- I want the bookmark bar only to be shown in the new page tab. This does exist, but accidentally hitting _cmd+b_ resets it.

- The new-tab page is awful. It's trying to be clever when it really shouldn't be. So I have it all switched off.

- The container idea is nice, but so damn unusable in practice.

- I use Kagi as my search engine, but can't set the tokenised search URL so it works in private mode.

- The Settings are just so clunky. I wince every time I change something.

- When typing something in the omnibox, the suggestions are at the very bottom of the list. So far away, that I might as well not have them.

At least the dev tools are nice.
Most companies have this policy it’s actually quite important to protect both the company and the project, it wouldn’t surprise me if big projects even mandate it on their side too.

It usually comes in two flavors - individual contribution as you doing something on your own time and equipment and official contributions when the company itself contributes to a project.

This looks to be the latter rather than the former so it would make sense it would come from an Apple account.
I'm the type of person that likes to visualise the space of all possible theories of everything like a surface. A table, let's say. I like to imagine placing similar theories together, like stacking papers. Likely candidates closer to the middle of the table, fringe theories physically further away, under a pile of other junk.

I've never been able to mentally put the "we're in a simulation" paper away. It's always been persistently plausible, and refuses to budge.

A friend of mine keeps insisting that a lot of the complexity we see in physics stems from floating point arithmetic rounding error.
https://betweentworocks.com/welcome-new-havens-strangest-apa...
Largest Known Prime Number
"Why do we cry when you know how the story ends?

How can you laugh when you know that it hurts your friends?

We've all been there once but you never left.

This is me coming back to get you out,

To say goodbye, to make amends..."
It's the Malls carpark(s) that are being developed

from the article

"marking the start of construction of a new 309-unit apartment complex on a parking lot at Santa Ana’s MainPlace Mall"

making the title correct, they're adding apartments to a Mall

edit: from the other response to this post that has pictures. It looks like the Mall has been modified into an appartment block
Exploring Patterns Of Integer Sequences [pdf]
> How is local politics office turning into that?

There's a general push on both the left and the right to turn local elected offices that ought to be non-partisan into cut throat political battles. There's an intentional effort by all political tribes to weaponize every possible office. This is not going to end well. A dysfunctional federal legislature is one thing. A local council that can't get work done could literally tear the country apart one small town at a time.

Yes, I am deeply pissed off by a township auditor going on a Twitter rant about The Establishment on his twitter account. Auditors aren't there to Take On The Establishment. They are there to... audit.

> it seems that people clearly care about local political, don’t you think?

On the contrary. This is an example of one particular "local" becoming and being subsumed by the "national".

"The Establishment" that you rail against when talking about Clinton and Soros or Lehman and Koch is probably not controlling your tiny city supervisor council.

Go back and read this fucking twitter thread from the first word onward.

Even if we grant every point of every person arguing with me here (well, except the dude who wants to physically attack me and is now, in his own words, stalking me...): to the extent that local corruption exists, it's probably petty grift/nepotism totally disconnected from the whatever you imagine "The Establishment" to be.

> Also, assume that OP is indeed a troll who won with 200 votes total via a keg...

This appears to just be a miscommunication. I did not intend to suggest that's literally what he did. My point was the frivolity of the number. Actually, I think my meaning is clear after re-reading my original comment? (All of your related questions stem from a miscommunication of my intended meaning.)

> Edit: also considering the number of comments you’ve made on this post specifically, I’m genuinely wondering why is it this hill specifically that you’re willing to die on?

Again, shenanigans in local politics generally. I have no tie to this community and I do not live in PA.
These guys seem to be channeling early Skinny Puppy. The vocal intonation and mix in particular are hauntingly similar. It's good stuff.
This is completely bogus. The ever-increasing global demand for soy foodstock is already accelerating the destruction of tropical rainforests - how is it all sustainable to burn huge amounts of foodstock that so we can enjoy making the world "a smaller and better place" [1]?

Just for fun - an acre of soy produces 70 gallons of "biofuel", so a square mile of soy plantation can produce around 45,000 gallons of fuel, or enough to fly a 747 for about 10,000 miles. After slashing and burning a patch of rainforest, you get about 3 years of crops, before you need to leave it for around 10 years to "regrow". If all of the Amazon rainforest (2,000,000 sq miles) was slashed and burned for soy plantations, and assuming it can magically regrow in those 10 years, we will get enough fuel over one 13-year cycle to fly 5 billion miles. That is about 1/10th the total airplane mileage in one year. [2]

[1] https://www.virent.com/products/jet-fuel/

[2] https://www.quora.com/How-many-miles-do-airplanes-fly-in-the...
More about social standing than religion as I understand it. The rule of thumb as I was told is basically: "is there any slight chance in I marry this person? If yes, hijab. If no, doesn't matter." Religion plays a role in such analysis, but considering a Muslim immigrant laborer versus some arbitrary Abrahamic doctor (for instance), the doctor would be more likely to see the hijab. (For married women, the husband decides)
> (not the wishy-washy definition that has been debunked from your study). [1]

Your single study isn't a debunking. Leonard Sax is a gender activist. He's also just one person who has no degree in genetics. I provided citations of actual research institutions with actual geneticists working for them.

> Seems pretty flimsy to claim a 99.99% match rate is wrong because of extreme outliers.

I didn't claim it was wrong. I claimed it wasn't "cut-and-dry". Nothing you said refutes that. In fact, pointing out any kind of controversy on this topic proves that I was right: there is no clear, undisputed genetic test for someone's sex.
Not being considered a citizen is a very clear deterrent to avoiding the "voluntary" conscription.

A "separate but equal" civil organization does not mean that there is true equality. Even less so when they do not even pretend to be equal.
From What I understand Bellard's code is fairly "dirty". FFmpeg, as I understand it, was hard to modify, maintain, or integrate with.

Don't get me wrong, he's a fucking wizard. He's Mozart when the most talented of us can only ever hope to be Salieri. But part of that is, he dashes off brilliant code without much thought to its maintainability, then leaves for the next project.
Doesn't the gigantic pull request description [1] already provide ample description of why the changes are being made?

[1] https://github.com/obsproject/obs-studio/pull/5875
For web & phones, I'm inclined to agree; a native app outperforms a web or hybrid app any day of the week. I do believe Facebook and Google are companies who ran into limitations though, binary size, number of classes / identifiers, build times, for which using web technology was a solution.

But for TVs, ehh. There's a lot more fragmentation on the TV market. And if things were slightly different, we'd have a lot more fragmentation on the mobile market as well. Actually there are plenty of mobile alternatives, but developers don't really want to support all operating systems - and these cross-platform tools often have substandard support for mobile operating systems that aren't iOS or Android.
Counter ref: https://www.quirksmode.org/blog/archives/2021/08/breaking_th...
My mother got lasik and everything went fine. Her vision started to decline a bit some 15 years later but her overall experience was positive. I would wager "most" people have a good experience, but the risk of a big negative is probably not worth it.
The UK is an unitary state with 3 autonomous areas that have different devolved levels of self-governance, similar to Italy or (in theory) China.

The difficult part comes from calling these autonomous areas "countries".
The problem I see is that... I like having a phone and a laptop. Since we will never be able to fully participate in the modern world without them, unless society changes majorly, I would rather use the device I already have.

An ideal forever computer would just be a very reliable modern laptop with a replaceable battery and a software suite that people somehow agree to maintain for the next few decades.

It's possible now that we are at the good enough stage. Basic everyday tasks are no longer a challenge for CPUs, so in theory current laptops should be good till they break.

If I were to actually want to build something myself, it would be a pi4 based cyberdeck powered by lithium titanate batteries.

The author is a software guy, which is good, because most of the cool stuff he proposes can be done in software.
Afaik, JIT compilation is disallowed other than for Safari’s javascript engine. This is why x86 interprets instructions for example, which is more of a gray category.
I'm Chilean and I read Lazarillo de Tormes when I was 12 at school, do you know that the Roman Empire also influenced the British isles and every place they conquered? What's your point? Christianity also isn't particular to hispanics countries, robbery was a way of life in northern tribes too.
The statements here I've read are really ignorant, you can't generalize hustlers and bribery 'cause in every part of the world you'll see people doing that, educated and uneducated, the lack of values is not a cultural thing, saying that is racist, you can vote me down all you want, that won't change the level of ignorance I'm seen here in HN.
What you are describing is nepotism.
> repurposed

Weren't they even originally marketed as such? At least the external enclosures that people like to shuck are usually called something like "my backup".
How Swedish EV car company UNITI fooled governments, companies and journalists
You really seem to not understand hacker culture, which I guess isn't your fault, maybe it's before your time or something. But there's something special and important about it. That special and important thing is why this place is called "hacker news."

I don't think I can do it justice in this comment, but I do encourage you to try to read about it and understand what this sort of mischief meant to people. You obviously understand something about its downsides, especially from the perspective of the broader culture / "the suits," but I do encourage you to try to understand something about its many virtues.