skysight-inc/HackerNews huggingface dataset:
> Maybe this comes with age, but I see buzzwords + glitz + speedups ... but little to none envirmental progress.

They are doing plenty of environmental progress considering MacBook Airs have no competition in terms of price to longevity and power usage relative to the performance and utility one can get out of them.
I am deciding on a new Laptop. I am still worried that my workflow (heavy on docker) will suffer under Apple Silicon. Has someone some (very) recent experience on Docker + M1/2?
It’s been available in beta/nightly form for a little while, I think.

But at todays WWDC presentation they announced it as an official complete feature for the next releases of their OSes.

(That’s why there is so much Apple stuff, presentation just eneed about 15m ago)
Algorithms and programs are different things. An implementation of the algorithm is called a program. Big-O is used for comparing of algorithms. An algorithm can be implemented in different ways. Performance of the program can be measured precisely. Different implementations of the same algorithm will have different performance. When precise information is available, assumptions are useless. When precise information is not available, at design stage, assumptions are used to compare different algorithms.
Laptops this size cannot fit NVIDIA GPUs.
1) The point of WebRTC is that it’s real-time. If you buffer then it’s not real-time.

2) Adding key frames increases the bitrate greatly which exacerbates problem 1.
Are you at all worried that you might but be hired for a position on the basis that your heart data was riskier then another candidate?

Maybe that date is private enough today but will that always be true?
The BearWindows VESA driver (for 9x[1] and NT[2]) works well on QEMU. The last version of VBEMP that won’t nag you on each boot is G. Of course, that does nothing about the rather poor support for resolution independence on historical Windows, so 1280x1024 is about the largest practical resolution.

(Unfortunately, Sound Blaster 16 emulation is known to be broken in combination with the Gtk UI[3], so no / choppy sound for you, but things should work over SPICE. I’ve yet to find a SPICE client that will maintain a fixed 2:1 display scale with no interpolation.

A helpful HN user described[4] how to enable SMB1 on recent versions of Samba and so share files over something other than floppy images, TFTP, or active FTP. I haven’t found a better way to do this with QEMU’s native Samba integration than launching it, then finding the generated smb.conf somewhere in /tmp and patching it.)

[1] https://bearwindows.zcm.com.au/vbe9x.htm

[2] https://bearwindows.zcm.com.au/vbemp.htm

[3] https://gitlab.com/qemu-project/qemu/-/issues/469

[4] https://news.ycombinator.com/item?id=29260861
No mention for AV1 somehow
You don't have to be a victim if you have good army. NATO is something which may or may not come to your aid, especially as it is afraid of nuclear war. But if you had a healthy regional Central European army you could stop being victim and have peer relations with Russia.

Like Turkey.
Mostly it came from dual memory modules for intel cpus - you could have 2 dimms with 16 and 8 gb modules and have 24 GB Memory in total. But speed/bandwith-wise you would run better with either 2x8 or 2x16.
I don't see why not. With M.2 SSDs and DIMM sticks you've got quite a thin minimum footprint. Apple has decided that soldering everything onto the PCB is worth the cost of making the device unrepairable, and that's their business decision (and yours if you decide to buy such devices).

There are downsides to normal solutions (i.e. higher latency, needing to design places for screws to go) but it's not nearly as impossible as modern tech companies would like you to believe.

Framework has designed a laptop with some excellent repairability and they're just a small team with extremely limited funds. Tech giants like Apple should have no trouble coming up with similar devices if they actually cared to do so.
It's a false dichotomy. You could say the same about either company. Those are the inevitable consequences of proprietary software and vendor lock-in

(my original comment was some rhetorical question, I edited it to be more direct and less passive-agressive)
While we're talking about authentication: Once the user is logged in, how practical is it for native apps on Apple platforms to use something more secure than bearer tokens to authenticate with the service on each request? I'm reminded of https://mjg59.dreamwidth.org/59704.html
Theres a lot of criticism here about “async rust”. I find this wording strange, I use rust asynchronously with rtic (realtime interrupt concurrency) for low level work. Its really excellent. Are peoples criticisms specifically about inline async?
You are thinking of the 14 inch. The M1 Air and M1 Pro have only a different cooling solution and it does not really make a difference.
"After" could also be interpreted as "beyond" in a way. From a baseline point, the meta of it is "beyond" or "comes after" that point.

Alternatively, after programming comes metaprogramming. You couldn't have a metaprogram if there wasn't a program in the first place.
Hadn't heard of this. Link: https://www.theguardian.com/australia-news/2021/jun/18/frien...
Which is why I only brought up the hypotheses with a lot of evidence behind them.
Please talk to anyone outside of the start-up/tech world and ask them about the technology they use. A majority don't give a toss about M1 or M2 or ARM vs. x86 or anything else that seems to get so many in the tech world so excited. They care about Excel, they care about backwards compatibility, they care about centralized management.

Apple _may_ take over the consumer space but this will be more due to the shift from desktop/laptop computing to phones and tablets than anything with the M* series of processors.
So, has it failed? I don't listen to auditory content because it's so much slower than reading, just like I don't watch "how to" videos if there's a text version. To my mind, video and audio are supplements to text, not replacements or improvements. But that's just me.

Did it fail? Did it fail like this prediction?
MongoDB queries don’t always return all matching documents (2016)
If Solidworks would run on this, I’d buy four of them tomorrow.
Finding vulnerabilities in low security locks is just an academic exercise.

If you need high security, you are buying a product very different than a master lock, and you need to consider the integrity of the entire system it is connected to.

Low security locks work mainly by deterrent, and even if they were without vulnerability, the container you’re attaching it to probably is vulnerable. Brute force attacks are the much more common scenario against low security locks, and there’s not much of a low cost solution to that; it requires expensive materials: https://youtu.be/2guvwQvElA8

If you put an unpickable lock on sheet metal box, you’re spending more money, but not actually improving security.

The reason that master locks are popular is because they are fairly reliable, easy to get keys for, have useful feature sets, etc. These are the features that commercial users often care about the most. They don’t want to spend more money to get an unpickable lock that interrupts their daily business when it inevitably gets dirty, keys are lost, etc. especially if it provides no additional resistance against an angle grinder.
> 18% faster at the same performance per watt is a nice increase.

18% faster at the same wattage, which means 18% higher perf/watt.
I would call 1.8% a diminishing return :)

18% is pretty decent, IMHO, for their bottom-most spec, especially given the RAM limit is being extended to 24GB, while the power consumption is still brutally good (18hrs video playback) and the screen is also a bit more spacious at 13.6"...

and it's not like they don't have faster CPUs. it's just the cheapest you can get and even that is getting faster!

tbh, im using an M1 Mac Mini since last December and it's sooo freaking fast and smooth, that I'm not even really motivated to upgrade at all, if it wouldn't be for the extra memory. though the 16GB is surprisingly sufficient too, if i have run browser tab suspender extensions and close my unused electron apps (notion, logseq, slack), while coding (in Clojure, using IntelliJ and Emacs).
It is both cute and horrifying to realize that Python has no builtin functionality for this.
100% agree, this is where LG Gram 17 can be quite interesting (too big for me though).
Have you ever played online team games? I've played both offline and online games quite a lot and at least here in Sweden I feel it's quite similar.
Yes… autocorrect. Thanks
I'm not too surprised to see a price increase of some sort, given inflation in general and increased fab costs in particular. Still, it's a shame they can no longer meet the $1k price point.
Thanks for explaining, though since the code is formally correct - taking into account thread joins can't really be considered a special case. I suspect thread spawning and joining would need be a language feature instead of a library feature to enable this.
> Also we still need ways of exporting keys and software (like 1password) needs to synchronize them, manage them securely. There's still a long ways to go on that front, which probably won't be handled until stuff like this has settled.

That's the point of passkeys here: iCloud Keychain syncs them, and if you want to use your keys on a non-apple device you'll be able to scan a QR code, which initiates a new BLE connection so that your phone can sign the login request remotely.
The notch itself doesn't bother me but the way they deal with menu bar apps does. Disappearing them into the notch's void when you have enough to push them there is really really bad UX.

The only app that I'm aware of that actually helps address this is Bartender, when they should have figured this shit out before they came out. It's possible that they introduced some fix in MacOS Ventura, but there's no indication that this is the case so far.
There's no there, there.

Executive summary: Cities must change. Sherlock.
None of these problems are specific to WebRTC. You'll run into them in a WebRTC implementation, you'll run into them with QUIC, even with ffmpeg on the CLI you'll need to specify buffer sizes. As you mention these are both problems with livestreaming and the more you buffer, the less "live" your stream becomes. If you're interested in transmitting static videos, then why not go with HLS or even just making the static file available for direct download through HTTP instead of a live technology?
> Oh absolutely, there are a lot of people like your single mom who work overtime and don’t have time for food planning. There are also a lot of people living off unemployment benefits and can’t be bothered to get off their couch, unfortunately. I know people from the latter kind of background, too.

Do you know people from the latter kind with multiple kids? Or even with one? Because i don't. So giving free meals to kid should not have any impact on them, yes?
It sounds like your private keys are stored in iCloud, so they should be accessible on a new device as long as you remember your Apple ID, password, the device-specific PIN/passcode from your old phone.
Boot on Linux and bash on a modern computer. Do you think the keystrokes are slower?
Can you maybe explain what you mean here? I can hardly understand your point about Intel, and don't seem to get what you are implying about "marketing-ese".

The M1 is a spectacular chip. The M2 seems like a fine iteration.
Is Liberty really high-end? I would have thought they were mid-grade. I think most places have options for mechanical or electronic. Granted the electronics on those should be considerably better than the ones in the article, at least from a simple access perspective of not pulling the keypad off from the outside.
400 USD for a 16GB upgrade is daylight street robbery. The power of brands.
> This is basically the biggest problem with WebAuthn today: the credentials are tied to the browser

That's definitely not true. My Feitian ePass for example (very cheap USB dongle that lives with my house keys) works just fine to sign me into GitHub on this desktop PC w/ Firefox on Linux, it works fine via a USB-C to USB-A adaptor to sign in on my Android phone w/ Chrome, and likewise on the Windows laptop I use for work when I needed to access my personal site briefly at Christmas and that was the only laptop I'd brought with me.

If you have credentials tied up in some proprietary system then, yeah, they're trapped in there, and in Apple's case they've decided to make it possible to move the credentials to another Apple device via iCloud.
M2 is nearly 2 years after m1. On iPhone apple was updating the cpu every year
It's not that it's only as good as it's training data. But depending on the underlying implementation it's also only as good as the quality of the random number it uses in its implementation.

Let me give a somewhat broad example. In cases where a state space to be explored is absolutely massive and we have no currently good way to 1. prune it 2. traverse it to land at the states we want(that have certain properties), and so on. Then the best we have right now is "sample the state space." But "sampling" requires very good random number generation so that we're 1. not biasing ourselves (this is clear to everyone) but deeper than that 2. Good random number generation reduces the problem of us only grabbing states from the state space that confirm our existing ideas rather than the ones that might challenge our existing ideas.

How many scientists are developing their ideas on single workstations that are running out of entropy?
I've read Basic Economics by Sowell. I've also read Human Action by Ludwig von Mises. When I was a much younger man I found the simplicity of right-libertarian politics and Austrian economics appealing. I've since come to suspect that neither are workable except in an "ideal" world that has no room for the vast majority of the people who live in this world.
How does the M2 compare to Intel's offerings?
The most responsive computer I’ve ever used was a Mac 512ke upgraded with 2.5 MB of RAM. I booted and loaded applications all off a RAMdisk and every input was instantaneous, including launching applications.
Photos need to be encrypted on server so they can be scanned for CSAM. Apple tried to move that bit to the phone so they could encrypt photos on server too, but we all know how that went.
I wonder what was the real reason behind this. Surely taking the iOS's Weather app and scaling it to bigger screens didn't take them 12 years. Anyway, I'm glad it's there.
I swapped out the battery on mine. It now gets a few hours of life per charge but it's still fairly big and the fan fires up when barely anything is happening. Might just have to jump on this MBA too.
It’s viable but you’ll spend a lot of time with memory compression/swap working hard. Not a great experience IMO.

Looking forward to upgrading from the 8GB air to a 24GB air now.
> That is why nobody buys windows based laptops anymore and the macbook air is the best selling laptop

A huge majority buy windows based laptops.

Macbook Air's are the best selling laptop because of the fragmentation of the Windows laptop market amongst manufacturers. MacOS does not in any way make up a majority of laptops.

I get that it is 2001 again and we should all be shitting on MS, but let's try and keep some facts in the conversation.
It sets a new precedent. Air was supposed to be cheapest, and they trying to stretch people into paying more. From fab perspective, they used the same and it becomes CHEAPER not more expensive to make it. The upgrades were very incremental too; so this is very much a money grab.
That small cooling difference affects how these CPUs are clocked and how they behave under sustained workloads.

A long video render is easily 2-3h at 100% CPU load. A scientific simulation is >24h at 100% load, with instruction trains optimized to get every ooze of performance, hence hitting the TDP almost instantly.

A MacBook Air M1's body is not an unlimited heatsink attached to M1 SoC. I've succeeded to heat my M1 air to unusual levels when the platform was new and some programs were prone to entering infinite loops.
I saw a screenshot. Somehow a QR code is presented and you scan that with your phone. I’m not entirely sure what happens from there.

But there was a picture of them using it with a Windows machine. So they’ve thought of it.
Bit late to answer, so if you read this, sorry. I must've missed your last paragraph which makes it obvious we are thinking about it similarly. I latched onto genetics because it's why I got involved in the thread.
I don't know much about webrtc but I do have some security cameras, frigate and home assistant all working together with rtmp streams.

There are some webrtc solution for getting those streams into home assistant with low latency but they are... I don't know the word. They aren't difficult to set up because the instructions are very simple, however, they don't work when I follow them and, from reading forums, that's not uncommon. I have _no_ idea why it doesn't work.

I don't really understand why I can't spin up a docker container that will take my rtmp streams and convert them to webrtc then hook that into home assistant.

I've gathered that webrtc just doesn't work that way but why can't it?
Given two options, both of which are bad for the environment, but one is less bad, is one not better than the other?

Can you point to a product that highlights its strengths by framing them in a negative light instead of painting them positively?
Not exactly Prolog, but there is miniKanren. You can check a list of implementations here: http://minikanren.org/#implementations
No, unfortunately he did not survive:

> After helping me with the chute, Mitchell said he’d check on Jim. He climbed into his helicopter, flew a short distance away and returned about 10 min. later with devastating news: Jim was dead. Apparently, he had suffered a broken neck during the aircraft’s disintegration and was killed instantly. Mitchell said his ranch foreman would soon arrive to watch over Jim’s body until the authorities arrived.
Musk for example -_-
Yes, this is what we're looking for.

We're wondering if automating this headache to some SaaS that offers BoM templating, compatibility validation, interchangeable parts and such, could be of interest to such an org. Essentially they'd be left with approvals and the rest would be stepping through an automated workflow. WDYT?
It seems like this disconnect is something that riles you up. Context is key and the weaponization of cyberspace by Nation State actors is being defined as we go along. It's getting to be more than a bit dated but the book and documentary "Countdown to Zero Day" hits on this kind of stuff. I enjoyed the hell out of it mostly. The rest of the time was me getting more and more pissed about how short sighted we were with Stuxnet. Blowback and all that.

Just a recomendation for your reading list since I was thinking a similar pithy comment and figure you might also enjoy that book like I did.
I love the idea he links at the end to implement TOTP using an arduino/esp8266 [1] inside the safe, to derive the opening PIN.

[1]: https://github.com/H4ckd4ddy/fix-sentry-safe
you can add the charger to the cheaper MBA as a $20 option
Well the marketing materials for the 2016 MBP would have been awkward without it.

- Better performance.

- Slightly thinner.

- Worse keyboard.
They cannot lie in certain documents since they are a public company.
This one is almost 14".
Hmm, seminars and "certified professional" exams. I don't recall needing those in order to understand or implement username/password auth.

I keep hearing this is simpler and more secure, but I really doubt explaining this to my aging parents is going to be a fun afternoon.

Can we just leave well enough alone? Was never a fan of centralizing my identity in the first place.
I think you did not misunderunderstand me on purpose, but the modularity/repairablity is abysmal, period. One example: Internal ssd dead - system cannot be used. And since its soldered in, thats it. Am I wrong?
async/await was actually added in 3.5 (although the @ test in since-3.5.py is shorter). The specific change used by since-3.7.py is that await is now allowed inside an f-string (inside an async function). The specific change used by since-3.11.py is that an async comprehension is now allowed inside a normal comprehension (inside an async function). These changes are, of course, not new primitives—just fixes to allow existing primitives to be combined in ways that should intuitively work.
It isn't CS 101. You are being overly dismissive and even CS people from top schools get this stuff wrong.

The courses that introduce big-O are often the weeder courses, they don't aim to education, they aim to flunk out the people that might be hard to teach so that CS departments can gate keep.

When you have top CS researchers having to give talks to remind people that layout matters more than instruction selection, the CS as a whole has focused on the wrong things.

https://www.youtube.com/watch?v=7g1Acy5eGbE

Figure how to build people up, not tear them down.
I hope it is optional. Touch Bar has to be one of the worst inventions in user interfaces.
Does anyone know if Prolog has been used in video games? I keep wondering if complex histories like those in Dwarf Fortress are coded via a Prolog-like approach to keep them consistent and correct.
Stage Manager follows the same pattern as the other features Apple took too long to realize were already figured out on the Mac: make it arbitrarily different to be able to call it new. Just like the “changing cursor” for trackpad support on the iPad. But hey, I'll take it I guess.

Unfortunately, in previous cases, these "justification" tweaks have resulted in a strictly worse experience IMO. The transforming cursor on the iPad is distracting and it can be weird how it disappears over icons (resulting in me losing track of it sometimes). The iPad Keyboard is more awkward than a real keyboard, top-heavy, and sold separately of course. I wouldn’t be surprised if the same is true of Stage Manager, although at least it's on the Mac too so hopefully if it turns out to not be that great, it won't be excused as "people not getting it" like all the weirdo undiscoverable gestures on the iPad.

The sad reality though is that it's taken 10 years for the iPad to finally mature into... an arbitrarily different take on OS X? Same chip as the Mac. Works with a keyboard and mouse. Better for drawing but worse for external monitor support. And now basically the same window management we've always had with the Mac. I was always (and remain, theoretically) a big believer in the opportunity the iPad presented, and think it could have gotten to the same place sooner, but bolder, with the actual aim of replacing the Mac (the same way the iPhone replaced the iPod). Where it's at now kind of proves that's always been possible... it just chose to get here meekly instead, not stepping on any toes, always making sure there was an excuse to need to buy both devices.

Universal Control to me is the epitome of that mentality: a supremely technically impressive, but ultimately completely over-engineered and absolutely ridiculous "solution" to a problem that wouldn't exist if the Mac simply had a touch screen. You wouldn't need WiFi and communication between two computers to move your mouse from screen A to screen B if the Mac just had a touch screen. The experience of having a touch Mac that you just... plugged into an external display would be strictly better than the weird world of Universal Control, where you drag an image from Adobe Photoshop for Mac over to Adobe Photoshop for iPad, or sometimes, you drag it from Adobe Photoshop for iPad running on the Mac using Catalyst to Adobe Photoshop for iPad running "natively" on the iPad.

I think Apple truly squandered the opportunity in the last decade to get truly get ahead on "big screen" (aka, non-phone-based) computing. Instead, the field still remains wide open.