skysight-inc/HackerNews huggingface dataset:
> But that's definitely the case for him and for several vim + tiling users that I know.
> Then every single step requires planning for the basic moves.

I think you are imagining things, because that makes you feel better. None of this is true for experienced vim users. It's true for novices, but that's the nature of learning. I know you won't believe me, but I don't really care.

> They will never say anything but good things about it.

That's not true either, as every tool has pros and cons, and every vim/tmux/i3/arch/linux user is aware of that.

Look at YT/Twitch for any good Vim user, like Primeagen or TJ Devries, or basically any Vim-related conference talks and you will see that your understanding is flawed.
I used to have a control panel [1] with physical switches for various tasks on my desk. I built it mainly to switch between multiple VPNs and switch bluetooth audio mode between high-quality unidirectional A2DP and low-quality bidirectional HSP for meetings, mounting network drives.

But once I moved from XFCE/xubuntu to KDE (on gentoo, later opensuse), I noticed I don't need it anymore. Bluetooth switching works automatically and NetworkManager has nice widget, SMB/SFTP works out of box.

Now it become a toy space rocket control panel for my kids.

[1] https://tomas.janco.link/projects/?control-panel.html
I travel a fair bit for work. A while ago I bought a thin tenkeyless external keyboard (Cherry Stream - it has laptop-style scissor switches). Being tenkeyless it's small enough to fit comfortably into the bag with my laptop yet has full sized keys and layout. Makes a huge difference (along with a laptop stand) to using a laptop to work in a hotel room.
::: MIC ::: too often I heard people in Zoom / Teams / Meet sounded so bad, at times I couldn't hear what they're saying.

Cheap gaming microphones, like my HyperX Solocast, is massive change from those. It's probably the best bang for the buck of all other accessories that I bought so far.

::: NOISE-CANCELLING USB MIC DONGLE ::: sometimes my work environment can be very noisy and nothing I can do about it. In those cases I plug my mic into Asus Noise Canceling adapter - and instantly all the noises are gone: https://www.amazon.com/ASUS-Noise-Canceling-Artificial-Intel...

At $35, it's an absolute steal.

Unfortunately it only accepts 3.5 mm jack as input - so no joy for the USB mics.

::: EARPHONE ::: when I'm mobile or need to use my Asus Noise Canceling dongle above - I use Apple Earpods.

It's light, it's very comfortable inside my ear for prolonged periods, it sounds amazing, even better than some of my expensive wireless headphones, and it include mic as well, a good quality one too.

At $16, it's a steal: https://www.amazon.com/Apple-EarPods-3-5mm-Headphone-Plug/dp...

::: WEBCAM ::: at first I was like the others, and use Logitech's webcam.

Soon I found out that even its most expensive one suffer from stupid AF (autofocus) problem - it kept making my face out of focus at random times, it's so embarrassing.

So after checking many reviews; I bought Nexigo N60 - and I still can't believe a webcam this cheap actually produces better picture than my previous more expensive webcam, wow. And no more stupid AF. And it works straight away in Linux.

It also claim to have noise-canceling mic, but I haven't tested it yet.

https://www.amazon.com/Microphone-NexiGo-Computer-110-degree...

::: PORTRAIT MONITOR ::: I bought a cheap HP E190i monitor - which can be turned into a portrait monitor.

Suddenly editing documents, Terminal/SSH, etc become much, much more comfortable.

::: Ultrawide Screen Monitor ::: it's a game changer - bought LG ultrawide monitor, and it's so comfortable.

I can put 2 portrait document side-by-side, and quickly compare them, or reference from each other, etc.

Not to mention editing those wide spreadsheets is becoming so much more bearable now.

It's also so much nicer watching movie and playing games using it.

::: GAS-SPRING MONITOR MOUNT::: use it to mount the ultrawide monitor above ; and it's even more comfortably positioned + frees up so much desk space.

::: VACUUM-COOLER ::: my brand-new laptop used to suddenly slowed down to a crawl at times, not only puzzling but of course also, very, frustrating.

Turned out it's unable to expel heat efficiently. Damn this thin laptops.

So I plugged a vacuum cooler on its exhaust port - and instantly it no longer throttled the CPU at random times, yay.

It's now able to consistently run at its peak frequency.

When gaming though it still overheats. I've bought a Carbonaut pad, from Thermal Grizzly. It's supposed to conduct heat about 5 times better than a thermal paste, so hopefully it'll help.
Oh C++… The level of excitement over pointless triviality you generate never ceases to amaze me.

Some nerds somewhere are getting all giddy about this silliness when it would just be objectively better to not have this silly quirk in the first place and to write it like a sane person who recognizes the great social benefits of maximizing understanding:

auto idx = index();
return p[idx];

Clever generally just means “bad”. Why people get so excited about it mystifies me…
USA obviously
I was expecting a pop, maybe a blown out door, but I was NOT prepared for all that destruction. It definitely seems like something with more flammable liquid than a lighter was in that dryer.
Location: Redmond/Seattle, WA

Remote: Yes

Willing to relocate: for an amazing role

Technologies: Python, Java, C, MIP optimization, datacenter infrastructure

Resume: www.linkedin.com/in/ miyangyaqi/

email: miyangyaqi ( at ) gmail.com

Open to learning anything! Would be extra interested in getting into the Linux space or continuing working on datacenter optimization (2 yoe) or any backend honestly.
I wrote plugins for Code to add TSDoc comments to all my methods. Also, right click refactor and comment. It's nice now. Soon it will make me unemployed.
You've hit the nail on the head, it feels like outsourcing. That's what you do if you don't know how to code yourself. As an engineer, it's easy to miss how empowering this is for someone who isn't an engineer.
I wonder how people that don't read properly before doing something will fare in a world of text interfaces/ai.
You're responding to an ELI5.
Location: UK (Edinburgh preferred and London/elsewhere in UK is possible)
Remote: No Preference
Willing to relocate: can relocate to US starting May 2024
Technologies: deep learning (pytorch python and C++ api), combinatorial optimization, django, react, linux
Email: aferber6174@gmail.com
Résumé/CV links:

https://aaron-ferber.github.io/files/CV.pdf

https://www.linkedin.com/in/aaron-f-64a73980/

Enthusiastic upcoming CS PhD grad from USC who has published papers on applying machine learning to combinatorial optimization problems with applications in finance, wildlife trafficking, illegal fishing, recommendation systems, inverse photonics, and cloud cybersecurity. Eager to work on new application domains and have dabbled in tuning stable diffusion and LLaMA. During internships in Meta AI Research, NEC Labs, and Microsoft Azure, I have developed novel machine learning techniques for industrial scale domains.

I am moving to Edinburgh Scotland with my partner who will be working as a junior doctor there and am looking for positions that can help me grow and where I can leverage my experience in computer science + operations research for interdisciplinary work.
I've implemented exactly this at $WORK. We literally just set a global variable, "should render next frame", from input handlers and other important events. It's not pretty but it gets the job done. There are occasional bugs where someone forgets to set the render flag after some significant event. But the bug goes away as soon as the mouse is moved, so it's usually not a big deal. If we wanted we could also schedule a "render once per second" to bound the amount of time that visual issues would persist for.

I'm not sure how this translates to ECS architecture - probably depends on your library, but if you're in charge of the main loop it shouldn't be a problem.
For me, yes. It’s all very low effort though, mainly pinging WordPress admin paths. I’ve had a public Nextcloud instance and password manager for two years now and am not concerned. That said, I recognise it’s suboptimal and wouldn’t recommend it to newcomers.
As a response to all the sibling comments, what need is there for Twitter to change every 3 days!?
A well-made corset is a snug, comfortable, supportive garment that doesn't impede movement.
Dual arm monitors to free up lots of space on my desk and more easily hold displays at eye level so I don’t get pain.

A split ortho homebrew keyboard (helix) that I can program with qmk so that I have shift esc enter space and special keys on other layers right where I want them. Or a dedicated Ctrl-a key for tmux. It virtually eliminated my pain. The OLED screens are useless though and I retrospect I should just have skipped them. I should also have put the two arduinos in it on sockets right away because that USB port will of course break and it’s a pain to desolder it.

A “clearly superior technology” (CST) trackball in the middle of the split keyboard that I try and use most with my left hand to give my right hand a break. It’s chunky, well made, uses standard pool balls as the trackball, and can be easily taken apart for cleaning or servicing. Wasn’t cheap though.
Is there any real-world system on which defining ssize_t to be ptrdiff_t would break actual programs that exist? (i.e. I'm not asking for hypotheticals here)
You could check out Anvil.
I fail to see how their overly clever solution is in any shape or form better than the regular approach shown under "How others declare them" – except for being a "cute" "hack".
Because someone needs to be angry. The dev world is full of complacent fucks who are okay with this constant backslide of building perpetually worse software.
I can confidently say that you do not have a theory of rationality which explains the workings of an LLM.
The worst nuclear power accident ever, Chornobyl took: knowingly unsafe design and a lot of very-very bad decisions to kill a few hundred directly and a few thousand indirectly.

The only two others that even come close: Fukushima - one death, TMI - 0 deaths.

So that's at most a few thousand deaths for something like 100 Million reactor hours (napkin math, don't cite).

There is plenty of data and the data says it's safe.
To me, Zoom's killer feature is that "use system settings" actually does what it says.

In Teams, I may have "custom setup" selected, but it'll go right ahead and pick whatever it wants.
Yes -- anything that uses fat pointers and defines ptrdiff_t to be a fat pointer type that is larger than size_t/ssize_t.
Just use your digital stapler to combine files together until there's fewer than 5 million.
The investment and energy going into solving energy storage will bear fruit long before any of the many technical and regulatory hurdles in the way of cheap nuclear power are cleared. And I’ve put my money where my mouth is on this.
Artificial Intelligence Index Report 2023
> Now, why the SM-58

You also fail to mention that, presumably, if you ever need to assert yourself in a meeting you can use proximity effect to sound like a movie trailer ;-)
We just launched a beta music scanning feature at Soundslice a few months ago:

https://www.soundslice.com/sheet-music-scanner/

It’ll accept images and PDFs of music, extracting the notes, rhythms, etc., so you can play it back and edit it with our built-in editor.

It uses machine learning and works significantly better than the other products on the market. There’s a bunch it doesn’t do yet, but it’s useful enough already that we launched in public beta.
This will spread to corporates as well now. The proliferation of AI is going to make everyone more wary of data being extracted and used incorrectly.
They charge $0.002 / 1K tokens for GPT-3.5

If they charged 1 cent per 100B flops that pricing would be $35.000 / 1K tokens. They may be taking a loss, but I doubt it would be at a 1 to 17,500 ratio.

Even GPT-4 with 32k token window is only $0.12 / 1K tokens
I made a thing to have ChatGPT talk to itself
Just a fun project to feed OpenAI chat responses to itself in conversation format
Trurl: Command line tool for URL parsing and manipulation
What kind of trackball?
What actual system is currently like this?
How Slavery Made Manchester the World's First Industrial City
When I built my system the greenhouse gasses released during manufacturing and transport were offset by 1.9 years worth of production. Out of a lifetime of 20-25 years. In my quite unfavorable latitude of 59. Since then I've seen data being quoted at somewhere between half and one year.
LiCycle and GMET, and also exercising my own company’s stock options. As soon as Form Energy goes public I’ll put a significant amount of money into them as well.
My impression is that one grows headcount to get VC funding. So there is a rational incentive, albeit perverse, in overstaffing.
Always wanted to say hi.
ChromeOS will finally, mercifully, let you change its keyboard shortcuts
UTC times are unique: when a positive leap second is inserted, 23:59:60 is added; when a negative leap second is inserted, 23:59:59 is skipped.

Unix timestamps, on the other hand, are not unique.
Are they the originators of the Royal Society Lectures that continue to this day? I saw Chucky D. and several other notable 19th century academics were members.
What is the camera mounted on? Do you have a picture of the setup?
I never had that on Android but I experienced that with Apple actually! I had to get a second phone because the first one glitched and broke the developer mode, resetting it did not solve the issue. Apple support had no idea what caused the bug of course since there's no debug logs, this bug still exists right now if you are unlucky and is common on stackoverflow.

> How slow is the emulator? How many Android versions do you have to test for because of the piss poor support for OS updates from Android manufacturers?

I prefer to use my real device since it's not taking any screen space but the Android emulator is much much faster than the one from Apple, every click takes 3s on the Apple one, I don't know what they have done exactly to make it perform so badly. Or maybe it's the mac I used, but again, there's no way to know anyways.

I gave up on Apple because of the overall poor dev experience, I now consider the devices legacy and tell users who ask that I will only support Android to guarantee a better experience, the app used to be available on iOS but I won't upload the app back due to the poor dev ecosystem.
Since JetBrains' base IDE is open source, you are not too far away from pure FLOSS.

https://github.com/JetBrains/intellij-community
>So yes, I absolutely want to keep this gravy train rolling. If we stopped, the economy would absolutely break right now.

I see humans are still #1 at hallucinating.
The Meltdown of a Gay Bank
> I don’t recommend doing this in your codebase, but it has worked for us so far. :^)

The story of my life . . .
Right, Bernadette Banner's video discussing this, explaining why "corset = restrictive" is a myth, is interesting.
https://www.youtube.com/watch?v=rExJskBZcW0
Hard agree with the parent comment: In terms of dice, it's the equivalent of swapping out a 100-sided die (1-100) with a 10-sided die (41-50 or 51-60, depending on how you view the Internet). You're assuring yourself some minimum that you can hit, in sacrifice of the highs you could've gotten otherwise.

(This comes from someone who is extremely fearful of negative outcomes. It didn't help that my school practiced corporal punishment on us when I was still a child, just for getting answers wrong. (Note: Not from the US.))
$200k Revenue Selling Google Sheets Templates, Tutorials, and Tools
To expand further on that: POSIX only says that ssize_t needs to be able to store -1, i.e. the valid range is from -1 through 0 to some implementation defined maximum. (See the link in the article)

A really cursed implementation could hack up compiler support for an asymmetric integer type that treats all-bits-set as -1 and everything else as a positive number, allowing ssize_t to hold all but the largest size_t values. While perfectly standards compliant, I guess this might break a bunch of implicit assumptions across various existing programs.
Even if you can't write assembly, you can read disassembly
Ask HN: Best book to introduce subject X to someone for the first time?
If you were asked to choose a single book to introduce someone to a topic 'X', which book would you choose? You may choose multiple if necessary.
Jabra Speak 510 or 710 portable speaker with microphone, USB and bluetooth connection.

If you work in a dedicated room and don't need the isolation that headphones provide.

More comfortable than any headphones, excelent voice in and out, buttons with lights for volume and mute control, wired for good quality and latency, can also work wireless for phone. Works with Linux, no drivers needed for any functionality.
Good'day mate ;-)
That however only impacts CSVs or other text files, where the compression is the envelope. In parquet, it is the internal chunks that are compressed, so it is as parallelizable as ever.

Also, generic CSV is not parallelizable anyway, because it allows you to have (quoted) newlines inside fields and then there is really now way to split it on newlines because you never know if you're on beginning or row or in the middle.

So parallel reading of CSVs is more of a optimization for specific CSVs that you know don't have newlines inside fields.
I find it neat that the code doesn't have to enumerate all the possible platforms it might be compiled on, and instead just takes something the compiler already provides and tweaks it.

But yes, the "cute" "hack" aspect is the primary endearing factor :^)
“Carefully Bootstrapped Alignment“ is organizationally hard
I guess even turning the phone on its back wouldn't help either. Most phones now have front and back cameras.
My thoughts exactly. What if __SIZE_TYPE__ stops being a macro someday? Also double-underscore prefixed symbols are compiler reserved, so any other compiler can use the same symbol for entirely different purpose, so compiler guards are needed when using it.

I understand doing hacks when there's no other way around something, or when a hack is much cheaper than the proper solution, but in this case, I think those guys have chosen a more complicated, more expensive, less functional hack than a cheap and more complete proper solution (in "how others are doing it").
On that point we agree.
Ultrasound bugs, ha!
I'm sure they're out there. The closest that comes to mind is the MSP430, but not quite -- although it has 20 bit pointers (with sizeof ptr being... 4, since they're padded to 4 bytes for storage) and has a 16 bit size_t, my recollection is that ptrdiff_t is also defined at 16 bits (which I think violates the C spec, which requires at least 17 bits?). I haven't worked with many other segmented architectures recently, but either there or capability machines are where I'd look.
App-based 2FA is offered for both checking and investment accounts at Fidelity, Schwab, and E-Trade. (The common factor is that these are all brokerages first, and banking providers second.) There may be others, but those are the ones I know of.
Parrots are extremely intelligent.

And like most birds they also have superior spatial navigation skills.
> highly sanctimonious and high-handed lectures... Good lord, ChatGPT has certainly become an annoying prick.

You've hit the nail - or dare I say rock - on the head.

That said, I think the bias we've both encountered is an aspect of the model's initial instructions and not reflective of LLMs in general.
Came here to add this. Use for Solidworks not so much the other 2d apps. Really speeds up my workflow.
This is fantastic, congrats. Have you ever thought of building a SaaS around this? Getting users to pay $5 a month for each specific service. It could be even more intuitive....
well, obviously the advantage is that you don't have to enumerate all the architectures you support manually. Is it worth it? Ehhh, probably not, but the author isn't exactly advocating for it either
Today

Correctly migrated several stupidly complex docker files. I spent several hours on Google trying to figure out what to do, then I just asked gpt-4 to figure out what was wrong. It was perfect.

It then added complete TS documentation to several dozen files, because documentation is for suckers. It will use this documentation in the future.

Updated about half of my API documentation, fixing my speeling errors.

And we had a nice discussion about how to start saving money for an early forced retirement and about the specific tasks it would be doing when it replaced me.
How are they hipsters?
Well if someone has downloaded many of the files then the files can be pulled from there.
It wasn't because someone was "offended by some words and a drawing".

It was because Tesla broke long-established employment law by supporting a hostile work environment.

Nearly all of the amount is due to punitive damages - $175,000 in damages for emotional distress and $3 million in punitive damages. That's meant to punish Tesla for unlawful activity and deter them from doing so again. (In the original trial it was $6.9 million in compensatory damages and $130 million in punitive damages. That's the amount that then got knocked down to a $15M offer.)

(Two other options to deter this behavior are strong government oversight, and strong unions, but the US has decided to go the court-based punitive damage route instead.)

Scrawled swastikas on the wall are hardly characterized as "some words and a drawing." And Tesla management's lack of activity is part of the problem.
There is a docker image

https://hub.docker.com/r/owncloud/ocis
AI will do this for us, no?
I see many people dive into ML research by tinkering along the way. Although I have no objection to particular tastes, two courses that made modern ML easy for me were:

1. Linear Dynamical Systems by Stephen Boyd [https://ee263.stanford.edu/archive/]

2. Convex Optimisation by Stephen Boyd. [https://see.stanford.edu/Course/EE364A]

Both lecture series and course notes are availabe from the official page of the instructor.
https://archive.ph/TkGS4
If you think Alphabet is nearing “the end” I’m afraid you’re too deep into the AI bubble.
Well, he sorta says it at the end:

>Other C libraries typically use more careful techniques, such as wrapping the declarations in architecture-specific #ifdefs

They don't have to define it multiple times for different architectures. This is theoretically platform agnostic and saves a few lines. Not really that significant, but then again it's not like he's recommending people do it.
The entire purpose of my question was that "I'm sure they're out there" is as close as I've ever found an answer to this, so I was looking for an actual example, not a hypothetical one.
So what's the timeline for launching the Kickstarter campaign?

;-)
Sure, lets build more and more applications that all have a single point of failure that is Open AI.
When I got my first w2 web dev job I had to ride a bike 3 hrs everyday, not as a cyclist either, had a pos bike. I did it because I had to.

I still have hard things to overcome.
- DK2 VR camera so I don't need lights. (infrared)

- GV-USB2/Elgato HD60S to capture C64/Amiga1200/Raspberry 4 on Windows my desktop and/or display them on monitors.

- Many screens in a compact area (all 4:3/5:4, matte and low res): http://move.rupy.se/file/station.jpg

- 40% keyboard for that Raspberry 4 so it fits in front of my HHKB JP: http://move.rupy.se/file/last_computer.png

- Recently started using my old "Tab A" tablet with bluetooth Thinkpad keyboard and mouse, much lighter than a laptop, just wish I could install vanilla linux on it.

- UrbanEars Plattan 2 bluetooth (about 10+ of them) because it has wired and bluetooth. (sold out now unfortunately)

- Røde USB mic.