skysight-inc/HackerNews huggingface dataset:
A problem with this kind of debate is that e.g. in their case the author is using quite a good OOP language which is hardly used by anyone.

Naturally if I criticize OOP it will be what is a currently used, not what might have been.

Also it is uncharitable. If you have experienced problems with OOP, then you know exactly what Armstrong is talking about.

And ironically many have said that Erlang is perhaps the most OOP oriented language if you follow the original idea of Alan Kay which was centered around message passing.

The OOP that dominates today originates with Simula and is part of another OO tradition.
Where would one keep the source code then - if not locally?
Sorry, but what prevents a different approach on each platform?

It's fairly common to ship Windows applications with bundled DLLs but to link to more system libraries on Linux platforms, for instance.
Not quite. The computer you're referring to has one state before an event, and another state afterwards.

Modeling those as two distinct, immutable states provides enormous benefits over modeling it as a single state that "mutates". Doing this eliminates a large class of serious bugs.

The reason for these benefits is that far from trying to "escape the reality that the known universe and everything that happens within it is stateful," functional programming uses a more rigorous model of state that better reflects the relationships between states over time.
160 km of protection against 2m. High waves to build something on unstable soil isn't exactly the same thing as this, is it.

They need some construction which they can add water faster than it escapes the container, to raise the water level.

If stacked water based cofferdams would be a solution ( idk depending on these requirements, current, ..), it could be done quickly if they have the bags ( multiple teams, multiple locations to start and filling the coffers with water as soon as possible). The budget to fix this fast is probably pretty high. A lot would depend on how much they need to raise the water for the pressure, so it wouldn't collapse. ( Fyi, i do think water based coffers would collapse, but perhaps sand ones can be placed in top on it for 1 meter).

Palm islands needed a construction that holds multiple years and isn't the same as the issue in the Suez canal.

Tu be honest, I'm just thinkering about the variables that could make this work, instead of dismissing it immediately.
Funniest is that nowadays card payments are likely cheaper to process for merchants than cash - if you account properly for all costs. So credit card companies should start lobbying to allow different pricing based on payment methods.
> nobody is persecuted at all in England

I think you need to get caught up on your current affairs reading.

London is a cesspool, as reported by local politicians.
Did we read the same comment? They all look like useful features which deal with the complexity of things external to Uber (like regional payment regulations).
These discussions tend to boil down to OOP vs FP. That's a false dichotomy. The alternative to OOP is not FP, it's pre-OOP imperative programming with various techniques a la carte.

Should data and functions be together? That's a choice you can make on a case-by-case basis. It makes total sense that a HashMap has an insert() method. On the other hand, maybe your Player object is just some data which is interpreted by a PhysicsSystem and MovementSystem etc. Maybe it's clearer that all the physics calculations are in a common PhysicsSystem rather than being spread out into several implementing classes.

Should you use a switch-statement or a polymorphic interface? If you're traversing a graph with a fixed set of nodes, or you need to change all systems when new nodes arrives, the (exhaustive) switch may be preferable. I'd certainly prefer it to the visitor pattern.

If you can extract a calculation into a pure function, then that's great. If you're doing something inherently stateful, FP techniques are probably not too great. Maybe you can afford a high-level functional interface, but keep the implementation stateful.

The problem with OOP, FP, etc. is not that the techniqures are BAD, it's that all techniques are trade-offs. We're very good at talking about the advantages of some technique, but seem always forget the costs associated with it.
aaaaahhhhhhhh the GOOOOD OLD TIMES!!!

how i miss them!!!

No cellphones, no internet...

Hey Hey 16K

https://www.youtube.com/watch?v=-d8UfQn3BEg
My late uncle was born with down syndrome in the '40s. I saw a letter written by the doctors after he was born saying that he was a "mongolian idiot" (apparently a common term back then) and suggesting he be institutionalized.

In some ways it feels like we as a society have positively progressed since then, but reading about how down syndrome is commonly dealt with today makes me doubt.
> As developers, we need to be better at handling edge cases like out of disk space, out of memory, pegged bandwidth and pegged CPU

In what situation though? Let's consider disk space. This certainly does not apply to all developers or all programs. Making your program understand the fact that the system has no space left does not seem like something that would be very productive in the vast majority of cases. Like running out of memory, it is not something the program can recover from all by itself unless it knows it created temporary files somewhere that it could go and delete. If that scenario does in fact apply to your program, then it's not even an edge case: the program should be deleting temporary files if it doesn't need them anymore. If the P3 was created to add support for that exact function, then I agree that it should be acted upon. A P3 is fine as long as it's reached. If you don't reach your P3s ever, then there are different issues that need addressing. I'd even say for something littering users' disks it should be higher than a P3, but the point is it's a specific case where it makes sense to handle that error. In every other case, your best bet is a _generic_ exception handler for write operations that will catch any failure and inform the user (e.g. "[Errno 28] No space left on device"), but that's something that should already be a habit.

There are cases when you want to try to avoid running out of disk space because your program might know that it needs to consume a lot of it (e.g. installers) so it will be checked preemptively. Even then you probably do want to try to handle running out of disk space (e.g. in the unfortunate event that something else consumed the rest of your disk _after_ you preemptively calculated how much was required) so you can attempt a rollback and inform the user to try again.

Other than that, when else is that _specific_ error more important than knowing that the data just couldn't be written in general? Let's say you have a camera app that tries to save an image. Surely you'd have a generic exception handler for not being able to save the image, rather than a specific handler for "out of space", which seems oddly specific considering there are literally hundreds of specific errnos you could be encountering that would prohibit you from writing. I'm sure the user doesn't want to see something like "Looks like you're out of disk space. Do you want to try save this image in lower quality instead?"

So my point in all of this is I agree that we should _consider_ the impact of disk space but it doesn't need to be prioritized by developers unless it's actually important like in the first few examples I gave.
I find OO can wind up in a complex mess. If I have to look into 4 levels of inheritance I'm very lost. Encapsulation is great if your encapsulated black boxes function as they should. However that is often not the case, or at least you need to dig into that black box to understand the system.

Mixing data structures and models is something I find difficult. It can be hard to follow the logic of a simple function if it draws on several functions hidden inside an object. They same can be true of function composition, but many functional approaches allow you to pipe data through a series of transforms. This is hard to do when the objects have logic hidden within them.
There was one more reason: Uber debuted in NYC. NYC has a limited number of taxi medallions and therefore a limited number of taxis which is a problem because demand outpaced supply. Uber provided additional drivers/vehicles. Also initially it paid better while taxi medallions were no longer owned by the drivers but rather by what amounted to wage-slave owners. As a result some people felt it was better to support this nee gig economy as it put more money into the pockets of drivers. Oh and did I mention it was slightly cheaper than equivalent yellow cab rides because it was VC subsidized? Turns out when you sell dollar bills for 90 cents you can get loads of customers.
'No Way To Prevent This,' Says Only Nation Where This Regularly Happens

https://en.m.wikipedia.org/wiki/%27No_Way_To_Prevent_This,%2...
IT could be argued that a boat is just a generic term for 'watercraft' everything from a seadoo to a container vessel.

And a ship is a subclass of boat.
If you can get 10% of the weight down in a week, that is still better than not having the 10% gone. If you can do the helicopter offloading without blocking any other progress, then why not do it immediately?
It's obvious that the largest social networks were used in coordination of the Capitol Riot. But it's one of those truths that can't be spoken aloud. Because it breaks the narrative of so many platforms banning Parler. It's almost like there's a hierarchy of truths and reporting and arguing has to weigh the importance of each in the hierarchy.
Hey Hey 16K – Remembering an Hymn to ZX Spectrum
> companies will then use your site for lead generation but encourage people to book directly

Of course. That would be the whole point. In that case the OTAs would need to start figuring out how to actually produce value to both end customers and hotels instead of just rent seeking.
I would go the other way and say it's more accurate to call it the London government ;)

Although I was being deliberately over the top in my original comment, it wouldn't have hurt to add something tasteful to the note to symbolise the injustice and struggle he (and many) faced, and the direction of progress since then. Instead we get the palatable war hero parts only.

And to clarify what I meant by 'disgrace': Erasmus is gone because of Brexit, and to wash the fiasco clean they're using Turing's name to market its replacement. I don't know what else you can call that other than shameless.
> If FPGAs were so good as processors, everybody would run them. FPGA are used to demo processors but then they end up in silicon because of integration, cost and power consumption.

You're right, but that's precisely what they are doing. They offer a processor emulation platform (on FPGA) for customers who would like to develop their application before the chip release.
It doesn't seem to me that they are claiming the FPGA-based platform runs at 4GHz and beats all CPUs and GPUs, they are claiming that the chip they will be releasing soon will.

That said, it's a CPU based on a VLIW architecture (like Itanium). And this architecture is not known to be efficient for general purpose applications.
It's like they want white racists to actually have a point.
You need to take another look at how the EU makes laws, and who gets to propose them, and who they talk to.

It's less blatant, but just as pernicious.
This is self conflicting. You take "human selfishness is the deepest of truths" as a mere assumption, then you say "we need to transcend our base natures".

Human selfishness IS nature. It is not just about humans either, all evolution is guided by environment (resource availability).

For anything else you need ALL people to NOT be selfish, only some being altruistic does not cut it. Your only other option is to punish selfishness, but then you will ban progress.

If most people don't create the balloon.txt file, BUT, there is no punishment for creating one, then if I believe I have a good idea and that I DESERVE more resources to pursue it, I'll create a nice big balloon.txt file. Your only option is to punish me for doing so. I would not want to live in a world where people are punished for trying to gather resources to make things that most other people won't. Some people have bright ideas, and they need resources to pursue them. Most people don't have many ideas and they don't want to do anything. If you prevent the means of passionate people to gather big resources to do big things, and want to live in a zero entropy world where everything is equal (made sure through the use of force / punishment, which will eventually be corrupt, because by definition punishers can't be equals to others) and nothing moves because of it, keep dreaming. It is not even scary because that literally cannot happen.
Mubadala Says It Brought RDIF into Telegram Bond Stake
It could be because Jobs did get a job at Atari pretending that Woze'es work was his (or at the least not correct Atari's assumption)

Also, Jobs lied to Woz, pocketing most of the money he made from Woz work optimizing a circuit board.
try yew https://yew.rs/docs/en/
And then some other ship would get stuck while turning?
The commenter is not saying literal taxi dispatch is complicated. But that's an extremely reductive view of what Uber is.

Their actual point is 1) that it's a complex problem to make it a programmatic market which functions nationally (even internationally) and 2) that such a product will naturally have a feature and convenience advantage over regional-specific, capital-constrained alternatives.
I am working for a company that does not build tech, so I am not in the companies business line. My boss is not technical, I am the most technical employee. We have contractors who maintain the network. I manage the contractors and a couple of employees. I do not write SW. I write proposals, go to meetings, explain why buying some shiny object will not improve the work environment.

What I love is SW development. I love creating algorithms, either by myself or part of a group. I love debugging code.

So why did I take the current job? My boss was leaving, he was technical, they were looking at hiring a non tech as a replacement, or moving me into the role. I realized if they hired someone else, they would not do anything but ask me when will it be done.

So when I say I want to go back to development, I want it with a boss who is at least semi technical. I want the company to produce something in the tech field. Also considering contracting. Ideal job would be going digital nomad. But for a variety of reasons, I cannot leave for at least a year, but optimally 18 months. Assuming the economy holds up.
Constexpr Dynamic Memory Allocation, C++20
I made a photography site https://www.focusct.co.uk for people to upload photos in competitions and such. It was supposed to help people during lock down and get them interested in photography but it's kind of died. I made it with Drupal and coppermine gallery. I can't decide if I want to kill it or redesign and make it better. Feed back is welcome.
> In the meantime Chrome added headless support and with command line or puppeteer you can do the same thing with a much newer and more secure engine.

Yep, this is the way to go now. Very simple API with puppeteer and everything looks the same as when viewing the page in a browser (save any @media print css).
I hope you had a printer hood! Those things were deafening!
I wonder how many years it'll take for someone to train a neural network to generate emojis for all possible modifiers, regardless of whether they're currently real combinations.
It is enough for one person to notice something strange about a program and it is really easy to fork/revert back to a version with only the needed functionality if source is available. Of course the given bad faith actor responsible for the mischief will be “punished” and will be banned from contribution.

With the apparent lack of both viruses and telemetry and the like in libre software even with the laughable default security of linux distros (your home containing basically everything free to read/modify for any user app), I would say that FOSS has quite a good track record in this metric. Nonetheless, a stronger security should be developed/strived for because it still boils down to a trust based system, but it makes me happy that the default of most people is to not cause harm.
In the UK, JustEat takes 30% of the order, same as UberEats, with 0 liability - if something goes wrong with the order, including problems with delivery time, driver taking a nibble, the restaurant just doesn't get paid. Deliveroo is a bit greedier and takes 35%.

It's definitely not the lack of competition... it's just that the competition doesn't behave much better compared to them.
I'm talking about Powershell startup, not Windows startup.
I think nobody argues that you can't travel from the past to the future ljke that light did.

It is the other direction that seems hard if not impossible.
Ask him anything: William Shatner's life story to live on through AI
Robots Learn to tie knots
I should clarify that I was being facetious about the idea of blatantly memorialising suicide.

> We simply don't have the power to right this wrong; we can only stay vigilant in the present day and honour the memory of Turing (and countless others) by preventing similar injustice now.

Quite agree, but has anything been done towards the latter? Every tribute to Turing I can think of has been about science and war, not justice.
> you see the same four or five topics come up repeatedly with nothing new or interesting said on them.

Thousands of humans are born every day, and by the time they get to be programmers they must have learned about all these topics. "Coming up repeatedly to them" is necessary for that. Education is one of most fundamental activities of mankind, and it is based on having the same discussions again, and again, and again. You are not supposed to participate on all these instances of the same discussion, but criticizing them for being repetitive is absurd. Most of the time there is really nothing new to say.
I liked wave a lot as well.
Awesome! I’ve been using a similar language for the last 10 years called Lucee (Lucee.io). It’s dynamic with an ecmascript style syntax and also runs on the jvm so it scales super well. I wonder how this compares.
SQLfuzz
When I did some overland traveling in Africa this was extremely common.

At the border crossing between Mauritania and Senegal there was a little "immigration" hut where you'd have to get your passport stamped. One very well dressed official in Ray-Bans just took people's passports and set them on a pile and they'd stay there for hours unless you'd slip in a bank note.

All he had to was stamp them, nothing else. Other travellers I was with refused to "take part in this corruption", I happily gave the guy a fee and was on my way. It's either that or standing around in the scorching sun for hours mobbed by begging locals.

At every checkpoint you'd have police / military with Kalashnikovs asking for a "petit cadeau" (little gift). At first they're very intimidating but after a while you realise they're totally harmless and will just let you pass if you just say "no sorry". Most are extremely bored and just happy to see you. In the Western Sahara they'd even invite us to some tea, teach us a few words of Arabic and one of them even asked "you, give me laptop?" Yeah sure buddy! Preloading one with a keylogger could be fun!

One guy traveling with us in a car told the story of when he first drove in Africa. In Senegal he got pulled over and police fined him 50$ cause he didn't have a danger triangle. The next year he got pulled over again and proudly showed them the triangle but he was fined 50$ again cause he didn't have 2x danger triangles. You don't know whether to laugh or cry. Good times.
"ship is stuck" alliterates better, and sounds more childlike, to me at least.

There is no end to that game though, so perhaps it's not worth playing. "buffaloed boat is beached"
know any good examples of fine grained access control in message passing systems? sounds compelling for a current project
I agree with you.

But I'm afraid we're in its dying days, at least as far as the original ideals of the web were concerned.

In our rush to make browsers more powerful application platforms rivaling operating systems themselves, we raised the bar so high that we ensured the web's destruction: by guaranteeing that it would eventually be effectively controlled by a single browser maker.

In practice, this was probably always going to be Google, but if it wasn't Google it would simply have been some other Google-sized player.
UAE and Israel are working together on an oil pipeline to bypass those high costs of the Suez Canal.

I recall it could reduce northbound oil tankers on the canal by something like 15%.
I hear you, but I think the situation back in 1860 was a bit different than now. We could probably move 30000 people from Cairo to Suez in less than a day, while back then it would have been a huge undertaking (I could be wrong, I'm not a historian). Same with preparation and everything else. Add in the novelty of the canal at the time of construction, compared to now when we have lots of experience (we as in humanity, not me).

> If that's the case, then waiting the 2-3 weeks it would take to dislodge the ship itself may make more economic sense.

Is it actually established that it's even possible to dislodge the ship in it's current state? As far as I've read, we don't really know how to even get the ship unstuck at this point. Some people are pointing to the ship being too heavy, so would need unloading first, but that'll take months.
Top Best Code editors in 2021
At the company I work for we used chrome headless paired with https://github.com/pagedjs/pagedjs to fill in the gaps and it works very very well.
Always wanted to use it but don't you just have to enable it on every site you visit anyway to make them function?
We use wkhtmltopdf and it works fine for us. But I would like better support for newer CSS.

I like the functionality from Chrome to use it headless, but my main problem with it is that text is not selectable in the rendered PDF. It seems to be an screencapture as image or something. Anyone has this working? Selectable text is really needed for generating PDF invoices.
> there is a limit on parallel requests (6 requests per domain)

This is only the case if you are using HTTP/1.1: https://stackoverflow.com/a/45583977/11383840
RMS lacks the self censorship and political intuition to not say what many think but know not to say. I disagree with him that " having a child with Down’s syndrome to having a pet." but that's because I've had experience with a neighbor with down syndrome. However, I know many people think that, they just are politically savvy enough not to say it.

It's unfortunate that in today's society, people condemn people like RMS who are not neurotypical for not behaving neurotypically and try to cancel him while at the same time, those same people claim to celebrate diversity.
In the same way that I find Mealpal infinitely more satisfying than any food delivery, I am over the moon about shopping for groceries online and picking them up in person.

The interaction with the business I am paying is valuable to me. I can - and do - give direct feedback about the service, which improves it.

And if I forgot something, I can also run into the store and grab it, COVID circumstances permitting.

The _same guy_ puts groceries in my car every time. A guy with a job that has health insurance. That matters.
ShangHai Taste Introduces New Soup Dumplings in Chinatown Vegas- Digital Journal