skysight-inc/HackerNews huggingface dataset:
> This is why I'm happy to see the pipe syntax proposal, it avoids unnecessary temporary variables while simultaneously aiding readability.

The thing is I don't think it's all that much more readable. No matter which syntax you use, there's still the same number of "things" going on in a single statement.

I do have to admit I never worked with a language that uses |>, so I'm sure that with increased familiarly with this it would become "more readable" to me, but one has to wonder: just how many calling syntaxes does one language have to support? More syntax also means more potential for confusion, more ways to abuse the language/feature, more "individual programming styles", more argueing over "should we write it like this or that?", more overhead in deciding how to write something, harder to implement the language and write tooling for it, and things like that.

There is always a trade-off involved. The question to ask isn't "would this be helpful in some scenarios?" because the answer to that is always "yes" for practically any language feature. The question to ask "is this useful enough to warrant the downsides of extra syntax?" I'm not so sure that it is, as it doesn't really allow me to do anything new that I couldn't do before as far as I can see. It just allows me to make things that are already too complex a bit more readable (arguably).
I'm going to guess not very expressive. Zig refuses to have operator overloading because it might be used to call a function that's more expensive than you'd guess so the idea that they'd let types enforce all that much seems unlikely.
I run my own mail server + spam filter, so I'll chime in. I have seen a high uptick in spam making it to my inbox in the last two weeks. I primarily rely on Spamhaus blocklists + a Bayesian filter trained on old spam.

The uptick I have seen is going from 0-2 spams making it to my inbox to 10-20 spams making it to my inbox. When this has happened in the past, I have assumed it is spammers bypassing blocklists by finding new hosts, or by spammers finding a clever way to beat the filter. Usually after these big upticks, they drop off again suddenly, which makes me believe that it was a blocklist bypass and not a filter bypass (my filter is pretty weak and hasn't been retrained/updated in many years.)
Sorry, I messed up the story in my original post. It was about the vice-president nomination.
I'd argue it's not a true action flick - it's really a spy thriller in disguise. Great flick though! "One ping..." Spy Games is another underrated espionage thriller.
I think it really depends on the language.

In languages that more easily support repl-driven development (e.g. Clojure), I think this is less of an issue. If you have a handful of pure functions, you can quickly and easily execute them via the repl, so you get a lot of clarity as to what those intermediate values look like even if the functions are ultimately used in a more point-free style.

But on the other hand, this would be a nightmare in C# (what I use in my day job). Sure, you can execute arbitrary expressions while debugging C#, but IMO you can't really achieve the same clarity. I'd rather see intermediate values like you suggest since it's easier while debugging, vs a bunch of nested function calls.
Thanks for sharing this this, I'm actually going through a similar situation and leaving a bit of an abusive C-level boss for much greener pastures, and it really hits home, makes me feel I'm not alone.

I was actually terrified of moving on for the longest time, as there was a lot of impostor-syndrome from all the micromanagement, but now I'm actually moving to a higher-paying job, over twice as much and much more in line with Silicon Valley payment. And yes: the previous job paid terribly even for European standards: 80k/year. I'm finding that bad salaries walks hand in hand with bad culture.
From my experience working on Schemepunk, Gerbil has a lot of interesting functionality but it's also very immature. Frequently modules will not quite match their documentation, or a simple mistake will cause a segfault. I wouldn't feel comfortable using it in production for something internet-facing.
Consider the example code here in Hack,

const weather = `https://api.weather.gov/gridpoints/TOP/31,80/forecast`
|> await fetch(%)
|> await %.json()
|> %.properties.periods[0]

In F# it would be much more verbose,

const weather = `https://api.weather.gov/gridpoints/TOP/31,80/forecast`
|> fetch
|> await
|> json
|> await
|> x => x.properties.periods[0]
// or |> { properties : { periods: [result] } } => result

Hack will also requires less key strikes for calling functions that have multiple augments.
Thanks for taking the time to investigate and explain the problem. I understand you're not at fault but the maintainers upstream, yet I can't help but be disappointed. Removing MathML doesn't help anyone, the user just has a worse experience; it's caused by the same brainrot as with Gnome.
In this context, I think strong means competent.
I hope Rust can get higher kinded types through higher ranked trait bounds but for types, not just lifetimes, which would be equivalent to HKTs in other languages. I don't believe generic associated types are fully equivalent to HKTs necessarily but type level HRTBs should fill that gap.

And I'm also looking forward to that keyword generics initiative, hopefully that team can look at how OCaml implemented their algebraic effects system, not sure if it's totally comparable however.
FAANG engineers are still labor, they're just well paid labor.

We don't have an AMA or Bar association gatekeeping entry, even.
Thanks for sharing this, it resonates a lot with me. I've seen too many friends sucked in bad relationships, jobs or places (apartments, cities). Despite having people around telling them about all the red flags, they keep going with it, only to realise later down the road it was bad for them. Change can feel scary but is sometimes necessary.

I've been there as well and I'm thankful to the people who shared, sometimes hard to swallow, truths that helped me see clearer. That being said, the grass is not always greener elsewhere. Consult people around you and listen to their opinions, an outside perspective can give you great insight to your current situation. Sometimes the change needed is within yourself. Also, if you see a firend in that situation, be there for them and be honest, people get stuck in this and it can take them into really dark places.

Glad you got out and found something better OP. Don't resent past experiences, it's a waste of the time you saved. Take it as a learning experience, we all do mistakes.
The vast majority of Squad servers are hosted by the community.
Didn't have a choice. For my particular niche skillset, the work dried up, and the company I was at pushed me to start doing cloud stuff.

So I started learning cloud stuff, and eventually someone came along and said, "Hey we like your mix of skills which include some cloud stuff". That job ended up being all cloud stuff, which required a massive amount of learning to get up to speed.
no, i totally got the line ending joke. i'm not an ID10T
GP was saying health insurance is cheaper than housing in MCOL areas. Implying if you can pay to live somewhere nice with no job, you can pay for health insurance too.

Regardless, there's subsidies if you don't have income, and it's just based on income; there's no requirement to seek income.

I'm near seattle, and my marketplace place for 2 adults around 40 and 1 child was around $1,200; unsubsidized.
"In your scenario, there are definitely downsides to providing this information by talking to cops: you can get implicated and even convicted of the crime"

Or you can be responsible for the death of a child. With kidnapping and possible sex crimes, it can be a matter of minutes between life and death. And if I have seen something and can pass that information directly to the officer investigating the case, then I will do it, instead of taking hours preparing my legal defenses risking it all.

"It's of course your choice to risk it and speak to the police without a lawyer."

And I did talk to the police without a lawyer in a couple of situations. As a wittness and also as accused (actually a bit like Duane describes, meaning they did not tell me that, asking me only wittness questions, but I knew).

"This is not at all what Duane claims."

No it is not, but this is what his advice implies for me, if it means I should not help finding a missing child without contacting a lawyer first.

I know that people have been wrongfully thrown in jail and worse. But overgeneralisation is never helpful. So yes, if there is time (and money!), a lawyer is helpful, but lawyers can make misstakes too and if it is a matter of life and death and minutes, I take those chances to potentially save someone and I would be surprised, if you wouldn't, if you come into such a situation in reality.
no they want a state where their say matters. You're proving their point
The initial mention of it in this thread was not in a legal context.
How grandfathered? I had a customer recently whose small business was "grandfathered" into G Suite's free plan... until Google started choking back hard on what features were available.. The free plan still exists but they were essentially forced into buying a subscription.
Good for you for moving on. Good luck in your new endeavor, and take the time you need to heal from your past trauma.
People had a rule back then that you didn't talk about sex, politics, or religion. Now sex and politics in terms of gender identity, sexual orientation and all the other flavors of identity politics are front and center in a lot of people's minds on a day to day basis.
> (If your governance is so bad that half the state tries to leave, you're doing something wrong.)" -- but if half the population of the state really wants change, then it should be able to do so with normal democratic functions, right?

I see we're still getting mileage out of the whole "population/land" duality, huh? The combined population of all the counties that have voted to leave so far is 205,000 (the red counties, not the grey and green, which have not voted so far), which, assuming the entire population voted to leave, comes out to just 5% of the population, not 50%. For the record, that's not even 50% the population of Multnomah County (the county that has Portland in it).

To be clear -- I have no particular opinion either way about whether counties should be able to switch states like free electrons in metal. In fact, I might lean towards it. I just don't see the need to repeatedly use the lamest, laziest, and cheapest rhetorical techniques in these arguments. For a group that loves to talk about virtue signaling, they sure like to "arguing-in-bad-faith" signal.
"And those bureaucrats in the state capital can stick that in their pipes and smoke it!" ―Charles Montgomery Burns

Yup. In every state/province there is some corner that thinks it would be better off leaving for greener pastures. They love to scream about it when it isn't possible. Alberta wants to leave Canada atm. There was a move in California/Oregon/Washington to join Canada a couple decades ago. Prior to that, Quebec wanted out. And Texans love to talk about how it can leave the US if it feels like it. When push comes to shove it rarely ever happens. The impact on pensions, health care and police coverage of such moves always wins out over angry people angry because everyone lese keeps electing the wrong people.
They have an unfortunately large fraction of reality available to choose from...
Customers don't care. Due to Google's behaviors I assume some or many people do not agree with the sentiment "no one at Google wants spam."
I think trade-in offers were wildly subsidized as part of marketing/sales efforts over the past year or two. Plus there was likely a very strong secondary market taking everything they could get.

I've noticed similar dives in trade-in value from the Google Store as well. Across the board it seems that trade-in offers from the major vendors are about 50% of what they were just 3mo ago.

Very small sample size, but it's interesting other people are noticing this as well. I wonder if we're not seeing a similar impact as we are seeing with the used car market bubble popping.
At work I usually write C++17 but I recently just had to work on a project in C89. Going back 28 years is painful. Not to mention the instant reduction in productivity, but it made me seriously hate my job.
Rarest and most expensive Nintendo video games ever sold
Ask HN: How do you monitor a web app with lots of client-side code
Monitoring APIs or web servers is pretty easy. Poll them, check the payload/headers/HTTP codes for certain properties, and then alert / metric the results.

For a React app, or other SPA, what's a good way of checking the web app (FE + API) is behaving correctly? Downloading a js bundle from a web server is not actually _running_ it.

I know that "behaving correctly" is a bit vague, so to be more precise: I might want to collect metrics for page load times, error rates, etc, in the SPA and then ship these to a back-end logging/metrics db as SLIs and then build alerts and dashboards off that to track error budgets and SLO conformance.

I could use Cypress.io, or Playwright.dev, but these are really headless browser testing tools, and are maybe a bit heavyweight for this use case. I'm wondering if there a better option here? Is it Sentry.io (although this also feels quite heavy)?

FOSS tools would be preferable -- do you know any?
In my inbox of course.
They say they looked into having timers or switches installed but that it didn't prove feasible. I don't think they tried very hard.

There's still a physical wire running through the wall to the light. You put a manual dimmer switch downstream of the smart controller's output and it will just work like a regular dimmer switch. Any electrician can do it. Even in the worst case scenario where they need to run some additional wiring to put the switch in an appropriate location, you're talking maybe $400 for a few hours of labor per room worst case scenario. More realistically with a bulk rate it's probably closer to $100 per room. I don't know how many rooms this building has, but it's probably in the dozens, certainly not thousands. Again, worst case scenario you don't need to add switches for every room, it's okay if some of the smaller rooms with fewer lights stay on, and work can be done progressively to keep costs down and minimize disruptions. I wouldn't call it cheap or quick, but it would definitely be much less than $1.2 Million and 2 years.
yooo thanks! Got some exciting updates shipping super soon (e.g., search, email newsletter, auto-freshing a new list of papers on every page refresh, etc.)
I think we're entering that last cycle again, where people are inventing trivial hardships for themselves, because media teaches them that only a life with some type of adversity is worth living.

I don't think that's even remotely what the quote means. You seem to be taking it as "weak men make up hardships" as opposed to "weakness leads to a broken down system and future suffering for society".

For example, one might say that weakness in facing climate change will lead to hardship in the future. Another example would be that weakness in facing fascism allows it to rise and wreak havoc on society. Coincidentally, that quote is super popular among fascist-leaning types.
This is probably not a popular opinion, but I think a bigger state like California needs to be split up. Oregon I'm not so sure. Not for political reasons, but rather for management. If California was two states, instead of one, I think it would be significantly easier to manage.

As a state beneath the federal government, California is almost like its own country. With the same hold true for Texas, possibly.
> "we forgive them for trying if they are not Apple"

> "We criticize every company"

Oh, we walked that one back too
The Nitpicks of Power, Part I: Exploding Forges
An Account of Extreme Social Withdrawal (Hikikomori) in Young People
West Virginia seceded from a state that seceded (Virginia), so those were kinda special circumstances.

As for the Dakotas & Carolinas, those both entered the US as separate states AFAIK, rather than separating after they were in the US.
I don't think North/South Carolina/Dakota are because of secession movements in a pre-existing unity, though.
Eastern Europe before and after communism fell.
(Disclaimer: USA-centric advise)

I advocate the formal education route here. Figure out the least expensive path to getting yourself a technical undergrad degree. Meaning a BS in Engineering or Computer Science, from an ABET-accredited university.

For my BigTechCo, you are not going to get hired without a technical degree. Any Engineering degree with some Computer Science emphasis will work, or straight Computer Science. This assumes a software engineering role. There are other technical disciplines, of course, but you are likely to need a graduate degree. An internship will be the best route to getting hired full time.

Your age will not matter. One of the best engineers I worked joined my company as a mid-30's intern after finishing his second undergrad. His first undergrad was non-technical, second one was technical. He also had a healthy GitHub and spent a lot of time doing hobbyist programming before taking the plunge into formal education.

If nothing else, it sounds like you have a lot of experience in what not to do. And for school, you should have a serious advantage on your fellow students in terms of time management and social skills.
Perhaps the interview process is not as good as they think.
Sure. I was 32 and freshly married, working as a field sales rep for an optical inspection equipment oem and programming for fun in my off time. Hated the day job, loved the hobby, and when the oem was acquired I took the opportunity to bail out and look for a full time software gig. It was a month or so before Christmas, 1992, and my wife was pregnant with our first child, and when I told her I wanted to leave the sales position and write software for a living she said yes instantly. It was a very good snap decision on her part :).
Didn't Einstein say something like the reason he worked out General Relativity first was that he stayed with the problem longer rather than that we was actually smarter than all the others in the field?

And there is Edison's aphorism, something like "Invention is 1% inspiration, 99% perspiration."

There is plenty to do for those who are not the absolute smartest.
> having to be "present" with nothing to actually do but make some some BS stuff to appear busy.

In the past I've used these kinds of situations for personal development. Linkedin learning, oreily, certifications, youtube tech talks etc.

No one has complained about it yet. /shrug
Or this [1]. A bunch of gauche.* modules are not listed there.

[1] http://practical-scheme.net/gauche/man/gauche-refe/Module-In...
There are several Google Groups that I subscribe to and this regularly happens:

A real person who I know in real life, whose messages I care about posts to Google Group from a Gmail account, and the message ends up in my own Gmail spam filter.

Like - the message didn't even leave the Google infrastructure and it got tagged as spam?!
Dawg,

Your brain is in a way like any other organ in your body. When the other organs don't work you go see a doctor.

We need to normalize talking about mental health. Instead of making it a big deal and stigmatizing it.

We should be able to casually say "I went to the therapist yesterday and it was great, and then I got some eggs from the supermarket and then I made myself a sandwich".

We spend too much time worrying about what other people think.
> Between the discretionary lifestyle demands of vegetarians, vegans, non-glutens, non-porks, non-drinkers, anti-smokers, non-problematics, non-outdoorsies, hover-parents, maskers, and the increasingly insane milenial need to make all their experiences on-brand and instagrammabl

This is a weird way to project your insecurities.
Google needs to do something about google forms/drive spam and other bypasses
Jane Street did outreaches at MIT (dunno which other schools), wrote blog-like things, used an exotic language, paid a lot of money (word gets around), etc.
Comments like yours are one of the reasons I love HN. Thank you!
Sonos and Spotify both do more to make this possible than Apple is doing. I don't have to leave Apple to take advantage of these, but I don't have to stay or continue to buy their devices either. Overall, my confidence in the brand is just greatly reduced enough to seek out and evaluate alternatives next time I go looking for a device solution when previously my faith was high enough to not look beyond Apple. Heck, I could hack something together myself and get something more integrated.

You can look at it as others catching up or Apple slowing down, but the bottom line is that Apple isn't ahead of the pack anymore on this. I think they've focused so much on supply chain logistics and hardware that they've completely lost sight of the core day-to-day software user experience that originally created that die-hard Apple loyalty.
American bubble. US people don’t realise the world runs on Android.
You are not botching my idea but Fred Brooks idea:

*Programming managers have long recognized wide productivity variations between good programmers and poor ones. But the actual measured magnitudes have astounded all of us. In one of their studies, Sackman, Erikson, and Grant were measuring perfor- mances of a group of experienced programmers. Within just this group the ratios between best and worst performances averaged about 10:1 on productivity measurements and an amazing 5:1 on program speed and space measurements! In short the $20,000/year programmer may well be 10 times as productive as the $10,000/year one. The converse may be true, too. The data showed no correlation whatsoever between experience and per- formance. (I doubt if that is universally true.)*
I think the issue with Oregon is the one that we see nationwide. Major cities are dictating policy for everyone else. It's almost like the fear of the founders is coming true: Major cities are deciding elections, and everyone else is kind of ignored.

Kind of like the gas stove issue...
Why compare NYC and Berlin instead of NYC and London, or Houston and Berlin?
The results are slightly different but where they overlap the summary/preview/description doesn't seem radically different to me. But I'm not familiar with the subject so maybe I'm not seeing it the way you do. Bing has more images/thumbnails from some of the results so maybe that's it?
In other words those counties represent ~10% of Oregon's population.
Sorry for sidetracking, but is "... until they're it in" idiomatic?

Because I love the phrase, but I'm not a native speaker, and unable to coax google into clearing this up.

Would you use this in written form only or when speaking too?

(third opinions are also very welcome!)
Great minds think alike! I'll shoot you an email
To expand on this how often do you have a conversation with someone where you evaluate or recommend search engines? I'm going to assume never because that would be both weird and boring.