skysight-inc/HackerNews huggingface dataset:
> Indeed, most people seem to forget the dark ages before VS Code. When you were forced to choose between either slow heavy weights like Visual Studio/Intellij (and its relatives PyCharm et alia)/Eclipse that took forever to start up without a SSD drive or fast featureless editors like Sublime Text, Gedit, Notepad++, Vim/Emacs etc.

Emacs is not “featureless”. Just like VS Code, its a pretty bare-bones but powerfully programmable editor before you consider add-ons, and just like VS Code, the available add-ons for many languages make it reasonably competitive with (or beyond) heavyweight IDEs.
So... what’s the correct answer to the delete question posed? Should deleting an already deleted resource return 404? Or should it be idempotent and return the exact same response as the first success?
Please tell us how that is helping retention at your company.
Bitcoin Profits
While there currently is no package management system it is possible to use webpack and manually compile certain simpler npm packages (think Lodash) into a format which can be imported by Osgood. We would like to come up with an automated solution for this one day.

Since Osgood requires I/O to be whitelisted this removes multiple categories of attacks which would affect Node.js apps loading a malicious module.
I think the Cape Town water crisis is a good example of how we are likely to deal with global warming. Everyone knew it was an issue, and people didn't want to act. But eventually catastrophic felt inevitable and people finally did what was necessary to curb water consumption.

https://en.wikipedia.org/wiki/Cape_Town_water_crisis
Apparently yes, unless you need Thunderbolt!
I follow with that result, we establish a causal $ reason for this mess - USBIF signatory manufacturers wanting to not compete with the aftermarket.
It is rapidly getting worse than expected, so that is a rational response: https://www.sciencemag.org/news/2019/04/new-climate-models-p...

It is interesting to look at the relative insanity of the last 5 years as a kind of collective Kübler-Ross model progression.
The problem with D is that it is so non-uniform. People talk about the betterC mode, but not nearly all D code written can run in this mode. Now people will talk about this ownership mode, but very little code will really use it. To become an expert in D or C++, you really need to understand what feels like a dozen different languages... and that’s not what I’m looking for in a single language.

D’s concept of ownership (for now) doesn’t seem to have any plan to support partially moved structs, which are a major ergonomic feature.

D has organically grown just about every interesting feature ever conceived, but I would much rather use a purpose-built language, which is what Rust feels like.

I don’t want a C++ that’s better at being C++ than C++ is. I really enjoy how consistent and expressive Rust is. I also appreciate how intentional Go is about being Go.

A lot of people enjoy C++, and some people enjoy D. I enjoyed C++ back when Rust wasn’t an option... then something better came along. D and C++ try to be everything to everyone. I like D better than C++... but I have seen no compelling reason to trade Rust for D.

Variadic templates are much better expressed by either tuples or const generics. A fixed length array of a constant generic length is the Rustic solution to tensor-like problems, and it is being rigorously developed.

Arbitrary compile time computation should be separated from the body of the program. If you need to download files or read the file tree at compile time, that should happen in a build script. Rust provides build.rs for that. Precomputing values without I/O is conceptually just an advanced kind of compiler optimization, and that’s why Rust is basically seeking to make const fns only pure functions.

The fast compile times are a double edged sword, since those binaries are noticeably slower than Rust binaries, from what I’ve seen. I hope that Rust will one day have a much faster compiler for development builds.

I also think every sign is showing that Rust is starting to get some real traction, so I don’t think I’m alone in these opinions... but they are mostly just that: opinions. You’re welcome to your own.
Does it work cross databases? Ie, if data is stored in multiple databases and needs to be combined for analytics? Currently, we are getting all data to S3 via DMS and running a script on top of this to combine data
Especially fun are the fact that some of them are now asymmetric with hollow pins, though that one is a bit more expensive. Incremental improvements. A bike today looks fairly similar to a bike from 50-60 years ago, but every last bit is very different.

https://bikecloset.com/product/shimano-cn-hg901-11-dura-ace-...
Open Source Hardware is the next big thing
Absolutely no idea on Windows — but I’ll look into this and see if I can find an answer (which might be difficult because it may depend on your OEM or some other issues).

As for Code — it should respect your choice across updates — it’s a line in the settings.json file. If you use an extension like Settings Sync (which uploads the contents of your Settings file and your list of installed extensions to a GitHub gist), you can even insure that option will persist across other installs.

If you do a clean install or remove/alter that settings file, you would need to re-enable that, but it should persist.
I think that is fair to say that Chez is something of a marvel; though gambitc/gerbil is nipping at its heels.
In the sense that Chrome logs and syncs your browser history across all devices logged into your account, the search queries are plaintext, so google can probably read them.

Basically I left chrome when they made it annoying to use it without being logged in to the browser (Why would I want to be logged into a web browser?)
I've been in IT Admin for years, and one of my kids managed to subscribe to two things in one day, one that cost $10 per month and one that was $78 per year, despite having exactly these kinds of controls already set on the device.

Thankfully I receive a notification email for activity on the account, so I was able to go through the non-obvious method of unsubscribing before the "three-day free trial" expired when the charges would have started.

The device was setup to require a password for in-app purchases. They even need a password to install new, free apps. I've since locked down the devices even harder, having looked up various guides on all the various settings that need to be changed from their very open defaults.

I've also removed credit card details from the shared family account - which can't be done from the device itself, only via the online account management tool.

I still don't know how those subscriptions got through, but they did.

Thanks for the reminder though, I'm going to check through those settings again, just to make sure they're still tight, and haven't been re-opened by a software update or other "insecure by default" situation.

I can't imagine how far outside 'normal' this level of IT device maintenance is for regular folk.
Even if I have a good cable, what I find confusing is what to expect USB-C speeds to be between devices.

Say I mount my GH5 with my MBP. What can I expect the speeds to be?
I submit that the topics you feel you can't learn, you only think that way because you don't have the proper insights. If someone could have given those to you, then you'd be able to understand them.

And if someone truly understood those topics, then they could give you the proper insights.

So either insight itself is broken, in that there are certain topics which are immune to it, in that you or anyone could never learn them given the right teacher and the right setting and the right approach, or, well, that's the only option really. The power of insight fails because some minds are patently immune to it.
Are you logged into Chrome? Then your search history and open tabs are associated with your google account.
> For better or for worse, though, that's a manufacturer problem - they could have easily just not allowed _any_ USB C charging and stuck with an AC adapter

For what it's worth, I personally would be thrilled by such a decision. I'm against having my power supplied through a data cable and data port. In theory it's safe, of course, but in practice people have fried equipment with bad cables. It's a hard standard to get right. It's as if we were all using Rust for systems programming up until 2016, when we all switched to C because it was "more powerful". In theory you can write safe C. In practice ...

I also think display connections should have their own interface. It needlessly complicates the protocol when we already have perfectly good connectors for this, HDMI, micro-HDMI, Displayport...

USB should be a dumb protocol with a passive cable. The only distinguishing feature between different USB C cables should be transfer speed, and different rates should be given a clearly labeled version number and distinguishing color, like USB 3.1, 3.2 etc.

Of course no one's actually going to implement this, probably the companies involved profit off of incompatibilities. Whenever you have to buy a new cable or new device because it's not supported by the old standard, it's proof this approach is winning.
Bicycles are entirely stable without a rider as long as they’re moving. The human is only really necessary to provide motive power. There are a ton of videos showing this.

It is totally unlike the intentional instability of a modern jet fighter.
Ahh is Tuesday time for a "I'm leaving medium post"
Agreed, i think they take a somewhat equal amount of time to get going on. Probably takes a few hours over a few days on both of them to get going.
Is the consumer expectation that mobile games be free on the publishers if they're responding to market conditions created by those same consumer expectations?

Seems to me like a chicken and egg problem where the entrenched nature of freemium games create a consumer expectation that games should be free up-front, causing consumers to avoid up-front payment, which causes up-front payment models to be less successful, which further entrenches the freemium game model, etc.

I agree with you on principle that it's up to publishers to make the effort to change this model, but I don't see how that could happen without some external nudging to overcome the market forces at work.
That's wild! I thought nails were way easier because you could maybe just cast them. I guess forging would make them substantially stronger.
while the premise of this entire article makes no sense, it is full of interesting history of the bicycle
> compilers

Absolutely. Otherwise, all compilers would be written in Assmebly. Most compilers used today are written in C and the compiler for C (GCC) is written in C itself.

The C language was also written by Ken Thomson, because he was unhappy with the BCPL language, so the compiler for C was originally written in B. So on and So forth.

More Recently, the initial compiler for Rust was written in OCaml but is now written in Rust itself.
This probably isn't it, but it sounds a lot like a compiler. If you're interested in that stuff you might be interested in checking out "Advanced Compiler Design and Implementation" [0] or the /r/programminglanguages subreddit.

[0]: https://www.amazon.com/Advanced-Compiler-Design-Implementati...
Terraform Maven Integration
All they need to do now is to drop the name USB in favour of SPC/OSB - Single Purpose Cable w/ Optional Serial Bus.

The whole thing makes a mockery of the core reason for USB to exist, which was so we wouldn't need a unique cable for each device. And so here we are...
Do you have a citation for this? Tokyo has a high minimum wage (and low enough unemployment that most employers have to pay more than minimum wage), but I've yet to see an automated kiosk here.

Though in support of your point, when I went to Korea last year there was a large number of automated kiosks, and I know the minimum wage there is fairly high as well. So, Japan's lack of those kiosks may have to do with a preference towards cash/human interaction in the culture.
but he was alleged to !
That seems paranoid and fearful to the point of being paralyzing. I'm sorry you feel that way.
Agreed that video games are not all bad. I purposefully chose alcohol as a comparison because it's neither wholly good nor wholly bad. Plenty of people enjoy drinking alcohol and have it as a part of their social life, a way to unwind and relax. However at the same time we should acknowledge that video games, like alcohol, can have a dark, addictive side. In the case of video games this is especially insidious due to the way certain games are engineered to be addictive. Basically I'm not saying video games, in all their creativity, brilliance and technical accomplishments, are necessarily bad for society.
It still sounds like people talking through an autotuner, and it has that voice synth scrunchy static fuzz following it as well. It sounds like a better version of espeak with mbrola in that regard.

Quite good nonetheless.
There are plenty of colleges that don’t care about your personality. There are plenty of colleges that have basically enough slots for every reasonable applicant. But the really good ones, as the sibling comment mentions, are concerned with culture as well as academics, and they have many more applicants than slots.

The stereotype you mention is associated with your local large public university for a reason. The more ambitious are seeking a different experience, and the admissions essay is part of the process.
You're not going to solve the problem and your municipality isn't helping unless it burning the garbage, because that's what contaminated loads are. There's absolutely no reason to have multi stream plastics recycling at the consumer end, save for plastic bags because at scale they can be recycled. Only a very small amount of plastics are monetarily valuable. I would not feel guilty at all about throwing out plastics unless they are clean and food free. It's pointlessly wasteful as most processing plants in the US cannot handle soiled recyclables efficiently if at all. I say this as a long time, Earth hugging, reusable bag toting, fuel efficient vehicle recycler. The US is not a major contributor to plastics pollution. There should be no moral dilemma here. Just by trying to do the right thing in this case you're doing. If you want to do more have a cheese pizza night once a week instead of one with meat toppings and you'll significantly reduce your carbon footprint with minimal change to your lifestyle. If doing the by the planet is your thing having one vegetarian meal that you enjoy a week is going to be significantly more impactful at keeping the planet cleaner and using less resources (the reduce part of the 3rs) than most of the plastics recycling you do. Contaminated glass, plastics, and paper can ruin an entire comingled load which generally happens anyways.

Some specifics on ocean plastics that covers a bit of general plastics.

https://skeptoid.com/episodes/4671
Does this mean that you can't take unique/mutable references to the inside of reference-counted objects? Is there no escape hatch, like Rust's RefCell?
First of all, good on you for going back to school—that’s not always an easy thing to do. What subject are you considering studying?

Khan Academy is definitely the best one-stop-shop for this purpose, as someone mentioned. The key is to consistently do lots of practice problems over time. KA is adaptive+gamified, and helps select problems in your “zone of proximal development” (not too easy, not too hard).

Depending on what you want to get a degree in, you can focus on particular areas and gloss over others. If CS, then discrete mathematics and logic are the most important (plus stats/probability/linear algebra for machine learning and AI). If engineering, then trigonometry/calculus/physics is more important.

Learning also requires motivation, which for me personally requires seeing the big picture of why the math theory matters and how it was developed. Read the NYTimes series by Steven Strogatz. I also like “Mathematics for the Nonmathematician” for an overview of HS-level math that weaves in historical context (e.g. how Renaissance art or agriculture and mathematics are intertwined). Watch some YouTube videos on mathy subjects (like Numberphile or 3Blue1Brown or any of the zillions of channels along these lines). I try to do this as a “learning by osmosis” sort of activity that I fit in to my daily routine, e.g. when folding laundry or commuting.

Learning is also a social activity, so maybe enroll in a community college course or find a local study group. I find it’s especially important to have someone to discuss things with when learning math. I also recommend finding good public spaces to work in—libraries and coffee shops are timeless math spaces.

Along those lines—as you’re learning/reading/practicing new concepts, imagine explaining them to someone else (Feynman method).

Do lots of problems by hand on pen and paper, there is research and eons of practical experience that shows that doing math is a kinesthetic experience (that is, there’s literally “muscle memory” for math). Draw pictures and graphs on paper. Keep all this scratchwork and doodles and stuff in a notebook.

Learn to process the “I have no idea what’s going on” thoughts and feelings you get when you’re faced with something new and challenging, or seem to continually forget things you’ve just (re)learned. That’s par for the course, you just have to “feel the burn” and keep going. Cheesy but extremely true.
It actually was a major issue for Valve with TF2. It used to be you could run the game headless and have it join a server to idle farm items for you. In college my roommate and I each bought about 3 copies of the game then ran them headless in VMs to try and farm hats. Never got anything super great sadly.
No, the original razor is “never assume malice before having ruled out ignorance and stupidity”. This is an ironic (and funny!) riff on it.
Israel Gelfand, "Algebra", is a really good book on basic math.
> City roads at the time were paved with cobblestones, which were good for horses but too bumpy for bicycles.

This is one of the draws for the Paris-Roubaix spring classic race, a +200 mile, single day race with dozens of sections of rural cobble stones. Though, generally well maintained, the roads are narrow and brutal on modern road racing carbon-fiber bikes on 23mm wide tires. Lots of attrition from accidents. Typically pretty wet weather for the (spring) race and the cobbles are slippery and also get muddy. Riders tend to ride on the dirt shoulderer when they can, because it's smoother, but this can lead to tire punctures. The sections of cobbles are also narrow, so getting around 200 riders through is harrowing by itself. Smallest mistake by one rider compounds quickly.

Also mechanicals such as punctured tires and tossed chains are common. Rough corners/edges on the stones and gaps between cobbles easily puncture tires. The bikes have no suspension, so the chains bounce quite a bit, easily being tossed and in extreme cases, can be bent or broken if they jump a chain ring, requiring a replacement.

For their efforts, the trophy? A cobble stone with adornment.

The race is a spectacle. Probably one of the greatest one day spring classics of the UCSI Pro Tour. 6 hours or more of grueling, punishing cycling in crappy weather while being vibrated like crazy from the cobbles (the whole race isnt cobbles, but significant sections are, usually +20 sections, ranging in length of around a few kilometers each).
Machine Learning? Nocix $99/month RTX 2070 dedicated server
Surely this doesn't actually use 60W right?
locked behind a simple menu setting

It's not simple, on iPad anyway. There are various layers of menus and options and some aren't as 'blanket' on/off as they appear

looks about as functional and non-broken as it can get

iPads, at least, can't even accurately track usage time in their own device. We've got time limits set on overall device usage time and specific app times, and it's woefully inaccurate, and that function is part of the same 'device control' app / settings area that looks after lock-down settings for in-app payments and new app installations etc.

That's why I've removed any credit card details from the Apple account.
Well it was like what you mention. Tacit knowledge must be transferred by showing, hands on learning, but was surprisingly little affected by culture and borders in global companies which was a dimension I was investigating.

After all the work of putting together a thesis on the subject, it all boils down to the example of how to you train a new chef to be as good as his "master".

This is still a hot topic amongst those who continue to research the Social science around Innovation, economics, sociological, management studies and so on. I enjoyed the topic, but being chained to a laptop for 6 months of thesis writing not do much.
The current water crisis in Chennai feels even more severe, no?
Language thread from 2017: https://news.ycombinator.com/item?id=15797831
People tend to preferentially value things that they understand. If you understand your employer's business platform, you'll naturally prefer it. I don't think you need such a cynical explanation to get the same end result...
I'm amazed at the technical skill and knowledge he and his team has. Fabricating simulations, replacement parts, unpotting modules and repairing them, etc, etc, etc.

I thought the Xerox Alto restoration was amazing - this beats it handily.
> - Higher-kinded types (template template params): it's possible to implement Haskell-style monads etc. in D, if for some reason you felt the need.

Because the templates aren't typed at all. I'm not sure you can call untyped templates "Haskell-style".
I've used titanium shavings, lit by high explosives, to start fires. Search youtube for "boomershoot fireball" and look for the earlier ones
It's stomach churning to think that temperatures was relatively stable even into the 1980s, when millennials were born e.g. not that long ago!
Unit Testing for .NET: Tools
I don't think the severity of the crisis necessarily is the most relevant characteristic. We're in uncharted territory here. Any example of how to weather something like what either city — or any of the dozens more to come — has suffered can be instructive in how to deal better with the next one.
"China is an unusually dirty country dirtying up the planet. Trump’s 25% tariffs on China should be reframed as a carbon tax."
The biggest difference in the past (i.e. industrial revolution) was that a human was still required when technology improved and the increased output only occurred from that tech when workers were skilled up to use it appropriately. Also training more workers in these new skills meant even more output and a potential edge against your competitors as that multiplier would carry to workers trained. Each worker gives you more productivity but you still need more workers to scale output. This obviously results an "arms-race" mentality from employers to train staff to fill the gap to take the lead against competitors. It also adds bargaining power to the skilled worker - if they strike instead of not producing that multiplier/leverage works against the employer as they miss out on more output than if an untrained worker strikes. They may even have to shut down their factory or whatever. Leverage and worker productivity work both ways for the employer; it's one of the big reasons cited for the rise of worker unions and arguably the rise of the middle class since then.

The first wave was all about making people more efficient (higher output multipliers for effort); the next wave may very well make people redundant in the economic production equation. If one person is all that's required to scale infinitely (O(1)) OR people aren't required once the capital is built the share of gains to workers IMO erode substantially and mainly accrue to capital holders. Particularly if those gains result in a concentration of market power to one company.