skysight-inc/HackerNews huggingface dataset:
You’d bet wrong. Say I want to add two numbers and ship it to prod. In Python, that’s one line and an scp. In Java, that’s at least three, a compile step, and an scp. By definition I’m more productive in Python due to the language tradeoffs. That’s reducing to absurdity but the principle holds to a solution of any complexity, particularly in SRE/ops.

This really rears its head when Go and Rust shops say “oh let’s do all our operational scripting in the same language, too.” It seems nice in theory but is a complete mess in operations. As an SRE manager, I have data to back up the assertion that a compile step gets directly in the way, particularly in an outage situation (we need to recompile the script with a flag to change it - and we are usually pushed toward CI/CD for that outcome). If you are asking this of your operations teams, they absolutely hate you regardless of their experience with the language.

I have 21 years writing Java and three writing Python and I’ll reach for Python for “move files from directory to other directory based on heuristics” loooooong before I touch Java for the same purpose, and that’s a high bar to even get there beyond doing it in a shell. Reducing this discussion to familiarity with a language is a complete red herring and dismisses every argument the other side has with “if you were just better at Java this wouldn’t be an issue,” which is flat out wrong.

Right tool, right job. I see I’m -2 before I’m finished editing typos which I think speaks to the article’s point about language ideology more than anything.
My favorite "why has no-one done this yet" for agricultural photovoltaics would tweak the compromise even further towards plants: space the panels not only north/South but also east/west and make them heliostats, like we used to do when panel price was still the limiting factor (heliostats need distance between them to not shade each other, these days it's cheaper to just pack panels tightly oriented for noon). If you put them high enough to run machines beneath you'd get zero permanently shaded area.
Code parsing in the Python REPL is different from that in Python source code files. Not MUCH different, but different.

Specifically, if you try to paste a function definition that has blank lines in it, into the REPL, the first blank line will be interpreted as "end of function" and the rest of the function will become incorrectly indented garbage.
In what world would learning worse be good?
There's something funny going on with regards to scale in the universe. Many of the qualitatively best things turn out to be composed of ridiculous quantities of much simpler things. Even down to particles and waves.

The Tracy-Widom universality class posits that when a critical mass of simple things is achieved, those things begin to operate in complex concert, thus reaching new qualitative potentials.

Food for thought.
Just need to convince all my life-long friends to move with me and this sounds like great advice!
Schuko plug (very safe since the earth/ground is always engaged first) or Europlug (relatively safe because it is only allowed for low class power appliances)

the problem is that they don't have contact covers.

What I like about the British plug is that its closed most of the time, and really really difficult to put stuff in the live/neutral. That has advantages for safety, but also cleanliness. It cuts down dust ingress.
When it comes to starting a business, this is very good and often overlooked advice.
I don't remember it working at least once for me.
PC to Android, Android to iOS or iOS to PC.
May be only works properly for PC to PC.
With silicon valley salaries maybe the trade-off is more between Developer time vs. Devops time. Those 50 extra web workers might not matter much on their own, but someone has to set them up, orchestrate them and deal with all weird interactions that arise.

And of course the further you get from silicon valley the more the hardware/service costs matter. A developer in Sofia easily earns an order of magnitude less than one in San Francisco, which shifts the whole optimization tradeoff a lot.
The author: Selecting a programming language can be a form of premature optimization

Also the author: Pick python no matter the problem, the team, the libraries, the deployment targets, etc.
Daylighting: I Added $200k to My Bank Account in 1 Year Without Investing
The correct way to do it, if you can, is, quite obviously, #2. The comp differential that comes from "career" isn't life changing, but the stress that comes with that comp differential is very real and damaging to your relationships IRL, your family, and yourself. And even if you coast, you'll still be paid better on income/effort basis as well as in absolute, compared to the vast majority of non-FANG companies.

As rational and verifiably correct as that strategy is, I can't do this myself though. I either care about the things I do, or I don't do them at all. I feel as though my age might solve this issue.
I used to work at a C++ for prod, Python for prototype place. Time and time again, a 1-2kloc Python prototype, the bulk of which was written in a week, would take months to translate to C++, at times longer than the whole process of research+prototype.

I think it was 2 things: one, it is genuinely harder to write a valid C++ program. The language imposes non-trivial constraints on the programmer, for better and worse, and you have to navigate them for the thing to even compile. But two, C++ invites pedantry. I heard endless discussions about "ooh, template meta-programming", "struct or class", "but is this idempotent", "you should be using move semantics", "why on earth is this a unique_ptr".

I'm not saying C++ is worse, or that its trade-offs are not worth it, but for sure, from my experience, translating an algorithm into code is done far more quickly in Python than in C++. YMMV

Ah and also, this was definitely not a question of deficient C++ coders. The hiring standards for C++ were so high we were always short of devs. Meanwhile, Python prototypes were usually written by part-time ex-academia Python dabblers.
Understanding Docker in a visual way – 01 – Images
> coal bad

I agree on nuclear, but let's talk coal. Your point is that coal is good?
Honestly holding two (remote) jobs just seems ... unlikely to work.
As they should! If you want to make inefficient use of scarce land, you should have to pay more to do so.
Photograph of the Papin-Rouilly Gyroptère (ca. 1915)
There are several independent meanings to the word bias: (1) statistical bias = a systematic gap between estimation and reality; (2) a prejudicial bias = an action taken against a person/group on immoral grounds; (3) partisan bias = a stake in the outcome.

We expect judges to be unbiased in the (3) sense; businesses in the (2) sense; and scientific research in the (1) sense.

I have seen even professors confuse these in quite horrific ways: claiming eg., esp. that (1) is just the same as (2, 3).

This claim is common and very bad. Statistical bias has nothing to do with (2, 3). A system can be accurate (eg., an accurate record of historical crime) and still produce prejudice (eg., future over policing).

And likewise, prejudice (2) is not simply "a once-true stereotype", ie., a human-equivalent of (1) (a compu sci professor claimed this at a public lecture -- quite insane). This leads to the view that "black people were more criminal" -- no, there are no such thing as "black people".

Ie., the very concepts which prejudicial views partition reality into leads to datasets. Prejudice isnt a statistical effect, because statistics requires a measurement against a set of concepts (races, distances, etc.).
Given theres been controvery in the past regarding HP (and others, likely) printers refusing to print B/W when the colour ink is empty/missing[0], its highly likely that yes, they're still printing yellow dots on B/W stuff.

[0]: https://support.hp.com/ca-en/document/c04331666
Look at this with satellite view enabled. That's 1.5MW installed capacity right there:
https://www.google.com/maps/place/Laudeley+Betriebstechnik/@...
Yes, sounds reasonable.

I also guess they have tested it on many different persons but not my type of ears.

(I see many people with same ethnicity as me complain about it ;-)
Yes, today it's much harder to transfer files in a local network without using cloud (or external coordinator), for some reason.
"Guys, our Python prototype is finished. It works really well and has proved our concept. I know we've put a ton of work into it but now I suggest we scrap it and rewrite it in a language that isn't dog slow."

- Nobody
For the 3x3x3 Rubik's cube, there were both practical howto guides as well as math group-theory solution books published.
oh - that sounds interesting - I could do similar for items hitting my dropbox thank you !
> I think I had my eyes opened during 2008 crisis and FED was effectively buying everything thrown at it.

I haven't looked at the US in detail, but what you wrote is literally true for Japan - the govt. owns around 80% of any capital market there.

It's valuable to look at what went wrong in Japan so other countries can avoid that situation. When your own govt. has to buy company paper, it means that paper is not worthwhile for the private sector to buy - that's the worst kind of inflation (or deflation) imaginable.

There's a similar but mirror problem of China listing 1,000 companies plus bonds on US capital markets with no intention of ever providing accounting data or making bond holders whole.

See the ongoing Evergrande debacle, where only domestic holders get compensated, while over 80% of the bonds were floated internationally (since Chinese institutions wisely didn't want the risk exposure.)
So what I've learned from this thread about airpods:

- Quality is really subpar

- Battery is dying fast, charge often and throwaway product

- Comfort is relative

- most are already on their second or third pair

- Ear infections get more common

- BT still isn't perfect especially on busy places

- doesn't work too well outside of apples walled garden

- yet the majority likes them
It wouldn't surprise me if the author is an avid D&D fan, and was looking to make RPG maps on company time.
>an example of a judge taking a hyper-skeptic position on technology - namely, distrusting the zoom feature because it might add in extra information not present in the original image.

Some mocked the judge but here's an example where an AI upscaling algorithm added a human face that was never there:

https://petapixel.com/2020/08/17/gigapixel-ai-accidentally-a...

For terminology trivia, that algorithm seems to be doing a human version of pareidolia :https://en.wikipedia.org/wiki/Pareidolia

EDIT: based on some replies I see, my cite isn't to claim that Apple iOS is using AI enhancement during zoom to add fake pixels. The point is to consider why the judge (who is not a computer programmer) is skeptical. Therefore, his request for expert testimony to rule out that the zoom function doesn't add false information is not that unreasonable.

In other words, what's obvious to a HN tech audience doesn't always apply to judges who don't have the same technical knowledge of how zoom algorithms actually work. So considering the judge's state of mind, the "fact" that iOS zoom doesn't add false incriminating pixels isn't a fact to his level of satisfaction unless the prosecutors bring in an expert to confirm it.
I think different languages do have sweet-spots, and it often has to do with library availablity (for me at least).

I consider myself as someone who knows "far too much about C++", but recently when I had to spider some webpages and read some values out of them to populate a database, I did that in Python because it's a handful of lines due to high quality libraries that all work nicely together. I honestly wouldn't know how to do that in a short amount of time in C++.
> Say I want to add two numbers and ship it to prod. In Python, that’s one line and an scp.

This example ignores what is actually involved in production code. Yes there is a compile step involved in things like Java. In python you have to manage your dependencies on the deployment box.

In Java (minus the runtime), Go, Rust, etc they all support managing dependencies on the client side. In my experience the messiness of that in python and ruby far outstrips the complexities of a compile step in the makefile or CI pipeline.
If one were really able to measure the impact on a human's life, then it's all about nudging small probabilities in an extremely chaotic system.

As a parent, though, I'd say that providing a loving environment in which your kids can grow up is both the factor most under your control and that will have the biggest impact. Thus, anything done through that lens is likely to help, and anything done for some other reason less so. But you can't systematise "provide a loving environment" into a series of rules, and that's what makes parenting so f**ing hard.
It seems to me like your list has analogs in housing without squinting too hard: spend more of your budget on housing, get a mortgage (big loan and buy one), get a smaller place (bicycle), rent a place (train), or move in with roommates (carpool).
I don’t know anything about queue theory, but I’m not sure how your point differs from GP? You both said that a system designed for 100 and being run at 99 falls apart at 101?

I didn’t understand GPs comment about flows - perhaps that’s where the dispute is.

Genuine question, looking forward to learning more :)
> Furthermore, from our calculations, this is the most advanced a racing bicycle will ever be or can ever be. The very nature of the 1/8″ wide sprockets means four is the maximum one freehub can carry.

Ah, the "640k ought to be enough for anybody" of the bicycling world. These days you can get 13 speed on the back derailleur alone -- not even taking into account the front derailleur.
Square Enix Starts with NFT and Blockchain
Yes, you can write your 2 line program faster, no one is disputing that.

But that's not the real world, in real world you have to change and debug large amounts of existing code, and collaborate with colleagues. There's little conclusive research on it, but so far everything hints at typed languages being superior for that. Heck, untyped "script-like" languages tend to evolve into the direction of added types and build systems (e.g. Typescript, Python type annotations, Babel, Webpack etc.)
That is different, but SQL is also not a general programming language. I see what you say as an issue with those people, but a different issue ;)
With the understanding that somebody had complex logic in the equivalent of a signal handler in linux, then i am not sure this bug is so fantastic after all.
I have signal handlers so high on my danger zone that i do not recall ever coding any. If I am in a sigabrt or sigsegv i hope i die as cleanly as possible, so that a core dump is useful. No wonder he needed kernel level development.
I’ve never owned a pair of the mx3 so I can’t compare but I have the mx4 and they don’t match your description: the battery life _without using the case_ is fantastic (8 hours, plus 24 hours using the case) and the connection is very consistent and reliable.

I don’t know how good they’d be for your use-case, but definitely worth considering the mx4 as distinct from the mx3.

edit: xm4 not mx4. Shows how little I care about headphones :-D
I would actually want the opposite, where all the pieces are rotated the right way from the start.

Perhaps this could be a simple button that the users can choose to click instead of a configuration?

Another suggestion:
It can be a bit hard to see the shape of pieces with a dark colour, on a black background. Perhaps you could add an outline when you click on the piece to make it clearer? I know we can switch between light and dark background, but the white background on a large screen can be a bit too much
What trust do I have that a static IP would fix this?

If the bug is before any routing to which server to send from takes place... then it'll just end going out on the static IP all the same..
Scroll wheel only works for people with mice. Two finger rotating only works on mobile. I think something that could work for laptops (or anyone really) is a tap to rotate by 90°. The pieces only have 4 sides, so there's only 4 possible orientations, anyway. Should be a good option for people that want more of a challenge.
I think at this point it is clear that Craig is NOT Satoshi Nakamoto.
At a superficial level of analysis, yes, but you can't turn off all the coal plants, stop oil extraction, convert ice to electric, and distribute sufficient power storage to keep modern life going at a snap of the fingers. If you can offset the emissions while at the same time moving toward renewable and sustainable energy, you're mitigating necessary inefficiencies.

Mitigation is better than fantasizing about rapid fossil fuel elimination. There are way too many lives that depend on maintaining the status quo, in terms of power and economics and chemical resources. Progress will be gradual, like cleanup of the pacific garbage patch.
It's even been adopted as a MIDI jack in smaller devices like Korg Volcas. Only problem is, each manufacturer has chosen their own tip-ring-sleeve pinout...
Cloudflare's Full Stack Week
The tax breaks are popular because they're advertised as making it easier for people to buy homes; in fact as you say they get priced in and so end up pushing up prices and making it harder for people to buy homes.

"No sane person would voluntarily refrain from exploiting tax loopholes" is the same kind of argument as "no sane person would voluntarily spend money to avoid damaging the environment". In fact there are plenty of people with a decent moral compass who do exactly that.
You can firmware update over USB. My Vizio never complains about not having network connectivity.
Actually, the person I responded to did dispute exactly that by claiming the limiting effect of language choice is gated by experience. Read what they said again. That’s also reducing the argument to absurdity, which I pointed out, and which apparently did nothing to dissuade you from taking it as my actual position.

You’re also explaining a single sector of software usage to me (i.e., the revenue SaaS of the company) as “the real world,” which itself dismisses every other aspect of software development in a shop. Again, including SRE and ops scripts, which are almost always inappropriate in a mainline, industrial, compiled language. Please try to avoid explaining your point with the beginning assertion that those who disagree with you do not live in the real world.
Small nit-pick, but OP isn't running Linux, they're running FreeBSD.

They too mention Linux so it's possible they aren't aware of the difference.

It's possible "Linux" is allowed, but not *nix/Unix?
> Why do the residents have a responsibility to aid new workers? If those new workers don’t have a great situation with respect to cost of living in the Bay, they shouldn’t take those jobs.

That would also work against local landowners' interests, though. If all the new (and potential new) workers decide they are getting a raw deal and live elsewhere, all the economic gains the locals have realized (including their inflated property values) will evaporate.

It seems like landowners want to have their cake and eat it too: reap the benefits of the economic expansion, but not take responsibility for its externalities.
Hello! I have seen your question about the the pf3cmp file of the perform-3D .Have you solved the problem? Cause i have the same question right now.Thank you very much.
There should be one-- and preferably only one --obvious way to do it.

-PEP 20 -- The Zen of Python
> Negative expected value

Yes. Also briefly addressed in the post.

The simulation already comes close to the calculated value.

print 10 * 10000 * (18 / 37 - 19 / 37)

> Bankroll management and risk of ruin

No. The loss results purely from the EV (in roulette -0.027) . And that is my total bet * -0.027. No matter if Bezos is playing or I am.
In financial terms:

- https://www.strongtowns.org/journal/2021/8/4/the-question-ev...

- https://www.strongtowns.org/journal/2020/11/11/poor-neighbor...

This series goes into more detail about the unsustainable aspect specifically: https://www.strongtowns.org/the-growth-ponzi-scheme
I really don't know where all this XML hate comes from, it has everything I need and I don't find hard to read, maybe I'm just used to it.
How often do you change your configuration files? My projects pom.xml change only occasionally, version upgrade or new dependencies, that's it.
The classic, now quiet dated citation, is "An empirical comparison of C, C++, Java, Perl, Python, Rexx, and Tcl" by Lutz Prechelt.

Recent-ish commentary (July 2021) about it at https://renato.athaydes.com/posts/revisiting-prechelt-paper-... , HN commentary at https://news.ycombinator.com/item?id=28108806 .

Google Scholar gives about 476 paper which cite Prechelt's work. I have not followed other work in that field.
he can donate them to a charity dealing with children mental health issues

those developers consciously act against their fellow men. should they get to spend their blood money?

the op is asking serious question, its easy to steal some money and then say “oh i was wrong, i am not gonna steal anymore”
Can you explain to me how you'd avoid having said separate codepaths and tests in a multi-repo situation?

You'd still need to update the server to support both API versions during the transition period. We agree the change can't be made atomically in a monorepo, but it also can't be done atomically in a multi-repo environment.

So, since you have two code paths in prod, you also need them in your tests. It's a manual process either way, and completely independent of your vcs.
This is always the case with me, once with Scala, now with Rust.
In Ayurveda (comes from hindu sages, invented yoga etc) they say that some forms of depression come from the gut brain axis. THere are 3 types of body type and eating the wrong foods for each body type can make your mind inbalanced. Whilst in comparision western nutrionists/dieticians say have a balanced diet, Ayurveda says eat foods depending on your body type its not as simple as calories, protein, carbs. It depends on the food itself.
The thing that baffles me is, with the kind of engineering and manufacturing prowess that Apple has, they could _easily_ make far and away the best earbuds, earphones, and over-ears in the world, bar none. It wouldn't even be difficult - they can just buy Sennheiser with money from between Tim Cook's couch cushions, and then they can redesign their products to both be better and cheaper to manufacture, simultaneously. And yet my 15 year old Sennheisers still _way_ outperform anything wireless at any price. It's not even close. Also, no bluetooth dropouts, no batteries, no compression, no digital correction, no Siri, and no compromises.
You mean, a box that is immovable because it has infinite mass?

Hmmm I don't get it. What boundaries, the box boundaries? How does it break translational symmetry?

Anyway in this case I think at least elastic collisions will still conserve momentum, eg this https://en.wikipedia.org/wiki/Elastic_collision#/media/File:... conserves momentum even if the box has infinite mass.
Oh, sure. Pidgin has (unintentionally) done a lot of harm to XMPP in the past decade. It was a wildly popular client "back in the day", and even today it's still often the only open-source IM app that comes to peoples' minds.

However the project in general has had a general lack of resources for many years. Needless to say it did not keep up with the changing times.

There's some renewed momentum in Pidgin recently, and I have hope that the situation will improve. But it is very far from a suitable recommendation for modern featureful messaging at this point.