755 karma · joined Aug 1, 2018 (8y ago) · 228 submissions
1.
Campfire Rewritten in Rust By DHH(twitter.com ↗)
8 points · by zac23or · 1mo ago · 4 comments
comment 9mo ago · link · parent
Is it possible to take a VCL project, change some configuration, and turn it into a web server? Unigui is similar to Intraweb, isn't it? You need to recreate the project as a Unigui/Intraweb project.
> No, fpc builds, optimizes, and runs exactly like Delphi
It's not my experience. As an example: https://forum.lazarus.freepascal.org/index.php/topic,4958
> for years, this part feels like it was made up on the spot!If you have a crash, it is usually you doing something wrong with your controls.
No, I remember the event exactly. I saw a post about the community edition here, filled out the Embarcadero form, and downloaded it. No anything added to Delphi. And I had a bad experience with it.
I love Delphi. The best days of my life as a developer were spent using Delphi. But this does not solve the problems that Delphi and Embarcadero face.
comment 9mo ago · link · parent
Delphi was magical. Nothing compares to Delphi's productivity. Rails is good, but it doesn't even come close to Delphi's productivity. People love Go's speed. Go is glacially slow compared to Delphi. The WYSIWYG form editor is incredible. I can use Delphi 3 on a Windows machine with 16 MB of RAM.
VCL is fantastic; the idea of components and memory management is incredible, simple, and it works.
Delphi is my first language; I studied VCL code and I love the code, the style. They were practical: Instead of Hash, they used TStrings (a list of strings) and the visual components also used them, like in the items of a Listbox!
Delphi could have been the platform for the web. Imagine a VCL for the web (VCLW), where you could change the target architecture or something like that and, presto, you'd have a web server running with VCL code!
That never happened. What happened was a series of bad ideas for the web, bad in their essence.
And Delphi invested in many projects doomed to failure, such as CORBA, three-tier architecture, MDA... Kylix!!!! Of course, Borland was very poorly managed. The CEOs were crazy. "Let's fight IBM." Delphi was abandoned. It's over.
I tried a new version of Delphi a few years ago. Wow, it was full of bugs! It had basic problems like compilation not working, Random crashing several times, etc. For me the new versions are just a way to profit from projects stuck in Delphi.
I tried Lazarus in the past, but it's extremely slow and I can't use my components in Lazarus without rewriting a lot of things.
To me, Delphi is languishing in an induced coma, breathing the air of the past, which is becoming increasingly rare. It's a shame.
comment 9mo ago · link · parent
comment 1y ago · link · parent
Is being monetized wrong? If so... Is there any REAL evidence? It's bizarre to talk about this WITHOUT evidence. Is it a witch hunt?
This story is bizarre on so many levels, I have no idea what's going on, but extraordinary claims require extraordinary evidence.
comment 1y ago · link · parent
I've seen this happen in many markets. When no one uses the internet and annual growth is 1,000%, everyone tries to attract an audience. Free internet access, free email, etc.
Big budgets are very encouraging in growing markets (Sony surpassed Concord with a budget of 600 million, according to some sources). It's a gold rush.
When the market stops growing, everything free disappears and everyone tries to make money in every way.
Some numbers in the gaming market probably indicate the end of growth, so prices are starting to rise more sharply. The price of older consoles hasn't dropped, the end of exclusivity (having access to more people with the same game), you have to pay to access online games, etc. The idea is to squeeze every penny out of every player.
This is also happening with streaming now.
The big risk is pushing too hard and losing the audience.
I have no idea what will happen, but I bet piracy will increase significantly in the coming years, and the industry will start trying to discontinue older games and eliminate cheap ways to play, forcing cloud gaming.
Mobile games are a different story; they're essentially a casino disguised as gambling, making money off of sick people (the whales).
Maybe Steam will be the last refuge from all this. Or it will become the same thing...
comment 1y ago · link · parent
10.
Polylaminin promotes regeneration after spinal cord injury (2010)(researchgate.net ↗)
57 points · by zac23or · 1y ago · 9 comments
comment 1y ago · link · parent
I like Go and Rust, but sometimes I feel like they lack tools that other languages have just because they WANT to be different, without any real benefit.
Whenever I read Go code, I see a lot more error handling code than usual because the language doesn't have exceptions...
And sometimes Go/Rust code is more complex because it also lacks some OOP tools, and there are no tools to replace them.
So, Go/Rust has a lot more boilerplate code than I would expect from modern languages.
For example, in Delphi, an interface can be implemented by a property:
type
TMyClass = class(TInterfacedObject, IMyInterface)
private
FMyInterfaceImpl: TMyInterfaceImplementation; // A field containing the actual implementation
public
constructor Create;
destructor Destroy; override;
property MyInterface: IMyInterface read FMyInterfaceImpl implements IMyInterface;
end;
This isn't possible in Go/Rust. And the Go documentation I read strongly recommended using Composition, without good tools for that.This "new way is the best way, period ignore good things of the past" is common.
When MySQL didn't have transactions, the documentation said "perform operations atomically" without saying exactly how.
MongoDB didn't have transactions until version 4.0. They said it wasn't important.
When Go didn't have generics, there were a bunch of "patterns" to replace generics... which in practice did not replace.
The lack of inheritance in Go/Rust leaves me with the same impression. The new patterns do not replace the inheritance or other tools.
"We don't have this tool in the language because people used it wrong in the old languages." Don't worry, people will use the new tools wrong too!
comment 1y ago · link · parent
In my 26 years of experience, I see managers and HR professionals as company advocates, with a single mission: to protect the company's interests.
Whether managers admit mistakes or not is irrelevant; what matters is that they defend the company's interests, no matter the cost.
Mistakes are passed on to the people who can do the heavy lifting, and they respond with dismissal or legal retaliation (when possible).
Your HR exit interview is designed to find out if you harbor resentment toward the company and if there's a chance the company will be sued.
I've tried every imaginable technique I've read in modern books. Politics are more important than anything, and nothing works.
comment 1y ago · link · parent
I remember participating in a vote to choose a company's best employee. Whoever came in first place earned a ton of proactivity points. What? That person's work made any proactivity impossible. I asked a friend who had given this person top marks why, and he asked, "What is proactivity?" Charisma wins.
I've worked with several seniors who were terrible programmers, but... they were good, excellent in meetings... and others who threw barbecues for their bosses...
Sure, you can advance in the company and get hired by being very good at what you do, but that's not the rule in my experience.
comment 1y ago · link · parent
It reminds me of the programmer who mitigated the GTA 5 loading time problem. If even with a lot of money of GTA 5 the quality doesn't improve...
comment 1y ago · link · parent
Nothing is free, and ads are inevitable (Firefox makes money from... ads). I don't think ads are the worst thing about the internet.
Where I'm sure Firefox works without problems, I use it: (hackernews, for example), OR on sites where ads are the problem, pop-ups are the problem. I hope it improves so I can use it more.
comment 1y ago · link · parent
I use Chrome 90% of the time because Firefox is slow and has many bugs on video sites like 9gag. The screen goes black, the video loses vertical sync, etc. The same happens with Edge.
In my experience, the problem with Firefox's popularity is technical. I'll use Firefox more often if it improves. Before Firefox 3.6 (probably that version), Firefox was my most used browser, but after that version, Firefox started getting slower and more buggy. I switched to Chrome because IE was unusable on some sites.
I've never used Firefox much on Android, but when I did, it was slower than Chrome.
It's likely that if Firefox fixes the issues, they'll gain traction again, but right now, I don't see that happening. Mozilla's goals are different.
comment 1y ago · link · parent
To me, it only makes sense if the put method creates a cache only in the datacenter where the Worker was invoked. Put and delete need to be related, in my opinion.
Now I'm curious: what's the point of clearing the cache contents in the datacenter where the Worker was invoked? I can't think of any use for this method.
My criticisms aren't about functionality per see or developers. I don't doubt the developers' competence, but I feel like there's something wrong with the company culture.
comment 1y ago · link · parent
I use Cloudflare at work. Cloudflare has many bugs, and some technical decisions are absurd, such as the worker's cache.delete method, which only clears the cache contents in the data center where the Worker was invoked!!! https://developers.cloudflare.com/workers/runtime-apis/cache...
In my experience, Cloudflare support is not helpful at all, trying to pass the problem onto the user, like "Just avoid holding it in that way. ".
At work, I needed to use Cloudflare. The next job I get, I'll put a limit on my responsibilities: I don't work with Cloudflare.
I will never use Cloudflare at home and I don't recommend it to anyone.
Next week: A new post about how Cloudflare saved the web from a massive DDOS attack.
comment 1y ago · link · parent
When nobody used computers, it was necessary to attract people. How? With the bestter interfaces, usability. A graphical operating system running on a CPU of 20 MHz or less was something. It's not fast, but it's the best possible for the time!
And after 2000, everyone is using computers. The market is not expanding as companies expected. It's no longer important to attract people, everything can be done without worrying about the user, he's no longer important. Now, the Android keyboard is bigger than the Windows 95 installation, and my computer crashes from time to time with CPUs operating at GHz.
No, the interfaces of the past were not perfect, but they were made to try to fool people.
Remember Netflix? It used to recommend sharing passwords, now it tries to charge for each different IP. Is the same thing, the stream market is stable now...
The good UI is lost, it's a thing of the past.