skysight-inc/HackerNews huggingface dataset:
> it's short term vs long term productivity

You should pick short term. Pretty much every time. The tradeoffs just don't make sense the other way.

There's a 9/10 chance the thing you're working on will fail or not achieve any sort of scale. Opting for short term productivity will let you find this out faster, and save you millions of dollars and years of time over your career.

When you hit that 1/10 product, you will experience some pain. But you now have enough information to justify dumping the resources (including political capital) into a proper long term solution.
That’s using the farm mostly to feed themselves, and then supplementing with a bit of income here and there for ‘hard currency’ - which is very different in my mind at least from supporting themselves with the farm (as a business). But I see your point.

That’s definitely subsistence farming, and common the world
over in some form.

And agree, not a hobby farm at that point.
Prescription methamphetamine is Desoxyn, which is a CNS stimulant and thus schedule II https://en.wikipedia.org/wiki/Desoxyn
Will we know alien life when we see it?
Sure, and precisely what the "minimum necessary" entails is up for debate. The EU just believes that minimum to be higher than you do.
You're being downvoted, but I don't know why: If a warrant canary is removed, that may be a sign that the authorities are asking for your data. But, just because it hasn't been removed, that doesn't mean your data is safe. Perfectly reasonable position to take. Cynical, but cynicism is congruent with the whole concept of a warrant canary. Imagine, a company lying about protecting your data!
Compound extreme heat and drought will hit 90% of world population
Personally, I think it matters a lot on why you are wanting long term treasuries(LTT). There are lots of competing ideas around ownership.

If you just want bonds, then LTT may not be the best move, it just depends. BND would be a better general bond portfolio. i.e. I dunno what I want, I just know I want bonds, then buy something like BND, since it aims to just own all the bonds.

Managed bond funds have more cost than something like TLT or BND, since they are index based. You have to pay someone to actively manage the bond ownership. Is the cost worth it? Only you can make that decision, generally speaking after fees active management doesn't usually earn extra income vs an index. The average return of active management after fees is usually under-performance relative to a benchmark index.

I think it's important to think of bonds by what they return(yearly cash flow), not by the NAV. i.e. if you buy a bond(or fund) yielding 5%/yr with $10k. That's a $500/yr income you just bought yourself. It doesn't really matter what the price of the bond(NAV) does, you will still get your $500/yr (until maturity and/or bankruptcy). Bonds are a cash-flow investment. If you want $500/yr then you buy $10k worth of 5%/yr yielding bonds.

If you want $25k/yr in income and the yield is 4%, then you need about $630k worth of those bonds(or bond fund). Buy the cash-flow not the yield or NAV. On existing bonds, the yield can't change, so the NAV/price does change. On new bonds the yield changes instead.

It's the same difference. Think about you as a person buying bonds. You have 2 choices:

* Old bond paying 5%
* New bond paying 10%

Which would you rather buy? well the new bond of course, so if the person with the old bond wants to sell, what do they have to do to incentivize you to buy it instead? lower the price, so that when you buy it, you are getting around 10%/yr yield to match the new bond yield.

This is how bond markets work, in a few sentences.
Apologies to Greenspun:

“Any sufficiently complicated C contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of C++.”

See this hack as well as macros emulating templates for generic data structures and roll your own vtables with function pointers and _Generic for function overloading and function prefixes for namespaces.
Well most people apply to a lot of jobs which is why there’s not a 90% unemployment rate
In principle, that is true. In practice, there's nothing to be gained with pointing out the problems with the rules if the other party won't abide by them.
I wouldn’t focus exclusively on back in isolation. Ideally you want a push/pull combo to keep musculature balanced.

Also, “make sure you get taught proper form” is doing a lot of work here. It can be hard to find someone who really knows their stuff and pays close enough attention to correct subtle mistakes.
That's why our industry sucks (probably some others too). Instead of improving the game, we just like lets gives up, it's unfixable. Dang, it's not that bureaucratic govt .. a lot of tech people in C levels, and we are constantly bullshit-ing our workforce. 4-5 rounds interview for what sake!? Higher barrier, only backdoor network?
I have a client who asked for the favicon to be changed 5 years after the app was in production.
The pico (rp2040) never really had issues and it's more of a direct competitor to the esp32 than a standard pi.
So why delete my comment on the publication instead of addressing it? Then why delete my second comment? And why not make it clear the article is generated by ChatGPT, at least partially?

Also, this is a good example on why anonymous accounts writing content will be trusted less. You say you used ChatGPT for parts of it. Unclear on what “parts” mean and how much input you had, versus what the AI wrote.

It’s a reason for people to stop reading anonymous authors, or articles that don’t make it clear that it’s not an AI writing part of the article.

I’ll be honest: I feel duped reading a wall of text to realise it’s at least partially generated, and this whole article could have been the prompts you used to generate it.
> I started with PHP and never trusted persistent processes for anything.

Well it's (maybe was, it did get a bit nicer over years but old shit code is still there) terrible language so no wonder you have no trust.

> What if your persistent process hangs or crashes for whatever reason?

depend on language. For example in Go (in most frameworks at least) panic() in goroutine handling request will just... nuke that request and nothing else. Sure, memory leaks can be issue if the code is terrible but essentially restarting app after every request is just shitty workaround for shoddy code.

That's how most other handle code. Other, that do multi-core processing badly like Ruby, just spawn multiples of server so it isn't really that different from PHP model, you get "supervisor" that spawns few processes of app and feed them requests, if one dies it just gets restarted.
I’ve had hallucinations from pot that I’ve grown from seeds myself. As have others from the same pot. It was extremely strong hydro grown under stress, the bud glistened.
> You're assuming that the people doing the hiring actually can identify "the best."

FSVO "best".

The best coder? Designer? Team leader? Co-worker? The candidate the interviwer judged most trustworthy? The people doing the hiring could have any of a number of different criteria.
It's about virtual memory controllers. Linux needs one. The chips at this size don't always have the minimum hardware features to even boot Linux.
Harm reduction itself isn't a bad thing, the problem is if it displaces other forms of help for drug users, or ends up encouraging more drug use.

e.x. skip to 2:00 in this video https://twitter.com/sav_says_/status/1603512522509668352
CTCI is the only reason I got my job, so I am thankful for her work. It's a tough juggling act: making sure you're interview ready and being a good programmer who can do good code are two different things and I find myself spending a lot of time doing the latter more than the former nowadays. The advice I've gotten is to always keep your LC skills warm (1 or 2 a day), but I'm not sure how that will work if I interview again... There's just too much to learn and too many things to do on equally important objectives in the professional programmer's life.
How Elon Musk's satellites have saved Ukraine and changed warfare
On the "no formal parameters function" - You can forward declare the function with the parameter list, and then define the function without a parameter list. This should (might) generate a compiler error/warning in very old compilers, but really it is an indicator that you are trying to use an older style of declaration with "modern" convention.

If you have a forward declare you can then bring in different headers (or use a pre-processor block) depending on need that will redefine the function.

The reason this ability exists, in all the different incantations you can use, is to ensure that very old-style C will still compile.

You could also pop things off the stack manually inside a function all the time, even without a paramter list, popping off an "invisible" parameter also let you do things like return to a different part of the code than the invoking function.

The compiler I worked on in 1985-ish supported forward declarations, which was "fancy and new" at the time.

Insert obligatory, "I was there Gandalf, 3,000 years ago."
Thanks for the feedback, glad to hear I'm not completely crazy ;). I think I saw that paper cited in my reading but haven't read it in full, will take a look thanks!

Some of the results I've had have been from trying to apply it using 1D unets (also audio). I am getting slightly better results now using larger (and more standard) 2D unets but it's really taking a long time to train, especially given that I'm still experimenting with a subset of my data.

I'm beginning to suspect that because it's learning to predict very small signal residuals, improvement in output quality is very incremental in a way that is not directly correlated to the size or nature of the dataset. Like, even if I just train it on sinusoids it takes a really long time improve. (compared to a GAN approach). None of these conclusions are very formal mind you, would love to hear this confirmed. The training dynamics just seem very different from what I am used to with either MSE or discriminative loss.
I encourage you to actually do some research on alcoholism - both the number of people it affects as well as the way it prevents itself. You're dangerously uninformed on the topic to be presenting these kinds of opinions.
apache haven't been necessary since nginx.
Thought I'd post the description :

"""
Haserl is a small cgi wrapper that allows "PHP" style cgi programming, but uses a UNIX bash-like shell or Lua as the programming language. It is very small, so it can be used in embedded environments, or where something like PHP is too big.

It combines three features into a small cgi engine:

It parses POST and GET requests, placing form-elements as name=value pairs into the environment for the CGI script to use. This is somewhat like the uncgi wrapper.

It opens a shell, and translates all text into printable statements. All text within <% ... %> constructs are passed verbatim to the shell. This is somewhat like writing PHP scripts.

It can optionally be installed to drop its permissions to the owner of the script, giving it some of the security features of suexec or cgiwrapper.
"""
Critical Mass (2015)
See also this cool chain reaction simulator from the article: https://blog.nuclearsecrecy.com/misc/criticality/
Just use your favorite programming language’s http server library. The development time will be faster and the code will be more cohesive.
I realized after commenting if it is specifically a product where you actually need / want these customers' data to "talk" to eachother, then actually your architecture might be a bit simpler - then you can expose what you need between all the tenants. I can't speak to this approach much more though, since I haven't done a project like that yet.
This thought deserves some admiration:

>Assume that bad technical decisions are made rationally, for reasons that are not apparent.

It could be generalized:

>Assume that acts or behavior you don't understand are made rationally, for reasons that are not apparent.
I think the EU should really just force any cars display to communicate with an openly documented protocol (maybe it should be standardized too but at least open) with readily available connectors. And I mean all information that is displayed on the touch screen and all input that is sent back. That way third-party products could potentially replace or enhance the screens.

Of course the US should enforce this as well.
Looking at the overall scheme of things, the things you mention get lost in the noise.

People wash their cars anyway, they just don’t do it when the HOA president is watching or when the cops are looking. Or in San Jose, they don’t give a crap anyway since there is a giant homeless encampment half a block away, and human feces floating into the sewers anyway.

It’s like bag bans - inconvenience, more junk, more cost, and for little to no actual improvement, coupled with feel good ‘look how much we’re helping’ propaganda.

Also irritating.

Are these major impediments to life? No. Are they lame? Yes. Do they accomplish what they putatively are for? No.
Don't build an app / SaaS / etc. Too competitive of a landscape.

Think beyond that space.
Perhaps they are on wifi or Bluetooth? My civic 2016 with CarPlay plugged in is absolutely perfect and not slower than interacting with my phone.
Would you be looking for a MIDI control pedal which could be assigned to the record command in the DAW?
The only reason anyone can and does make a valuable product or service is for some wealth. If not money, kudos, power, ...

I don't buy the altruistic motives.
Probably still less slowdown than some heavy framework
How I've dodged that in the decades of using vim, I don't know. Though these days I roll with space for entering command mode, so the danger is nil.

nnoremap <space> :

Has done wonders for my fingers.
Anecdotally, Americans tend to shower more often than Europeans. Perhaps this explains why more tech innovation tends to happen in America these days?

I suspect a major cause of the shower gap is energy price gap, leading one to conclude that cheap energy increases innovation!
In Germany, Mercedes has a license to sell full self driving cars (the driver can write emails, watch movies, do whatever they like) that are allowed to enable FSD mode while on the highway and driving up to 60 km/h.
Absolutely - education and regulation are much more effective strategies than prohibition along pretty much every dimension. We've drawn the very reasonable line that young people whose brains are still developing don't get alcohol, and of course we should extend that standard to other drugs.
Richard Ngo on large language models, OpenAI
man-child

The most worrying increase I see around here is the use of a vehicle as an assault weapon. I think it was popularized by ISIS terrorists (Nice and Berlin IIRC), but over the past year we've had multiple incidents of people driving into crowds or cops over a previous altercation. I cannot fathom why such an offense does not lead to a lifelong driving ban.

But that's not really on-topic when discussing driving controls: luckily, most vehicle crashes are still accidents, not attempted homicides. And for these cases, whether the car has buttons or a touch screen does matter.
This doesn't really protect from a targeted attack of nation state dead set on keeping it a secret. That would be almost impossible. This is supposed to protect against the much more likely scenario that some government authority or government official decides to commit and overreach and order the disclosure of data and a gag order, but without the full support of the nations information agency.

It's not supposed to guarantee Putin that the US hasn't seen his porn collection. It's supposed to tell me (a regular guy) that the government hasn't seen my vacation photos in secret.
This stuff is great. The host of "Jazz Club" is actually a musician, and wrote this article:

https://www.theguardian.com/music/2016/nov/11/john-thomson-l...

I'm an amateur jazz musician myself (in rural England), and the people I know locally who've seen these sketches also like them. But, when I've mentioned them to Americans they do not seem to be at all amused, and are sometimes rather offended; I'm not sure why.
Where i live Tesla have caught up to BMWs and Dodge Chargers when it comes to douchey driving
Sorry for not being clear.

The Zoom H1’s run about $125 new.

A cassette recorder is $25 new despite all the additional material and logistics costs.

I was surprised that there is nothing in that price range.

I wound up buying a Tascam DR 05. It was about $125 at the time. eBay’d a year later. I just couldn’t commit to its interface abstractions and workflow.

It lived in the space where the software was motivated toward making design and manufacture easier rather than the use pleasurable.

If I have to menu dive every time I use it, why not just use my phone? Or tape since I can use a pen to name things…not scroll through 128 options one letter at a time.

And to be clear, not using my phone (or laptop) is why I buy hardware.
And you can do that, parked on the side or the road, with a tiny LCD panel and buttons on the steering wheel. No need to add a screen for that.

Alternatively, you can use the app on your phone that you probably need as a backup key anyway to queue up your navigation for you while you're safely parked. You shouldn't do this while actively driving, especially if it needs a screen to work.
The last car I rented wouldn't permit navigation destinations to be set or amended by touchscreen while in motion. It was infuriating as it was the passenger who was safely trying to adjust the destination and we were having to pull over on busy roads to re-route away from closures. Eventually, we found the driver while in motion could use a physical "joystick" in the center console to work the UI. It felt far more dangerous than a few taps of a touchscreen.
https://archive.ph/FVKWc
For #1 you can do tons of things as condition for “early release” including warrantless searches so I suspect it’s related to that.
Wow thank you for this, as a noob I was combing through the Boss Katana manual last night trying to understand what the hell everything does.
Rational Reminder: Prof. Robert C. Merton on ICAPM and Models in Finance
I'm not so sure about that. If you've ever talked with a full-blown alcoholic, the allure of drinking is almost a reflex with no consideration for its effects. I don't think they even remember having to lie in their own vomit or the severe hangover they will have to endure. The hangover is enough of a deterrent for myself, but they don't even think twice about it. Its amazing, really.

I'm convinced the only reason alcohol is legal is because it is culturally embedded. If it were being introduced anew, it would be prohibited. Its far worse than most illegal drugs.
I was heading tech and product of a SAAS software for ~15 months so writing this from that experience.

- Who is the buyer? Typically they are not same as the user of the product so understand what they look for in similar products.

- SSO, preferably SAML based.

- As for security, take care of OWASP top-10 [1] and you should be covered for app-sec.

- Implement RBAC. Make it easy to add/manage users for an admin-user.

- Setup a demo account in sandbox, fill it with data as close to real world as possible. Makes it super easy during sale pitch. You let your product talk instead of you.

- Consider multi-tenancy from right off the bat. It's hard to add it later.

- Look up your domain specific compliance requirements and build those from ground up. Some such as SOC 2 don't hurt. While at it, get a decent security vendor to pen-test your product, work with them to fix high/medium priority issues and get them to issue certificate. It builds credibility with customers.

- Reports. Typically the admins will require a bunch of reports. It's best to give them a CSV/Excel download and let them slice and dice in their spread sheet software.

- Users will make mistakes so always use soft-delete. You can always do hard-delete after a few months.

[1] https://owasp.org/Top10/
Google Cloud has Identity Platform. Basically Firebase Auth re-branded.

It’s meh. At least compared to polished / feature complete solutions like Auth0.
Show HN: Futurecoder – A free interactive Python course for coding beginners
Some highlights:

- 100% free and open source (https://github.com/alexmojaki/futurecoder), no ads or paid content.

- No account required at any point. You can start instantly. (You can create an account if you want to save your progress online and across devices. Your email is only used for password resets)

- 3 integrated debuggers can be started with one click to show what your code is doing in different ways.

- Enhanced tracebacks make errors easy to understand.

- Useful for anyone: You can have the above without having to look at the course. IDE mode (https://futurecoder.io/course/#ide) gives you an instant scratchpad to write and debug code similar to repl.it.

- Completely interactive course: run code at every step which is checked automatically, keeping you engaged and learning by doing.

- Every exercise has many small optional hints to give you just the information you need to figure it out and no more.

- When the hints run out and you're still stuck, there are 2 ways to gradually reveal a solution so you can still apply your mind and make progress.

- Advice for common mistakes: customised linting for beginners and exercise-specific checks to keep you on track.

- Construct a question that will be well-received on sites like StackOverflow: https://futurecoder.io/course/#question

- Also available in French (https://fr.futurecoder.io/), Tamil (https://ta.futurecoder.io/), and Spanish (https://es-latam.futurecoder.io/). Note that these translations are slightly behind the English version, so the sites themselves are too as a result. If you're interested, help with translation would be greatly appreciated! Translation to Chinese and Portuguese is also half complete, and any other languages are welcome.

- Runs in the browser using Pyodide (https://pyodide.org/). No servers. Stores user data in firebase.

- Progressive Web App (PWA) that can be installed from the browser and used offline.

-----------

A frequent question is how does futurecoder compare to Codecademy? Codeacademy has some drawbacks:

- No interactive shell/REPL/console

- No debuggers

- Basic error tracebacks not suitable for beginners

- No stdin, i.e. no input() so you can't write interactive programs, and no pdb.

- No gradual guidance when you're stuck. You can get one big hint, then the full solution in one go. This is not effective for learners having difficulty.

- Still on Python 3.6 (futurecoder is on 3.10)

I am obviously biased, but I truly believe futurecoder is the best resource for adult beginners. The focus on debugging tools, improved error messages, and hints empowers learners to tackle carefully balanced challenges. The experience of learning feels totally different from other courses, which is why I claim that if someone wants to start learning how to code, futurecoder is the best recommendation you can make.
I'm rarely in a situation where I'd want to quit vim. One off config files on a remote machine perhaps?
I think there's ample evidence that

a) If this is something that's going to be a problem, it'll be because the government has made itself your enemy, and

b) the government's inability to compel speech is more than just a "legal technicality game".
Scrolling through your landing page on mobile was an awful experience. I both had my scroll speed reduced to stop in the middle of sections then was zipped by the small amount of content.

Looks flashy but isn't functional and definitely needs some polish. Not that I would ever be happy with this sort of interface. Just stick the text on the page and let me scroll like every other page on the web.