skysight-inc/HackerNews huggingface dataset:
Divinity 2 is a really interesting one. The beginning of the game is utterly terrible when you're just starting out. Almost all of the battles are out of your league, there's very limited opportunity to get stronger, and if you're not interested in stealing the most basic scraps of equipment, it's hard to get anywhere in the game if you're not familiar enough with the battle mechanics.

Great game, but probably one of the most unreasonably difficult starts of any I've seen (relative to what seems to be the intended level of difficulty in the game). I nearly dropped it because I couldn't find the few stupid crocodiles that were killable after hours of walking around getting thwomped by everyone. Which was really annoying because the characters have strong personalities, so they say shit like along the lines of "let's go kill them all" and then be pathetically underpowered.
The hazard there is that a new boss may come in and either not see this person as critical and let him/her go or see this person as critical and go to the effort to find an equivalently senior onsite person to replace him.
New Zealand is the only country that has a government that full elimination is a viable option. The modelling that drives the belief is 100% based on the best available science. You can read the papers yourself, they've already been released by the underlying institute: https://www.tepunahamatatini.ac.nz/2020/04/. In particular "Modelling COVID-19 spread and the effects of Alert Level 4 in New Zealand" was highly persuasive https://www.tepunahamatatini.ac.nz/2020/04/09/a-stochastic-m...
How long is this data retained, and what does it actually include?

> This data has never been, would never be, and will never be sold/rented/etc. to advertisers.

Unless Stripe goes bankrupt, in which case it'll be liquidated along with all the other assets.
Does anyone have a link to a statement from the provider? Or at least their name?
Anecdotal, but many smokers I’ve known are using nicotine as a cognitive enhancer.
You have a home server rack. That places you comfortably in the "almost" part of "almost nobody".
The Road of MainNet and Beyond
Which of them is profitable?
In Rust, this destructor is perfectly fine:

impl Drop for Foo {
fn drop(..) {
self.cleanup();
self.free_memory();
}
}

even if `self.cleanup()` panics. When that happens, `self.free_memory` will never be called, and memory will be leaked if `panic=unwind`, which is the default behavior. If there is a `catch_unwind` somewhere, these leaks will grow over time.

The same code in C++:

~foo() {
this->cleanup();
this->free_memory();
}

does not have this issue, because if `this->cleanup()` unwinds, that unwind makes `~foo` abort, because `~foo` is `noexcept(true)` by default.

In Rust, one cannot make `Drop::drop` be "nounwind", so to emulate C++'s behavior, one needs to write:

impl Drop for Foo {
fn drop(...) {
if let Err(_) = cath_unwind(|| {
self.cleanup(); self.free_memory();
}) {
abort();
}
}
}

or use a `DropGuard` to make sure that `self.free_memory()` is called if `self.cleanup` throws, etc.

Destructors being fallible are very weird things. In C++, destructors are infallible (at least by default). Rust supports fallible destructors, with all its cost (every time an object is dropped, doing this can fail, adding another "return" point from your function), yet minimal or zero value.

At least, I couldn't find any examples in the Rust book / reference / rust-by-example that show in which situations unwinding from a destructor is a good thing to do.
> Non-Functional Item Displayed for Entertainment Purposes Only

They almost had me...
What is your tech stack?
The lead engineer was the one who build 80% of the system. So they are very well aware of the technical debt.

We actively encourage the developers to refactor/document the codebase if they see fit.
Checking out packages.ubuntu.com, it looks like the only version impacted is "focal;" the other versions are too old.
I find the lowest settings on any phone I have tried too loud with any headphones or bluetooth device. I gave up trying. Even in a normal room its painfully loud. Per your username I do have tinnitus also and some minor hearing loss but not massive. No idea why this is so miserable.
Show HN: Behind the scene videos about the design process of VR-OS prototype
Thanks! I'll be mindful of this in future submissions.
Does Swing not run pretty much the same on Mac, Linux, and Windows?
Smoking may well have some hormetic effects, being a non-smoker is a risk factor in a handful diseases.
Really the only thing Taiwan "lacks" is the approval of China. It's not unlike Macedonia, which "lacks" the approval of Greece (with respect to its name).

One can imagine guerilla-controlled areas Columbia to be just like Taiwan, but I won't be travelling there...
Yeah, there's a lot of factors to weigh.

How much car exhaust do I want to sniff? How much do I want to have to fight for space on a 'cycle lane' that's just a bunch of road markings directing me right down the middle of a lane of cars? What's the shade situation like? How well-maintained is the road? How sketchy are the neighborhoods I'm going through? Am I in a hurry, and how much do I wanna trade these other desires off for The Shortest Possible Route? Am I taking my time and feel like exploring?

At least I currently live in a very flat place so I don't need to worry about any hills to either detour around or sssssllllooooowwwwlllllyyyyy grind my way up.
Wait, they don't support Go? It advertises that on their pricing page... https://vercel.com/pricing

And it's listed in their support docs here... https://vercel.com/docs/runtimes#official-runtimes
There is zero reason to think there is a “predominant strain that takes hold” in NZ. We get a lot of tourists from Asia, Europe and the US. Early on, the majority of cases in NZ were returning kiwis, who returned from all over the world.

NZ is highly connected because (a) it is a world tourist destination and (b) NZers travel all over the world (including a lot to Europe).
What if the engineer turns cold during knowledge transfer?
I don't know all potential routes in a 20 mile radius of my home, no.
In a large metropolitan area, there are literally many hundreds, if not thousands of miles of roads within such a circle.

And something changes every year. Sure, someone who does nothing but ride, day in, day out, like a bike equivalent of an old school taxi driver, would learn them all after some time. I don't have that amount of time to spend.

I don't see traffic jams formed by bikes, no, but I regularly see construction crews regularly closing bike lanes and bike paths for work, for parking their construction equipment, or for setting up temporary signage.
Show HN: I Built an Improved “Google Alerts” for Hacker News
Not so much of an issue for me personally because I built up a bunch of savings before COL became insane. Every time I've been on the job market, it hasn't been an issue to wait several months for a better offer to come around. You can rebuild savings awfully quickly when living costs $120K/year but your job pays $500K/year.

I feel for newer developers that just moved out here with nothing to take $120K/year jobs when living costs $120K/year, though.
nanomsg was abandoned? I know the previous maintainer moved on to nng, but no one is maintaining it now?
Pipedream recently launched event source components [1] which enable developers to turn any API into an event stream, for free, and the first example component was RSS [2].

As an example, I’ve built an improved “Google Alerts” for Hacker News, which enables you to instantly deploy a component that will emit a real time event stream with any new stories or comments that match the supplied keyword(s). The component is RSS based [3][4].

Once you deploy this event source, you can process the data programmatically by:

- building a workflow to run any Node.js code [5]

- using pre-built functions [6] to send data to 100s of apps and destinations

- listen for new items using SSE so you can run any code in your own app or

- process items from an in batch using the REST API [7]

Of course, there are other cool tools for digesting HN data including AlertHN, F5bot, Hckernews, HNstream, HNwatcher, Porter, HNmail and you can always use Google Alerts itself and scope the URL (https://news.ycombinator.com "Apple Watch”).

While RSS and Hacker News are early examples of event sources, we are building out 100s additional apps/APIs as event sources and any user will be able to author their own.

Give it a try and let us know if you have any feedback or suggested improvements!

[1] https://docs.pipedream.com/event-sources/

[2] https://rss.pipedream.com

[3] https://github.com/PipedreamHQ/pipedream/blob/master/compone...

[4] https://edavis.github.io/hnrss/

[5] https://docs.pipedream.com/workflows/steps/code/

[6] https://docs.pipedream.com/workflows/steps/actions/

[7] https://docs.pipedream.com/api/rest/
Yes it's true they must have some form of persistence when they do predictions. But expected trajectory of other vehicles and pedestrians was missing from their video. A lot of other interesting feeds were missing too, so I don't know what to read into it. I tend to think that that stuff would look much worse. But maybe they just didn't want to clutter the video or show how advanced they are already.
Both SSH and SSL base on TLS. The leak in question has a problem

> during or after a TLS 1.3 handshake

Sure, openSSL is not SSH, but it is not unreasonable to assume this leak may affect web servers as well (e.g. by being based on the same underlying TLS implementation).

"SSH != SSL" is a bit short to invalidate the assumption of the OP. I'd not be so sure this problem does not affect "web server X".

https://en.wikipedia.org/wiki/Transport_Layer_Security

OK, learnt something new today: https://crypto.stackexchange.com/questions/60255/why-doesnt-...

https://xkcd.com/1053/

Thanks! :)
Ask HN: Office politics decide ml model deployment
This is funny but there are so much hype around deep learning that managers use it as a tool to do politics. I have seen in multiple occasions the model is deployed on the basis of office politics rather than need or accuracy. What are your experience?
I can't seem to get it working in Firefox. I can click the icon in the top right but it just says I'm on a distracting site it does not launch the popup. Any configuration needed in Firefox?
Or, more likely, don't have an option nor a real voice.
Tony and Alba’s in Silicon Valley is still around, too! The first time I read this I went with a couple of nerdy friends, and we kept asking their staff about their computer system. Eventually after confusing enough of the staff we spoke to a really nice guy who has been there for a long time and remembers the fax system. “Have a slice day!”
Any time I take a new route and start seeing ghost bikes chained up along it, I know it is a bad place to bike.
I'll ask our legal team if we can somehow contractually preclude ourselves from sharing this data in the case of liquidation or otherwise bind ourselves in a useful fashion...

To your question about what the data actually includes and what the retention policies are -- we'll put together a summary of this on the page I mentioned in GP.
Show HN: Newseon - Gives Market Insights as audio in 30 secs
What part is backwards? I'll state what I did in reverse (ie, what I believe to be incorrect)

A) Everything is illegal for a citizen unless granted as legal by a state or federal govt.

B) The fed govt. can do anything it wants. The only things it cannot do are things that are expressly forbidden.

C) A state can do anything it wants unless a law prevents it.

D) A state of emergency does not expand the powers of the the state or fed govt.

Those are the reverse of what I said I remember and none of those sound right.

(for C/D, ignoring the supremacy clause)
And how much GDPR risk?

Is it not the case that sites using this would have to explicitly gain consent from visitors to capture data in advance?
https://status.digitalocean.com/incidents/3rcxl72y4mrp?u=b3l...
Intel CPUs are even worse in that regard having dozens and dozens of them across categories, so...

If you are an average user, you only need to remember: buy the 3600.
Not sure why this is downvoted, I founded it highly informative. Is there something I don't know about the channel?
Not sure it would be fun for me with something like a peaceful-mode.

Combat is a useful "problem" to solve/prepare for. But having understood those are just randomly selected, totally interchangeable events (that btw, actually change after reloading a save) made them feel arbitrary to me.

Added to this, the difficulty of those events is fully determined by some arbitrary "value" of all the stuff in your settlement combined together. Build a big wall around the settlement? Value just went up. But not if those were natural mountains. Thus to beat the game, you want an effective defense while keeping that arbitrary value low. And this just kind of killed the immersion for me.

Thing is, I also don't see a good way to avoid such value driven systems when designing a survival-game that is supposed to keep being challenging. There is little risk of "game over" in Factorio or Oxygen Not Included once you got past the initial challenge and it becomes more of a SimCity than survival. Civ becomes a chore. Games like Don't Starve have a high skill floor and the restarts made me loose interest just about when I had learned enough to get through winter. "Go to harder area"-games just incentivize not taking risks. Time-based difficulty is an OK compromise at best...
I found recently that they got 500 bucks license for 6 CPUs now! I think it is doable since it is lifetime license (without updates though after a year(?)).
Is caffeine any different? I went 40 years without it but started when I had a need for some energy as life was so bad. I tried to quit after two years and had 30 days + of migraines that never left of abated so I went back on it. I want off but I am not in a position to have MORE pain and headaches now as life has collapsed. I wish I had never had a coffee. The small boost and bowel regularity are benefits, but the dependence is miserable. Even getting off a cup a day is super painful for me and I have read I am not alone...but people who aren't as affected think its ridiculous.
I recently worked on a fraud detection POC with a few vendors in this space and it is common for them to require adding a js snippet to capture info like this. This isn't out of the ordinary behavior.
I was frustrated with good quality but very long articles that give insights on tech, markets, the economy from NY Times, Bloomberg etc.
I wanted a 30 second TLDR just like Reddit. So I built a service to deliver this as an audio playlist format (30 secs max).

Here's an example playlist on "In Bear Market" - https://newseonbackend.xyz/db/tracks/5e72bd6dc9409e0d5c0af05.... Here's a quick screenshot - https://newseon.io/images/render8.png
I think it has some potential. What do you guys think?
These and other treats will arrive as you get higher karma levels.
When it comes to graphics assets, they've been stored compressed and decompressed by the GPU on the fly pretty much since early versions of DirectX. What is the innovative part here?
Remove irrelevant positions and focus on projects that match the target.

Assumedly during your career you have done multiple small projects on one topic or another, highlight the ones that interest the employer and the ones you feel particularly proud of, don't mention the others.
> mixed-language models do not seem to exist (yet?)

They have since 2016, at least on iOS. [1] I thought it would be a godsend... but I ended up turning it off, because if I type 98% in language A and 2% in language B, it changed words in language A to language B far more often than made up for getting words in language B right.

[1] https://www.cultofmac.com/441836/how-to-set-up-multilingual-...
I can get an 8-port gigabit switch for $15 on sale. Where is my dirt cheap 10G switch?

Also "PoE" uses more power because it's actually powering a separate device entirely, that's not related to the 10G IC power consumption.
Yeah, going from 18.80 to 34.47 would be an 83% increase.

But going from 34.47 to 18.80 is a 45% decrease.

As to your question about whether this is some sort of acceptable alternative way to calculate percentage decrease ... no, this is just a math error.
I strongly agree. This book is the way. Your might not quit right away, but if you let it, it will infect your mind with a new virus that outcompetes the cigarette meme over time.

Quitting smoking is both easier and harder than you think it is, but having done it, I learned a lot about my mind and the way humans think in general. Another step on the path to enlightenment.

Good luck.
Show HN: 9S – Basic multithreaded ping program in Rust
Show HN: Simple creative game: make your friend guess movies using only 3 emojis
> How can we know how good or bad the situation is if we don't have decent statistics?

We cannot make good judgement without decent statistics.

> We _do_ want to know how good or bad the situation is, don't we?

Define "we". I certainly do. Politicians and media have other priorities than I do.
A jury selection process lets both sides of a case interview jurors and agree on impartial and reasonable jurors.

Estimates of wrongful conviction are between .13%-5% (wikipedia, miscarriage of justice), however the main thing that trial by jury affords is transparency and perception of fairness, since you are convicted by your peers and not some politician with questionable incentives.
> They accept the risk and willing to trade the cost with the benefit.

The cost doesn't come until much later (sometimes never). Most smokers secretly hope they'll never have to pay the piper. For the majority of smokers, they are probably full of regret when the bill finally comes due and cuts their life 20 years short (and/or makes the last few years utter misery).
The problem is that they're believed to be CMR right now, but they could change that this afternoon and wouldn't tell you.
> but the general public's understanding of "fatality rate" is obviously that of IFR

Looking at my nextdoor group. I'm going to disagree with you on this. There's a lot of people screaming, "4.7% of people will die!" Even for a CFR, that's high.
This is a good reason to use a technique like cperciva's payment iframe: https://www.paymentiframe.com/

It lets you use stripe.js (thus getting the PCI compliance benefits) without Stripe being able to spy on your visitors.
> Java does not crash

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fae709d4a10, pid=18032, tid=140386298201856
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0xa8aa10] Unsafe_SetNativeLong+0xf0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
#
# /opt/production/hs_err_pid18032.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
I've got a PowerBook G3 Wallstreet (the last machine that couldn't be updated to OS X) that still runs a couple hours off its battery and looks very much like the screenshots shown in this article. I've also got the original boxed game of Myst which is the main reason I kept it.
I've been a digital nomad for 2 years and you learn pretty quickly how disruptive moving is. I Generally stay in a location for at least a month for that reason. Key is to do your research and identify areas with all the basicls ahead of your arrival (wifi cafe, supermarket, gym etc) so that you can establish a routine within a day. My motivations are a bit different from most nomads as I do this to avoid burnout. There's few things more inspiring to write code than spending spending your off hours swimming with sea turtles and exploring new neighborhoods.
That is his m.o. when critiquing Japan.

If you read between the lines to what he is really saying, I would think you would revise your opinion substantially.
The largest public companies taking payroll loans meant for small businesses
US National Security State Using Coronavirus to Fulfill Orwellian Vision
Sounds like the next step up would be stochastic optimal control, the field of my Ph.D. dissertation.

Ah, been there, done that, got the T-shirt, and doing other things now!
There really isn't much benefit at the beginning. It's an effort getting through not wanting to throw up. I think usually it's about being cool and a rebel.
You wanted type-safety and to replace macros, but then you went back to C?
Never smokers just don’t understand. It’s not that you don’t know that it’s bad for you(duh) or that you don’t want to quit. It is because it really is that hard to quit. For me, suppressing the desire to smoke felt like the worst restless leg syndrome but it wasn’t in my legs, it was deep down in the core of my being. Plus I genuinely enjoyed it. It took me over 10 years, dozens of attempts, and having a child(extra incentive) to finally overcome cigarettes.

And I don’t think I would have made it without the help of vaping which, yes, I also eventually quit. I made my own flavorless juice and titrated the nicotine down to zero which made it real easy to stop vaping at that point.
Hi HN,
Made this simple game for film lovers. No login required. Let's have some fun and be creative :)
Hope you're going to like. Open to feedback.
Sure, you could.

We more or less do this today, but if you need to setup a new workflow to take payments (one-time or recurring) there's a lot of work already done for you in the Stripe.js ecosystem.

So in our case, to take one-time payments it would've been more work to stand-up the checkout page itself and all of that work behind the scenes. It is much easier to just create a checkout session (basically just hitting the DB to pull the outstanding payment record and creating a stripe customer if one doesn't already exist) and redirect to Stripe's checkout.

The PCI part isn't overstated either, that checkout session lives on Stripe's domain not ours and that's where payment method is collected & stored within Stripe so you're not having to worry about it.

It's pretty nifty, give it a look - https://stripe.com/docs/payments/checkout/one-time
Since releasing the "demo" video of my VR desktop operating system prototype, I've been spending some time diving deep into some of the design decisions and technical challenges along the way.
It's been great capturing this on video to make sure the thinking doesn't get lost over time. Maybe this will be an interesting look at the process of making up a new interface for some here.
And yes, someone made an automatically self-expanding base using said mod. It's impressive.
Comcast Covid-19 Usage Stats
Stanford EE374 Scaling Blockchains
I'm a high school student that is quite new to Rust, and I am liking it so far. I learned a lot from this project and I hope that it can be a good learning resource for others.

In addition to this, I am also working on a SIMD edit distance library in Rust.
Yeah, I was thinking by all of the binaries. I had forgotten that there's software that bundle it independently of the distro's library. Another comment mentioned docker images, and I've remembered that ruby also bundles it for its own use.
That addiction and enjoyment are highly related should go without saying.