skysight-inc/HackerNews huggingface dataset:
We certainly do disagree on this.

Even the first chunk of Herb's talk, before you get to reference counting - illustrates why you might feel more comfortable in another language compared to C++, as once again C++ has the wrong defaults. Rust's defaults are better.

Nullable shouldn't be the default. It's really hard to undo this bad decision, it's not one of the easy ones where I think C++ realistically could (but still won't) just fix it, but it's still a mistake. By getting this wrong C++ adds an unnecessary burden.

Since Rust doesn't get this wrong that burden isn't present. I am never worrying that the Box<Thing> in a Rust structure might not be there, by definition it's a Thing in a Box, if it might not be there that would be written Option<Box<Thing>> and the compiler would let me know if I ever forgot to account for the None case.

And it keeps happening. Later Herb wants an array of known-at-runtime size on the heap, so, he makes one with unique_ptr but of course by default C++ doesn't remember how big this is, so he needs to make sure he tracks it separately, more anxiety. Rust can Vec::into_boxed_slice() and the resulting slice automatically remembers how big it is, even though you've given up the vector's ability to grow or shrink. The machine representation ends up the same if you do it right in both languages, but C++ gives the programmer another thing to worry about.
You can take Slack off me when you pry it out of my cold dead hands.
However we do, as we see in the number of childless leaders in Europe for instance.
But Rust isn't remotely a simplified version of Haskell, and I'm not sure where you got that impression. It's inspired by several languages, but is predominantly a descendant of ML and C++. The only similarity they have is that Rust traits resemble Haskell typeclasses, but even there they are quite different in semantics and implementation.
He should find a younger person to run Meta as he is clearly aging out.
I doubt it, and wouldn’t want it. It would break all kinds of optimizations. For example, with wrapping

for(int i = 0; i <= m; i++) { foo(); }

Wouldn’t terminate if m = INT_MAX. That means compilers either have to special-case that value, or can’t use the loop instructions of some CPUs (M68000 has “decrement and branch if larger than zero”, for example)

Also, with wrapping, a[i] and a[i+1] aren’t guaranteed to be adjacent. That can make auto-vectorisation difficult.
I'm intruiged by the vendor libraries [1] and EmberGen is definitely a nice showcase they have [2]. It's a nicer C with similarities to Zig.

I'll definitely take a look. But I'm hesitant to fully dive in. I'm a bit overwhelmed by all the new "niche" languages coming out lately. Usually they have very valid use cases but mostly fall flat regarding tooling (debugging..), available libraries and documentation.

It takes so much time to really grok a new language and then the next new shiny thing comes out...

[1] https://github.com/odin-lang/Odin/tree/master/vendor

[2] https://jangafx.com/software/embergen/
- Academia: I have often pondered over that thought and I find it a space for myself in the long term. But not going into academia but working as consultant with Academia while working my day job(a low paying which would give me freedom of time to pursue these threads). Not only academia is relatively slow paced so lesser work pressure but rewarding in terms of growth.

- Military: Many people in my neighbourhood have taken the same route and are enjoying their life. However, their savings were not enough to let them enjoy life in a city. They can only live their life in a small town.

- JavaScript developer: This is a very tempting thread which I am willing to pursue on. My founder with 40 years of experience said similar things. People will complain about java script but Javascript is not going to die. New flavours may keep coming in but it will not go away.
Yes but practically this isn't viable.

Nothing is impossible unless it disobeys the laws of physics(which are also limited to what we currently know)

It would be equivalent to saying, well it isn't economic enough for energy companies to simply create nuclear fusion reactors...

Some things are just extremely hard and there's no obvious answer even if you had "unlimited" funds.
It's not the mayor's job to do this. This is such a hamfisted approach to re-homing tax dollars. Instead of thinking innovatively, he's an old man arguing with the waves.

It reeks of ugly desperation and parental overreach. The people have spoken. Now it's time to learn to surf.
Types of events in event-driven systems
Yes, I used to,

but No, I fixed it :)

Among other things, I am team lead for a private search engine whose partner-accessible API handles roughly 500 mio requests per month.

I used to feel powerless and stressed out by the complexity and the scale, because whenever stuff broke (and it always does at this scale), I had to start playing politics, asking for favors, or threatening people on the phone to get it fixed. Higher management would hold me accountable for the downtime even when the whole S3 AZ was offline and there was clearly nothing I could do except for hoping that we'll somehow reach one of their support engineers.

But over time, management's "stand on the shoulders of giants" brainwashing wore off so that they actually started to read all the "AWS outage XY" information that we forwarded to them. They started to actually believe us when we said "Nothing we can do, call Amazon!". And then, I found a struggling hosting company with almost compatible tooling and we purchased them. And I moved all of our systems off the public cloud and onto our private cloud hosting service.

Nowadays, people still hold me (at least emotionally) accountable for any issue or downtime, but I feel much better about it :) Because now it actually is withing my circle of power. I have root on all relevant servers, so if shit hits the fan, I can fix things or delegate to my team.

Your situation sounds like you will constantly take the blame for other people's fault. I would imagine that to be disheartening and extremely exhausting.
your phone already has some tens or hundreds of SQLite databases on it. it requires some care, but many already go through the effort in their apps, so i can imagine web developers going to the same effort if they need it.

though i can also imagine them going through that effort when they don’t, so…
I've found vile a good option as I'm addicted to syntax highlighting: similar speed to nvi, much faster than vis and vim.

https://invisible-island.net/vile/
> We can apply the same rule to the people buying the photos, so it's illegal to go around buying photos about the movement of somebody even if no photographer did anything illegal.

I am trying to imagine the state capable of enforcing such a law. I don’t think that is where anyone wants to live.
As you imply towards the end, I think things like numbers of hours worked are generally not relevant for stuff like this. I've been incredibly engaged working 12+ hour days and I've been burnt out barely getting 2-3 hours of real work in a day. It has more to do with the nature of the work.
>If 1Password was ever compromised, the attacker could use my private key to log into any server that I have access to at any time forever, and in fact I won't even know!

Right, this is only a problem if you don't have another form of key and don't have login auditing

With access to Userify, an attacker could upload a key to any server anywhere and still have access.

In the original post, I mentioned we already had an easy way to rotate keys via automation. We also had CloudTrail alerts and AWS Config alerts around port 22 security group rules (they were closed by default).

Sure Userify provides a lot of these things like key management and audit trails but my original point was it's silly to worry about storing private keys in SaaS when you use SaaS for other authentication and authorization anyway.
Front end and no dependencies, tell us more
Do you think their should be any minimum wage?
Secure mode doesn't really make anything more secure if you're the one using it. It just lets you add it to the list of allowed commands in the sudoers file without giving someone a root shell. We used to do that all the time at one job that didn't let you log in as root and wanted you to do everything through sudo. You'd just sudo vi /some/random/file and then :! and have a root shell.
> Well, they might not care, but for a different reason. They have money and connections. They and their progeny are set. So I think that's a bigger thing than age.

I agree that this would be the bigger issue than age. A young(er) politician can also be just as corrupt. See how many politicians get jobs in private sector areas they "helped" during their political career.

For example, if memory serves me, Nimrata "Nikki" Haley got a spot on the Boeing board after supporting them as governor in the past. She's only 50.

> In the case of judges, this and decline in mental acuity could be a serious issue

I completely forgot about judges, this is a great point. Judges hold a large sway from civil court all the way to supreme.
definitely rare and highly targeted exploits.

Exploits for mobile phones in the "open market" are in the millions of dollars, for a single working exploit.

But the incentive is growing as these devices are becoming the center of our lives.
Vile – Vi Like Emacs
Technically yes, but the vast majority of us have met him before. He, or someone like him, teaches Cal I to first-years (because he's gotta teach something beyond his fourth-year five-student moon-man seminar on his inscrutable research focus). Forgive him; he learned TeX before mouses had a scroll-wheel. I had to work with this prototypical fellow once, when I was already out of university; his abilities -- and inabilities -- were stupefying, in both senses of the word.
Yes, but in a different way. I work in Quality Engineering, and the scope of maturity in testing distributed systems has been exhausting.

Reading other comments from the thread, I see similar frustrations from teams I partner with. How to employ patterns like contact, hypothesis, doubles, or shape/data systems (etc.) typically gets conflated with System testing. Teams often disagree on the boundaries of the system start leaning towards System Testing, and end up adding additional complexity in tests that could be avoided.

My thought is that I see the desire to control more scope presenting itself in test. I typically find myself doing some bounded context exercises to try to hone in on scope early.
There's a huge difference between an accurate descriptive explanation of why someone is in poverty, and what mindset one ought to have if they are in poverty so as to maximize their chances of escaping it (or at least, of enduring it). The former should not inform the latter.

I am skeptical that putting the locus of control outside of oneself - even if partly or largely true as a description of reality - is a good solution to the latter objective due to the learned helplessness and depression that may be magnified by doing that.
> I hear a lot of people talking about systemic explanations for everything. Doesn't seem to help anyone.

Those supporting a systematic approach raised the child tax credit in the US, lifting over 3 million children out of poverty last year. It helped them.
All these suggestions and options are total distractions to me trying to get work done. It impacts the ability to get work done. I go with the mantra if you’re trying to code your way to a solution then you’re going about it wrong. Write down what you’re trying to do in a few sentences first. If you can’t then how can you code something? This is why code structure suggestions make no sense to me.
They still exist in all sorts of industries but have almost all been offshored to capitalize on lower wages.

The jobs left are largely just the ones where the finished product can't be put on a container ship for 2 months.

If globalization unravels due to rising geopolitical tensions and continent spanning supply chains buckle and break we will likely be quite surprised at how much unskilled labor is suddenly in demand at home.
> > Would Google Analytics become illegal?

> If they sell personal data? Without a doubt. Currently, AFAIK, they don't.

Google can obviously construct a dossier on a person from his analytics cookie. It’s okay for Google to have this data so long as they do not sell it, just sell access to it to advertisers or release it to governments?
Google Reader Killed RSS (2019)
evince does that when you hover over links.
More than once per decade: C11, C17, C23
Show HN: Search Engine for a Procedural Simulation of the Web with GPT-3
An improvement is an improvement. A flaw of seatbelts is that some people still die when they wear them. That's not a valid argument to not wear seatbelts.
It's a flavour of social darwinism. The argument essentially goes that you encourage darwinian evolution of society where the weak are indeed weeded out, and that we should encourage people to "evolve" and become "strong".

In my experience it's usually a rationalisation by those who wished to do the thing already, but now even more than apathy, there's a moral obligation to bully people, which is quite appealing if you want to do those things.
> If that's the case, perhaps `nix-env` shouldn't be mentioned as the command to use to install packages on search.nixos.org?

Yes, you should pretend this command doesn't exist.

There is no need to be using NixOS to do so.

> Oh, and the nix package manager is still unbearably slow

This doesn't match my experience so I wonder what you're doing differently. It's only slow if you're missing the cache, either local or remote, as then you need to build things locally, unlike apk and pacman which install only prebuilt packages from repositories. Nix is fundamentally different to those package managers. I find it very snappy.
I would think/hope/expect the judge has spent time reading and comprehending the case before that 15 minute meeting. At least in my very limited experience, they manage to pose fairly astute questions in such meetings.
A common problem. Ive been reclaiming my attention two ways. No push notifications except for trusted contacts via message/call.
And the other side, choosing to read a chapter on my e-reader before social media. And social media is limited to useful dev subreddits and hackernews.
I have basically no friends, so i must be pretty boring.

Ive deleted Facebook, instagram. I switched my email over to paid fastmail, use apple maps. If there was a way around apples walled garden I’d be happy (no pinephone where I am)
A crash is signficiantly better than corruption. If you can force an `unwrap` you can cause a denial of service but with corruption, all bets are off.
mtr is amazing! Available in most package repositories I've used (Ubuntu, Nix, Arch, CentOS and more), it's lightweight and the output is easy to read.

The website doesn't seem to show an example of the output, it looks something like this: (but without the X's in the IP addresses of course)

My traceroute [v0.94]
X (192.168.1.X) -> 1.1.1.1 2022-02-19T14:08:47+0100
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. _gateway 0.0% 7 12.1 9.7 7.3 12.1 2.0
2. 254.X.dynamic.X.X 0.0% 7 6.0 7.8 5.9 11.6 2.2
3. 10.X.84.X 0.0% 7 4.6 12.5 4.6 29.2 9.0
4. 10.X.219.X 0.0% 7 34.3 34.0 27.0 43.9 5.9
5. 10.X.34.X 0.0% 7 33.7 39.4 32.7 67.3 12.5
6. 10.X.160.X 0.0% 7 51.2 35.6 31.6 51.2 7.0
7. 188.X.X.X 0.0% 7 70.1 54.8 40.3 71.7 12.1
8. 172.X.X.X 0.0% 7 63.2 52.1 32.9 92.6 21.9
9. one.one.one.one 0.0% 7 40.0 44.0 38.2 61.6 8.4

Runs interactively until you kill/quit it.
> Private IP ranges are not a good thing, they are a necessary evil.

Well, no. The word "Internet" is short for "Inter-network exchange".

The original idea of the internet was to allow LANs to talk to each other. Not to give every single device on Earth its own unique key.
Posted because when I originally started using vi clones I didn't look at Vile (why do I want a 'vi like emacs'? Do I really want a 'vile' editor?), but eventually realised:

- it has all the features I want

- it's a lot faster than vim or vis (smooth behaviour with syntax highlighting even on an original RPI)

- it's still maintained (unlike elvis)
The article is reiterating a dictum of Marx: being determines consciousness. Your mental state is determined by your physical being (generally your economic circumstances) and therefore cannot be responsible for your physical being.

I'm sympathetic to the argument that it's not easy for the poor to simply adopt "healthy mindsets" and behavior patterns. I also doubt giving people money is going to be much help. We don't have good strategies to help people out of "intergenerational poverty traps".

Also, I find the argument against "victim blaming" silly. Whether or not your the circumstances of your life are your fault, they are your repsonsibility. Who else should be responsible for your life?
- Replace your smartphone: I can't completely abandon my smartphone but yes I have uninstalled lots of attention seeking apps from my phone. I use social media via web browser which is less addictive as compared to smartphone. I keep all notifications off.

- News: Yes, I have stopped reading online news.

- Free: I totally agree with this advice. I have stopped looking for freebies. I only use paid products as much as possible(even for gmail, youtube etc.). Only freebies are taken in when I am trying something new.

- Books: I have an affinity towards self help books which I am planning to cut down. I have to start looking for the solution inward as compared to outward.

- Technology: Yes and No - my job involves catching up to latest technology and implementing technology which came into market 10 years ago. I guess 10 years could be a good batch size.

- Text based browser: My niece of 5 year old is more knowledgable as compared to me when I was 5 years old. It is not that he is genetically smart or better than me. The mediums via which he is learning video, audio, pictures etc. as compared to text make him understand things faster and better. Now, whenever I have to understand a new concept I always go through video tutorial, podcast or a blog with flowcharts and diagrams. I am able to connect the dots faster.

- Stocks and house prices: This is one part where I still don't have a clarity on. I feel manipulated by the bigger forces of the market.
It's baffling that they won't at least disable previews for senders not in your contacts. Ideally they would provide a way to block certain types of senders outright. I will NEVER want to receive an iMessage from an unknown email address, but that's where all of the spam crap comes from.

Recently I was on my phone when I received an email address iMessage and the toast showed an absolutely insane link, when I opened iMessage (not even that conversation) to go delete the thread my phone screen went blank quickly 2 or 3 times in a row, something I've never seen before. I deleted the thread and turned the thing off.
Yes but AIs trained on synthetic depth maps tend to learn the oddities and noise patterns of the rendering, not actually the depth recognition part.

That's why so many AIs that work almost perfectly on the Sintel benchmark (synthetic flow and depth data) then fail to transfer over to KITTI (real images with lidar).
https://news.ycombinator.com/item?id=30396886
That's actually from the visible text of the page -- well, desktop version as I saw it; when you click through on mobile they only show half as many quotes and you need to load more to find it.
Outlook.com isn’t even a good product if you ignore the ads. Their extremely strict anti spam policies make it very hard to deliver email to their customers.
Alleged Japanese university exam cheat ‘also tried last year’
It's premature to say what's practical with fusion and what isn't. It's entirely possible that we find a way to build an efficient hydrogen fusion reactor. In which case it might not make sense to travel so far away from our planet just to collect energy from photons when that costs more than just doing the fusion ourselves. Remember it's actually more expensive to travel towards the sun than away from it (because you have to shed velocity relative to the starting velocity on Earth.) It's too arrogant to think we know the answer to that now.
Yes MacOS and Cocoa is just Nextstep. Not only are the classes called NSSomething, but there is a presentation from early 90ies of the dev environment by Steve Jobs and the Interface Builder etc look very similar to Xcode.
Making children live in deprivation because their parents had bad luck or made a mistake doesn't create meaning.

It's kind of silly that there is so much discussion of giving away money when we can't even bother to structure healthcare provision in a way that makes sense (It shouldn't be hard to get Medicaid and there shouldn't be a cliff...).
Thanks for the response.

Specific functions I would ideally like to read about:

- Organisational psychology
- Basic tennents of employment law
- Conflict resolution
- hiring (specifically post hiring evaluation as it's not always possible to get it right from just an interview)
I find it actually the other way around.

As you said, a benefit of large distributed systems is that usually its a shared responsibility, with different teams owning different services.

The exhaustion comes into place when those services are not really independent, or when the responsibility is not really shared, which in turn is just a worse version of a typical system maintained by sysadmins.

One thing that helps is bring the DevOps culture into the company, but the right way. It's not just about "oh cool we are now agile and deploy a few times a day", it's all down to shared responsibility.
I am unclear as to whether what you are saying is that they need data science to justify their projects because when they say that an AI told them that they need $X extra for the project it carries more weight than when they say they did the analysis by hand or if the data science actually provided value in this case.
OP here. Both filetypes cht and img are "images", because I remember printing them out. Cht should be somekind of chart with boxes, lines and text. Img should be an image? It's way far back so I don't trust my memory.
Without more info it’s hard to say. When I felt like this, a manager recommended I start journaling my energy. I kept a Google doc with sections for each week. In each section, there’s a bulleted list of things I did that gave me energy and a list of things I did that took energy.

Once you have a few lists some trends become clear and you can work with your manager to shift where you spend time.
I wonder how far from Linux-equivalent of Marginotes we are. Seems like a lot
That's correct: I'm not aware of any browser that syncs those.

If one started doing that it would at least initially trip a lot of bot detection systems when a cookie for one device suddenly showed up on a different device.
Nix doesn't install packages.

Nix is just an isolation and sandboxing system for build artefacts.

NixOs can install packages, but it doesn't use nix-env.
I would take the hassle of carefully constructed database migrations over a no-sql database with records in multiple unknown states from different versions requiring handling routines scattered throughout my codebase.

SQL will always win, as will the web, the potential of SQL in the browser for PWAs is incredible. It also allows alignment of mobile and web apps for local storage.

It was also the correct decision to drop WebSQL, it would have limited the api and held it back. With WASM SQL we can all use whatever sql db we want with whatever extensions we want. Row/Column oriented? Our decision (SQL.js or DuckDB right now). Need a specific full text search extension, or a custom one? Just compile it in. Have an idea for a funky CRDT based replication system? Write an extension and add it.