skysight-inc/HackerNews huggingface dataset:
Rails is probably one of the most complete, turnkey frameworks I’ve ever used for web development. When I first encountered it, within a day or two, I was building full stack crud apps.

However, what shocked me, having come from a C/C++ background were the thousands of dependencies for the most simple of apps. This scared me as how could I possibly understand the security holes and inner workings of all these dependencies.

Another problem I ran into was the tendency of rails developers to create monolithic applications with little separation between the UI, middle tier layer, and the data model layer. When I would be writing client side apps and interfacing with rails back ends, The rails teams would always implement new functionality into the website and then separately add functionality to an API. I think this comes down to the way people learn to develop in rails as rails teaches a monolithic method. I would always try to point out that creating an API where all of the logic was held, would make life so much easier for them, and they would agree, but continue to build The monolithic website with a separate API.
Why is make America great again so offensive? For African-Americans, the wealthiest they ever were was during the reconstruction era in the 1870s. That was because after the war, there was a shortage of skilled laborers and so they were in great demand. So this, Misnomer that make America great again is racist makes no sense. Good people don’t teach you to hate other people, remember that. You can’t do the same thing evil people do without becoming the thing that you hate. Morality is not relative. Morality is not Machiavellian
In any case, the "mind center" of the company is in Taiwan, so it couldn't be anything but a temporary setback. In retaliation, Foxconn may start reducing Chinese production.
Not the OP, but I've been using XYplorer for 10 years now. I have a sidebar with a few scripts. Here are the ones I use the most:

- Extract selected archives

- Flatten current folder

- Convert selected file(s) to various formats (e.g. JPG to WebP or vice versa)

- Optimize selected image file(s) (smaller file size)

- Prepare image file(s) for publishing on my photography blog: strip irrelevant EXIF, create two variants (thumbnail and a bigger picture); see my post: https://darekkay.com/blog/photography-website/#pipeline

- Prepare image file(s) for sharing - similar as above, but more for sharing vacation photos with my family on WhatsApp)

- Rename files to a certain format (e.g. images to "YYYY-MM-DD HH:mm:ss")

- Check selected file with Virus Total

- Start a weekly backup to my external drive

- Backup my server files to my local drive

- Create a rectangle "album art" file, see my post: https://darekkay.com/blog/resize-album-art-images/

Many of those are just shell scripts and apps that I run right from XYplorer, but it's way faster than through CLI.

I've documented some of the XYplorer stuff here (see also the "scripts" folder): https://github.com/darekkay/config-files/tree/master/xyplore...
No, no. It's all good and amazing. IMHO Grafana is getting even more important in the light of possible disappearing a solid potential competitor. Hope Datadog will be smart enough with Quickwit and opportunity to win the hearts and minds.

Clearly an opportunity for Datadog to make a big statement here, and change its perceptions.
I agree that SV (the actual physical location) and the US software industry are less racist than most of the rest of the US. But they're still way more racist than, say, Porto Alegre or Caracas, which are no egalitarian utopias either. And the reason for this is, in fact, the broader culture of the US. (Not “American culture” because that would affect Brazil and Venezuela just as much as the US.)

There are significant numbers of upper-middle-class black people in the US, and there have been for decades now. Their kids still don't end up as programmers in significant numbers. White rednecks' kids do; they're facing a pretty stiff uphill battle too, but a lot more of them prevail. That's racism, not just classism.
It’s the government’s job to make the playing field equal, it’s not the government’s job to make sure everybody ties. The fact that you don’t recognize that they swap the word equality for equity means that you’re missing something.. It wasn’t by accident.

It doesn’t make you like some sort of prodigal genius to cite some Marxist garbage and pretend like yeah if we only did it right this 270th time it’d be perfect. Like you think you can do it better than stalin, huh? And even if you could, what makes you think someone wouldn’t take you out.

You can never have equity because people will never work equal equally as hard. That is a fundamental fact of humanity.
This is industry standard now. "Your security is very important for _us_". (and for the companies they work with, and for the 3 letter agencies they work with)
I prefer https://dangitgit.com/en which doesn't have swear words.
We use Cargo Cult to refer to this phenomenon: https://en.wikipedia.org/wiki/Cargo_cult_programming
Until it sees the pen upside down and identifies it as a parachute. If there's a reasonable chance that this robot, when holding a pen, utters I have a parachute in my hand, does it then mean it? Does it know it?
I once accidentally dropped a glass that was about half full of water and I somehow managed to catch it with the side of my foot without spilling any.

Sadly no one saw this 'feet'.
I just spent 30 minutes trying to get any of these examples to work before it clicked.

What worked for me: I’m not “crossing my eyes.” Trying to cross my eyes precisely enough to get the two images to overlap was impossible.

Instead I’m starting by crossing my eyes until a third out of focus image starts to appear between the other two images, then I immediately abandon trying to cross my eyes and instead focus on bringing that third image into focus like it’s “floating” in the room at a different point in space than the page its on.

Apparently the circuits in my brain and eyes are good at this. As soon as I can get the “third image” to show up by crossing my eyes, I can “look” at it and my eyes snap perfectly into position.

After about 5 minutes of practicing I can focus on the third image in about a second from the time I begin to cross my eyes.

On the third image, the differences between the two images “shimmer” like a holographic foil on a playing card.
I'm considering what flat-surfaced shape you could construct with equal gravitational pull at all points. Maybe something where the center is thin as a point, the edges have a lot of depth, and they curve towards the center either convex or concave. Might run some calculus to figure it out.
Have you spent time in other countries?

Racism is everywhere, and often far more dramatic and in your face than what you are describing. What you are describing is still wrong! And was made illegal for a reason. But anyone coming from Asia, Africa, South America, and most of Europe is going to just shrug their shoulders at what you just described.

I have yet to see even the most progressive Western European country that didn’t have a huge hate against Roma/Travelers, or Indian community that didn’t have some serious Muslim/Hindu friction, or Chinese vs Non-Chinese, etc. And let’s not talk about Eastern Europe, or African tribal/clan warfare!

The issue here is that the more you talk about all the wrongs and specifics, the more you highlight finer granularities of identity, the more you base things on some small group, the more it splits everyone, the more different groups/factions end up getting created, the more finger pointing happens, etc.

The more people start thinking of us vs them, their identity and how they are different/split from everyone else, etc. and past grievances, the more they start thinking about retribution, control/exclusion, etc.

For an incredibly evolved version of this, check out a (brief summary of [https://en.m.wikipedia.org/wiki/Caste_system_in_India].

It ends up in a nearly infinitely Balkanized hellscape where the more someone knows about someone else, the more likely they will end up enemies than friends. And eventually, nearly everyone is an enemy with their neighbors, and sometimes even themselves.

If we try to focus on what should happen, and the best common identity we can, and punish divergences from that instead, at least we can be mostly going in that, someone similar direction. And have at least some idea what common elements we can be friends on, and what we shouldn’t talk about lest we become (likely) enemies.

It is far from perfect, but at least it has some cohesive identity and direction, rather than infinite levels of infighting. Nothing is perfect.

Together, we can be strong. Alone, we are weak and easy to pick off.

The issue the US always has had, is that really the only common theme between all its different groups, is the desire to make money, and be left alone to do what they want.

But then when times get tough, inevitably some groups want to make everyone else do what they want and/or take everyone else’s money.
Just Build Things
I shouldn’t have asked.
Copy+tweak happens IRL all the time. There's no reason everyone who bakes should have to reinvent biscuits from scratch. There's no reason chip manufacturers should have to reinvent N-type P-type sandwiches from scratch. The existence of adaptations of previous success does not suggest that baking, or physics, or Make, is overly complicated.
> I defy the data.

Sorry. The reality doesn't care about your defiance.

Upzoning does not lead to lower housing prices. Even the most extreme urbanists admit that: https://www.strongtowns.org/journal/2023/4/26/upzoning-might...

> and the law of supply/demand has been proven too frequently

Ah, here it is. Have you considered that there, you know, might be "too much complexity" for "Economy 101" to fully explain the situation?

The _only_ way to decrease the housing prices is to BUILD MORE SUBURBS. Or even new cities entirely.

You don't have any other options. Sorry again.

Well, maybe one more: the Detroit route. Reduce the city population and the prices will go down.
Every Object in Java has a getClass method. If we changed all the static type information in Java to the `Object` type, that'd be pretty close to Python's case.

GP's post is probably the "unityped" critique of dynamically typed languages by Robert Harper: https://existentialtype.wordpress.com/2011/03/19/dynamic-lan...
Dunno but I wonder if Jesus would be considered a commie if he appeared incognito in 1950s America.
He was ranting about it at least two weeks before the recent press conference.

https://www.nbcnews.com/news/amp/rcna185416
That's actually a lot closer to the actual value of pi than the implied difference in the article vs the 0.15% actual difference in path length.

As in, the illustration would be less wrong if it only used 22/7 for Pi and correctly portrayed dimensions of Earth and flight heights.
Maybe, but would you currently like to go to india with a satellite capable device?

And in the future I can imagine mandatory software that needs to be installed in many countries, to be able to do any buisness there.

Not specifically against satellites - but for using the bus, paying the hotel, getting a appointment at the police, ... and that app would make sure, you only connect to authorized means of communication.

The hard part will be preventing that shit to become universal.
Great, maybe we can instead focus on hiring based on merit instead of gender, etc.

It wouldn't be that hard to create a blind CV filtering process to avoid bias. And if the company is so racist they won't hire people with certain names, non white people probably wouldn't want to work there either.

Maybe we can even go back to not pretending everyone is equally good at everything. Men and women are different.
Are we both arguing against the growth we see at this time?
> The printf alone is the real payload, the rest conveys no information.

What are you talking about? Every line is important.

#include <stdio.h>

This means you need IO in your program. C is a general purpose language , it shouldn't include that unless asked for. You could claim it should include stuff by default, but that would go completely against what C stands for. Code shouldn't have to depend on knowing which flags you need to use to compile successfully (at least not in general like this).

int main(int argc, char** argv)

Every program requires a main function. Scripting languages pretend they don't, but they just wrap all top-level code in one. Having that be explicit, again, is important for a low level language like C. By the way, the C standard lets you declare it in a simplified manner:

int main(void)

Let's ignore the braces as you could just place them on the same line.

printf("Hello\n");

You could just use `puts` here, but apart from that, yeah that's the main payload, cool.

return 0;

The C standard actually makes this line optional. Funny but I guess it addresses your complaint that "common stuff" perhaps should not be spelled out all the time?

So, here is the actual minimalist Hello world:

#include <stdio.h>
int main(void) {
puts("Hello world\n");
}
Because of the -A instead of an -H? -A is for "Associative array".
Standard flat-earther response is to scornfully deny the existence of gravity. It's all density/buoyancy you see... Gravity is a hoax promulgated by the notorious cabalist Newton, in service to his Illuminati/Papal masters, etc, etc.
Made an open image format with this for constrained networks and it works great
Selective attention was one of the main factors in Hubert Dreyfus' explanation of "what computers can't do." He had a special term for it, which I can't remember off-hand.
>they have some fantastic foot guns!

Otherwise wouldn't be getting the full shell experience.
Property tax in California is a huge mess. In terms of K-12 funding there's also Prop 98 to contend with.

https://lao.ca.gov/reports/2012/tax/property-tax-primer-1129...
Oh no :( Do you know which device / platform?
> I would do exactly the dual: the chunk's size should be defined at pool creation, so that you can create multiple pools, each dedicated to one specific kind of object.

This is supported in my 'libpool' project. I thought I mentioned it in the article, but now I am not so sure.

https://github.com/8dcc/libpool/blob/main/src/libpool.h#L51

> Similarly, I don't like exposing pool_expand(): too much burden on the user. Expansion should be automatically triggered by pool_alloc() whenever the current pool is exhausted.

I feel like this shouldn't be too hard to do, but I actually did write a function for this in another project I am working on.

https://github.com/8dcc/sl/blob/9ddd84d75ffc3b0ba1373bc13bc6...

> This would also allow a much simpler pool_new() that just initializes its pointers to NULL, leaving it to the first invocation of pool_alloc() to actually do the first allocation.

I didn't think of this, but I rather keep the two functions separate, specially for readability in the article.
It is 30 years after pulp fiction came out.

Last year I was chatting with the 20 year old son of a friend, and he didn't know what Highlander was. I mean...
That's how I learned HTML, building the page in Frontpage and then looking at the markup. I don't remember it being free though.
I'll ping you when it comes along!
It is a great software, now I know why there is no MacOS builds :)
That's for sure. I've had a lucky career where I feel like I've made above average compensation the entire time, but my upside is that I can maybe retire in my mid-50s rather than mid-60s. Which is about when (I fear) ageism would kick me out anyway.
> I briefly looked at …Gradle… The build configuration files seem to have too much unexplainable magic in them.

This is largely due to the use of groovy. When the Kotlin DSL is used instead, it can usually be introspected by (eg) IntelliJ. Otherwise, it’s pretty opaque.
There's also "zero based budgeting" (ZBB) that starts from zero and says "justify everything".
Oh, thanks! That's a second thing in this thread I'm embarrassed to have not known already. Does it get native-like performance in PyPy the way LuaJIT's FFI does? I'll have to try it with Yeso to see if it's an improvement.
Depends what causes things to stick to the flat Earth. IIRC flat earthers have various explanations for gravity, including the disc continuously accelerating upward; in that case you'd experience the same force everywhere on it.
The Most Dangerous Game walked so Hard Target could run
Good points. Came here to say pretty much the same.

Moravec's Paradox is certainly interesting and correct if you limit its scope (as you say). But it feels intuitively wrong to me to make any claims about the relative computational demands of sensi-motor control and abstract thinking before we’ve really solved either problem.

Looking e.g. at the recent progress in solving ARC-AGI my impression is that abstract thought could have incredible computational demands. IIRC they had to throw approximately $10k of compute at o3 before it reached human performance. Now compare how cognitively challenging ARC-AGI is to e.g. designing or reorganizing a Tesla gigafactory.

With that said I do agree that our culture tends to value simple office work over skillful practical work. Hopefully the progress in AI/ML will soon correct that wrong.
As much as I like C# the language, I honestly think that it and .NET are fundamentally flawed when it comes to performance.

Native Windows apps just never seem load that fast or work that great. It’s kind of crazy how much better the basic OS apps feel in macOS compared to Windows.

I wish Microsoft would have gone in a direction more similar to Apple, with an AOT compilation and reference counting.

JIT and garbage collection sound great in theory, but in practice I’ve found them both to be loaded with footguns that more than eliminate any benefits. At least with .NET, that is.
> gibberish is gibberish

most insightful, thank you! also, stay away from linkedin, you sweet summer child.
This is true but the instruction already existed and it doesn't support uint16_t accumulation. For the reason you mention, activations are uint8_t and weights are int8_t so it worked out well for neural networks.
Agreed. Once they had a whiff of our domain every engineer was being bombarded with emails like “Re: meeting next week”.
Rails bad decision: security feature for newbies makes Rails apps less secure
Zuck is innocent PR piece.
Why is ice cream not deserving but coffee is? Coffee isn’t carried out to the table.

For that matter, why are bartenders tipped? They can turn around a drink in seconds. That being said, I also tip bartenders
How many women were doing Comp Sci in your year at uni? Mine had 6 out of 110. And they mostly hated it and don't work in IT now the ones I know about.
I've been using XYplorer for 10 years now and it's fantastic. There are just so many features and quality of life improvements over the Windows explorer.

It's written by a single person, and they're very responsive. I've recently reported a bug with the search (the first that I've noticed in all those years), and it's been fixed within a day. I'm only worried about the bus factor a little.

I have a GitHub repo with some of my settings/scripts/notes for XYplorer if someone's interested: https://github.com/darekkay/config-files/tree/master/xyplore...
Just pay your freaking workers. I’m sick of paying for labor someone else benefits from.
A much better solution would be to use Typst, but that still might not work in all situations.
lord of the flies is the name of the novel?
The letter Z? What does that mean?
Bullshit. Groovy can be introspected just as well as Kotlin. And the magic in kts files is still there:

configure<SourceSetContainer> {
named("main") {
java.srcDir("src/core/java")
}
}

Unless you know this, there's zero way you will come up with this by typing `configure` and using just auto-completion. Might as well use Groovy and a String for the name of the thing you're configuring. Good tooling would be able to auto-complete from there whether it's Groovy or Kotlin (or Java etc).
I think we all should be. Buffett was one of the good guys, a Democrat, saying the rich need to be taxed more etc. Now he just takes it all back to be spent in probably the most idiotic fashion imaginable by his nepo babies.
I think this is a good point. As somewhat of a tangent I have vaguely been thinking of the difference between copy pasting and explicitly extending for a bit.

It seems that in many cases, adapting copy pasted code has some benefits over importing and adjusting some library code. https://ui.shadcn.com/ is an example of going the copy paste direction. It seems to me this is preferable when tweaking the exact behaviour is more important than keeping up to date with upstream or adhering to an exact standard. If you customize the behaviour a lot the extra abstraction layer only gets in the way.

This insight might be a bit mundane. But I remember myself bending over backwards a bit too much trying to reuse when copy pasting is fine.
I think this is completely normal for tools that you program seldomly. I write makefiles a couple of times a year, I've been using make for more than 40 years now, I use it every day, but I seldomly program it, and when I want something more than simple dependancies I often clone something that already works.
Search for the phrase. Apparently Asians are now white in the telling of these people.

I'm pointing out the inherent racism in these efforts in practice.

The only really positive thing I saw was hiring more from HBCU's.

But that crowd never pointed out white people were underrepresented in tech. And that lots of the black people they claimed they were helping by hiring were actually Pacific Islanders, African immigrants and second generation African immigrants rather than ADOS that they claimed to be helping
I have been developing for Microsoft platforms since MS-DOS 3.3, Win16 and Win32 development without any function from standard C library has been a thing for decades, for those doing C development without caring about portability, like demoscene competitions and gaming.

Using C++ is another matter.
I'm genuinely not trying to be a schmuck here ... genuinely ... but can I direct you to any decent dictionary and to read up on the word 'racist'. Then read your comment again.

Thanks.
> Chinese CEO that would behave like Elon Musk to disappear quite quickly

Why would you assume Elon Musk himself would immune from such "disappearing" if they pissed off someone powerful (like Xi Jinping or someone from other nations)? Have you see the man desecrate Xi Jinping or Vladimir Putin? If he likes to critic politician, why the redline?
An approximate 20% reduction in bandwidth looks significant to me. I think the problem here is that the chart uses a linear scale instead of a logarithmic scale.

Looking at the data, I'm inclined to agree that not much CPU is saved, but the point of MessagePack is to save bandwidth, and it seems to be doing a good job at that.
Only if they stop making it cheaper to hire from offshore
To elaborate on this, macOS default bash is still stuck (assuming due to licensing) in v3.2.x (released in 2007). Bash got associative arrays in v4 (released in 2009).
It starts to make sense if you are returning a large array of objects and each object contains several long values. Unfortunately it looks like msgpack doesn't support u128 or arbitrary precision big integers. I suppose you can always cast to byte[].
Really? I feel like those of us maintaining PHP stacks are much more "senior" by now...
If you thought going from XYplorer to what's available on Linux was bad, now try going from Directory Opus to what's available on Linux :/
Because "the event" was the bird strike, and 4 minutes before the crash is the right timeframe for that. At least one of the engines was hit, and they appear to have lost AC power.

The crash on the second landing attempt is just a the conscience of the bird strike, not the actual event.

Apparently this aircraft was just old enough that the black boxes weren't required to be hooked up to any of the redundant power buses.