skysight-inc/HackerNews huggingface dataset:
> "just ship it" is just as dumb as "never ship it". Why are people so prone to these oversimplified polarazations?

Honestly? I think people (in the general sense) are constrained to the amount of complexity they can handle and the world is a complex place so they fall back on picking a choice/hill to die on as a way of reducing the complexity.

Not a new thing, I work with a guy who is an excellent programmer but will argue for ever that OOP is the right way to build software and that he doesn't see the point in functional programming while writing code with map and reduce inside class methods..

The benefit of a dogmatic approach is you never have to question it (otherwise it wouldn't be dogmatic), small government good, efficiency of the market, nuclear bad, nuclear good, emacs better than vim, vim better than emacs, chrome better than firefox, linux better than windows, mac better than PC, religion good, religion bad - pick a side and never think again(TM).

In reality nearly all of life is some variant of "it depends" and there should be no shame in saying "I don't know enough to have an opinion" and if its important then you go look into it.

The fundamental problem is "reasonably informed opinion held until presented evidence one way or the other" is more work than "strong opinions, loosely held".
Yeah. If we could just skimp on policy, and allowed much cheaper construction, less safeguards, and just dumping of byproducts wherever, we'd have much cheaper nuclear power!
i'm glad it worked for the author, and i am sure you can achieve better performance with Rust than with NodeJS, but i'd like to discuss some of the mentioned advantages:

in general, typescript is optimized for cooperating with other javascript code, to make it easy to drop it into a javascript-based project, and also, it does not really have it's own "runtime". typescript is javascript plus types. in fact, if you want to convert from typescript to javascript, you can take a typescript-file, and just delete all the type-definitions and you get a working javascript file (there are some exceptions to this, but it generally is true). this approach has it's downsides of course, for example,when you need to interface with a javascript (not typescript) module, you can easily, but you have to know what types it expects and returns,otherwise you might get invalid structures in your code. there are things that can help you there (https://github.com/DefinitelyTyped/DefinitelyTyped), and it works quite well in practice, but there is no 100% guarantee that the types will be correct.

>> STRICT TYPING (in typescript) For example, the data might contain additional fields or even incorrect values for declared types.

- typescript is structurally typed most of time, so if you have a function that needs an `{a:string, b:string}`, and you send it an `{a:string, b:string, c:string}`, it will accept it. it's a different trade off,sometimes better, sometimes worse, compared to nominal-typing (https://en.wikipedia.org/wiki/Nominal_type_system).

- the part "even incorrect values", it should not happen in your own code. as i wrote above, i can imagine it happening when interfacing with other non-typescript code.

>> DATA VALIDATION: You have to write data validation code to ensure that you’re operating on correct data in TypeScript. You get this for free in Rust...

in typescript if you want to read,let's say JSON data,and map it to a typescript-structure, and return an error if it does not have the correct structure, you can use libraries like IO-TS (https://github.com/gcanti/io-ts/blob/master/index.md) to make that happen. i do not know how you get this "for free" in Rust, i know there are libraries like Serde (https://serde.rs/) that do it.
Your comment does not make sense because it fundamentally says that the spec needs to define the DHT so that no 10 name systems exist. But that is simply nonsense. If you implement a new DNS stub resolver that follows the record wire formats but uses different root servers it will be effectively not the "same" name system as vanilla DNS. It will have different records under names and certainly different security properties. That is the whole point of hyper-local root for DNS.
I am simply implying that you are wrong in that we have to specify the underlying layer.
Anyone can (should be) able to use the spec an implement it. It could be done on top of Bittorrent (not Kademlia as that is the protocol, not the network!), IPFS (the DHT they use) or any other DHT. With the respective implicatoins on security. It will still be conforming to the spec.
> 4) The USA is run by oligarchs who have a policy of discarding workers, so that completely undermines the article - the unemployed will not be working on moving cities inland, they will just be forgotten and destitute.

What's your evidence for that? Unemployment was really quite low in the last decade up until a few months ago, with presumably the same 'oligarchs' already in power?
I think a lot of the best the best things in Rust don't really have anything to do with low level programming per-se. And I find that for most applications, even with all of the extra goodness, the lack of a GC totally craters productivity. Its not because I'm fighting the borrow checker -- I got the hang of it pretty quick. But it means that every API is complicated by the need to think about lifetimes and ownership, having to think about different types of smart pointer, etc. It means you have to manage all of these silly little details which for most applications are pretty irrelevant.

This isn't a criticism of Rust; it's specifically designed for applications where those things do matter. But for the overwhelming majority of apps they don't, and I'd reach for a different tool.

I've found that once I get into a rhythm and I've been working on something in Rust for a bit, it doesn't feel that hard to deal with all that. And a few times I've thought to myself "hey maybe the GC isn't actually buying you all that much?" But then I go back to a GC'd language and watch just how much faster stuff gets done. It's not even close. I think it's one of these things where your brain doesn't notice the time that goes by when you're doing what is essentially mindless busywork.

Part of this is also having come from doing a fair bit of stuff in Haskell, Elm, and a bit of OCaml; the best "high-level" language features are inspired by that language family (including enums) and so it feels like a better control for the difference a GC makes vs. js and friends. It makes a big difference.
being the only senior in a tiny startup, I'm definitely lacking examples. I think I'll look for a Go expert freelancer to be that, when the startup is making enough money. Thanks :)
Indian Army personnel to delete Reddit, Facebook, etc. to avoid information leak
> I've written a redis clone in Go a few years ago and the GC pauses when reaching a few GBs of utilization were awful.

Probably managable with a good slab allocator.
Yep, once they shut those down im out. I hope by then https://dev.lemmy.ml/ has federation working.
I don’t mean to offend, but looking at Saidit, seemingly every single item on the front page is political in nature. Unless that changes, I don’t see the average person migrating there.
Compare the classic https://sockpuppet.org/blog/2015/03/06/the-hiring-post/
Millions of potatoes were recently discarded by Idaho farms due to surplus and lack of demand. I would point to Yemen's hunger crisis, but there are people literally inside of Idaho who don't have food. If you can't even distribute excess food within your own borders it's no longer a logistics problem, people just don't care.
Signal increases its reliance on SGX
I like this idea. But it doesn't objectively scale in a repeatable manner. Whether or not the candidate's answer was interesting to you is subjective. It could also lean on implicit biases where you end up saying, "hey, I like that guy, let's hire him". But it's reasonable enough for small scale engineering organizations (<100 people).
It’s great if you are on a system where you don’t have root and you want to install some packages.
Or maybe that’s because her husband has a LinkedIn page which is easily googleable and mentions three years of working in Google, and she has zero relevant experience.
Exactly. The frameworks aren't there yet but I think Typescript is pretty much ideal for web dev. We're still using dynamic languages for web dev for mostly legacy reasons now.
The days are long but the years, short.
Typescript has two hacks that help with mixing of similar data and introduce somewhat-nominal typing - branding and flavoring [1]. Also see smart constructors [2] for more functional approach.

[1] https://gist.github.com/dcolthorp/aa21cf87d847ae9942106435bf...

[2] https://dev.to/gcanti/functional-design-smart-constructors-1...
Tesla is innovative but has shoddy quality.
They rank the lowest in quality even if you check insurance companies. But boy was the innovation needed in the car industry. I’m just happy it got enough in government subsidies to stay in the market.

https://amp.usatoday.com/amp/3249943001
> It sold for a lot, suddenly the new owners are eager to get returns on that investment.

Reddit launched in June 2005, sold to Condé Nast in October 2006, and was spun off as an independent company with Advanced Publications (Condé Nast's parent) maintaining a majority interest in 2011. So it's only actually been sold once, back in 2006, and that was not for a lot of money -- under $20M. Maybe there's a billion dollar exit in the company's future, but there definitely hasn't been one in its past.

(N.B.: I doubt there's one in its future, either.)
Why do software developers believe that if someone gets there first that's it it's done?

Something about software development attracts people who are underconfident and anxious (or perhaps writing software makes people like that). There's very little support or mentoring, soft skills like kindness, helpfulness and giving constructive feedback are looked down on, and people's first introduction to software (games) is all about competitiveness and winning. The 'heroes' of software are people who have made incredible things and rarely talk about their mistakes. Consequently a lot of developers look for reasons to give up as early as possible because everything they've learned tells them failure is something to avoid at all costs.

Very sadly, in my opinion, the industry doesn't celebrate the effort. It's only about the results. Not having the first mover advantage is seen as a reason why you'll probably fail.

What's slightly odd is that this attitude isn't so common in actual software. Developers are falling over themselves to work on new libraries and frameworks regardless of how many exist already.
"Flutter allows content providers to protect their IP by not allowing text theft out of the box"
units

You have: mph

You want: kph

* 1.609344

/ 0.62137119
Traders from Chile are another option.
Oh, I was just suggesting to make nuclear power as safe as other options for power generation. Or at most an order of magnitude safer.

I wasn't suggesting we need to skimp.

(Similar to how my suggestion for air travel would be to make planes as safe as eg trains.)
Did you move there as a non-Chinese person? If yes, is that hard to do? Any challenges you've faced?
Unemployment was lower but jobs became worse. If there was no increase in federal minimum wage in a decade, you can see why employment went up in that exact same decade.

It's not good enough to just point to one statistic and cancel out a deeply complex claim like that one.
gamedev here and I basically do exactly this.
explore in GDScript, rewrite in cpp.

(GDScript is pretty much python)
Good to see that there is interest in this topic. We recently launched www.virtualgym.run (Web-RTC peer to peer training platform), but we are struggling to reach visibility. Does someone have any suggestion to achieve an impressive growth like this startup?
The most vulnerable (Africa) live in water starved regions that will be seeing increased rainfall.
"for research purposes"
> It's miles ahead of Qt (which I've been programming in since 2010).

Would you mind elaborating?
Epic Keto Pills (Shark Tank) Reviews, Benefits and Cost
Epic Keto Pills

To look at the least expensive Epic Keto Cost, click any picture or catch on this website page! Starting there, you can see what restrictive offers and different limits can be found. In the event that you surge, there is a decent probability which you can guarantee a FREE TRIAL OFFER of the top-selling keto supplement. This implies you can get your absolute first enhancement FREE. All you have to pay is the main genuine Epic Keto Price of dealing with and delivering. Also, best of all, you can evaluate the enhancement for as long as about fourteen days if this arrangement is going on. That way, you can be sure this ground-breaking pill can give you the weight reduction results that you need!

https://djsupplement.com/epic-keto-pills/

https://youtu.be/6N1RBeRCKBQ

https://sites.google.com/site/epicketopillsreview/

https://form.jotform.com/raulshulman/epic-keto-pills

https://publons.com/researcher/3759053/epic-keto-epic-ketopills-get-50-off-today-check-bi/

https://givebutter.com/epic-keto-pills

https://www.justgiving.com/fundraising/epic-keto-pills

https://twitter.com/EpicPills/status/1280746227894636544

https://gumroad.com/epicketopills/p/epic-keto-pills-1-weight-loss-formula-2020-40-off-today

https://mndepted.instructure.com/eportfolios/343/Home/Is_Epic_Keto_Pills_Safe_Work_Pills_Price_Side_Effects_Benefits

https://canvas.pbsteacherline.org/eportfolios/2507/Home/Epic_Keto_Pills__Does_It_Work_Scam_or_Legit_Price_to_Buy

https://parkbench.com/event/epic-keto-pills-weight-loss-formula-price-to-buy-get-a-free-trial

https://www.toevolution.com/blog/view/571502/epic-keto-epic-keto-pills-weight-loss-formula-price-to-buy-ingredients

https://about.me/epicketopills

https://groups.google.com/forum/#!topic/alt.support.diet.paleolithic/DxR_FK7tnok
FYI, General purpose "PiP" tool for windows.

https://github.com/LorenzCK/OnTopReplica
I don't think anyone could take it seriously as education. I see as an interesting interview, where someone will discuss technical things about his art, great for geeks. The one from Hans Zimmer where he discusses how he progressively comes up with the music for a film is interesting, or Ron Howard analyses an Indiana Jones sequence, etc. Don't think it is meant to make you a composer or a director.

Kind of like a cockpit video for planes.
Ask HN: What is your favorite low-end setup you've ever done?
I really like to see what the most modern/productive setup is that you can run on a piece of hardware. My favorites include a NetBSD desktop with current software I ran on a ca. 2000 mid-range desktop a few years back, or, even more delightfully hacky due to ppc32, a debian-ports system I've got running now on a PowerBook G4.
RediSearch – Redis Powered Search Engine
'Landscape of fear': what a mass of rotting reindeer carcasses taught scientists
Om The flip side, modern javascript frameworks seems to like to reinvent the basic primitives as well (based on how often my back button is broken), so I'm not certain that will be a deal-breaker.
to distinguish only by password is evil. a token that can be the same over multiple accounts must not be used as an account identifier for login or anywhere else. what if i use the same password on both?
A few years back I released an app that was almost a direct copy of another app. It’s made enough to buy a Tesla S. Never let people say “How is your idea different from X?” Honestly, sometimes it doesn’t have to be... much or at all.
A tldr for this who don't watch: it isn't - it is full of investor money and even when gas is trading at high prices it is not profitable.
Thank you for the shoutout, and that's wonderful to hear! :D
A good point, I was lazy and mainly did a population survey, I was wrong in assuming Brazil was significantly industrialized. I'm not sure that helps your point much though since eventually they're going to want their economy to grow unless your position is that Brazilians don't want their economy to grow.
These goods are scarce in the economic sense, even if you think they are “cheap”. They are not free to produce.

We do have enough food to feed the world, but that would mean your food gets more expensive as other people consume what would otherwise contribute to downward supply pressure.
The problem is that all consumption levels stay the same but the production costs surge because a bunch of people aren’t working to help produce supplies. The only way inflation doesn’t occur is if all of the unemployed people were doing useless things that nobody wanted in normal times, which is not how most of the worlds markets function.
We've Grown in a Competitive Space by Eating Our Own Dogfood
Oh, interesting question! Let me check out what data I can find on the Chinese.

Do keep in mind that public opinion demands nuclear to be ridiculously safe. And even the Chinese government cares about domestic popular opinion, even if they don't run a democracy.

https://www.technologyreview.com/2018/12/12/138271/chinas-lo... supports that public opinion interpretation to some extent.

I did a bit of Googling, and eg https://www.statista.com/statistics/494425/death-rate-worldw... suggests that nuclear is orders of magnitude safer in terms of fatalities per Joule than most other energy sources.

See https://ourworldindata.org/safest-sources-of-energy for an alternative source or https://www.forbes.com/sites/jamesconca/2012/06/10/energys-d...

If we scaled down the safety of nuclear to eg the safety of natural gas generation (still miles ahead of oil and coal), we could surely safe a lot of money. And we could probably replace lots of oil and coal generation, thus saving lives as well.

TL;DR: policy forces nuclear power to be ridiculously safer than other power sources. But governments are at most indirectly to blame: they are just following public opinion. Democracy at work.
Running an XMPP server is much easier than running a mail server.

I know, I've run both for a number of years.

Very few people need clustering support.
The author claims to do research on optimizing compilers but fails to mention in the readme that running the Scala benchmarks with GraalVM (a different optimizing compiler) eliminated the need for most low-level tweaks (including the double precision tweak that is still mentioned in the readme) https://github.com/athas/raytracers/pull/21
Can someone explain why this matters? I still don’t get it after reading the blog post or fh973’s comment.
What's puzzling is why a language designed for memory safety and low-level control and performance is even being considered for web development where they had the former all along and they generally don't care about the latter. Or if they do they use Java, Go or throw a couple dozen more servers at the problem.
> California doesn’t need money; it needs ventilators.

Source?
Because all the super cheap stuff goes to Africa and is then sold by the bale to small resellers. These small resellers then sell every shirt for the same price. Then local women buy the shirts they like and sell them at a markup.
The 40k goes to the profits of the shipping companies, which goes to the dividends of the stock owners, who are generally spending the dividends on investing in more stock.

In theory shipping prices would go down immediately, but in the real world it could take years for competitors to force the industry to lower costs by the full 40k.
i.e. a 'quaranteam' https://www.healthline.com/health-news/what-to-know-before-y...
Implementation defined :P
> Email seems like such an anachronism. All the big providers manage to get along with each other.

Think of the value of this! Anyone, anywhere, using whatever client they choose, can send a basic message to anyone and expect it to arrive and be taken seriously.

Imagine if IM had worked the same way! I know XMPP is a shitstorm, but one can dream.

Not until I left academia and started working for MegaCorp that mandates outlook web as the only email client did I truly internalize the value of this.
The price of clothing has gotten significantly cheaper since the 80s.
By whom? The crowd on HN? Selfhosting email is obviously doable. Selfhosting does not imply residential IP.
No, it’s about the economies of scale of building 50 power plants per year vs 1 per 50 years. Knowledge and know-how is lost and that increases costs.

Wind has become cheaper (but not more reliable) because thousands of turbines are being installed each year. If they were built at the same rate as nuclear, they would be even more expensive (and still not able to provide base load power).

Nuclear fuel can be stored safely (look up Sweden and Finland’s joint project) until it can be burned in next generation reactors, which are being designed and tested as we speak.

Please don’t straw man on HN. It’s destructive to the community and really bad mannered.
My first thought when seeing this post links to snapstore was "ugh, not that garbage again". Every time I tried using Snappy on fedora it did not work and was so horrible I reverted to immediately removing snappy from my computer afterwards.

Canonical makes garbage software that is superficially easy to use but flimsy and flaky.
According to Stanford prof who launched ramcloud Facebook indeed uses MySQL. But MySQL by itself was hopelessly slow. That's why Facebook has over 4000 memcache servers (this as of 2009). By the time you add ram underlying disks he estimated 75pct of all Facebook data is cached in memory. That's why it works.
"Master"Class? Uh, 1950s much? I thought we were living in the 21st century.

EDIT: Here comes the downvotes from HN nazi white supremacists
https://rust-gamedev.github.io/
Was it on purpose because of India's crazy censorship lately, or just oversight?
I don't totally agree about its strengths not being relevant. Memory safety is an extremely low bar that the web has generally managed to meet, but Rust has a lot of value elsewhere. The author talks about significant performance improvements, which would be very welcome on many sites, as well as improved error handling and data validation patterns.
By what definition? Haskell and Scala both have the complete ML featureset (in particular they have sum types and full pattern matching; they're also part of the small group of languages that has typeclasses, which were originally invented for Standard ML) and are on record as being heavily influenced by ML languages (via Miranda in the case of Haskell).
That demo runs horribly on Firefox.

And clicking around seems to completely ignore my back button.

And hotspots didnt change to the finger cursor.

It looked pretty slick, except for those points. Oh well...
It's so bad. It showed me a notification on the messages icon, so I thought I had a PM. Click on it and it's some stupid "check out this subreddit you haven't heard of" noise that some "growth hacker" added. It's crazy how quickly after taking VC money they were able to run usability into the ground. It's a dumpster fire now.
There's the hype and there's the reality. Some people don't appreciate the former much and reach for the down arrow...

Rust is nowhere near the productivity of Ruby or Python. If that's the case for you maybe your projects have some peculiarities or it's a personal thing.
Also swarms of locusts. :S
Since around 2000 there has been support for AOT in Java commercial JDKs, or JIT caches across execution runs.

So living with slow-ish startup times and let the JIT warm up was mostly a matter for those not wanting to shell out money for them.

Actually, most likely Graal Community edition and its integration in OpenJDK, alongside AppCDS (from J/Rockit), while IBM also brought their AOT/JIT tooling into OpenJ9 that made Excelsior JET decide it wasn't worth any longer.

So besides the BEA, Oracle, IBM commercial compilers now turned into free beer, PTC, Aicas are the surviving ones, but they target embedded scenarios.

And then there is Android Java with JIT/AOT as well.
They have to use some fair method to choose between those 10 people...