skysight-inc/HackerNews huggingface dataset:
> But the students with Windows laptops did not have these kind of problems. Although I can think of a lot of issues, in this "very niche thing" Windows worked "out of the box" and Linux didn't.

Yes, for this very niche thing Windows works out the box. For other not so niche things, Linux works out the box. For the not so niche thing of "set up a LAMP stack" and similar, Windows is pretty poor at it, compared to using apt-get.

Also, for this very niche thing, I'm pretty certain that the arduino IDE I installed from the repository worked out the box for serial port access.

I'm guessing that you pretended the Linux boxes were Windows, and installed on Linux by downloading it off the arduino distribution site?
Fwiw, I took the approach of having a hard separation between stateful and functional code partly so that I could dodge most of these hard questions around mutation tracking ;)

The stateless code can be really aggressively inferred, and even re-ordered, inlined, detected as dead and thrown away, memoized, whatever else is useful. And then the (hopefully small) stateful code can just be typed at roughly the same level TypeScript already does
Haven't read the article fully, but the field of "mycoremeditation" has been around for a while and has been used for treating certain scenarios of toxic cleanup.

See:

Howard Sprouse of https://www.theremediators.com/

2005 paper - “fungal diversity and use in decomposition of environmental pollutants”
https://www.tandfonline.com/doi/abs/10.1080/1040841050030406...

1992 Wariishi - guessing https://www.jbc.org/content/267/33/23688.full.pdf, though ‘Wariishi H’ has a bunch of papers https://scholar.google.com/scholar?hl=en&as_sdt=0%2C48&q=War...
Nice rejoinder. Cannot disagree with any of it.
It’s nothing new. Remember all the crap the “tide pod” challenge got? I see no reason the place most these trends spawns gets most of the attention.
Unique. It shows in learning, memorizing, skills, toy preferences... The wiring of the default neuron network and inner workings are (at leas partly) inherited.
and this keeps changing too!

in Safari, things constantly switch between the Share icon, and the "Aa" menu in the URL bar!
Just don't try running any bash scripts written for running on actual linux systems though! If you're doing more than a smattering of CLI stuff, WSL is absolutely worth installing (and enables use of docker etc.)
As i recollect it, they had been launching product after product and were in the middle of launching pebble time 2 when they got bought. That's a far cry from "virtually dead"
> Okay. Does this imply that I should see similar SSD read speeds when reading 10 blocks contiguously vs randomly?

Yes, with some caveats:

1. Not sure if you can read block-aligned data from high-level code.

2. There might be some read-ahead heuristics in the I/O stack.

> techniques people have used to incorporate that into the design of their structures?

I haven't kept up with the research. You can try searching on scholar.google.com for "I/O-efficient" algorithms and data structures. Also "cache-oblivious". There should be some good surveys now, since this is not a new research area.

Note that most of the algorithms that were optimized for disk reads did not typically take into consideration sequential vs random reads. The model simply assumed that reading a block of size B has a unit cost and the performance of algos/ds was expressed in terms of the number of these units.
You've somewhat described me and my high school friends. We were always creating different projects for fun in high school & university (software, websites, videos, music, podcasts) and in later life we've all gone "indie" in our own ways. I'm a solo indie dev, my friend founded a web development company and ran a solo subscription-coffee-delivery business, and my other friend turned those early VHS videos into a TV show & successful YouTube channel, standup comedy career & series of books. We all got degrees as well (CS, mathematics, engineering, design).

But I don't think it's essential, or that it works that way for everyone.
If it's filled with helium, I guess it won't scale to replace the thousands of aircrafts in operation due to the finite amount of helium on earth.
If it's filled with hydrogen, then people should remember the Hindenburg tragedy (and R101 too, glorified in Iron Maiden's "Empire of the clouds")...
You will like this https://ayende.com/blog/posts/series/195587-B/implementing-a... and https://www.reddit.com/r/databasedevelopment/ where it talks about this kind of stuff.
I still can't find a list of all the command key shortcuts for Windows. Googling it yields lots of pages of partial lists.
> editor support should not become a prerequisite for existing code to be comprehensible.

I don't know... i'm frequently torn deciding between whether i think this is true or not.

On another note, readability of code is less about coding style and more about familiarity.
> devaluing the service employee that helps resolve your self-checkout issues?

Certainly I don’t devalue the employee, but I don’t value the work they do. This is mostly irritation at not being allowed to just fix my own issues.

> there will always be the need for traditional cashiers, along side of self-checkout folks.

Counterexample, a large convenience store near me just last month tore out all (all!) of the legacy checkout systems and replaced them with about five bays of 4-8x self-checkouts, of different sizes. There’s no option to have a human check you out anymore.

I think it’s glorious.

> IMO - even the most entry-level and lowly of jobs at 40hrs/week should be able to get someone by.

I agree, but I think we’re moving into a world where cashiers (1-to-1) are like elevator operators of old… extinct.

Seeing that local store go all-self, and a few others looking like they’re following suit slowly, has really opened my eyes on how far companies will go to eliminate jobs if paying a true living wage isn’t reflected in the value they provide.

Traditional cashiers are basically automatons which drag items across a barcode scanner, and count change. Shouldn’t come as much of a surprise that those things can be more cheaply performed by a machine, or foisted onto the customer.

And maybe it’s good that those jobs are going away? I’d rather society have to answer some hard questions about UBI than keep humans working in jobs that aren’t necessary. (See: Oregon gas pumps)
I thought undo is “violently shake the phone”
What shift is Angular 2+ undergoing? In my experience it’s been remarkably stable since the first couple of releases. I’ve often wished they were more willing to support newer paradigms (functional components, observable inputs, etc.).
These features aren't nondiscoverable; discovery just takes place outside the operating system, in communities like this one. Good designers know that communities are a constant of the power user UX just like a settings menu or instruction manual. You don't have to pollute the UI with hints and copy about every little thing because power users are their own discovery engines.
It depends if the same pressures that lead to sprinkles of locks will lead to sprinkles of unsafe.
I've been running Linux on Dell XPS laptops with only very minor issues since 2016. Currently on an XPS 13 9310, everything works perfectly.

...and that's with debian sid, a btrfs rootfs, and rebooting into whatever "git pull" in the kernel git repo gives me most weeks. I do that because I want to help fix bugs, but I honestly haven't found anything to fix in years: it just works.

Interesting that everybody with problems in this thread seems to be using thinkpads. Maybe they aren't what they used to be?
> also came with a manual that documented literally everything

Note that iPhones have a manual too, it’s easy to navigate and quite comprehensive. E.g. here’s a page that describes the “trackpad” action: https://support.apple.com/en-gb/guide/iphone/iph3c50f96e/16.... .
A reviewer can usually tell which code is easier to understand side by side, even when it's yourself as the reviewer.

Applying rules like these to your code may or may not result to cleaner code, but that's a testable hypothesis.

I've seen all too often some clean code recommendation or other applied to code and it gets harder to understand. And the person doing the refactoring (often myself) gets caught in sunk cost.

Now my recommendation is always:

1. Use your intuition to predict if a change makes code cleaner.

2. Try to make that change, and be open to doing things a little differently that you first imagined.

3. Test your hypothesis to see what others think. Decide what to do, but be mentally willing to throw it away.

4. Repeat

Articles like this are good resources to help train your intuition, but there is no substitute to developing your personal and team "flavor profile" for what styles suit your way of thinking.
The power struggle that’s roiling George Washington’s student government
Yeah, but these little 5 line functions with one caller whose only purpose is to avoid a 50 line function somewhere else are almost never named well. At best, I can infer about 20% of what is going on without stepping into all those little helpers.
This is cool, but how do we prevent "good" plastics (for example buried PVC pipes and fiberoptic cables) from being eaten in the future, and only bad plastics targeted?
Why would availability of high quality development machine of someone in China change anything for me, software engineer who works on-site, in Europe?
No this is not how data is lost. Data is lost because people buy new laptops or other devices and let the old ones rust, thinking, hey if I ever needed it, I can just boot up the old one. Far more chance of losing your data that way.
Israel Installs Remote-control Crowd Dispersal (grenades, tear gas, rubber)
> It's not stating that you should start by creating lots of little artifacts before you have a great plan (bottom-up design)

Look, you can disagree with his conclusion, but that is exactly what he's saying. The post is long but it's very clear and methodical about how he's suggesting code should be designed and written. I happen to agree with him.
It is pretty cool. py-spy has also been doing this for a few years

https://github.com/benfred/py-spy
>I can't wait for this to pan out. We're turning into beings of thought, where expressing ourselves will be as easy as speech.

But who will listen to us, when AIs can speak better than we can?
>unlike the regular use of Back, you can’t Forward to undo the Back in that situation....

If you've enabled Shake To Undo in Settings>Accessibility>Touch, then you can undo/reopen the closed tab.
They are great if you are looking to use electricity to heat because they are 3 to 4 times more efficient than resistive heaters. It depends on the price of electricity and other heat sources in your area.

If you live in the north where temperatures go below -15 Celsius, air-to-air units aren't as great because they lose efficiency as it gets colder outside. My heat pump has a COP of 3, meaning it can generate as much heat as a resistive heater using 1/3 the electricity, but it shuts off at -15 Celsius because below that point it is less efficient than resistive heat. If your heat pump has a COP of 4, you might get to -25 Celsius before it is less efficient than a resistive heater.

Better, but more costly, heat pumps use in-ground water, either from a pair of wells, or from a deep pond that won't freeze to the bottom, or from many meters of water pipe buried deep enough beneath your lawn to not freeze in the winter. Because of the depth, they always have access to the earth's heat so they don't lose efficiency in the winter.

The Technology Connections YT channel has a couple of good videos about how them:

1. https://www.youtube.com/watch?v=7J52mDjZzto

2. https://www.youtube.com/watch?v=7zrx-b2sLUs
Wow, these are great! The back tap feature seems really handy, and it even worked with my case on. I guess they're doing it by sensing phone movement/rotation rather than some sort of touch sensor on the back.
"can’t that time be spent instead on making desktop apps as sandboxed, OS compatible, easy to download and execute as web pages"

It can! This is (sort of) the vision of my current company [1]. Its founding belief is that web tech is reaching end of life and it's time for our industry to start looking at what comes next. The long term goal is to create a new competitor to the web, but not all at once. Instead we're doing it via incremental iteration on current desktop development. Starting with better distribution tools we want to work up to sandboxed, streamed, cached, crawl-able, embeddable app/document hybrids just like the web has but with very different architectures that benefit from what we've learned from 30 years of the web.

The starting point is to make it as easy for people writing desktop software to distribute their work cross-platform as it is for people making static websites. The resulting UX is that of a normal desktop app as far as the user is concerned but from the developers perspective they just grab the tool we've made and run "conveyor make site". Out pops a set of files you can upload to any static HTTP server, which are fully signed, notarized and self updating for every desktop OS. It can do this because all the packaging and signing code is implemented by the tool itself, so there are no native dependencies and it can thus be very convenient to use.

For people who like the React model an interesting way to use this is to write an app using Jetpack Compose [2] for Desktop [3]. You get a fully functional/reactive UI toolkit but without needing a mishmash of HTML/CSS/JS - it's all just Kotlin. Your Android code can be shared directly with the desktop version (with layouts for larger screens of course), and you can then go ahead and start integrating with native OS capabilities as you see fit by directly invoking their APIs. For "mobile first" companies that develop a web version primarily for desktop users, this can eliminate the need to build a web app entirely (or you can use a minimal one for search engines). Next week we'll be releasing an update that improves support for Compose Desktop apps, in fact.

There's more work to do on making distribution trivial for everyone, and of course you can use Conveyor with Electron apps if you want to - the goal here is to be layered so the lower levels are usable by everyone including web developers, and the platform gets incrementally more opinionated as you go up the layers. Once the core product has matured further we'll be exploring an experimental architecture in which RDBMS' fully replace the web server, and what advantages you get from doing so.

[1] https://hydraulic.software/

[2] https://developer.android.com/jetpack/compose

[3] https://www.jetbrains.com/lp/compose-desktop/
Absolutely correct. Funny coincidence that happened to me:

Got my Steam Deck on the same day I got an email informing my that one of my university supplied Macs had to go back and be surplused because of our end of life policies. Now, I've typically been able to keep pretty much every computer I've been given if I have a reason (and I teach IT so I always have reasons)

Upon informing them that I wiped Mac Os from it and have been running Linux instead, IT services was -- "Ah, okay, fine -- bring it in so we can make sure it's updated and you're good to keep it. Otherwise it would have to come back."
Easy, just look at what Facebook offers as a “profile border” ;)
When I tell people about the long press spacebar feature they react like I’ve changed their (mobile) lives.
Why high-end Chromebooks exist
If you are using a converter to change HDMI to your DVI monitor then that is probably why.
Sounds like a rebranding of the much-reviled Clippy.
Yeah, I bypassed it with Firefox's Reader Mode, but the original page slowed FF down to a crawl.
Taking into account the comment by tlb@ about "do you really want that?"

If you really want that then I think a good keyword to search for is "External memory algorithms" (or also I think secondary storage), e.g. this 2001 survey:

External Memory Algorithms and Data Structures: Dealing with Massive Data

https://users.cs.duke.edu/~reif/courses/alglectures/vitter.p...

I think there is at least one other survey out there which would have references. Of course not all these algorithms have actually been tried in production :) Which is what I tend to look for

And this is pre-cloud, which changes things a lot for "massive data"
Because that is there experience and has been my experience too. Except we can't predict when a user wants to go install a old disto with a 7 year old kernel and say "no it doesn't"
Bye bye jq and your awful query syntax.
AI Clippy!
I fly business on air France quite often (usually Europe to/from south America) and their service, food, routes and reliability have been consistently the best experience I've had in comparison to all other airlines. Not to mention their amazing CDG business lounge.
"Usable" is an overstatement, but we at least gotta fight the fight.
While I'm not going to go collect a bunch of APL programmers to confirm this (where would one even find them?), I highly doubt that claim. Knowing a language doesn't mean dense code is suddenly obvious.

This is a silly example, but years ago I wanted to prove that you could write a non-trivial program in python using a single expression (because python's lambda only allows you to use expressions, not statements). And I managed to do that. And it's hideous. Any python programmer could theoretically understand what this is doing, but I doubt they would. Bonus points if you can guess what it does without running it!

(lambda:
not globals().__setitem__('sys', __import__('sys'))
and not globals().__setitem__('this', sys.modules[globals()['__name__']])
and not globals().__setitem__('time', __import__('time'))
and
#program
[setattr(this, k, v) for k,v in {
'set_color': (lambda c: w(['*', ' '][c])),
'abs': (lambda t: (int(t) + (int(t) >> 31)) ^ (int(t) >> 31)),
'w': lambda x: sys.stdout.write(x) == 0,
'smash': (lambda t: -((t * -1) >> 31)),
'color': (lambda n,k: set_color(smash (k & (n - k)))),
'col': (lambda n, k: k <= n and not color(n,k) and col(n,k + 1)),
'row': (lambda n: (
not w(' ' * (40-abs(int(n/2))))
and (col(abs(n), 0) or True)
and not w("\n")
and (abs(n) < 63 or n < 0)
and not time.sleep(0.05)
and row(n+1))),
'triangle': lambda: row(-60)
}.items() ] and triangle() )()
Staring at a filtered, "beautified" version of yourself trying to capture the perfect selfie directly causes facial dysmorphia by making the you in the mirror look ugly compared to the you in the phone display.
Although it can be an issue because of mass data collection and analysis, I think it’s a less direct problem: those who follow popular tiktok trends, especially the dumbest and most harmful ones, tend to have pretty limited following and thus reach.

Their “direct” nuisance is the bigger concern.
The Man Who Explains Italy
I wish those were table stakes for the entire electorate. But sadly I think they’re considered partisan issues.
What laptops brands do you buy? Why?
Almost any hardware you get today will have standard components with Linux support. Can you give some more examples of which companies and what components you're referring to?
Funny that, when my beefed up XPS 15 finally died, I went on eBay on got one of those Thinkpads dumped by corporations for like £120.
I put in the NVMe drive from the XPS and... it was working out of the box.
What is surprising that it feels much faster, fans don't make as much noise that despite weaker CPU and 4x less RAM.
I really like it.
I got an M1 Pro as well, but Thinkpad will be a nice backup machine.
Of course it's going to work, regardless of the reason for inflation. Lower demand and prices will come down. Neutral stance monetary policy is meant to grow the supply of money at the same rate as the economy grows in the long run (+2%), so if there is inflation beyond that it means the money supply is growing too fast for the capacity of the economy to produce, even if that's due to other reasons. Neutral stance monetary policy does not live in a vacuum and the target never stays the same, so I don't know what you mean by inflation is not caused by monetary policy. It's monetary policy being run incorrectly for the circumstances.
Archived: https://archive.ph/2022.09.23-005201/https://www.newyorker.c...
> I see a troubling trend with some coworkers where they seem to stretch the limits of time and space to make every line as dense as possible, usually using lodash. I think it is a point of pride for them, but I think it's obvious that everyone's life would be easier if they just wrote their code out "long form"

Concision can be used for emphasis as verbosity can be used to obscure.

> Instead, I find myself having to re-write ultra-dense blobs of code in order to debug or even simply understand what's going on.

Is this problem because their method is inherently nee complex or is it due to lack of familiarity?

Perhaps they debug that code differently then you do and it's incompatible with your previous mental model?
Good question. There are quite a few packages that I have tried out: Prisma, TypeORM, MikroORM. There's probably more out there that I haven't tried. People love creating ORMs it seems!

When I was trying these out, they always has something missing, and it varied on the package.

* Something wouldn't be type-enforced (=> auto-completing) according to what fields my data model(s) have

* They wouldn't support paging on related data (that is a tricky one, requiring rather complex lateral joins

* They would expose a bit too much of their query plan framework to the user

* They would have their own "schema language" that required compiling (i.e. like Prisma), which I don't particularly agree with.

Most of the missing pieces were quite core to the ORM I felt. Because of that, I didn't want to go in and try to wrestle with their core architecture or principles, as I find that a low value-add to all parties. Instead, creating my own enabled me to put my own beliefs/style into an ORM and learn something in the process.

Thanks for your question.
It already kind of is crippled, compared to the Android app. The Garmin iOS app doesn't (can't?) support sending a quick reply to an incoming text message from the watch, for example, something you can do when connected to an Android phone.
> Good designers know that communities are a constant of the power user UX

Maybe power users are a part of those communities because they can't figure out how to use your product in the first place?
Yes. But also I think it's the sort of white elephant project that can only thrive in a ZIRP environment. Once money has an actual cost, and investors require actual returns, there are 1000s of better business models than this.

Hopefully there is consolidation & regulation in the space before we have too much testing in public gone wrong.

In my mind the entire self driving industry is trying to apply ML/AI practices from use cases that just require ~51%-ish "right more often than wrong" precision onto driving which needs 99.999+%.

If some of your phones images are mis-tagged as a cat instead of dog, or some of your cat photos are not tagged as a cat, it's not a huge issue..

In quant trading as long as your trade makes money 51+% of the time, you are going to accumulate returns in the long run.

Car license plate readers for speed tickets / tolls / etc have a similar "pretty close / pretty good" requirement.
I’m currently on a short bulk so getting about 200g a day, 50~60g is my breakfast (this is from plants)
The GE XA100 is intriguing, not that it would be available for a corporate jet.

https://en.wikipedia.org/wiki/General_Electric_XA100
https://www.geaviation.com/press-release/military-engines/ge...
I don't think it does, maybe only some builds, as my X230 worked with no issues and no extra settings anywhere.