skysight-inc/HackerNews huggingface dataset:
"It’s also no secret that the average size of a website is huge, and it’s only going to get larger."

This attitude seems common, that websites are just going to be fat and get fatter. That's a lie.

Not if you, as a web developer, stop the bloat. The power is in your hands, you just need to use it.

No, you don't need that 8 MB hero image. No, you don't need that bloated framework. No, you don't need those 37 tracking libraries. No, you don't need a "Read More" button hiding most of the content. No, you don't need dynamically loaded clickbait at the bottom of the page. No, you don't need an autoplaying video. No, you don't need load a script to inject text into a copy operation. No, you don't need 87 cookies. No you don't need to load random unvetted code from a third party advertiser. No, you don't need the page text to fade in on scroll. No, you don't need any of that.

In case you forgot, https://idlewords.com/talks/website_obesity.htm
Oh yeah, these days I hope it’s common practice to use separate email addresses for separate prurposes for individuals too.

So yeah, domain owner is a tough one but shouldn’t really receive legitimate inbound contacts as long as you have some other contact method on the/a associated website. Personally I just black hole that one.
No, sorry. I meant in user polish. Squeak/pharo for me are a mess. The code browser has a variety of inconsistent and frankly just too many menu options. So it becomes not just live code experiment, it becomes a live user interface experiment at the same time. This kind of thing leads to “too many experiments/agendas at the same time” effect (for me).
The "Lake" is 400m by 600m - https://www.google.com/maps/place/Lake+Boehmer/@31.2231045,-... Near by "Lakes" / Seas are orders of magnitude larger.

There really needs to be an add on for morons to see their news stories on Google Maps (It's great they actually linked to Google Earth, unlike the normal gate-keeping media)

If it was the 50's we'd do something cool with it. But instead the future got unimagative bleating sheep, scared at every turn.
Yes, I would maintain my stance even in the face of death by thirst. Private property is private.

Thankfully we have massive amounts of people that give charitably so the real chances of dying of thirst are near zero.
Supporting the US over China’s regressive regime hardly requires jingoism.
Doesn't D+ include all of the shows from all of those networks except for FX and ABC?
I interpreted the author saying "thread-compatible" to mean "accessor beware". Surprisingly in some cases, in C++ it's unsafe for multiple threads to even call const member functions on the same object, for example when the const method modifies a `mutable` field. One way this could happen is when a "const" method lazily computes a value and stores it in a field.
Did you read the links I provided?

Also https://www.investopedia.com/articles/forex/042015/what-curr...
Most of this internal bookkeeping is at compile time, right?

Your average object that contains a bunch of mutable fields will, even in Rust, be expressed using a mutex. For instance, here's a very simple race-free program that transfers $20 to Alice from Bob and $30 from Bob to Alice: https://play.rust-lang.org/?version=stable&mode=debug&editio... It uses

struct Bank {
alice_balance: i32,
bob_balance: i32,
}

and keeps the bank inside a Mutex (or more specifically inside an Arc<Mutex<Bank>> to manage ownership across threads). This is a pretty straightforward pattern based on the Mutex docs: https://doc.rust-lang.org/std/sync/struct.Mutex.html

In this case, the individual threads that perform the transfer are not applying any additional overhead to alice_balance or bob_balance. Those are regular old int32_t variables in a regular old struct, same as C/C++. The only thing that's being prevented is that the compiler won't let me write a version of this program that doesn't have the Mutex. There's a lot of analysis going on inside the compiler to confirm this, but once the compiler is happy, there's no runtime overhead compared to the equivalent C/C++ program.

(So I don't think "you don't have to think of it" is really what's going on. You have to think of it. It's just that if you don't, your program won't compile.)

Now, you can write a version of the program that uses thread-safe data types for the balances directly, maybe something like this: https://play.rust-lang.org/?version=stable&mode=debug&editio...

struct Bank {
alice_balance: AtomicI32,
bob_balance: AtomicI32,
}

And it is true that there is now extra overhead in this version of the program, and the "advantage" is you could get rid of the mutex and it would still compile. But why would you write it this way? You know that you want the accesses to be transactional. You know you're going to want a mutex (or something) around the Bank. Why add the atomic types?

If Rust somehow used atomic integers by default (or something like a global interpreter lock) so you didn't have to think about it and code compiled whether or not you locked things properly, then yes, I'd agree. But it doesn't - it uses normal integers and things fail to compile.
Oh didn’t realize. I’ll leave the link in case anyone wants to read about it though.
Go is better at keeping values on the stack. Java has better throughput when collecting objects that escaped to the heap.

Java also tries to optimize out method dispatch, so we can use it freely where Go might tend to avoid it.
When I'm working on a website and need to do a DNS lookup for it, it's a pain in the neck to grab the URL from the bar. Copy/pasting it brings http://www plus all the rest of the URL. I just want the domain. This tool does it :)
Twitter compiles a list of your interests and won't let you opt out
Thank you to both of you for the humility shown in this discussion.
Any recommendations for a solid, representative crappy laptop? $100 xSomething Thinkpad off Ebay? Or is there something more representative of today.
There was a video on YouTube about these types of devices earlier this year.

https://www.youtube.com/watch?v=3BA5bw1EV5I
Whoa there. Setting aside the stagnation of Perl due to the v6 debacle (which, by the way, Python 3 came very close to succumbing to the same fate), CPAN is widely recognized as a very successful package system, and is frequently the envy of many other languages. DBI, the Net:: space, and many others just work, and the package names follow common sense.
My guess would be that it's people (like myself) being burnt by C++'s copy semantics, where you have to deliberately and consciously avoid making copies everywhere.
> The problem is the people we fought did everything they could to look like civilians.

The problem is that you volunteered to go abroad and kill foreigners for corporate interests.
Is any form of energy green? No form of energy comes without some environmental, health, or safety risks in their manufacture or operation.

I live in a country with decent further potential for hydroelectric power. It is much argued just how ecologically-friendly constructing more hydro to offset fossil fuels would be. Would wind or solar be better?

In principle, it's an interesting question. In practice, we know that all these forms are significantly less damaging than fossil fuels. (Some individually badly-sited installations, aside.) And we have terawatts and terawatts of fossil fuel power worldwide to replace. We need every carbon-neutral watt we can get right now.
So you’re saying the US should just look at ISIS and say “not our problem”?

Should the US have done that in WW2? Korea?
Thanks.

I am looking "user specific" by username

like
in 2021
Your top post
You up-voted N items
etc
Which is why emerging precision fermentation technologies for starches and proteins are very important so that land used for agriculture can be rewilded.
Also, let's have brands make the back stronger so they stop breaking? Some how the screen of my phone seems to be stronger than the back, which is shattered into a thousand pieces.
I was part of a human subject research study without my consent
And management never reads the code.
I just don't understand why we're all so afraid to make noise about the small grift. I have a neighbor who consistently causes environmental issues and is constantly complaining whenever anyone in the neighborhood actually... Lives. Parties in our backyards get the cops called, and I'm not talking about loud college parties; I'm talking about 50-somethings with wine and cheese. She's the campaign manager for some obnoxious local political entity. Nobody will even talk about it, we're all so cowed. I just don't get why we're afraid to talk about it. Even far away; I guess it's too easy to link back and retaliation is too easy and impactful.
"Because open-source projects are directed by their contributors, there is a risk of hijacking by interest groups whose view of the future is not aligned with yours."

So true, as many projects have found out to their detriment in the last couple of years. Mathematica would be a juicy target for unproductive SJWs to take over.
"Free by side effect"

This is an important thing idealists need to realize. If someone contributes their time to code for free then something else must be paying for that time. Think about it, if a software engineer contributes 100% his time to open source and gets ZERO income in return... well he's eventually going to starve to death. It's unsustainable...

At Some point in this equation the software engineer must be coding for money and mostly nobody pays money for open source code. So whatever this software engineer is coding for money... likely it's closed source.
> Hint: nobody uses "new" in C++ anymore

"nobody"

~/chromium (main)$ rg --stats -t cpp "[=\(][ ]*new "
...

17639 matches
17536 matched lines
7162 files contained matches
96561 files searched
1539692 bytes printed
763109193 bytes searched
1.119265 seconds spent searching
1.428974 seconds

That's surely a lot of non-usage. Maybe it's just Chrome, though?

~/llvm-project (main)$ rg --stats -t cpp "[=\(][ ]*new "
...
7447 matches
7394 matched lines
2245 files contained matches
35148 files searched
541938 bytes printed
385115019 bytes searched
0.425689 seconds spent searching
0.485431 seconds

Hmmmm.
Didn’t you see the stories last year about states like NJ scrambling to hire COBOL contractors to maintain legacy software?
This is why I'm completely disenchanted with tech companies. I've seen billion dollar companies fumble basic shit too many times due to infighting and too many cooks etc. Managers who prefer to destroy any good thing that's going on if it can't be observed by them and watermarked as their intiative. This in turn has made me less hopeful about government and human civilization in general. The progress we've made has been the work of a few, not the many
They will not make it since it will be more expensive, reasoning there's more materials on it. Selling accessories is more profitable.
It makes you write better code with a smaller local conceptual branching factor. You need to be able to keep the number of concepts required to comprehend a piece of code small enough to fit in working memory. This forces you to structure your code well, come up with better abstractions, etc. It's also more zen, faster (in terms of UI responsiveness), less prone to breaking, requires less maintenance and configuration, etc.

IDEs are generally terrible for code quality, (and for my personal happiness,) but they're also viral because if one person working on a codebase is using an IDE, then they're probably going to write code that forces everyone else to also use an IDE - e.g. because understanding the code practically requires jump-to-definition.
Challenges of Dating as a Sex Worker
Then the problem is that the Dead Sea is a misnomer.
Just see what's on offer at your local thrift shop.

I don't recommend garage sales, however. People tend to overvalue their electronics. I tried to buy a radio that was worth maybe $20 from some guy. He wouldn't part with it for less than $150 because it reminded him of his father. That's nice, but I'm not paying $130 for your memories.
Great for people who like Tom Clancy.
> Prof Erik Demaine of MIT ...

Coincidentally, was searching for David Huffman's Origami paper on origami and found Prof Demaine's paper: https://dspace.mit.edu/bitstream/handle/1721.1/86200/Demaine...
You didn't clarify what your existing stack/tooling is (other than it being based around a GC language), so it's kinda hard to give more detailed feedback. (In general, though, Rust tries its best to make GC-less development as productive as programming in ordinary GC languages, by generalizing the C++ 'RAII' pattern. Wrt. ecosystem concerns, Rust can interoperate with many existing languages though of course some will be harder than others, and interop with GC languages is quite challenging in general.)
I know you can design crease patterns with cuttle.xyz and import them into origamisimulator.org to watch them fold, although I haven't tried it personally. I can't imagine being able to do something as wildly complicated as the samurai though.

An example: https://twitter.com/CuttleXYZ/status/1468275963980963845
Bitfields are a construct that I use all the time in my work. If Rust chooses not to implement semantics for defining bit-level fields, then it's just harder for me to accomplish what I need to using Rust. Again, bitfields are something that Ada makes simple, and easy. Granted, I think Ada's syntax for this could be improved.

I don't see the relevance in pointing out that the C standard has problems related to bitfields. Rust is supposed to be an improvement upon C.
Try the shittiest laptop at Walmart. Like an HP stream.

Remember the low res 1366x768 screen.
The technical worker who codes up the web site and its backend does have a say, but not a lot of it. Product and sales people have a stronger say, because they optimize for the money the web site produces.

Explaining them how much worse the bloat makes the site's experience for the user, showing how many pages are left partially loaded because the user did not have the patience and navigated away, how the competitor's site loads faster, may help convince them to keep the experience reasonably slim.
I think this is an interesting question and I'm not sure why it was downvoted.

One argument here is that the whole mental model of Rust is that yes, most things can be solved with off-the-shelf synchronization methods. What the Rust type system gives you is a way for library authors to write those methods and say "Yes, this hashmap is actually a concurrent hashmap, safely usable from multiple threads" - and in turn for these types to compose, and to see if the data stored in the hashmap is itself thread-safe. Then the application author doesn't need to worry about any of this. As long as the code compiles (and the library authors weren't going out of their way to lie about types and make the Rust compiler ignore it), you know there are no thread-safety issues and you can just treat synchronization as a problem for someone else to solve. That's the ideal - just like the average application shouldn't have its own crypto implementation, it shouldn't have its own concurrency implementation.

A simple case where you need a concurrent hashmap (at least conceptually) is writing a multi-threaded web server or similar. When a thread wakes up, it gets told that there's data on some particular connection. It then needs to look up that connection in a table and manipulate the request object associated with that connection. Any thread could be woken up for any incoming traffic, so this table needs to be cross-thread. You could do one thread per connection, and arguably more people should, but people very often find that they hit scaling limit with that approach.

But yes, most of the time you should avoid shared mutable state. The Rust type system is designed around making it hard to accidentally have shared mutable state. Anecdotally, that feels like the most common cause of thread-safety issues - not people thinking up front about how they need to design their program around a concurrent hashmap.
Doubtful. After all, do other flus disappear?

No, they persist in the population, mutating all the while. They spread more when seasonable changes bring people together and when the weather conditions are more conducive to spread.

Covid is a rhinovirus, as are most common colds. From an infection standpoint, I think of Covid as a really bad version of a cold. Colds never go away, they just come back each year with new mutations.

https://en.wikipedia.org/wiki/Rhinovirus

The good news: maybe the upsurge of research on Covid will lead to vaccines for colds and other viruses.
I suspect this opinion will be unpopular, but I feel like this needs to be remembered- just a few months ago people were shitting all over the US military and the president for leaving Afghanistan. A bunch of people in this comment section are saying how horrible it is that these “systematic” failures could happen.

We can’t have it both ways. We can’t complain about civilian casualties and also say that the military should have continued to occupy Afghanistan. The US military are the best in the world but they aren’t perfect. If there is fighting in a place then people are going to die. There isn’t a system in the world with perfect precision and specificity.

So I guess what I’m trying to get at, is before you skewer some commander on the choices made in action or their findings in an investigation for scenarios that (statistically) more than 99% of us have no experience in, consider the alternative we have seen play out in the last few months. The Taliban took over at an astonishing pace. The Afghanistan Ministry of Women’s Affairs is now gone, and the Taliban Ministry of Vice and Virtue is back. The literal thought police are back in Afghanistan after the US military kept them at bay for 20 years. Those pilots and soldiers made mistakes, and it’s tragic for the families that lost a loved one. But just take a pause to consider the rest of the story and the alternative. And don’t say the alternative is a perfect utopia where bombs only get dropped on bad people.
Wow, thanks! I had no idea this type of thing was possible these days. I was about to ask how you'd make that hosts file but found this in my router admin panel: 'Remote Console enables SSH access into the router from a WAN connection using the modems WAN IP address.'

I do have a pihole set up and I like the web interface for it, but I look forward to playing around with this for fun.
For 120k San Diego Kids, Data Science Is the New Computer Science
I'm not sure how useful or monetizable this actually is for Twitter, looking at mine apparently I'm interested in EVERYTHING! https://twitter.com/settings/your_twitter_data/twitter_inter...

Lots of seeming duplicates and things I'm not remotely interested in as well.
There's one other oddity, where `let x: &mut T` allows mutating the target, while `let x: Box<T>` or `T` doesn't.

fn box_immut(x: Box<i32>) {
// illegal
*x += 1;
}

fn ref_immut(x: &mut i32) {
// legal
*x += 1;
}

IIRC under the current current Rust-to-LLVM compilation rules, &mut T is noalias (because it's exclusive), and &T is noalias or readonly or something (because all other &T are immutable) unless T contains an UnsafeCell. It actually took many years to get &mut T to be noalias without exposing LLVM bugs resulting in miscompiled Rust (which went undiscovered because Rust is the first LLVM language to use noalias so heavily).

And noalias and pointer aliasing is a huge mess, with crates like owning_ref and Tokio's intrusive linked lists and Pin<Box<T>> being unsound under the proposed Stacked Borrows rules. And I just found a LLVM codegen soundness issue: https://github.com/rust-lang/rust/issues/63787.
Rust is already an ugly language.

Having &shared plastered all over your code base would be ... suboptimal.

Not everything in a language needs to be 100% self descriptive.

I think the designers arrived at a good tradeoff.
this is all true, but consider a computing model that almost was:
https://en.wikipedia.org/wiki/Telescript_(programming_langua...

telescript was kinda of weird, but wildly ahead of its time. the idea was decentralized services and commercial activity, but centralizing computation due to power/energy efficiency.

it was like a inverse jvm born at the transition from arpanet->nsfnet->internet, which greatly deregulated commercial activity.

it was also born when mobile devices were almost tractible, though 14 years before the iphone.

it almost birth the idea of an app store, except "apps" would be decentralized services people send/recv.
> As a regular citizen without special legal training...

Living in a free society or not, you are fit to judge the rectitude of the law. To suggest otherwise implies a servile relationship of the citizen to the state. All manner of abominable laws have existed and been upheld under all forms of the US constitution. Qualified advocates argued against, and supreme court judges ruled against Dred Scott (7 - 2), for instance. As long as it has existed, the supreme court has been in a crisis of legitimacy, and upholding the appearance of legitimacy has been its prima causa.

What separates you and a fine judgement of what is just? Three years of sophistical "scholarship" and two summers of internships?
The old target was a 2008-2010 MacBook Pro, one with a Core 2 Duo CPU
There are a lot more incentives to find a car than a bike. The money involved is higher, social risks too (less road kills due to a crazy bike driver). There's also less institutions at play, no rich bike insurance companies. Also most bikes are untraceable unlike car with plate numbers. And logistically it's harder to hide a car somehow (still possible of course).

I agree institutions are absurd and don't care enough though.
This hasn’t been true for a while. The iPhone hit peak thinness a while ago and they have been getting thicker every year. The battery life on the latest iPhones is much better this year than last.

And on weight, I find the 13 pro to be ok but the 13 pro max was too much. So what they have now is the limit of what I want the weight to be.
After purchasing a one month subscription to Wolfram Language Desktop twice before, yesterday I paid for a one year subscription and decided to really explore the language, pre-trained models, and libraries.

The article didn’t come across well. They don’t need to justify being closed source.

What concerns me is that much of my hacking fun projects and also a lot of my work over the last 40 years has been in Common Lisp. I can take very old code that I have written and run it with several good open source systems and two fine closed source systems. I am sure the Wolfram company is not going anywhere, even if the founder is 60 (that is ten years younger than I am). But, if I were younger, could I be sure if being able to run my Wolfram Language code in 40 years? I don’t know.

The support for Wolfram Language is very good. I also pay much more that Wolfram for LispWorks Common Lisp (about $3500 to purchase and about another $600/year maintenance for support and upgrades). There is some pleasure in using well supported tools, and there is pleasure in using open source software. We get to decide individually what we want to use.
My stolen scooter (like a vespa) was only “recovered” after the police (or someone) found it totaled on the side of the road. The police then had it shipped to an impound lot. I had to pay the lot $400 for the courtesy of them storing it, and I told them I didn’t want my totaled scooter and they could send it to a salvage yard. My immediate impression was that the police officers were making money off this scenario.
Elevated Air Purifier Cubes
Nothing against Vimeo, but was Mux (https://mux.com - YCW16) also a consideration?