skysight-inc/HackerNews huggingface dataset:
Why would they rewrite Final Cut Pro in SwiftUI? Rewriting code is a large effort and a waste of time without proper justification – new developer tooling for UI is not usually a good enough justification to rewrite the entire UI
Anybody know how this compares to iCircuit 3D?

https://praeclarum.org/2021/02/08/tech-of-icircuit3d.html
I didn't think I'd be saying this, but partway through the post I decided to stop reading, because all the information being given sounded so interesting. I'm just going to get the book instead and have a look.
This is another example that Twitter needs richer semantics. It should not be possible to delete a tweet. There should be some way to mark it as "retracted".
His example of music as a balance between order and chaos is interesting. If you play entirely within the pentatonic major scale, for example, the sound will be something like a nursery rhyme. If you play a note outside of the scale (introduction of chaos), you have to resolve that dissonance or else it will sound like a bum note. This is true regardless of what scale or genre you choose to play. Other scales simply include more dissonance within them that still require resolution. People who say these things are subjective do not understand music theory. It is argued that people in the classical era had far less of an ear for dissonance, but this is unprovable. People today still find it offensive unless there is resolution.
Every result graph there has the error indicated. If there are any significant errors then bars are shown. You can see this on the very first result page for LeelaChessZero.

It also shows you the number of runs. It also shows you the compile options used. All this info is included in every graph.

The complete system setups are described. The test suite is also open source.

https://github.com/phoronix-test-suite/phoronix-test-suite
The concept of "being mode" laid out here bears a resemblance to the Jewish Sabbath ("shabbat" in Hebrew) observance from dusk on Friday to dusk on Saturday night.

As I understand it, one tradition of exegesis holds that most of the restrictions on activities during the Sabbath can be understood as restrictions on acting purposively to modify the natural world, engage in commerce, etc. (later rabbinical elaboration proscribed even thinking of such activities to maintain a restive frame of mind). The paradigm of such work activities in the Hebrew bible was the construction of the Tabernacle in the wilderness.

https://www.myjewishlearning.com/article/shabbats-work-prohi...
We do actually have a way to rebuild Fedora with particular changes (eg. when we change the baseline x86-64 version). I guess other distros can do that too.

Of course it goes almost without saying that EAC would make about as much sense as an open source project as it does as a closed source project, which is to say none whatsoever because it's conceptually nonsense :-)
I need to download the Google app (and I presume sign in) to use that feature? Count me out
I would be massively happy to spend $8 dollars on an app. 99/100 the app is what I want but it's free with massive ads and/or some kind subscription/micro transaction model.
At least they didn’t say quantum leap…
In addition, I think it's the fault of management if it's all young engineers.

I've often said the difference between a senior and a junior isn't writing software successfully, it's writing software that's maintainable 5 years down the road. The only way to learn that skill is to deal with a project over years and learn the pain points that aren't immediately obvious w/i the first 18 months.
I'm not much of a believer. It's worth pointing out that as the number of qubits goes up, so too does the error rate.
Interesting to see how he's progressed with this. When he first announced he was getting into AI it sounded almost like a semi retirement thing: something that interested him that he could do for fun and solo, without the expectation that it would go anywhere. But now he seems truly serious about it. Wonder if he's started hiring yet.
> Why would they rewrite Final Cut Pro in SwiftUI? Rewriting code is a large effort and a waste of time without proper justification – new developer tooling for UI is not usually a good enough justification to rewrite the entire UI

It's not about Final Cut Pro specifically. It could be a new app. It's about having a single showcase complex app that says to developers—look hey we can build something really performance intensive and sophisticated in SwiftUI. We're dogfooding it. Look what can be accomplished with it!

It could be anything—Final Cut Pro, Logic, Pages, Numbers, a new productivity app all together. Some showcase sophisticated, complex productivity app to show what can be done with it and we're in the trenches with you using it.
> but I’m concerned that will look or feel like a step down due to smaller scale or less recognizability of the company.

By who? In order to do what?

You are very close to being a new grad and like most new grad you are asking the wrong question.

You are mentioning wanting to build a career at more than one company but you don’t say what kind of career you actually want. There is no one size fit all correct steps to take on a career. As you work for a big tech company straight out of school I’m tempted to think you have mostly been going with the flow until now. Figure out what you actually want to do and the next step will naturally come from that.
It's also a real pain to do cross-platform correctly without some abstraction layer like Qt, gtk, Wx, Tk, SDL, OpenGL, Vulkan, or something. Do you really want to write a Metal app, an MVC app, an X app, a Wayland app, and then still be asked to make a web version of it for people on the go? Look at all the work put into Wine and Proton to get Windows games - perhaps the ultimate everyday example of optimized native code - to run on Linux.

There are languages, UI tookits, cross-compiler sets, and RADs that make this easier. Qt, gtk, Wx, Tk, SDL, FLTK, and such happen to be among them. So are Flutter, Delphi (same code and RAD project on Windows, Linux, Mac, iOS, and Android), FreePascal/Lazarus (not identical to Delphi but a pretty close F/OSS alternative built around the same language and concepts), Xamarin, React Native, NativeScript, Felgo, Roslyn, GLBasic, BlitzMax, PureBasic, QB64 with Inform, Gecko2D, FireMonkey, JUCE, IMCROSS, Haxe, Webassembly, the JVM, CLR/.net Core/CIL, Scala, C#, F#, Clojure, ClojureCLR, Component Pascal, IronPython, IronScheme, PowerShell, Kotlin, Groovy, jgo, Visual COBOL (yes, really - it targets JVM), JavaScript, Raku, NetRexx, JRuby, Yeti, Fantom, JR, Pizza, and I'm sure many other tools wouldn't even exist if developing single-source applications for multiple platforms was easy with just a C or C++ compiler.
That argument is shortsighted. Classic business school thinking. No consideration of second order effects or long term strategy.

Sure, that’s where things stand today, but the Mac is part of Apples brand. They screw it up enough and iPhone won’t win on its strengths anymore. Design and execution.

You’re on top of the world…

Until you’re not.
Do you know of any RDBMS's that can't take a text column and treat it as BSON?

I get your point, I just question the specific example.
Well i agree generally, if we are talking about these new, basically experimental, post quantum algorithms, i feel like the balance shifts a bit since they are still so new (on the other hand maybe using them is just premature at this point)
There is a sweet spot of amount of reports, where a manager is able to handle the projects and the performance of the individuals -- once you hit the 8 people mark, you should be looking in to splitting the team up - the manager could delegate and mentor a jr manager to take on a part of the team, etc. But 14 is too much.
Howard Rheingold's book "Tools For Thought" profiles Ted (along with Engelbart, Licklider, and other familiar names). And you can read it for free nowadays from the author's own site. <http://www.rheingold.com/texts/tft/index.html#index>
In the Windows world the answer to that question was emphatically "Yes, you should contort yourself to make sure users can still actually USE their computer", to the point that the official version number of windows was "3.95" because some apps looked at only the minor version number and would have broken otherwise.
Maybe, I guess I feel it's a reasonably big social issue covered in depth and if you can't discuss those because somebody gets upset then I start to think hey, there's something slightly unhealthy in that.

I mean I have had things flagged in the past that I thought, huh, some people are real delicate about their feelings and didn't complain but I think this seems a bit weirder - maybe because of the religious angle, but the article does hit more than just religious homeschoolers.

on edit: actually no it didn't spark deep passions in me, I live in Denmark so I don't have problems with homeschooling. I thought, uh interesting I post it. Then I saw quick traction and then flagged and I thought WTF? Who would flag that unless... huh, well I just wasn't expecting not to be able to discuss stuff on HN because Christians were offended. It seems somehow... wrong.
What do you have to ask Siri to get this to work?
This makes sense to me. Why keep a browser and a JVM up to date and ship your code, keeping it up to date? The alternative is just keep the browser with its JS and WASM VM up to date and trickle your latest code out automatically.
> While typing is dynamic, I rarely see this being used, perhaps with the exception of identifying empty variables with None. Most identifiers are born and die the same type. It would be interesting to see how much effect dynamic typing has on the rate of programming errors.

Dynamic typing and changing the type of a variable are orthogonal.

You can change a type with casting, coercion, transmutation, dynamic dispatch, downcasting, reflection, monkeypatching (i.e. simultaneosly using dynamic dispatch and downcasting and reflection). All of these methods are available in Rust, which is a statically typed language.

Some things that some people think are changing the type of a variable in Python is not what it seems, for example:

# Python
a = 1
a = ['h','i'] # `a: int` is unchanged but gets implicitly shadowed by `a: list[str]`
a[1] = "a" # We're combining shadowing with weird and inconsistent scoping

translates to the following in Rust:

// Rust
#[allow(unused_mut, unused_variables)]
{
let mut a = 1;
let mut a = ["h", "i"]; // Explicit shadowing
a[1] = "a"; // We're simply calling a mutating operator
}

Furthermore:

# Python
lst: Array[Any] = [1, "2", 3.0] # A heterogeneous list
for elem in lst:
print(elem);

translates to the following in Rust:

// Rust
// Below `dyn` has nothing whatsoever to do with dynamic typing.
// ... it is just fluff having to do with the requirements of systems programming.
// ... (Technically it means we're using vtables to do dynamic dispatch.)
// ... The `Box` nonsense is more systems dev fluff having to do with memory allocation.
// ... Of course in Rust, App devs often don't need to worry about such fluff because
// ... lib devs should provide ergonomic API's, but I'm doing as close as
// ... possible to a direct translation of the Pyhon code.
#[allow(unused_mut)]
let mut lst: Vec<Box<dyn Display>> = vec![
Box::new(1),
Box::new("1"),
Box::new(1.0),
];
for elem in lst {
println!("{elem}");
}

The one major difference between the Python code and Rust code above is that `Display` in Rust is a Rust trait (i.e. a typeclass) and typeclasses don't exist in Python.
that alleged Price used his social media platforms to create a reputation as an advocate for higher pay in an effort to mask "a pattern of abuse in his personal life and hostile behavior at his company."

Now, where have I seen this abstract pattern of behavior before?
This is self-insurance which is a polite way of saying you don’t have any.
Can a quantum computer crack your encryption if it doesn't know the algorithm (ie. if you created it yourself and it is unknown to the outside world)?
Even more sensibly. I think it should be after someone has given an offer. As such market price would be set and lender could just buy at that or even have arrangement of getting someone else to pay and move loan to that.

Ofc, the original buyer could offer instead offer to refinance.
You can also code the entire game in your web browser yourself, but that wasn't the point of the comment.
It does and it was. The defendant appealed, they figured out what was on the drive independently, and the evidence was weighed against him. This article is catnip for amplifying reasonable anti-authoritarianism into a general distrust of laws and justice.
Me too, lol
And as a result, most Americans never get scales since their recipes don't call for them.
Service Account Tokens in Kubernetes v1.24
If one goes on vacation or leaves the company, your team falls easily apart. That’s why a team of less than 3 reports + manager is an anti-pattern.
With Kubernetes v1.24, non-expiring service account tokens are no longer auto-generated. This blog post highlights what this means in practice, and what to do if you rely on non-expiring service account tokens.
Some of the apps they replaced with 'iPad versions' were abysmal to begin with, so it's more of a lateral move.
I don't know about Shazam's current algorithm specifically, but years ago I worked at a place with a mathematician that worked on gracenote's algorithms, and asked him for the basics on how it works.

Basically, it records audio chopping it up into small segments and throwing them through a FFT. Then it takes that, and thinking of the data like a greyscale spectrograph image, runs it through a quantization filter that helps reject some noise, then converts that to locality sensitive hashes that are sent to the server. So basically FFT, filter, hash, lookup.
Try long pressing to see history.
I think this is the link: https://www.schneier.com/blog/archives/2022/08/sike-broken.h...
I fail to see how this is a bad thing. Oh no my extremely risky loans are being priced correctly as worthless and I can’t sell them!
> Remember, this is a demolition derby. The goal is to surface these cryptanalytic results before standardization, which is exactly what happened

https://www.schneier.com/blog/archives/2022/08/nists-post-qu...
Even if you don't reuse keys you will be vulnerable the moment you do the first transaction - it will be the miner who sees your public key first. Even if you mine your own transactions you will be vulnerable, because the block could be orphaned, and anyone could then see your public key.
I made Vampire Survivors with cars [video]
It's just marketing buzzwords to attract attention to the tweet.
Or server-side automated review using machine learning models, which is what Valve is trying with "vacnet" (with then manual review to confirm the model's results are accurate - something most tech companies should learn from)

Great talk on it here: https://www.youtube.com/watch?v=kTiP0zKF9bc
Settling that question was the entire discussion you butted into. I quoted an RFC from the late 90s that shows what meaning of "private" was originally intended, while you seem to a priori assume what "private" means here.

> in the sense that it is used in Virtual Private Network, it means something else, namely not known or intended to be known publicly; secret.

Great. Present some evidence or stop wasting time. My evidence that it actually does not mean that is RFC2547.
> in most cases

In this case they’re an elected official who siphoned six figures out of state funds.
The universal answer to this concern is to run a conventional key exchange alongside the PQC key exchange.
You're really getting caught up in semantics here. Your read on what democracy means is just leading you to talk past me. A democracy is a system of government where most adults can vote. That's it. A Constitutional Republic is a type of democracy. And the fact that we aren't a direct democracy doesn't change the fact that rights are not natural.

Take anarchy. What rights do people have? None. Because there are no natural rights, only the legal ones we create for ourselves. In our system our rights stem from the will of the people. Not the hand of god. Nor the universe. If the people elect a government on the basis of granting or removing rights that's what the government will do.
This seems like a very inaccurate summary of the examples given in that article.
> Sure, that’s where things stand today, but the Mac is part of Apples brand. They screw it up enough and iPhone won’t win on its strengths anymore. Design and execution.

It used to be but not anymore. The iPhone is Apple's most important product and the majority of iPhone users aren't interested in the Mac.
"South Park already did it": https://en.wikipedia.org/wiki/Over_Logging
Nah, I get it fine, that’s why appeals exist. The judge in the defendant’s case already ruled on it and the obviously corrupt Sentator can appeal it further if he feels he’s still been wronged. The justice system is fault tolerant and unfortunately this isn’t actually even a novel problem. You’re partially right, the judge weighs exactly that question “If this evidence were exculpatory, how would it impact the case.” and the judge found that the destroyed evidence lacked exculpatory value due to the overwhelming amount of other evidence against him.
You can do it in compound commands as well:

while read -r LINE

do printf %s "$LINE"

done <<FOO

foo

bar

baz

FOO

This is faster than using cat (one less path lookup, one less fork, one less exec, read is builtin), works on all shells.

There is a <<-'EOF' as well (trims left tabs and does not expand vars).

Another cool trick that only bash and zsh have is `printf -v NAME`, which prints to a variable instead of stdout. You can use it to avoid subshells (one less fork for each subshell avoided).
If you want to try using bishops mitres as a unit of measurement, you're more than welcome, but the length of that hat was probably made using a more intuitive reference unit, you might want to use that instead, maybe it was cubits, I'm not sure.

>an appeal to nature then

No. It's an explanation that imperial & similar ancient measurement units were adopted with the goal of being simple and intuitive for people to quickly understand. This was accomplished by choosing immediately relatable reference points. In the case of a hogshead barrel, that reference point was the ox head.

A mile, that's 1000 paces, that's both simple to remember and intuitive.

A kilometer, that's 621.4 paces, that's neither simple to remember nor intuitive.

No unit in the metric system maps simply to anything a human can immediately relate to, this is by definition of each unit in the system.
Did TLS 1.3 fix this with content length hiding? Doesn't it add support for variable-length padding that could prevent the attacker from measuring the plaintext content length? Do any major servers support it?
Particle Clicker
Absolutely! So you need to align that goal with a project that is actually going to provide value to the end user. There aren’t enough new features each year to (re)write large portions of macOS UI.

The Shortcuts app in macOS 12 and the Settings app in macOS 13 are almost entirely SwiftUI and the most substantial projects in this regard
Ask HN: Is there a service like Retool but for customer-facing UIs?
For example, I'd like to set up a small customer-facing UI portal that uses a REST API as a backend. Pretty much exactly like Retool, but not for an "internal" UI.

Retool's current pricing makes this use case non-viable.

Know of anything?
Yes, that was basically my point. There has also been some fairly fevered speculation about epigenetics being responsible for some types of instinct - even "cross-generational memories" and the like.
Shazam is truly magical. For those iPhone users that don’t know, you can add it to Control Centre for quick access.
> In C, you used to have to declare all local variables at the top of the function rather than throughout the body.

This is true, but support for block-scoped (as opposed to function-scoped) variable declarations was added to C a long time ago. Every version of ANSI C supports them, and this stack exchange answer, https://softwareengineering.stackexchange.com/a/300274/19196, suggests that support was added to K&R C since at least 1978.
This is a place where Hanlon's razor applies much better than assuming they want weak encryption.
I agree, it doesn't work for extremely muscular athletes but for the vast majority of people it works very well because the number of extremely muscular athletes in any country is small. So in this case it still serves its purpose very well.
comparing to the top percentile is almost never a valid way to look at things.

14 year olds have competed in the olympics, I would never claim that should be the bar for considering health for 14 year olds.
IIRC, iOS updates are effectively delivered as an entire filesystem image. So when the update is being performed, the old root filesystem image is being replaced with the new one. The exception is when it’s an OTA (over-the-air) update, where only ‘necessary components’ are downloaded. See https://help.apple.com/pdf/security/en_US/apple-platform-sec... page 59.

I don’t know if ‘necessary components’ means a binary diff or something bigger. But if a security update requires rebuilding multiple components, that diff could still be large.

So, you’ve got either an entire image being written, or an image being patched. Then it’s all checksummed and verified. Then you have a phone reboot, with any necessary ‘run-on-update’ scripts being executed.

I think that’s why it takes so long.
Ironically there is not a single electron app I ended up using in the long term. For all of them the web version ended up being superior: always up to date, running on a properly secured browser and on which I prevent any external tracking, ads, when I allow or not access to my location, webcam, microphone, etc.
And what if you don't even trust the government bonds... The debt/gdp ratio doesn't look that good either...
It's an interesting idea, but it's hard to say if it's really effective against anything besides blatant ragehacking. AFAICT the general consensus in the community is that Valves own CS:GO servers are still infested with cheaters, and to avoid them you need to go to ESEA or FACEIT (third party CS:GO matchmaking services) or Valorant (Riots CS:GO clone) which all primarily rely on very aggressive clientside scanning solutions.
If that were the case, the plan should've been to revert if things do break, i.e. revert an improper action when you find it's based on false premises. But that's not what we see here.
Let’s do a thought experiment.

If the Mac disappeared today in a puff of smoke, would that result in less iPhones sold, a less prestigious brand, or maybe an improvement?

An additional argument is that companies rarely have one major product. Apple is big enough to execute well on several synergistic fronts.

$30b is an awesome business all on its own, and compliments, not detracts from, the iPhone brand.

Apple should be able to execute in multiple domains with a high degree of quality all at once.
Ranking Posts on Bear Blog
> and no one in what you call the "working class" wants these jobs to be in the US if it means they need to pay more for everything.

look at a graph of productivity measures since 1990, a graph of real wages, and a graph of US GINI scores. i'm a knowledge economy worker like most people here, but we have been on a course of serious class warfare and economic cannibalism for decades. but thank you for letting us know that everybody actually wants it this way.
> Companies cluelessly claiming important-sounding capabilities they do not have

Fraudulently. Not just cluelessly. The “government can’t crypto” meme led a lot of people to lawlessness.
Go ahead and read the material facts of the case, it's actually useful.