skysight-inc/HackerNews huggingface dataset:
How's the battery life?

To be honest, for a daily driver, this is my wish list:

- At least 20 hours charge
- Browser
- Email client
- MP3 over bluetooth
- Phone audio
- Camera (video and audio)
- SMS
- Some form of IM that others can use (Matrix client would be nice)
- Tethering (via 4G)
- Native (gui) apps (Firefox OS was ok, but native would have been good)

Any issues with the above? Because that's really 99% of my daily usage.
Facebook Mobile Apps Start Rolling Out Dark Mode
>Thirdly, Laravel, Symfony and other open source stuff are awesome.

Most people talk about PHP the language but not its surrounding ecosystem. Yes The language run time went through lots of improvement, proper JIT landing in PHP8. But That is like talking about Ruby on Web Development without talking about Rails. ( Like it or not Rails easily represent 80%+ of Ruby's Web usage )

Laravel took everything that is good on Rails and its surrounding Ecosystem, ( Auth, SearchKick etc ) and packed it together. And the productivity I saw from those using it as a whole were amazing.

There are also a lot less ideology with Laravel. And try to provide decent usage in all usage scenario. Compare to Rails which is more of an DHH / Basecamp's framework.

I mean if Elixir and Phoenix LiveView dont pick up some mainstream usage I did imagine PHP with LiveWire will be making a come back.

I sometimes wonder if anyone had made something like CooffeScript, or Scala or some other language that runs on PHP run time with some sane syntax ( Excluding Hack )
Sadly Feynman technique presupposes you're taking good notes.

It is also extremely labour intensive compared to spaced repetition without noting - using direct material of similar or higher level, preferably different modality - passive, creative, vision, sound, kinesthetic.

How do you note a movement? Or sound?

You'll waste some time reading material you already know, but that is the essence of spaced repetition; the use of different modality makes it much more potent.

This is what the SR tools don't get, or where you need to put in huge amounts of time building decks. Most of them pose passive problems. Even the simplest learning books have exercises which are supposed to engage active modality, on top of testing.
May I ask for the reason/thought behind your question?
The very first case I opened was this: https://www.growthunt.com/record/recs0zRzWCwBB1AB1/from-laun...

It links to a post by a Roger Swannell, which is actually empty besides a link to a deleted IndieHackers post by Danny Postma.

The summary said they made $15875 in 48h with the 'LandingFolio' product, but checking out the archived page [1] you'll see that they boast the exact same figure for a completely different project: Headlime - a "ProductHunt headline generator", if anything could be more self-accusatory...

Looks like both this site and IndieHackers are being owned by online marketing folks from Bali. And I get the feeling this site itself is an attempt at building a mailing list. Kinda depressing.

[1] https://web.archive.org/web/20200812145155if_/https://www.in...
> As long as you don't go back to work, as long as you don't restart the firm

One of the suspects probably told the police "As long as OP doesn't come after us legally again, we'll stay away from them".

This is blackmail using the police as a messenger.
1. The article is meant to be aspirational, not literal. We're talking about 2040 and what we could accomplish, if we put our minds to it.

2. I did the same calculations you did but went with a more provocative headline for reason cited in 1. above.

3. Re: only benefiting NY & SF, if you read my article you would know that I'm advocating a network of trains to replace the antiquated, wasteful, and enviironmentally unfriendly extant network of highway systems.

4. FDR and roads, see https://en.wikipedia.org/wiki/Works_Progress_Administration.

In response to your final comment about bad math, etc, I would say that your feedback is replete with the kind of overrly-literal interpretation, detail knitpicking, and generally holier than thou attitude that has given HN a bad reputation. Nonetheless, thank you for sharing your thoughts.
> Abolishing timezones is much more doable now than at any point since their invention,

I think you have it backwards: this is an argument for keeping timezones.

If you we get rid of timezones, and everyone lives in UTC, then you already know the time in Melbourne: it's the same as where you live. But that does not tell you the human schedule in Melbourne.

Right now, you can probably guess that business hours are "9-5" (09-17h), and so you can do a TZ lookup to see if people are in the office.

If you get rid of TZs, and the time is 22:15Z, what does that mean elsewhere in the planet? Is that business hours for LA, NY, Paris, Mumbai, Tokyo, or Auckland? Where is that when people people are sleeping?

We know what daylight hours in the local timezone are 8-8 (08-20h), so after doing a Google TZ search we know if someone is likely to be asleep or not.
Scope of var (they fixed this with let)

Automatically creating a variable (with global scope) if you attempt to use a variable that doesn't exist.

Semicolons are optional, except when they aren't.

== and === (at minimum they should be reversed)
The author is a woman fyi :)
Experts didn't suggest withholding steroids just because they wanted to show off. Doctors in the field withheld steroids because the steroids they were giving patients with covid-19 was actively killing them. It took a long time to find out what steroids could safely be used for treatment
It wouldn't surprise me if what really happened was the concrete forms would bill for a crew and a "truck", send a truck of concrete 20% full, bill the whole thing, fill with whatever instead, and pocket the savings.
Slashes are not special in URLs (unlike #, & and semicolon). It's only servers that parse them as path separators.
I see where you are coming from, but I have a built a few big XML processing tools in PHP that run quite happily on the command line. Having said that, it was a few years back, and I tend to reach for Python for text/XML processing these days...
I am doing something similar for my apps but instead of using Kotlin I am writing it in either Swift or C#
Good point, testing might be a large factor. That would be very good news with regards to the danger of Covid-19, since it would lower the actual death rate massively.

From what I understand the current daily test capacity for Germany is about twice as large as it was in April. I do believe that they're still only testing those who exhibit symptoms or have been in contact with somebody who tested positive.
Do you mean infections/pop? Cases/pop is irrelevant, just like the CFR is.
In the first case I lost the information that the key exists and can contain a value.

The second form makes it explicit.

On the first case, the parser that's getting the data may want to calculate a sensible value. On the second one, it's clear the value is known.
.NET Dev Summit 2020, Embedded IoT with Meadow
"A metal basket (or so called swivel frame) is placed on top of the mast, which can rotate 180 degrees horizontally. "

180 degrees ? Isn't that 360 degrees ?
India: JEE topper used proxy to write paper, arrested
Then use 5 hours instead of 4.

You can't aspire using the impossible. You'll drive off those who are wary of scammers and grifters, leaving only the gullible.

The WPA didn't find the interstate highway system.
Seeing all these knee jerk anti-lockdown, anti-government, anti-rules, posts claiming beyond all reason that Australia just magically has no cases because of some statistical quirk or something really shows how many people will just never accept any kind of government intervention was beneficial even when blatantly obvious.
What China is able to do should be irrelevant to any country considering itself a democracy that respects human rights.
PDF is a printing format, not an editing format - hence the trouble when you want to convert it back to an editable document. It's the same as going back from .JPEG to .BMP, you'll never get back your original pixels.
Covid 19: A Clinical Update
You need to add

// @ts-check

at the top of the file: https://www.typescriptlang.org/docs/handbook/intro-to-js-ts....
By what mechanism does a lockdown ending in 2020 cause 30% spike in suicides in 2024?
Most of them, conference proceedings by Springer and friends are still a thing.

I have Acrobat and Moon+ Reader on my mobile.
I enjoyed reading this a lot, I keep seeing RISC-V being touted as a potential replacement for ARM but I had yet to read a good critique of the ISA by people who know what they're talking about.

This point I didn't quite understand:

>Highly unconstrained extensibility. While this is a goal of RISC-V, it is also a recipe for a fragmented, incompatible ecosystem and will have to be managed with extreme care.

Most successful ISAs (including ARM) have their share of extensions, coprocessors, optional opcodes etc... ARM has the various Thumb encodings, Jazelle, VFP, NEON and more. Toolchains and embedded developers are used to dealing with optional features of computers, I'm not sure why RISC-V would fare worse here.

Beyond that I notice that many of the ascribed weaknesses are shared with other RISC ISAs like MIPS (but not ARM):

- No condition codes

- Less powerful, simpler instructions that require more opcodes to do the same thing but can potentially run faster.

- No MOV instruction

- The "unconstrained extensibility" is arguably a thing on MIPS too, with the four coprocessors that can be used to implement all sorts of custom logic.

Of course ARM has been more successful than MIPS, so maybe it's a sign that those things are indeed bad idea but given that this comes from an ARM dev I wonder if part of it is not just "that's now how ARM does it".

On the other hand I must say that I was surprised that RISC-V made multiplication optional, in this day and age it seems like such a useful instructions that it's well worth the die area. Optional DIV I can understand, but an ISA without MUL? That's rough, even for small microcontroller-type scenarios.
Do you know of any image processing library that has an implementation for that?
Depends.

What are your objectives? Why are you learning it? Is PHP your first language? Are you trying to get a job, get general stuff done, or have a specific project in mind? Are you primarily looking at web, text processing, database?

My own thoughts on PHP today is it is a very capable language, and probably as worthy of learning as Python, Ruby, or any of the other mainstream scripting languages - again depends what your objectives are.

In other words - how long is a piece of string? ;)
A few years ago there was the known Quadro/Geforce videocard issue:

https://news.ycombinator.com/item?id=5398555

basically adding or removing a few resistors made card performa like other models costing hundreds of dollars more.
This only avoided the ABA problem if the code which is ABA prone is run in-between the LL and SC instruction.

But this is where the problem starts. E.g. for RISC when using LR/SC in a way which prevents ABA your are always losing all forward guarantees and it's totally valid for a implementation to be done in a way which will just never complete in such cases...
Exactly. And you additionally need GC or reference counting.
If you write a text editor you certainly should think about something like that, but claiming it should be the default string type is a bit off.

You should probably only use data structures with a lot of indirection if you really can measure it to be faster in the situation.
Just search for isometric in the search box in the sidebar.

They have a isometric edge/cube/square available there.

Also, when you are creating a new diagram, they have a couple of examples in the cloud section.
Are you saying that RISC-V was never meant to be implemented? Or is nobody implementing it because this guy is correct and RISC-V is bad?

I mean, whatever the exact goal of RISC-V, I don't see any reason why an analysis and critique would not be relevant. Nobody invests resources into this with the intention that it gets ignored.

Also, Wikipedia has a list of RISC-V implementations.
This has been going on since the new iOS 14 opt-in ad-tracking feature was announced. But, people care about data privacy. They won't give two f*cks on advertisement agencies and their rants.
I see the logic being that the value hasn't yet been defined so we're going to articulate it as such.

A failing of JS lang that so many of these discussions have to keep happening.
Your story got my upvote.

I felt my blood pressure rising just reading that. But I do have to applaud your complaint to the Ohio Department of Insurance. What I've noticed is that companies like these tend not to be up on 100% of regulations. If you're willing to spend an hour or two doing some research, you're likely to find some obscure violation that your local gov't is more than happy to use to make an example out of them.
Why wouldn't they know?

It seems that some people want to claim that Apple has to act based on a single email and is incapable of replying to that email or calling on the phone, when Apple has the phone # of every registered developer.
just pan it across the audience and see what it flags.
Honestly surprised there hasn't been more work put into designing an open source electric car. While open source doesn't necessarily mean it's secure and bug free - it does bring a sense of security that I can look at the code that's controlling this 2 tone metal death trap I am in.

The over the air updates from tesla that adjust things like the pedal heights and performance characteristics of the motor makes me want to avoid them.
It's also pretty easy to find counterexamples. For example, COVID numbers in India started exploding in May, which is also the hottest month throughout most of the country.
I learned what a hashtag is. That's it.
We were talking ISAs so let's focus on that.

The quantifiability comes from measuring results when you give compilers new instructions, vs paying implementation complexity (time, money and future baggage to support the insn forever). The upsides and downsides here come in different units so it's still tricky.

Lots of instructions can be proposed with impressive qualitative speeches convincing you how dandy they are, but in the end it's down to the real world speedup yield vs the price you pay in complexity and resulting second order effects.

(In rarer cases the instructions might be added not for performance reasons but to ease complexity and cost, that's where qualitative arguments still have a place when arguing for adding instructions).

It's fine if we don't have the evidence in this thread - I was just asking on the off chance that someone can point to a reference.
That sounds great until you have to look at people's calendars anyway and have to maintain conversions between more than two time zones, some of which also jump around due to DST and other bullshit.
NZ completely closed the borders. That's a huge factor.
This is so cool and exciting! I have always been fascinated by the idea of making a virtual world where you can build test actual machines so the cost of experimentation is really low. It would enable so many people to experiment innovate in the physical world.
I’ve had free space problems during the actual upgrade. Turned out it was because Time Machine created a bunch of snapshots and never deleted them.

You can check by running: tmutil listlocalsnapshotdates

You can also manually delete the snapshots by using tmutil.
> Once I start eating, I don't want to stop (until I'm full).

Did you ever try, waiting 10 minutes?

You eat a little, food gets in your stomach, after 10 minutes the message "I'm full" is sent.

The point is, you won't feel full until those 10 minutes pass. But you don't need continue eating during those 10 minutes.

I'm just asking because if you always do, you might be under the impression that it requires 10 minutes of sustained eating, to stop feeling full.
Ahhh yeah, I hadn't considered that. Hmmm.

The KaiOS app looks interesting. It seems like they just repurposed the regular web version of WhatsApp, based on its limitations (no voice/video calling). It's a shame they can't just use local storage and let you use that by itself in a browser (without an android/ios device), but, oh well.
Just out of curiosity, why the hex editor? Isn’t RTF just ASCII?
And you have used hours of training on a thing used once every blue moon.

Congratulations, I guess?

Generally something is worth optimizing it this much when you're going to use it more than 10 times. Insert obligatory xkcd chart here: https://xkcd.com/1205/

There are things that are this useful, but they're generally in category of mathematics, potentially physics, chemistry or linguistics.

Learning parameters of a shell command, especially all of them, is a waste. Learn useful things first.

This is the main problem SuperMemo and Anki sets face, the ordering is by difficulty only and not by product of difficulty times usefulness.
How are you using Swift on Android?
This is a big move! I haven't seen many people use Kotlin Multiplatform for mobile app dev. Personally, never trusted Google due to their inability to stick with one technology. They have Kotlin Multiplatform and Flutter both for cross platform development. But Netflix's strategy might just encourage others to adopt too.
I genuinely don't understand what you're trying to say with the last sentence there. For one, the outbreaks in Indonesia and the Philippines show no sign of abating.
There is a narrative in the comments that the British have to be burdened with the majority of the blame for the malaise of the caste system. Here is a young untouchable girl's article in 1855 that sheds a light on the brutal oppression and subjugation that was already deeply ingrained in Indian society, and how the British introduced some balance.

https://www.forwardpress.in/2020/02/165-years-ago-first-fema...

From the article:

The Mang and Mahar children never dare lodge a complaint even if the Brahman children throw stones at them and injure them seriously. They suffer silently because they know they have to go to the Brahmans’ houses to beg for the leftover food. Alas! O God! What agony this! I will burst into tears if I write more about this injustice. Because of such oppression, the merciful God has bestowed on us, this benevolent British government. Let us see how our pain has been mitigated under this government.

Earlier, Gokhale, Apate, Trimkaji, Andhala, Pansara, Kale, Behre, etc [all Brahman surnames], who showed their bravery by killing rats in their homes, persecuted us, not sparing even pregnant women, without any rhyme or reason. This has stopped now. Harassment and torture of Mahars and Mangs, common during the rule of Peshwas in Pune, have stopped. Now, human sacrifice for the foundation of forts and mansions has stopped – now, nobody buries us alive. Now, our population is growing in numbers. Earlier, if any Mahar or Mang wore fine clothes, they would say that only Brahmans should wear such clothes. Seen in fine clothes, we were earlier accused of stealing such clothes. Their religion was in danger of being polluted when Untouchables put clothes around their bodies; they would tie them to a tree and punish them. But, under British rule, anybody with money can buy and wear clothes. Earlier, punishment for any wrongdoing against the upper castes was to behead the guilty Untouchable— now, it has stopped. Excessive and exploitative tax has stopped. The practice of untouchability has stopped in some places. Killing has stopped on the playground. Now, we can even visit the marketplace.
Your comment doesn't really add much value to the discussion, but seeing as you are a new account, I would suggest lurking a bit more.
I am looking forward to the next part but he has already said something that will be a a problem later on: he said that according to L-S theorem there are countable sets that are models of set theory (ZFC to be precise). This is not really true since it contradicts Goedel's incompleteness theorem. What the method of forcing uses, however, is a pair of theorems by Mostowski: the reflection and the collapse theorem that let one find a model of any finite(ly axiomatizable) portion of ZFC. Finite axiomatizations of set theory (say, GB) have similar tricks. His intuition is right on though.
> So I went ahead and wrote a complaint to the Ohio Department of Insurance outlining the violations.

What happened after that? :)
Indeed. The former finance minister was just cleared of ethics violations because he firmly believed he had paid the $41,000 in travel expenses when in fact a charity funded by the Liberal gov't paid for it.

I mean, it's pretty typically for a gov't official to lose track of $41,000 in expenses right? Happens every day.
I was wondering if you have a source for that ?
I think a hybrid approach would work these days... because pointers are 8 bytes long, and you need a few of them just to make a node... perhaps all chunks less than N (200ish?) bytes long could be stored flat in the node?
Also, it would be good to store both the Byte Count, and the Character Count, now that we have UTF-8, etc... and ensure characters don't get split across nodes.

This would give us structures that work well in multi-processor environments, due to the immutability and lock-free nature, handle Unicode in a sane and safe manner that saves a lot of headaches, and does small common operations in a fast manner saving many pointer operations.
Sounds pretty promising, thanks! Can you expand slightly on the SoC being 'anaemic'? Slow in general, or just to start up?
These are all good points but fixing many would interfere with the ability of students to create a basic RISC-V processor in a single semester. The simplest possible in order RISC-V and the simplest possible out of order RISC-V designs are a lot easier to do than the equivalents in more common ISAs and that makes it really useful as a teaching tool.

EDIT: Also, when the B extension becomes standard that should fix some of the issues.
Re: 5 vs. 4, again, it's aspirational. How do you know what's possible by 2040?

Re: highways, thank you for pointing that out. I've fixed the article by s/interstate highway system/public works program/ with link to the details. Btw, FDR spent over $4B on highways, roads, and streets, a considerable sum in those days.

Re: You can't aspire using the impossible." Naysayers like you are why we may hever have this.
Offendotrons Activate.
If it creates more jobs than it eliminates, what's the motivation to use it?
I'm also very sensitive to UI lag, but flagship phones are more a cause than a solution.

If you're on Android, enable developer options and disable animations. Not only is your phone now many orders of magnitude more useable because it's responsive to your actions instead of being in store demo mode with UIs built for videos in marketing banners, you can also use an old phone very comfortably.

I use a five year old mid tier phone quite comfortably. There is the occasional app that stutters because it bakes in its own pointless animations or NIH smooth scrolling, but this is easily solved by not using broken software.
Something from higher up the shelf maybe
I'm not sure. I think your comparison with Toronto is probably fair, but I would say Montreal has a greater share of corruption than most major Canadian cities. Why? The presence of organized crime is probably a big factor. When you have crime families who have been established in Montreal for decades, I think that breeds more corruption than a city that has a less organized set of criminal elements.
There are several ways to use Swift on Android. It's basically Swift <-> C interface <-JNI-> Java. The following links could be a good starting point for Swift on Android.

[^1] https://github.com/apple/swift/blob/main/docs/Android.md

[^2] https://github.com/readdle/swift-android-toolchain
Webhostings often go for $1 a month or less, or free with an ad injected to your site.