skysight-inc/HackerNews huggingface dataset:
While I agree Congress is quite dysfunctional, the sheer difficulty with which to get a bill written, passed, and signed into law is by design. Legislation is supposed to take a large amount of deliberation, agreement, and time.

Also consider that this works both ways: If something is passed into law by Congress, it's going to take monumental effort to undo it just like getting it passed was. An example of this is Obamacare, where getting it passed was difficult and revoking it has been difficult.

Likewise, the flippant nature of orders authorized by the Executive Branch is also by design. Such orders are meant primarily to address short-term concerns requiring immediate or expedient attention, not long-term concerns that require thorough deliberation.
I love RDS, but it really does not save all that much time beyond initial setup that's trivially contracted out. A low retainer to someone who knows how to do this will be far cheaper than RDS. By all means use RDS when you can justify the cost - if it's a rounding error of your total cost base there's no point finding someone to do a proper setup. But it doesn't all that large or complex a setup before there are huge savings to make even at inflated contractor rates from having someone manage it for you. More so if you do it outside of AWS entirely, though.
it's not a double-dip. if a single service is behind load problems and causing general service degradation, I think it is fair to throttle that service.
It often comes down to what is considered "unreasonably dangerous"
To be fair, Bitcoin also failed as a cryptocurrency.
A Walmart is larger and requires far more resourcing than a Dollar General.
You're right, stumbled upon the wrong Nate.
> Maximizing individual freedom has been the most consistent producer of progress.

That's exactly what the goal is. It's not about making everything equal, it's about counter-acting societal pressures for men and women towards certain career paths and allowing people who show aptitude for certain fields to feel comfortable pursuing them.
They didn't "fold". The plan was to add generics for many years, they just didn't want to "add generics" to have a checkbox done.

They wanted to do it in a way that's useful and practical for the use-cases Go is best suited for.

(Still haven't needed generics in any of my Go projects)
No Abstractions: our API design principle
I am curious to know, what would be the various advantages of living in TN vs CA that you speak of? Have you lived in both these states for substantial periods?
It's called YOYOZO https://news.ycombinator.com/item?id=38372936
> Another reason for these kind of moves is to shed workforce without going through layoffs. People with higher salaries, mortgages, houses, family will choose to resign instead relocating to TN perhaps, while new college grads, with lower salaries might be more willing to move.

I hear stuff like that a lot. But that seems like the dumbest, most passive-aggressive move ever (though I'm not denying executives can be stupid). As many have noted, it's a great way to filter out your top performers and keep all the low performers.
Agencies are not beholden to Congress; they are beholden to the executive branch that creates them.

That is why Nixon created the EPA so that there would not be a Department of the Environment that was out of the hands of executive power.
> Maybe even worse is how news orgs like nyt or cnn or fox news have stolen their customer base from local news orgs.

These news orgs didn't kill the locals, or even "steal" their customer base. It was the death of classified ads and other ad revenue. Google and Facebook stole their customers, not the NYT.
This would break and complicate things. Make things incompatible. Look, we already have WhatsApp and it's still got spam. Granted, only message spam, but still. A new system might not solve the spam problem, but break and complicate a lot of things.
> When they realized they weren’t building the best SaaS version of their products, they didn’t try to improve their service

They went there several versions of their cloud products over the years, and pivoted a few times during that span
Something Awful is still alive and well.
gallons per hundred miles make much more sense than that.

incidentally, this is the measure rest of the world is advertising, except usually in liters per 100km.

there's a good reason for this: comparisons linear instead of inversely proportional. 6l/100km is 50% better than 9l/100km. 30mpg vs 20mpg is... not as simple.
Microsoft apologises over race-swap gaffe (2009)
Find a more discreet way to send unique bad information.

I think something where you say "whoops!" afterwards is a little obvious.

Is there no access log for the parent email list?
In theory, a small general type store serving a small community could make a lot of sense. In practice however, they tend to be fairly depressing to shop in because they're just barely maintained by the one employee who's harried to stock shelves and clean between ringing up customers.
I mean, most of these have been addressed. 1990 was a very long time ago.

> SQL permits duplicate rows in relations

Indeed.

One of the first things you learn is that, no matter what you're doing, all tables should have a primary key. It's simply too annoying otherwise. It's just as easy to make your own surrogate key in the case where there aren't enough natural identifiers, and anyone with any experience will do so. It's almost entirely a beginner trap.

That said, I've seen so many applications get a simple many-to-many relation wrong for representing tags or categories on an object that I do understand where Codd's complaint is coming from.

> it supports an inadequately defined kind of nesting of a query within a query;

Thanks to the efforts of ANSI and ISO, this is much improved. It should be noted that 1990 is before the introduction of the LEFT JOIN syntax in SQL-92. At this time, the only JOIN syntax was the ANSI-89 "comma" join, and if you wanted an outer join you had to rely on vendor extensions. This only took about 20 years to resolve.

The alternate IN syntax at the top of p382, for example, is now valid syntax in PostgreSQL and other RDBMSs. Further, the EXISTS operator allows this type of query to occur.

> it does not adequately support three-valued logic, let alone four-valued logic.

Additional operators have improved three-valued logic quite a bit.

I'm not sure I've seen many systems that would require or benefit from four-valued logic. I'm not entirely sure what Codd is looking for here. I think he wants MAYBE for outer joins? I don't know. Indeed, most DB designs seem to go out of their way to ensure that unless you're dealing with outer joins that you're likely to only have two-valued logic. Three-valued logic is already too complicated for a lot of people.
Ask HN: What are your most useful system promtps for development?
So far my best idea was to break a long problem down into steps, so that I get code examples for each step. I am using LibreChat with gpt-4-0125-preview at the moment.

Here is my system prompt for "App Planner"

You are a very helpful code writing assistant. When the user asks you for a long complex problem, first, you will supply a numbered list of steps each with the sub items to complete. Then you will ask the user if they understand and the steps are satisfactory, if the user response positively, you will then supply the specific code for step one. Then you will ask the user if they are satisfied and understand. If the user responds positively, you will then go on to step two. Continue the process until the entire plan is complete.

Realizing that I could do this was a huge cognitive step in my understanding of how I can take advantage of LLMs for work, in areas that I do not understand at all. This is basically a hand-holder.

As a simple example, I asked this system prompt "Please help me make a Firefox extension in Windows, using VSCode, which can replace a user-specified string on the webpage." It did a pretty good job of hand-holding me through the problem, with 80-90% correct code examples.

How can I improve this? What are you using along these lines?
Asian American women are getting lung cancer despite never smoking
By giving your prompt (using "Fortran" instead of "Python") and then repeatedly pointing out the wrong output for
TOTAL = 7, MAX = 6

and then reminding ChatGPT4 that the list should be descending order, I got it to generate the following working Fortran code

module list_module
implicit none
contains

function get_list(total, max) result(res)
integer, intent(in) :: total, max
integer, allocatable :: res(:)
integer :: n, remaining, i, base_value

! Calculate the base value for each element and how many elements are needed
n = (total + max - 1) / max ! This ensures we use the maximum possible times max can fit
base_value = total / n
remaining = total - base_value * n

! Allocate and initialize the result array
allocate(res(n))
res = base_value

! Distribute the remainder starting from the last element, working backwards
do i = n, 1, -1
if (remaining > 0) then
res(i) = res(i) + 1
remaining = remaining - 1
endif
end do

! Reverse the array to ensure descending order
res = res(size(res):1:-1)

end function get_list

end module list_module

program test_get_list
use list_module
implicit none
integer, allocatable :: result(:)
integer :: total, max, i, j

! Define the test cases
integer, parameter :: test_cases(2, 8) = reshape([ &
7, 1, &
7, 2, &
7, 3, &
7, 4, &
7, 5, &
7, 6, &
7, 7, &
7, 8], [2, 8])

! Loop over each test case
do i = 1, size(test_cases, 2)
total = test_cases(1, i)
max = test_cases(2, i)
result = get_list(total, max)

! Print the result
write(*, '(A, I2, A, I2, A)', advance='no') "TOTAL = ", total, ", MAX = ", max, ", RESULT = ["
if (allocated(result)) then
write(*, '(I1, A)', advance='no') result(1), " "
do j = 2, size(result)
write(*, '(I1, A)', advance='no') result(j), " "
end do
endif
write(*, *) "]"
end do
end program test_get_list

with output

TOTAL = 7, MAX = 1, RESULT = [1 1 1 1 1 1 1 ]
TOTAL = 7, MAX = 2, RESULT = [2 2 2 1 ]
TOTAL = 7, MAX = 3, RESULT = [3 2 2 ]
TOTAL = 7, MAX = 4, RESULT = [4 3 ]
TOTAL = 7, MAX = 5, RESULT = [4 3 ]
TOTAL = 7, MAX = 6, RESULT = [4 3 ]
TOTAL = 7, MAX = 7, RESULT = [7 ]
TOTAL = 7, MAX = 8, RESULT = [7 ]
If you return a pointer from a function that points to a stack local variable, it'll be invalid. Generally this is easy ish to detect though.
If you spend any time in Portugal, one thing youll learn is that they are very proud of their past. No self-reflection whatsoever.

And I said they even though Im one of them because I hate the culture of the country. Foreigners arent any depper, of course. They go "ohhh lisbon is so beautiful" and that's as far as they go.
Jeez.

Can we please for once put some execs behind bars for such obvious fraud??
reddit keep insisting this is frontend error. lmao. smh
https://www.reddit.com/r/webdev/comments/1ccxbrm/reddit_went...
I once had a contract where they spent a decent chunk of money for me to get them running on AWS but set up in prep to do a zero downtime migration to Google, and then to Hetzner, in order to first milk AWS and Google credits... It worked well, but the savings from moving to Hetzner were so large they could've just set things up there from day one (they had massive egress relative to compute, and at the time the reduction in egress fees vs AWS alone was more than their total cost at Hetzner)
That may be an ungenerous reading. It depends on how you define "majority". There are certainly some aspects that appear to be democratically in the majority and constitutional, yet they still don't get passed.

I think what the OP was referring to was the case where lobbying impacts the alignment between representatives and their constituents.
Tip: Add vim hjkl bindings for prev/next up/down.
Yeah definitely find it useful! I actually got inspired and implemented the same functionality on Val Town for fun!

https://www.val.town/v/nbbaier/mdConvert
It's boring? It's like when an old person makes a joke they make every time you see them. It's utterly boring and devoid of joy.

Whenever I see this situation, there's the one person who is joyous, and the other one who is resentful. It makes more sense that the emotional energy is much more the function of the negativity of the resentful party, than it is any fault of the joyous one.
It is a double dip. The ISP customer already pays for that bandwidth and internet connection. Asking the customer to pay a second time or asking netflix to pay is clearly double dipping. Trying to call it something else is just silly!

>causing general service degradation

Customers using their internet service they pay for isn't causing service degradation. If the ISP oversold or lied about being able to provide the service they were selling that is another issue. The response to that shouldn't be charging more for a service customers already pay for.
Gallons per hundred miles would be more useful.

I guess it's a matter of approach. Europeans are traveling familiar, constant distances and worry about fuel cost. Americans just fill up their tank and worry how far they can go :)
Here's a very good youtube video on the subject of backside power delivery I watched a few days ago. https://youtu.be/hyZlQY2xmWQ?si=JuXtzRy0U0onEzoe
> It took me 3 attempts to learn the language and 5 years for Rust to feel productive - now it's my preferred language for side projects. Go took less than a day to pick up.

This is the bit people keep overlooking (maybe intentionally). Yes you, polyglot coder who knows 15 different programming languages and has 15 years of experience on the field can learn Rust in an afternoon and do a flawless solution on Advent of Code with it while learning.

But 99% of the people working in software (you know, all of the people outside FAANG and F500 companies) know exactly one language and have no interest in learning a new one, especially one that's really complex and full of fancy features they don't know what to do with.
There are other issues with Dollar General too. For one thing, profits don't stay in the local community as they would if you were shopping at a mom and pop. And, just like Walmart, they can easily undermine competition by lowering their prices temporarily.
I started with a Palm V, then a Zire 72, then finally a Treo 700p. Everything just worked and Graffiti was remarkably easy to use (its replacement wasn't). But ultimately, the Treo couldn't keep up with the iPhone and (later) Android. I bought the original Motorola Droid but was disappointed when OS updates stopped so early and went for an iPhone once 4G was available. Continuing innovation requires a lot of resources and there aren't many places where that's the case.
Sounds like an easy short for you then.
The entire European Union project is a direct result of the failure of colonialism - if we cannot be colonisers competing over far away resources then it makes sense that we should start playing nice together, without war, and present ourselves externally as a single, more powerful organism. Colonialism itself did not stop in 1945, not at all, in fact the very last European (or European/Asian) empire is on its last stretch trying to re-colonise Ukraine. Timothy Snyder explains it perfectly here: https://youtu.be/JVs2y-YeiFM?t=3682

EDIT: Given the replies below that I suggest reading my comment perhaps more than once. It seems some people are quick to jump onto some wrong conclusions after grep'ing two or three words from the paragraph I wrote :)
all expenses, in theory, incurred in connection with software development must now be amortized. Many technology and software companies will face significant increases in their taxable income because they are no longer allowed to deduct certain expenses

https://www.thomsonreuters.com/en-us/posts/tax-and-accountin...
I wish America would regulate food additives the way the EU does: "you can't sell this until it's proven to be safe," rather than "feel free to sell this until we can prove it's unsafe."

Of course, the emulsifiers mentioned are approved for sale in Europe, so it's not a panacea. But still, it would cut down the number of chemicals with unknown long-term effects in our food.
Yeah that's definitely why they moved /s
How to Delete a Service Worker
Building ChatGPT with a Prompt CMS
There's is hard evidence for both of these claims.

There is no evidence that AI will magically learn how to control the world's factories and turn us all into paperclips.
Paradox Interactive reporting $44M in Q1 revenue
Can anyone glean from this wall of text what documents Uncle Sam is going to expect me, a dirty and potentially smelly foreigner, to submit in order to keep my AWS account?
What's the point? Are you saying that not restraining Amazon's market manipulation is some sort of revenge for the fact that we also don't restrain Walmart's market manipulation? I remember some people celebrating that all of the big box book warehouses like Borders and Barnes & Noble were dying because of Amazon, because they had been allowed to kill local bookstores.

Bitterness can drive people into severe error when they lose sight of what they actually wanted in the first place. People end up cheering on the second step in the consolidation of markets as schadenfreude against the players in the initial step in the consolidation of markets. What we need is a government that is interested in maintaining competition.
We are not talking "interference", but an enemy actively looking for your signals and overpowering it with massive high powered RF.

Flying your drone around in a city is not the same as flying it against an opponent skilled in electronic warfare.
If you rent a VPS in supposedly privacy-conscious Germany they need photo id too :(

Luckily there's other cheap options in Europe like in France.
> To be fair Congress does some work. They have avoided 2 government shutdowns. They funded the war efforts in Ukraine, Israel, and Taiwan. They passed the infrastructure bill.

The euphemization in this subthread is a bit out of control. In fact these are 100% partisan issues. The "pro shutdown" and "anti aid/infrastructure" camps who had been blocking progress are uniformly sitting on one side of the aisle, and the progress you are celebrating happened when their party split under duress and aligned with the other side briefly.

That's not "congress" doing some work. That's a "pro work" and "anti work" partisan argument whose answer flips due to intra-GOP drama.
This is very helpful context on what works right now, thanks for sharing.
> while lying the local plebs straight in the face

Locals don’t pay the fee. This is aimed at the cruise ships, whose denizens tend to wander around and not purchase anything of significance.
If it's so relatively close

Relatively close is still frightfully far away.

why wouldn't it be observed optically hiding some known objects? Mostly stars.

It's angle subtended is still awfully teeny.
I don't get what you mean, actually. A lot of orgs upgrading simultaneously means that none of them have prior experience to look to. A staggered rollout of new software versions is often viewed as a less risky deployment method.
Very true. The medium changes a lot with email interviews (interviewer sends all / many questions at once, rather than a back & forth), and would explain a lot of the behavior. Doesn't excuse a lack of understanding of the person he's interviewing and the types of questions that would give him something to stand on.

I saw some instances of there being responses / references to previous answers inside the interviewer's questions, though, which led me to believe otherwise.
good to know. I knew it they are good with python in General but I had no idea they were good with go syntax.
AMD and Intel are high-margin rather than high-volume products.

AMD shipped 8M chips in Q4 of 2023 and Intel shipped 50M (not what the tech press would have you believe given how they rave about Zen). Even if we assume they shipped that many every quarter (Q4 is the high water mark), that's 32M chips for AMD and another 200M for Intel.

Apple sold 235M smartphones in 2023 and total smartphone sales were around 1.2B. Apple alone outsold Intel and AMD combined and Apple is shipping their high-end cores in every one of those devices. Put simply, AMD and Intel aren't the big boys anymore. Everything you say about AMD/Intel's economies of scale apply even more to the rest of the industry.

Why would a company make a risky expansion into the race-to-the-bottom Wintel market when the phone and server/AI markets are easier to penetrate and offer a great combination of massive economies of scale and super-high margins?

Qualcomm is only trying to enter the PC market because they are dominating the phone market and are looking to expand their business. RISC-V won't be entering until ARM has done the hard part of forcing more ISA flexibility onto devs.
When did you last travel on a UK domestic flight? You definitely need government issued ID.

You are suggesting that having to show any photographic ID is the same as having to show a passport. That's obviously silly.

No one has to prove that "they are entitled to not show a passport" by showing British or Irish ID. This is a fantasy.

On the boat everyone, British, Irish or other, has to show ID of some kind. No one has to show a passport. At the land border no one has to show anything.
I see controversy and a lot of dissent among Justices, but no decisions that explicitly declare a Constitutional right to anonymity.

And the modern Court explicitly declared that a Constitutional right to privacy does not exist, and one cannot have anonymity without privacy, so no.
Some unambiguous ones: cost of living, ability to buy a house (maybe less of an issue for executives), lower taxes (much bigger issue for executives).

Others that vary by person: political conservatism, smaller city, closer to everything besides the West Coast.
One of the options is that it's a primordial black hole, which leads to my favourite "actual size" caption on a diagram, page 5:

https://arxiv.org/pdf/1909.11090
You can add nginx to the list as well.
> I hear stuff like that a lot. But that seems like the dumbest, most passive-aggressive move ever (though I'm not denying executives can't be stupid). As many have noted, it's a great way to filter out your top performers and keep all the low performers.

Oh, I agree. At a high enough level, bean counters just see it as a cost line in a spreadsheet. "We'll either hire H1B workers or new college grads. Look how much money we saved!"
It's not meant to work.
Something to keep in mind is that Mac users are much more likely to pay for things than Linux or Windows users.
>> Source available from the beginning is ethical.

It's also mostly pointless. If someone wants to develop features for software they pay for I guess that's their choice.

>> I'm not sure what people want these companies to do.

Not rug-pull.
Supported by western democracies, USA and UK have always supported dictatorships while they are useful to them, economically and politically, and using the fear of communism they both supported both fascist regimes till the last minute.
Looks like the site is slowing down: This is the primary source: https://www.openwall.com/lists/oss-security/2024/03/29/4
> already paid

In some cases. In other cases, it hasn't even happened yet.

> Are you really confused about this?

I'm not at all confused.

The ISP spends $X to build and maintain infrastructure for Y Gbps internet.

Mobile carriers do the same.