skysight-inc/HackerNews huggingface dataset:
My last apprenticeship was four days working plus a day of college per week. My employer...had little for me to do most of the time and I was restricted from finding things to get involved in outside our office (about 15 people). The structure of the department and the difference in qualification meant I had no one to work or learn with on a continuous basis.

At the end of the two-year contract there were no positions available for me so I moved on.
The Verge Guide to Twitter: timelines, usernames and more
It's easy to make in vast quantities though.
Ask HN: Dumb 4K TV
I’m searching for a non smart, non connected 4K TV which you can acquire in Europe/Germany. Reasons for this have been posted I think enough on HN (privacy, security, updatability).

I know two solutions, both not ideal
- ironcast.tv seems to promise that initially, but on the one side it is unclear how much vaporware the thing is, on the other side, it will still be based on top of Android and needs to be on the WiFi.
- Buying Commercial Digital Signage Panels. I found it impossible to find reviews on the internet. It is unclear for me which panels are actually good for watching movies.
This rule of thumb comes from having personally made bad decisions around this issue far too many times.
I stopped riding the bus mainly due to social reasons: there was always somebody on every trip watching TV on their phone without headphones.

And people stopped waiting for others to disembark before boarding. That's the weirdest thing: the bus stops, the doors open, and the people waiting to board just start piling in before the people coming off have left. Maybe that's only in SF.

And then there's this:

> In Gavin Newsom’s book Citizenville he talked about how, after becoming SF mayor, he discovered that fare collection cost as much as the revenue generated from fares. He started the process of making the bus free but was told by so many advisors that the busses would become “dumpsters on wheels,” from a combination of homeless people using them for shelter and people not respecting services that are free, that the plan was scrapped.

~ https://news.ycombinator.com/item?id=21808851

It blows my mind, and it makes me resent paying the fares at all.
Yeah, he'd appoint Jimmy Carter before he appointed Bill Gates. And he'd appoint Ted Nugent before he appointed Jimmy Carter.
Coronavirus testing goes mobile in Seattle
Using Immutable Data Structures in C# and .NET – Spencer Schneidenbach [YouTube]
Plenty of people have "Director" (e.g. "Director of Engineering") in their title without being on the board of directors.
> In contrast, for a well-designed hash function there should not be any way to save work when computing...

This property, that making a small change at the front of the message requires repeating almost all of the work to re-hash the whole message, doesn't apply to K12 or BLAKE3. Their tree structures make it possible to reuse most of the work you did the first time. (This is essentially the same thing as being able to hash different parts of the message in parallel, which is the design goal of both algorithms.)

With BLAKE3, if you wanted to force someone to repeat all the work, the cleanest way to do it would be to change the key.
It became the brain scorcher in the S.T.A.L.K.E.R shadow of chernobyl games.
Exactly. Obscuring the pasteboard or something along those lines is unfortunately the solution.
Somewhat connected: https://news.ycombinator.com/item?id=21818730
This incurs extra labor cost - the whole point of automating a system is to avoid the manual labor. At this point you're no longer making your system tactful, you're just eliminating your system.

Furthermore, it just substitutes one failure mode for another. After a dozen instances of telling people they're getting a new roommate because the old roommate moved out due to normal reasons, how confident are you that this staff member is going to check whether the previous occupant died or otherwise left due to sensitive reasons? Chances are, this same blog post would be written except that instead of "I got this tone-deaf email telling me I'm getting a new roommate" it's "This tone-deaf staff member told me I'm getting a new roommate".
Google Maps does this (at least on iOS), and it's actually pretty convenient. As soon as I click on the search bar, I can immediately click on my copied text to go there without doing the "tap and hold" dance.
Are they cashing in somehow? Or do you mean cashing in in the sense that they have a massive, existential financial interest in this going away as quickly as possible?
I’d be asking if they bounced.
I don't see quotes, just descriptions. They're quite obviously stock photos. This sort of thing is common on all sorts of product pages, tv advertising, etc. It's not my favourite practice and I do think it gives off a kind of low-rent vibe. But it's not intentional deception and is well in-line with typical phoned-in marketing.
Just buy a smart tv and don't connect it to your local wifi or ethernet. Why wouldn't this work?
That is pretty common. Board members are not involved in day-to-day operations of a company.
Article mentions a Canadian competitor that actually published a warning.

Would be interesting when Bluedot also starts forcasting instead of explaining after the fact.

Could very well that their runway is limited and the CEO wants to keep his lab open with additional Masayoshi money.

Instead of a lazy press release cover it is a lost opportunity for this journalist, because an in depth story how these AI competitors function in the real world sounds very interesting.
The app might be implementing the paste function. The most common use case of copying and pasting text could probably be hidden inside the standard text fields, but consider images, sounds, or custom data types. The app needs to grab these off the clipboard and do something with them and will be triggering the action from some custom user interface element. Even for text, a terminal emulator or word processor is not going to be using a standard text field as the target.

Most apps could probably live happily with there being an entitlement for ‘unsecured clipboard access’ to enable anything but text into a text field.
> Excuse me if I have offended you, my intent was rather far from that.
>
> The bike-shedding is to which one to pick right now, when there doesn't seem to be a clear superior choice.

Fair enough. My intent was not bike shedding, but just mentioning a thing that exists if you would like to use it. In my experience most people are not aware `config` supports TypeScript config files.

> I saw your suggestion as just as a bit half-baked as the ad-hoc stuff I actually use now, and the other in-chimings in the discussion.

For what it's worth, for libraries which require config I combine io-ts (well my wrapper around it) for validation and the types it generates for type safety. It is not an experience that feels half-baked to me. It guarantees that clients using my libraries provide valid configuration at runtime, and allows them to get static guarantees of the same (which I also employ in clients which use those libraries).

> (io-ts, utility-types, runtypes, etc. all are great, but as the title indicates it feels there should be one schema system specifically designed for TS. That can be used for description and validation of all interfaces of a TS system, including incoming requests, static and runtime configuration, outgoing data, and mapping these to internal domain modeling.)

IMO there doesn't need to be just one, as long as people can find one that suits their needs. I certainly use io-ts for all of the things you describe, it is designed specifically for TS, and I am quite happy with it.
Not sure there is a general solution. Thanks for your moderation and input!
Maybe the iOS keyboard itself needs a "just tap" paste button? That would seem generally-useful.
At the same time, if the function of the board is to keep the ship from drifting too far off course, or to handle certain problems the company itself seems incapable of or oblivious to (mass cognitive dissonance) it could be useful to have a Jobsesque pitchman who can get a board to be accepting of radical risk taking. A board might lean conservative and risk averse, and sometimes companies need moments of extreme risk. Usually that jump takes a persuader.

Being able to sit in on board meetings, and talk during them would be enough, not necessarily having a vote, maybe thats a special adviser?
Also, if the incoming light is banded you might end up throwing away 100% if the sensors happen to fall into the gaps.
Based on, I dunno, browsing the web? Seeing an occasional TV ad on an airport TV? I don't think it's quality stuff or anything but if you found these confusing, I suppose we move in entirely different media environments.

Edit: And, of course, it's also a typical way we often talk about generic scenarios outside of advertising. Alice and Bob are not real people trying to establish secure communications. There is no specific Johnny who can't read, etc.
Not for prepaid plans which are treated as steerage class by T-mobile. MVNOs are in the same doghouse.
They’re wildly faster than buses on routes where buses don’t run or where a transfer is needed.
Not all directors are on the board, but sure you can say executives or whatever. That's probably more accurate.
I've had enough browsers. Electron needs to die and fast.
> liberal on social issues

You aren't liberal on social issues if you're a fiscal conservative. That's not how the world works.
This was a second hand story, but I knew someone years ago who was in a union (factory job). She loved the union, but what I noticed was that there was a hard line between “workers” and “management”, and the relationship was quite adversarial - more than I’ve seen anywhere I worked. During some negotiation thing, she was going to work with a pin on her uniform with her bosses name on it and a line through it.
> Plausible deniability lets the powerful claim credit for the successes and deny responsibility for the failures.

Except that whole racket in your financial industry analogy depended entirely on a 3rd party (ie, a government packed with their buddies from private school) to tip the scales in their favour, on either end, for it to actually work.

There's no third party being corrupted to give credibility to the museum here, they can't really just give credibility to themselves like that - just as the bankers couldn't bail themselves out, when they otherwise were faced with devastating and long-term financial consequences for their behaviour (ie, the appropriate response or natural outcome).

A museums reputation matters and events like this directly affect it... which is why we have major news stories and Wikipedia articles about it.

I don't think it's helpful to shame them for engaging with the scholarly community, or to shame them for attempting to be good merely because of past behaviour (which is far too common practice today on social media, as if people and organizations can't become better or more responsible, and are forever just evil like in movies).

It sounds like the natural corrections processes were already working here... they got pressured from the sources of credibility (scholars, media, etc) which was influenced because of prior bad acts where they lost reputation already. If they attempted to corrupt those sources instead of engaging with them I'd be more concerned. But really there's not much here, especially given the negative spin in the article, which is what the OP was critiquing. The end result was bad-for-business PR and they probably paid millions for stuff they can't now use in their museum, sounds alright to me, things are working... I also doubt they'll be as trusting next time.
> So yes, like I said, you can force a particular behavior, and throw out any system for which that doesn't come naturally

Find me one system in current use (2020) that isn't 2's complement.

> you just made the language more complex for them.

Ah, but I was never talking about implementation complexity. I was talking about specification complexity. Imposing 2's complement makes the specification simpler. No special case, no boundary. Just a binary field. Undefined behaviour draws such a boundary. An extra detail to specify and remember. Some thing that reminds you you're not quite doing modular arithmetic.

> Eh. You did nothing about undefined behavior. It's still there.

I did. There's less of it. I've filled the bug, here's what's this about: https://github.com/jedisct1/libsodium/issues/937

Here's the relevant quote from annex J of the (heavy, I have printed it) C99 specifications:

Addition or subtraction of a pointer into, or just beyond, an array object and an integer type produces a result that does not point into, or just beyond, the same array object. (6.5.6)

That's what caused the bug: we were taking a pointer from an array, then used it to overflow past it. It didn't matter that we could access the memory there. What mattered is that we locally overflew that array. Had we computed the pointer by first working with the outer array, then pointed to the right element, we'd have the same pointer, except this time it wouldn't be undefined.

Bonus note: you don't even have to dereference the pointer, computing its value is enough to trigger undefined behaviour.

Here is some more undefined behaviour I have removed (it's subtle, relatively few programmers know this):

Pointers that do not point into, or just beyond, the same array object are subtracted. (6.5.6)

There go flat memory models. Though to be honest, even segmented memory models could define that. Just make the subtraction already, it doesn't have to mean anything. Make it unspecified or implementation defined at least.

Pointers that do not point to the same aggregate or union (nor just beyond the same array object) are compared using relational operators (6.5.8)

That's the reason we can't implement memmove() portably and efficiently. And depending which tool you ask, even converting the pointers to intptr_t first isn't enough. Real world example here: https://github.com/jedisct1/libsodium/commit/e7e378fad116c18...

---

If you haven't already, go read the annex J from the C standard. Ponder the fact that compilers, unless you specifically ask not to (-fwrapv), will exploit every single one, even on platform that could define some reasonable behaviour (2's complement machines). It may hint at how hostile C is to programmers who care about correctness.

Believe me, I know. I wrote a whole Crypto library[1], and that's one of the easiest things to get right, where C is concerned. I mean, the crypto itself is hard, but the total lack of dependency makes it pathologically easy to write in a portable way. Yet C still makes it hard.

[1] https://monocypher.org
Details of the arrangement aren’t clear. They’re stock shot up about ten points after the announcement though.
Okay, but on the other hand, we also have the opportunity to raise those baby spiders from birth to be our noble steeds. I'd certainly rather ride a spider to work every day than drive in rush hour traffic.
Ask HN: Coronavirus Sites/App Ideas?
I have several good Coronavirus domains that I'm looking to put to good use (not sell).

Any great ideas for sites/apps that need to exist that could help people? I'm looking for a weekend project.

Otherwise, does anyone have any like projects they need a domain/subdomain to host? Free, of course.
Thanks!
> This aspect of their system was not designed with much empathy in the first place. Dorm rooms should not be treated as warehouses to be filled with inventory. At the very least a manual override was available.

Isn't notifying the room's occupant a fairly human thing to do? If they were treating the dorm like a warehouse, maybe they wouldn't have notified Kelly at all, and just sent a new roommate. It seems at least partially empathetic to give people advance warning of a change, even if the system is automated.
Ask HN: Does anyone else press keys in wrong order for certain words everytime?
For me, whenever I need to type `length`, I would always type `lenght` first and then correct it. Is there a way to get rid of this annoying habit?
Nice. Been waiting long time for this.
Out of interest, do you say that liberty, competence, autonomy, and honesty are lower class values because you believe the upper classes do not value these things?

I'd agree that ESR might have received a better reception for his point of view if he'd expressed himself differently though.
Of course, reducing the frequency of contact with other people in general is good. I don’t think anyone is arguing against that. What I’m saying is that quarantine can cause more novel contacts.

Statistically speaking there is a good chance no-one at your work place has the virus yet. We are still counting infections in the hundreds or the thousands in populations of millions. If all you do is to spend time at home and at work, there are good odds you’re just switching between two disease free spheres. You can’t get sick without meeting sick people. The only thing that will change that steady state is contact with new people (by yourself or your coworkers/family).

The point the government was making in this case, I believe, is that quarantine can in fact cause more novel connections, faster, and perversely increase the velocity of the spread. The people who are at home will not just sit there. They will meet other people and those people may be from outside of their ordinary, currently disease free social sphere. Thus new vectors of infection spread are introduced that would not have existed without the quarantine.

A quarantine can certainly help down the road, it’s a numbers game. But right now they’re doing the math and think it would be a net negative.
It actually makes a lot of sense. Technical people sometimes think that the higher up you go the bigger the decisions, but normally decision making peters off around the Director level. Above that and it's really about how to keep the company going as a company, or in other words the business of maintaining a structure of people that continues to survive within the regulatory context that the company operates within. And for a large multinational company like Microsoft, that's an enormously big deal. You're generally lucky if the CEO has any technical capabilities at all.
I loved Visual Basic too. So much in fact that I am trying to build a modern web based take on Visual Basic using nodejs and JavaScript at yazz.com
Show HN: No-Loss Lottery Game for Bitcoin
You go in after hours when the risk of contact is minimal.
Exploring Gender Imbalance in AI: Numbers, Trends, and Discussions
Can you look up demographic of the infected people in Netherlands?

It can be that you have somehow managed to avoid infecting older generation. I have longer discussion about this here http://www.savespain.eu/italy-vs-germany
The coronavirus offers a golden opportunity to evolve the security architecture
It might not bring back the magical kind of idea where we assert our will over the physical world, true. But if people really believed in that, they would also believe in actual magic, or telekinesis (of course, quite a few do, but there's really no arguing with some people).

But the compatibilist free will has most of the characteristics that we associate with any kind of free will. For example, there is still value in arguments, as hearing one agent's argument can well be the cause of the other agent's change in behavior. By the same token, it still makes sense to hold agents responsible for their actions and punish them for their decisions, since the cause of their behavior is very much related to their 'person', the sum total of what they have experienced, learned, and have projected about the future through their own rationality.

In fact, it's hard to find anything in the compatibilist free will that contradicts intuitive notions of free will, except for the most religious of intuitions, unless you push it to the brink and try to ask questions where we don't have good intuitions anyway, usually by asking counterfactuals, or moving to the relationship between free will and consciousness.

There is also another kind of approach to this question, one I first heard from Noam Chomsky. His point was: if determinism were to contradict our most immediate experience (as discussed before, it may not), the one of deciding how to interact with the world, wouldn't it make more sense to say that we are missing something from our scientific understanding in this area, rather than insisting that the most common empirical observation we have is completely wrong?
I don’t keep up on what apparently seems to be issues with the museum, but this was what drew my eye: if all dead sea scrolls were forgeries that would shake the foundation of [Abrahamic] theology.
Triage usually dictates that the ones most likely to die from the illness, especially if they're old, get lower priority than those that can be treated at a greater success rate, and who are more likely to live longer and healthier as a result.

This is the procedure at most hospitals. You give the beds to those who need them, and are most likely to "make good use" of them (= not "waste" them by likely dying anyway; sorry for the atrocious wording)
How the video arcade industry fell apart in 1983
The OS could provide a dedicated button of its own for pasting images, etc. It could be recognizable and standard and apps could embed it as needed.

The key is that apps shouldn't have silent, arbitrary clipboard access. The user should have to do an action for the clipboard's contents to be transferred. The only way to prevent abuse is for a system-provided widget to be the one making the actual API call.

Another option would be to provide apps an API call that opens a system "paste dialog", asking the user, "Paste X into this app?". This would have the added bonus of giving the user a preview of what they have in their clipboard before actually performing the paste. It could even show a history of the last several copied items in case they want to paste one of those instead, which would be a genuine productivity-booster.
You have to wonder what a suit from Pepsi has to offer to a technology company.

Pepsi sells sugar water that is causing obesity at scale. Pepsis most recent investment is a $4 billion energy brand called Rockstar.

That romance between Jobs and the Pepsi CEO was in hindsight also a Hindenburg idea.

What happend to we are changing the world with technology?
> Right, but the fact that there's any movement in the industry at all, stories generating discussions such as this one, groups like the Tech Workers Coalition gaining attention, etc., can mean there's some trend shifting. Unless you think the news is selectively focusing on stories to cover and this is all media manufactured.

Again, don't conflate discussion and attention with actual change. People who produce the news always have to select their topics, so saying that the news is selectively focusing on something is a tautology. The real question is why people are selecting these topics - and you'd have to direct that question to media producers.

The reality is that approval of unions is not outside of historic trends. The last 10 years has seen a marked increase, but that increase started from historic lows. The current approval rating is not abnormally high [1].

> And when change occurs, whether a social trend, or new product type, or whatever- the pioneers tend to be smaller examples rather than high-profile, no?

In the case of unionization no, not at all. Early unionization efforts were not only industry-wide but society-wide (except for the exclusion of blacks and immigrants). Groups like the Knights of Labor and American Federation of Labor sought to organize all American workers. Big changes in society are usually made by big groups. The reality is that the fact that 350 workers unionizing in a field of millions has near zero effect.

1. https://news.gallup.com/poll/241679/labor-union-approval-ste...