skysight-inc/HackerNews huggingface dataset:
The magical thing is once shown examples of this in your code, or a comment saying as much, Copilot will adapt.

For example, I just gave Copilot:

# The screen is inverted, so bigger y values are lower
def lowest_point(points):

and it completed:

# The screen is inverted, so bigger y values are lower
def lowest_point(points):
lowest = points[0]
for point in points:
if point.y > lowest.y:
lowest = point
return lowest

Even if you write some code that implies that bigger y is lower, Copilot will pick up on it.
Hey that's a cool suggestion and if that works I can get rid of like 2 other pairs of "workout" earbuds. Thanks!
90% of people just take the standard deduction.

https://www.taxpolicycenter.org/briefing-book/what-standard-...
Who uses a process per request for serving Python apps? That must be very uncommon. Even if you use a worker pool that isn’t going to restart a whole process just because of an errant exception in a request handler.

Also as noted if your whole process crashes because of errant input to int() you are beyond fucked in other ways.
I do not think you can get much financing from HELOC if you are a new buyer. Not enough equity yet. But even without HELOC new buyers are going under
> It works fine for read-heavy apps (ie: most apps) and, with things like Litestream, is especially attractive in distributed and edge settings, where you can stream out read replicas to a bunch of regions and direct writes to a single central region.

This is what I'm saying - I keep hearing this, which popular website is using SQLite as their main database?

I don't have any doubt you can serve 1000 users, or even 10,000 current users using SQLite. There's a power law distribution with the popularity of sites. The most popular sites have multiple orders of magnitude.

Can SQLite serve 500,000 current users with 75% reads and writes with the consistency you'd expect?

> And, finally: SQLite wants a single writer per database. But there's no rule that says your entire app has to land in a single .db file. That's what you'd naturally do in a Postgres app, but it's not necessarily the natural answer for a SQLite-backed app, where it's pretty trivial to pull from multiple databases with a single SQL statement.

Sounds reasonable in theory. How do you maintain consistency between all of these databases? Schema migrations? Backups and restores and maintaining referential consistency?

By the time you implement all of this, and you certainly can, why not just use Postgres?
As a Brit, I wholeheartedly approve.
Please respond to my argument instead of implying bad faith.

I can sharpen my argument even further:

Existing nuclear reactors - keep them going. They are here today.

Solar - leverage its decentralized, bottom up expansion by the people that can use their own roofs, reduce beaurocratic hurdles. Its expansion does not have to wait 8 years. The products are here today.

Power 2 Gas - celebrate existing products on the market. They are here today.

All these things are here today and part of a solution which contains many parts. I welcome each and every betterment, because we will need it.

You on the other hand are dismissing key tools and instead focus on one thing that is not here today and will maybe be ready in 8+ years.
Tailgaiting is hypermiling.

We're close to having the tech necessary to make the tailgating safe. A critical mass of cooperating auto pilot software should do it.
There’s a lot of solutions to the problem you’ve mentioned.

1. There are companies specifically doing esims for data effectively everywhere in the world.

2. Google Fi exists

3. Just get an international plan? It’s honestly so much easier than juggling sims.
It looks it still takes some effort to send out a message with aiming and everything.
Your professional network extends to every organization you'd aspire to work with, and you actually care about those organizations' goals? I assure you– that isn't the case for most people.
Here's the deal -is there an ecryption that's actually secure against state-level actors? Someone with the resources of the FBI etc?

Now, before you say "I don't do anything illegal so it doesn't matter, I'm only worried about corporations" think for a minute about how often companies do have ties (even informal ones -like friends) with people who work in agencies with those resources. You still run the very real and likely risk of a quid-pro-quo ("hey, if you can give us a way to peek into these encrypted drives we'll leave the listings out for you /wink").

In the year of Our Lord 2022 I really would not trust cloud encryption -strong or otherwise; at least not for me personally and my personal/hobby data. If I was working for a company that has a legal department with teeth behind me and I was storing things on the cloud for them? That would be a different ballgame.
Khoj: Natural Language Search Engine for Your Org-Mode and Markdown Notes
>What's the deal here? Companies are so desperate for any criterion to reduce the pile of applicants? Do they believe it helps? Do they look for a few of these profiles and never the others?

Yes. They are looking for anything that lends credibility to their choices and that they believe objectively guides them toward the right candidates. Truth is, it's a total crapshoot but no one wants to acknowledge or believe that.
Globalstar is a terrible asset and has limbered along for 15 years. The fact that they would give up almost all their capacity without even calling for an acquisition speaks to their desperation, perhaps even Apple's
Yeah and similarly, if you're a terminal program, using process groups for your children means that they'll keep running if the user presses Ctrl-C. Process groups really just weren't designed for anything that's not like a system shell.
Apple: Certainly, you can pay another two years, by buying an iPhone 16 Pro.
Does anyone prefer to keep the downsides? The only thing stopping people is not having the cash to be able to do the same.
I feel the exact opposite. At least they are measuring something vaguely objectively. Interviewing with most potential employers, at least in software, is like when children guess at picking players for sports teams while wearing a blindfold. Everything always seems to come down to biases applied non uniformly.

Changing jobs is a big life investment. I would prefer it not be a blind date with one-way conversations from somebody likely abusive and neglectful looking for a surf to abuse. If the potential employer is instead interested in potential they are sending a signal they are willing to invest in you.

Myers Briggs gets a lot of hate due to low precision but it’s a cheap and fast assessment. There are much better assessments of personality but they take more time and are more invasive.
So you can call certain behavior despicable but I can't call your behavior entitled. That sounds pretty entitled.
Are the messaging and emergency functions the same with those? For emergency beacons there is also a ~400Mhz frequency that is monitored independently (vs satellite communication at higher frequencies)
Why are you willing to accept an inferior adblocker, instead of switching to another browser that maintains support for fully featured adblockers?
My Airpods Max connect to 5 different devices daily.

What kind of switch would you suggest they use?
I dunno. The new version does not strongly affect end users (according to the devs) but there is a psychological barrier around switching from the full version to the minus version, which I think will cause me to switch to Firefox.

Even if the new version works now, Google are clearly going to tighten the vice over the next few years.
On Metaculus :

Most likely - fusion ignition in the 2030s. Fusion supplying 10% of global electricity in the 2050s.

https://www.metaculus.com/questions/?order_by=-rank&main-fee...
Blog post is out now https://gretel.ai/blog/introducing-gretel-amplify

They get 43,300 records per second on this example, which seems to the right order of magnitude for you
Having trouble understanding this. Why is it special that the supply model be studied?
new interpreter argument:

-X int_max_str_digits=number
limit the size of int<->str conversions.
This helps avoid denial of service attacks when parsing untrusted data.
The default is sys.int_info.default_max_str_digits. 0 disables.

this should not be a runtime configuration setting, fix the sodding algorithm to not be quadratic

will we be getting PHP style magic quotes soon? that also protects developers against untrusted input (bonus! this could be configured too!)

or an inability to pass strings into the regular expression module? that can also cause DoS

(what happened to Python?)
It's not a lame dichotomy. There are loads of people who detest rote memorization and prefer to solve only the problem directly in front of them. Bobby Fischer himself invented his variant because he hated that aspect of the game. I, personally, empathize with this position as a university student who gets higher grades in pure math courses than in the "easier" applied versions due to the memorization aspect.
Very true. Though an abundance of cheap energy may prove helpful in brute force engineering some other problems out of existence. I'm thinking of recycling and geo-engineering in particular.
"While the duration and temperature alone aren’t records, the simultaneous achievement of heat and stability brings us a step closer to a viable fusion reactor – as long as the technique used can be scaled up."

Half of the engineers on HN right now:

[...as long as the technique used can be scaled up...](PTSD_Chihuahua.jpg)
Didn't tech got a major boost in COVID?

Since the rates were hiked, they are also the biggest victims. I doubt this has much to do with the energy and more with the recession.
Nope, that was submitted about an hour after mine.

With my submission, whenever I tried submitting with the blender.org/download/ url, the HN submit bot just opened my Blender 3.2.2 submission from a month ago instead. Seems like dupe detection not being useful in this instance. :(
Apple's key to success is that they're the best hardware company at doing software.
Not once you drop the first part and it becomes just "read-only memory", though!
https://en.wikipedia.org/wiki/Sliding_scale_fees

I learned the term WRT insulin for diabetes. I think the key is that the scale you use for determining something (fees, insulin dose) changes depending on other characteristics of the person
I would think that none of the available options provide a complete integrated development environment as LispWorks and Allegro CL (which are commercial, but still they exist and are available) do.

The combination of SLIME/GNU Emacs and SBCL has some unique features (and is really a very useful combination), but the whole integrated development feeling one won't get from it. For example the LispWorks IDE is completely written in itself, is fully GUI based and is also in one application. Thus the cross-platform GUI system used to write the IDE is also available to the application developer. GNU Emacs OTOH is an external application, not written in Common Lisp and with a clunky user interface.

Then there is a path of older and mostly abandoned, but powerful and/or very usable user interfaces: examples are Xerox/Medley Interlisp (https://interlisp.org), Symbolics Genera, Macintosh Common Lisp and others.
It is really useful sugar for:

for _ in range(4301):
llama.append(‘1’)

(there’s probably an easier way to do that but you get the point)

where python can see both sides of the operation and optimize it on the C side of things.

The issue really has nothing to do with that though, it is converting a string to an int which is the whole point of the security update.
There are major differences. For one, in case of catastrophic failure, the plasma will dissipate, its temperature will drop and the fusion reaction will stop.
Wow. I didn't know this. Makes (tragic) sense from a censorship perspective, obviously.

https://blog.telestial.com/2017/11/countries-where-satellite...
solar and wind can be free, if the sun does not shine and wind is not blowing 100% of the time...
There is no reason a priori to assume fusion power will be cheap. On the contrary, everything we know about it now suggests the opposite.
I want to get them but reliability is a big concern. Everyone in my family has had problems with our first gen pros. Mine started developing crackling issues. During the pandemic I remember hearing that it was a known problem and could be fixed at the Apple store, but all of the stores were closed. I put off bringing them in until later. I finally got around to it this past week as the issue has grown a lot worse recently, and they said it is indeed a manufacturer defect, my AirPods are now out of warranty, and it will cost $180 to repair them. They then encouraged me to just buy a new pair given the high repair price.

That just rubs me the wrong way. They spent a good amount of time during the conference today highlighting their commitment to the environment yet are incentivizing that I purchase a new set. If these ones demonstrate stronger reliability and get USB C a year from now, I'll definitely consider them.
The statement "the most secure cloud is your computer ... because you have full control over your computer" is false. Many, many people have lost control of their own computer, either physically through loss or theft, or virtually through malware. There is nothing particularly secure about the machine that happens to be on your desk.
I forgot what a great game Quake is. Gonna replay it. Looks like it's available on Steam!
>1. What's the most efficient way to boil water?

Doesn't need to be the most efficient. Just more efficient per energy transferred to the water than all the other options.
I agree. I'm not interested in software that will screen resumes for keywords or that kind of thing. Instead we ask a simple question right in our job postings, asking that an answer be included in the application, and that filters out 90% of applicants who don't bother. If someone additionally includes a decent cover letter, they go to the top of the pile. We want people who took the time to read our posting and want to work here, not those who are just spamming resumes everywhere.
Sounds messed up. I'd really hate to get into a dialog where this sort of stuff is justified because it's just running rampant and it's just easier to give up and convince oneself that it's actually ok because the alternative is simply too difficult to imagine.
Replying to this as it's on top, and first thanks for the reply (and sibling replies as well). The challenges of getting servers to update and implement being a practical roadblock makes sense, I was more surprised just to not see it mentioned at all. I'd have been fully prepared for a few sentences along the lines of "this would be ideal if doing it from scratch but it'd be hard to get everyone to go along now, the reverse perils of decentralization". What you write is also interesting.
If you don't believe in altruism, then why are you here discussing how best to do it?

The kind of charity that is most likely to be fraudulent or completely ineffectual, is a small, local one. The bigger the organisation, the more cost-effective it is to do checks.
We switched to kubernetes with the basic autoscaller, that saved us money in particular when there's less traffic.

We've also moved away from AWS Elasticache offering and now directly manage our own Redis. We've discovered that our backend is very sensitive to missing cache and that Elasticache is expensive but very reliable.

Currently we're testing Karpenter to automate scaling with 'spot' instances.

We're working with dev teams to remind them performance is a requirement, that will help us reduce ram/cpu allocations. Since RAM is capped, they have no choice but to take it into account if they want to avoid emergencies, it's a very motivating carrot! (just trolling !)

In the pipe:
- move some workloads to arm (databases, cache, Argo, grafana, etc) and generally speaking better match instance types with the workload
- our testing environment is too close to production, that's great for testing but quite expensive, for instance we're going to move to only one Postgres cluster with multiples db inside, instead of one cluster per test account.
- more monitoring to know where we can reduce cpu /ram requests
- market our results to the business side of the company, so we can require more resources to reduce costs
- simplify our docker images which have a lot of legacy code, to be able to scale up faster. That will allow us to scale down more
- invest more time to comb through AWS cost reduction programs to enable some more

That's it for now!
And when it's easy enough for older folks, they're also generally better for even savvier users.

I like hacking around a Linux workstation as much as the next nerd, but when I put BT headphones in my ears to listen to a podcast, I want it to just work.

That said, every so often I need to toggle my iPhone's bluetooth switch in Settings. Even Apple's software isn't 100%.
More than zero
I suspect they are eating Garmin's lunch, although (to stretch the metaphor) we have to define the ingredients of said lunch.

Let's stipulate that there's fairly few people who outright need the Fenix's 18 days of battery life. People who go on multi-week off-grid hikes are uncommon. These people will still buy the Garmin.

However, the existence of the Ultra is going to suck up the probably much larger group of people who like the Apple Watch but feel they need something a bit tougher for sports or with enough battery for a weekend of hiking. Instead of buying a second watch for activities, they'll buy the fancier version of their existing watch that they can just wear all the time.

I thus strongly suspect that Apple is peeling off the larger part of the active-watch market here, using their existing status as the maker of the most-popular smartwatch to spread in to the new segment just by being able to say "we can do some of that now, and y'all already know you like us elsewhere".
My company gave managers Clifton Strengths tests, and it was fairly interesting (and tracked with my own self-introspection). Wasn't used for hiring or performance, but more as a tool to people recognize their traits and how others may differ.

https://www.gallup.com/cliftonstrengths/en/253790/science-of...
$3/hour or more!??! That is insane. Anything more than $1/month is a rip-off.
Government contracted construction workers: We Have No Idea Where Your Tax Money Goes

I think it would be a more meaningful analogy if you had posited two government accountants.
iOS 12.5.6 was released on August 31, 2022, fixing CVE-2022-32894:

https://support.apple.com/en-us/HT201222
My guess for Apple’s long game is is to turn the Find My network into a distributed network for comms beyond location data.

One of the incentives to participate may be free or reduced-cost satellite data.
> it might involve weeks of code spelunking and dozens of conversations with engineers

It's worse than you think. First, a little background: I worked on one of Facebook's largest storage systems for two years. So let's talk about some concrete examples.

I knew the rebalancing code better than anyone by the time I left. This is a pretty essential bit of functionality, running regularly on any cluster that has been up for any amount of time and moving quite a bit of data each time. After a chunk was copied, my code would go to delete the old one. I know for a fact that the deletion could fail without my code even getting a useful error from lower layers. I found and fixed many such cases, but I'm sure more remained. That could leave an "orphan" chunk where nobody would know to look for it, and chunks were self-identifying enough that if enough such orphans existed they could be reconstructed into a whole block possibly containing user data.

I knew the data-repair code almost as well. Same problem. I knew the system-repair code less well. Similar there too. In fact I was involved in pulling back "repaired" systems and using them to recover data that would have been lost, more than once. I watched other engineers get rewarded for cleaning up petabytes' worth of no-longer-reachable data (because of cases like I'd mentioned, or bugs, or whatever) that was still taking up space on our millions of disks - again, multiple times. And that's all just one storage system. I'll bet others had similar issues. Also, the problems with truly erasing disks and particularly SSDs are pretty well known. If a machine was taken out of our system entirely and repurposed for another one, or vice versa, there could still be data on its platters/chips that could be recovered with sufficient forensic effort. (These things were physically destroyed before leaving FB, and I've even seen the impressive machines that do it, but not between "lifetimes" within the company.)

So knowing the current code is not enough. You'd have to know every past state of the code during a relevant timeframe, including what bugs it had, which is challenging to say the least. Every configuration detail, too. You'd have to know every rebalancing, reconstruction, or repair event that might have affected each disk. It really is like figuring out the physical state of an area in London. Nothing short of scanning every sector, even as more hardware enters and leaves the system almost every minute, could produce an absolute guarantee.

I'm not saying it can't be done in any system of similar size and complexity. Just that it couldn't in Facebook's, even without malice, largely because so much code was written without that in mind and it's a really hard thing to bolt on afterward. I know there are people working toward it. It's just going to take longer than most people - even technical people - think, and saying it's done would be a lie.
Personally,that will be the motivation I needed to switch to Firefox on my main computer.

So... thanks Google I guess ?
There are also several somewhat more worked out versions of the article and one of them shows how he arrived at an infinite series for sine. The cleverness here was just a small part of a lot more.
it's overly complex because ...?
One of the biggest boilerplate time savers for me is I have a service that maps HTTP requests to some specific class. I can paste an example HTTP request into a comment like:

/*
<http request here>

The well-type class representation of this is:
*/

And then it spits out a totally sane and reasonable class. In this file I already have 10+ classes already defined and manually touched up by me to rename some things, remove some fields, etc. So every time I add a new one, Copilot takes into account the previous examples and each addition requires less or no manual tweaking.
It's interesting to see that South Korea has such strong nuclear research facilities. Taiwan lost a lot of nuclear researchers in the past decades. Some of it due to US lobby work and some of it due to stupid governmental policies in the recent past. Japan which is also quite strong in nuclear seems to be trying to sell part of their nuclear industry, a move which turned out disastrously for the french.
It seems to me that a possible improvement would be for the compiler to error on unreachable code in `-release` and to warn in `-debug`.
I would wait until it's actually confirmed that it has 6 GB of RAM. There is also an A15 in the iPad mini 6 which is based on the A15 in the 13 Pro, but with only 4 GB RAM. If this is the case a discounted 13 Pro could actually be the better option (also because of the 120 Hz screen).
I am actually quite surprised that it hasn't gone fully belly up some time in the past 10-12 years as their product has been eclipsed by much more robust offerings from competitors. How they've limped along with additional funding I truly don't know.