skysight-inc/HackerNews huggingface dataset:
> The second way is to use vuex as a global. This breaks modularity by immediately tying the component to a global. Vuex makes things easy but breaks modularity completely as soon as a component refrences vuex.

Can you explain a bit what you mean here?

I haven't used vuex yet, but to use my Redux/React experience as stand-in: the channel to emit data changes through is passed as a prop as well, so the component is still "modular" in that it is not hardwired to redux (or, presumably, vuex). Since it has to connect to the outside world somehow, that can't be the criterium for breaking modularity either. So I don't see where the modularity

Having the data in a Single Source Of Truth seems a sensible reason to store it globally as well.

(aside: elsewhere here I discovered S.js, a reactivity library that looks really interesting. Perhaps using something like that to make the data reactive to UI changes is what you're after?)
Excuse me if this sounds stupid but, vector instructions are assembly. I know we can use inline assembly or compile and link assembly alongside C but isn't it the compiler that is in charge of using vector instructions ?

IIRC GCC has -mmx, -sse(2|3|4) options to enable this kind of instructions.
> So the math needs work

Finally! I thought I was alone (and stupid) for thinking like this.

Is there any literature or any meta-work that discusses the notion of probability itself? What is expectation? What is dependence?
I remember 2008

Obama wasn't even President until 2009.

It is true. The Democrats had a filibuster-proof 60-member caucus[0] in the Senate, full control of the House, and the Presidency. They didn't need (and didn't get) a single Republican vote. But as they delayed while busy loading the bill with even more disastrous spending (e.g. community pools, Risk Corridors, etc.), their Senate supermajority fell to 59.

[0] https://www.senate.gov/legislative/LIS/roll_call_lists/roll_...
Huawei considers making a smartwatch that stores a pair of wireless earbuds
Huawei has patented a smartwatch that comes with a set of built-in Bluetooth earbuds, as spotted by LetsGoDigital. While we don’t know many details about the Huawei Watch 3, including a release date, the patent indicates that the company is considering different ways to store a pair of wireless earbuds inside a smartwatch.

The patent details a few ways the earbuds could be stored: through a capsule with a spring mechanism that opens and shuts with a snap, or magnetically attached and stored in the watch band itself. The wireless, water resistant earbuds would also have active noise canceling. It would provide a way to answer calls and adjust the volume without flipping your wrist.

Image: Huawei via LetsGoDigital
The patent was approved on June 28th by the World Intellectual Property Organization and it might give us a hint of what to expect for the Huawei Watch 3. (Huawei’s last smartwatch came out last year and received subpar reviews, notably with criticisms around its bug-ridden software and poor battery life.)

As with all patents, there’s a chance this feature could never appear in the market. Huawei was also approved for a gaming smartwatch patent in May, so it appears the company is considering many different possibilities.
Visit: www.industry-era.com for new and more info.
> Vue is really fast. Maybe not the fastest, but its performance is overkill for the vast majority of web projects. When was the last time you needed to render and update thousands of DOM elements per second?

Rubs me the wrong way. Better performance is always a net gain, and a high performance website provides miles better UX than the same website with waiting all the time.
Most important thing wrong with this article is that it keeps talking about BeFS having a "64-bit address space". That's not so at all.

BeOS has the equivalent of the POSIX O_LARGEFILE permanently enabled. Historically 32-bit Unix systems assumed files were no larger than 2^31 bytes for the purposes of random access, and a feature labelled O_LARGEFILE says that your program wants 64-bit offset values instead so you can seek inside a larger file. In a 64-bit OS this doesn't make any difference to anything, and in modern programs O_LARGEFILE will always be set for 32-bit programs too. This isn't about the filesystem at all, on BeOS, or any other Unix-like system.

BeFS does, like a lot of modern filesystems, theoretically support larger storage than is ever likely to be in the hands of ordinary end users. Many petabytes of storage in a single filesystem are in principle possible with BeFS. But that's not strongly related, in either direction, with the use of a 64-bit integer for file seeking.

Beyond that BFS has lots of annoying problems, which are very understandable in the context of it being rushed into use over such a short period of time and with really only one key person doing much of the work, but they don't vanish just because they have an excuse:

The metadata indices are clearly aimed at end user operations like "Where's that file with the client's name in it?" or "What songs do I have by Michael Jackson?" but they're designed in a way that wastes a lot of space and yet also has poor performance for such queries - because they're case sensitive for no good reason. They also incur a LOT of extra I/O so if you don't need that feature you'd really want to switch it off, but you can only really do that at filesystem creation time.

Fragmentation is a really nasty problem. This is an extent-based filesystem, so that's somewhat inevitable, but BeFS almost seems to go out of its way to make it worse, and provides no tools whatsoever to help you fix it. It's actually possible to get a "disk full" type error when trying to append to a file which is badly fragmented, even though there is plenty of disk space.

Unix files often have an existence that transcends the mere name on the disk, but BeFS takes that a step further, allowing application software to identify a file without knowing its name at all. There are a few scenarios where this is quite clever, but if you ever want to retro-fit actual privilege separation to the OS (which has been a long term ambition for Haiku for more than a decade) this produces a Gordian knot - permissions are associated with names, but software can simply obtain (or guess!) the anonymous number for the file and sidestep such permissions altogether.

The journalling has a nasty hole in it. There's no way to safely delete files using the provided metadata journalling and recover the freed space, so, in practice if you crash while deleting files some of the space is just mysteriously gone until you run a "check" tool (remember the scorn for such tools in the article...) to find and recover it.
And here I am thinking I'm good by declining 70-85k jobs and focusing on 100k+.
Uhmmm Poland, first world country, the minimum wage is about ~$7k/year. So three men working full time around the clock = $21k/year. Easy.
Maybe cities shouldn't make it easy to own a car.
What if people were paid for their data?
This article is a pretty ignorant diatribe.

Undefined behavior simply means that the standard doesn't have requirements for what is being expressed in the program.

The possible range of actual behaviors doesn't define what UB is; that wording just clarifies that UB doesn't necessarily mean that there is a software defect: it is possible to behave in a documented manner characteristic of an implementation. This refers to documented extensions.

The way to fix C isn't to monkey with the definition of UB, but to target specific cases where there aren't requirements and, like, put requirements there.
These people are extremely naive. They are thinking after The Event, they'll emerge from the bunkers to magically functioning society and rebuild everything from scratch into anarcho-capitalist utopia without that pesky government.

In reality, the landscape would likely be filled with neo-feudal warlords and gangs fighting for control, competing and looting everything in sight - without the interest to rebuild or maintain anything: same short-term interests they apply for natural resources with extra urgency of survival and competition.

Without a functioning government and democracy civilization reverts to earlier tribe-like patterns of power, which don't allow for a collaborative society to exist in one place.
All the former wealth and social connections they have wouldn't amount to much, the bunkers can't exist forever even if they have thousands of years in supplies.

They'll be found and opened by other survivors to loot resources or just exploded to prevent competition.
They don't expect the world treat them as part of zero-sum game they play with it. They taking the bet people will not change or respect earlier laws and customs.

The author idea that preventing The Event is a more viable strategy is dismissed, because its obviously cheaper to bet on smaller projects and its contrary to egoistic drive.
They're not concerned for the course of world history, they're concerned with their personal little world.

The world electricity generation,transport, water supply and food production networks can't be replaced at smaller scale: internet and communications that glued the people together would be replaced by slower methods and disconnect the world. They are even unlikely to survive without modern air conditioning and clean water, which will disappear with electricity - even if electricity exists the new owners of plants will dictate its prices and availability.

A few post-apocalyptic novels touch the idea of elite emerging from bunkers totally unprepared for the disaster world they avoided, until the resources run out.
There are lots of niche medical investors, as well as government grants. You can try to pitch to those. They'll also understand and be able to criticize the idea better.

You can sell it to a hospital before you build it. Pitch the product, get feedback, then build. If the problem is big enough, they'll pay you in advance.
I've spent 4 months to find a way to cancel my complementary health insurance in France. They were sending me letters with 2 weeks delay asking me for other documents.
The idea that anyone can pay the bill is fantastic. I suppose only the crypto world can facilitate such a system.
I'm a libertarian and I don't know what to say. There will be shitty companies as well I guess, but when they lose customers due to such practices, they will learn? If they don't learn they will go out of business.

You're stuck with a bad govt law, no efficient weeding out process exists.
Not really, the energy density is fairly low. Except during thunderstorms of course.

Shoudn't be too hard to check. Get ten metres of rigid plastic pipe and ten metres of insulated wire bared at the ends so that you can measure the voltage between the top and ground.

Set it up vertically at least 20 m from everything else. Measure the voltage between top and bottom with a good quality high impedance voltmeter.

Now add another ten metre length of wire and a resistor to complete the circuit and use some of the power. Measure the voltage again.

The voltages and the resistance allow you to calculate the equivalent impedance of the source.

I'd be very surprised if no one has already done this and probably in a much more sophisticated fashion.
Or, like, don't sign a long term contract at all. It's pretty easy to find an affordable monthly gym which has all the basics pretty much everywhere.
C has undefined, unspecified and implementation-defined behavior in those places where there was no implementation consensus 35 years ago; it's just maintaining the status quo.

The thing that were and were not codified as requirements in 1989 ANSI C were a historic accident of the time; now that historic accident is just being preserved, more or less.

E.g. we must have unspecified evaluation order of function arguments because we've always had unspecified evaluation order of function arguments.
Poetry comes with an exhaustive and efficient dependency resolver which pip does not have.

It's also a packaging tool, which means you can build and publish packages with (on PyPI for instance).

And finally, it always creates a virtualenv for each project so that you always work isolated from the global Python installation.
The issue with this view is it is looking at the future potential using today's technology and efficiency. We're about to blow productivity per watt out of the water and this will change everything. If you want to know more watch jeremy rifkin's talk on YouTube https://youtu.be/QX3M8Ka9vUA
Hello All!

I’m Anand, co-founder of Engagespot.

We built a tool that helps you to add a real-time notification feed and a bell icon to your web application dashboard. You already know what is a notification feed. You see and use it everyday on Facebook, LinkedIn etc :)

We think every website/web application need a notification feed. That's why we built Engagespot.

* It's like a dedicated inbox inside your web application where your users can see all your messages and alerts.

* Messages will be delivered as native browser push if the user is not logged in.

* Users will receive the notifications on all devices where they are currently logged in.

* It will update in real-time. When a new message is received, a bubble count will appear on the bell icon without annoying the user with big popups.

We'd love to hear your feedback and suggestions :)
European law is years beyond this. Consumer laws in some EU countries stipulate that a person can cancel a subscription simply by vocalizing this intention out their front door between the hours of 9am-3pm. "Heyy, I'm cancelling."
Yeah, good points re: rougelikes and rouge-lites (though [1]). I think there's still an essential element of difference between a rougelike and normal ironman games, which is that rougelikes nevertheless typically expect you to die. While it's true that it's not RNG-based as badly as many believe (since top players can usually achieve wins consistently despite bad rolls), there are usually dead-ends which you have no way of knowing about without prior experience, realistically. Contrast that with a game of XCom on easy + ironman, and there's a chance that a new player may actually win that. Whereas with NetHack, that chance is about as close to zero as it can get. So, while dying might not be outright fun in the literal sense, it might be "Fun", and at the same time you may learn something critical for your next playthrough. In that sense, roguelikes are very much intended to be replayed many dozens of times, which differentiates them from normal ironman games in my view.

[1] My main experience is with ToME, which I believe is considered a roguelike rather than a rogue-lite, and I'm pretty sure games don't tend to go into dozens of hours, normally. Assuming you don't die very early, it's probably closer to 5-6 hours, in my experience, which is far shorter than other normal games.
Haha, well, if it's no effort for you to keep it up, then by all means, keep it up :) Just don't expect it to actually change :P
You seem like a patient person. That first visit should have ended with the cancellation or an unambiguous announcement of your intention to issue chargebacks for any future charges by said gym as far as I'm concerned.

There's no way I'd be relying on a manager's schedule to cancel their services.
I really wish you could still do proper classic mode on Win 10.

I very much prefer it to the modern design of Windows. It's fast, functional, logical, and minimal.
The use of electricity instead of sunlight is very similar to the two step process used in HEVs for energy conversion to achieve better efficiency
Crazy number for sure but I'm not really that surprised. A dense city and they're actually buying the space forever. Not renting.

And it's indoors.

But still, if they use it for 20 years they've payed over 3000 dollars/month for it.

Edit: My brother said; why not just pay the fines? And googling says they can be around 86 USD but I assume they have some sort of repeat offender thing too.
If you want to avoid the fee, can you tell the ambulance drivers to take you to a shittier ER with a lower cost?
This is like the famous 'we'll only need 64kb ram' quote. I look forward to it being proven completely and absurdly wrong in the coming years.
> Better performance is always a net gain,

I think that's easily disputed: it's always a trade-off. A 0.001 ms improvement in performance is a net loss if makes code 10x less readable, because that means programmers are more likely to introduce bugs, which would be a net loss. For example, I one worked with someone who changed all i++'s in a codebase to ++i's, even though they were not in performance-critical codepaths. That was not worth the effort.
>>American hospitals are just big ripoff machines.

Same here in India. For all the talk about Medical Tourism to India, it works only because Americans come here to India with Dollars, and $1 = 70 rupees. Your purchasing power suddenly increases by 70 times.

For Indians in India. Its the same near US level rip off. Sometimes its also hard to not sympathize with the doctors. It takes the best years of your 20's and early 30's to get to be a good doctor, and its expensive to get all those degrees and training. So they charge whatever they have to, to not only recover all that money but also make a fortune worth profit along the way.

A lot of time this is done through unethical means. Ordering tests the patient doesn't need(commissions with the labs), prolonging treatments to optimize for per visit costs, writing medication the patient doesn't need(again commissions with the pharmacy) etc etc.

But yeah, I agree with you. Even In India, Most doctors I talk to want(ed) to go the US to settle there. Largely because of the apparently insanely high pay and perks. One person I talked in my extended family almost talked about it like it wasn't something they had to even think about. If you are a doctor you had to settle in the US. The profession is just too profitable in the USA, to not move to there.
Please add Nexus 5x support like CopperheadOS had.
Sounds sane to me, but occasionally that doesn’t reflect what courts think :)
If the compiler has deduced statically that a p == NULL expression might be executed after a dereference of p, the number one priority is to issue a diagnostic for this situation, because it is quite likely a coding mistake.

The programmer almost certainly didn't put in the dereference on purpose, as a way of encouraging p == NULL to be optimized away!

It's very irresponsible to treat situations that are coding mistakes as "let's assume there is no mistake and just optimize".
Last time I checked, the models presented in the "Limits to Growth" seem to be tracking the situation pretty well. Here is a paper about it (not mine) https://sustainable.unimelb.edu.au/__data/assets/pdf_file/00...
I couldn't get my nginx container to communicate with my app container in ECS however it all worked locally. And theres very little docs or troubleshooting resources.
While many would not be able to afford a trip to Canada, I would think there would still be a sizeable number who live within 1-2h from the border who could drive there for non-emergency care.
If you said 10/24, I'd immediately think 10.0.0.0/24. 10/8 would certainly be valid. 10.0/16 is too.

I remember when CIDR came around back in the 90's. Man people were pissed off when you would call out a 'Class A/B/C/D/E' block. I prefer to always be specific when writing my CIDR. I understand when people don't do it.

Be liberal in what you accept and conservative in what you send.
I think it's gnome with a bunch of custom menu's and apparently some kind of bonzi buddie esque assistant that everyone seems to include these days: http://www.prathamos.com/images/33.png
This breaks the HN guidelines. Please read and follow them when commenting here: https://news.ycombinator.com/newsguidelines.html.
If you're alone you will make mistakes. If you're not...then you're back to trusting some people.
“If they don’t learn they will go out of business” sounds nice, but in reality, we can all point to hundreds and hundreds of different companies that show that that simply does not happen. Otherwise, the US would have the best and friendliest companies in the world, since that’s where capitalism runs the most rampant, and where you can really see that “the market will sort itself out” philosophy in action.
I am almost willing to enter a long bet that this won't happen in the next 30 years. However, since that involves revealing our identities, let's just hope that HN is still around after 30 yrs and we can come back to this thread.
Ask HN: Could you recommend language agnostic NLP tools?
I just build a spell-checker for Wolof, my native language, using some basic rules and a dictionary I managed to put together. I need your help finding open source tools for NLP that are language agnostic or do not require lot of heavy lifting to adapt to a new locale.

Thanks for your help.

If you would like to test my spell-checker : https://digibox.info/apps/experiments/wolofix/
I almost always put my VPN connections in this range for that reason. Nobody ever uses it. Makes it obvious when you see that address in a webserver log or a route table.
> Your application state should be kept separately,

Is Redux not exactly that?
Lots of fun stuff you can program in Minecraft Pi Edition.

My son and I made a minecraft version of snake/tron where each player would leave behind a trail of TNT blocks as they ran around a closed arena. Hitting a TNT would set off such huge chain reaction of explosions that the raspberry pi couldn't handle it. After a few rounds of these explosions the minecraft world looks like a total wasteland.
Some brief essences of go
I work in the public sector for a lot less than the offers I get from the private sector. I haven’t once considered leaving.

Well I have, but that’s when the right decision drowns in politics and red tape, not because of money.

A lot of people would consider me an idiot, but I get a sense of duty and purpose from public service that is worth more to me than money.

Of course it helps that my pay check isn’t exactly bad. So it’s also a choice between good money and better money, I’m not sure how I’d feel if it was a choice between shitty money and great money.
Beijing's Obstacle in Taking on US Tech? Itself
"I would like to cancel my LifeLock subscription."
Minecraft, and in particular Bukkit (API for coding server plugins), is by far the single biggest factor in my own development as a programmer. Literally hundreds of hours spent coding plugins for my server, starting from copy-pasting tutorials in the early days and eventually being able to build fairly complex projects on my own. It's formed my personal belief that being able to visually see the effects of code and being able to write code that augments things that are already interesting are great ways to encourage young kids and teens to code.
Please don't break the HN guidelines by calling names.

https://news.ycombinator.com/newsguidelines.html
Yeah, this is the sleaziest tricks by gyms, especially in Canada/US

No thanks, no bank details. I'll pay by cash, every month. I don't care if I'm paying "double" because that "half price" is accounting for crap like this.
> but what are the arguments from people who don't think this sound like?

The two I see are mostly

1. "I don't want to pay for other people's healthcare. Other people make poor health [dietary, etc] and financial [they're poor] decisions and they should pay for it themselves." A lot of young people do not want to pay it forward for the healthcare they will need when they get old ("I haven't been to a hospital in years! I'm healthy!").

2. Distrust in the government in running a fair and efficient system ("death panels" etc)
Seems like if you ordered the things that needed funding, OS/2 would be near the bottom of the list.

Maybe Gates could cough up something, just for the irony.
How to Make Teeth White Naturally from Yellow at Home
Expensive parking is a way to do that.