skysight-inc/HackerNews huggingface dataset:
> Never have I seen a woman sit like that on the subway

I see it nearly daily on trains in Brisbane. I also see idiots "manspreading" about as often. Shit people are shit people.
The Japanese knew that they would lose in a war with the US but the military leadership considered a war inevitable. Pearl Harbor was their "Hail Mary". The civilian leadership (Konoe et al) tried to negotiate an alliance of some kind with the US as late as autumn 1941.

"In the first six to twelve months of a war with the United States and Great Britain I will run wild and win victory upon victory. But then, if the war continues after that, I have no expectation of success." – Yamamoto, head of the Japanese Navy, and architect of the Pearl Harbor attack
For #3, it’s not really a red flag. I am guessing you are a fairly recent grad?

Most people who learn algos & DS never have to implement them on the job, and often haven’t actually written their own since their CS classes. If the question is any deeper than “what are some good and bad choices of algorithms for this problem”, you’re selecting more for who has just graduated or has been grinding leetcode and doesn’t have performance anxiety than you are for competence, expertise, and productivity.

I know folks who got rejected from the leetcode companies and went on to build major products from scratch. The 0.5% of work that requires them to have to implement something like this manually, they’ll just grab their CLRS book and refresh their memory long enough to solve the problem and probably forget it again a week later.

I also know folks at these companies who started fresh out of college, passed that style of interview, worked there for 7-10 years, moved up to senior or higher in the engineering track, and openly admit that they would be a deer in the headlights if they got any of the interview questions. Without going back to study and practice those, they know wouldn’t pass an interview for a junior dev, let alone one for their current job (where they are currently considered high performers).

The big problem is that this style of interview filters for people who pass this style of interview, and then those new hires are asked to interview others, so they interviewed in the style that they were given and passed.
The problem I see is that the “deeper” relationships have something of a friction problem. People feel neglected until they have a serious issue.
Businesses do, in fact, have a broad right of free association, limited only by statutory (and possibly State constitutional) limitations that comport with the high federal Constitutional bar for such limitations.
Not sure what's meant by 'native browser.'. My last gui app used qt-webkit and webviews. It's not chromium and very controllable...
Similarly, a huge proportion of Americans pay no net taxes.
AirPods with Wireless Charging Case Expected in Early 2019
I always wonder what makes pointers so difficult for some. So far I have always been able to explain it to people by drawing a linear memory space and then showing how different types are allocated. It seems to me that pointers are one the easier concepts in programming.
Hell, I can barely "hello world" in languages I've been actively and productively writing for months or even years, without context (i.e. existing code) to draw on and/or tool assistance. I've got a better than 50% offer rate on interviews in an over 15 year long career but in one of the ones I flubbed I blanked on the syntax for invoking methods on an object in the language I knew best, at the time, and wrote some other (more common) invocation syntax instead, which can't have helped. Ask me JS scoping trivia and I guarantee I'll screw it up, despite having written JS and TS as my main language(s) for 3ish years now. Look, I stick to a subset of that language precisely so that I can ignore that shit. We can just skip the interview and go straight to the rejection if you're gonna do that. Doubly so if you don't tell me you're gonna do that so I can drill on it before hand.

Coworker and manager feedback, and my compensation over the years, say I'm pretty damn good at adding value despite this. I've been considered the "smart one" and the go-to guy for hard or weird problems. But I will struggle to produce something that will even come close to compiling on your whiteboard, in a language I wrote 300 useful lines of yesterday, unless I spend a couple days basically flash-card drilling for your test. Go figure.
Yes there is. Windows can restart it's graphics drivers of they crash for example. And it has a stable driver ABI so companies can actually release closed source or out-of-tree drivers in a sane way.

Linux just assumes that all drivers must be perfect with no bugs, and must be open source and distributed with Linux itself. That's just not realistic.
When will we learn that if we kill every living thing in the X, we're probably going to regret it later... Maybe the lagoon acidifies and dissolves piers, maybe algae blooms produce toxic gas, who knows.
So React added isReactComponent to Component class but the author doesn't explain why they couldn't just check for render() method. It works in this React-like library:

https://github.com/wisercoder/uibuilder/blob/master/UIBuilde...
>Search google for "cromulent"
>Sees explanation from Wikipedia (https://en.wikipedia.org/wiki/Lisa_the_Iconoclast)
>Look below, in "People also ask" section
>"What does Embiggen mean?"

;)
It’s kinda crazy that the whole FEE thing was treated like a lightbulb moment for the company when everyone else in the industry had them.
Not being able to describe the difference between abstract classes and interfaces is a huge red flag for anyone working in OO Software Development. You can't be serious?
Impressive.

But isn't a key-value server perilously close to a database prompt? And this exploit depends on having authenticated access, right? Otherwise something like fail2ban would prevent hammering, I'd think.
That's not what the article or the Chinese finance ministry say. Didn't you read the article?
“Eliminate the unbanked in NYC” is a lot harder to achieve than “require businesses to accept cash.”
While I agree that a simple figure does a good job at explaining what a pointer is, it takes quite a bit longer to develop an intuitive sense of how to effectively work with pointers. In that case it's the more examples, the better.
Someone else asked that same question on Reddit [0], and Dan pointed out the paragraph in the post that answers it :

> One other possible heuristic could be to check for presence of a render method on the prototype. However, at the time it wasn’t clear how the component API would evolve. Every check has a cost so we wouldn’t want to add more than one. This would also not work if render was defined as an instance method, such as with the class property syntax.

[0] https://www.reddit.com/r/reactjs/comments/a2j6xk/how_does_re...
Second this view.

I'm perfectly happy to not be friends with my coworkers, if only because I do not want their or mine personal controversial opinions to color the effectiveness of my work.
Men have their gonads outside of their bodies and they need to be below body temperature to function properly. When they are too hot, they send the signal of pain to brain. Hopefully this causes an action that reduces the temperature of the gonads and prevent damage. Some men probably have other physical characteristics that exacerbates this heat problem that makes them to want to have their legs spread more than other men. If seats are empty to one side, the spreading of legs should not be seen as some attempt of male dominance, if the man brings them together when someone else comes to sit next to them.

How the term "manspreading" is used, while so many other words are forbidden as offensive, puts on clear display the double standard that many feel is held by mainstream media.
They should also investigate Amazon's treatment of their suppliers. I've worked in two supplier companies that would have preferred to not sell to Amazon, but essentially had no other choice.

In both of them, when sending something off to Amazon, we first of all got to rip off the bulk packaging, then individually packed each item in their oh-so-eco-friendly packaging (which I suppose still makes sense as they're individually sending those items out to customers), but then if it arrived at Amazon's warehouse and anything is wrong with that truck load, like a splinter from the pallet damaging one or two packages, then they would usually pack everything back onto the truck and send it back to us. Then we got to rip off their eco-friendly packaging to check each item, pack it again and send it off to Amazon again. The costs for sending the whole truck load back and forth, we as supplier got to pay.

To try to avoid this, we also specifically threw away pallets that would have even the slightest chance of splintering, or used them for other companies that we supplied to. So, in effect we got to put the Amazon deliveries in their eco-friendly packaging onto the shiniest dead trees that you'll ever see.
>Not going to happen - I think the supply of software developers has started to outweigh the demand, so there's no way that companies are going to offer compensation to interviewees.

I was thinking the opposite - that no employed engineer is going to bother with a multi-day paid contract for a new position, so the only engineers you will attract are those without a job and no pending interviews.
Ya like millennials can leetcode. They can't even tie their shoes without complaining on facebook.
I checked the section "Interlude: Arrays" because the relationship between pointers and arrays in C is a major sticking point.

It claims that, given a declaration

int array[] = { 45, 67, 89 };

the expressions "array", "&array", and "&array[0]" are all equivalent. They are not. "&array" and "&array[0]" both refer to the same memory location, but they're of different types.

In the next section:

"By the way, though sizeof(void) is illegal, void pointers are incremented or decremented by 1 byte."

Arithmetic on void pointers is a gcc-specific extension (also supported by some other compilers). It's a constraint violation in standard C.

I don't think this is the "best" article on pointers in C.

I usually recommend section 6 of the comp.lang.c FAQ, http://www.c-faq.com/
I don’t have my copy at hand, but Expert C Programming: Deep C Secrets has the best coverage of pointers and arrays I’ve seen.

In particular, it supplies a useful algorithm for decoding all pointer declarations such as functions that return function pointers.

https://www.goodreads.com/book/show/198207
I realize this maybe a corner case and slightly off-topic, but it would be really nice to be able to boot Haiku via PXE boot in our network infrastructure. This would make it so much easier for people to play with it casually. It seems[0] that there has been some effort to support this, but last time I tried (about 3 months a go), I couldn't get it boot with couple of hours effort (I know, may very well be user error ;-) ).

If anyone from Haiku is reading, would be really cool if you also offered network bootable image by default that can successfully boot from 'standard' PXE boot server setup.

[0] https://www.haiku-os.org/guides/network_booting/
The article says you're right that most don't hit the minimum, but ~160 million people (12% of the population or so) should pay income tax but don't.
The syntax gets funky, as well, especially in modern eyes.
Eh, I've been running FreeBSD on my primary desktop for about a decade now (and have been running it on every server I can get my grubby hands on). It's equally painful for me to use any other OS because of similar workflow issues. We've all got a wide variety of tasks to complete and a good handful of specialized tools to complete them with -- use whatever works best. If you're doing server work, I recommend giving FreeBSD a trial run!
I have written maybe 200 lines of JavaScript in my life, and this article has strongly reinforced my desire to never have to write a single one more. The next time someone asks me what the problem with JavaScript is, I will send them this article. "Scheme for the browser" what a joke.

Some excerpts for those that didn't have the strength to sit through the entire thing without pulling their hair out:

> If you called Person('Fred') without new, this inside it would point to something global and useless (for example, window or undefined). So our code would crash or do something silly like setting window.name.

> However, JavaScript also allows a function called with new to override the return value of new by returning some other object. Presumably, this was considered useful for patterns like pooling where we want to reuse instances:

> However, new also completely ignores a function’s return value if it’s not an object. If you return a string or a number, it’s like there was no return at all.

> And yet I still find it very confusing that a property called prototype does not give you a value’s prototype (for example, fred.prototype is undefined because fred is not a function). Personally, I think this is the biggest reason even experienced developers tend to misunderstand JavaScript prototypes.

> However, some class implementations we wanted to target did not copy static properties (or set the non-standard __proto__), so the flag was getting lost

Edit: And I missed the best/worst one yet: You can have MULTIPLE VERSIONS of the SAME DEPENDENCY running around in your codebase, interacting in ways that only god knows. In retrospect, this should have been obvious from the way javascript "imports" work, but, holy shit! If Satan himself had to design a language, he could not have done a better job. And I'm sure he would not have the stroke of genius required to make it the only programming language you can use if you want to target the most widely available platform for code in the world.

The next time I have to allow NoScript to let some js in, I will wonder how many goat sacrifices went into making the thing work.
A lot of people in the U.S. don't pay net income taxes either, about 44% accoeding to [1].

[1] https://nypost.com/2017/04/18/almost-half-of-americans-wont-...
The article is paywalled. Any TL;DR?
Well, I consider myself an expert user, but I rarely change the default because I switch between environments so often that it would represent a major time overhead to extensively customize application to the way I really want them. And besides, the way I really want them is so far away from the way they are shipped that it's normally unrealistic to maintain that level of customization.

So I get used to the defaults. It makes it easier to throw out, reinstall, or switch environments if I need to. In any given day I use 5 or 6 different primary environments.
Right.

One reason housing is so expensive is both partners working and, thus, not having kids, in effect eating their seed corn, and wasting their money on nonsense. We don't need McMansions. We don't need so many bedrooms -- in one bedroom can have bunk beds and a partition between the boys and the girls. Around the house, the children can do more -- less TV and Internet -- and good for child development. The kids can do better in all the important parts of growing up, not just leave so much of child development to the schools. E.g., for Hacker News, get the kids started programming, in whatever tools want, from assembler to the full stack, whatever. Don't need a dishwasher, two ovens, two cars, etc. Actually can do well hand washing a lot of the clothes. Can get by without a clothes dryer. Pizza? Have the kids make them at home, for about 10% of the cost of buying a pizza ready made. It's fun to make pizza.

Clothes don't have to be expensive; blue denim, really old canvas sail cloth, tough stuff, works great.

Medical costs? In the US (don't tell anyone) we have Community Health Centers and Hill-Burton hospitals.

Dental care? Eat like people in poor countries -- they have beautiful teeth with no dental care.

The very poor people of Mayotte are having kids -- it CAN be done without a lot of money.
I've always been partial to Dennis Kubes' five minute guide:

https://news.ycombinator.com/item?id=4389691
Next thing on the list - when you walk in the house, turn off your phone. Only then you will feel as if you are free, and the free time it’s yours to do whatever you feel like. You soon realize that there is so much you can do without the social media in your fingertips. Enjoy it.
Sure you won't get a full fledged checkwriting account, but would that really stop you from getting a debit card with direct deposit?
To add another reason they’re difficult: many non-trivial uses of pointers are in particularly hairy situations, such as navigating complex data structures.
In your experience, how do web applications compare to native Mac apps? Of course, a web app can be accessible with both VoiceOver and magnification (based on all the features you listed, I'm guessing you're low-vision). But are even the most accessible web applications noticeably less efficient for you than native Cocoa apps?
NeXT failed because of its hardware strategy/cost of manufacturing, and very high hardware sales price which kept away 95% of the potential customers. By the time they were "done" with making hardware and ready to be acquired, NeXT's OS was quite solid and stable, representing a good base to develop MacOS 10.0 from. If you take a look at MacOS 10.0 server, the first release, it's incredibly close to NeXT.

They probably looked at projects like FreeBSD at the time (1997-2000 era) and decided that too much time would be required to re-implement what they wanted to do, vs buying NeXT.

https://en.wikipedia.org/wiki/Mac_OS_X_Server_1.0

https://en.wikipedia.org/wiki/Mac_OS_X_10.0
I had a semester of abstract algebra as an undergrad, and I've always been surprised by how many dividends that semester has paid back over the years. The tools of higher algebra are very powerful in the right situation. This article is a great development of algebraic concepts and introduction to thinking algebraically, which is a really powerful tool to have in your toolbox.

(Closely related is the idea of invariants: properties that are preserved by particular operations or functions. Often invariants are related to some algebraic structure of the system, but can be easier to identify and support a lot of the same insights. Reasoning about invariants of systems is another great way to make progress on hard problems.)

I find that very few engineers (especially in hardware) have had exposure to this stuff. Being the only one in the room who's had an abstract algebra course means I've occasionally been able to provide a completely different line of attack on hard problems. This has been good for my career!

As an example, I once helped a friend debug a complex system that was not behaving correctly. There was an input state, a nasty sequence composed of simple operations applied to that state, and an output state, which was not behaving as expected. A bit of algebraic thinking showed that each of the simple operations preserved an invariant, so no sequence of valid operations, no matter how complex, could produce that output. This meant that debugging attention could be directed at the implementations of those simple operations, which led to finding bugs in short order. This saved a lot of work because the actual sequence came from elsewhere and would have been difficult to audit!
Offhand "Black Sheep Squadron" comes to mind.
Dropping "explicit error checks" is no doubt bad from the user's point of view

Only from the user's point of view? No, I'd say it's bad in some absolute sense as well.

Can we at least agree that it would be better for the compiler to do what the programmer clearly intended? Yes, given current limitations, it can be difficult to see how a compiler has enough information to always recognize this intent. But I hope we at least both agree that if all else doing equal, doing what the programmer meant is the preferred choice?

As a parallel, I think the approach of having -Wall flag "if (a = b)" as a likely error but be overrideable with "if ((a = b))" is a great solution. Maybe this one can be solved with an extra block, or with a better #pragma, or just really good heuristics. But the current approach of silent deletion of explicit code for undefined behavior is a terrible pattern!
But that's because they don't owe anything, not because of evasion
in china, a big part is house buying tax in disguise of bubbled land price.

well, if everyone pay tax as they should in theory, the housing bubble would not be that crazy. people ducked taxes believing they save the money and then give them back when buy house. who are the cleverest?
> ... workers skimp on taxes because they do not trust the government will spend their money wisely. Mr Liu cites the Belt and Road Initiative, a global infrastructure-building project, as an indefensible giveaway to poor countries ...

interesting. sounds kinda like what some US red-state voters think.

also: US media tend to portray the Belt and Road Initiative more like a plan to dominate the world than a giveaway to poor countries. quite a difference in perspective here.
Same here. I only follow maybe 10 friends on Instagram...the rest is artist, makers, hashtags and brands I am interested in
You can store a local search index of your code using https://github.com/google/codesearch, which uses this algorithm in the background.
I think it depends how you do it. When I interview, part of what I do is try to find quirks that they know about, but not count the ones they don’t know about against them.

I think you can quickly get a sense of depth, potential, curiosity, and passion if you can get them talking about quirks and their opinions on those quirks.

For example, if someone says that they once attached a debugger to the JVM to confirm a pathological issue arising from benign looking Java code and found that the JIT compiler falls apart when a certain construct is used, I’m probably going to hire that person, even if we have no Java code in the company - assuming I can also confirm that they are productive and don’t just waste time going down deep rabbit holes.
Yeah I don't think Costco hotdogs are representative of current food prices. They are unusually cheap
Does your bank allow your account to be indexed by google?
I joked the other day to a co-worker, currently working full time in Python, that you get used to the list comprehension and other nice things of Python so much, that you'll never be able to go back to gnarlier languages like Java/C. It's just too nice. You can get python to run really fast nowadays and if you can't, you still got nim.
Is it free-to-access interior space that you feel is missing? I'm perhaps not the best judge, as I just personally dislike living in large cities, so satellite towns like Gilroy are about as urban as I like to get. So maybe I'm just not familiar with what you're getting at.

But even around here, and sticking only to 100% free, there are tons of parks, tennis & basketball courts, softball/baseball fields, bike trails, etc. There's an open-air amphitheatre that anyone can use. The BBQ park benches are covered, so you can stay out of the weather/sun while hanging out. I'm not sure what I would consider missing in terms of public space. Even the library has an open atrium area with couches and the like where you can talk without needing to pay anything, and without disturbing the folks in the stacks.
I trust 1Password at present. Everything they’ve done so far (including the structure of their financial incentives) has indicated to me that they are both willing and able to protect my privacy (even from future untrustworthy management) via their software.
That didn't seem to be a bad business if you made 25% after all fees. Why didn't it work out?