skysight-inc/HackerNews huggingface dataset:
Using tabs as contexts sounds interesting. What do you use for this? TabBarMode (https://www.emacswiki.org/emacs/TabBarMode)?
The HN policy on paywalled articles in general is clear. 'dang has commented specifically on the NY Times as well.

https://news.ycombinator.com/item?id=16003345
This was the problem at my last job. We had a few applications and each had their own database, but they were all on the same server.

Over time they all learned to reach into eachother’s databases. The truth is we had ONE database arbitrarily divided into three schemas, each with different traditions.

As load increased it became a nightmare and a literal single point of failure. If one app misbehaved or took a load spike all the rest would slow/fall down. Even though huge chunks of the applications had nothing to do with each other they couldn’t be scaled independently.

We were working very hard, slowly, to detangle it without blowing everything up.

No application should ever have direct access to another application’s database. It’s going to go wrong. The temptation is too great. And by the time you realize it the technical debt it has caused may be MASSIVE.
> A microservice should generally not have side effects.

That's plainly wrong. I get the gist of what you are saying and I more or less agree with it but you expressed it poorly.

Having API dependencies is not an issue. As long as the microservices don't touch each others data and only communicate with each other through their API boundaries microservices can and should build on top of each other.

In fact that's one of the core promises of the open source microservices architecture we are building (https://github.com/1backend/1backend).

I think your bad experiences are due to microservice apps which are unnecessarily fragmented into a lot of services. Sometimes, even when you respect service boundaries that can be a problem - when you have to release a bunch of services to ship a feature that's a sign that you have a distributed monolith on your hands.

I like to think of services, even my services, as third party ones I can't touch. When I view them this way the urge to tailor them to the current feature I'm hacking on lessens and I identify the correct microservice the given modification belongs to easier.
How about freeing you to have the social interactions of your choice?
Where I work we have both embedded firmware and software developers. The firmware devs are largely EEs and get paid less due to lack of demand and market competition. If they paid the software devs the same there would be a mass exodus.
> finding barcodes and placing the goods at right angle so it can be scanned

You should do that anyway to help out the cashier. It's common courtesy. Amazon Go obviously gets rid of it though.
Giant has that here and it’s a huge pain in the ass and takes way more time than just going through the checkout line to scan everything while you’re shopping, if you’re buying anything more than a few items.
Is putting the hash/version in a query string generally recommended? Some CDNs have issues with it.
Meet Scott Dozier, the Man Who Wants Nevada to Execute Him
The other solution is as suggested which is increase the robustness of the anti-oncogene systems. This way the stem cells will still accumulate mutations (hard to solve this problem), but they won’t progress to cancer.

This approach is how evolution has solved the problem of cancer in large animals with long lifespans.
This answer is malpractice on at least two levels:

1. It entertains a performance argument without interrogating the task and environment the appliance is engaged in. You can always in theory make a typical program faster by rewriting it in carefully scheduled assembly. We don't often do that because the performance win would be irrelevant to the problems we're trying to solve.

2. It pretends that the only reliability benefit from moving to u from k is in virtual memory. But, no: the major benefit is from moving from C to something more expressive and safer. The notion of "defect density" captures this argument: with it held constant, a solution that can be expressed in fewer lines of code will have fewer faults. But, of course, defect density between C and a high-level language won't be constant, and it won't favor C, where you can't even count safely with the basic types provided by the language.
Seconding this. My boys love their tablets and their Xbox, which I play with them and don't discourage (video games have their positives), but our real quality time is playing board games. It's wonderful to watch my four and six-year-old "get it" while interacting with them on a personal level. Earlier this year I discovered thrift stores are a wealth of games and I'll bring home a stack of new ones to try out every couple of weeks for less than $20. We try them out and it's like trying out novel ways of thinking much of the time. I highly recommend this as a way of connecting to your kids.
Nitpick: $RANDOM gives you an integer between 0 and 32767 (inclusive).
Real tunnels are much more complicated than pretty pictures of tunnels. Many tunnels have to hold up what's above them; they're really long arch bridges. Brunel's Thames tunnel looks like one.[1] Modern tunnels are usually round tubes, but structurally still arches.

Water is a big problem. On a good day, the New York City subway system pumps out 13 million gallons. There are bad days. Many cities are near sea or river level, so plan on a lot of pumping for urban tunnels. Water during construction has been the cause of many tunneling disasters. Some of Japan's longer tunnels hit underground rivers. Tunneling in soft wet soil is mostly about keeping water out.

Tunnels which carry large numbers of people need extensive rescue facilities. Usually, there are two tunnels, with cross-connections and emergency access points. Fire suppression and smoke control systems are needed. Eurotunnel has had five fires, three of them major, despite elaborate fire control systems and much advance preparation for emergencies.

The various Hyperloop documents gloss over all of these real-world issues.

[1] https://en.wikipedia.org/wiki/Thames_Tunnel
a bunch of API endpoints written by different teams is a "microservice architecture"

Or chaos, or madness, or Bedlam.

Most people have enough trouble getting three methods in the same file to use the same argument semantics. Every service is an adventure unto itself.

We have a couple services that use something in the vein of GraphQL but some of the fields are calculated from other fields. If you have the derived field but not the source field you get garbage output and they don’t see the problem with this
> That's plainly wrong. I get the gist of what you are saying and I more or less agree with it but you expressed it poorly.

I'm not sure what you think side effects are, but I'm using the standard computer science definition you can look up on Wikipedia. If you have a microservice that modifies, e.g. some hidden state, it's a disaster waiting to happen. Having multiple microservices that have database side-effects will almost always end up with a race condition somewhere. Have fun debugging that.
> This is without considering the false sense of security that address masquerading provides; I cannot recall how many times I’ve heard people say that (gasp!) NAT was fundamental piece in the security of their internal networks (it’s not).

It bugs me when this dogma gets repeated without further explanation, /particularly in the case of IPv6/. No, NAT probably doesn't provide as much security as you think it does, but it does provide benefits. A NAT network is a default-deny-incoming network that cannot fail open, protecting against common boundary firewall configuration errors. A small (but once very pervasive) class of firewall bypass attacks (fragmentation) is eliminated. Obscuring information about the number of devices, and especially (IPv6) their vendors is beneficial. When (inevitably) a bug in your firewall is discovered by bad guys, the presence of NAT limits the kinds of attacks they can make. In the world of IoT, These Things Matter.

It's commonly phrased "NAT is not a security feature, firewalls are", which is midly nonsensical as NAT is a firewall feature .. one which often improves the security posture of the network. Of course there are places you absolutely don't want NAT, but I think it still belongs between the internet and most networks made entirely of desktop, IoT & personal devices.
Yes! In fact I'd argue that null-pointer dereferences are not a memory-safety bug the way buffer overflows / use-after-frees / etc. are, they're a type-safety bug. It's not that NULL is a currently-invalid pointer, it's that NULL is not a pointer at all - it's a value that's been stuffed into the pointer type because C has no better way to represent this. The actual return type of malloc is the set of all possible pointers along with NULL, a separate thing. Passing it to code that only expects something from the set of all possible pointers should require you to check for NULL and do something else instead.

If you want to optimize memory layout by reserving memory address zero, sure (and Rust's Option<&T> does exactly that), but at the language level, you shouldn't be able to use NULL as a pointer any more than you should be able to use 0.0 or '\0' or false as a pointer.
Here was the first result from a google search for a paper showing birthing centers provide better results.

https://www.sciencedaily.com/releases/2013/05/130508213107.h...
Ask HN: How accurate is browser benchmark Speedometer 2.0?
I remember seeing an article here not too long ago, it's about the new Speedometer 2.0's release and for testing browser speed. I was curious so I tested on my early-2015 13" MBP along with my month old new PC (Ryzen 1600 stock + 16gb DDR4 2400mhz + NVMe SSD).

The scores are from using the benchmark with all extensions disabled with latest updates
http://browserbench.org/Speedometer2.0/

On MAC, Safari 67, Chrome 67, Firefox 47
On PC, Chrome 76, Firefox 64, Edge 46

Should the scores be higher if the hardware is better? I saw on some forums people are getting a score of more than 100 with older generation hardwares. I thought my new PC would get noticeably higher score due to newer parts, or am I missing something here?

Regardless of speed, I'm pretty browser agnostic, switched to Firefox due to the looks but I use all the browsers depending on tasks on hand. Asking mostly due to curiosity, would appreciate if anyone can shed some light.
Stig – Command-line curses interface for torrent client transmission
Its important to have a solid grasp of algorithms and data structures not only for interviews but to be able to recognize that a problem may have a more optimal solution. You don't need to know everything off the top of your head -- much of your time will be spent learning and refreshing on things you don't know -- but you want to be able to see when things can be done more efficiently

If there is a specific position or field that you are interested in then take classes relating to that. Otherwise, a lot of specific technical information you learn in your classes may never be used in the field, and therefore my advice is take things that interest you and that you find challenging and try to apply them.

If you've completed a few projects or gained experience through internships or teaching and have a solid grasp of algorithms & data structures you'll have no problem securing a job. You'll learn what you need to afterward.
Similar to what happened to "meme," the original meaning of which is way more interesting than the current most popular meaning.
Wal-mart's big innovation in self-checkout that i'd love to see other stores adopt is the corral. Every other store seems to just let people line up in a free-for-all and the line gets long and starts to merge in with other lines and nobody's quite sure what they're lining up for. Then some narcissist thinks that despite the obvious crowd waiting to check out, they can start a "second line" that they'll be at the front of. And the stores see this crowd as a sales opportunity, so they randomly scatter product displays in the middle of where the line usually forms.

Wal-Mart has a nice cordoned-off maze to keep the line under control - a simple solution that works perfectly.
I have a similar script which stuffs a minimal PE header in front of a perl script which then executes said script.
https://st.aticpan.org/source/RURBAN/C-DynaLib-0.61/script/p...
Slightly OT, but I find it interesting how the definition of real-time depends on the industry:

* Embedded systems: nanoseconds to milliseconds (depends on the system, but at the very least needs to be predictable within some bounds);

* Application software (including web): tens to hundreds of milliseconds;

* TV broadcasting: seconds to minutes;

I'd love to hear more examples from different industries!
Relay: Display Messages and Images Anywhere
Say you are migrating password algorithms in a login system. Typical way to do it would be to add columns for new algorithm hash and ask people to change passwords once they login with the old one. Front end only needs to know to show the change password screen.
I am not the one claiming one is worse than the other. You are.
Panics may be safe and unwind nicely, but they can still, for example, be triggered in an untested code path to DOS a system.

That's one reason that people run AFL against safe Rust.
Meltdown vs. storage
Compared to cash? An infinitesimal amount.
Kevin O'Leary is unmoved by your tears
React has zero dependencies to use it, actually.

https://github.com/facebook/react/blob/master/package.json
If what you find is just a hypothesis, try to proof it.

Or is it just doubting your capabilities? Otherwise many new ideas have some flaw and it takes time to find something workable. In any case it helps to work in the general direction to find solutions.
> I also agree though that a lot of excitement is related to perceived future benefits.

Yes. On this path, the promised land is always around the bend.
That's why he switched away from real cheques.
I've often seen criticism that "NAT is not a security boundary" etc., but never seen them explained.

How is putting your network behind a NAT different from a stateful firewall set to deny inbound connections (and allow outbound and related ones)?
If startups were making progress this slow on things like self-driving cars, we'd be very underwhelmed. At this rate, we'll all be dead before the majority of cancer treatments are successful.
The issues are not actually technological here.

These data access/privacy/disclosure issues could have and did exist in the days of paper records. The tech stuff is just a spurious justification for stepping around 200 years of treaties this country has signed, many of which cover jurisdictional issues wrt multi-national companies.
Year one of post-imperial America
For me, playing mobile games is essentially like playing Slot machines. Its this reason i don't let me kids play games on their mobile device.

It makes more sense just buying a Switch, which allows more interactive play with people, more coop and time limits without the feeling their is a slot machine effect happening
> It sounds like you're just saying, "it's not too much of a pain."

Yep.

But from the sound of it, I'm guessing you only wear glasses part-time, so perhaps much of what I said may not track your experiences.

Us full-time wearers of glasses don't tend to carry hard cases -- those get stashed away as soon as we get home from the optometrists. Our glasses are always on, except when showering and sleeping.

Babies love to pull glasses off your face. I've had to train myself to monitor and avoid grabs. Some babies are fast though.
Legal and private entities that use the emblem and the name of the City of Sarajevo without the permission to do so from the regulatory body

Author needs to learn the difference between 'use' and 'mention'. 'Use' means to exploit for commercial purposes, eg by operating a company called 'Sarajevo tours' or selling 'Sarajevo salad'. You don't need permission just to say you live and work in Sarajevo.

Remember folks, 'statutory interpretation' doesn't mean every conceivable reading of a legal text is valid. Generally you should consult a legal dictionary in your jurisdiction of interest to discover how common vocabulary is construed for legal purposes, because it often differs from what people imagine.
>> Most HN users live in urban areas.

I didn't know YC published HN's demographics. Do you have a link?
Not familiar with thrift or protobuf, but when I think of a single API layer in front of a database, the API specification becomes independent of the database. You also want to version your API.

Let's take an address for an example. Your contact database might have "id", "name", "addr_line_1", "addr_line_2, "addr_line_3", "city", "state", "zip". Your API v1 lets you query any combination of these fields and return a set of fields.

/api/v1/contacts?zip=10018&fields=name

[{"name": "Jessica Jones"},
{"name": "Matt Murdock"}
]

/api/v1/contacts?name=Matt%20Murdock&fields=zip returns something like:

[{"zip": 10018}]

Later, you change your database to split name into fname and lname. You update your code and API to reflect this. In calls to /v1/ of the API, the field "name" is concatenated by your code to combine the database columns of fname and lname. In /v1.1/ of your code, you may or may not keep the "name" field as a convenience , but you do provide the ability to search on fname and/or lname fields.

Basically, for any change to the underlying database, your API maintains the same interface to the data, however you might also publish a newer version of the API. In fact, your code that handles the API might be entirely different. For instance, /api/v1 might be handled by a python flask framework, while /api/v2 is handled by node. You can run multiple versions of the API at one time, supporting multiple iterations of clients. Obviously to reduce the amount of maintenance efforts, you will deprecate some versions and provide deadlines for them to be disabled. You can run all sorts of reports on the usage of each API endpoint and see what calls and response formats are still in use. This can open up the ability to do an outreach to those developing a client and make them aware of necessary changes.
The big con: How tech companies made a killing by fudging their numbers
This is all explained here: https://www.amazon.com/Capital-Critique-Political-Economy-Vo...
Walkbase operates in Europe and they aren't the only company in-store analytics company.
2nd Mumble. I've found the voice detection and noise cancellation to be better than Skype or TeamSpeak, possibly because it's more configurable.
In the future you can just buy a crate for $4.99 that could unlock any one of 10 unique alert sounds that will brighten your day when you checkout! And for $9.99/mo you can subscribe to the feed of your favorite restocker and get daily updates about the food their eating and the cute dog they saw on the way home or how great their butt looks in yoga pants! You can even send them creepy messages up to 10 times a month if you have the premium sub (which is only an extra $2.99).
Could you elaborate on why?

I've also used the system at Waitrose and it's completely painless, so I'd guess if there's a problem it's due to poor implementation.

One particular advantage for me was that I could take my backpack around the shop filling it up, so I'd never have to worry whether I was buying too much to fit.

And it also meant I could be sure multi-buy discounts have processed before I got to the checkout, instead of having to check my receipt and make a fuss about it if they didn't.

The only minor issue I noticed is that if you're buying alcohol you need a member of staff to confirm your age, and they often don't have dedicated staff on the QuickCheck machines when it's quiet, but even then it still doesn't take long to find someone.
I wish that was true, but in some organisations working hard (or at least appearing to work hard) seems to be all that matters.

The further you are from the owner of the business the more likely you are to be rewarded for non-productive proxies.
Or, if you already started editing a line, and decided that you'd rather finish it in a proper editor, you can press Ctrl+X Ctrl+E.
The general rule of thumb is that birthing centers are less likely to interfere with the natural birthing process. For example, babies are more likely to be born on weekends at birthing center than hospitals. This is because births at the hospital are less "convenient" for staffing reasons. Hospitals are less likely to force labor to go faster with drugs, and obviously birthing centers don't perform any c-sections, so mothers giving birth there will be less likely to get unnecessary c-sections which increase risk to mother and baby.
Hi DoreenMichele, Thank you !! And I greet you for your self learning.

Yes you are right, we are based in Tunisia. Really, we don't have a critical issues to access electricity compared to other african countries.

With 50$ (120 Dt) in average, you can buy smartphone and tablets, most are chineese brands either with their names or under white labeled 'Tunisian' brands, and some known brands (huwaiey, sumsing, ZTE) that provide some low-cost of their products dedicated to developing countries.

We first thought about tablets because it's provide large screen and they gave us the possibilities to develop the system. The smartphone is a great choice also but we need to adapt our apps in a responsive way so can be rendered in multiple screen sizes.
above and beyond the norms of the time?
As someone who lives in what can be considered a rural area for the most part, it's not largely different. The last population count put the town at ~4500 for reference.

You still have people in checkout lines on their phones or parents giving their kids a phone with YouTube or a mobile game to distract them. The older folk, as you might expect, tend to strike up conversation and bump into those they don't know.

I worked retail a few years in this town (which is finally coming to an end) and the few times I can remember strangers striking up a conversation with me were mainly them spreading misinformation.

A few years back, one elderly man swore black and blue that "they" were canning all of the "irradiated fish" from the Fukushima fallout and selling it to unsuspecting customers.
Another lady told me the story of a man who just happened to be stumbling around "a major Chinese city" and peering into a factory window only to see that "the Chinese" were turning cardboard into cookies and selling them to us unsuspecting Westerners.

By no means are the above stories an indicator of country folk but let's just say I have my reasons for not jumping at the chance to talk with strangers. Half the time it's just an excuse for them to offload their stories onto me rather than actually being a two way conversation anyway.

EDIT: I just mentioned the overall feel of the discussions to my dad as he's the sort to strike up conversation with anyone. Having presented both sides of the discussion, he instantly discarded one side as "wrong" without actually weighing up any of the points. While it's anecdotal, it's no wonder I'm somewhat the opposite. Each conversation turns into a debate to win rather than a discussion.

Given "equal and opposite reaction[s]", I wonder if tribalism is inevitable? Did we ever actually defuse this kind of stuff in society or was it just hidden away due to geography eg; distance between rural and urban areas?
This is pure html:

<div id=“div01”></div>

This is magic monkey html:

<div id=“div01” monkey=“true”></div>