skysight-inc/HackerNews huggingface dataset:
> And don't forget the power bill. Some old servers idle at hundreds of watts, which will add up over the several years you leave it running. 24/7 server hardware is a good example of where it makes sense to be mindful of power consumption.

My rack has an always on laptop for applications that always "need" to be running. I then have an arduino in my office that's sole purpose is to wake on lan or power on via UPS until the servers are online when I turn my switch to the "on" position, and put them to sleep when in the off position. Any servers still on after 15 mins in the "off" position just get halted.

Once I did that and the friction of going on/off was so low my power consumption went way down.
I worked in IT for an energy utility company and saw DS teams work and presentation. The DS team was given mandates like optimise the maintenance schedule for a coal fired power plant. Optimise the turning on/off hydro electricity based on water flow, weather, electricity market rates. Optimise bids to electricity market (works like a stock market). Automatically evaluate Solar panel installation suitability from aerial photos of roof and tree cover, maps, sun angle, location etc. Aren't they interesting problems to solve.
> No doorslams

For those who don't know this means popups asking you to download the app or sign up for the newsletter
People from those other countries frequently travel to Mexico first, then illegally cross the US border from there.

https://www.sandiegouniontribune.com/news/immigration/sd-me-...

https://www.dw.com/en/entering-us-via-mexico-why-are-so-many...
I never liked it. My main gripe with it is that it has adult subject matter, but dressed up in a puerile and immature cartoon style. You can be serious using other media. It doesn't always have to be Anime. I enjoyed Sin City immensely however, even though it had Anime-type CGI.
> We can't know what would have happened without Jobs, but it seems fair to say that much of the global-scale stuff would have, though perhaps not Apple itself.

I believe there's a logical fallacy that described this thinking. I definitely don't think the smartphone revolution was inevitable, at least not on the timetable it happened on because Jobs pushed it forward.

Yea, Palm had large-screen phones, and yet most people didn't care and still didn't have smartphones. That could have kept repeating for a long time more, with just Blackberry holding the market and just for "business phones," if Apple hadn't come in with its consumer gravitas.

It's easy to look in hindsight and think the future was inevitable, but it often wasn't.
Lack of regulation wasn’t ever even the primary advantage. That you don’t have to depend on a single payment handler is what makes crypto interesting.
Why? Is it not wide enough for you? or something else?
And I wasn't saying that the dip is because those people are no longer alive, but because they are just trying to be more careful and therefore avoiding exposure since they can afford to do so financially.
They don’t care about Afghans just scoring brand points. Businesses exist to make money and the fact they thought this might help there branding in effort to make more money says more about society really than it does about this company in particular.
How are the government able to do this in Australia? Do Australians not possess a bill of rights with codified "inviolable rights" similar to the US Constitution? Or is it basically up to the government to determine how far they can with little ability of the courts to stop it?

Quite shocked watching what is happening in Australia and NZ with their society-wide lockdowns. Have been to both places and would never have guessed the population would so willingly go along with what seems to be quite overt and widespread human rights abuses.
Good job! I noticed a bit of lag when making a new list (after you type the name).. is there a way to make it faster? ;)
I'd prefer to do business with a company that chose to help people in this way.
Is there something even better? This article wastes a lot of text repeating over and over that there are problems without getting to the most important ones.
It's not a silly response. The thing about IRC is that there's channels, and you chat with people in those channels. The deal with Twitter is you both publish and subscribe to short messages, but there's no enforcement of reciprocity -- I don't have to follow someone just because they follow me. There are replies, but that's not the same thing, and Twitter is starting to give people more tools to restrict replies to their Tweets, making the platform even less reciprocal. Everyone in an IRC channel gets the same experience, everyone on Twitter gets a unique experience.
> they never report phone thickness being a top concern but in practice it is actually one of the top criteria by which they judge phones

So much true. I'm on iPhone 12 Pro right now but I am always tempted to play with my Moto 5g Plus. It is quite a bit thinner or at least feels like that and it feels so much better in my hand.
Their stock had been pretty steady around 145ish for the past month and it seems like it rose 10% today on these news.
> But these two camps of databases are slowly converging too, with JSON datatype support in MySQL and PostgreSQL, and pseudo-JOINs and transactions in MongoDB.

That's not enough to justify 'Oh I guess SQL vs NoSQL isn't about relational vs non-relational anymore'. It is 100% about relational vs non-relational. That SQL databases now support JSON is besides the point: nobody is saying to model your data as JSON documents just because SQL databases now support JSON. Similarly I don't believe that MongoDB is saying to model your data in a normalized relational fashion just because it supports 'pseudo joins' (are they even efficient?). The relational model is powerful because it stores data in a query agnostic way, and NoSQL databases are very much not that. If they were, they'd be SQL databases.

* yes, relational database != SQL. But SQL is the only widely used implementation for relation modelling, for better or worse. Show me a NoSQL databases that is built on relational modelling.
Pick some laws and regulations and find a way to ignore them at scale
I'm not sure I would say 'changed the human trajectory for everyone', but I certainly think its fair to say that he was instrumental in substantially disrupting/transforming or created new markets in the technology (personal and business) space. The Apple 2 and Mac certainly disrupted personal computing in numerous ways (although perhaps the PC clone is a better example here). The Next box was a commercial failure, but a technological step forward for software. Mobile phones / tablets were clunky and did not have a great touch or internet experience before the iPhone. Apps / app stores have enabled a whole new paradigm for how users access global distributed services (and before someone says - mobile web, that experiences still is generally, subjectively a worse user experience than most apps).

While there are plenty of stories about his abusive behavior (usually to his staff) especially in his younger days, there are equally plenty of positive anecdotes about him as a human. Personally I don't think I would have enjoyed working for him, but I feel it would have been an experience I would have not regretted. Like all of us, he was flawed in some areas, good in others.
Yeah, this is how we turn friends into enemies.
> dunk on the middle east.

So, the Middle East includes Afghanistan now? I swear the borders seem to advance every year.
I wouldn't call a glorified screen mirroring an "infotainment system".
Code Smell 86 – Mutable Const Arrays
I see this argument in relation to refugees pretty often. It seems to insinuate that we are spending more on refugees than we are on homeless shelters.

SF is prepared to spend 1.1 billion to address homelessness, which I think is just shy of the federal refugee program budget.

The fights to combat exclusionary / single family zoning are in part to create more affordable housing.

It seems we, as a society, are doing a lot to fight homelessness, but relatively little to help resettle refugees.
Forgive my ignorance here, but wasn't this already the case? Nobody has needed to get a prescription for the vaccine, just like a flu shot. Perhaps I am misunderstanding this comment?
No question that anti-trust is currently pretty much incoherent.

One frustration is that it has morphed from things around consumer harm to a new focus on harm to other ... businesses.

Google downranks some crappy content farm / shopping aggregator - bam - antitrust complaint. Yes, it hurt that business and so helps google shopping - but no one asks - do users like these crap content farms? Same with google finance - I liked it. Now google can't prioritize that - even through I want it and so I get sent to a giant ad laden garbage fest of another finance / stock quote site.

The other issue consumers no longer have any leverage with respect to very large businesses and govt is no where. So Apple can build a very valuable offering by playing "cop" in their closed garden. That is a consumer benefit.

In other words, you individually would never be able to negotiate a deal where someone would let you sign up for their service anonymously, but apple can force that.

They can force trials signups to have full details of renewals (same font).

They can force folks to allow you to cancel subscriptions without huge advance warnings and will remind you of subscriptions in advance. Yes, this sucks for developers, but the consumer is helped by these steps.

Until govt steps in, I'd love for them to back off on folks creating these places where the tons of crap the govt allows on the broader internet is not permitted.
Establishing the use of the word "market" in an email is not the end goal. The end goal is establishing the violation of US antitrust laws by, e.g. buying out the competition and taking actions that unreasonably restrict trade (generally in your competitors' goods/services).

But there are two ways to hold a company to account. One is a civil mechanism, producing civil penalties and consent decrees (or damages, maybe?). The other is by the prosecution of a criminal offence. Enforcement via the latter is harder to do. It requires showing the actions were done intentionally, just like every criminal prosecution. It also has a very high standard of proof. Using the word "crushing the competition" in the context of buying competitors or engineering them out of the first page of search results is evidence of that. Google doesn't want exposure to criminal liability. It is undoubtedly harder to prove they did this stuff intentionally if they deliberately refrain from talking about it and do it in winks and nods.

I don't know what you're referring to by "try to be clever or cute" but using these language guidelines to decode discovered materials and show a criminal intent to do things that constitute criminal violations of antitrust law is not cute, and neither is relying on the absence of directly incriminating language to absolve yourself.
Lightning Network is an abomination. The company behind it, Blockstream, actively suppressed the movement to increase the block size, which led to the bitcoin cash fork.
I like OcAML as well - in fact I stated that. The original reply was to a comment comparing OcAML to F# in the context of adoption in a company to a risk adverse poster worried about costing the company "mega dollars", where one reply dismissed F# due to .NET interop. My point was really that's also the reason why IMO it is less risky to adopt for many corporations for a person such as this - there's less chance to be blocked by some missing thing. Awkward but workable on the edge cases beats having to do more work for many projects in the real world we live in.

F# isn't that risky of a language to adopt and even to non-engineer management types as you say - it's .NET. To most of them, they wouldn't know the difference so in that context it is "less risky" for that poster.

I replied with my opinion that for many enterprises (not all) looking to move into FP, F# would seem a less drastic change with many of the benefits (library interoperability/ecosystem size, threading, etc). That doesn't apply to the use cases in this article which is great/fantastic - I'm all for that!

I actually agree with most of your points, but adoption is just as much about convincing others as it is technical qualities, maybe even more so. Getting people onto the journey and making them comfortable with the risk is important.

I would argue with .NET Core F# more has an equal place on the server side (Linux even) given the problems it is more geared to solving. They are both good languages, one is based on the other after all with slightly different tradeoffs. Both OcAML and F# are more similar than different IMO.
While I disagree with the parent on helping US citizens first, I don't think it's generally wrong to put your own people first if you have to choose. That doesn't mean that other people are worth less, it simply means that, if you can choose one or the other, it's not generally reprehensible to choose people close to you, at least in my opinion.

Imagine, for example, a natural disaster strikes and you're forced to either save the live of your own child or a complete stranger. Anyone would choose his own child (assuming exactly similar circumstances). That does not mean the other childs live is worth less. It's exactly the same thing if it's about people in your country or a foreign one - of course, your relation is less intense, but it still holds.

Other comments explain why you'd choose contrary to this in this case, but I don't think we should assume bad faith in the parent.
What about revokable JWT tokens? Isn't that similar to the random token approach, except each token holds some additional meaning, and revokable.
I assume the parent is referring to MobileMe, iPod socks and NeXTSTEP for PA RISC.
https://www.aten.com/us/en/products/kvm/ ?

Just as an example. There are much more, this was just from the top of my head, because they tend to just work.
Lotta downvotes, but this is true. Sorry trumpers :)
You can’t perform a timing attack for a token “foo” in SELECT WHERE token = :token if the token stored in the DB is the HMAC of “foo”. E.g. trying “f” and then “fo” produce 2 entirely different, random tokens from the query’s POV. The attacker could never deduce that the correct token is “foo.”
> Do you have any reason to narrow down the scope to FastAPI when other frameworks like Flask are still more widely used?

Because he is the author of FastAPI
In addition to the spyware and telemetry, Samsung's smart TVs also show ads in their interface. Yes that $1000s TV you just bought. Sigh...
It's amazing how much fluff was made about it this when battery replacement in random shop costs about $20-50.
Yes. Revocation is painful with all of the stateless approaches; it's not on its own a reason to avoid JWT. On the other hand, the folkloric draw of JWT is that it's stateless, and they're only stateless if you can revoke them without issuing SQL queries.
Many of us don't want banks or shopping sites on our phones.

AndOTP authenticator works great for me. I also wrote one that I use on an offline computer (TOTP is rfc6238) in case my phone dies or is unavailable for some reason.

My only gripe with my current usage of GrapheneOS is that sometimes when the notification bell goes off and I open the phone, the SMS was sent many minutes ago (up to an hour or so). I'm only presuming it's due to a lack of google services or something about GrapheneOS; but it might be the network operator.
flimflam man Musk stated in 2015 that their robotaxis would be up and running by the end of 2015...

and he made similar claims each year after that.

You can thank him for the hype and cynicism
That seems too prone to abuse (money duplication, stealing other people's cash remotely, ...). Is that really how the world works?
The analysis here is so absolutist and extremist it is ridiculous.

Many business have auto-delete for the simple business purpose - when someone hacks your email (which will happen somewhere in a large business) - why do you need to keep all that crap around forever? And yes, people email payroll details, passwords, logins and the list goes on - stop with the preaching about how to email securely.

So you auto-delete, which reduces the blast radius. In most cases folks are not looking at emails past 3 years old.
I have actually a lot to say about this, in the context of mTLS; it's a post I'm working on.

I am generally a fan of the mTLS approach for very simple topologies, like "central Consul cluster nobody can talk to without the right client certificate". I am much less a fan of it for the general inter-service authentication problem.
I am not sure what you mean by 'terrorists'. The dictionary definition of terrorism is using crime for political goals. A number of BLM and antifa affiliated groups engaged in terrorism throughout 2020 and haven't been banned from either social media or services like AirBnb. Some of the people I've seen post about their AirBnb bans did not try to "overthrow" any government and aren't terrorists. To me it seems like clear discrimination based on ideology, an offline version of the same discriminatory moderation we see on platforms like Twitter or Reddit or whatever.
Sure, a lot of similarly functional smartphones had existed, but that didn't matter because nobody used them. Steve Job's intuition about user experience was at least several years ahead of everyone else's. Improvements are generally incremental, but the iPhone nailed so much the first time: the app icons, pinch to zoom, using the accelerometer for portrait and landscape mode, adaptive screen brightness, and the use of the proximity sensor.
The events in Afghanistan started from Sour revolution, which went sour. That's when USSR was invited to the scene by the Afghan president. So is it east or west that started trouble? In general, its empires that attempt to take of advantage of weak states - be it USSR, US, China. If you go back arbitrarily in time, then, yeah, everyone were barbarians.
many places have fairly strong summer storms.

SF does not. Also it looks like it almost never rains in Chandler.

we won't have all-weather reliable level 4/5 until an onboard computer has the equivalent power of a human brain
I guess theoretically he could, but he's probably not used to doing so as the closest one is over 2 hours away.
No 120fps screen, no ultrahigh resolution cameras, no periscope lens, no microscope lens, yet I'd never buy Android.
On the contrary, the leaker is sharing with the public, often things people deserve to know. It's the height of selfishness to be upset that Larry and Sergey stopped telling you about their dirty laundry, because the public was finding out.
What do you mean? It was just 1 person, albeit the CEO, who left
While I don't begrudge anyone from creating a new language, I'm trying to figure out what this brings to the table that languages like Nim, Zig, Ecl, Crystal, V, Forth, Gambit, etc... lack. The only thing I can really find is "syntax". Lua isn't really my cup of tea, but to each their own. Regardless, looks like a fun project.
I'm no EE, but I think Kirchoff's current law says something about that:

https://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws#Kir...

The battery is either charging or discharging on net.

I sometimes see colloquialisms like "The laptop isn't really running off AC power, the AC is charging the battery and the laptop is discharging it to run". I also see people say that it's bad to keep a phone or laptop on its charger all day, and I usually do that to no ill effect, so I stopped trusting common wisdom on batteries.

When you get down to the cell level, each cell has 2 terminals, and it's either charging or discharging, right? Unless the charge circuit is doing some green-blue trick to charge half the cells and discharge the others, nothing that runs off a battery can be running AC "through" the battery. They taught us in A+ class that UPS' run power "through" the battery but I think it's objectively wrong. Especially if it's a lead-acid battery which I _know_ only has two terminals.

You can draw a boundary around the battery and charging stuff and say, if 90 watts is going in and the computer is pulling 80 watts, the battery must be charging at 10 watts. If the computer is pulling 120 watts, the battery must be discharging at 30 watts. But there is not 90 watts of power flowing "through" the battery in either case. Adding a load just causes it to charge slower, or discharge instead of charging.

It's probably true that the power supply only converts from mains to whatever the battery charger wants, and there's no path from mains to the load without going through the battery's voltage, but as other posters said, the reason you can't run some phones with a dead battery is more related to peak load. I have definitely owned mobile hardware that worked _pretty well_ without a battery, but worked better with a battery to smooth out load during startup or CPU load spikes.
> It's just a massive amount of information on a single page.

And no BS. I kinda miss the old web.
You need lower temp (600F) and longer time if you’re using a lot of ingredients.
Do most of them contain LTE transmitters? Is their share increasing?
My solution to get a new dumb TV is simple. I don't want and would never own a smart TV so I use a standard monitor with a PVR/STB (Set Top Box). It works perfectly - I've used that solution for years.

The real problem is that governments have allowed the free-to-air (dumb) TV service to be bastardized, there's no regulation to protect it.

A very simple solution that would end the practice immediately would be for governments to put say 20% tax/duty on all smart TVs made by manufacturers who don't ALSO market dumb TVs.

Blame your governments for the lack of dumb TVs!
The micro switches on mice can be customized.
https://mouseclub.co/pages/mouse-switch-guide
Tokens are basically passwords, so yes.
I think it was more of example as using term ”popular” in different context, regardless of it is true or not. Arguing if it is not true, does not take this example away.
This is one of those things where lots of people, though judging from the thread maybe not as many as I'd expected here, will applaud. A wealthy, successful, American company is "stepping up" in a humanitarian crisis caused by the United States' misguided (to put it mildly) aspirations for a country that ultimately had little interest in western-style governance. And so it goes, these Afghan refugees will enter into these countries, and have a place to stay and recover from the trauma that they've assuredly experienced in the frantic exit from their home country.

Eventually, though, they'll have to actually live in the countries they reside in as, one has to assume, permanent residents. I helped sponsor my interpreter's visa years ago when I finished my time as an infantry platoon leader in Afghanistan. He landed in [undisclosed location] and has a stable job driving for a trucking company. He hates it here. He wants to go back. Do you want to know why? Because we let our girls go to school, because there aren't enough Muslims around him, and because he misses his home country, warts and all. He left because he was afraid that the Taliban would kill him, and he was probably right. He's probably still right. We rarely talk anymore, which is sad, but that's the reality. There's a wide range of views that interpreters held, and to be sure mine is absolutely not meant to be a representation of everyone coming from there.

I don't really have a point other than to say that resettling refugees isn't as simple as "oh just give them a place to sleep and some cash and the rest will take care of itself", like it's via osmosis or something that they inculcate the values and culture of the new "home" they find themselves in. This isn't software you can install, it's much harder than that.