skysight-inc/HackerNews huggingface dataset:
I think it's literally what the word estimate means though. There's a reason people use the word estimate and not prediction. They want to know whether it's going to take 3 days, 3 months or 3 years.
Ask HN: Which compilers do commercial apps written in C++ use?
I was wondering about the compilers commercial apps written in C++ use and their settings.
I worked for a company that uses Microsoft Navision.
The consultant/dev wold remote work via Teamviewer directly on the production system. Build in editor had no syntax highlighting. No version control possible, since the code is in the database. (Unless the dev copied the code into Notepad and saved it separately.) Certain reports would block all clients company-wide. To print something one would need to click ~6 buttons with super long mouse movements. I programmed AutoHotkey-Scripts to ease the pain. "Fun" times :-)
Haha right! Or that some ne’er-do-well tricks or coerces you into revealing your treasure’s location.
I was just listing Waterloo University as an example as that is the one Joma Tech went to: https://www.youtube.com/c/jomaoppa
Really, someone out there wrote a spec for an API endpoint that updates a row in a Postgres database following our esoteric functional approach using our custom Either types and right down to the esoteric TS code formatting we used in that source file?

What a coincidence!
And the real deal is modern https://en.m.wikipedia.org/wiki/Textile-reinforced_concrete.

Especially the combination of carbon fiber and concrete is a very promising solution, which is researched in Germany: https://de.m.wikipedia.org/wiki/Carbonbeton

This stuff is superior to anything the romans did in every aspect.
Him?
Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
`:x` leaves the modification time of files untouched if nothing was changed.

:help :x
Like ":wq", but write only when changes have been made.
The most powerful anti bot measure would be to make an order of magnitude more shoes. Then everyone who wants a pair can have one, Nike gets 10x the revenue, no reason for bots to game the system, no need to pay VM experts to design anti bot obfuscation.

I guess the halo effect of releasing unobtainable shoes is worth more than all that? If so, why does it matter (to Nike) if bots buy all of them?
I felt exactly the same as the author. That's why I created https://trusted-cgi.reddec.net/ (currently on the way to v1 and under the heavy refactoring)
Are you writing a media player? Are you writing an interactive application that requires little to no backend? Go client-side.

For everything else, meaning 99% of the projects you will ever be paid to work on, server-side framework with just a little sprinkle of JS where needed is enough and 10x more productive.
links with the key emoji next to it are private.

we have this repo and others open source, bit of course these are used by us internally too. that means that we need to link to private stuff, but we want to keep all the links where they naturally would be. so that means that sometimes, non-artsy people just can't access these. and that's ok.
i never heard of this, can you link the gdpr article on this?
I wrote Perl cgi scripts for a self-serve customer admin interface for an ISP in the early 2000s. As users grew, we started hitting the limits of what 1-2G ram could do. Thank goodness for mod_perl and HTML::Mason, which could REALLY speed up performance. I remain a huge fan of Perl these days.
Funny how the word "expensive" when referring to code execution might today mean actual money, not just memory or time.
Does anyone know if these "lax regulations" (e.g. no federal laws) also apply in Europe/EU/Switzerland?
Small Visual Basic
One issue was that people configured CGI wrong. You had executable scripts that had free range on the entire filesystem. Ideally you'd need to limit the cgi-scripts to a chroot, but that made it difficult to use Perl, Python and PHP. OpenBSD shipped/ships a chrooted Perl for use with CGI, but other operating systems just left that bit as an exercise to the programmer.

More modern languages like Go or Rust provides a lot of safety and is pretty easy to statically compile, so it's easily chrooted. It would however be weird to do a CGI program in Go, because that language already have a really good build in webserver and more powerful/easily accessible features for interacting with requests compared to what CGI provides.
"This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data."

Good of them to provide an explanation on the error page
Thanks, it was too long to read manually. I wish HN had a way to view root comments.
Yes we have seen a case of an old common and popular square root function that are returned verbatim by GitHub Copilot. Perhaps a case of overfitting since the code was present many many times in the training dataset, and even has a Wikipedia page.

I haven’t seen more obvious examples since GitHub implemented a feature to prevent this from happening. I probably miss some tweets, but I assume it’s rare.
You're saying there is no business value, only to end with saying that there is business value? Very confusing.

If you take something away and no one will ever notice it has no business value. If people do notice, it has business value. Very simple right?
No, StackOverflow is quite a reliable source of correct and relevant answers to programming questions, with effective mechanisms for the community to identify and fix wrong or unhelpful answers.

It won't remain that way if those mechanisms are DoSed with a firehose of free plausible garbage. The flippant attitude that what we currently have is no better than that firehose, and the implication that it isn't worth worrying about or attempting to protect, is starting to grate.
Skara Brae: An Ancient Village in the Heart of Neolithic Orkney
> It’s our industry’s equivalent to mise en place.

What an excellent comparison! Thanks!
Yeah, the primary goal of any side project should be doing whatever maximizes the chance you continue working on it.

The lesson from survivorship bias is to optimize for survival :).
Is there any supporting evidence for this? On the face of it, it seems highly illogical, considering you'll pretty much always be much stronger on the eccentric than the concentric. It's more a matter of learning to brace correctly, I'd say.

> Your lumbar will thank you.

This to me reinforces the unfounded and harmful narrative that deadlifting, or generally low back exercises pose more danger to the spine than e.g. not lifting.
Ah neat.
re: docker-compose

Have you tried https://github.com/containers/podman-compose ?
You think that doctors never mentally bring their work home?
The options are not always equivalent. 19 offers to work on blockchain scams are not equivalent with 1 offer from a top company that wants their products market ready and offers you a once in a lifetime opportunity. So get polishing.
Home ovens are also just low quality ovens. Not a good analogy.

Air fryers should really be called individual ovens. They’re basically the same but more efficient
> their understanding of LLM's is imperfect (as is the case for everyone!), and yet they come up with these statements of absolute certainty.

Oh interesting, so when they accuse ChatGPT of being dangerous because it can be "confidently inaccurate" it's the pot calling the kettle black
Oxygene Pt. 4 by Jean-Michel Jarre, 1976 performed by 19KB of JavaScript code
So GPT is simultaneously taking credit for other people’s work and a threat to open source software but also incompetent and not a threat to anyone’s job?
You still have to file the expenses even if you use the company card, at least everywhere I’ve worked.
Well it depends what you're doing of course. Part of the application was an email interface which I remember was a particular problem - it was likely loading whole emails into memory to do MIME parsing. But the point here is that large, slow processes gradually take over your system crowding out smaller and simpler requests. We had our own cage in a Docklands data centre, so "spinning up another server" was a weeks long process involving many people.

In modern terms Perl isn't a problem, especially when you have servers with hundreds of gigabytes.
Have you tried clearing your watch history and resetting your add ID?

Or disabling and then re enabling your watch history (perhaps leave it a day in between)
It's just a small reference for programmers who already know Python, it does not aim to teach Python or how to solve FAANG problems. It's just a PDF with 11 pages...

The Python solutions for leetcode problems surely use something defined in that small reference, so that's what I have listed there.
FTC intends to ban noncompete clauses that bind 30M US workers
There are different kinds or degrees of hypocrisy, no? Your examples are great examples for showing why hypocrisy isn't automatically bad.

Politics on the other hand is filled with hypocrisy that is far less acceptable, like pretending to care about women while taking away their rights, or pretending to care about the children while opposing any form of gun control or accountability for police.
Registrar != nameserver, although they tend to provide one, they also tend to be complete crap IME.

Have a look at your hosting provider (which hopefully is not also your registrar). e.g I use Linode's nameservers which are pretty reliable and have a straightforward UI. All you need to do is point your registrar to a different name server.
What safety concerns are you referring to? CGI scripts often had issues with SQL injection and shell command injection, but that was because of badly designed (or poorly used) libraries and unrelated to CGI itself. Or if CGI programs were written in C (as a result of performance concerns) those would of course have the usual memory safety issues of C programs.
I said "somewhere in the top 50%", not 50th percentile. I was being purposefully vague so that you wouldn't do exactly what you have done and try to pick apart whatever definition of wealth was brought forward. If you like, you can pretend that I said "90th" percentile exactly is the exact demarcation of wealth. Or take 50% as the mean and it's ~$750k net worth. Or take a definition of "poll 1,000 randomly selected Americans if your example is a wealthy person and take the majority vote". Go ahead and take those down also, if that's how you'd like to spend your time.

Even the "$100k" house your example uses does not get you to the median (you don't get to casually add 20%+ to the house value just to get to the median). And you're, again, still living in a tiny house in the poorest areas with the worst amenities, the worst healthcare, the worst education, the worst economic prospects for your children, the worst obesity, the worst of the opioid epidemic, etc, effectively zero disposable income, zero college savings, zero travel, crappy old used cars, thrift shop clothing, pinching every penny just to pay down your mortgage quickly and get to the 40-45th percentile of wealth statistically. Worth it? Not for me.

It's a perfectly "fine" life, if that's what you want. It does not meet a reasonable definition of wealth in the US.

You can stop any time.
I'm sure there's plenty of things you've never owned that you nonetheless know you don't want to?

Anyway, in the very first line of my comment I said it's the marketing that I have a problem with; I have 'tried' the marketing.
And you should, unless you have actual training in hiding your traces online (and I don't mean something as simple as "use Tor and a VPN").

There are three situations where you should not assume privacy:
1. When you express yourself online.
2. When there is a smartphone in close proximity (whether yours or someone else's).
3. When you are in someone else's property or home. This includes apartments, houses, shopping venues, bars, restaurants, etc. You are almost always being recorded in some way or another (audio, photos, videos). This also includes your own home if you don't live alone or if you haven't actively banned any connected equipment from entering your premises (e.g. iot devices, smart TV, computer, smartphone, etc.).

If you feel an urge to share your true opinions anyways, I'd suggest the following:
1. Always assume you are being recorded.
2. Always assume what you say/write will be shared to third-parties by the people you trust the most and kept for years. Most often this is done involuntarily. Statistically speaking, you can assume that everyone around you has no clue on how to secure their own devices (e.g., smartphone, TV, vacuums, fridges, etc.) from sharing whatever they capture.
3. Always assume that at least one individual strongly disagrees with you, and he/she may actively hide this fact from you.

If you want to express yourself anonymously, get training. And by that, I don't mean read a webpage, I mean: talk to one or two experts who specialize in online anonymity.

But in most cases, keep your real thoughts for yourself.
I've got a couple of life hacks that have seen me through things quite well:
1. My short term goals are: good quality sleep (8hrs), daily exercise (30 minute walk), proper healthy good meals 3 times a day.
2. Work intensely for 40 hours a week. Then switch off, and then have a could not care less attitude until you next return.

Most work environments will recognise the discipline and reliable work ethic and will leave you alone. Some environments will measure you by hours-attendance and will push you out or criticise your work methods. These are not healthy places.

Anecdote: I was learning about climbing and the instructor showed us a thin climbing rope chord (emergency back up). He explained it was plenty to carry your weight but comically thin. What might appear that it "would never work" sometimes can work. Hence my above advice to others.
Back in the day my theory of college education was: figure out what you’re good at so you don’t have to work very hard and spend the maximum amount of time partying on the government’s dime.

If what you’re good at is a marketable skill (mine wasn’t) then all the better.

Also, probably not the best advice.
Carmack’s fast inverse square is not subject to copyright in the first place.
Author here. I wrote this after listening to my girlfriend's neice describing her decision-making process as she completes schoolwork, applies for jobs, cultivates her craft, learns life lessons, has adventures. It occurred to me that she was overvaluing a single assignment for a single needy professor, at the expense of many superior opportunities. She has a lot going on – how can she maximize her opportunity? This micro-essay is my attempt at understanding the position and abstracting it, both for my benefit and others'. I would love for readers to help improve my thinking and shed light on any blindspots.
> I guess it makes sense; why would ChatGPT be able to give detailed answers about the contents of books if it's only read summaries etc. posted on the internet

The more interesting thing is if it's read loads of summaries on the internet but they aren't particularly consistent. So ChatGPT has access to plenty of summaries of Gravity's Rainbow, but as it's a complex book with an ensemble cast and there's relatively little overlap between what human reviewers wrote were the standout moments and key themes of the book, ChatGPT tells me that it has seven chapters, each named after the colours of the rainbow instead. This isn't remotely close to being true (arguably Gravity's Rainbow contains so many themes and interpretations that being able to come up with a summary of what happens which is unambiguously false is an accomplishment!), but if you're a word model then "colours of the rainbow" and "sections... each named after" matches well to the theme "Rainbow" which appears to be a book and is syntactically valid, and none of the individual plot elements mentioned in reviews of the book are necessarily a better match

tbf, ChatGPT is much better than most bots at recognising prompts it shouldn't be able to respond to and giving "I cannot offer specific advice on..." boilerplate responses; someone's invested a lot of effort training it to do that (and possibly also discouraged it from mentioning any of the sex and drug elements of Gravity's Rainbow). But it bullshits by default.
Without a definition of what the author means by “polished”, this reads like a student who got a C on an assignment and isn’t happy about it.

To be a better submission, the author needs concrete examples that set the context for the reader and helps clue us in on what “good” and “polished” means.

Side note: In my experience, very often one person’s “polished” is another one’s “good”. This is often a key to detecting the quality of the author. For example, if you think of films or books, exceptional creators have made amazing works out of the most mundane topics (eg Office Space). Another way to put it: “Anything worth doing is worth doing well”.
> I was totally exhausted by switching my leg between break and accelerator.

This one deserves an immediate nomination for this week's first world problem.
Ha, for most of my applications the ESP32s are actually wildly over-powered - but the development experience is quite good.

It's cool that they're seriously expanding their media interfacing capabilities - the ESP32s already have some, but they're quite basic.

I don't see a mention of it, so I have to wonder: What about Linux? There was a project a while back to get Linux running (at a snail's pace) by using JuiceVM to emulate a RISC-V CPU - now we have ESP32s with actual RISC-V CPUs (and MMUs as well!) ... so what's stopping Linux from running?

To answer the foreseeable "why would you want that": It would be really nice to get a standard OS with preemptive multitasking, dynamically loaded binaries, a shell and standard tooling.

NuttX has a lot of these (Zephyr has some), but I still feel find them quite limiting: At best you have to deal with "the microcontroller version of ..." (see Python, Go, .NET - they're all somehow worse versions). Don't we have enough power nowadays, even in the lower-tier ESPs or is my intuition totally off?

I know there are relatively cheap "SBC-style" boards (Raspberry Pi Zero W) for this purpose, but there's still a sizeable pricing (and size) gap between those and "MCU style" boards.

The one board I'm aware of that is trying to bridge the gap is the 128Mb Ox64 (https://pine64.com/product/128mb-ox64-sbc-available-on-decem...) and basically I wonder whether this might be Espressif's response to it.
> The bricks in a brick wall can be made from it.

I think "brick wall" usually refers to fired clay blocks:

https://en.wikipedia.org/wiki/Brick

But yeah, you can make concrete blocks and build stuff with those. They are usually larger than clay bricks. In my country, the stuff used for building is mostly concrete bricks filled with small air bubbles air so that it is lighter and also insulates better.
Up to ext3 are using 32-bit timestamps. Ext4 now uses 34-bit, by extending only the upper range, and can cope with 7 * 2^32 seconds after the epoch, which is around 2446.

HFS+ uses a different 32-bit timestamp, which is unsigned and starts from 1904-01-01, so it expires on 2040.
Yeah, I should have been more clear. The point is that you can convert between them without needing any other information (like the original values that were averaged)
SUBQ also seems to be missing.

Interesting project and it may be a useful tool for learning M68K assembler for a beginner, but as an editor or simulator it seems very limited at the moment. Always nice to see some new M68K tools though
I used to work around there. Couldn't agree more. On two different occasions over the course of a year I spotted robberies about to occur and reported them to the police. On one other occasion I spotted a surveillance team following individuals there. No way in hell would I wanna work in those stores. Not worth it.
I'd be extremely interested, because good biological foundation for intelligence doesn't necessary leads to advanced thinking. Size + internal structure + context.
True. I think the comments and the coding style were from famous implementation from the 90s, which could be a copyright issue. The algorithm itself can by copied.
>Then during the Easter bank holiday in 2015 the famous heist happened at number 88.

Famous somewhere, but I hadn't heard of it.

https://en.wikipedia.org/wiki/Hatton_Garden_safe_deposit_bur...
> The GitHub acquisition was part of their plan to start repairing their fractured relationship with developers - almost a PR tool.

I think that's a surface-level interpretation of the benefit to Microsoft. Azure and GitHub CI are a great match for using idle server compute for one and Codespaces is another.
I use a wide mix of ESP-WROOM-32, Lolin ESP-32-OLED (when I want on-board display), and all sorts of other random ones.

For all my home automation I use ESPHome and Home Assistant (20+ custom devices, plus however many light bulbs and Sonoffs and stuff).

For tool chain I personally use Platform.IO in VSCode but I’ve done a fair few with Arduino IDE and it works in a pinch.
You could say the text needs to be polished a bit.
There’s no such thing as an “unlicensed paraphrase” of small snippets of utilitarian software, at least in US copyright law.

You might have moral qualms with this but you won’t find much of any support from the court system.
First, very funny that with each comment the author is older.
Second, I’m 33 and regret yet. I misunderstood every customer is king with every customer is important and has the right to call me outside of work.

I worked 7 years about 60-70 hours each weak for customers which „are so important“ to work at weekends.

No one will give you the time back you could have spend better by developing yourself, family time or staring your own carrier. But working for a company is most of the times lost time.
The person who makes 100 pieces of pottery will make higher quality ones than the person who tried super hard to make one perfect piece.

“Polish” is a natural consequence of experience.
I'm curious if there are guys designing ~offgrid ultra low power homelab. Most efficient redundant storage with a bit of compute.
Something that’s not talked about in elevator design ever is having the option to cancel or undo your action. What if you press the wrong floor by mistake? You should be able to undo it by pressing it again.
I think it's more like, "when it gets code correct, that code is probably stolen from someone."
I... didn't know this was a thing. Thanks! I'll take a look :-)
I thought that (A)GPL only requested you to redistribute source code changes. I wasn't aware that it forced you to sympathize with the ideology of the main developer, or even to care about the political inclinations or beliefs of all random contributors.
I'm regularly starting a custom firefox extension to manage them ~700..800 tabs (my average) but then I choke and the cycle repeat :)

Happy to know other have this problem.

ps: to Mozilla Firefox team, kudos on handling that much .. I've used firefox with 1200 open tabs (all kinds of complexity) and it still work ok on my old machine. That said one can notice a clear change in lag after 300-400 but well I won't complain :)
They had to believe 100% in the assembly-line strategy, in order to work on this in the first place, and to sell it to investors.
GLib 2.0 was released on 2002-03-08. There's not a whole lot you'd be using on the desktop that's maintained ABI for longer; mainly X11 libraries, glibc, NSS, zlib, libxml2 (latter one is also a GNOME project).

(Anything using C++ would have a libstdc++.so.6 related ABI break at a later date.)
Never used it but this isn't exactly impossible, it's like having an essay due and you copy and paste chunks from the internet in a way that doesn't make sense as a whole and contains errors