skysight-inc/HackerNews huggingface dataset:
Uber scraps thousands of electric bikes after Lime deal
Possibly they assume that those who are able to read the article are able to form that obvious opinion for themselves?

I'm comparing this to the lowest common denominator style of news in the USA.
The RPi4 was designed with bursts of activity in mind, but for more sustained work without thermal throttling I have had very good experiences with the Argon One case (https://www.argon40.com/catalog/product/view/id/52/s/argon-o...) and the Flirc case (https://flirc.tv/more/raspberry-pi-4-case).
The prefix is pretty popular, but has a negative feeling with it, as it usually comes as either "cyber bullying" or "cyber crime" lately.
Truckloads of Perfectly Good Jump Bikes Are Being Shredded
I must admit that I did a double take since I'm so used to seeing projects that only release for Windows and OSX but not Linux, or some other combination of two out of those three, but I suppose that is me having too low expectation more than anything else.

You could open an issue asking for the platform you are missing- Go supposedly has good cross compilation support[0], so as long as Go supports it and you can help confirm that the builds work for the devs they might be open to it.

[0] https://dave.cheney.net/2015/08/22/cross-compilation-with-go...
I would say if the symptoms reappear when you stop taking a medication, your problem isn't solved so much as the symptoms are being managed. Given that mood disorders can be due to some underlying conflict within the person's psyche, simply alleviating all negative symptoms seems at odds with the goal of getting as many people as possible to self-actualization.
Seriously, though. I do like the simplicity and the overall approach, support for the mouse, and so on. I would use this. But I don't know if I can give up mode based editing... need to delete 3 lines? d3d. Search with /string. Get the next result with n. It's just so much faster than learning a million modifier keys. Maybe there's room for something in between this and Vim?
Secret ancient Chinese method to reverse diabetes, fix blood sugar naturally
I feel like this is a false presentation of the PM choice. If I was the PM there, I would question the first assumption that the users want to see more of the stuff they interact with. That's an assumption, it's not founded in any user or social research (in the way you've presented it).

And even if it was supported by research, I would think about the long tail. What does this mean for my user engagement in the long run. This list might satisfy them now, but it necessarily leads to a narrowing down of the content pool in the long run. I would ask my marketing sciences unit or my data science unit, whatever I have, to try to forecast or simulate a model that tells us what would the dynamic of user engagement be with intervention A and intervention B.

I feel this is one of the biggest problems of program management today. Too much reliance on short-term A/B testing, which, in most cases, can only solve very tactic problems, not strategic problems with the platform. Some of the best products out there rely much less on user testing, and much more on user research and strategic thinking about primary drivers in people.

If you were to use this approach - you might see that actually, the product you have with choosing to optimise for short-term engagement brings less user growth and less opportunity for diverse marketing - which, it is important to note, is one of the main purpose of reach-building marketing campaigns.

I would say the way this whole problems is phrased shows that the PM, or the company indeed, is only concerned with optimising frequency of marketing campaigns, rather than the quality, reach and engagement with marketing campaigns.

Obviously, hindsight 20/20 and generals after battle and all that. I'm still pretty sure I would've thought more strategically than "how do I increase frequency of showing ads".
Virtual Reality, Real Grief
Why does 'falling' in dreams happen?
China outlines intense space station launch schedule, new astronaut selection
TinaCMS is similar and open source, works with Gastby/Next
Systemic attacks can bring down the Internet
Quite the generalisation..

To provide a counter generalisation, I am sure a certain percentage would pay for a niche search engine if it provided specific value.

I mean, LexisNexis news search exists, and is far from free.
While we are at it - what is the business model for freeware web browsers such as Vivaldi, Firefox, etc... I know they have some deals with MS, Google and friends but how such deals are done? Is it from some personal contacts or do you have to apply officially? What are the particular numbers - is it something you have to negotiate? What is the range in this case? etc...
“The reformation that draweth on the change” – Francis Bacon's “Of Innovations”
Dupe https://news.ycombinator.com/item?id=23334873
Thanks for including a link the the Greyhound Trust
Git workflows to improve your development process
How the 'Lost Art' of Breathing Can Impact Sleep and Resilience
He only asked for acknowledgement.

And lets not forget - they had similar open source project and community. They decided not to participate but create their own. This new project will overshadow existing and eventually kill community.
Maxwell's equations are linear (solutions are superimposable etc.)

I think if you'd call something "Maxwell's equations of software", a similar property should hold, somehow ...
This is a silly argument. The service that Facebook offers is becoming so important that asking people not to use it is like asking people not to breathe, and over time it will become moreso.
Well there's a cybertruck now
This project is a base for which to add a python interpreter to a swift iOS project. It allows us to call python functions and get the resulting string, and then use the result in swift code (to update native widgets, etc.)

As I'm a beginner in swift and iOS, I've documented all the process at https://github.com/joaoventura/pybridge-ios/blob/master/docs....

I hope this allows me to share all the Python code in my Android app (https://play.google.com/store/apps/details?id=com.flatangle....), which uses the same technique but for android (https://github.com/joaoventura/pybridge)
A million imprisoned: Getting stranded seafarers home
I have never heard anyone describe the Swedish system as perfect. Voting participation is close to 90% so there is very good evidence that we do not need mail-in ballot for people living in Sweden in order to make it easy for eligible voters to cast their votes.

If we are going by evidence then finding the cause of the lower voting participation in the US should be the goal, for which there exist plenty of research studies conducted over many decades. A lot of people have wondered why there is such a large difference between EU and US. The general conclusions is not the lack of more easy to use internet based solutions, but rather to concepts like minimum wages, trust in government, belief in the efficacy of voting, combining the system of taxation to voter registration, access to voting centers, and voter fatigue when people have to vote in multiple elections in close proximity.

The resistance and general suspicion to internet based solutions with weak security should not be taken as a campaign to make it more difficult for eligible voters to vote. A government website where an anonymous user can put in a a registered person postal address in order to trigger part of the voting process should be viewed with legit suspicion.
Cool idea! Actually, you could probably call this extra argument "this".
How does this logic compare to say Forth, APL or Joy? As far as I'm aware, they are all combinatorial languages - are they effectively implementations of SK combinators?
The latest iteration... https://www.linkedin.com/posts/nick-j-clarke_landfall-seafar...
Please don’t buy this fake £300 anti-5G USB stick
Conventional weapons can already do 4200 rounds per minute (ie 70 per second) at much higher accuracy and with much easier reloading. There just aren't that many cases where you need to shoot vast amounts of metal at something, even anti-missile guns don't need more than ~100 rounds to achieve satisfactory Pkill against anything but the most manoeuvrable targets. Most other engagements these days take place at a range where metal storm type weapons are ineffective.

Source: studied weapons engineering at Naval college.
The problem is unqualified imports though, not free functions.
Apparently it is a 128Mb stick, with a pdf on it.

"The stick comes loaded with a 25 page PDF version of the material from 5GbioShield ‘s website. It included a Q&A of distances for the “bubble” and how to know if it is working. It’s an “always on” system apparently, is always working, powered or not, so no visual checks needed.

A review of the stick’s properties revealed nothing more that what you’d expect from a regular 128MB USB key. We weren’t even sure that 128s are still in production!"

https://www.pentestpartners.com/security-blog/reverse-engine...
I think the SKI combinators are quite a bit simpler than lambda calculus. In lambda calculus the renaming of dummy variables is quite tricky. E.g., these lecture notes actually get substitution wrong: https://www21.in.tum.de/teaching/lambda/WS1718/lambda.pdf but I only found out after using the substitution rules on page 7 in a formalization of lambda calculus.
After Life
Why US teens on TikTok are making “I love China” videos
Ask HN: What got you out of coding tutorials and into developing software?
Maybe the question is, how much content can you remove for what reasons until it becomes an endorsement of the remaining content. Removing a specific post for reasons like violating site rules is different than removing hundreds of posts that express some common political opinion. How should that line be drawn? That's complicated, but that doesn't mean there's no good answer.

Maybe the line should be form vs. content; removing a post because of strong language (if the site specifically does not allow it) is different from removing a post because of an expressed idea. There's also a clear difference between presenting something demonstrably false as fact and and questioning the reasoning by which such falsehoods are identified. Both might be expressions of conspiracy theory, but should be protected by a persons freedom to express their opinion, the other is a lie.
Yes

Backend: TypeScript, Node, Postgres, Apollo Server, TypeORM

Frontend: TypeScript, React, Apollo Client, Razzle.js/ After.js (just for SSR)

Deployed on Heroku

More details in the link
Social media platforms came from private forums, not publishing and newspapers. Moderation has always been a form of accepted censorship on private forums, and indeed, they cannot exist in every legal form without being able to curate own design and content.
Genuinely curious what’s missing.
Tab completion on small commands that don't have a kitchen sink of options...

I've never read the manual for the GCP command line tools but I've used them extensively.
But how is Twitter qualified as a fact checker/arbiter? Twitter just cannot assume that role onto itself unless it is specifically chosen to be one and has reported itself as one to the relevant authorities. And once it does that, it binds itself to the regulations that govern an arbiter. Will Twitter subject itself to such regulations?

And who decides whether the citations are factual? Does Twitter decide it? If Twitter decides it then isn't it behaving like a Quasi-Judicial body? If it is like one then it is no longer a platform. You cannot call yourself a "platform" and then suddenly decide to change the character of your business and behave like an arbiter. There is a reason why you mention your nature of business while setting up your company. That way the authorities know what regulations will apply to you. If Twitter is behaving like a publisher and the publishing regulations do not apply then you are creating a monster in the process! And for what justification? Just to take on a politician whose term is fixed? Twitter is going to exist even when Trump isn't the President. By allowing Twitter to get away with this you are going to be setting a precedent for other companies to behave in a similar fashion. Then what is the point of rules and regulations? No one will follow it. Every company will decide to modify its nature of business as it sees fit.
Yes, why not have max and pow as objects?

`max` and `pow` can either run eagerly (as functions) or they can run lazily and allow for interesting lazy things. For example, if you put them into a lazy object graph, you could perform optimizing measures.

Check this out:

1/2 * 2/1 == 1

Would you actually calculate each intermediate result of that expression? Or would you just reduce the fraction? Should 1/2 be exectuted and yield 0.5 immediately, or could it be useful to have them hang around some more? FP vs. OOP is the difference of understanding / as "Please divide 1 by 2 now" vs "That IS a fraction; one half".

> There is no need to force every peg into a coalgebra hole.

True, but how awesome would it be if I did that anyway :D

Regarding `max` and `pow` as objects: Yegor Bugayenko argues for a similar thing in his book "Elegant Objects".
Swarm satellites probe weakening of Earth’s magnetic field
I and/or the company I work for would. Google is awful for finding the kind of high quality, niche information I need in my job. It just returns lowest common denominator rubbish.
Trilium Notes: Markdown autoformat personal knowledge base
I have been using Trilium lately and I love it. What sold me completely is the sidebar sections "What Links Here" - my purposeful linking and "Similar Notes" - reminding me of what I may have forgotten.
I think using existential types will give you data-hiding like this. (Disclaimer: I'm still learning about them, and making up this syntax.) Say my abstract data type is

DijkstraLib =
there exists GraphState with {
construct: List(Edge) -> GraphState
getDist: GraphState -> Vertex -> Vertex -> Num
}

Now we can write two different implementations of this type that use a different data structure for graph. The data structure will be opaque to the client (even though the client obtains and passes around graph objects!). Like so:

-- Library
type CachingDijkstraLib : DijkstraLib
with GraphState = (HashMap((Vertex, Vertex), Num), List(Edge))
with {
construct(a_list) = (HashMap.empty, a_list)
...
}

-- Client
DL = CachingDijkstraLib : DijkstraLib
some_obj = DL.construct(edge_list)
DL.getDist(some_obj, u, v)
DL2 = SomeOtherDijkstraLib : DijkstraLib
some_other_obj = DL2.construct(edge_list)
DL2.getDist(some_other_obj, u, v)

The types of some_obj and some_other_obj could be completely different, and neither would be accessible to the client. For example, the client couldn't assume some_obj is a pair and try to get its first element. It would also be an error to call e.g. DL2.getDist(some_obj, ...).
Ah yes. The new Microsoft, same as the old Microsoft.

I am really sorry this happened to you. On the scale of Microsoft, or even on the scale of what they're putting into this effort, it would have cost approximately nothing to give you an "acquisition" you would have been happy with. If the job didn't work out, they could have given you a fat consulting contract for a year or two. Or they just could have written you a check.

And it would have cost them actual nothing to just treat you with respect. Say how much they loved your work. Credit you publicly as a leader and an inspiration. Arrange a smooth transition for your users.

For what it's worth, I'm glad for you that the job didn't happen. Much better to be far away from people like this.
The profit motive would clearly prioritize finding an expensive medication that must be taken regularly and indefinitely. Psychedelic research up to now is pointing to small numbers of uses having lasting positive effects. There is a fear that research driven by a profit motive will try to not just not investigate this further but actively gloss over this potential medicine.
While I am supportive of their business model, and search functionality, I find it off-putting the way they speak of privacy but then use maps provided by a GAFAM which are ultimately profit oriented and can _not_ be trusted to safeguard privacy regardless of their marketing. OSM would be a great choice here. I'll even dare to speculate that they were financially incentivized to make their choice in the face of a superior and actually privacy-oriented choice.
Would this still work for modern military aircraft? I wonder if this + machine learning might still be useful, given radar stealth.
I'd think people used to Windows/Notepad/CUA editors would be most comfortable with the venerable Midnight Commander editor (mcedit).

The main issue is probably that Windows editors rely heavily on modifier-arrow combinations. It's quite fiddly to get them all to work correctly inside the various terminals, and there is not much that a application running inside a terminal can do about that.
Mozilla makes a referral fee from search engine searches made with the browser. Their revenue is in the hundreds of millions.

https://www.cnet.com/news/google-firefox-search-deal-gives-m...
> only things that change the layout. adding a non-virtual method does not break ABI at all for instance.

Yes, you are correct. The point was that C code can keep the ABI intact through (some) data layout changes but vanilla C++ classes cannot I misstated it.

>Good modern practice (c.f. Rust, etc) is to ship LTO'ed mostly-static binaries.

That is the state of play now because Rust does not have a stable ABI. I thought one might be coming but maybe no one's working on it. It's unfortunate because it would be really nice to have binary crates with signing.

>hopefully in a few years everyone will switch to snap / flatpack / appimage to finally reach a sane application distribution model on Linux.

Snap has a while to go before it can be adopted fully. Images are enormous, they take a long time to load, and they don't respect (or don't understand) hidpi settings. I tried to use it for spotify and telegram-desktop and other applications but they just don't work that well.

>it much harder to hack your way out of things when it's 3AM and everything is crashing and you have 5 minutes to fix things before heads start to roll.

Absolutely but it comes from enormous systems like Windows where changing a library and breaking ABI means recompiling Everything. And these compilation jobs are often 'overnights'.
Why? The main advantage of passing a state as an argument is letting the user control the state. If you need an array as state, the user might want to put the array on the stack, or the heap, or in static memory, or protected behind a mutex somewhere...

It doesn't really matter that much how things are actually implemented: most languages are flexible enough that you can do this with a class or a function or even implement the algorithm as a generic interface. But if you want the algorithm implementation to be reusable, you have to remove as many assumptions about the state as possible because otherwise some users won't be able to use your algorithm.

If you pick up a class, and the class owns the state, now you need to make the class generic to allow the user to customize the state, you need to allow the user to break the state invariants, to be able to unsafely read and write from it, because otherwise you are forcing the user to read into a separate buffer, and then make a copy to your class, etc.

Somebody that knows how to avoid all these issues when writing their algorithm as a class, probably also knows that by just using a function most of these issues just cannot happen anymore (or are much harder to introduce).

You can also write the algorithm as a function, that takes some generic state, and provide a "class wrapper" for convenience, so that those who don't want to customize anything don't have to. But then your class doesn't implement the algorithm anymore, it just wraps it.
The ‘new normal’ in software development could change everything
Ask HN: 5min questionnaire to better understand Devs' non-technical challenges
Hey guys, could you please take 5min to answer this short questionnaire about the non-technical challenges faced by Devs? (Google form in the link)
https://forms.gle/Cm2Wzcm8LZFfcyQMA
That's a great example. Instantaneous response to queries even on an ancient Chromebook.
> If you pay twitter to promote your content, then yes, twitter should be responsible for the legality of this content.

Imho that's exactly what Twitter does want to avoid under all circumstances because it would basically make ad-automation more risky.

Google dealing with regulation around advertising for medical products chose a blanket ban for any and all ads on a large range of keywords for some areas, and will only manually allow e.g. the manufacturer of some medication to buy ads. Automatically judging the legality of ads / tweets is too risky, and doing it manually is too costly (and still somewhat risky).
> Is this better?

Very few professional developers code in vim or notepad. Vast majority of us are using IDEs. IDE knows types of things, type `myobj.` and you'll get a suggestion list with methods of that class callable from the current context.

> There is then a pattern to do this in C++ called pimpl

There's another useful pattern in C++:

struct iObj
{
virtual ~iObj() { }
virtual void cool_func( int a, int b, int c ) = 0;
static std::unique_ptr<iObj> factory();
};
Yes, and part of the bad initial media responses (not regarding the cracked glass of course) were in regard to that name.
You aren't arguing anything, you are only stating a very shaky premise.
My laptop's display panel is almost 10 years old, and has about 96% AdobeRGB coverage. 100% sRGB should be considered barely above shit-tier. Probably fine if you don't do any photo or video editing ever, I guess?
I haven't broken the site guidelines, we just have radically different perceptions of what is tolerable. My idea of shutting down the country is quite different to yours, presumably. Even mandatory 2m social distancing is utterly ridiculous and unsustainable in the short term, never mind lockdown.
It's literally using a word he used, hence the quotes.

No speech was disallowed, so this would be much ado about nothing.
I love that HN's culture is one where people can gracefully admit that they were wrong, and that's that (no further dogpiling to call them out on the earlier error).
Strict social distancing restored in Seoul area after increase of Covid-19 cases
Does anyone know the interpretation/etymology of 'lottery factor'? I assume it's the risk of the Key Person winning the lottery and abandoning the project? I guess it makes more sense in the context of rank-and-file employees, rather than passion projects...
The standard "right tool for the right job" adage comes to mind. If I write Java or JavaScript, then using objects is fairly important (in fact, I have a hard time writing good JavaScript, because it is really an "object-based," as opposed to "object-oriented" language that rewards runtime modification, and my mind doesn't really work that way).

As was mentioned earlier in the comments, if we are designing code for reuse, then using a reusable design pattern is important. It doesn't have to be a class (I program in Swift, which uses structs and enums more often than classes), but it should be in a form that can easily be extended or derived from.

I will also do stuff like refactor a bunch of code out in a project that I'm developing, and create an entirely new project, based on that, so it can be reused. In that case, I may take a simple, focused tool, and make it a bit more generic and/or complex, widening its utility (of course, that also means that I add a bunch of testing that would not have happened, otherwise).

I sometimes think that we get caught up in the tools or dogma; letting them define us. I say this, having been through exactly that.