skysight-inc/HackerNews huggingface dataset:
> But of course, you can continue to use whatever other tools you like: Beef up your dev experience (Babel, TypeScript) or optimize how you ship in production (Webpack, Rollup).

So I assume what one would end up with if they decided to us pika for their dependencies is a project that still uses webpack, but in addition uses pika instead of webpack for dependencies, ending up making pika 1 more build tool in the chain instead of a replacement.

Is that a right assumption?
The ability to source parts globally and without scarcity seems pretty damn compelling.

And the lack of thermal runaway means you can have cheaper charging and regulation features on the battery.
I just did a quick search and it looks like the consumer price of li-ion is more like $250 to $400 per kWh by 1000 * dollars/(volts * amphours), so the bulk price of $176 from the article is believable:

https://www.ebay.com/sch/i.html?_nkw=lithium+ion+battery+48V...

I challenge the idea that Li-ion is the lowest price though, because it's one of the densest storage options.

The actual cheapest (lowest density) energy storage known is gravity, at a potential energy of E = mgh, so we get roughly 9.8 J per kilogram-meter of height. 1 kWh = 3.6e6 J, so with something like a 95% efficiency winch generator, that's E/(g * efficiency) = 3.6e6/(9.8 * .95) = 387,000 kg or right at 175 metric tons (cubic meters of water). A 90% efficient one-way trip with pumped hydro storage would be 408,000 kg or 185 metric tons. Note that round-trip effiency is the square of one-way, so remember to take the square root of any reported round-trip efficiencies when calculating displacements.

An olympic swimming pool holds 2500 cubic meters of water, so that's 2500/185 = 13.5 kWh per meter raised. The average US home uses just over 10 kWh per day. So a good rule of thumb to remember is 1 olympic swimming pool raised 1 meter powers 1 home for 1 day.

After writing all of this out, I think that the cheapest energy storage will be to pump air down tubes to big bags under the ocean (or lakes) to displace water. Since volume grows by the cube but surface area only grows by the square, this is the only scalable energy storage system that doesn't require access to a reservoir or oil well. Also since it only requires 1 atmosphere of pressure per 9.8 meters of depth, the low compression might be close to an adiabatic process by not raising the air temperature much, and could get close to an 85% one-way (72% round-trip) efficiency. I feel like by PV = T, for each doubling of pressure but halving of volume, the temperature should stay the same. Maybe someone more experienced with entropy can provide an equation for what percentage is lost per atmosphere of compression, say at 50 F (10 C) ground/water temperature:

https://en.wikipedia.org/wiki/Compressed_air_energy_storage#...

Hey it looks like they're already doing this in Toronto:

https://www.youtube.com/watch?v=GicQwXbNnv0

But I think it's always good to derive an idea from first principles instead of taking someone's word for it. So I'd put money on this as an alternative to batteries. And just so we have it, about 4 of the $600, 2400 WH Chevy Volt batteries at a total cost of $2400 would also power a home for a day (not counting inverters).
GraalVM and heap size of the native image – how to set it?
Are you in Bergen county, NJ? Because I'll be honest, BCCLS is probably one of the best library consortia in the world - 70+ libraries and massive collections. PALSPlus, the Passaic county system, is comparatively pretty awful - in part because of the priorities of the library boards and directors.
It's kind of funny that PWA was Jobs original vision for iOS apps with HTML5, before they came up with the walled garden cash cow approach.

> “The full Safari engine is inside of iPhone. And so, you can write amazing Web 2.0 and Ajax apps that look exactly and behave exactly like apps on the iPhone. And these apps can integrate perfectly with iPhone services. And guess what? There’s no SDK that you need! You’ve got everything you need if you know how to write apps using the most modern web standards to write amazing apps for the iPhone today. So developers, we think we’ve got a very sweet story for you. You can begin building your iPhone apps today.” - Steve Jobs/iPhone announcement Jan 2007 at macworld

https://medium.com/datadriveninvestor/2019-the-year-of-progr...

What's old, is new again, 12 years later. It's how it always should have been. And guess what? There's no SDK that you need!! ;)
speaking from experience as an engine mechanic, this type of disposable consumerism is absolutely rampant in luxury vehicles. im not sure if its designed to be an expression of luxury, or if the designers just dont care, but it shows in the quality of the final product that most of these icons of performance and opulence are due for major service every few thousand miles.

plastic oil filter modules: absolute garbage but Chrysler fell in love with them during the Daimler years and now they show up in basically everything built off the E series chassis. BMW also use them, and they hold up to thermal stress very poorly. can not be recycled in the US like metal filters and have to be shipped, if you want, to germany.

plastic water pumps/plastic cooling systems: notoriously BMW, but also show up on Maserati so im told. they leak like a sieve and youll replace a major part of the system every 5k miles. cannot be recycled.

cheap hydraulics: im talking about that paddle shift dual clutch weirdness that shows up in high-performance mercedes 6 liter v8 engines with the double turbos. You build an engine that costs 3/4 of the vehicle value and you cheap out at the last minute with pot-steel roller bearings? in an engine that delivers north of 500 horsepower? tapered rollers or even high nickel needle bearings would keep the hydraulics running for years, but the hydraulic actuation assembly for the paddle shift stuff is an absolute dumpster fire. you cant disassemble the actuator, or service the bearings. the whole thing gets thrown out and replaced.

death by cad: this is more 'right to repair' but engines that were designed in a laboratory by a grad student from Malaysia who was told to 'make it work.' to service the turbo on some lexus F sports, you must disassembly the entire front of the car. headlights have to come off, the radiator and forward steering linkage too. its a $400 part, but thats $2300 in labor.
Currently Mongo version is 3.4.x, I believe it's still within their old license.
Lithium is widely available, it's the fourth most common element in the Earth's crust.
>I mentioned type safety in passing

Thank you, that's what I meant.

> The claim that FP improves correctness similarly does not follow any law of software correctness. If either homeopathy or FP were to have an effect, it would have to be through some as-of-yet undiscovered process.

Again you are conflating could and should. Let's simplify:

Homeopathy CANNOT be used, since the concept fundamentally don't work and hence SHOULD not be used.

FP for correctness CAN be used, since we do have examples of functional languages that can be used with formal verification tools, type-based or otherwise. Whether it SHOULD be used, does not follow from whether it CAN/CANNOT be used. That's a question for the sociology of software engineering, and like you say, that's complex.

>People should use whatever paradigm/language they like

I agree, which is why I dislike when people try to associate certain preferences with pseudoscience.
It seems that the credit card was designed to tie into Apple's existing payments systems to both reduce processing fees that Apple pays and to be sticky.

The card pays cash back daily as dollars that are immediately available for use with Apple Pay. Apple can then prompt you to pay for Apps, Apple Music, and Apple hardware using these funds. That makes the stuff you buy from Apple feel "free" (you're paying for it with magic cash-back dollars). It also means that processing your payment just requires changing a number in an Apple database, not routing money through the credit card processing network.

I'm sure I've gotten some of the details wrong. The top comment here goes into a lot more (somewhat speculative) detail: https://www.quora.com/What-is-Apple-Card-the-new-credit-card...
Thank you :) fixed
This pattern is known in numerical computing as NaN. It’s drawback is that when the computation produces NaN, one has no idea what triggered it. But that can be mitigated if the program prints stack trace on the first NaN. In case of Go that corresponds to logging error when it happens.

Another thing is that in many cases there is no good sentinel value to return that naturally leads to exit from loops or complex logic to check for error at the end of a function.
Thanks! Let me know what you think.
Love, kindness, empathy, etc.
You dont have to build your society as a goad to make people do what you want.
I thought it was only TS/SCI that was that thorough?
It's a sad story on the ground:

* We absolutely squandered the previous boom, once the tap was turned off it almost felt like it hadn't happened at all, outside of new developments in the CBD.

* Created an absolutely venomous environment for the workforce. I know dozens of FIFO workers or industrial workers servicing the industry, and I can only think of a few that don't suffer from either substance abuse problems, crippling debt despite massive salaries, depression or other mental health issues, or chronic physical injuries they can't get comp for, not to mention the great strain it puts on their family, and toxic workplaces (Not everywhere, but its not uncommon)

* We've let country towns supporting the industry wither on the vine. If you take Kalgoorlie for an example; Quite a lot of money is being spent in town, and if you take a drive over to the industrial estate most people will tell you that business is booming. The same people have been saying the town is just about ready to pick back up for a couple of years now, but it hasn't, and I don't believe it will. The industrial activity just isn't bleeding over into the town like it used to. The money washes straight back to Perth, back east, and overseas. Half the storefronts in the main drag are closed, and prime showrooms sit empty. The industry has raised the cost of travel to Kal so high that tourism is basically non-existent, and people who used to maintain two households in Perth and Kal are now having to chose one or the other, invariably leaving Kal for Perth

I honestly don't have the expertise to offer a solution to any of these, my gut says collecting fair royalties and using the money to fund services would be a start, but I don't have the background to really make that argument. But what I do know is, for the average punter on the street, it hasn't amounted to much, and one day it'll be gone. I look around sometimes and imagine where we'd be if the prices dropped and the sector closed up shop, and it's a pretty grim picture.
Structures of Letters and Symbols Are Chosen to Match Objects in Natural Scenes [pdf]
>Regarding stickiness. Apple introduced the following:

I don't think any of those things are all that sticky. I think it's more about leveraging their client base to push into what are essentially commodity industries. Like the credit card. Apple's offering is more or less the same as everyone else's. They will still get some % of iPhone users because it's the most convenient option. Even a few % translates into millions of users and 10s-100s of millions of annual profit. Amazon is a few years ahead of Apple in doing the same thing.

They have a gigantic second mover advantage in any sort of app or online service. Whatever they make can be the default option and they have a built in 30/15% price advantage from the app store fees.

>I left off TV: I’m not sure how it adds to stickiness

I think this is the best example to illustrate my point. Video streaming is not really a commodity. It's a balkanized landscape of minor fiefdoms controlling content. There's a handful of big movie studios, a bunch of TV producers, all of the different sports league, and other live events. It's not like music where Apple can produce a Spotify competitor with relatively little effort. Competing with Netflix means producing originals and doing a better job of buying content. It's much much harder.
Correlations Between Top Coins and the Cryptocurrency Market Dropped in 2019
Sounds like a hi tech version of a scam in my city where a guy rents an apartment (or just squats it) and then turns around and sublets it and stops paying rent to the actual owner. People actually living in the unit stuck holding the bag.
Awesome video, thanks for sharing
>which is the reason there are very few phones that can run actually run mainline (real) Linux.

You mean the drivers not being in the Linux Kernel/hard to port ? because I have a very hard time believing most smartphones couldn't run the Linux kernel, provided it's compiled to whatever architecture and the drivers are there.
If you’re writing tests like “what if the input is not an integer” in Python, you’re probably doing a lot more stuff wrong. Dynamic typing is useful typically because you rarely need to check these types of issues. Instead you’d have some sort of input sanitizer that is responsible for all such inputs into a large system, and would include what type of failover logic should happen upon receiving a wrong input.

If you’re testing all kinds of different functions for argument checks or defensive programming conditions, it suggests a refactor to a central sanitizer pattern, and just one small set of sanitization tests. Other functions can take it for granted that the sanitizer works correctly.

You often need the same thing in statically typed systems anyway for cases when calculating whether an input is valid involves conditions not encoded by the type system (possibly even runtime configurable by the user). So except for all but the most trivial kinds of type validation, this does not actually constitute a difference in effort between the two paradigms anyway.
Is this going to be the next plastic that's going to destroy & pollute nature? Maybe authorities should invest into developing a good refund solution sooner than later. I already see some destroyed batteries on streets sometimes, and I wonder what they will do to our environment.
Wow that is truly fucked.
It seems really weird to me that with services their new “thing”, why they won’t allow me to back up my computer to iCloud. Not iCloud Drive, I mean a time machine backup in the cloud that I could restore an entire computer from with migration assistant.

Maybe they can’t figure out a way for it to be cost effective? It just seems word to me you can do this with your iphone but not a computer.
If you can tolerate bulk, lead acid batteries can work pretty well. If you can tolerate a lot of bulk, liquid flow batteries (vanadium) can work too, but I’m not well versed enough in current tech to describe why things might not be in wider use.
I prefer PCs for not locking software to the platform. I can still run Linux on my 386.
MailChimp is crazy expensive for mailing lists of size.
They wouldn't.

The reasons to shut down coal and why it goes so slow are political. It's jobs in the east where right-wing populists are already taking over for example. Same goes for the region in the west where shutting down heavy industry and coal has been a continues issue for politicians for the last few decades. There is also the matter of contracts and reimbursing plant owners.
An idea that was already being explored on Symbian with their WebRuntime actually.

https://web.archive.org/web/20100603124720/http://www.forum....
My comment is in general towards these types of 'I don't mean to be negative but let me be not positive comments'.

Is HN the place to encourage doubt worship, or is it a place to encourage curiosity and put in effort?

When wishing someone the best to operationalize and commercialize, why not say just, that instead of packaging it in a backhanded well wish?

There's no doubt this iz a hard problem to get in market.

Innovation and breakthroughs like LiON also happened in a mindset of imagination, exploring possibilities, being a little posiviely reasonable and stubborn.

A doubt based mindset isn't as open to possibilities or innovating as a curious mindset that undertakes action and puts in effort.

This is the first time I've heard of this company and I hope the battery issue leaps soon and hope they continue their efforts, unconditionally. Maybe they could go after safe incremental improvements with a shorter shelf life.

There's a reason creators are following your own compass and not others.
Pentagon says debris from India’s ASAT expected to burn up in atmosphere [0]:

https://www.indiatoday.in/world/story/mission-shakti-pentago...
Are there any laws that would prevent the government from doing this to establish a crime database? They've already used DNA testing company databases to catch people through their relatives.

I'm not much of a conspiracy theorist, and the fact that the sample-takers claim to be from a private company leans me away from the government, but they could have contracted it out. And I wouldn't put anything past the current administration.

The article doesn't say whether or not people are providing their ID along with the samples, but I'd presume that they are.
Yes I did and I don't think it's crazy.

I'm not sure a tool could do 100% translation but I'm sure it could do a lot.

A surprisingly large amount of time was just moving the order of variable declaration from Java's "type name" to Go's "name type" and renaming, say, "String" to "string".

If a tool did that for me, it would save a ton of time.

Unfortunately, the upfront time investment to learn enough to write even the simplest translator would probably be greater than time saved on one project.
Symbian as well.

Many of the supposed iOS "innovations" were already there.
Ask HN: Is there a good fork of MongoDB? (like MariaDB to MySQL)
So this is already generating more heat than light, but:

I really don't see how lorcan brought gender into the discussion. cmurf did. To me, it looks like you're chewing out the wrong person. (And therefore, I don't think it's a rhetorical tactic for lorcan to say so.)
Ask HN: Have you ever been on a project where the key person was hit by a bus?
We talk about the "bus count" all the time, but I haven't heard a first-person account of what actually happens if one of a team's key people dies or rage quits or otherwise is unavailable. Have you ever been a part of such a team? How did it occur and more importantly how did the team bounce back? Did you successfully take over their code or does nobody touch it?
If you don't use any apps out of distaste you can get pretty impressive battery life on any phone.
Some Python Anti-Patterns
The subscription based services (News, Games) are an important step forward but don't do enough to change things meaningfully for game developers and news publishers. On the plus side Apple relieves the burden of managing an ad ecosystem and the slimy feeling of selling out customers' attention to the highest bidder.

On the minus side the publishers and developers are still compensated by the amount of time users spend in their articles/games so the incentive is still to develop addictive and time hogging services or click bait. To be fair this is a difficult problem as there's not an objective measure for quality that compensation could be based on. Perhaps more thought could have gone into this though.
It’s dated April 1st. Maybe it’s a prank news that caught news outlets’ attention and went ‘viral’
Now do that for a month. Or even a week. You may be more productive bc you don't want to be seen as slacking off with someone watching, but maintaining that kind of pace is untenable. Did you ever get stuck and check your email or Facebook just to give your brain a little break? Did you ever sit, unsure of your next move? Or did you do the first thing you thought of, even if it was wrong, so you didn't look like you were wasting time?

Intense productivity with someone looking over your shoulder is great for a day. After a week you'll want to quit. After a month you'll want to kill yourself.
Every day you hear doomsday predictions about end of the crypto as we know it because of the quantum computers. Reality is that largest factored integer using quantum computers to this day is 21. There are some larger numbers around 100k factored but those use algorithms that will never scale into crypto levels.
The article is just wrong. Social pressure makes you less productive and hampers cognitive health while working.

I can’t believe anyone even feels this is worth discussing or disagreeing. From the mountains of evidence refuting the communication conditions of open plan offices, we know that knowledge workers require privacy to be productive.

The case is closed. This essay is arguing against the tide. Move on.
Congrats on launching.

Unfortunately after the parse.com fiasco I have vowed to never again use a PaaS/BaaS service again for important deployments.
Data is missing. How can you know you've had an undiagnosed condition for 7 years?
NirLauncher is a portable software package containing over 200 of these utilities. https://launcher.nirsoft.net/

And here's the top 10, sorted by downloads https://www.nirsoft.net/top_utilities_downloads.html
Well, in addition to using your bandwidth, it's exposing you to potential copyright claims through your ISP if the sharing is discovered. So there are good reasons why people don't necessarily want share files willy-nilly. I'd very leery of a torrent client that defaulted to potentially unsafe--for me--behavior.
Did you immediately notice the bug in my above code? If not, hopefully you get my point.

Compared to

array.sum()

was the above code more or less clear? Is it more or less prone to bugs? When reading, which code will you have a quicker understanding of the intent?

And if you did notice the the first bug, did you notice the second bug?
This looks neat, I'll give it a go later today.

One of the features I use Ranger for is to visually select multiple music files and then open them with mpv to play. Would that be something Hunter supports, or would support in the future?

What has been the most challenging aspect you've encountered so far while building this?

Thanks for sharing!
I think OP is saying you should feel guilt and shame if you treat others badly, steal or break their stuff, murder or rape them etc.

You were probably thinking of completely different contexts.
I’m definitely one of them, I refuse to play any IAP games as I view them as a Trojan virus social engineering experiment (masquerading as a game) designed to trick you into maximizing their IAP revenue.

An IAP-free game subscription is exactly what I’m looking for and the only thing I’ll be letting my kids play when they come of age.
The desktop has been replaced by laptops and 2-1 foldables, it won't die that easily, specially since Android apps on tablets and 2-1 keep beinging maximized phone apps.
Once the novelty wears out and your subconscious processes that the stranger has no power over you I believe you will relapse into your old habits.
What does that mean, a serverless postgres? Per query billing?
Show HN: Digit Recognizer – Introduction to Kaggle Competitions
That's exactly right. Recessions are not behavioral patterns. They happen when borrowers can no longer borrow more to pay the interest on their existing debts.
"Both Java and Go have interfaces but they are different things, like apples and salami."
That’s fine. Having a tool I can use a few hours a few week to get me through things that are the highest product of important and annoying is super valuable. Doesn’t have to be a lifestyle.