skysight-inc/HackerNews huggingface dataset:
Your answer is spot on. The way I see the project is that it could somehow bring people to think that we can somehow save species using technology. I don't like that much because it frames the conservation effort to a specific object whereas an animal doesn't disappear like that, it disappears because its environment can't support it anymore.

Alors, regarding the negativity, and you can call me a totalitarian, I think much of the way we see things come from our education. So I think we can actually teach children to recognize the obviousness of healthy eating. That education of course is balanced by what you learn from society and also from the dreams projected by that society. For me reviving dead animals is a useless dream.

As for environment protection, the question of being exciting is not there. It won't be exciting at all for the masses. But in the end, if nothing is done, it won't be exciting either. My idealist brain doesn't accept that but my pragmatic brain understands that we'd need some political/philsophical/sociological super powers to change that. One of those super power is propganda. We know it works (even if the examples from history are unfortunate). But then again, propaganda doesn't mean dictatorship, just look the level of communication we receive about covid.

We'd need an Elon Musk that would build a project around crowd hacking instead of sending cars to space. That's what we usually get into the form of charismatic leaders. Maybe that's what we need (or maybe I'm biased by my own personality who ikes charismatic leaders :-))
Well there are video editing GUIs, even straightforward ones. But they'll have footguns and surprising behaviour everywhere. Lossy or compressed video is a hard problem.
Yeah, more like:

1. VC Money

2. Will collapse unless they put the price up

3. In America there was some crazy medallion system

4. VCs are selling off their shares before the whole thing collapses
Custom React Hook: When Software Design Meets React Hooks
7 years after launch, Invoice Ninja launches platform built with Flutter
It takes a special kind of asshole to do that to your kid.
I've come to realize the same thing: it's not all bad and at least makes sense in some regard.

If you think of your will power as a limited resource for example, with blocking out distractions an actively depleting activity (not sure what the latest results on that are, afaik it's a generally valid model that sometimes doesn't hold up), it makes sense to wait with starting your work until the point where distractions simply aren't a viable option anymore. Basically, you conserve energy by making it easier for yourself to stay on task, by raising the 'importance gradient' until 'action selection' becomes effortless.
It is not so simple, let me give example, in UK during pandemic prices hyped by 30%. Reason is, rich own land and properties, but they own them on account of debt and cash flow. Some people have more than 100,000 properties in their portfolio, and they relying on cash flow. So, if anything disturbing happen let say pandemic kills lots of people (or they lose their jobs) and no one rents anymore, then next thing that will collapse are banks, as Banks cannot get their money back. Next thing is government collapsing.
In order to maintain this structure, or protect it from collapsing, during each economic crises government pumps more money (subsidies, interest free money, free money) to the rich. What they do? They buy even more properties.
So, basically on account of the blackmail-standoff-ransom-situation, they siphoning all the properties from the market. Regardless how many properties you make in UK they will buy them all, as they buying them with additional debt - and in that way protecting their renting business. ¯\_(ツ)_/¯
...or even from one moment to the next.
National Security Theater?
+1 exactly my thoughts do you have notes of these comments? Just for spaced repetition to make it stay in memory forever.
But the assumption is that the US userbase is concentrated in the bay area. So its mostly people in or near SF and the like.
Buried for 4K years, ancient culture could expand the 'Cradle of Civilization'
"In 2001 a flood of archaeological objects began appearing in the antiquities market seemingly out of nowhere. For sale were distinctive pieces of jewelry, weapons, finely crafted ceramics, drinking vessels, and game boards—featuring unusual artistry and magnificent inlays of carnelian and lapis lazuli. These extraordinary pieces featured a complex symbology of animals, both wild and domesticated, depicted fighting among themselves or with human figures, the humans always triumphant. There were beautifully realized bucolic scenes of animals grazing in vast palm groves and architectural reproductions of temples or palaces.

Data provided by the internet sites and auction houses selling these mysterious pieces was sparse and, at best, vague. Their origins were often listed as 'from Central Asia.' At first, it was assumed that the pieces were the work of expert forgers, but as more came on the market in the following months, scholars began to speculate that they could be genuine, deriving from an undocumented site whose location was unknown to them. In 2002 more appeared on the market.

Iranian police solved the mystery later that year. [...]"
Show HN: Bincopy – An alternative to SRecord written in Python
Some context on the issues you pointed (all true, to be clear):

> * no (official) package manager yet, though this is aparently being worked on

It's the next item on the roadmap as soon as the self-hosted compiler is good enough.

> * documentation is often incomplete and lacking

The language reference is good, but for the stdlib it's best to just read the source code. For other miscellaneous learning materials:

https://ziglearn.org/

https://github.com/ratfactor/ziglings

https://www.youtube.com/c/ZigSHOWTIME

> * error handling with inferred error sets and `try` is very nice! But for now errors can't hold any data, they are just identifiers, which is often insufficient for good error reporting or handling.

It's still under debate and I'm personally in the camp that errors should not have a payload, so I would avoid assuming that it's definitely the preferable choice. We already have a couple of existing patterns for when diagnostics are needed. That said proposals about adding support for error payloads are still open, so who knows.

https://github.com/ziglang/zig/issues/2647

https://github.com/ziglang/zig/issues/7812

Existing pattern: https://github.com/ziglang/zig/issues/2647#issuecomment-5898...

> * No closures! (big gotcha)

It's possible to create closures already (by declaring a struct type with a method (the closure) and instantiating it immediately after), but it's a clunky solution. We also have an open proposal in this space:

https://github.com/ziglang/zig/issues/6965
Mostly ecosystem and community support. There are a lot of interesting languages out there, but it's hard to do interesting things with them if they're missing support.

Zig might be in a good position here as it has very nice C interop, which lets you leverage the past 30 years of programming history, but it's still got a ways to go before it will be "ready for primetime" from the look of it.
Walking 2k a day, eating less bread, milk and butter.
Google is an investor in Gitlab
In the philosophy of personal identity, teleportation is an intellectual contrivance only intended to help clarify thinking about personal identity. Another version of the same concept is the 'Swampman' thought experiment [1], which is also obviously not intended to be taken seriously as a scientific possibility. Most thought experiments in the philosophy of mind and personal identity have this character, e.g. Mary's Room [2], the China Brain [3], Philosophical Zombies [4], the Chinese Room [5] etc.

Thought experiments are often not intended to be carried out empirically (Schrodinger did not poison cats, Maxwell could not summon demons, Einstein did not throw people off buildings or construct clocks made of light, and so on), but they are nevertheless useful tools that can lead to insights about the real world, or serve as inspiration for actual experiments (Bell tests [6] are perhaps a good example of this, as they derive directly from Ian Bell's careful consideration of a famous thought experiment of Einstein, Podolsky and Rosen [7]).

Quantum teleportation is also of course a real phenomenon [8], and it does have some of the same properties as the imaginary teleportation device that Parfit and other philosophers consider in their work, albeit that it has only been demonstrated at the atomic scale for now.

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

[2] https://en.wikipedia.org/wiki/Knowledge_argument

[3] https://en.wikipedia.org/wiki/China_brain

[4] https://en.wikipedia.org/wiki/Philosophical_zombie

[5] https://en.wikipedia.org/wiki/Chinese_room

[6] https://en.wikipedia.org/wiki/Bell_test

[7] https://en.wikipedia.org/wiki/Einstein_Podolsky_Rosen_Parado...

[8] https://en.wikipedia.org/wiki/Quantum_teleportation
I flew into SFO in approx 1990 with some 3.5 inch floppy disks. The customs guy had to ask me what they were.
Did you become a software engineer?
> Totally unsafe.

Please justify that claim. snprintf() limits itself to the specified buffer size (in the way safe from off-by-one errors) and always null-terminates. What more do you want?
EVs were a lifeline for owners during the Texas blackout
Well, yes, but that's also why most traditional companies are left for dead by the newer ones who are not doing that. The threat is existential and should be treated as such by the highest levels of management. The idea that they "can't" do it is just short-term thinking. A re-org is a big move and will upset the apple cart for a while, but not re-orging is often slow death.

Personally I'd almost always rather hire a single senior engineer and pay them what two juniors make. I suspect I won't get double the JIRA throughput, but will get more than double the actual effect on the product.
Please don't change the goalposts to "general ideas". The works of Dr Seuss can NO longer be published by other actors without violating the terms of copyright and inviting the full force of law and government and punishment on those who would attempt to do so. Besides, ideas can only be expressed through mediums and when those mediums are banned, so is the expression of ideas.

There is no flourishing of the market place here - it has been implicitly denied. If there were no copyright - you can be bet your years salary that there would be folks willing to publish these books for the audience that wishes to read them.

Remove the copyright - make it a true free market and THEN let's see if your argument that the ideas themselves are not popular enough holds true. Besides your statement of financial justification is utterly false. Dr Seuss tops the list of top 10 children's books.

No, its fascist ultra-left ideology that is responsible for these implicit bans. Some folks want to dictate what other should read - capitalism doesn't even come into the picture.

https://www.usatoday.com/story/life/books/2019/03/01/dr-seus...
Or another way. If the thing was symmetrical the pressure would push both ways and it wouldn't move so the designers have to make it asymmetrical so it's easier to get out the exhaust. I think in practice the compressor blades are closer to perpendicular to the flow than the exhaust turbine ones.

It's also important that there is a larger volume of gas leaving the engine than going in as it expands when the fuel heats it. So while the pressure is the same the energy is greater on the turbine side due to the greater volume so it has power to run the compressor as well as fly the plane.
As a stats PhD, I am telling you Ole Peters is misunderstanding what EUT is ;-)

EUT was developed by von Neumann, someone slightly familiar with ergodicity. It simply is not based on dynamics of out-of-equilibrium systems. Any such thing is an application that adds assumptions to the construct.

Ergodicity is an obvious addition in the time domain, it is so obvious that the insight is not even new. However, Peters restricts the problem to a very simple dynamic gamble and then claims that all of economics must be wrong.

The very first sentences of Peter's article already get this completely wrong.

If you insist on his results, despite the quoted article, the most one can say is that the application of EUT to these problems is questionable.

To put it in terms you may be more familiar with. It's like saying that Object Oriented Programming is "wrong", because Python doesn't work for my problem at hand.
I use a non-mainstream language, Haxe.

- There are extremely few jobs that recognise it. I'm attempting to learn C++ because of this.

- Documentation can be lacking as there isn't as much demand for it, or people with time to write it. That said, personal support in small communities can be great.

- Smaller library ecosystem.

- Survival of the language into the future is less certain without the financial support mainstream languages have.

I've used Haxe for years despite these points, it's a great language. A language is more than it's engineering though.
They don't have to deal with intertemporal substitution because their model doesn't consider consumption at all.

They care only about the limit of the rate of growth when the horizon grows. It's effectively a single (infinite) period model.

At best, they just repeat a well-known argument supporting logarithmic utility. It's just a special case within the expected utility framework.
Or those who drive a taxi have initially few percent of insane, and those who can’t stand it just leave. My experience (15 years everyday local taxi user) is that good people didn’t last long until uberlikes rushed into town and made it a “still hard but now regular” job with rules and feedback, for both drivers and clients. Before that, taxi was a grey market filled with pathetic excuse of a thug trying to expel the weak, do some easy money and tell their story. Not a single regret about these times and these imbeciles.
That's okay. We all have varying time pressure vectors.

As long as when we find ourselves with that rare free time on our hands, and still find some areas where we apply that learning process, we haven't fallen to cargo cult incantations. As the field grows wider, it is natural to resort to incantations for ever-increasing areas. It is when I tell juniors, "hey, you can take all day to peel apart what you can of whatever you pick, it is a no-meeting day and no tickets need to land in your queue", and they get a deer in the headlights look, that my concern starts rising.
Milk is included in the pre-mix. Haters gonna hate :)
"no one is buying our expensive SSL certs. If we show businesses how unreliable a free service is, CTOs will make their admins buy from us."

or

"domain xyz's certificate is expiring. If we pay for a ddos, their site won't be able to renew and (customers wont go to the site due to expired cert/API people use wont work/we can take advantage of a compromised cert longer)"

Just some possible but implausible scenarios.
Where did the British(?) idea of milk in tea come from? When I lived in Britain I was surprised to see that people put milk in tea almost without asking as if “tea” meant “tea with milk”. When they had colonies with tea plantations I assume it’s not common in Asia so when Britain had colonies people didn’t drink tea with milk there when the Britons arrived? Is it like UK Indian cuisine, an “adaptation” to the local taste?
Expand it to "everything you think you know about names and addresses is wrong".

The streetname plus house number plus an optional letter plus an optional floor and side/number, plus postal code and town/city/district makes sense in a lot of the western world, but can break down very badly when trying to handle international addresses.

Take down the phone number and email address in separate fields, their formats are at least reasonably constrained.

For name and address, put a text box, and let people add as their name and address in the format that makes sense to them. If you need to send them anything physical, the various postal services around the world are really good at figuring out the right destinations for letters and packages.
Yeah, ride sharing apps can be more safe if the alternatives in the market are not regulated properly. That is the case where I live (India) for rickshaws and to some extent, cab services.
The impact scenario was that a person with a common name comes for their order, gets given a bag/box with stuff, and that box contains both their items and the items from someone else with the same name - i.e. the process (and the supporting IT system) simply couldn't organize separate pickups for two different John Smiths on the same day.
Even less adventurous would be to consider that counselling has no effect. But in any case, the study can only provide information regarding counselling with respect to couples that refuse it, not regarding counselling in general.
Hi, I am one of the authors of Cactus Comments.

Making Cactus Comments work without javascript would require a backend server. Right now, the frontend is actually just a special-purpose Matrix client that interacts directly with Matrix homeservers.
On really high volume consumer electronics, multiply any cost savings by tens of millions. Now you're talking real money. The HW engineers have knife fights in the hallways over resistors that cost less than a penny.

I'm kidding about the knives. But cost reduction meetings can be pretty brutal, especially when the HW team is looking at the SW and firmware folks across the table and saying, "Sure, this is painful, but you can program around it. It saves us ten cents." Ten cents is a fortune.

In pre-ARM days I once saw a HW team seriously propose half populating memory. No, not that way. The other direction, where they'd just take away the upper half of each byte of RAM and thus save a chip. "Only use the low four bits of each byte, you can just program around that, right?" The only reason that cost reduction didn't fly was there was no way to make the stack work properly for interrupts.

First rule of consumer electronics: "No one cares how much you suffered getting it out the door."
For hobbyist use (where quantity is usually 1 and shipping and work matter more than a $1 part cost), I've found that going overkill is usually worth it.

A ESP32 board with a built in display costs around $10, and is pretty universal and easy to use, and scale makes them cheap. Need more? Stick a phone to it.

I'm surprised there isn't some common "overkill" industrial board similar to a very cheap smartphone, minus battery/charging, camera, and GPS, plus connectors for various protocols/pins for interfacing with other devices. Cheap smartphones cost less than $30, so such a board shouldn't the very expensive, and it could save a lot of development time and costs for bespoke hardware design when building devices that need a touchscreen and WiFi (think a fancy washing machine or fridge).
Context matters, both for the designer and the user.

If a shipping address is desired, ask for one with name. Give the user a textbox entry field.

It is OK to reduce a round-trip with client side checks for length and line count, etc; the server MUST perform final validation for correctness and MUST also indicate success or why failure.

It is OK to ask the user for variations of their name for different contexts. How it should be displayed for legal reasons, how they'd prefer to see it, if there's a short name of any kind they'd like used for less formal settings.

Please try to accommodate any valid form of input. Some users have touch-screen devices (mobile, tablet). Some have keyboard and mice, or speech dictation, braille (spelling?) or possibly devices you've never heard of before. Don't just default to dropdown boxes and sliders when alternatives like specified input type. https://html.spec.whatwg.org/multipage/input.html#the-min-an... The client software should provide the end user the best suited widget for the requested type.
Another falsehood programmers believe about names: Nobody will ever have a last name of "Null." Mine is, and I find myself sending emails pretty frequently about people's code breaking on it.
"Joe Bloggs III" is a pretty common name? Are all those parents arseholes?
Just the basics: number of installs, activity of maintainers, the "feel" of their Github repository.

I have never had the need (nor was I asked) to vet code in depth before adding a dependency.
WHAT???
D, Nim, and Haxe had it for quite some time (Along with Jai, which is yet unreleased to the public), although you can argue that Zig’s implementation is conceptually the simplest (it has merged compile time semantics with generic types in a unified way).
Ask HN: Relocating from UK to US in 2021 (post-Biden) as a developer
I'm curious about the posibility of relocating to the US from the UK to work as a developer.

Obviously there is a lot of information online about this topic, but a lot of is from the Trump-era and I was curious if things are any easier (or likely to get any easier) under Biden, as it sounds like he is more open to immigration generally.

Do FAANG-type companies sponsor H1B visas for applicants from abroad for regular (senior) roles? It's quite hard to find information about this.

I've got a decent amount of experience, I know my stuff and have previously worked at one of the big tech companies, so I'm fairly confident that with a bit of preparation I could pass the interview process, but I don't know if that's good enough if you require a visa.

I guess the alternative would be to get a job with one of the companies over here, and then look to relocate to the US - can anyone who has done this say whether their eventual renumeration was the same as if they'd applied for the job as US citizen?

I'm honestly primarily motivated by the salaries offered by big companies in the US, which on paper at least is much higher than in the UK or EU, but I'd also like to try living there for other reasons.

Any thoughts or advice welcome!
Their result is not an alternative to expected utility maximization. It is expected (logarithmic) utility maximization.
What are some other good C++ project ideas?
Might this be able on macos?
It's akin to a certificate of authenticity for a numbered print in a series. Anyone can make another copy of the print, and it doesn't really matter which copy a certificate goes with, but without the certificate the print is worthless.
> China has more than enough nuclear capability to cripple the entirety of NATO and they also are well aware that NATO has the capability to do likewise.

First, no it isn't. Second, in a few more years, China will be the only country in the world with material, and military capacity to take the second strike, and keep on offence.

Third, you haven't learned anything if you ever studied WWII. While Germany was running on vapours in the late war, it was still running. They had few years more of small arms supplies, and still some food, which was indeed better than what union's officers had even in reich's final days. Last reserves of fuel were enough for more than a year of low intensity warfare. And yes, Germany fought to the bitter end. Otherwise, where did you thing hundred of thousand American casualties came?

Please don't comment on this matter anymore. You don't know anything about war.