skysight-inc/HackerNews huggingface dataset:
More flexible f-string parsing sounds like a mistake. The basic use case is fine:

f"Hello, {name}, how are you?"

But putting entire expressions in there sounds like going too far. So now you can do this:

f" something { my_dict["key"] } something else "

But why not the simpler approach (this is simper to read for both humans and machines):

value = my_dict["key"]
f" something {value} something else "

Heck, even this monstrosity is allowed:

f"{f"{f"{f"{f"{f"{1+1}"}"}"}"}"}"

From TFA (emphasis mine):

> Expression components inside f-strings can now be any valid Python expression including backslashes, unicode escaped sequences, *multi-line expressions*, comments and strings reusing the same quote as the containing f-string.

Edit: I do appreciate that at least the parser will give out detailed error messages when something is wrong in a f-string.
Video calls have existed since before the Internet. They will continue to be a part of office life.
> I think the plan was to create a poor labor market so they could demand RTO.

I highly doubt anyone had that plan. A single company doesn't much influence the total labour market. Or do you suggest they cooperated in smoke filled backrooms?
Thought the same, but got banned from Hetzner twice and had no way to get to customer support to solve the issue. There's a reason why they are so cheap.
Can you even do that with currently unpatched vulns?
> You don’t want to deal with processing a raw http request from the web server. You don’t want to split headers. You don’t want to sanitize input params, deal with character encoding, content types, gzipping, cache control, etags, basic authentication, flushing headers, chunking bodies, file streaming, tcp sockets, slow client avoidance, and probably 1000 other things I can’t recall.

The Golang stdlib does all this for you, no framework needed :)

I honestly think Golang SSR with html templates + a sprinkling of Javascript to enhance is an extremely pragmatic way to go.

You build your entire service into a single binary (assets included with go:embed).

You shed the complexity of the framework AND the web server AND deployment in addition to React etc.
The problem with all these niche-usecase tools is discoverability. Maybe one day a LLM which knows all software tools will help this situation.
If they're ~identical construction and being mirrored so that they have the same write/read pattern history, it could trigger the same failure mode simultaneously.
Texas doesn't have a subarctic climate
What a strange agitation in your comment.

Melanin absorbtion spectrum is easy to search for and the data shows that its interaction with EM spectrum below UV and visible light (freq-wise) is basically zero.

Radio frequencies at “home” energies don’t interact with us, so you can take the tinfoil hat off ;). Things change when you stand right in front of an industrial microwave antenna, but only there and that has nothing to do with pigments.
> I checked out a lot of their top picks and a lot of them had like 2/5 ratings after a few years and it turns out a lot of their picks weren’t really reliable or weren’t that good once you used it a lot.

The other thing that happened more than few times is once the product got reviewed the producer would cut corners and start shipping a vastly inferior product since they knew they could coast on the WC recommendation and increase their profit margin even further. I'm sure some of the corner-cutting was due to increased sales (not necessarily malicious) but a lot of it seemed to come 100% from greed.
I believe you meant "Joy Silk" doctrine. But in any case, it is laughable. The penalties handed down from the NLRB for union busting are the equivalent of seconds of profit for most of these companies.
> there are cards issued by crypto exchanges that can auto-convert your crypto for fiat payments as well

The whole point of the article is that these are not universally available and that exchanges can and will shut you down. How does having a magic card that turns crypto in to fiat work if the exchange has banned you?
The mission is very impressive, regardless of nationality. Come on.
Your way of counting things will ensure you cannot solve this captcha I'm afraid.
Why is the video further down the page in German by default when I'm at "https://app.fyyn.io/en/welcome"

The copy is all in English, the video is in German.

Also changing the language is very clunky, the video shrinks and then resizes.

Also, maybe don't use flags for language?
Cash payments above €3000 to be outlawed in Netherlands
Link is broken, here is the correct link: https://www.technologyreview.com/2021/08/25/1031451/brain-sc...
The article is talking implementation complexity.

Say a client asks for features A, B, C, D which reach the bar of complexity where someone from HN has to get involved. Now two things can happen, and in both cases the same feature set is delivered:

1. All of those features are implemented as a server side web app, with little to no JS a simple CSS stylesheet, and each page is under 100K and loads almost instantly. There is also a simple caching strategy (but not necessarily an obvious one) that speeds the application up further, and allows it scale. The DB design is good, proper indexes have been added, the queries have been thoughtfully planned, etc.

2. The features are implemented as a SPA, and a large framework has been pulled in. Many UI components also pull in other large dependencies. A CSS framework has also been added even though only 1% of it is used, and no attempt to tree shake the CSS or JS has been made. The page size is over 3MB. No DB optimizations or caching has been added, etc.

Note this is far from a straw man. 2. is by far the most common approach, even among "professionals".
Great achievement! Space is incredibly hard as they say.
Hope ISRO continues with this momentum and achieves more success in its future missions!
It's not just that, but also nuclear use would get more probable with less warheads before it gets impossible because there are none. Imagine there are only three nuclear warheads in the world, is the chance of their use higher or lower than when there are thousands between adversaries?

Actually, you don't need to imagine.
Pre OSX Macs I found to be more unstable than Win95 osr2.
Apple really needed OSX!
The average HN user has some idea of what is simple and intuitive. This has very little to do with what the average non-technical web user thinks or feels.

I've made many decisions in my career that boiled down to: we're not going to do what the users want in this case because the complexity of maintaining that feature is not worth the value it provides. And many times, that's true. Sometimes, it's not true.

At Netflix, it's common for engineers, especially new engineers, to say, "Who even uses dubs? Just use subtitles." The answer turns out to be "at least 50% of people when watching content not in their native language."

There is a floor on app complexity that naturally results from trying to build something that many people want to use. HN User #82983 may not see the point in a web-based note taking app because he just puts all his notes in a `notes.json` file. But, that app has many users who love it, and the developer doesn't want to tell them to kick rocks just because it would corrupt their precious codebase.
If you missed those (or had parents who wouldn't let you watch it), those only aired once or twice.

But the made-for-rental movies you could get to watch over the weekend, there must have been a dozen of those. I still remember the one where the space station astronauts that crashland after, and the cannibals "rescue" them within minutes of touchdown.
This is drastically underestimating his contributions to these companies (not including Twitter).
When I was in my last semester of college and looking for jobs, I just needed to find something but it was so hard to get someone to an interview phase. I always had good luck once I at least got an interview but it was an odd job market at the time. I was desperate to find _something_ so that I could start paying my loans and then looking for something better if need be afterwards.

I ended up interviewing with a company that did contract work for software in government agencies, like DMVs. It sounded so depressing. Their technical screening was checking if a number is prime. I was familiar with checking all number up to the square root of the target number to see if they divided evenly from when I was a kid. Always knew it from some math or computer book.

After implementing that, I began to be investigated if I had done interview prep where I found this. I honestly told them that I hadn't but this back and forth went on for a few minutes of disbelief over something that shouldn't have been a big deal in the first place (considering how esoteric the problem they gave me was anyway).

Fast forward to the end of the interview, they ask me what my GPA was. I told them it was 2.98. They said that they couldn't accept anything below a 3. My GPA was going to get a massive bump at the end of the semester but they didn't care. A company that will flat refuse a candidate over two hundredths of a number (low because I didn't care of philosophy or other non CS classes) means they will be just as irrational during your employment.

I ended up finding a much better job with a much better culture the next week which lead me down what's been an excellent career so far. I'm terrified what would have happened if I ended up working there.
Stanislav Petrov, a little-known Russian whose decision averted a potential nuclear war [1].

[1] https://www.armscontrol.org/act/2017-10/news-briefs/man-save...
The number of lines needed is not a good measure for gnarliness.

(To be fair, I don't know if gnarliness is measurable at all.)
How small is small? We've had hundreds of above-ground nuclear tests over the years
Yes, that's exactly what I'm suggesting:

https://www.theguardian.com/technology/2014/apr/24/apple-goo...

I've seen multiple CEOs gleefully plan for RTO and talk about the weak labor market together, so I'm surprised anyone would doubt this is happening.
Somehow I constantly see rural fans bashing cities and city people for no reason in contexts unrelated to any of that ... while rarely the opposite. I do prefer to live in a city and would not want to live in rural place, yep, mostly due to proximity to things. Both pre and post covid.
Book Notes for System Design Interview by Alex Xu
I apprenticed with a biotech and robotics company
For comparison, the oldest surviving colour photo is a little more detailed, but the subject isn't quite as interesting: https://en.wikipedia.org/wiki/Color_photography
Hi, one man band here doing firmware at a small company. Could you elaborate on any particular skills, or tips for this sort of thing? Right now I'm trying to learn how to integrate unit tests into our newer/future projects, and setting up a Jenkins server for builds. I'm learning a lot, but it's difficult since I'm the only guy that understands firmware at my company, and these are fairly large projects to take on as a single person when there are other things I need to be managing.
I live in the city, 20 minute bus to office location. Love the city, urbanism, density.

I'm one of the ardent never-RTO crowd, leaving a 9 year tenure.
In Canada you are typically looking at approx 10-15k for drawings and to build the home you will spend anywhere from 400-Plus CAD per sq/meter depending on what kind of finish you want. This price is for a brick home, wooden frame, asphalt shingle roof. Nothing fancy. Typically drawings don't include any of the rough in like plumbing and electrical. That is designed on the fly by the contractor who does the work. House are typically built like shit since people only want to invest in the finish and don't care about the mechanical piece since it is out of sight and out of mind. If you can GC your own house, you can pick the contractors and supervise the construction and the quality of work will be better. If you hire a General Contractor, they will typically charge cost/plus 15% -20%. Most folks in Canada and the US buy houses that are built by large corporations where they have no control over the quality, etc. They just pick a model from the handful offered when there is a new development.There are few incentives or subsides. The US is very similar.
Why are you having trouble getting in touch with signed up users? Where are they coming from?
The recent japanese lander had something like this happen a while back. The altitude radar noticed a sudden 2km drop in ground-level, and the system assumed it was broken and stopped using that data.

Turns out it just flew over a cliff edge that actually does that. Completely by accident.
I (re)found a small brochure at work that contains the company mission statement with rationale from Scott McNealy. This was long time after Sun was acquired, however I found it interesting enough to retype it:

https://gist.github.com/vladak/c0abb6856d7902291f760be467b24...

I've never had the capacity to think deeply about what is within, however I do remember the days around 2007 or so when it seemed to me that there was not a week where some new exciting technology (software or hardware) was not being released. For me as a freshman this was impressive.
Build housing. Encourage up-sizing of existing developments.

You don’t even have to make the policy from scratch, you can just copy what Tokyo does.

(Tokyo has had completely flat housing pricing adjusted for inflation despite urban growth over the past few decades).
No, it wouldn't. Nuclear winter from a small-scale exchange was a simulation result many decades ago, to be disproven only a few years later by more advanced simulations and observation results from volcanoes, forest and oil fires. Larger exchanges will have a noticable effect, but how large is up for debate.

https://en.wikipedia.org/wiki/Nuclear_winter has a fairly detailed elaboration on the various points of view and their history.
That's not what my comment says. Personally I don't know how impressive or unimpressive the mission is since I am not interested in space exploration and I know almost nothing about it.
I think you're forgetting that this is a $30 Rasp. Pi battery solution that I'm talking about.

When your battery wears out, recycle the old Lead Acid battery and buy a new one. Its not that big of a deal. The battery I spec'd out is a 15lb battery (~7 kg). Heavier than LiFePo4 for sure, but no one is going to have issues moving, replacing, or buying new batteries.

--------

Anyway, I recognize that LiFePo4 is superior durability by a long shot. Thousands of cycles instead of hundreds, yes. My overall point however, is that "hundreds of cycles" is still years in this use case, and I don't think you've challenged the math too much from that perspective.

Obviously, I'd prefer to keep on the cheaper-side of Lead-Acid batteries. But the more expensive Trojan AES batteries or "Gel" batteries have far better durability (rather than the cheapest AGMs that I've been talking about)

I'm talking 1400 cycles at 100% DoD without any precharge or low-charge penalties for Trojan AES (though this is a very new battery only coming out this year). Trojan is working on making Lead Acid competitive vs Lithium Ion and have the cream-of-the-crop Lead Acid chemistries.

But even "Gel" (more expensive than AGMs) type Lead Acids have specifications for 100% DoD cycles, 300 to 500 depending on brand.

---------------

Anyway, this has gone on for many posts. But here's my arguments to finalize.

1. Float-charging "feature" for Lead Acid grossly simplifies circuit design. You possibly don't need a charge controller at all anymore (feasible design with just diodes), although if you want decent charge speeds you'll need to build your own charge controller. (though this seems doable with uCs and/or OpAmps to make CC-CV circuits).

2. Very low explosion risk, so this is appropriate for hobbyists (unlike Li-ion which even LiFePo4 have had some worrying fires). So DYI controllers for LiFePo4 is an issue of trusting the battery-controller and the brand you buy, details I don't have to worry about with Lead Acid.

3. Lead Acid has less durability, "hundreds" depending on brand (and yes, I'm talking about 100% DoD specs, not 50% specs like you wanna talk about). By my estimation, this provides years of service though this obviously depends on various assumptions.

4. Lead Acid's linear voltage is an advantage when determining DoD when building your own controllers (ex: 13V OCV means you're likely full, and 11.6V OCV means you're likely empty, and 12.3V means you're at 50%). LiFePo4 has "constant voltage", which is better for efficiency and power but it makes state-of-charge far more difficult to perform if you're building your own charge circuitry.

----------

LiFePo4 is a "superior" battery from a durability perspective. But no one seems to want to float-charge this thing for extended periods of time, and I certainly don't want to have an explosion risk while I test that out.

And "downsides" (like Lead Acid's linear voltage drop, leading to lower efficiencies) are advantages with regards to circuit simplicity and circuit design. A *simpler* design is more suited for hobbyists, even if its got worse technical specs than a more sophisticated chemistry.
Modi will be soft landing in his chair with a smile at the BRICS summit.
“Everything from daycare to public transportation, toll roads, fuel and fuel taxes, auto purchases and maintenance, dry cleaners, nail spas, restaurants, clothiers, hair stylists, dog walkers, nannies and office leases suffer when people work from home,”

Sounds to me like more households get to retain more of their income (and time) as a result. And that extra money will end up back in the economy albeit in different ways, so it's not like the money just disappears. Businesses and governments will just have to adapt to change, and I have no sympathy for their sob stories and stubborn instincts to resist change.
My kneejerk reaction to that is that we need that sort of dishonest behavior, where reviews are fake, or bought (without disclosing) to be policed in some fashion. Of course, I'm sure there's some second or third order effect I haven't thought of, but it seems to me that this type of behavior erodes the trust of consumers and drives the market into lemon territory where consumer expect this asymmetry of information.

I feel that corporations would have an interest in coming together and creating a non-profit organization to be an independent tester of products, to increase the trust that consumer have in high quality products and therefore to help them increase demand on high cost items. If you can get a highly trusted organization to say that your item will last 20 years and be of higher quality, you can probably charge an order of magnitude more than your next competitor and still be profitable.
If I set up an unofficial one, would people be interested?

Edit: I decided to find out. Here's a link to an unofficial HN discord - https://discord.gg/ggCFRbGP2

I'd be interested to hear what people would hope for from an unofficial HN discord.

The server has the same guidelines as HN:

> On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

> Off-Topic: Most stories about politics, or crime, or sports, or celebrities, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.

> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.
Typo corrected, Thank you!
So, who's computer is it REALLY when you can't make settings/decisions about the computer you bought? When some other entity, manufacturer included, is making decisions you cant change or reverse, sounds like they retain real ownership.

Its high time for the FTC to start busting fraudulent rentals misrepresented as a "sale".

(And anybody viewing the Apple ecosystem KNEW this anti-owner lockdown phone shit would eventually hit their laptop and desktop computers as well. But for some reason, the Apple fanatics are OK with this stuff. )
Yep. Ask any remote worker if they’d go back to the office and most would say no. Ask them if the office was within walking distance and most probably wouldn’t mind.
Foundations of LLM App Building in TypeScript
Why not let the foreign investors launder their money in office buildings exclusively instead of residential properties like they do now?
I hope you rated these drivers 1 star and left them no tip. Otherwise nothing will change.

Safety is essentially the only reason I'll give a driver a bad rating.
Yeah, I misattributed a lot of minor annoying things with my Linux machine to “general desktop Linux jank” for the past couple of years and would have said Linux+Nvidia was totally fine. Then I replaced my Nvidia GPU with an AMD and realized it was all GPU related.
This is a big deal because since 1976, only China has (edit: had!) managed to land something successfully on the Moon. And also space exploration is cool in general.
None taken but you don't know about my (adult) piano adventure with good teachers over 15+ years, either. I didn't say practice was not important. You can't squeeze blood from a stone.
There's a good critique of the earthship from a decade ago called 'hacking the earthship' : http://www.amazon.com/Hacking-Earthship-Search-Earth-Shelter...

https://web.archive.org/web/20170505101559/http://archinia.c...
Also "Miracle Mile". Underrated.
I live very close to an office at my company. My issue isn't with going to the office but more so the open office floor plan. At my home, I have a dedicated quiet office and can focus much easier. I don't have to wear headphones all day to cancel out the noise and distractions. The leaders making RTO mandates have personal offices and don't get to "enjoy" the same experience as the worker bees.
Midwest/south have the exact same structure as coasts - most people live in large metro areas. I’m not sure they’ll be more willing to let their downtowns wilt.
This is incorrect. CEOs are literally planning these moves together. In a more general sense they're also creating an open culture to promote this type of thing. Take a scroll through some VC/CEO twitter accounts and see how many whine about WFH or people "cheating" at work, working two jobs, not having a work ethic...

The capital class is good at working in its own interest and it has a lot of leverage to do so.
> Or do you suggest they cooperated in smoke filled backrooms?

Or can you really not imagine better ways of coordinating on this era of internet?
Maybe I’m not knowledgeable enough about the subject to find this useful, but the list has no information about what any of the recipe does or when you should use them, what strength or tradeoff they present…
I agree. And that is why I began with "At the extreme..." :)
During the pandemic I was going stir crazy. I decided to immerse myself in some hands-on activities in the garage. Initially, I focused on restoration of antique tools. Then I had a small bit of blacksmithing. Then I learned the basics of welding. These activities were all great fun, very interesting to me, and gave me something to really look forward to for the weekends.

Not quite 2 months ago I launched a residential handyman business (no website yet). My day job is in software engineering, but I also have the handyman work as a part-time thing. So far, it's working out pretty good. My weekend work is completely different from my M-F day job. One of the things I like about handyman work is that it's not all the same. It's a bit of carpentry, plumbing, and electrical combined in various ways. I'm not a licensed plumber or electrician (nor a contractor), so I steer clear of jobs that require them.
No, it is a real question. There is a consistent thread of bureaus selling to criminals. It's part of their revenue stream at this point. Doing anything that involved cutting back on this would threaten their profits.