skysight-inc/HackerNews huggingface dataset:
The problem is that for a FAANMG company to throw a Leetcode question in 2019, it's equivalent to a entrance exam, especially towards thousands of applicants. Eventually, they will use something else to assess your skills that will eliminate many applicants. I wouldn't risk getting eliminated for not differentiating myself.

Leetcode questions are not enough for 'seniors', even as a interviewer, it brings the same good problem solvers, but not enough applying this into practise such as open-source projects / contributions, which is faster to review than these Leetcode questions.

> It’s nice to glamourize it a bit but you guys make it sound downright mythical.

Perhaps not in 2012-2014 but in 2019 it is the reality of many candidates getting a FAANMG level role that have to face a competition of thousands of applications every week.

I wish it were easier than this, but when I look at the following real world open-source projects:

* FB creating the Hermes JS Engine.

* Netflix submitting patches to the Linux Kernel.

* Googlers working on Fuchsia OS.

* Apple hiring dynamic linker engineers for dyld3.

* Amazon writing the firecracker virtual machine.

* Microsoft hiring engineers for Typescript and Chromium.

I think that justifies utilising the data structures and algorithms resources listed above. And now if one told me that they have some contributions to at least one of them, I'd tell them to send a link to the code-review / patch and I'd just bring them onsite and ask more questions about it.
Unsteady income in young adulthood linked to thinking problems in middle age
Well, it does since calling printf in a userspace signal handler is equivalent to calling printk in a kernel interrupt handler.

But the userspace "solution" is to just forbid such usage.
This is such a lazy and illogical argument. It is Facebook’s problem when they continue to ignore user privacy concerns and requests. Moreover, Facebook also provides data for targeted ads. They’re providing the very tools needed to run effective political ads that are based on conspiracy theories and lies. Facebook literally helped invent this brand of political campaign.
Ask HN: What macro-processing language am I looking for
I have a project that I want to document and one thing I'd like to do is to highlight that the application code is decomposed in a way that maps essentially 1-to-1 to the theoretical framework and the way I'd like to do this is to run `tree` inside of the markup that should be outputted as Markdown in the end.

E.g., passing the following input.some_fileextension file to the processor should evaluate the tree command and put the results there

bla bla bla

$ tree dir

bla bla blah

Is this a task for pandoc? M4? Something else? I want something close to Jupyter notebooks without needing that _entire_ framework at hand.

Or is there some lispy type of thing that I can use?
If the multiple meanings are merely variations on the same etymology, it’s not a homograph, it’s just a word with multiple meanings.
Another Mod's post: https://christianity.meta.stackexchange.com/questions/6718/b...
There is a very close analogy from the past which may explain why net neutrality is a good idea: railways and Standard Oil. Rockfeller making special deals with the railways prioritizing his traffic directly resulted in the worst monopoly in U.S. history, putting millions of people in misery. If that isn't an example of why critical communication channels should be equally available to everyone i don't know what is.
Be humble and don't get too excited about fixing and improving things on day/week/month 1.
Just listen and observe and be patient for the first 3-6 months. There are often more to things than meets the eye and it will take time for you to get your head around it.
Removing graveyards for developments both residential and industrial was a big thing in Singapore post-WW2. It worked out very well for them.
That should be the front page...
Java generics are just syntactic sugar for Object, so not a problem at all since you can't do anything with them.

Java overloading is simple since all functions are in the same file (so doesn't change overload behavior depending on which files are imported) and Java lacks the user type casts C++ has, so just pick the signature fitting all provided values (with numeric casts) or throw.
Thanks to both of you for these articles. I'm very fond of outer joins as in most cases (in my day to day work) they're exactly what I need. While I don't use them often with aggregate queries, I didn't realize that multiple OUTER JOINS will break aggregates. I'll need to review my query logs to make sure I'm not doing this anywhere.
This is classic Goodhart's law [1]. Humans or systems of humans will automatically game any metric that is used to measure them. Whenever you start using a number of measure performance, people start to forget about ethics.

This is also happening in university education these days where professor's performance is being measured by metrics that only roughly correlate to teaching ability. So, profs spend more time ensuring their metrics don't fall below the acceptable value than they do trying to improve their teaching performance. In other words, introducing these bad metrics to somehow measure and improve teaching performance, actually results in worse teaching performance.

[1] "When a measure becomes a target, it ceases to be a good measure." or

"when a feature of the economy is picked as an indicator of the economy, then it inexorably ceases to function as that indicator because people start to game it." https://en.wikipedia.org/wiki/Goodhart%27s_law
>False advertising is illegal. Fraud is illegal. Lying under oath is illegal.

Cool, they're already illegal. What exactly do you want to be implemented then?
I think the next Wozniak opportunities will require a lot more funding so will be controlled if you like by investors and corporates not two men in a garage. Nowadays you’d need a lotto win to afford the SV garage. For example quantum computing needs a lot of money. It’s not soldering chips anymore.
Maybe interesting for people here is also the undecidability of parsing Perl: http://www.jeffreykegler.com/Home/perl-and-undecidability
Oh, you haven't read this classic paper?

http://users.monash.edu/~damian/papers/PDF/ModestProposal.pd...

"We describe an alternative syntactic binding for C++. This new binding includes a completely redesigned declaration/definition syntaxfor types, functions and objects, a simplified template syntax, and changes to several problematic operators and control structures. Theresulting syntax is LALR(1) parsable and provides better consistency in the specification of similar constructs, better syntacticdifferentiation of dissimilar constructs, and greater overall readability of code."
>I'd like to see some idea of what they mean by big. An order of magnitude in terms of lines of code and the number of engineers they had for the job and how long it all took versus how long the original took to write etc.

Yeah, at my last place before I left, they were looking to do a rewrite of their main project that had been the result of years of hundreds of developers working on it. The time-scale was wooly, but was expected to be between 5 and 10 years and probably require ~200 developers and testers.

This was rewriting millions of lines of code, very little would be reusable.

I don't know if they went ahead with it or not, but it was looking like it would descend into chaos.
Reading this article it seems like yet another example of "you don't have big data". Most of the features that are unique to Spark (or Spark-like setups) were not needed, so in the end it's mostly...just an app talking to Postgres?

I'm not sure, but reading other articles[0] on the blog seems like they've been jumping on bandwagons before, so it's probably good to come back on those decisions every now and again.

Edit: Not trying to come off as too snarky, though I've found that this type of thing is pretty common in startups where everyone from the CTO on down has some experience but not a lot of experience. I've fallen into that trap too, at some point saying "Sure, Scala will work great! It's future-proof and everyone will love it!" cue crickets

[0] https://tech.channable.com/posts/2017-02-24-how-we-secretly-...
Quadroped animals with a missing (or bad) leg move quite effectively.
Possibly true, but just looking at the Wikipedia page for Bayes Theorem, more than half the text on the page is math notation: https://en.wikipedia.org/wiki/Bayes%27_theorem

It doesn't matter how simple the math actually is, if someone is unfamiliar with mathematical notation it's going to be overwhelming to read.
Ground Truth – Drawing the Cameroon – Nigeria Border
How to create your own SMTP server in 20 minutes
A New Crusade – The Order of Malta
There's a difference between a public figure, such as a politician making such statements vs. an ordinary person expressing an opinion.

Politicians have lots of privileges and visibility in society, and with those comes the responsibility of being accountable for what they say.

>>A seven-judge panel found that far-right German politician Udo Pastörs had “intentionally stated untruths in order to defame the Jews and the persecution that they had suffered during the Second World War.”
I want to try Mastodon because it's open, federated, ethical etc, all the qualities I seek out in the software I run (not to mention new and interesting, like you say).

But at the end of the day it's still a Twitter clone, so offers absolutely no value to me.
Thank you for taking the time to reply. Appreciate it.

> I get that you don't like spam. Neither do I! I'm very keen on anything to reduce this. What we're talking about here is not spam ... We're not talking about marketing here ... Yes the industry abuses email, but these examples are not that.

> Apple's service makes it impossible for retailers who respect users privacy and marketing preferences to operate the core of their business.

Unfortunately, while that may be true of your business, it's not true of others. You know the saying about bad apples spoiling barrels, right?

In the case of any legitimate email from third parties, your business can now be the relay for those emails. Instead of @ emailing me about a purchase from legitimateretailer.com, moving forward only *@legitimateretailer.com (and up to 9 more domains...) can email me about that purchase. And on top of that, legitimateretailer.com is required to do the bare minimum to try and reduce spoofing off their domain. Ideally DKIM and DMARC would be mandatory as well, and not just SPF!

For it to be any different, Apple would need to certify every partner in the chain used by any retailer. Every time a new partner is engaged, Apple would need to be notified and that partner certified. That seems even more onerous.

> As for the credit check, email is certainly not the only signal they use, but in the typical case it's an easy one to check that can provide high signal

KYC requirements in financial businesses are pretty strict. If losing this signal is a problem for your business, you're probably violating regulatory requirements. See previous remarks about value provided & legal requirements.
Automatically reload Python modules with %autoreload
> Perhaps because so many of us are engineers, and that it strokes our egos to see the softer sciences fail?

Just the "lol math is hard and statistics is annoying" crowd. Honestly the thing that pisses me off most about psychology students is how only a tiny fraction of them understands and gets the actual importance of hard statistics to their field.

But instead, it's almost accepted to trash the statistics courses as just these boring hurdles to get past by. And it's still cool to suck at math.
XMPP with OTR is exactly this. Facebook messager used to be compatible with XMPP.
How to Develop a Web Application?
Gitlab is the most modern i can think of.
1) data races are different from race conditions. and data races are what this sanitizer detects.

2) data races are undefined behavior in C, but:

3) they don't necessarily translate to bugs in practice. for example:

https://godbolt.org/z/Z9RvpB

this is a data race, but in practice everything works as expected.

in cases like this, fixing the data race adds overhead without giving us much benefit.
"A creature from another dimension would see us as noise as our atoms are constantly being replaced"

Don't wait for a big rewrite. Constantly keep deleting and rewriting. Just make sure you are solving real problems while doing it.
Start all your sessions with "BEGIN TRANSACTION".

Then if you make an error you can always ROLLBACK. If it looks OK -- COMMIT.
Just curious: what all breaks with the removal of OStatus support?
Dear Oracle,

I am ready to pay the bill. Please reply with your bank account details.

EULA:

[ Lots of boring text ] By replying to this e-mail you irrevocably agree to a $50,000 processing fee. [ Lots of other text ]
"not meant to be optional" is surely a suggestion and not a requirement?

i.e it's not "(...CDN...) then ECS should not be optional"
Speaking of NeWS fun - I remember playing tricks on a colleague by logging into their display server using psh and manually tweaking the transformation matrix for a terminal window so that it very gradually rotated as he was using it. Of course, as it was NeWS (actually HyperNeWS) everything just worked until the rotation became really obvious.
The company where I work is doing (and is close to finishing) a big rewrite of one the product. The base version is deployed on-prem at our clients, the new one will be cloud service, with the same features. But the on-prem version is still worked on and supported (I'm working on it) alongside the cloud one, the cloud one is to offer a less cumbersome alternative.
Any Python/Java/C++ positions?
And indeed some almost exclusively move like that, namely leporids (rabbits and hares). They do not have a regular walking gait because the back legs are so long and specialized for jumping.
I tried to read data transmitted between the facebook messenger app (on iOS) and facebook server but it's encrypted and if you set up a mitm proxy it refuses to transmit. Even if you trust the mitm proxy certificate in the OS settings.
Right, that is a better formulation of that argument: "Not currently in scope of this project" is better than: "This is a clone of X".
I anticipated this coming up but you kind of see why I guess.

If there was an even bigger superpower ready to punish them they might have behaved a whole lot better.
Exactly. And I definitely don't want Facebook to become the judge of what is the truth
If groups are what you want, why not use a fork that already has groups?
Can you make this point without using the word "toxic"? Because it's so meaningless and inflammatory ...
The Stigmata
I found that article: https://medium.com/@gzanon/no-end-to-end-encryption-does-not...
It was probably not the engineers doing this, but the politicians, officers and committees.
> The hydrological model, published in the journal Nature, shows that in nearly 20% of regions that pump groundwater, rivers are already flowing too low to maintain healthy aquatic ecosystems.

This refers to this study: https://www.nature.com/articles/s41586-019-1594-4

Abstract:

> Groundwater is the world’s largest freshwater resource and is critically important for irrigation, and hence for global food security1,2,3. Already, unsustainable groundwater pumping exceeds recharge from precipitation and rivers4, leading to substantial drops in the levels of groundwater and losses of groundwater from its storage, especially in intensively irrigated regions5,6,7. When groundwater levels drop, discharges from groundwater to streams decline, reverse in direction or even stop completely, thereby decreasing streamflow, with potentially devastating effects on aquatic ecosystems. Here we link declines in the levels of groundwater that result from groundwater pumping to decreases in streamflow globally, and estimate where and when environmentally critical streamflows—which are required to maintain healthy ecosystems—will no longer be sustained. We estimate that, by 2050, environmental flow limits will be reached for approximately 42 to 79 per cent of the watersheds in which there is groundwater pumping worldwide, and that this will generally occur before substantial losses in groundwater storage are experienced. Only a small decline in groundwater level is needed to affect streamflow, making our estimates uncertain for streams near a transition to reversed groundwater discharge. However, for many areas, groundwater pumping rates are high and environmental flow limits are known to be severely exceeded. Compared to surface-water use, the effects of groundwater pumping are markedly delayed. Our results thus reveal the current and future environmental legacy of groundwater use.
I'd be interested in what home-grown remedies emerged from asylums of this era. Physical therapies were very... varied, so what were ailments of the psyche treated as?
Good to see BRL CAD get some attention, it has been around for a while. I wonder if the "trusted by the US Military" line still sells - most people who are CAD users looking for a viable alternative are looking for productivity, features and format/export compatibility. Also, parametric modeling has been around for a long time but BRL CAD still works with primitives - not that this isn't useful, but perhaps parametric modeling is an essential feature of modern CAD.
Sorry, I have no insight in that. When I was there we were just upgrading to Agresso 5, and as I remember it, it was pretty much a win32 app talking directly to the database. Not sure how much, if any, server part was there in between. So it has probably changed when they switched to web.
> Reading this article it seems like yet another example of "you don't have big data".

Yes definitely. This thing was a big exercise in "You aren't going to need it".

> so in the end it's mostly...just an app talking to Postgres?

Yes. We solve problems for our customers. It's nice if we can do that without also creating problems for ourselves :)

> seems like they've been jumping on bandwagons before

Just wanted to point out that this system is also written in Haskell. We didn't really switch bandwagons.
...also Guest Additions are GPLv2 fortunately
What are the minimum system requirements for Mastadon? I cannot decide what VPS I need to rent.
tik tok vs. opinion-size-age-shape-colour-origin-material-purpose (2016)
Been in New York City for the last ten years, so I certainly understand where you’re coming from. A few points:

1. Corporate income taxes don’t generate much revenue, and the revenue they do bring in is even smaller relative to the amount of harm and economic distortion it causes. It really only carries on because it’s a useful political football and because having it appeals to a certain sense of “fairness.” There’s really no correlation between corporate taxation and infrastructure, and we might even be better off without the former altogether.

2. The US does spend a lot every year on infrastructure, but it gets relatively little bang for its buck, especially in comparison to places like China; even other advanced economies (France, UK, etc.) seem to be better at controlling costs for these types of projects.

3. We also spend a ton of money every year on precisely the wrong type of infrastructure. The Federal government, in addition to every state and local government, spends enormous sums every year on not only maintaining existing roads, but also widening, adding lanes, or even building new ones. In fact I remember reading that something like one out of every two dollars spent on roads goes to build new ones, even as people decry that the government isn’t adequately maintaining the roads that already exist. That’s insane - but it’s tied up in how funds are allocated, cost sharing agreements, etc. that often comes out of Congress. In short, the Feds will pick up an enormous proportion of the tab for building new state and local roads, but contribute very little to maintaining them. It should be easy to see, then, that building new roads is often more lucrative for contractors, politicians, governments, etc. than simply maintaining what they already have.

4. All the money we just talked about spending on roads is money that was not spent on upgrading sewers, water, power, public services, and everything else that help support denser urban areas like New York. So in effect, we are starving economically vibrant cities like NY of federal funds at the same time we subsidize the continued expansion of suburbia, none of which have the density required to make massive investments in things like railroads anywhere close to economically viable.
Where did white keyboards go?
I have noticed a new trend of black keyboards about a decade ago. It was weird and I didn't care for it. But now, I am having big troubles finding white keyboards in general. Usually it is less than 10% of the offering in majority of stores.

So it makes me wonder, why is this happening? I believe that black keyboards are ergonomically bad from the contrast point of view so I am having hard time accepting this as a reasoning.

(and the lack of iso 105 layout keyboards is also an interesting topic for another day)
I'm guessing that there are some ideas from signal processing and statistical learning at use here for enabling the robotics behind the prosthetics. Would anyone happen to have a good reference or article that illustrates how this kind of interface is built?
> if you don't turn on iCloud backup of your messages

You and whoever you are messaging of course.
Haskell doesn't work that way at all. If you have variables inside a function, due to laziness their values may or may not ever be computed. Moreover, Haskell compiler sort of reduces the equations so the functions are not imperative and the computations would not happen as you expect them to. Logging would not get you anywhere.

However, you can just log the output if you like without putting IO into the function. I see zero reasons why anybody would push such logging into production. It behaves exactly the same way on your own computer as it would in production - it's just a pure function.
Google under fire for using iPhone user data
Could squeezing more oil out of the ground help fight climate change?
Well, not sure what the EU really said (Wired might be biased towards "big-tech" more than to strange European (or more likely: select-minority-being-successful-in-interparty-fights) ideas of the rule of law) but as it stands this is really concerning as it either shows

a) a neo-colonial relapse: Europe knows what's right for the world.

b) another step at the official adoption of authoritarianism on this world. How about the Chinese government taking down any material on the existence of Tinamen-Square-massacre (yeah, I know, it was just a peaceful sit-in and the people just progressed to a higher plane of existence so there's noone left to tell the story) or the existence of the NRC worldwide? It's great for business certainly!
Most ads lie, or at least distort or omit the truth. Nobody should be using the web without an ad blocker.
I'd suggest therapy to drill into why you feel this, it could be due to your past. I would also carry out an extensive private blood test to check if all vitamin levels are normal.
I don't see anything in the article about how they differentiated instances of "saw but failed to remember" from constant bearing decreasing range accidents which are well known. How is this different?

Edit: Why the downvotes? Is my question probing at something people find incompatible with their ideology?
> The fact that people engaged in child pornohraphy have had decrypted communications used against them in court demonstrates this to be true

It only demonstrates that for some people, it's true. What about cases where they were using secure channels and thus haven't been caught/charged?
If "aquatic locomotion" counts... seals, walruses, dugongs, manatees. Look at their skeletons if you have time, it's pretty interesting.