skysight-inc/HackerNews huggingface dataset:
But thinking about lifetimes and RAII is 90% of memory management.

Basically whether you write C, C++, or Rust, you have to track ownership the same ways, the only thing that changes is how much the compiler helps you with that. However, if you write your program in Java, Lisp or Haskell, you simply do not care about ownership for memory-only objects, and can structure your program significantly differently.

This can have significant impact on certain types of workflows, especially when it comes to shared objects. A well-known example is when implementing lock-free data structures based on compare-and-swap, where you need to free the old copy of the structure after a successful compare-and-swap; but, you can't free it since you don't know who may still be reading from it. Here is an in-depth write-up from Andrei Alexandrescu on the topic [0].

Note: I am using "object" here in the sense from C - basically any piece of data that was allocated.

[0] http://erdani.org/publications/cuj-2004-10.pdf
And it's impossible to buy an upgrade for just one component. If you want 16GB of RAM you better be ready to buy an i7. If you want a nice 4k display you better be ready to buy a totally maxed out machine.

Just being able to use my own NVMe disk in something like a Framework translates into savings for me because I don't need a huge disk in my laptop and can reuse one that's too small for my server or desktop.
Well the FBI has released reports about it
If a language goal is not to support language parsers, what good does it do if you write your parser in it? It certainly does not benefit from the extra focus the developers dogfooding the language will bring. On the other hand, there is a real chance that the dogfooding will be harmful and make the language lose focus.

If it's goals do not include a good systems interface, the same applies. And Javascript's goals don't include either.
It seems like a lot of JS developers are finding shelter in TypeScript and Rust. I think this is good news. TypeScript has an awesome type implementation on top of what we already know, and Rust obviously has huge performance benefits over JS. I'd not had much strongly-typed or compiled language experience before, but recently started using both simultaneously for a new project and it's really been a great learning experience and stepping stone. I chose Rust over the team's familiar C++ for deterministic and stochastic model simulations and now they loathe working on former projects. The transition to TypeScript for those of us who were primarily web developers was pretty seamless and the exposure certainly made understanding features of Rust, etc. a lot easier.

I don't really see any serious negatives in this move. If the likes of Rust and Go pull more web developers into the world of safer and more performant languages and systems, what's the issue?
poster is probably referring to this: https://images.idgesg.net/images/article/2019/11/16in-macboo...

The left, right, and down arrow keys all on one level, and the up arrow key alone above the down arrow key. Makes it easy to find the right key by touch alone.
Another weird thing: some programs like to capture key combinations that are used to input some diacritics. It is exceptionally bad when it’s a mouse driver, and even worse when it happens on your company laptop where you have no admin rights to remove it…
Because according to Apple vs Epic, Apple doesn't have a monopoly. We're shit out of luck.
I bought a Kindle in 2012 but I think I'm finally done with it. I don't have any problem with the device or the format, I'm just tired of all the typos in ebooks.

Yes, printed books have the occasional typo, but they seem much more prevalent in ebooks. I think there are just a lot of books out there for which the only electronic copy is an optical scan, and as good as OCR is, the process still introduces errors.

I feel ripped off when I come across a typo an ebook that's not in the printed version. It already feels like a stripped down version of the product—I'm only getting the text, not the material assets of a real life book—and now I discover it's an inferior version of the text to boot? No thanks.
It can become the opposite of sensible, very easily. I've had devs demand to use Kafka for storing 100mb+ blobs (which of course required a custom broker config + cluster)
The modular port is a universal port with dongles. Except that (1) it doesn't take extra space outside of your computer, (2) it is cheaper than mainstream dongles (Apple sells USB-C to HDMI for $70 while the Framework HDMI expansion is $20), and (3) it is fully open source and you can actually print/sell your own.
A dirty bomb is not the same as a nuclear bomb. It takes a nation state to build a proper nuke, but some random terrorists could cobble together a dirty bomb.
It depends on where you buy the book. Many stores will just send you a mobi or epub file so you can archive that yourself. If you buy through amazon, you are tied to that store unfortunately, but the situation is similar to games. It is very rare now to buy a game that is not part of some account.
It's reasonably priced pretty decent eink reader.
It's not just start ups who are struggling.
> Do a lot of people take out loans they never use?

Many business may have them. As I mentioned, HELOCs are a thing as well.

Neither may be used to the absolute limit, but only on an as-needed basis.
why would someone assume that is the superior mode of operation for every human neuro-type?
Is Deno trying to solve these problems (Linting, Formatting, Polyfilling and bundling)?

I was under the impression that Deno was a node-like runtime using Rust bindings to libuv instead of C++.
Author is avoiding acknowledging that a) policy makers are well aware of immunity from infection. b) they are smarter than him which is why he's a journalist generating SEO garbage and they make polices.
Now I'm just curious what the total value of their real estate holdings really is. A history of how that value fluctuated recently would also be interesting. I guess this information is hidden somewhere in Alphabet's quarterly earnings reports but I'm afraid I wouldn't know where exactly to look (or what to look for).
The Sirlin article, for the curious: https://www.sirlin.net/articles/playing-to-win
Yes, I'm very lucky and grateful for that!
I would argue that a USB-C to VGA or HDMI cable is just a longer dongle. What if you take your USB-C-only laptop to a remote office to do a presentation, but your six foot USB-C to HDMI cable isn't long enough to reach the port because the projector is mounted in the ceiling and has a standard HDMI cable routed to the lectern? I'd much rather have the Framework with a HDMI port on the device than struggle with a common situation like that.
Most RAM comes with a "lifetime" warranty. IMO if the soldered RAM is so great, they should give me a lifetime guarantee they'll replace the MB if the soldered RAM fails. Then I'd be ok with it.
I think this misses the mark on the fact that we now have an aging population in the USA, and an aging population has different needs when it comes to raising families that the urban lifestyle simply hasn't evolved fast enough to support. Urban areas in the USA like NYC are still the playground of the young and unattached. I think European and Asian cities have done a much better job at this.

With two kids aged 10 and 12, I need access to a sports park for practices and games. I need space to park a car and roads wide enough to support them because I have a lot of things to haul. I need good public schools that don't break the bank to provide my kids the support and community they need.

Everything smooth and convenient about living as a single person in an urban area quickly turns into living life on Hard Mode for families. As our working adult population ages, cities need to evolve to meet these needs, or expect people to move out as they outgrow the lifestyle.

I'm sure there are folks who live in places like SF with families and ride around in heavy urban traffic with 2 kids on an electric cargo bike, but that's just not for many of us. We're happier and way more stress free in the suburbs or even in the rural areas working remotely.
I've lived in NYC, SF, Boston, and now the country side.

Each have their pros and cons, just like anything in life.

For one, in NYC I liked being able to walk everywhere and not owning a car.
It's not like meat was always cheap, it probably does more harm than good from a public health standpoint. In countries without subsidized steak people just have a different diet, use the meat for flavor, not calories.
E-readers can easily be converted into Crypto wallets and used by using steganography to hide data within pdfs.

Fun thing to consider.
You do not need to be a monopoly to be get punished by anti-trust fines.
>Saying “because of evolution” instead of “because of intelligent design” does not, for them, prohibit Storm. Its only purpose, for them, is to identify with a tribe.

Well, kind of like the article: meant to identify with the rationalist "I really care for science, am not just using it as attire" tribe.

>I encounter people who are quite willing to entertain the notion of dumber-than-human artificial intelligence, or even mildly smarter-than-human artificial intelligence. Introduce the notion of strongly superhuman artificial intelligence, and they’ll suddenly decide it’s “pseudoscience.” It’s not that they think they have a theory of intelligence which lets them calculate a theoretical upper bound on the power of an optimization process. Rather, they associate strongly superhuman AI to the literary genre of apocalyptic literature; whereas an AI running a small corporation associates to the literary genre of Wired magazine. They aren’t speaking from within a model of cognition. They don’t realize they need a model.

Well, it's kind of like those who believe in superhuman AI. It's not like they have a model of cognition that allows it (and especially the ludicrous claims of infinitely scalable world-dominating AI, where intelligence translates to power over people and things without some casual explanation. Apparently it would be too convincing for some people not to follow what it tells them).

Rather, they've read too much sci-fi which had such AI and they think it would be neat (if frightful). Plus, they identify as all about intelligence themselves (they're non-ironically "the rationalists"), and thus the superhuman AI's power is basically their nerd fantasy.
Agreed with this 100%.

So many posts here over the years of examples of 'how we rewrote from x to y and saw 2000% gains', where x and y are languages. Such examples are 100% meaningless. Rewrites from the ground up -should- always be way faster, since it's all greenfield. If trying to make a language comparison, rewrite the entire thing in both languages!
> Apple proved that most people don’t want too many choices

They proved that taking away choices is still better than the shitshow their competitors are running.

Apple proved that a few simple product names are less confusing than literally 6 different "brands" of laptops from a single company. That doesn't mean people don't want choices though, they just don't want to feel like they're getting trolled by badly designed websites throwing all the possible laptop configurations in their face. Even if you know what the specs mean it still feels like a major waste of time to try and compare the 20 devices on the screen.
I want to configure every detail of my laptop, not 2 details on one of 200 laptops.

Apple also proved that making devices difficult to upgrade, maintain and repair is harmful for everything and everyone other than Apple.
The Defuse Project Documents
What’s the dating scene like out in the countryside?
Here in the U.S. any kind of basic regulation == communism, but I when I imagine "right to repair", I imagine a free market where Apple is allowed to sell glued-in batteries and Framework is allowed to sell repairable products, but all companies must publish the private internal repair documentation they already have and sell the replacement parts they already have, if available. Apple may legitimately not be able to sell replacement batteries, if even Apple themselves can't replace them, but at least there's transparency for the consumer. Eventually I imagine Apple could no longer get away with this practice, not because they are legally forbidden, but because people would become aware of it.
I agree that many people end up wanting that, but certainly some see the lure of a big city and would (at first, at least) love to interact with people on a daily basis.
Another common pattern is for non-genuine parts to contain components which return falsified data -- for instance, batteries with controllers which report an inaccurate capacity, or screens which report bogus touch screen calibration parameters. (These are both real scenarios which have been observed in grey-market iPhone parts.)
Same feeling when I had to ditch my Heavy Metal magazine collection.
This article isn't about those games, it's about how people make a living. Don't get hung up on the word "game;" wars are games.
>scuttlebug

If the last part of that comment is dig implying that SSB is buggy, then providing some additional details about bugs we should be aware of would be illuminating.
Take my upvote and get out! Normally Reddit style puns are not welcome here, but this one is too good and is on point. In all seriousness it is a valid concern that not only Rust is not the native language for this JS team, it is a language that has a steep learning curve on its own.
"Unlike water treatment, no skilled workforce is required to culture bacteria."

Uh ok? Doesn't make much sense to me.
Printing a book is cheap. Very cheap. Most of the cost is prepress, proper typesetting, proofreading. There is no reason why ebooks should be noticeably cheaper than paper books, because the costs are not where people expect them to be.
Another way that works in many fields is just everyone refusing any and all overtime. If everyone does that most companies (and police, fire departments, public hospitals, etc) can't cope.

The company can't really force anyone to take extra overtime. The only thing they can do is fire you (well not in the Nordics but in the US I think yes?) but that will only make their problem of not having enough workers around worse.
To be fair to "these corporations," the modules available for the Framework are basically built-in USB-C dongles. If you really hate the look of dongles, then thats great. If you only use one thing, like HDMI, then you don't have to cart around a bunch of modules as if they are dongles.

The three internal upgrad-ables are nice if you think that things will drastically change in RAM, SSD, or Wifi before the CPU, mainboard or faster connections to faster RAM and SSD make the effect of said upgrad-ables to be gilding a turd. Otherwise periodically buy the midrange storage and allow the secondary market to absorb your environmental guilt.
>America is being held accountable.

I agree with this, but not for your reasons. We've sacrificed competent engineering for the sake of cutting costs. Much of the problem with ransomware can be combatted by building resilient systems and maintaining them, but that means spending money on system administrators and similar roles.

The race to the bottom-line causes things like this. It's starting to show up in things like our electric grid and water/sewer systems now. Money that should be spent on maintaining and improving infrastructure, both physical and technological, has been reallocated to new and sexier projects.
High Quits Rates, Poaching: U.S. Firms Are Plagued by Turnover
I like the idea of photographing the books on the shelves, I wonder if you could possibly OCR the title of the book from the spine. Although I guess fonts used on books are pretty varied.
I am very happy for you to have such good luck.
also the C users journal.
Stephanie Marlowe's reply to

https://www.quora.com/Is-every-book-has-a-unique-isbn-If-yes...

points out the non-uniqueness of ISBNs. I used to work in the IT department of a major university library and it was a problem that the librarians were aware of.

It takes exactly one "rouge" publisher to make a problem. (Funny I used to know the people at South End Press)
Java-ngrok – A Java wrapper for ngrok
java-ngrok is a Java wrapper for ngrok that manages its own binary, making ngrok available via a convenient Java API.
The big wins in this article, in what I believe was the order of impact:

* They do raw packet reassembly using gopacket, and gopacket keeps TCP reassembly buffers that can grow without bound when you miss a TCP segment. They capped the buffers, and the huge 5G spikes went away.

* They were reading whole buffers into memory before handing them off to YAML and JSON parsers. They passed readers instead.

* They were using a protobuf diffing library that used `reflect` under the hood, which allocates. They generated their own explicit object inspection thingies.

* They stopped compiling regexps on the fly and moved the regexps to package variables. (I actually don't know if this was a significant win; there might just be the three big wins.)

This is a great article. But none of these seem Go-specific†, or even GC-specific. They're doing something really ambitious (slurping packets up off the wire against busy API servers, reassembling them in userland into streams, and then parsing the contents of the streams). Memory usage was going to be fiddly no matter what they built with. The problems they ran up against seem pretty textbook.

Frankly I'm surprised Go acquitted itself as well as it did here.

† Maybe the perils of `reflect` count as a Go thing; it's worth noting that there's folk wisdom in Go-land to avoid `reflect` when possible.
There are alot of "new" cargo bike producers out there. This specific trailer seems like a mix of Veloves four wheel bicycle (+300kg capacity) and Carla Cargo (150 kg capacity). It is made for large cargo capacity and is a big difference from the ordinary Bakfiets cargobikes. Full suspension, a well thought out cargo hold and good motor is a must.

https://www.velove.se/electric-cargo-bike
https://www.velove.se/news/armadillo-40-german-newspapers-du...
https://www.carlacargo.de/products/ecarla-ready/
Very nice write up.

Go’s focus on simplicity means that there is only a single parameter, SetGCPercent, which controls how much larger the heap is than the live objects within it.

FWIW, there is a new proposal from a member of the core Go team to add a second GC knob in the form of a soft limit on total memory:

https://github.com/golang/proposal/blob/master/design/48409-...

It includes some provisions to make sure that the application can keep making progress and avoid death spirals (part of the reason why it is a "soft" limit), and also includes some new GC-related telemetry.

From the blog write up, a second GC knob with a soft limit might have only been a minor help here, with the bigger wins coming from the code changes they described in the blog.
Yeah, sort of this strange Mandela effect thing I guess; I have a distinct memory of reading an official statement with Apple or Samsung claiming that that was the reason, but that statement does not appear to exist, and it seems like the most likely reason is because my brain just incorrectly extrapolated that memory from stuff non-Apple-non-Samsung folks were saying.
> 4k display … Basically just copy what Apple does

Apple doesn’t do this. Apple instead does the correct thing: target PPI. Apple keeps their laptops around 226 PPI. The Framework laptop is 200 PPI.

Stop caring about absolute resolution and start thinking in PPI.
And then there's Tim Ferris - Chinese National Kickboxing Champion:
https://www.martialdevelopment.com/how-to-win-kickboxing-wro...
So don't use Amazon. ebooks.com sells epub files. Was that too hard to find?
I suspect the focus was initially on creating a coherent toolset, but that is not going to be sufficient for Rome to compete performance-wise with current tooling, hence the switch to Rust.
I feel like the bacteria might live in a filter 'bed' so they can be removed, with the toxins inside of them. I assumed it may break the compound down, but chromium is still toxic so there must be some extra step not really covered in this article.
One more funny story: we used to have some weird errors from time to time, when someone accidentally committed code with some letter L placed randomly in the code. We soon happened that it was a result of people blocking windows machine (win L), when somehow the letter L got propagated to the IDE running under Linux in VirtualBox. Yeah, we used Linux on top of Windows machines back then…
New York is culturally known as a city that never sleeps, an expensive city, a crowded city, a city with muggy summers and bone-chilling winters, etc. There have been countless songs, books, and tweets written about how it takes a certain level of resolve to thrive there. That doesn't mean that people don't enjoy living there.
Its is happening but the people who are moving to these places seem like those who cannot make it in the more competitive markets. At the same time, you only live one life so people who can afford to thrive in the expensive markets don't want to spend their time not living their best lives. So this catch-22 exists.

The sanders approach had hope: Invest in all these communities to help bring those people up to the same level of quality society as the coasts and the hope was that enough would abandon Trumpism as their prospects improved. Instead we are repeating the mistakes of the Obama years and I guess after Biden, the only way forward is more pain and suffering when the next demagogue makes it to the white house.
Bit flips from cosmic rays happen all the time. It's inevitable that they sometimes change state in deleterious ways.
Nice work!

Back in 2014, Atlassian had a similar project called 'Coathanger' to tightly integrate Confluence and JIRA. If I remember correctly you would highlight some text in a Confluence page and convert it to a JIRA issue. I don't think you could edit it again so it's nice to see that yours syncs back and forth.

Curious if you used the Confluence feature in the past but prefer Notion for a wiki or if you just came up with this idea is some other way.
There are plenty of companies and researchers that analyze cryptocurrency ledgers and publish reports about these kinds of stats. I'm sure the Treasury Department has read a few of them.
New WebDataRocks pivot table release 2021
WebDataRocks finally presents new features with the 1.4 release. This pivot table is created by developers for developers, so it is an excellent choice as a software for data analysis. WebDataRocks pivot table is free and easy to integrate along with other useful features!

The main release improvement – framework wrappers for Vue, React and Angular. Just a few lines of code can elegantly and quickly embed WebDataRocks into your project. No extra time for integration with one of these JavaScript frameworks, just check the guides and here you are.

Along with improvements in the framework area WebDataRocks also cared for pivot customization: they added 3 new predefined themes. Now you can choose the most suitable theme for your design from the 8 offered.

Minor fixes were also done, read more at https://www.webdatarocks.com!
Related: Next.js is rewriting its core with a Rust-based compiler. SWC (JavaScript and TypeScript compiler written in Rust) will replace two toolchains used in Next.js: Babel for individual files and Terser for minifying output bundles. Early tests are showing twice as fast builds, with further optimizations to come. We're betting on Rust as the future of JavaScript infrastructure.
Pro tip: Casio F-105W-1A. 95% the same as F-91W, but with an actual working backlight.

(The "square" models, e.g. DW-5600 are also quite cheap and even better functionality wise, though a tad more expensive).
> Many stores will just send you a mobi or epub file so you can archive that yourself.

Do you know what stores offer that? Last time I looked around it was mostly small shops with very minimal book offerings.