skysight-inc/HackerNews huggingface dataset:
> Tip #7. It is OK to use the same story for all your interviews. Usually, a good life story covers several leadership principles they want to hear.

I strongly advise against this, especially for Amazon.

We read each other's notes in the debrief. If we all see the same story, questions arise about experience. Have some variety. If you think the same story will answer all questions, it had better be one hell of a story.
> if you disagree with the unilateral decisions of the rustc developers? "Go fork it or write your own"? Yeah that's what we're doing

If that's what you want to do, that's great. If you experiment with new stuff, and it pans out, Rust itself might benefit from that.

Since your goal is implementing something that differs from "Rust", calling it "Rust", is misleading at best, I think is unethical, and given the intent, probably illegal in most of the world since "Rust" is a registered trademark... (IANAL but if you were implementing a frontend for Rust, you could maybe use it, but for an intentionally different language, doesn't sound like it)
Watching Privacy and Surveillance Films
this one I love, and is very useful and clear, but I'm sure each one of the c++ features are dear to someone...
"Heap" has at least two meanings.

Often when asked about "the heap", it's in the context of heap versus stack. "What's the difference between a heap-allocated object versus a stack-allocated object", or "what's the diffence between the heap and the stack"?

That sometimes comes up in early phone screen interviews.

Some languages don't have that distinction: Everything is heap-allocated. So it's understandable how you could work without encountering the difference in some environments. But many of the commonly used "big" languages make the distinction, and if you've been working professionally for 8 years, interviewers who ask about it will take into account if you know the difference. Especially if the job is in a language where it matters.

(If you're looking at working with any of the async-await-patterned languages, you might be asked a trickier question about how does async change heap vs stack allocation.)

As a sibling comment points out, "a heap" is used in a second way, to mean a heap data structure, which is one of many ways to implement a priority queue data structure. Realistically, this rarely comes up in real life except that you might use an efficient priority queue without caring how it's implemented. In interviews, it might be asked about to assess the depth of your CS or performance knowledge. The same way they may ask about other basic data structures like balanced binary trees, linked lists, etc. Heaps are among the simplest "CS-ish" data structures. Even if you're not that interested in CS, I'd say it's worth reading what heaps are and how they work, even if you never implement one.
I wrote this article to link in response to evidence-free claims about K, and have in fact used it in this way twice in the two months since I wrote it. Didn't expect HN in general to take an interest. So I need to stress again that K is a really cool language and I like it a lot!

If the article can provoke clear benchmarks against current Dyalog or J then that would be an ideal outcome, even if it proves me wrong. I already see some benchmarks linked here and will try to analyze these.
The Chinese Government Is Decoupling from Its Domestic Cloud Service Providers
The concessions Apple & Google made to "stave off regulation" are informative in themselves:

It also agreed to let developers inform their users about payment options outside the App Store, using the email addresses that users gave them. Google said that it would only take 15 percent of developers' first million dollars instead of 30 percent.

Combined with "competition for monopoly" elements like paying Telcoms not to develop their own app stores or support 3rd party ones, the whole thing stinks to high heavens.

Once upon a time, "net neutrality" had wide support, and there was understanding that it required constant vigilance. Google, ironically, was a big defender of net neutrality... even as they established their own dam immediately downstream of ISPs.
> For very large or complex codebases, where it is just too expensive or too complicated to calculate this information locally a system like this becomes very useful.

Thanks I guess I get it now. But to enable this functionality you'd need to have some form of frontend or integration into the existing build lifecycle?

Or IDE integration I guess.
Proxies are complicated: RCE vulnerability in a 3mil downloads/week NPM package
In my experience, "dribbble designers" sometimes take a "cargo cult" approach to design that apes the appearance of good design without understanding what actually makes a design good in the first place.

I agree with most of what people have written, but I think the two biggest gaps are:

First, understanding the target users and their goals, tasks, skills, context of use, performance, etc. When interviewing designers I'm regularly surprised how many of them have been working in the field for years and have a beautiful portfolio and yet when I drill into their process they seem to have spent surprisingly little effort understanding of the human on one side of the interaction.

Second, usability tests with a representative sample of the target audience. (Along with an organization that has the humility to accept when a redesign is unsuccessful.) If you do nothing else, do this. Even the best design groups I've worked with produced nearly the same number of beautiful-but-bad designs as the worst ones. The difference was that the former had the humility to accept that the design missed the mark and continued to iterate whereas the latter was often willing to ship anyway due to misplaced confidence, strict deadlines, or a CEO with a Steve Jobs complex.

With respect to things like whitespace, information density, hit-target/button size, modals, adherence to platform standards, up-front complexity vs hidden actions, icons vs words, customizability, etc those can be good or bad depending on user and context. The real problem occurs when a designer attempts to substitute their own gut instinct to compensate for a lack of understanding of their target audience. The mantra often repeated at the design program where I worked was: "The user is not like me."
Friend OS is a great open source platform, with shared storage, document collaboration and video conferencing.

https://friendsky.cloud/
> They faked the ratings away from stupid trash TV towards some higher quality stuff, documentaries, culture, ... Obviously in the movie then the country saw a renaissance, everyone got smarter, yadda yadda, you get it.

> I feel like this is similar. All tech savvy people block ads and analytics and at least the known tricks they use against us. So the internet only tracks the defenseless people and is then built to serve them (and or exploit them).

I think this is right - ad-traffic is manipulative and actually I don't think it is a societal 'good' at all.

A few personal examples:

* On Youtube almost all my adverts are encouraging me to start Forex / Stock / Property investment and trading, and sign up for courses on these. These courses are scams (or at best, 'half-scams' and poor/generic advice repackaged and sold for thousands), and in general provide poor financial advice (either through extortionate courses, recommending you become too heavily leveraged or advising you to day-trade high-volatility stocks by just looking at charts). Presumably it does this because I am 32 and male, so I am considered 'prime' for this marketing.

* One of the friends I know is a girl, and she has never seen the above adverts. We were talking and she says every single advert is just about pregnancy and fertility. I wonder how many of these adverts are just reinforcing gender-stereotypes in a wider sense, i.e. while google claims to be progressive and care about 'equality' really is their business model at it's core really just targeting women and telling them that they should be getting pregnant, while telling guys that they should be the bread-winners and earn money via stocks/shares?

* While my adverts are for forex, and my apparently fertile friend is getting adverts for pregnancy tests, my older parents just get targeted adverts for pre-paid funerals. One or two are probably be fine, but they are just on constant repeat - and I can't help but think that I wouldn't the constant reminder of death before every youtube video.

* My laptop is convinced that I want to go camping. It's only my laptop, every advert is camping related. Sleeping bags, tents... and the strange thing is that when it started I didn't want to go camping, but it's been so consistent across the last few months now that I kinda wanna go camping. Like it's sold me this romantic vision which I know wasn't there before, so even though I would usually like to say I can't be manipulated through marketing, it's really made me realise I can be.

Is the above really making society better? And if it's not, why should we put up with it? IMO the biggest lie we have been told by Google is that 'personalised ads' are a good thing.
emphasis on "easy concurrency", yet hardly simple. What C messed up with memory, Go seems to mess up with concurrency primitives. The ease with which you can introduce thread leaks and race conditions is just ridiculous.

Sure, they say use the race detector. But then I say: sure, but I need to run it first.

Of course the race detector isn't holy either. Thread leaks are a thing and there's probably a detector for that somewhere too. But surely the parallel to messing up memory with C and its detectors (valgrind?) can be made, and I thought we were all pretty done with that.

I never shot myself in the foot with Java and Scala as easily compared to go, yet you almost get ridiculed for mentioning those 2 former languages.
May I ask which country? This seems very low.
Is this really the right way to think about Go?

My impression was that it doesn't really compete with C at all - it just can't given that it's garbage collected. How many projects that actually need to be written in C can be successfully rewritten in Go?

I see Go more as a replacement for Python that's compiled, statically typed, performant and has better concurrency. Great for backend, web APIs, CLI tools etc but you wouldn't build an OS kernel with it.
I should point out that Glean has evolved quite a bit since that talk!
Hybrid IT: Three Pillars That Underpin Success
> Having created PASCAL, MODULA and MODULA-2, Wirth set out to develop the OBERON family of languages in order to build his operating system on his workstation.

This is not quite true.

Modula and Modula-2 originated from Wirth's first sabattical at Xerox PARC, where he got acquaited with Mesa and the XDE development environment, back at ETHZ he created Modula/-2 and the Lillith OS.

On his second sabattical at Xerox PARC, Mesa had evolved into Mesa/Cedar, and that was the genesis for Oberon, his second workstation OS.

Also although I appreciate Wirth's work, for me the best languages were Modula-2, and Active Oberon, while the best Pascal dialect is indeed what Apple and Borland did with it.

I am not a fan of Wirth's later pursue for the minimalist GC systems language design.
I'm not convinced. Solar is cheaper than nuclear and making Methane can be done when production exceeds demand. Why do you think that nuclear would be better suited for the task?
Words don't need to be trademarked to have a meaningful definition.
Ask HN: What are some tech companies that don't mandate vaccination?
I refuse to take the vaccine for health reasons.
What are some companies that are not draconian and don't mandate people to take the covid vaccine.
You are essentially saying the opposite of the article without any real information about what you're basing your decision on (except for apparently a hate of reasonable people and all that you believe they stand for). You're not going to change anyone's mind that way, was that what you were going for?
>Whereas things like XML and Multics are powerful they can do everything but they are not simple.

the original XML Spec is pretty simple https://www.w3.org/TR/xml/

even if you add in namespaces - still simple https://www.w3.org/TR/xml-names/

The difficulty in XML really came with XML Schemas and the need to wind that in every subsequent spec.
What's with all the completely unrelated keywords in the article link?
Probably a good idea to pass a law that certain key government employees can only own index funds (here's looking at you, congress).

However, with the benefit of hindsight, we can all take solace in the fact that, regardless of the outcome of this lawsuit, Nokia was doomed to failure anyways.

Turns out a bureaucracy built around selling hardware might be liable to underestimate the rising importance of software.
Can't you just ignore people telling you what you 'need to do'? (Or don't even go to such meet-ups, if people there are trying to make a business out of it and you know that's not what you want?) Just go back to writing for fun?
For the tech-savvy audiences and blog writers: Google provides a dedicated opt-out plugin [0] for various browsers. (So it's not just browsers interfering, ad-blockers and disabled JS.)

[0] https://tools.google.com/dlpage/gaoptout
The post was down for a quite a long time when I commented, I assumed the author's server had fallen over.
Anyone else a bit surprised by the shotgun-like application approach? I have learned from past mistakes to only apply for companies in which I think I will be happy doing what they do. I can't fathom applying to 400 different companies (but then again I also can't see myself wanting to work at FAANG)
I found https://www.orangewebsite.com/ - no idea if it's trustworthy or not, but they promise "Signing Up Anonymously", paying with BTC or Cash-per-mail, etc
It seems a lot of Australians want to live vicariously through Hollywood. Some might say it's just more of the cultural cringe.

If I were to talk to someone on the street, I'd have no idea what shared knowledge or values we'd have. Multiculturalism leads to atomisation, and atomised societies are easy to control.
Forgiving tit-for-tat :)
perhaps the devs on his team were the kind apt to go down interesting rabbit holes.
> This is true in a technical sense. Restrictions on commercial use are incompatible with a very specific interpretation of what "free" means.

I agree with this. I'll go further: any software license, other than "do whatever you like with this work", imposes some restrictions on what you can do with it, and therefore is, in some sense restricting freedom.

However, the sense that it is restricting freedom is not a particularly useful one.
Two things mostly unique to lisp.

1. Live editing, where your code evals and applies to the running image as you write it in your editor.

2. Easy full-proof macros. Not to be confused with the text-wrangling style of macros you would find in C.

Most languages cannot provide these things. And they're really really nice things to have.

Why aren't features #1 and #2 more popular in other languages? People don't miss what they never experienced. And both of those features require design at the runtime level and syntax level of the language to be implemented in a way that doesn't suck. They can't just be bolted on to a any random language like C++. Even though C++ likes to bolt on every feature it can.

Why would you learn lisp? To get features #1 and #2 in hopes of increasing your productivity.
End up? Seems to me that's always been an aspect of things :)
Chrome: Bypass Net:Err_cert_invalid for Development
Most clients hit the Glean server via the network (thrift/JSON) and then mostly via language bindings to the Glean query language, Angle. The shell is more for debugging/exploration.

Imagine an IDE plugin that queries Glean over the network for symbol information about the current file, then shows that on hover. That sort of thing.
Is AI a Double-Edged Sword in Cybersecurity?
"programmers on six-figure salaries" probably wrote the systems that coordinate and optimise the low-paid tasks you mention.
I'm sorry. Contact me at
https://www.artemisspaceshipbridge.com/contact.html#/
and I'll give you the upgrade.
Or they put their money where their mouth is and stop going to websites that are ad ridden to the point of unusability.
Certain restrictions are indeed worth it, sure. But the FSF, OSI, and DFSG unanimously agree that a restriction on commercial use is not.
Subpixel scrolling would likely be invisible to the human eye.

Apple has even dropped subpixel rendering entirely, since that was only really needed in lower resolution displays.
The page mentions Ruby, Python, and JavaScript as things they borrowed from. I see a fair amount of what looks like Perl inspiration though. Maybe indirect via Ruby, I guess.
> We need to stop thinking of information as something that it is possible to own.

Sure. But until we reach that world, software licenses have a place.
> I have literally had to read compiler source code to find out Rust behavior before, more than once.

Every single time I had to do this, I opened a PR to the Rust reference with the fix. :shrug:

> That should never happen.

Sure, and the way this gets fixed is with documentation.
GCC frontends have this same problem. I've had to read the GCC C++ frontend source code a million times already to figure out if it was standard compliant. When it wasn't, I sent a patch fixing it, instead of.... starting rewriting a new frontend from scratch.

Compared with GCC, the Rust frontend source code was almost every single time infinitely better documented. Many internal modules are actually intended to be read as documentation, and I do read the rendered compiler API docs every now and then when looking for something. The quality of GCC docs was... not great.

> C++ has only benefited from having multiple compilers.

C++ starting point was very different than Rust's.

> If you're afraid of fragmentation or Rust dying as a result of this, I can assure you that historically, the exact opposite takes place.

I'm not afraid, just curious about what value is in here.

I don't see why anyone would use GCC Rust, instead of the GCC backend, for anything. Most real-world Rust projects use 100s of crates.io dependencies. All real-word Rust projects I use, use nightly, and crates from crates.io that work on nightly. No idea how GCC Rust could achieve "daily" parity with Rust for anything practical. What's the strategy here?
Ah I think I know the type and what you mean! Doubling down on the sharpness of a pixel in a lens/sensor and having endless debates about it if you don’t buy the right brand.
Imagine an alien army is on its way to earth, and they send a scout. You find the scout in your house and you lock it in and burn the house down.

The military finally shows up but they don't learn anything about the threat because you've burned all the evidence.

Earth is still defenceless.
Put tape over it?
Not every restriction restricts freedom. For example, a license being copyleft only restricts power: https://www.gnu.org/philosophy/freedom-or-power.en.html
How would it perform for, say, 500TB of source code?

And what would be the disk and memory requirements for this? Could they be distributed across a handful of servers?
A good regulatory trend. This is what governments are supposed to do to support what I would call “safe and efficient capitalism.”

That said, Apple did cut in half the fee for almost all developers and I installed Netflix, HBO, Prime, and Hulu apps that work fine with my existing streaming media plans that are direct to the providers. I forget, did Google also recently reduce developer fees? It may be as simple as both companies seeing the writing in the wall and are trying to get in front of this.
Harrowing stuff.

I note he interviewed to a wider range of companies than just FAANGs (Booking, Databricks, etc), but ended up getting offers only from Amazon, Facebook, and Google. With no disrespect to Andrey, does that suggest they're actually easier to get into than the rest of the pack?
Ask HN: How much software development do you do away from your desk/screen?
It is a determination that something should be rejected, when it really should have been accepted.

Similarly, a false positive is something that was accepted, when it should have been rejected.

If you have a sufficiently high candidate pool. you can (for a while, at least) live with an interview process with a relatively high false negative rate (that is, x% of the time you don't hire people you should have).

If it is typically quick to go from "in through the door" to "is a productive member of the team", it may be that you can live with a high false positive rate (that is, y% of the time you hire people you shouldn't have).
AdAway (root) from F-Droid helps me out
For webdev stuff I often see people say "I applied to hundreds heard back from 3" makes me wonder are you a bad applicant or too much supply.
My guess: the poster did a copy&paste mistake (the URL up to the last / is valid and shows the Afghanistan article), but the CMS used by CBC only looks at the last part, so it's still successful.
Have you considered that Facebook enables the transfer of power to the US dollar which enables economies like the USA and Europe to buy cheaper from other countries and impose their standards? This is not something that's accessible to most of the countries in the world, whom their main struggle is how to finance their imports.

> If I buy some sneakers, they'll be sewn by a low-paid worker in a poor country, shipped by low-paid sailors, trucked to warehouses by low-paid drivers, picked and packed by low-paid workers, and driven to my door by low-paid drivers.

We consider this normal, because it has been happening for quite a while and painted in a negative fashion lately (Trumpism/Nationalism) but the reality, if you had an island somewhere, and you where establishing a country, you can't ask all these people to do that without some power-transfer that you hold over these countries/populations.
This is not talking about index funds. You would not call out a specific stock inside an index fund in a disclosure like this. You could figure it out, bit it's just simply not considered a conflict of interest.
I agree it feels weird af wearing a hat inside
From what I can tell it means far less meals with meat.

When I was studying in Berlin the larger canteens had several different meals to choose from + salad and soups on any given day. Of those about half had meat in them (if my memory serves). I assume they want to reduce this number.

According to welt.de they want to reduce the meat and fish to about 4% of the food offered [1].

[1] https://www.welt.de/vermischtes/article233418943/Klimaschutz...
Or just force judges to disclose conflicts of interests.
Head start in the uni maybe, not head start in life.

And also the program would be in a language that you never learned as first language and you don't even master it so yes, is not an head start at all to me.
I once accidentally posted a comment in the wrong thread, and someone replied with a link to the thread I meant to post it in.

I spent the rest of the day wondering how the hell I'd managed to write an entire reply to the wrong thread.

Bet they're going through a "what... but how...?" feeling right about now.

(I still don't really know. It must be a combination of having HN tabs open, interleaved with articles, but then closing one of the comment tabs while reading its corresponding article, at which point you think of something you wanted to say about it. Presto, wrong HN thread?)

It's interesting to me that it happens on HN, but not any other site. Never seen it on Reddit, doubtful it ever happened on Slashdot, etc. There's something interesting going on with HN's simple design – simple enough that you don't realize you're in the wrong thread – plus some kind of common reading pattern that involves closing or mixing tabs.

Occasionally wondered about that over the years...