skysight-inc/HackerNews huggingface dataset:
There are some weird corners of JavaScript that I went years without knowing. Did you know object literals support getter and setter methods[1]?

As other commenters will point out, such quirks are as easy to look up as they are irrelevant to actual software development.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guid... "Defining getters and setters"
Put it in AV1 and it doesn't.

The entropy coder in AV1 right now is Daala_EC. It's the entropy coder because we measured it directly against rANS and the other candidate encoders and it performed the best.

Hell, you can check out the code, build with the different entropy coders, and test it yourself.
I have found that most people go along with the herd when it comes to money, and career.

Those that claim, "Not me!", are usually the last to raise their hand.

I have seen so many people con other people legally, and 1 out of a 100-1000 will even bring up the immoral/unethical behavior.

I walked out of Chiropractic School in the ninties after realizing it's a scam. The Subluxation is exceptionally rare.

I knew, along with my classmates that it was all a big scam, but we were invested.

A New Yorker, and myself were the only ones raising our hands when the instructor would say something rediculious like, "Chiropractic has over 17 different upper cervicsl techniques, and they all work equally well." Yea--Placbo Effect was a bad word.

In all honesty, it took a nervous breakdown to completely see the light.

I knew all along it was a sham, but figured I would be different Chiropractor. I would use the non-force techniques on patients, and refer if anyone didn't respond to my harmless placebo treatments.

In the end, I just walked, but took away something about human nature. Career, and money will cause most of you to look the other way.
Less makes sense to me. When a command spits out too much text to fit on your screen, you pipe it to less to show you less at once.
Lookups in a Bloom Filter are basically constant time. Not sure you can go faster than that. Check out Eugene Spafford's 1992 paper.

https://dl.acm.org/citation.cfm?id=134593
I fear that Machine Learning/AI is falling into the uncanny valley, where you can depend on it most of the time, but it will let you down at very critical times and you have no way of knowing when that is. Here is a case with machine translation. The Tesla autopilot death is another example.

Machine learning has been hyped so much recently, that I fear that with more cases like this, the public will become disillusioned and we will have another AI winter.
Played the remastered version of Another World a couple months ago, after ages of staying in my list of "pending classics". Good game, controls weren't much of a problem to me (unveilable how much people complain about this, I felt them okayish), very cool aesthetics. Took me like two hours to finish. A HUGE shame that Steam doesn't include the original soundtrack in the game but they don't warn you in the game's description.

Also, THE most disappointing ending, ever. Yeah I know there was a sequel, not made by the original author and only released on Sega CD. That doesn't change the feeling it left on me... I want my three-act structure, had a Setup, had a Confrontation, now I want my Resolution! :)
Damn, you'd think that someone at that level would pay for better OPSEC support. But then, I guess that I'm not surprised. Blackberry does have a reputation, not at all deserved at this point. I'm pretty sure that the President's phone is just as poorly secured. Probably less, from what I've read.
No, it's really not.

We've all seen it. Hundreds of times.
> I would also add that most of the involvement of engineers during lawsuits is to establish exactly what state of practice is in the local area. It would be hard to do that if all these other engineers didn't have or couldn't give an opinion.

An engineer in a lawsuit as an expert witness is a VERY different beast from making public statements about an engineering failure.

Much of the way this is being played out in the press is that the statements by the outside engineers are implying that the engineering firm didn't due sufficient analysis.

That's a statement that they do NOT have the facts to support and falls under "libel". Under a "libel" charge, the defendant has to prove that the statements made are true rather than the plaintiff showing that they are false.

In addition, it's quite easy to take a known failure point and then backfill the analysis to find the mistake. The more interesting question would be to take the design and give it to a firm that doesn't know about the failure and see if they can find the flaw in the analysis.
grep: global regex parser
It is. I'm afraid I'll have to side with the cynics until further info is give on it's principles of operation.

The Plasmodium parasite doesn't seem to have any special characteristics (ie size, spectral response) that would make it detectable by such a device. You can skip the sample size issue by assuming the diagnostic will run for hours or days, but I don't see any theoretical foundation this device could be based on.

Also the obsession of the website with the smartphone interface is kind of sketchy and makes it look (more) like a scam to me.

Edit: I looked further into it, the price is given by the royal academy of engineering. Taken from their website [1]:

" Gitta wins the first prize of UK £25,000 (124 million Ugandan shillings). At an awards ceremony in Nairobi, Kenya on 13 June 2018, four finalists from across sub-Saharan Africa delivered presentations, before Africa Prize judges and a live audience voted for the most promising engineering innovation."

Which means that a live audience of non-technical people were involved in the choice, and, to my opinion, from the rest of the content, this is a feel-good kind of competition with soft goals like promoting innovation and training young people, not the kind of competition that awards working ideas.

[1] https://www.raeng.org.uk/news/news-releases/2018/june/uganda...
> But is this supposed to go on ad infinitum?

Yes... That's how technological progress works? Countless millions of jobs were lost during the Industrial Revolution, but in there place were new jobs often requiring new (and more) skills. The pace of that turnover has been increasing since the invention of the wheel, one problem now is that we've crossed a threshold where the rate of change is no longer intergenerational but intragenerational.

> I don't know if there is some kind of steady state sustainable economy where enough people have meaningful productive outlets (aka jobs w/o coercive bosses) and we as humans are not extracting or destroying more of the non-human planetary resources than can easily be renewed.

This doesn't exist and has never existed; it's only that the rate of change has come to a point where it's now easily perceived (and financially felt). I would even argue it will never, and should never exist. Should we lessen the impact that this rate of change can have on people's lives? Yes, with better access to social services and education. Should we lessen the impact that the global economy has on the environment? Yes. Should we strive towards some steady, and therefore stagnant, equilibrium? No, absolutely not.

Anyway, the point is that every small bit of technological progress fundamentally changes the economy and that inevitably changes what jobs are needed. Jobs are created and destroyed, it's the nature of progress.
Fraud is intentionally misrepresenting information in order to affect how the other party would act to cause a financial gain/loss. It is illegal for the other party to change how they act based on information about a pregnancy, therefore there is no legally admissible injury to the company. Legally, you're probably in about the same situation as a drug dealer accusing someone of stealing some of his goods - if you can prove that they actually caused you damages (ie: that you had a stash of drugs, or that you would deliberately not hire a candidate because they were pregnant), you're worse off than before.
This might be the most wild thing I've ever read.
It would be a PWA; rather than running the web app on electron chromium, run on Chrome.
You were convicted both of a scheme where you bypassed OfficeMax's limits on the number of printer cartridges any one person could redeem, and for a separate scheme where you claimed the purchases of strangers as your own to cash in on their rebates. A lot of people here might disagree with how much prosecutorial attention was heaped on you, but "victim" is laying it on a bit thick.

The new infographic is a nice touch.
Senior level JavaScript I would imagine it to be entirely about frameworks and ES6 shims a.k.a. things you don't actually need. I recommend using as many buzz words as possible.
Companies aren't required to make maternity leave available to new hires immediately, or to pay for it. They simply aren't allowed to make employment decisions based on pregnancy status or plans.
We make “a lot of” a few things

What the US lacks is an ability to spin up new manufacturing in the way China can

https://www.inc.com/glenn-leibowitz/apple-ceo-tim-cook-this-...

People that work in manufacturing in America are better described as “assemblers”

The skills to design and “ship” new manufacturing process do not exist here. A dictatorship invested in skills training, with the help of American government (there’s a paper trail in government records leading back to Reagan PAYING to export manufacturing. Not just tax breaks but giving cash money to invest in building new overseas; cause supply side demanded it. I’ll leave it to the reader to investigate under their own agency).

IMO Tesla is leading a revival here, or at least trying to. Cars and their battery/solar work is what people see them as: bleeding edge energy and manufacturing

Wall Street seems to think they’re just a car company. Which is, again IMO, what people shorting Tesla are confused about

People with a clue realize it isn’t just cars and battery pack sales alone
Thats because it Eventually Mallocs All Computer Storage.
PDAs that could run a processor powerful enough for actual desktop-quality Webkit, a cellular radio, etc.?
Entrepreneur has the best idea ever! He needs funds to build the product.

I believe it's best practice these days to use "they" as a neutral pronoun. It seems like a small thing, but these little things add up.
Generally that advice is not directed towards people starting medical device companies.
I think that's been in the works for a while, long before any of this tariff talk has been happening. Might have been before trump came into office, but I can't remember for sure
Because it has money in the bank, and it wants to invest it into growth.

Let's put it this way: if 9 people can only produce enough revenue to pay for themselves, it would be risky to take on a new large client if doing so required an upfront investment that completely depleted your cash reserves.

If things went south and you couldn't capitalize on your investment, you'd have no way to fund a pivot or a recovery strategy. If taking a new client only required a 10th of your bank and things went bad, it would still hurt but you'd have some breathing room. A new hire poses a similar risk.
Of course not. Nobody wants to read that shit. It's meaningless drivel to 99% of people. After a couple, you just consign them to hell unread.
Because Jarek is frankly out of line, and I see no reason to sugarcoat it.

Google pissed him off (and I'm sure he has reason to be pissed) but he's not exactly being truthful about what happened, or what is happening.

Being angry at Big Bad Company for a good reason does not give an engineer license to bend the truth any damn way he feels, and it certainly doesn't give license to just make shit up. He's lost some of my respect for a good reason, and if an Avengers reference offends him (or you) it's not my problem.
While we're at it, why shouldn't any prospective employee with a health condition that might require extensive time off be required to disclose that? And, since people aren't often the best judge of their health conditions and the impositions they'll make on future employers, perhaps it'd be better if we all just disclosed our complete medical records along with our job applications.
My favorite terse awk is this program for uniquifying input while retaining sort order

awk '!_[$0]++'
Explain why ['1','1','1'].map(parseInt) returns [1, NaN, 1] but ['1','1','1'].map(n => parseInt(n)) returns [1, 1, 1].
I sure hope you are not involved with hiring at your company because your perspective on this is a great way to get sued into oblivion.

It's actually in your best interest as the hiring company to not find out if the person is pregnant or expecting to have a child. Let's say that you decided not to hire someone for a set of reasons unrelated to pregnancy, but along the way you asked the candidate if they were planning to get pregnant. Good luck proving that you didn't make the hiring decision on the basis of knowing they would take leave. Which of course is illegal under the Pregnancy Discrimination Act. This is why most companies make it a policy that you can not ask these kinds of questions so as not to taint the interview (even though technically it's not illegal to ask the questions, it's just illegal to use them as a basis for your decision).

As a candidate you might actually be acting more in the interest of the company to not tell them you are going to be having a child so as not to put them in that position? I honestly haven't thought through it that much so I could be convinced of a different opinion.

If you're planning to continue working after having a child, I think you should go about your career as if the pregnancy wasn't happening and just take the leave as appropriate. If that means you work 6 weeks before leave, so be it. You'll be back after leave to continue on.

What would the company do if instead of getting pregnant you got hit by a bus one day? I had to take 2 months of medical leave on 2 weeks notice when I got deathly ill, that was way less notice than a pregnancy. The startup I was at had only 12 people and they handled it. I'm unconvinced by all these arguments that it's too much of a hardship for companies to deal with their employees having a life.
Total agree. I didn't actually have a computer when System 7 came out, but I used to hang out at the UMO computer lab with my mom and play with Hypercard. Fun, quality stuff.

Good call on the Thinkpad -- after I got my T61 in the mail a few weeks ago and realized immediately that its ergonomics were vastly superior to my MBPs' which cost a heck of a lot more, I was like "gee, maybe I should have taken a hard look at this issue sooner..."
Not op, but obviously. If you have 200k in debt and dont even break 100k per year... it isnt a positive thing.
Verizon upgraded to GPON in 2008, when prices were a lot higher. Back then, GPON line cards were in the $10-20k range. (And they're upgrading to NG-PON2 starting this year.) Also, their typical split is 1:16 or 1:32. So you're talking about $600+ per subscriber (maybe pushing a grand once you factor in cost new ONTs and cost of labor to install new ONTs). That's a couple of thousand dollars per subscriber over the amortization period (at least if you're hoping to keep up with the Joneses).
I am very much the wrong person for you to recruit in an attempt to apply the axiomatic method to discrimination laws. Discriminating against pregnant women is wrong because it's wrong, full stop.
> How is it regressive that compensation during parental leave depends on salary?

People who make more money for working make more money for not working. That's literally the definition of regressive.

To quote Wikipedia: "In terms of individual income and wealth, a regressive tax imposes a greater burden (relative to resources) on the poor than on the rich: there is an inverse relationship between the tax rate and the taxpayer's ability to pay, as measured by assets, consumption, or income."
Technically, any Turing-complete language can be mapped to any other Turing complete language, so it’s possible to have non-trivial syntatic sugar do anything. (Use brainfuck as IR, lol.) >:) But yeah, SS is more like:

++x; // x = x + 1

Nifty syntax

&:foo Ruby method name to callable syntax

foo&.bar Ruby check nil before calling bar

foo?.bar Swift optional presence check

if(x = foo!.bar!) {
x.something()
}

foo ?? bar Swift nil-coalescing

foo || bar Ruby nil-coalescing

<<1,4,8,45>> Erlang bit syntax (binary literals), with typing and endianess

5b432140 Erlang arbitrary base literals

List comprehensions Erlang, Python,

Binary comprehensions in Erlang
2> Pixels = <<213,45,132,64,76,32,76,0,0,234,32,15>>.
<<213,45,132,64,76,32,76,0,0,234,32,15>>
3> RGB = [ {R,G,B} || <<R:8,G:8,B:8>> <= Pixels ].
[{213,45,132},{64,76,32},{76,0,0},{234,32,15}]
-- from LearnYouSomeErlang

Show anon fn’s in many languages using utf8 λ.

Swift property lifecycle callbacks
Hah, I know the feeling. Flying to India I couldn't sleep and watched so many movies with my brains just fried from low oxygen. I have no idea what Emperor's New Groove is about.
It's amazing to me that a single company can be simultaneously fending off the recently-sealed Damore suit and still be discriminating against women. It's as if it's lip service on both sides, while all actions are just made in the company's interest (rolling over employee's interests whenever they contradict it, discrimination or not).
Look up Smoot-Holly.
Ask HN: Does Facebook not delete your personal data along with the account?
See
https://www.commerce.senate.gov/public/_cache/files/9d8e069d-2670-4530-bcdc-d3a63a8831c4/7C8DE61421D13E86FC6855CC2EA7AEA7.senate-commerce-committee-combined-qfrs-06.11.2018.pdf

Note the answer to the question 11:

"Mr. Zuckerberg, how does Facebook determine whether and for how long to store user data or delete user data?"

Answer:
"In general, when a user deletes their account, we delete things they have posted, such as their photos and status updates, and they won’t be able to recover that information later (Information that others have shared about them isn’t part of their account and won’t be deleted.) "

What an interesting way to phrase this. Why "what they posted", instead of "personal data"? This seems like a lawyerized answer telling us that facebook will delete what you posted, but they will not delete your profile, your tracking information (including all mouse cursor movements and ad engagements), your contacts and network, your e-mail?

Also, the answer to question 3 on page 21 confirms that you can opt out of ad-usage of your data, but you can not opt-out of collection of any data...

Finally, question 5 in the same section all but confirms that "Download your data" doesn't actually download all ad-relevant data.
Different strokes for different folks -- I find it pretty patronizing ["Hey hip kids! Dig our slang!"] but recognize that tastes very widely.
Citation needed that they will have a better retirement.
Yes. But when you have Google money do you care?
A good interviewer will start at a high level and drill down into what you're experienced with, rather than pick an obscure topic and assume you've done your homework.

For example, they might ask for a hard problem you've recently solved in your last company.

If you say something related to code splitting, you can expect he'll drill down more specifically into webpack, dependency cycles, etc.

If you say something related to frameworks, you'll get questions asking you to back up the choices you've made. Was it mainly developer productivity or performance you optimized? If you say performance, how did you measure? What metrics are you logging?

...

You should prepare by just reviewing hard problems you've done and brushing up on aspects of it you might've forgotten or remind yourself what was difficult about it.

This applies to the coding portion of your interview as well. If you write "===", you should be able to answer what that's for. If you use ".bind(this)", you should know why you had to bind it. For this portion, you can prepare by looking at code you've written and trying to pick out those parts which you never bothered to figure out but always "just did" (e.g. for many people, the === is just something they do because they see it everywhere).
I found awk after using perl (four was the new hotness)
Before long I was trying to figure out just what in my daily work perl was suppose to be protecting me from
Very aware, but information was strictly compartmentalized inside the company so individual employees had to figure out that things were badly wrong in different ways, depending on what their roles were and when in the lifecycle of the company they were there. Overall, though, the employee turnover was insane.

As someone who has spent a lot of time around startups, the amount of employee turnover was one of the craziest -- indicative in hindsight -- things in John Carreyrou's extremely well-reported book, "Bad Blood." Most startup boards would have looked at that level of employee turnover and realized that there was something much worse going on than a young founder without much management experience doing a poor job at hiring and retention. But the board apparently didn't get very much information about the actual operation of company, didn't push for more, and didn't question or dig into what they did get.
> Google isn't a person and high-paid attorneys aren't antibodies.

Obviously you don't live in the USA.
GopherJS vs. WebAssembly for Go
>But he said Taylor properly supported his allegations that Twitter’s policy of suspending accounts, in the judge’s words, “at any time, for any reason or for no reason” may be unconscionable and that the company calling itself a platform devoted to free speech may be misleading and therefore fraudulent.

Does Twitter call itself a platform devoted to free speech?
> With age related decline in efficiency

I'm pretty sure you're on thin ice with this one...
Could this policy actually be the result of Chinese politicians and/or businesspeople engaging in pay-for-play with Trump?

Or is there another explanation for why this policy doesn’t affect certain completed products from China? I just don’t get that part of it at all.
So her very appearance was subversive, interesting.
Train people to do more than screw hubcaps on.

https://www.inc.com/glenn-leibowitz/apple-ceo-tim-cook-this-...

Skip to the bottom for the quote about being able to fill a football stadium with Chinese tooling experts

Versus not being able to fill a room in the US
Making a low level (Linux) debugger
Swift closure syntax, at least in <= 2.0, made for awkward API calls, since it wasn’t clear whether inline or after closures were used.

In Ruby,

a.map(&:succ)
Got an as-built engineering document which contradicts the engineering proposal document? An article written by a journalist doesn't count.

Unless you can find such a document: the stays were structural elements.
Using Sam's prices. They have cheaper hot dogs but Nathan's is what they actually advertise as being in the concession.