skysight-inc/HackerNews huggingface dataset:
The technical reasoning for moving to a database-backed store is twofold, they're running into performance issues with large graphs and, more importantly, want to support live collaboration. There are a wealth of other note applications that are just plaintext and operate fully locally. IMO it's worth the tradeoff, especially if they continue to support exporting to EDN and markdown (which I expect them to). It's not like they're going with something poorly supported, they're using SQLite compiled to WASM.

Doing any sort of structured querying over files sucks bad and performs even worse.
https://www.npr.org/2024/07/15/nx-s1-5035998/gaza-israel-foo...
>The market seems to hate dividends and buybacks, preferring expansion or acquisition, but then what gives it value?

I've always thought of a stock as a claim on future dividends, but for most of a company's lifecycle they should have a better idea how to invest funds than returning them to shareholders. So ideally only mature large cap companies should pay dividends.

As far as valuations go, international stocks are far more attractive than US stocks right now.

Total US stock fund (VTI): 1.33% dividend yield, 25.1 P/E

Total international stock (VXUS): 2.94% dividend yield, 15.4 P/E

It's been my experience discussing with many US investors that they are loathe to hold any international stocks for a variety of reasons. Personally I think they will have their decade soon. The US market cannot continue eating the world market capitalization without commensurate outsized earnings growth to back it.
The origin of life remains a profound mystery. The more we investigate, the further we push back its beginnings, suggesting that we may eventually need to search beyond Earth for answers. Since the Miller-Urey experiment, which successfully synthesized amino acids, we have made little progress in understanding the exact processes that led to the emergence of life. How were RNA and DNA formed? How did the first cell come together? What were the necessary timelines, energy sources, and chemical conditions? Is Earth uniquely capable of generating life, or is life, in its most basic form, a common feature of the universe? The formation of water involves processes akin to supernovae; perhaps the genesis of life requires a similarly extraordinary scale of events, or even more? We need to find out.
71. Damn, some of them are obvious when you see them as well.
Back around 2010, the last time I allowed myself near a KFC, it was $50 for a family meal. Those prices, coupled with the Cornel's complaints, caused me to ban KFC henceforth.

I guess some people will suffer anything (the horrendous sides at KFC) to shove some fried chicken down their neck.
XBOW: A new AI security company by the creators of GitHub Copilot
The biggest problem IMO is that querying is too complex. Without that, it's a pretty limited app, given what it's used for.
> They are focussing on privacy.

They're literally tracking the ads you see and the websites you go to and sending that data to at least one third party. That's the opposite of privacy. I could not care less if the third party collecting my data is Google, Mozilla, or the ISRG, none of them have any business collecting my personal browsing history just so that they can send reports back to advertisers.

> That said, as much as I hate advertising, I also understand that it is fundamental in providing funding for services (such as YouTube, or most news organizations) that enables the free flow of information online. For democracy to function, for humanity to keep getting better, information must be accessible to all, not just to those who have the means to pay for it.

The internet was here before ads came in. The lie here is that for "democracy" and "humanity" we must accept ads and being tracked. It just isn't true. You could make the same argument for putting ads/tracking in linux (operating systems must be accessible, not just for those with the means to pay for them!) but it would still be a terrible argument.

> You have to remember that the alternative is NOT the absence of tracking, but invasive personalized tracking done by ad networks

This is another lie. Firstly because currently my browser isn't sending reports of what websites I visit to third parties so that ad companies can collect more data and that's still an option, but also because this will do nothing to stop personalized advertising.
The existence of a universal function approximator or function representation is not particularly unique to neural networks. Fourier transforms can represent any function as a (potentially) infinite vector on an orthonormal basis.

What would be particularly interesting is if there were a proof that some universal approximators were more parameter efficient than others. The simplicity of the neural representation would suggest that it may be a particularly useful - if inscrutable approximator.
> Most of them were copied almost 1:1 from HP and Casio calculators, and adjusted for the inferior production capability

Of course. /s

But some of them were better.
How does that remove the right? Presumably one is making the decision to connect these devices to the internet and could simply decide differently.
>I can't answer that because I'm not a mathematician

So what? Mathematicians can't answer it either. It is an open question and because it is an open question claiming it is or isn't true makes no sense.

>The fact you can't encode arbitrary data in a structured-but-irrational number doesn't mean you can't encode data in a 'random' irrational number.

You can not encode data in a random number. If it is random you can not encode data in it, because it is random. I am not sure what you are saying here.

I demonstrated that numbers where the digits go on forever and never repeat exist, which don't contain every single possible substring of digits. Therefore we know that pi can either be such or a number or it is not, the answer to that is not known. Definitely it is not a property of pi being infinitely long and never repeating.
The whole concept of the devil is problematic. It prevents reconciliation of self and denies us the chance to do better. It cheapens choice and absolves wrongdoers of responsibility for choosing correct action.
Blaming the devil for incorrect action is merely following sin with sin and hiding it all behind a lie. Stand up, take responsibility for your actions and do better. You are not a child to hide behind your mother’s skirts and blame an invisible made up evil for your actions. You are a self, responsible for your choices and accountable for your actions.
There is no devil whispering in your ear, that voice is you. But the angel on your other shoulder is also you and you alone get to choose.
I got to 57 before running out of tags that I use at least once a year. Had an "Oh yeah" moment when I realized that I'd forgotten html, head, title, body, script, style, and meta.
> They were "super illegal" with or without the cover sheets.

Um, not necessarily. They were going to court to determine that.
I don't know if "ultra portable" is referring to a specific kind of camera type, but I got a Sony ZV-1 on black friday last year, and since then it has been my go-to camera over both my DSLR and smart phone. I usually just carry it in my pocket instead of my phone these days, but I also can fit it in my pocket with my phone if I want to.
From RAG 1.0 to RAG 2.0, What Goes Around Comes Around
I think it’s a scale thing. The market for those devices exists but it’s not big enough to justify the investment.
> Expecting privacy has become unreasonable by definition.

*in the US that is. Basically everywhere else, esp. Europe, has been moving into the complete opposite direction here. There is _more_ privacy rights - and recourse, like the right to delete - then there has been at any point in the past.
I struggled to get to 44.

Mildly curious on what all I'm not using.
c_str has to be constant complexity, so I guess the memory needs to be already allocated for that null character. I'd be surprised to see an implementation that doesn't just ensure that \0 is there all the time.
For two operations the floating point error is unbounded. If it ever made sense to carefully analyze a fixed point system it is for manned space flight.
Can you provide background and/or context as to how and why this decision was made?
I dont disagree, but Im also how you are tying this to my statement.

What is changing over time in the US or Singapore? Is the opportunity cost getting higher? That could be an interesting idea.

I suppose it is as salaries and material compensation increases, so does the opportunity cost. A homemaker has less opportunity cost than a female professional making 250k per year.

It could be the case that the opportunity cost people are willing to pay for children is not perfectly elastic, and does not scale with income.
Data Security of Threema for Desktop
This is certainly true, but my question is why does that matter? It's not like projects of a more manageable scope are any less interesting or useful.
And you can type this with a straight face, unwilling to acknowledge that we’re devolving to our previous, more primitive roots at a more desperate hour than usual?

I’m not sure how to tell you this, but going back to what we used to do is not a good sign. Just because there’s precedent doesn’t mean it’s fine.
In ioquake3 and its forks it would be called "unlagged".

"Unlagged" is a specific implementation of lag compensation for the Quake III engine, which ioquake3 builds upon. It was developed to improve the gameplay experience for players with high ping, Unlagged aims to ensure that shots hit targets as seen by the shooter, even if there is a significant network delay.

There are mixed opinions on it, of course. It is much difficult to kill people without it enabled.
The Fuji cameras I'm working on include similar functionality. Basically the camera can connect to any AP, then it will find a client. From there the client can do liveview/automatic photo importing/change settings.
I genuinely have no idea how to read the first diagram presented. Maybe I'm not the target audience - I'm significantly NOT a visual learner, but that first diagram is far more confusing to me than code/pseudocode.
TIL I cheat at my job every day when I use Google or AI code assistants
I think you may have missed the "also" in their comment.
This is consistent with my own experience that Claude is just downright better than ChatGPT.
Ah, you mean <div style="display:inline"></div>?
Singaporeans work the longest hours in the world, are the most sleep deprived and have the highest rates of depression in Asia. On top of that, an authoritarian regime, a lack of civil liberties, high cost of living and inequality. Maybe the kind of conditions to make people not want to have children?
At least for me on AT&T, using my phone as hotspot is part of my service plan with the carrier. Given that I pay for it, it works as you describe.

The hacks described here are if you don’t have hotspot usage enabled with the carrier.
Guide to Machine Learning with Geometric, Topological, and Algebraic Structures
like trees that reach maturity in 25-40 years then live up to 300-600 basically with the same mature form?
How do you imagine async works otherwise? Also, in case you misunderstand how polling works in practice in rust, it's not polling in the traditional web development sense where it polls every 5 ms to check if a future is completed (although you can do this if you want to for some reason). There are typically "wakers" that are "awoken" by the os when data is ready and when they are "awoken" then they poll. And since they are only awoken by the OS when the information is ready it really never has to poll more than once unless there are multiple bundled futures.
Training I can understand, but why scanning?

It's literally just running an algorithm over your data and spitting out the results for you. Fundamentally it's no different from spellcheck, or automatically creating a table of contents from header styles.

As long as the results stay private to you (which in this case, they are), I don't see what the concern is. The fact that the algorithm is LLM-based has zero relevance regarding privacy or security.
Samsung Galaxy NX: a decade's review
I am definitely of the opinion we need to rush away from C. Rust, Go, Zig, etc does not matter, but anything which can catch some of the repeated mistakes that squishy humans keep repeating.

That being said, the file system is one of those infrastructure bits where you cannot make a mistake. Introduce a memory corruption bug leading to crashes every Thursday? Whatever. Total loss of data for 0.1% of users during a leap year at a total eclipse? Apocalypse.

There is no amount of being too careful when interfacing with storage. C may have a lot of foibles, but it is the devil we know.
Generally speaking yes, but there could be a logic error somewhere in safe code that causes an unsafe block to do something it shouldn’t. For example, a safe function that is expected to return an integer less than n is called within an unsafe block to obtain an index, but the return value isn’t actually less than n. In that case the ‘bomb’ may be in the unsafe block, but the bug is in the safe code.
This is cursed as shit lol
re: some of my coworkers who are ex-BellSouth complain that working for this company hasn't been the same since.

That would be correct and only natural. I started with Michigan Bell in 1977, went through divestiture, the assembly of Ameritech, then SWBT/SBC. The Bell System / along with Western Electric/Bell Labs was a great place to be. You could spread out the SD's to work on problems and end up talking with engineers/programmers. My bosses went from being in Michigan, to Wisconsin, to St. Louis, to NJ. So, yes, the jobs have changed, the coworkers have changed, the jobs have changed. Plus, we all missed Ed Whitacre when he retired.
Or carbon butter.

https://duckduckgo.com/?q=carbon+butter&t=fpas&ia=web
Almost everyone already has a camera that has all of these features in their smartphone that they already carry with them.

That limits the market for a second device that is a better camera with all those features but not a smartphone.

Of course, computational photography combined with a proper lens and better sensor would be amazing, but it'd be a niche product and expensive (since it would be made in small numbers, and require expensive compute and much more RAM than current phones tend to have).
There gets to be a certain point where we simply have to accept that while yes, technically one could simply not own a TV (increasingly difficult to find a DumbTV as opposed to a SmartTV with always-on microphone), any IOT things, a smartphone, etc etc, we cannot reasonably expect someone to not do this. Notably the smartphone, which of the entire list of probably the worst offender, second only to the TV perhaps because of the ick/literally-1984 factor of your TV listening to you.

We practically can't expect people to do without a smartphone. It's how people pay bills, bank, access weather information, etc. And since it's the most-used path, it's also the best-maintained path. Non-smartphone alternatives have already rotted. Have you tried calling into half of those bills you pay via QR code instead of just scanning the code? Try it sometime.

Instead of telling people to just go live on a mountain monastery in Tibet, we could instead simply eat our cake AND have it by just regulating this stuff. Pass privacy laws. Fine people who break them. Samsung, Google, etc will comply rather than not continue to bathe in our ad revenue.
How many blocks do 1234567890 bytes use?

Unless you have some well known powers of 2 you have to calculate anyway.

To be able to convert easily from byte to gibibyte, mebibyte, gibibyte, etc. is a bigger benefit. Just moving the decimal sperator to convert the units is big advantage of the metric system.
There is a reasonable expectation of privacy. But we should distinguish between "privacy" with no qualifiers, and "digital privacy" which is a whole other thing. Some people see an equivalence. Others do not.
You can deal with jokers: https://find-and-update.company-information.service.gov.uk/c...
You want our Intro DB Systems course not the Advanced one:

https://15445.courses.cs.cmu.edu

Lectures start next month. Or you can watch previous years. Learn to walk before you run.
> amount of roughly 10^160000000000000.

You're also underestimating the accuracy by the absurd amount of roughly 10^202000000000000 ;)

You need ~ zero of the digits of the calculated pi to do OPs calculation.

[edit] My brains melting, I think I'm wrong and you are underestimating the underestimation of the accuracy by the absurd amount of roughly 10^42000000000000. OP is underestimating by 10^202000000000000.
Except that there's still a grey area on who owns the copyright of the generated text, and they might be able to use the output without you knowing.
> I will never understand why these platforms bend over backward to accommodate the guy who would destroy their entire business if he felt it personally advantageous.

This [0] book says it's because of money

[0] https://www.penguinrandomhouse.com/books/712678/broken-code-...
It's on par with C++, too. In C++ you need an `extern "C"`, because C++ linkage isn't guaranteed to be the same as C linkage. You can get away with wrapping that around it in a preprocessor conditional, but that's not all that much easier than Rust's bindgen.

A lot of C to C++ interop is actually done wrong without knowing it. Throwing a C++ static function as a callback into a C function usually works, but it's not technically correct because the linkage isn't guaranteed to be the same without an extern "C". In practice, it usually is the same, but this is implementation-defined, and C++ could use a different calling convention from C (e.g. cdecl vs fastcall vs stdcall. The Borland C++ compiler uses fastcall by default for C++ functions, which will make them illegal callbacks for C functions).

The major difference between Objective-C and C++'s C interop and other languages is the lack of the preprocessor. Macros will just work because they use the same preprocessor. That's really not easy to paper over in other languages that can't speak the C preprocessor.
So I've used the discussion here and the inspiration by @samcat116 to finally publish my review of the Samsung Galaxy NX - half smartphone, half "professional" camera: https://op-co.de/blog/posts/galaxy_nx/
What made you use nim in the first place vs any other lang?
Open source attracts some of the top innovators
We Are Developers Trip Largest Conference You Might Not Know
> How the hell did we get here?

Too many guns ? Too much interference of the CIA ?

> At a fundamental level, we seem to have lost our sense of what Democracy means.

What means democracy ? Rich people buying politicians to promote laws which will make them richer ? A bunch of "citizens" sending other "citizens" to die "for their country" so some assholes can increase profits ?
> Moving to cashless has made things harder to track

How so? As I see it, if anything it has made it extremely easy to track things.
Thanks for your feedback ;)
I think it's important to correct misinformation on such important topics. Many people point to these wrong facts as evidence that things aren't that bad - which makes it even more important to correct things, as this apparently was an important factor in their previous assessment.

Why are you asking me this question on a completely unrelated comment? Since my comment didn't touch on this subject at all, and since it's much faster to look this up yourself than to ask me, you must have some specific reason to ask me. What is it?
Yes, truncating a user facing string requires more consideration regardless of programming language. For example do you truncate at the grapheme, word, sentence, new line, paragraph, or something else? How do you indicate truncation to the user, with an ellipsis perhaps? If you use an ellipsis is it appended to the original string or drawn by the GUI toolkit?

Note that the Unicode grapheme cluster, word, sentence, and line break algorithms are locale specific. Now consider how often programmers casually truncate strings, even in high-level languages, without accounting for the locale.
Being able to trust that my employer would bring me back part-time in a comparable role (at the same hourly rate of pay) after a year of maternity leave and then decide if I wanted to continue working part-time up to my kid's 8th birthday sure made this whole thing less scary.

That's one of the big differences between having a kid in Germany and the US.

(the sub-500 EUR/mo daycare is another one - and that was for a 1.5 engineer income couple)
Check out Figure 1 again, it definitely has one.
Results about You
Mobile Deployment Pipelines for $0
I wonder what the most "obscure" tag is. My vote goes to <base>.
I got 38, and I didn't remember div until I got to #35 lol. The obvious ones can be deceptively tricky
Prevailing theory even in my childhood was that abqcus is a way to sneak shortchange in calculations
From what I've seen when code is generated from formal specs it ends up being inflexible. However, do you think it would be valuable to be able to verify an implementation based on a formal spec?
Are you suggesting GrapheneOS is bug-free? ... https://github.com/GrapheneOS/os-issue-tracker/issues

It was referring to the overall experience to which I was referring, not the OS specifically ("it's a buggy ride", it = the ride, not GrapheneOS)

I imagine a lot of the issues are because of the apps not testing on GrapheneOS.

But I've had lots of little issues:

- Nova Launcher on a daily basis stopped working when pressing the right button (the 'overview' button). I had to kill the stock Launcher app to fix it, interestingly. Had to revert to the stock launcher

- 1Password frequently doesn't trigger auto-fill in Vivaldi

- Occasionally on boot the SIM unlock doesn't trigger

- Camera crashing often (yes, "could be hardware"...I read the forums/GitHub issues)

More that I can't remember. It's a bit frustrating.

But don't get me wrong, I appreciate the project. I'm not going to go back to stock
https://eastmanreference.com/complete-list-of-html-tags
Or, you know, just booting the Linux kernel with init=/bin/sh with /bin/sh being a statically linked binary. You're overthinking things.
That's not a utility in itself, it depends on what the types represent to know if this is a useful property or not. For example, a Cfunction which is declared as "void foo(int a)" does ensure that it's called with an int, but if it's body then does "100/a", calling it as foo(0) is allowed by the compiler but will fail at runtime. It's true that that the equivalent Python function (def foo(a)) can fail at runtime when called as foo(0), but also foo("ABC"), but it's a matter of degrees, not kind.
Malay, Indian, and “Others” do not seem to have this problem.

https://www.ica.gov.sg/docs/default-source/ica/stats/annual-...
I’d buy it in a second and share it with a few agency owners I know of out were possible to white label. The “powered by faq” is a deal breaker though.
Not really since alternate side parking forces you to move the car for street cleaning. That starts a big process where everyone plays a musical chairs game trying to move their car and park it again. All I can say is thank god I live in Queens where we dont have that alternate side BS.
Today I learned about <hgroup>!