skysight-inc/HackerNews huggingface dataset:
but isn't aquafarming vastly superior to vertical farming for that problem statement?
I love the music choices. Cool to see Lexsoul Dancemachine in the playlist too, cheers from Estonia!
I guess if the business idea really took off, then it doesn't really matter what language is this part of logic written in -- you can already wrap it in as a service with Web API -- or simply rewrote it in another more popular language.
I'm not sure what do you mean exactly... If it's something like:

assert foo["bar"] == 123
assert foo["baz"]["bam"]["boo"] = "abc"

I don't see how is that made easier (and less ambiguous) in hamcrest-style assertions...
That 7 million requests per second is achieved by writing a hard coded plain text HTTP response string directly to the client... it is so far disconnected from any real world use case that the number is basically meaningless.
This reads like a variant of the "if you have nothing to hide" argument.

I don't value anonymity because it allows me to say offensive things without consequence. I value anonymity because mob justice is arbitrary and disproportionate.

People can and will harass you over the stupidest perceived slights, or just because you're hot. Some people won't be satisfied with just attacking your arguments, no matter how petty the subject.

If you're given sufficient attention, you're bound to make someone unreasonably angry, no matter your stance. Privacy protects you from those loonies.
"Sounds like trial and error"

Isn't that what coding is?
Coherent Nuclear Excitations
I feel you: my life is as good as it can get during this challenging time, I live with my SO in a somewhat large apartment, we both still work, I from home and she from office, we don't have any sick relative, nor kids, so we have our space, and we don't have to worry about money or anything at all.

I'm quite loner on my own, and the first lockdown was quite a breeze. But these days I'm becoming more and more tired, and I spend my time after work doing basic nothing. Also watching a movie is boring! I have no idea how people with kids, or without job stability, or with relatives to take care off haven't gone crazy yet!
I literally came here to comment that the very first bug I had to chase down in a production system in my first job was caused by this! There was a 'fuzzy' search field available to users and when one input a client's ID number (formatted as NNNNNNN) it was showing results for a different client because NNNNNNN was also the format of the unique ID for records in the database.
Narendra Modi is also a person who can jail random journalists critical of him (or anyone for that matter) without getting cancelled. In fact, at this point I think he can do anything without getting cancelled. A lot (or most) of that 'popularity' was (is being) built through outright lies, fear, suppression of dissent, polarisation etc.
I'm also just an armchair intellectual speculating here...

Not "per se" a knock against greenhouses, but definitely one of the things you're looking for is a closed system rather than the sort of greenhouse you'd get in many places in America, where it's just a robust plastic tent-on-a-concrete-slab, and they don't care much if the water runs off. In a desert you'd be really concerned about making sure the whole works has very, very low water-losses.

The key thing to make this useful is to conceptualize it not as the sort of area, like the Nile, where they've already got an ample water supply. To make this useful, it's best to think of something where there's basically no water supply at all, and we're trying to crack the problem of "okay, how could we grow crops here?" Something that right now, is just bone-dry barren desert. Most of the solutions we rely on in the wetter world just don't really care much about water loss.

Something that could fit the definition of a greenhouse, with windowed ceilings, might well be a viable solution. But I do suspect there's some correlation between making a grow site more bunker-like and lowering water loss (especially if it's recessed into the earth).

The other huge upside of a truly sealed system is it's another approach to pest control. Sealing the system could potentially completely eliminate the need for pesticides and herbicides. Right now those have huge negative externalities.
I agree, we are extremely lucky to be an island with hard borders. Most countries that have been very successful are hard islands.

But politics responds much more to outcomes than causes
Buy a PHP Crystals Online
Congrats Mpampis! Looks awesome!
Indie RPGs show roleplaying can be far more than Dungeons and Dragons
This is an artefact of bad testing in non-developed countries.

You should assume it's ten or twenty times worse than the figures show, AT LEAST, in any countries that aren't fully transparent and rich enough to test widely.

Compare 477 to 16,000:

https://marginalrevolution.com/marginalrevolution/2021/01/su...
Not all startups bring big VC money, for the real world a full rewrite of your stack usually cost too much to be viable.
> Every single person living in 2020 knows dangers of heroin addiction.

LOL no. Some people here, most of them highly educated, are spewing myths like it's "instantly addictive", lies laid out to try to curb the epidemic from the 80s.

It takes relatively long daily use for one to become dependent, and basically you only do that if you don't have a job or anything you value waiting for you after the high, really. Sure, there are exceptions, but that's the norm. The fact that drug abuse heavily correlates with economic recessions and unemployment increases should give everyone a hint. [0]

In 2020, we know roughly 80% of the users never become dependent. [1] In the same ballpark as alcohol, unsurprisingly.

And it's normal. Because it's bliss, but then it's pretty shitty. For a few hours of high you have a few hours of nausea and general discomfort.

> You have to be seld destructive to even try.

No, you just have to be curious and know how to evaluate risks and benefits. It's not a "starter happy drug", but it's not the devil. In 2020, the people doing heroin know a good deal more what they're doing than the ones from the 80s.

Harm prevention and reduction has moved on a lot too. There are high precision scales for very cheap. There are testing kits, too. In the 80s pharmacies in most countries were told not to sell syringes to addicts, again to curb the epidemic, causing them to share needles with all the associated problems (HIV expansion, needles leaving more bruises, sepsis...). Now most countries with a sane drug policies provide free needles to addicts, when not straight up supplying heroin to them [2]. Unsurprisingly such countries have lower problematic drug use than the US, where the problem is policed rather than treated.

[0] https://www.sciencedirect.com/science/article/pii/S095539591...
[1] https://drugpolicy.org/drug-facts/can-using-heroin-once-make...
[2] https://en.wikipedia.org/wiki/Heroin-assisted_treatment
I've been joking that I don't know what a woman looks like anymore. But it's kind of true, if I see people at all it's either through a camera or they're wearing a face mask.

I really miss just having a cup of coffee and talking to other people about nothing at all. Sure you can call people but it's hard to talk about nothing or just sit and look at the people going by on the phone.
Public shaming can be remarkably effective and does not preclude legal action later on if shame itself is insufficient.
Do you have any links for these things?
No one gets votes for disaster preparedness.

> Myopic Voters and Natural Disaster Policy

> Do voters effectively hold elected officials accountable for policy decisions? Using data on natural disasters, government spending, and election returns, we show that voters reward the incumbent presidential party for delivering disaster relief spending, but not for investing in disaster preparedness spending. These inconsistencies distort the incentives of public officials, leading the government to underinvest in disaster preparedness, thereby causing substantial public welfare losses. We estimate that $1 spent on preparedness is worth about $15 in terms of the future damage it mitigates. By estimating both the determinants of policy decisions and the consequences of those policies, we provide more complete evidence about citizen competence and government accountability.

https://www.cambridge.org/core/journals/american-political-s...
If you're happy existing with one other person and video calls indefinitely, then I consider you to be an obvious troll.

Nah.
You can only judge a politician by the Overton window of their country, and I agree in principle that ScoMo is painted as a hard-edged Bible basher by the left-wing end of our political reporting here in Aus.

But he is to the right of the Libs, and only recently has he pivoted to the centre as he took up the PMship. It still matters that he would be right of every major Western leader at the moment.
I do the exact same i was thinking this article was silly..
190+ lm/W is still less than 50% efficiency. I don't understand how a white lamp can be tuned for plant growth efficiency, could you elaborate?
Our company is also using a lot of haskell for our projects. Since we adopted haskell we had a lot more very talented developers apply.

I think this only might be a problem if you don't want to hire remote.
asprintf is fine for most cases. For the other cases you probably don't want to dynamically allocate memory so snprintf with a fixed buffer size is fine.
I wonder does it actually do make economic sense? Like will the net from selling produce be larger than just renting the same floorspace for some other use? Be it residential, office, shops or manufacturing...
Yet another solution to make C type check. If people want to use type checked C, the they can use C++/Rust/Golang as the overhead would be minimal. C gives programmer tons of freedom and that's the beauty of the C. Taking away that freedom eliminates the whole purpose of using C in the first place.
Yes, it is harder to find developers for niche languages and technologies. On the other hand you have a pool of enthusiasts looking for the opportunity to use something more niche, like Haskell.
I've seen a Welsh and Gaelic speaker try and work it out twice now. It sounds "familiar" but doesn't make any sense either way.

Manx and Irish Gaelic is just-about mutually understandable, though with difficulty. It's like a Londoner trying to understand a Glaswegian.

I gave up trying to learn Gaelic after learning that there are no words for "yes" or "no". To agree with someone you have to construct a positive sentence agreeing with them (e.g. "sure and so it is"). This suddenly made so many Irish-English colloquialisms make sense :)
> though I'm sure the uncanny valley is doubly-uncanny when you're looking at yourself

A nice example of this is the face actor of Dina in the excellent game The last of us part 2, made by Naughty Dog. ND is imo leaders in many game things, including facial animation. The characters are in-game really expressive and the animations are really smooth.

Anyway, Cascina Caradonna ("Dina" in the game) recorded herself playing the game. This [0] is when she sees "herself" for the first time. (Spoilers? If you watch the video from the beginning there are spoilers for the first game, which is equally fantastic, but the video is no real spoilers for p2. It's in the very first minutes of the game). Love the reaction.

[0] https://youtu.be/fWvr3fhTqnQ?t=1424

Edit: lots of people dislike the game/ND/ND director, and that's fine, their choice. I like the game and that's fine too.
I'd say about the same. C has its place, and the GHC RTS is a great example.
An introduction to using ANNs and TensorFlow to predict AFL football games
Atheist break-away group accused of taking membership list
Our startup runs on Haskell. I was worried about this initially but in practice finding great Haskell developers has been no more or less difficult than finding great developers in general.
Yes, indeed. And the legal system is also broken because of it.
I think optimizing in weight for non-competitive riding often takes it too far. From my experience, you grow accustomed to the weight of the bike (in fact, it makes you stronger). I frequently see people on carbon frames with xtr sets or such, who could've more easily just lost a few kilograms of body fat, rather than spend literally thousands to save a couple 100 grams of mechanical weight.
Surely a radical viewpoint against the (current) state of the art in software architecture?

Why swim against a tide of industry “best practice” that says ...

... Lets make our application into many communicating distributed applications. Where the boundaries lie is unclear, but everyone says this is the way to produce an application (I mean applications), so this must be the way to go.
Same's true of gold, silver, or cash-settled fresh bacon index futures. Consequently such commodities tend to have long-run zero returns, or returns that just equal the per-capita GDP growth rate, depending on how you look at it. I've watched people lose fortunes at that poker table.

The fresh bacon index is maybe less exposed to this kind of thing because, unless the world mass-converts to Judaism or something, someone will pay to eat bacon, so there's a floor on how low the value can go. But gold? Industrial use of gold is minuscule compared to speculative gold trading. Today GC trades at US$1773 per troy ounce, which is 10% down from a few months ago, late 02020, and 100% up from 02008. In 02001 it was barely above US$200. It could drop to US$200 again, and everyone who bought today and held will have lost 80% of what they invested.

That can happen with fresh bacon, too. What's different with gold is that, if enough people decide to sell, it could drop to US$20. It could drop to US$2. Or it could rise to US$20000. We have more history about gold: it's been a precious metal for many millennia and a widespread currency for the last three. So it's a lot less likely for it to lose 99% or 99.9% of its value like that, or go up 100× (though, as I said, it's gone up very close to 10× in a mere score of years.)

People — and, especially, central banks and governments — invest in gold because they dont think it's likely for that to happen, and because it doesn't have the secular inflationary tendency that fiat currencies do. It may bounce up and down by a factor of 10 in a couple of decades, but in 01687 it was probably also within that same factor-of-10 band.

They're not looking for an expectation of profit when they seek a "store of value".

They're just looking to reduce the risk of indigency.
You can still build a "monolith" but in a very modular way. Can't scale independently like microservices, but what if you don't need scale! Compile times are higher but what if you don't need to compile that much code! One error can bring down all "monolith services" but what if your app is not that big!

I'd wager, something like 90% of software projects in companies can just get by with monoliths.

You know...there are monoliths that are well architected, and then there are monoliths that are developed for job security.
I see two categories of technical founders.

1. The people who have many years of experience building a highly specialized application using domain knowledge gained at their previous job.

2. The new CS grad right out of college who had big dreams, a lot of time, and high risk tolerance. Unclear as to whether they're starting up the company because they failed to get a job elsewhere or because they think they're about to build the next Facebook.
Where Everything Went Wrong: Error Handling and Error Messages in Rust (2020)
I live from a website I built. I got out of the 40 hour work week and I'm not going back.

I'm happy to have left the working world altogether. I'm also happy to program for fun again. It's back to being the craft I fell in love with.
Maybe they have both, and needed a name to distinguish the ejectable weights from the non-ejectable weights?
I've worked in two major microservices environments. The one was a new application where everything was sloppily wired together via REST APIs and the code itself was written in Scala. A massively weird conflict there where the devs wanted a challenge on a code level but nobody wanted to think about the bigger picture.

The other was an attempted rebuild of an existing .NET application to a Java microservices / service bus system. I think there was no reason for a rebuild and a thorough cleanup would have worked. If that one did not move to the microservices system, the people calling the shots would not have a leg to stand on because the new system would not be significantly better, and it would take years to reach feature and integration parity.
DocuSign, Inc. 11-page Investment Thesis
Another issue I've seen is that people push all the problems onto the monolith even if they're external - one place had a Perl monolith (which was bad, sure) but their main issue was an overloaded database which could have been addressed with moving some queries out of the (awful homegrown) ORM and using e.g. signed session cookies instead of every request causing a session table hit.
Enough qualification for /r/theydidthemonstermath
this is correct, I think solidity doesn't even run on a gpu at all

The energy usage of ethereum comes from the proof-of-work DAG, not the solidity execution. You can easily see this by running a (non mining) ethereum node, any decent CPU will churn through the transactions in blocks in a matter of milliseconds (~200 ms per block), not the 13 seconds it takes to generate that block
I feel that. I'm a loner, in normal times. But the prolonged isolation had induced me to participate a lot more in online forums, more than I should. They had grown to be increasingly addicting, because how my life is now lacking inter-personal interactions.
> We need open source printing firmwares, it's only gonna get worse in future.

I'm not sure if you're aware, but Stallman being denied the source code for a new Xerox printer led to him founding GNU and the FSF.

https://www.oreilly.com/openbook/freedom/ch01.html
Monoliths are solution in search of problems.
Micro services are solution in search of problems.

Generally, focus on solving the problems first.

Can the problem be solved by some static rendering of data? Monolith is better solution.

Does the problem require constant data updates from many sources and dynamic rendering of data changes?
Micro services and reactive architecture are better solutions.

There’s no one size fits all solution. The better software engineers recognizes the pros and cons of many architecture patterns and mix match portions that make sense for the solution, given schedule, engineering resources, and budget.
These factors are real but working around them is just a matter of proper government policy. Of course, the problem is a lack of willingness to work around them.
Also anecdotal here but I can't remember the last time power was down for a long time where I live in Belgium.

If I hear about issues it's generally extremely local or an issue with power generation (we're predicted to have more issues in the future due to our gov being idiots void of long term thinking when it came to replacing old nuclear plants)

So all in all I haven't experienced this being down longer issue (and yes flooding shouldn't be able to destroy underground lines and such.)
5k for your car? you could buy a bike for that! :)
You can't just rewrite an existing application to another language. What you can do is add tooling to an existing codebase to improve it. Facebook did this some time ago with Flow for Javascript.
Go 1.16 Module Changes
> Once upon a time, everyone in the entire world lived in dire poverty on the brink of starvation.

Untrue. The world has always had problems, even today, but it's ridiculous to think that everything was bad (before capitalism, isn't that what you meant?). That is propaganda you are repeating out without even noticing.

Go study history before making absolute claims like that.
Use the play buttons. They look like a triangle pointing to the right.
This argument + response keep coming up. If a niche language could never pick up steam we'd still be stuck with assembly. All languages started off as niche.

It's more interesting what constitutes niche, AND as the parent notes what constitutes a "language to have enthousiasm for".

VB, JScript, ActionScript, ColdFusion and BASIC are all niche (nowadays), but without enthusiasm its not interesting.

Besides the niche-enthusiasm, there is also something for "usefulness". Haskell+ecosystem (and others in the FP camp) bring a nice set of features to the table not often found in other languages.
Dunno if anyone missed it but there’s a really sweet playlist down the bottom.

The opener. What a tune https://open.spotify.com/track/6uDF1hOBaZmVNRGZm1NE7g?si=RQz...
Well, I don't have that issue, but I know quite a lot of people whose workplace changed to that. I would refuse to work like that, not to mention that keyboard logging etc is not allowed here in the workplace.
"As of 2011 Facebook is in the second group, and spends several milliseconds of CPU time sanitizing every display string on its way to the browser, which multiplies out to hundreds of servers worth of CPUs sitting in a datacenter paying the price for the invalid UTF-8 in the databases."

I can imagine how companies will be taxed extra for this somewhere in the (probably not so near) future.
C/C++ is a potential footgun, but it has its place for applications where they need precise control.
> I guess 20.5 is nice, 15.5 is cool, 10 is cold, 4.5 is really cold, 26.5 is hot, 32 is really hot and 37.7 is dangerously hot.

Or, you know, 20, 15, 5, 30 and 40 instead of the arbitrary decimals you chose to use to prove your point
> which just ignore the PRs opened by Dependabot.

For JS Dependabot becomes a spammer, because there are just so many packages even in a "hello, world" project.

In one of my projects I just gave up and set up auto-approve/auto-merge on minor updates. This is what the commit history looks like: https://i.imgur.com/cC7h7T7.png And there are 20 more major ones waiting for resolution.

My hunch is that in many projects devs just on't have the capacity to deal with the deluge.
The hottest place in the world: Dasht-e-Lut, Iran
> It's also an a large ongoing liability to have a sizable in-house development effort when it's not your main business. Departments need to be staffed and run, business plans made etc.

This is the same ideology that led to companies outsourcing everything from facility management and cleaning services as the first victims to stuff as critical as IT operations.

Yes, it is a liability and likely also a higher cost (e.g. due to collective wage agreements) to do that stuff yourself. On the other side, you have the large liability of having no direct control over staff and work quality any more - you're entirely at the mercy of your contractors (who are incentivized to find not the best people, but the people willing to be paid the least).
The Rising Popularity of News APIs
And i suspect this is one of the reasons Nvidia is doing this.
Market Segmentation -> Sell two cards instead of one that gets resold on ebay
There is no evidence the Planck length is the smallest possible length in the universe, a pop sci misconception. It is the length at which quantum effects dominate the structure of space time, ie "quantum foam". It is perhaps the smallest measurable distance according to some calculations. Most experimental evidence indicates space is continuous.
Preach Brother
What if those boundaries change because an initial assumption turns out to be wrong?

In a monolith, no biggy. With microservices, huge pain.

Moving to microservices is something you do to optimise scability, but it comes with costs. A major cost is the reduction in flexibility. Starting a new not-very-well-understood thing needs massive flexibility.
Most of them can be reconfigured completely, to any layout you choose.

I think people take pictures with Qwerty to make them more approachable.