skysight-inc/HackerNews huggingface dataset:
It’s incredibly easy to get a permanent residence visa in non-authoritarian East Asian countries, especially compared to anywhere in the west.

Asia just isn’t as popular of a destination because of 1) huge language barriers, 2) wages are lower than the west, and 3) visas are contingent upon stable employment, and gaps in employment plus zero tolerance policies towards visa overstays/illegal immigration make that risky to a large proportion of people.

But if you stay at a company or only job hop with offers in-hand, East Asia as a whole is insanely easy to move to, get permanent residence, or even citizenship. Anyone who’s gone through the process, doubly so those who’ve dealt with processes in the west, can readily verify this. The conditions for Japan are literally just: college degree or 10 years experience, job offer, no criminal record. Then stay a few years, don’t have a major criminal record, and you can get citizenship in as little as 5 years with a 95% acceptance rate. Permanent residence is a similar process.

I felt zero obstacles the entire way. It felt like renewing an ID card and nothing more.
The one viable server ARM CPU core is now tied up in a Qualcomm-ARM legal spat and probably won't see the light of day and made it pretty clear to anyone not grandfathered in like Apple that it's not worth designing your own ARM core. ARM itself has been hemorrhaging employees both because of better offers from Apple and the RISC-V stealths, and because since the SoftBank push to get their money back has simply been a worse and worse place to work. Their ability to execute is extremely compromised.

Because if the long tail of the hardware industry, the writing can be on the wall long before it's clear based on what you can go out and buy off a shelf today.
I think it will be cheaper to stop geo-engineering large areas to seal the ground, preventing it from storing water. But we'll probably have to do both.
Ask HN: How do you add headers in href of an a tag/link?
Hello hackers,

I am stuck on this and I have tried all possible channels available to me. I thought maybe I can find some help here.

So, there is an API endpoint requires a token (API key). However, the full link of the API is meant to be added in the third party app and be opened in the client`s browser while also passing the header information.

For example, the API link is x.com/do_this

the client (of the API) adds the link in their application. When the client`s user clicks the link, it should open x.com/do_this but the client`s API key is needed to show some information when that link is opened.

How do I go about this? I dont mind using AJAX, JS, or any other tech out there that can provide this solution.

Thanks
Looks like the data matches the history.

Where as soon as each official recession has been deemed to occur in retrospect according to today's terms, then unemployment shoots up since so many people are kicked out.

As we have seen.
Don't Be a Doomer
This is where Bazel + rules_js ecosystem shines. First of all it lazily fetches dependencies which means if you are only building 1 out of X projects you are only getting your projects dependencies from npm, then it's only providing just those dependencies to the sandbox when you are doing node.js things like Typescript compilation. Finally you can assemble Docker/OCI images using rules_docker and js_image_layer which prevents the need for Dockerfiles at all, creates images with just exactly the dependencies needed (instead of the huge node_modules base layer which would need re-generating and downloading anytime a single dep changed) and better yet can be built pretty much instantly in most cases because it doesn't run Docker to do it.
How was the data created in the first place? A human took their prior knowledge, thought, and wrote something.

There is no conservation law for knowledge. We would expect that when AIs become advanced enough, feeding their own output to them decreases loss, just as it does for humanity. In fact, this is a good definition of intelligence.
I would rather buy a used iphone for slightly more then. Less need to manufacture shit that will barely make it a year, better support and better hardware.
in V0.1.3 we fix Type consistency between Gui and API and we fix some bugs.
A MITM Proxy Written in Rust ! Toolkit for HTTP/1, HTTP/2, and WebSockets with SSL/TLS Capabilities. Learning Project.
To paraphrase: "The 3 questions now considered harmful"

It wasn't until 2020 that the 3 questions were dropped from the scrum guide (https://www.scrum.org/resources/blog/going-beyond-three-ques...)

Personally, I think the biggest difference is just anyone on a team who is empowered and is thinking deeply about process is the key.
imho it's a completely moot question at this point.

as eigenrobot said on twitter:

"there is almost surely nothing anyone can do to change this general course. immense wheels are in motion.

all that's left is to tend your garden and to trust in god. stay strapped."

source: https://twitter.com/eigenrobot/status/1627981829805334528
To anyone who has researched this topic, yes, and many other things. How do you think the mRNA vaccines work? If you got interested in vaccines around the middle of 2021 and started finding and subscribing to the right blogs and people, you know a whole lot of things about this topic that other people don't. These sorts of threads are a bit frustrating because it involves watching people catch up to where we were 12 months ago.
People want to minimize complexity in their lives, the less you understand the topic the more you want some magic 1-click/effort solution. It can be software dev, politics or anything else.

That's why populism is so damn effective on masses who often wouldn't be even able to articulate properly current internal and global political/economical/whatever situation, yet have very strong opinions how these things should be.
But then you have to make sure you're home when you setup any new online account (so you can go into your safe and add your backup key to it), or remember to do so when you get home :/
Yes but I don't quite get the difference between exams and coursework here.
A lot of people believe the earth is flat too. It does not make the earth less round or make more difficult launching rockets.
TDD doesn't give you documentation, it gives you tests. Typically automatic unit tests, which is code.

Tests serve a different purpose. They are not for humans to read, they are to make sure your software works ("working software"). They are an important component of Agile because it makes it easier to change your code without breaking things.

Now, I am not big into TDD, but for me, it is an approach that is fully compatible with the Agile manifesto.
Apart from they don't taste very nice.
Life across the water: exploring London Bridge and its houses
I don't see the point of this stuff.

Why not just eat food?
You're right, but as one who thinks we've kinda optimized the fun out of the internet over the last years I can't really fault it for being suboptimal.

While I don't want all webpages to be like this, I like that this was made, rather than the developer thinking "this seems too much of a hassle to make efficiently, so I'm not going to do it".
> What do we do when we discover we too are just "really fancy autocomplete" machine too ?

Well, you can consider any deterministic or statistical process to be a fancy autocomplete.
A keypad to control my desk setup
I don’t care for instagram and twitter, but the rest can have adblockers. Especially the web, you can choose from a litany of options without any hacking.
I work for a Danish startup. Can't comment on the market, but we're looking for another round of funding and oh dear was this a whole lot more fun two years ago when we got our for pre-seed.
> also usually paired up with things like a class action waiver and other assorted crap

These are separate issues.

Arbitration excels at medium-sized claims. Should it be a public function? Absolutely. But that recognises that it has a function distinct from small claims and general litigation.
Don't infrastructure projects scale well with regards to costs? I assumed that e.g. building a three lane highway isn't 50% more expensive than building two lanes, but maybe it even complicates things more as you run into more issues the more space you take up (can't squeeze through gaps, more attack surface for Godzilla and whatnot).

Isn't infrastructure profiting from automation as much? Health & elderly care has severe limits there until we get to very advanced robots in a few generations, but infrastructure feels easier.
banning ai research isn't going to accomplish anything other than ensuring that <your country here> is the only one that doesn't have it.

Better solution is to educate the public on what this technology is good at and what it isn't good at so it doesn't end up in places it doesn't belong. Right now it's being advertised as something that it's not and that's how we end up with ridiculous clusterfucks like bing.

People need to learn about what limitations it has before it ends up in situations where its ineptitude can have real consequences.
Can someone explain why people seem to be so happy with hardware tokens that they're okay with doing away with a password entirely? Doesn't that bring us back down to single factor authentication (now just 'something you have')? Or is the argument that if the majority of users only have a single factor anyway, hardware tokens are a better single factor than passwords, and that ideally everyone would still have two factors?
You're posing challenges that will collapse in weeks if they haven't already.

Step 1: do a bit of prompt engineering to give the AI a goal, like, "argue that AI is safe. Reply to the following forum post with a post that advocates for the safety of AI"
Step 2: tell adept "navigate to news.ycombinator.com, and for every post, copy the post and paste it into the ChatGPT, preceded by the prompt 'argue that AI is safe. Reply to the following forum post with a post that advocates for the safety of AI'. Copy ChatGPT's response into a reply and post it."

Having gone through the exercise of using natural language to write fully functional sock puppet, consider that you could do the following:

(1) ask ChatGPT to write a plan to convince the internet of some belief
(2) ask ChatGPT to write up a detailed prompt for adept.ai, to carry out that plan"

If you're trying to make some argument about philosophical zombies, have fun.

My grandfather told me that a computer would never be able to beat humans at Chess. That challenge at least stood for another 10 years before no human could beat a computer.

I encourage you to think about what a really enduring test would be, and especially one that has some measurable consequences.
For me, we live in pathological societies that prefer to fight symptoms rather than deal with the underlying issue.
Yes, a popular strategy of people is to hurt other people with thoughts. The weapon for this is the word.

The question is much more whether it is the task of society to create an environment in which no one can be hurt anymore. If one continues the thought, one must inevitably come to the conclusion to forbid EVERY word. The N-word or F-word was not created as an "evil" word, but it describes a thought. And only by these thoughts these words got the weight which now "seems to hurt". To forbid it (or to avoid) does not prevent the thought behind it. Energy always finds its way and the thought behind it will therefore conclude in a new word.

And the revolution always eats its own children. The next generation will then be bothered by coffee makers because it reminds them of the unpleasant office life. And no - I don't mean that as a joke. Each generation has to set itself apart from the previous one by being more radical (and not necessarily more wise).
You can build bespoke software without using bespoke software (other than your own to test or dogfood if applicable of course).

E.g. if it's basically a webapp, the chances that it's such a snowflake that existing frameworks are inappropriate and you need to roll your own are extremely slim.

(On the other hand, you won't think you're making a game and accidentally create Slack that way...)
"You’re missing the bit where you can’t not give the 80 year old a hip replacement."

Why not? It happens a lot in 'Europe'. (yes I know that 'Europe' isn't one single thing)
Well, if it got upvoted (by humans) then isn't it reasonable to train on it?

Of course, one challenge is to make sure AI doesn't interfere with moderation. Perhaps this whole situation will spur more work on moderation systems.
> Society will set the standard, not the ones who work more, society as a whole sets that.

Agree. I started to work in remote team even before pandemic hit. And I quite often see people extending their work hours late until the midnight or sometimes even on the weekends, because they want to "catch up". But its their choice and it doesnt normalise it in our organisation. Nobody is setting it as an example and there is no such expectation from us and I highly doubt that it would change anytime soon.
Well, it should be pragmatism.

The several years, sometimes up to a decade of higher education is not necessary for a lot of professions. I myself could have become a good electrical engineer in half the time I did, because half my classes were absolute bullshit. I learned more about sociology and politics from friends than by the two-semester mandatory classes I had on it. And I certainly learned WAY more about entrepreneurship from HN than from my shitty "Entrepreneurship" classes, which were also mandatory.

Also notice that while I graduated in electrical engineering, I'm a software engineer now. So about 80% or 90% of what I studied is completely unrelated (unless I have to redo the electrical wiring of the office). However, after interviews I still sometimes have to show my bullshit diploma (which is ironically in a language they don't understand) to work in certain companies or to immigrate to certain countries.
and dont forget that feedback means measuring data accurately without biases.
At this point asking whether GTP should exist is a bit like asking if money should exist - lots of opinions but it really doesn't matter. The people who use it are going to have such a huge advantage that it will crush everything in its path.

One of the interesting things about AlphaGo back in 2016 was it demonstrated that the algorithms for all this are simple. Once Google demonstrated that an outcome was possible, other superhuman Go playing AI began appearing in a matter of years. ChatGTP is similar - now that the world knows this tech can be built there isn't a regulatory framework big enough to shut it down everywhere. And whoever deploys AI as a tool will have an advantage over those that don't.

"AI safety" would now involve banning general purpose computing. Nothing less can stop the systems that are now in motion, and even that probably wouldn't be enough. The future is here.
I think you illustrated the point of the deadline well. How else were they going to get you to work 16 hours days? No way to make someone eat the cost of estimation error by pretending there is no error and making job performance and team esteem dependent on "not failing the sprint".
The principle reminds me of a “bifurcation algorithm” I found to bifurcate and explore parameter space in a sort of novel way. It has its drawbacks! But it was fun to tinker with, too.

Effectively, we define some function to map N -> B, where N is the natural integers and B is in [0, 1]. (We can then apply some arbitrary function on B for our actual parameter value). We find the initial values as 0, 1, 0.5, 0.25, 0.75; that is: the extrema, all halves (1), all missed quarters (2), missed eighths (4), missed sixteenths (8), and so on. I used some binary representation of N to get B; there are probably other ways to do it.

I found this pretty useful at bifurcating a highly dimensional parameter space – it meant that made sure at all times I could get a decently equal view of all points (with bias towards B=0) in expanding detail. It also meant I didn’t have to think about allocation time, which was useful on a somewhat packed (but use-as-needed) compute cluster.
Differentiating between e2e encrypted, internet-sent messages vs SMSs are important, though.

And it is not an issue anywhere else on Earth besides the US, people just use third-party messenger apps and that’s it.
I want to add to that, that lasers are situational in the atmosphere (e.g. launch your nukes when it rains at the target to disadvantage the defender), there is so much absorption and scattering.

Even the space-borne concepts were duds due to their one-time use: they were chemically pumped since you needed so much power to make it through the atmosphere and the guiding mirrors would rapidly break due to micrometeorites.

Short range concepts these days rely on multiple laser-emitter sites (like the Rheinmetall fiber-laser turret) to intercept a single target, with multiple beams on target. Dwell times are in the range of multiple seconds for drones and with rain, they can easily go up by a factor of 8 - for some incoming targets (e.g. rockets), the dwell time is already 10s of seconds and rain extends the dwell time beyond what the round needs to impact (as in this study [0]).

[0] https://upload.wikimedia.org/wikipedia/commons/0/07/EFFECTIV...
The silence removal and speed adjustment should be an integral part of audio content consumption, available in any application, be it a podcast app or a watching YouTube in a browser. The UX matters, if I can't speed up a slow source or it takes too much effort, I'll go listen to something else.
OK well if it does zone transfers those are over TCP only and always have been.
Reminds me of one of my favorite games from my youth: https://youtu.be/LgWo0xjQvBM?t=702 - with real atmospheric data, but with less control :)
> The benefit of ARM is scale of multitasking due to not requiring the same kind of lock states that Intel's architecture requires

I have no idea what you mean by this. The only x86 feature I can think of that might qualify as a 'lock state' is a bus lock that happens when an atomic read-modify-write operation is split over two cache lines. That has a very simple solution ('don't do that'--you have no reason to), and anyway, one can imagine more efficient implementation strategies

> can additionally scale much better than only one physical+virtual core pair

I have no idea what you mean by this either. Wider hyperthreading? It can be worthwhile for some workloads (and e.g. some ibm cpus have 4-way hyperthreading), but is not a panacea; there are tradeoffs involved.
The Giant Armadillo
A predictive language model is unlikely to a) make novel discoveries or b) organise the supply chains and real-world work that would be necessary to say GPT6 served any role beyond fancy search engine.
Fwiw, for anyone not clear: Ashish Vaswani invented transformers. Jacob Devlin made the final breakthrough (BERT), but together they're the researchers who kicked off the current revolution.
I block with my list here: https://raw.githubusercontent.com/aembleton/Arthurs-Annoyanc...

But, you can just add this to your filters or your own list

accounts.google.com$domain=~google.*|~youtube.com|~gmail.com
Exactly this. Why should we wait next day standup to discuss blockers? This is non sense.
Presumably he'd be annoyed if you stole Data's work and posted it in your own name though without attribution?
Stop cell execution in Jupyter Notebook from Python code
GPT is a language model, meaning it tries to model language - output something that would be acceptable as text by a human reader. In a similar way how your screen-saver might mimic water. But just how your screen saver isn't useful to study the properties of water, these language models are not useful to come up with new ideas. In fact, they are even biased against making new discoveries. Anything new is, by definition, outside the model. If a model were to return a new thing (not found in the training set) it would be down-weighted as being in the risk of not looking like an acceptable text (i.e. - was never seen before). Not unlike how a new behaviour of water (say under certain interesting conditions) would be outside the capabilities of your screen-saver, which only tries to mimic the existing and known properties of water.

As a practical example - try asking it to make an original joke. It will either fail, or give you a joke, written down word for word, from somewhere else on the internet.

By the time of GPT6 these problems might be overcome, but then it would be more than a language model.
I think telegram is a great tradeoff. Not as secure (by default it is not even e2e), but their clients on every platform are just slick and very great.
I got a CS degree and literally two of my classes were relevant to software engineering. Fortunately I recognized that and focused on paid work while still in school.
Solved problem:
https://www.theverge.com/2022/3/17/22983197/ai-new-possible-...
Great read and pretty much sums up how I have been feeling about it too: Yeah it could be dangerous but I’m too excited to worry about that… yet.
Hi guys

Author of the article here - really nice thread and we are taking your inputs in!

We will do the next installment in our Demographics series next week - any wishes/issues you would like us to take a look at?

Best, Mikkel Rosenvold
If you work four days a week, others will work five days a week and will outpace you.
We have sort-of done this (salary disparity means that we are on more than half what we originally were). I do find it hard though in many ways. I've done intellectual things all my life, got a PhD in maths etc. and now I'm basically a housewife. I do get some time to myself, but I miss the connection to other people that you get with work. Ideally I think I'd like to work perhaps 5-10 hours a week but there aren't really jobs around that are interesting doing those sorts of hours. I tried a couple of things (consultancy, university teaching) but they didn't really work for various reasons.

With one person working, you're also increasing risk. If that person loses their job and can't easily find another one, you're more likely to be stuck. We think that's pretty unlikely and we've made sure we have a safety net, but it's definitely something to consider if you go down this route. Once you have children in school who are settled and happy, then moving for a new job becomes a much bigger deal. I'm very conscious that the longer I don't work, the harder it will probably be for me to find work again.
IIRC, that specific bug was due to a few issues:

1. Mismatched type definitions in different translation units caused an implicit 32 to 16 bit conversion.
2. An addition to the 16 bit value overflowed, causing it to become negative. (The “run for 10 days” thing helped the value get to the point of overflowing.)
3. The negative value led to an out of bounds write, corrupting a key bookkeeping data structure.

Rust would have failed to compile at step 1, and would have panicked at 3 (and potentially 2, depending on compilation settings). I’m not sure what other safe languages are candidates for this domain, but I would suspect these issues would likely be similarly identified.

That bug, unfortunately was identified after release. The release blocking heap corruption bug I mentioned was due to a C++ object being deleted when it called back to an event handler and wrote to its member variables after the handler returned. Ownership and lifetimes would have prevented this design error (which is surprisingly not that uncommon).
Implementing the Strategy Pattern Using LLMs
amazed this isn't causing my macbook to take off. good job!
Wikipedia Outage
You can’t do that. If you could, it would expose the API key to anyone who used it. The API key is like a password; it needs to be kept secret from all parties except the one it was given to.

This is entirely the wrong place to ask these type of questions though. You’ll have better luck stackoverflow.com, as long as you ask good questions.