skysight-inc/HackerNews huggingface dataset:
what is wrong with the '-i' option?

-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if SUFFIX supplied)
It's like the Tour de France's shtick is to be a giant hazing ritual where ex-racers find new ways to torment current racers.

In 1909, they sent them up the Pyrenées mountains to be attacked by bears.
Escape from Creek Fire
You can't just arrest people for selling things on the street if you can't prove that its stolen. There's a reason they don't arrest them.
While I do agree, I still don't see the point of buying drinks in a bar when I could meet the same person in a much more relaxed and interesting setting outside of a bar instead.
I guess there are lots of types of "challenging". I suppose i was thinking of it in a technical sense - the way great classical music has really complex melodies and what not. I've always been impressed by the technical achievement of that sort of thing, but i mostly don't actually want to listen to it. The technical complexity is impressive but it doesn't aid what im trying to get out of music.

If we want to make metaphors to books - a very imperfect one might be a book written in old english or latin. It is very challenging, but its challenging (to me) for the wrong reasons. Some other people might relish that challenge, and that is great for them, but for me i want to be challenged by the story not the grammar.
Here's Why 99% People Fail to Replicate Warren Buffett Strategy When Investing
This is actually my worry with the new direction of Firefox on Android which I assume is mostly a push from the Mozilla 'Foundation'/corp.

It feels like they are just force-feeding the 'UX features' of Chrome and ignoring all the feedback from the tech community.

Things like truncating url sub-domains and hiding the url address bar with dynamictoolbar are not necessarily wrong features. However, to me they should always be opt-in, they should never be fixed defaults as what we have now in the latest upgrade of Firefox for Android.

Firefox used to be about freedom and customization. If I want to break it by messing with about:config then I should be able. If I want to break it with a non-compatible add-on then I should be able to. This whole UX mindset of padding the room and "we know better than you what you should want" feels very dismaying especially for a project that exists because of community contributions.
The UK foreshore is owned by the Crown, except for some cases where it has been sold off. These are the minority though. If anyone else owns this it's likely to be the Ministry of Defence.
I learned to be less terrible at Chess
> Does this hypothetical situation you describe exist anywhere outside of the hypothetical situation posited by a character in a Neal Stephenson novel?

That indeed is a bunch of real situations that have happened to me in 2014-2015 and some of that is still a thing. Check your privileges, sweet summer child.

Like seriously — for the first 30 years of my life it was outright illegal to have a bank account in a foreign country in my name. Not enforceable in practice, except I can’t make wires between two.

So 2014, fucking Russia is being Russia again, USD wired from foreign clients goes in... and is sold for UAH at government mandated rate. I sit in a third country, withdraw it through ATM. Guess what? It is converted back to USD at a market rate. Of course you can still bring cash or btc in and sell it at market rate plus some margin, but not 30 damn percent.

Sometimes it’s less dramatic and web interface of your bank doesn’t have regexp for IBAN format of destination country. Ridiculous but have happened as well, so I have proxied IBAN that starts with GB instead of UA and that always works.
Unfortunately cannabis is not legal in Australia. I’ve heard great things surrounding cannabis and sleep.
Being cognitively unchallenged by music or visual arts could be considered "harm". I know i do but anectada I guess.

The fact that you imply his argument is "cheap" or that you very quickly judge it as "bad comparison" with no more arguments than whatever you think could be interpreted as "his point exactly".
It is indeed funny at first, and for a long while thereafter. After though, it descends at first by degrees then quite abruptly into depressing grimness, revealing the scope of a tragedy that was the case all along, only veiled by that wonderfully absurd, sometimes black humor.

I love this book like few other novels, partly because it has so much more impact than a simple comedy would..
You can do all that part time and will probably find it easier than you'd think.
Maybe a good way to find deer bones or antlers.
going from .net framework to .net core will mostly be painless unless you're using a windows specific API (such as windowing).

If you're using ASP.Net MVC then your app should also come across to .net core fairly painlessly.

The only real challenge is going from the old webforms with its page lifecycle to the asp.net core. But depending on how the application was originally implemented, that really should just be about the frontend, not the entire app. And of course EF core has changes you'll need to deal with as well if you're using it.

It's by no means seamless, but MS did the best they could to maintain compatibility between the two, and you only do it once.

It should also be noted that .net framework is almost 20 years old. Doing something like this once in a 15 year period is a far cry from Laravel's every 6 months or RoR's 2-3 year cadence. IOW, it's not optimal that the divide between framework and core exists, but it's a far better story than Laravel, RoR, et al.

> And who's to say .net core doesn't have any breaking changes in 5 years, are they guaranteeing not to do any breaking changes at all to the framework?

ASP.Net core is literally just a set of libraries. You'll be able to run those on the modern version of .net in 10 years from now. We know this because it's what they did with asp.net. An application built on asp.net 1.0 will work on 4.8.
> In a phone or laptop, you don't have routines that absolutely must be accessed in 5-cycles and can't wait 250-cycles for DDR

Well, there are very tight timing in the cellular communication stack of a phone, probably more so than in automotive (though consequences of messing up may be less severe). These are usually offloaded to ASICs, though, but still, plenty of tight real-time deadlines in a phone.
Germany has a website that lets you automatically file a complaint if your provider doesn't reach 90% of the advertised speed in measurements over two days
Isn’t it easy to attack the post itself then? They are rarely solid.
Anything you'd recommend to mitigate those side-channel attacks? I was going more for simplicity and portability for the reference implementations, but should there be a security-focused implementation (e.g. as part of some library like libsodium) it'd be useful to know the attack surfaces.
Show HN: Goldapi.io – Real Time Gold and Silver Prices JSON API
I like to listen to foreign radio stations on http://radio.garden. They speak languages I don't understand and (once you find a good station) play music I'll never hear again.
The reverse is true though. If a non-right of way is used as one for long enough then it can be designated as one. This is why landowners instead designate them as permissive paths and close them for one day per year.
git commits have two dates, an author date and a committer date; the github profile page thingy is based on the author date of commits. just set it to whatever
Unity Quiz
LiveLeak said it was CG.[1] But it may be real and the article may be fake.

[1] https://www.liveleak.com/view?t=9SDBX_1526444350
Location: Gothenburg, Sweden
Remote: Yes, but office preferred
Willing to relocate: No
Technologies: .NET, C#, JavaScript, Vue, Docker, AWS, Azure, SQL (and much much more)
Résumé/CV: https://www.linkedin.com/in/johan-wikstrom-goteborg/
Email: jwikstrom80+hn@gmail.com

Techlead - head of development with 14 years of experience.
Worked with leading dev teams in various capacity for the last 10 years while still doing active development. DevOps and Cloud architecture have a special place in my heart, while i also enjoy enpower teams to do their thing well! I belive i can make the biggest impact if I get to be both hands on while also help driving the product/business/teams. I have extensive experience of the travel industry and ecommerce. Im looking for a place where I can make a difference and help build great products, preferably with a big audience.
No one will feel that “pain” except submitters. No one is not going to sub to WSJ because they can just lurk around on HN until the article they want to read is posted. That just doesn’t make sense.
There is one guy at my company that goes to the office every day. He is often the only person in the IT department. Considering that even before Corona because was had a distributed team it's not so much different except for lunch.
I think that's one of the strength of Python:

- implement your work intensive logic with the adapted tools

- glue everything together with Python
My last house came with two separate titles: one for the house and grounds, and one for just the footpath that lead up to and past it. I had literal nightmares when selling it that one the day of exchange the buyer would refuse to take the footpath title, leading to me being in a different country but legally having to maintain the passability of a footpath back in the UK.
Big fan of Standard Ebooks here since the beginning. Thanks for doing what you do and keep iterating. You should because I see no signs that Amazon is going to address ebook QC.
But with Verona they took a step back to Rust instead of keeping all the advantages of Pony over Rust.
Natural syntax, proper safeties, faster.

Rust's only advantage is its immense overhype which leads to more usage and libraries.

Verona's advantage would have been memory regions, which fits better to shared memory models with threads.
Interesting. Would you mind expanding your anecdote, explaining which spaces and what you found hostile? Knowing that would help me understand how to improve the community. Thanks.
The Woman in Black?
I've never seen anyone use false negatives to argue that we should accept false positives as reasonable. I guess there's a first time for everything.

But to answer your question, yes, it would be statistically prudent to assume that everyone who passed your test is free of covid because the proportion of the general population who have it is less than 1% currently and your test produces a 100% positive rate.

This is a specific case of https://en.wikipedia.org/wiki/Prosecutor%27s_fallacy
This is what I imagined video games would look like in the future... looking from the 80s. Hi-res background, but static. Awesome life like sprites, but basically the same video games we had on the C64.

It was somehow very soothing to watch that video. It felt like someone was telling me a bed time story about a different brighter future that never came to be. Very "Back to the Future".
I don't want to pile on the Chrome team for what is ultimately an at least somewhat sensible decision in the moment. And I 100% appreciate the context you're providing. But this is such a frustrating comment to read!

The GIF/Canvas problem is something critics brought up when Chrome first introduced its automatic autoplay blocking. Chrome's autoplay blocking didn't go far enough to block all media types, and it had fundamental design flaws that made it easy to circumvent and easy for websites to detect when a video is blocked. Blocking autoplay was never about saving data -- there were always going to be these kinds of circumvention techniques. Data-saving solutions require different strategies.

But because ultimately Chrome just wanted to do its own thing and get those positive press releases, and because the Chrome devs were trying to fix multiple unrelated problems at the same time, we got a really weird Frankenstein implementation instead of something sensible like auto-muting browser tabs on new domains by default. This is a result that could have been avoided by engaging more with the web community and spending more time up-front thinking about how the feature was going to be used in the wild. Instead it got rushed out because the Chrome dev team digs in its heels and gets combative whenever developers question their decisions.

This result is especially frustrating with autoplay, because digging in heels and rushing the implementation didn't just leave us with a useless feature -- it broke functionality on a ton of websites, including Google's own search page. We got a hacky solution that was rolled out too early and that broke the web because Google insisted they needed an behaviorally-driven, complicated system with a bunch of weird rules and exceptions about when things would and wouldn't be able to play.

And now all of the minor benefits from that system are getting removed and all of the justifications for breaking existing sites are apparently being rolled back -- but we're still left with a hacky solution that breaks websites. We got the worst of all possible worlds because the Chrome team is apparently just unable to engage with developer communities.

As a web dev, I am low-key bitter about how this all played out. This is exactly why it's a bad idea to give the Chrome team so much outsized control over web standards. They broke almost every indie web game online, forced multiple engines to release updates, and this is what we're left with? Because nobody on the Chrome team was capable of predicting that advertisers were going to start shipping GIFs?
I'm now thinking about the math here. If they put Reader in maintenance mode, even with big-company inefficiency it'd probably only take three full-time engineers to keep it running. That means that they'd need revenue of $4.5M per year to stay competitive with other Google departments.

That's less than $3 per user. Google can't squeeze $3/year in ad revenue out of a product used primarily by wealthy plugged-in tech types?
you can also try to launch Inkscape with GDK_BACKEND=broadway and open it in a browser
Yep. The comparisons page mentions this: https://base32h.github.io/comparisons#octoquinquagesimal-58

tl;dr: base58 is more compact than any base-32 system, but (in addition to being unfriendly to byte-alignment) it relies on case-sensitivity, which makes it a non-starter for filenames on Windows or (by default) macOS and makes it annoying to read aloud ("Was that an uppercase or lowercase C?").
I have found that stretching before bed seems to help a fair bit. I’ll have to give full body muscle relaxation a go. Meditation is also something I need to properly try. Have heard nothing but positive things surrounding it, have just never really made a concerted effort.
Now test removing one time price for businesses and keep monthly pricing.
Yeah, I also noticed this as well. I think it's more about the level design and lack over optimization passes the levels rather then the engine. Looking in at certain locations would give me massive FPS drops up to 50% reduction.
> I would have thought that some instructions could be slower than others (especially on x86) so that using more faster individual instructions could be faster than 1 slower instruction..

There are some fun cases where that is definitely true, to whit pdep / pexp on Zen based architectures. https://dolphin-emu.org/blog/2020/02/07/dolphin-progress-rep...

https://twitter.com/uops_info/status/1202950247900684290

> I just ran some tests: the performance seems to depend heavily on the value in the last operand; this is also the case for the register variants. If the last operand is set to -1 (i.e., all bits are 1), the instr. has 518 uops and needs more than 289 cycles!
In git terminology, I'm both confused if you and the author mean "commit == push changes meant to go into production" or "commit == starting work locally (e.g. on a tutorial)".

For the first, day 2 seems plain irresponsible, but for the latter, day 2 seems ambitious, but possible.
As somebody who is just getting into learning Python for web development and ML, am I better off switching to Julia right now? How steep is the learning curve compared to Python, and does it have a framework similar to Django for building web apps?
And how about people without real psychological problems who ruin their lives?

Psychiatry has a rolling history where everything that was done 30 years ago is so barbarous that the treatments are criminalize, and it has been that way for a century. At what point are we going to realize that there is no baby in the bathwater?
In addition to that, they match orders in real-time, so they might not even need to hedge partially because they have offsetting positions coming in.
Oracle Labs is actively working on a Python for GraalVM:
https://github.com/graalvm/graalpython/
I get that a language like Julia is better for library writers, but in my opinion Python is better for library users, and that has more weight. It will drive faster adoption, making the library popular. Meanwhile, the easily-written better-language library gathers cobwebs.
The pronunciation is very common in Cantonese, Mandarin, and Korean. If the offended person ever visits Asia, he'd find himself punching literally every person. This is extremely arrogant and disrespectful of other cultures. It's even more bizarre that the college takes the report seriously.

For instance, listen to this (once extremely popular) song - https://www.youtube.com/watch?v=x6QA3m58DQw

No reasonable person would, or should be offended. I hope that person never leaves his/her English speaking community.
This is something I have wondered, but have always thought of it as bit more on the extreme side. Will have to ask my doctor next time I go.
> You have to keep the source code somewhere else (probably in a repo somewhere)

You should be doing that for scripts as well! Far too often I've seen problems arise when a team depends on a process but its just a shell script run by cron from the home directory of the guy who's on vacation.

You could also do `go run main.go` if you want to be close to the source. The Gitlab Runner repo has a "script" run like that[1].

[1] https://gitlab.com/gitlab-org/gitlab-runner/-/blob/master/Ma...
I feel like this misses the point.

Python is used as the language to describe things, but nobody is executing Python on the GPU. Instead, things are transpiled into highly optimized byte code, C++ source, or chains of optimized GPU sharers. See TensorFlow XLA and AOT.

So when I set up a training pipeline with TensorFlow, then it'll barely run any python while training. Instead, the TF C++ core will execute a network of TF CUDA operators for me, all inside one python function call. That's why pythons global interpreter lock is pretty much a non-issue by now.

Since only 1% of my training time is even running inside python, I don't expect any performance benefits from replacing it. And if both are equally fast, I prefer the familiar option, meaning python.
Not everything is like that (most things aren't), and stealing information always gives you a big head start if you're starting from scratch.
> per-file hash trees

This is huge. Now the protocol supports downloading identical files from multiple torrents simultaneously.
Not understanding the point, unless your aim is to be conspiratorial in nature.

The Stanford/Hoover Institute studies are obviously the contrarian view so yes "society" allows an opposing viewpoint...backed by data.

Last I checked, you're free to conclude whatever you wish even when lacking verifiable data unless your actual goal is to be liked by some particular segment of "society."
Yeah it’s a ridiculous argument. The money being spent on those jobs is taken by force (which has an unmeasurable chilling effect on the economy), and then allocated according to central planning, inevitably in a way far less efficient than the market would.
In my experience, many (if not most) sports aren’t really great to watch as a spectator, versus on TV... if your goal is appreciation of the actual sporting event taking place.

Bike racing? As you say, it’s hours if not days of effort and travel, for about five minutes of seeing the riders zoom past. Motorsport? At least they’re on a circuit and go past lots of times, but it’s actually very hard to have a tactical appreciation of what’s going on from the side of a track. Sports within a stadium (for example soccer, cricket) are better, but it’s still very hard to have a decent appreciation of what’s going on second to second, versus a decent TV presentation. Small court sports (e.g. basketball, tennis, badminton, etc.) are probably the best but there you are very dependent on the quality of the seating position you purchase.

But... this ignores the enjoyment of the travel and being present at the event. Yes, you get a much better appreciation of the racing watching the Le Mans 24 hour race (or indeed a TdF stage) on TV. But travelling, camping, barbecuing, partying, experiencing the event, with friends? That’s a life experience that far transcends enjoyment of the sport of self.
> Crypto just allows communities to have value.

So do stamps, coins, Star Wars figurines in original packaging, baseball cards, yada yada.

At least you can look at those other things while you possess them.
It depends. If cryonics becomes widespread, "ancient people" in suspended animation would be pretty common. There wouldn't be that much to learn from reviving all of them.
TikTok and WeChat: Curating and controlling global information flows
Very nice, and it was actually properly attributed, too.
> it doesn't try to convince you with sob stories about how using P2P helps fight against the big bad evil web.

A few years ago, that was precisely their marketing pitch.
I’ve got melatonin supplements that definitely help me get to sleep. I’ve found that they don’t always keep me asleep, although I’d still say sleep quality improves with them. Would love to not have to rely on taking something for sleep though.
Make Julia as Pythonic as possible
> literally none of these is related to intelligence.

GP didn't mention the word "intelligence"
It's easier in some languages than others, but I would say the most common case is in Python (partially due to ease of dropping a REPL, partially due to lack of compile-time checks). The one line of code you always should have at your disposal is:

from IPython import embed; embed()

Basically, if you have an error and can't figure out what's happening within a few seconds, stick that line in before the error and Python will give you a REPL to play around with. It's like GDB but way better.
Some days ago I saw a video that suggested that subjective time seems to be slower when we are younger because our neurons are firing more actively. As we grow older, they tend to fire less. Anyway, it is just one aspect.
> there’s “porter plainte”, for complaining more officially

Note that this does not simply mean an 'official' complaint, but a formal criminal complaint to police or 'procureur' (district attorney). So if you're unhappy about the service in a Parisian cafe and tell the waiter that you're going to "porter plainte" the reply will probably only be a sneer even more condescending than usual.
Wow. So this article is just some clueless non-programmer doing some language hopping without ever really learning much besides some casual basics.

Just the sentence "but the self keyword was still confusing" is a tell-all. In Python, self is not a keyword.

Don't get me wrong, it's great when non-programmers (who certainly have other valuable skills) play around a bit with toy programming, but real software engineering or even computer science are much more than pondering over curly braces. If you really want to learn this, then that's where you should start. And yes, a CS university degree would get you there, not some half-baked Rust tutorial. That's just an insult to everybody who learned this for real. Comparable to somebody claiming "at age 40 I finally learned medicine!" after watching a few episodes of Dr House and reading the wikipedia page of appendectomy.