skysight-inc/HackerNews huggingface dataset:
You can take as read that all my posts are prefixed with "In my opinion". I find it unnecessary to type that out on every post.

Taking a format that only a computer can interpret, code, and choosing to write it down on a medium a computer can't read, hand-writing, is not typically a productive exercise.

Even in interviews I'd rather hand a candidate a laptop.

There are more worthwhile things to hand-write, such as sequence diagrams, and there are more worthwhile places to write code, such as an IDE.

If someone is finding it easier to write code on paper than in an IDE, I'd rather not ignore that signal and try to discover why their IDE is proving such an impediment.

Maybe it takes 10 minutes to start up, maybe it throws up so many errors for each syntax mistake that it's distracting and hard to see the wood for the trees. Maybe it doesn't actually produce useful output. Maybe it doesn't have real time debugging and step-through.

Who knows, but something is causing it to be mentally easier to write down the same code on paper than the IDE, and that's not something that should be ignored, that's something that should be fixed.
> It's completely out of my control.

It is not. I have been in your shoes not once and lots of recommended things failed, some have not. This will require deep dive into reasons and mitigations, but I suggest you to proactively explore it and hopefully - fix.
Maybe a good start could be not giving your brain what it wants, when it starts getting that active. Just let yourself become bored.

And if possible, get outside, walk, run, hike, enjoy nature, build something with your hands, get TIRED.

Reduce blue light and if possible remove any screens past 7-8pm (books, podcasts and audiobooks help a lot here!).

In the morning, get as much sunlight as possible.

Do not stress over your current schedule too much. Try to wake up early in the morning for a few consecutive days, even if you do not go to bed early enough. After some time, your body might adjust again to a normal rhythm.

Good luck
> Real const data doesn't exist

Ever seen a ROM?

And the C library‘s hacks around not being able to overload functions (which is the only reason for strstr et al‘s weird signature) wouldn‘t stop me from using const. It can be really useful both for documentation and for correctness. Think memcpy, not strstr.
> The strstr() signature is probably the shortest example / explanation why. To implement strstr(), you have to hack the const away to create the return value.

It seems to me the "hacking" is exactly the side-effect that is wanted. It's like the requirement in Rust to do certain kinds of things in an `unsafe { }` block (or using the `unsafe` package in Go): not that you want the compiler to prevent you from doing things completely, but that you want the compiler to prevent you from doing things by accident.

> One man's const data is another man's mutable data.

Yes; and the point of `const` for function parameters is to make sure that data isn't mutated unexpectedly.
Mo fees mo money !
This is about the only time I'll defend the modern idea of "NFTs".

I want to show off the albums I bought to the world, ideally with some way to prove that I really spent money on them.

The albums are comparable to NFTs (though fungibility is arguable in both cases), with the caveat that the Bandcamp system is entirely centralized. If the company goes bust, so does my collection.

Though I appreciate that their ethics kept them from doing it, if anyone should've jumped on the NFT wagon, it should've been them. This would've detached the proof of ownership from the company and allowed a secondary market to exist (also important, should the company stop existing/change terms).
As someone who is always looking for light color schemes (currently using Selenized[1], by the way), I’ll give it a try.

[1]: https://github.com/jan-warchol/selenized
Show HN: My First SaaS
Promptly is my first SaaS Project. I built it because I wanted to refine my dev skills and also to have a central place to store my prompts for GPT, Midjourney, and other AI platform and systems.

Would love some feedback on the website itself, as well as advice on how I should go about the marketing
it reminds me of Why We Sleep which turned out to be completely full of scientific errors (https://guzey.com/books/why-we-sleep/)

Obviously that book sold like hot cakes. When it comes to sleep and diet people will repeat anything as long as it sounds intuitive.
Great video, except for a few wrong details that really get to me...

- The pixels in an LCD aren't little light bulbs. They are little lamp shades. (The pixels in an OLED display are little light bulbs though)

- A CRT doesn't shoot light. It shoots electrons.

- The video makes it seem like pixels in an LCD update all at once. Not true! They're scanned.

- The video makes it seems that there's no temporal bleeding on CRTs. This sounds unlikely to me...

- The main difference in image quality between coaxial and composite inputs is not that coaxial needs to stuff audio and video together. It's that in coaxial the signal is shifted to a carrier frequency as if it came from an antenna (usually channel 3 or 4) so the decoder needs to bring it down to the frequency it uses internally (called the intermediate frequency) before sending it to the screen. This degrades the signal.
They certainly used to just lie on the customs forms; "sample", "no commercial value", "gift" etc.
Show HN: Instantly change the design of your web site, choose design in VS Code
I don't think this logic is solid.

> Avoiding the stress of multiple interviews is almost certainly costing you tens of thousands per year

If we are still talking about Western Europe, where almost no one reaches the 100K eur/year salary, saying tens of thousands per year (e.g., 20K? 30K?) implies a power of negotiation of 20%-30% (or even more if we are talking about base salaries of < 100K/year which are the most common ones) when negotiating a salary. Maybe in the US you can negotiate that when applying for a job, but around here I think asking for more than 10%-15% already is basically forcing your employer to pass on you (unless you are the Michael Jordan of software engineers).
Markup doesn't necessarily means "greedy marketer". Sometimes it is localisation, post sale support, warranty, etc. Surprisingly as it may be, it costs money.
How did you come across desmopressin, isnt that a bed-wetting thing? How does it help with sleep outside of urinary issues?
Electron is Flash for the Desktop[1]. It is cheap to implement. It wastes resources, doesn’t integrate natively and is a security problem.

As usual the industry safes money and the customer has to pay for the memory. I’m sick of applications which doesn’t adapt to HiDPI (automatically) and consume 500 MB of memory whereas a C/C++, Rust or even Python with Gtk or Qt will consume about 50 MB.

Aside from that Postman has become unusable because the company behind it want to earn „now“ money. I don’t say HTTPies UI is bad it just not what users want.

[1] http://josephg.com/blog/electron-is-flash-for-the-desktop/
> More substance abuse/addiction (alcohol and caffiene, specifically) [ironically both depressants and stimulents]

Is caffeine really a depressant? I have great joy in consuming caffeine either from Japanese Sencha tea, Matcha, or occasionally a non-watery Americano.
The "come and go" and "nothing lasts forever" aspects really really put me off. I have an archival personality. I frequently remember a conversation I had five years ago and look it up to re-read it. (This is also one of the many reasons I dislike Mastodon.) I chance across conversations from ten years ago and reply to them.

My first "social media" was h2g2, and everything since has been a downgrade.
> Online job platforms like Monster, Indeed, Glassdoor, etc.

Maybe that's the problem. Those platforms are full of garbage job ads. I've never used such platforms (but again, I could be missing something).
1964 - John Kemeny and Thomas Kurtz create BASIC, an unstructured programming language for non-computer scientists.

1974 - Kemeny and Kurtz go to 1964.

https://james-iry.blogspot.com/2009/05/brief-incomplete-and-...
But that's not as exciting to the crowd as "look!! chinese app stealing data!"
So an industrial design product is more like the houses you see on the "Grand Designs" TV show.

In a way it's like forking a software project: the more you deviate from what's done before, the more 'pain' you'll be in.

What's done before can be re-done by any competent builder.

But beyond that, you'll need expertise in different fields, to fit parts of a design together in new ways.

No expertise -> project will fail, or be extremely 'painful' (like: costly, time-consuming, many iterations, result isn't what you wanted, etc).

Enough expertise -> steps in new territory might be uncomfortable or include some mistakes, but overall you'd know where you're at, where you're going & have realistic expectations.

So yeah - nothing wrong with getting some expert help when entering new territory.
Can you expand on that? Is that just a bunch of alarms in your mobile phone, or something more ellaborate?
SQL is declarative while most other languages are procedural. An ORM lets you pretend that the database speaks a procedural language, which lets you build the query procedurally, which may be easier to write.
This is incorrect, for a long time now the latest sailing yachts have been able to sail downwind faster than the speed of the wind, in fact averaging 1.8X the speed of the wind with peaks of 2.0X the speed of the wind. There has been considerable research in this area. See here: https://en.wikipedia.org/wiki/High-performance_sailing#Multi...
Too bad that 80% of what Lenovo makes is not really worth buying, especially the low-end stuff. Hopefully this repairable 80% includes the other 20%.
I love to try multiple color schems for code and the terminal... but if I see no actual screenshots then I'll pass. I mean, isn't that "common sense"? The very first thing one wants to see in a colorscheme is how it looks like (not the hex codes)
I was wondering as well. I am pretty sure it is a typo and `95.8` should be `94.8`, that would fit the 0.1ms to 0.2ms diff the `99.99999` and `max` seem to have in the article.
That note did not show up for me when launching the EC2 instance. Probably because I was switching between ARM and AMD quite a bit which caused the info pop ups to stop refreshing and not display info for T4g and were stuck on T2 and T3.
They didn't have to double the wiring, just add wiring to the other side of the connector. That is barely 2 cm of wiring, at most. Also, manufacturers could have made the connectors in a way that would clearly show which side is the top and which is the bottom. So none of the issues had to happen but lazy manufacturers and gullible inventors caused all of this on their own.
They just opened "Framework for Business" recently: https://frame.work/framework-for-business
100 USD a year (more in Switzerland because Apple doesn't even pay for the taxes) is not nothing. Why should I pay to place apps that I spend my free time to develop and offer for free? Apple should at least not charge a recurring fee if all apps posted are open source and free.

At least over at Google it is a one time fee.
But without Google making all the app ecosystem support RISC-V, I suspect any RISC-V phone would have a chicken and egg problem - with no apps available, no user would want to run it.

Google is in a unique position to solve that by making the toolchain automatically compile for RISC-V as well, and in a matter of months most apps will support it.
This thread makes me feel old... I remember seeing "Google Custom Search" with Custom Search in grey on so many websites just maybe 12-15 years ago - for it to be so unusual that people on HN don't tend to know of it, seems so odd...
It takes discipline in all things. In highschool I had SNES.zip, and I fully completed over a dozen RPGs, some multiple times.

For my children, I insist they watch one movie at once, one show, one game, one book. We don’t start multiple games, or books, until we follow something all the way through.
Is someone paying you to do it?
Anyone doing "small" (<1k) runs will be using bluetooth modules, but unfortunately the EMC cert is for the unit as a whole, at least in the EU. Which makes sense technically as the construction of the whole unit matters - conducted emissions through the power supply, for example. It does make it expensive and annoying to do small production electronics, which is why all the stuff you might see is "modules" from aliexpress.
This is going to be controversial, but what saved me was abandoning a keyboard-intense environment (emacs + command line) for Apple’s Xcode. I do still build much of the time at the command line, but editing code and switching between windows is mouse-heavy.(You can use Xcode as just a text editor if you like.) I cut and paste by selecting with the mouse where possible. I have a gaming mouse with a button programmed for macOS’s “Exposé” so I can find windows back – and I use a single screen, a 27″ iMac.

I have an Apple trackpad which I use to give my hand a break from the mouse, but I find that if I use it heavily for a day or two I get sore fingers. I use a mechanical keyboard. That too tends to cut up my fingers, and I’m on the lookout for a better one, or at least better keycaps.

I’ve been doing this for 45 years now, since age 19. Along the way I’ve used punchcards, line mode editors, TECO itself and two TECO-inspired full screen editors, various full-screen editors like DEC’s EDT, and emacs. I know vi, and will by habit drop into it when editing config files and so on, but don’t subscribe to the view that it solves the RSI problem. So I do know how to edit efficiently using keyboard shortcuts, but now think it’s the wrong thing to do.

I went through a stage where I used emacs and a Happy Hacking Keyboard, and was very sore at the end of it.

I am not slow with my mouse. I can churn out ~2000 lines of good C++ in a day. (But I am not a fan of the language from a typing point of view!)
Everyone wants good documentation, no one wants to pay for a technical writer.
I don't disagree, I am happy to buy resale products locally with a surcharge for the service.

But if you buy Amazon warehoused china products, with the kinda bad service from Amazon you are just getting a worse deal for the same product.
I thought Ardour was a commercial product? If you want to download a binary from their site it's either a demo version with injected silence every 10 minutes, or a paid-for option (either a small monthly sub or a larger one-off payment). You can build it locally yourself for free of course, but I don't know if many non-devs would do that.
The "categorically" part is a useless qualification, you don't program in a binary world, the ease with which a footgun is possible in a language is very important and can't be reduced to isPossible
Blame them for being anti competitive and anti consumer.
> dual income

> kids

Pick one!
Aren't there heat issues? I really like their models but I am already annoyed from the heat of my t480s (using it on the sofa a lot)
https://noyb.eu/en/spotify-fined-eu-5-million-gdpr-violation
It’s built in to VS Code, see editor.foldingImportsByDefault.
I think this will make the devs dangerously focused on the more visible features.
Sure, I wouldn't and haven't done so. Was just refuting your point.
I don't think by that time it belongs to Anna.

If an email existed on her mailbox, it would be hers. Once it was out of her email, she would not be able to claim ownership of it.
Same, it's even used in large public UK broadcasters as it's good gear.
While you may use more than 75 km per day (my brother would've at his last place), most people commute between two places in a single city, so they don't need so much — the averages I've heard vary from 12 to 20 miles per day, so 20-32 km total even assuming no charging at work (which I hope would be encouraged by most local governments).

But even then: if you go 100 km between charging and the battery only lasts half of it, that's still half your fossil fuel that's replaced with a municipal electric grid that is inherently more efficient even when also purely fossil fuelled, and also is being rapidly greened.
Hacking news?
Around 2001 pretty much all my friends had one. I owned 3 over that period (a friend destroyed one, the other me: skating falls were tough on them!)

They were easily the best format for portable music until mp3 players got their capacity problems sorted out.

They were amazing for copying music and making mixes. No one ever bought a new release on MD to my knowledge. You bought the CD and copied it onto MD. We also used them to record our band practise sessions.
Ah gotcha. Yeah that sounds neat actually.
The GDPR article 15 states that the data to be provided is "personal data", which is data that can be used to identify you. E.g. name, address, location, tracking ids. Text of an email does not come under personal data so not covered by the access to data law these people were testing.

https://commission.europa.eu/law/law-topic/data-protection/r...
> If tipping is banned in a place (by the local government I mean), where exactly are the "best workers" going to go? Are they going to pack up and move somewhere else?

Tipping was banned in seven US states about a hundred years ago. For the most part, People simply ignored the laws. They were all repealed or found unconstitutional after a couple decades. I am not aware of anywhere in the world where tipping a server is illegal.

> Also, how are the tipped staff the "best workers"? They're just servers. All they have to do is take an order.

"Best workers" would include highly competent servers who are a direct cause of repeat business. A good server adds to the experience beyond the food and ambiance and help turn new customers into regulars. Regulars are the lifeblood of most restaurants.

> It's incredible how much money they expect for this, when it's something that would be more efficiently done with an iPad.

Servers can make suggestions based on your preferences, make sure your dietary restrictions are handled, answer questions about the menu... these are experiences I have all the time and I'm certain an iPad would be worse.

> In US restaurants, they're even too lazy to bring the food for you; I guess they're too busy trying to act like the customer's new best friend.

Servers bring out the food I order. I don't even know how to respond beyond that.

Maybe you're just going to really bad restaurants?
Do you find that you have a particularly document-heavy workflow? Because I find I spend far more time navigating code than writing new code, and I try to let Intellisense do most of the letters. I've never felt that a higher WPM would help me in programming.

(Early on in my career someone I worked with had one of those "spend a whole week testing things and then emit a one character change" times, and that left an impression on me)

Then there's the APL programmers, who are all like "what do you mean 'a word'"?
I like this, but it's much more like a user/usability testing instead of a demo (with demo as a side effect).
All practice is good, but in my view there is a large difference in quality between having a go yourself and memorising the current state of the art implementation.

ie does memorising large tracts of poetry make you a great poet?

I think if you do a technical exam - then it should be done in a way that explores how people think - not what they have memorized.
I have been using Temu recently for electronic components. There are some reasonable value kits of resistors, LEDs, breadboards, etc that I use in my workshop.
I only use pen and paper for sketching diagrams and graphical relationships between things. This is probably the main use for paper & whiteboards - they are MUCH cheaper than their digital equivalents for drawing regardless of size.

Writing out pseudocode on paper is… okay… although not my preference. It’s okay if you get stuck and want a context switch.

Writing out syntactically correct code, including commands like “sudo” on paper on the other hand is an enormous waste of one’s own time. God help this man if he ever takes up Java programming. Just type actual computer code like this on computers so you can run it and see if it works. Then if it doesn’t you can just use backspace instead of an eraser.
it's an interesting question, but i think the "right" answer here would be that the emails should (in the rfc sense of the word) be end-to-end encrypted, thus there wouldn't be a way to do this at all
The allure of interesting content: a double-edged sword in the digital age
Ardour's UI is complicated compared to, for example, Ableton Live. For example, I have added a MIDI track and it is unclear how to add notes to it. Right clicking on a track doesn't give an option to do that.

Also on Linux it supports only rarely used plugin formats (LV2, Linux VST), for which there are little plugins.
Parent said 10x of the nobel, so it's more like $10M.
Yes. If I go to sleep at 22:00, I'll be half-awake tossing in bed from 6:00, but still unable to get up until ~10:00.
If you're interested in low-power embedded, the WCH chip there has two powersaving modes; at 3.3V (it is 5V tolerant). At the lowest-power mode, the whole SoC consumes 9uA, and has a wakeup time of 200us.
I wonder how much extra oomph the chip would get if there was a lower-speed power-saving mode – although I am ignorant about whether this would be compatible with SRAM.
I posted somewhere else on this thread, but if you're planning on getting your products certified, using an off the shelf enclosure can be troublesome if the manufacturer can't/won't provide test samples. We wound up using an enclosure from Bopla which we got certified.
> Here's a better analogy. The equivalent just works if we use C++ exception handling instead of setjmp. You can change variables after a try, and those values will be reliably observed in the catch

That's a very nice comparison.
I did too. Humans use context to resolve ambiguities in language, and in this case the context was very much statistically favouring the library; if you're using it, glib is literally "someone else's type system".
Isn’t it only available with the ultimate version?
I remember the time of battle with odoo. Wonder how that was solved or settled.
- "and what can EU do about it? Nothing"

The answer's right in front of you: the EU's imposing tariffs on goods exported from China into the EU. China is an export economy. This matters to them.

(I mean, if you want to argue that China is turning inward and its internal market will soon be the largest consumption market on the planet, sidelining the EU, I'll concede that. But in the near term, the EU market is a globally super-influential one. These policies are not irrelevant).
I got a captcha from azure. Took me 15 minutes to solve it
I do it mainly as a form of namespacing and aid in readability.

do_thing(foo); // foo is variable

do_thing(FOO); // FOO is constant (i.e this call should always do the same thing)

foo = FOO; // I wanna name a variable the same as a constant
"Follow your dreams!"

Without asking whether dreams involve crime.