skysight-inc/HackerNews huggingface dataset:
If you've truly mastered web development, then maybe the next step is to think fundamentally about how we do web development and if you think it could be done differently, and then build the tools to do that using all the experience you have built.
Trajan and Augustus rather look the same. Also I wonder if this would expand to include Constantine and beyond?
Aren't contexts supposed to flow mutations down the call stack, not up it?
Thanks, yeah. With this view I run into trouble understanding what constitutes "entry into" and "exit from" superposition.
Build an Audience, Then Sell Them the Product/Service They Want
Forward secrecy does not protect against a break of the cryptography.
Is this subreddit reliable? A cursory read of the comments left me with the impression that human-caused climate change is no big deal, and that makes me wary regarding whether other claims from there are to be counted upon.
My response has some holes in it, but my view there is that profit/value has a pretty good feedback mechanism that social good doesn't. If you are a normal business, your customers basically give you a mandate to continue, maybe even grow. It may be a substandard metric to control for with regards to society, but at least it is a control system. The mechanics of social benefit feel a lot more complicated, I don't really know how to sum them up in one way without just being like, "the government pays for things it finds beneficial".

The issue is that a valuable endeavor doesn't have to be good, e.g. maybe social media.
I was looking at the T14 AMD laptop a few days ago, if it had a 4k or 1440p display option I'd considering getting it.
How jumbo squids survive the frigid, oxygen-deprived abyss
> can I multiply a number by itself

This is a great clarifying question. Ambiguous from the prompt.

> what shall I return if there are multiple numbers meeting the criteria

This is a decent clarifying question. I think it is better expressed as a clarifying point instead of question--mention to the interviewer your thinking out loud; something like "if there are multiple options, I'll return an arbitrary pair". Ask if they are okay with that.

> is the list sorted

If I were the interviewer, this question would almost make me dock points off of the interviewee. Maybe not that strong as I do try and ensure people are as comfortable and open as possible in asking clarifying questions, but this barely qualifies as a clarifying question in my opinion. It is almost irrelevant to the prompt; if the lists were sorted and the interviewer failed to mention / there was some "trick" that they expected you to clarify, that would be an awful interview question.

That being said, overall agree with the sentiment and yes you should try and always ask clarifying questions and ensure you understand the problem statement.
If you embrace many worlds all these issues go away.
Samba is another case, and a very important one at that for a lot of users.
Espanso introduces new Form support
Part of the fall of the R&D lab is high-profile inventions like the silicon transistor, GUI, and digital camera that the corporation failed to capitalize on. Part of why you do all this research is to find the next big thing, but if you can't see the potential of these inventions and turn them into businesses, what's the point?
There’s little difference between a software company staffing a small porting/parity team, and a retail product company staffing special AR and buyer management teams to deal with large distributors.
I doubt the extra years lost will affect people's decisions. I've seen a lot of 20 somethings weaving in traffic or not wearing protective hear while motorcycling. It's human nature to enjoy life by taking risks, reasonable or not (subjective as that is).
Flight Simulator Recreates Passenger Experience
There is a lot of debate about that, and the best thing is to contact a tax attorney. But a lot of digital nomads in Southeast Asia are working for American clients and getting that income in under the exclusion. I’m not sure if it’s different for full time rather than contracting income.
Yes I agree. A huge red flag is if the interviewer is leaning back in the video call trying to get you to see the spaceX logo embroidered on their shirt when they don’t work there anymore.
The QR shit is annoying. I'm young, but having to keep picking up our phones to look at menus and getting distracted by them is exactly why I go to a restaurant in the first place: human experience. Purely consuming food can be done at home.

Also, my wife's phone was low on battery so we were on a clock. This sucked. They had batteries but no cables for an Android phone.
An refrigerated transporters are not the most efficient way to transport meat

To transport lots of meat, we can look at the oil industry again and move it up to the next level: meat pipelines
> #2 - Not keeping your interviewer engaged
> It is extremely simple, just think out loud

Yes, "think out loud" is better than being completely silent, but given that many hiring decisions are based on how the interaction feels, including the quality of the communication _in order to assess thinking skills_, candidates can see huge returns by learning specific communication techniques.

I make videos on this topic (technical and non-technical interview and negotiation skills), and happened to have just made a video on what to say while writing code:

https://www.youtube.com/watch?v=sv42PpY-nK8
No, you only pay SS if you are resident.
I had this earlier! A bunch of sites were down for me, I couldn't even connect to this site.

The problem is I don't know where to find what was going on (tried looking up live DDOS-tracking websites, "is it down or is it just me" websites, etc. I couldn't find a single place talking about this.

Is there a source where you can get instant information on Level3 / global DNS / major outages?
Why did it take two weeks to recover from this? Aren't there protections in AWS from simply deleting VMs. Wouldn't AWS step in and help a company like Cisco if something horrible went wrong?
Why should that not be more of an expectation? Sony has started putting out formerly PlayStation-exclusive first-party games on PC. Even Bloodborne may show up on Steam soon if rumors are to be believed.

It would be a good thing if Half-Life Alyx came out on other PC game stores, in exactly the same way that it would be a good thing if a game like Control came out on other PC game stores. Our expectations are socially constructed and we should question them more.
What’s going on at Cisco where a departed engineer doesn’t have AWS credentials revoked for a whole 4 months? Hell, the person probably would have had access indefinitely if they had not had done something to make to make Cisco aware of the access.
you misspelled "Google" I think.
> it taking quite a lot of CPU

Yes that is fixed.

The reason for slow performance + high cpu usage on electron/webkit apps was just the sheer amount of mach ipc calls (from the many many <div> layers) needed to be made to fetch the entire UI element tree.

This has been fixed two days ago Heres the solution for those interested: https://github.com/dexterleng/vimac/pull/190

I was also using a bunch of async queues instead of just a single NSThread which likely contributed to high cpu usage, and that has also been fixed.

> warning that I am using a screen reader.

Nope, you should get this warning, although it was a one time prompt for me. This is because Accessibility is opt-in for electron apps for performance reasons, and I have to ask for it through setting the AXManualAccessibility attribute (see https://electronjs.org/docs/tutorial/accessibility#assistive...), which I guess triggers the prompt.
Ansible is good at putting configuration files in the right place and setting their appropriate values to what you want — provided it’s relatively simple, otherwise prepare yourself for complex templates — or installing software from a package manager, etc., etc. As soon as you go outside what its modules provide, it gets more difficult. Modules themselves are actually easy to write, provided you maintain Ansible’s (completely reasonable) maxim of idempotency. Sometimes, however, idempotency is hard to enforce.

The best example I’ve come across is building software from source. When there’s no package, you have to do this. Some may argue that this is not Ansible’s job, but I don’t see how it’s different from `apt install`, nor where else it would fit into the pipeline. Anyway, the way I solved this for example was by pinning the idempotency on the existence of build artefacts. Those are often software-specific, so it’s quite fiddly/non-general to find the right artefact.
Sounds like a net lose for countries that offer extensive social programs and healthcare depending on how the income tax works.
After your foreign earned income exclusion is exhausted, you can deduct your foreign taxes, at least. In low tax but high COL places such as Singapore and HK, you also have the housing deduction to help out.
> other than the transistor and Unix and the princess telephone, what did we get for all that money?

Bell Labs may not have been able to commercialize all of its discoveries, but humanity certainly got a lot more than Unix and the transistor. Quote [1]:

"Researchers working at Bell Labs are credited with the development of radio astronomy, the transistor, the laser, the photovoltaic cell, the charge-coupled device (CCD), information theory, the Unix operating system, and the programming languages B, C, C++, and S. Nine Nobel Prizes have been awarded for work completed at Bell Laboratories."

Bell Labs was also a training ground for a great many people who went on to make highly impactful discoveries [2], from Hamming to Bengio.

[1] https://en.wikipedia.org/wiki/Bell_Labs

[2] https://en.wikipedia.org/wiki/Bell_Labs#Notable_alumni
There's a couple of misleading statements in here. It's true that CDF firefighters make a decent living, but it's also true that every other fire department pays better. They'd all take a position in a city fire department if they were after more money.

The other misleading thing is associating these current fires with bad forest management practices. It's true for Sierra Nevada forests generally, but that's not where these fires are. The Big Basin area near Santa Cruz isn't supposed to regularly burn. Historically it goes through intense fires rarely. "Preventing megafires" isn't what that coastal redwood forest wants. The other big fire in the San Antonio Valley and Del Puerto Canyon is virtually all privately-held land. There doesn't seem to be a mechanism for the state to require a prescribed burn through private lands, like you might do in a national forest or BLM holding.
I used those words, but if you understand how OTP/XOR works, they're both kind of OTP.

They're both totally random 0's and 1's. Only putting them together (using simple XOR) makes them a message.

The separate channels is important since each is mostly E2EE secure except for the whole government spying problems, but usually not all of them cheaply on each service. We live in unique times now where this wasn't as relevant or possible before.

Does that make sense?
> "Generate a positive feeling towards your brand."

I try to do this by having a generous freemium model. To the best of my knowledge nobody in my space has put even 1/3 of the free content out onto YouTube. Hopefully not offering extra discounts the rest of my tutorials won't overwhelm that goodwill, but one never knows... Many experience entrepreneurs also tell me that a freemium model at all is a mistake.

> "Please don't use .edu addresses as a only verification. There is a world beyond the US, and they don't use that."

Thank you!
Love this app. Absolutely check it out if you are serious about keyboard navigation.

The only suggestion I’d make is to have the cursor return to its old position after an action. But it’s a minor nitpick.
Level3 was qquired/merged/changed to century link a year or so back, I think they closed their old twitter account then

When someone says level3, read century link. L3 have been a major player for decades though (including providing the infamous 4.2.2.2 dns server), so people still refer to them as level3.

The account to follow for them now is https://mobile.twitter.com/CenturyLink but it won’t tell you much.
I agree with that comment. I have a part 2 of the blog post where I address the issues I have seen in interviewers

https://aitorvs.github.io/post/most_common_interviewer_mista...
> That's the bottom line with most of these kinds of technical "correctness" arguments

The problem is emergent behavior. We can create any number of features, but we have a really hard time testing all the available configurations that result. Engineers rely on simplicity as a way of warding off this particular problem, because the other bottom line is people don't want to pay for a system that loses or invalidates the work they've put into it.
Many-worlds interpretation takes care of this. Anyway, how do you know your experience of the world cannot be superposed? Have you ever been in superposition? We make up stories to maintain consistent histories all the time.
Probably best to notify the fire department in advance of the burn so that they can already be prepared if it gets out of control. I wouldn't be surprised if some jurisdictions require this.
> Also, you may over-estimate the "natural-ness" of standard time. In most places, standard time is already way off of solar time, and as far as I can tell that's not really bothering anyone.

Yes, Greenwich meantime goes through Spain, but we are an hour ahead of the UK's timezone.

I remember being in Chile years ago, travelling pretty much North to Peru, but there was a two hour time difference. They are in different timezones by one hour, and I think Chile had DST but Peru didn't.
An autonomous weekly CSS Contest
Django-raw-API is async-capable now
I actually tried, but all I got was some consultancy services that would help you get an ISP with estimated cost of 10k USD (a middle class household earns half of that in a year here).
That comment section is pretty interesting to read...

I don't really have a use case for that feature right now. But that doesn't mean others don't have a use-case for this feature.

As the comment section reads, most feel entitled to NOT HAVE this convenience feature implemented for others, because they do not need it. It feels like a cognitive bias, but does it have a name, besides "get off my lawn?"
Ask HN: Simplest way to add paid subscription plan to my webapp?
I have a popular webapp that is currently free for all users and doesn't require login. I want to add an optional feature that will require the user to pay $5 per month.

How can I do this with the least amount of code? Is there a platform-as-a-service that integrates Google sign-in and Stripe subscription billing?

Ideally I want to just include a line of javascript (provided by the platform) to my web pages which adds a 'Log in/Register' button in the top-right corner of my webapp - then I just check the user's subscription status on the server to enable the feature. I don't want to mess around with Google authentication tokens or Stripe webhook callbacks.
"Mastered" is definitely an intentional overstatement. I still have tons I could learn in front end and some of the more advanced aspects of back end. What I really mean is "I've mastered the part that interests me." Now I would like to focus on the application of technology to less CRUD-y problems, maybe something like model building / scientific computing. I also enjoy building custom workflow apps and that sort of thing.
That's true. You could end up with bad Opsec and then accidentally download both Signal and Telegram on the same device, reducing (but not eliminating) security. Thanks I'll add this to vulnerabilities.

You can mitigate that with some upfront choices. For example, use a blackberry and blackberry messaging as one device, which wouldn't be available on other devices?
I really want to believe that that's what Nero looked like. I'm pretty sure he tried to get me to prop him up for a keg stand at a college party.
What is taxonomy in digital asset management and why it matters
That was my first impression and why I guessed nil value.
If you try to become an LIR in your own right, RIPE fees are much higher.

If you're looking for PI (provider independent) resources from RIPE, the costs to the LIR (on top of their annual membership fees) is around 50€/year. An ASN and a /48 of IPv6 PI space would therefore clock in around 100€/year (which is in line with the GP's pricing).

Membership fees are around 1400€/year, with a 2000€ signup fee. The number of PA (provider assigned) resources you have has no bearing on your membership fee. If you only have a single /22 of IPv4 PA space (the maximum you can get as a new LIR today) or you have several /16s, it makes no difference to your membership fees (this wasn't always the case, the fee structure changes regularly).

(EDIT: Source: the RIPE website, and the invoices they've sent me for my LIR membership fees)
If a company has to trap employee with health insurance to keep them from leaving, that suggests they aren't treating their employees very well.
Mostly I think of contexts as a way of helping you to deal with the fact that something might initiate some work but that you can’t necessarily guarantee that you’ll be given enough time to complete it. This might be because there’s a time limit/deadline or because some other condition can be cancelled. This is useful particularly in places where you are dealing with clients/servers over a network.

An example of this is accepting an HTTP request from a client and then creating a response to that request. Ultimately, the client can ultimately give up waiting at any time and disconnect, so being given a request context allows you to deal with this situation - you can check if the context is cancelled at any time and abort whatever expensive operation you were midway through doing or about to do.

Some internal packages, such as net/http and database/sql, accept contexts as a means of avoiding unnecessary work - they will just “no op” if the context has been cancelled by that point, or they may add some new information to the context and pass it downward.

You can also check yourself if a context has been cancelled and you can even use the Done() function to break out of a “select” block early.

Another important detail is that contexts are always limited by their parent context. If the parent gets cancelled, so will any child contexts (such as those created using WithTimeout or WithCancellation).
The Context package is tricky to use correctly. I got bit because I designed an API that assumed you could embed a Context within a larger struct. Because it's immutable you can't and have to pass it as a value everywhere. It wasn't fun having to break backwards compatibility to fix that mistake.
> Aren't there protections in AWS

For this, in general, the answer is: (1) yes, IAM permissions, and (2) yes, if you configure them, and they often have a cost.

> Wouldn't AWS step in and help a company like Cisco if something horrible went wrong?

If Cisco asked, probably. But some things are inherently non-trivial to recover from once you've allowed them to happen. AWS can help, but they aren't magic.
Deep Throat?
Alternative Forms of Wealth
I agree with this, and I want to add to #3.

When you prepare for the behavioural questions, give answers of real situations that you are very familiar with, and avoid "keyword soups". I've seen quite a few candidates failing interviews because they gave almost canned answers that seem to hit all the right points, but once you dig deeper they aren't able to elaborate more.
Great list. Adding one of the most common mistakes I see during interviews:

Not saying “I don’t know” when you clearly don’t know the answer to a question.
Oooh, maybe that's why HN wasn't working for me a little while ago (from AU)...
Based on experience it will probably not public, or at least very limited.

But customers are likely to get one, at least if they request it.
Unless you plan to post links to your tiny blog on reddit
I don’t think it’s fair to dock points for asking if the list is sorted. It might feel like a stupid question but clarifying requirements rather than making assumptions is one of the key differentiators between a junior and senior engineer.
This will be a bit poorly thought out, but the response goes like this: why invest in corporate R&D with uncertain returns when you can invest in index funds with guaranteed return?

The stock market is supported by ample goverment intervention, the rest of society not at all. Just consider the major stock market indices and compare that with continuing unemployment claims.

Now you have a feedback mechanism that supports investment banking at the expense of everything else, and here we are.
Of particular interest is section 20.18 -- "Mirroring memory operands"; extending (something like) register renaming to memory.
I don't know, have you tried linkedin?
That's great!

Tools are just means to an end and overrated compared to the actual end.

Changing quarterly to the "most efficient" tool is a lot of work over time.

Sticking to one seems to get things done.

And static websites save you the headaches of security - I think your father can't imagine what it means having to patch a critical bug in node/php/mysql/whatever during your vacation when travelling.

And I guess, he may not think of this kind of publishing as being for the "technically minded" or "tech-savvy" ones only.

And the stuff can be read in ages to come.
Here's a classic - not understanding the implications of encrypt-then-mac vs mac-then-encrypt.

https://crypto.stackexchange.com/questions/202/should-we-mac...
I definitely prefer case-senstive. I didn't realize that MacOS had switched to case-INsensitve at some point. So the following drove me crazy for several minutes:

$ ls -l /usr/local/bin/virtualbox

-rwxr-xr-x 1 root wheel 77 Oct 2 2015 /usr/local/bin/virtualbox*

$ ls /usr/local/bin | grep virtualbox

<nothing, WTF??>

$ ls /usr/local/bin | grep -i virtualbox

VirtualBox*

My coworker uses MacOS, I use Linux. Several times, changing the case of a directory or file caused the MacOS to mess up the local git repo so badly that we had to blow it away and refetch from remote.

At least the Mac Finder allows changing the case of a filename. Windows File Explorer simply refuses. I change the case of the file name, add a random character, save the file name. Then edit the file name again, remove the random character, save the file name. It's needlessly annoying.

I think case-INsensitive makes more sense for software developers, since there are many instances where things like "string.h" is not the same as "String.h". But for normal people, case-INsensitve may be more useful. However, even for normal users, I think there are situations where "bob.html" (a noun) is different from "Bob.html" (a person).
Contrary to what that link says, the software was not thoroughly tested. Normal testing was bypassed - per management request after a small code change.

This was covered in a book (perhaps Safeware, but maybe another one I dont recall) along with the Therac 25, the Ariane V, and several others. Unfortunately these lessons need to be relearned by each generation. See the 737-Max...
I have spent hours and hours banging my head against Erlang distributed system bugs in production. I am absolutely mystified why anyone thought just using a particular programming language would prevent these scenarios. If it's Turing-complete, expect the unexpected.