skysight-inc/HackerNews huggingface dataset:
> I mean, how fucking dumb do you need to be to look at a lava flow and cut a road or train track through it? Do they not realize that lava means "run"? Build infrastructure elsewhere.

Right, and nobody should build cities on rivers or coasts, because rivers flood[1] and coasts get hurricanes that cause floods, nobody should build anything in valleys[1], because they flood, nobody should ever build anything in mountains, because they get avalanches and mudslides[1], nobody should build anything on the Ring of Fire, because earthquakes, and the midwest should be uninhabited because tornadoes.

If someone built a two-lane road that cuts through an old lava flow, maybe those people aren't the idiots. Maybe they've done the math, and determined that the cost of going around it is going to be greater than the risk of eruption * cost of dealing with the consequences.

[1] Stupid Canadians[2], building a highway through a valley, and some mountains. If only someone with some common sense would have come in and told them that this was a bad idea! https://en.wikipedia.org/wiki/November_2021_Pacific_Northwes...

[2] Now they don't have a highway! https://www.nanaimobulletin.com/news/aerial-video-of-coquiha...
Biden plans new effort to retain international science and tech students
An OpenSea bug let attackers snatch Apes from owners at six-figure discounts
Thanks. I'm going to have to notify a lot of people.
I've noticed the same behavior with the recommendation engine from Reddit and Instagram as well. While they don't totally block providing feedback on recommended posts that I'm actually not interested in, the UI flow to submit the feedback is difficult/confusing enough that I've just stopped doing it altogether.
Could this be because retraining whatever model that they've built is difficult/expensive with new feedback?
The syntax seems similar to Apache Pig. Both are declarative and primarily built to be a procedural form of SQL.
TypeScript is more verbose than JavaScript. While I love to use TypeScript I don't think I'd categorize it as prettier than JavaScript. And practical... well if you mean it is more maintainable then yes but if you mean faster to write then no.

I don't want a more verbose SQL I want a less verbose SQL!
First, kudos because it takes courage to take on SQL in this way.

Second, this kind of reversed SQL (filter-first, select-last) is much easier to reason about than the original and keep in mind that I prefer to code complex queries in SQL than to build or translate them in the ORM of the project I'm working on.

Maybe a transpiler is an inevitable first step but I think that any SQL replacement should be itself the target of ORMs and run directly in the database CLI tools (psql / mysql ...) or IDEs (pgAdmin, MySQLAdmin, ...). What's the long term plan of the project?
Going after whistleblowers is one of those things, I guess.
Dow Drops 1,000 Points
Migrate to Linux or MacOS, though MacOS has increasingly attained more dark patterns such as those you describe..

You'll instantly get after moving:

- No bitrot (it is there but like 5% of what it is in Windows)
- No licensing crap
- Sane file system (that can actually handle node_modules)
- Unix environment (better for developing)
I have family in a very rural area, we drive one-way 500+ miles, ~9 hours, several times a year to see them. In my ICE SUV I have to stop twice for gas assuming I start with a full tank.

Trying to do that trip in an electric vehicle, in order to account for charging stations, would add 4 stops and around 2 hours for charging. Tesla's trips webpage also estimates that I'd save...$13 in fuel compared to gas.

The cars are more expensive, the number of required stopping locations is increased while severely restricted, and overall I don't save much money charging compared to buying gasoline. Overall it doesn't add up, and I think a lot of Americans see it this way as well.

In the US the automobile has historically been marketed and used as a tool of freedom, independence, mobility, etc. It's hard to market something as a provider of mobility when in my mind I see an orange extension cord tethering it to the cities and metro areas.
There was this professor of language who would say "Do you think the question ('are carpets furniture?') tells you something about the ambiguity of the word carpet, or do you think it tells you something about the ambiguity in the world?"

Similarly, I think joins are "tough" not because of the way SQL expresses them but because the logical possibilities of merging data from multiple tables are varied.
BLM, Thomson Reuters, and the Price of Dissent
Oh right, I forgot it's a purely Free Software distro.
IRL Starbucks DoS Attack
That is because you don't actually own NFTs, just a token pointing to a location where the NFT is stored (which can be removed/moved).

Check out: https://youtu.be/YQ_xWvX1n9g for a fantastic discussion of NFTs/cryptocurrency etc (it is long ~2 hours but very interesting)
I don’t understand. Literally all of Hawaii is built on top of lava flows. Are Hawaiians dumb idiots for building roads and other infrastructure on top of lava flows?
He’s not trying to negotiate a support contract. It’s a polite “fuck off”.
I miss my cubicle. It was WONDERFUL. They switched me to a hot desk and it was horrendous until I could switch to remote work. I can't imagine how great it is to have an office with a little guest area or something.
Your identity is shaped by your words
I feel the conflict between the good and bad here is interesting.

First, it has to be acknowledged that the reason everything can be installed to separate directories is a modern luxury. Hard drive space used to be much more constrained.

Second, everything being installed to a unique location is why everything has to be rebuilt. And gets into the fun that you can't update just part.

The problem, then, is we never converged to foundational level software. That is, if we agreed that bash was a foundation of the system, there would just be the one. And you wouldn't get an odd web of versions of it linked everywhere. All code would just use bash.

I'm assuming there has to be some level of this in the package management. That some software is foundational to the system, while some is convenience shared code for applications?
SoftBank invest in an open source based RPA platform for tech teams
I've been thinking about this a lot lately, and my current view of the world is that inheritance as a way of implementing code reuse leads to poor mental models and practices.

A better approach is probably to implement the code reuse model as an implementation of a public interface, which the subclass then implements and delegates. The cause of the brittle base class problem is likely that the interface between the base class and the subclasses is often not defined very well so it tends to not get engineered very well, and then external code can depend upon the implementation of the base class creating the brittleness.

So instead of having Banana and Orange that inhert from Fruit and having a container like a List<Fruit> if you use composition instead you get Banana and Orange that implement IFruit through delegating to Fruit and your containers are List<IFruit>'s now (you can't see the details of how Banana and Orange implement IFruit they just promise to implement it). You are now free to create FruitV2 which is a snazzy new implementation of IFruit, and you can inject it into Banana and Orange without breaking anyone who depends upon IFruit. It also becomes more apparent when you are making breaking changes because you wind up editing IFruit. You can also use DI or a DI Container (if you must) to control injection of behavior into objects.

And really inheritance is just delegation to another class dressed up and made simple to use. It is the exposure of that base class publicly and without good interface design that makes it bad.

Implicit in what I just wrong there though is that encapsulation is a very good thing and you should only depend on interfaces. I don't know why the author argues that encapsulation is bad. I've lived in the ruby land for 10 years with no encapsulation and in the long run it is literally fucking horrible since anything can have been accessed by some user somewhere with tools like `send()` and any change can potentially be breaking, and users will whine about SemVer even though you certainly never documented what they were doing and would have yelled loudly at them for attempting it if you'd ever known. Fences and neighbors and the tragedy of the commons and all that....
I honed on this as well. I can't speak much to running FreeBSD as a server, but can say that using it as a router is not a great experience compared to Linux. I can't even get the latest ECMP (ROUTE_MPATH) feature working with FRR (or even by hand).
Also, for any FOSS author who gets one or more of these inquiries don't laugh it off or write blog posts mocking the sender. Take it as the business opportunity it is and send a professional response indicating your willingness to help them navigate through this, at least as it relates to your bit of code, for customers with paid support plans. You want money, they have money and you can trivially provide them something at least some of them are willing to pay up for with a potential opportunity for a non-trivial longer term relationship.

This is the best kind of sales call: they are coming to you.
Glad someone found them useful :)
Also worth looking at KQL: https://docs.microsoft.com/en-us/azure/data-explorer/kusto/q...
I have, starting about four years ago after 20 years in pure software. More it was realizing new interests than feeling burned out, but looking back, I felt stagnated by where I was in pure programming.

I got an interest what I'll call "human scale" electronics after getting and learning how to restore a 1985 VW van. That led to getting into the dash electronics, with through-hole LEDs, resistors, and the like, and me remembering playing with these things in childhood electronics kits.

From there, I started getting into microcontroller learning kits from Sparkfun, then something clicked about Raspberry Pi computers when I realized the GPIO pin bank could control lights, sensors, and sound, while building in software in the Linux environment I knew.

Once I started building custom electronics, I got an interest in enclosures for custom builds and then into 3D printing.

From 3D printing, I wanted to learn more about CAD (FreeCAD, OpenSCAD, Fusion 360, Shapr3D), mesh design & 3D modeling in Blender.

Today I'm doing a combination of microcontroller project consulting (where a solid C/C++ background helps tremendously), 3D modeling and prototyping, and working on a personal physical product for which I am writing the whole software stack.

Personally I feel that coming to hardware with a strong software background helps in code/firmware organization, thinking about flexibility, and fast prototyping.
Very good critique but from beginner perspective. Even back in the pre-Java days Uncle Bob and Scott Meyers taught us how to deal with these issues to some degree.

The other thing most OO practitioners quickly realize: real world things often don't make good object hierarchies or even classes.

OO has not delivered on its promise to partition large scale problem domains effectively, especially for statically typed languages, but maybe in the age of webapps and microservices it doesn't matter as much. The problems we struggled with in the 90s are not as relevant today.
> for performance-oriented code, the original example, where the argument is stack-allocated in the caller, passed by reference, and used based on the return value, has benefits that can't be replicated in the std::optional<> version.

Can you go into detail? What are the benefits that can't be replicated?

If anything, the std::optional version seems better, since we can avoid an invocation of the SomeType constructor. Otherwise, everything is the same - everything's allocated on the stack, there is no dynamic allocation.

> If an optional<T> contains a value, the value is guaranteed to be allocated as part of the optional object footprint, i.e. no dynamic memory allocation ever takes place. Thus, an optional object models an object, not a pointer, even though operator*() and operator->() are defined.

That's from here: https://en.cppreference.com/w/cpp/utility/optional

Since C++17, RVO is required by the standard too:

> Return value optimization is mandatory and no longer considered as copy elision; see above.

From here: https://en.cppreference.com/w/cpp/language/copy_elision

I admit I'm not really a C++ expert, so maybe I'm missing something.
Photonic processor is coming out this year, claiming to be up to 10x faster than nvidia A100 in BERT and using 90% less energy - https://lightmatter.co/products/envise/
Anyone who has hired Univ of Auckland STEM grads have an opinion? Is the country’s educational output more liberal arts than STEM?
I'm assuming you meant to write ableist, in which case, how is the above comment ableist?
Sounds like perhaps you can use your software career to fund your machining hobby.
Ya I think you're right, and so we're leaning towards the reimbursement approach.

Thanks :)
Well, for what it's worth, "Battle Cry of Freedom" is only the sixth volume in the Oxford History of the United States. The following volume, "The Republic for Which It Stands" by Richard White, covers the 30-year period following the war.
Twitter could take NFTs mainstream
> Is that what you want?

No, but I don't expect that to be my only option. I'm suggesting a good faith effort by all to generally reduce infectious transmission. The reality now is that a vaccine gives license to spread.
That's correct, but it should be noted that Lira's drop is solely caused by the government's mismanagement.
> Cars would be more expensive, and, presumably heavier and do more damage to the roads.

Not with better batteries. Until there are better batteries, use swappable batteries.

Or you could always go fuel cell. They do well for long range driving, even in the cold:

https://electrek.co/2022/01/03/hyundai-nexo-sets-hydrogen-en...
Maybe because you've never had the ability to use such timing requirements. Having more advanced tools available also makes you think more in them. If you only ever used cron, there has been no reason to think about a service running every hour or immediately if it missed the schedule. Because the only tools are every hour and on reboot. And no option to make "every hour" mean "between script invocations" instead of "on the hour of the schedule".
> And then you have idiots that build train tracks and highways right through lava

I was disappointed to see no active lava flows in your linked image. What you show is simply a road and train tracks built on top of rocks.
Does it flag comments for copyright infringement?

What if I comment on some file with some copyrighted content in the text, just implying something about that IP, with the copyrighted text in my comment? How can this be infringement?
I fear you will soon learn that nation is not capitalized and strictly speaking refers to a group of people, not a geographical region.
What they really need to crack down on is these abusive user agreements. Almost nobody ever reads these things, they just check the box because the form won't let them sign up otherwise. The few who read probably won't understand the full implications of what they are agreeing to.
I had to complete a captcha before Cloudflare would let me go to archive.is.
I don't know about that.

Google was fined 150 million EUR for not having a simple "refuse all" button in their consent nag. A single button. The complaint was that refusing is not as easy as accepting all cookies.

150M EUR is relatively small compared to Google's wealth, but so is the infraction. And they can't just write it off as a cost of doing business and continue the violation, because they were given a deadline to fix it and from there on a penalty of 100k EUR per day. Actually I don't have the data to do the maths but I seriously doubt Google's practice of making of you click a few times instead of once can make them 100k EUR per day in profit. And if it did, I'm sure the authorities would eventually increase the fine.

Assuming the fine results in compliance, it really doesn't look like a joke to me.
It's especially bad because of the profit motive and needlessly doing it so young before consent can be given IMO. I can't accuse people in this position of not being sufficiently trusting.
My understanding is it's smaller even than Pinatubo, which happened in living memory, and significantly smaller than Krakatoa.
The estimate is about 20x smaller
> There can be at most one new successful dating site every year, which the 30B$ match group can buy out for 300M$.

Then why aren't they asking for more money? Match Group to maintain their $30B enterprise has to buy you out or you by being a non-ruined dating site will destroy their entire company by out-competing them. That should be worth substantially more than 1% of the company. (It also seems to be that it is; Tinder got $3B.)

Match Group owns more than 45 subsidiaries. Obviously the size of the network necessary to be viable would support more than one other challenger. But if there were 15 each of size similar to their own subsidiaries, they'd still have to buy all of them or whichever ones they didn't buy would continue to eat their market share by being non-ruined, and then have to be bought for a higher price later.
I am a small business owners. I pay for google one so that all my files are backed up and sync across devices. I also pay for backblaze to backup all my files (Just in the case google screws me).

Is there an alternative for encrypted backup & sync between different computers?
Tomatoes that were ordered on terms where they’re paid for well after they’re delivered, with a long-running relationship with the vendor. If you went from ordering a few tomatoes to ordering entire lorries full of them, you bet the vendor’s going to check you’re good to pay for them.

Troy Hunt didn’t sneak into an Azure DC and install some hardware any more than this hypothetical restaurateur filled a truck at the local fruit market.
These stories almost always boil down to this fundamental conflict of what you want for a personal project vs a business. (though in this case yes, Troy Hunt's HIBP is larger than a lot of startup businesses)

In a business setting, you want your service to stay up, at the cost of spike in costs if accidents or mistakes happen.

In a personal project, you want there to be hard limit on cost, and your service to go down if spikes call for it. (I'm relatively sure that no one wants their personal projects to incur a bill of thousands of dollars by accident.)
Is this going to make our weather measurably colder for the next year?
Not - as an abstract concept, but perhaps "a method and apparatus for subtracting numbers"
Pompeii was a Pyroclastic flow not lava.
Large parts of the foundation of Unix are absolutely, obviously outdated, starting from filesystems. There is nothing better yet for big chunks of Unix, but systemd (despite all its flaws) is a notable exception.
Object-oriented concepts are everywhere, even in software products like the Linux kernel, that don't use an object-oriented language. I'd go so far as to argue that 99.999% of all software is object-oriented (and I'm probably missing a few nines).

But you're just saying that's merely popular and not successful? That seems extremely flippant.
I wish this was available for Sway. Could be great for old laptops.
From the article: "The email comes from a fortune-500 multi-billion dollar company that apparently might be using a product that contains my code, or maybe they have customers who do. Who knows?"

The "or maybe they have customers who do" makes me think that this company must provide services to other companies, so probably not a Mcdonald's or Albertson's or something like that.
It's not like all those jobs have been taken over by automation - someone still has to take care of these cloud servers ?
Ho that's bad. I really didn't knew. I sent a message to DevGenius on twitter and they took the article down.

Thank you for letting me know, and apologize for sharing it
In my case it takes a week of complete abstinence from sugars. After a week the sweet cravings stop, and it feels liberating. Funny thing is, the cravings come back after a few days of eating sugars daily. We have a built-in addiction to easy calories.
> Right, and nobody should build cities on rivers or coasts,

Many ancient civilizations knew not to build on coasts. Beijing, Xi'an, Cairo, Rome, Paris, Mexico City, Madrid, London, Moscow, Kyoto, most of these cities of critical governmental and strategic importance were not built on coasts for very good reasons.

And then you have some modern hipsters after the 17th century who decided not to take a history lesson and started to build NYC, Shanghai, LA, Tokyo, Shenzhen, Singapore, Washington DC, and other cities on the coasts. Note that none of these cities have much history to them, for a reason. Not a good plan. Humans are pretty dumb.
While we use Apple's MDM with the device IDs pre-enrolled, we don't do much more than that.

But yeah like I said with the other person who replied we're thinking of taking the reimbursement approach.

Cheers and thanks :)
Adding this to my list as well, interested to read some of Foner’s work.

I already had Black Reconstruction in America 1860-1880 by W.E.B. Du Bois on my to-read list, if anyone has read either/both I’d be interested to hear a comparison.
I don't see how any of that is relevant. Bitcoin has failed as a currency because owners are hoarding instead of spending. But the fundamental elements of all crypto, namely anonymous transactions over decentralized Blockchain, is the only element that is giving regulators heartburn.
The gov had no trouble banning certain cryptographic algorithms used for encryption. They did this by classifying the algos as weapons. So I'd say it can be done.
The standard reply by most people is:

OOP is just a tool within a toolbox. You need to know how to use that tool.

I'm tired of reading this cookie cutter opinion. Can we go deeper?

I want to discuss why someone like linus hates C++. The extremities of these opinions are what's worth discussing here because we all can easily get behind the whole "Apples and Oranges" argument. The extreme arguments are the ones that are harder and more interesting. It takes more depth and understanding to develop an opinion beyond the cookie cutter one we see everywhere.

Do you love OOP and think it's better than FP and Procedural programming? Or vice versa? I want to hear your opinion.
It didn’t come from IT/engineering. This is legal/compliance.