skysight-inc/HackerNews huggingface dataset:
> economically, this analysis seems precisely backward.

Yes, but that is the point - the economics of your life are not what makes you happy, at least not once you have some wealth.

When we are young, poor, or both, most of us are fighting to have enough money to cover our needs, and therefore economics are everything to our happiness. We work to get to the point where we are stable financially. But when we reach that point, happiness is no longer driven by economics. We've surpassed that hurdle. (And should be grateful for having done so, BTW... many people never get there.)

Once you are lucky enough to be past that point, your measuring stick should change to something that is not economic. Hence, the advice to buy experiences. This does not mean that investment in things is a bad financial choice. It means that investment doesn't drive happiness. Sure, take care of your nest egg, manage your finances, empower yourself to always stay above that hurdle... but also go out and do things and live a life that satisfies you.

Now, if owning more stuff truly satisfies you, fine. But for many people, it does not, especially as we get older and realize that all we truly have at the end of our life is our experiences.
In JS I prefer let over const because it is fewer characters to type.
Play https://turingcomplete.game/
Have you ever tried to get one of those packages ? You need to have an interview etc.It’s not straight forward or cheap. We tried to sign up and have a TAM assigned but gave up. It was a lot of effort.

Amazon gives great support at an affordable price.
> Disposable goods and services attract the most exploitative business models.

Not sure that's true. Most people aren't particularly exploited by the toilet paper industry, are they?

Whether some industry is 'exploitative' is more of a function of whether its customers and workers have outside options available. Competition provides discipline.
Yup there's a few things to try yet when I can get the hard drive from my family member. But I'm not optimistic about the Google account either way!
Why? Did something happen that I missed? Is this in reaction to Russia's proposed ban on crypto?
Not a dumb question. Answer is no, TS's features are in general not sufficient to express dependent types. It would need to stop making a distinction between types and values, and allow running arbitrary (total) functions in order to define a type, at the least. Experiment with a toy implementation: <https://thelittletyper.com/#pie>
Many people seem to like the experience of buying things and trying them out, though.

Otherwise it would be hard to explain the current "pro" audio plugin market, for example. Neither hobbyists nor professionals need hundreds of compressor and EQ plugins but companies have figured out that they will nevertheless buy them if the price hits a certain low sweet spot. Unless it becomes an addiction, I doubt this really makes them unhappy. It's mostly just a harmless "waste" of discretionary salary.
It really blows my mind that all these expensive ston(ish) surfaces stain so easily. Why in the name of God would you purchase something so expensive and put it in a room where most of the staining happens?
What's nest actually doing? Is it an inner join/lateral/apply? An outer join/lateral/apply? A correlated subquery? If so, what's the key? It doesn't look like it has a key, so it's equivalent to a cross join? That's hardly ever useful. Even this example query feels like it would just be better as 3 queries if it's just a cross join. I don't want every row to have a list of the exact same 20 records on it.

How does aggregate know what function to use? The examples on the aggregate page actually list aggregate functions, but everywhere else it's just... magically decided?

It supports TOP or LIMIT, but where's the windowing? Where's OFFSET 100 ROWS FETCH NEXT 25 ROWS ONLY for page 5?

What the heck does "order by: 2" mean? Even if it's an ordinal position, that's not a great example. Yes, SQL technically allows you to use ordinal positioning of columns in the ORDER BY, but it's horrible practice to use that because it's difficult to maintain. There's no way to tell what the original intent was, and the output columns change all the time when queries are reused.

My real question, however, is: "How is this actually easier?". Yes, sure, using symbols instead of English words is shorter, and a lot of programmers mistake a lower character count for being easier. However, it's not actually easier. It's just a bit less typing.
I looked at my 401k and it wasn't pretty.
It's fine, it's just tethers.
In Wolfram Language, a "pure function" is what others would call an "anonymous function" or a "lambda". It doesn't actually imply the lack of side-effects.

The older Compile function also does the same thing when there's an error.

Given the difficulties of doing something fancier, I think it's a reasonable strategy. Mutating state that doesn't originate in a function isn't too common, and less so with the kinds of functions you'd compile. If the compiled function fails, you probably have some other bug in your code anyways.
Kettlebells. They are cheap, full body exercise, and they are dead easy to start and keep at home. They are effectively capable of multiple kinds of exercises but so many of them are full body that you can revolutionise your health with just 4 day 30-40 min sets. There are some great trainers on YouTube who do full body kettlebell sets such as Eric Leija, Mark Wildman and Alex Crockford.

Look into Pavel’s simple and sinister program to start with, and his kettlebell tapes are both on YouTube.
This is on top of all the carnage the market has seen in the last few months. Everything is on sale.
> Slow charge infrastructure is much cheaper to build out.

At a highway rest stop, why would a fast charger that can charge 1 car in 6 minutes be any more expensive than a bank of slow chargers that can charge 10 cars in 60 minutes?
it’s not surprising law enforcement was involved

It was a message to Governors to not take public health seriously and of course it involved law enforcement officers, many who won’t mask or vaccinate.
Ask HN: Building your brand within a company or start on your own?
Has anyone successfully built their brand within large tech companies, or the only way to successfully do it is to branch out on your own?

A brand could be a personal portfolio that can be used outside the company for entrepreneurial endeavors.
The S&P 500 is down about 9% off its high from a month or two ago. BTC just crossed under half of it's peak.

It's true that's not captured in the headline, but this is a newsworthy crypto crash. It's not the first or the worst, but it's worth covering.
> OTOH, pre-painted figurines... I just don't see how they create an experience... And by extension, you could apply this to almost all art.

I think you could expand the kinds of experiences to be a little broader. Say a tattoo: I got mine because it makes me happy to see it, routinely. Getting some figurines or art that make your space - home, work, your body, etc. - bring your more happiness/less dreariness (even if only a little, every day, day after day) can be worth it. I'd make the same argument for plants, though I think plants have a little more inherent vs. personal benefit.

For me, art is about stopping me for a moment and forcing reflection, realization, or something similar. I have a painting a love, that I just stop to look at sometimes. I feel like I see something different in it as time goes by. Same for movies: some are just purely entertainment, others help me introspect and put me in position to think about who I consider and interact with the world.

In short: "experiences" need not always be relating to the external.
I'd echo a sibling comment that I'm often confused by these stories on HN, since this kind of thing never happens to me, and I use Windows 11 on a daily basis (on multiple machines).

Yes, they sometimes show a prompt after updates asking if I want to change the default browser to Edge — I always decline. And no settings change.

Boosting Edge's numbers by force-switching the default browser without asking would have such obvious, predictable backlash, I'd be pretty surprised if this ever shipped intentionally. Let alone changing Chrome's default search engine without asking — that very likely is illegal.

Is your Windows machine a personal one, or is it a corporate machine? I could imagine that poorly designed corporate IT update enforcement software would accidentally do this kind of thing.
Have been reading Hacker News for many years, and feel like this kind of headline is quite common from the HN/SV bubble. Paul Graham writes like this too. It’s the language of a software tutorial for novices, applied to life. It’s this shift that makes it feel so pretentious! As a reader it’s fine to accept being a novice reading expert advice, when the subject is a computer program. When the subject is life choices, a writer would normally adopt a more humble tone, since most readers would need to be convinced that someone had all that more expertise than themselves. At the same time, I find it slightly endearing in its naivety, because these subjects being too complicated to capture in simple rules doesn’t stop the authors from trying.
This flow seem very convenient for the extremely rich:

1. Milk as much taxpayer money as possible, while providing as little as possible through profit-driven social services etc. that require increasingly larger budgets to not collapse entirely.

2. Tax us? Look at all the money the government isn't getting any value out of!

3. Rinse & repeat.
Courts in the US all the way up to scotus have a terrible record on anything computer related

Also, it's very hard to make an argument that what amounts to financial services (1) can't be regulated and (2) are a form of free speech or similar.
Having worked in a Coffeescript codebase for the past couple of years, its horrible to read. It just turns into a giant mess with multiple layers of nesting and everything just kind of mushed together. Coffeescript looks fun to play with, but having it in a large production codebase is an exercise in confusion and frustration. It lets people be clever with their code. Don't be clever.
> I reached out to a friend at Cloudflare and shortly thereafter, the penny dropped

Another advantage is his big network that he can ask for help. There's also a chance that his blog post will reach the right person in Azure and he'll get a reduced bill.

As someone who doesn't have the same network or the "fame", I am concerned about what would have happened to me in that situation.
> "There are experience-like things; like a basement carpentry workshop or a fine collection of loose-leaf tea. And there are thing-like experiences, like an Instagrammable vacation that collects a bunch of likes but soon fades from memory."

I would retitle the article as "Buy Experience-Like Things, Not Thing-Like Experiences". Or maybe "experience-enabling things" is a better way to put it.

I don't think anyone would ever discourage buying a piano, basketball, snowboard, camera, Raspberry Pi to tinker with, etc, because these all enable experiences that wouldn't be possible otherwise.

Things and experiences aren't inherently good or bad. It depends on the thing and activity. It's true that many experiences do require things (eg. having/renting a car to visit cool places), but many of the best experiences can't just be bought with money (the classic example being romance).
Typical zero substance self-help opinion piece masquerading as something better. Complete waste of time.
Nicely done on implementation though...
Reaction to people selling because they fear the price will go down more. Also USG are making noises about "regulating crypto".
Toyota's new 'more we know about you' program randomly extends their warranty for 2 years (or +50k miles) for new car buyers who have Crash Bandicoot game time in their dataset. Also Walmart will give $30 back on purchases >$125 if you have played at least five hours X-Men Legends in the last week while they're promoting the new Wolverine movie.

It's not all good though ... people who play Call of Duty are more likely to default on their loans and World of Warcraft is well known to have a strong correlation with sexual predators. Banks and FBI buy the relatively cheap video game data and use it to decide which individual's browsing history ($$$) and pc usage telemetry ($$$) to buy from Microsoft.
Interesting, what made you go from Rails to Elixir? I always thought that Rails community is great and is a good fit for side-projects and micro-SaaS apps. But yeah, I would say in most cases vanilla JS is fine, and will depend on the case and complexity of the app itself!
I once took part in a certain competitive sport in which it was possible to decorate oneself with all manner of expensive clothing and electronic gear. Without fail, the "tourists" bought thousands of dollars worth of optional new gear before they'd begun, while the two people who I was close to who became world-class competitors had minimal second-hand gear.
> I mean, what buying a gas car is like in 2022. It’s like holding onto your flip phone in 2012. It’s like trying to find your hotel in a strange city after a red-eye with a paper map. It’s like putting your retirement savings into coal-mining investments.

This piece comes from a place of privilege. I bought a gas car out of the necessity of a growing family within the last year. Within my market, there are no options to buy a new electric without waiting for a very, very, very long time. Also, travelling out of province to buy is not an option given the pandemic and a small baby at home.
Well thought out blog post that made me think. Not your typical antivac microchip stuff at all.
> you translated the sentence into (usually poor) Latin, and then back again with every round.

I’m honestly jealous you grew up in a family that could do this.
IRA Year-End Reminders
If you have a large environment to build in a certain region, the cloud lead time is months also. We have to give our cloud provider months notice before building in a region. But we have a pretty serious and profitable workload. Your statement is correct for the 90% of companies with relatively small infrastructure needs.
Over the last month: VTSAX is down 9%, AMZN (hardest-hit Big 5) is down 16%, BTC is down 34%.
It means this is absolutely about NATO, even if it's not yet directly involving one of the member nations. See also: Russia's current demands over Ukraine including "never let them join NATO".

If a bully stood next to someone they'd previously beat up, glared at me, and told me "I'll leave them alone if you promise not to be their friend, forever, no matter what", what would you interpret is going on?
Was this actually a hack, or was it just Rocket.Chat's in-built export feature?
Ask HN: If helicopters are more efficient, what are the advantages of drones?
I'm talking about human transportation by VTOL aircraft. What advantages drones/quadcopters (I don't know the correct term to use here) have over an electric helicopter?
All the markets are down to be honest and these swings are so common in crypto that while it makes a good headline its nothing new.
How Segment's growth went from 300% to 40% yoy and reaccelerated back to 100%
@Aspos - wow, thanks for that comment.

Your finding is astounding to me. Great to hear - I'm floored by hearing they're in the same ballpark.
Are you making leveraged trades in a retirement account? It's off 9%. If someone told you you'd have to make do with only 91% of your planned income, you'd be OK. This is what markets do.
> Maybe this is nitpicking, but: the Nix language is about as straightforward as "JSON plus functions".

It's too simple and straightforward. Writing Nix expressions is a bit like writing Javascript without frameworks or libraries.

Some sort of opinionated framework that compiles to Nix would be great for maintaining large Nix projects. (The Javascript world already went though this phase.)
It's quite the luxury to be at a University, with knowledgeable professors at your fingertips. Ask them for help if you get stuck and can't do a web search to find what you need. Classmates can be helpful too if you think they have some competence.
This just looks like someone wanted to build something new regardless of whether it was better or not.
Wrapping arithmetic is supported by gcc and clang.
That's all the point of crypto-currencies, they need to go up and down to enable speculation. Pump and make it go up. Dump and it goes down. Someone is cashing the difference.

A stable crypto-currency will not attract so much speculative investment.
Ha wow 2001? I can’t even remember a time before json. I named my kid Jason. Tried to spell it json but family said no way.
Did you reset your neuronetwork after each round?
I develop on Linux (KDE) in Freepascal and Lazarus, working around OS-specific code since about half of my customers are running Windows. I also check for compatibility with Wine and ReactOS.
I believe it's called "semantic highlighting".
Moniac: Monetary National Income Analogue Computer
You are of course right, that was also my reaction, then I realised that they wrote "since the PDP-11." and not before.
Because having a fleet of car with a range of 400miles to commute 50miles is not wasteful ?

I like that at the moment the top comment is that people do not have the money to follow the autor ideal and you want even bigger battery pack which is I believe the most expensive part of the car ...
Absolutely - I was asking more out of curiosity, and it seems JS+NN area is more useful than I had believed a few years ago when I last visited the topic.
Netflix is down 35%, not sure why Google would be seen as the hardest-hit FAANG.
Travel is spraying you with novelty from a firehose. Everything around you is new - people, buildings, cusine, language, nature, climate e.t.c.
It's not for everyone, sure
Why Google's Plan to Cut Remote Worker Pay Is a Bad Idea
Honestly, right now I just have one envelope for coffee/beer/random 7-11 purchases and one for utilities/rent I split with a few room mates.

Next month I'm going to try to split it out because I'm budgeting for some gift giving (girlfriend's birthday and Chinese New Year stuff). For anything I don't have the cash for that I want to buy online, I wait two days before I buy anything over a certain amount just to make sure I _actually_ want it.

I still keep my debit card in my wallet in case I'm in a pinch, but the act of using cash everywhere makes a _huge_ difference. E.g. last week I bought a round of cocktails for my friends because they came to the stand up comedy club I was performing at so I was in an extra giving mood. This morning I looked at my wallet, saw I didn't have much cash left, and that act of being mindful caused me to make a coffee at home this morning rather than go buy one. It also makes me appreciate every purchase.

Because I built this habit of being mindful with spending while I was in the USA, I had a nice nest egg saved up from when I moved to Asia so I can pick and choose what projects and people I want to work with. Keeping everything simple in one account removed a lot of mental overhead of managing money.

For any investments, I uninstalled all the stock tracking apps on my phone and only check investment performance on my laptop every few months. I use the extra mental energy to focus on work instead of trying to time the market to get better at my craft and deliver better value to my clients. Which gives me more money in the end anyways.
I really dislike these "suspend-on-idle" approaches. Developers should "pay their taxes" (see The Old New Thing) and make applications well-behave on idle, rather than forcing by default to suspend everything which is a real annoyance.

Specially in the FLOSS world, I think most programs are actually doing rather nice, since during the powertop era there was some push for people to "pay their taxes". Nowadays it seems that people no longer care as much, but we still have a nice headstart.
US equity doesn't pretend to be a low risk investment vehicle resistant to inflation worries.
Any decent book or course on programming microcontrollers. Ideally, if you can get a cheap microcontroller test board, you can quickly see and appreciate what your instructions do. That said, using assembly in a PC is quite a different abstraction and it depends realistically how much you will use it on your course.

If it is just a module, I wouldn't worry too much about it and just look at the college's recommendations.
Personally, I am not a fan of Windows Defender in general, but disabling it completely renders other services (e.g. Windows Store) unusable. That's why I only disable the real-time scanning component.

There are two reasons for doing this:

Firstly, it has been shown that the real-time scanning features causes issues with file access latency. It's apparently quite noticeable when using WSL. On a laptop there might also be a noticeable improvement in battery life, but I don't have any data to back that up.

Secondly, every now and then the real-time scanning triggers on some file, removing/quarantining it without asking me first. This often happens, for instance, for video game cracks that I'd like to analyze / revers-engineer [^1]. So, for me, it's a lot of false positives and so far I haven't encountered a single case where Windows Defender actually protected me from something. At least that I know of.

^1: It's a hobby, I don't build DRM, don't worry. The games I work on typically release DRM-free.
There's an argument to be made for quality of life for your employees. As someone who has transitioned from on-prem server management to mainly cloud work, my job happiness has skyrocketed. I haven't set foot in a data center in three years and I do not miss it one bit.

Dealing with hardware failures, hardware vendors, confusing licensing, having to know SKUs, racking new cabinets, swapping hard drives, patching servers - it's all awful work. When you go cloud only, you can be more productive instead of dealing with some of that nonsense work.
Where are the lawsuits? A lot of people induced to buy crypto as investment that will be sued for fraud.
A couple of take aways.

1. Don't put sessions in localstorage, use a cookie with the Secure and HttpOnly settings. They are then inaccessible to JavaScript.

2. Add a Content Security Policy to your headers. Start very tight i.e. default-src 'none'; style-src 'self'; img-src 'self'.

There's a really great PenTest checklist here https://pentestbook.six2dez.com/others/web-checklist So you can see it from the attackers perspective.
The entire ecosystem has been herded into complex deployment patterns that make it labor intensive to manage infrastructure without using managed cloud services.
Some things that were high value to me,

1. Play through the first page of levels of TIS-100. This is a game you can buy on Steam. After spending a few hours working on problems in this, I felt a hard-to-describe mental shift that removed the intimidation of assembly.

2. Work through the first half of /Programming Boot Sector Games/ by Toledo.

3. Designing and building a simple instruction architecture, implementing it as a VM, writing an assembler for it.

The ChibiAkamus tutorials on youtube may be worth a look, also.

If you try for TIS-100, give yourself a decent chance to get into it. Print out the manual, calmly read through it with a biro, don't let yourself give up easily on the first few problems.
If software is copyrightable then software is protected expression.
Yeah, there are trial accounts and things but as far as I know, none of the big cloud providers have a way to say "Under no circumstances are you to charge me for than $X per month even if it means shutting down services."
It looks good in the brochure, and you don't realize how fragile it is until it is too late.
Yes, this is the awkward phase of on-prem. Some companies stay there forever. Good companies will continue innovating and treat the time to resolution of your request as a KPI to reduce down to days, minutes, or even seconds.