skysight-inc/HackerNews huggingface dataset:
A couple of friends of mine prototyped a site dedicated to distracted drivers on I-5 in Seattle ala the Highway 17 Hall of Shame. It was just too easy. My favorite, though, and I still have the pic, was a guy, who I presume to be a solider, driving a military truck with a big ol' binder open on his lap.
I tell people who show me their smartwatches and features "oh yeah? My watch tells me the time!"
This post is not about climate change. Should we not read anything by this guy if he has expressed an opinion you don’t like?

Actually, if you consider excess wildfire smoke to be a component of climate change, the author is actually expanding our understanding of changes to the climate in this piece...
Cancer, probably.
Here’s an example on my site: https://chrismorgan.info/blog/rust-fizzbuzz/

That’s left-aligned (margin-left: 0; margin-right: 0) rather than centre-aligned (margin-left: auto; margin-right: auto), but it gets the point across. Headings, paragraphs, list items, &c. all get their widths constrained (deliberately to different points, in my case, which wouldn’t work if you were going centre-aligned), but figures can be full-bleed simply by not having that max-width (though in my case they still need negative side margins, but of known values).
Show HN: Turn your “read later” folder into a physical book
Hi HN!

Being locked down with plenty of time in my hands, I clearly noticed a problem that I faced and also felt passionate about tackling.

- Excessive screen time in our day-to-day
- Diminishing attention spans

It was consistently tough to properly read quality longform content online. From screen related tiredness to having ads and notifications pop up and demand a share of my attention, my focus was compromised.

Long story short, I wanted to read longform content that lives online (and there is a ton of high quality out there), in an inherent offline medium, paper :p

Fast forward 5 months, we just published the beta of (https://myscreenbreak.com)
We are redesigning webpages from scratch and making them print optimised.

While we aim to be able to deliver physical books by q1 2021, our current print-at-home version for single articles and collections can give you an indicative idea of how v1 product will look like.

If there are any other paper/book loving weirdos out there, happy to hear and learn from them :)
The former wall left behind such a corridor. There is an interesting 99% Invisible episode about it.
> pessimistic rendering: waiting for the server response before updating the UI

I hate the phrase "I'm a realist not a pessimist" as much as the next person, but isn't this actually "realistic rendering"?
They're there already - at the very bottom there's a link to content source, and a link to GitHub repo.

The path to file within the repo can be inferred from the URL, but perhaps I can also add a direct link too, makes sense :)

Thanks for the suggestion
You can test this yourself, the commands in the webpage still work. The Mac still keeps a log of all your downloads and so this discussion is very relevant for 2020.
I could be wrong but i'm relatively sure that I reach message states that do not directly correspond to anything i typed into the editor -- which i wouldn't expect if the edited state was always sent in full rather than as a delta on a previous message state.

I suppose it's possible that the corruption happens on the client side tho --

1. initiate edit action and get editable view of snapshot of text

2. server acks some previous edit request causing some client state related to the message to update and promote a previous edit in some way

3. hit save after finishing editing -- and some delta operation on the client side updates a different message state than the one i initiated edit action from ...
You’re sourcing the location.
Future of the internet is a walled garden where you have to pay per view, or pay a subscription to access good content, and all the free stuff will mostly be spam ridden, inconsistent, or hard to find.

It's unfortunate.
I just learned about that recently, but haven't been able to put it in practice yet. The problem I encounter is having to specify which commit to fixup to when calling `--fixup`, which I think means having to look at my commit history. Instead, my process so far includes just describing the commit I want to fixup in my commit message, in a way that makes sense to me when I'm going through the interactive rebase.

Do you have a good way to deal with this?
SMS isn't a great option if you're communicating with people in multiple countries, and often not if you're traveling internationally yourself. Signal might be, if only we could get everybody to use it.
I'm not sure if it's just me getting old, but I find that if I look at a screen while laying down (especially mobile, because typically that's the only type of screen I can use while laying down) for more than a few minutes, I start getting a headache/migraine. As I got older, I have to follow a general rule of sitting in a proper desk and chair to use screens. Anything else doesn't really work for me.
It's a pretty normal, solid design.
I'm sure your pet issue is very important, but it has nothing to do with the article.
The entire point of sum types is that they be statically checked. Without static typing, they don't seem really useful: Erlang doesn't have sum types, and it doesn't really have a use for them until it gets a type system which can leverage them. Instead it models "sum types" as tagged tuples e.g.

{ok, Ok} | {err, Err}

however Erlang has very good pattern matching. Python… doesn't.

There's a PEP but I stopped following it because the discussion was a mess. And it's apparently now split into 3 different PEP, I don't know whether that's an improvement or not though.

Furthermore Python's dislike of HOFs means you can't really do "monadic" processing as you'd do in, say, smalltalk where your "variants" would really be subtypes with cool higher-order messages. So you're mostly just adding indirections.
> I think CSS is "difficult to understand" because most people who do front-end don't want to spend a day learning it.

Yeah, "html/css" is the object of our derision on HN as some sort of thing that's beneath us. As if someone who is an "html/css" designer isn't a real developer. Yet at the same time we complain that we have to learn it. That after pretending it was trivial all this time, we're annoyed that we can't just fake our way through it when the going gets tough.

But the other reason it's hard is that UI and clientdev is hard. There's this weird meme that UI is just bells and whistles and stakeholder pleasers instead of a human interface that demands a lot of forethought and expertise, and something that has to be functional and possibly even a joy for the user to use. You can see this when people here brag about being backend developers that never touch the client as if that's something to brag about.
Sure, but how many people are killed by mafia thugs when trying to muscle in on their vending machine territory
Slack outage causes lag, message errors, blank screens worldwide
IMHO the biggest problem is the 2GB database size limit
One minor note is that I don't think PhantomData is required here.

_state: PhantomData<State>

Since State is zero-sized it is free to store it in the struct.

state: State

IIUC PhantomData is only required when you need to indicate that you are logically storing something of that type but don't want to actually store it. Since storing is free in this case you may as well just store it.
You'll need to validate at some point! We don't publicly display any of our user's ideas, so your idea can stay as private or be as public as you want. If you just want to validate with a few people, just sent it to a few people!
It's not a solution (you really shouldn't drive when you're sleepy) but a great many modern cars will warn you if you slowly quit your lane without having used your blinkers first, which is typically what happens when someone get sleepy while driving (slowly drifting out of your lane on the highway). My wife's little Toyota CH-R does just that: it tries to correct the car's trajectory, does give feedback both through vibration (in the steering wheel) and through an audio signal.

I think it's more realistic to settle for that kind of features than to wait for a real 100% complete autopilot.
Yes, PRNGs are not entropy sources and using a PRNG does not generate new entropy. But using a PRNG also doesn't reduce the entropy it already has. You only lose entropy by transmitting information, and the entropy lost is equal to the information transmitted.

For example, if an adversary with perfect analytical ability learns the outcome of a simulated dice roll you performed using /dev/random, they gain log₂(6) bits of information and you lose the same amount of entropy, irrespective of how many bits you actually read from /dev/random.
You were downvoted, but that question is the interesting thing about this. It'd be nice to know a little about how it works.
Yes, that's exactly my process. In fact, I'm not even sure if I could predict what would happen when calling rebase without `-i`. Basically, my shell just autocompletes "git reb" to "git rebase -i origin/master".
Why would you use this over diagrams.net/draw.io, which integrates with far more tools (Google Apps, Atlassian tools, Sphinx) and can take text input (Mermaid), and embed editable copies in other file formats like .svg/.png?
Comments moved to https://news.ycombinator.com/item?id=24689247, which has more information.
Thanks! The pricing page should be updated now, thanks for letting us know!
Shame that there isn't a review in this rambling incoherent article. Academic writing at its worst. Wonder what grade it'd have got if turned in by a student.
Thanks! I appreciate it
I've noticed that some people mistake 'the best extant X' with 'X has no problems.' For instance, 'Y is a problem with X' will often receive the response 'Nuh-uh, because extant Z also has problem Y but is worse than X in other respects.' Look for this particularly in conversations about smartphones.

> > iphones have poor battery life, I'd like a phone that keeps a charge for a full week at least.

> No you're wrong because android phones also have bad battery life.
It always bothered me that in the standard explanations of how these processes work it always seemed that reaction ingredients would somehow magically seek each other out, such as in videos like this where the amino acids arrive at the ribosome in order: https://www.youtube.com/watch?v=TfYf_rPWUdY

The molecules really do move randomly, not magically, and it's just that they go so fast and are so numerous and collide so often that even random chance puts the right molecules in the right place many times per second. This article was a revelation when I first read it and I'm quite disappointed that this was never explained properly in my entire school life.
Thank you! Hope it helps
I was involved in a major car accident that totaled my new vehicle due to falling asleep at the wheel on a highway. Obviously it scared me enough that I'll never fall asleep in a car again, but it was due to sleep deprivation from being up many hours irresponsibly the night before.

If you're falling asleep often at the wheel I would recommend you tell your primary. He'll likely refer you to a sleep doctor. I didn't have major symptoms, but after a recommendation from my primary I discovered I have a bad case of sleep apnea.

If you're falling asleep at the wheel often (and btw, you're doing the right thing by pulling over and napping) you should go to a sleep doctor. You might not be getting a proper amount of sleep, for whatever reason, and they might be able to help.
I'm also wondering the same thing - I take 2.5mg of a sativa-dominant edible and I'm able to focus insanely well. I typically do this after I'm done with my real job for the day so I can study AI, for example to read an AI paper. I typically have much more trouble doing this without THC.

Funny enough, I'm also very prone to anxiety on THC. So there might be a correlation there somewhere.
re-inventing graphviz
It is interesting. Looking back, my first 'training' was when my dad took me to the backyard, gave me an airsoft rifle and said a fair amount of things including you do not point unless you are ready to shoot ( and to be ready to accept the results ).

I never got that much into it, but the lesson stuck with me.
I think the question was asked with the implied addition 'What Tesla says won't matter in court.'

I don't agree with that though, for two reasons.

First, it will be harder for them to fight, meaning it will still be a source of bias even if the court isn't biased at all. Even if they can show it was a false flag, that is time and money others wouldn't have to spend. Potentially time and money of someone who was in a life altering crash.

Second, it would not be surprised that the court ends up being biased towards the manufacture and would give undue weight to them because they have the fancy algorithms and all the well payed lawyers.
> What about 10kb of text that ultimately convince you to buy solar panels, or a boat, or anything else?

Gobbled up by the Pihole, generating more CO2.
The new Slack on mobile is absolutely unusable. There are no way to know if the interface is up to date, when was the last update or to force an update.

The only way I found to know that your message has been received is to have an ack from your interlocutor.
But you need to deal with those conflicts before merging anyway? And they're a lot easier to deal with in the context of the individual commits than when dealing with one big merge commit, I find.
This.

Basically this is what event sourcing tries to solve: it lets you change your state representation to reflect new requirements, because you can always rebuild everything from the event log.
Is the whole "NoSQL is better than SQL!" thing still going on?
Tools like this can be very useful in supporting operational use cases in addition to documentation. The tricky part with cloud is how to effectively visualize infrastructure that is composed of a variety of services and attributes. If you have a VPC in each of two regions with dynamodb, s3, ecs, alb, third party providers with access via cross account roles, etc etc it gets tricky to sensibly lay out and demonstrate relationships between the indivdiual components.

Hopefully this will get traction and they will start to build in some of this intelligence and perspectives into the application (presumably as a plugin).
my favorite feature of my standing desk is being able to have the exact height I need at any time which mostly does not involve standing
gcc is part of the infrastructure, for the simple reason that you need the same compiler version to build Linux kernel modules.
> Using an Excel sheet as a database?

You wouldn't (want to) believe how incredibly common that is.
This is why I choose to take an edible when dosing for studying. Harder to abuse with no instant gratification.
Generating new structs is free in Rust. There is only cost if you need to send it somewhere and the layout differs from the original.

Since `transmute` will be undefined behaviour if the layout differs you will only be saving cost if you would be invoking undefined behaviour.

I recommend checking the generated asm and reporting a missed-optimization bug if it differs.
We detached this subthread from https://news.ycombinator.com/item?id=24685998.
I believe that if you don't know interactive rebase, you don't know git ;)

Especially "git rebase -i -r" is an incredible tool.
EPA Grants Oklahoma Control over Tribal Lands
It's not a user issue, it's a government incompetence issue. Who was the technical genius who thought 'right, we need to store thousands of lines of critical and important data, I know! Excel!'
We certainly use some of these principles in OrgPad.com and some of those inspired even the User Experience in a fundamental way. E.g. a bullet point list in a linear medium such as a text or a slide in a presentation is like a star in a graph, where all children have the same weight. The thing is, when people see it like that graphically, they sometimes get ideas they wouldn't have, if they stared at a long text. Sometimes they figure out, that actually the points are not equal weighted or that there isn't such a clear boundary and connect some of these children together either by a link or by selecting the same colour to group them.

Btw. we program everything in Clojure + ClojureScript so immutability and the other points is like preaching to the choir.

Not related, I thought Manning will not publish the book. At least that is the last information I have seen a few days ago. I thought about buying that book.
Which was the first of its kind and she was new to the role.
I think that Android is a stepping stone. I expect to see things outright superseding it, or Android receiving a capital overhaul to fix the current situation where every phone uses an Android fork that must be maintained separately (though I think Android will run out of steam sooner than this will happen).
I notice that I get sloppy when I'm working on a repo with others that are sloppy as well. I guess the reason is that, if looking at the Git history is not useful half the time (because you end up at uninformative commits by other contributors), then you stop looking at the history, and then there's not much reason to leave it in a super-clean state anymore...
ffmpeg with hardware acceleration is available, see: https://github.com/jocover/jetson-ffmpeg

(there's also the NV prebuilts of an older version of the patchset at https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%252... )
Not only do users violate their own privacy, they make it harder for everyone else to keep their own. At least in the US, its getting harder to have a screen/computer-free home audio setup! Receivers all have embedded streaming devices; many speakers do too. Playback devices are all becoming niche, and eventually even the used market will eventually dry up, too.
Discussed here: https://news.ycombinator.com/item?id=22431500. (Submitted many times, but that's the only real thread, and only from 7 months ago.)
Everyone has ideas. Success is about execution. If your business model is threatened by someone merely hearing about it, you're doing something wrong.
Don't underestimate the LS motor. The C8 Corvette is rated for 27mpg highway. Don't know of any other 500hp vehicle that comes close.

70 years of iteration on a basic design goes a long way.
Obligatory reminder: an Excel error was the cause for much unnecessary austerity after the 2008 financial crisis [0]

[0] https://www.nytimes.com/2013/04/19/opinion/krugman-the-excel...
- https://arstechnica.com/information-technology/2016/02/the-n...

> However, as The Intercept's exposé last year made clear, the highest rated target [who travelled to Peshawar and Lahore] according to this machine learning program was Ahmad Zaidan, Al-Jazeera's long-time bureau chief in Islamabad.

-- https://theintercept.com/2015/05/08/u-s-government-designate...
-- https://theintercept.com/document/2015/05/08/skynet-applying...

ah my bad i misremembered: it was not the bureau in Islamabad, but the bureau chief from Islamabad and the system is also bit more intelligent and not only evaluates who calls who but also location data and suspicious pattern changes like sim swapping and buying second hand.
TL;DR [I found it hard to find which actual limit was hit.]

> The problems are believed to have arisen when labs sent in their results using CSV files, which have no limits on size. But PHE then imported the results into Excel, where documents have a limit of just over a million lines.

> The technical issue has now been resolved by splitting the Excel files into batches.
Amazon near tipping point of switching from rainforest to savannah – study
The First HEVC (H.265) Support in WebRTC
Where did you go to school that you didn't do statistics?
No pricing, but I think it is like a $1.25 / mo, based on their 'cost savings' slide.

Also, so nifty templates for doing the work yourself for free.
Pretty much yes :)
For Linux’s history, beside Mr Black's link, I strongly recommend to read "Just for Fun"[1] and watch Revolution OS[2][3].

[1]https://www.amazon.com/Just-Fun-Story-Accidental-Revolutiona...

[2] https://en.wikipedia.org/wiki/Revolution_OS

[3] https://www.youtube.com/watch?v=4vW62KqKJ5A
Email me (info in bio) and I'll see if I can help
DRIVER_PLAYING_TRUMPET
Could you talk more about the isometric exercises he had you do for your neck?
Totally agree. To add onto this, there are very few ideas that are so inherently new and valuable that simply hearing about them would cause someone else to launch into competition with you.
BSD Unix was originally written for the DEC VAX, which left its mark on e.g. the virtual memory subsystem.

Just because it was written for a specific architecture, doesn't mean it cannot be ported to other (at least similar) architectures.
Maybe there's a business model here?
App that I made to improve my maths skills
Day one on the job of CEO should be requesting input about systemic organizational and operational problems. Both from your direct reports and from the underlings who actually know what is broken.
There is also the fact that Excel has some rich editing tools. I have actually seen a system where most editing was done by exporting the relevant items to a spreadsheet, making your changes and reimporting.
Fair enough, makes sense, thanks. When I posted the comment it was the first comment on the thread (not sure if it's been merged or I'd had the page open a long time before posting) and we'd already had other threads with that leeway. Cheers for the clarification, I'd thought that might be the reason for the earlier ones.

Edit: just seen your other comment re merging, thanks.
I think you're missing out on the main advantage the article points out: lots of small commits, even with terrible error messages, let you use tools like git bisect to find bugs. Squashed commits mean you're looking through more code, and above some small size, it won't be obvious what the issue is.
Liberate Science: Introducing Hypergraph (Beta)
Have you every worked in a large enterprise?

I have personally tested an Excel based credit rating tool, to be rolled-out globally by a major financial institution.

The fact that one should not do this, is by no means a reason not to do it.
But then... PR titles don't show up in the git log.
that's not only to make itself look more legit to humans, but to evade detection by security tools, web proxies, email gateways, etc. aka 'bots'. The irony of it.
How many sellers have already been recruited?
American Tech Workers Face Pay Cuts for Relocating During Covid
You can also say "if the writers of the constitution considered slavery to be acceptable, the the intent was for the constitution to allow it, so we should consider that it does, current meanings of the words notwithstanding".

Of course, the conclusion to draw from this is that a new constitution is needed, one that does actually, at the time of writing, explicitly intend to disallow slavery and other offenses against human rights. Why should a document that has been shown to be compatible with slavery (and anti-gay sentiment, and segregation, and extra-judicial killings, and internment camps for the japanese and so on) be considered to carry any weight?
AT&T kills DSL, leaves tens of millions of homes without fiber Internet
For those menu item suggestions, if you long press them you should get the option to remove the preview/suggestion. That should at least make it not show up again in the app menu.