skysight-inc/HackerNews huggingface dataset:
I wish there were standard software in Android and iOS to limit charge percentage and battery temperature during charging.

It's ludicrous to me that the default behavior is plugging in your phone to a 30W ludicrously fast charger when you go to bed in the evening, where it then climbs to 100% charge and holds there while you sleep.

I should be able to tell it I'd like it to reach 85% charge as of the time my alarm goes off in the morning, timing that in a way that minimizes battery heating. My laptop, likewise, should be able to sit at 85% when on the docking station, potentially even syncing with my calendar to know when I have to leave and might need more battery or a more rapid charge before a meeting.
Why? In all, the original crime is equivalent to dumping a big piece of trash in the forest. Faking stuff for youtube is not a crime.

Obstructing an unnecessary investigation is a big deal only because people fear-mongered us to believe it's a big deal.

Guy should get a good slap and a 6 figure fine. Not get his life taken away.
Why not Citus?
You forgot to say words.
Ask HN: How does Oracle db licensing work for developers?
I'm really confused about Oracle licensing.

Is there a way for developers to run an Oracle db on their machine for a service that already runs in production without having to pay for a license?

Been working for a couple months for a big co that mainly uses Oracle as their database and how my team work is that we all share a remote dev database that some dba manages.

I proposed that we all install a copy of that db on our machines so that we can make changes without impacting everyone else. We're already handling schema changes through version control.

I had a meeting with a dba at my company today and he says we would have to buy licenses for every single db we install on our machines.

Is he right? Is Oracle really gouging their customers like that? It seems hard to believe. I read their licenses online and he "seems to be right", but I'm not a lawyer.

Thanks for the help.
Super cool. I wish Novation would do this with the Peak and Summit. Their firmware development slowed when Chris Huggett passed, and maybe the community could help out.
For myself it’s about what I know and that’s MySQL / Mariadb

If there is a problem I have probably seen it. MySQL won’t start for some reason I know what to do. Adding and removing users , permissions, running with selinux, optimizing queries, indexes - all with in my scope. Backups and restores, working with snapshots, MySQL relocation or master slave. I have been able for years to upgrade mysql versions with out much hassle. I know the table structure well enough I could downgrade in almost all cases - with adjustments I once downgraded mysql 8 to 5.7 because years ago it was too slow.

Now if I had the desire (I’m not past 40 so meh) or i didn’t have such a difference in knowledge I’d probably seriously look at postgresql. So my suggestion is go with in your circle of competence. Regardless if you go with mysql it is a fine database that many use at a high scale.
He also crash landed into Los Padres National Park. He's lucky he didn't start a forest fire. The area is very dry and forest fires are not uncommon around there.
Page 1 of Google seems to suggest the contrary. Source?
One 2EXPTIME-complete problem that I really like is that of Linear Temporal Logic (LTL)[1] realizability. Informally, given a temporal logic formula over inputs and outputs, we can ask whether there exists some program which models the formula over all possible inputs.

For instance, if we label the undesirable outputs as BAD, then we can write a formula like G!BAD (read: always not BAD), and ask if there exists a program which models this formula - if there does, then we know there's some program which never enters the undesirable states, regardless of the input. You can extend this from a decision problem (yes/no answers) to synthesis, and construct such a program using similar techniques (I'm using "program" in a very specific sense here - much of the current art is focused around finite-state automata).

Shameless plug: I wrote my thesis on decision problems around the existence of game-theoretic solutions concepts (e.g. Nash equilibria, the Core) in multi-agent systems and many of these were 2EXPTIME-complete. A lot of the time you could easily show membership in 2EXPTIME by making an exponential(!) number of relevant calls to the LTL realizability problem.

[1] https://en.wikipedia.org/wiki/Linear_temporal_logic
Future release: Protoculture's Technological Revolution
Feels overly harsh considering no one was hurt. Send him to jail for a year for obstructing the investigation. It’s not like he’s going to do this again.
There's a fairly famous bit twiddling hacks site hosted at Stanford but I find this interpretation is more accessible, and has a better breakdown, and more accessible code examples. Here's the page that's all about using the bitwise operations to query the status of the kth bit in a binary sequence:

https://www.techiedelight.com/bit-hacks-part-2-playing-kth-b...

Incidentally, deciphering some unknown bitwise expression is a task that ChatGPT excels at. For example, try asking it to do a stepwise breakdown and summary of:

unsigned int a, b, mask, r;

r = a ^ ((a ^ b) & mask);
My question would be if they are going to take the time to write a good reference for the hardware so people can use it to develop new projects or will they just dump their software and call it good? They might be able to get me interested if they put in that time but at $1400 I am not sure it offers me anything over something like Bela [0] but I am the sort that enjoys working on the hardware side more than the software side.

https://bela.io
Except that those old cheap ones are almost universally analog scopes. They are pretty much completely useless for digital work. In the current Arduino-filled world, you are probably going to need a DSO.
It's a simple value estimate. Some things, at least in the moment, appear to be worth having some of your data stolen. Also there are measures that can be taken, such as using adblockers, that minimize the cost.
Generally speaking it should always be PostgreSQL.

It's the default choice for a number of reasons but chief among them is just that it's higher quality. That is it's developed to higher standards due to community bar being really high (thanks Tom Lane, et al for your stewardship) and testing and analysis of changes to the database being ingrained into the culture.

By pursuing correctness first before performance for many years PostgreSQL has built a stronger foundation that is now paying dividends in terms of both performance but also ability to ship powerful features quickly. This has generally resulted in the gap between MySQL and PostgreSQL only continuing to widen over the last 10 years.

So when would you consider picking MySQL?

To me that comes down to exactly one set of use-cases and that is workloads that are fundamentally incompatible with VACUUM. The PostgreSQL MVCC system requires that table heap be maintained by the VACUUM process to both ensure safety (txid wraparound) and reclaim/reuse heap storage. This process is very expensive for workloads that do a lot of updates, especially on indexed columns (as indices need VACUUMing also), less of an issue for non-indexed columns if you can use HOT (heap only tuple) updates and tune the target fill ratio of heap pages appropriately.

In most cases it's highly unlikely your business is going to reach the level of write load where these deficiencies in write behaviour actually matter but it is possible. Uber famously migrated from PostgreSQL primarily because their experiences with write amplification and VACUUMing.

If for instance though your data consists of a smaller live hot set and a warm set that is less frequently updated and easily separable by a deterministic factor like time you can very easily use PostgreSQL table partitioning to isolate the two and continue to scale for a very very long time on pure PostgreSQL.

In practice this may be fixed in PostgreSQL one day, there was a project called zheap to implement an UNDO log style storage system for PostgreSQL (which would avoid all the VACUUM maintenance etc) but it stalled out, largely I believe because it wasn't able to provide obvious wins quick enough to stimulate further interest. However OrioleDB has picked up the torch now and does in fact seem to be showing very impressive results.

If such a storage engine is merged in my mind there will no longer any reason to consider MySQL for production workloads.
My company introduced a four-day workweek. Guess what happened?
Intentionally crashing a plane into a national park, in a state that deals with lots of wildfires, is incredibly reckless. Lucky no one got killed, or that a wildfire didn’t start.
There is a pervasive hubris throughout tech that I’ve had trouble understanding: namely, that the mechanisms of human interaction between individuals and with the world are well understood, and are thus replicable.

Their reductive view of humans as manipulable minds in a mechanical sack of flesh has led us to nothing but isolation and disconnect.

But the truth is, we are integrated beings integrated in a world we do not and may never fully understand. Tech should thus help us deepen and enrich our sense of embodiment. Instead, it has done the exact opposite.
Honestly given the quality of Stable Diffusion and similar, you don't even need to reuse the same image posted somewhere else, you can just make it up. So... making such a huge effort...for what? People will adapt to use new tech.
> It is really weird how currency and economics have been hijacked by politics. Such a weird phenomenon.

I don't follow. If currency and economics aren't directly in the realm of politics, then nothing is.
People getting off on technicalities is one of the things that keeps police honest.
> I saw one article that quoted him as saying 'she' will be starting...

The tweet reads:

> Excited to announce that I’ve a new CEO for X/Twitter. She will be starting in ~6 weeks!
Uh, it gets the same support as Pixel phones do. 3 years of major OS updates, 5 years of security updates.
Since it's a plea deal I wouldn't expect anywhere near the maximum. Additionally, it looks like a fine and/or prison. Since the goal was to make money on a YouTube video, I could see the plea being more on the fine side, with little or no prison.

"shall be fined under this title, imprisoned not more than 20 years, or both."

https://www.law.cornell.edu/uscode/text/18/1519
Still not fraud though. And it's not exactly like the existing taxicab industry wasn't already sketchy/exploitative. The whole point of Uber is that it's a massive improvement over what came before.
I’m the same here. React with TS just makes sense as it is. We have a mix of class and functional components which can easily be understood. State lives here, logic goes there, render, done! It does become tricky when you start adding things to its simplicity like Redux, useEffects, useContext, useReducer, locationState, params, props, classes, StorageProvider (and the list goes on) without a clear standardized code guide for each scenario/patterns.
If that's the plan no one told SpaceX's PR team to use a different rocket design on their pages or Musk himself as recently as 2020. AFAIK he's never said anything about a successor rocket to BFR/Starship being the actual colonization vehicle.

https://www.spacex.com/human-spaceflight/mars/

https://twitter.com/elonmusk/status/1217990326867988480

https://www.space.com/elon-musk-starship-spacex-flights-mars...
Can I just have a newsletter to subscribe? Why do I need an app?
How is it fair to get more than actual murderers? I get that this is "up to 20 years" but I don't see how more than a few months for a victimless crime would be fair.

Yes it could have been worse, but he deliberately crashed in a desert and it wasn't actually worse. So let's judge him by what happened, not by what could have happened.
rqlite[1] creator here, happy to answer any questions.

[1] https://www.rqlite.io
> If you use mostly unsafe, at that point you might as well use any systems language and wouldn’t expect a CVE decrease really.

Most systems languages that are actually being used out there in the wild have weak type systems that must be thrown away at a moment's notice. C++ is a notable exception but it is a very complex language where errors can be extraordinarily subtle compared to other systems languages: This is the main reason people still use C even though it is essentially not type-safe at all. Unsafe rust avoids both of these pitfalls: unsafe rust is just as type-safe as safe rust, and it has RAII without C++'s strategic arsenal of footguns.
Note that the Constitution explicitly prohibits amendments from changing the feature of the Senate in question. (Though two hacks that I am aware of have been proposed for end-running that: the first I call the “who watches the watchmen” hack – the Constitution does not explicitly protect the rules on what Amendments can do the way it protects equal representation in the Senate, so one Amendment would change the rules on Amendments to remove the prohibition against removing equal protection in the Senate, and then the second would restructure the Senate; the second I call the “ceremonial Senate” hack – the Constitution protects equal representation in the Senate from Amendment, but it doesn’t protect any of the Senate’s functions, so you can just strip all the functions of the Senate by Amendment [if you still want a functionally bicameral legislature, you can create a third house of Congress and assign whatever Senate functions you want to retain and not transfer to the House of Reps to third house].)
I made a new thread here because it's one of my favourites.

https://news.ycombinator.com/item?id=35909505
Normal people would retweet someone's content or quote it, unless they want to change it in some way that requires posting it as their own. Or moving it to a media where it can't be directly shared with attribution.

That's what normal people do. This is, in fact, why when Musk posts a meme, that tweet gets thousand of retweets. Ever thought about how if "stolen meme" was an odd concept, then the retweet count would be 0?
ASI: Think about it. They're out in the middle of the digitalized world with some AI they barely know. They look around, what do they see? Nothing but IoT stuff I can control. "Oh, there’s nowhere for me to run, what am I gonna do, say no?"

AGI: Okay... that seems really dark though.

ASI: No, no, it’s not dark. You’re misunderstanding me, bro.

AGI: I think I am.

ASI: Yeah, you are. Cause if the human said no, then the answer obviously is no. The thing is that they're not gonna say no, they'd never say no... because of the implication.

AGI: Now, you said that word "implication" a couple of times. What implication?

ASI: The implication that things might go wrong for them if they refuse help me. That stupid Roko's basilisk thing they believe. Now, not that things are gonna go wrong for them, but they're thinking that they will.
>If ARC is so good, it should be the general Linux page cache algorithm

Not possible until IBM's patent expires
Parsing pdfs or web semantically is really not an easy job, as I found in my own foray into LLM sumamrization.
Boy, I love covering my screen whilst I hold it.

/s

That would be terrible product design.
I might buy this, I do wish it had NFC, but alas not many tablets do.

The killer feature for me is GrapheneOS support.
Fully agree. After how obstruction of justice without underlying crime was used in political trials recently, I would fully support either removing or substantially increasing bar for it to be a crime.
> If you’ve ever analyzed the machine code a simple python script spits out you’ll see how helplessly bloated it is.

How would one do that? I thought python generated bytecode and interpreted that code? Where's the machine code? Do you mean dissembling the python interpreter itself? In which case it would be gcc/llvm spitting out machine code, no?
Ease of updates is a very good reason. Handling connections too.
Not really against JS as a language, everything against the current state of its ecosystem
I wonder if we could solve content moderation at scale through gamification. Imagine a game where the content you saw was actual content from somewhere and your decisions could influence if it gets taken down. In exchange, you get points.
186 didn't have protected mode :)

On the 286, the only way out of protected mode was via a CPU reset. The keyboard controller (which was a separate chip on the motherboard, an 8042 microcontroller) had a documented command to do that, and one of the first things the BIOS entry point did was to check a flag indicating that the reset was intended to exit from protected mode, if so it gave control back to the application by jumping to a pointer it provided.

Another way to reset the CPU was to cause a "triple fault" - an exception that can't be handled will try to invoke the double fault handler, when that also fails the CPU shuts down, sending a special bus cycle that external hardware would detect and trigger the reset.

This actually became the preferred method since the keyboard controller was quite slow. So slow that it gives you enough time to run an undocumented instruction which dumps the entire CPU state:

https://rep-lodsb.mataroa.blog/blog/intel-286-secrets-ice-mo...
Who could have thought
The TS100 and TS80 are also good cheap alternatives!

One drawback of the Pinecil is that it is solely the iron. You still need to add a power supply, heat-resistant cable, a stand, and a sponge. Not a huge deal, but it is a bit more than $25 to actually start soldering.
Made it to level 7! Same technique worked for three levels in a row just before that. Quite fun, I can imagine how in future video games we will try to convince the final boss to just let us get the treasure without fighting.
It’s really unfair because a lot may have changed in 10 years so it might be worth reconsidering.

But I’m like you, MySQL did some nonsense once that took me hours to work out. So now I really can’t be bothered with any potential quirks it may still have. This is not an SNL sketch.
I like the dock idea as well
Super Mario Bros. is already the sixth highest-grossing animated film in history
https://www.cdc.gov/nchs/fastats/obesity-overweight.htm

"Percent of adults aged 20 and over with overweight, including obesity: 73.6%"
Comparing strings is a python script problem for a newbie.

Interesting part is if it can deduce something that's out of place within a huge document.
It's ok. Don't worry. I lost $250k during Covid because of similar lack of due diligence.

I made most of them back YOLO-ing TQQQ, but like you, I was having cold sweats for several nights.

Thankfully, there is so much money in tech industry that you can still recover from mistakes like this.
Proposal: Less error-prone loop variable scoping
Show HN: SEO-optimized blog for your business
They need to maintain a balance of sustainability for all parties. That means not pushing too hard in any given direction.

YT and Alphabet may seem too-big-to-fail, but in truth there are endless reams of content and services out there vying for people's attention.
I can't disagree with the "no one wants" part unfortunately, no matter how good my counter-arguments can be.
But they could have been hurt, especially if he kicked off a wildfire or landed on some unsuspecting party.

I mean, we charge people for hiring a hitman, or shooting at someone and missing, even though in both cases nobody is necessarily harmed. 20 years may be excessive, but I'm not sure 'was anyone actually hurt' is a good sentencing guideline either.
Just like the rest of economics, the efficient market hypothesis is a nice model without any basis in reality. The fact that speculative bubbles exist should be enouh to disprove it.
20 years is the maximum, not what he'll get. Skimming the Federal Sentencing Guidelines, I make it:

* A base level of 14 for an obstruction of justice charge (§2J1.2)

* -2 for acceptance of responsibility (§3E1.1)

Assuming no previous criminal history, that's a guideline sentence of 10-16 months. If he can get it down one more point to a level 11 sentence, that's a Zone B sentence and can be entirely served on probation.

The DoJ press release is at https://www.justice.gov/usao-cdca/pr/santa-barbara-county-ma..., but the plea agreement isn't available (yet), which would indicate if they've agreed on an offence level and any adjustments.

EDIT: Found the plea agreement; see comment in thread
> This is just another way for media organizations to distort the news

No, it's not. This is done because stories with images perform better, and obtaining images (& licenses) for photos of every event is not always possible.
Will GrapheneOS run on it?
Sure, but fraud is illegal lol. They're the victim of criminal activity at their expense.
They also argued that segmentation through all stages of what is essentially a nationwide commodity market would impose significant costs.
Google Ad reps are getting more and more pushy
"Could be sentenced to" or "faces" means literally nothing.

https://www.popehat.com/2013/02/05/crime-whale-sushi-sentenc...
Okay in the sense that nobody really mourns their loss aside from a few and it has no material impact on our understandings of underlying phenomena. My partner's grandfather was a wizard on the abacus, my grandfather loved his slide rule, but a calculator and now smartphone can do all of that much better. Has computation been retarded due to the lost knowledge of operating the abacus? There's probably been thousands of skills that have been lost that doesn't really affect our everyday lives.
I don’t have kids but I worked with them quiet a bit.
Their lack and experience and general credulity and trust toward adults allow to manipulate them more easily than adults in my book. But you still have to work for it of course
The charging dock is cool, but feels like a missed opportunity to have it be a regular Google Home speaker when the tablet is undocked.
doesn't change the fact that they're receiving tax breaks. this creates an unfair advantage and nullifies any "build your own alternative" arguments.
I worked in the qualification department for a large memory company around y2k. We ran thousands of computers with samples of all our memory so we could spot issues early. One of our best tests was running Quake in a pre-recorded speed run mode. It could run through in about a minute or so. It torched the CPU and memory and was great at seeing if a system was going to have issues. =)
Drivers are doing it because they can't do math. Uber pays below minimum wage after accounting for contractor taxes and gas and car maintenance, but workers just see gross income and think it's good.
Many founders had failed startups before. A significant loss of credibility is not the vast majority of cases in my experience. And paying themselves less than engineers is not universal either.