skysight-inc/HackerNews huggingface dataset:
my feelings exactly

elixir has spoiled me. i'm currently looking for work and I am having a hard time accepting work in pretty much any other language, because...

> I never thought I would find a language that naturally avoided almost every short term and long term issue in a code base I’ve come across in my career.

... because OF THIS EXACT THING. And I can't even communicate it to people adequately! Frankly, it took me having to deal with the problems in a million-line Ruby codebase before realizing that Elixir made pretty much every one of them impossible (or at least, much harder to do) from the very roots of its design
This is completely insane and only reinforces my belief that this technology is a net negative for society.
I would guess that’s where Dias started. His thesis probably wasn’t his first piece of academic fraud. After getting away with fraud for so long, it’s possible the fraud got bigger in the classic “I’m too smart to get caught” way.
It's definitely why TeX macros are not "\long" (i.e. they cannot span more than one paragraph) by default.
I'm not sure if it's a feature of capitalism or just human nature, but we try really hard to come up with complex solutions to simple problems. I'm not sure if this is a solution looking for an investor, or an excuse to not try and change our behavior.
> was clearly prohibited by FISA.

Doesn't seem clear to me.

https://www.csis.org/analysis/fact-sheet-section-215-usa-pat...

> Section 215 has been reviewed and renewed by Congress twice since 2006. The Supreme Court has held that phone records are not considered private or privileged information for Fourth Amendment purposes because they are voluntarily provided to telecommunications carriers for billing purposes. As of July 31, 2013, the FISC had reauthorized the program 34 times under 14 different judges. More recently, however, two federal judges came down on opposite sides of the issue. Judge Richard K. Leon of the District of Columbia District Court ruled the 215 collection program illegal, while Judge William H. Pauley of the Southern District of New York upheld the legality of the programs.
Agree, the commute is 90% of the reason I'd like to stay remote. I think I'd prefer an office in some cases, but wasting an additional 1-2 hours is unreasonable.

Here's an idea, I'd be willing to return to office if my workday was 6 hours - with no change in pay - to make up for the time I'm wasting in traffic.
Sure but you run so many iterations of it it bogs the whole thing down
Reminds me of a story, The Emperor's New Clothes (H.C. Andersen, 1837).

The emperor gets tricked into buying new extraordinary clothes. They are incredibly fancy, but invisible to anyone "who was unfit for his office, or who was unusually stupid".

The emperor didn't see them, but of course he didn't want to admit that. The whole lot of townspeople didn't see them either, but likewise, no one wanted to admit that.

In the end, the emperor goes to town, naked. Everyone praises his new clothes. Until finally a little boy utters: "But he hasn't got anything on!" and the truth unfolds.

https://andersen.sdu.dk/vaerk/hersholt/TheEmperorsNewClothes...
> his towering intellectual dishonesty in political writings

Citation needed.

You can disagree with his political opinions; he takes positions that are controversial. That's not the same as intellectual dishonesty or hustling.
Well ... yes?

I's clear that with many environmental matters, and specifically atmospheric CO2, we are at the tragedy of the commons, and have been for a long while, and strategies should be around getting us out of there.
It is the dominant use case, and a static server-rendered image is more computationally expensive to generate than a tile-based system; a static image has effectively infinite variation in center, bounds and map scale, so requires dynamic computation from a server to send a JPEG/PNG. A tile-based system can just pre-generate a couple million tiles which is exactly the strategy Protomaps uses.
Are you still running into segfaults in recent versions of Bun? If so can you file an issue or provide some same code? We try to fix these quickly
Nintendo's Backward Compatibility Problem
Is this optional? With ClearURLs, I can choose to copy the clear URL or the original URL. Sometimes we want the original URL in case the ruleset makes a mistake, debugging, or something else.
The entire financial system is built on trust and stability. When a bank is rescued its shareholders suffer (by selling at a loss, nationalization, whatever). It’s not a positive outcome for them, but rescuing a bank has big implications for systematic stability.
our vms we were running our stuff on was costing my team like 20-30k a month, we moved them to azure pay around 500ish
Only if you weren't writing code for a bigco (imo) - hooks simplified a lot of enormous components to be almost readable
Note how your whining about whataboutism effectively allows you to evade answering OP’s appeal to applying common standards for everyone, which is the only proper ethical response to hold. People who complain about whataboutism are the ones who want to get away with their hypocrisy and moral relativism whenever doing so serves their unsound political viewpoints.
This makes me want to go back to school and major in aero/astro engineering.
Literally transfer the money anywhere at this point.
In a way I feel that everything is an alternative to everything and at the same time nothing is.

As you said it all depends on the circumstances. But I don't really see Zig competing with Go. They both can do mostly the same things, but they both approach them from quite a different sides.

For example bash is being used in:

- gaming (https://github.com/JosefZIla/bash2048)

- web apps (https://github.com/avleen/bashttpd)

- networking

- CLIs

- distributed systems (https://github.com/frameable/aviary.sh)

- crypto (https://armedia.com/blog/blockchain-program-written-bash/ https://github.com/grondilu/bitcoin-bash-tools)

- systems programming (https://github.com/damphat/kv-bash)

- language tooling

Some of those make more sense than others. However we all talk about a mythical general case. For every language there are niches that are covered by it more significantly. For Go it would probably be web backend. It doesn't mean it is only suited to this one niche, it is used in everything. In general it is used there more. I don't believe that Rust sees the most use in the same niche to the same order that Go sees it.

Is Rust or Zig an alternative to php, awk or Lisp or vice versa? In practice I don't really think so.

I guess it all depends on one's definition of "alternative". I don't think that a statistical Go programmer would see Zig as a real alternative. Statistical C programmer might see it as a Go alternative, but that probably would not be a question he would ask.
I miss using React Redux.

I'm a back-end dev primarily and never had a good time writing front-end code. Redux just clicked for me. The model made perfect sense! Events from components get handled, and the state is changed. The state is then re-rendered. Beautiful.

It feels like hooks replaced a lot of what redux was doing, yet I don't have the same sense of reasoning as I did with redux.

But again, I'm mostly a back-end dev.
A potential problem with this is that you’re asking a model that completed training weeks ago about a very recent event. I would love someone with domain knowledge to read this and tell us whether it is creating a plausible narrative from obsolete information…
I tried it out months ago. It has a really limiting REPL if you’re coming from other lisps like Common Lisp or even Clojure. If your bag is interactive development, then that might be a bummer. https://github.com/carp-lang/Carp/blob/master/docs/Manual.md...
Way too much churn in React. People have products to build, they don't want to re-learn a new way to use React every year.
If you're handwriting, sure. But only for your code snippets? That's a bit weird.
Please remember the HN Guidelines:

> Please don't post insinuations about astroturfing, shilling, bots, brigading, foreign agents and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email hn@ycombinator.com and we'll look at the data.

https://news.ycombinator.com/newsguidelines.html
It's a tired tale by now but stirring shit (whatever shit wherever it happens) is literally part of the Russian playbook [1]

[1] https://en.wikipedia.org/wiki/Foundations_of_Geopolitics
My experience was different. I had product managers who tried to come up with new features in a very creative way, instead of just collecting requirements from the customers and passing those to developers.
Obviously the utilization of social networks is fundamental to social engagement in modern life. It's not silly whatsoever, it's a natural response when someone quips that a that a thing that's essentially needed but not absolutely required isn't worth complaining about.
the pace of all this is astonishing, this is amazing
Not a fan of typed Racket. It feels like grafting a type-system onto a Lisp with macros, which is, IMO, not sufficient. The syntax in particular is ugly and creates unnecessary separation between bindings and their types. Also gradual typing is little bit of worst of both worlds, coming from a heavily typed Python codebase.
> Can you elaborate on these "Widely held beliefs"

My reddit account was permanently banned for _upvoting_ vaccine hesitancy - i.e. that people shouldn't be forced to take a vaccine they don't want to take.
Foreign Malign Influence Center? They seem so hostile to free speech, I’d be surprised if they weren’t astroturfing stuff like this.

https://mobile.twitter.com/NameRedacted247/status/1628847554...
I just want to take a moment to appreciate the poetry of this:

> training it off of Reddit posts and then making a surprise pikachu face when it turns out to be an arrogant cunt
This stuff makes crypto exchange drama look like child’s play.
Can't they already build profiles using info from their IRS?
React hooks are the best reactive state management for frontend I’ve ever used.

They provide more or less the same functionality as Rxjs, but are 10 times easier to understand.

Yes, they are not perfect, but they solve a very complex problem. It’s the easiest solution I’ve ever seen.
If you know cursive, it usually reads fast and clear. I don't think it is widely taught anymore though, as it was mostly a footnote when I was in school many years ago. It is a strange choice for the article considering the rarity of cursive these days.
Realtor: "I see your interested in this area. Over here we have Amazon lane, if you buy one of those houses you'll get prime delivery for free. The next street over is Azure Fields if you buy a home there you'll get 50% off a 10 year office 365 subscription.

And down there is Ikea homes. You pay a premium but can customize it however you want. You'll also have to put it together yourself.
1 indexed arrays has me confused as hell
I copied this code into a current project and the alerts all had the correct counter.
Thanks, this should be fixed now.
"It's a big club, and you ain't in it!" - George Carlin
if you think you need more headcount to do things on cloud you're doing it wrong. Just the identity setup alone needs multiple people, and that's almost a full time job for them. On cloud you don't have to worry about that at all, and it comes with full auditibility and compliance.
Kind of a bummer that they built off of Dave's work only to sequester it away in /cockroach/pkg/util/json under BSL, rather than PR or fork with a friendlier license. Perhaps most of the changes only apply to cockroachDB, but at least a few of them could be more broadly applicable. I hope they reconsider.
If it were to ever run out, though, it's generally assumed taxpayers would make up the rest.
Wow, looks amazing! How real-world accurate is this?
The fit and finish was probably not as good irl.
They factually lost 1.8B on 21B worth of investments, this is an 8.5% loss. Unclear why there's conjecture like previous comments saying its a 25% loss.

They did the right thing by selling out now -- likely because they see more rates raising in the future which would decrease it, so they took the liquidity and then raised a bit of money to cover up that loss (raising 2.25B)
The Terra/Luna system would work very well when Luna's cap >> Terra.

The SVB system would work very well if the interest rates stay low, when they could liquidate their 10 year bonds for same value (and their start up would be more likely to turn profits as well).

These are all systems designed with assumption that turned out to be false.
It is standardized and documented if you DO document it and properly use IaC like CloudFormation or Terraform. But you can absolutely have people do ad-hoc changes in AWS that are not gonna be reproducible.

Also, all of your points apply to non-cloud systems too.
Treasuries and bonds drop in price when interest rates go up.

in 2021 (when interest rates were low) you might pay 100 cents on the dollar for a treasury that payed 2.5% interest.
In 2023, with interest rates much higher, you can no longer sell that treasury for 100 cents on the dollar. People can get much better returns by just buying recent treasury. So you need to sell your bonds lower, at say 95 cents on the dollar. That is an immediate 5% loss.

This is known as 'interest risk' and is really the only risk you have when buying safe bonds like treasuries. The risk is completely avoidable if you can hold your bonds to maturity, so it only matters in a liquidity crunch.
but what if you actually do have a room-temperature superconductor, but the entire community is dead set against considering even the possibility?

Well then you'll have no trouble demonstrating it and you will receive the accolades, the fame and the fortune that creating the first room-temperature superconductor will bring you.
How about bank failures? As in multiple banks have now failed.
US cars are bigger. EPA 404g CO2/mile

https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-t...
https://www.youtube.com/watch?v=5pfVvqLM_e4
I've worked remotely for years now (still less than 10). It's OK. It took a while to get used to.

I am not a full-time SWE, so it's better when I am coding on things. The quiet and lack of distraction is important. Even then, I turn on some music and put on headphones.

What was very useful to me when I was working in an office was the hallway conversations, and making all the random connections. You would find opportunities to learn and get involved with things, and expand your sphere of influence. There's pros and cons.

I'm not sure leadership understands the utility of quiet and isolation for coders. As well, there's the concern about "How do we know they're working" - which is a very old school way of thinking.

That old school way of thinking also goes like, "We pay you to be here 8 hours a day, so you better be here and not screwing around". But that's not really what you're being paid for in a SWE position. If you aren't meeting your KPI's (hitting deadlines, pushing good code, spreading knowledge, etc.) you'll get fired. Because you're getting paid to perform well, not just sit there working - you're paid to work well.

So - if you hire people who can hit every KPI and work 20 hours a week, who cares? You're not paying someone hourly anyways. You're paying a salaried worker.
If I have data going out on a data bus in grams/second, but someone reading that data in a different sub system reads it and thinks it is kilograms/second because that is the default unit they use then you have an issue. The actual conversion of the bits isn't the issue it is that certain systems might use different units internally and making sure those conversions are done correctly. It is much more an engineering design/human interaction issue than a computation issue.
I have not seen a better client state management than re-frame.
https://github.com/day8/re-frame

Notably the author of re-frame has been weary of hooks.

I think that’s for a good reason. The approach in re frame feels like the best way to manage state so far for a react based app. Everything that changes state flows through an event. State can only be observed through subscriptions. Side effects are isolated to their own type of event. Debugging and testing are so straight forward with these concepts.

Redux got close but it has two problems in my mind. Like hooks, it encapsulates for no good reason. Put the state in one thing that you can observe holistically before and after pure events. It also has too much boiler plate.
A bit off-topic: How is any of the code samples intuitive for a beginner to use. I understand and love the reactive principle (and it immense benefit when it comes to sizeable UIs) and high-level react (never coded it) ... but still, the sheer complexity introduced for a simple counter by these 3 evolving snippet.

This is not how I want my grandkids to code software (if the AI overlords let them).
How Dyslexia Changes in Other Languages
> Did they even have that power in 2008?

I don't remember tbh, but IndyMac (in July 08) was before Lehman (in Sept) so I think the answer is yes.
>Actually that's not a bad analogy but against your point: options are winning lottery tickets.

They are not unless you exchange them for legal _money_. Not stock.

>As long as you don't exchange them for the prize (the actual stock) you are not taxed.

Stock is not the prize - it's worth nothing alone, especially if you can't exchange it for mone. For some reason you don't tax unrealized gains on a stock you already owned, yet do the same for illiquid ones.

>When you do, you have to pay tax on the difference between how much the options cost and the value you get back.

And if you just taxed "at the end" when someone sells the stocks, you'd gain the same amount of money - difference between stock value and 0 - just in a different moment of time.

What I propose is logical and it's how it works in Poland.
Surveillance System Quietly Being Installed Throughout the US
Sequoia has $85B AUM. Despite its insanely large bet (hundreds of millions) into FTX, it didn't "bet the farm." Far from it.
Main problem with your logic is that it assumes a situation where most people are having kids. Given the situation in Scandinavia is that many people aren’t having children, you end up in a situation where everyone is being taxed to fund childcare, while most people aren’t actually taking advantage of that taxation, so those who are can actually gain more resources than they put in.
Playing out this scenario:

Will missing payrolls result in layoffs/resignations? Thus, increasing unemployment rate that the FED desires. If contagion doesn’t spread outside of tech/startup, does the government have any incentive to intervene? Maybe this is not too big to fail.

A sale seems like the most likely scenario out of this liquidity problem (insolvency). It’ll be dirt cheap and has to make sense to its buyer.

edit: Even with recent downturn in tech, there is still sizable value in having tech as banking clients.
Neither employees nor corporations have incentives to care about the quality or future of the industry, so they keep up the inflationary pressures.
I use Redux with hooks. It's fine and I prefer the hooks syntax to the `connect` stuff.
Except you'd have to know the encryption passphrase to unlock the swap partition. Only after this step can you use the stolen key to manipulate the state of trusted images.

TPM has never been a pre-requisite for secureboot nor kernel_lockdown. Infact the proposal you are speaking of sounds very exclusionary since TPM hardware is still relatively new and not ubiqitous.
Russia sending some US-provided weapons captured in Ukraine to Iran, sources say
I’m lucky to have bought a duplex starter home for like $135k, 8 years ago before prices skyrocketed. It has off street parking and a garage so we can park and charge our two electric cars. The overall level of safety is high on the immediate area I live in, I don’t worry about break-ins.

It’s in a walkable neighborhood a few blocks from a preschool and elementary school we send our kids to plus a park and little beach by the river/ocean. There are also nice neighborhood restaurants and cafe & ice cream parlor and library and community garden plus like consignment shops, etc. Tons of awesome neighborhood events around Halloween, Christmas, 4th of July, etc, plus a regular farmer’s market, etc… all this within east walking distance (even for kids).

My work is 15 minutes by car, low stress commute overall. It has a beautiful common space with a nice kitchen. It doesn’t have a stove or a dishwasher, but the fridge and microwave are super nice, beautiful stone counters with a nice dish washing sink, place for sitting and eating, making coffee via electric kettle, etc. It’s part of our communal “maker space” so we can have great conversations while eating lunch and watching our 3D prints complete. Plus very affordable snack bar, and a cafeteria within walking distance. I also have my own office and lab space which aren’t beautiful, but are nice to have.

Our house and yard are small and not super nice cosmetically, the income isn’t high for 3 kids and a spouse that has to stay home to take care of them, but every time I think about moving or taking a higher paid job, I realize how lucky this situation is. And how I could easily spend twice as much for a house only marginally better or three times as much for a larger and cosmetically better house in a non-walkable area.
>IMO it's not the task of governments to be prepared to address misinformation.

The media wasnt perfect but they were better before the fairness doctrine was repealed.
I used to suffer from this. Now I buy a box 500 holed A4 for my printer. I prefer the box.
Am I the only one who thought that class-based React components made perfect logical sense and "hooks" are way too magical and confusing? Plus I ran into this exact drawback (trying to access state from within callbacks) on a recent project. I feel like I'm taking crazy pills when I see hooks everywhere.
I pulled a class component into a greenfield project just last week. It worked without a hitch.

You can still use React the way you used it 10 years ago.
> Ron DeSantis bans books and he is just "anti-woke"

Although I don't necessarily disagree with you in principal here, it's worth noting that the precedent that allows him to ban LGBT books is the original banning of prayer in schools. The fact that school attendance is actually compulsory takes a little of the bite off of your argument, though - social media participation is entirely voluntary.
When consulting for a seed funded startup, I suggested they buy their own servers and colocate them. It could save them almost 100k a year.

Everyone looked at me like an alien speaking a different language, lol. Then was politely dismissed, even though I'm experienced in running hardware.

AWS, GCP, Azure, really managed to expertly pull off the greatest heist of all time. They're useful for sure, but somehow they've gotten everyone to drink this potent marketing kool-aid that if you're not using them then you're not serious about success. So cringe.
They used to use what were basically shotgun shells with no pellets to start airplane engines -- it was called a Coffman engine starter (it was actually used as a plot device in the movie Flight of the Phoenix).

https://en.wikipedia.org/wiki/Coffman_engine_starter
You misunderstand me - I’m talking about my original problem of an unused variable that happened due to me commenting out something for example. Temporarily unused variable if you will.

Without recursively commenting out any further variable that have also become unused by my action (which I hope we can all agree is extreme tedious and error prone), I am left with no choice but assigning it to _, which as you mentioned already have a normal usage, making it later very hard to discern which is just a temporarily unused variable, or a deliberately ignored one. The very “feature” can cause bugs, besides being annoying as hell.