skysight-inc/HackerNews huggingface dataset:
You fail to understand the difference between ‘usable’ and ‘works according to my exotic preferences’.

If you ‘need’ a tiling window manager, MacOS is not for you, Apple is never going to add one and is only going to cripple attempts by third parties to do so.
OpenPGP Vulnerable to Key Overwriting (KO) Attacks
This is great. I'm not a front-end dev but I have a low-traffic personal site where I like to experiment. One of my hobbies is to find out how small, lean and compatible with old browsers I can make it, while still looking modern-ish (very subjective I know) and with _some_ interactivity that can degrade gracefully.

So far it's pretty much usable in IE6 and Mosaic 2 (1993).
No, there isn't. and that's my point.

If you want to copy a file in OSX with your mouse you use the menu bar whereas if you want to cut and paste (move) a file in OSX with your mouse then you use the two open windows method that you describe.

They are both very different and one isn't so discoverable.

What's the worst about this is that it's purely a choice and Apple intentionally greys out the cut option in the menu bar.

Madness.
The problem with New Zealand seems to be that if you have an education, it is often no where else to use that education than Auckland or Wellington. I have never been to New Zealand, but the problem seems to be very similar to the housing problems we have in Norway. The sub arctic capital city of Oslo, has ridiculously high prices.
Ask HN: How and when do you upskill yourself?
I heard a range of opinions including

* "Upskilling is better done during the job only. Learning stuff should be considered part of job."

But this is not often practical. And we also want to learn skills not related to the job.

* "Upskill yourself during the weekdays, enjoy the weekends."

This is probably quite practical for WFH people. But where I live, commute and office job generally take 8am to 7pm in the day. There won't be much time left.

* "Upskill during weekends."

It's an option, but we all want to have fun during weekends and dedicate time for hobbies as well.

So, young (22-35 yo) engineers on HN, how and when do you upskill yourself? Any techniques?
I think that in that case it should return false instead of 0 so (int)$val === false means that the variable is not a number.

Right now I guess that the alternative is using is_numeric and then casting to int if possible.
I'm pretty much in the same boat. Mid to late 30s, professional for 15+ years.

I've noticed recently that I just don't care about work and technology anymore.
I have things that I need to get done, but I'm pulling on that starter cord and the engine is just not firing - no motivation to really do it.

I've been chatting to some friends about this, and I've come to the conclusion that I need to make a Dr's appointment - just to see if there is something glaringly obvious (either physical or mental) that can be treated.

I've also taken up building a model railway - my son loves trains - and I actually enjoy doing the building, I think because it is away from a computer and screens. I've also pretty much cut out all TV time, cut all ties to social media (that's helped), and only check the news in the morning to make sure we haven't slipped into a new WW.
You can kind of get this to happen in 8 and up: Doing math on a non numeric string is then a catchable TypeError so you can do 'x' + 0 in a try.

Doesn't avoid other PHP numeric-string stuff like scientific notation and floats being accepted, though. Passing to a int-typehinted function param in 8.1 gets you closer (will complain about float strings) but is currently just a annoying-to-work-with deprecation notice. Presumably it will eventually also be a TypeError.
You can create an Ansible play that will make sure that only a fixed set of packages are installed. You can even make it pull that list of packages and their versions from another machine (actually very useful for making sure that your production servers aren't running newer packages than your dev/test environments).
Will the video games industry ever confront its carbon footprint?
All these cities still have a housing market albeit a more regulated one than your average American city. Housing is still developed and owned by private interest and responds to supply and demand. We could debate the policies of these specific cities (for example, the trade-offs of Berlin's rent control: https://archive.ph/l3i2w) but that's beyond the point.

The parent's position is "housing shouldn't be a market", and I am showing an example of what soviet-style state control over housing looks like in practice.
>Thinking you should be exempt from this just adds internal resistance to an already uncomfortable process.

Wow, thanks ! That sounds like real practical advise ! I think you hit the nail on the head here !

> To learn most effectively, you want to shape your mental behavior to minimize surprise

If you don't mind, could you expand on this part ? I'm not 100% clear on what you mean ?
What I have just read? Just terminate the damn fawl.
But netflix is making historically white characters black for no good reason.

If some ruler in middle age europe was white then why do they have to change that just to showe more black people into the show or whatever. They should make original shows and stories where they can do whatever they want
"si no", is a clear spanish construction. Everybody understands its meaning and it does not need a tilde.

You could use "otro" (=another, =different) also, that is even shorter, has the advantage of being a single word instead two, and is used routinely in dichotomic keys.
The Alien Invasion of Antarctica Is Only Just Beginning
We have a fractional reserve banking system. What was the reserve rate set at in 2020?
I think you are getting wiser. You start to realize that all of this JS circus leads to unmaintainable code, so your subconscious is telling you "don't do it".
Is this fixed? Can't seem to reproduce this (chrome on ubuntu)
What assets?
> So Hollywood bent over backwards to shoehorn in representation everywhere they could

> The studios also seem to put a lot more emphasis on checking the correct boxes rather than telling a good story.

What you’re describing is the paternalistic racism that Democrats have never confronted, in Northern and Coastal cities.

A charitable interpretation is that people don’t like racism:

- anime is popular; Korean TV and films are popular; Chinese movies are popular; Bollywood movies are popular; etc

- treating race as a defining characteristic is not, as in Hollywood

People want a good story where the culture and people are faithfully represented in a reasonable way. They detest products which treat the race of the person as defining or which “paint by numbers” with race.

That is, people on average are rejecting Hollywood because it is more bigoted than they are.
If you don't federate (and so only receive toots from accounts you've explicitly followed, or who mention you or their shares/boosts) and you don't follow a huge number of highly active accounts, then maybe.
Just here to note that "kut.org" is a pretty funny domain name if you speak Dutch
Well, I suppose you could grab it, but where?

Birds have claws which are designed to cut and tear. They can also move them very quickly, scoring down your face/belly multiple times.

Birds have beaks which are designed to inflict harm. Think: woodpecker. Think: parrot (beak can cut open metal cans).

So you grab the turkey by the neck, now it is raking your entire front with claws while flapping wings which effectively blinds you by overwhelming your vision.

Or you grab it by the legs -- need to get both in one grab, by the way, and it pecks you.

And you might be assuming a fair fight. What if you are walking down the street, and the turkey jumps you from behind?

Yes, that sounds like a bizarro comic, but the https://en.wikipedia.org/wiki/Western_capercaillie (mentioned several times here) is known to do this.
The page is slashdotted.
Thanks.

I strongly recommend reading that paper, it's one I return to every few years.

And yes, you're quoting your comment on my previous submission ;-)
Not caring about work and just getting things done is what 90% of the population does. Do you really think they all need to check it with the doctor?
No - the session cookie is private to the browser that originally placed the order, so the Google crawler should get a 403 as it doesn't have that cookie.
leaving it as yeet sounds fine to me honestly
The website seems to have fallen due to the HN hug of death, but I've seen this making rounds in the Polish news - there have been screenshots of slang mentions of female genitals in the Polish version of Aliexpress.
Behringer typically has good value for the money. They have a couple of mini synths (e.g. behringer model D soul) which is exactly $100.
The behringer neutron is around $300, so you may find it around $150 used, and it's incredible value for that money.
There are places that gatekeep on degrees as in "you must have a Bachelor's degree" or even "you must have a B.S. in Computer Science", but there are almost none that are gatekeeping on graduate degrees. I've worked at several FAANG-tier corporations, have friends at all of the others, and have interacted with all sorts of smaller companies. I can count on one hand the number of people I've worked with with graduate degrees, and all of them had their base degree in something other than computer science.
Generally speaking I was the same, the I wasn't.
I spent a significant amount of my youth, and an unreasonable amount of effort being involved in amateur astronomy. As you can imagine, it didn't exactly catapult me to the top of the high school social hierarchy.

Yet as an adult, I've received a lot of respect and admiration (from people whose opinion I care about) for my knowledge in this domain, and I can say I have an unconventional and very rewarding hobby.
the obvious downside is that it's a lot of work and takes a lot more time... so it might be "the right way™" for some cases, but it's definitely not a rule of thumb...
You can have a backup key and keep it off-site (e.g.: at a family member's place).

If you lose your main key, you can resort to that one to re-gain access.

Keys that allow backing up the secret material are tricky, since they could potentially be cloned and someone would have a backdoor with you being unable to know of it.
Our Short Y Combinator Experience: Honest tips for our friends
Please don't consider autism as opposite to empathy. Autistic individuals are often highly empathetic. It's just that they don't express it in the same way as neurotypical people and it can get lost in translation.
Could it be that the placeholder is based on the most popular search and the most popular search wherever Aliexpress is not mainstream is a NSFW term?
I have also noticed a very sudden inrush of "adult-themed" products in the endless matrices of suggestions (with thumbnail images!) that are plastered all over the site.

I would very much appreciate a way to turn those product groups off, since they disrupt my searches for weird handtools, components, and other stuff that I actually buy (and quite often, I've been a customer since 2014).
I am pretty sure that the human genome project was more responsible for BioPerl than CPAN was.
I have multiple friends who have left AT&T because of this. It seems to me they are shooting themselves in the foot.
No retrospective application. Hague convention 1907 predates ww2 postdated most acrimonious BM acquisition, noting they repatriate some things (human remains, religious and culturally sensitive objects) and not others (Elgin marbles, bought off the Turks, disputed by the greeks) and the Benin bronzes.
based turkey
https://web.archive.org/web/20220506081417/https://huntingbe...
The point is not to learn something "cool" that may appeal you (like Clojure). The point is to learn something you truly believe is worthless, but you need to learn it to get your job done (e.g., an outdated version of, let's say, PHP or Angular).

In the latter scenario, learning becomes more difficult.
I don't think that the problem is unique to Perl, but Perl syntax can make the problem so much worse.
If they end up doing a drum machine, they can just call it "AbleTakt".

And then have Elektron knocking on their door.
Privacy isn't anywhere near my list of concerns(At least not for myself personally), but the people who do care, care a LOT.

And even beyond privacy, those people don't like the idea of dependence, not learning paper arithmetic and handwriting, etc.

There are also the rare insane ecofascist types who think technology is unsustainable, and we need to drop it all(And then just let people die until the low tech becomes sustainable...).

A lot of people have a certain amount of respect for Kaczynski in some communities.

Lots of people hate vegetarianism without making any claims at all about the health, they just say it's unnatural, and that's enough reason.

I think there's enough people who really would enjoy a computer-free world to make it a trend to boycott this stuff.

I've always thought that Apple is actually largely an anti-tech company.

While in some cases they do have some excellent high tech under the hood(M1 and their zeroconf network protocols), their aesthetics is almost Bauhaus-level minimal, and the feature set is often randomly reduced(Like the one port laptops).

Their UI is very gestural, involving muscle memory and a feeling of "flowingness" not "proceduralness".

There's a slight sense of "You're smart and capable, you don't need to be a tech person and hide behind a computer, you don't need everything to be perfectly compatible, it's fine if some features aren't perfect" in their restrictive app policies and unique connections.

It's not quite "Star trek dream", where no matter what happens, tech is a point of trust that you expect will adapt to get you out of any jam. They want it to be an appliance or luxury piece of furniture. A multi purpose one, sure, but you're supposed to feel like you'd be just fine without your iPhone.

Sure, everyone has a Siri... but it seems like about half love them, and the other half wish it was easier to just live off grid.
The Guide to Creating a Multilingual Squarespace Website
Tangent, but in similar vein, has anyone seen in the past year or two on Dell.com their cookie notification? The “I agree” button has consistently said “Everyone’s the Acceptor” for me.

At first I thought there was something weird going on client-side, but it happens to me on every OS. Just took this screenshot on my iPhone:

https://i.ibb.co/r4M5Cb9/52238-CC7-81-BD-4-B3-D-934-F-77-DB9...

(from URL: https://www.dell.com/en-us/shop/dell-laptops/sf/xps-laptops )
I write clojure all day every day for my job. Here's my tips:

1. Get on an nrepl. Not like, the non-text-editor repl, hook your text editor (or Cursive) up to the network repl and start evaluating sexprs from the text editor. doesn't have to be emacs, I do it on vim with conjure all day every day

2. Don't write too many macros

3. Use a lotta let-statements and threading macros (->, ->>, as->, cond->, etc), that's the idiomatic way to be composing a buncha stuff

4. All the async stuff is real good (with perhaps the exception of agents) but it's like a spice, not the main meat, you know?

Clojure is actually a pretty bad language if you write it like Java. You gotta write it like it's the lisp that it is
landlords are definitely taking advantage of the situation, but that's a consequence of the bigger picture. In EU the constant influx of immigrants from 3rd world countries is creating demand and raising the prices while decreasing the salaries since they work for half the price and quality than locals but companies hire them regardless and they don't mind living 5 people in 2 bed flat. Moreover overseas oligarchs and cartels are buying out properties and raising the prices even more.
The Georgia Tech online program is ~$7k. That's not a lot of value to recoup, particularly for someone with a Physics degree.
I'm not worried about the deprecation itself. I'm worried about the second argument you're making. This RFC trades stability for nicer syntax that isn't really needed. PHP is already great with strings. If the deprecation was indefinite and there wasn't a language feature waiting that relies on removing this, then I would not be worried at all. Will the implications be bad in this case? Probably not? It's the mentality behind that makes me uneasy.
In Sweden we have an animal, half of which is a Capercaille. The other half is a hare.

https://en.m.wikipedia.org/wiki/Skvader
> defaulting to 0 doesn't count

Why this arbitrary restriction? A forced cast of a string to integer is always guaranteed to produce an integer.
I worked for the APS as a very junior programmer 10 years ago.

To interact with our database we had a custom JDBC driver which used a VT100 terminal emulator to connect to what had at one point been a user-facing mainframe application. When a query was executed, the driver would:

- Emulate a user entering a series of key-presses in the terminal to navigate to the correct screen in the application.

- Tab to the query input field, enter the query, then send a return key-press to run the query.

- Read 20 rows of output, then send a key-press to show the next page of results, rinse and repeat.

- Parse the array of rows-represented-as-strings into properly types objects.

- Repeatedly "press" escape to get back to the main screen so that the application state would be ready for the next query.

One of my first tasks was to make this driver work with a column type that stored binary data.

I kind of admired the ingenuity.
For me, it's not "how" you do it (e.g. which framework). Important is "what" you are doing.

If your new gig is e.g. a random e-commerce software that contributes to the laziness of people or their consumerism, maybe you are the type of person that just don't care for the product, therefore won't put any effort in learning things for that?
Yeah, Volcas are how I got started with music hardware, and they are a great introduction. I still use my Volca Bass from time to time, even though I have hardware that costs 10x as much now. Most of them sound really good, especially considering the price.
Go: Story of TryLock Function
41 years old is also young!
I have to say, that opening sentence is hilarious in a way I can't quite put my finger on :D
Well, they solve some problems.
No? But I think I do.

I loved coding, I loved my job, I loved technology. Now I don't. I did care about my job, and I wanted to get the projects done, Im just saying that now I find it hard to care about it and actually get those things done.

I was just relaying my experience to OP - I think you might have taken that part of my comment the wrong way.
Wrong link, I think: "Not to be confused with Roman Empire, Western Roman Empire, or Byzantine Empire."

The actual Roman Empire seems to have only just reached Aschaffenburg.
Looks interesting. We have quite a few statically generated Sphinx docs sites and what we're missing most is the ability to leave comments and ask questions about the documentation. Can this be integrated with any statically generated web page?
This is because this institutions, instead of doing their job, engage in "modern journalism" or in lobby for the farma industry. And then when the truth surfaces, their credibility plummets.
Why it is so hard instead of saying "this vaccine is safe" to say " until now there are no reported effects" ?
Just like trying to report a security vulnerability to a company in good faith, you are often better off just publishing it anonymously even if it is worse for the company.
Yeah it is insane that this is a thing. Nothing comparable happens in Australia for either phone service or ISPs.
China (and many other countries') firewalls block porn sites, so I've wondered if many people are misusing AliExpress for... something else.

Coming soon... AliHub? AliXXXpress?
Yeah, my first thought was they have a new ML-based product from seeing that name.
This is probably why remote work will fail in the long run, and why return to office is a good idea.
Yup, sorry for the wrong reference. What I meant is that I believe (might be wrong) that earlier generations would not be so taken with the idea of becoming showbiz stars.

Actors/actresses, singers etc. would be famous, well regarded and so on, but I think they were seen more like a sort of "aristocracy" while, at least for boys, the aspirational models were more in the field of sports.
> Everyone says it's not like exceptions, but in fact it is much worse. Panic is stringly typed and you can catch_unwind it

I'm not sure which argument you are trying to make but panics are not stringly typed unless you panic with a string. You can use panic_any(MyPayload) and then it panics with that instead.
Those are things you're attaching because of privilege though. One visit to China will give you a view of just how much housing can be commodtized. Endless rows of apartment buildings, each identical, supplying everything you could need.

If you're without a home, one house is very much like another. It's only once you have money and ambition that you might want a better view, better schools.
In German law, buying it in good faith gives you unassailable ownership rights.
But the forced cast to integer is always guaranteed to result in an integer. So why would it make more sense to explicitly force cast a variable's type to an integer and get a boolean as the functions return value?

Edit:

> (int)$val === false

Would always be false because comparing two types, an integer and boolean would always be false.
The stated reason: Outsourcing improves efficiency and decreases costs.

The real reason: It provides a mechanism for political kickbacks, vendor lock-in, and shifting blame.
No, you should not unwrap unless you know it is safe to do so. You should also add a comment why it is safe to unwrap, if it is not obvious.

Many programmers are writing code for sunny weather only, with error handling being something you might add as an afterthought if your code starts to feel a little too brittle.

In my eyes error handling is just as important to do correctly as getting the core of the functionality done, because error handling is a core functionality of any program, especially if we speak of libraries others are meant to use.

Error handling is what differenciates engineering from coding.
What is the use for 2 search bars in Firefox?
Introducing a new drinking game for HN readers:

Every time a music topic comes up on the frontpage, have one beer for each hour it takes for adamnemecek to come around and plug the forever "coming soon" ngrid.io project.

So far there are 54 mentions of ngrid.io, all by the same user (adamnemecek) [https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...] and all for highly unrelated topics.

When are dang/the HN moderators going to ban these shameless promotions?
I studied for my MSc in the UK mid-career. I didn't really do it for the potential payrise (there is/was none), I just did it because I enjoy learning about computing and wanted to do something structured so that I stuck with it. It cost me about £10,000 and I paid monthly over the 2 years so it wasn't so bad financially. I think you can take a loan in the UK to cover postgrad stuff, but I didn't bother, I was in the fortunate position that I could afford not to.
Stop pushing your own moral values onto others.
But why remove it in the first place. Is it such a burden on the parser or mental overhead for developers?
That’s quite cool. I have such fond memories of (post qbasic) learning to program in VB