skysight-inc/HackerNews huggingface dataset:
He is probably referring to hot sauces made out of fermented ingredients. The most popular one I can think of is the `sriracha` sauce [0].

I eyeballed my brine solution and got mold growing on my chilis though, for what it's worth. I was roughly following youtube channel `Brother green eats` video [1]. I guess I should have followed more carefully.

[0] https://www.eater.com/2015/3/20/8253411/new-sriracha-chef-ho...

[1] https://www.youtube.com/watch?v=iiNl0Jv6xTw
> If it's just WASM and no-DOM, then it might as well be native.

Two key arguments in favor of wasm against native: fully cross platform, security sandbox.
Even if you end up not using it for anything in production, it is always worthwhile to learn new programming languages, how they approach solving problems and structuring programs.

It opens our mind to new ways to architecture our software.
Anything coming from M$ likely has telemetry (read spyware) sneaked in, so by the time their packages are audited you would have delivered your software with different technology. I wouldn't work for companies using unethical tactics anyway.
They don't read every comment, as they're quick to point out.
You're absolutely right! It doesn't make sense to do this most of the time. I wrote my original message in a rush and left out a lot of context.

I usually only do this when I'm pretty sure I'll have to farm out the functionality to a separate service in the very near future. I just start with an async facade around the library, and then swap in an async wrapper around the web service when the time comes. Then I can just drop it in without needing to make any changes aside from changing the interface binding in the DI container initialization.

I suppose this might violate YAGNI. But I really don't do it often at all. I only doing it when I'm following the principle of PSIGNIS (Pretty sure I'm going to need it soon). Maybe it's better to just use the library synchronously and then refactor when it's time to move the functionality to a separate service. I don't think the amount of dev time spent is hugely different either way.
A bit of background story...

I pretty much hated Todo-Lists all my life. Instead of doing what you are supposed to do, you get the additional overhead of putting it also into a list? F* that! Instead of remembering the things I gotta do, I now have to remember looking at my Todo-list.
So at some point I was thinking... we are close to self-driving cars... we are dreaming of setteling down on f*ing Mars. Why is there no Todo-list which can just tell me when and where a task is important.

So you still have the overhead of putting the task in, but now the tradeoff will be you being able to actually throw the task out of your head and focus on the things which are important right here, right now.

I am in the process of finalizing the design for a first marketing offensive and am looking here for more feedback to make it the best possible product it can be. Mind helping me out? :)

Cheers
A language.

Come on...the title is clickbait I had to. And no I didn’t read an article about modern javascript.
Yes, this is a big issue for JS. So much effort is spent trying to make JavaScript be some other language instead, by developers who are stuck building stuff in JavaScript because they want to run it in the browser.

At this point programming in other languages makes more sense and is arguably a better vision for “the future of JavaScript.”
I don't think tech is the main issue. I believe it is keeping meetings on track. Make sure the right people are in the meeting. Have an agenda and avoid getting side tracked.
@-;—-
Top tech companies go to great lengths to obscure key technical contributors to projects. Engineers are not property, no. But the information around their value-add is, at the very least, an obscured secret!

Therefore it is newsworthy when a competitor decodes that value and offers a package that acknowledges that value.
For fun I ran some ballpark figures, a 30 gram manual, 1 billion smartphones, primary shipping by sea, and it's on the order of 5000-10000 metric tons of CO2 to ship the manuals.

Sure, the "CO2 budget" is measured in gigatons so not a huge dent. But add up a lot of these rounding errors and it might actually make a slight difference. And since the climate interactions are non-linear, slight differences can have a large effect over time.
Electrolysis to hydrogen and back to electricity is notoriously inefficient. It makes a great place to dump extra energy that MUST be burned off, but it would be more efficient to just not have that much energy that needs to be burned off. It can make sense with solar and hydro but imagine what that means with dirty energy.
That's a lowest common denominator app.

If that's the case, we don't need to have multiple mobile OS platforms either...
I've had my starter going for many years. What you saw was extremely unlikely to be Clostridium perfringens. The very article you linked says "salt-rising bread starter requires a shorter incubation period of 6–16 hours and a higher incubation temperature, ranging from 38–45 °C". I've made salt-rising bread before a number of times, and I use my immersion circulator to maintain the temperatures that encourage its growth.

I think salt rising bread is delicious, though my wife is a bit put off by the smell. And from the fact that she wrote up a bunch of necropsy reports on animals where one of the factors that led to their demise was Clostridium perfringens. But, as Howard McGee (author of the amazing On Food And Cooking) writes, there is a "lack of any known cases of the bread causing illness". His article on the topic is pure awesome.

https://www.popsci.com/article/science/clostridium-it-can-ki...
As everything: that depends. In general it's a good mindset change after .NET (well, unless you're doing F#) so it both grows your ways of thinking and your repertoire. If you have limited time to learn and you're doing it for a new job, the equation might be different.
My takeaway from this article is a little different.

Thermal loss is a function of three things.

First, thermal difference: A hot water tank is at around 50C / 120F, but it could be higher. Let's assume a 10C / 50F basement temperature.

Second, R-value: Dividing the temperature difference to compare loss rates. For example, an R-value of 20 that insulates a 40 degree difference will be as effective as an R-value material that insulates a 20 degree difference, all other things being equal. R-values can go as high as R45, but typical wood+insulation walls are about R15. Pure wood is around R1 per inch thickness.

Third, surface area of exposure. This is pretty self-explanatory.

But if you put all these ideas together, then making a heat battery becomes basically a matter of raw scale.

Say we design a cube storage tank. It is governed by these equations, where L is the side-length of the cube.

R = InsulationR * InsulationLayers

IA = InsulationArea = 6 x L^2

TIC = TotalInsulationCost = IA x InsulationUnitAreaCost * InsulationLayers

VS = VolumeStorable = L^3

WVHC = WaterVolumetricHeatCapacity = 4.2 ( Joules / K ) / cm^3

MTD = MaxTemperatureDifference = MaxTankTemp - RoomTemp

TES = TotalEnergyStorable = MTD * WVHC * VS

EL = EnergyLost = Time * AverageTempDifference * IA / R

Cost = ( TES - EL ) / TIC

Basically I think this is a great idea for power storage if that hot water is need anywhere in the semi-near future. The larger the pools of water you have the cheaper it gets, economies of scale aside.
Typescript!
> it's just splitting code into functions

I feel you underestimate the concept of "function". We all tend to do that because they are abstractions so ubiquitious that we cannot even imagine world without them. But it was not always so. Here's the first time someone speculates about "subroutines" (1953): https://web.archive.org/web/20150628022047/http://www.laputa...
>I personally wouldn't even call the author's given example abstraction, it's just splitting code into functions.
Splitting code into functions is mostly an aesthetic and "reading comprehension" choice

Actually "splitting code into functions" was one of the first major abstractions invented for structured programming.

Not to mention that functional programming (and lambda calculus) are all about functions...
SuperPull – A tool for people who work on many machines
That is exactly how Orkney plans to enable the next ferries to be hydrogen powered, for the huge energy density compared to batteries. They already generate more from renewables than they can use for electric, heat and vehicles. Surplus is already splitting water. More here: http://www.surfnturf.org.uk/page/transport

Germany is trialling it for energy storage, has a number of trial sites running I believe, and already have some hydrogen powered trains.

Unless you need the energy density of hydrogen the simpler solutions are probably better.
Hello HN,

I wrote SuperPull to solve a personal problem of mine:

1. Does work in multiple repos.

2. Walks to other computer.

3. Needs to manually pull and fetch new remotes for each working repository.

Questions:

1. Is there a better way to solve this problem?

2. What do you think of the tool? Thanks in advance for any feedback.
Great question.

There's some debate, apparentl, but the basic result is that temperature variation has side-effects, but superfreezing (keeping temp below < -20F, or below 0F, depending on the studied and what is studied) avoids the problems.

https://pubs.acs.org/doi/abs/10.1021/ie50464a017
I think the data is really hard to gather. I work remotely for a startup and my hours vary drastically week to week.

Is checking email working? Answering a Slack message? Taking a phone call? Those things don’t feel like work to me, but I don’t think everyone feels that way.

If “being available” is working then I’d say I work close to 17 hours per day. If we’re talking hands on keyboard development, management etc, it’s closer to 8.
What is the goal you want to achieve with this? If just programmer discipline, then that's what many people use linters for.
get it?

FATAL!
The US government doesn't restrict freedom of speech to such a degree that it allows for non-government actors (including political parties, partisans and those monetarily interested in obfuscation) to decrease the signal to noise ratio of truth (signal) to misinformation and the like (noise).

That is a lot different than the government itself getting into the misinformation business itself.

That can be summed up that don't have regulations on limiting speech when it isn't truthful, except when it incites violence and other limited times like libel, and even then the legal bar is very high to have the legal basis to successfully bring a case.

There is no restriction on reporting the truth. Classified information gets leaked in the press on a fairly frequent basis without any ramifications to the journalists publishing it. It seems fairly often those who leak it aren't charged. Those cases where they are charged are when they don't just verbally say to a reporter off the record, but when they leak documents.
I may have overlooked it, but I want actual proper integers. Not doubles, just integers.

I also missed the awesome bind-operator. EG:

const getFoo = () => this.foo;
const bar = { foo: 1 };
console.log(bar::getFoo()); // 1

https://github.com/tc39/proposal-bind-operator
I’m living your dream then! It’s pretty good. It’ll be ten fun tears “mega social media”-free next year.

I’ll use any online tool if it has a point (usually work or hobby related) and doesn’t bother me in terms of privacy, ethics, or the behavior of the other users. The cozy internet of happy, nice people of all ages and backgrounds doing stuff they love still exists, it’s just hidden in smaller places built for specific interests. I consider HN about as general and large a community as I’m willing to frequent, and I only come here to lurk and listen.

My miscellanous private social life (no point other than that I love these people) is all phone, non-Gmail email, and text because IMO no company has created anything more funny and useful than group texts and hour-long phone calls. I do want to be a little elusive and hard to find so that people value my time, and I want my happy times with other people to feel more concentrated. It’s the personal version of avoiding overexposure.
Bacteria and viruses are fighting back, but will big pharma save us?
> A pile of crap written by a marketing goon. Here’s my list:

So who are you? Not to discredit your list, but I only listen to people who have walked the walk.

The most valuable articles to me always follow this concept:

"Hey, this is where we were at x time ago, and this is were we are now. We did the following things, including these stupid non-intuitive mistakes. These other things seemed to work for us"
Which makes it tempting to write a code nobody understands but the author.
No. Brake checking people is dangerous and illegal. What I did is neither.
Isn't enough the "strict mode"?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Yes it makes the toolchain more complicated and it makes debugging slightly harder. On top of that having it as a standard means you can go anywhere and just use it without worrying about which transpiler they are using.
I think there is a distinction to make here about working extra hours because you want to and being told you have to work those extra hours. My company is focused on work-life balance and goes to great lengths to not ever explicitly say that one should work some extra hours this week.

But I regularly work 60 hours/week anyway because I'm the lead on a major project and want it to succeed and anyway, I love doing it. I'm not sure if I would do it if the company said I had to work 60 hours. I think the productivity of working extra hours is entirely based on the context.
kX Project is an alternate driver for Emu10k-based Soundcards (such as various members of the Audigy and X-Fi series and some Emu cards).

The Emu10k2 is a surprisingly overweight audio DSP that was being included for... unfortunately, no good reason, as Creative Labs sold these to gamers, and games just didn't use it outside of what could be exported via DirectSound (pre-Windows 10 sound mixing, EAX extensions (which they, themselves, are often a source of constant game crashes and/or BSoDs)) or the non-adopted Creative variant of OpenAL.

This is what you ended up discovering. I, too, had one, but never really found a use for it, as the audio quality was pretty poor due to being just a generic DAC and a generic opamp on a generic PCI card. Better than onboard sound, but not as good as inexpensive external solutions.
> When I finished writing, I’d carry the puzzles to my commute or the shower, and I’d talk to people about them

I do find myself shower-coding most days, but I never talk to people about it. There's never anyone else in the shower.
> explicitly about semantics and not about mere syntactic repetition

I'm hoping I remember to steal this later!
Unions got ostracized for a reason. They in many cases evolved past reasonable worker protection. I've seen examples of both, my dad has a good union as an elevator mechanic, with strong benefit bargaining power, but which allows for advancement by merit and not only seniority.

However I worked for UPS for a few years, and teamsters is the worst organization. You can't advance by merit, only seniority, and job performance is not required to be promoted. You can't get fired except for very specific offenses like sexual harassment. No call no show.or regularly being 20 minutes late weren't cause. Made work a nightmare, with no incentive to work hard and advance. When I became a supervisor and was no longer in the union, it made running your section of the building impossible, unless you managed to trade your poor performers for others.
Sometimes in life you need to feel sorry for yourself and allow yourself to acknowledge that your circumstances are bad, especially if you don’t have a support network around you to offer that external acknowledgement or validation.

Just like you have to forgive yourself for mistakes and challenge yourself to do better or motivate yourself to achieve goals. A human mind needs all these types of things, and when you can’t get them elsewhere you have to get them internally, as a basic measure of self-care. This applies to self pity just like anything else.

Widespread criticism or derision of feeling sorry for one’s self is like victim-blaming, societal defense mechanisms built up in more primitive times, denying psychological realities of human consciousness in favor of tough man caricatures derived from a type of Puritan ethic hangover.
If you don’t want to work more than 40 hrs a week. Don’t. Afraid of company retaliation? Find another job at a company where the culture is more in line with your views. Better yet, start your own company and work as little as you want.

Life work balance is on you. Regardless of who you work for or with in the US.

If you still want to whine about it, join the armed forces, serve your country, and get back to us about work ethic and life balance. I’ll wait.
Many coders will argue that these comments are the type of information that should be captured by the version control system, not in the code itself.

The biggest problem with comments is they are not part of the tested integrity of the system. In other words, they are never tested for correctness.

How many times have you come across a comment that appears to have no bearing on what the code is doing? In heavily commented code, this happens all the time because a developer (not necessarily the original developer) makes a change and does not update the comment. It could be that the developer was in a hurry and sloppy, or that the change was upstream and made the comment irrelevant, or maybe the code was copied and pasted into a context that doesn't match the comment, or whatever. The point is that comments can become stale, and a stale comment is worse than no comment at all.
Does that mean there is a spyware included in the .NET Core?
I have a tablet that has vanilla LineageOS, and it is also using the DNS server that my router provided.

Out of curiosity, are you using DHCP? If you are then maybe the router you have is just forwarding the DNS setting it was given, and that is Google's DNS server.
Building a Flappy Bird AI in the Browser
Yeah, it is a lot more efficient, primarily due to conversion losses. A gas powered power plant loses about half of the energy fed into it as gas to waste heat, whereas a gas heater has essentially 100% efficiency.

Also, no, gas does not inherently involve digging carbon out of the ground, you can produce methane in bio reactors or via electrolysis from electricity (see https://en.wikipedia.org/wiki/Power_to_gas ), which is another method of storing surplus electric energy, either to be converted back later with a gas turbine, or to be injected into the natural gas grid.
I would argue it's unrealistic to make such a system that would be fair in the eyes of all coming generations. Imagine they implemented a social credit system in the Middle Ages and added or deducted points based on whether or not you followed the laws and norms of that era.
A content warning for HN's German speakers would have been nice.
Outperforming everything with anything: Python? Sure, why not?
I did the math on this once. For residential it is not realistic due to the amount of water you would need to store. For commercial I think you would need a small lake.
Well, clearly your custom officials are different than mine then. I've received thousands of international parcels(mostly from asia) and yes, parcels are definitely opened(I know this because many times I had to personally drive to the nearest customs office and they would bring out the stuff they took out of my parcels for inspection).

Of course you can choose to not believe me, but I was explicitly told that the "value" field is completely ignored especially on any post from China, because 99% of the time it's just nonsense and pretty much everything arrives as a "gift"(I once had a brand new Asus laptop worth about $800 that was declared with value of $15, contents: "electronic cables" and "gift" - the customs officers wanted to see receipts of all payments I made for it before releasing it).

>>The courier/post office will generally validate that that sticker matches the value you told them for insurance purposes either way.

Now this seems completely bogus. I've also sent thousands of packages and no one has ever "validated" if what I am sending is actually worth as much as I put on the declaration. As long as it wasn't illegal to send it in the post no one cared.
This account has been posting mostly unsubstantive or off-topic comments. In order for this site to gratify our intellectual curiosity, we all have to actually bring some thought to the discussion. Would you please?

https://news.ycombinator.com/newsguidelines.html
I've been following @fasterthanlime on Twitter for a while, and it's always really nice seeing them constantly trying to make itch.io the best it can be or working with people to fix bugs they've hit. As far as I know, it's a just them and leafo running it.
Thats the inventor story, people who basically die socially and economically to give something to society, and society walks over them.
I already agreed it wasn't ideal now. I'm suggesting it will improve, enough, in the future. And yes, that would diminish the value proposition of the phone OS.

Edit: That's roughly why Chromebooks are doing well. The OS is less important on laptops already, for many.
> Developers need to develop several versions of their app (they could spend that time on improving one version).

I hear this line so much you'd think the web app world is full of the most amazing light and high-performance web apps out there, that show the best of what we can do with our web browsers. But no, it's just full of bloated ever-growing ever-more-resource-hungry framework-heavy web apps wrapped in Electron.

It's just cost-cutting, let's not pretend it's anything but. Slack is a great example of this. A text chat app that could be done natively and isn't. And the reality is it saves them money and it's acceptable to have it just as a web app. It is not, however, in any single way better than a native app could be.
Can we force supermarkets to do the same somehow?

I'm pretty certain individually wrapped vegetables are causing more trouble, than phone packaging.
Realistically, the alternative to a PWA is often gonna be a a "native" app build on web tech, or in niche cases no app at all. At least in the niches I'm active in, a bunch of users unhappy with the fact that nobody makes an iOS app for them (but not unhappy enough to cough up the money for someone to make them one) would probably be happy that they can use PWAs instead of using only web apps in the browser.

For simple apps, "better integration, more platform features" isn't necessarily a factor: If the "web platform" provides the features I need, having access to more features doesn't make my app better.

If you don't like PWAs, they are easier to identify and avoid than "non-native native apps", so good for you too?
"Landlords like them because they don't have to pay the bill"

This. I'd really wish something would be done to align incentives in this area.
What good is a newborn baby? Benjamin Franklin [1]

[1] https://www.americanheritage.com/content/“what-good-new-born...
Sorry, why the duck doesn't this guy start a Kickstarter?
That's true. It's why dictators today who extract their wealth from natural resources don't really care if their population is starving, because the ruler doesn't need them. At least, he doesn't need the uneducated, weak people who are starving.