skysight-inc/HackerNews huggingface dataset:
(Many, many years ago I was working on the Zeus web server, and we went to surprising lengths to avoid syscalls for performance.)

Snap!

IIRC, ZWS used shared memory to mirror the results of the time() syscall across processes, to save a few nanoseconds on some operating systems :) That was before Linux and other OSs used techniques like the vsyscall/VDSO mentioned in the stackoverflow discussion...
From a Linux perspective, threads and processes are essentially the same construct. The major difference is the set of flags that are passed when the process is created. Oversimplifying, if shared memory is requested, then it's a thread. Otherwise, it's a process. Meaning forking servers are multi-threaded.

On other operating systems, specifically those starting with the letter W, there's a major distinction. There are other constructs as well, such as "fibers".

Now, today's world is different from what it was in 1995. We used to have a single core, so threads and multiple processes were only a logical construct. Now, we have multiple cores, so we shold, at a bare minimum spawn multiple processes/threads. What's running inside them can then be debated as if it were 1995.
The secret origin story of the iPhone
Hess and Markram didn't invent topological analysis of neuronal networks. They are not mapping the brain. This is a fluff piece that didn't bother to check with anyone else in the field if this paper is as groundbreaking as it's being presented, which is the absolute minimum of journalistic rigor.

The claim this ended up in Frontiers because no one else in neuro theory has heard of algebraic topology is laughable.

e: To be clear, I don't think this rises to the level of "Sokal hoax" -- it looks like an interesting result. I also have an interest in the role massive simulation can play in discovery. But to misrepresent topological analysis as an entirely novel approach or package it with phys.org-press-release nonsense like "mapping the brain in 11 dimensions" is both a disservice to the rich field on which it's building and adds noise to public communication about neuroscience, which is already plagued with bullshit.
> Is there any hope for me, or should I look elsewhere?

That's subjective and is up to you. I don't see any reason anything you've mentioned necessarily disqualifies you from a programming job.

It seems like you are taking the rejection from the VP to heart. Consider something else -- they decided to interview you knowing that Python was in the req and wasn't on your resume. Either the VP is disappointed at HR wasting his time or he was willing to give you a chance. If it was the latter, what could you have done to impress him / show some competency in the required field? Could you have offered to study the language and do an interview homework assignment? Could you have played up your current programming skills? Did you have enough time to learn the basics of the language before the interview?

> I spent a year working on an ecommerce site ... I never had to use design patterns nor data structures. I just pieced it together.

You built a project! Focus on the positive. Even better if you did it by yourself and on your own initiative (not as part of a class project). Unless you installed turn-key software, it certainly did require data structures (arrays, queues, hash tables / associative arrays / dicts) and algorithms (sorting, database lookups). Most basic web work only uses a very few vanilla ones. Unless you've already optimized it, you can probably find a way to do multiple things in parallel or batch some DB queries and then highlight that. Web sites frequently can benefit from memoization or caching. There are TONS of tricks for serving web pages faster[1].

There's a world of security-related topics surrounding ecommerce / web sites (XSS, SQLi, clickjacking, etc). There's also web fundamentals that I question interviewees (http protocol, auth, sessions, cookies).

> I passed all the shown test cases, the final results showed that I got the following scores 13%/95%/0%

Would you feel more or less competent if that 0% score was a bug on their end? Consider both forks of the decision tree. Consider the likelihood of each. Do something about it. Try to tweak your submission and iterate. Or focus on a different tool. Try "code golf" on HackerRank or try math problems on Project Euler.

[1] https://developers.google.com/web/fundamentals/performance/c...
When driving, you're supposed to leave an 'emergency stopping distance' between you and the car in front.
Note that this includes 10 meals per week. Maybe that's worth $200/mo.
Anecdotal, but it seems that iOS users use the water gun emoji as a normal gun, ignoring the font rendering.
before briefly working at a car maker, I was completely oblivious too. But there we had those crazy discutions about hitting pedestrians without breaking their legs, and designing the hood to receive them with less injury, and bumper height that would be more or less the same for many cars.

here is an extract from a euroncap test (Volvo S90->pedestrian->Comments): "The S90 has an 'active' bonnet. Sensors in the bumper detect when a pedestrian has been hit and actuators raise the bonnet to provide greater clearance to rigid structures in the engine bay. Volvo showed that the system deployed for a variety of pedestrian statures and over a broad range of speeds. Accordingly, the system was tested with the bonnet in the raised (deployed) position. Protection against head injury was almost entirely good. The protection provided by the bumper to pedestrians' legs was good for all test locations and maximum points were scored. However, protection of the pelvis was poor at nearly all test locations."
82" is not particularly wide - the Excursion was huge because it was long, not wide (it was a Ford SuperDuty pickup turned in to an SUV). The Jeep Grand Cherokee is 85" wide, the Explorer is 79", and to throw a minivan in to the mix, a Honda Odyssey is 80" wide.
Nginx and Erlang single threaded? Uhhhhh, that's just not true.

Nginx and Erlang most certainly use multiple threads by default. They both use thread pools. I'm not sure about Erlang but Nginx has a single master thread that does async select on the main socket. Once it receives a connection it hands off to worker threads. This is a traditional multithreading setup with control/worker threads.

Node doesn't support threads because JavaScript doesn't. Performance would certainly be better for many workloads if it followed a traditional multithreading approach like Nginx. Async != Single threaded. They're not related concepts. You get the best performance using both non-blocking calls and multithreading , an approach used by Nginx and Netty. They both use nonblocking IO on the main thread and thread pools.

Node requires you to manually yield by calling Response.end() because it doesn't support multithreading. This basically duplicates OS level pre-emption manually and is my single biggest criticism of node. The worker/master thread model allows the runtime to manage worker resources or just defer to the OS in a flexible way.
We built the videos on providers platform, so a little out of our hands. But Alec Muffet has done loads on making it easier to spin up Tor hidden services - so I might reach out and see can we make that happen for them.
Try Vivaldi - it's basically Chrome without the Google-everything, supporting almost all extensions too, and pretty fast.
Matrix chain multiplication was added to NumPy recently, see numpy.linalg.multi_dot:
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/...
AWS EC2 Container Services | Software Engineer | Seattle, WA | Full-time, Onsite | https://www.amazon.jobs/en/jobs/544896

The Amazon ECS team is looking for Software Engineers to build services that allow our customers to run, manage, and deploy Docker containers at scale. This team addresses very unique scaling challenges that directly impact how developers and organizations consume computing capacity in the cloud.

This is an opportunity to be part of a world-class team in AWS. You will design and operate distributed, highly available, fault-tolerant systems on a massive scale. This is a high growth team as we are working in the competitive and rapidly evolving space of containers and orchestration. You will be building the future!

To learn more about Amazon EC2 Container Services:
https://aws.amazon.com/ecs
We started the process of learning to code a few months back.

Right now, we focus more about developing "the engineer mind" rather than syntax.

The design process and thinking through the problems are much more important.

In this video, we talk through a project idea she had and work through it. It all comes together in the end of the video where I "translate" her thoughts to syntax.

We had a blast, people asked questions in the chat and it really motivated her to continue with it.

Previos blog posts:

https://hackernoon.com/fun-flash-cards-react-native-app-i-bu...

https://medium.com/@kensodev/dad-i-have-an-idea-for-another-...
> and leads to business models to suck people into spending more time posting cat videos

It's the new opium for the masses
You are way off topic, I never said I believed in random nonsense and that magic fairies exist. I said we interpret reality in our head and everything is subjective to our own reality.
Threads aren't particularly low-level; they're more like a mid-level concurrency abstraction. The whole point of a thread is that you get to use abstractions (like semicolons, variable access, function calls, and program stacks) that are familiar from sequential programming in a concurrent setting.

At the machine level, these are all done with interrupts, shared memory, CAS & LL/SC instructions, and memory barriers, which actually tend to map more closely to the event model.

In the middle, there's a whole family of concurrent data structures - semaphores, producer/consumer queues, mutexes, transactions, etc. - which really are worth learning about.
Fine, but if they're honest, it should be the "class floor" coming from them.
Nice. I started with the Vic 20, and eventually a tape deck, then progressed on to your setup. :)
Don't think for a second that these are isolated incidents. These things happen all the time, it just so happened that people like Susan Fowler fought back. I've seen these things happen constantly.
Today, there are many places that have big clusters of multi-processor machines, and none of their code is threaded. They get cpu concurrency by message passing between heavy-weight processes and with other nodes.
“People who claim we’re in the sixth mass extinction don’t understand enough about mass extinctions to understand the logical flaw in their argument,” he said. “To a certain extent they’re claiming it as a way of frightening people into action, when in fact, if it’s actually true we’re in a sixth mass extinction, then there’s no point in conservation biology.”

Great to know. I still feel it's important to form a deeper bond with nature in order to be healthy, creative, fulfilled, and ultimately have peace of mind.
Debian Stretch will not offer security support for Node JS
Elixir Cross Referencer: new way to browse kernel sources
Ha. Your README was very honest at the time :)

It was very encouraging for me to see some ports to C/C++ already in progress. At the time, it was definitely an overwhelming notion. That chunk of JS code looked impenetrable to me.
worked 4 jobs + lived at parents. respectable, but not what I would expect from the average person.
I forgot about that. From what I just re-scanned, you aptly phrase it as "under threat of what might happen" if Bartz (former YHOO CEO) had fought it out.

From my crude timeline (below), I'm assuming that YHOO was more concerned about Alibaba (PrivateCo + Chinese jurisdiction) embezzling the rest of the assets, not that Alipay was extremely valuable and en route to becoming the most valuable private company in the world -- which it did!

2014: Alibaba goes public with IPO...

2011: Alibaba spun off Alipay and settles with Yahoo for 37.5% of Alipay (with $2-6B contingency clause should Alipay undergo a liquidity event.) This is after Jack Ma got tapped on the shoulder by the Chinese government and told he needs to comply with new regulations for third-party payment services. Or at least, that's Ma's story.

2001: Yahoo purchased 43% ownership of Alibaba in exchange for Yahoo China and $1B
That 'lol' stopped me in my tracks and I thought seriously about commenting but decided (incorrectly) it was too trivial a nitpick. I'm glad you spoke up.

The other thing I thought about the article is that I hate being told what the Sokal Hoax is _every time it's mentioned_, doesn't everyone know by now? Also, aren't most people (okay, the sort of person who's reading a Wired article on computational neuroscience) going to know that bagels and coffee-cups are topologically identical? It's not that esoteric is it? And that's happening more and more these days. I think if you're writing about complex neuroscience you've got to assume your audience knows about these things. Is that a small or big gripe, I'm not sure. Grumble grumble.
I looked for an ad-blocker badged "Compatible with Firefox 57+" and noticed ABP and uBlock Origin didn't have this badge.

I was hoping FF would get something like Safari's Content-Blocking Rules. For such a common use case its an area ripe for optimization.
I agree. I don't see Berkeley growing too much outside of the downtown simply because it has a lot of character that people are attached to - and lots of wealthy people that are retired or just aren't looking for change. Still, there are still empty lots around so loosening the process to get housing approved would help.

However, the long term fix I think should be that UC should stop annually increasing the number of students it accepts to UC Berkeley. I know this probably would never happen - but I don't see another solution. Why not benefit another aspiring area of California? Berkeley will not grow so where will the students go?

Similarly, if the Bay area has decided it doesn't want to grow upwards, then there should be more incentive to grow outwards. There should be a cap on the amount of office space growth in any given city unless housing grows equally... again I doubt this will happen. But I think it would be smart. People go where the money is, then comes the infrastructure, then comes other small businesses, etc.
> The biggest threat they faced was from erosion

I've always thought that was incredibly cool. These trees live so long that a primary cause of death is the mountain literally eroding away from beneath them.
Yes, $2.00 worth.
> they don't seem to want to just rip-out Gecko and put Servo in there

It's hard enough to change the wheels of a car while driving on the highway, you really don't want to do all four at once.
This must be a Valley thing. My company (in NYC);provides dinner at 8PM Monday - Thursday, but the office is usually a ghost town by 7. Of course, we don't really provide breakfast or lunch either.
I did miss his point. Best I could tell he didn't have one. So to me his comment had zero value. Do you think it should be down voted because it has no value to me even though it may have value to you?
I don't think it is unreasonable to assume everyone already has a 64-bit capable PC considering the most recent mainstream 32-bit only CPU is 2004's first gen Prescott Pentium 4.
Everyone kicks down. I've seen drivers treat cyclists like shit, and seen cyclists treat pedestrians like shit. In my hometown there have been a couple of deaths of pedestrians because cyclists are too busy being macho on their morning commute. As a pedestrian, I've been buzzed and verbally abused by cyclists riding where they're not supposed to.

Yes, the cars:cyclists thing is more dangerous to life and limb, but cyclists:pedestrians has the same proportion of arseholes. I'm not sure who pedestrians 'kick down' to, but no doubt they'd be the same if they do.
Most financial market data comes with strict licensing models. To get data from NYSE, NADAQ, CME or most other exchanges you must sign the agreements. Selling this data to vendors, news networks or end consumers is a large portion of the exchange's revenue.

The more granular or quickly you want the data, the more it will cost. In addition to paying for the initial data, you are not allowed to redistribute the data, in real-time or historically, with out paying royalties to the original data providers per user.

This creates a complicated accountanting system for data delivered to end users of the data.

Aggregate market data vendors (Factset, Bloomberg, Activ) pay for the initial data and then pay per user/query/etc...

Some data becomes available for unlimited distribution based on licensing, usually this data is time delayed and not allowed to be queried for historical analysis. You'll often see things on Yahoo or Google Finance that say "market data delayed by 10 min".

One of the most common sources of this delayed data is yahoo and there are open APIs for querying it. Usually in Python or a statistically language like R.

Interactive Brokers has an API you can add to your brokerage account for programmatic access across multiple exchanges. Which provides market data and order entry.

If I miss understood you, and you are interested in a open API standard for financial data there are several FIX, ITCH and OUCH are some. But they are almost always forked per exchange and sometimes even per product.

tl;dr It's not the API or infrastructure that costs, it's the data itself.
Ironists of a Vanished Empire
I only learned of pv from this article so I can't speak much about its buffering. I would guess that the kernel would try to re-use recent freed pages to minimise cache thrashing. But anyway, on the 'yes' side, the program isn't re-allocating its 8kb buffer after every write(), so there's a lot of data being re-read from the same memory location.
Jobs succeeded, but plenty of male rescue CEOs failed without drawing the sort of ire that Mayer has.
I'm getting tired of defending prop 13.

I guess it's a combination of projection, and our poor educational system? (Yes--I wish they talked about housing, property taxes, and political fiscal waste in school--any school?

Repeal Prop 13.

See what happens. Watch the politicians spend that money on everything other than housing. Hell--west Marin in California would be loaded with housing units if not for the millions of dollars Supervisor Gary Giacomonni spent fighting for his cause. He wanted to change the zoning to 100 acres per home. And with that big piggy bank of tax payer money, he pulled it off.

In his last interview, he admitted if not for prop 13, that area would have highways, and thousands of homes, and apartments.

We need to encourage developers to build apartments. Not luxury condos, but apartments.

I actually given up on housing. I think we are at the point we need to make being homeless not a crime. We need to open up federal, state, local parks, and county land to camping, until we figure out this housing problem.

I guarantee we will be talking about housing in ten years, and most of our income will be paying enormous amounts of rent.
The human brain can create structures in up to 11 dimensions
Text is text, isn�t it?
Holy shit, it's not a plaintext password. sigh read about plaid. I linked to it.
Vivaldi is closed source though.
Are you genuinely suggesting these are the areas of Berkeley that are the subject of the article and general sentiment?

Emeryville is a veritable utopia at first glance and has tax incentives for businesses out the wazoo.

I'm open to the idea that these areas could be developed, but most mission hipsters consider these areas ikealand at best.

I tend to think the valid critique of high prices in berkeley surrounds the existing popular areas.
(2012), summarizing a 1957 report on a 1955 experiment.
The Archive has a copy of the article if folks are having trouble accessing the site: https://web.archive.org/web/20170613200242/https://cacm.acm.....
blockchains with smart contracts can automate away entire financial industries; title holding company comes to mind.
So what will be the practical difference between 99.4% (at my home) and 100% about 35 miles away. Is it worth the effort to travel to the true totality zone? I do unfortunately have a commitment that day, that I cannot avoid, about 2 hours before the max obscuration passes by.
I knew who I was dealing with before he said anything. ;)
I don't really follow what you are suggesting. What would suddenly make them taxable? And, the IRS would tax employees because their employer pays for dinner? As in, it qualifies as income, somehow?
No, but downvoting people who does not share you opinion is. Double-plus for downvoting people that calls you on your hypocricy.

The terapeutic modalities you have label under the collective label of "bullshit" is a valid options for millions of people in America alone. And the reason this is so is because doctors distill hubris in their interactions with everyone else (like you), and then when they are found in a mistake or in some sort of self serving scheme, they pretend nothing happened (like you) and try to blame someone else (like you).

What to help science win? You need to win back the hearts of all those millions of people that got disillusioned with modern medicine. And the way to do so is to treat people with respect and let the strenght of your arguments set the direction of the debate. Once you have to resort to censorship and name calling, you have already lost.
Where do you think existing residents go when migrants take over the existing housing stock?

Like many in this debate, you seem to think that preventing housing construction prevents population change. But it only preserves the size of the population, not the composition

There is more than enough demand already to unseat every long-time renter by outbidding them at lease renewal time, and this is happening. No developer intervention required.
Observational and experimental are not opposed attributes. For astronomers the universe is the laboratory, and that is fine. An astronomer can say "I predict binary black holes to emit gravitational waves of a certain sort" and then go and find a binary black hole system and see if it does. That is experimentation.
But value is subjective so he had a point, but you choose not to accept its value. ;)
Fair point; I will try and avoid using "females" in the future.

FWIW, the main reason I used this phrasing was that I had already used the word "guys", but wanted to steer clear of the analogous word "girls". Using the word "women" seemed like I would be suggesting some sort of age/maturity dichotomy between "guys" and "women", and it seemed to me that "females" didn't have such a connotation.
How Much Businesses Pay to Get on Those Big Blue Exit Signs
Yeah, this is some free management consulting. While it's tailored to a very specific problem at Uber, it's still a set of good best practices to consider.
Make a Keybase.txt Proof on You Blogger – Blogspot Blog
As a longtime browser of cross-referenced source generated by LXR [0] I found this article on their new implementation of the backend interesting.

[0] http://elixir.free-electrons.com/linux/latest/source
I have done a lot of work with code for handling pdfs.

The spec is 1000+ pages, references other docs, has many omissions and contains much that is apocryphal, or at least wildly inaccurate