skysight-inc/HackerNews huggingface dataset:
So I want to throw out something quickly - just because someone claims a photo has been shot on an iPhone doesn't mean that they shot it in the same way as you or I would. Lots of people have special lenses that they attach in front of the iPhone camera lens to get a macro / wide angle view. They almost always shoot RAW with an app that supports this. They also use a mini tripod to stabilize the photo and use techniques like long exposure.

https://pbs.twimg.com/media/EEH38ZxUYAQDPBT?format=jpg&name=...

There's also a lot of editing skill that goes into this - a photographer won't simply take whatever processing the phone comes up with use it out of the box.

I personally use the lightroom mobile camera to capture RAW photos and play around a bit with curves, exposure, hsl etc. to get the look I want. I assume if they're a pro photographer, they move the RAW photo to the PC / iPad and add some photoshop magic as well.

The output (depends on the photographer ofcourse but for the ones I like) looks very natural and doesn't have the same look as simply applying an instagram filter on top of an iPhone camera shot image.

Obviously the composition etc., that folks are talking about matter a lot as well but IMO, these days camera hardware is so good that you can get all sorts of detail out of what you assumed was a blown out camera RAW. Crops work fairly well too because of how high-res the photos are, so if you're not too pleased with your initial composition, crop + photoshop fixes will get you a long way. As a whole, photography these days is about 70% editing and 30% photo taking technique (lighting, composition, aperture, shutter speed, iso etc.)
Nice! This sounds similar to SoundCloud which allows for comments attached to timestamps (great for music, “what a chord”, “the drop here!”)
Great post, and fascinating experience :)
Ask HN: What is a useful metric for software migration effort?
As part of a migration effort for a number of analytics products, I'm trying to decide which products to migrate and which to EOL.

I believe two dimensions are important in predicting the lead time of moving each product:

- product size

- freedom to rethink the functional requirements

Are these dimensions sensible? How would you quantify each metric?
Where do you live? This is not my experience with adulthood at all, especially once I left DC.
It's in that zone where the limit between native content and advertisement becomes blurry. Where do you draw the line where an advertorial [1] starts? Or native advertising [2]? This type of content is likely to become more common, too. With the rise of ad-blockers, companies are putting more weight on alternative methods.

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

[2] https://en.wikipedia.org/wiki/Native_advertising
The headline is slightly misleading without context on how big the list is. Otherwise you could say

>Every major American city make the list of most surveilled places in the world

with a list size of 500.

Anyways, the list seems the top offenders seems to be China (by far) and UK (to an extent). No surprise there.

The list follows a power distribution, so the first few cities on the list are significantly worse than the others. For example, Chongqing and Shenzhen (in first and second place respectively) have around 160 cameras per 1000 people, but Atlanta (first US city on the list, 10th place) only has 13.06 cameras. Other western countries on the list are lower, but don't have much less cameras. Sydney is at 15th place with 12.35 cameras and Berlin is at 19th place with 11.18 cameras.
It's not? Our externalities might literally put some nations completely underwater. How much would it cost to raise the entire Maldives by 1 meter?
Simply because people are afraid of nuclear. Sure it's not a simple industry either, but when done right (look at France) it powers entire cities and allows for exportable energy!
Right, but they probably get close to zero from the self-hosted WordPress users. The revenue is from people paying WordPress.com to host their sites. That's the number of users that's relevant, and it's a much smaller number. The self-hosted users that are the majority don't count for much.
Huawei Mate30
R&D Tools – My way to remain competitive in this crazy tech world
If FakeSpot is doing well enough to be hiring people, this weekend project might actually have business value to it.
At least in the US, fuel taxes only partially cover road costs. Even if they did, fuel taxes hit more than just vehicles on roads (boats, lawnmowers, etc.) so it’s not that clear cut
globalization only started in the 80's
Well I don't know, I recently interviewed on a phone interview and then they wanted me to do some coding during the phone call through some shared codepen solution, what they wanted was not much more complicated then what you describe and something I should be able to do with eyes closed.

Really it was exactly in my wheelhouse where I do things a thousand times more complicated every day to general acclaim of the people I work with.

And I had the panic/freezing thing I've read about other people having before but never experienced (at least not that extreme) and as a result I totally flopped. I mean I sort of did what was wanted but not completely. I'm not explaining exactly what it was they wanted because it is too embarrassing to even talk about.

This has made me consider that maybe the number of applicants I hear about who cannot do the simplest thing has to do with some sort of personal panic/problem/not liking the particular testing method and not some actual permanent incapacity.

on edit: and not just embarrassing but also distressing like a guitarist suddenly unable to play guitar. It is actually hard to describe what the experience was.
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2811038

>Based on the 2014 German hourly feed-in and consumption data for electric power, this paper studies the storage and buffering needs resulting from the volatility of wind and solar energy, focusing on a “double-structure-cum-storage strategy”. While buffering wind and solar energy jointly requires less storage capacity than buffering them separately, joint buffering requires a storage capacity of over 6,000 pumped-storage plants, which is 183 times Germany’s current capacity.

>Buffering the overshooting production spikes associated with a market share of wind and solar of 50% would require an ideal, frictionless storage volume of 2.5 TWh or a storage capacity of 2.1 TWh in ordinary pumped-storage plants. This is about seven times the entire pumpedstorage capacity currently available in western Europe, including Norway and Switzerland; and 81% of the volume that the EU’s ESTORAGE project considers as “realisable” in western Europe.

Pumped storage is not a practical solution.
Per capita doesn't matter for cameras, you care about per area and arguably, coverage/holes, since 10 cameras pointing at one location/direction is (often) less informative than one well placed camera.

Indoors also matters a lot.

To this end, I'm really surprised that NYC doesn't make the list, given 9/11.
Yea you could think of it that way.
Click the link to find out! I did, and it turns out lots of users simply connected to the new site without TOR.
By that measure everyone benefits from public roads and should pay fuel tax even if they aren’t driving on them. That makes no sense.

You know farmers are exempt from diesel tax for farm equipment too, right?
Yes of course, i should have said “their competitors in sv”

Woocommerce users apparently make $10b in revenue, and i doubt they lose much, after all it s free
For land producing minerals, there is a special tax rule called “percentage depletion” available to some taxpayers. With percentage depletion, the owner can deduct a fixed percentage (15%) of gross income every year. This can add up to more than the original amount invested in an oil field.

Normally, the depreciation allowance for capital investment over a period of years can only add up to the amount originally invested.
I grew up in Eastern Europe and moved to Western Europe in my early 20s and the difference is that in the East, STEM was very popular for kids in high school and university as it offered access to engineering careers which were the most lucrative considering how poor the economy was in the 90s, helping kids of lower class background move upwards(just like in the US) and it would also open doors later in life to emigrate to the West.

Now in Western Europe, due to socialism and high standard of living, kids aren't that poor and tech salaries are not that much higher than any other desk job so they have no interest to study STEM as it's seen as stressful career path for boring lonely nerds and instead prefer to focus on social sciences, being wantrepreneurs or Instagram influencers.
The problem is that you're equating things that aren't the same. There's no way to deny that the American government thinks it's great, and puts in effort to convince people that it's great. That's the explicit goal of e.g. civics education.

What the American government doesn't do is require citizens to believe it's great, or forbid them from saying it's not. If you get on a soapbox and talk about how the system was rigged against Bernie Sanders, a lot of Americans will think you're being silly, but none of them will think that you should be arrested for subversion.
Scala.js 0.6.29
But when hired, they become tied to a company in a way that the average worker is not, pushing down wages. If they have a rare skill set the US is missing, it is better for both them and the workers they compete with if they are allowed to move over here without being tied to the specific employer, so the employer cannot use that as leverage to push down their compensation, and thus market compensation.
I'm not a big fan of design patterns. But the argument presented here is really weak. For instance:

> Since no situation in code is ever the same, the only way to see if a design pattern works for a code base is to try it.

Or you could think hard for a minute and predict whether it will work. I get good results with that.

> Refactoring code to a new structure is a significant time investment. However, everyone needs to make time compromises. Especially in software, where customers are won primarily by being the first on the market. So after the second or maybe third attempt to fit our code into a design pattern, we settle, usually for the last attempt. That is far from a rigorous analysis of which of all the available design patterns actually makes our code simpler.

Sure, if you need to try every tool in the toolbox you'll have a bad time. A carpentry theorist could argue, since you can't truly know which tool is best, you need to try pounding in a nail with a screwdriver, with a wrench, with a hacksaw, with a voltmeter, etc. But this isn't a problem for actual carpenters.
I mean wordpress in general, not just wordpress.com
People don't use mass transit when the density is too low for it. That happens more as a result of zoning than fuel costs, because fuel costs money but mass transit costs time. When you raise (long-term) fuel costs people mostly just buy more fuel efficient cars rather than driving less. Whereas if you increase housing density then you have more passengers per unit area and can increase mass transit frequency, which makes it more convenient, which causes more people to actually use it, which allows you to have even more frequent service etc.

The way to make mass transit work is to make mass transit better, not to make driving worse. Nobody wants something which is worse than what they already have.
Good. The lunar gateway has absolutely no purpose now that that asteroid retrieval mission (ARM) funding picks by NASA ignored all the de-spin proposals. Without the ability to de-spin the number of accessible near earth asteroids (NEA) to tow back to the lunar gateway numbers, literally, 3. It would be a huge waste of time and money to implement a lunar gateway that doesn't have the ability to gather resources.

Going to the moon's surface and back for fuel resources is currently infeasible due to the large delta-V required and lack of atmosphere to aerobrake against.
The family based is overwhelmingly latin american and Philippino - I am sure H1-B is not the upstream.
Mechanic accused of sabotaging Miami jet may have terror ties – Miami Herald
nothing but competition
true, theres even an /lgbt/ board on 4chan
I've used the full text search feature in Postgres (even before then, I was vaguely familiar with the topics covered here). It worked unless you misspelled something, or split/merged compound words. Trigrams solved that. Whenever I get around to upgrading, I'd love to use the websearch_to_tsquery function.

https://www.postgresql.org/docs/current/textsearch.html

https://www.postgresql.org/docs/current/pgtrgm.html
My first thought was: how is NYC not on this list since it has cameras on every block, and has for decades.

And then I saw this: "Atlanta was the only place in the U.S. to crack the top ten, with 15.56 cameras per thousand residents."

So they are looking at cameras per 1000 residents. This seems like the wrong way to count. If you point a camera at a block, you see everyone on that block whether there is one person or 10.

They should compute it as percentage of public area that is under surveillance, I think.
Capitalism works on the fact that different people value things differently. That asymmetry in value allows people to trade things so that I can give up something that I value less in order to get something that I value more.

Perhaps I could sit at home alone and write fragments of Windows kernel code by myself. These would be of very little value to me. However, they might be of tremendous value to Microsoft who has the whole rest of the Windows kernel and licensing agreements to distribute it and a sales staff to sell it and etc and etc and etc.

So I trade my fragments of Windows kernel code which do not benefit me very much to Microsoft. In exchange Microsoft gives me money, which is much more useful to me than code fragments because I can use it to buy food and shelter. I have actually received something that is of more value to me than the thing I gave up. The code fragments on their own could not have gotten me food or shelter.

Microsoft on the other hand, gave up money that is of less value to them than these code fragments. They can use the code fragments to create more value than they could with the money by combining them with their other assets. Value is relative, not absolute. Nothing is being stolen by paying someone a price they agree to for something, just because you have a better way of making use of it than they do.
A planet known as "Earth", among a species of jumped-up plains apes.

I've found this to be a pretty apt generalization in literally every place I've lived, which at this point encompasses a half-dozen major cities spread out over several thousand miles.
> The mind of a person who can't seem to find something to do outside of work just doesn't make sense to me.

Why not? There are all sorts of extremely popular business and government simulation games, dating all the way back to Lemonade Stand on the Apple II to SimCity, to Railroad Tycoon, to Sid Meier's Civilization series. These guys are just doing it in real life.

The same applies for engineering and research jobs: why play Kerbal Space Simulator when you're capable of building something amazing in the real world?
I imagine stack of ultracapacitors formed into solid walls or even building insulation. No space issues, no moving parts, extremely long lifespan, ultra quick charging and discharging. Cons: graphene is still expensive.
Heretic!
this is awesome and makes a lot of business sense (Amazon is an investor in Rivian).
kudos to Amazon!
> But there exists prebuilt binaries for Linux and OSX.

What more do you need?
The shareholder proposal may have been defeated, but this is a sign to me that it _worked_ to bring this problem to the forefront of Amazon's agenda. This is a good thing.
iPhone 11 “Audio Zoom”
This is a common misconception, but response.json() still blocks the main thread.

It looks like it doesn't, but the same exact symptoms will happen even while awaiting the fetch json().
Agreed. People often overestimate the value of truth.

While it's immensely valuable to have factual information and put that information to use, truth (or objectivity, we could say) is less important in one's mindset throughout life.

Take those who believed they were destined by God to succeed: they include Rockefeller, who developed pipelines to bring kerosene (and thus light) to the masses for cheaper, and even a favorite in the history of tech, Ada Lovelace.

The validity of their beliefs, or lack thereof, had no impact on their inspiration to pursue their goals or their ultimate successes.
He does:

https://twitter.com/dhh/status/1174702952411303936

> "Yes. Monoculture in open source is scarcely better than monoculture in closed source. Monopolies of all stripes are bad for the web."
Actually there is a Russian short story by writer Bayan Shiryanov (Баян Ширянов) titled "Пробел" (space character), which has length of exactly one character.

Here is its illegal copy (between quotes): " "
Static load is a nice number, but that's not what car safety test should be about - car crash is a rather violent dynamic event. I guess most common situation is rolling of the car, with possible stop at some wall with roof absorbing most of the impact.

I am not sure tests of such an event would be still so favorable.

Or to put it differently - that's an impressive achievement of a situation that will never happen to a Tesla driver. What about performance in crash situation that might actually happen?
With respect I disagree and my objection is that this verbiage is ambiguous and imprecise, the opposite of a ubiquitous domain language. Why does the “declarative API” allow one to “declare or specify”? Which is it? Is there meaning in the clause “or specify”, or is it a superfluous verbal tic? If the API is declarative why is it called a Definition? Declaration and definition are well-used terms of art in our industry but they are not synonymous. And what about “tries to keep them in sync”? Tried by what means? Are they eventually synchronized or not?
Does the telephoto help at all with photos unless it's for zooming in and out?
I guess this is good enough for Apple in practice, but LLVM bitcode is not platform independent in general.
ironically it injects crap into your computer so that you cannot uninstall it fully, to prevent people from renewing the free trial.
4a. The person would by legally but content only comes in a form that the seller can delete remotely on a whim without any recourse (or will become unavailable if the seller goes out of business).
The human part is a hyperbole. "This code is unreadable" implies "This code is unreadable for the intended audience."

Here's how I'd write that function:
trim_string() {
python3 -c 'import sys; sys.stdout.write(sys.argv[1].strip())' "$1"
}
Given you are a self acknowledged economist, I am aghast that you feel the empirical track record of your ilk entitles you to comment.
FTS is dead. It didn't use to be dead but it is surely dead today. For years and years and years we were told to use stop words, integrate a stemming library, make sure term weights are normalised with TF-IDF, maintain a synonyms dictionary and use an index that keeps track of term positions to be able to cater for term proximity and if you did all that the relevance of your search results would be top notch. Top notch! Today none of that is relevant. Today you need to provide semantic search ("SS") or your search will be considered broken because the results will truly suck. To provide SS you need ML.

FTS is still commonly included in e-commerce where I guess it's not quite dead but only because truly relevant search results are irrelevant to retailers' bottom line.

SS is at least one magnitude more complex to set up, especially if you want to be able to refresh your "index" and even more so if your data is big. What a typical back-ender would wip up in a couple of days using ES/Solr you now need a proper Math Dev to do and for the MD's model to become useful you need them to hand it over to a distributed systems expert.

SS through ML is commonly a nasty, duct-taped work-flow that at best results in a system that looks more like a POC or DEMO than a proper production system, unless you work at Bing/Google that is (probably, but I have no hands-on experience of those systems).

I've been trying for years, I'd say at least ten, to try to "commoditize" this work flow, make it simpler, more usable for generalist devs (not just ML people) but no matter what I do I keep getting crushed under the weight of the data. To me it seems search is dead and we haven't appointed a new king.
> per capita doesn't matter for cameras

You mean it may not matter. In practice, it is probably proportional to cameras per area, so it would matter.
Thx man.
Not sure why the value of anything makes my point invalid? I answered there was a simple way for anyone using IRC to keep sessions alive and therefore not miss any message. This is an off the shelf solution, not something you have to build by yourself.
It takes an immense amount of coal to make steel turbines.

It takes an immense amount of natural gas peaking facilities to counterbalance Solar and Wind's draw downs.

Manufacturing photovoltaic panels with low-carbon electricity (for example, in a solar-powered factory), and installing them in a high-carbon-intensity country would tip the balance. Right now we do the opposite.

Solar actually INCREASES gas consumption.

You have to provide for a fixed power demand with 2 systems.

-Combined cycle methane gas plant (cc)

-Methane Peaker backed Solar PV(pvp)

"Epvp=Epeak/(1-Cpv)

Your effective time average methane energy consumption efficiency (electrical energy out / chemical heat in) for pvp is going to be the peaker efficiency divided by 1 - the capacity factor of the PV:

Epvp = Epeak / (1 - Cpv)

The methane energy efficiency of cc, Ecc, is fixed
One can find the methane breakeven capacity factor, Cpvbe by setting Epvp=Ecc and solving for Cpv:
Cpvbe = 1 - Epeak/Ecc

Epeak ~ a generous 42%

Ecc ~ 62%

Plugging these numbers in yields:

Cpvbe = 1-42/62 = 32% which means unless your capacity factor meets or exceeds 32% that solar imposes a net methane opportunity cost backing it up with a gas peaker plant in comparison to gas combined cycle.

You can find the capacity factors for solar here:
https://www.eia.gov/electricity/monthly/epm_table_grapher.ph...
Sure, at least partially, at some point. I don't live in Nazi Germany ;) there's a difference between the book not being published and being punished for reading it.

But that doesn't really change anything other than some centrist nonsense arguments. I was aware of his actions, philosophy, propaganda, and approach without reading it. I was also aware of the consequences, be it through visits to one of the old Konzentrationslager sites, museums, and other cultural and educational experiences. Or simply through the aftermath and it's presence of foreign military bases that are still here to this day. I'd expect most children even today having similar experiences around here and I'm honestly baffled how those kids grow up to be in their 20s and vote for far right parties regardless of the consequences. The book would have been nothing more than yet another propaganda tool of the, already pretty strongly organized, far right.

This whole thread is a weird hill to die on, the US has entire districts of schools that are forced to teach creation as fact, banning books containing scientific facts from their libraries, and people complain that we banned a book that was actively used for recruitment to the neo-nazi scene and authored by a genocidal madman?