skysight-inc/HackerNews huggingface dataset:
I’m biased as my work is primarily focused on large-scale distributed physics simulations, and incorporating machine learning into these. As a result, I treat ML very much as a means to an end.

Of course with the caveat that your situation is unique to you so I can’t give any definitive answers, I would think long and hard before jumping on the ML hype train. In my experience, it doesn’t pay to follow the trend; you’ve either gotta be first or you gotta be unique. Now that’s not to say that doing ML work work will only be restricted to a select few which you aren’t a part of, but myself and a few others are wary that the ML hype train (at least as far as deep learning is concerned) might be passing. The days of the AI labs paying million-dollar bonuses are nearly gone, unless (and someone can correct me if I’m wrong) you’ve got an alternate skill set they’re looking for. Of course, that doesn’t mean there aren’t plenty of people and businesses who would need CRUD-type ML setups; with your experience in databases I imagine that could be a unique angle to attack it from. Whether it’s a good idea to try and pivot into a career using ML really depends on your specific situation and the opportunities therein; to get more solid advice I would ask a trusted colleague or mentor, and would not consult people online, even if they are from HN.

For my PERSONAL opinion: I can’t speak to what is normally done in other parts of distributed systems, since scientific tools are usually bespoke and don’t use the same set of approaches as commercial products. However, just thinking about it from an outsiders POV, it seems to me like focusing more on distributes systems would be a winning combination. I don’t think computers will advance enough in the next 30 years that the need for distributed data and compute management skills will go away; hell with IoT you might be looking at a boom down that career path. From my perspective it’s only upside if you focus on expanding your skilllset in these areas; if ML continues to thrive there’ll most definitely be a need for distributed systems to run these models on. And if an AI winter hits, you’ll have a solid set of core skills to fall back on which I don’t imagine will go out if favor anytime soon. Those are just my two cents though, of course YMMV.
Edit that “buy out” to “form some sort of public/private partnership with an independent board”

I think things are too entrenched these days, but the schools strong points complement each other so well.
I once had to write a version that worked for multiple games. Holdem, Omaha, Omaha 8 or better, Ace to Five, Deuce to Seven, and Badugi. I did it using inheritance, having high and low hand classes. The low ball games just reverse ordinary logic, but Omaha 8 needed both and the 8 or better restrictions. The Badugi class rewrote everything entirely.

When I finally finished I was asked to add Stud, Badeucy and Badacey. That’s when I quit.
The DSP module in JUCE isn't production quality, and the audio I/O integration in RtAudio is good enough for even professional use cases.

JUCE is really painful to use if you want to integrate it into anything modern. It's old, it's slow, and you really can't make it better. I really can't express how much distaste I have for JUCE after shipping multiple products built on it - it solves _one_ hard problem (wrapping AU, AAX, and VST3), other than that it is dog slow and can't be improved because the core devs don't accept outside contribution for no reason except their own hubris.

Any cross platform UI in C++ that isn't JUCE or Qt is highly welcome. Especially one that allows me to pull in external dependencies and use modern build systems, test frameworks, CI/CD, and other tooling.
Show HN: My ODroid H2 'rack mount' setup
Write Pass Instrumentations for LLVM's New PassManager
I see where you're coming from but I don't really agree. Consider a couple of scenarios, both of which are equivalent to things that have actually happened:

- Despite you not being on social media, someone who very actively is can decide to take offense to something you said or did in meatspace and sic the social media mob on you, resulting in you and your family being harassed, as well as your employer to the point that they decide firing you is the path of least resistance. Example: https://www.npr.org/sections/alltechconsidered/2017/08/17/54...

- Social media mob decides to take issue with something your employer/hometown local government/etc did, and the relevant entity enacts policy changes as a result to placate the outrage; these policy changes have a negative impact on your life

You can remove yourself from the day to day outrage cycle by not participating as you say, and I've done that as well. But that doesn't mean it can't negatively impact your life, sometimes in extreme ways.
Yes in theory the CEO reports to the board and the board reports to shareholders. In reality shareholders have zero say over what the CEO does, regardless of the share voting structure. They get the chance once a year to rubber-stamp the CEO's board nominations and that's it.

The exception is activist shareholders who acquire enough stock to get a board seat and then start agitating for change. They tend to be short-term players: once whatever merger or spinoff or dividend they were agitating for happens they move on to the next company.
Yes. And that 1% is still plenty if you only need to know aggregate usage patterns necessary for the examples you gave.

Now if your goal was to collect personalized data in order to get targeted ad revenue...
this is cool, but needs an audio speed option.
> I wonder how many of those investors are also in to uber.

All of them are now: it's an "all-stock deal". I guess it remains to see how many of them will sell.
Wow great review, thank you.
I bet every serious design change aims to alleviate some of the pains that the previous design was producing. I bet it's always an honest "let's make it right this time" attempt.

But every new design also contains certain compromises, and also is found to has pain points that have not been anticipated.

So the cycle continues.
That's one of the principles of deliberate practice: go just beyond the comfort zone, in the area where you feel a challenge, but an approachable one.
> because price is all that customers actually care about

Customers actually care about service, too, but the two-sided-market-drivers-aa-contractors models doesn’t really leave the parts of service that would matter in the hands of the delivery matchmaker, so it's true that all they have is price, not because it's all customers care about but because it's all the firm has any kind of control over, by design.
Revealed: Seven year coronavirus trail from mine deaths to a Wuhan lab
Just did a "dd if=/dev/zero [etc]" in my Rapberry Pi 4:

4974456832 bytes (5,0 GB, 4,6 GiB) copied, 25,4896 s, 195 MB/s

Using this controller and a Samsung EVO SSD drive, I'm really happy with the results: https://geekworm.com/collections/raspberry-pi/products/raspb...
The end goal of what? Uber Eats or Domino's?
Nice. While I suppose Pascal did suffer a bit from its "learning language" beginnings, it was wildly popular as Delphi.

If only Anders/Borland had designed Delphi as a VM, similar to the JVM. Of course he did that for MS with J++ (and then C#), but had Borland done it first with Delphi, would MS still have squashed them? Probably.

As for the Introduction posted here, Nice! Well written and densely informative. Refreshing to see some focus on Pascal.

One feature I'd like to see borrowed in other languages: Class references. In my experience this feature would be extremely useful for code generators, say in Java. For instance, you get virtual static methods and constructors. Man, that would be nice.
The problem is all those people ALSO go somewhere else AFTER the beach.

Do they need to go to the bathroom? Do they all need gasoline for their cars? Snacks to go home? Are they all overloading the stores on the way out? Do they need to hit an ATM?

THAT'S where all the spread will occur. Especially amongst a bunch of entitled dipshits who also don't believe in wearing masks or washing hands.
Yes, of course it’s a generalization. And of course there’s plenty of exceptions like what you said.
I also want to point out something that I wasn’t able to bring across. Chinese people are also generally able to criticize the party over many things, and they do. It’s just you don’t do that over overly-sensitive and controverse topics. Complaining about cultural decisions and mocking them? They do all the time, just be in Shenzhen for a couple of weeks and spend some time with locals... Criticizing the government over the HK situation? that’s a no no.
Are you aware of HASC?

http://hasc.jp/
Ask HN: AI trained to restore audio cassettes?
Has anyone trained a NN to restore audio data that has been degraded with an audio tape? Seems to work great with video [1] but never seen it done with audio. I'm trying to recover the audio of some of the kids songs I had as a kid (on cassettes) so that I can teach them to my kids... but the tapes have degraded terribly over time. Has anyone trained a massive NN to do this?

[1] https://www.youtube.com/watch?v=Fxd8XJ_J0Gc&feature=youtu.be
So I went through a phase of backing a lot of board game Kickstarters, which probably started with Scythe, a game I missed out on (and bought off the BGG marketplace, at a premium). But I think Scythe is an outlier here.

I've gotten a number of mediocre games but some good ones (eg 7th Continent, Gloomhaven). In some cases what I bought ended up being cheaper at retail. I have gotten some reprints though, which are of course more of a known quantity.

I will say though that one nice thing to come out of all of this is "premium pieces". That's why I bought the Scythe Collector's edition. The game remains the same for those unwilling or unable to pay the premium but for people like myself with the ability and inclination to do so, it makes the gaming experience just a little nicer.

But I rarely back Kickstarters now. I'm glad it exists as a means of bootstrapping games.
If you're interested in real world performance of SSD/HD and SD Cards on the pi's i found https://storage.jamesachambers.com/fastest/ very useful.
Yeah, it sounds like they’re designing a way for package authors to get usage stats: imo, this extra piece of data doesn’t really help the server owners de-anonymize because it’s less identifying than the data the server is already collecting as an http server (especially if it’s in an unlogged part of the request like a header or a post body). But, even if it is a privacy risk relative to the server owners, it’s preferable that data derived from this uuid be shared with package authors, rather than IP-based data, because it’s based on a less-identifying datasource, which means that even if someone were to breach the database, they’d have less ability to de-anonymize people.

Also, I find this whole discussion to be somewhat irrelevant when talking about a service serving up arbitrary code to be executed on your machine: if you don’t trust the server owners, you really shouldn’t be executing the code they serve up.
Can you kill specific competitor by stealing secretly their technical IP at all? You would not make them any weaker. You would get yourself stronger, but that would be general technical advantage, against everyone in the market.
Different story if you take commecial secrets, bidding papers etc but that was not the case here?
Yes, no amount of living life (or consuming and doing many things that make parts of it truly enjoyable) is safe for the raw metric of living as long as possible either, but that's why a certain type of trade-off exists between small to moderate but pleasurable risks and living in a way that's worth the name. This kind of puritanism about all possible risks easily slides into the cheerlessly obsessive.
I was reading the Github thread, and I was surprised people who were against it didn't mention any technical problem that may arise from these changes but only opinions about why it's OK to keep them. That alone shows me the disconnection between these developers and the current social situation. I mean, some guys were saying master/slave was unfortunate but too ingrained in tech to remove it! That's sad.
I hope this California bill[0] soon gets enacted into law, that would give extra protection to the residents against selling a customers data without written consent. Written consent is big here!!

[0] https://www.sacbee.com/news/politics-government/capitol-aler...)
fpc has no coroutines. Delphi has them. In fpc, You can declare a procedure or function within another, but that's about it. Authors are skeptical of its utility.

https://forum.lazarus.freepascal.org/index.php?topic=45818.4...
If you can't control yourself to stay in strictly technical subjects or not comment at all don't use twitter. It does nothing to you, it doesn't improve your communication with people and participating in discussions doesn't improve your knowledge either. Speak with private DMs or anonymously. You can never be sure which tweet you made will be targeted.

I just use it as another RSS feed replacement but for actual people instead of sites. Reddit and HN are aggregators for sites.

Never comment on anything non-technical. There's just no reason to.
I'm using rpc calls to GoBGP to get routes for my evpn project. Using CoreBGP as a library and talk directly to other peers might be a better idea.
It's just too easy to trigger liberals these days.
Embedded hardware companies are skewed to an older demographic because you can't hire significant numbers of younger engineers with the necessary knowledge.
>Disposable income (except confusingly on some US tax forms) does not account for private healthcare expenses (the figure that is post other necessary expenses like health insurance is called discretionary income).

As I already stated, the OECD definition of disposable income (https://stats.oecd.org/glossary/detail.asp?ID=46) explicitly accounts for "social transfers in kind", in both directions.

You've already been called out for claiming that the US "doesn't have unemployment benefits"; when challenged your response was more or less "feelz over realz". No matter how often you try to claim that using median income would invalidate OP's point, as I and others keep telling you, it does not. "since healthcare costs should be more or less constant regardless of your income bracket, it would likely be a huge chunk of the median disposable income figure" doesn't even attempt to be coherent. Please stop.
> The wheel is excluded by the problem definition (or rather, not specifically included).

Excluded was correct, if only indirectly: a straight is defined as five cards of consecutive value and aces are explicitly the highest (and not also the lowest) values, so the wheel is not a valid straight by the definition given.
I was referring to the lack of mention of data on violent acts committed by protestors.
This is an actual drawback of not having deterministic destruction. This would not be a problem in C++ or Swift.
Too big to fail works when there's a network effect that locks your customers into you.

VISA is an example of that. Reputation-based businesses (Think auditing firms) are another. Facebook is a third.

On the other hand, a vendor like Nortell did not have network lockin on their customers. They could, and did end up switching vendors.
But Rust is designed to be blazing fast in many aspects, even if it uses a traditional malloc/free.

Most likely if you compare a Rust and Java program that both run a loop creating a million node linked list and then starting over, you'll see that the Java program is much faster. I'll actually try to do that and confirm, but I believe it should be the case.

Even if you were to allocate arrays (Vec) you may see the same.

But, of course, that is not a fair comparison. Rust gives you tools to avoid allocation in the first place. It also optimizes so many things that Java doesn't. Summing up all of the values in an ArrayList<Integer> in Java is going to be so much slower than doing the same in Rust it's not even funny. I'm not even sure that Java implements vectorization yet.

It would be very interesting to see what performance a Rust program would get with a good, concurrent parallel generational copying collector. Perhaps in a few years there will be some interest in that.
Correlation Between Vitamin D Deficiency and Death Rates from Covid-19
Everyone seems to ignore the only critically significant hard problem: how do we mitigate the negative impacts that humans have had on the planet? Right now it looks like we are careening towards a quick extinction of the human race and most other species and we are not doing anything about it. True, the magnitude of the problem is daunting. True, it may be too late as we are past the tipping point. True, it is easier to ignore the risks that it is to confront them.

Maybe the real hard problem is getting people to pay attention to what is happening in their world and to forecast what the impact of their actions will be in the next few decades.
This is some scary shit. Don't use this.
Depends on where you are. Benefits such as free food are taxable in some places.
I have a couple friends (in their 20s) who have nicks that they use pretty much exclusively for online communication, but it’s increasingly uncommon. I’ve got a unique enough real name that I can use my first name on many services no problem, and if not my first+last is almost globally unique. People with more common real names often find more use for pseudonyms. I see it much more in the infosec community than anywhere else.
John Carmack, the famous Id Software programmer, tried it out for a few thousand lines of space rocket code, and he liked it. He argues why giant huge functions can be good for maintainability:

http://number-none.com/blow/john_carmack_on_inlined_code.htm...

Previous HN discussions about that:

https://news.ycombinator.com/item?id=12120752

https://news.ycombinator.com/item?id=8374345

https://news.ycombinator.com/item?id=18959636
Wow, thank you for putting into writing one of my greatest pet peeves about Windows. Never thought about how often I encounter this issue until now, and how bad the UX is.
That does depend how the file is opened. If it's opened with full file share rights (read/write/delete) then it won't block access.

Delete is different in the sense that deleting a file is just adding a flag which tells the OS to delete the file once all file handles are closed. However newer versions of Windows 10 use POSIX delete semantics by default on NTFS. This means the file will be deleted immediately.
The fact that python changed that behavior in the past (i.e. range) shows that writing correct programs usually works in practice.
That intro was very cool! Does anyone have pointers for a fullstack web dev who is interested in the demoscene (or computer generated art in general)?

I've actually played around a bit with rust [1] (I understand it probably isn't ideal for demoscence), but I haven't really done any graphics programming before. I get the feeling it is a pretty deep rabbit hole.

[1] https://github.com/dwaltrip/advent-of-code-2019-rust
I think you should find some better way to spend your time.
Yeah, I'm trying to target the general (curious) public. Like Carl Sagan Cosmos level (or soul of a new machine, accidental empires, masters of doom, etc). I'm still finding my element. Hopefully it will be generally enjoyable by all and genuinely 80-90% new information per episode to people who aren't scholars or academics.

Check out my play from last week for an example of what I mean, http://comphistpod.com/1-4-the-stolen-stars-a-dramatization-... ... this is one of the diversion episodes (which are thematically aligned to the timeline topic in the odd episodes but slightly off the path)
Agricola
I found this quote illustrative. Reminds you of Silicon Valley actually.

Back then, Ottawa, not traditionally (or since) known for its glamour, seemed full of sports cars, corporate jets, and even society scandals featuring tech CEOs. In 1999 the co-founder of Corel Corp., who’d gotten his start at Nortel’s precursor company, threw a gala at which his wife showed up in a C$1 million leather bodysuit with an anatomically correct gold breastplate and a 15-carat-diamond nipple. “You were just surrounded by the most interesting and intelligent people that you could find anywhere in the world,” says Ken Bradley, who spent 30 years at Nortel, including as a chief procurement officer. “Nobody would ever tell me I couldn’t do something.”
Unfortunately the recent trend of tearing down public statues probably doesn’t instill confidence that these kinds of corporate investments will be properly protected.
Consider embedding gobgp directly if the issue is performance of grpc.

CoreBGP isn’t for you if you want something to do the work of evpn parsing for you. This framework gives you hooks to the very low level bgp state machine. There is a lot on top to do yourself to support the exotic address families.
I have a less purist view on it personally. It doesn't really matter to me because I rather people commit more often, and if I really need history I can go check GitHub/etc.
No, they fold to faux mob voices. Twitter has far too much power behind it, currently. I can't wait until companies treat it like the cess pool it really is.
Indonesia's Social Bella bags $58m in series E money
I don't know Rust - but is it possible to write it like this?

fn calculate_tax(income: i32) -> i32 {
if income < 10 {
0
}
if income < 50 {
20
}
50
}

on edit: tried to fix formatting but didn't work.
Parallel File Sharing Platform
That's interesting, I have many credit cars from Visa/MC/Discover and never had an issue with fraud purchases or lost cards.
Overcoming Serverless Limitations
You are not thinking problem at the right Scale.

Education is a problem not only in India, But across the world. In Africa, in remote villages, Possibly on Mars,if we setup a Mars colony. It is not only about financial resources, but also simply non-availability of teaching resource.

The second part, Why is education only relevant for children. Why not adults.

This is where Edtech comes in play. Online Learning and other things. However it is only a small component in the entire solution. Other components are personalization, social interaction, assessment, credibility of these online Learning.

Also it is very easy to monetize online attention. How to build financial model with the true goal of Education is also going to be very critical.

Good news, all the components are technically available or can be built. Bad news. It requires culture change.
Maybe because all variables are `nil` by default, and checking on undeclared variables does not raise an error. So `if foo then ... end` is often used as an existence check, where `foo = 0` should be truthy.
No, if expressions can basically only be used with else, otherwise you have a type mismatch
To anyone with a strong math background and not particularly interested in the history: maybe try Stanford’s Intro to Cryptography by Dan Boneh? I took it way back when I was an undergrad there studying math and physics, and IIRC it got into the math very quickly (not that I didn’t enjoy the historical context personally). It’s been available as a highly-rated MOOC for a while: https://www.coursera.org/learn/crypto
Hm so it's leveraging the Windows API. I thought demos were supposed to be bare-metal.