skysight-inc/HackerNews huggingface dataset:
It's a pretty common occurrence around here to lose your voice completely for a couple of days after spending an hour or two outside in winter smog. Still, almost nobody cares about air quality. I spent many years in this society and still don't understand such behavior.
I find it funny that a Left Party would not promote/defend copyleft tooth and nail. Sounds more like a "pro-social Right" party :)
Really? You just made me much more interested in NZ politics, if I'm finally allowed to have an opinion and express that with a vote.

Is there a policy-comparison website? I think I know who I admire most, but I think it's unlikely that they'll ever get elected outside of a coalition. So it makes more sense to vote strategically for the constituency where I'm living.
https://archive.is/24BN0
Only had time to skim it, but even without all the details it is an excellent overview of the state of the art regarding secure boot chain. You can learn many of the points by looking into the Android boot sequence but this is a more generic and 'everything in a single place' write-up. Especially the mechanisms behind dm-verity seem to be not widely known and - in my view- underappreciated.

> *This is all so desktop/laptop focused, what about servers?

I know that some of the more powerful and Linux based automotive embedded systems use a similar design. While important for desktop/laptop and servers the mentioned points are crucial for systems where physical security of the hardware is limited.

Oh, and BTW, if 0pointer.net i doesn't ring a bell: The author is Lennart Poettering.
Worst examples of USB-C in that list is better than USB2.0...

USB-C is not lacking. You simply get what you paid for. I am using USB-C to charge my laptop, phone, earbuds. It's been amazing having just 1 single cable dangling on my desk, instead of several. This alone has been enough positive to justify the move over to USB-C.
But why on earth would I heap-allocate structs in Objective-C? That's what I have objects for. If I am going to dumb things down to structs, the reason is that I don't want heap allocation.

Unless I have no clue whatsoever as to what I am doing.

As in, I just wrote pure C (no Objective- at all) and for some reason changed the extension of the file to .m

Anyway, not using the solution that is there is not the same as the solution not existing, it certainly doesn't qualify as "the rest".
What do you think of Redis Launchpad?
> 3) Joe is anti-establishment. I don't think this is a bad thing, I happen to be fairly anti-establishment. But anti-establishment beliefs do not have the kind of readily accessible counterexamples that establishment beliefs have. I can't point to the cities of tents for the homeless as an argument against basic income like I can for <current policy>. If you make an obscure anti-establishment claim, there is not likely to be a wealth of available counterarguments for the people listening to draw on.

That is a fantastic point I had not considered so far.
> I've already said elsewhere that having read their licensing terms and limits on what parts and how it can be used I would not touch QT with the wooden pole.

the OSS licensing terms are the LGPL or GPL.

- https://github.com/qt/qtbase/blob/dev/LICENSE.GPL3

- https://github.com/qt/qtbase/blob/dev/LICENSE.LGPLv3

- https://github.com/qt/qtdeclarative/blob/dev/LICENSE.GPL3

- https://github.com/qt/qtdeclarative/blob/dev/LICENSE.LGPLv3

they can add whatever separate licensing scheme they want in addition to that but if a repo has LICENSE.LGPLv3 in it, you can use it under LGPL like every other OSS project (and those two repos cover by far most of Qt, you can pretty much build an entire OS userspace out of them).
No, people wish it will hurt Apple way more, but it won’t. It won’t even make a dent in their universe.
Why are we vaccinating children against Covid-19?
while they follow the rules there’s no objective reason. If Apple is doing so only because they don’t like Epic, they are abusing their position
Do you make sure that your cables are properly disposed? How do you dispose of them?
Android 7? Then you don't need malware. It will be provided on first boot by multiple parties.
With So Much To Choose From, Do We Still Have Choice?
Get a toothpick an scrape out the socket.
https://useplaintext.email
>>> Epic promises they will comply

>Did i miss something where they actually said that?

In this thread's Fireball blogpost is a link to Tim Sweeney's tweet of an email screenshot to Apple's Phil Schiller stating his "promise":

>Sep 16, 2021 at 5:01 PM; Subject: Fortnite and the App Store; To: Phil Schiller

>[..] Epic promises that it will adhere to Apple’s guidelines whenever and wherever we release products on Apple platforms.[...]
Isn't it the case that the KDE foundation can basically just yank away Qt for any reason they see fit? Seems like the Qt company would be playing a dangerous game there
Introducing Redis Launchpad! . A central place for quality sample apps that use Redis as a realtime platform and a primary database. Explore architecture, data modeling, commands, and more.

https://launchpad.redis.com
According to https://en.wikipedia.org/wiki/Hemileia_vastatrix the fungus isn't native to Brazil and mainly parasitizes coffee, not rubber.
I find that social media has went in a direction that makes it impossible to curate a 'healthy' feed.

The thing that ruins it for me is the constant negativity. Everybody is upset about something. Often, rightly so, but everybody is also extreme in their views. There is never nuance or healthy discussion. Only anger. Even in innocuous things. For example, follow the official account for a sport on Instagram. If you ever wade into the comments it's a cesspit of anger and negativity. Even if you never get involved (I don't ever comment) it effects how you feel.

Twitter is the worst offender. I can curate a feed of people I enjoy seeing content from. This should be enough, but these people can retweet things I don't want to see. Fortunately Twitter allows you to disable retweets for people. But...Twitter populates your feed with tweets people you follow have liked or tweets Twitter thinks you might like. The majority of the time these are things I don't want to see that cause negative emotions. It makes Twitter unusable without customisation via Chrome extensions or third party apps.

When I look around at my friends, the people that have the least negative outlook on life and seem to be most outgoing and happy are the people that don't actively use social media or who never even signed up. They're the people who don't know what's happening in the news unless there is a major crisis that might actually effect them. It's always hard to know from sure looking in but these people seem to have the right idea.

When I look at it objectively, I get absolutely nothing beneficial out of the most popular social media companies (or reading the news constantly). There is something about it all though that makes it really hard to step away. It's FOMO more than addiction. I never last more than a few days, but they're always better days.
Same but I already find ajax based app very slow if they implement optimist updates, now with this system, you have to wait a round trip for each interactions. This means click a counter will round trip before updating?
https://github.com/xmikos/cryptboot/blob/master/README.md
It's not a waste if you value their life. They get to live.

The end of animal agriculture would mean their genocide.
Also https://en.wikipedia.org/wiki/DASH7
Replacing OEM Android is only one part of the equation. There are many components that run with full privileges (EL2/EL3?) outside of Android and never subject to Android's sandbox. Well, at least until Google can force OEMs to stricter standards with their effort to KVMize those privileged executables [0].

If you do not trust the OEM, replacing its ROM with GrapheneOS / CalyxOS / LineageOS isn't going to help much anyway.

One right answer to this is fully open-source (hardware and software) phones like the PINE64 and Librem, among others.

[0] https://lwn.net/Articles/836693/
edit: fixed link to [1] with price: https://blix.pl/produkt/burger-roslinny-dobra-kaloria,169c26...

[3] https://twoja-gazetka.pl/lidl-gazetki/gazetka-46584-29 (see regular price struck out)

I think me linking it here invalidated some sort of cache, hence the soft 404.
What open-hardware Raspberry Pi alternative would you be using with this then?

After all, hardly any point of having a open-hardware HAT if you connect it to a closed-hardware Raspberry Pi. Even if the full schematics etc were available, the processor on the Pi is anything but open.
First law of distributed objects: Don't distribute your objects !
> So is Objective-C kinda going away after all?

did c and c++ go away when obj-c landed?

(my guess is, obj-c will be the same: not the main one, but still around for where its appropriate)
>Do we have any room left for innovation in charging ports?

Absolutely!

The sheer amount of optional features in USB-C cables makes charging - in particular fast charging, and charging tablet/laptop sized devices - a hit-or-miss game.

USB-C's design was made to balance of costs with regards to client device complexity: 12 pins in total, three twisted pair signalling pathways, of which two are optional. All this is because both of need for backwards compatibility, and also current limitations on low-power, low-cost USB devices that need compat back to USB 1.1. Two thirds could conceivably be done away, using two pins for power and two for singalling. On a large volume production, a smaller number of pins pays off in costs - once Super Speed-grade transceivers are cheap enough for all devices. Alternatively, once optical interconnect becomes cheap enough, we could return to that technology - two power pins & one optical connector. For example Thunderbolt originally started out as optical connector [1], and was only later shifted to copper due to still costly technology.

A phone would also benefit from a contact connector similar to Apple's magsafes (attached via magnets) rather than insertion plug; both due to mechanical concerns and also savings on internal space. That we are stuck with plugs and sockets is largely artifact of requirements for uses other than charging, including pendrives & other USB dongles.

Lastly, a clear directionality hint to charging cables would be good: if you connect a phone to a tablet, which should charge which? Some sort of marking or indicator for the (rare) ambiguous case would be nice.

[1] https://en.wikipedia.org/wiki/Thunderbolt_(interface)#Copper...
> It's the same reason why anything "smart" or cloud-dependent is best avoided. For example, all my white goods are several decades old and most of them don't even have any electronics.

I would definitely welcome regulations dis-incentivizing IoT crapware like connected fridges and toasters and whatnot. However, for devices that are intended to run software (general-purpose computers) shouldn't it be a requirement that all data sheets and source code be released under a copyleft license?

Can't we have the best of both worlds?
An often underappreciated distinction between citizens and permanent residents is that if you are convicted of an offence you may be liable to forced removal if you are a non-citizen. [0]
There are cases in Australia of people who have spent nearly their entire life in the country, but never obtained citizenship, and who were deported for committing crimes, [1] including minor drug offences.

[0] https://communitylaw.org.nz/community-law-manual/not-rated/d...

[1] https://www.theguardian.com/australia-news/2021/mar/21/it-st...
Still, this is just out of range for most non-professionals. Several times I have considered to buy a LispWorks license for personal usage, but couldn't quite justify the costs.

I am pretty sure they might even sell more professional licenses if they had a wider userbase of enthusiast users.
In absolute terms it's nothing though. An average household uses 4000 kWh of electricity in the UK (less than half of the average us household), so saving the 5kWh on 4 phones is a 0.5% saving, which is roughly equivalent to running your home boiler for 10 minutes per year. Turning off your thermostat for one evening would have the equivalent impact of not using a wireless charger for a century.
USB-C is protocol-agnostic. In alt-mode the extra wires can be used for HDMI, DisplayPort, PCIe, analog audio, or anything else really.

You can also put whatever voltage that can be physically handled over the power pins after negotiating with the other side. USB-PD is the common standard but it can be extended.
I think even DX-wise we are painting ourselves into corner. First it is "hey, I know web tech, let's use it for anything". Then it is "hey, that's a bit complicated, let's make a framework". Then "hey, this framework get heavy, let's make some tooling around it". And then "oh, now I spend 75% of my time fighting with the infrastructure".
Interesting, I hadn't thought of it like that.
not available for most popular OS
I don't think a 5 year old project linked without context is appropriate when talking about modern boot chain security.

It doesn't even support stubs so it fails at the first threat scenario described in this post.
My favorite phone input method by far is MessagEase, with which you don't need autocorrect. I've gotten pretty fast with it too.
Subsidies simply offset the cost, they don't magically make those portions of it disappear. If you were to remove them, then by some estimates the price would go up anywhere between 30% and 180% for meats, because that's how much the subsidy covered. Subsidies at any point changes the end result as the price change percolates without subsidy, the primary point of them being to cover variance (such as harvest quality and weather) and to offer incentives to the customer, which incentivises business by artificially opening the market. Meatonomics puts a $4 Big Mac at roughly $11 in "societal cost", including environmental and health.

In the end, if the seller wants the same margins as before, then they'll raise by exactly as much as the subsidy covered. Even if it's the higher amount and a bit over double the price, that's perhaps $10 for a pound of ground beef. That's practically half the price of cultured meat, and about the price of meat alternatives; meat alternatives being currently a high margin business as companies like Beyond Meat and Impossible Foods are trying to increase R&D and production to meet demand, so they could actually drop prices now, they just won't since they have nowhere near the supply.

Adding similar subsidies to meat culture products would simply narrow the gap, fundamentally they are more expensive and that's even with the "optimistic" estimates Humbird gave. Reminder that Future Meat is an impressive $18 per pound for chicken cultures, whereas actual chicken runs about $2 per pound. Meanwhile, meat alternatives around $9 per pound TODAY will improve by 2030 to be much more cost competitive than meat cultures seemingly will be able to, unless they can manage all these frankly miraculous breakthroughs and get as cheap as chicken (based on the $5.66 per kilo figure, or little over $2 per pound), which seems unlikely.

As I saw it put nicely elsewhere, removing the subsidy would result in a "more accurate, divorced-from-government cost of their inputs and externalities which affect the health of everyone, to include the consumer and the planet at large."
Couple of questions from someone who’s never tried Phoenix/Elixir:

1. How does this stack handle non-browser clients, like mobile apps or APIs?

2. Can this scale horizontally? i.e, can you throw in more servers when you need to? Since servers hold state in-memory (IIUC) I’m not sure about this one.
Facebook stock falls after Apple’s privacy changes make ads harder to track
How do you use a phone while charging it wirelessly?
Political left and right have very very different meaning depending on where you live in the world :)

As a French person, anything which defends environment and customer rights (vs corporate interests) sounds lefty enough.
I don't know how you can think that the animals we eat have a good enough life than that it's better than if they weren't born. Imagine being only into cages without social interaction, fed horrible junk, only to be killed a few months later for food.

I'd definitely choose not be born over being born as cattle.
What Is Low Code? How Low Code Can Speed Digital Transformation
Low-code development can save any business time and money on software development. Here’s what executives need to know about low-code.
Didn't Brazil postpone their DST changeover due to national exams? Or was that Turkey?

Thank $deity we don't have customers in Samoa. Sadly this kind of last-minute decision to change the DST rules is quite common!
> > to have such a hard time understanding this view.

> If I were a fiction writer, I could write a dozen different reasons as for what the problem is. But the issue is, that although I could definitely make up reasons, in my fiction book, as for why this is an issue, it tells me nothing about how this actually applies to the Rust community.

You're still not getting it: It's NOT A MATTER OF "applies". It's a question of principle.

> If you actually make the argument yourself, then it allows people to understand if there are specific issues, that are more or less bad, based on the informed opinion of someone directly from the community, instead of our uninformed, guesses, that might be right, or wrong, or slightly wrong.

He already made his argument in full. It's just that you're refusing to acknowledge that it is an argument.

So, thank you, I think I'm done here: I'm obviously unable to convey to you what you're not getting, and I don't think you need to go any more rounds of the same -- I trust it's clear enough to everyone else by now that this is due to your stubborn refusal.
Design flaw in Microsoft Exchange leaking credentials
I pretend to think that it was actually the final, complete release.
Absolutely loved this series, but never acclimated to the 3D maps they switched to after Civ 3.

You couldn't see as much of the world at once, and units and terrain became more difficult to discern.

I wound up playing in the strategic overlay, with mods that relieved some of the claustrophobia, but it never felt as slick as the earlier 2D / isomorphic view.

Other classic strategy games from that era followed the trend, favoring to showcase gorgeously detailed models enabled by their new 3D engines, over equipping you with a clever and efficient UI to conquer the world.

Anyone care to recommend a favorite turn-based strategy game with a pleasant interface which you think I might enjoy?
Sounds like both tech could be improved?
No. Only if the Qt Company violates the terms of the agreement.
"640K of memory ought to be enough for anybody“ :-)
Doesn't it have those made for you thingies that change weekly or so? In my case it makes em for the varying genres i listen to so even tho i listen to some techno at work i can pick a metal playlist with new stuff.
Elixir/Phoenix uptime monitor: Router and controllers
Learn about routing and controllers, the core aspects of web apps built with the Phoenix framework, from the fourth episode of the Uptime monitor tutorial.

Enjoy!
Lots of problems have vastly simpler recursive solutions. Try putting a recursive descent parser into a loop. Plenty of tree walking/formatting/analyzing algorithms are much cleaner using recursion. Recursively walking directory structures is cleaner using recursion. Many puzzles, such as Tower of Hanoi, are cleaner with recursion. Many sort algorithms, like merge sort, quicksort, etc., are cleaner with recursion. I could find plenty more algorithms where recursion makes the solution cleaner, simpler (hence less error prone), and sometimes even faster to execute.

And some algorithms use mutual recursion to solve problems - often putting those into a non-recursive formulation results in incredibly messy code. Mutual recursion is powerful enough that F# (among others) added an entire keyword to the language simply to support it.

And since many languages do proper tail recursion, there is no penalty for using it properly.
I kind of agree, chess without promotions, castling and en passant is not chess. But the guy also made full version, with impressively small size:

For real purists: a close-to-minimal version that does understand full FIDE rules including under-promotion can be found here. It measures 1433 characters.

(although I don't know why people who adhere to chess rules are called "purists", but whatever. :-))
I have personally been involved in fallout from last-minute changes to DST in

* Jordan

* Russia

* Armenia

* Turkey

Morocco suspends DST during Ramadan. Because legally you cannot predict the start and end of Ramadan (it's determined by direct observation) this is quite the challenge to handle.
some think they wanted to add this, so that they can enable e2e encryption with iCloud at a later date.
World Bank Discontinues Ease of Doing Business Reports
> USB-C's design was made to balance of costs with regards to client device complexity

Actually usb has and always has been made to confuse users about what cables they should buy.
Is it always plastic, though? Might be cellophane instead, which is not plastic and especially suited for packaging food.
> Most Android devices these days have bootloaders that cannot be unlocked

[citation needed]

I'm finding the majority of devices to be unlockable as long as you don't buy your device from a carrier.

Carrier locked devices are not typically the norm but in the US.

And if you truly cared about software freedom, you wouldn't be buying carrier locked devices in the first place.

I really wish people would stop griping about losing security features when you flip the one switch that ensures the security of the system. Unlocking the bootloader means it is now possible to modify system files. Of course Safetynet is going to fail. The point of Safetynet is to ensure the system hasn't been tampered with.

However, despite all of your doom and gloom posturing without actual examples, I've yet to actually use a single app (and I use several banking and root detecting apps like remote features for my car) that will prevent me from continuing to use the app if rooted. It just pops up and says "We see you're using a rooted device, this is not recommended." I click "OK" and proceed as normal.

The alternative is to use Apple and whelp, that'll never happen... since I actually do care about software freedom.
And that triggered another unrelated problem because there has been a controversial change to merge several timezones that are alike since 1970 (the current tzdb has been inconsistent about them) and the Samoan change has triggered the next release (2021b) so the debate has to be somehow settled before that release.
This isn't Tim Cook's vision. The closed nature of the App Store is Steve Jobs' legacy. Cook just refuses to kill the Golden Goose.

I'm not a fan of Epic, but I hope Apple loses and we get some sort of alternate way to load applications on iOS devices.
Delphi does not have an LGPL option. Lazarus, however, does.
For anyone curious, a hobbyist license for LispWorks is $500 for a 32-bit version that works on a single operating system, then $250 every year after that. If you actually want to release software other people can use, then it's $1000 and $500 every year after that. If you want to sell software other people can use, double that. Want the ability to use a database? Double it again! Oh, and if you want to release anything but 32-bit software? Double that, too.

All of this is per-seat, too.

It's really "Our company and or university gives us enough money to blow on software that we don't have to look at the prices"-oriented pricing.

LispWorks is amazing software from a development standpoint (though SBCL is significantly faster if you're actually using what you write), but it's also one of the best examples of predatory proprietary software.