skysight-inc/HackerNews huggingface dataset:
This is not the first article where James Stewart has shown some remarkable incuriosity and refusal to connect any dots. In his earlier reporting on Epstein's connection to Musk & Tesla, he noted that Epstein claimed to know embarrassing intimate details about numerous tech industry leaders, but chalked it up to simple bragadoccio on Epstein's part.
Couldn't whatever tool they use just apply a transformation from indentation change to brace?
As js2 notes, it's not the calories that runners are worried about during a marathon.

They're worried about ingesting carbs to supplement what they have stored via carb-loading over the previous day(s) before the marathon.

Kipchoge has used Maurten supplements (see https://www.maurten.com/ ) for a previous race.

The commentators during the Ineos159 broadcast also referred to his use of Maurten supplements every 5km during the Ineos159 run.

Why Maurten? One of the supposed benefits of Maurten GEL is the use of two forms of carbs (maltodextrin and fructose).

Early carb supplements (Gatorade, etc) typically used one type of sugar to supply carbs to the body. The rate of carb absorption by the body was thought to be 1 gram per minute (60g/hr).

Researchers discovered that fructose was ingested via a different pathway than other sugars and when combined with another sugar could increase the absorption rate of carbs up to 90g carbs/hr. see https://www.torqfitness.co.uk/news/maltodextrinfructose for more info.

Kipchoge was taking drinks every 5km, at target pace of 21.1km/hr - 21.1/5 = ~4 times/hr

Each serving of Maurten GEL has 25g. So, assuming each drink is close to one serving of GEL, he'd get ~100g carbs/hr which his body would absorb close to 90%.

The support team also believed that the cause of Kipchoge's slowdown in the previous Breaking2 attempt was that Kipchoge wasn't supplementing enough and hit the wall near the end of the run. To reduce the chance of that happening, they gathered the used drink bottle after Kipchoge was finished and analyzed how much supplement was remaining. Not sure what they would do if they found he wasn't drinking enough other than verbal encouragement.
>Does the author not realize that you can use (almost) anything as a dict key?

You can do that in JS too, it's just coerced to string, so you can do e.g.

{foo: "bar"}

where foo is not a variable, but assumed to be the string foo. In Python you can't, because you couldn't tell if it's foo the string, or a reference to an existing (or non-existing) foo variable.

That said, in JS, not only you're limited to using (real or coerced) strings as keys to Objects, but you also need to use the square bracket:

{[foo]: "bar"}

syntax, so it can tell that you need it to use the value of the variable foo as the key (else it will understand {"foo": "bar"}).
Not sure how people do this in practice. But in principle it seems rather straight forward.

A compiler is just a program that takes some input and create some output. Both the compiler and the input can have a cryptographically secure hash. Putting both in a sealed box, like a docker image, with its own hash, gives you a program that takes no input and produces some output.

If the box changes, run it in a trusted machine and save the output together with a signed declaration of which box version produced it
Part of the problem here is clearly this person is mapping JavaScript idioms to python; in particular "Needing to put dict property names `{'in': 'quotes'}": these aren't object properties, these are keys in a map, and they can be and often are variables themselves, (also, can be any hashable type, not just strings) and I don't see how that can detract from the 'greatness' of python.

Also "foo['bar'] returns a KeyError", then saying sometimes this is resolved by "getattr(foo, 'bar', None)" -- the split between attributes and items are one of the best things about python.

I don't know why list comprehensions are "magic syntax", and you can't complain about having to type list(map(...)) and then complain that you don't like list comprehensions!

"You have to cast your data back to a list/tuple after using
enumerate() and map()." -- I don't know what that means

"Different syntaxes for lists and tuples." -- Again, what? They're different types!

How is r'a\nd' less "goofy" than String.raw`a\nd` in JS or any other language with prefixed strings?

Python is clearly not for everyone nor for every problem, but in my opinion it is a great programming language.
The iPad Pro Is Not a Computer
It’s not really what I’d expect from a command line tool, quite the opposite in fact.
This doesn't work as HTTPS. http://arewewebrenderyet.com/
There is, and it starts with L. (Lua, of course.)
> you have to do foo.get('bar')... or in some cases getattr(foo, 'bar', None)

This is a mistake based on thinking in Javascript: in JS the index operator is effectively the same as the dot operator, for example foo[“bar”] == foo.bar. In Python those are different. [] corresponds to get in dicts, and . corresponds to getattr in objects.

My personal biggest gripe with Python is that there isn’t a better story for typing as I’m spoiled by TypeScript and static languages that have a better development experience and prevent certain classes of mistakes.
I agree with you that the problem is largely political (though I think because of that the technology is lagging too). But even if we conduct huge engineering efforts to let humans 'live' on Mars, there are still several orders of magnitude between the pleasantness of life there and here.
The new static type analyzers like Mypy and PyType give it more of a static feel IMHO.
Now that Git Virtual File System (VFS) is coming to GitHub, I think we shall see an uptick in monorepo adoption. Though what I said early about compatible tooling still applies. The repo style affects so much of the tooling, from Continous Integration, deployment, building, versioning, etc.

It really is not a small difference.
TIL ARM has sort of transactional memory…
The brokenness of academia starts with the exploitation of graduate students by educational institutions, which makes it a very lucrative enterprise to over-hire professors, each of whom is like an incubator for the school, which acts as an investor because they get a cut (upper five figures per year per student) no matter what. It's similar to college sports in a way. It's all driven by money.

Most research is useless. Most professors are unneeded given the size of the problem space. Students see this and in the end, besides the very few true geniuses, it's not the most purely motivated that become professors, but the ones who most aggressively play the game in trumping up their results.
Could you use this to make a Go REPL?
The fact that bottles were handed to him by a cyclist instead of picking them up himself is one of the issues
Maybe it's fine, but I'd be concerned about polluting the global namespace
Dorothea Puente
Yup. It's better, but still not good and there's no Adblock anyways.
I like how the article doesn't shy away from the controversy while at the same time both making room for peer opinion of felix and a pragmatic, if slightly cynical interpretation of his actions.

I think this is one in small group of articles that attempts- and in my opinion achieves- a level headed and objective analysis of pewdiepie the phenomenon.
I just made a note. I do not really give a flying hoot to what happens to Python. I only use it in places I do some consulting since they require it. I do not use it for my own products.
The Mathematics Genealogy Project
He’s not at all honest about his methodology. Particularly all of his talk about suggestion and NLP is just patter. He’s done standard mentalism tricks using 100 year old methods. He barely even does cold reading.
I think that sort of thing is coming, with e.g. `mypyc` that compiles typed Python into C.
What drives me nuts about doing JS is that the browser execution model seems vague.

In python, I can have the

if __name__=='__main__': main()

at the end if a script, and easily import the script's functions into

- pytest for testing

- some other module for larger modules

- into a cli.py file to slap a Click interface on it.

What a great blend of flexibility while retaining coherence.
Probably this is not that bad that species which can't manage to sort things out with their own planet are not able to reach other worlds. This is sort of a natural quarantine.
Actually I suspect if we knew the attitudes and histories of the other civilizations similar to ours we would be grateful the interstellar distances are that big.
I don't think Python has any issues with popularity.
Kolmogorov complexity is just the standard name for a concept that's useful across machine learning, AI, compression, etc. It's not just a definition in some obscure result in complexity theory.

OP was simply saying that, in any general-purpose programming language (where all possible programs are expressible and none are unfairly favored) the solution to problem B will inevitably be longer than problem A. This is quite a bit more precise than just saying "a more complicated problem", and if you have the intuition behind it, there's no reason not to use the term.
You might get some answers here but for your company the main way is to talk to the boss who makes the decisions about who does what and ask them for the job, or if not what you have to do to achieve that. I'd think spending some face-time in the office to know the team would be a requirement.
> ...or PGE will have to [...] which is not permitted under current PUC rules

Sounds a lot like California being California to me...
What makes you think that on Mars there won't be politics? Once Mars is within reach politics will arrive with the first human settlers.

What the US president believes is not representative for what politicians in general believe. He's somewhat of an exception (fortunately). Unfortunately, he's doing a lot of damage but even if he weren't the problem would largely remain the same.
> It's a ThinkPad t430 running windows 10, and on that machine Firefox will slow the machine to an absolute crawl even with only 3 tabs open.

You can try taking a profile and reporting it -- developers may have some ideas: https://developer.mozilla.org/docs/Mozilla/Performance/Repor...
Apple got an Emmy for our tech that they copied. Don't show big companies shit.
And it’s probably tax deductible
So what? I was speaking about all PC OEMs selling Windows 10 devices, not only Microsoft.

I also posted estimates where computer sells are a fifth of mobile sells.

Apple hardware is hardly relevant outside US and a couple of first tier countries.

And neither are PC sales. Most people’s only computer is a phone and most of the money coming from those people are on mobile.

Mobile phones are good for exactly that, phone calls, Internet and a couple of service apps, hardly for producing content.

And unless you’re Microsoft or Adobe, you’re not making money selling PC software to produce content. Companies making money on software are either doing it indirectly through services or by producing applications/services running on the web or mobile.
a more general such tool: http://proselint.com/
Good problems, yes. But effective interview tools? I thought we were moving away from arbitrary puzzles during technical assessments.
Did you not pick seats when you bought the tickets? United is not the utter chaos that is Southwest, so unless you bought Basic Economy, you should already have had a seat.
Code examples: https://github.com/facebookresearch/hydra/tree/master/exampl...
> directory based commits
This whole thread is interesting because subversion is exactly this, and works with large code bases. We used to have these told and we moved away from them.
That's unlikely though, because the Puritans went to the New World themselves, on their own means - crossing the ocean, building their cabins, etc.

Whereas the space colony will need trillions of dollars to be set up, coughed up by some big government.

And they're unlike to send people there to fulfill their fetish/deviant lifestyle/whatever lifestyle...

Heck, the puritans were persecuted from their old country. No government is going to pay billions to send persecuted people to a space colony...

Except if it's a doomed mission, and e.g. they send death row volunteers or something, like The Dirty Dozen movie...
powerdns, wireguard, gitlab, nginx, pgsql, mariadb, zabbix, nextcloud, Grafana, graphite, prometheus, haproxy, postfix, and a lot more
Sure Python has many problems, but these aren't a great selection.

Yes. I have my disagreements with Python, but those are not it.
The article author is mostly complaining about ways Python differs from Javascript.

- Agree that the mechanism for talking about parent classes wasn't very good. Multiple inheritance usually adds complication without adding much necessary functionality. That's not just a Python problem. It's a leftover from viewing objects through an "A is-a B" lens, one of the dead ends of early AI.

- Python has too much gratuitous dynamism. Any thread can find and mess with any code and data in another thread. The implementation has to support that, which knocks out many valuable optimizations. The language model, and the original implementation, use "everything is a dict", which implies "slow".

- One consequence of the above is Python's terrible one thread at a time thread system, with the "global interpreter lock". The "multiprocessing" hack to get around that is ugly and uses too much memory, since each subprocess has its very own Python system instance. To some extent, the "async" add on is yet another hack to get around the limits of threading.

- Another consequence is a tendency to call C code where Python performance is terrible. The C code has to carefully obey the rules of the Python system. Mostly it does.

- Optional typing is a marginal idea, but unchecked marginal typing is just weird. Language design seems to be converging on implicit static typing - result variables are automatically typed whenever possible. Go, Rust, and now C++ (with "auto") took that route.

- And, of course, the botched Python 2 to 3 transition set Python back for a decade.

On the other hand, Python exceptions work out well. A reasonably sane exception hierarchy helps. Although the one for 2.x was better than the one for 3.x; the 2.x one made a clear distinction between external problems ("Environment errors") and internal problems.

The "with" clause system plays well with exceptions, and nested exception failures unwind correctly.
It's far better than Go's "defer". C++ and Rust try to handle this sort of thing with RAII, which never handles trouble in a destructor well.
And all together they sell less than a fifth of the number of mobile devices being sold. There is a reason that MS is running away from Windows and that they put .Net Framework in permanent maintenance mode. They don’t even want to spend money supporting their own browser engine.
I doubt that we'll build generational ships with current humans inside. Instead we'll have to find out ways to prepare us ourselves for the journey. E.g. hibernation. Something that changes our perception of time. The Milky way is 100k light years apart. If we manage to travel at an average 0.01c, we can reach any point in the Milky Way in 10 million years. That's still more than ten times shorter than the time span of the dinosaur occupied earth.
You could, but you'd lose the Socratic method and efficiency of thinking. There is a reason why many academics can be quite acerbic.

All these politeness comments are a speed bump that distracts from the real issues.
The University of Texas at Austin has statisticians faculty, staff, and students can consult with for free: https://stat.utexas.edu/consulting/free-consulting

I've used the service before and can recommend it.

Don't know anything comparable for programming at UT, though I can say that UT's computational science (different from computer science) program has some good classes on software engineering practice aimed at practicing research scientists and engineers.
I think the more obvious lesson in this (which Astropad appear to have stunningly missed), is that if your product’s role is fixing a (perhaps obvious) deficiency in another product, then you have a significant risk that the other product will improve to the point of making yours obsolete. If your business model can be turn on its head by another product implementing a (perhaps even trivial) feature, then you simply don’t have a very strong business model.
Seems patronizing
Apple used to say "Think Different" - perhaps allowing individuality and creativity. Overwhelmingly, it now feels like they want us all to think in the same Apple ordained way.
Madrid to begin 'humane slaughter' of parakeets
Just not on menus of restaurants the 90% of the people go to regularly...
Natural monopolies should not be private.
You'll say that until the company is full of public service workers who dont care and electricity costs 3x as much. Pretty much every developed country has privatized electricity generation to keep prices down.
> They didn't wind-up liable because just happens to sometimes 'cause fire.

California is a strict liability state when it comes to utility line fires: even if the utility isn't negligent, the utility must pay damages.

> They wound-up liable because they gutted their tree-trimming operations and paid the difference in dividends.

This is open to debate; it might be good evidence of negligence. But evidence of negligence doesn't matter.
String Diagrams for Linear Algebra
Houses close together in an urban environment reduces risk rather than increasing it. For example, Redding Electric Utility (REU) and Sacramento Municipal Utility District (SMUD) did not shut off power to the cities they service while PG&E, which services areas outside each of those cities, did. SMUD talks about urban areas being low risk at https://www.smud.org/en/In-Our-Community/Safety-Tips/Wildfir....
dic = {k: v for k, v in dic.items() if k in other_dic and v == "bar"}

> "How could that be improved? That's 3-4 LOC minimum in any other language"

If I'm understanding the comprehension correctly,

(into {} (filter (fn [[k v]] (and (get other-dic k) (= v "bar"))) dic))

Though, for readability, I'd likely write it as:

(->> dic
(filter (fn [[k v]]
(and (get other-dic k)
(= v "bar"))))
(into {}))

Legibility is in the eye of the beholder.
Ok, we've squeezed some history into the title above.
Many aspects of PG&E should bring to mind developing countries: corruption, graft, incompetent management, etc. It's an embarrassing situation to be in, and both PG&E and the state government are culpable.
People only really have the kind of technology I think you're referring to if they're lucky enough to be born into a more economically developed country. Unfortunately, it's the less economically developed countries that are going to bear the brunt of climate change, being already under stress and relying heavily on climate-sensitive sectors (e.g. agriculture).

The ones who have contributed the least to climate change will almost certainly suffer the most -- this isn't a matter of whether or not our species will survive, it's a matter of injustice.
Isn't the whole idea behind containers to eliminate external dependencies?
Every time someone posts this article on HN -- it gets posted a couple times a year -- I have to roll my eyes. For me it's hard not to read this entire essay as a pseudointellectual dog whistle. Maybe criticism of P.G. on Hacker News is one of the Things You Can't Say. Whatever. Bring on the downvotes.

P.G. comes across as either incredibly naive or deeply cynical. His writing is frustratingly coy -- he should just say that he's talking about political correctness but doesn't. There's a kind of cowardice in maintaining this sort of plausible deniability. He hides behind the "first rule of Fight Club" and won't reveal whatever conclusions he's reached through this process of considering taboos, which is concerning because it signals he is scared of the consequences of revealing his opinions. One then wonders, what is it that P.G. believes that he's too afraid to even say?

It's also concerning that he doesn't seriously consider the relationship between ideas and power. Here are some things that he maybe should have thought about before writing this blog post:

1) What groups of people would the idea benefit? What groups would it harm?

2) Is the taboo idea similar to ideas held by a historically powerful group about a historically powerless group?

2) In considering whether a taboo idea might be true, do you, the thinker, have self-interest in it being true or not true?

3) Most importantly, if you're thinking in isolation about taboo ideas and adhere to PGs advice to never, ever talk about them, isn't it possible to arrive at wildly incorrect conclusions without outside input? Talking through ideas with others is what makes it possible to spot errors in reasoning. What better way to ensure your ideas remain unfalsifiable than to avoid talking to other people? Isn't
this the very opposite of good science?

P.G. is a pretty good venture capitalist and that's about it. If you're looking for intelligent cultural commentary or philosophy look elsewhere.
How is 32 bit “current”? Intel introduced its first 64 bit chip in 2004. By 2009, the Core 2 Duo was mainstream.

Apple hasn’t sold a 32 bit computer in a decade.
Having app that heavily relies on 32-bit Carbon Api open sourced is useless. You can't replace those Api call with newer because they simply don't exist or have no alternative. It's not going to help much
Pandora for Audiobooks?
Do you think this idea has merit?
Ah wonderful. I also recommend the cute little book if you like physical versions.
well I walk much slower since I walk with small children and I guess it took its toll on even when I walk alone. what's the point reversing to your regular high speed when later you need to drag with children? it's just easier to get used to lower speed. many people at 45 could still have like 5yo child (2nd) or even younger or was the study done only on childless people?
I tried to host OwnCloud, but could not figure out how to make fully automatic updates to function (including host OS - e.g. Ubuntu).

Now I only host my own project: http://billion.dev.losttech.software:2095/

Also regular Windows file sharing which I use for media server and backups.

Though I'd like to expand that. Maybe a hosted GitLab.
I hope this encourages more tech companies to locate in San Jose. San Francisco is getting worse over time as a place to live, but there are plenty of nicer spots around the bay.
I think one glaring hole is that it’s very hard to incentivize people to maximize someone else’s utility. You don’t just say the words “maximize utility” and it just gets done.
PG&E failed to keep the grid energized.

They have abdicated their responsibility.

They even blame it on climate change, which shows they are controlled by left-wing political zealots.

Glad I'm not in California!
Matrices, although great for computers, are often complicated and unintuitive. This blog was my first insight into an alternative symbolic interpretation for Linear Algebra. It has often led to problems and complicated equations being represented with far more simplicity. As well as teaching me to be more flexible and creative with my own notations.
Killing 32 bit support is going to cost me about $600 per year, because I still have a pre-CC copy of Photoshop, In Design, and so on. I am absolutely furious at Apple for this.
Each to their own, but both the snippets you posted crossed my threshold for headache inducing parentheses tracking
For games, I think it's feasible to make at least the code that interfaces with the OS into a separate, re-linkable, open-source library.

Translations between the APIs (Carbon to Cocoa, OpenGL to DirectX) might be very hard, but at least upgrades would be possible.
Plex, Bitwarden, Nextcloud, Unifi, Pihole, OpenVPN, IPSec VPN, Gitea, OpenLDAP, Portainer, My Personal Site, Cloud Torrent, TTRSS, Grafana, Loki, FreeRADIUS, Kanboard, Dokuwiki, SMTP, Goitfy, php*Admin, Container Registry, Python registry, Matomo, PXE Server.