skysight-inc/HackerNews huggingface dataset:
Goes a bit deeper. Can you replace a source of data with another in a few lines (besides the new implementation) and not break a whole chain of dependencies and associates unit tests? (apart from "does someone knows what's going on") - i.e. code at scale.
NVME-oF looks pretty convenient to use, you need two commands (guess since this is directly attached to a switch here only one client side command) to have a remote SSD show up in linux..it doesnt show up as a mounted drive but a /dev/ device…pretty neat.
This is on my "SW Dev songlist" ever since my CS professors (Robin Dawes and James Cordy) ran a singalong event in CISC 200/210.

Others include "Under the wings of a transistor"[1] and "The Privacy Song"[2]. Also "The System Administrator Song"[3]

Also codemonkey, but others have mentioned that one already.

[1] https://www.youtube.com/watch?v=lfpYgts-18o
[2] https://www.youtube.com/watch?v=7eIUOUfhoJ8
[3] https://www.youtube.com/watch?v=eaIhKBYjTXA
In a limited way, sure. But with massive quotas that are free. That's the price of the very easiest CO2 to deal with, and the rest pollutes for free.

Either charge for all the carbon, or start harshly dropping the quotas.
That advice is absolute garage. That would be like writing a book, but you can only have four sentences per page. Maybe fine for a kids book, but any real author trying this would be laughed at, rightfully.
Your supposition about my post is incorrect.

I'm merely pointing out the absurdity of calling something published in the front of the New York Times "hidden."
I've had problems with the ideas in Clean Code for a while, but I couldn't really effectively communicate them, until I watched this video by Brian Will. I think it is excellent: https://www.youtube.com/watch?v=QM1iUe6IofM
Another misleading article regarding PoW. There are two kinds of people here. The ones that think that crypto is pure speculation and a drug/criminal related technology hence is waste in any sense, and those who believe that crypto is solving something.

It's pointless to discuss the value of decentralization here for the first group, so I have no argument here.

For the second group, the ones that believe that crypto is solving something, I will remark that the only reason we are using blockchain is for its decentralized nature. For several reasons, PoW nature is way more decentralized than PoS. A big argument for PoW is that literally anyone can join the network by transforming energy into cash. On the other side, with PoS, the only way you can join the network is by buying a PoS token. You can't mine it if you don't hold the token before. That can be a problem for people based in countries that restricts crypto. At the same time, the players who hold the majority of the tokens have most of the mining power in PoS.

If we are willing to sacrifice decentralization, then we shouldn't be using blockchain as a data structure.

The fact that the governments have printed more money than ever added to the current inflationary rates over the last years makes me believe that its worth spending 2-3% of the world energy on a deflationary asset that is not in control of any person or government. Having a trustable currency is one of the most important aspects of modern society.
If you could wave a magic wand and make three procedural (i.e. politically nonreactive) changes to immigration statute, what would they be?
Regenerative braking may be able to help, yes?

https://radpowerbikes.zendesk.com/hc/en-us/articles/36004517...
How many people have Q Clearance?
Had some consluting customers who needed a Pentium 4 era server to run trivial office DB stuff (in a custom spendy niche market application); they took my specs and went to ebay and got a cheap used IBM 1U rack system. This lived under the desk of one of the 3 people in a 16ft x 24ft office.

It sounded like a banshee because the fans were all losing bearings and the RPM wobbled. Unfortunately they were stuck with it because the software license was tied to a specific install and that was 15x the cost of hardware I'd quoted them.

They'd saved i dunno, $2k or so? buying "cheap" hardware. I heard they'd bought a $1k "sound proof" rack to house it in just before they folded up a year later. Apparently that wasn't anything near the worst business decision they'd made.
Ha! Very interesting, Thanks for feedback. The number of times I restarted a game after 1 line change + recompilation..
My dream e motorcycle - https://www.zeromotorcycles.com/
libgen used to have a section for searching for scientific standards, but it seems to have been removed.
- Aldous Huxley, Brave New World Revisited

"The Institute for Propaganda Analysis was founded in 1937, when Nazi propaganda was at its noisiest and most effective. Under its auspices analyses of non-rational propaganda were made and several texts for the instruction of high school and university students were prepared. Then came the war — a total war on all the fronts, the mental no less than the physical. With all the Allied governments engaging in "psychological warfare," an insistence upon the desirability of analyzing propaganda seemed a bit tactless."
Lite Nihilism, on the Way to Completion
The easiest way to write unreadable code is by splitting your functionality across 20 clean small functions.
If it's too heavy to fly the cost reductions don't matter. There are no proposed designs that use batteries that can carry anywhere near the weight of the current generation of airliners.
I'd say it's long time past recommending "clean" anything. Every time I hear someone talk about "clean" writing, "clean" design, "clean" code, or anything else I want to vomit because it's meaningless noise. You challenge that same person to define clean and they spew out nonsense. Production of any creative work, whether it's architecture, code, writing, design, etc is hard and messy. Compromises are made. I can't help but think of Christoper Alexander, IE: the timeless way - yes, there is a something there, and it tends to be minimalistic, but is that "clean?" I just want to have conversations without pithy language.
please see my comment below in this thread.
Airplane engines are really expensive. If the electric plane is significantly cheaper, it could be beneficial to eat the lower utilization. Also bigger batteries don't necessarily charge slower. If you have more cells, you can force more power into the batteries. The charging cable will be massive, but that might be acceptable.
The "router kill" problem is a problem with those routers, not with IPFS, or any other chatty program for that matter. That said, IPFS is chatty and as such not something you'd run on a dial-up line. ADSL 4/1 or higher would be fine though, as long as you get a router which can take the load - just find something that can run OpenWRT and has enough memory and you're set.

Of course you don't need to run IPFS to get at IPFS-hosted content, there are plenty of gateways out there (one of them hosted by Cloudflare). Run your own node if you want to have full control over the path between IPFS and your instances, if you want to contribute to the decentralisation of the 'net or if you just like to tinker.
I have the same issue. I want to use SIMD to do ANDs between large buffers and also be able to detect if a buffer is empty (all zeroes) after an AND. It doesn't seem possible to do this without iterating over the entire buffer again because vpand() doesn't affect the eflags register.
I haven't read Debt yet but I have a copy in front of me. Yours is the second critique here that seems to be based on a misreading or misunderstanding of the work.

You've not fully quoted Adam Smith:

It is not from the benevolence of the butcher, the brewer, or the baker, that we expect our dinner, but from their regard to their own interest. We address ourselves, not to their humanity but to their self-love, and never talk to them of our own necessities but of their advantages.

Graeber's refutation, in part:

The bizarre thing here is that, at the time Smith was writing, this simply wasn't true. Most English shopkeepers were still carrying out the main part of their business on credit, which means that customers appealed to their benevolence all the time.

There's nothing disingenuous here. Benevolence (mutual trust and an interest in both one's well being and the well being of the other party in the relationship, informed by some knowledge of one's own needs and the needs of the other party, if you'd prefer to unpack it) is needed to establish a credit relationship.

None of this seems like "complete batshit." Some of the stuff that comes later might be, I haven't read it. (have you read it?)
I’m sure Google wonders the same thing, given that it’s had like five different names over the years.
Only if said functions are illogically split along non-obvious boundaries. Very frequently, though, I find I can break down concepts to two-three statements in a way that makes it very concise. But also not a hard rule, because there are cases when long-and-drawn-out work as well.
I’ve had both white collar jobs and a blue collar job and I experienced more camaraderie while at the blue collar one.

I think it was created by an us vs them mentality (where “them” is management).

We would be out in the field under all weather conditions while management would call and give us orders over the phone from a comfy, climate-controlled office, and then go back to Skyping other office workers (or whatever app it was at the time).

With each of my white collar jobs I’ve had a boss but he sits down the hall from me and we both sit at desks and eat at the same places. There’s less separation, but there’s also less camaraderie among my team.
Suggests Manjaro Linux for now

> Steam Deck is running a different OS than Manjaro - and with the setup we've just shared, things specific to Steam Deck’s OS like gamescope and gamepad-ui cannot be tested for. We will be following up soon with an image you can use with your test machines that will incorporate these things. Once this is released, you’ll have an even more accurate test environment as compared to a Steam Deck.
Urban density can also mean multi-polar moderate urban density. With many smaller more dense villages scattered around a less heavily used countryside.

That also avoids us all taxing the same few nearby hiking trails like I see in some urban areas.
Being rude in your apology comment for being rude isn’t helpful. :P
Multi hundred to thousands of lines of code in a single function that are pure spaghetti code used to be the norm in my early career.

I was certainly guilty of it at times.

The clean code movement has drastically improved the quality of most projects I’ve seen.

I see plenty of garbage but nothing like 20 years ago.
The body is not a machine
I hate to be the bearer of bad news but even a <$1000 road bike with drop bars and 25-32mm tires can hit 30-40mph in the hands of novice/moderately experienced riders assuming they have a decent baseline fitness and either some straight level road or a long downhill run. If you've got a 52x12 gear ratio and can spin up to a cadence of 90RPM you'll be traveling roughly 31mph. Spin up to 110RPM and you're pushing 40mph.

The only difference is the experienced, lycra-clad cyclists with expensive bikes just get up to speed faster, maybe with less of a tailwind or downward grade. However, unlike their speedy novice kin, they (should, in theory) have better bike handling skills.

Overall, I think a strategy of banning with people the highest cycling skills from bike paths seems like a bad idea. Sure, you got weekend warrior dentists with fancy expensive bikes but their mediocre fitness level doesn't allow them to really extract significant benefit from their high-end cycling equipment. Their fancy aerodynamic carbon fiber bikes are probably only getting them a few mph over a classic steel frame. For more serious enthusiasts and professionals, those seconds matter... for everyone else it's just a flex.
I kind of agree on some level. The amount of work required doesn't necessarily justify the benefits. Especially for non-critical features.
WhatsApp is hiring in LA! Come learn more about WhatsApp!

#WhatsApp Engineering: Connecting the World Privately

Event: Wednesday Nov. 17, 2021

Join Meta’s WhatsApp Team for an inside look into the work they do and the challenges they face. We look forward to sharing with you how we empower small and medium businesses to succeed through WhatsApp payments.

I hope you can make it!

Sign up Now: https://lnkd.in/gmpggR3x
#MetaLife #WhatsApp
I’ll take a 100 line commented function over one that delegates to a dozen other methods that aren’t used anywhere else. The more functions you add to the mix, the less clear the logic becomes and the easier it gets to break things.

Abstractions have their place, but the evolution of my 15 year career has led me to use them as a last resort when I find myself needing to copy code more than twice.
The Greatest Unsolved Heist in Irish History
A Q&A with Moriba Jah
You can use DI in Python too--it's an architectural pattern that can be used in any project regardless of language.

I've never seen or used autoloading in Python. What would the use case for that be? I guess it could be "convenient" to avoid imports? That seems like a bad idea to me and not very "Pythonic."

I'm not sure if this is relevant to your comment, but I've seen people abusing sys.path in Python projects instead of setting up a proper package and installing it.

Modern Python package/dependency managers like Poetry make this nicer/easier than the old school setup() approach and they also create lock files.
strictly spoken: no. I mentioned the time it is around and not decayed yet. I didn't stress radiation, did I? Plutonium is very toxic. No more after decay, I guess. But that takes time as mentioned.
My concern at those speeds is traction. I prefer fat tires so a bit of loose gravel or a pothole doesn’t ruin my day.
Sounds like so called "FAANG" companies that OP mentions have a smug sense of superiority.

If you're a good engineer who wants to make a real difference in the world, then I ask why not work at different company with less technical aptitude? You can make a far greater impact solving their problems instead of trying to stand out in a technocratic cult that gaslights you and suppresses your creativity.
I have to warn you, though, that not all Stans Rogers are pleasant to listen to. I come from a family full of 'em. Might I suggest Garnet or Nathan as an alternative?
These little functions seem like writing a book with just [4]

4* footnotes
Mini ice age? Why the Sun will lose 7% of its power in about 30 years
22 mph = 35 kmh. The average speed of Tour de France is 40 kmh: https://www.procyclingstats.com/race/tour-de-france/2016/gc/...
Where? Variables are a language semantic not an implementation detail. A temporary variable is just a new symbolic name. You may be thinking of temporary storage
Or, My Life With A Motie
According to Twitter, Twitter’s algorithm favours conservatives
The way to stop drunk driving is for local prosecutors to indict drunk drivers in accidents for attempted homicide, and for local juries to then convict. Word will get around fast.
At any given time, only about 3-4 SSBNs are out on patrol. The rest are in port or undergoing refits. Step one is to hit the ports, so you only have to worry about the 3-4 that are out. The subs patrol in defined patrol boxes which are roughly known to everyone.

Then you knock out the E-6s, E-4s, and all fixed VLF transmitters to remove VLF comms capability. Then you knock out, at minimum, the AEHF and Milstar satellites, but I've heard the SSBNs now can send up an Iridium buoy, which is good, that is a lot of satellites to take out. I don't know the feasibility of that. This buys some amount of time before a launch message can be received by the sub.

Now we would presume that before such a strike, the locations of the patrolling SSBNs are known. There are a number of new types of sensors such as green lasers, enhanced sonars, satellite wake detection, even antineutrino detection, about which some has come out in the open literature. There is also the emerging possibility of swarms of sonar equipped underwater drones that could aid in detection.

As for destroying the submarines, that could be any combination of attack submarines, underwater drones, aircraft with torpedoes, or aircraft with nuclear depth bombs.

It's also instructive to think about how a potential pause due to comms unavailability could affect deterrence as well, since an adversary could launch a first strike limited to military targets, and if the SSBNs were alive but out of communication, an adversary could threaten a follow up attack on cities if the remaining SSBNs did not surrender, and this would be an extremely difficult ultimatum to refuse.
As someone who regularly inherits functions that are 300 lines long, I'll take 20 clean small functions over that any day.
Oh I don't think it's necessarily a bad thing at all - just that it is definitely not the case that you can comfortably comingle normal bikes with those lanes.
…until somebody makes it a lint rule, and you are tasked with making the examples. :-)
It's interesting because it contradicts the more nuanced opinions of renowned developers like John Carmack.

http://number-none.com/blow/john_carmack_on_inlined_code.htm...

Setting aside the lesson, I find Carmack does a wonderful job articulating his argument, whereas the Uncle Bob's put a lot of weight on an appeal to authority.
Jet aircraft use jet fuel, not avgas. Avgas is really only used by small GA aircraft and the FAA recently approved many of them to use unleaded avgas.
Clean code is specifically a book about how to write code well. This isn't criticizing writing clean code, but specifically what that book recommends programmers do.

I wouldn't say the mission of trying to create "clean" code is a bad one. Certainly there is terrible code to read and maintain, which implies there are good ways to write code.
Exactly why we offer the services we do to make sure that everyone has access to the tools needed to get the job done
I'm not exactly sure what you're asking here, but the point is that "to machine precision" is relative: if f(x) and g(x) are O(1e200), then the absolute error of each is still O(1e185). However f(x)/g(x) will still be very accurate (with absolute error O(1e-15)).
So I can be a Hacker News superstar not based on people reading my comments on the discussion page but on the /comments page. I never thought of that!
I haven't seen that and I've seen very close contractual relationships between Canadian contractors and US companies but unfortunately because this concerns Canadian law, I can't comment.
Even logical splits impede readability, because they require tracking and navigation during reading. Every new API has a cost.
I write concise procedural PHP with 0% test coverage for all my personal projects. They handle easily 2-3x the traffic of $dayjob and don't fall over on a regular basis.

We need to go back to writing code like we are on resource constrained systems, which forced you to be explicit in what you did and think about why you were doing it.
I've grown to rely much more heavily on integration level testing for that exact reason. One still has to mock certain dependencies such as 3rd party APIs but it's far more reusable to figure out how to do that imo than figuring out how to mock every single class you're interacting with.
Most places require certs/degrees to be related to your work or beneficial to the company. They aren't likely to pay for a degree that you would end up leaving the company to use. Not to mention, the cost of a JD is significantly more than most degrees.
I leave that the the module, I believe it uses client cookies by default, but I use a persistent server cache on disk (the session tokens are stored encrypted)

https://github.com/zmartzone/mod_auth_openidc/wiki/Session-m...
I'd love an Electric Hot-Tub Bakfiets, but the batteries don't last long, they aren't very maneuverable, and they spill a lot around corners.

Those things are amazing. Here are a few photos I took of a dude in Amsterdam riding a bakfiets carrying an outdoor urinal.

https://imgur.com/a/nq2rnBW
The question is, can trains work on batteries or hydrogen or do we need the electric infrastructure, all those cables above it. Also, do we really need tracks? Can't we just make a dedicated road with self driving cars or buses, which is possible on a dedicated road even today?
I'm curious: if your don't mind sharing, what attracted you to living in Portugal as a foreigner?
"Despite its name, FSD is not an autonomous driving system"

Really, it's criminal at this point.
I've seen a lot of Go code where things are chopped or abstracted on purpose just to make it look nice on "paper" but it is actually really hard to follow what the code does
Thank you! This is a truly genuine product that made my life much easier and so all I wanna do is share it with the world and make everybody else’s life a little bit easier as well
Lisp is very good even if you write all your code into text files and invoke a build command before running it, which you do in a completely fresh image.

If my only way of debugging were to upload the compiled image onto an embedded target and observe the effects of print statements a serial log, I would still overwhelmingly want to be using Lisp.
> In the big developer markets, the price of the device isn't a huge factor.

You might suffer from SV syndrome. I live in a small town in the east of France: anything Apple is unaffordable (without major sacrifices and uncertainty to be able to replace the machine if it breaks too soon).

Right now if I had to replace my current computer, I would have about 600€ total budget. And France isn't exactly a third world country (but we're doing our best to get there ;)
I am not sure where this aggressive condescension is coming from. You appear to be conflating the inherent multi-dimensionality of complex numbers with their geometric/2D spatial visualization, which came later. I'm pretty sure we are in agreement here.
Interesting question. I'll give that some thought and get back to you. What would you do?
Er, right, yes, I agree with you. It seems I got tangled up in my own explanations, sorry about that. That's what you get for writing a comment in a hurry. What I meant to say there seems to be a fraction of the population in the US who really think the US civil war was about "states rights" or whatever, and not slavery, and they get really angry if anybody suggests otherwise.
My own experience is that companies that have some sort of formal automated testing have MUCH higher quality code. A testable codebase has to be modular, people spend less time chasing bugs and can refactor more confidently. That being said there are some over-the-top testing philosophies that are more actively harmful than helpful.
A defense lawyer gave an example - if you have red pixels and blue pixels, would the added pixels between be purple, a color not present in the original image?

The answer is: bicubic, yes; bilinear: yes; nearest neighbor, no.
I mostly use Google Docs these days and, in general, I'm a fan of how it's focused on the 90-95% use case. But every now and then I run into something it just can't do or that it does relatively poorly. (Revision tracking from multiple people in particular, complex section breaks of various kinds, doubtless other things.)
Good article and the author makes some great points about whether or not you get funded based on patent filings.

I’m curious though, in the article the author mentions an “s-curve” relating to patent costs and protection said costs are likely to yield, but no actual numbers are provided. The concept makes perfect sense, but for those of us who’ve never filled a patent before, what’s a reasonable range that would generally fall into the sweet spot in the graph? Obviously it depends on the thing being patented, but some general range would be nice as a point of reference.

Are we talking $10k - $30k roughly? Higher?