skysight-inc/HackerNews huggingface dataset:
For all practical purposes, yes. In the strictest technical sense it's a form of JIT compilation, but that can be considered an optimization or implementation technique. If the user doesn't perceive a separate compilation step, it's effectively an interpreter and only a dedicated pedant would "well actually" that it's compilation.
The preservation is still not perfect though, partly due to limitations in the format used to store the recovered data. https://twitter.com/yesterbits/status/993342787444670464
Thank you for your code, I will be definitely be referring to this as I build the base of my current project.

Diving back into Node though, just so I can get my current portfolio up to par and job-ready, it makes me realize how broken this whole process is.

It seems like bi-annually, either Node.js is changing, Webpack is changing, React is changing, or possibly all three have changed. What you learned just a year ago has been modified and 'updated', usually with configuration and API changes. This leads to a whole slew of new articles and tutorials and boilerplate GitHub projects being created, only to be somewhat legacy less than a year down the road.

Then the plugins you have to learn, all of which separately might have configuration and API changes from one version to the next... Then you have to learn server side rendering because all of this is built for the client, so it's time to incorporate some weird page loading query string hacks to get that working...

All of this feels like it's just one hack put on top of another, to try and achieve what browsers have been doing since the 90's, just without reloading the page.

I think the updates to JavaScript in ES6 like arrow functions, classes, the spread operator, etc are great, but even this I could see going down the C++ route of just trying to add every single feature a programmer can think of to the language.

This is why I prefer Go so heavily. The core language keywords and features have not really changed since its inception. I hope one day this can all be condensed and simplified, much like Go is doing for backend languages.
I would think people interested in startup financing/investing are a bigger contingent of HN'ers than you assume. It is run by YC after all.
Build it bit by bit in a wiki. When it gets too big to type in reliably put it in version control. Add a help function and more flags for all the corner cases your coworkers discover.
Huh? I don’t see how they are related. Many games ask you to complete objectives using means that are perfectly in-character, and there would be no ludonarrative dissonance. But as a medium, video game storytelling creates a unique opportunity for optionally using ludonarrative dissonance as a factor.
2) A married service member gets extra housing allowance for dependents. Traditionally this was for a non-working spouse who lives at home and kids. More recently both people could be service members, first with women joining and then with gay marriage, so both service members get increased hosting allowance.

The additional value that the taxpayer receives is that the spouses and kids of service members, who follow then around from duty station to duty station, aren't homeless, so that the service member can concentrate fully on the 16 hour work day for shit pay.
Here's the link to the PBS video

https://www.pbs.org/video/pbs-space-time-dyson-sphere/

The article is just a plug for this video and pushing ads for popular mechanics.
Sure, those kind of things are a possibility. The point I was making is that Airbnb needs to play by the same rules as everyone.
Just going to leave this here: https://agile-bpa.18f.gov/orders/
It's not just Nature magazine. GitHub was a corporation before. Maybe not as big as Microsoft, but a corporation none-the-less. We're just moving from one company owning the repository to another one. Big Deal.
How the puffer fish gets you high, zombifies you, and kills you
It's too bad that societies haven't done a better job of exploring codified (and in turn universal) solutions to this. For example, having the law only allow technological copy control measures for a period of 14 years from release, and requiring that in order to use them a clean copy of the software had to be submitted to the Library of Congress (or similar) encrypted with an LoC key. When the software technological control period expired it would still be under copyright, but the public would be assured that even if it was abandoned (as is likely) legitimate owners would not be prevented from running it by a decaying DRM system.

For that matter I think encrypted source/asset escrow should also be a requirement for copyright period, so that when it becomes public domain someday (currently effectively forever, but a simple act of Congress could shrink copyright times back down to something sane) the source and assets will be part of that and can be modified and improved, just as copyright was always supposed to be and was a given for books. I can recognize the trust issues this would create, but I still think the public interest (the whole purpose of even allowing IP in the first place) should have strong weight.
I've written hundred-line awk scripts.

It's not worth it. As soon as you go over about 3 lines, you're better off switching to Ruby, Python or even Perl.
It's here https://github.com/a2-4am/passport Also he has a "best of" list if you don't want to dig through all of the logs he keeps to find the interesting stuff. https://twitter.com/a2_4am/status/993129396520341504
> The diamond engagement ring thus became a source of financial security for the woman.

Which is ironic, given the
low resale value of diamonds.

> In fact many jewelers won't buy a diamond back unless you've previously purchased that same diamond from them and have the documentation to prove it. Even then they'll typically only do a trade in, whereby you buy another higher priced diamond and trade your old diamond in. [0]

[0] https://www.zerohedge.com/news/2014-08-21/ugly-truth-about-d...
Software Systems Engineering programmes a capability approach (2017) [pdf]
It's maybe the type with most precision according to whoever wrote the header at the chip manufacturer , so you can use it to do a calculation with hardware types with the least amount of error on the platform, maybe.

My point is, if IEEE 754 is a problem, you probably need to check things yourself anyway and can't trust whoever wrote numerical_limits at the chip manufacturer and that it applies to your platform without e.g. adding interrupt handlers etc. So you can't trust this template anyways.
No. That's how practically all of the cameras work. Google RGB bayer matrix.

There's just one color component per pixel, thus 12-16 bits per pixel is enough.
ML5js: Friendly machine learning for the web
UPS’s $20B Problem: Operations Stuck in the 20th Century
I remap the 'p' as "present working directory"
Yes, the increased pay is accounted for in the extra housing allowance. Those who live on base give up the housing allowance. If there are no accommodations on base you might have to rent in town, or you can choose to do so depending on rank. Typically there are waiting lists for base housing, but that depends on location.
In that future world it’s going to be pretty tough getting around if you’re homeless and/or can’t afford AR...
I think you're over-exaggerating the case against Amazon here. Does any savvy user just blindly type "headphones" into Amazon without knowing any of the brands, models, etc? No matter where I'm buying, the first step is always to do at least a few minutes of research. From that point I generally have very little trouble finding either the same brand name as the B&M, or a functional cheapo version. It really doesn't seem that hard to navigate (again, this assumes a somewhat savvy user, I can understand how someone like my mom could be confused/overwhelmed).

So for me, Amazon still offers a wide range of items and selection, many of which I would be hard pressed to find in a nearby B&M, and usually for cheaper (at least there are more price points to choose from). A recent example is some gold chainette fringe. I was actually in the fabric store and they had some but not enough, and I found a suitable replacement on Amazon for about 1/3 the price.
In point of fact, that's not what happened in Madoff. There never were any investments made by Madoff's fund - his wealth management business was a fraud from the 1980s onwards.
You can limit immigration fairly. But don't tell me I have a lesser chance of working in USA than a Kenyan and that's not discrimination.
These are all good points. National Libraries in several countries do however preserve software as a mean of digital culture preservation but the public as well as the private sector are generally unaware of this.
but I don't really wanna pay for specs when I'm just poking around for fun.

Then you don't, and just search the Internet harder. ;-)

Having a paywall behind specs also makes them nigh inaccessible for people from less privileged countries. There's no way a kid from, say, India or Latin America would be able to afford tons of these specs.

They all use SciHub, LibgeN, and the like.
There are risks associated with arsenic in rice. I've cut way back on my rice consumption. See [1], from Consumer Reports, for a table with suggested limits for adults and children (rice drinks, rice based cereals, etc.).

[1] https://www.consumerreports.org/cro/magazine/2015/01/how-muc...
How would you ensure that device owners have 100% control of the policy?

e.g. Apple supports iOS per-app VPNs today, but refuses to make these available to individual users, only corporate users with enterprise MDM. Why can’t individual device owners route all Facebook or banking or gaming traffic through a specific VPN?
On what filsystem? (in case hard links are being mis-counted as copies). Also note that git for a time was pretty broken re:binary files, but that has sine been fixed/improved.
> Kind of like how Youtube couldn't figure out how to enforce copyright until the music industry started cutting deals with them

I mean, they still don't exactly know how to enforce copyright.
Exactly. Whatever legitimate issues do or do not exist, media coverage reflects media owners' and workers' unique perspective.
> If there are already known rules, and one particular country comes in an adds a massive amount of applications, you can't turn around and yell discrimination.

If the rules are discriminatory then it's entirely valid to call them as such, and doing so may help to change them.
Back in those days I bought what I really wanted or asked for it for christmas but copied what friends had available. Some games had 300 page manuals and maps, by not buying you had a more difficult experience. I wouldn't feel guilty because you might have told someone at school how cool it was and they purchased a copy based on your experience.
Show HN: Plain Text Nutritional Data Parser
https://github.com/galvez/contagrama

Right now I've got a tagger UI and an API that correctly identifies foods you've tagged (from the USDA Food Nutrition Database) and processes gram-amounts from plain text to produce a combined nutritional chart.

This is very early stage so more of a call for help: the nutrient chart needs a better design and the API needs work in properly processing g/mg/ml and all the weight conversions defined in the usda_weights table.

If you're into nutrition, liked the project and would like to help, drop me a note.
Designing a better onboarding flow
If those who complain about Amazon would put their money where their mouth is, and stop buying from them, I'm pretty sure Amazon would have already done something about it. Regulation, sadly, is not gonna cut it. The only way for this to change is financial pressure.
The “fulfilled” by distinction catches many an unawares shopper; legitimate merchants/manufacturers are also suffering revenue & brand damage too.

I recently came across a case[1] where a set of Marshall headphones that usually retail at USD$249 were being sold at USD$96. Reviews seemed legit, but it wasn’t the first party seller.

I reached out to Marshall over Twitter, and it looks like something has been done, but how does a manufacturer police this without dedicated staff? Amazon is undermining its customers (both you & I, and its merchants) by seemingly ignoring this.

[1]: https://twitter.com/elithrar/status/1005606803118252032
Just realized you may have meant the tr command I used - whether it supports UTF-8. Don't know about that either.
Legendary? Maybe in the past, but I’ve not seen anything special in the past few years. I’ve received counterfeits they won’t replace, only refund. USPS shipping ruins the 2 day guarantee, and ever fewer products seem to be guaranteed vs expected.

The worst was ordering a Netflix gift card for my mother, email never arrived with the code, and support said they couldn’t do anything. No resend worked, they refused to refund because the system said “sent”, and couldn’t give the code directly because they have no access. Netflix support tried surprisingly hard to help track down the card from their own system, but Amazon had blocks of codes and they couldn’t identify.

Escalated the issue twice to no avail, tried emailing the Bezos account and never heard a peep. My only option left is a chargeback, but then they are likely to just close my account permanently as a final f-you.

Results of course may vary, but their service is garbage imo.
I've had to just stop worrying about the generic State of California cancer warnings. Why can't they at least indicate the level of risk and/or the source of the risk?
People are working on this, but it's incredibly complicated and hard to get right. Look at what's going on in evolutionary psychology and neuroeconomics, as well as the controversies surrounding them, for an idea of what's involved.
If you mention counterfeit products in the review it’s automatically rejected in my experience. Thrice it’s happened to me.
So this is the result of several factors that are at odds with each other.

1. There is no per-country quota on H1Bs

2. There is a per-country quota on EB-1/2/3 GCs

3. And this is crux of the problem: H1Bs are issued indiscriminately, most problematically to so-called bodyshops.

There are various proposals to fix the immigration backlog. There's one bill that would get rid of per-country quotas. I wonder what that would do to the backlog of everyone. I kind of see this one as a nonstarter.

Bizarrely, it's the current (otherwise abhorrent) administration that is the first to even talk about fixing the real problem, which is (3). H1Bs are a lottery now. When the likes of FAAMG companies can't hire people because the likes of Infosys and Tata are flooding applications for people who will essentially become indentured servants, that's a problem.

Infosys settled a visa fraud case with the US government several years ago including a payment of millions of dollars. How exactly are they still able to apply for visas?

There are problems with ranking applicants based on salary (or total compensation) as the one proposal would do. This would potentially drown out lower-paid STEM fields that have legitimate need with FAAMG SWEs. Then again... that's still probably better than the current system.

People have also complained "well you can't hire graduates if you rank on salary". That's true. But at the same time, are newly minted college graduates fulfilling unsatisfied demand for specialty occupation? Or just being used to lower labour costs?
Minimal React and Webpack boilerplate, using cutting-edge technologies
Though YouTube claims that unlisted content can’t be accessed through an Internet search, this isn’t quite true.

Of course. If someone shares the link elsewhere and that page gets indexed and crawled by a search engine, then it will obviously become accessible that way.

Thanks to one YouTube flaw, unlisted videos become visible when placed in a playlist.

Is that a flaw or "by design"? I could see this being useful for those who want to only organise videos into playlists without having them "loose".

It seems the whole point of this feature is to prevent the videos from being accessible from inside YouTube itself; whatever happens elsewhere is none of their business, so it could be argued that it is working as intended.
Ask HN: Elizabeth Holmes has 200 patents – if tech didn't work, why not noticed?
I searched her name on a couple of patent search engines.

Turns out she has around 200 patents (with other people mostly).

So if her tech didn't work, then why didn't people figure it out sooner? Why did it take a journalist from WSJ to find the fraud?

How come some prominent physicist or biologist doing "competition research" didn't declare that the patents were based on bogus claims?
12 Rules for Life: An Antidote to Chaos Best Book Review (Stellar)
The use case I'm used to for unlisted videos is edX courses. The videos are all hosted on Youtube and unlisted.

Example: https://youtu.be/-RR1qt41oBg

I don't think they care how secure being "unlisted" is. I also don't think that using free Youtube video hosting for secured(!) private videos is a sue case anyone would reasonably expect Google to provide. I think it's a convenience feature, not meant to let you skip on hosting costs for actually (truly) private videos.

I'm happy to be corrected, as I said, I only know one use case and figured out the second half that I just said on the fly, my quick thoughts given the little I know.

EDIT: Seems to be pretty well known, I found several pages with this kind of explanation: https://www.pagecloud.com/blog/private-vs-unlisted-youtube

> YouTube’s UNLISTED video option gives users something between the Public and Private settings. Unlisted videos can be seen and shared by anyone with the video link, including those who do not have a Google Account.

Given that I found quite a few links with the same explanation, it seems that most people understand what "unlisted" means very well, given that most of those links I found were non-Google sources. So somebody wrote a blog post because they misunderstood a Youtube feature?
video: https://www.youtube.com/watch?v=Ey2TGjLTYuw
I used to do virtually all my buying on Amazon, their supply chain mess has moved me to about half. I honestly never thought I’d step foot in a Best Buy or Frys again, but for branded merchandise it’s far safer to do so.
>>And worries about production, commercialization and raising funds in a VC-less environment are bothering these guys what advice would you give them?

Call Bill Gates /his foundation if he hasn't called you already. You'll walk out rich and with the satisfaction that you're saving tens of million lives.
Isn't this just the Maybe monad without any benefits of abstraction?
Ebert was right: games are not art. Video games can be composed of many different art forms, but the core game-ness and interactivity that make a game is not art. The rules or game-logic of chess and League of Legends are not art.

Instead, games are more akin to novel mediums, like musical instruments. A guitar is not inherently artistic--it could be crafted by an artisan and composed with beautiful visual design, but it could equally be produced in a factory without a hint of human emotion. Both cases are still a guitar; they have the core feature of interactivity: tap a string, hear a sound.

Therefore, while games are not art, playing a game is art. Art in the sense that the artist is expressing themselves, or performing, on a medium of their choice. Obviously, this varies across games depending on how interactive they actually are (as opposed to being mainly movies). Many enthusiasts of chess see a grandmaster's performance as art, both as a performance art and a persistant art form (there are books written on single games or even moves, albeit the latter from a purely analytical perspective).

To me, shoehorning games into a box of art-as-products is not compelling, and counterproductive to understanding games and the video game industry. That is, the AAA industry is infamously bad to work in relative to other software subindustries--it's certainly no game designer' paradise, a free-spirited realm of artistry. AAA video games are massive feats of engineering, not works of art (notwithstanding the obvious components of visual and audio design). And on the consumer side, we see the continued growth of esports, livestreaming, and other niche performance mediums like speedrunning.
Calling a bloom filter a filter is a tautology and tautologies don't have much pedagogical value. Explaining what a bloom filter is (and/or is useful for) by imperfect analogy to caching is less precisely correct than a tautology but will help the uninformed a lot more.
It may have been shared with someone else, and the original page --- which was at one point publicly accessible --- containing the link (perhaps a tweet) was removed, but Google still crawled and indexed whatever it was pointed to.

If you don't want content becoming public, keep it behind a loginwall --- but that's not what "unlisted links" do.
You can’t believe anything this site says. They are constantly championing IP trolls. They are completely biased.
Retention. A trailing spouse often can’t easily work/find a job at new duty stations every few years, so married service members get paid additional to compensate for that. Being married to a servicemember is extremely tough — without that financial benefit, many married people would leave the service since the base pay is nowhere near enough to support a family not compensate for the difficulty faced by military families. That then creates a problem with retention — it is very expensive to train soldiers and very difficult to gain real world experience — so decreasing retention results in a far higher cost in both real dollars as well as readiness.

We could ask ourselves instead why service members are vastly underpaid. The average salary/benefits for a US soldier works out to about $44,000 per year, exactly the same as a mailman. Yet a mailman works defined hours and, except for the occasional angry dog, doesn’t have a real risk of being severely injured or killed, nor separated from family for months or years at a time. The mailman also doesn’t suddenly get deployed to foreign hellholes for months or years. Yet, we pay the mailman as much as soldiers. When I was a lieutenant, my pay was $36,000 per year — that’s with a college degree and having been an E4 before that. That was officer pay and it is about the same level of pay as an entry level teacher. And we didn’t get summers off. I am not complaining — I knew what I signed up for, but asking questions such as what additional value a married soldier provides is interesting because do we question what extra value pregnant women provide a company? Because paid maternity leave is effectively paying them more money since they are getting paid to not work. Which means they get more compensation per unit worked than a woman who had not become pregnant. Should we question the additional value provided by offering paid maternity leave?
If you're looking to build a server-side check for password re-use, I'd suggest using the Have I Been Pwned API. When searching by range[0], you only send the first 5 characters of the SHA-1 password hash, thus preserving the privacy of your users' passwords. Cloudflare has a great write up on how it works[1].

[0] https://haveibeenpwned.com/API/v2#SearchingPwnedPasswordsByR...
[1] https://blog.cloudflare.com/validating-leaked-passwords-with...
Berlin-Munich high-speed train services carry 2M passengers in first six months
I'm not sure if this can help you prepare for an interview quickly but most advanced JavaScript things I've learned is by taking a deep dive into existing frameworks like AngularJS, jQuery, etc source code.

You see a lot of things happening which may not make sense like "The Great Mystery of the Tilde(~)"[1], etc which are not only fun to figure out but you also see them being used practically too.

[1] https://www.joezimjs.com/javascript/great-mystery-of-the-til...
Gtfobae палит жопу, уже который раз. “Да, я ношу трусы”