skysight-inc/HackerNews huggingface dataset:
> It’s not easy because of all the bureaucracies and inefficiencies at large companies.

The Innovator's Solution addresses these and other issues.

http://web.mit.edu/6.933/www/Fall2000/teradyne/clay.html: Even after correctly identifying potentially disruptive technologies, firms still must circumvent its hierarchy and bureaucracy that can stifle the free pursuit of creative ideas. Christensen suggests that firms need to provide experimental groups within the company a freer rein. "With a few exceptions, the only instances in which mainstream firms have successfully established a timely position in a disruptive technology were those in which the firms' managers set up an autonomous organization charged with building a new and independent business around the disruptive technology." This autonomous organization will then be able to choose the customers it answers to, choose how much profit it needs to make, and how to run its business.
It's not really that bad and nobody is going to be interested in a project whose Web site looks like it was last updated 20 years ago.
We detached this subthread from https://news.ycombinator.com/item?id=29317827.
Conditional Members
IndexedDB is pinnacle of bad API design and I'm not surprised that people will shoot their own feet with it.
I also can't replicate that snap apps take the same long amount of boot time every single time. Snaps generally take a few seconds on the first startup but then for me start more or less as fast as any other app.
Most religious people are not zealots. I don't think they condone slavery, women's subjugation etc just because they go to church sometimes. You think they hang gays in Turkey?

Besides, the overreliance on the writings of scriptures is a distinctly protestant characteristic
Me too - let's figure it out and make it happen!
Hear me out too - I just take advantage of tools which can help me in reducing bugs especially if I am already comfortable in some language. Type hints do help lot of people.
Yea true that’s a bit more hands on. I was thinking that they had used CGMs.
The people using WordPress to build their business websites generally do not care.
The big social networks aren't "overlooking" community. Communities with constructive relationships between humans who know each other on a personal level are _competition_ for the social networks whose goal to profit off being the middleman in every social transaction.

- If somebody shows you photos of their new baby in person, you don't have to go to Facebook and look at their ads to see them.

- If you need to buy a car, and you know somebody who is selling a car, you don't need to go to Facebook Marketplace and use them as an intermediary to buy a car from a stranger

- If politicians and businesses are interacting directly with constituents/customers in their community, they don't need to pay Facebook to boost their political ads.

It's not at all surprising, then, that social media companies (particularly Facebook) have done everything they could possibly do to undermine any community that risks drawing people away from the newsfeed.
Why? Once you're off the hook, that's it, you've trebucheted in orbit.
The whole "games console" context also comes waaaay after the chip was made — it's not a custom for-Nintendo chip! tegra210 was previously used in the Nvidia Shield 2015, then the Google Pixel C (also from 2015) and the Jetson TX1 dev board.
Sure it would, as it would mean we didn’t have to see it.
If I saw a page like the old one I'd probably assume whatever is being promoted has been long since abandoned.
I’m going vanilla. My only default extension is a json viewer. Everything else I toggle on/off when needed.
Nginx now has more market share than Apache (W3Techs)
I don't know why you have been down-voted, but you're somehow right. In American English it is common to put month before the day. An URL in the submission contains locale "en-us". If you would switch the localization of the website, let's say to German (de-de), you will see "9.1.2022". Give a try in other languages:

- https://developer.microsoft.com/cs-cz/windows/downloads/virt...

- https://developer.microsoft.com/da-dk/windows/downloads/virt...

- https://developer.microsoft.com/fr-fr/windows/downloads/virt...
Connecting pressure vessels together is a challenge. Each vessel and each joint is a failure opportunity, and having to go through bulkhead doors all the time doesn't scale well beyond mission crews. Plus you have to get the location of those doors right during initial planning.

For modularity it might make more sense to use nesting. A building inside a building has no seams. Doors only need footpaths between them, not hard structures. The inner building can be used for shelter in case of an accident, and can be run at higher pressures than it could in hard vacuum.

In the tinker toy model you would tend to have to keep repurposing buildings because while the size may be appropriate, the older structures may get pushed farther and farther from the center of the action, rather than staying in the center of the action.
Presumably to support filenames with newlines in them.
It feels like common advertising at the time. See also "Rich Corinthian Leather":

https://youtu.be/tfKHBB4vt4c?t=9
This Four-Wheeled, Weatherproof Vehicle Aims to Redefine Personal Mobility
RUD is quite a bit older than that game. The others are probably adapted, too, so maybe this one will catch on.
> Basically, what Linux distributions have failed to do is to create a higher level SDK for their platforms - instead, they rely on a soup of libraries and on the package maintainer model to know which of these is which.

At the same time, the tools which solve this really shine. You inevitably run into these issues with random third party dependencies on other platforms, too, but it's further from the norm, so you end up with awful bespoke toolchains that contain instructions like "download Egub35.3.zip and extract it to C:\Users\brian\libs."

Developers on GNOME deal with this regularly, partially because of our lack of a high level SDK. So one of the tools we have to solve this is first class support for flatpak runtimes in GNOME Builder: plop a flatpak manifest in your project directory (including whatever base runtime you choose and all your weird extra libraries) and Builder will use that as an environment to build and run the thing for development. This is why pretty much everything under https://gitlab.gnome.org/GNOME has a flatpak runtime attached. It's a young IDE, but that feature alone makes it incredible to work with.
What a decadent problem to have.

Maybe the problem isn't that there is too much shit to stare at, but that we spend too much time staring at shit.
> especially IDEs and languages are unsuitable for running under confinement and need to be distributed this way

I think the solution to that should be something other than removing the sandbox. I see "portals" referred to elsewhere in this thread w.r.t. flatpak; does snap not have similarly?

> By passing --classic you give your consent to use an app package in this sub-par way.

Sure, but it's a terrible name. It should be --unsandboxed or --fullaccess. "Classic" sounds like a mode you'd want.
If you want a dedicated music player, there are options like fubar, but very few people want that anymore, so it's hard to see why anybody would waste their time and money on such a project.
That's when you realize that there are station wagons with better mpg more utility and your head explodes.
Great, then we're all in agreement but it might be worthwhile for the rest of the folks in this thread to read a few wiki pages about the immune system and how vaccines work. It would reduce a lot of confusion for them.
New Benchmark the State of Ecommerce in 2021 – CleverTap
It's a good time to be an ecommerce brand. Global time spent in shopping apps is growing 45% year over year, with consumers spending 2.3 billion hours in shopping apps a week.
I would love to work something like this into my D&D sessions. Looks amazing.
Still exponential, though, just with a smaller exponent.
It doesn't appear to be WP to me, no obvious WP html in the source code of the page
Single-purpose accounts aren't allowed here, and neither are trollish usernames (which celebrity names usually are), and neither is using the site primarily for promotion, so I've banned this account.

https://news.ycombinator.com/newsguidelines.html
Scott Manley on artificial gravity:

https://www.youtube.com/watch?v=nxeMoaxUpWk
The Elysium habitat in the film has (from memory) walls only hundreds of metres high. So there is no way that would contain an atmosphere for any length of time. I guess their could be some sort of high tech field that kept it in, but it would have to be something that doesn't stop a shuttle entering (as they do in the film).
> I would argue that the real problem with Java's rollout of generics is at the language level. The language itself introduced some strange gaps in the semantics of generics, such as failing to build any decent bridges between arrays and generic collections. I don't know that this was necessary.

It was necessary. Java made the mistake of letting primitive arrays be (incorrectly) covariant in their type param. Java's implementation of generics is, fortunately, correct in how it handles type parameter variance. However, this means that they are incompatible with Java's primitive arrays. I don't think there is a way to "bridge" them seamlessly without making generics unsound.
That's putting a lot of pressure on individuals to manually curate and block content. Interestingly, you might end up creating an entirely new class of job -- social media curator. You could sign up for an individual (or multiple) user's block list. Then they curate the information that's informative, accurate, and fits a particular community. It's almost like a return to the old-school newspaper editor...
One less popular extension to add to others list: ublacklist

Helps you exclude any site from your search engine easily.
Writing a Fuzzer for NES Games
When you can’t tell the difference between something that “feels like a cryptocurrency advocate pretending to write as if they were a skeptic” and something that’s maybe actually got a point, maybe rather than just dismiss it outright how about heeding the advice in the article?

Afterall, isn’t the point of the article about setting aside knee-jerk reactions and consider that there maybe something going on here? (Hint: There really is. There’s a lot of bullshit too but what’s the saying “don’t throw the baby out with the bath water”).
NotebookSharing.space, the fastest way to share your Jupyter noteboo
I thought that Obama actually won this war back in 2012 when they found and killed bin laden, no?
If you are working with primaries then the unboxed collections are a big boon. My code often uses objects though, so I use a lot of the fastutil Object2ObjectMap etc.

There are two areas that are important in my use case:

* the performance of normal get/computeIfAbsent/forEach etc. FastUtil has for example fast iterators avoid allocating Map.Entry etc.

* the memory usage. The total footprint is important because I actually dimension VMs based on stuff. But garbage collection minimization is also really important.
`SECONDS` is like `PWD`: the shell keeps track of updating it somewhere, and it'll tell you how long your shell has been running.

https://www.oreilly.com/library/view/shell-scripting-expert/...
The Winner’s Curse – Bidding with ML
Its a library design rather than a language design thing. You could make a separate class Size and Point that both take an (int, int) constructor, and even have BoundingBox whose constructor takes (Point, Point), and the function could take a BoundingBox instead of a list of tuples. Of course, you can do that in Python, just as well.
What qualifies as hate speech and what to do about it is certainly arguable, but the underlying issue is that in both the U.S. and rest of the world there's a long history of powerful social groups fomenting actual, measurable, real-world violence and suppression of minority social groups.

It's true that social media is full of pearl-clutching, and that's what you propose to remedy with your "sticks and stones" curriculum, but it doesn't address the real problem of hate speech. And again, I can't stress this enough: I'm not saying that Facebook deleting posts is any kind of answer; what I'm saying is it seems you think the question of hate speech has to do with people being offended rather than people being actively harmed. Given the hyperbole in the media (social or otherwise) it's understandable why you would think that was the case, but social media isn't the best place to get your information.
So if you see a racist post, making derogatory remarks against your race and you report it, Facebook reviews it and says it meets community standards, then you send it for reconsideration and nothing happens for weeks...
What are the next steps?
Do you report Facebook to the Police or are they immune?
I read many times that someone posted something on Twitter and police raided their home the next day.
Can they do the same with Facebook for spreading racist messaging?
I don't use SO for bugs very often. The main use case is getting example syntax for something I know I want to do, but dont know off hand.

sort dataframe on column pandas

(actually interesting, google gives me the `DataFrame.sort_values` documentation page as the first hit for that one, SO is second but you get the idea)
Same way I do now: Logs, printf statements, debuggers, failed assertions, stack traces. That'll at least get me to the part of the code where the problem exists. I actually don't use SO much.
> Because there's no reason not to

There are multiple reasons that have already been discussed in this thread

> quite literally every other GPU vendor has supported Vulkan alongside DirectX.

1. Apple is not a GPU vendor.

2. There are many systems that don't support Vulkan and potentially never will These have also been discussed here, for example: https://news.ycombinator.com/item?id=29312314

> Metal has clear and obvious shortcomings

So does Vulkan

> so Apple continuing to expect developers to "just use it" won't ever get them the support that they desperately need

And in the same breath you go ahead an say this:

> Apple has the most liquid cash out of any company in the world right now

Something tells me, Apple really doesn't "desperately need" developer support via Vulkan.

Let's see, Metal is supported by MacOS, iOS, Apple TV. This is probably more devices than Vulkan supports.

> Creating a second version of your software just to run on Apple devices, that needs to be bug-fixed and maintained separately is a suicide mission.

You need to do that regardless of Vulkan. Vulkan is not some magical thing that will make your code run on every system in existence. As the linked comment correctly says, Vulkan is virtually non-existent outside of PCs.

---

Edit: It's very much Direct X vs OpenGL discussion all over again.

Microsoft stuck to Direct X and eventually provided the API all developers target. OpenGL is basically relegated to the annals of history with very bad memories, as a bad designed-by-committee API that was two steps behind and several steps sideways. See this amazing post down the memory lane: https://softwareengineering.stackexchange.com/questions/6054...

Vulkan will suffer the same fate: designed by committee, consoles and smartphones don't care about it, main API on Windows is Direct X, main API on Apple systems is Metal.
Yep, as I understand it the Snap thing is also obsolete information. Older snaps are still slow, but new snaps are more efficient to start, and that has been the case for a while now.
I add an emoji to the front of my name. 90% of emails I get are clearly bots.

Anyone who thinks there are majority real people behind these emails is a fool.
Both of those are more shock events - there is a one-time impulse of energy into the system. The main difference here would be damping - the punching bag absorbs and dissipates the energy readily via internal friction of whatever the stuffing material is. A metal bell has orders of magnitude lower internal damping so it sits there and vibrates at its natural frequencies, emitting sound as it pushes against the air which slowly bleeds off energy due air resistance.

Random Vibration is usually characterized by a constant input of energy to the system at a range of frequencies - rocket motors, engine rpm + cylinder firing frequency, road noise, etc.

A somewhat imperfect analogy that I've heard is random vibration is analogous to playing white noise/pink noise/etc through a speaker. Shock is analogous to the horrific crackling and popping you get when you plug a guitar into an amplifier that's already on.
I've used OctoberCMS[1] for a smaller project, and this looks similar on first glance. (Might just be the Lavarel underpinnings.)

What I really like about October is the ability to quickly spin up small CRUD database functionality (index + detail pages and simple backend updates for "custom" objects like staff members, white papers, etc.) using their Builder plugin. Any idea if Statamic offers something similar without diving into custom code?

However, October seems to be a little stagnant: you search, and most of the forum discussions are from 2016, and many plugins are no longer maintained well.

[1] https://octobercms.com/
A cheaply made smartcard chip should be much easier to breach than the main SoC. Both because it's way simpler, older process silicon… and much more importantly because you have an external bus going to it. Now that the big consoles use semi-custom SoCs, their NUMBER ONE principle is to not trust anything that's off the main silicon die.

See the Xbox security talk: https://www.youtube.com/watch?v=U7VwtOrwceo
But not being in a guild doesn't mean you're lonely. Maybe the random group finder and other pick up groups are enough to give you social interactions against loneliness?
Don’t metals spontaneously weld in vacuum?
It's true about anything having a plugin or module system though, not just WordPress.

The age of WordPress + the massive community around it might make the risk higher than some other technologies but that doesn't make this problem specific to WordPress.
That use (and I haven't checked it - see my other post in this thread which I know works ( http://ideone.com/o1h0hR ) involves the boxing of an int literal to an Integer.

In making it into a List<Integer>, it goes through boxing.

https://docs.oracle.com/javase/tutorial/java/data/autoboxing...

The "half" means that this doesn't impact things like "int foo = 1 + 1" which will be 2 rather than 1,332. It's not because it's half of the uses of 1, but rather that some portion of the code will be converting int to Integer and that will impact those uses.
> Squeezing the lower and middle class now does not seem like the answer.

I agree. But we can't keep having the same approach and expecting change. It's been ~50 yrs since the oil crisis (read: wake up call) of the 70's. Yet here we are again...don't hurt the little guy\gal...don't hurt the Big Guys / Gals either. Well, Mother Nature is ok to hurt. She doesn't push back. Not :(
Why Is Arkansas Telling Me Not to Boycott Israel? (NyTimes)
ClipClap: Image Captioning with Clip Encoder and GPT2 [pdf]
Thank you. That make sense now.
Have a look at how Phoenix(Elixir) does it with LiveView. You simply write everything as a server rendered view and the framework pulls things apart and sends just what changed over a web socket. Its mind blowing how fast it is (can be. Latency is real)

I have no doubt that this style of front-end management is going to be a game changer in the next few years. Of course full-on SPA frameworks will still have their place. But if you aren’t writing the next Google Maps clone, maybe you don’t need all that. It’s made me love web dev again after hating the complexity explosion of recent years.

https://m.youtube.com/watch?v=8xJzHq8ru0M
Looking at the code more carefully, I'd actually bet its string that's slow, and not actually map.

unordered_map is actually known to have relatively bad performance on GCC and some other open-source implementations. I don't know if there's a spec-problem that favors a slower-hash table (rather than the modern open-addressing scheme, which is faster on modern computers), but I can believe unordered_map has an issue on common standard libraries today.

------------

> ret[string("id.")+to_string(i%500000)] = string("val.")+to_string(i);

Lets count the mallocs.

> string("id.")

One

> to_string(i%500000)

Two

> string("id.")+to_string(i%500000)

Three, then two frees() as the previous two strings are deallocated.

> ret[string("id.")+to_string(i%500000)]

Four. The ret[] operator searches for the string. Since it doesn't exist, it now has to malloc the key and insert the value in there. std::move() might solve that issue and cut this one out easily?

> string("val.")

Five

> to_string(i)

Six

> string("val.")+to_string(i)

Seven + 2x frees.

> ret[string("id.")+to_string(i%500000)] = string("val.")+to_string(i);

Eight, to place the value in there. Again, probably solved with std::move. +1 more free.

So eight mallocs and 6 frees?

---------

Yeah, C++ strings shoot yourself in the foot performance-wise. But they're easy to use and free of stupid malloc/free bugs, but it means that they will malloc/free a LOT more than you might guess with the untrained eye.

I know that Perl / PHP / etc. etc. were explicitly designed to be more favorable towards string manipulation. And I'd bet that there's some old C++98 stuff that might lock in the performance of string to this older, less performant model.

EDIT: I see you managed to avoid the problem of excessive mallocs/frees in the Rust code with "format". The C++ equivalent might be snprintf, though that dips down into C-style strings.
Here is the archive link:

https://archive.md/SsgdQ
You exaggerate Metal's level of abstraction. It's still far lower level than OpenGL or D3D9 and allows most modern optimisations. It's supported by all popular game engines, same as with D3D12 and Vulkan. Of course there are plenty of niche ones that don't, but that's also the case for Vulkan.

In practice, games (usually through engines) overwhelmingly target the native graphics APIs. D3D12 on Windows and Xbox, GNM on PS5, Metal on iOS/macOS/tvOS, NVN on Switch, etc. In practice it doesn't matter much.

MoltenVK is not as good as DXVK right now, sure. That still has nothing to do with either Apple or Microsoft. They both offer exactly as much support.

The chips in MacBook Pros aren't the bulk of the cost. I think it's unlikely Apple would make a console, but still possible. They have all of the necessary ingredients already vertically integrated.

I am a game developer, btw.
Nice. Thanks. (For other viewers, all the non-standard maps I'm aware of are trying to avoid allocating those pesky Map.Entry objects, that's why they generally take up much less memory.)
I've let this account for probably longer than we should've, but trollish usernames are not allowed on HN (https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...) and you clearly crossed the line here. I've banned the account.

In principle we'd be happy to rename it for you, but you've also been posting a lot of comments that go against the site guidelines, so we'd need some reason to believe that the account would also behave differently under a different name.
Care to explain why it is 'low quality'?
Came here to say that. I read it as 'fizzling' and immediately thought the title was sarcastic.