skysight-inc/HackerNews huggingface dataset:
Both approaches have pros and cons

I prefer having one decent tool thats used across almost all projects like asp net for web

instead of 5 things with their own quirks and pros cons

Its annoying to have to relearn boring things on company change

Like orms, web frameworks, etc.

When you need custom solutions then you gotta put effort anyway
It took a while for Framework and the community to figure it out, but the s2idle problem is fixed with the nvme.noacpi=1 kernel argument. You get instant wake and no more battery drain than deep. This is in the official Framework installation guide for Fedora and other distros now.

grubby --update-kernel=ALL --args="nvme.noacpi=1"

The drain with USB-A and HDMI cards is real, though. I see 2-3% per hour (as compared to <1% with only USB-C cards), and there seems to be no fix on the horizon. Not a huge deal for my usage pattern either, as I'll power off or put it on the charger if I'm not going to use it again for more than a couple hours.
Sure, my point was just that the number of corporate investment in the core Python language is smaller. Investing in an ML framework isn’t a bad thing but it doesn’t support anyone working on the core language the way Google, Apple, Microsoft, Samsung, etc. contribute directly to Chromium/WebKit development.
I've been using a System76 laptop for about a year and a half, close to two years, somewhere in that range. I initially thought I would ditch PopOS for something I was more familiar with, but in the end I wound up keeping PopOS.

Overall impression? A+++ would buy again.

I've been very happy with the machine and actually wound up liking PopOS enough to stick with it. No major complaints, everything "just works". The one thing though, is I splurged a little bit and got a machine with 64GB of RAM, plus both an nvme drive and two SSD's. So my impression of this machine may be colored by the fact that it may be the first machine I've ever owned where I truly felt like I had enough RAM and enough storage space, to not have to think about either (for the most part). I can now have like 8 browser windows with an aggregate 400 tabs open, have three, four, even five separate Eclipse instances running, Okular with a few PDF's open, an OpenOffice doc or two, and everything just hums along. No swapping, no drive thrashing, etc.

Wish I could tell you more about the "non PopOS" side of things, but I just didn't wind up going that route. The one thing I might suggest, is that if you buy a System76 machine, give PopOS a long hard look yourself, before deciding to ditch it. You might also decide to just keep it. YMMV, of course.
>I don’t know how well it works,

Well enough, provided you stay within the known bounds. Hell, some people at Touchlab even went as far as porting Jetpack Compose to work on iOS (which, uh, I would not recommend in its current state), and it technically works. I probably wouldn't recommend writing all of your app logic in Kotlin, but being able to share the data layer is amazing.

>But do you really think that a relatively young language like Kotlin with minuscule adoption (compared to java) will be better at this game then Java?

It depends on where you're looking. Most modern android development will most likely be done in Kotlin. Backend work, for things started relatively recently, Kotlin is not surprising. But mostly, Java does not make iOS compatibility a goal. Java tell you "get a JVM and run our shit" (or get GraalVM and have basically an embedded JVM). Kotlin has two sides, and Kotlin/Native does not depend on the JVM.

>Java has a very good compiler to Js maintained and used heavily by Google (j2cl, part of their closure compiler toolkit), which can also output obj-c code. These are/were used heavily for porting their shared libs between basically all platforms.

j2cl still brings in a light JVM to the Web. Kotlin does not. It provides interop to the JS APIs as well as its own tech, but it's not meant to take your Kotlin code and immediately run it on the web (which is an awful, awful idea). You're still meant to write your browser specific code, your android specific code, your x86 specific code, etc. In any language you want, even! Write it in Kotlin/JS, or let your typescript consume the Kotlin/JS bindings. However, you can have a common base that'll work everywhere.

> For native, Graal is a very cool way forward benefiting all JVM languages (as well as scripting languages, its polyglot features are insane).

Graal is an extremely cool project, but with different goals. Write once, run everywhere is a lofty goal, but it only works on very similar platforms (Windows/Linux/OSX). Kotlin has taken a Write once, specialize what is needed approach.
‘di said it, but to emphasize: with sigstore, there is no key management whatsoever. The keys in question are ephemeral and never leave your machine; the entire idea of the project is to bind an identity (like an email or GitHub username) to short-lived signing certificates.
It looks great, but I can't stand the wasd controls. Please let me control steering with one hand (e.g. z-x or a-s) and acceleration/braking with the other (e.g. k-m).

Supporting the gamepad API would be ideal.
https://youtu.be/IeTybKL1pM4
Good Engineering is not Premature Optimization
remix comes with the main caveat that if your API is slow or very far away you will end up with a slow frontend, whereas next.js prerenders pages meaning they're always going to be fast. obviously this doesn't matter that much if you're making a customer dashboard but if you want to have public facing data and your backend isn't globally replicated you are either going to have to implement your own caching layer or your users are going to have a bad time
Sqlite is tested so thoroughly I doubt Rust's borrow checker (which is essentially just another test) would benefit it: https://www.sqlite.org/testing.html

Sqlite also has never had a severe CVE, from the parent's link:

> All historical vulnerabilities reported against SQLite require at least one of these preconditions:

> The attacker can submit and run arbitrary SQL statements.

> The attacker can submit a maliciously crafted database file to the application that the application will then open and query.

The OP's vulnerability requires passing an insanely long string to a C api, which isn't something you'd expect to be secure.
The generalized routine below provides compound interest Future Value using scaled integer math (no floats) to 14-15 digits of accuracy --- roughly comparable to a double float while avoiding comparison decoherence. It aims for results accurate to the penny while a negative result indicates an overflow failure.

In comparison, floating point math provides no warning when the accuracy of the mantissa is exceeded --- out of sight, out of mind --- by design.

scaleFV(P,R,C,Y) int64

SP := 10000 //temporary principal scale factor, 4 decimals
if (P>SP*1000) SP *= 10 //extend accuracy for larger amounts
SR := 1000 //annual rate scale factor, 3 decimals (pre-
applied to R)
N := C * Y //total number of compounding periods
D := C * 100 * SR //period rate divisor
P := P * SP //scale the principal (int64)
while N>0 do
P := P + ((P * R) div D) //compound principal with period interest
decr N //count the period
return (P + SP div 2) div SP //unscale result, round back to nearest
penny

Example:

P = 10000000000 $100 million in pennies
R = 8000 8 percent scaled to 3 decimals
C = 12 12 compounding periods per year
Y = 30 30 years

Result = scaleFV(P,R,C,Y) = 109357296578 pennies or $1,093,572,965.78
I put Xubuntu with i3wm on mine, and it works without issue.
If you are worried about being dragged to a "black site" Telegram is giving you a false sense of security. The corporation (and the owners i assume) are long gone from Russia, ironically because it could not operate there and was in danger of being censored or appropriated by the Kremlin (they never do things like that...).

Telegram sits firmly within the western legal system and somehow manages to stay online. Their privacy policy references the British Virgin Islands.
As other said, yep, you do not get the Java ecosystem if your target is native executables (or JS). there are alternatives like kotlinx-datetime, kotlinx-serialization, the kotlin stdlib. However, if you know you're going to stay on a JVMable target, feel free to not use Kotlin/Multiplatform, but regular JVM Kotlin libraries
Well usually there are lots of signals. Overreacting means you might do something that's misguided and expensive. Underreacting means you miss a signal or two and delay a big risk until the information is certain. The pay-off is asymmetric.

If you have a process for spending money in place and people with too much free time on their hands then overreacting might be OK. Too much research never hurt anyone so "overreacting" by investigating thoroughly is probably not wasting your time. But if your reaction process is throwing money at ideas you'll probably just get scammed.
I'm not sure if this survey even has the support of the Emacs authors. There was a big controversy about collecting this data on their mailing lists about a year ago so I'd be careful about donating money to the anonymous person who's collecting data on Emacs users without the support of Emacs.
Basic messaging? No, messages are one of the building blocks of XMPP and are specified in RFC 6120: https://www.rfc-editor.org/rfc/rfc6120.html#section-8.2.1
And with records you mostly don't need Lombok (unless you really like builders and can't wait for withers in Java).
Under the typical use case (ie. you install it and leave it there for a few years), 16 cycles is more than enough. Now, if you're an enthusiast running benchmarks or whatever it might cause issues, but isn't really "insane" under the typical use case. Also, I'm not sure where the "16 cycles" number is from, but other commenters linked to an article that says it's rated for 40 cycles.

[1] https://en.overclocking.com/12vhpwr-adaptator-is-a-consumabl...
The case litigating Andy Warhol’s use of a photograph of Prince
> It doesn't matter at all.

> If you're the type of employer to hyperfocus on dumb details like this, then we're all better off not working for you.

I’m sorry, but evaluating candidates like this is the entire point of the interview process.

You’re also massively downplaying what’s going on here: I’m not referring to a single termination a long time ago after working somewhere for a long time, I’m referring to the pattern of firings within the first 3 months.

Firing someone within the first 3 months of a job is extremely rare. Two of these happened with a little more than one month on the job. I don’t know if I’ve ever worked at a company that fired anyone that early for anything other than flagrant workplace violations, which is why it’s a big deal to have one early firing on your resume, let alone 3.

I’m sorry, but these aren’t dumb details. I think you’re forgetting that the hiring process isn’t just about protecting the company, it’s about protecting the team. It’s also the hiring manager’s job to screen for someone who might have interpersonal issues or a failure to deliver results in a workplace environment that would negatively impact the team.
I feel like 10 million lines is still massive, given all of the points mentioned in that comment.

UI pages must be immense in terms of lines of code.
They are probably much harder to come by than in my days, but still exist:

https://www.teaandcoffee.net/feature/2061/georgia-works-revi...

With government support and private-sector interest, Georgia aims to rebuild its once highly regarded and significant tea industry – dating back to the Russian Empire – that was destroyed following the collapse of the Soviet Union.

In its history, first in the Russian Empire, then in the Soviet Union, Georgia played a crucial role in the tea market, producing at its peak up to 133,000 tonnes of packed tea per year from nearly 70 species, enjoying demand not only within the country, but also in some export destinations, including Mongolia, Iran and Afghanistan. However, this ended with the collapse of Soviet Union, when communism-style, tea-growing cooperatives appeared not to be ready for any competition with import supplies.

As a result, the tea industry was almost completely ruined, as annual volume of production dropped to nearly 4,000 tonnes. Approximately 95 percent of tea plantations have been closed, while out of nearly 100 tea factories, only 12 are operating now.
This sounds related to the observation that one of the powers of human civilization is move evolution out of the DNA genes and into culture. We use electricity not because we have electricity-using genes, but because we have the genes that allow us to support a culture that knows how to use electricity.

However it is beyond me to translate that into the blockchain specifically. This seems like yet another case where in the phrase "distributed ledger", the "ledger" is doing all the work and the "distributed" isn't doing much. And there isn't much work being done either; most of our "culture" isn't in ledgers. Even if you take the broad view that I do that a lot of things like our technology are actually embedded in human relationships ("Hmmm, I remember Bob knows how to solve this problem... ah yes, I bet Sally knows the solution to this... I bet Ramash could hook me up with the right part for this problem...") and things beyond just formal transfer mechanisms like "books" and "classes", ledgers still aren't carrying much of that water.
> The way I think of it: I have experienced non-existence for billions of years, I will experience it again after my death.

sorry but that's extremely silly. Go read up Parmenides at the very least. If you don't exist, you don't exist, period; there's no experiencing, no you, no anything.
> which the FOSS community uses to exclude non-technical users.

Sorry, that is bullshit. Any FOSS enthusiast will gladly help other people, when there is a clear path to make the change. When I told my friends and family "I am not going to use WhatsApp anymore, but there is this program that we use instead", I went to help all of them that were interested. I didn't force them to choose between Element or WhatsApp, I just said "here is one alternative."

> Just as FOSS should produce high quality, usable, popular, free software.

I can bet FOSS beats proprietary solutions on any class on a dollar-per-unit-of-quality and even dollar-per-user-acquired metric.

> If you actually want people to use FOSS you need to stop shoulding potential users and start making software that satisfies their needs in obvious and delightful ways.

Everyone wants an unicorn. No one wants to pay for it. If we want developers to work on FOSS projects, we need to foment a marketplace that rewards FOSS developers.

"Oh, but I don't care about FOSS. I care about getting things done, or less inconveniences, etc"

Fine, then enjoy your shit sandwich that is called "Big Tech".
Biased is too weak a concept. It is a deliberate, principled choice of FSF/GNU/Emacs to advocate against Windows usage. They are, overall, in favor of some Windows support only in order to show Windows users the benefits and virtues of free software. The ultimate goal is that those users will move away from Windows, not that their Windows experience will be enriched. They knowingly favor these principles over greater success in the Windows world.

https://www.gnu.org/software/emacs/download.html#nonfree

Whether this is a realistic, good, or successful point of view, will clearly be debated endlessly, but Emacs' intentions should be understood clearly.

IMO, there is a gray area between "such a bad experience that many Windows users will not see its value" and "so good that it's just another piece of good Windows software". Finding a practical balance, if it's even possible, would be another area for debate. There are surely mailing list archives that cover this, but I think the project would always strictly prioritize "avoid enriching the Windows experience" over "show Windows users how good Emacs is."
No idea why v7 is trending now. The big changes (moving to C99) are in v3 from 2022-02-26.
I liked that idea also.

The concern was dialog fatigue. If a web site prompts permission to ‘gather local candidates’ most users are just going to hit OK. So this wouldn’t stop abusive uses of WebRTC as hoped.
How nutritious are brains? Scientific answers on how zombies operate
https://www.merriam-webster.com/dictionary/theft: "the felonious taking and removing of personal property with intent to deprive the rightful owner of it"

Has the rightful owner been deprived of their property? What, exactly, is the property in question?
Same here. Additionally - will you be running more in future? I'm travelling to Lisbon for Solana Hacker House on Nov 1.
>Many of the Rust "evangelists" thinks/behaves like Rust's guarantees are absolute and leads to absolutely unbreakable software by default, and advocate that the language is the silver bullet combining abilities of C, C++ (depending on application) without any of their downsides.

Where are these people? I'm not doubting that they exist, but I've never come across one and I've been in the rust community for several years now.
You wouldn’t download a magazine article!
Apple Mac Pro's M2 Extreme SoC to Reportedly Pack 48 Core CPU, 152 Core GPU
> Unsure if Property Testing would actually have found this issue, 2 billion bytes is a very large string and usually you wouldn't put the limit so high, the tests would run for too long.

Yet, this is a textbook case of issues caught by static analysis.
I'm a fan of Matrix but am inclined to agree. In 2018 I looked at the Riot (Element) codebase with a hope to contribute to improving the client. In my estimation, the interfaces and data structures were bonkers convoluted and the maintainers gave dire warnings about how all of them were subject to radical change. I put my attention elsewhere.

I wish they'd focused on building a messenger first, rather than trying to be a Slack/Teams/Discord. That said, it's taken a while but the Element client is dramatically better now. It still doesn't have the polish of other messengers, but I'm rooting for them to dial that in.
Sigstore Announces General Availability for Rekor and Fulcio
it really is. a sibling comment of yours points out some info posted by a former Uber engineer about why, and even considering that, 10 million lines seems extremely high.

Windows XP is smaller than the Facebook app for Android...
People in the US don't realize how rich we are because we spend the money extremely poorly.

California's GDP will exceed Germany's soon. With less than half of the population. That'll make it the 4th largest economy in the world.
You can fix the faces with inpainting. Or Automatic1111's repo has several face restoration tools built in.
>I dont really get why I would leave out the explicit types in the source code

One my pet peeves, shit like this sucks :

var f = MyStupidMethod();
Google Decides to Make Ads More Distinguishable from Organic Results
If it was not intended as a universal backdoor I think there would be some way for the hardware's owner to disable it or buy hardware without the baked-in backdoor.
So typed python runs slower on 3.11?
OTOH, using Mobile Safari, this site leaked my device’s IP as well as a number of connected devices on my internal network.

Anyone know an easy fix for this?
This is... probably misalignment with modern definitions. Volunteer for the time was not at all the same as what we think of today. To wit, many of the "volunteers" were as likely getting the only form of compensation that they could get by being there to build something.

Specifically, if there was a local market, it would have been near the cathedral. And if you didn't have a reliable farm or other plot of land to provide food, seems reasonable to assume your best bet was to be compensated in some form for manual labor.
Serious question, how many years? I ask because 1) I make really good money now, especially if you ignore the SV/FAANG outliers that everyone here pretends are the norm, but it still took me 7-8 years to break 100k USD, in the US. 2) Maybe because there are so many new devs now but I hear people say a lot "I've been doing this for years!" then when you dig into it "years" means 2 or 3. These are also the same people who don't consider themselves junior 6 months into their first job, or consider themselves senior after 3 years. A career is 30-40 years long.

The median income for a dev in the US is 100k. That's going to skew down due to lots of juniors but it also includes everyone making several hundred thousand dollars a year. I am taking a pay cut down to 160 for better WLB on a product I have used for years as a customer and really care about, and I think if you ignore the outliers I am very well compensated at 12 YOE and existing domain knowledge.
To me, I think that Apple's reliance on China, and Taiwan, was and is an extremely risky and misguided decision. Imagine if Apple had developed a total reliance on chip factories built in, say, Ukraine, back in 2018. That's about where we are now with Taiwan and China, I believe.

It's sure been profitable - but at, I would argue, obscene risk. A few years of TSMC being unavailable would have Apple on life support. Apple would actually be worse off than many companies and the ditching Intel decision would do a total 180 into a massive mistake. Nobody cares if you have higher-performance products if you can't make them.

Edit: For those saying that can't happen, think Ukraine in 2012 or 2018. Russia? Invading? Can't happen. For Taiwan, China, invading? Can't happen.
If you wondering what "single-phase battery" is, and how "phases" (which are associated with AC current) can be related related to batteries (which are always "DC") -- don't worry, it does not, it's just bad journalism.

An earlier press release [0] explains it is "lithium iron phosphate-based technology battery system". And the "single phase" refers to the type of inverter attached to battery -- it's a single-phase inverter (such as the ones installed at residential homes) as opposed to three-phase ones (more common in industrial environment). I don't know why this is significant, but I am not an AC grid expert.

So a more correct title is:

The world's largest [power strorage station with] single-phase [inverter and LiFePo] batteries is now up and running.

[0] https://investors.canadiansolar.com/news-releases/news-relea...
Guaranteed that company won't exist in five years
Update was pretty painless. Everything else is the same.
Yes, people change in 6 years, and I would probably not consider it a strong bad signal anymore in 2022, given the following experiences.

But in 2017, if I actually need someone in because we're a small structure and recruiting errors are costly ? I'll definitely go for a less risky candidate.
Maybe the last bit is overly harsh - colleagues can become friends, and maybe also your boss, but I wouldn't trust my boss with this info either after only a few months. I mean, if this is supposed to be your dream job, and you already lack the motivation to put in the work after such a short time, even if they like you as a person, that might give them doubts about how you would fit in in the future. OTOH, if your boss has already noticed, saying something along the lines of "I'm actually really glad I have this job, it's my personal situation etc. that's bringing me down, but I'm working on it" (even if it's not 100% true) might be a good idea...
Signal uses your own (working) mobile/cell phone number, isn't that why/enough for Signal to be a no? It is for me.
mypy, as well as things like pylance, enforce the type hints, the interpreter ignores them during execution.
> 1. Labor cost is an issue but at 530 per month as of 2020 Chinese mfr labor is still relatively cheap and only twice as expensive as India.

Only by US standards. You can pay that much for a factory worker in eastern/south Europe. The US is a huge outlier regarding salaries compared to practically anywhere else.