skysight-inc/HackerNews huggingface dataset:
The obvious response to this is that there are two kinds of easter eggs.

The good kind doesn't do something one way a million times and then suddenly produce a different result given the same input for no good reason like your example date/time shenanigans.

Unpredictable behavior is called not being dependable. Not being dependable is called untrustworthy. Software should always strive to be predictable, dependable, and trustworthy.

But there have also been plenty of fun easter eggs in computing history that didn't needlessly make the software less predictable. We don't need to also throw out the baby.
Agree, virtual hosts are ubiquitous. But I don’t know that anyone loves their virtual machines the same way they love the smaller, faster, and simpler alternatives (unikernels included).

This is a somewhat pessimistic viewpoint, but lowest common denominator solutions tend to acquire the most network effects. A VM requires more touch points to manage for the person who has to set up a machine - despite ten years of solid progress, they still tend to be pretty annoying to configure and build and manage. The platform as a service approach (whether lambda, nodejs on cloudflare, various functions as a service approaches, heroku, cloud foundry, or dokku) on the other hand take away a lot more hassle by abstracting pain points out, but get accused of being too rigid. Both extremes benefit specific use cases, but have disadvantages in general purpose use.

Containers sit in the ugly, dirty, practical middle. They can do both (VMs are just processes). So the network effects they accrue just like Linux did of being “good for everything, not great” help mitigate some of the disadvantages.

The public cloud providers change this calculus a bit by offering these things as a service, but internally they are just managing the container runtimes for you.

I’m obviously biased, but I tend to see containers as “good enough” to build other abstractions on top, with specific areas where VMs and heavy PaaS abstractions clearly win.
It isn't cute at all and I am quite serious. It is an accident that Python syntax pitted against sufficiently unsophisticated code displayers causes copy n paste breakage.

However, that breakage does mean that you have to at least read the code a bit. You either get to avoid a potential security flaw or gain a deeper understanding of an algorithm.

Fixing syntax does not break your ability to learn an algorithm but it will get you closer to its description.

With Python you are generally SIL not SOL.
> ES6, Typescript, React

NodeJS didn't make those - they'd be around with any nodejs alternative.

btw, nodejs should provide some "isolated" mode (ie run as user "nobody-projectName-userName" - eg. "nobody-react-whatcanthisbee") and do some appropriate group permissions.

basic linux permissions can do a lot...
> just a copycat attacker who got "greedy" and foolishly dropped his attack payload onto a popular and heavily scrutinised package

On that note, the main reason it was picked up was a bug in the attack itself. If the creator hadn't put the eval in the .on('data'... section and correctly waited until all data was received it wouldn't have thrown the SyntaxError. It may have flown under the radar for even longer.
Even those traditional closed in malls are being upended by pedestrian friendly upscale mixed uses communities with stores and townhomes.

The local Apple Store just moved from the local mall to one of those communities. It also has the standard cliched collection of yuppie stores - a Tesla showroom, Whole Foods, Gap, Bonobos, Container Store, Pottery Barn, a Pilates Studio, etc....
Support Hero: Educate your customers through self-help support
It's a good quote but a rather simplistic description of black music which is much more than just a soulful cry. It can be joyous, funny, bawdy, sexy, devout - every emotion under the sun. And its roots pre-date slavery.

I can't imagine living in an America without black music. It would be for me like living in a desert, but I also wonder what people would say if someone told Wynton Marsalis or Yo Yo Ma that they can't play classical. I'm guessing some people did tell Ray Charles that he couldn't play country, which he loved, and he did it anyway, but I don't think re-drawing those lines benefits anyone.

Same with visual arts. So many great black painters working in America today. Are we supposed to deny them access to the western art tradition? Sorry, Picasso and Matisse are for white guys.
Writing a Reverse Proxy with One Line of Go
Thanks! The paper is hard to read, mostly due to poor editing and writing skills :S. I didn't know we could call a process log N assuming we have infinite processors in parallel.
Netflix currently has $4.8 billion in debt and another $15 billion of streaming content obligations. (https://www.polygon.com/2017/8/15/16151944/netflix-disney-de...)
How Smart Should a Home Be?
I haven't migrated off of Firebase but this is something I've thought a lot about as I've selected Firebase for many of my client projects.

As far as I can tell there is no open-source alternative with feature parity that makes it easy to migrate away from Firebase. I'd be curious to hear about how people have done this.
Oracle's Creative Destruction
It looks like there's a copy in CTAN: https://ctan.org/pkg/basix
I've seen this sort of justification of Blockbuster's demise before, but it's hard to buy.

I mean, sure, the business model and support systems between original Netflix and video rental store are fairly different, but Blockbuster still had a huge leg up over starting from scratch. They already had vast inventories, sorting systems, a distribution network (albeit one that would have to be heavily modified), name recognition in a market that consumers considered interchangeable (common consumers just think "video rental", not "brick-and-mortar retail vs. online direct delivery") and I assume a lot of production industry connections and relationships.

It seems like they were already over halfway there, and given that the biggest hurdle is getting off the ground, their existing brand recognition and membership records are a massive advantage.
Especially considering the syntax of this language is kind of strange. Seeing a hello world without context would put me off I think.
Somehow we did get by. And we weren’t living in ignorance either. We were well informed and engaged.
Was "sacrilege" the word you intended? Or perhaps "sacred"?
When using the "Ubuntu Software" application I am shown results for snaps, as well as results from the apt repos. Creates a bit of confusion as to which one should be installed, even more so when version numbers vary between the two.
I think the Caravan[1] is perceived as being independent.

[1] http://www.caravanmagazine.in/
Handmade Hero Fund
You might be surprised. A lot of us early adopters had a lot of issues with getting RAM to run at its advertised clock speed. Buying expensive RAM didn't really have benefits over cheap RAM.

It took something like 4-6 months for a BIOS update to finally bring my TR's RAM to advertised clock speeds (and CPU RAID....). Though, it still had stability problems and overclocking still isn't worth the hassle. Getting the machine to a stable state was very reminiscent of 2008.

Allegedly the second gen threadrippers are going to be much more stable. heh.
No but googles would
Now _that's_ a package manager!
I use `pass`, which is basically gpg+git+xsel. My user account could be compromised, but it won't be through my password manager.
eww, that's called entitlement.

no one promised you anything. you merged some code into your project. now deal with the consequences. be responsible for your work.
Have you tried using Touch Bar Zoom? It won't solve tactile issues though. https://support.apple.com/en-us/HT207258
Backyard Farming in Nigeria: A Way of Alleviating Poverty in Nigeria
If the hacker has your password, don't they also have the ability to publish a public key used to verify the signed package? It presumably would protect against distribution of a fake package outside of NPM, but if your NPM account is hosed isn't it too late?
I'm not him but to me the big thing that Firebase has and AWS Lambda doesn't is Firebase - a database.

Only if you are pleased using a "NoSQL" solution.
Video rental stores and physical media was destined to go the way of the dodo as soon as uncapped broadband hit in the early 2000s. And now there's unlimited data over 4G networks. I am 30+ too but lets not overindulge in nostalgia. I have access to a vast library of entertainment 24/7.
You must be independently wealthy to not worry about a $150k+ outlay for school.

I obtained a CS degree, worked in tech for several years, and decided to attend law school to study IP like you’re intending. I attended one of best schools for IP, and worked writing patents. Despite a great law firm and clients, the work was not stimulating and a net drain on society. I left to start my own company in tech again.

My work as a core Django developer during school was more fulfilling intellectually and professionally.

Studying law will not bring the prestige you’re seeking. I didn’t listen to the lawyers who told me that either.
ECC has a technical benefit whereas RGB has no benefit at all unless you prefer your DIMMs to look like Christmas tree ornaments on acid.
"The best of both worlds"

That got me.
Now if they’d resurrect the Circle line next it’d for sure win over even the most skeptical Chicagoans.

https://www.transitchicago.com/planning/circle/

- A former Chicagoan.
You use a https://en.wikipedia.org/wiki/Rope_(data_structure) and not a flat string.

You only flatten the string when it's time to write to disk.

For autosave files make sure to store the changes to the rope, not the full text.
GPU acceleration would depend on the Xi frontend. I know that xi-win (https://github.com/google/xi-win) uses Direct2D and DirectComposition. DirectWrite is on the CPU, though, AFAIK. It would be cool to hook it up to pathfinder for a full-stack GPU editor, but I'm not sure it would make a huge difference vs CPU+glyph caching.
I believe memory mapping the file is the way to go.
Have you tried EmEditor? It handles gigantic files very well, supports CSV editing and more.
Two major downsides are: Windows only, not free
What is link building?
Apple really dropped the ball. Wow. They must have been thinking, "Let's pretend XR, VR, AR don't exist and maybe we'll be able to extend our relevance with people who know nothing about computers." Otherwise, I can't even.
Power utility system operators, and other operators, are prime examples. Usually they just sit around and play farmville. But when it hits, they're the guys making complex decisions that affect when your power turns back on, and therefore how much money the company is losing until that happens.
I mean, I respect that concept; but just for my lifestyle, if someone is sending me .txt files with non-DOS/Windows line-endings, I'm talking to the wrong people.
Filesystem performance is a bit crap and you can't run Docker in Windows Home, but otherwise I found WSL pretty great. The Docker thing finally turned into a dealbreaker for me though, so after about two years of WSL I'm back to linux.
definitely payamb
Con Kolivas' schedulers have had a loyal following among some desktop users http://www.users.on.net/~ckolivas/kernel/
A physical notepad doesn't get erased once I drop it. Sublime behaves much closer to the analogy than notepad in this regard (I can just scribble stuff down, forget about it for a month, and when I rediscover it I can still decide how to file it)
Even with films that were originally R-rated, the Blockbuster versions had scenes that were missing. I don't know if Blockbuster did the editing themselves or just bought alternate versions, but the fact is that they had cuts, while the versions in other, independent video stores did not.

I watched almost no X-rated or NC-17 movies at all, so the movies that I saw that had cuts were R-rated.
sending you email wesiewesie
Nit: There's actually an entire campus that was built for Google Cloud, not just a few buildings.
Feel free to illuminate us with what the possible performance discrepancy is instead caused by ?
Ctrl-C also exits insert mode (and replace mode) and some people find that easier to type than Ctrl-[ (especially if you have a keyboard where '[' is not handy)
There are lots of technical people that do not visit HN, and there are lots that do. The set of HN users/visitors is not the entire set of technical people.
Noted. I have no idea. I appreciate the corn removal.
By definition, they aren't though-- for the truly green, that extensive schooling comes from `npm/pip/gem install`ing random packages with implementations they don't understand or can't account for, then having to deal with the fallout in whatever form it chooses to manifest itself. Could be a maintainability nightmare, or it could be losing your job.

My advice to mentees is that if installing a package to achieve x saves (a significant amount of) time/money that outweighs the risks to self/company or has value added by means of product maturity or domain expertise, then by all means do not roll your own crypto, web framework, db connector or machine learning library. But if one is going to introduce dependencies on things as trivial as leftpad or someone's Show HN single-pass weekend hackathon proof-of-concept, they will soon learn why we don't bring toys to work.
From some of the folks I was talking to, it seemed more like companies firing their SysAdmins, Release Management, and DBAs and making the developers do the production operations / support.
House Republicans Vote to Gut Lauded Law That Saved America’s Fisheries
It steals npm keys right? Maybe it was done in smaller less scrutinized packages and it finally hit pay dirt with a big package like eslint. They still don't know how it was compromised in the first place
> Password managers and MFA

You conveniently forgot about the MFA part. The attacker will still need the other factor.
Not sure if thermal pump is really the right term, but I meant Dandelion.
> I'm not convinced the legislature explicitly killing or dramatically reconstituting agencies is a significantly rarer event than large companies going bankrupt

In Western European and North American history, at least, it dramatically is. Look at a list of the Dow or S&P 500's founding components. Look at those lists now. Now look at a list of U.S. departments in 1850, and compare them to today.
Caps-lock could work too. As a weird ctrl+c vimmer I probably wouldn't notice. I think my uses of escape in the past year fall into two categories:

- Ctrl-shift-esc (opens the task manager in Windows), and

- Trying to close dialogs when I'm not sure which button is "go away".
Yes, you have to be very smart today.
I don't trust that it actually achieves those goals without seeing code. Show an illustrative example of what you are trying to do and how it is accomplished, then wax philosophic.
You forgot the doozy… iPhone – a smartphone without a physical keyboard. The outrage back then was immeasurably worse. And here we are now in 2018 and where is Blackberry?
I'm still on the disc-by-mail plan because I get the full quality the disc has. No dropouts, no (additional) compression artifacts, no reduced resolution because of network congestion.[1]

I will say that their long-tail catalog isn't as long as it used to be. About a third of my queue is titles that they recognize, but do not have in stock -- presumably they used to have them but don't anymore. Still better than the streaming catalog, though.

[1] Most people likely don't get any of those artifacts. But it only has to happen once during a showing and I get pissed off. Not worth the chance of it happening.
One thing is unclear to me is, how does sending the credentials to statcounter work for the attacker? How would they recover the credentials afterwards? Assuming the statcounter website itself has not turned bad of course.

I can think about two potential ways but I have no idea if it's any of those:

- Very detailed filter to the point of seeing individual requests and so the token in the referrer URL.

- The referrer URL is the one that is actually getting the info, so when statcounter tries to crawl it then it will send the credentials there.
It needs to be

[bar(foo(y)) for y in (z for z in stuff if foo(z))]

(etc.) though, since `bar` takes as input the output of `foo`. This leads to the objectionable duplicate calls to `foo`, hence the new assignment expressions.

I like Dunnorandom's

[bar(x) for x in map(foo, stuff) if x]

best for a correct result using existing syntax, or

[bar(x) for y in (foo(x) for x in stuff) if y]

if you don't like `map`.
This is really cool. I'd love to contribute, but it doesn't seem that easy with the way he has BitBucket setup.
Yep. Super reproducible. Even more than the old ways. You can store the docker configs and store docker containers in registry. Store the yaml files, or auto generate them using build process based on other central DSL.

We could probably bootstrap our entire product from scratch in a couple of hours if it disappeared off the face of earth.

“Infrastucture as a config” is a very powerful concept. I’d say that’s what the big power of k8s is.
I would phrase it as, "The government is the natural monopoly of natural monopolies".
Agreed, it definitely did.
Google Cloud: 7 best practices for building containers
Which you have to scroll past pages of manifesto to find, and all the examples seem to be basic illustrations of syntax. Where are the examples showing how this approach to a language actually results in superior code bases or more efficient programs or whatever?
In this case, both.
Hubble Sphere – how we can see objects moving away faster than light
The original is worth the read, it’s excellent.

http://archive.is/T9DB4
I have been running Ubuntu or derivatives on a laptop for the past 6 years and I rarely had any issues at all. Rock solid and fast.
Ha, proof I don't work there! :)
A good solution would be termtosvg[1] styled to look like Sublime Text 3.

[1] https://github.com/nbedos/termtosvg
I opted for a Xiaomi laptop. Best purchase I ever made. Amazing build quality, out of the box compatibility with Linux, great hardware specs. I can't believe that near MBP clone only set me back 550€.
Meh, some problems are theoretically very interesting, but presently have limited practical applications. Everyone has to find means to survive. For some people those theoretical problems, that understanding, are one of very few things that keep oneself whole.

That fine line between genius and insanity, it really does exist. I'm not saying that because I think I'm a genius. Just, for some people, the only things that 'ground' us are things that are abstract (I say this with great awareness of the irony).

Trying to make the pieces fit with the world, that's sometimes hard. You can throw the whole understanding you've built in the garbage, but then you lose yourself, and, I dunno. I don't think it's desperation for attention. I think it's a compulsion for things to make sense, because, a chaotic world. Some things just have to make sense.
Protein crystallization also considered as a potential driver for building low-earth orbit labs and factories. It is conjectured that microgravity environments are more hospitable to the energetics of macromolecular long range ordering. Big Pharma as well possesses the capital intensive resources to fund these missions. And with re-usable rockets breaking the $10M per launch threshold, now may be an ideal time to pursue a 100% automated, space-based protein re-crystallization facility.
Maybe because they have a dispute with Qualcomm…?
Ah, this is the answer that makes the most sense. Thank you.
There is an app called HapticKey that triggers vibration when you touch tb.
> But once you call it an open-source project, and you have docs and a roadmap and an issues page and stuff, you're making an implicit contract with people who use it that it will do a reasonable job of solving the problem it claims to solve. The user is choosing to use it over other alternatives and investing time learning and integrating it, so it doesn't seem at all unreasonable to me for them to be frustrated when they realize that due to some bug or limitation it doesn't actually solve the problem for them that it claims to.

Actually it does seem unreasonable to get irate at the developers when fitness for use is explicit in the license that enables use of the software in the first place. Open source licenses in general and the Python license in particular are very clear about this. The Python 3.7 license has the following term in section 4:

4. PSF is making Python 3.7.0 available to Licensee on an "AS IS" basis.
PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
USE OF PYTHON 3.7.0 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.

If you use Python 3.7.0 and it displeases you, that's just part of the deal. On the other hand you do have the right to make your own copy and fix it to serve your purposes.

Edit: fixed typo
This article flat out does not belong on hackernews. It blatently violates not only the guidelines but the culture and values of this place.

I have noticed that this kind of content (inappropriate, not geneder related) is appearing with increasing frequency. I have said it before, this website turns up when you Google "Reddit alternatives." Corrective action is needed if this website is to remain a refuge for intellectuals.
I just want to mention that code samples are about more than syntax. E.g. a code sample of Elixir might spawn concurrent processes, or a code sample of Idris might show type-safe vector concatenation.
>> While he convinced the board to back his plan, one of his lieutenants, Jim Keyes, led a rear guard action.

> Had they actually listened to Antioco, they may have survived.

The article seemed to ignore that and put the blame on Antioco. His only failing was not getting rid of Jim Keyes.

Worth considering this in light of the recent purges and executive departures at companies such as Tesla.
How does the trackpad on the Xiaomi compare with the MBP? I'm considering buying a cheaper MBP alternative and running Linux on it but I don't want to be carrying an external mouse around with me.
To follow up, I've downloaded all of the versions indicated here and none include the strings `raw/XLeVP82h`, `sstatic1.histats.com`, nor `statcounter`, and none of the included `build.js` files contain `eval`. Not an exhaustive test.
While the conversation gets traction, that seems a point well worth exploring.

Do you have any stories of valuable software that got a second life after startup death?
A union busting patent? Sickening. How is this allowed? I thought eavesdropping/recording an unknown wasn't allowed in many states.
Didn't you know about that time when Apple got screwed over by Nvidia when their chips failed? Had to provide out of warranty repairs for quite a few MBPs.
As a sibling post points out, you are basically discovering what many people come to love about emacs. I've even taken to loving eshell because of its transparent integration with remote filesystems using TRAMP. Add in the ability to redirect output of a command to a new buffer that you can then treat like any other text file, and things can be a ton of fun.

Once you get even slightly addicted to this, take a peek at org-mode and find an environment that can already compete with jupyter in pretty much every way. All without a giant json blob backing it, so that reviewing your changes can stick within your current version control world.
I think Javascript has been rapidly getting better, as a language. Every time you hear a front end dev complain about having to support IE, consider that an endorsement of the way HTML/CSS/Javascript has been improving. No one is complaining about having to use the latest version of Javascript to support the new Chrome.