skysight-inc/HackerNews huggingface dataset:
By reputation, adoption, type of changes being made (e.g. "implemented correct alphabetical ordering with proper normalization" is less mature than "updated to latest Unicode standard, Cypro-Minoan is now allowed"), update schedules (e.g. once or twice a year right after someone opens an infrequent issue vs. once or twice a year during the maintainer's vacations), type of issues that remain open (e.g. "crashes if the description is too long", answer "use a shorter description", is less mature than "bad-looking text wrapping if the description is too long", answer "default column widths are compact, but you can customize them").
Shelter in CPI may cover rents instead of just home value?

> Shelter, the service the housing units provide, is the relevant consumption item for the CPI. The cost of shelter for renter- occupied housing is rent. For an owner-occupied unit, the cost of shelter is the implicit rent that owner occupants would have to pay if they were renting their homes.

https://www.bls.gov/cpi/factsheets/owners-equivalent-rent-an...
Gasoline is over 50% in price, and car prices are up 30%.

Shelter isn't even 3rd place.
I’m unreasonably against both subscriptions and cars having modems.
Letting people live closer to work, shopping, childcare, etc. would greatly reduce the need for gasoline.

Also it would greatly reduce air pollution that is directly harmful to humans, since the majority of that comes from tire and brake dust. And for areas near water, greatly reduce microplastics, as tires are the greatest source of that. And on the pacific, it would allow salmon populations to increase, as a tire softener has been found to degrade into a potent neurotoxin in water that is severely limiting salmon populations.

In short: we need to remove car dependency from our land use planning ASAP. And that's not even considering the climate implications...
I had a two week pilgrimage to Mt Athos on Summer 2019. It was literally a trip to another world. We wondered around the peninsula and visited few monasteries and met wonderful people living there. Happy to see this on HN. If anyone has any questions I'm more than happy to answer those.

Btw, there's a great documentary about Mt. Athos that I think really expresses the ehtos of the place: https://youtu.be/U5pwfLRI-R8
I'll then go with SQL. It's been around forever and evolves slowly and stably.

You (almost) never need any frameworks, imports, boilerplate or glue, everything that works just works.

And according to Star Trek Discovery, it will still be around in 250 years. Sadly though, SQL injections will still be a thing. https://www.youtube.com/watch?v=A7B_ZWQFsYI
Used cars are up over 30% in these numbers. That's bananas.

With the price of cars going nuts, that could be good for EVs.
Maybe this is more common than I realize, but I was surprised they used Mechanical Turk to find subjects.
Would having 99% of the country immune to conspiracy theories somehow suddenly make gore and crazy political ramblings friendly to advertisers?
So your own research lazy
> sends a market signal to producers and traders that the US is hostile towards the industry, leading the producers to cut production and maintain their profits.

Great! Puts us one step closer to slowing global warming and giving us a chance to turn this boat around.

Rising oil prices makes the market naturally move away, which is really really good in the long run.
What's the "normal" way to lay off a group of people of that size? Do companies normally schedule one on one meetings in this case?
Fat lot of good that would be for anyone who can't see the picture for any reason. It should be stated in the text of the article.
> What I really missed was generic map-function-over-slice

Me too, and mapping a map, a channel, etc. With generics, things will be easier, we can have iterators, even lazy iterators, but there will still be no type inference in lambdas for arguments and return values and no easy currying, so things will still be awkward, but better.

> Keyword arguments

You can kind of do that by passing a struct as an argument, and represent the optionalness by having a pointer in the struct. That's still awkward, you can't easily make a pointer to an integer or string literal, you need a separate helper function for each primitive type. Overall it could be nicer.

> Annoying limitations on const

I think the Go constants are good, the fact that you can perform calculations on them in compile time also. But I wish there was some way to express immutability (and non-nilability) in the language. Programs are simpler with less moving parts.

> 14KLOC -> 21KLOC

That's to be expected, Go could be nicer if it was more concise, obviously that's a hard thing to balance, because you can end up with too obscure code, I just wish that there were some small improvements from time to time.

> Absence of sum/discriminated-union types

Yeah, I refer to it as Algebraic Data Types, where you can for example have your tree type to be a Node with children or a Leaf with value. And a function can accept a Tree that can be one of these. IIRC, the Go people claim that you can do kind of something like this with interfaces, but it's not very nice to use interfaces in this way and has some drawbacks.

> Catchable exceptions require silly contortions

I don't like exceptions, they disrupt the flow of the program - any function call could "return early", so you need to be always careful and account for that possibility. In C++ this was solved with RAAI, and it was a source of so many bugs that some companies just disallow exceptions internally.

> Aesthetic doubt

Yeah, it's there, some things in Go just come out ugly.

> Absence of iterators

Yes. Hopefully generics will enable implementing them.
I went ahead and blogged about the workshop, thanks y'all for the inspiration :)

https://dev.to/dnsmichi/efficient-devsecops-pipelines-in-a-c...

If you learn a new trick or gem, please blog and share with our community :-)

Overview of the topics inside the workshop:

- Introduction: CI/CD meets Dev, Sec and Ops

- CI/CD: Terminology and first steps

- Analyse & Identify

- Learn using the GitLab CI Pipeline Exporter to monitor the exercise project throughout the workshop.

- Efficiency actions

- Config Efficiency: CI/CD Variables in variables, job templates (YAML anchors, extends), includes (local, remote), rules and conditions (if, dynamic variables, conditional includes), !reference tags (script, rules), maintain own CI/CD templates (include templates, override config values), parent-child pipelines, multi project pipelines, better error messages to fix failures fast

- Resource Use Efficiency: Identification, max pipeline duration analysis, fail fast with stages grouping, fail fast with async needs, analyse blocking stages pipeline (solution with needs), matrix builds for parallel execution (pratice: combine matrix and extends, combine matrix and !reference), extends merge strategies (with and without !reference)

- CI/CD Infrastructure Efficiency: Optimization ideas, custom build images, optimize builds with C++ as example, GitLab runner resource analysis (sharing, tags, external dependencies, Kubernetes), local runner exercise, resource groups, storage usage analysis, caching (Python dependency exercise, including when:always on failed jobs)

- Auto-scaling: Overview, AWS auto-scaling with GitLab Runner with Terraform, insights into Spot Runners on AWS Graviton

- Group discussion

- Deployment Strategies: IaC, GitOps, Terraform, Kubernetes, registries

- Security: Secrets in CI/CD variables, Hashicorp Vault, secrets scanning, vulnerability scanning

- Observability: CI/CD Runner monitoring, SLOs, quality gates, CI/CD Tracing

- More efficiency ideas: Auto DevOps, Fast vs Resources, Conclusion and tips
Good one! One thing that never sat right with me about CO2 sensors is that apparently they drift considerably, and automatically calibrate themselves relying on being exposed to 400 ppm on a regular basis, otherwise they might have lower readings than the real amount. Did you find it's easy to achieve that in a house, or do you need to be very deliberate about ventilation or periodically bringing the sensor outside?
I disagree. Honestly since UI have become the primary domain of designers and "UX" experts they have regressed massively. 15 years ago you opened an application. The feel was consistent. I had a bar at the top which showed me the option in an straightforward manner which allowed to quickly explore and click through to relatively specialized things. Now, every app has it's own UI. And even worse everything is as hidden as possible in the name of being "clean".
That's neat... you could scan things with this. But I realize now your phone can do it too.
This isn't by a long shot a housing policy issue.
EVs cost half the cost per mile as an internal combustion vehicle [1], even less as renewables generation increases driving down the price of power.

EVs do have a higher upfront cost, but lower total cost of ownership. Issue green bonds to subsidize the capital cost for borrowers, and increase the tax on internal combustion vehicles sales. EV supply is currently manufacturing constrained; provide incentives to rapidly scale EV and battery manufacturing.

[1] https://www.energy.gov/eere/vehicles/articles/fotw-1190-june...
What do you make of the rumors that the Fed will start to hike interest rates next year?
> So while there's no universal utility function, it doesn't matter as long as the decision maker's utility function exists (and it does, by tautological argument). In the article, the utility values of 80 and 40 for the boys are the outcome of the parent's utility function.

Yes, but ... the argument in the article presupposes fixed differences in utility when ascribing choices to priority, equality, and pure utilitarian views. Is it not easier to just say that the parent values improving the situation of the disabled boy more, and thus the utility of this improvement to the disabled boy's situation is higher in one parent's view but not the other?

Nearly any parent will choose a massive benefit from son A's perspective at the cost of a tiny expense to son B (looks utilitarian!). Nearly any parent will prioritize a sibling who is less well off in some circumstances. Nearly any parent will give the two sons equal slices of cake when they value them equally. But is it not easier to ascribe different utilities to these different circumstances instead of different allocation functions?
Ask HN: Should I register my recently purchased Seagate HDD?
Spot check, if I'm not mistaken the benchmark year was a pretty crazy low price year for certain assets classes (gas was absurdly low). Not saying this isn't an issue but just putting some cold water on the media hype storm.
You can also look for "sound fonts".
> Coal, yes. Iron, wouldn't the iron we moved to the surface be even more accessible? We didn't destroy it, just rearranged and concentrated it?

Might depend how long it takes: because rust is porous and friable, rusting iron should eventually degrade to nothing, and the rust would be difficult to re-concentrate then reduce back to iron.
A relatively underdiscussed quirk of the rise of superlarge language models like GPT-3 for certain NLP tasks is that since those models have incorporated so much real world grammar, there's no need to do advanced preprocessing and can just YOLO and work with generated embeddings instead without going into spaCy's (excellent) parsing/NER features.

OpenAI recently released an Embeddings API for GPT-3 with good demos and explanations: https://beta.openai.com/docs/guides/embeddings

Hugging Face Transformers makes this easier (and for free) as most models can be configured to return a "last_hidden_state" which will return the aggregated embedding. Just use DistilBERT uncased/cased (which is fast enough to run on consumer CPUs) and you're probably good to go.
The categories of overweight and obese are based on BMI, which is not relative proportion of body fat. On average, of a man and woman who both have a BMI of 30, the woman will have a higher proportion of body fat.
Screens only get dirty on glossy displays, for the most part (unless you have outrageously dirty fingers), build quality is pretty arbitrary since, much like normal laptops, good ones and bad ones exist. I don't know what you mean by "too light", but I can at least agree with the fact that Windows 10's "tablet mode" is a load of crap. It's a much better experience with recent Linux machines, where their GUI is optimized for mouse, trackpad and touchscreen navigation. No need to switch modes, just reach out and do whatever you want. Keyboards though? You might not be looking hard enough. I've got two touchscreen Thinkpads that feel equally fantastic to type on as they do to swipe on. I feel like you're grasping at straws a little bit, here.
We should start taxing vacation, abnb, secondary empty homes at 100x the property tax rate. That would provide housing VERY quickly. Rental housing can be taxed at 10x UNLESS it is offered 10% below market rate.
Sorry, but that doesn't make any sense. More housing means less sqft per person? The chain of reasoning to get to that conclusion must be long, because it is certainly not obvious.
Working a specific job at a specific price isn't a requirement for feeding your family either. Neither is living in a specific location for a specific rent price, for that matter. The idea that you are entitled to whatever job you want to work at a price that you think is fair is just as absurd as insisting you are entitled to a specific car at a specific price.

If you have somehow gotten yourself into a position where you are supporting a family based on knowing how to do one thing that you can only do for one company, sorry but you either massive screwed up your life (unlikely) or you are afraid to step outside your comfort zone and work elsewhere (likely).
If so: why?

If not: Why not?

Now also submitted as a poll: https://news.ycombinator.com/item?id=29512058
I think the other person got it spot-on in their reply. It's not about social pecking order - a long-time employee could well be at the bottom of the social pecking order - it's about whether it's perceived to be your own work that you're deprecating, rather than their and not your work. It doesn't matter if it's someone else's too, only that it's yours in part.

This is closely related to the ingroup vs outgroup distinction, but not quite the same: e.g. I could be a former employee, even someone who was disliked or who left in disgrace, and still be under the aegis of the 'us' in this context.

Edit: On reflection, I kinda ignored the rest of your message and got stuck on the answer to your clarifying question. I do totally agree with your point about maturity. I suppose my only caveat is that I was moaning/joking/joking-and-moaning at the time, rather than making a serious point that would have been relevant to our work, so I don't think it was immaturity in a sense that caused any actual problems.
Yea exactly, main reason I have a fully electric car. It’s nice not caring about random bullshit that goes on in the Middle East affecting the cost of my commuting. My home has electric heat as well (in addition to oil) should oil become too expensive.
This is doubly true if said leaks end up putting military personnel and government assets in harms way.

We don't need to consider that possibility. It has been over a decade since this information was released. If anyone about whom USA government cares had ever suffered any harm (even if they actually deserved it) as a result, the USA war media would have crowed about it until we had all memorized all details. Not even a rumor exists of anything like that, so we know it didn't happen.
I don't follow. How does increasing supply also increase prices?
https://sabracrolleton.github.io/json-review.html

The differences are pretty big. Some use associated lists, some use hash tables, some convert to CLOS, etc
FWIW, Go _does_ have keyword struct members, so it's possible to do

type A struct {
B int
C int
}

myfunc(A{B: 1, C: 2})
They made a decision but it’s not the right decision
If functional means "higher order functions", sure Lisp is quite functional.

It's not ergonomic to compose functions in the way that Haskell is due to Lisp's forms essentially making every function able to accept a variable number of arguments. You end up with something like arnesi which provides these functions but it gets slow and verbose to write all those `funcall`'s everywhere. Or you have macros.

Whereas in Haskell, partial application and composition are first-class in the design of the language.

I really enjoyed programming in CL but I would say that it's one of those languages that let's you try functional programming but it's not the sweet spot for it.
They're not a neutral actor, which is a damn shame;

https://www.dailydot.com/debug/wikileaks-syria-files-syria-r...
Exactly! Just to add how to deal with Result types in a safer way (as an example):

match x {

Ok(v) => ..., // doing something with the value v

Err(e) => ..., // handling the error e

}
They openly admit their willingness to break all three if "future acts" deem them necessary, not to mention they're free to stick him in another terrible jail with other restrictive measures even with the assurances.
Tips on How to Get More Creative
Because half of US companies and the US government itself as long as basically every pension and retirement fund are levered up either directly or indirectly to their eyeballs in cheap debt.

Our entire system would quickly be insolvent at a rate that would have seemed low 20 years ago.
I think financial security for the 60-70% of Americans living paycheck-to-paycheck. It's hard to think critically or rationally when you're barely floating. Misinformation offers them respite when they're given scapegoats for their problems.
With the CFAA, it's actual entirely possible that the person who wrote the code is entirely at fault if their intent was that multiple people run malicious code. Courts aren't black and white and take intent and amount of damage into account. There's no hard and fast "number" on how many people makes a DDOS. In fact, the service (site) doesn't even need to be hampered to be considered a DOS. Just having HR have to filter through tens of thousands of bogus applications can be considered a DOS.
It's both sad and hilarious that the CDC is still recommending frequently disinfecting your doorknobs. As if that's going to make a difference in the pandemic.

Meanwhile we have very strong evidence from multiple controlled clinical studies that hypovitaminosis D is a critical risk factor.

https://vitamin-d-covid.shotwell.ca/
No, they do not. Additionally, they think that we should decide what is right for us by what most effectively protects them.
My favorite ones generated from this are the Base2Tone family of themes: https://base2t.one/ (I'm partial to Space Dark)

I added coverage for gnome terminal and mate-terminal (when I was trying unsuccessfully to not hate linux UI) and it was super easy to do. If you're interested in color schemes, base16 is a very useful (if definitely hacky) framework for developing on.
From my point of view, the scientific consensus how covid spreads was pretty good from the start, and has only gotten better. With more information, the picture is more detailed, not fundamentally different.

What a completely unrelated piece by Bjørn Lomborg has to do with covid is not easy to understand. Hopefully no one is surprised if Lomborg has a simplified view of any given environmental problem. He is a business school professor after all and pretty well known for these things.
Your two examples are prime examples, but honestly, before the interactive phone systems, I would wait on hold for hours to talk to a person, so it has improved things a lot, but it is still SUPER aggravating and feels like a step backward.

But both of those things are only occasional inconveniences. The real place tech has made my life worse is just how completely dependent I am on it for 95% of my life. From the psychological dependence on knowing what my friends are doing, or how my crypto "investments" (read: gambles). Also needing internet connectivity to play various "single player" games even though I'm just a casual gamer and NEVER play with others.
Why use such an indirect and backwards method? If you were in power, you could just tax non-green cars, rather than promote cars that become useless in 5 years when technology moves on.
Thanks for the explanation! Like I said in my own reply (https://news.ycombinator.com/item?id=29512035), this is spot-on and better than I could have expressed it – and, clearly, than I did express it – myself. It's about whether you're part of the 'we' whose work you're deprecating.
Whatever happened to "it just works"? Now it's "here's some search terms to try, do your own research. it's your fault for not anticipating the shortcomings of iOS and macOS!"
Poll: Should I register my recently purchase Seagate HDD?
I've purchased a Seagate HDD and it gives me the opportunity to register it, with no indication as to why I should do so.

So ... should I?
doesn't work well with i3
It depends (comment below)
Show me the voting
To be pedantic, used cars* are up 31%.

New vehicles are closer to 11%.
Besides the fact that they used "99 percent" in a colloquial, informal way ... is that really how calculations like that work, or should work? I mean, if you have 99 percent availability, and 99.999 percent availability, maybe it's valid to say that the former is 1000 times worse than the other, but that could also be true by saying that 99.999 percent availability is 10,000 times worse than 99.9999999 percent availability (where a service only goes down for a third of a second in the span of a decade), and that 99.9999999 percent availability is infinity times worse than something that hasn't had an outage within whatever monitored period (since 100 percent availability is the same as ninety nine dot nine repeating availability)
It’s not the same. Black Americans are still fighting for their right to not get shot at by police. White America is seething that Trump had his election “stolen” from him and is scheming to put him back in power in 2024.