skysight-inc/HackerNews huggingface dataset:
Ask HN: What's your preferred software stack for building large web apps
From frontend to backend, build tools, hosting/VPS, load balancing, deployment strategies, managing meaty jobs etc.

Also curious to know how this compares to the stack you have to use at work (if they are different).
Frenchman sues Uber for €45m blaming glitch in app for his divorce
Sure. But if their company is not already trying to recognize it, why would they pay for software to do it? And if they are, and are just not good at it, why would they recognize software as the solution? I just haven't seen any companies going "We sure would like to recognize our best employees, but we just have no way of knowing why they are". -Especially- in customer service land.
You know they're saying the same about you, right?
Because 1 is not a prime: "A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself." https://www.wikiwand.com/en/Prime_number
I realise PHP can't go away, hence "self-contained bundle".

The docs I referenced are not the official documentation, but rather mind-bendingly bad systems I've had to deal with that were undocumented.

PHP isn't necessarily bad. But bad experiences mean I hate it.

Hide the PHP in a nice self-contained system, and I won't care, plus it'll simplify install/setup.
Made a small donation since I've used it in Andrew Ng's ML class
status.gitlab.com is also not loading. Gitlab pages hasn't been working properly for me(redirects to a 404)[1]

[1]: https://gitlab.com/gitlab-org/gitlab-pages/issues/43
Do you avoid using websites that have built-in telemetry as well? How does Google reading your email compare with Microsoft knowing how often you ran Notepad?

One of the main points of Windows 10 is that it's maintained and updated from the cloud, and part of the telemetry is for development purposes. Windows 10 isn't unique from that point of view.

The base level of Windows 10 telemetry is mostly security stuff, which is why it has to be encrypted and protected. And of course, if you install a third party AV product, you'll find it has even more intrusive hooks into everything, and it probably connects to back-end cloud analysis service as well.

What do you think Microsoft does with all this stuff from more than 400 million PCs when it has virtually no advertising business outside Bing?
This is probably just wishful thinking, but I wish I had enough money to buy a decently large property and just let people stay there (everything free, including food/stay/healthcare etc) and work on projects like these, for as long as they want. Tech has so many rich people, I dunno why this can't be done. Even if it is just 100 high caliber people staying/working in such a community, they can generate immense value for all of humanity.
It's early in the adoption cycle.

Not that Elixir is bad, but if you are writing something in it today you are ahead of the curve. As soon as there are a lot of mediocre developers (if we get there) that start using Elixir because they heard it can do no wrong, you'll hear complaints.
The US has laws against bribing foreign governments or officials. You can be punished in America for it, adding an extra layer of risk on top.

Considering this sort of corruption is required to do business in these places, it effectively bars Americans from competing.

The idea behind it is if we don't incentivize corruption, it will go away. Needless to say, it didn't work, as it takes only one person to spoil it. It's a prisoner's dilemma game where only some players get punished
Unsuccessful deployment i guess.

We will be deploying 8.17.0 EE RC1 to http://GitLab.com shortly, no downtime is expected
Thanks for the links to lightweight CSS and JS libs; I actually need exactly that right now for a project.

Gitlab link is 500-ing, unfortunately.
You are implying that, for any given shared library, you can classify it as "clearly security-critical" or "clearly not security-critical".
Why would labor be cheap?
Main issue are the laws wrt land ownership etc, e.g. the old "means of production".

Except I don't consider the products that allow production (factory, machines etc) to be the means, so much as access to those products on the market, lines of credit, land ownership on which to put a factory etc.

production needs to be achievable for anyone, otherwise you have an effective monopoly. Means of production should be considered akin to a basic utility.
Check if Booz Allen Hamilton is recruiting, you might get lucky ;-)
But still, he had to do a lot more than kick it.
GMail has a HTML-only version that is much more lightweight and usable on slow / flaky connections.

It's worth it to memorize or bookmark the address, in case you ever need it:

http://mail.google.com/mail/h/

(on mobile browsers you need to "request desktop version" and then paste the address again, before you can see it)
Not something for you to work on, but something you can do in the mean time:

https://en.m.wikipedia.org/wiki/List_of_distributed_computin...
I usually just tell them "sales" (because sales treats callers the best of all the departments, as they usually want your money) and then wait for the actual person to transfer me to the appropriate department.
remember https://hackernoon.com/win3mu-part-1-why-im-writing-a-16-bit... ?

looks like Wine made this guys project redundant.
Best Logo Design Company in India
They're having some trouble with their latest deployment it seems: https://twitter.com/gitlabstatus/status/829677552314810368

edit: It's the Redis cluster: https://twitter.com/gitlabstatus/status/829680989538492416
If the anti-labor argument were taken to the extreme, the explanation should be that the machine was programmed by humans, who gossip and hate their jobs. At the end of the day, the machine is still a human touch point, albeit an abstract one.
Given that most American social media and telecom companies seem to go above and beyond to cooperate with US intelligence and law enforcement (Room 641A, PRISM, etc.) I think it's more likely that there will be a switch that dumps all private communication directly to an NSA server on demand.
Although MongoDB has its limits regarding consistency, there are things that we do differently from parse to ensure consistency:

- The first thing is that we do not read from slaves. Replicas are only used for fault tolerance as it's the default in MongoDB. This means you always get the newest object version from the server.

- Our default update operation compares object versions and rejects writes if the object was updated concurrently. This ensures consistency for single object read-modify-write use cases. There is also an operation called "optimisticSave" the retries your updates until no concurrent modification comes in the way. This approach is called optimistic concurrency control. With forced updates, however, you can override whatever version is in the database, in this case, the last writer wins.

- We also expose MongoDBs partial update operators to our clients (https://docs.mongodb.com/manual/reference/operator/update/). With this, one can increase counters, push items into arrays, add elements into sets and let MongoDB handle concurrent updates. With these operations, we do not have to rely on optimistic retries.

- The last and most powerful tool we are currently working on is a mechanism for full ACID transactions on top of MongoDB. I've been working on this at Baqend for the last two years and also wrote my master thesis on it. It works roughly like this:

1. The client starts the transaction, reads objects from the server (or even from the cache using our Bloom filter strategy) and buffers all writes locally.

2. On transaction commit all read version and updated objects are sent to the server to be validated.

3. The server validates the transaction and ensures the isolation using optimistic concurrency control. In essence, if there were concurrent updates, the transaction is aborted.

4. Once the transaction is successfully validated, updates are persisted in MongoDB.

There is a lot more in the details to ensure isolation, recovery as well as scalability and also to make it work with our caching infrastructure. The implementation is currently in our testing stage. If you are interested in the technical details, this is my master thesis: https://vsis-www.informatik.uni-hamburg.de/getDoc.php/thesis...
Okay, fair enough. I agree 100%.
You are probably right. Who searches? Is it really just the long-tail that can't be served by good navigation and the most important content in prominent places? Or could one optimize the rest first? (of course, a bit of statistics on what is accessed frequently helps here too)
But we are only doing it to catch serious criminals!!! http://news.bbc.co.uk/2/hi/uk/7369543.stm
I have a machine that I am using for deep learning and it has 32GB of ECC RAM paired with a Xeon CPU w/ Quadro, and that 32GB of RAM is gone almost instantly. Now I'm looking at building another machine as it has gotten to the point where I am spending a great deal of time waiting.

I would be interested to see what other people are using for their setups, and how that can differ for things like high-resolution style transfer or generic neural networks, etc...and at what point they have to switch from geforce/quadro cards to tesla.
Indeed; as an user, I don't want the site to decide what quality to serve me based on probing my device. It'll only lead to the usual abuse. I want to specify I want a "lightweight" version or "full experience" version, and have the page deliver an appropriate one on demand.
TicketBleed (CVE-2016-9244) (F5 BIG-IP)
What's the median? And even with that being the average "new vehicle" price, that doesn't mean the average American buys a new car. Lots of people can only afford used cars, and for many, $33K is their entire annual salary.
It is free but the IDE isn't exactly finished yet.
So do I and it's what I do. I can't really see much difference between 720p and 1080p on YouTube.
Other tech folk have always talked about 32 bit support as a necessary evil since smaller types mean less memory.

The complexity of managing a secondary 32 bit environment has been worse than the memory usage of 64 bit apps for a very, very long time.
Nice work. I was thinking of doing something similar using the vis.js timeline module. Time to rethink.

http://visjs.org/timeline_examples.html
Value added! high fives all around
I thought everyone (well, most people) in the U.S. upgraded their car every 5-10 years?
Please don't imply that labor that is predominantly manual cannot be professional. A better dichotomy would be: Blue-collar means manual labor, and white-collar means mental labor (with a spectrum between both poles).
It also doesn't need to move the fuel it needs, either. Plus if cleaner fuel becomes available, it can switch as soon as it's hooked to the grid.
> Sanders proposed college for all, arguing that high school was sufficient a century ago but now college is needed. Clinton proposed something similar, free college for families making <$125K/yr (IIRC the details); she got the majority of votes (which doesn't qualify her for President, but does say something about the popularity of her ideas).

I would be careful here drawing conclusions like this. Voting for a candidate or party is an extremely imprecise way of determining public support for any one policy, because they're effectively an aggregation of various policy ideas and other issues. Those other things are usually not easily deconvolved from each other.

It's like going to a supermarket and only being able to pick from two baskets that were loaded for you by the staff, that you can't rifle through to find out exactly what the quality of the food is. Are you buying the cart on the left because it has sweet ice cream or because the one on the right smells like it's got rotten milk in it?
Word of advice, this post comes across as immature. What are you mentioning "billionaires" for in this context? And careful, with this audience the Theranos-enraged mob is a real liability
I read that and have zero confidence that there will be a leap forward in productivity.

Density of automation equipment is all well and good, but it comes at a price of being difficult to maintain. If a tool or a robot breaks in some way (and any FMEA will tell you about the myriad of ways that can happen) then people will need to get into the cell and fix it. If you need to remove a robot, gripper or fixture - well, that's going to be difficult if you've landlocked everything by packing the machinery in so densely.

Vision systems for handling are great idea, but they are a nightmare to set up and to keep clean, especially in a welding shop.

Robots that repair the looms of robots around them. Fantasy, and it will continue to be fantasy for a good while yet.
In the UK we call this a 'screwdriver operation' where they don't 'really make cars' but they just put a few bits together, pre-assembled elsewhere. This started with the Japanese auto manufacturers wanting to compete in Europe, the UK government gave the incentives to Nissan and Honda but the factories were 'screwdriver operations' according to sceptics.
Elixir hasn't gone through the usual hype phases because it's just syntactical sugar, less boilerplate and more modern than Erlang making it more palatable for Ruby/Python devs.

The BEAM VM is what makes all this possible and the BEAM VM has been around for decades.
Security chatbot startup Demisto raises 20M
> Our Redis cluster is currently experiencing a split brain, we are looking into the problem
> The second idea is this concept of semantic density. One of the reason, I believe, that APL code is unique, is because of the ability to remain largely at a single abstraction level and be so productive with minimal abstractions. The regularity of semantic density is really important. It allows you to make your variable name choices higher impact than they might otherwise be. But this semantic density issue means that by definition, inserting some small bit of APL code into a larger code base is fundamentally breaking semantic density. It's easier to deal with uniformly verbose code or uniformly terse code than a mixture of the two together.

I don't see how this is unique. There's a similar idea of keeping each function at a single semantic level in e.g. Clean Code. (The connection to a consistent level of terseness isn't there, but in my experience it isn't true; lines that use terse expressions of common concepts and verbose expressions of unusual concepts are more readable than lines that are uniformly at either level).

> Instead, you have to shift your granularity of integration. You have to think of replacing whole, independent units in your code base at a single time. This sounds scary when you first mention it, because people are imagining some massive change in the system. However, if you can take a single unit or module in your system at a time that is truly independent of the rest, then you can choose to have a separate style for that code and a separate aesthetic without incurring the same costs that you would have elsewhere. It would be like having part of your system written in Python and the other written in Haskell. Sure, you've two languages to work with, but as long as you're not switching back and forth all the time in the middle, you can focus on doing good design for each of the languages.

You can make that change piecemeal though - I've done so repeatedly, for various pairs of languages, and also for quite radical stylistic shifts within a Scala codebase. Yes, you have to define a border and gradually expand it rather than replacing random lines in the middle of other things, but it's very doable.

> this group needs to be working directly with customers on this code

Doing that is such a huge win in any language that it could easily explain all the advantages you're claiming for APL.

I find the poetry-of-code stuff unconvincing, and the "if it didn't work for you you must be doing it wrong" even less convincing. If we've ended up doing APL wrong then it's not for want of trying - the right way of doing it must be hard to communicate to people, which I think comes right back to my original issue. I'm very skeptical of anything that claims the only way to try it is a big migration and a huge raft of integrated changes - that very conveniently makes it hard to fairly compare the direct advantages of the thing itself, and ensures that anyone in a position to compare has already made a substantial investment/commitment to the thing.
how is vim simple?
There's one game that depends on winmm callbacks being called on a separate thread because the game actually calls SuspendThread() from within the callback! During the mmdevapi move around Vista/7, MS switched to calling the callbacks from the application thread and the game now deadlocks. It does work in compatibility mode, though.

https://bugs.winehq.org/show_bug.cgi?id=3930#c71
Building startup in free time out of the work
I was wondering the same thing, I'm pretty sure that the samba test suite does something like this.
This. I don't want the first model year of any brand new chassis. Problems inevitably crop up even for companies like Toyota and Daimler.
Video explaining how power steering works
You may be surprised. Certainly the number of people with disposable income will be less than in many other places but those that have disposable income often pay more.

Tax on cars is upward of 200% and traffic is becoming a major issue. When it comes to services, another major challenge is that there are no widely accepted payment mechanisms besides cash and checks. Debit cards only work with ATMs and some very select retailers.
Yep, has nothing to do with machines. Delegations of differing levels of authority applies to human only dynamics too; I once worked in a store were regular shop floor staff had to repeat company policy, but management only could override. I'd often tell customers they could not return an item due to company policy, only for them to go to a manager and get a refund anyway - I wasn't allowed to suggest myself they ask a manager, or allowed to suggest a manager might override policy.
Welp. There goes gitlab. It was nice while it lasted.
This can also be seen the other way around. Given the speed at which websites pile on unnecessary shit, just imagine how websites would perform if browser vendors weren't busy optimizing all day long.
Depends on the scale of the shell script. And SQL is also very different from
what most programmers usually do, especially the ones that use ORM.
ElcomSoft Extracts Deleted Safari Browsing History from iCloud
> I wish Musk hasn't said that he's not going to make a car that's cheaper than $35,000.

When did he state that? I'd only read the general plan of 'make an expensive high-end car, use profits to make a less expensive mid-range car, use profits from that to make an affordable car'.

Or did he mean that they don't need to make a cheaper car for widespread adoption since owners can rent the car out as a self-driving taxi to recoup ownership costs?
> Every time a similar question is posed on HN, someone says "If the assets aren't needed, don't serve them in the first place", but this is i) unrealistic, and ii) ignores the fact that while the typical HN user may like sparsely designed, text-orientated pages with few images, this is not at all true of users in different demographics. And in those demos, it's often not acceptable to degrade the experience of users on fast connections to accommodate users on slow connections.

This is prejudice. People use Craigslist, for example. If the thing is useful, people will use it. If there's a product being sold, and if it's useful to the potential clientele, they'll buy it. Without regard to the UI.

In the past ten years while my connection speed increased, the speed at which I can browse decreased. As my bandwidth increased, all the major websites madly inflated.

> So -- if I write a web page, and I want to include a large asset, but I want to indicate to user agents on slow/capped connections that they don't _need_ to download it, what approach should I take?

Put a link to it with (optionally) a thumbnail.
I choose to believe it's a prophecy, foretelling the coming of a Universal search engine that will someday make that joke stop working.
Top Reasons Why Enterprise Apps Fail and How to Avoid It
Also not many jobs. I've been looking for an Elixir job in Canada for months.
It's a followup to the Map of Physics
https://www.youtube.com/watch?v=ZihywtixUYo
Am I the only one who finds these Adam Curtis "documentaries" pretty manipulative? They seem to reassure and reinforce everybody in their view on the world. I recently watched Steve Bannons "documentary" "Generation Zero" which works pretty similarly. The difference seems to be that it's meant to reassure the other side of the political spectrum.

When you disagree with such movies it's probably easier not to get sucked in too much into the narrative style, so you can separate manipulation and stated facts easier.
>> I would argue that this kind of reasoning is precisely why many people are turning to the right. Instead of allowing them to voice their concerns and trying to understand them even if you end up disagreeing with them, they are shunned and labeled as stupid, ignorant, racist, sexist, islamophobic, homophobic, etc

It's one thing to be angry, disappointed or concerned because of real, valid reasons that affect you, and I'm not arguing people have no right or reason for them.

If you translate those feelings to actions that are stupid, ignorant, racist, sexist, islamophobic, homophobic, etc, you deserve no sympathy from me though. You can label it 'high-horsing' or 'arrogance', but the fact of the matter is that innocent people living in islamic countries are not the reason there are no jobs in the midwest anymore, US jobs are disappearing mostly because of automation, not mexicans, coal mines are closing because better alternatives are getting cheaper, etc.

I don't know what the solution is, but I do know what is not: caving in to the kinds of sentiments you describe as 'right-wing', pretending they are justified and acceptable.

I live in Europe and I'm actually in favor of limiting immigration, because my feeling is that allowing unlimited immigration disrupts society and takes too big of a toll on our social security and welfare systems. I'm well aware our small country can not and should not try to solve all the worlds problems within our borders. There's nothing particularly 'right wing' or xenophobic about that. But to generalize that to a total immigration ban based on religion, or even more insane, a travel ban from some arbitrary selection of countries, makes no sense whatsoever.
It's a sad truth that it is really difficult to make decent money writing scientific software.
Question: with a strict CI/CD in place, as well as a staging server, how can these problems be so common for Gitlab?

Isn't this exactly what CI is supposed to prevent?

Not blaming Gitlab for bad practices or anything, i'm just curious.
Using TensorFlow with Raspberry Pis is something I've always wanted to try. Time to classify whether I get Thai food or pizza delivered more.
6. Django
HgLab 1.11 Released – Self-Hosted Mercurial Server for Windows
Security and Privacy Guidelines for the Internet of Things