skysight-inc/HackerNews huggingface dataset:
I think the argument that hooks lose on simplicity (as opposed to familiarity) can hold water if you think about it this way: sure procedural code is very familiar to most JS devs and consuming hooks indeed feels procedural. Ok. BUT. Reasoning about the rules of hooks when you're writing non-trivial hooks, that's not familiar, and it's not simple either. At my day job, there have been some debates about supporting Suspense composition and the semantics are very difficult to reason about because not only you have to keep in your head what the procedural code actually does, but you also need to keep track of whether e.g. certain flavors of certain expressions violate the rule of hooks. The term "magic" is a very appropriate way of describing how hooks feel in this context.
What's the One Thing?
What is a land-whale tank?
Feeling at ease being myself.
I don't know that it always leads to illegal forms of discrimination.

First, defining the term -- when you're interviewing, you're discriminating. When you choose one person over another, you're discriminating between those two people. The question is whether or not the form of discrimination is legal, and accurate. Both should be true.

Looking at my own team as an example, there's a guy who's a mid-level who got his start from a boot-camp (30s), a 20-something with an advanced degree, an older[0] from (I think) Russia, we had an Iranian recently leave (for a better position -- she loved the job).

We're a relatively small shop (about 100 or so) but as someone who's given a lot of these interviews, and probably seen every resume of every candidate who came on to our team, we're pretty consistent. About 10-15% of the people who submit a resume are women, about 10-15% of our team is made up of women. Ethnic race/nationality matches up similarly. A shop our size "can't do more to recruit women" before we "do more to recruit ... human beings" We haven't enough budget to do much more than explain how great it is to be on our team[1], lay out the skillset we're looking for, and hope resumes show up[2].

[0] There's some form of -ism that keeps me from ever speculating on the age of a woman, but she is probably older than me.

[1] Yeah, that sounds buzz-wody, and there are lousy parts to any job, but there is so much upside to the work I do, the company (and people) I work for, that it's hard to contain my own enthusiasm for it. And no, we're not actively trying to make the world a better place by "insert thing that couldn't possibly impact the world in any meaningful way". We're just making neat things all day. It works for me -- might not work for everyone, but I include that last bit as part of the enthusiasm.

[2] Most of this is through anecdotal observation, not hard data, so I concede in advance that "I'm wrong on the Internet" :)
I have a question, what is it about blockchain that's so attractive to every new idea nowadays?

New social network? Blockchain!

New news platform? Blockchain!

I get what blockchain is. I get how it's used in cryptocurrency transactions. But will someone please explain why it's being incorporated into industries that always have done (and IMO can continue to do) just fine without it?

I skim through this [1] list, and see no clear benefit to incorporating blockchain into most/all of these? Most of them seem to be using it as 'secure database' or something.

[1]: https://www.fool.com/investing/2018/04/11/20-real-world-uses...
I was suggesting the correlation is deeper than just "circular reasoning", and I assume you agree since you mention two potential causations.
A less than 10nm transistor with the same design transistors had 20 years ago does basically not work (you can do some analog hackery, but it's does not behave like a transistor).

Every semiconductor has a lower limit, for silicon it's ~10nm.
That too doesn't make it so. It might be so, and in some cases it is. However I've also observed people claim discrimination when there wasn't.
> We modified our continuous integration system to extract this dependency information from Bazel (via bazel query) and use it to compute the set of tests affected by a particular commit. This allows us to greatly reduce the number of tests executed on most commits while still being correct.

Why didn’t they just rely on Bazel’s built in test caching? It does the same thing.
I sympathize for folks wanting to run old hardware for nostalgia purposes. However, anything older than twenty years can typically be replaced by a low-end Rasberry PI and use a lot less electricity doing it.

The drop in the cost of hardware after 2k makes repurposing less useful then it was previously.
>Ring cameras are basically being used as a gigantic police-partnered dragnet:

Isn't that sort of like saying humans are basically used as a gigantic police-partnered dragnet...seeing as our entire criminal system is primarily driven by eye witnesses of crimes?

Only what we know is eye-witnesses often have conflicting testimony, some will refuse to assist police officers (out of concern for their own safety or they just don't give a shit), and others outright lie.

For example, a UFC fighter's step-daughter was recently kidnapped and murdered (abducted right from a gas station)...video would later assist identify the suspect and lead to arrest, but also identify eye witnesses to the abduction (who never came forward because they "didn't want to get involved") but after the video identified the witnesses, their testimony ended up being important.
You're right, I don't quite recall what I was thinking at the time.
If I understand you correctly, people who like working alone on challenging tasks are inherently deficient and we need to drive them out of the workplace to make others more comfortable?

Isn't there a place for people good at thinking deeply about difficult problems on their own and coming up with effective solutions?

Yes, everyone needs to be able to communicate well to be part of an effective team. But there is also a role for deep thinking and introspection.

By the way, introverted women exist, too.
"Bike shedding is a pointless contribution to something just to prove you thought about it."

Isn't that related to the famous "duck"? That is, something completely useless added to
a project (like a UI widget that does not contribute to the functionality) still very noticeable so that it will act as a sacrifical goat, saving other stuff the developers don't want to be messed with by upper management bikeshedders.
Rambler (Sberbank) Claims Nginx (F5 Networks) Copyrights
> But showing you care about the interview matters and flip-flops don't send that message

I'm not looking for candidates to show that they care about the interview, or that they have put effort into preparing for it. I'm looking for them to show that they can take a verbal description of a problem and turn it into something concrete enough that they can solve, that they can think about algorithms, that they can code.
That's fair, I was trying to keep it simple to explain my train of thought better.
In this case Sonar will do a better job. IDE warnings are good for fixing them immediately - when they accumulate it’s very easy to stop paying any attention.
Tell that to coke, pepsi, and nestle
I think the truth of the matter is that you cannot dictate what people feel passionate about or what they need to do. For example, people in Algeria or from my region of South Asia study the sciences because it is a way to better incomes in the future.

Simply giving people all the opportunity in the world will not guarantee that they will take up that opportunity. Just because you offer someone a carrot does not mean that that person will bite.
Sure. I don't understand the competition argument though. In my HS and College years it did not matter if the top student was a man or a women, it just mattered if it was you or someone else. And as far as I recall men and women were fairly evenly matched. Why do you think they should compete separately?
> Ideally I'd like to output something replayable and analyzable like a WARC or HAR, but also spit out a PDF, which I think chrome headless should be able to do.

ArchiveBox does WARCs and PDFs, and does embedded media; it's easy to use, you can point it at a newline-delimited textfile of URLs and it'll process it.

I'm not sure how it handles YouTube - whether it shells out to something like youtube-dl or not... But really, 1TB is not all that much. You can get 8TB internal HDDs for like $200 now.
A significantly shorter video with a similar message:

https://www.youtube.com/watch?v=JTurSi0LhJs
Dang, you weren't kidding about Chauvet cave. Some of those photos are strikingly beautiful.
Taxation isn't bondage.
Can you point me where are docs on Godot Engine export for MS-DOS?
Thats it. And as messed up as it is maybe people will finally wake up to using better passwords. I'm really tired of local news covering this stuff and barely mentioning or not mentioning at all how the "hackers" are getting into the accounts.
I stand corrected,thanks. However the scanners are targeted towards patients, and brand customization is understandable for clients. You however see my point : for adults, having a precise or dependable MRI is more important than having it in purple or branded for xyz hospital.
It's illegal to sell a used mattress in most places, so we don't really know if people care. I personally wouldn't have a problem with a used mattress.
? I still don't get it.
It depends on what you think omnipotence is; if you believe that it is constrained by consistency (God cannot create a square circle) then it could be the case that any world created would have some evil. Then a benign God could create the "best possible world" in which bad things happen.

All academic anyway, there is no God.
If you are in italy you need to see this
Good point ... your link is the 2-page conference version (from June) of the larger and more-detailed journal submission (which was more recent, and for me, not available in full form yet on the journal website).
I think "hacks" is a pretty strong word here. They're basically just brute forcing accounts with email and password combos that have been leaked from other sources.
I think this counts as a "general warrant", and is probably unconstitutional. To find which phones were in an area, the location history of everyone has to be searched. But warrants for everyone's location would be illegal, so if Google does that filtering, we kind of pretend it's legal. For now - I don't think this specific practice has been ruled on by the supreme court yet.

As far as Google is concerned - I'd have them not store the data in the first place, and at a minimum have the spying be opt-in, instead of out. But I can't fault them for what they did after getting the warrant. Ideally they would try to fight it and get a supreme court ruling, but that's squarely in the good bucket. As it stands, the best I can hope from them is to be neutral, or at least not too evil.
Over the summer my partner taught our local gang of crows that if they come to our house in the morning and the afternoon and make some noise, she'd come out and throw them peanuts and meal worms. We're not on petting them terms, but we've got an understanding. :D
There's a huge difference.

The parens in lisps are significantly detrimental to its first impression, and 3rd, 4th ...

I have literally never met a developer I can show a lisp code sample to whose reaction isn't "what the hell is that?"

It looks totally alien compared to C-style langs, which is what most people learn.

With Python, that is not the case at all, basic Python can be interchanged with pseudo-code for the majority of developers from C-style backgrounds.

Pretending this problem doesn't exist, only exacerbates it, and really holds back lisp adoption in my opinion.
If it's anything like the old days, they don't need to horde a 0 day.

There were always obscure pieces of software that would pull your forgotten pin right off the device with the right secret code, in which case you have full access to the device.

I'd also expect them to be vulnerable to much simpler attacks like just reading flash chips directly
It's about internalizing the idea that it's a feasible choice you give actual thought to.
Technically, a shortage is a situation where price is unable to rise. When something external prevents you from paying more, like the government imposing a price ceiling.

A good example in the labour market is doctors. While experience may vary, at least in the jurisdiction I live, it is illegal for a doctor to accept more money from me in order to prioritize my care. Instead, the law mandates that patients are prioritized first by need, second by order of contact (i.e. first come, first served). If the doctors are busy, there is no legal priced-based mechanism for me to incentivize directing their services to me, thus there can be a shortage.

I am doubtful that there could be a shortage in the trucking industry. I'm certain if I offered a 30% raise to just about any truck driver, they would jump ship to my operation in a heartbeat. I know of nothing external that would prevent me from doing that. Realistically, I might not be able to pay that much, but that simply means I was never in the market in the first place (as your comment about Tesla alludes to).

It is funny how the term shortage is used differently in the labour market when compared to other markets, like cars. I often wonder if it is because people once heard about doctor shortages, which can legitimately happen (depending on local laws), misinterpreted what was being said, and extended that misinterpretation to all types of labour.
How ‘dark patterns’ influence travel bookings
This is just a copy and paste of this: https://www.kirkdurston.com/blog/unwin

It was posted not long ago, with quite a bit of discussion, but was flagged: https://news.ycombinator.com/item?id=21715664
The concept in comic form: https://www.sparringmind.com/supernormal-stimuli/
The title makes it sound like there is a security issue with the cameras, but the "hacks" are from password leaks.
Sure. But how would it compare to a CPU clocked at 3.5Thz?
Boeing removed lightning protection from 787 as a cost-cutting measure
Kind of not understanding the reality of the military's mission, and a disconnect from the consequences of their actions. It looked, to me, that they were just following a bunch of steps without thinking about whether any of it works.
Also 8 to 4 is worth
That is an improvement we will make.
Ten Years of Tech Writing
Ask HN: What is so great about blockchain?
I have a question, what is it about blockchain that's so attractive to every new startup or idea nowadays?

New social network? Blockchain!

New news platform? Blockchain!

I get what blockchain is. I get how it's used in cryptocurrency transactions. But will someone please explain why it's being incorporated into industries that always have done (and IMO can continue to do) just fine without it?

I skim through this [1] list, and see no clear benefit to incorporating blockchain into most/all of these? Most of them seem to be using it as 'secure database' or something.

[1]: https://www.fool.com/investing/2018/04/11/20-real-world-uses-for-blockchain-technology.aspx
The best I can recommend for managers:
https://roadmap.manager-tools.com/product/basics/1
If you like this kind of stuff, you might find my patchbay project interesting:

https://patchbay.pub/
If not a million, how about a billion? There must be some price where the cost/benefit analysis tips in favour of trucking?
A police camera watching a gas station is not the same as a police camera watching your front door.
That's true. I'm making a guess based on the limited time I can spend--that's part of why resumes are so valuable.

In my limited experience, there tends to be a fairly pronounced cutoff below which candidates obviously lack the basic skills or inclination for the position, or even didn't bother to read the job spec at all.
Here's another great Boiler Room mix, from Nightmares on Wax, https://www.youtube.com/watch?v=Q692lHFaLVM.
> I work from home most of the time, except for travel across the US one week a month.

I've worked full time remote for over 10 years for different companies and never had to fly that much. I've always flown once or maybe twice a year at most. I think this is more the norm, at least for software engineering and operations.

> The problem IMO is that too little work is truly remote.

You follow this with some specific examples, most of which would require travel even if you were in an office. I don't agree on those you list as requiring face-to-face meetings, they are all fully capable of being done remotely. IMO the only ones that require you on site are one where you physically interact with things/people.
Atlassian releases their own Serverless platform
They're the boy who cried wolf. Nobody believes them anymore, even if it's true.
Wow, this is eerily similar to a thing I've been working on for a few years as well. Very cool! I love seeing other people who are asking the same questions as I am, and arriving at similar conclusions.
You had my curiosity but seeing it implemented in Python and so Pythonic now you have my attention.
The key takeaway here isn't that "Instagram face" exists or what it looks like, but that it's a product of two factors: the emergence of less invasive plastic surgery techniques, and of software specifically dedicated to producing these faces. This being HN, the existence of the software is the really interesting bit.

It's called FaceTune:

> FaceTune, which was released in 2013 and promises to help you “wow your friends with every selfie,” enables even more precision... “I think ninety-five per cent of the most-followed people on Instagram use FaceTune, easily,” Smith told me.

It's a phone app. More information is available here: https://www.facetuneapp.com/

Click the "watch video" link on that homepage to see a good visual example of what the software can do. (Warning in advance, the video has an obnoxious, loud techno soundtrack. Mute the tab before you hit play.)
"The assumption that the client is the user doesn't hold true in many projects."

True, the discussion brought to mind a couple projects where the customer/user were the same person. I should have mentioned that, sorry.
If you don't follow this, you are in for quite a treat. Enjoy:

https://www.newyorker.com/cartoons/contest#finalists
You just compared a nazi slogan from the slave work camps to a cushy software engineering job. I won't attack you but you should really step back and reevaluate your thinking on the matter.
I can't believe this comment get voted up.

> women in America are "organically" picking non-STEM jobs, but that is because the jobs suck, the environments suck and people are assholes at these jobs

Very general assessment without any supporting evidence.

Your sister is not sufficient evidence to make this kind of assessment. Neither is "Ask Women".

By the way, I will be very surprised to hear women in general are treated better in India than in America. https://en.wikipedia.org/wiki/Gender_inequality_in_India
I was referring to this:

> You forget that we live in a society where we need people to use cars.
"God Songs"?

This is the worst translation ever.

Even "Magic Songs" is better.
I just hate that the emphasis seems to be strictly based on careers with high income. There is no focus spreading equality or equity or informing everyone when the career is about social good, life satisfaction, or blunt quality of life.
The examples you ask for would obviously be the topic of this conversation, which you can be reminded of by reading from the start again. Other popular examples of 2019 Gallileo's might be people like Ivar Giaever or John Stossel.
...those fish aren't real, are they?

Yes, I know they're real. It's just that they're all terrifying past a certain depth.
Why not?

Mainstream personal finance advice is pitiful.

There's wide consensus that ETFs are a bubble. On the other hand, the notion that buying an individual stock is equivalent to gambling is nonsense.
Because they are approaching retirement fast
> In school way back in olden times, most of the girls in my class would say "oh, I hate computers,"

I'm pretty sure most of the boys said that too.
Even when there were optional courses the school made it clear the only real option was band/choir/french/german/spanish (I think there was home-ec and shop courses available too). There was one hour free that you could pick one of the above, in theory you didn't have to take math and science the last year, but they made it clear that if you had any hope of college you better not skip them. I found out the hard way that band/choir were not really options because my college wouldn't admit me without the foreign language (I had to do catch up classes)
When I buy a product from a brick and mortar store, there is NO risk to not receiving the product.

When I buy a product online, this is ALWAYS a risk, no matter what.

Your solution uses my tax dollars to make online businesses more competitive with brick and mortar stores, thereby making it more difficult to run a profitable brick and mortar store/mom and pop shop.

>No matter whether they're internet based, no matter how old they are, if a company offers a product for sale, it should not be "risky" to purchase it.

Your solution offloads some risk from the consumer onto everyone else. I agree with the comment, you put the burden on the courts and by extension, me, to pay taxes to support other people's poor ability to reason about what businesses may or may not be scams and encourage risk-taking buying products from risky businesses.

>But if we don't, there's nothing stopping them from doing it again and again.

Again, informed consumers... Accept you're taking a risk buying a product from a fledgling internet-based startup, a risk that wouldn't just go away even if we all incur the large expense getting the courts involved.

We're both basically just saying everything we've already said. No sense in going in circles
If police use the lack of information from those avenues as a justification for a warrant to conduct surveillance then that argument is moot.
>> Quantification does exist implicitly, but (again, constraint solving
extensions and dif/2 aside) it's not useful with respect to infinities. \+
(member(X, D), \+ P) works just fine for a finite ground D, but try with an
unbound or partially-bound D and you get an instantiation error (at best) or
infinite recursion (at worst).

The instantiation error would be raised by P being unbound, not D. You can
walk over variables with member/2.

In Swi-Prolog:

?- member(X, D).
D = [X|_3304] ;
D = [_3302, X|_3310] ;
D = [_3302, _3308, X|_3316] ;
D = [_3302, _3308, _3314, X|_3322] .

In Sicstus Prolog:

| ?- member(X,D).
D = [X|_A] ? ;
D = [_A,X|_B] ? ;
D = [_A,_B,X|_C] ? ;
D = [_A,_B,_C,X|_D] ?
yes

The instantiation error, e.g. in Swi:

?- (member(X,D), \+ P).
ERROR: Arguments are not sufficiently instantiated

- is an implementation detail, not a feature of the language (although it's
probably in some standard). You could write your own version of \+/2 that
doesn't raise an error.

>> SMT2 is perfectly happy with infinite domains. Yes, you can encounter
undecidability (and obviously must in some cases), but it is not a given. You
can absolutely prove theorems over infinite domains with it.

You can prove theorems in infinite domains with Prolog. For instance, given
the program P, below, the query Q terminates:

P =
{ s(0),
s(s(N)):- s(N)
}

Q = { s(s(s(0))) }

Now that I think about it, member/2, append/2, etc list processing predicates also range over infinite domains.

member(X,[X|T]).
member(X,[H|T]):-
member(X,T).

etc. True for lists of arbitrary length, restricted only by your computer's memory.
Is it not arrogant to think engineering is the profession that all minorities aspire to?