skysight-inc/HackerNews huggingface dataset:
I wonder if I'm misinterpreting TDP.

For the 105W TDP chip vs. say the 65 W one. If there is a lesser task not saturating the cores, the power/heat generation would be similar, and the bigger chip doesn't really ramp up the heat/wattage unless heavier loads are thrown at it?
During the spinning hard drive -> SSD transition, a lot of old laptops had their lifetimes increased by replacing the hard drives. I don’t see an easy increase like that in the future. True, you can’t replace the battery yourself and you have to pay the markup to getting it replaced and you have to max out the RAM from day one, but RAM prices have been relatively stable for years. It wasn’t like back in the day when RAM prices fluctuated by 30-50%.
I wholeheartedly agree. While the technical underpinnings of today's desktop operating systems have never been better (we have come a long way from DOS-based Windows and the somewhat unstable classic Mac OS), I feel that we have experienced a decline in the user experience.

I personally believe that Windows 2000 was the best version of Windows despite its security issues. Windows 10 is technically better, especially with its Windows Subsystem for Linux layer, but unfortunately Windows 10 doesn't support Classic Mode like earlier versions of Windows, and I find Windows 10's telemetry, advertising, notifications, and mandatory updates highly annoying. Windows would be a great OS if it weren't for its annoyances, which is why I hope that one day ReactOS catches up with Windows 10 in terms of compatibility.

I personally love macOS, but its EULA ties it to Apple hardware, which I've become increasingly disappointed with. And, quite frankly, I have a soft spot for the simplicity and consistency of the classic Mac OS, even if its architecture needed a complete re-haul.

As for desktop Linux, while it definitely has all of the components necessary for a modern OS, it lacks the fit-and-finish that macOS has. Part of it is due to the very nature of the development of desktop Linux. Unlike Windows and macOS where Microsoft and Apple, respectively, have control of the entire stack from the kernel all the way to bundled applications like WordPad, Edge, and Safari, in desktop Linux each component is part of a completely different project that is made by different developer teams who have very different goals, which are often not aligned with a larger vision of providing a coherent desktop experience. Now, one can find greater consistency by sticking to applications that follow the GNOME and KDE user guidelines. However, many applications don't follow either one of these guidelines. I find that Linux distributions have the uphill battle of trying to create a consistent, coherent environment out of a collection of discrete, disparate parts. The result is a system that may very well be just as full-featured as Windows and macOS, but it feels more like a collection of parts rather than one coherent system, which becomes apparent whenever something breaks.

I would love to use a desktop operating system that provides coherency and consistency while also allowing the user to have full control over his or her environment. I also want to use a desktop OS that is also unabashedly and unashamedly a desktop OS and not one that tries to integrate a user experience that is more suited to mobile devices rather than desktop computers.

Unfortunately operating systems are very capital-intensive to build. This blog post (http://mmcthrow-musings.blogspot.com/2019/06/my-2019-mac-pro...) contains more information about what it would take to build the type of system that I would love to migrate to.
How is that better?
Tesla Annual Shareholders' Meeting
Can any one explain how this is more than a tiling window manager? It seems like i3 with touch-gestures and a fancy skin. I don't say that to disparaging, and quite like tiling window managers, but don't see this as "rethinking" anything.
> the agent we ended up with was a direct recommendation from the selling agent, and we figured this would give us a little extra "boost" with her by using her friend

Huh what? So what incentive does your agent have to negotiate a good deal on your behalf if she’s earning a price commission, and she’s friends with the selling agent?
I was visiting somebody recently who told me they just slept in ditches in their 20s in order to travel. They lived on peanuts and saw all of Europe. Basically, it just depends on how satisfied you can be with less luxury. Stoicism is all about that
> it's hard for me to see anything but a person that wants to hijack the tyranny for themselves

If you're speaking generally, who is "a person" you are referring to here? The person who writes about the structurelessness?
Ah, right: cycle paths are generally like this everywhere, but e-scooters going on them not necessarily. They're all over cities in Finland, Sweden and Denmark, though, and I've also seen them in Berlin.
But it was funny and well placed snark :)
The 'Apollo 10 Lunar Ascent Stage' is listed here:
https://en.wikipedia.org/wiki/Category:Derelict_satellites_i...
> Seems like all of this (adding static typing on top of Python, PHP, etc) started with the success of TypeScript

Mypy is a few years older than TypeScript, so, no.
Hopefully Rogan will encourage Tyson to try psychedelics and undo whatever TBI he's dealing with after all of that boxing.
Ask HN: How do you document analytic events?
Hi,

I'm a software developer and I've been in different teams where I always found the same problem: how can we document analytic events in a nice way?

Website example:
1. There is a home page with a Sign in button and a Sign up button.
2. There is an event fired when the Sign in button is clicked and it is stored in Mixpanel/Google Analytics/whatever
3. There is an event fired when the Sign up button is clicked and it is stored in Mixpanel/Google Analytics/whatever

Problem 1:
Someone (non developer) wants to check how many people clicked on Sign in -> they need to know the event name to be able to check it out (imagine a more complex situation with many events and many interactions)

Solution to problem 1:
We create a wiki with a list of all the events and a description on when they are fired

Follow up problem:
We need to rename the event OR add/remove properties to the event OR trigger the event from a different place OR delete the event -> a developer goes and updates the code -> they forget to update the wiki -> the documentation is now outdated

General problem: it is hard to keep up to date documentation on analytic events.

I was wondering how do other people handle this?
At the moment we are using Typescript if that info is any useful.

Thank you!
To detect fake news, this AI first learned to write it
> mypy has no trouble understanding this, but it’s unfortunately not valid Python code. You can’t refer to Node within the Node class.

No, the workaround is to stringify "Node".

class Node(Object):
def add_sub(self, sub: 'Node'):
...

def get_subs(self) -> Sequence['Node']: #Or maybe 'Sequence[Node]'

works just fine. As of python3.7, this stringification is done by automatically under a from future import, and will eventually become the default, so the original code will be valid.

> This complexity helped drive the introduction of the auto keyword to C++. There are many situations where writing the type information isn’t workable. This is especially true when dealing with parametric container classes,

This is absolutely wrong! You cannot annotate a function as returning `auto` in C++. `auto` and its variants in other languages are useful for eliding redundant type declarations. Especially long ones that use generics/templates. `auto foo = MyContainer<Tuple<int, str>>();` or whatever is nice than having to double write the type declaration. But, in C++ or java, if you write a function that returns a Mycontainer<Tuple<int, str>>, you have to write that in the function.

This is an intentional choice: function declarations are your apis, and explicit and clear APIs are useful for human readers of your code. That's why you should annotate the public apis[0] even when you can have them be type inferred. Speaking of which, if you want type inference, check out pytype[1], it's like MyPy, but does do type inference on unannotated code. But you should still annotate your public apis. It serves as a sanity check that you aren't accidentally returning something you don't expect.

And of course, being familiar with the differences between iterables, iterators, sequences, containers, etc. is not a bad idea.

[0]: https://google.github.io/styleguide/pyguide.html#3191-genera...

[1]: https://github.com/google/pytype
I was just going to say that "Newspeak" in 1984 basically seems like exactly what is going on with "fake news."

On the surface, it just seems absurd and fascinating in a certain way that we can have video footage of the president saying one then and then he can just claim it's "fake news" and a sizable chunk of the populous seems to be cool with it.
That's correct! We launched on HN about 4mo ago and now have right around 600 subscribers. It's an unfunded side project for Ben and myself.
At least I learned a lot from the github issues their hacker opened. Wonder if there are any surviving archives of those that the repo owners did not delete in shame.

https://news.ycombinator.com/item?id=19642554
I generally avoid politics on HN, but:

“What you’re seeing and what you’re reading is not what’s happening” seems lifted straight out of 1984.

A few years ago I agreed with you. Now I’m not so sure.

https://www.bbc.com/news/av/world-us-canada-44959340/donald-...
I am not sure finding acceptable answers in confusing and complex situations needs to be the role of a leader.

For instance in some orgs being a system architect has no hierarchical implications. People who are recognised to be good at designing systems get the title, take decisions when no clear consensus is reached, and can still be overruled when other experts veto their decisions (it then becomes a matter of which expert has precedence. E.g. legal wins over anything else)
animals like Whales and Dolphins should not be kept in captivity. Not only are they emotionally and intellectually intelligent - they also tend to roam 100s (in Whales, 1000s) of miles which makes captivity unfeasible and brutal for these animals.
Firefox articles always bring out such mean and bitter comments. I guess anger is better than apathy but the comments about Firefox and Mozilla seem especially pretty
home prices have more to do with housing policy than chinese investors. Places that don't restrict housing supply don't have housing problems because enough new houses get built to where the price of housing never exceeds the cost of building the house for too long.
I have no idea what matrix is, and it is not explained
That's why the article suggests using eye tracking in conjunction with the track pad. That way you get both precision and speed. (At least in theory; again I'd have to try it to see how well that'd work.)
It seems very strange in the first paragraph to claim that 1984 has "outlasted in public awareness" three other books that are very much still in public awareness. Also, in terms of enduring effect, I'd wager that a lot more people have seen the film A Clockwork Orange than have read 1984.
my understanding is that driver acquisition (and retention) is much more costly for uber and lyft (at least on a unit basis, and probably overall).

in late majority markets like ride-hailing, (1) awareness is not really a problem on either side of the marketplace as most folks have at least heard of uber and lyft, and (2) inertia is mainly due to uncertainty and risk aversion (for both sides of the market).

so then, the primary friction on the user side is downloading the app and then entering a credit card.

on the driver side, it's considering whether to buy/replace a car, entering personal info and answering intrusive questions, getting a background check, getting your car inspected, and being interviewed and trained. more costly and risky than signing up to be a user.
Yes, jmp/ret will be slow.

call/ret has to particular advantage over e.g. storing the return address in a register (say 15) and then `jmp [r15]` - other than the prediction, so if you can't use the prediction, jmp/jmp indirect should work fine.
For Python 3.7, you can do:

from __future__ import annotations

This will defer the parsing of annotations until after the file has been parsed, allowing you to use the actual symbol instead of a string.
On the Connection Between Customer-Centricity and Early Stage Startup Success
Yep, already removed that part since I was not sure about the historic and it actually doesn't matter who started the trend.
If you asked any Republican 5 years ago Russia was the enemy, but now they are the good guys.
End-to-end encryption only works for “certain sensitive information” according to your link. A close inspection at the link you provided reveals that just about nothing of value aside from the Keychain is E2EE.
Has anyone tried it yet? Is it just yet another electron app? For something that's just syncing files for me, I'm not sure if I want a heavy UI running constantly.
Microsoft’s implementation is the worse. I sometimes have a hard time deciphering the captcha. Why do they need that in an iOS app? Are robots emulating people from an iPhone?
I (the repo owner) reposted them via links to archive.org after github deleted them, actually: https://github.com/matrix-org/matrix.org/issues/367#issuecom.... See https://matrix.org/blog/2019/05/08/post-mortem-and-remediati... for the full details of what happened, fwiw.
The FAQ mentions this doesn't affect syncing in any way so I would assume that's unchanged.
Severe internet outage across Sudan amid reports of Darfur paramilitary attacks
Because it's a blog entry for a project milestone. The definition is at the homepage and FAQ, one link away.

https://matrix.org/
https://matrix.org/faq/
Just FYI: CT/MR can nowadays be performed at sub millimeter resolution pretty much everywhere with up to date equipment, even out of plane.
I have recently been working where I have around 5 windows open.
Editor, Terminal, Documentation, Email, Browser with test profile.

I've found that alt-tab hasn't been working the best for me, but what has worked is having mostly overlapping windows, with a bit sticking out that I can click on to pull it to the foreground.
Maybe I should be assigning some keyboard shortcuts to pull up particular windows, but this works reasonably well, and is easy enough to adjust if I added a 6th window, or whatever.
Interestingly, it’s the only movie I have seen that faithfully, and exactly followed the book.
eBook: Data Structures and Algorithms in JavaScript
Much of it wrong, but oh well.

"Early DC power stations had a dynamo for every light bulb. Source unknown." No way. Edison's first Pearl St station, which is very well documented, did not work that way. Edison's Menlo Park NJ demo did not work that way. Some really early arc lamp plant, maybe.

There's a problem with paralleling DC generators. Edison hit that and solved it. Scaling problems, the early years.
Even until fairly recently many Mac models were price competitive with other premium models right at release. The problem was/is that Apple does not lower prices on a model over time, and the more recent problem where Apple let models languish for a long period of time.

Apple points to Intel and says they haven't released many huge changes in awhile, and that is true but Apple should have been lowering prices over time.

Apple probably thinks they have most users covered. Since the cheese grater, there has been a huge shift to laptops. If a user really wants a desktop there is the mini, iMac, iMacPro, and now MacPro. The MP is so far out in the pro realm though that Apple may have inadvertently opened a gap in their lineup between the iMacPro and MP. If they do something to fill that gap remains to be seen.
I'm no expert, but can you imagine pitching investors on an idea that involves selling tickets to see a creature that may or may not ever show up?
Thank you for noting that.
> NTFS+ (ReFS), ext4+ (btrfs)

That's.. an extremely confusing way to put it. ReFS and btrfs are from-scratch new FSes.
A Murder Trial Will Allow DNA Evidence from a Genealogy Site
That's a "cold launch" in ICBM terminology. It was popular during the 1980s - the U.S. Peacekeeper MX and Soviet SS-18 (among others) used it, as did Soviet VLS tubes and every SLBM.
Traditional tiling WMs constrain all windows to be visible at the same time, preferring reduced window sizes over window overlap.

This mockup also avoids window overlap, but allow window content to overflow the left/right monitor edges.

The display becomes a viewport into a much wider tiling.
Yeah, but I remember spending 20 minutes driving on the highway and trying to get google assistant to play the next episode of my podcast (Not the most recent! The NEXT ONE. Gaah)

It would be 4 taps to get done, and it is impossible to do via voice.
> But you should still annotate your public apis.

The good thing about inference (especially with a REPL) is you can write it without the annotation, and then use the inferred type (in Haskell, I usually find that when I resist the temptation to explicitly annotate types, the actual types are more general than I would have specified.)
If maxing your upload slows down your download, or vice versa, its an issue with your router, anything sensible should put maximum priority on TCP acks and avoid the issue altogether.
As much as I love ridiculing matrix, I must admit that’s a beautiful move. Thank you, and apologies for laughing at the parent post.
This site has many bite-sized but intriguing pieces like TFA. Kudos to the author for writing interesting things without any fluff!
It evokes The Matrix, [1] which seems apt given that the project intends to be a universal, decentralized middleware protocol.

Funny that this submission arrives nearly after a project called Desktop Neo.

[1] https://en.wikipedia.org/wiki/The_Matrix

[2] https://desktopneo.com/
I can verify this experience. I recently returned to Windows gaming after over a decade away, and bruises like this are a reminder of why I switched to the Mac.

However, I really want to know: How/why did this happen?

No, not "because Micro$oft sucks!" Microsoft has produced many genuinely excellent things over the years, and it still does. Plus, don't be so lazy. I want to understand this at the organisational level.

Here's an educated guess: To make all this work right, a bunch of different teams _quite far apart_ in the org hierarchy had to all deliver the right things at the right times. Those teams work in different ways, under different deadlines.

So, why didn't they? Some theories, of which several may be true:

1. Because it's just hard

2. Because the planning was mishandled, and key teams didn't get assigned the tasks with enough time

2a. ... in fact, it was an incredibly late idea to begin with

3. Because there was no single person in charge of the effort who had enough organizational clout to override each team's existing pressures/deadlines

4. Because this is actually two problems:

a) make a bunch of separate teams do different related tasks
b) have complete them all by a universally agreed deadline

... and b) just isn't anywhere near as important as a).

Any ideas? I don't know about you, but understanding these organizational problems is _far_ more interesting to me than just dissing Microsoft.
Agreed. My father is currently fighting multiple myeloma. The treatment will have a risky phase in hospital where his immune system will be rebuild.

He is, in preparation, currently organizing a packet of information and passwords (Keepass) which I need if the worst thing would happen. The rest I will respectfully erase. And I hope my relatives will do the same for me.
Money quote: "Puh-leaze, if your program can’t handle Medieval Irish carvings then I want nothing to do with it."
Colombian point-of-sale lender ADDI nabs $12.5M from Andreessen Horowitz
Do you have books or lectures on the topic or do you go from scratch and pure brain juice ?
PLA really needs an industrial composter to break down fully, but this is still better than traditional plastics. It's just polymerized lactic acid, which is common and naturally occuring in the human body.

PHA generally breaks down faster in the natural environment (i.e. it's biodegradable, not just compostable) and it has similar properties to PLA.

Straws use an absolutely minimal amount of material. I really don't think concern over agricultural resources is valid for such uses as it is compared to, say, the massive amounts used for biofuels. And of course, it's not as if metals have no resource requirements, either.

A typical straw weighs about .42 grams and thus uses about as much agricultural material as two kernels of corn (about as many calories as two tic tacs). That's not the problem, here. To put that in perspective, the energy in that straw (about 0.005 kilowatt-hours) is less than we just wasted arguing about it online.
If you build your own analytics system which I did when I needed one, data was stored in elasticsearch as analytics events, then I had a query that told me every property that was used.

Since one of the things that was in my properties was an identifier added in build stage for every analytics call in the code if I wanted to figure out what analytics properties came from what lines of code it was relatively easy.

So could track when properties were added, spread of their usage, and using git blame figure out who added it. But we were also a small team so usually I added it.
More on HVDC: [1]

Power transmission in China has passed the 1 megavolt level. 12 gigawatts. China's best energy sources are in the northwest, and the biggest loads are in the southeast. Hence the demand for very long transmission lines.

[1] https://www.power-technology.com/features/chinas-mega-transm...
I've only ever worked as a developer (in offices)
Presumably there would be value in releasing the "impractical for actual use" version to the public after you have already operationalized and not before.
I need bags for a bunch of things and now have to buy plastic bags online. I'd like to buy biodegradable ones, does anyone have any recommendations how to check for bags really will degrade?
Unrelated but DAAAAMN OpenStreetMap is blowing away Google Maps in terms of performance here.
The lion share of subs are moderated by a relative few mods. There was a post showing the graph of control recently, I found it disturbing. Unfortunately Reddit has critical mass now, I think it can survive what ever it becomes. It could lose every user who wishes it was like the first 5 years and hardly notuce. There won't be a Digg moment for Reddit.
Wouldn't the past tense of suse be susaw?
Nintendo Is Working on a Full Sequel to the Legend of Zelda: Breath of the Wild
Then the person who did the investigation is compromised obviously
In a typical house there's likely also at least one alternative route to get to the office. How do you represent that path with tree hierarchy? Tags (at least nested tags, as shown in OP) allow you to create a generic graph.
Waxed paper bags