skysight-inc/HackerNews huggingface dataset:
In that case I would rather go all in and use C++, C is all about control and flexibility.
I’m not a PHP dev, so I can’t say much of the technical side of the project. What I think looks amazing is the level of detail to the documentation and readme. Congrats!
Combining these two is only a non-issue with unlimited resources.

Otherwise it's a tradeoff if you add constraints like cost, effort, time to market, and so on...
Is the asymmetric risk really any worse than hydro-electric, though? The Banquiao Dam failure killed something like an order of magnitude more people than Chernobyl. And there was the recent Oroville Dam incident which didn't kill anyone but it came pretty close to failing catastrophically.
> First, The Dark Forest theory depends on the capability and willingness to develop world destroying devices.

Any civilization capable of traveling to another solar system has this capability: just take one of their ships designed to accelerate to significant fractions of the speed of light and decelerate at the other end of the journey, set a course, and simply don't decelerate.

> Second, it depends on the likelihood that the species you detect has not yet spread to other systems. If it has, congratulations, you have started a shooting war with an enemy whose threat level you have no gauge of. Some with an inclination of game theory might want to figure this out through better, though.

There's a good chance the above described weapon would be nearly undetectable and untraceable. For at least the latter half of its journey, it's just a chunk of mass traveling through space, emitting no signals. It would also be only a small factor difference in capability (0-1 more accelerations and decelerations than an actual interstellar transit) to send it from a different part of the galaxy.
You were downvoted because it's off-topic and more like an ad. Hn doesn't like ads, self promotions are allowed.

The title mentions joins, I'm not expecting a GUI-tool.
Yes, a MIDI synthesizer can take the score and convert it to audio. (The discerning ear—or even an untrained one, if it's a poor quality sythesizer—could tell the difference between that and a live orchestra, of course, but that may not be a concern for you.)

However, unless you transcribed the original sheet music to MIDI yourself, the file may constitute an “original work” for which there is a separate copyright[0], in which case you'd still need an appropriate license for that. You'd also want to make sure that the sound fonts the synthesizer is using are OK as well.

Now that the original work is in the public domain, though, I would expect that sooner or later there will be a CC-licensed version of it on Wikimedia Commons or the YouTube Audio Library, and you may want to just wait for that.

[0]: https://meta.wikimedia.org/wiki/Wikilegal/MIDI_Files
But what is day 0? :)
He has a nice follow up which gets to the reasons why

https://tonsky.me/blog/good-times-weak-men/

Another take: rewrites and rehashes tend to be bad because they are not exciting for programmers. Everything you re about to write is predictable, nothing looks Clearly better and it just feels forced. First versions of anything are exciting, the possibilities are endless, and even if the choices along the path are suboptimal, they are willing to make it work right.
I think we should be asking: What problem does it solve? why is that problem important? and why would someone use that new solution rather than what they're already using.
The developers have stated their intention to continue development long term... funding permitting. So the way to help ensure you get what you need is to help fund its development. Looking at Godot as a free resource and then expecting anything from the developers is setting yourself up for disappointment.
I don't think any major currencies will get turned into crypto assets either, there's no reason for a government to do that. Instead what's happening is that traditional banking systems are being upgraded to allow instant and person-to-person transfers of money. This is one of the main benefits of crypto - being able to instantly send money to anyone. If you can just use your existing online banking system, so much easier. And the government still gets to track it all and make sure we're not cheating on our taxes or funding terrorists or whatever.

I'm not an expert but I believe many EU countries now have instant P2P bank transfers. Australia just got their system going in the last few years too. The US is a bit behind but I'm sure it's coming.
You’re looking for a midi something or another I think. You’ll have to take care that the midi file you use isn’t itself considered a creative work with its own copyright though (as befits an arrangement)
The two taxes were found to be illegal by the CJEU. It's the fault of corrupt and incompetent Romanian politicians, not the EU. I'm not aware of any German intervention. Why isn't Hungary a dumping ground for old German cars, only Romania and Bulgaria?
Google sheets is what happens when you ask a brogrammer to make spreadsheet software.
Indeed, and pragmatism should be applied, but I mean in the context of not being rushed. I don't mind my team watching YouTube/browsing the web during work if things are going well but I wouldn't accept it if it's done after submission of suboptimal code. If there's time to watch YT, there's time to improve your code (unless it's clearly too much of a refactor).
It's fairly common practice in compilers (for good reason), i.e. the D compiler is now written in D and the Rust compiler is written in Rust etc. I think the first Haskell compiler was written in Miranda but that's before my time.

You get to test the product without waiting for feedback from the real world and you also end up with a test suite (in effect) for free.
Because in order to prove that you know the secret you have to reveal the secret. That makes it unavoidably vulnerable to phishing.
I wonder how different it has to be. If you were to switch around 2 notes in a couple phrases overall you’d probably end up with more or less the same song. I don’t know of anything that would do it automatically. I’m more curious about the subjectivity of what makes it different or not
Taking new year resolutions seriously
The point is that specific religious groups opposed it because it would break the seven day cycle of worship, leaving room for the Devil (insert evil laugh here). Reasonable people pointed out that it would leave people with the choice to worship on an extra holiday, but religion and personal choice don’t get along so in the end religious zealots won out.
Well, quite a few YouTube creators I know of seem to be willing to try new video hosting platforms, and have signed up for quite a few of the existing alternatives. So there's definitely interest there.

The real question is how you'll get a criticial mass of quality content creators, since while 10/100/1000/whatever could be persuaded to sign up to a new platform pretty easily, YouTube has tens or hundreds of thousands of great content creators on it. Also how to get them to prioritise the new platform over the old one, since many use these new platforma as a secondary one right now, not their first port of call for new content.
Why were you using EDGE if there’s dense 4G coverage in Rome ?
>Modern text editors have higher latency than 42-year-old Emacs. Text editors! What can be simpler? On each keystroke, all you have to do is update a tiny rectangular region and modern text editors can’t do that in 16ms. It’s a lot of time. A LOT. A 3D game can fill the whole screen with hundreds of thousands (!!!) of polygons in the same 16ms and also process input, recalculate the world and dynamically load/unload resources. How come?

Well, where's your word processor buddy? Try to write one to achieve those goals -- and offer what people want today, including syntax highlighting, linting, auto-completions, etc, and come back to us...
The big problem is this, if we related this back to software it would mean the software being delivered in 10-15 years, rather than in 6 months. Kind of a big downside...
> it adds up to a big CO2 problem that nobody talks about

if you haven’t seen it already, you’d probably be interested in the below talk by chuck moore, inventor of forth.

https://www.infoq.com/presentations/power-144-chip/
> Otherwise just don't. Public speaking is a profession and imagine a public speaker who wants to pair-program with you in C++. I mean why not? If you can hold a speech he should be able to write some kernel code.

I hereby make a standing offer to work with any professional public speaker to pair with them to write kernel code. Like public speaking, it's a learnable (and teachable) skill, and if you're interested in it, nobody should stand in your way and say it's not worth your time or that it's pointless.

(You, meanwhile, should put a name to your comment so that we can swear never to hire you. You're a 0.1x engineer: your presence on a team will demotivate other people in the organization.)
While the apprenticeship model is a good one and can work in software, I would be wary of such an effort considering how rapidly software evolves. Guilds work well for technologies that are fairly stable and require years of practice and study to get right (metal working, carpentry, plumbing, surgery etc.), while with software you could specialize in languages and frameworks that become obsolete in the order of decades.

However, the idea of working closely with Senior Engineers and learning from them is certainly something that I vehemently agree with. I've been fortunate to have had that opportunity.
Can you tell me how did you go about this, and the impact in your life?
IMO the article is painting a really negative picture about the state of technology. Any profession with large enough practitioners will create tons of crappy stuff; with most professions that crap is just not discoverable. e.g. if you're a crappy carpenter, only your city or neighborhood can see your shitty work. But if you make a crappy website or app, anyone in the world can see and use it.
https://www.thedrive.com/the-war-zone has good coverage of geopolitics, defense acquisitions, and occasionally military history
Ask HN: Owed Salary, Founder Rebranded
The short version of the story:

I was a key engineer in a small startup. Towards the end of the startups life, the founder was involved in some sketchy business dealings with money. The other few employees and I worked IOUs for the final months while "promised money" was being wired, but never came. When I left, I was owed about $15k in salary. The startup is still in business with the state and re-filed their business information as "active."

Recently, the founder started a new startup in the very same space, with the same mission statement as the old startup. I suspect he is using much of the same code, as we had basically a completed product before I left the old startup. It would take years to rewrite from scratch without re-using the old code.

It seems that he is letting the old startup die, while using work that he never paid for power his new venture and raise investments. Is this a loophole? Do you have any experience with a situation like this as an employee who was owed money? I know all situations are unique, but how did your experience pan out?
Yeah, I used to spend a lot of time reinventing OOP in C back in the days. Part of the problem is I learned C++ long before I took a serious look at C.

These days I definitely prefer embedding/baseof since it's more explicit.

When I need polymorphism, stuffing some function pointers in a struct usually works well enough.
I watched that talk a while ago. It is great, and it did change my opinion on a few things. Whether you agree with the premise or not, you can still learn something. For me, the importance of sharing knowledge within a team to prevent "knowledge rot". "Generations" in a team are much more rapid than the general population/civilisation, so that effect is magnified IMO.
Pray tell, what "really good ones" are being kept out? I've driven Toyota, Nissan and Honda trucks; Ford,GM and Dodge are competitive with all of them.
Well, if they are, the public isn't aware yet, which was part of prediction 13.
In theory the US could add Guam and Puerto Rico... but how would that ever be politically viable? There's no way this is going to happen if one party in a two party system knows it will lead to their doom.
clearly someone needs to containerize the yak, then it would be easy to both shave and wax it.
Best Psychology and Self Improvement Articles from 2019
The big assumption being economical grid storage. We don't have a technology yet to do that.
All the big consumer banks in the US also have instant transfers to phone numbers or email addresses:

https://en.wikipedia.org/wiki/Zelle_(payment_service)
>And then there’s bloat. Web apps could open up to 10 times faster if you just simply blocked all ads. Google begs everyone to stop shooting themselves in the foot with the AMP initiative—a technology solution to a problem that doesn’t need any technology, just a little bit of common sense. If you remove bloat, the web becomes crazy fast. How smart do you have to be to understand that?

If you "simply blocked all ads" the people making the pages wouldn't have the income which they maintain the pages with.

How smart do you have to be to understand that?

>We haven’t seen new OS kernels in what, 25 years? It’s just too complex to simply rewrite by now. Browsers are so full of edge cases and historical precedents by now that nobody dares to write layout engine from scratch.

Well, there's Fucsia, speaking of new kernels. And Mozilla is doing exactly that, written a new layout engine from scratch (plus a language to write it in).

(I agree with the general sentiment of the post, but the examples are often shoddy)
There's a core dispute here, and it's a pretty common one that can never quite be resolved.

The practicality argument I think you're making is necessary when you're working on an existing language feature, and that's because you're invariably forced into tradeoffs.

The argument from design I'm making is more appropriate to a completely new language feature; the more your design is based on math and especially the linguistics and psychology of user's intent, the fewer clever hacks the user has to make and the fewer tradeoffs you'll be making in the future.

Haskell did get a lot of design choices right because they had smart people who worked through the math, but I think regarding linguistics and psychology, it's much more of a "greybeard" language.

> It won't if you don't use record syntax.

"Don't use that feature" is simply acknowledging a feature is broken, it doesn't make it not broken.

And you typically need named fields because you have complex code and want it to be maintainble, that's also when you don't want your namespace polluted.

> Sure you can. f(a, b) = a + b

How does that work declaring an operator?

You're trying to write a binary function, but to do that thing you have to do something else, write a unary function that accepts a tuple.

It's hard to claim that "oh, n-ary functions are really just functions that accept n-tuples" when Haskell plainly doesn't believe it. That's evident in the fact that you lose the benefits of currying, sections, etc.

> > it uses the same structure for declaration and for application

> The same as Haskell

Nope.

f :: Int -> (Int -> (Int -> Int)) -- Parens for clarity
f a b c = a + b + c

x = ((f 3) 5) 2

So we have two mismatches here:

1. The associativity of type is the reverse of application.

2. Neither of them reflect the simple case where I want to call a function with three arguments.

And, look, I get that math is what makes #1 an issue. I'm more an advocate of ubiquitous partial application:

f :: (Int, Int, Int) -> Int
f(a, b, c) = a + b + c
x = f(3, 5, 2)
y :: (Int) -> Int
y = f(3, 5, ...)
z = y(2)

It's stating exactly what you mean, and still has the benefit currying, and it's clearer to the reader what's a function and what's a value.

Function types become more complex, so I get why currying is attractive, but, again arguing from design, that's letting implementation drive interface.

And the math behind currying is certainly sound, but it's obscuring the fact that an n-ary function plainly isn't a unary function. They're just two different things.
I wonder why this discussion always falls to Unity and Godot; Unity source is not available, while Unreal Engine source is.

Unreal also has more features available than both engines out of the box, as far as I am aware. I don't want to sound like an advert, but the shading and Blueprint systems in UE4 are extremely intuitive and easy to work with, and the C++ is definitely managable. I've never used Godot, but the last time I compared Unity to UE4 it felt extremely clunky. Lastly, prototyping stuff in UE4 is fun, once you get used to it and develop your own workflow.
Muslims, 24% of the world's population, have the following requirements to eat meat:

- They sacrifice a goat (or sheep, cow, camel, etc.) once a year on Eid.

- They sacrifice a goat, etc. upon every baby's birth.

- They are encouraged to sacrifice an animal for atonement, blessings and other reasons.

Read more here: https://en.wikipedia.org/wiki/Animal_sacrifice#Islam

I don't think animal consumption is going down that soon.
You can apparently use real recorded instrument sounds with midi and music software, it’s used for professional artists too and some of the “instruments” are many GBs in size - don’t think a living soul could tell the difference.
Automating lights doesn’t seem super exciting, but as someone whose done it - it’s been a surprising quality of life improvement.

The colours are cool. But the real power I’ve found is that every light is dimmable. It doesn’t matter if you have a dimmer installed, which is not something you can usually do in a rental.

So, my lights automatically stay at the ideal level of brightness for the time of day. Later into the evening they only put out between 1-10%, and in some cases are set to only red.

Compared to living with lights that are either 0 or 100%, having that range in between has made a dimly lit house possible when it makes sense. And that’s been so much more pleasant I’m never going back.
Sorry to be unclear.

When the USSR collapsed, the US could have been gracious. Although there was some show of that, overall the US was aggressive, vindictive and disrespectful toward Russia. From what I've read, Yeltsin took it very hard, and drank himself to death.

And then his protégé Putin came to power. Whose family had died during the siege of Leningrad, and who had watched his mentor drink himself to death.

At that point, Cold War II was ~unavoidable.
“While much of the rest of Mercy Hospital Fort Scott had been underused and patient rooms sat empty, the ER handled nearly 9,000 people the year before it closed.”

“Bourbon County (county code BB) is a county located in Southeast Kansas. As of the 2010 census, the county population was 15,173.[1] Its county seat and most populous city is Fort Scott.”

That’s a lot of ER visits per capita.
Blowing up the TPP and the "phase one" trade deal being signed shows there's no actual strategy being executed.

Also, trade deficits aren't a meaningful issue in and of themselves.
Considering the public domain is up to 1924 and Steamboat Willie is from 1928, Disney is certainly going to start pushing for an extension soon if they haven't already started lobbying for specific legislation on the issue.
I just uploaded porn. How will it be handled?
The graphql-js library focuses on correctness, not on performance. Facebook doesn't invoke it at runtime, only at built time. They use persistent queries only. If you want a high performance server runtime I wouldn't use Node.JS. Especially for a complicated task like validating and resolving a GraphQL query Node.JS is the wrong tool. It's too high level to tweak hot paths and optimize the garbage collector. So no, I don't think the flame graph is suspicious. In my language of choice (go) I could drill down memory and CPU consumption for each line of code to find the bottleneck. Maybe this is possible for Node.JS too, I don't know the tooling so well. I would suggest that if such tool exists a detailed flame graph of the Node.JS application might help understand the issue.
ah, thanks. I had not realized it comes on the first business day, I just previously assumed it was the first day.
Ads dont have to be so heavy. They load entire frameworks in ads these days.
Do not forget parallelism. Neural networks, electronic circuits, and a lot of other processes in nature occur simultaneously at an enormous scale.
What if the site has multiple revenue avenues, of which ads are just a part? What if the site's actually a part of the OS that I've already paid for, but which inexplicably has to be connected to the Internet and serving me ads for Candy Crush?
Maybe Elephant Poachers Aren’t as Evil as You Think
Same here.

Using non-intrusive linked lists just feels wrong once you've gotten used to the idea of embedding links, I find there are always better options.

Intrusive lists on the other hand is simply the best solution in some cases.
difficult to know the truth when the population answers surveys by picking the right answer instead of giving their true opinion.
> Like find alternatives if the right path ends in a yak

But taking his example at face value -- I mean, you are going to have to return that pillow someday, and to return the pillow you are going to have to go to the zoo and shave the yak. I mean, yeah, today day maybe you can just deal with the old broken hose. But if you'd shaved the yak last weekend instead of whatever other thing you were doing, you could have bought a new hose this weekend. The longer you wait to do what you need to do anyway, the more hassle you end up dealing with.
Would you please stop taking this or any other HN thread further into flamewar? That's not what we're after here.

https://news.ycombinator.com/newsguidelines.html
I don't think yak shaving is the same as planning ahead.
Instead, yak shaving is about putting in a bit of effort now to 'do things right' rather than quickly work around some issue.

The difference being that in planning ahead, the 'right long term thing to do' is hard to figure out. Whereas with yak-shaving, the 'right long term thing to do' is quite obvious, but the question is whether it is worth it.
I'm biased, though...

https://bassi.li/blog has short-form programming-related content.

https://mikesgamingtrove.ca/archives/ has long-form video game-related content.
A possibly even more significant milestone would be when the best lab-grown or hybrid lab-grown/plant-based meat tastes better than the best natural meat. This seems like something that should be possible, possibly within a decade given recent trends.
Rewrites can be really amazing if you incentivize it that way. Its really important to have a solid reason for doing a rewrite though. But if there are good reasons, the problem of 0 (or < x) downtime migrations is an opportunity to do some solid engineering work.

Anecdotally, a lot of rewrites happen for the wrong reasons, usually NIH or churn. The key to a good rewrite is understanding the current system really well, without that its very hard to work with it let alone replace it.
Philips Hue doesn't require Internet connectivity.

Bulbs and switches use ZigBee ZLL (AFAIK, they don't have WiFi capabilities at all), and IIRC it can even work without the bridge (just turning on and off) as switches can talk directly to bulbs.

Bridge device surely can work without Internet. It's essentially a small webserver that exposes an API for the smartphone app (which talks to the bridge directly as long as they're on the same network) and then talks to the devices over ZigBee. IIRC, there is even FLOSS RPi-based alternative implementation somewhere out there.

Don't know if Internet is required for the initial setup.