skysight-inc/HackerNews huggingface dataset:
There are a couple of efficiency reason besides the simple fact that every piece of hardware in existence operates on data sizes in powers of the byte. To start off with it would be fantastically inefficient to build a cpu that could load arbitrary bit locations so you would either be restricted to loading memory locations that are some reasonable fraction of the internal cache line or pay a massive performance penalty to load a bit address. Realistically what would you gain by doing this when the cpu would have to divide any location by eight (or some other fraction) to figure out which cache line it needs to load?

The article touches on this but having your addressable unit fit a single character is incredibly convenient. If you are manipulating text you will never worry about single bits in isolation. Ditto for mathematical operations, do you really have a need for numbers less than 255? It is a lot more convenient to think about memory locations as some reasonable unit that covers 99% of your computing use cases.
The way I would frame this is that Rust has static (compile-time) memory management, and that conflicts with dynamic memory management (garbage collection).

The boundary is awkward and creates complexity.

I wrote a post about problems writing a garbage collector in C++, e.g. annotating the root set, and having precise metadata for tracing.

http://www.oilshell.org/blog/2023/01/garbage-collector.html

https://news.ycombinator.com/item?id=34350260

I linked to this 2016 post about Rust, which makes me think the problem could be worse in Rust, although I haven't tried it:

http://blog.pnkfx.org/blog/2016/01/01/gc-and-rust-part-2-roo...

I didn't write as much about bindings to native C++ code, but that's also an issue that you have to think about carefully. CPython has kind of been "stuck" with their API for decades, which exposes reference counting. So it's extraordinarily difficult to move to tracing GC, let alone moving GC, etc.

---

On the other hand, there was also a paper that said Rust can be good for writing GCs.

Rust as a Language for High Performance GC Implementation

https://dl.acm.org/doi/pdf/10.1145/2926697.2926707

However, I'm not sure it addresses the interface issue. One lesson I learned is that GCs are NOT modular pieces of code -- they have "tentacles" that touch the entire program!

That said, C++ is pretty good at "typed memory" as well, and I think it's more pleasant than C. That is, you get more than void* and macros. So I can believe that Rust has benefits for writing GC.

Not sure about Zig -- I can believe it's a nice middle ground.
error uploading 5 page upload
Georgia Power customers have been paying extra for this plant for something like a decade. Rate payers absorbed much of the risk instead of investors in the company. This was pushed as a way to save on financing costs by getting the money from customers upfront but saving them more long term with lower rates. But it appears the customers, despite prepaying for the plant, aren't going to see those savings. The investors however were insulated from much of the cost overruns.
There is also Pisound for low-latency guitar effect processor which is a hat for the Raspberry Pi. https://blokas.io/pisound/

The UI, MODEP, is based on the Mod Devices work on their open source pedal (Originally Mod Duo) > https://mod.audio/.
that price difference is being externalized somehow, so, if it's possible (and of course it's not for everyone) it's best to just pay the higher price imo. it's better for society and the neighborhood
File editing and pull requests on GitHub Mobile
Reminds me of the time I coded up an optimized nearest neighbor search in SQL.
5 pages fits in the context window. How exactly do you plan on expanding the limit? Without explanation we have to assume you haven't completely solved your core technical challenges.

In my testing the biggest challenges with using for example OpenAI embeddings with cosine similarity or something are A) figuring out the section breaks or right chunk size so that information stays in context and B) retrieving enough chunks to get the correct hit for a query without having too much extraneous information that confuses it.

I think that it's hard to make a parser that most optimally slices up arbitrary documents.

Since you have some larger documents preloaded I assume for those you have the embeddings search. But for user uploads you are skipping that now and just feeding all of the text extracted from the PDF into the prompt along with the query.
Pipedal realtime guitar effects for Raspberry Pi
Low-latency guitar effects pedal controllable from your phone or tablet via Wi-Fi Direct.
Super excited about this Multi-Active Multi-Master Distributed PostgreSQL.
Could this be rewritten as “YouTube recognized that making ads so annoying that YouTube was unusable without an ad blocker made people install ad blockers, thus making even the unobtrusive ads go away”?
Yeah. No one ever went wrong with hosting in US-east-1. Oh wait.
Not available in Belgium or Vietnam for exactly that reason.
The ones that are fast are implemented in something other than Python. Most of them C, some Rust, but all native code. Python itself is just too slow to be useful in many scenarios.
The linked article has your answer
QRExfiltrate – convert any binary file into a QRcode GIF
IME it MUST be under 10ms
Well the irony is that our french government is precisely relying on one cherry picked scenario of this organization to justify it's reform...

So it's why polls quite unanimously report that 70% of the population is opposed of this reform on a quite developer friendly axiom : "When it ain't broken don't try fix it!"

Bonus fun fact 1 : Even with the cherry picked scenario of our gov the system might be in slight imbalance starting 2027 while it's currently balanced. To put this in perspective 10 years ago the same organisation predicted a great imbalance for today.

Bonus fun fact 2 : The 70% rejection poll is an average. One of the only group that is less rejecting the reform consist of already retired people. There is a growing resentment against baby boomers in the xyz generation.
This is why I love Apple Arcade. No ads, no in app purchases, and plenty of classic and big name games too. They aren’t all good, but there’s plenty there to make it worth it.
While many people do job-hopping because they might get more money etc., others value stability, short commute, a project they like, their colleagues and more money is not as enticing. Even others found a cushy job they don't want to lose - many reasons to stay.
Oh I’m not downplaying them, if they were small in number and minor then I’m sure CPython would’ve happily dumped the GIL already.
The rust undefined behaviour rules are stricter than C: mutating a non mutable reference is UB, for example. Non mutable references don't exist in C.
If I'm reading correctly, this also removes one of the 20 potential issues with clamshell mode. Unfortunatley there are still plenty of other issues with clamshell mode :/
RustPython still uses the GIL. The GIL is not a consequence of technical limitations in the language used for the interpreter, meaning you could also remove the GIL in CPython. But it’s a design decision that makes many things in the interpreter and the code simpler.
Hey! This is a great point. So we delete the documents within 24 hours of upload, and have a limitation to 5 pages to cut our own costs as this is just a concept.
Can they not just let the old RSU was expire and provide new grants with an equivalent number of shares?

That prevent the tax on exercising non liquid shares.

Similarly, why not just offer to buy the stock back at current valuation and leave it up to the employees to settled any taxes
I'm not a pro at this at all, I've only done amateur small-scale cabling jobs.

If I understand correctly, the arguments against zip ties are that 1) it's easy to overtighten them, which can lead to damage to network cables 2) they're obviously irreversible so less flexibility in the future?

Am I overthinking this? There must be standard cable management practices (that are either pro/against zip ties)... can anyone recommend a guide?

---

For what it's worth, found this:

https://electrical-engineering-portal.com/res2/Best-practice...

Use cable ties to hold a group of cables together or to fasten cables to other components. Choose Velcro-based cable ties versus zip ties, as there is a tendency for users to over-tighten zip ties. Over-tightening can crush the cables and impact performance.
3 key things to cover the widest range of job.

a) write a api service in language of your choice with a complex enough backend (like being able to store and pull data from database, call other apis)

b) be able to deploy that service in AWS on some infra (EC2/ECS/Lambda) and understand what each one is and benefits/drawbacks

c) have some semblance of being able to set up a deployment pipeline with integration tests, e.t.c

For language choice, future is going to move more and more towards Python. Release 3.11 made great strides towards optimization for speed, and the future holds promise as ML is going to get applied to optimize the code even further and bring it closer to native performance. Its also the language to use for hiring interviews as its much faster and easier to write code in.

For web dev, you need to be able to create a full featured front end for a web app, with things like tests to ensure functionality, with modern frameworks like Vue or React.

Dart and Flutter knowledge and experience is going to be plus going forward.
> If "Query" in "SQL" means it's for querying data, then evidently "Query" not being in say Java or Python means those languages are NOT meant for querying data

If X then Y does not imply if not X then not Y. Java and Python do not indicate a purpose in their name because they are general-purpose.
I don't play a lot of games, probably so few that even spending on this is a "waste", but this is why I subscribe to Apple Arcade. IAPs and upsells are completely banned and each game in that separate market is included. (I would even consider paying a bit extra to get games through there, treating Apple Arcade like a Costco membership.)

There are some games in there, like the Star Trek one, that are clearly IAP-infested outside of Apple Arcade. You can see the inflection points and the spots where you'd be prompted to "buy" more "transporter power" or whatever. But like watching an American TV show on British TV, where the action fades to black (for a commercial) then comes right back, these are both jarring and interesting. The game would be perfectly playable, and arguably more interesting, without these points but the developers wouldn't be able to hook their whales so they exist elsewhere.
Being conversant in modern DevOps tools and having some Python experience was enough to get me to interviews last time I was on the job market. AWS skills would probably rank next, followed by "general Linux sysadmin" - this last area is where I notice the biggest gaps, particularly in colleagues who have spent their whole careers working in ML and rely too much on notebooks set up by someone else.
I think that some small modular reactors will get built. Whether more SMRs get built after the initial test deployments will depend on their own achieved cost/schedule numbers.

The Georgia reactors can't compete on price with solar projects backed by 4-8 hours of battery storage at current prices. However, the project started developing in 2010:

https://www.greencarcongress.com/2010/02/vogtle-20100217.htm...

At then-current prices for solar and especially battery storage, Vogtle 3 & 4 were economically rational decarbonization projects. Or at least they would have been if they had actually met their initially announced schedule and cost numbers.

The unpredictability of scheduling/budgeting for nuclear power projects is IMO their most unattractive characteristic. In 2010 costs for solar farms were much higher, but they were at least predictable. If a project developer said that a solar farm would be generating by November 2010, it would be generating by November 2010. The predictability enabled projects to gradually increase in size and number with high confidence that none of them would snowball into a financial catastrophe like Vogtle did. Iterative development with predictable characteristics brought solar project costs down dramatically since 2010.
> It seems to consist solely of extremely online people who get a dopamine hit from both telling people they're doing things wrong and creating the most complex solutions possible.

I've observed that certain programming languages have a culture of complexity. I'm not sure why this is. I can only speculate its because these programmers are working on "boring" problems so they make busy work for themselves OR their beginners who think this is how "real programmers" work.

While I think calling them "idiots" is a bit strong, I think this quote from the late Terry A. Davis is worth remembering: “An idiot admires complexity, a genius admires simplicity [...] for an idiot anything the more complicated it is the more he will admire it, if you make something so clusterfucked he can't understand it he's gonna think you're a god cause you made it so complicated nobody can understand it.”
True, dictators are the norm for human rule. Every book and movie out there has already pinned down the future as being one of a single, corrupt, world-wide government run by a psycho.

Every now and then some group of people end up making a democracy, but most don't put as many power-checks up as the US did when it was created (3 different branches) so must only last about one generation.

America's time is coming to an end. Crowds just aren't able to combat propaganda and other tactics from focused groups.
Deprecated addresses still work, they just aren't removed from an interface until there are no more sockets using them.

(Hand waving a bit here with terminology don't shoot me)
> Elon doesn't want Starlink to be directly used on weapons to kill people

The starlink "star shield" program with the US DoD says otherwise. Every satellite company wants a piece of the DOD's many billions a year spent on geostationary and other services, launches.
Whenever one contacts me, it's usually by text spamming my private phone number that I didn't give them that's also on the do-not-call list, asking me to vote for them.
Another reason to produce DLC is that it keeps market attention on your existing game (thus diverting eyeballs from your competitors) without having to devote the resources required to develop a whole new game since most of the base is provided by the previously finished game.
What a ridiculous premise. Luckily someone else already replied far more eloquently than I would have:

Valor Bronson @BronsonValor
Replying to @the_transit_guy
A vehicle increases the distance you can travel, increases how much you can take with you, decreases the time to get there, and requires significantly less effort on the user's part to get there.

I see the point you're trying to make, I just can't agree with it.
> some of them might even be in government by now.

+1
On the device you do not want them to connect to automatically go to Bluetooth settings, find your AirPods, click on (i) and change "Connect to this iPhone" from "Automatically" to "When Last Connected to This iPhone".
Same, the is lies in the details. You basically need a good semantic search in front of GPT to feed it the best context given the question.
> This is another example of how the state gets its numbers wrong, promising something it can not deliver without bankrupting the country.

France pension system isn't close to bankruptcy. It needs some adjustment but pushing retirement age isn't the only option. Also one thing to understand is that there are two criteria to get a full pension

1. work 43 years (this used to be 36.5 but has been increased 10 years ago), so we're not feeling this yet

2. be at least 62

The reform wants to push 62 to 64 in 2. The problem is that educated people will already retire after 64 because of the first constraint. So this reform targets explicitly those who started to work younger, and who are also those with lower life expectancy and with the hardest job. This is unfair. At the same time, France (as in French citizen) has never been as rich in history as it is now. There should be better wealth redistribution here. It's very apparent when you look at the numbers.

Another issue is employment. In practice, a lot of people struggle to find a job when they are 55+. These reforms will increase poverty in the country.

Last point. France isn't like the US were people are incentized to build equity for their retirement. The rule of the game here is that current employees pay for retirees and in exchange expect their pension to be taken care of when they are older. The rules are changing midway and people are upset about it.
Technically the way to fix that problem is to label cable with cable ID then track "which cable connects what" in IPAM.

But then having to look up each cable is a bit of PITA
It probably helps that I don’t travel much…
The trick for me is to get them from a grocery store with a huge selection. Among a hundred or so apples, there's usually 2 or 3 red ones. The flavor is amazing.
Problem is I like Apple Watch unlocking. But not randomly when I’m downstairs cooking dinner!
That may be the case if you're employee number 10, but if the company already has a high valuation you're in trouble
In the states, we now have them built into gas station pumps. So any time you get gas you have video ads blasting at you with some crappy loudspeaker.
IMO Zig isn't exactly a beauty either.
> Musk has proven again and again that he is simply a lying asshole. I honestly don't care how much he's worth or how successful he is. He treats everyone around him like shit, and I don't understand why anyone would idolize that.

Andrew Tate truly had (has!) a huge following among teen boys and adult men with a brand that was pretty much openly "psychopathic shitbag guru". Trump constantly told blatant lies and was widely known to be a scummy, lying businessman (he was a bi-partisan punch line for that exact reason for a solid two decades before his followers forgot that they used to laugh at what a pathetic, unethical, shitty joke of a human being he was! I literally remember Limbaugh cracking those kinds of jokes at his expense!), and had a cult-like following.

I don't get it either, but it's really common.
Nice, that is what I was looking for. Of course, it'd need to point to production data as well, so maybe test_case is null, in that case:

CREATE TABLE data_a AS (SELECT 'a' AS test_case, 1 AS value);
CREATE TABLE data_b AS (SELECT 'b' AS test_case, 2 AS value);
CREATE TABLE data_prod AS (SELECT NULL AS test_case, prod_table.value FROM prod_table);

CREATE VIEW data AS (SELECT * FROM data_a UNION ALL SELECT * FROM data_b UNION ALL SELECT * FROM data_prod);

CREATE VIEW complicated_query AS (SELECT test_case, value+1 FROM data);

-- when testing
SELECT * FROM complicated_query WHERE test_case = 'a';
SELECT * FROM complicated_query WHERE test_case = 'b';

-- when in 'production'
SELECT * FROM complicated_query WHERE test_case IS NULL;
I'm going to assume, based on when he said "As a slightly more serious and useful exercise" and then proceeds to remove each piece of the code that's intentionally there for performance and safety, that the whole post is satire?
Agreed. But Framework does seem to prove there is _some_ interest. Regardless. I find it strange that people flock to Apple products when Microsoft clearly embraces open source in more ways than Apple.
The main difference is that in the pension fund model, you (at least in theory) don't need the next generation to pay: you save now so you get money later.

In the more common model, you pay for the previous generation hoping that the next one will pay for you, and you need intergenerational agreement on what's a fair amount. You don't need that with the fund model, as you (usually) agree & know beforehand how much you'll pay and how much you'll get.

I'm fortunate to not be part of it, but I'm pretty sure German employees are looking at France where rents are higher and retirement age is lower and think "hey, you can do that?". I guess we'll see whether you can (though, fair enough, Germany is a special case, the reunification cost a lot of money).
> Games like Plants vs Zombies and Angry Birds used to just be skill based journeys...

And in the case of the original Angry Birds, Rovio even removed it from the app stores (and renamed it for past purchases to "Red's First Flight") because of the "game's impact" on their portfolio and business model.

https://twitter.com/Rovio/status/1627956351002443778
What severance? There is only 1 month of severance. People are on payroll for 2 months because of the WARN act and not because he’s generous. Every single tech company has months of severance on top of the WARN act.

But that’s what he’s said he’ll pay, but in reality he’s not even paying people what they’re owed. There’s already quite a few lawsuits on how he’s not paying things.

He’s not paying anyone last year’s bonus, he’s not paying people’s buyout payments for terminating early, he’s firing people instead of laying them off because he doesn’t have to py severance, he’s not honoring anything agreed upon in the acquisition agreement. Please be informed before you actually talk about this.
Do you mean the vec! macro?
Filmed interview with Georges Lemaître, 'father of the Big Bang,' rediscovered
I don't think the idea is "if you need these 6 simple functions, use lodash, not vanilla JS". If you only need 6 simple functions, then writing them in house makes sense.

But suppose you already have usecases for lodash's more complex functions. It can make sense to use a library like lodash to fill in those functions rather than utilizing your own. And if you already have lodash available, you may as well use it for simple functions, too, rather than write your own.
Writing correct ones is not.
Fascinating article. Loved this quote in particular:

> The truth is that this trade surplus is not really a choice: it is the outcome of decentralised decisions made by millions of economic actors and in the absence of an adequate mechanism for correction. To put it simply: there is no pilot in the plane, or at least the pilots available are not very accurate.
It predates Hergé. Bécassine did it two decades prior. It is so old that it will enter public domain next June (death of the artist + 70 years in France).
The 1 month of severance?
Its a "universal" VM from Oracle that supports many languages and other bells and whistles like AOT compilation of interpreted languages: https://www.graalvm.org/

But its Java support is most prominant, and the its runtime is significantly faster than OpenJDK.

Which is why its so promising for Python. I'd argue that OpenJDK is way ahead of the Pyton runtime, and GraalVM is way ahead of OpenJDK.

But its also kinda iffy because:

- Python support isn't very good now

- Oracle is Oracle. Hence they have the better optimizations walled off behind a "Enteprise Edition" registration and license.
> What's next, ads on banking apps

Whenever I have a transaction with my brokerage, Chase adds a note telling me how much better Chase's investment arm is than them in my transaction feed.
I can't read the whole article but are they planning to buy back some of the stock to cover the tax, or simply pay it as some kind of a perk.

Edit: after reading the archive link, it seems that the former case is the most likely.
Uber has always been kind of a head scratcher. Numbers vary but they do 20-30 million rides per day. Which sounds like a lot but is only 350 rides per second. It's kind of hard to figure out how you go from 350 customers/second to needing multiple data centers worth of servers.
Helm3 made it a solved problem years ago.
which chunk? source?
Right this is what I thought - a small number of popular ones, rather than an overall majority across pypi packages