skysight-inc/HackerNews huggingface dataset:
> It's actually more than that: when there are lots of sub-comments, it helps to see the immediate "mother" of the comment node you're reading. Imagine a comment that has two replies, and the first reply has dozens and dozens of sub-replies and sub-sub-replies, which typically veer into all sorts of adjacent issues. By the time I'm done with the 1st reply and its dozens and dozens of sub-replies, it is often unclear what the initial comment (or even topic) was. It is then very helpful to be able to glance back up to the initial comment across the now-collapsed first reply and its dozens and dozens of sub-replies, before reading reply #2. Simply navigating to reply #2 doesn't give you that.

I think I get what you mean. Instead of adding 3 different collapse commands, WDYT about adding one command to collapse the current comment and one command to move up to the parent comment?

> I mean this page of the HN site: https://news.ycombinator.com/active . It has the currently actively discussed stories, and is a great way to catch up after not reading HN for a day or two. A kind of intermediate step between best ( https://news.ycombinator.com/best ) and the homepage.

Interesting, I don't know `/best` and `/active` exist. `/best` seems to be a list of stories (up to past 4 days) sorted by `points`.

`/active`, on the other hand, and `/news` as well are quite weird. I don't really know the algorithm behind the order of sorting submissions in those.

In the meantime, I guess open the `Story View - All stories` with `sort_by=popularity` and `time_range=past 24 hours` might do the job.
How does your food get made, your food get picked, your grass get cut, your meat get packed, etc?

Well being that this is the federal government, it doesn't get to use the immigrant labor that the private sector does, so you are right.
Is there any good writing on overuse of tuples? Up until this thread, I just always thought that was a pet peeve of mine.

Internally I've tried to make the case that nobody understands the reason a tuple exists except the person who wrote it, and a discriminating union, record, or variant is always a better choice if you're optimizing for the common case (that is, readability).
i'm late to the comments but hopefully this helps someone:

i struggled with DP as much as anyone. i read all of the standard resources (CLRS, vazirani, kleinberg, etc), watch all the youtube videos, did all of the practice problems in the books, and still couldn't solve the kinds that are asked on interviews. i even went as far as emailing kleinberg for help.

what made it basically unconsciously fluent for me (i.e. i can read a problem statement and sketch out the recursion and subproblems in about 60s and then just perform fixup) was doing hordes of them on leetcode in preparation for a FB interview. it got to the point where i could solve hard ones in about 5 minutes using either bottom-up or top-down (i.e. memoization). so if you're struggling with DP for interviews my suggestion (which is basically the standard suggestion) is to just grind the problems on leetcode.

and contrary to popular belief they do come up outside of interviews - i had to solve a circuit synthesis problem last week and it turned out to be basically DP substring counting problem. took me all of 5 minutes.
Level 2 is still pretty great. Idk why he had to oversell it aside from his massive ego.
I think it's probably a broader reference to the American left's slide towards embracing censorship, of everything from ostensible misinformation to an ever-expanding definition of "violent speech".

Though I don't really follow why the commenter thinks that the American right would be more OK with India censoring discussion of the pandemic. "Big tech censoring discussion of the pandemic" is a pretty hot-button issue on the right currently.
Yeah, I don't understand why Tesla hasn't simply been ordered to stop calling these features Autopilot or FSD, as both are misleading, and explicitly suggest more capability than they have, causing numerous deaths and accidents.

Oh, and anyone who paid extra for these features should be given a refund, as those features were falsely advertised.
I’d prefer 2 to 5
Drone operators challenge surveyors’ turf in mapping dispute
Would love to understand the value prop of this over, say, rescript, but it's not clear from the linked site.
I think this should be commercialized as an alternative to Microsoft PowerPoint and Google Slides.
It's a bit weird that they're only claiming Level 2 since the requirements for a Level 3 ADAS are rather modest. For instance, manufacturers have certified the feature of a car "self-driving" in a traffic jam by rolling forward at a human-safe speed as sufficient for a Level 3 ADAS, because the driver can then let her attention slip for a few seconds in this limited situation without endangering safety.
Of course, there is a Paris to Moscow train. The thing about the coast to coast train routes in the US and the Paris to Moscow train is that you're not in any way required to take the entire trip - there are stations along the way.
I only found this vague statement:

> Price says that Apple terminated his account when the company suspected him of breaching its terms and conditions, but due to the clause in question Apple did not have to confirm a breach occurred or give Price notice or explanation before shutting down his Apple ID. [0]

[0] https://topclassactions.com/lawsuit-settlements/consumer-pro...
The line from Spokane to Fargo hosts the Empire Builder, which is Amtrak's highest-ridership long distance train service [1].

[1] http://media.amtrak.com/wp-content/uploads/2019/11/FY19-Year...
Can you explain how you would reconcile this with what the Economist is reporting then?
Burying the lede:

“ While millions of people have missed their second shots, the overall rates of follow-through, with some 92 percent getting fully vaccinated, are strong by historical standards. Roughly three-quarters of adults come back for their second dose of the vaccine that protects against shingles.”

Things are going relatively well, headline is overly alarmist.
Xcode unironically made me try to change career from iOS developer to pen tester. I've spent way too much time in its guts and I think its left a little bit of taint on my soul. It is unfathomably bad.

And Apple keep bolting stuff on to it (and the new stuff doesn't work - Canvas for SwiftUI previews for example).

It's slow, broken in numerous ways, depends on file formats that aren't used anywhere outside of Apple and completely undocumented. It is such a painful tool to use.
Bitmain Antminer E9 Is as Powerful as 25 RTX 3090s in Cryptocurrency Mining
I started looking at the map in the article and realized I had just booked a flight where there was an existing rail line ! So I checked out the Amtrak site, and what's 1h20m by plane is 14h40m by train -- and 8h by car. Maybe by getting a sleeper cabin I could have had an enjoyable trip by train, but as the trip scales things get dramatically worse.

Of course, maybe this is exactly what the future of transportation should look like: more localized travel on modes that can be powered by renewable sources or nuclear.
Let's Encrypt was able to introduce free SSL authentication! Thank you for your advice!
What is Waymo waiting for then if they are this far?
Realistically you can’t get big infrastructure projects built without angering some group of people. People here in the US love the highway system, but there’s absolutely no way anything like it could be built today.

At some point we just need to decide that a project is worth building, and will be built, regardless of the opposition.
Usually statically typed implies strongly typed (there are rare exceptions). Also, when you look at their first page, they focus on type-safety and that the language prevent runtime errors.

In combination it looks very much like they mixed it up.
You’ve got one and only life, do what you love. Life has a fun way to reward the bolds
As far as I understand car manufacturing is a regulated industry.

I honestly do not understand why cannot we have a regulation that if both hands are not on a steering wheel for more than 10 seconds, then car should gracefully stop?

There are technologies in place which measure driver's blinking and tell of driver is tired. Why cannot we detect if driver is looking at the road at all. And if driver does not look at the road for more than 3 seconds, then car should gracefully stop?

Maybe I am wrong, but I believe it could make driving much safer, because these stops would be extremely annoying. We already have enforced stop as part of car anti-theft systems and rental car control and it is considered safe enough, so why the heck not?
At that point, just walk. At a comfortable pace, you'd be there in 80 minutes, and you'd have your exercise for the day.
Signs your laptop is in trouble
I lived in China for 2 years. Americans have no idea how liberating it is to be able be able to hop on a 200 mph train and arrive at totally different climate in hours. Over lunch, my coworkers would talk about a weekend of drinking tea in mountains in Hunan, visiting Mao' home in Wuhan, or exploring the beaches of Hainan. These are all things we did and were possible because of China's high speed rail system.

I think the biggest factor was the convenience. We'd just show up at the train station and take the next train, usually within an hour. No planning, no booking, just bought our tickets at the station, minutes before our trip. All of this for less than 1/4 the cost of a last minute plane ticket.

Sure we could have flown, and the farthest places may have been faster to fly. But that only if the tickets were available and security lines in china are just as bad as here. There's also the comfort of a train with a meal coach. And, the thrill of watching the land rush by at lightning speeds. America felt so backwards on my return.
Nothing pisses me off more than liars/marketing.

How many times do companies like Apple/Tesla say one thing, but the reality is nothing like they claim.

For rational people, we can't save people from their psychology tricks. It's mere philanthropy.

Meanwhile they have profit at stake and are more than willing to pay for ads/influencers to lie.

Maybe we shouldn't care that people fall for lies, but when it's time to make an App, I'm supposed to bend to a lying company.
I love your "it adds up" comment. I will steal this. It is very true for me as well.

Several years ago, I started using make extensively. Not to compile, but to automate. Make understands failing and dependencies. Also, bash and zsh have wonderful completions.

I used to write a bash or python script to do this. They often turned into their own projects and were painful to document.

A great make example (thanks Aaron) is on YT: Using Terraform, Packer, and Ansible Together": https://youtu.be/pkEezNSFWtA. Aaron automated it all with make.

Ya, I know... Make was created in 1976 to compile Fortran. It's old school. I love it.

I use it to test my kubernetes CSI driver on 5 versions of k3s with a single make call. That call is the tip of a dependency tree. The leaves end up being a line or three of bash running Ansible, Go, Helm, etc, but could be anything.

Documentation is simple because the make dependencies are so easy to follow. They are much of the documentation. The docs are correct because we execute them.
> and you have a car when you get there.

Yes, that's the entire problem. The congestion, parking issues, public cost, and pedestrian hostility of cars doesn't go away just because they get automated.
For me setting 10% aside as "do as you please" feels like a restriction on creativity as well. It's hard to "plan" creativity. I think culture and trust is much more important than setting a number.
While I agree with what you said can’t these things be done in tandem? There is a lot of working being done in almost every major city to make them more public transit and pedestrian friendly. That work needs to be done by the city and county governments. Amtrak is federal. Amtrak should def work with local governments on station location and design to make sure they’re convenient and accessible with local transit.

Nashville <-> Atlanta is 4 hours and a lot of people (including me) just hate driving for long distances like that. It’s dangerous and boring. While yes you might need a car to fill your last mile obligations if you’re not going too far outside city limits ride shares like Uber and Lyft can fill that hole.
We always have to do compromises designing these things. Either we don't have the talents, we disagree on the methods, we ignored a chunk of the problem, we don't have the ressources, we deliberately degrade to please the senders of a letter-we-cant-talk-about... I prefer the approach where we solve problems incrementaly as we discover them because in the long term it addresses all of those shortcomings eventually.
There is a cost to switching, and a time delay. If you switch faster than the optimal interval, you lose some of the stock that was in-process. Because of this, a large industry changing their mind back and forth rapidly with a particular alignment to that interval can cause disproportional disruption. This is happening here. They changed their mind on short notice, causing one wave of disruption as everyone adapted, then they changed their mind on short notice again in the opposite direction, causing a second, even bigger wave of disruption on top of that. Suppose you were on a plane from London to Dubai, and someone tells you to get to New York as fast as possible. You can't turn the plane around, so you wait until you're in Dubai and take the next plane in the opposite direction to New York. But halfway there you get a phone call saying you need to be in Singapore instead. Again, you have to wait until you land before you can do anything about it, and your entire current trip is wasted. Getting from where you were originally headed (Dubai) to your ultimate destination (Singapore) is a short trip, but by timing the instructions at especially inconvenient moments, you end up having to add enormous cost and resource waste to reach the same target. The car industry is definitely paying for their fuckup at the moment, but everyone else who uses electronics is stuck on that plane with them going the wrong way.
Level 4, but they operate only in certain areas.
Deckset is a commercialization of this idea. (And I really like to use it)
Walmart is essentially the same, but I have no firsthand experience there since we are not in the retail side of things.
Off the charts hypocrisy.
As far as I remember, it was used to pass API requests for third party services (like APNS) through the main Bitwarden servers so Bitwarden's secret keys for these services weren't published, but self-hosters wouldn't have to register and manage their own accounts for these services, which can be complicated and expensive (To get access to APNS you have to pay the $100/yr apple developer subscription and you can only use it for your own apps, so you would have to build and distribute, via the app store or testflight, your own build of the app.
As a father of two I can relate with some of the answers here, but I'd like to add an alternative viewpoint here just to give young dads some glimmer of hope.

For the first and a half or so we've had a difficult life with the first kid. To be honest, there is just no way around it. Especially your first kid. The SEAL-level sleep deprivation and complete lack of "me time" really takes it toll. I'm also not the type of dad to let mom handle everything. She also has a career and, to be honest, a better one too. So I was regularly up at 2AM, 4AM and 6AM. Then a workday. :) (If you have young parents around you, please try to be compassionate.)

But for some reason I'm more effective now than I ever was. I can remember "not having enough energy" to complete some project for as long as I am alive - even when I was alone. It is clear to me this had very little to do with my actual life and more with my attitude. My life is more complex and demanding than it used to be but somehow I still managed to lose 60lbs, learned to read Latin, took guitar lessons and started a business. Every single one of these items never would have left my todo list without my family. They have endowed me with a keen sense of priority which made planning my life quite easy to be honest.

I know those achievements I listed are not that hard, but for me they are significant. I've found most things in life don't require your eternal soul as a sacrifice, they just take (usually a lot of) time and so you need to be strategic about your goals. Take it slow, don't burn yourself out, but also don't stray from left to right unnecessarily. Keep your eyes on the ball. Don't shift from "write a compiler", "read latin", "write toy OS", "build cpu from nand-gates" to "learn german" and back to "learn to draw realistically" in a month. Focus. A dirty word, I know, but a powerful one.
"Bad programmers worry about the code. Good programmers worry about data structures and their relationships." —Linus Torvalds
I'll mention I hate this style of conversation. You call up a vendor, and ask about X. They switch to talking point Y, without ever addressing the point.

It's ubiquitous ("it's me, not you"), but I hate it.

I'd much rather get a straight "no."

To answer the non-answer: I don't want a crippled version of the product with features held back for paying customers. I don't know which other features will be held back in the future, or what the evolution of the system will be. My expectation is that at some point, I'll need e.g. features to comply with a law like GDPR, and some critical feature may be withheld in an attempt to monetize me.

When that happens, I end up in limbo.

With a half-open-source project, what do you do? Do you fork the system and build the feature yourself? It will never move into mainstream since it undermines your revenue source. Do you maintain a fork? No one will use your fork over mainstream and you have competing communities. Etc.

Having built systems which have been used and maintained for decades, those sorts of considerations matter much more for picking a long-term viable solution than which technology happens to be ahead this year. I'm not saying you're going to burn me (and usually by the time this happens, you've been acquired by Oracle like Java, went bankrupt and got picked up by vultures, like SCO, hired a massive number of mediocre people, like Google), but if you make a dozen decisions like this, someone WILL burn you, and that WILL cost you more than the other 11 decisions combined.

Make it easy on customers like me.
I'm waiting for the VW.ID Buzz. Classic bus in modern & electric, due September 2022. Just seems like a fantasy come true. Although I'm afraid the final version is unlikely to look like the awesome concept car...

Ioniq looks good but doesn't seem very roomy in the back, so kids+dog+luggage won't fit.
Does size matter? Otherwise why bother? For example, you could probably save a bit of space by storing the timestamps as unix time stamps (if you are using strings), but it may not be a useful use of your time. Also, for larger databases (gigabytes) SQLite may catch up to LevelDB.
I bet it’s less than 10000.
Fukushima and Chernobyl pics remind me so much why we need to move past the old style nuclear reactors. Those reactors and future plans to build more of them need to be abandoned. The future of nuclear should be small modular reactors with alternatives besides light water reactors. Thorium cycle or Molten salt reactors. That’s the future.
Passwordstate password manager hacked in supply chain attack
Source for all this? I couldn't find a link on the text wall so I apologize if I missed it.
What incentive do rational people have to save idiots from their emotions?

Marketers have profit incentives, it's not like rational people are going to buy an influencer another car when Tesla will give them one.
>> Lane assist is enough for me.

Does lane assist work at night when its raining or snowing ? I dont think I have ever needed lane assist during daytime however I find driving at night in snow or rain to be very stressful.
Lex Fridman had Jim Keller on his podcast and they talked about his time at Tesla and his work on auto pilot and autonomous driving in general. Keller was so cavalier about the solvability of self driving. I was wondering how much of Elon’s boundless optimism and reality distortion field had rubbed off on him. His basic point was that with enough high quality data the problem can be solved, but never really addressed the algorithmic complexity of driving. I used to be very bullish about it myself, but after paying more attention to my own driving and how many edge cases and corner cases there are, I am much less convinced.
Exactly what financial benefit could there be in isolating those networks from each other? Probably 2% of people taking a long line are taking it from end to end. In the case of the route that goes from Chicago to Los Angeles, via New Orleans, I'd be surprised if the number weren't more like 0.02%.
I mean, it shouldn't! After some time, you'd be using a newer version. You want to be using an old rustc to compile a project created later in time. There are very very few languages that do not add new features over time. Even Go adds new standard library functionality or toolchain features in new releases.

The Python 2 to 3 situation is very different, that is about new versions not compiling old code. We go to great lengths to make sure that that works well in Rust.
And imagine if Google is in bed with corporate media, vice versa? Good luck searching for examples.
Good marketing definitely impacts user experience. How much it is impacting the perception of M1? I have no idea.
It's not just the names that are the problem, it's also the fact that they are trying to do a little more than other driver assist systems despite being very unreliable.

IMO there are some features that shouldn't exist until full L4 so that people aren't tempted to let the car do the driving when it can't
I love reading this when I was in university. I remember thinking to myself, may I be burned out enough one day that I can play with Mathematics and not have to worry about how to pay rent or support my family.
These long distance routes should be left intact because they are an important anchor for eventually expanding to high speed rail.

China kept their unprofitable rural slow passenger routes into the distant corners of their country, and now they are converting them to high speed routes.

The Beijing-Guangzhou high-speed line is 2,298km long, and used to be 22 hours but now runs in 8[1]

Being able to go from Penn Station in Manhattan to Union Station in Chicago in 8 hours in a comfortable train would be a serious alternative to air travel, and once the track is upgraded, it would probably be cheaper than existing service. And this is completely doable with decades old technology. Other countries have done comparable things with less.

I don't think we should abandon "legacy" routes just because they are not profitable right now. And even if they are never profitable that alone is not a good enough reason to abandon infrastructure.

[1]: https://www.bbc.com/news/world-asia-china-20842836
This is normally described as a way to write code, but it works for debugging if you can modify the system or at least give arbitrary inputs. It doesn’t really apply to “read only” debugging.
The essay says more about the author than Silicon Valley. I don't see the evidence for "white supremacy" in this overwrought piece.