skysight-inc/HackerNews huggingface dataset:
Fun? How dare a cyclist use a road for fun! Or exercise, deity forbid.

But it is no problem when drivers go out on the road purely for a fun and/or unnecessary drive.

UPDATE: My point is that many drivers go out for 'wasteful' reasons, such as recreation or e.g. because they forgot to combine trips. Such drivers cannot easily be spotted, so they don't attract ire. But they slow us down. Such situations lead to much more inconvenience when you add it up.
Yeah ok, or maybe you don't know what you're talking about.
I had a colleague years ago who used to say “no matter how pointless your job seems, at least you’re not putting turn signals on BMWs”.
Classes can be semantic too. Are you talking about element selectors?
Even if it is 5 minute walk, well, it's PITA in winter, and the moment you have to move anything bigger than a backpack.
10 minute and 15 minute task turns into 10 + 15 + 10 minute task.

It really isn't a big deal. I moved to Norway some years ago. I walk to the grocery store. I carry groceries back home. I'll walk for 30-45 minutes to get to a specialty store in the downtown area. I can take a bus for the longer trip, but the grocery stores are just as convenient as the bus stops. I carry more than can fit in a backpack. I do this on snow and ice and in rain and in sun.

And basically, you dress in clothing that is appropriate for the weather and you treat the walk just like any other commute time. Walking 30 minutes to work and driving 30 minutes to work are both 30 minute commutes.
No, it didn’t. The images always showed up big and occupied the whole width of the div. Not sure what I missed. I will have to try to do it again later today.
Julia was made by academicians, and there's a reason we distinguish between academia and industry.

In academia code is the means to an end, which is usually a paper. This means that the experience of writing the code, making sure it's portable, readable, etc. don't really matter. These are all industry concerns; specifics of implementation, not algorithm design/mathematical questions.

This isn't reflected in Julia as a language as much as it is in Julia as an ecosystem. Some of the packages I work with are poorly maintained or designed with 0 thought to the issues I described earlier. And since Julia is so new, there are few alternatives.

Imagine if your software was written by your college professor who'd pushed to prod maybe like 3 times in their life. Instead of just fixing the damn bug they're liable to make you fix it instead as an 'exercise for the reader', or posit that the problem input is outside of the scope of their class and refer you to another one.

My example of this is the Colors.jl package. Images, rather than being 3D arrays of floats/ints, instead become 2D arrays of RGB/HSV. But you can't do any arithmetic on RGB/HSV values, you need ColorVectorSpace.jl for that. I'm sure it makes sense, but I can't help but feel as if sense is taking precedence over the programmer's experience in many of these packages.

Again, I don't think Julia as a language is unfit for widespread use. But before it can be, it needs to burst out of its ivory bubble.
> but other bits of information, like their citizenship status are relevant to the transaction.

No, it's not. Your card issuer and the ATM owner participating in compatible interbank networks is what's relevant.

Seriously, "even a US citizen couldn't get USD out of an Argentine ATM" is a massive distraction to the point you're trying to make.
Location: Hanoi, Vietnam
Remote: Yes (UTC+7 , UTC-5 OK)
Willing to relocate: No but occasional travel OK

Technologies:
* Python [advance], Java, Javascript, Bash scripts[Advance], MySQL, MongoDB
* ReactJS + Redux
* Airflow, Kafka, TensorFlow, Pytorch,OpenCV, SciPy, NumPy, Pandas, Wordpress, Scikit-learn
* AWS, Google Cloud, Docker, Kubernetes

Résumé/CV: https://drive.google.com/file/d/1XVqb21QCxQQts7S2XQB8xN6Bj4yMxTH1/view?usp=sharing
Email: lehung [AT]gmail.com
Website: hunglethanh9.github.io

Hello, I'm Hung. I am a Full Stack Developer and Product Owner with 10 years of commercial experience and community building (esp. Saas, Auto) in prototyping, MVP, software development as well as maintenance and DevOps. Great communication skills, Startup experience, team leadership, passionate about programming, self starter, OK with freelance/consulting as well as full time work.
You’re referring to “tag selectors” vs “class selectors”

Engines are now good enough you don’t really have to worry about selector performance unless you’re using ridiculously complex selectors, and even then the least efficient part is actually the layout calculation and painting.

This site is super simple and is super laggy on Safari Mac because they use awkward effects and animated gradient backgrounds, for example: https://colorjs.io/
You are right, but he is using RHEL 9 so you have >10 years without upgrade's ;)
The Mole: Undercover in North Korea

https://en.m.wikipedia.org/wiki/The_Mole:_Undercover_in_Nort...

The story is absolutely crazy, the guy is a silent hero or just crazy as well. The documentary is a emotional rollercoaster with so much strange trivia.
My impression with arxiv is that it's for after the paper has been reviewed to make the information as widely as accessible as possible. I'm more interested in places that would review the paper in the first place.
You need three things usually:

- virtual environment (python3 -m venv --help)

- pip for manually installing things

- poetry for declaratively installing things

For a UX point of view, this is already pretty good and tends to work well. What sometimes makes this awkward and inefficient is that many python projects either don't declare their dependencies at all, or declare them with very specific versions. This makes it apparently a necessity for the resolver to do things quite heuristically.
Raising the bar to get your license doesn't do anything to solve the problem because people will still drive just as badly once they get their license. Especially the richer, wealthier people that are driving the largest cars on the road already.

The actual solution is to either tax larger vehicles into oblivion and force the downsizing of cars so that the vehicle size arms race stops or redesign our road infrastructure further so that pedestrians and vehicles are completely separate.
Conda does do virtual environment management.

It's why I use it. It actually manages to do both Python version and python packages for my projects. I think as an interface, it is the best option for Python development, but in practice there aren't enough stuff on the conda channels, so you need to install things from both pip and conda and then you are in a messy situation.
This is a cartoonishly bad take on cyclists. They aren't doing calisthenics in a spandex uniform in a fucking supermarket. They're commuting, same as you, only they take up much less space and emit no pollution. If more people were cycling then your drive would be much better, since you wouldn't be sitting around in traffic all day. Share the goddamn road.
You may want to have a look at the `click` module for development CLIs in python. It certainly makes my life easier.
Whenever I start a new notebook I enthusiastically start on a new table of contents on the first page, and then forget about it...
I meet many beggars and if they tell me hey I just need it for crack, I'm like, you're Jesus's favorite every one of you, I have very little, but in relative terms compared to them I'm still in practice rich. Like literally I feel embarrassed when I have to tell them I don't have something, I apologize in fact in these cases. I plan ahead for when I'm outside make sure I have loose change and not 10 peso Chilean pennies like actual 500 peso coins (50 cents), money for real. Let them be happy for a bit, hell. State of California did it for me (for ADD treatment, a stimulant), and I paid crazy extra taxes back despite having nothing, just so they can do it for another junkie again.

I'm like, if it's your money you begged for it spend it on whatever you really want, whatever you really really want. There was a serious presidential candidate here saying, Jadué[1]. So what you do with the addicts is you dispense them a reasonable amount, of whatever. Anything.

And really? They're not addicted by accident. There's a reason there wasn't a crack epidemic in the 60's, it wasn't because people couldn't figure out the trivial recipe with fucking baking soda and cocaine like in any kitchen? The CIA did not invent crack because nobody can invent crack because it's not patentable, it's obvious. In fact the crack epidemic is a response to the 60's, crack cures the system of the counter-culture.

[1] I like his party I like that he's Marxist, I feel red too, and American Republican, just like the color red, let me declare it here. Color-based political affiliation in Chile and in America, just red in both. Republican red, Marxist red. That's legal, you can be a Republican and a card-carrying Communist if you're open about it. I'll see where I can get an actual card I can carry. I just like the color red.

EDIT: this came out with a lot of explosion, good thing it's nested deep in the comments, let it be known I had to leave a lot out. That was some really unwise stuff to write...even drafting it, like any javascript keylogger...oh well I'll compile it, it'll be in a book perhaps. Well I guess anything that goes through a computer is public from day one. Anyway, a book about what's up, why you can't just reach out for happiness like you mock real people for doing. It's actually not that complicated. It's upcoming. Maybe. I actually am figuring out my business and my idealism simultaneously, and you can read about it all on http://www.fgemm.com .
Ideally cities would function without cars.
Thank you so much! Really happy to hear.

Hopefully I can do a Show HN in the future, when/if there is a free version for people to play around with, and get some really good feedback that way.
I assume so, although if I remember correctly the actual error in the thread is caused by the the gradient computation
They claimed support for C99 to the extent required for ISO C++ compliance, plus some features critical for a couple of their developers.

Likewise, even with the updated C11 and C17 support, it isn't 100% there, only good enough, because C++ is what matters for Windows developers when not using .NET.
They even had to change a decade old standard crash test to account for increase in weight and count of current style SUVs. IMO they should be banned as the creeping normality will lead to all of us sitting in battle mechs eventually:

https://www.iihs.org/news/detail/small-suvs-struggle-in-new-...

https://youtu.be/3Lu-t5dJrxI
It doesn't require sudo install, you can just download and extract it and you're done.
Doesn’t look like any of the 2021 F-150s are over 6000 pounds curb weight (1). It’s not particularly close, so I would expect most of the newer model would be under 6000 pounds too (I didn’t easily find the newer brochure)

(1)
https://media.ford.com/content/dam/fordmedia/North%20America...
the KYC comes during off ramps back to the fiat system.

the exchange i use has already KYC'ed me intensively and they know which wallets i use.
> I'm realizing I may ... be ... impatient

Yes, but you aren't alone, and most people have their limits.

It is really interesting when/why people have feelings of entitlement. What about getting in a car should create the expectation that a drive will go smoothly? That one day a year when the all the green lights align and you arrive to your destination 5 minutes faster? (And then many of us proceed to fritter away that 'saved' 5 minutes on our internationally interconnected web of decentralized tubes running a bewildering array of unnecessary computation to fuel what companies put in front of our eyeballs.)
The short answer is yes.

The long answer is that it’s not so clear what an “in place addition” even means at the level of CPU instructions after you consider register allocation. For example, if you have

v = x;
v += y;
f(v);

and the never mention v again, then the whole operation is performed directly in the register that is specified to receive the first argument in a function call, not in whatever register might have been allocated for v.

That’s because, with some complications I don’t want to go into, compilers look at the dependency graph of values rather than at the variable names.
Doesn't look too different to a Phyiscs students with an A.

Wonder what converts a good student to a Nobel Prize winner? A key insight.. a flash of brilliance from God.
Alternatively, keep the first line as is. That gives you a copy that’s only known to the function, so you can change the later ones.

I would only do that if I had seen it to be faster, though, and add a comment on why the first line couldn’t do +=.
Alternatively: trains for fast travel without pedestrians and cyclists in the path.
I am happy to announce;

i wrote a GDOv7 module to ship this font and will use it in one of my projects.

Of course, this projekt uses only Latin characters. (The fonts are like 20kb, i doubt they feature something asian.)
There is unfortunately a dumber way to solve a maze: https://youtu.be/v2uAipnt2nw
I am quite a real person, with hopes and fears :-) Thank you!
I took his idea of a "fan" blowing air to be like a sort of bias applied to the vector in a certain direction, perhaps a small bias for not going "backward".
I don't own a car and cycle everyday (in a country/city where I'm faster than any car rather than slowing them down), and I thought this was a hilarious analogy for the relationship between motorists and cyclist in the US at least.
Teachers are over-proportional female and schools typically do not foster aggressive (as in deterministic not bullying/hitting/...) behavior. In higher schools there is female-oriented mentoring which is not available for men in equal organized way.

I am neither an expert, but this is common knowledge (at least in Germany). There is nothing too hard about it but like all things gender inequality it is about the paper cuts.
Node developer here - it’s crazy that the canonical solution embraced by Python developers involves full-on virtual environments.
check out JuMP---it's by far the cleanest interface to defining & solving optimization programs I've ever used
Yes, he's using the wrong word with "happiness". "Good life", "best life" are better conceptions for what he's trying to get to.

I like your point that it's pleasures are hardly pleasures. Why do you think this is?

For me the explanation is that this is not a world that I have had much input in making, nor is it unfolding naturally. Instead I think it is planned by powerful forces and steered in a way that uses our (good) nature against to achieve greater control. Eg, technology is a neutral 'tool' but it is being used to track everyone and everything. Events such as epidemics, result in greater centralised control, less individual freedom.

The direction is towards greater authoritarianism. Everyone will struggle for happiness/the best life under those conditions. (Except those running the system.)
Think I would prefer a slide!
The usual paradox of paid media: the more the subscribers pay per month, the more desperate advertisers are to put their ads in front of them, since they're prequalified by the paywall. (Back when free "newspapers" existed, how much do you think they charged per CPM versus what the New York Times charged?)
It has to be. There was a sub (now closed) called r/UnstableDiffusion, where people shared their porn output from SD.

The filter should be easy to remove and there are already people who simply removed the filter.
When you put it like that, it's actually interesting. If they went ahead and said, "This is a language which by design can't have an optimizing compiler, it's strictly up to the programmer - or the code generator, if used as an intermediate language - to optimize" then it would at least be novel.

But as they don't, I see it more as an attempt to annoy the people who have studied these sort of things (I guess you are the people who "suck the joy out of programming" in their eyes)
Honestly, it’s the city’s fault for not providing dedicated bike lanes. There is enough space for everyone if your local urban planners don’t suck. When I moved from Dortmund, a city were the cycling experience is great, back to my dad I realized just how bad it is to let cyclers use the main road without a dedicated lane.
Damn this thread. All I need now is a month of crap weather to justify spending it watching all the recommendations...
I never seem to get it. I guess trial and error is the only way then.
That's pretty good then - on my 3080, I'm getting ~8it/s.
What happens if your kids decide to start walking around to places? To school, with friends, or to do stuff? In that time you've signaled to the market that you want larger vehicles on the road, which makes it progressively less safe for your children to walk anywhere while slightly more safe in your vehicle.

John Neighbor follows the market and has bought an even larger car. Now you are in the position of needing to buy a larger car as well in order to maintain your relative safety standards.
it did stop you, it took 1/3 to whole screen and you could not use the app without creating one, they only abandon that retarded area when users like me left, so good luck encouraging me to use this POS app

yes, 2 years is short time especially since it's just recent 2 years, I don't think there is even one app in my phone which I would be using just 2 years (besides 2 games)
I came across this blog post which talks against styling HTML tags and using classes for performance reasons and scalability. I'm not sure if the impact is noticeable on web browsers, I'd love to see an objective comparison.

https://frontstuff.io/you-need-to-stop-targeting-tags-in-css...
For Python packages that include something you want in your PATH you can use pipx:

$ brew install pipx # (1)
$ pipx ensurepath
$ pipx install west

1. https://pypi.org/project/pipx/

Alternately you can create a virtual env just for west:

$ python3 -m venv west
$ west/bin/pip install west
$ west/bin/west

If you installed west with `python -m pip install west`, then `west` should be the same place in your PATH as `python`. You can probably also run it with `python -m west`.
yu.ck would be better, although not that short
Especially the part about space travel.
Ok, I work on PyTorch, so probably should clear up some misconceptions in this thread.

1. In PyTorch (and other array programming libraries like Numpy), the operations being passed around are tensors/arrays (i.e. large chunks of memory). Thus, += is overloaded to mean "in-place write" to the arrays.

So, `+` vs `+=` is the equivalent of

a: float[1000]
b: float[1000]
for i in [0, 1000]:
b[i] = a[i] + 2

vs.

a: float[1000]
for i in [0, 1000]:
a[i] = a[i] + 2

The main performance advantage comes in 1. no need to allocate an extra array, 2. you're using less memory overall, so various caching levels can work better. It has nothing to do with python bytecodes.

2. As for whether it generally makes sense to do this optimization manually... Usually, PyTorch users don't use in-place operations as its a bit uglier mathematically and have various foot-guns/restrictions that users find confusing. Generally, it's best to have this optimization be done automatically by an optimizing compiler.

3. PyTorch in general does support using in-place operations during training, albeit with some caveats.

(PS) 4. Putting everything on one line (as some folks suggest) is almost certainly not going to help performance - the primary performance bottlenecks here have almost nothing to do with CPU perf.
Measurements (particularly, FR and distortion) aren't there or are hard to find.

It'd be most interesting to see them.
Massoud, the Taliban's sworn enemy in the North of the country, had just been killed by suicide bombers on September 9th. BBC World News were reporting about his murder while the 9/11 attacks were happening. Earlier in the year, he spoke at the EU Parliament and warned the US against Osama Bin Laden.

What I'm trying to say is that there were breadcrumbs in the public arena to make an educated guess the moment the second tower was hit.
As if anyone who really will print money can't open in GIMP.
> all of this work didn't matter

Sorry to say this, but sometimes this is just true. As a newbie it is easy to think that a state of no bugs, no open tickets and 100% documentation and test coverage are the most valuable things a development team can strive for. But this is rarely the case. In most cases, it is just not worth it. Developer time might be better spent elsewhere.

Just because a work is dirty it does not make it automatically valuable.
Conda is a walled garden. It's hard to enjoy its value if it doesn't play well with the rest

> so you need to install things from both pip and conda and then you are in a messy situation.

Well obviously
While I agree that in common language "or" frequently means "exclusive or", I believe that using "xor" to mean "exclusive or" is a bad choice, because "xor" is ambiguous.

In computer programming, "xor" is always used with the meaning "sum modulo 2", never with the meaning "exclusive or", despite its etymology.

The 2 logical functions "exclusive or" and "sum modulo 2" are distinct. They coincide only when applied to two arguments, but they are very different when applied to 3 or more arguments.

"Exclusive or" of N Boolean values is true when one and only one of them is true. "Sum modulo 2" of N Boolean values is true whenever an odd number of them are true.

Both logical functions are very important and I find annoying that the name of "exclusive or" has been misapplied to "sum modulo 2".
One thing I miss today, is the simplicity and ease of use of the mIRC help file. There was everything in one place, and offline. I find my self often missing something comparable. (I know of desktop tools for docs, but they didn’t quite fit for me)
There was a time in the early 2000's when Indiana had three or more different time zones in the summer. In the winter the state was on eastern standard time except for three or four counties in the northwest part of the state that were on central standard time to sync with Chicago.

But in the summer there were counties that went on daylight time and others that did not. I had an important meeting with my startup in the Indianapolis area to discuss a partnership. I checked Wikipedia to find that Indianapolis was on daylight savings time. Since this guy was five miles outside Indianapolis I assumed he would be on the same time as well.

The end result was we arrived an hour early for the meeting. The guy was not pleased at all. He wasn't able to understand how I wasn't aware that he was over a county line that made all the difference in the world what time he was on. After all everyone in Indianapolis could tell you which counties used daylight time and which did not.

But it wasn't on the web and he didn't make a point of telling me. The meeting ended up going well but I left wondering how often this happened. Eventually the level of confusion resulted in Indiana moving the entire state to daylight savings time.

Guess I shouldn't be surprised. Michigan voters rejected daylight savings time twice at the polls. The state legislators finally voted to move everyone over. When there was a ballot initiative to reject what the legislature did the legislators fought it. The result was the state supreme court kept it off the ballot. But to be fair never at any time was the state on more than a single time zone.