skysight-inc/HackerNews huggingface dataset:
I try to tell myself "don't get caught up in using a fancy frontend framework on this one," as I'm starting a new project, but I keep running into situations where my functionality would just work so much better.

As an example, I was writing a tool the other day to automate some things that have to do with quotes for my 9-to-5. Being able to add inline functionality in Django to select a customer within the quote page, or add / edit a new customer without having to leave that quote felt very 'hackish,' using the same jquery callback method used in Django Admin. My point is, this feels like very basic functionality, but turned into a whole other ordeal using traditional methods.
Does it have the option to automatically save every page you navigate to? There were some extensions back in the 2000s ("slogger" I think was one, "shelve" or something similar was another) but I don't think they work any more. The pages I think to save now are never the ones I want to look at 5 years down the road.
Is it really an Escape Room if you don't want to leave?
AFAIK Breed is the mayor of just one city.
Don't ever call fork from java? Not even once? And what are the consequences of calling fork? A minor stutter? Halt and catch fire? I don't java but it's hardly new tech. Surely someone has done some numbers on competing operating systems in the past couple of decades?

Until you quantify on some level, even very roughly, what the observed issue is, when you see it and how it degrades, that you're trying to optimize it's just urinating into the breeze. We might get lucky is the best outcome. The chances of it being a really good outcome are pretty limited. decrying something as "inefficient" based on big O or whatever is just meaningless until we actually do it. [1]

[1] selection sort is O(n^2) and can totally dominate O(n log n) algorithms in actual time and cycles spent depending on circumstance. We have to specify, it's not something that can be shortcut because it will likely get a terrible result.
Looks like Yahoo from 2003!
Speaking for myself, I find it much quicker and easier to build an SPA than a server rendered app. You seem to take the stance that server rendered is the default, normal way to architect and SPA requires justification for its aberrant departure from the norm.

SPA have lots of advantages: fewer languages to learn, easier to deploy, etc.
I'm sorry to hear that - and I hope you're doing fine now. I really didn't have any "bad" experience like that (mania is awesome fun ;)), of course, the downside was depression followed by years of medication. They make such a deal about it being a "bad idea to leave midway through" ... I'm glad your teacher said you should (although even then, they're really ejecting you in what must be a pretty vulnerable situation). Anyway, hope you're doing fine now.
科学 is science, not tuition.
One cause could be the replacement of Minister of Defence from Serdyukov (notable for his anticorruption policies) with Shoygu (alleged yes man)
Thank you for your useless comment. Nobody is trying to "hide a very real problem."
You shouldn't let things you read on the internet get you so fired up, especially when you can't verify them.
Microsoft identifies and mitigates new malware targeting Ukraine within 3 hours
Some people feel exactly the opposite and are happier working in an office than remotely - even if they believe remote work is more productive!

Iirc it's very roughly like 20-30% want full remote, 50-60% want some type of hybrid (where there's a wide spectrum of hybrid models, from rarely-in-office to usually-in-office), and 10-20% prefer always or almost-always in office.

The ideal situation IMO is to have all options available: some teams are remote, some teams are in-office. The proportion over time should hopefully work out such that everyone can get what they want.

Personally, I'm happier and healthier with a hybrid model (where people work in office the same days) than full remote. And like you, I also know I'm not alone because of people I know who are very unhappy right now due to forced remote during COVID. I sincerely hope we soon enter a future where everyone has options that best suit them.
I have started fiddling with rust, and one thing that I miss from the Elixir world is binary pattern parsing/matching. The elixir model is so much nicer, I've used byteorder to convert a datetime to a byte array and then the reverse and it is not the most elegant code, nom looks much nicer. I wish rust had Elixir/Erlang like binary pattern matching.
Yes, and someone not living in the silicon valley bubble would have no clue which city Breed is the mayor of or why this is on HN.

(Answer: San Francisco)
Yes, I feel confident saying by and large they are. I've noticed a massive drop of collaboration with our switch to remote during this time. Sure there will be exceptions, mostly from in person companies being very bad about it, but there are fundamental limits with remote that don't exist in person for collaboration.
It's plausible that this represents a genuine change in public opinion. For historical precedent, after the attack on Pearl Harbor in 1941, public opinion in the United States drastically changed from a split to a 91% approval for the United States to declare war. [0]

The websites you have viewed, assuming they are in English, likely have a userbase that is primarily from the United States and countries that are part of the Western world. It's reasonable to believe that these countries (which have shared values) have genuinely shifted in public opinion in support of the invaded country.

If you're looking for the other side, you can find it in forums which have a userbase from countries that are not part of the Western world, and share different values. However, the views are more neutral for pragmatic purposes (due to prior relationships with Russia), rather than actively in support. [1]

Pragmatically, the war is not in the interest of most users across the globe. It represents an escalation that could plausibly lead to nuclear war if a NATO country were to intervene, which is in nobody's interest. It also affects daily life in other countries as gasoline prices are up across the world, and the sanctions will damage to economies outside of Russia. Emotionally and ethically, it's hard to see the footage of civilians dying and getting blown up by missiles as part of the attack.

I genuinely don't see a framing where it's a reasonable position to support the war without a massive logical leap or emotional stretch, and believe that other users in Western nations have arrived at the same conclusion.

[0] https://exhibitions.ushmm.org/americans-and-the-holocaust/us...

[1] https://www.nytimes.com/2022/03/02/world/asia/asia-russia-uk...
> If Putin flattens a major European city, the outrage in Europe will be huge.

Ukraine is not in NATO. And I'm afraid if NATO and EU have to choose between a direct military confrontation of nuclear-capable powers and a genocide of 40-million-and-dwidling Ukrainian population, they'd choose the latter as long as Putin keeps this contained in Ukraine.

Would it turn Russia into Greater North Korea? Absolutely. Would it cause outrage and grave concern? You bet. Would it make NATO to move in and stop it? Unlikely at the moment.
It does, although I doubt you would want to do this, it's rather slow.
Doesn't help that "Breed" is also a verb. (Headlines are often in title case. Took me two passes to realize it wasn't.)
Ah, I misrecognized the Kanji 「科」as「料」, sorry. Editing now. Makes a lot more sense this way. 「料学」gets translated to "fees" which I took to be "tuition".
Developments in the FOSS response to Copilot and related technologies
You don't normally have to give Stripe location information for US customers. The problem happened when he enabled tax support for Canadians.

Enabling tax support in Canada breaks US subscriptions... who knew.

> I built out my Stripe Tax integration, made sure I had all the addresses I needed for my Canadian customers (Canada is the only jurisdiction I run my business, and therefore only need to charge tax to Canadian customers), and updated all my customer subscriptions, awaiting the glory of automatic GST, HST and PST to be charged, and Stripe Tax taking all my headaches away.

> I deployed it on November 6, 2021, the same day that Stripe stopped billing a significant number of my customers, left all their invoices in a Draft state, and didn’t tell me about it.
The weird thing though ... is how recent that polarization really is. Pre-polarized America (which is subjective and has been a long slide down a continuum) basically had something similar to parliamentary coalition-building politics where factions would shift within (and more rarely between) parties. There was a significant balancing act of the different "wings" of each party, and the regional differences were much more present.
An occasional burger and milkshake isn't going to be the thing to send you into a painful downward spiral to your death.
Well, I have some thin clients kicking around that are used as "terminals" for much more modern servers. Since all they have to do is either netboot or run a VNC client, they work great. That's one possible use.
> SPA have lots of advantages: fewer languages to learn, easier to deploy, etc.

The two examples you give are only true if you don't have a backend at all. As soon as you have a backend, you're back to having to pick a backend language and deploy a backend server.

If your app doesn't need a backend, then I'd agree that an SPA is the way to go.
Show HN: Fun work place relationship quiz
I created a playful quiz which you can use to evaluate your work place relationships. Find out who is just a colleague or a good friend and, who might be your soul mate.
OP might able to test with 3M Optime 105 shop headphones. They have pretty high attenuation.
>>Oh, cool, then Taler also doesn't have a backdoor, since its auditability is also not a method by which a select few can view private information.

The group that can view the private information in Taler is limited to the state.

>>Cool, you can also try to mix your transactions on Taler, so another point towards Taler not having backdoors.

On the list of features on the Taler website, it says the following:

>>Customers can stay anonymous, but merchants can not hide their income through payments with GNU Taler. This helps to avoid tax evasion and money laundering.

I think you're being disingenuous in implying that a non-backdoored version of Taler would still fit the description the Taler website itself gives for the software.

>>So what you're saying is a deliberate design decision to allow auditing as part of the core design of a product isn't a backdoor?

* Auditing of the validity of the transactions that doesn't require exposing private information to third parties

* Auditing by everyone, not a select few with privileged backdoor access.
In the 90s, the local community radio (Dallas' KNON) had a show on Thursday evenings. I can't remember the name of the show, but I'm pretty sure the DJ's name was Marty something. He would always sign off with "remember kids, fly low and avoid the radar". I would record his sets and play them back later at house parties. Later came Edge Club on KDGE that aired from midnight to like 4am or something. I lived out in the boonies, so a trip to Tower Records was very rare for me, but I never left without a stack of CDs. It wasn't until college that I started collecting and spinning vinyl.
My first two jobs had (nice) cubicles, since then I have been stuck with this open office, elbow to elbow nonsense. Cubicles used to be the butt of many jokes, but now it’s desirable. :/
Yes. it's 0.5% per payment* on top of 0.4% per "invoice". Quite hefty fees considering credit card fee is 2.9%
While Java was designed to be multi-platform, C# was designed specifically to create software that could run only on Microsoft platforms. Any advantage provided by C# is negated by tying your work to a platform that could be abandoned by MS as they did to Visual Basic.
This is very clever, and a great demonstration of how flexible and generic Nom is!

It's not quite as inspired, but I wrote a minimal bitstream cursor/parser from scratch in Rust a few months ago[1]. It's developed with LLVM bitstreams in mind, but the API itself is suitable for just about any bitstream.

[1]: https://docs.rs/llvm-bitcursor/latest/llvm_bitcursor/index.h...
Should McDonald be allowed to lie and destroy a company?
Gosh that was fun to play! Thank you so much for sharing.
To rephrase this: For the most junior (engineering) employees, a starting salary allows you to spend under the recommended maximum of 25-30% of your salary on rent to live in a decent 1BR apartment minutes from your office. You then receive significant bonus and stock on top of this. It's...not a problem.
lol another developer who hasn’t built an enterprise web app that requires The be benefits of a spa… and hasn’t taken advantage of the best practices around redux state management.

Have fun with managing state in the server while building apps that work internationally and offline.
I bet that isn't going g to work & is also a mistake, remote 4 eva!
Ukraine IS Russia. Russian Federation doesn't contain a region named «Russia».

Russia formed when Oleg from Novgorod killed Ascold and Dir (rulers of Kyїv) in 852AD, captured Kyїv, then called it as «mother of (new) Russian cities».

When Moscow tsar Petro I captured original Russia (now Ukraine), he appended «tsar of all Russia» to his tittle. Then Catherine II renamed Moscow kingdom to Russian Empire.

So, in short, RF is Russian, not Russia.
Big companies' web design seems to have gotten a bit westernized lately, but I think there's still a higher density on Japanese pages. E.g. compare https://www.kuronekoyamato.co.jp/ytc/customer/ with the same company's same page in English https://www.kuronekoyamato.co.jp/ytc/en/ . Or compare https://www.nta.go.jp/ with https://www.irs.gov/ .
I don't really like it for the simple reason that a digital canvas is infinite. There's no need to dump everything onto as little space as possible. It reminds me of a billboard.

Space isn't just about advertisement but also presenting information in a form that reflects the structure of the content. Dumping everything, as the word suggests makes it harder to figure out what is important, the order of what's being presented, and so on.

Compare for example the debian download page (https://www.debian.org/distrib/) to the new Fedora site (https://getfedora.org/). I find the latter much, much easier to navigate.
One can also fast from an insular nature and take steps towards community building, which is definitely a sacrifice for many.
If your only goal is to send digital value across the planet why would anyone use Ethereum or Bitcoin? There are a ton of alternatives that cost fractions of a penny in transaction fees.
I think you'll lose some talented employees if you don't allow WFH. I think it will take time to see how this plays out.
I used to read a helluvalot more than I do now. After coding and looking at text all day, I'm ready to not look at text any more at the end of the day. I've tried keeping a book on the nightstand to read for a bit before going to sleep, but I've really just gotten out of the habit entirely now. That's kind of sad thinking about it enough to type it out.
I agree that we have big problem with defective CPUs and DRAM in the industry. Those chips and modules shouldn't have made it out the factory door, nor should they have passed quality control at the receiving desk.

We also seem to have the same issue with SSD modules and SYNC commands.

You can't fix broken hardware in software without taking a huge performance it, if it is possible at all.

Yes, we all like to point out corner cases here, don't we?
How so?

Because it looks to me like the current state of crypto is worse than ever - https://digiconomist.net/bitcoin-less-green-than-ever-before...

Emissions on a par with Greece. And just for one coin. Ethereum is still going to PoS any day now, totally, just a few months off. Like it has been for several years.

So what is it about "the current state of crypto" that you think you know better than these?
If you work at Google, even if everyone is "on-site", they're not at your site, and you still need to treat them as if they're remote. Once a company reaches a certain size, and has offices in multiple locations (and timezones, and potentially multiple countries), it's necessary to treat most people as if they're remote, because effectively, they are.

Yes, your team may be fully in one office, but it's pretty rare to work in a team where 100% of your work in handled in-team. If your meetings include other teams, they're probably going to involve video conferencing, at which point, it's actually worse to use a meeting room, because it means that some people are going to have audio/video problems.

I also like working in an office, but I also understand that real life means that being remote-first is the best approach.
Also,

> 3 tons of space junk, a punch that will carve out a crater big enough to fit several semitractor-trailers

These are likely US tons, so 2722kg. I'm not sure about the SI conversion of the semitractor-trailer units.

> scientists expect the object to carve out a hole 33 feet to 66 feet across

Oh, so 10-20 meters :-)
https://pubmed.ncbi.nlm.nih.gov/17848828/ documents a single case.

https://pubmed.ncbi.nlm.nih.gov/31668156/ is a survey of 19 studies that identified 28 cases. Conclusion: "Of the 28 cases reported, 14 patients had certain precipitating factors like insomnia, lack of food intake, history of mental illness, stress, and psychoactive substance use."

Given the millions who meditate I think risk is less than a range of ordinary daily activities we engage in that can entail a life changing injury: crossing the street, diving into a pool to swim, and eating peanut butter (aflatoxin risk) to name three. The suggestion to consult a mental health professional, in the absence of any prior psychological issues that were significant, seems to me to be a waste of time and money.
I worked in Plymouth, and had regular meetings with folks in Crittenden. That was a ~10 minute bike ride. When I had time, I loved biking over there and back, maybe catching a meal at a cafe far from my office. It was the perfect mid-day break.
I bet that is the wrong move.
This quiz collects the colleague's name, plus your age and gender. These factors don't seem to impact the results of the quiz. Why are they collected?
>>Taler's ability to audit merchant income streams is meaningfully different from a clipper chip and they should not be compared to each other, regardless of what umbrella term you think they both fall under.

Taler is designed to deprive people of financial privacy from the state:

https://taler.net/en/features.html

>>Customers can stay anonymous, but merchants can not hide their income through payments with GNU Taler. This helps to avoid tax evasion and money laundering.

It is explicitly anti-privacy for a subset of users.

The comparison to Clipper Chip, outside of pedantic bad-faith misinterpretations of the qualities being compared, is entirely appropriate.

>>the majority of people looking at Taler are saying its design around auditability isn't a backdoor; therefore it's not, because language is descriptive and not perscriptive.

Citation needed.

>>Citation needed.

My assertion is based solely on common sense. Why on Earth would a person want to lose privacy vis-a-vis the state?

>>You're just making things up now.

What part of what I said are you alleging is incorrect?
IP can be negotiated, though. I've seen it done many times. I've done it myself.
i <3 ur "life art".
One very useful thing you could add to this (if you feel like it) would be to make it work with snapshotted directories, rather than a single HTML file with inlined data. You can get the former with SingleFileZ and then extracting the resulting zip file.

I like these because it makes it easier for me to make manual edits when necessary and it's a better solution for long term archiving (IMO). But I would love to add your project to my workflow.
My desktop text editor[1] is written using JavaFX and leans on Warp Packer[2] to create installer-free, multi-platform executable binaries (without jlink). A user contributed a new dark theme[3], which blends nicely with the desktop.

The JavaFX-based WebView (an HTML rendering component) is lauded, but has no direct API to control the scroll position and is itself a memory hog. Scrolling must be handled through JavaScript, and that indirection is as unwieldy as you can probably imagine. FlyingSaucer is a workable alternative to WebView, but comes with numerous technical issues that rear themselves when embedding a Swing widget inside a JavaFX application---as I discovered during development.

Were I to start from scratch, I would definitely seek out alternative cross-platform programming languages for desktop application development. The JavaFX event-based model is top-notch, but there are too many technical gremlins to make implementation a smooth ride. (Such as improper handling of Alt+Tab, which leaves focus on the menu bar when returning to the application[4].)

[1]: https://github.com/DaveJarvis/keenwrite

[2]: https://github.com/dgiagio/warp

[3]: https://i.ibb.co/QpqS0NS/screenshot.png

[4]: https://stackoverflow.com/q/65765656/59087
It's weird because it seems like you can point to various aspects of crypto and maybe identify them as being a pyramid scheme, but I don't feel like that definition holds up as it gets sufficiently large and self sustaining. Otherwise you could point to a number of other very large money machines like the stock market or even money itself and say it is also a pyramid scheme. Maybe it is though. Perhaps the entire economy is a pyramid scheme that is dependent on an infinitely growing population.

As soon as we hit a population limit on the planet there will be no bigger fool to sell to in the future and the economy becomes stagnant.

As for the literal definition of ponzi scheme I don't think it holds up because everyone is fully aware, or should be of what it is they are buying and where the money is coming from if they want to sell.
From the article linked below, he seems to think that he was largely correct. Is that not the case?
Analysis of 10k ProductHunt listings to see what gets upvoted/reviewed the most
> Doesn't mean there's value to it.

Well, to bring the concept of "value" into it only drives this further philosophical; I personally consider all debates of moral relativity to hold some inherent value, due to the topic, but I admit some are vacuous nonetheless.

> This is a perfect example of manufactured moral outrage, justified post-hoc.

I don't really understand what is "manufactured" about this. The individual went and published a hefty claim, in the form of a white paper no less, that Japan was about to see a massive outbreak of COVID[0]; they believed so intently in themselves that they were willing to put this content out there and stake some lofty claims on the "work" of the white paper.

Of course those who find the work sloppy and indeed find the conclusions outlined in the paper to have not occurred at all are going to decry the author. It is their inherent right. I will leave it to you to slog through the details of the thing, I personally only joined to wax philosophical about the nature of debate on the internet.

> The onus is on the outrage to justify it, not on the accused to defend against it.

This language is so silly. The numbers forecasted in the paper didn't occur, seems pretty well justified.

> "I'm outraged because someone was wrong and no one was hurt and no harm was done" is just hubris.

Again, your language is very telling of the media you consume, but "no harm was done" is both difficult to quantify and hard to imagine as true if you consider actions of negative moral relativity to be harmful, which is not an unreasonable stance to take against breathlessly whispered, widely published failed psuedoscience.

[0]: https://www.kalzumeus.com/2020/04/21/japan-coronavirus/