skysight-inc/HackerNews huggingface dataset:
Well the docs have this to say [1]:

`data` must be non-null and aligned even for zero-length slices. One reason for this is that enum layout optimizations may rely on references (including slices of any length) being aligned and non-null to distinguish them from other data. You can obtain a pointer that is usable as data for zero-length slices using NonNull::dangling().

So yes, this requirement allows optimizations like having Option<&[T]> be the same size as &[T] (I just tested and this is the case today: both are the same size).

I'm not convinced that it's "wrong", though. If you want to be able to support slices of zero elements (without using an option/maybe type) you have to put something in the pointer field. C generally chooses NULL, Rust happens to choose a different value. But they're both somewhat arbitrary values. It's not immediately obvious to me that one is a better choice than the other.

[1] https://doc.rust-lang.org/std/slice/fn.from_raw_parts.html
https://www.youtube.com/watch?v=trTDTCixA_c
Do you have a link for that? For some reason, this made me really curious.
One has to wonder, then, why they didn't hire you.

I have a theory. It's quite cynical, but it's taken me about 5 decades to arrive at it: life is a beauty pageant. I don't say this lightly. It was a very slow process to get to this point.

A friend, colleague recently interviewed at a very popular, pre-IPO company that is often discussed (positively) here. He doesn't look like your typical engineer, but he's literally the smartest person I've worked with. He gets shit done. He learns new things all the time. As his current manager, I told him I would give him a perfect recommendation. He had an "in" with a current employee. He aced 5/6 of the mini interviews, but "failed" one. Fine, it happens. But, something he said to me stuck in my head: the building of said company was filled with rows and rows of 20-30 white kids. He saw 2 people of color, and one was a greeter at the front door.

I don't believe the people that interviewed him were racist, but I think every person applies a "does he/she look the part" filter and if the answer is no, the mind finds reasons to not hire.

It's not just hiring that I think is pageant-like. So many things in life are. So much so, that I think people themselves actually live up or down to their physical features and characteristics. Look at the executives at a F500 company. Male and female. Why do they look so similar? I live in a somewhat affluent community. Why does everyone here look like they "belong"? This is not a gated community, so why does that happen?

Physical features are such a basic filter, applied to ourselves and others, that I don't think we are hardly aware of it.

EDIT: there are always exceptions. It's been my experience that exceptions are rare, though. And the exceptions sort of prove my point.
> Make the application process all about one exam and you get what happens at magnet high schools in the US where 70%+ of students are middle class+ Asians and the rest are middle class+ White people.

37% of the students at Stuyvesant are eligible for free lunches. 9% are eligible for reduced price lunches[1]. Given those results it seems obvious that Stuyvesant’s students are poorer than average for New York.

On a separate note fuck equality of outcome. Harrison Bergeron is not a goal to be aimed for.

[1] https://data.nysed.gov/studenteducator.php?year=2018&instid=...
If you read the page you’ll they actually do offer a support package for enterprise.
Open sourcing your code in no way means you have to maintain it. Anyone can fork the repo & add their own features/fix issues. If you want them to make changes, they seem to have their development services on offer.
I'm ok with it.

It deincentivizes abuse not unlike how SSL originally worked before it became a farming operation.
It is completely possible to deliver a user story within a 2 week sprint provided that the acceptance criteria are reasonably clear. Many agile teams so this successfully.

Features (or epics or whatever) are larger and contain multiple user stories. In most cases features extend over multiple sprints.
He bought all of his mayoral re-elections by ensuring his opponents were patsies. He hates talking to regular people, not to mention the poor and the brown, and from the outside would appear to be operating primarily in terms of ego. He's certainly not inclined to justify any of his positions, all of which are why he hides out in TV commercials. When he deigns to appear in public we see him get a critical beatdown like we did in last week's debates, effortlessly.

Frankly I see him as a stalking horse for Trump, a research project to see how Dems are strategizing against rich, ego-bound, New York jackasses. Rich people are bound to each other before they are bound to politics, choosing a party is just a matter of personal quirks. They got theirs, the rest is just scorekeeping and princely follies. You can bet Mark Zuckerberg is paying attention, though. He's definitely going to be bored enough to stick a plank out in 5-10 years or so.
I'm too ethical to give money to Apple.
Nobody subscribes to Apple News+.
Even if it's not usable for other, it could be a great resource as an example MEVN stack app for newer developers to learn from.

Props to you guys for open sourcing it!
As do breakups?
Bay area residents probably make up a small portion of Google's applicants. It would be more interesting to hear what percentage of their applicants are Hispanic.

Of course the most important thing is: out of minority applicants who are qualified, what percent are hired? Because we may expect a smaller proportion to be qualified due to systematic barriers that they face. Google is not necessarily in a position to fix those.
The OG ugly design has seemingly insurmountable cultural inertia. Many handsome modern monobloc designs out there, production cost not that much greater, but I very rarely see them being sold or being used out in the wild. Wonder if there's a "stack" of theseus thing going on, since the modern designs are largely not stack compatible with the original geometry. Really annoying/perplexing this form factor has lasted so long.
My French bank uses this as well (on desktop), and the numbers can’t be typed they have to be clicked on. I think it’s not common enough but a good security feature against attack vectors we don’t reall think about
Which is the means by which the accounts set themselves up to be canceled.
Difficult when I’m using Bootcamp on a MacBook Pro unfortunately
Such a distinctive sound when you drag them on the ground, too; I can hear it perfectly.
I have no idea where I saw them, but I bought 4 of these and they are the most comfortable folding chair I've ever sat in.

https://smile.amazon.com/gp/product/B005PJ0VJQ/ref=ppx_yo_dt...

Definitely made of plastic.
Neither of these seem better, which seems to support the point.
> I thought there was a shortage of software engineers right now?

If there was, hiring and compensation practices would reflect it like in any other field.
Because you use typed instructions to access them. For example, on ARM with pointer authentication you’ll sign pointers and unsign them right before using them. If you forge a pointer it’ll cause a crash when it’s used because its signature will be incorrect.
When you are early in your career, it’s quite easy that within two or three years your market rate can easily go up 20-30%, but your HR policies don’t allow more than a 5% raise.

Why wouldn’t a developer leave for more money and more learning opportunities?
As someone who loves OCaml, the “churn” in build systems confused me too. I’m hoping dune remains the standard for the next 10 years!
It’s probably like a lot of companies that offer remote work: if you have demonstrated already you are world class, they’ll make exceptions.
Again I will remind about exponentially-priced patents.

Say, the year it is granted the patent costs $1000. The next year, $2000. Ten years since granting, a bit more than million, etc.

If this patent fuels your hockey-stick growth, you have no trouble keeping it.

Keeping a patent defensively becomes much less affordable.

Sharing patent rights for a part of the profit becomes a reasonable way to keep the patent for a few more years.

Even megacorps will eventually face the cost of keeping a patent, and decide to abolish it before it expires, just for economic reasons.

Administration does not become any harder, or more expensive.

[Edited: spelling]
"I just set up my own gig, where I do the stuff I want to do."

I think maybe this is the unspoken issue with interviews - if a candidate was any good, they wouldn't need a job at all! So it's a given that all the people who apply are no good - the interviewer just needs to find the reason.
Also, the way destructors work make it such that most custom linked lists are prone to stack overflows unless they use unsafe.
Gitlab 12.8 Released with Log Explorer, NuGet, and Compliance
> If anything, more of humanity (Asia, Africa, Latin America, Mediterranean, Middle East, etc) is less against being punctual than in favor of it.

[Citation Needed]

This wasn’t exactly the case in Japan and S. Korea in my experience.

Whether or not being late is a slight depends on the culture and the person, too.
This looks like..javascript. If you need pretty routing you may use gorilla mux. There are actually quite a few http routers written in idiomatic Go. Why would you use that node-like crap, except unless you try to do a 1:1 rewrite of a node app?
> Disposable Phone Numbers For Phone Verification

> Phone Verify Whatsapp, Tinder, Gmail, Ticketmaster Or Any Service (even without a mobile phone).

I wouldn't be surprised if they violated Square's TOS. The concept doesn't seem like a great match for a mainstream payment processor.

Generally the payment processor will have to release your funds at some point (for example paypal is 180 days).
A Brief History of California’s Housing Crisis
CEO of Scroll here. It's really helpful to get this feedback, if we were to try and fuck people over through opaque moves hidden in our terms we'd lose half our business overnight and everyone here would quit.

Either way, I totally hear you on this stuff, first thing on the list is building members even more privacy/data controls so that if for any reason you think you don't trust us anymore, you can make sure that you're protected.

From there, making sure we can iterate on our Terms to make sure they live up to the best of what our members want is going to be key. We've been launched for less than a month so keep the feedback coming.
A few years ago, ANZ Bank offered such a device that they called FastPay. It connected to their mobile phone POS app and helped randomized the PIN entry on the app. Here's their marketing demonstration on it https://youtu.be/I27-B36SaAg?t=80

I'm not sure if it was so much to defend against this type of attack as it was to ensure that no software could intercept taps on the screen and derive your PIN. I believe that the part of PCI rules that cover PIN entry led to this implementation, since this is a mobile POS app running on a potentially hostile device. Typically, POS vendors build dedicated hardware for PIN entry because it's much easier to lock down a system that they have full control over, and thus comply with PCI rules.

(For what it's worth, PCI now has rules on software-based PIN entry on mobile phones.)
Would you address the classes being taught by students instead of experienced professionals.

Also, did you release the cohort from their contractual obligations after failing them?
Also, physical engineering is constrained by a set of available materials, technologies, and physics. In software you could build a pretty accurate simulation of an entire bridge, generalize it so that it can represent all possible bridges, model new materials, and rewrite the rules of physics, the complexity space is infinite.
I hear there's a semi-established tradition where a medical practitioner explains to you how much a lethal dose is for a self-administered or a caretaker-administered pain medication (typically with old people, a bottle of morphine), and repeats this explanation a couple of times, and well...
CEO of Scroll here. It's hard with the big guys when you get started, they tend to move slow. However, the NYT and WSJ are both investors in the company so we're hopeful we can bring them in over the next year.
In short: use unsupervised AIs and algorithms to generate metadata because humans suck at it.
Again it depends a lot on the usage pattern. If you're going to be dereferencing a pointer off to some allocated-elsewhere object on every little operation or comparison then sure. But if there are sorts or searches or other operations that can take place against a fixed-size "index" object, then it may still make sense to have a vector-like or pre-allocated pool of those objects and only pay the cache hit cost when you do major operations on a particular instance.

Which is really just the cache doing its job. The linked-list anti-pattern is when you're constantly paging in big speculative chunks of memory only to access a single pointer and then move on.
I wish there was a Google News replacement that only lists news sites that are focused on privacy and do not have those stupid turn off your AdBlocker messages.

There is a ton of news sites out there that need an audience. They can make their money through sponsorships and non-invasive ads. You don't have to make millions off of your news site .. maybe off a few you can.
How you migrate a database in practice
Yes, but what if your failure on those other fronts start to compromise the timely delivery of correct software that performs acceptably?
> Software is getting more complex each year, yet the time to build complex software decreases due to existence of better libraries/tools/knowledge-base.

Which, in turn, drives the number of bugs and flaws way, way up, which drastically increases the number of developer hours and money spent trying to fix products that are constantly broken. This situation just gets worse over time because those "better" libraries/tools/knowledge-base make adding new bugs much, much faster than fixing them. Evernote is the best example of this I have ever seen.

> So if you are a talented developer you can compete with mid-sized companies right now!

If you're a talented developer, you can compete with what mid-sized companies were doing 10 years ago and large companies were doing 20 years ago. That's more than good enough to make a niche game that pays well, but it's still an order of magnitude or more off from what mid-sized companies make today, both in quality and revenue.

> Large companies will have no option but to scale back and change their HR practices but large companies, like large ships, are harder to turn, hence some of them will definitely go bankrupt in near future.

Unless they're being propped up. Twitter didn't turn a profit until 2018. They spent 12 years burning cash. Most companies would have gone under after their investors pulled their money when they hit year 5 without making a dime.
Fortunately, there is a new recycling process [1] that takes 1/7th the energy footprint of creating virgin polypropylene. I hate these for the disposability too, but if we can direct them away from water bodies and landfills into recycled polypropylene, then that’s a modest improvement.

[1] https://www.bloomberg.com/news/features/2019-09-25/polypropy...
500 lunch interviews in a year seems like it's stretching it.
Oh, that's kinda cool, maybe I'll... $575

Well nevermind.
Then you just set up your business so 90% of your company is filled with said 3-month workers at minimum wages.

There’ll be no shortages of applicants for quite some time but really destroys the society. So no.

No unless I’m guaranteed that upper echelon slot to judge them — no I wouldn’t want to live in a society like that.
Calm yourself nerd. It's really not that important and you sound like an inflexible ass making this big grandstanding statement against a minor annoyance.
FWIW, all the people I know who went to “world class” universities did all the “optional” things.
Some companies also use the interview as free consulting. Remember that you are a professional. Don't work for free.
The Most Difficult Things
>This wasn’t exactly the case in Japan and S. Korea in my experience.

That's partly because Japan and South Korea were forcibly and heavily westernized and heavily stressed to achieve industrial success at all costs, after (different) traumatic war, occupation and colonization events. It's not however the typical characteristic of Asian culture (with spans 3 billion more people than South Korea/Japan), nor the traditional one...

See also "Karoshi" et al...
Yeah those are all useful rules of thumb but I doubt anybody is gonna tell you that the point of those is that you should just not give a damn about anything besides whether your code can tick off the AC of a ticket.
https://www.swhouse.com/products/readers_Schlage_Scramble_Ke...

This is a not very uncommon type of keypad used for high security facilities, where you may need to scan a proximity card and then enter a PIN.
Is this a problem with the existence of ore, or a problem with the current supply chain?
Autocrypt Considered Insecure
>middle class+ Asians

No, they're generally poor Asians who studied hard. Asians have the highest poverty rate in NYC.

edit: Private school is where those who can afford it send their kids.

edit2: I do find it interesting how discrimination and, I'd call it, racism against Asians is tolerated so much just because they're actually getting their kids out of poverty. Punish those who achieve the wanted goal, eh?
Restrictions and Rewards: How China Is Locking Down Half a Billion Citizens
"Most companies are hiring "software engineers.""

What's your reason for thinking there are more "software engineers" than "programmers"?
Not at all. We hit paywalls, are bombarded with low quality or malicious ads (without adblock) even if we're paying ... it's a mess. Spotify and free streaming platforms keep advertising largely unobtrusive.
IMHO more importantly is letting the others know that you're running late and why. Are you 20 minutes late? Fine, the I can keep coding for another 20 minutes. Same with my dentist, since the article brings it up, which informs me ahead that my appointment will be delayed by X minutes because of an emergency or similar. No problem, I won't leave work until I need to then.

That said, if someone is running late without explanation, like that guy with the sandwich, why didn't they just start the meeting? Was he really that vitally important?
I disagree that all knowledge, or even the most important items of knoknowledge, are reducible to mathematics.
> 2) Abolish patents, except for pharmaceutical industry.

So what are the boundaries we'd place? Only companies whose primary income source is parmaceuticals are allowed to own patents? Are all the non-pharma companies still required to avoid patent infringement?

Or is it that patents can only exist if they're relevant to pharmaceuticals? If so, where do you draw the border? If a pharmaceutical company comes up with a new process for synthesizing some compound Z which they use for their drug, is that patentable? What if it turns out that compound Z is also useful for weather-treating surfaces, and gains widespread use in construction? Now, what if we switch to an alternate timeline where compound Z was invented by a construction company first, and then pharma started to use it? What's the patent situation look like?

#2 seems rather arbitrary to me, even moreso than existing patent law. I'm not convinced it's any better than the status quo, though also it's not clear to me exactly what you mean with it.
Even if legal (I wouldn't assume that it necessarily is, even if you signed something), this is extremely unethical, obviously.
> no one bothers to look at my portfolio [...] I usually send a couple of links [...] My portfolio leaves absolutely no question at all about what I can and can't do, technically.

I hear this a lot from software engineers, but it might be worth thinking about the underlying expectation that anyone should spend time poking through repos on the internet, why they would, and how hard it might be to standardize a hiring process that compares you to other candidates. Contrast your own opinion of HackerRank with the hope that hiring managers, who perhaps often don’t have the time, interest, or even ability to read someone’s portfolio to determine the quality of the code.

As someone who’s done a lot of hiring, I often glance at an online portfolio briefly, but I find it to be a low-quality signal for whether I will want to hire the person, and even for the technical ability. If I don’t know you, I can’t tell from your online portfolio whether you’re the sole author and/or how much you’ve contributed to a project. I can’t easily tell if you get a lot of your code from StackOverflow, or write it yourself. I can’t tell what motivates you, whether you love programming or you are hoping for a high salary.

While high technical ability is a requirement for someone I hire, it’s not actually the primary requirement. What I need to know is how adaptable people are, how well they’ll work in a team, how quick they are on their feet, whether they’re friendly under pressure, a whole bunch of things that you can’t learn from a github account. Communication, attitude, curiosity, optimism, and cooperativeness are incredibly important traits, as is technical potential vs existing technical ability. I seek out ways to hire people who can (and want to) learn quickly, regardless of current skill level.

Personally, I’m totally convinced by your comment that your technical ability is high, where you say it is. You would easily pass my entry filter and make it to an interview. But after that, I’d want to talk to you, not sit at my computer looking through your portfolio.
This sort of complaint is weird to me. Sure, monopolization and centralization in the US would be a problem too, but...that's not what actually exists. We have a number of large companies that probably should be parted out for better competition--something I'm super in favor of--but the state is not actively pulling their levers.

Is criticism of China subject to dismissals of "anti-China tone" when it describes what's happening?
Link? That's a good point if it's true. The article got the explanation all wrong.
Twitter suspends pro-Bloomberg accounts over 'platform manipulation'
I have been on admissions committees and there is of course the possibility in your mind that students who did not submit scores probably had bad ones. I certainly prefer having scores. But when tests are optional, plenty people will also just want to save the $50 or whatever it costs to take the thing. Particularly from poorer families. So you can't be sure and hate to reject a super candidate on this reason alone. Also there's always some people in admissions who are adamantly anti-test anyway.

They do look deeper into the high school's reputation and individual course grades to make up the missing info that the test would have provided.
Data Visualization Tools for Data Engineers
> Latino's make up a fairly large number of the people that live in the bay area

How many of them hold relevant degrees for job openings at Google?
If it's a test then they'll pay for private test tutors and potentially just cheat. On the other hand the homeless kid working two illegal jobs to put food on the table won't have much time to study at all but would have a great essay topic.
That would be fine for new college graduates and other unemployed developers, not so well at attracting talent that already has steady employment.
Formcake