skysight-inc/HackerNews huggingface dataset:
We gonna double-blind developers or something? I know Go and Ruby very well. I know what it takes to write in one vs the other.

Ruby is faster to write and more concise by a long shot—certainly if we're talking back-end web services. I prefer Go to Ruby generally but it's weird that Go developers tend not to even see how much yak shaving is involved with it. Or really any downside with it.

Try writing this in Go:

records = User.limit(10)
records.select { |user| user.is_admin? }.map{|user| "#{user.id} : #{user.name}"}
Development with Interface Packages in Julia
USPS Movers Guide
The title needs “(2020)”.
Most popular post on my new blog:

The challenges of picking a blogging platform for technical writing
https://journal.paoloamoroso.com/the-challenges-of-picking-a...

Most popular post on my old blog:

How to Limit Data Usage on Tethered Android Devices https://blog.paoloamoroso.com/2020/02/how-to-limit-data-usag...
This is actually a decent joke, buried under a dismissal.
I've worked on large engineering projects in physical disciplines. When I am the customer, I often bring in a group of independent experts to review the design products. Often these experts provide inputs that are not 100% usable in the form they're provided. One may have to disentangle their conflation of related-but-not-the-same issues, or ignore the specific solutions they propose, etc.

That being said, I have learned the hard way not to ignore or trivialize these review inputs, even if they are not immediately actionable as-provided. Users and reviewers are really good at figuring out weak areas or flaws even if they can't articulate the solutions, fully unentangle related issues, or do all the generalization or abstraction that would make those issues easier to address. There is usually some truth underlying the negative feedback.

The article looks to potentially be an example of an expert review in the above vein. If you are able to take a step back, you might find the HN discussion on this submission to provide further inputs to help figure out how any of this should be channeled into language, practice, and ecosystem improvements. Certainly there is more to work with here than little "to take away other than that we should work even harder on bugs and quality."
One way of looking at it is that applications already need to be able to survive power loss, a crash of the computer, a crash of the application, or a forcible kill of the application. If they can survive those, they can probably survive a filesystem snapshot being taken at just the wrong moment.
Does the Python have similar issues?
I read somewhere that these had a mechanism that made all of the wheels follow in roughly the same track, but I haven't been able to find an explanation of how they made that work. Anyone happen to have a link/explanation?

Edit: Found this https://www.researchgate.net/figure/Steering-scheme-of-a-roa....
I'm willing to bet 'managers' doesn't mean 'store managers'
> This is fundamental to the financial health of Twitter.

Staggering how transparently he is mounting the court defence for him to wimp out of this deal, all while maintaining that he did everything he could to save the world and twitter.
"Will the government ever allow something like that?"

It's not that they won't allow it, its that its largely useless. The dollar is fungible. Who cares if a dollar spent on a new M1 Abrams was "your dollar", its identical to everyone else's dollar, so everyone else's dollar could have substituted yours. What benefit would knowing that possibly provide?
I agree that a lot of people in that community (and online in general) seem to be chasing after some kind of peak experiences and there's a lot of weird spiritual dick-measuring.

For what it's worth, Ingram himself recommends Kornfield's "A Path with Heart" as one of his favorite books, which is largely about how the goal is to be a better person and that's not the same thing as developing incredible concentration abilities and having intense experiences.
how would this bill even work?

Doesn't almost force the companies to shut down in texas?
That is actually pretty cool.
Interesting conclusion. I don’t agree, but I’ll leave you to it. I don’t even think that it’s possible to have the kind of experiences I’m talking about with headspace, unless it promotes a daily mindfulness practise of more than 15 to 20 mins a day
Yeah for sure, I mean anyone they feel like isn't going to be good management material they can just not promote until they leave.
Yes - but you don't even need their output. I did this a dozen or so years ago at a coworking space, where I trained it on my officemate's keyboard assuming they were typing Ruby code, and then was able to guess their passphrase pretty quickly using the trained model.

I manually fudged spacebars and enters because they're accoustically obvious, and played around with punctuation keys. Generally the timing for fingers to move from one key to the other was where I was finding the strongest signal.
This is kinda sad to me, sure a lot of the recent tech companies that have sprung up on free money are worthless. But a lot of them are taking on really big and interesting problems they probably wouldn’t be able to do otherwise.

It makes me wonder about the games we play with money and how that affects our ability to innovate. Free money had almost a UBI sort of feel.
P4Merge is one of the few cross-platform apps that I use on the Mac because the functionality is so good.

I hate how the UI looks like a half-assed rip-off of Windows 95, but it's the only tool I know that shows me everything I want to see when merging / rebasing git branches.

I think it also allows comparing 3 or more arbitrary files, which seems like a pretty basic task that most diff tools just can't do at all.
> the legal jeopardy involved with using GPL software just got a lot higher

Not at all. If you are a developer, this only protects you from patent trolls or any confused company that might sue the wrong person.

Same if you are a user.

The only "legal jeopardy" is for those who repeatedly violate developers and users right. And that's a good thing.
It all depends on what exactly you need with the authorization. Building a simple one isn't too complicated (even boilerplates exists). If you do not have multiple dependencies, you can easily implement one using firebase (google) or cognito (aws).

I personally like to develop my own one, since I do not want to have too many external dependencies.
If it's only a temp file (as opposed to a dir) and it's Linux, you may want to use O_TMPFILE (possibly O_EXCL too) when open()ing the file instead of the RAII wrapper. That ensures the OS will delete the file even if the program is killed.
Just starting the review can take a while. However, engineers who might be reviewing code instead of other activities may be providing more value/higher velocity/better quality with those other tasks than breaking to just review a PR.

Someone once argued to me that each feature PR should have very few surprises if the feature has been planned and communicated well with affected parties before implementation even begins. The opposite is often true in some organizations.
What does it being 2022 have to do with it? Do colloquialisms have pre-determined expiration dates?

I guess Troy Hunt didn't get the memo either.
Part of the problem here is that GPT-3 has such a small vocabulary. It's 50K tokens, and many of those are either garbage, punctuation, or full words (rather than sub words).

I'd be curious to see what scaling up the size of the vocabulary would do to improve these results in a model like GPT-3...
>Are these not important issues?

I didn't take any position at all and I wasn't judging. Just look at articles and what's covered more frequently on cable news. COVID is self-evidently lower priority at the moment to stock market volatility, inflation, Ukraine, abortion, mass shootings, etc.

It's been 2+ years, people are burnt out of COVID--and I say this as someone who tested positive for it yesterday and is sitting in my spare bedroom to quarantine myself from my family.
>LeTurneau talks about one of the land trains being nuclear powered, casually as if it was just another increment

This was a decade before hippies and greenpeace. It was casual to them. It was like saying "we're gonna use batteries and DC motors" would be today. About the most condemning response you'd get is "good luck with that I don't think the numbers pencil out".
These stations are all along the Northwest Passage which was extremely inaccessible back then, especially for the large commercial shipping that would be needed. It's become much more accessible recently with warming waters but still mostly just by small craft in the summer.
I’m not saying you don’t - but my experience has been different. In my experience Linode has customer service that is in a different league than DigitalOcean has ever provided. I’ve never gotten what I would call great, or perhaps memorably good, customer service from DigitalOcean. I haven’t gotten awful customer service either. It’s the kind I would expect from any turn key solution that doesn’t employ support agents who are already well versed in what they’re working on.
> There are plenty of grids with wide deployment of community solar, which are also unknown-capacity, unknown-delivery.

There are some important differences. For one, those are using bespoke new batteries, not used car batteries. For another, the battery storage is not concentrated, so much lower risk of fires spreading from battery to battery (which you've ignored).

For a third, if a battery fails, it's most likely going to be the house whose battery has failed that loses power if the grid was at its limit, it won't be a whole neighborhood, nor some industrial plant.

Finally, I would be quite surprised if there is any significant power grid where any industrial consumer would be at a risk of losing power even if all community batteries were to be unplugged from the network (ignoring the effects of a sudden surge, like in the oven example, of course).
True. As a original developer of code, it protects the original author and the real user. However the middlemen (companies who make money using others code) may not like this.
Book Review: Practical File System Design with the Be File System
In the example given in the article foreknowledge of the property does exist - there's a specific DDL statement to run before the column-y thing is usable.

With the advent of schemaless I think there's been far too strong of a reactionary movement against schema adjustment. With some trivial investment in migration management infrastructure you can arrive at a point where changing the DB (even in drastic ways) is as easy as committing a new file to the code base. At my company we do make use of postgres JSON types for some limited fields related to logging and auditing where live queries never need to be executed - where the data is essentially serving as WOM - we've also got once instance where our DB is essentially a pass-thru between two services that don't talk to each other directly, for this usage JSON works great since those two services just coordinate on the expected format. In most other cases we'll just write quick migrations to expand our data definition as needed to fit whatever we need to put into it.

Relational databases are both powerful and quite flexible - so long as you don't enshrine the schema to an extent where it feels immutable.
Since literally nobody is even seriously considering batteries for more than overnight storage, it absolutely doesn't matter what problems you dump on them. The storage that will be built out after there is enough renewable online to charge it (still years off) will have plenty of capacity.

But "plenty" just means enough to hold out until a shipment of ammonia or hydrogen from the tropics arrives; and that, presuming transmission line backup is failing to deliver. Any extra synthesized, after local tankage is full, is sold on the open market. (If you imagine relying on shipments is too fragile, guess what! That is how we handle oil now.)

There is no future in which nuclear makes economic sense. The very best you ever get from a $billion spent on nukes is a half-GW, and that is not improving. With solar, a $billion buys, recently, 12 GW, and cost is still falling. But NC/GA just paid $15 billion for 0 watts, where they were promised 2 GW, and then were told they could still get them by sinking another $10 billion!
White noise wouldn't be nearly as effective as cherry red noise.
These are super cool! Does anyone here actually use one of these for anything?

I’m always tempted to get one of these sorts of things but I can never think of an actual real-world use that I’d need.
Your comment does not add to the discourse here
This contradicts what Ive heard from inside the country which is that inflation spiked sharply to ~40% and then prices came down (now 15% up on prewar levels).

So, inflation is a bit higher than in the west but it is not runaway for us or them...yet.

It appears more as if this is due to the balance of payments. Imports are down due to sanctions while exports of gas/oil by value are up. Hence higher ruble.
Ubuntu supports ZFS with one click at installation time. You can snapshot your system every 15 minutes or as you desire.
Not this specific code, but I have done accoustic keyboard analysis in the past with success. The thing I wasn't able to get working was multiple keyboards in a single room - in theory it should be doable, but the signal processing was (and still is) far beyond my rudimentary skills.
I don't buy the speculation as obviously accurate.

Let's say I own a twitter bot farm. I make 20k accounts, have a system setup that logs into each of them from a unique IP each month at random times to make sure they're not banned yet, and advertise it out. On month 1, someone buys 1000 of them as followers. On month 2, someone buys 1000 of them to tweet spam. etc etc.

Each month, there's 20k active bot accounts (logged in to verify they weren't banned). Only a small number may actually tweet though since buyers may have not gotten them yet. Bot accounts lurk too, for months on end, before ever acting.

I'm not claiming this is accurate, but I am claiming this is a reasonable alternative which doesn't align with the view of bot accounts being more prevalent in tweeting accounts than lurking accounts.
That’s normal DBA for SQLite - you can’t even rename columns without dropping the table. So not such an obstacle.
Some startup is bookmarking this for a future Zoom/Teams plugin for your boss to buy to ensure your attention at all times…
1. don't put devices with untrusted operating systems on your home network in the first place

2. if you must, put them in a quarantine vlan

a better question is why you have things in your home network that might be sending encrypted dns queries outside of your control, what software or OS is doing that?
The Space Cadet did not use Cherry switches. It was made by Micro-Switch and thus used Honeywell's hall effect switches. The switches are very highly regarded and presumably very nice to use if you're into linear keyfeel. Some later LISP machine keyboards used Hi-Tek space invaders if I'm not mistaken.

It seems a little unfair to call the board crappy. A lot of keyboards had a little bit of flex to them. Most modern keyboards (even premium ones) still flex a little bit. There were better -- or at least more solid-feeling -- keyboards around at the time, some of them more common and cheaper, but calling a Honeywell board "crappy" is just downright hyperbole.
Humans also think about words in terms of subcomponents, languages make heavy use of prefixes and suffixes for example.
https://jobs.apple.com/en-us/search?search=WebKit&sort=relev...
There were roughly 50 countries in the coalition, but only about 20% were NATO members, and those only represented about half of the actual NATO members at the time.

It was an ill-conceived conflict yes, but not an actual NATO conflict. In fact the lack of support from key NATO allies led to a very acrimonious relationship with founding NATO members that did not participate. To characterize Iraq military operations as a NATO operation in the face of these facts is simply ridiculous, especially when the actual contributions by NATO members that did join the coalition, with the possible exception of the UK, were very small. (Though their soldiers should still be honored for their willingness to serve and sacrifices made) It was not approved by NATO and if the US had officially sought Article 5 support for the conflict it very well may have been denied, a likely reason why they didn't invoke it to avoid embarrassment. After the country fell to US & coalition forces, only then did NATO send humanitarian assistance & resources to help rebuild, and they were strictly limited in scope.

The Iraq invasion was no more a NATO operation than the Suez Crisis was, with both giving their countries black eyes on reputation and credibility.

As for the other conflicts you mention, NATO's intervention with Yugoslavia was brutal & likely excessive, but it did stop a genocide in its tracks. It's rightfully criticized for its methods but it's difficult to fault their involvement itself. Libya on the other hand I agree was a complete mess. Regardless, none of that justifies Russia's own actions.
You should make bigger marks for bigger deliveries to not give the wrong incentives.
"If the hikes play out, we'll land around what, 2-3% for the fed funds rate? That's low, historically."

But it's not the 0.1% that drove money out of other asset classes (i.e. bonds) because they couldn't generate any returns.
Wow. Talk about destroying any credibility you’d hoped to hold onto. Total foot-gun action.
I really like https://kaleidoscope.app

It has a new release and is the most Mac-like of the various diff tools I've used.
Great read! Minor nit - shouldn't they be called 'road trains'? The other kind are also land trains, no?
That's essentially older GUI desktops before GPUs did more than just provide an interface for the monitor. Paints used to be very expensive (and remained so for quite a while). Pixel scrolling also took a while to appear on consumer desktops.
Discussed in a sibling thread: https://news.ycombinator.com/item?id=31401155.
> iirc it was them that was holding up node at that version

really? I thought it was Joyent? Would love a source on this.
> Given Julia’s extreme generality it is not obvious to me that the correctness problems can be solved. Julia has no formal notion of interfaces, generic functions tend to leave their semantics unspecified in edge cases, and the nature of many common implicit interfaces has not been made precise (for example, there is no agreement in the Julia community on what a number is).

Does all that apply to Python? I think so? Yet apparently similar problems don't exist in python, and even one of the examples in OP had the reporter moving to python to have no problems getting the same thing to work that was problematic in Julia.

In a language intended for math, I do understand the desire to have something with more formal properties suited for guarantees and such. But Python seems to be doing just fine in that domain without those features, so, I'm not sure what we should conclude here.
This is something that's always been slightly unclear to me. I think you should be able to do whatever with any copyrighted code that's been published (by someone who has the right to do so) for your own personal use, regardless of license. Clearly publishing this copyrighted is not possible without some kind of license.

However where 'personal use' ends and 'publishing copyrighted code' begins is not entirely clear to me. Does an internal tool in a company still count?
> If you want to donate, please donate to the original Meld project.

Anyone know how to actually do that? I've not been able to find a donation link on the Meld website.
Gitlab split and rewrote some services in $faster_language. Based on the hires, Github seems to be doing that as well.

Gitlab's history with $faster_language has at least some background documentation, e.g. https://about.gitlab.com/blog/2016/04/12/a-brief-history-of-....

They seemed to have liked it, as at least a couple of other services are written in $faster_language - gitlab-shell and gitaly (probably, several others).

There may be more static languages nowadays, but they're very young - I think in real world, there wasn't, pragmatically, a lot of choice, although today's young languages are... still young :)
Interface’s provide correctness guarantees by way of implementing them is a conscious decision. If your array implements GenericArray, you know about that interface, and presumably what it is used for. Its methods can also contain documentation.

The point is a common point of… trust may be the word? Two developers that don’t even know each other can use each other’s code correctly by programming against a third, hypothetical implementation that they both agree on. Here OffsetArray would simply not implement the GenericArray interface if the latter expects 1-based indexing.

In this specific case the solution would be to move the indexing question into the interface itself - it is not only an implementation detail. Make the UltraGenericArray interface have an offset() method as well and perhaps make [] do 1-based indexing always (with auto-offsetting for indexed arrays), and a separate index-aware get() method, so that downstream usage must explicitly opt in to different indexing.
Participant Nonnaiveté and the Reproducibility of Cognitive Psychology
Of course; those are freedoms 0 and 1 guaranteed by the license. It seems like "use" sometimes means "include in a downstream software package and redistribute modified versions of".
This is not true. For example, the issue regarding custom index ranges causing silent data corruption (6 examples) could be fixed with static types.

Look how many of the other bug reports contain the phrase "does not check for" or refer to specific primitive types.
>Couldn't you have just extracted the pieces you cared about ahead of time?

Sure, but if you discover this desire later, you now have historical data to change and application behavior to change and database structure to change. And repeat all that when you discover the next piece of more-useful-than-anticipated data.

Or you can just `alter table` and be done with it.
"When a measure becomes a target, it ceases to be a good measure." - Goodhart's Law. See also, the Cobra Effect: https://en.wikipedia.org/wiki/Perverse_incentive.

If you set up an incentive system, people will (perhaps not even consciously) start trying to game that system. Maybe there's some way to use machine learning to turn performance metrics into a black box that considers every possible data point? (Now there's a terrifying idea.)
>Do software solutions can work?

Realistically speaking it's your personal discipline and work ethic that's going to make it or break it, whether or not you have a hardware or software solution.

But I think the answer to this is "yes".

>I haven’t used emacs, would you say it is worthy?

Absolutely. Don't fall into the trap of having 4000-line configuration files. Emacs works well out of the box, and you can enable something called "CUA mode" to make the hotkeys for e.g. copy+paste work more like Windows, if that's what you want.
A single developer, armed with a correct and final specification, can build software far faster than a team. However, specifications are constantly changing, and are never complete, so the number of developers you need becomes infinite. FAANG have deep pockets, so they can push their efficiency from 99% to 99.9% by hiring another ten thousand programmers.