skysight-inc/HackerNews huggingface dataset:
The point of the article though is not about the technical details, it's a human interest story. It's about a guy, working in obscurity on an unrelated topic, stumbling upon what is arguably the biggest story in tech so far in 2024. I still don't see how this shows "low standards" as I don't see any factual errors in the article.

As a technical person, I did not feel patronized by the article. My non-technical wife forwarded it to me, and she also did not feel patronized by the article. If he said "you're too stupid to understand", then, yeah, that'd be patronizing.

I'll just conclude this way- when I used to sit in IDA Pro all day reverse engineering malware, I didn't expect to carry on a conversation with a perfect stranger talking at length about the intricacies of static and dynamic analysis. I have myself made similar comments about how my job involves staring at thousands of lines of assembly code and that would probably be mindnumbingly boring for them. We both have a laugh. Sometimes they do have an interest, and I can make it sound really interesting by focusing on the outcomes of the work rather than the toil and frankly mindnumbing grind; but other times, they say, yea, that sounds crazy, and we move on.

Nobody ever felt insulted- it's as they say "different strokes for different folks." I have had folks in other fields say similar things to me about how I would find the details of their work boring. A lot of times I am intrigued and hold a conversation to learn more, other times I agree and move on. At no point am I offended or feel patronized, though, because I am confident that if I truly cared I could learn more myself or ask questions.
Hi Peter, I've been curious regarding what sort of legal arrangements a certain family of content providers setup in order to display large sections of third party published materials.

Some examples

* Lexis Nexis news archives https://www.lexisnexis.com/en-gb/products/research-insights/...

* https://books.google.com/

* https://www.perlego.com/

Google books has restrictions to display a fraction of many texts but they obviously reproduced entire texts to filter upon. I'm curious if there are commentary apps out there that take whole literature and overlay new layers atop it and have published reproductions of their own somewhere in their infrastructure.

I'd like to know how websites like the above are made possible with most published stuff gated with permissions going like
"""All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher""".

Thank you.
My dryer (I live in Canada) has a 240V plug with a heavy-duty cable, no exposed wires. My dishwasher is wired directly into the mains (I installed it myself) but neither the laundry washer nor the dryer are hard-wired.
It's a political problem, but it's not clear that it's an actual economic problem. Immigrants are easy to demonize, so absent anything else political provocateurs tend to default back to complaining about immigration. Real life studies show that immigration is a net positive for the economy.
>> but at the last one your girlfriend dumped you

"I've recognized you removed all future calendar events related to {girlfriend} and your recent text messages concerning her had a negative sentiment. Did you break up?"

Not the world I'd want to live in... but for people less concerned about their data, I can't say it wouldn't be useful!
We seem to be using different definitions of stub and fake. What you call a stub is generally known as a Fake.

https://stackoverflow.com/questions/3459287/whats-the-differ...

Stubs do not react based on their input parameters. However, even fakes have the issue of fault injection.

I don't want to just test valid inputs. I want to make sure I pass the correct inputs for the request parameters through to the dependencies. If pass 100.00 in the request but in my impl I pass 0.00 to the stub. The test will pass because the input is valid. But the implementation is not correct.

Also, mockery is just an alternative mocking api. There is nothing special here.

How would you test the case where the quota update fails with a stub? Here is mockery example again generated with chatgpt.

func TestHandleTransaction_QuotaUpdateFails(t *testing.T) {
// Create the mock services
mockAuth := new(mocks.AuthService)
mockPayment := new(mocks.PaymentService)
mockStorage := new(mocks.StorageService)
mockQuota := new(mocks.QuotaService)
mockNotification := new(mocks.NotificationService)

// Setup expectations
mockAuth.On("Authenticate", mock.Anything).Return("12345", nil)
mockQuota.On("CheckQuota", "12345").Return(true, nil) // Quota check passes
mockQuota.On("UpdateQuota", "12345", mock.AnythingOfType("int64")).Return(errors.New("quota update failed")) // Quota update fails
// No need to mock payment and storage as they should not be called if quota update fails

// Create the server with mock services
server := &Server{
Auth: mockAuth,
Payment: mockPayment,
Storage: mockStorage,
Quota: mockQuota,
Notification: mockNotification,
}

// Create a test request
transaction := TransactionRequest{
UserID: "12345",
AuthToken: "valid-token",
ProductID: "product123",
Price: 100.0,
Currency: "USD",
File: []byte("file data"),
}
requestBody, _ := json.Marshal(transaction)
request := httptest.NewRequest(http.MethodPost, "/transaction", bytes.NewReader(requestBody))
responseRecorder := httptest.NewRecorder()

// Call the endpoint
server.HandleTransaction(responseRecorder, request)

// Check the results
assert.Equal(t, http.StatusInternalServerError, responseRecorder.Code)
response := TransactionResponse{}
json.NewDecoder(responseRecorder.Body).Decode(&response)
assert.Equal(t, "error", response.Status)
assert.Contains(t, response.Message, "quota update failed")

// Assert that all expectations were met
mockAuth.AssertExpectations(t)
mockQuota.AssertExpectations(t)
// Assert no calls to payment and storage
mockPayment.AssertNotCalled(t, "Charge", mock.AnythingOfType("float64"), mock.AnythingOfType("string"), mock.AnythingOfType("string"))
mockStorage.AssertNotCalled(t, "Upload", mock.AnythingOfType("[]uint8"), "bucket-name", "key-name")
// No notification should be sent
mockNotification.AssertNotCalled(t, "SendNotification", "12345", mock.AnythingOfType("string"))
}
More than the last redesign? YouTube is unusable these days. They need to fire their entire UI/UX team.
COP or CoP means co-efficient of performance. An electric heater has a CoP of 1. New heat pumps usually have a CoP of 4 or higher. My 11 year old heat pumps have a CoP of 3. This means they can produce 3 or 4 times as much heat as an electric heater, assuming the same amount of electricity, or produce the same amount of heat with 1/3 or 1/4 of the electricity.

At a CoP of 3, they are more efficient than electric heaters down to -15C. At a CoP of 4, down to -25C. There are better heat pumps coming with a CoP of 5.
CleanFiber wants to turn tons of cardboard boxes into insulation
Is the lack of LLM siri already because the on-device compute would totally kill battery life? And battery life is a sacred criteria that is unacceptable to regress on for mobile?
I think that’s incorrect. octopi have camouflage because of natural selection.

Incentives are things that humans create, intentionally or unintentionally. There are the selection pressure of the human cultural world but they are the opposite of natural. They are the things we can choose to change. By calling them out, we implicitly question if we should be changing them.

It can end up being a bit pseudo-intellectual on HN (say it ain’t so!), but there is a real rhetorical context in which it makes sense to talk about incentives.
Quiet quitting is a relatively new phenomenon. You’re statement only makes sense if you oversimplify
As a brit living in the US I also get tired being "corrected" on pronunciation or spelling too.

And I always find the "Internet Stereotype" british (or Bri'ish :) accent amusing - it's like an inconsistent mix of 3 different accents spoken by not that many people. It's like going Oh, you're American? "Hey! I'm walkin' ere! Fuggedaboutit! Get a cup of cawfee!".

Sure, there may be people that speak like that, but most don't.
Insulation is one of the cheapest improvements than can be done to improve energy efficiency of a structure. Once insulated, those energy efficiency gains persist for the life of the structure. Nothing lasts forever, but homes have a 100+ year service life.

https://www.whitehouse.gov/briefing-room/statements-releases... (control-F insulation)

https://www.energy.gov/energysaver/types-insulation

https://www.energystar.gov/saveathome/seal_insulate/methodol...
Exactly. The West dictated these same sourcing rules to their critical infrastructure providers years ago.
The problem with your plan is that it essentially grants the ability to determine which people get to immigrate to the admissions committee of private colleges.

If you propose that you have to defend it on policy grounds. I don’t like that idea at all, that decision is the function of a democratically elected government.
But you’re not buying kWh in this example. You’re buying home energy systems. They have many tradeoffs, pro and con. Besides that, for many people, a kWh produced by a renewable energy source or that’s available to them when the grid is down is worth more than one produced by a coal plant that might be unavailable during an outage.
This week's cover of The Economist: https://www.economist.com/the-world-this-week/2024/04/04/thi...

> This week we had one worldwide cover. China’s famously industrious workforce is shrinking, its property boom has ended and the system of free trade that helped it grow rich is disintegrating.

https://www.economist.com/leaders/2024/04/04/xi-jinpings-mis...
A constant hum from a neighbour's heating unit would drive me crazy. We have lots of terraced and very-close-together housing in the UK...

Low frequency noise can travel quite far (and through mass), so not even distance helps that much
The charitable interpretation I would give the NIST - and a very real concern - is that they are not sure that one form of cryptography doesn't weaken the other, without proofs. Since these cryptosystems also tend to work in different number fields, it's very hard to prove anything about their interactions at all.

We all know the uncharitable interpretation, that the PQC algorithms may be backdoored.
A visual proof that neural nets can compute any function (2015)
Can we force the evolution of nitrogen fixing organelles in plants like soybeans, which can already fix nitrogen through symbiosis, by knocking out a couple of genes in the nitrogen fixing bacteria to force it to become more reliant on its host?
The Future of NetBSD (2006)
Diversity, Equity, and Inclusion. Districts have placed individual responsibility to the teachers in many cases with a strong DEI push - even stronger than had existed pre-covid.
Literally every single accomplishment in human history was built upon millions of small "symbolic" individual actions. Good things don't just magically happen on their own.
In German medical terminology, the name for Burnout is "depression by exhaustion" (Erschöpfungsdepression), as it presents itself like any other form of depression
Which adhd meds do you have in mind ?
I believe this is essentially the goal of Mojo [0][1], at least for ML/AI development.

[0] https://www.modular.com/max/mojo

[1] https://news.ycombinator.com/item?id=35790367
I'm a full stack Microsoft tech stack web dev since the days of asp classic. It's cool that the tech industry is big enough for all of us. I am not sure what the ClickOps mentality is, but I'm pretty sure I have it. Peace.
I agree. From an outcome standpoint, the changes are for the worse. But some of them are understandable to the extent that in certain contexts USCIS is paying more attention to the letter of the law and not just accepting representations on face value but requiring evidence. From my standpoint, the biggest negative changes are the delays in the processing of green card applications (partly statutory and partly administrative) and the lack of access to USCIS officers.
Is not impossible. It’s not likely either.
"Read The Fucking Manual." It was a common phrase earlier in the tech ecosystem when someone would come in and ask simple questions that could be answered by reading the man pages, although it has fallen out of favor because it's perceived as overly aggressive/mean.
AI is very different from nuclear weapons because a state can't really use nuclear weapons to oppress its own people, but it absolutely can with AI, so for the average human "only the government controls AI" is much more dangerous than "only the government controls nukes".
> Funding in many schools isn't there now for specialists to do these roles.... because teachers wanted to earn more after inflation, so cuts made - more responsibilites to teachers.

This seems as though you're implying that it's the greedy teacher's fault that our school systems shove ever-increasing responsibilities upon them. As if the total pot of money in the system is a fixed, immovable sum, and so that if a teacher wants a raise it must mean that something elsewhere has to give.

Is there any shred of evidence to support that kind of thinking, though? We can quibble about salaries and outlier districts all day long if you want, but fundamentally it's not like teachers are the most highly-paid group of workers out there. And governments manage to find money to increase funding to other systems year after year (the police, for example).
Beliefs That Entertain
Yeah, that’s useful. But maybe it should be the default.
I hope not to sound like I'm blaming you, but do you actually use the features that are unique to Kagi? Over time my manually configured block/lower/raise/pin list has continuously grown, quickly leading to higher and higher quality search results. I also have integrated custom lenses and bangs into my workflow more and more over time. I often end up searching seemingly very generic things and getting exactly what I'm looking for in the first or second result. Maybe my results after the first couple are weird too, but it doesn't really matter to me because I don't actually get very deep into results most of the time.
I have noticed something similar in stockholm sweden where I live, in a shadowy corner of metro station you can find the remains of a phonebooth with a logo of the then national telecom company
Here's a downvote :)
I think the poster above was referring to the node size, to which China will not have access because TSMC & Samsung prefer to sell to the West.
Part of the problem is that heat pumps aren't really well suited to a use case where you frequently have to bring a house up to temp in the way you're describing. If you have a big overnight set-back and then the heating comes on in the morning, that will require much more heat output than constantly putting out enough heat to maintain temperature.

In a well insulated property, the greater efficiency from operating at low output temperatures outweighs the additional heat loss from no / a low overnight set-back. In a poorly insulated property, the optimum set-back is higher and the efficiency at that optimum point is also much lower because the heat pump has to operate at higher temperature in order to ramp up the temperature.

I don't know if they are available in North America, but in the UK we have hybrid systems available that use heat pumps for 80% of the annual heat load and gas for peaking / ramping. OpenTherm gas boilers can be retrofitted to be controlled in this way so you only add the heat pump. An air source heat pump driving a hydronic / radiator system in this climate can serve 80% of the annual load with a unit sized at 55% of peak heat load. Different climates will have slightly different numbers but it shows the power of a hybrid system as you save a lot on HP capex and also maintain redundancy.

The advantage of this system is that the failure-mode of an incorrectly sized system is an efficiency penalty rather than not being warm enough, the same as an incorrectly commissioned or sized gas system. (Most gas systems are not optimally sized or configured and are delivering 5% to 10% less efficiency than they could).

I don't know if these systems are available in ducted air configuration for the US market though.
> The service is not free

That may fix things on its own ;)

Now would I pay to see what other people 'engage' with? I'd probably associate it with the likes of facebook/twitter/other social networking crap and I'd just move along...
We already have marriage visas to solve problems like this. It happens all the time and has nothing to do with the H1B program.
Why?

Just like with AWS SaaS offerings:
All they need to do is have something basic, satisfying 80% customers, requiring little maintenance on their end.
Hi, that makes sense, thank you - I didnt realize that this was meant in terms of "we have to choose technologies that never ever have to have maintenance", that would have been a better way to put it. Thanks :)
It's just as far from SF as SFO.
Big Chinese carriers like China Mobile, China Telecom and China Unicom rely on networking gear from Cisco, Nokia, Ericcson etc alongside Huawei, just like European/US carriers do/used to. All those vendors are going to feel losing this market.

Personally, I think 3 years to change the hardware at the heart of your product is a huge ask. Although of course it depends on the quality of the replacement.
Someone is going to come by and look at your comment and raise an eyebrow.

The building trade and construction is filled with nerds, amazing products, cheats and snake oil... so just like tech but less VC'c.

https://en.wikipedia.org/wiki/Building_science building nerds are on point and doing all kinds of cool stuff. If you want the modern version of bob villa this old house is probably this: https://www.youtube.com/@buildshow . It will give you some clues as to what is going on in modern construction.
Is AI changing anything about immigration law work / do you see it doing so in future?
Hi Peter,

What do you think about high skilled immigration in general post-covid era. A lot has happened since then...Ukraine war, recession, major macro economic shifts...How do these affect the talent pool in US ? Would you share your experiences ?
Here are some similar efforts,
- https://www.thirukural.ai/
- https://www.kuralbot.org/
yes, now let's put all public government data on one of this so that we can all inspect the public institutions which we use to rule over ourselves and achieve the next level of real digital democracy: full institutional public transparency

...as if... now, let me spit out all this purple democratic kool aid
FHE is still only known from lattices, and has nothing to do with post-quantum computers.
The interesting part is: https://github.com/systemd/systemd/pull/32234
If the free clipart or stock photos were 8.3 megabytes for two images on the web that don't add any meaning to the page? Yes.
It’s not servitude they can quit any time and leave the country.
But classically secure FHE is still a useful thing (even if it is broken by hypothetical quantum computers).
You also can't easily copy the word "double-click" by just double-clicking on it.

Maybe the browser (and other) UI is wrong about word boundaries.
There are a lot these days. Doola (a YC Company) is one https://www.doola.com/
Grumble, I know, I don't like using containers when I don't need to, though. And I still think it's too bad that greenfield nix projects haven't thought about this more a-priori. Either by making the isolation a default, hidden foundation, or by creating the new module to be multi-instantiable.
... you’ve never used hot water to fill up, say, a pot of water for cooking?
The stated purpose of the H1B program is solving a problem that didn't exist. The problem was that highly skilled people exist, but they know what they were worth and demand living wages. That's the problem that the H1B program solves: how to get skilled people who the company has enough leverage over to prevent them from negotiating high wages.
You can’t quit and walk away from indentured servitude.
Billboards on inbound roads to major US tech hubs, beyond just SF/NYC targeting bedroom communities with families, seem worthwhile.

As does some sponsorship a la the VPN ads my kids see constantly in content heavy educational videos.
Individual/personal experience doesn’t generalize to all users.

It’s useful to be aware of the potential for certain effects and addiction, but this is not an inherent property that impacts all users equally.

May be better to frame this as: depending on your physiology, you may be predisposed to certain effects and/or resulting addiction. Similar things can be said about alcohol/cannabis. Physical or psychological addiction happens, but not all users are susceptible in the same ways.
In layman terms what does this enable?
There are two cover images on the page, for 8.3MB total. It's pretty wild.
That's a very interesting question but outside my area of expertise, unfortunately.
How can I do that in my comment here? Say I want the word "double-click" to be simply selectable, right in this sentence.

I'm grateful to be informed about select-all, though!
"pork" and "talk" sound basically nothing alike in most American accents, for two reasons:

1. The "r" in pork is pronounced in most American accents,

2. The vowel is not the same.
It's time for the West to wake up and stop nurturing authoritarian regimes.
>If you hold the opposite opinions, then it makes perfect sense to push the brakes as hard as possible, which is why "govern compute" can make sense as an idea.

The people pushing for "govern compute" are not pushing for "limit everyone's compute", they're pushing for "limit everyone's compute except us". Even if you believe there's going to be AGI, surely it's better to have distributed AGI than to have AGI only in the hands of the elites.
CDK is far better if you are only on AWS and need advanced cloud setups.
You can do this really easily today with cdktf, I'd imagine there's some interop with opentofu there that's possible?
Thanks, that's sounds very reasonable.

Unfortunately, it also sounds like there is not much push at this point to reverse these changes and streamline the process.
And most of those cities have alleys to store the trash bins.

It's a problem, but it's not such a big problem that anyone wants to actually solve it.
Fair. I was trying to make the point that they are already dedicating time to continuously tuning based on feedback on their forums.
So you would breed with her out of some enlightened eugenics reasons, then? No matter the potential personal cost to your offspring? How... noble?
No one will pay more for a house with a higher R-value. If this were a determining factor, it would be part of real estate listings. It's a secondary or even tertiary concern for most people.
You still absorb an astounding amount of chemicals through your skin.
You said "you can’t go smaller than the smallest initial value". If I have [5, 3] I can do [4, 1, 3], which you assert I can't.
Oh I do believe he thought that!

He had this style of portrait he liked to do of women and their distorted faces. It seems so surreal and imaginative, but in a way, it’s not at all. Picasso painted exactly what he saw in bed with these women. Close up he saw double images of their face from two angles, a bit grotesque if you think about it, but then sex is a bit grotesque as well;)

https://www.anothermag.com/art-photography/gallery/8122/pica...
And a T-shirt that works like a screen. Reminds me of a TV show I was impressed by as a kid

https://en.wikipedia.org/wiki/Shirt_Tales

that seemed to disappear without a trace.
People “freak out” for good reason.

People need to understand just how insidious the communist party’s methods are.