1,795 karma · joined Nov 5, 2012 (14y ago) · 512 submissions
comment 1y ago · link · parent
We may deride the bloviations of the folks who are "all talk and no code" and how they seemingly ride the coattails of folks actually in the trenches, but honestly a lot of people do great work and sorta expect it to get "naturally noticed" in the corporate environment.
Not saying ditch your IDE and just throw around buzzwords in boring could've-been-an-email "sync meetings", but don't forget that demonstrating the value you have is also important and often neglected skill.
If a clever PR hotfix merges in the forest, does it make a sound?
I am telling on myself here, in a way, as this article hit hard and with great serendipity: I was part of a RIF at a well-known company this very morning, and I most definitely did not advocate very well for myself despite really holding the projects I was on together technically in the background / shadows.
comment 1y ago · link · parent
In other words, intrusive is like this:
struct T : NodeType<T> { // T data NodeType<T> next, prev; };
whereas non-intrusive data structures the T's are not the nodes themselves
struct NodeType<T> { NodeType<T> next, prev; T t; };
Doing non-intrusive means you need to own the lifecycle of the nodes (and make them copyable, move-constructible, or some combo thereof). Intrusive means that the caller can manage the nodes' lifecycles and just say "here's a node, I promise it'll live while the list is still alive" and have that node be on the stack, heap, static, etc.
comment 1y ago · link · parent
I have been ghosted so heavily from recruiters TWICE at Google when I was literally telling them "Hey I have offers from $x and $y and I need to decide in 2 weeks. Is there any chance I can get an offer from Google beforehand?" only to receive complete silence and had to go with a different offer. 1-2 months later, the recruiter gets back to me with an offer, I have to decline.
The most hilarious part about it: after I decline, I get interviewed by some team at G that tries to figure out why people declined. I guess they're expecting some teachable moment, some nuance and insight. My answer both times started with "lemme show you an email thread that is very one-sided..."
comment 1y ago · link · parent
```C++ struct MyType : Node<MyType> { Node<MyType> next, prev; // rest of data }; ```
I usually reach for Boost.Intrusive when I need this [0].
[0] https://www.boost.org/doc/libs/1_88_0/doc/html/intrusive/usa...
comment 1y ago · link · parent
Concretely, there are a lot of things that are getting more "NOC-y" (network-on-chip). I'm not an OS expert, but deal with a lot of forthcoming features from hardware vendors at my current role. Most are abstracted as some sorta PCI device that does a little "mailbox protocol" to get some values (perhaps directly, perhaps read out of memory upon success). Examples are HSMP from AMD and OOBMSM from Intel. In both, the OS doesn't directly configure a setting, but asks some other chunk of code (provided by the CPU vendor) to configure the setting. Mothy's argument is that that is an architectural failure, and we should create OSes that can deal with this NOC-y heterogeneous architecture.
Even if one disagrees with Mothy's premise, this is a banger of a talk, well worth watching and easy to understand.
[0] https://www.usenix.org/conference/atc21/presentation/fri-key...
comment 1y ago · link · parent
[0] https://github.com/ClockworkLabs/SpacetimeDB?tab=License-1-o...
comment 1y ago · link · parent
I asked it to summarize this thread [0] and it just said "that thread is about the monthly "who's hiring"' on HN", not even close.
comment 1y ago · link · parent
I have seen some heinously long cmdline strings, but nothing close to that. Usually when invocations have creeped up into the O(1k) character limit at places I've worked, I've implemented a "yaml as cmdline args" option to just pass a config file instead.
Have you seen scenarios where this is actually limiting?
comment 1y ago · link · parent
I totally agree that if one goes all in for their D&D hobby, meeting women directly is not likely, but it's totally possible to connect to other people via that hobby (e.g. to the dungeon master's single female friend, etc).
I guess the point I was trying to make is don't singular focus on "finding a girlfriend" and then contort oneself into doing things they don't find enjoyable for extended periods (e.g. cooking classes, volunteering with pets, salsa dancing. Those are great hobbies, but too often my awkward male friends begrudgingly do those even though they hate them because they think "that's where the women are").
comment 1y ago · link · parent
In general, I think any guy trying to do this is not going to find what they want.
I can only give my own (likely more applicable) advice to other straight men on here (which I suspect is a very high % of the users), but I would ignore much of this advice and do the following:
* Live your own life to the fullest. Don't even worry about dating / the apps. Just do activities you love and develop a passion (or more than one!). The apps are basically designed to mess with your psychology and the yield of your time spent on them is very low unless you are extremely attractive (not me lol!). Start rock climbing and go to a bunch of meetups for it, meet new people, and be the one who asks people (men and women) to meet up for climbing. Copy-paste this onto whatever activity you want (I've done it with skiing, climbing, mountain biking, and sailing). You will eventually meet a partner through these group activities and you won't waste any time trying to "date", and often you'll be able to vet your partner in a less intense "setting" than a date. For example, you can talk about what money "means" to each of you while walking to the crag and realize that although she might be attractive, you'll probably just fight about money all the time.
* As part of a full life, maintain your friendships. You need to be able to lean on your friendships to fulfill specific needs that your partner shouldn't need to or be able to do. I talk about code with my coding friends, not a girlfriend. I nerd out about sailing with my crewmates, not a girlfriend. I talk about espresso with a bunch of deep-pocketed coffee nerds on discord, not a girlfriend. Think of spending time with friends in the same way you do the gym: it might be tough to fit in on any single "session", but if you stop doing it after a while, you'll find yourself really behind the 8 ball. If you think you can't afford the time, I can almost assure you that the time spent in the company of friends will so vastly reduce your mental rumination / anxiety / depression you fight when you spend so much time alone that the "friend time" will more than "pay" for itself.
* Know what you want, and communicate it clearly. If you're looking for something low-key, be clear to your partner. If you are angling to get serious and move in faster, be clear about that. Most of the friction in relationships comes from when each individual is on different pages about the trajectory of where they want things to go.
* Talk about money. I see so many couples don't do this and perpetually fight over things that come down to "what does money mean to you?". For example, if your partner gets a tax refund and thinks "oh boy! let me buy a new computer" while you think "give me my interest-free loan back, US government, so I can shove this into an index fund and have greater financial security to tell my employer to kick rocks if things get too terrible", you're gonna have problems reconciling that unless you're very explicit.
* Table stakes are similar to the article though: stay fit, eat well, avoid mental numbing mechanism and substance abuse
comment 1y ago · link · parent
Often times these companies might have an idea for how to save power / tweak cores in a weird way on a CPU, but have a chicken-and-egg problem with not knowing exactly how much it'll reduce COGS. Not knowing that and having to negotiate with a vendor (who will often want to charge more for the feature) means that it's difficult to do unless it's an obvious slam-dunk.
By bringing chip development in-house, adding new features skews more towards a political decision that requires less rigorous financial calculations (e.g. "how much power will this save relative to the vendor_cost++ and our own developer cost?" for 3rd-party chips). It basically allows these cloud providers to ship new features more quickly in their CPUs.
comment 1y ago · link · parent
I describe it like "an eager intern who can summarize a 20-min web search session instantly, but ultimately has insufficient insight to actually help you". (Note to current interns: I'm mostly describing myself some years ago; you may be fantastic so don't take it personally!)
Most of my interactions with it via text prompt or builtin code suggestions go like this:
1. Me: I want to do X in C++. Show me how to do it only using stdlib components (no external libraries).
2. LLM: Gladly! Here is solution X
3. Me: Remove the undefined behavior from foo() and fix the methods that call it
4. LLM: Sure! Here it is (produces solution X again)
5. Me: No you need to remove the use of uninitialized variables as the out parameters.
6. LLM: Oh certainly! Here is the correct solution (produces a completely different solution that also has issues)
7. Me: No go back to the first one
etc
For the ones that suggest code, it can at least suggest some very simple boilerplate very easily (e.g. gtest and gmock stuff for C++), but asking it to do anything more significant is a real gamble. Often I end up spending more time scrutinizing the suggested code than writing a version of it myself.
comment 1y ago · link · parent
comment 1y ago · link · parent
Though I love a good whiteboard sess, a tablet with a stylus and one of many "interactive whiteboard applications" can also be pretty useful. Hard to have a whiteboard session good enough to compensate for the grueling traffic of most HCOL regions a good portion of us likely work in.
comment 1y ago · link · parent
Oxide and Friends did a great episode on it at the time [1].
[0] https://www.cockroachlabs.com/docs/stable/licensing-faqs
[1] https://oxide-and-friends.transistor.fm/episodes/whither-coc...
comment 1y ago · link · parent
Related is improving airflow and vacuuming regularly so that these particles don't accumulate as much.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
We already went over how this doesn't work more than a year ago with the $1 Tahoe [0]. Spoiler: no car changed hands based on that "agreement".
[0] https://jalopnik.com/chevrolet-dealer-ai-help-chatbot-goes-r...
comment 1y ago · link · parent
It'll take ~6 months or so, but they will send you a confirmation email.
comment 1y ago · link · parent
comment 1y ago · link · parent
I don't have tiktok, but I used to watch a lot of YouTube suggestions. I finally took the app off my devices and used a suggestion-blocking browser extension. I could only find stuff that I actively searched for. After a few months, I took a peek at suggestions and it was actually great: pretty much only videos I was legitimately interested in, steering me towards useful tiny channels, etc. I still keep it blocked, but check it once daily just in case.
The problem is that algorithmic feeds want you to just keep watching and will absolutely probe all of your "weaknesses" to keep doing so. Instead of trying to support you, it says "how can we break this guy/girl down so s/he keeps watching...".
Until the feeds say "I'm sorry Dave, I can't serve you another video. You should go outside and enjoy the day", then it should be treated more as a weapon aimed at one's brain by a billion or trillion-dollar corporation than a tool.
comment 1y ago · link · parent
I'm no language expert, but I genuinely don't understand why it wouldn't have been better to build some equivalent DSL in Haskell to do this given the similar lazy nature of the language. DSL for most things, then open the hood and do actual Haskell for crazier use cases. I get that Nix started before Haskell became less academic and slightly more usable in the mainstream and has built up momentum, but the lack of tooling for understanding what is going wrong when incrementally building up a config is very confusing.
I'd be curious if anyone has go to or from NixOS compared to declarative distros compared to the atomic distros like ublue [0] and has any thoughts. I'm a bit split about what to move to next (though my >5 year Tumbleweed install on most of my machines is holding up no problem).