skysight-inc/HackerNews huggingface dataset:
The author writes: Page loanout is when a process loans its memory to another process. This is useful particularly in networking, in which data can be sent to the kernel’s network stack simply by loaning the appropriate pages. This avoids the need for costly copy operations.

Does NetBSD/OpenBSD actually have a zero-copy sosend()?

I wrote one once for FreeBSD back in the 90s for some research work I was doing. FreeBSD, even at that time, had the primitives needed for a userspace application to loan pages to the kernel for transmit. However, unless the application had knowledge that it was using a zero-copy socket, it was a bit of a mess in practice, as most applications would not benefit, due to taking COW page faults by re-writing to memory that was loaned to the kernel (and was marked read-only). The other big problem was handling the mapping changes (eg, the marking memory read-only, and then restoring RW access). The whole thing was crying out for a better interface. I probably should have required applications use aio_write(), or something similar. That would have removed a lot of the overhead..
Such is the fallibility of laws written by humans.

The writers of the relevant laws (~1900 - 1950, from memory) were all pre-digital networking, just as the writers of the Constitution were pre-corporation (~1850, royal charters ignored).
Movies might be harder, but I really liked "Dark" which is a Netflix made German show [0].

[0]: https://www.thelocal.de/20171122/netflix-premiers-first-ever...
I don't think we disagree, but I'm not sure I get where you want to take this discussion.
Fairchild Semiconductor, or Intel?
That sounds like an awesome curriculum! How recently did you graduate. It's been under 10 years ago for me and I didn't hear of any nearby schools offering any CS, I was always afraid of it until midway through college when I took a 100 level survey. Wish I had those opportunities earlier, probably would have saved a lot of money.
Containers are the killer feature of Firefox over Chrome and the reason I recommend it to family and friends. In my opinion they're not a power user feature at all, everyone and anyone can get instant obvious benefit from them. Multiple logins on the same service, controlling how you are tracked, just to name a couple.

Attention and effort are expensive and 'install and just use' gets you a material percentage more users than 'install and then click through this menu system and install something else'. Containers should absolutely work out the box.
Yeah, more or less what I was getting at but I bit the throwaway bait. Live and learn. Thanks for clarifying.
While it may be a good idea for people to delete the Facebook app from their phones and and stop logging in as often, it seems to me like any user tracking on the part of Facebook is still going to be happening regardless.
They are comparable at the level of "retail" and maybe even "big box retail", but that is about it. The 10 Walmarts within the same distance of me as the 1 CostCo sort of obviously aren't competing with CostCo.

Still totally reasonable to look at what structural changes could be made to shift costs towards Walmart (away from taxpayers), but the comparison to CostCo isn't really instructive.

And it could just be that Walmart shouldn't be able to run so many stores. But that's going to change the availability of good for many people.
Yeah, I mean it is supposed to be really good, but I never got around to see it, partly because it is Danish.
Plenty of cheap talent in the US as well, if so many startups weren't so delusional as to think they need Google-level talent.

Oh, and the thing about making them move to San Francisco. Not even just the greater Bay Area, which is bad enough, but to the most expensive part of it.
As a business owner logically wouldn't your customers also be trying to drive down costs/eliminate you?

Plus this isn't particularly useful advice. Without a large amount of capital, luck, or a compelling concept it isn't trivial for people to become financially independent and or a business owner.
Chrome and Firefox developers have been actively pushing the trimURLs concept for years and will actually fight you about it, claiming that users won't care or understand.

> https://bugs.chromium.org/p/chromium/issues/detail?id=41467

Misrepresentation of URLs by default is becoming increasingly common. The URL doesn't have to fit in the box on every device, and if I don't know what resource I requested and how I can't troubleshoot my problems.
Facebook offers the promise of socializing and having easier access to your friends and gatherings.

The reality is that socializing on Facebook consists of posting memes and arguments. No one is closer together for it. Facebook doesn't meet it's promise (to the user, advertisers expectations I'm sure are met).
Sure but how many are on Instagram? If so Facebook (the company) has still got 'em!
Hello. No apologies necessary! Wanted to put this out there for the discussion. So thanks for the comment. I'm not sure what you mean though. This is polling to see if the jobs are completed. Every two seconds it goes and polls the status of each of the Jobs that were kicked off.

Timeout::timeout(15 * 60) do
while(!all_job_statuses_complete?(all_jobs)) do
sleep 2
end
end

Was there something else you were referring to?
It can be either a carrier thing, or a phone manufacturer thing. Of all the phone I deal with at work (3 models each from all the major manufacturers) I loath the HTC ones most because of the amount of shitware you cant uninstall.
Sometimes it is just the perception that they have it worse than others, or worse than where they would rather be. This is all that matters really.
> My guess is that in the first case the two evaluations and assignments can happen in parallel, and so may happen on different cores, whereas in the second case they must happen in serial, but that's just a guess.

That would require using multiple threads, which I'm pretty sure python won't do automagically. And even if it did, trying to do those calculations concurrently would almost certainly be slower due to the additional synchronization overhead.

It would be interesting to know how different python implementations react to that change.
FCC is uniquely bad among USA government regulatory agencies. I'm fine with EPA, FTC, OSHA, FAA, etc. All of those place reasonable limits on human action. They don't say, "this market will be 40% VZN and 45% ATT!" Any number of other agencies could keep the emergency services bands online. Most of the actual regulation of how devices radiate signals is already controlled by voluntary associations of manufacturers.

Please don't discuss your wet dreams in this forum.
> That's completely reasonable, no one user should be allowed to saturate the connection to a cell tower with a video stream or torrent download.

That's reasonable but I don't see why this requires throttling specific services or types. By all means ensure that it's fair for everyone but maybe my file download is just as important as your email. Why should all file downloads be slowed down?
At last, a simple 3D printer for metal
It looks like progsbase is essentially a non-free version of Haxe (progsbase requires $65 per month per developer). There is no source available and the code library is full of trivial examples.
I've recently discovered this excellent lecture series by David Mackay available on YouTube: https://youtu.be/y5VdtQSqiAI

He also wrote the accompanying text book which is available for free download: http://www.inference.phy.cam.ac.uk/itprnn/book.pdf

I was really impressed by these lectures, and was dismayed to learn that he died from cancer a couple of years ago.
Is there any difference in terms of curriculum between the EMBA and the MBA? As in would people consider the EMBA a "lesser" MBA so to speak?

I'm an engineer looking at MBAs right now too, but it seems like a huge investment.
Red herring perhaps - seems due to the inplace add. It's quicker yet if you take out the multiple assigment:

$ for STMT in "a2, c = a2+c, c+2" "a2 += c; c += 2" "a2 = a2+c; c = c+2"; do
echo \[$(python3 -m timeit "a2 = 1; c = 1; $STMT")\] $STMT
done | sort -n
[... 0.0547 usec per loop] a2 = a2+c; c = c+2
[... 0.0569 usec per loop] a2, c = a2+c, c+2
[... 0.0608 usec per loop] a2 += c; c += 2
"... and then installed Instagram." Instagram usage in the US has been increasing faster than people have been abandoning FB[1].

I may be a cynic, but whats the biggest consequence of people moving from FB to Insta? Probably not having to pay all of the tech debt FB incurred during its meteoric rise.

[1]: https://www.spredfast.com/social-media-tips/social-media-dem...
What was your main reason to pursue an MBA with the technical background? I'm considering it too at the moment.
There should be a name for this pattern, so we can easily refer to it in the future. As you say, it's quite common in business.

The Diluted Insight Effect?
I'm a little surprised they didn't even bother to ask if anyone stopped using FB (i.e. "deleted their account") completely. "Deleting the app from your phone" is a pretty poor proxy for "I reduced usage of FB" in my view.
>And I kind of think that's a good thing too.

Not just a good thing but isn't it really the point of the whole exercise?
The public has no idea what CS is. It happens to be the "hot" college major right now. Kids who are potentially interested in computers, and are told that they have to get a college degree in something major in CS. That's the extent to which it's understood outside of the CS community.

Personally, with two school-aged kids, I'd be satisfied to see a basic programming course in the K-12 curriculum. This could serve a number of purposes, even short of launching kids on a CS career path:

1. Find out if you really like programming before you spend 4 years studying CS.

2. Find out how people actually do things like science and math. A school STEM curriculum that is devoid of computation misrepresents the topics that are being taught.

3. Introduce kids to a rip-roaring hobby. After all, we teach music for pretty much this reason.
Well, yeah, you need luck and either capital or work to become financially independent. You don't need to be intelligent to be a business owner, and you don't have to be a business owner to make an above average wage and invest it.

https://www.washingtonpost.com/wp-srv/style/longterm/books/c...
This is great stuff, too bad it's on Twitter instead of a real website or platform.
This model has led to success for other immigrant groups in other industries.

> Many followed his advice. “They would give each other handshake loans—no collateral, no payment schedule, just pay when you can,” Doshi explains. Once a family purchased a motel, they would live there, and the family members would do all the tasks needed to run it, from cleaning rooms to checking in guests. That helped keep costs down, and profits went toward acquiring new motels. By the 1980s Gujaratis had come to dominate the industry.

The "killer app" here appears to be a lack of resources beyond established relationships. Because of this, whole families were willing to spend their time doing work that most Americans feel is not worth their time.
Is it really about what they write, or about what they read? People were putting out information that all of the parties you mention could read long before Facebook existed. I still remember "NSA food" on Usenet. Those privacy concerns, while valid, have never become foremost in most people's thoughts, even among technorati.

Out there among the Great Unwashed, I suspect the issue is more about the value they get from reading. People read a lot more than they write, after all. People were already getting tired of watching all their friends' highlight reels. Then since the last election there have been far more fights in comments, and the feeling of being manipulated, and people pretty naturally start to wonder whether this is time well spent.

I'm not dismissing your concern, but I don't think it's particularly relevant to the OP. Barely makes a dent, really.
Kids and money are the biggest reasons for divorce. Get on the same page about both while you're dating. If someone can't handle an open conversation, they won't make a good partner.
That's not an excuse for saying they're normal and therefore denying what they might actually be going through.

I find it amazing the double standards when it comes to physical vs mental problems. No one asserts to a quadriplegic that their physical circumstances are "normal". No one treats a quadriplegic who says they're quadriplegic as, because of saying this, having an attitude problem.
It would seem like if performance is a big deal, you should have "unit tests" (or as they're called: benchmark code) with well-documented runtimes on specific hardware.

Stockfish Chess has a benchmark command, Cinema4d has Cinebench, and Blender now has its benchmark suite.

And really, a benchmark is just a unit test where you're testing for speed.
_Managers_ can be extremely helpful, and I'd argue a good manager is just as much a creator of value. Managers != Capitalists. You cannot be a good manager if you don't trust the people you're managing, whether because you're untrusting or because they're untrustworthy. It's an untenable situation that must be resolved one way or another, and removing employee privacy and respect is not the answer.
Show HN: Mantra: a high-level development framework for deep learning projects
One of the dichotomies they're maybe missing is that Americans love their TV. There are a billion channels in the US. In Europe, it's more like 5.

So just the sheer lack of content relative to the US makes 30% quite a high and problematic number.

15% locally, 30% from the entirety of Europe. Maybe.
Seattle is North enough that the sun sinks too low for your skin to be able to produce vitamin D between mid-September and mid-March!

The May-August period has very few clouds and a not-too-hot sun, so that is a fine season from the point of view of spending time outdoors and letting your skin work for your body.
> This is not about retaining some rights. This is about having the rights of natural persons. Referring to this: https://en.wikipedia.org/wiki/Corporate_personhood

Yes, this is about retaining the rights. That's exactly why corporations have rights of personality, both in the US and in Europe. It's not some unique facet of US law; it's literally written into the constitution in multiple European countries.

> I welcome a fact-based counter-argument

I'm not going to engage on this, because it's clear you're not particularly familiar with the topic at hand either. Claiming that illiteracy in India is somehow the reason that Bollywood has been successful despite Western influence is the sort of argument that no historian would actually make - and if they did, they would certainly provide more evidence than naively citing the literacy rate and literally no evidence and analysis linking literacy to cultural influence in cinema.

Between this and other comment threads, it's also clear that you're not interested in having a good faith discussion, because instead you're spending your time listing Orientalist tropes.
What's up with this domain? Is there anything else under toolbox.google.com?
This is, in my opinion, the best critique of the Go generics proposal so far. There's more discussion on Reddit: https://www.reddit.com/r/golang/comments/9d1zsz/scrapping_co....
Creating XUL, really?

You cannot create an restricted API for everything, the very point of extensions, plugins, addons is community is always bigger than your developers team, and much, much more diverse. The 'long tail' effect is what extensions community is about, not '90 per cent of users'. 90 per cent of users might need just a couple of the same extensions, the other 10 per cent of users need a thousand of different extensions.
You don't have to follow SV stereotypes

The lean startup is alive in well in most entrepreneurial ventures. Starting a food truck? Grocery store? Custom t-shirts? Indie video game? Small focused SaaS?

The echo chamber is real. "I looked outside and saw no lean startups, its dead!"
Also, there's an inexcusable lack of modal popups and dialogs on this site! They simply do not care about users! :-)
You're using python3. My brief experiments showed it actually ran faster in python2. You might want to re-run your experiments to see if I've done anything stupid with that test.

But definitely it seemed that python2 and python3 had significantly different performance.
Exactly. Carrying the logic a step further, that means you should focus first on the longest part of the program. And confidently knowing the longest part of the program requires measuring it. QED
WatermelonDB – Next-Gen Database for Powerful React and React Native Apps
Do you have a source for that? Google's KB articles still reference Chrome 70 [1], and I can't find another reference to this anywhere else.

Paypal.com is still operating with a Symantec signed cert - issued by "Symantec Class 3 EV SSL CA - G3". Works fine in Chrome 68. (and not in Firefox with the security.pki.distrust_ca_policy override set)

[1] https://support.google.com/chrome/a/answer/7662561?hl=en
Hi all, just sharing a project I've been working on.

Mantra is a deep learning development kit that manages the various components in an deep learning project, and makes it much easier to do routine tasks like training in the cloud, model monitoring, model benchmarking and more. It works with your favourite deep learning libraries like TensorFlow, PyTorch and Keras.

This is an very early alpha release, so your comments on the general concept and what you like or don't like about it would be awesome!
Elastic files for an IPO
But a splice should either work, or not work? It is literally welding two glass strands into one?
Isn't sendfile() the usual API to trigger zero-copy send ?

It isn't available in NetBSD yet.
Data Engineer | SharpSpring | Gainesville, FL | Onsite, Full-Time | https://careers.sharpspring.com/careers/data-engineer/

SharpSpring is seeking a talented Data Engineer to join our engineering team in Gainesville, FL. Our team is a group of dedicated individuals working to provide the best service possible to our customers using the most innovative solutions. SharpSpring provides excellent benefits and an engaging workplace with talented, friendly coworkers. You’ll also be responsible for evaluating the available ecosystem of Big Data tools and will advise our senior technical staff members regarding what tools best fit the needs of our organization. Upon completing our initial assessments of these tools, you’ll assist with the implementation and deployment of the solutions we collectively decide upon. We work in an agile environment where input from every engineer is welcomed and everyone’s voice is heard.
"Data leak"? Those someones weren't plotting it on a map, they were looking at the Strava web interface, who already did all the hard work.
It's hard to say because there are many other things that are better any my current office. Having the nice view outside certainly isn't a bad thing. At home I work in classic geek style darkness, though.
New Release: Tor Browser 8.0
This is quite interesting. From my German background I associate "sortieren" with alphabetic/numerical /calendaring order. Whereas "ordnen" ist more like "putting in order"/"categorize" or "sorting". So maybe it's as easy as blaming the Germans ;-)
Both the EU and US groups have called for breaking Facebook up. More specifically, they want WhatsApp and Instagram to be separated from Facebook.

Facebook should have never been allowed to buy Instagram, just like Google should have never been allowed to buy AdMob and perhaps Deepmind and a few other companies.

It hurts competition and the economy (in the long term) when large players can just buy out anyone that presents a threat to them, and then either integrate them into their main service or shut them down. Facebook has been trying lately to get Instagram people to post more om Facebook for instance. Facebook also attempted to buy Snapchat at one point.

If the rules to stop such mergers don't yet exist, then maybe someone should invent them. Much more often than not the consequences of these mergers and consolidations, as well as various crimes the big companies commit, are dealt with when it's way too late, and the companies have profited much more than what the punishment takes away a decade later.
The Good Place is just an NBC show in the US.
Bingo. My impression is that only a few leave Facebook because of principle. A hundred times more leave because it's not fun any more. I could argue that how much fun you have has a lot to do with how you curate your feed - mine's good for lots of laughs and only rarely much aggravation - but most people would rather just leave than make the effort to improve their own experience. Same as it is everywhere else, and has been since the dawn of time.
Obviously the original poster seems to agree with the many people advising not to take the victim mindset as the title has been changed. Describing yourself as "damaged" is the victim label word choice, not an objective medical mental state term. Only later was it mentioned as anhedonia. The damaged description has been changed to depression to describe a condition not a label. No where did I suggest that they should just "get over" depression or their anhedonia. It's that they should not allow those things to define them as damaged.

I can't tell if you're intentionally misunderstanding or if you really don't get the difference. To compare a literal medical condition (20 broken bones) with a non-medical label (mentally damaged) seems as it could be either.

Any perceived double standards on mental vs physical care is only in your head. Proper labeling of any condition for both the doctor and the patient is critical. If you suffer massive trama (such as your broken bones) and allow the label of cripple to define you, that's what you'll be.

It is normal for everyone in life to encounter challenges. Be they physical or mental. To have a view that your physical or mental condition is special or somehow makes you not normal does a great disservice to yourself.

You seem very talented at reading words that do not exist and telling people they assume things when most everything you've written is an assumption. It may be time to look up "objective" vs "subjective".

It's not helpful to the discussion to put words in people's mouth.
Did you go to TJHSST?
(I assume you mean 2/3 of light speed in vacuum - it's 100% the speed of light in acrylic (?))
Note that they will be removing legacy extensions from their store soon: https://www.bleepingcomputer.com/news/software/mozilla-to-re...
If you decorate each item with a category tag and then sort using those tags, you are categorizing. The power of decorate-sort-undecorate.
This is factually wrong. There wasn't plenty of warnings and google ignored their own roadmap.

Google announced in October 2017 that they will block Symantec certificates in October 2018. Leaving a year to upgrade, fairly reasonable considering most certificates must be renewed early.

However, Chrome blacklisted Symantec since April 2018, 6 months early. Taking a lot of people by surprise.
Forcing users to default settings actually, they would happily remove about:config if they could.
I can add an ignore formatting line, but then people would ask why I did that. We have a styleguide to increase readability and make code-reviews easier.
Is it a sound setup? I personally think it is. It promotes good standards and can sometimes even help catch some issues related to structure and code flow.
You misparsed that sentence. The small companies offer better salaries, the large company cuts labor costs, by cutting labor costs they can compete on price, by competing on price they win market share, meaning small companies go out of business.
Unintended consequence - workers who are sick or have large families and need government aid get fired. The goal is good. But this exact method is flawed.