skysight-inc/HackerNews huggingface dataset:
I had in mind a Data Structures and Algorithms text like what is used to teach comp sci courses with. But I'm not here to denigrate the credibility of Geeks for Geeks. If we're going to cite arbitrary web sites as sources, let's refer to Wikipedia's definition:

"""
An optimization technique used primarily to speed up computer programs by storing the results of expensive function calls to pure functions and returning the cached result when the same inputs occur again.
"""

In LCS you are not saving the result of calling a substring method for (str1, str2, i, j) or any similar recursive method. You're keeping a constant-sized association of index pairs and their accumulated score.

If we're getting technical, I would say that what LCS uses is referred to as tabulation.
Same in Europe.

I've worked at 2 companies now that have been eaten by bigger ones and pretty much instantly moved to lower income countries. Both in manufacturing, one in aerospace.
> My local eye doctor was bought out by a PE firm.

All new equipment and better service is great for you. There are serious disadvantages for your eye doctor though: he no longer enjoys the autonomy and freedom of his own medical practice. Lack of autonomy is a major cause of insatisfaction in medicine. Hopefully he got some fat stacks of cash to compensate for that. As a society though, nothing compensates for the fact we're approaching the fabled "you'll own nothing" future.
> Low-tech or traditional methods don’t mean they’re inherently better for the climate or environment though

How is this in contradiction with what I'm saying? To quote my own post:

> Low-Tech Magazine's niche is low tech self-sufficiency

Neither I nor the writer of TFA think the venn diagram of low-tech self-sufficiency and environmentalism is a perfect circle, and that should be pretty obvious.

> it’s also not a good thing to encourage even in a hobby sense

That's not what TFA is doing. Do you really think there's going to be any consequential amount of people taking this up after reading the article? Maybe a few hackers will think it's fun, but the article spends a lot of time emphasizing how undesirable this idea is in practice.
the problems i have with calibre are

1- i can't store my files in my own organizational structure

2- it doesn't tell you if an import for a particular file succeeded or not. sucks when trying to import hundreds of files.
Build your SaaS in a weekend for only $197
Yeah, the title might sound like a scam or some BS I get it hahaha but hear me out

My team and I just launched https://saasboilerplate.co/, and it's essentially a boilerplate, but like a lot more than just another boilerplate, It includes a Next.js website with Auth, Supabase, Stripe and everything you need to build out an MVP and a lot more than just that, It includes a Brand Book, Ad Designs, Social Media Posts, Pitch Deck, ProductHunt Posts, Email Campaign Designs etc.

And it's honestly a steal we're doing a launch month discount from $397 down to $197 so get the deal while it's still available
Why the Magic?
If you're able to boil water then that opens up a lot of possibilities. Pasta, rice, and potatoes are all options there. Throw in some canned meat/veggies/beans, oils, spices, whatever you got.
Oh, you'll like this one then. Until 3 months ago GitHub's Runner images was pulling a package directly from Aliyun's CDN. This was executed during image testing (version check). So anyone with the ability to modify Aliyun's CDN in China could have carried out a pretty nasty attack. https://github.com/actions/runner-images/commit/6a9890362738...

Now it's just anyone with write access to Aliyun's repository. :) (p.s. GitHub doesn't consider this a security issue).
U.F.O.s Remain a Mystery to Lawmakers After Classified Briefing
You haven't thought about how bizarre this would be. All growth and declines would have to be organic, so rather than the obvious winner just buying the market loser and cutting 20% of staff, the loser would bleed-out over years. Companies also couldn't sell divisions they're not interested in, so rather than finding someone who cares, they'd have to go through the motions to not lose money while letting it slowly die. It'd be a lot of zombie companies.
Even if the lava doesn't destroy too many buildings, can the town survive the dual shocks of the ground under all the rest of the buildings being unstable, and uncertainty about whether any further investment in the town will be obliterated by a future eruption? The long term looks bleak to me.
Slate has an article discussing this with a physicist,
who calculated that the phone would reach terminal velocity of 60 mph (96 km/h) at just over 300 feet (100 meters).
You can check this out https://www.sqlai.ai. It has AI-powered generators for:

- Generate SQL

- Generate optimized SQL

- Fix query

- Optimize query

- Explain query

Disclaimer: I am the solo developer behind it.
Naming is hard, and I already have to implement file management :P

Just kidding. The reason is that I started the project mostly because I wanted a file manager with proper Material Design, and it's very unlikely that I (or AOSP) adopt a completely different design system.
Not intended as so (and anyway I am not a likely donor). I was just surprised that they didn't waste a moment and got right down to it.
I’ve recently read that the idea that pre moderns drank alcohol as an alternative to contaminated water is a myth. See https://www.reddit.com/r/AskHistorians/comments/ol1h45/comme...
That was my conclusion as teen too. I went to in-state to a Big-10 school with one of the automatic merit scholarships based on ACT/SAT scores. Still got a great job out of college and moved out west to work at a FAANG (they recruited at my university). Pretty much a top outcome money wise I would've gotten at MIT (where I did get in).
Hopper's early covers for the Morse Dry Dock Dial are great: https://digital.hagley.org/drydock
The same way as getting out of the house during a pandemic was similar to "killing people" for a big chunk of the educated Western electorate.

You can see how that viewpoint might be received in a lot of places nowadays, especially blue-collar places that rely on that type of work to still be available and not farmed out to some AI bots that will manage to also kill some of us in the process (but in smaller numbers compared to what our fellow humans would have registered, that's a relief).
We offer some additional modules (https://docs.ext.store/) that allow you to leverage desktop features (like customizing the window design, etc.), that aren't currently available in browsers.
My wireless headphones get an unbearable amount of pops and cracks when I'm wearing them close to my (running) microwave. But since I wear them virtually always, I am in effect virtually never next to my microwave when it's on :)
Reverse idea:

Use this to POPULATE sql based on captured NLP "surveillance" -- for example, build a DB of things I say as my thing listens to me, and categorize things, topics, place, people etc mentioned.

Keep count of experiencing the same things....

When I say I need to "buy thing" build table of frequency for "buy thing" etc...

Effectively - query anything you've said to Alexa and be able to map behaviors/habits/people/things...

If I say - Bob's phone number is BLAH. It add's bob+# to my "random people I met today table" with a note of "we met at the dog park"

Narrate yourself into something journaled.

Makes it easy to name a trip "Hike Mount Tam" then log all that - then have it create a link in the table to the pics folder on your SpaceDrive9000.ai and then you have a full narration with links to the pics that you take.
Hopefully it doesn't come to this. Something I really like about the airline industry is it doesn't compete on safety.
i don't know if this is a local or global thing, but all(?) certified pi resellers here in Germany (that is: the resellers linked to directly from the pi site) have limited pi device orders to one per household since at least 18 months.
Early version of Sciter was HTMLayout engine where I put my email in dll resources.

That was terrible idea. I did not realize how creative users are to get that email from resources.

HTMLayout was especially popular among shareware INDIE authors - HTML/CSS was easy to create cool looking UI.

So I started to receive tons of emails like "your electronic enlarger is a crap - she is still not satisfied". All such sort of things.
Absolutely. The real difficulty is tests on PR are by definition remote code execution by an untrusted source, so a full risk analysis and hardening needs to be done.

Here's a similar mistake on an OSS repo a company I worked for made: https://goteleport.com/blog/hack-via-pull-request/
The issue with braking distance and jackknifing could be resolved with smaller trucks. The 18 wheeler we know is optimal because it maximize the cubic volume driven by one person. If you don't need the human driver, two smaller trucks might be better than one.
but… dog years are _shorter_ than human years?
This isn't a vim vs emacs debate. We're talking about smalltalk and what do you know! emacs was made to resemble the big expensive lisp machines which were in turn made in the image of smalltalk but with lisp as the language of choice.

With this in mind, recommending emacs when someone states that they are interested in a system where the "code runs in a GUI that is also the editor/debugger/etc" does not seem out of place at all to me.

Pharo can also be recommended but its a lot more resource hungry and with a mouse centric workflow compared to emacs which is keyboard focused.
The Shark Query Language
Raspberry Pi stated in their launch blog post [1]:

"We're going to ringfence all of the Raspberry Pi 5s we sell until at least the end of the year for single-unit sales to individuals, so you get the first bite of the cherry."

If they were producing (conservatively) 50,000 units per week last year, that would put them at around 0.5 million units sold in single-unit quantities (10 weeks * 50k). Probably a bit more than that.

At this point, I'm not sure of the breakdown, but from what Eben said in the interview (and I have no reason to believe he's lying), they should be able to continue sending out new stock to all suppliers continuously (unlike with Pi 4, where it was sometimes months between shipments to many vendors).
Can't wait for the followup, Knowledgebase Investigations in which he realizes that he has derived no use from his knowledgebase. Water!
Dont know but found this while looking up Hyde s table, its interesting
https://www.visualcapitalist.com/wp-content/uploads/2023/08/...
Hm.. got some sound issues (stuttering) but so far it works like a charm!
That’s the most secure method
> And I'd like to be able to create applications that run without shipping the entire Smalltalk VM.

There's always a javascript vm... https://squeak.js.org/
> No, the electric grid is not constantly adding power capacity.

My strongest interpretation of this was you were saying that no capacity was being added. Any other interpretation doesn’t make sense. Everyone already knows that grids don’t have new capacity added on a constant basis, so nobody would say it. Even if it went through a growth phase, that would stop at some point for any number of reasons.

I’ve done some calculations elsewhere in the thread that ( I think ) show that a 25% uptake of EVs in the UK all charged during the same 6 hour off-peak period would still not meet peak day demand. Even without those calculations I don’t see how you can claim a streets worth of EVs would cause havoc.
Or - hear me out here - we build a giant man made ditch. Maybe we call it something clever, like a canal?
Note that "Stone of Scone" is pronounced "Skoon". Unlike the food, which is pronounced "skon".
World of Warcraft is what started my interest in programming. I was 6 when it came out, and when private servers started popping up I became interested in how to make my own npcs, and that’s how I picked up Lua.

I still have a lot of posts on the forum for that stuff (MMOwned), and one of the people that helped me learn then still posts semi-actively.

Compiling my own private server core was how I learned about compiling things, SVN, and how to apply patches (there was a bug related to mage’s fireball, can’t remember what it was.)
I’m pretty sure once you cede that you’re willing to use the energy required to move a container ships worth of weight from one end of the canal to the other, the cheaper option would be to pump water to refill the locks. Water is easier to transport than ships, and while I don’t think the efficiency of the locks helps much in this context, there might be some clever optimizations… especially if you’re willing to run a ton of high pressure pipe.
Agreed, pumping sea water seems terrible, but it also seems like there'd be no reason to do that.

First, at either end of the system there's a chunk of river at sea-level-ish but flowing towards the sea, so the water up at the upstream end where the lower locks are is probably not salty at all. Second, if each lock had its own pumps, doing it in 3 short lifts rather than 1 big lift to the top, then even if the one or two closest to sea-level ended up somewhat brackish, there'd be a dilution effect going up hill, and there would still be fresh water entering the system from the lakes which would tend to flush it downward. I don't think Gatun is at risk.

But what would it cost?

Okay, bullshit math time. In mixed units just to annoy metric purists:

A quick search says each lock cycle is around 50 million gallons, or 153-acre-feet. It takes 3 steps to raise them 85 feet above sea level, in energy terms let's just model it as one big step. It takes almost exactly 1kWh of energy to raise one acre-foot of water by 1 foot, so 153 acre-feet raised by 85 feet is about 13MWh per cycle. Apparently the canal manages about 40 transits per day, which I'm interpreting as each lock cycles once, so that's 521MWh of energy being provided by the rain delivering the water to the upper lakes.

Let's say we want to double that to 80 cycles a day. Oh, also, pumps are only about 70% efficient, so we actually need to provide 745MWh of power. Divide that by 24 hours and we end up with a 31MW power plant.

That's..... tiny.

Nah. Let's do it with solar. Roughly 6 hours peak sun equivalent per day (data for bocas del toro), we need 124MW of panels. The lakes have plenty of storage so there's no need for batteries, just run the pumps only when the sun is shining. Utility-scale solar runs around $1/watt installed. Labor is cheaper in Panama but conditions may be more challenging, I don't have good estimates for either of those so I'll assume they cancel out. Hey, it's napkin math!

$124M for the panels, figure the pumps and plumbing aren't cheap either but even if that's 10x the cost, we're probably still in the single-digit billions.

If they've been charging ships to use the canal like Egypt charges for the Suez, they should have quite the rainy-day, er, not-rainy-enough-day, fund for such projects. Especially if they raise prices auction-style during times of high demand, and let the high bidder through.

That seems like a no-brainer. What am I missing?
Often suggested along this very route. Here is a 19th century depiction of a ship being pulled across the isthmus via rail:

https://en.wikipedia.org/wiki/Isthmus_of_Tehuantepec#Tehuant...
> Seeing the worst output of humanity non-stop can (and _will_) completely break you mentally if consumed at a sufficient amount, as we are at the end of the day humans.

At the end of the day, we evolved to endure much worse than sitting at a computer and watching stuff happen, and our ancestors have.

If anything, being too coddled and sheltered is a way to produce way more harm. Even being raped is more traumatic when you're socially trained to expect to be traumatized.
> 2024 - 20 years ago

Interestingly, if you interpret this as a math expression, the typo self corrects.
This works great when you have an excellent surgeon and surgeries that are unlikely to entail surprises (which seems to be how they are applying it).

This approach probably doesn't scale for surgeries that inherently have more contingencies. You really shouldn't be anesthetizing patients that might not be operated on if the previous patient in the queue has complications.
Only through davx apparently https://github.com/zhanghai/MaterialFiles/issues/191
I would rather spend my money on books from publishers who provide DRM‐free epubs, like Tor Books or No Starch Press.
https://www12.statcan.gc.ca/census-recensement/2016/as-sa/98...

It looks like most Albertans live in a place where they have access to a garage for their car.

I would imagine that many Albertans who live in an apartment also don't drive, or have access to a parkade.
Well, that's the thing. In computer science I could recommend very good books for any subject. In art I've had to go through a lot of resources and piece information bits from everywhere.

Basically what dharmon said, and checking some of the most recommended books, like any Loomis, Gurney's Color and Light, ... Instead of Marco Bucci who's very popular on Youtube nowadays I got started with Feng Zhu, so definitely look out for different formats that would suit you best.
On truckers dying on the job: you'd probably agree that there's arrangements that could save more truckers' lives but are not applied because of cost and lack of social pressure. For instance driver fatigue is said to be the primary cause of death among trucker, and that's obviously an issue we could throw money at to at least alleviate (but it wouldn't always be cheaper, that's the point)

And to your point, yes, that same logic would aplly to a ton of high risk occupations. There's building construction techniques that cost more but have less risk, but we won't apply them where there's no pressure to do so.

Are we letting them die then ? I don't see the hyperbole in saying yes, as a society we're not willing to put the money to reduce these deaths. I see it as a part of life, and don't think we'll change much even as autonomous vehicle come (if they kill 1 in 10000 people but cost way less than now, we'll swallow the pill collectively)
400 comments at https://news.ycombinator.com/item?id=38963678
I'm not comparing it to standing at a gas pump. I'm talking about this statement on the CDC site you linked:

"There is not enough information available to determine if gasoline causes birth defects or affects reproduction"

Borderline criminal.
I think you have a point. I also think people who share this mindset and keep sticking with it will have a tough future.

The technical benefits and potentials clearly outshine the problems and challenges. That's also true in this example. You just have to let go of some principles that were helpful in the past but aren't anymore.
Do roads have to go more places? Are they dramatically cheaper and easier to make and cheaper to maintain than train tracks? Or do we just already have a bunch of them?

Mind you I'm not taking about last-mile dirt road up a mountain to one family, but the massive arteries with enormous throughput that constitute the vast majority of lbs/mile of shipping.
Are you open to being a cofounder? =]
I'm always amazed at how many capacity niches gets filled between different models and variants.
Perpetually, no. But for my family, with both machines ruining, we still have 4 hours of washing (5 loads each).

These machines would double that amount of time, because I couldn't run the dryer at the same time. That's what I'm saying.
> I think they are called colloquialisms

Close, they are called "idioms".

> +|x

The plus should be an asterisk, but yes, that is an idiom the ngn/k interpreter recognizes.
Mainly because it is recommended [1] to have only one h1 on a page. And my pages sometimes contain multiple articles.

It feels natural to me to have h1 be the site name. And have h2 be the content title. And it happens to work well when multiple unrelated articles or other kinds of content are on the page because then I use h2 for each of those.

[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/He...
> foreigner offers 2-Nx

or they realise they can make a killing on short term lets / AirBnb. A Portuguese acquaintance of mine proudly related how her family was converting her deceased grandmother's place into 2 (two!) AirBnBs - they'd even found a little old lady down the road to do the cleaning.

The Portuguese are lovely but they can be completely oblivious to the world around them sometimes.
> I really want to test this thing out before I have to use it in a crisis.

Definitely do, you can just have a no electricity/running water day at home or go camping to test if what you have is going to work or not. The worst thing would be to actually need your cooking gear and notice you're missing something silly like a lighter to turn it on.
We did something similar for our reporting service which is based duckdb. Overall it works great, though we've ran into a few things:

* Even with low temperature, GPT-4 sometimes deviates from examples or schema. For example, sometimes it forgets to check one or another field...

* Our service hosts generic data, but customers ask to generate reports using their domain language (give me top 10 colors... what's a color?). So we need to teach customers to nudge the report generator a bit towards generic terms

* Debugging LLM prompts is just tricky... Customers can confuse the model pretty easily. We ended up exposing the "explained" generated query back to give some visibility of what's been used for the report
Valid. Your point is valid.
People playing the lottery love having a chance (in a billion) to escaping poverty. They buy hope.
"We should continue to keep our borders unchecked. Source? It was revealed to me in a psychedelic dream."

You should run for office with that platform and see how far it carries you.
I think you are an audiophile, in the same way I am - you're enthusiastic about audio. I don't like the term only referring to those that pursue the foolish end of high-end audio. I love buying budget audiophile gear and trying to get a nice, clean sound out of equipment. On my desk now I have a couple of dongle DACs, a Topping DAC/amp, some cheap Micca speakers and a bunch of headphones, ranging from budget Sennheisers up to my most expensive purchase ever - a pair of Focal Clear headphones, which I bought on sale with a further discount due to a damaged box. :-)
This one is funny: https://github.com/bagder/emails/blob/main/2016/2016-01-19.m...

> ... I came across this information using my Spotify which has also been hacked into and would love your help hacking out of Spotify. Also, I have yet to figure out
how to unhack the hackers from my Instagram ...
As a Canadian I agree. I lived in a popular area a few hours from Vancouver for 20 years, we had power outages all the time, this year there was 2 in a row that lasted long enough that everything in my freezer went bad. This area is also on boil water advisory 5-8 months a year. We also have plenty of native reservations with undrinkable water. None of that feels 1st world to me.
There is no “reason” for the car to coast either. I love single pedal driving, it is one of the best parts of electric and hybrid vehicles.

My only problem with it is a few manufacturers have done a bad job with the amount of jerk from the transition.

He is also wrong that the brake lights don’t come on, the ones I have driven definitely do.
Cisco ISE thinks all iPhones are FreeBSD.