skysight-inc/HackerNews huggingface dataset:
Below is the list of feelings, which, according to the article, the NYT is now predicting with ML models trained on a proprietary dataset collected internally from a sample of articles shown to a sample of readers. I've marked positive feelings with `(+)`, negative feelings with `(-)`, and feelings which could be viewed one way or another, depending on context, with `( )`.

Remarkably, a majority of these feelings are positive, so this advertising initiative, which has been successful at increasing per-ad revenues by as much as 80%, is creating a financial incentive for the NYT to produce content that generates positive feelings in readers!

On its face, this is shocking to me. I would have never, ever expected positive content to be more profitable than negative content! In hindsight, however, after thinking about it a bit, it kind of makes sense. I'm now wondering, could advertising perhaps become (gasp) a force for good, at least in certain settings?

NYT PREDICTED FEELINGS
Optimistic (+)
Inspired (+)
Self-Confident (+)
Amused (+)
Adventurous (+)
In the mood to spend ( )
Love (+)
Sadness (-)
Boredom ( )
Interest (+)
Fear (-)
Hate (-)
Hope (+)
Happiness (+)
Nostalgic ( )
Indulgent ( )
Competitive (+)
Informed (+)
>Tweet sent from an iPhone.
In this particular context (large, professional groups), I think the idea is that there should be no sexual advances or presumption of sexual advances at these professional events.

> I've even met some that expect others to know they aren't showing any signals - and thus every sexual advance is unwelcome even if they say nothing about it being unwelcome.

The baseline assumption is that no one is sending signals in a professional context (even if some do, even if some do with malicious intent). There are graceful ways to initiate engagement in a non-professional context that opens the doors for appropriate signal sending. Even this must be handled carefully, since one person may be thinking “romance”, while the other is thinking “professional socialization”. This is especially true if one person is in a position of power (e.g., a VC in a start up community).
Or you could build higher. For reference, San Fran has 26 skyscrapers and 900k people. Chicago has 123 skyscrapers and 2.7 million people.
PWM-switched mux/demux with signal input then :).
This is true, which is why machine learning has long since learned to not even think of what you describe as a meaningful measure of accuracy. If you look at the linked paper [0], you'll find that the author uses the "ROC AUC" metric [1]:

>The ROC AUC score represents the probability that when given one randomly chosen positive instance and one randomly chosen negative instance, the classifier will correctly identify the positive instance

[0] https://arxiv.org/pdf/1902.10739.pdf
[1] https://en.wikipedia.org/wiki/Receiver_operating_characteris...
They both got the stock ticker that matches the company name, but could that be a bad thing? eg. If you google "lyft" it brings up the company and an Ad to drive for lyft, so to see the stock price (in G) you have to type "nasdaq:lyft".
It's just a specialized renderer for the same database. But the project cares about the data model and helps curate the data. See https://wiki.openstreetmap.org/wiki/OpenRailwayMap
> A rocket engine nozzle produces thrust only for the part where the pressure is greater than atmospheric pressure.

A rocket engine produces thrust when its chamber pressure exceeds ambient pressure, which is trivially true for any rocket engine. The flow coming out of the nozzle can have lower pressure at the exit plane than ambient and still make plenty of thrust. This is called "overexpanded" flow, and is the regime that produces shock diamonds in rocket and afterburning jet engine plumes at low altitudes.

Reduced to quasi-1D form, thrust is given by:

T = mdot*(delta V) + (p_e - p_a)*A_e

Where mdot is mass flow coming from the nozzle, delta V is change of velocity of that efflux with respect to the vehicle reference frame (in a rocket, it is just exit velocity, in an airbreathing system, you have to take into account the incoming momentum), p_e is static pressure at the exit plane, p_a is ambient pressure, and A_e is the area of the exit plane.

In an overexpanded scenario, p_e < p_a , but the majority of thrust is coming from the momentum change term, which is the one containing mdot.

Nozzle performance is optimal when pressure at the exit plane matches the ambient pressure. This is when the exhaust velocity is maximized and the pressure thrust term vanishes. It can be shown (undergraduate aeropropulsion course homework) that you get more thrust from ideal expansion than from pressure thrust (underexpanded regime).

The point you are trying to make is that an air-launched system allows the rocket to start with a higher area ratio than if it were ground-launched. In the ground-launched scenario, a large nozzle area ratio will suffer overexpansion losses and how large you can go will also be limited by structural implications from the internal nozzle separation that will occur with gross overexpansion.

While this is all true, the reality is that the additional rocket performance you can get from a larger nozzle area ratio is not that compelling in light of building, operating, and maintaining an entire air-launch aircraft platform. You're better off putting that money into incrementally larger propellant tanks due to the lower mission-averaged Isp associated with the ground-launched vehicle.
What is way way faster here? Are you only comparing COPY versus individual row INSERT statements?

I prefer using COPY ... STDIN/STDOUT. AFAICT, you get the same bulk table access performance. But, the external file access is via the client, separating DB rights and filesystem rights. When appropriate, you can also SSH to the server and invoke psql as a regular user there, manipulating files under that user's control on the server filesystem.

The psql command also provides built-in \COPY command to make it easy to combine several such commands into one transaction in a SQL script. It looks a little like the SQL COPY command, but accesses files on the client side and executes equivalent COPY ... STDIN/STDOUT statements on the server.

In Python, you can use the copy_expert() method with psycopg2 connections to access the COPY ... STDIN/STDOUT feature for similar bulk ETL. However, Python will become the performance bottleneck if you try to do any real row-level processing rather than just relaying byte buffers to/from the filesystem.
It's just an interesting artifact of NYC in the 1970's where artists took over abandoned manufacturing spaces and (illegally for a while, then protected in the 1980's) converted them into living/working spaces, which eventually got the neighborhood back.
Not a bad document, but not very researched either. I skimmed and noticed that for example, it is quick to assert that olive oil will smoke, even though it's hard to reach a temperature where even extra virgin olive oil will start smoking.

Edit: Wait no actually it's even worse, it implies extra virgin olive oil will not smoke?

> Vegetable oil – as mentioned, can be replaced with other high heat oils like peanut oil. Butter will
burn, olive oil will smoke. Extra virgin olive oil costs pennies more, I always get it over olive oil.
MySQL also offers this natively which allows for speed improvements compared to calculating it yourself in a script: https://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-...
Compile-time code/type generation and verification, which leverages advanced template functionality and constexpr extensively. For applications like database engines with dense, complex data structure interactions, this facility allows you to make fairly deep guarantees about correctness at compile-time that would otherwise require mountains of runtime assertions that as a practical matter programmers won't write with sufficient coverage and may not be tripped in testing in any case. If you make code/design changes, it won't compile if you've introduced one of many common bug types that are otherwise hard to detect when writing code. In my experience, these kinds of bugs are more common than memory safety bugs (which in my experience are a non-issue for modern C++).

This is fairly magical when you use it but it requires a different coding style than some systems programmers are used to. Instead of writing code, you end up writing a lot of meta-code that generates and verifies what actually gets compiled. Recent versions of C++ have invested a lot in making these facilities expressive and reasonable to use in complex software. In my experience this has substantially reduced the code defect rate and simplified testing. Once you've written a system this way, it is very hard to go back.

Not having these facilities would be a huge step backward for writing practical high-assurance/high-reliability code. AFAICT, Rust is still quite primitive in this regard.
These 'per driver' stats are not worth comparing when one company operates globally and the other operates in US+Canada. Nothing can really be concluded from them.
Looks like Uber is better on every metric, total volume, growth, revenue, the only area they are behind is margin where they are taking less from their drivers than Lyft is.

While Uber looks healthier especially given it's size, Lyft's reception after the IPO was quite negative, with the stock falling 30% immediately in the days that followed.

Even with better economics and larger scale the larger question looms, which is how do these businesses turn profitable.

Are they subsidizing a market and creating it by charging less, or will they reach a certain scale and be able to cut back on certain expenses which will give them profitability.

I don't think Amazon is a fair comparison here, because they were investing in infrastructure, building out global logistics, which is different from Uber and Lyft. They should be much more profitable because they don't have to invest in that. They don't know warehouses and logistics, and everything else that e-commerce required.

Also in the case of Amazon the supposed profits would be reinvested in the business with large CapEx spend, here it seems that the negative margins are being spent on sales and marketing, which isn't the same as what Amazon was doing when it was treading in the negative for a decade.
Thanks for the encouragement to do the right thing asap.

Your reply is quite powerful and understandable. Do you practice "Non-Offensive Language"?
Sorry, I should have given more detail. Both Smalltalk and Lisp use reflection for editing in place. The IDE, or REPL, is part of the process being edited.

I'd like to use an external debugger, based on ptrace or the like, to accomplish the same development style, but without (necessarily) having any reflection in the program being developed, and without the need for tooling code comingled with program code.
Fitbit?
There may be more static analysis tools available for C++, but the quality of the static analysis built right into Rust's type system blows all of them out of the water; no tool for C++ that I've used (Coverity, Infer, PVS-Studio, ...) can reliably prevent use-after-free or data races.

Due to the type system, safe Rust code has much less need for sanitizers (leaks and lock order checks are useful) or fuzzers (they'll only find infinite loops); granted, you do have a point in that sanitizers are very useful for unsafe Rust code.

There's AFL for Rust: https://github.com/rust-fuzz/afl.rs

[Edit:] With regard to theorem provers, my understanding is that you typically work in some sort of functional language and the correct C/C++ code is generated as a final step at the end (program extraction); certainly Coq and the HOL family work that way.

There's already Rust program extraction for Coq, although I wouldn't be surprised if it's not as mature as C yet: https://github.com/pirapira/coq2rust

In other areas, Rust already has an advantage; compare Cargo with the Babylonian chaos of C++ build sytems, where the question isn't even which one you want to use, but how many different ones are imposed on you by external constraints and how to integrate them without going crazy.
Apple and Qualcomm’s blockbuster lawsuit starts Monday, here’s why it matters
Based on the feedback here, it's hard to imagine anyone choosing Cosmos DB over Spanner or just CockroachDB. I'm not familiar with the AWS equivalent, but it seems like Azure isn't exactly setting the bar high.
I think this is true for just learning the language alone. But for the type of productivity the grandparent post is talking about the language ecosystem can be a bigger challenge, at least for me.

It wasn't in academia, but I spent a while working on one of the major native front end platforms almost exclusively and had the opportunity to get very familiar with it. And by 'familiar' I don't mean just knowing where to look things up, I mean knowing many of the exact APIs by heart, and having a wide variety of things I could just type in (without much looking things up) even if it involved working with images, network requests, JSON, file IO, string processing, dates/scheduling, collections, serialization, menus, windows, controls, input, drawing, sound, etc.

Another big thing was when there are multiple ways do the same thing, having done it both ways and having direct experience of why one choice will likely be more effective in general or for a particular project. This can apply to choosing libraries/frameworks or app architectural decisions.

I noticed I missed this level of familiarity quite a lot when I switched to a different ecosystem later. Maybe this is worse for native UI development because of the large API surfaces. But I found needing to consult the documentation again to be a lot slower.

Having had that experience has kind of made me wonder about full-stack vs specialization, and optimal-language-for-the job vs standardizing (although of course some languages are totally inappropriate for some jobs). At least in my own experience I found sticking with the same language for a while to have continuing productivity benefits well beyond the 1 week/month period.
America's illegal wars can be stopped from anywhere. All it takes is for the truth to be revealed by those brave enough to stand up to the establishment, and reveal their crimes.

It can be done from anywhere on the globe, as we have learned from Wikileaks and others working to expose the crimes of US's criminal military-industrial complex.
>
That is why the small startup has to do what FANG is not willing to do, like full remote work anywhere for everyone.

This is in my opinion (because of the infrastructure) easier to do for FANG than for the startup.
> The fact that it's "generally accepted" among the media and intelligentsia is no reason to assume it's actually true. They're the same suckers who bought the WMD lie.

For what it's worth, the intel community wasn't behind the false claims of WMD in Iraq and the news basically was just being given false information from the Bush admin. The CIA was investigating it and writing reports showing that they didn't believe there was evidence of WMD. It was a small circle of Bush admin conservatives who were lying to the media about those reports. That's actually the core of the whole Valerie Plame affair [1].

That's not what's happening here. Multiple independently-managed intelligence agencies are agreeing that there's evidence Russian-based hackers infiltrated the DNC servers. A few foreign intelligence agencies have added evidence to these claims as well (Dutch intelligence, for instance [2]).

> Bear in mind that being sloppy and deliberately leaving a misleading trail look the same and deliberately leading a misleading trail is standard opsec.

Couldn't this same logic be applied to everything attributed to US intelligence? Maybe someone else fabricated the CIA Vault7 leaks, because surely the CIA is too smart to get caught. Must be opsec. And maybe Iran's nuclear program failed on its own and they blamed Stuxnet on the US and Israel? At some point this takes a turn towards conspiracy-based thinking though...

You're willing to go out of your way to believe in mass delusion or conspiracy within the media and intel communities to avoid believing that maybe Russia did hack the DNC. If the evidence is a lie then multiple independent groups are conspiring to perpetuate that lie. How big is this network of conspirators?

Or maybe Russia did hack the DNC and Assange is the only one lying about their source?

[1] https://en.wikipedia.org/wiki/Plame_affair

[2] https://arstechnica.com/information-technology/2018/01/dutch...
Thinking deeply about Amazon cloud and infrastructure code
Historical methods used to calculate rate of inflation
Not being able to create a secure string parameter was the first problem I ran into with CloudFormation. That’s how I happened to know that a custom resource for it existed.

But, creating a custom resource is relatively easy. I’ve had to create a few for things that are really “custom” to our environment.

I used these as templates —-

https://github.com/stelligent/cloudformation-custom-resource...

One issue that really seemed like an oversight is that you can’t add a event subscription to an existing S3 bucket. I had to write a custom resource to do it.
I may be taking your post at face value, but I suggest if you are using skip, i.e. LINQ Skip(), that you stop. SQL's performance using OFFSET is pretty terrible when you start getting into the 10's of thousands of records. Instead, use seek instead.

Here's some random google result that talks about the concept. There are plenty out there though.

https://blog.jooq.org/2013/10/26/faster-sql-paging-with-jooq...
Word! And same for me at new jobs. I also tend to be the one who writes docs, gets testing automated, CI.

Too many developers think banging out code as fast as they can is "doing their job well".
Food should be public good, then.
My buddy works for a law firm and was telling me that they often represent technology companies when they IPO. It turns out there’s an intense amount of research that goes into the S-1 process. The law firm makes a huge spreadsheet, with each row representing a sentence from the S-1, along with evidence supporting the truth of that sentence. They do this because, if the price goes down after the IPO, there’s inevitably a lawsuit, and the company needs to justify everything it said in the IPO.
What about segregation? In Sweden most people are in favor of rent control. They don't want the rich being the only ones who can afford living in nice areas and let the poor be lumped together in bad areas.
https://www.mintpressnews.com/empty-homes-outnumber-the-home...
The author is in the following thread if anyone would like to ask questions: https://www.reddit.com/r/rust/comments/bcz7d4/orgrs_org_pars...
> the whole stratolaunch plan is predicated on developing a new air-launched rocket, and we just don't know what the specs on that will be

Neither will Stratolaunch, any time soon:

https://spacenews.com/stratolaunch-abandons-launch-vehicle-p...
He acknowledges your point in the article but says that most people don't have to administer their own cluster VMs - GKE makes it easiest but he also mentions a smooth experience with DigitalOcean's managed Kubernetes, for example.
No.

The event required all teachers to not only agree to the CoC, but to sign and return it.

There is a distinct difference between "Our policies are now this", and "You will sign and affirm that you will follow our policies."

One is a loyalty oath. I don't like loyalty oaths, and I certainly don't take them without significant consideration.
It would’ve allowed you to file complaints with the AG. But Google and Microsoft and Amazon thought that’ll jus lead to too many class action lawsuits lol

I guess they’re listening in then
On my Mac, I can download the Apple speech recognition software and it accurately recognizes all of my speech. I’m not from an urban area and it does a great job recognizing new words. It takes under 10 gigabytes of storage, if I remember correctly. So I don’t know what you’re on about.
> You can spend a year (seriously) just drilling down the source tree, more than a half million folders containing the code for every component making up the OS workstation and server products and all their editions, tools, and associated developement kits, and see what’s in there, read the file names and try to figure out what does what.

This makes me really want to know how they manage to document everything to make such a huge project easy to work with.
Ah, that's cool to hear. Which features of cargo versioning am I missing out on then?
I’d say overall it’s a good thing, because you can say the ticker and people will know what company you’re talking about.

Try that with Boeing, Intel, or Starbucks.

Who cares what Google shows.
This woman in the article wasn't wealthy, and the apartment wasn't really "habitable" (no head, for example) if they turned it over. She wasn't "getting away" with anything.
>Yes, some state agencies can break that law, that's why you've got the checks and balances system.

Nobody served time for breaking the rules. They act like they're obeying their interpretation of the rules now, but since we know they lied for years and nobody was punished it would be silly to believe them. Do you think the checks and balances of the US system did their job in this case?

>Countries like China fall short in all departments.

I'll agree that they censor more. I'm not convinced that their checks and balances against illegal surveillance are better, since I see no believable evidence of US checks and balances working in this department.

>And the Snowden leaks couldn't have happened in China,

Snowden flew to China before letting the leaks drop. Could a Chinese national not leave the country and drop a leak? Why is this impossible? I'll buy that news coverage would be more censored, but that isn't your claim.

>so presenting it as proof that Western countries are as bad is what's silly.

This doesn't follow regardless, if it did then any leak of any abuses whatsoever couldn't be used as proof simply because it was allowed to be published. Is this the only metric we judge governments by?

>so I probably know how the world works better than you ;-)

Relatively novel experiences can be useful, but it would be foolish to mistake them for wisdom.
Could be a fun startup idea: NLP for securities legal action against IPOs for investors.
Interesting!

This heading sounds off "Despite Pocketing More, Lyft Loses More per User". Shouldn't that be "Uber loses more…"?
This!

Semver uses the version number to convey useful information. Getting rid of semver just eliminates that information.

If you want to bump versions for marketting, that's perfectly valid. Just use a separate product version.

My SVN commit numbers and git hashes also fail to convey useful marketting information, but that's no reason to get rid of them!
If the reported size was from that fs command (assuming that is similar to linux's du) and that he did it in his git clone version, then it includes all the git files, including file versions (that with 60k changes every 2 weeks should be pretty huge), and branches (different editions, targetted to different markets, etc, that may not have trivial changes).

I don't think he copied the structure without the git files to make the count, nor deleted/moved elsewhere the .git directory for that. Neither that is just source code there, (versioned) bitmaps, third party drivers blobs and more probably it's there too.
Maybe you're not looking in the right places?

I've interviewed in a different city and been willing to relocate there. I don't have a lot of roots here besides family (who honestly probably love that I get out of the state) and this isn't a great location to begin with.

I can't be the only decent developer fitting those criteria - I'm sure some new grads or even mid-levels might be open to moving.

Or is your "shortage" actually a "shortage of people we deem suitable for this position and already live here" and not a general tech shortage?