skysight-inc/HackerNews huggingface dataset:
There was a great article about the common misconceptions about REST recently: https://twobithistory.org/2020/06/28/rest.html

The longer I think about it, the more I come to the conclusion that REST is simply not useful for application development in general. It is no accident that most APIs called "RESTful" by their creators are violating basic REST principles. But REST has some useful attributes even if not used strictly - caching comes to mind.

The question is: should we have another "standard" for web application development? Something more like RPC? There are some approaches, but nothing that I would call a broadly accepted standard. How should such a standard look like?
Further actions, unless I'm mistaken, are the direct application of TOS. Epic kept on pushing updates to Fortnite that violated TOS. Your dev account will be disabled if you keep violating TOS.

Epic hoped for preferential treatment just because they are big, and they've enjoyed preferential treatment on consoles. hey've run into Apple applying their TOS equally to everybody and are now somehow pissed.
This is an article from 2008 by the person who invented REST.
Also (since Python 2.2):

>>> 2//1
2
How three hackers hacked the Twitter account of Trump in 2016
The story of three hackers that used the LinkedIn password hashes to hack the Twitter account of Donald Trump, in 2016.

It's originally a Dutch article, and the link goes through Google Translate. The quality of the translation is pretty good, not sure how it would stand up to the HN hug-of-death.

Original (Dutch) article : https://www.vn.nl/hackers-twitter-trump/
I'm curious how it differs from PyPortfolioOpt.

https://github.com/robertmartin8/PyPortfolioOpt
I do agree, but this particular feature has very low entry level

you talk when you push button

The only thing is giving a hint for user to pick good hotkey

Of course I'm not saying that users should be forced to use this feature, it can be optional like every other voice software does it
And at what pressure do those storage facilities operate?
We have been working on improving the Import/Export tool, and have deployed some fixes and improvements requested by users. For example, we've:
- Increased the number of supported mail providers by changing the way folder structures are handled
- Improved the handling for unstable internet and pause/resume behavior
- Fixed the rare cases where the application freezes when starting/stopping imports
- Improved the manual update process

The Import/Export tool will be exiting Beta with these improvements this month. If you try the production version, we're optimistic it'll work a lot better.
Good points all.

I think this highlights how important adoption curves, cost curves and volume are to the overall context.

Going from $1000 to $100 can put something into the hands of experimental, hobby or light-commercial projects. It can enable new applications. These can be fundamental to setting an overall direction. Going from $10 to $1 is neither here nor there in those contexts. Cost, as you say, is virtually irrelevant unless/until volume is very substantial.

Volume is not usually part of the early adopter game, and price, below a certain threshold is only relevant at high volume. Price (below some threshold) may never be a meaningful factor for a microcontroller built to control commercial lighting systems or whatnot.

The old habit is that price really matters. As prices dropped, this opened up entirely new uses for microcontrollers. Applications that would have been unreasonable at $100 became possible @ $10. That's not the dynamic anymore.
The path to net zero – Climate Assembly UK full report
Even with STM32, there are some peripherals that can be difficult to use without careful reference to the application notes, errata, and/or ST's sample code. The I2C peripheral on the STM32F1 is a prime example -- if you don't read/write certain registers in precisely the right order, the peripheral will lock up or return incorrect data.

On the whole, though, you're absolutely correct. :)
Ah, "frameworks rope spaghetti", the best kind of spaghetti!
That is true, but I would argue that typical applications are hard to implement in a RESTful way, since there is always some kind of understanding necessary. A human could understand that "inbox" was renamed to "incoming mail" in an email application. But what should some kind of RESTful client without understanding the semantics do?
Interesting take because I see the Nordic HAL (nrfx) as a little heavy. Just tracing out toggling a GPIO it’s at least 6 function calls, the register is abstracted to some unknown pointer called reg or cb (control block, not callback), they don’t ever seem to intend anyone to trace through their driver.

I like the Nordic chips, the event system and DMA is very good. But even their events are abstracted out where you aren’t allow access to the ACTUAL interrupt, you get to send a callback that on ISR they promise to call for you with a context pointer when they allow it (SPI) and when they don’t you are in your own (GPIO event callbacks).

Yes, Nordic does take it “seriously”, but also heavy and complicated. I’d love to see a light implementation of their drivers instead of a HAL that is supposed to cover all models all time. No one actually switches chips like that.
Using the bread as a makeshift N95 to survive is genius
Defining a set of rules and processes I can follow: https://wiki.nikitavoloboev.xyz/focusing
I would say this is a subset of the above repo but with one major difference.

All you need is a single command to use Eiten while for most of the other repos, they require a user to code just a little bit. The goal of Eiten was to make it as easy as possible for newbies to develop portfolios, test them, and invest in them.

Hope this answers the question.
Alexander is responsible for mass surveillance and will probably extend that to Amazons workers. Not really a boon for Amazons image.
> "Stock photograph of students talking at a table." You can see that this is pointless alt text.

No. The alt text is fine. It's the image that is pointless.

The problem is admittedly worse for the blind, but bothering to varied extent also some of the non-blind.
I don't think cloud service linked smart speakers are a wise idea, but I visited a family (before COVID, when you could still visit a family) that was making tremendous use of it: playing music, setting alarms, looking up recipes, ordering stuff from Amazon, and I think looking up reference material and doing arithmetic. Three generations of family members had all clearly made it a nearly unconscious habit. So I don't think this technology can be dismissed as useless to everyone.
I test my own creations on Linux with Orca (maintained at https://gitlab.gnome.org/GNOME/orca) and on Windows I rely on NVDA (downloadable freely at https://www.nvaccess.org/download/)
> managing the memory banks, the HCS12

Do you have an hour to talk about pages?
I was really underpaid for the first 5 years of my career. But I tried not to worry about it too much because I was making enough to pay the bills, and generally enjoyed the work and the people.

It turned out that those relationships I built in those first 5 years were very valuable. I haven't applied for a single job since then, and instead have relied on referrals from colleagues at previous companies - which completely changes the interview process and gives you a much better bargaining position negotiating for a job.

Of course I think people should always be on the lookout for new opportunities, and take them when they come along. But I think even more importantly if you are looking to grow your career is to make sure you are doing a good job at your current gig, making a good impression on people, and continuing to challenge yourself and expand your skills. If you can do that, then hopefully the opportunities will find you instead of the other way around.
> I strongly disagree. Empty alt text means no image description. Think about that. You are blind. Your Screen reader tells you "image", nothing more.

I feel like this is something where AI can actually shine: generating descriptions of images and video for blind people.

Best of all it's already a solved problem (and others have thought about it already): https://www.blog.google/outreach-initiatives/accessibility/g...

The next step is using AI to describe (important) changes to pages. Think of a chat on a website with new messages appearing. A voice saying: "Alice writes 'hello'" goes a long way. Thinking of it there really ought to be a way for JavaScript to interact with screen readers, allowing developers to give changes performed by JS something like an alt text.

The final step would be using AI to make interacting with sites easier. Finding the right button/element to click/focus can be really annoying with a screen reader. If you could just tell the AI "fill the form with X and Y and click submit", or "go to the next page", and possibly having that work even if what you're looking is buried in some context menu, pretty much any non-accessible page becomes accessible.
i had such a hard time reading this article. the text kept moving up and down because of the adds, I eventually hit control a and copied everythign to a notepad to read..... wow that was an awful experience.
Lightning and Thunderstorms Mapped Real-Time
This is one of the best books I have read on any topic. It's marvelous. If you want to run the code you can use Racket with the SICP language mode: https://docs.racket-lang.org/sicp-manual/index.html#%28part....

There's an interactive version as well: https://xuanji.appspot.com/isicp/
It is deadly hard, but possible to beat, as the rest of Ori and the Blind Forest:
https://www.youtube.com/watch?v=wase-Pt5OQw
And yet protagonists survive after going through a pyroclastic flow routinely in the movies, such as Jurassic World: FK and 2012. It is a recurring trope in movies!
The LL drivers aren’t bad, but it’s hit or miss if they have them for your chip and the peripheral you want.
It should be that alt="" means the author specified that the image is purely decorational, missing alt means the author did not specify anything. Do screen readers really say "image" when presented with alt=""?
Encrypted search is on our roadmap. It will be coming to all platforms, most likely in 2021 after we release Proton 4.0.
> like they do in Europe

That's a pretty broad statement. I've had many styles of interviews in Europe; from whiteboard tests, leetcode tests, domain specific tasks, to chatty lunches with no practical test.
That hasn't been my experience, but the point is that if you can't convince someone to pay you more for similar work, then you're not underpaid. It's not about value, or how hard you work, or whatever. It's about how much money you can convince someone to pay you. That's the only thing that matters.
I think GP means failed rather than rejected investments. Still optically and reputationally difficult though, but could cherry-pick (as they surely have here) ones that were very cautiously optimistic that the company had a slim chance of being very successful or whatever. (I mean, more than that's true of all of them.)
I think Espressif takes software fairly seriously, I really like ESP-IDF. As for Rust support, they're working on adding Xtensa support to LLVM [0] and someone has used it to build Rust [1].

It's not official support for Rust but it's official support for LLVM upon which Rust is based, which works too.

[0]: https://github.com/espressif/llvm-project

[1]: https://github.com/MabezDev/rust-xtensa
The other service was Radware. The problem some people had was not the tech (it uses GRE tunnels that doesn't compromise our TLS), but that Israelis are allegedly shady. We don't think that's a fair characterization. We have switched from Radware for other reasons in 2018.
ProtonDrive, like other Proton products, will also have native apps, which doesn't use JS at all.
I tried but HATED my code being stuffed between comment blocks of

//USER CODE GOES HERE//

There were four or five of those blocks in my main alone. It’s a dumb thing but was driving me nuts.

If you break your code away from there’s ASAP it’s probably better.
ProtonDrive will launch as a web app first, but desktop and mobile apps will follow.
Didn't they threaten to invade the Netherlands if they continue their investigation in US War Crimes ?
Hello! I downloaded and opened the app and it looks great! I saw I had 5k+ social and promotion messages so I right clicked and marked all as read. That however crashed the app and even if I open it again it crashes again.
All this async stuff should die as soon as possible. It exposes the limitations of the underlying tech and forces the application developer to deal with things that the systems level people couldn't bother with.

Look at the Erlang eco-system to see how this is done the right way.

Threads, asynchronicity, locks and so on should be dealt with at the OS or the framework level, not at the application level.

Javascript also suffers from this and it makes JS ugly and hard to read. Callback hell will be yours or you end up with crutches such as promises.

At the application level things should be as deterministic as possible and the default should be that statements executed in sequence will have their side effects updated in sequence as well.
It is already available in Beta at beta.protonmail.com. We're looking to also put out the mobile apps around the end of this year or beginning of next year.
You cannot roll out such a vaccine on a large scale within a at least a year. Far too many unknowns compared to the virus itself.
A lot of businesses need to demonstrate that a product is margin-positive...

That means if you are making a new gadget to send out to users, and hoping to make money on data collection, a subscription service, ad revenue, etc., the unit cost of the hardware is critical to the business case, even if it isn't much money overall.

Try telling investors "we made this weather station, and we will make money by selling data to NOAA".

The very first question will be "how much does each station cost", and "how much will NOAA pay". Nobody asks how many engineering hours you spent writing the code to fit on the microcontroller, because the assumption is that in any successful business that becomes irrelevant.

Perhaps investors should accept "Each weather station costs $1000, but we think we can get it down to $10". But most investors won't believe you if you say that...
> they could have formed an alliance with other businesses and lobbied governments globally without breaking existing T&Cs.

And they would get quite a few allies then. See an earlier proclamation and fight by Spotify: https://timetoplayfair.com/timeline/
That's not true. Caving to an American request without judicial approval from Swiss authorities is actually illegal.
Documented behavior:
https://docs.python.org/3.3/reference/expressions.html#binar...

Dates to PEP 238 from 2001:
https://www.python.org/dev/peps/pep-0238/
This is actually the next step for ProtonDrive in the future.
Well hot damn, it works. Fascinating how the TTS voice is completely different from, and about a thousand times more pleasant than, any of the standard voices.
Yes, you absolutely do need true full duplex to (a) know you're getting in, (b) not step on anyone else, (c) know when you're being stepped on, all of which are really required to operate effectively and courteously.
That was a while ago, then, or your games sold horribly for an AAA game. Steam's cut goes down to 20%.

The Microsoft store takes a mere 5%.

The Epic Games Store is at... 12% I believe. There's also no exclusivity from either Steam or EGS. The only condition is not using Steam to promote a game that will release first on EGS.
>I am looking forward for the judge to validate Apple's decision.

I will be OK if it is cleared what rights you have on your device, can Apple update the TOS whenever they want? are those pages of TOS you agree when you buy a device enforceable? What is the limit Apple can censor information that user receive from third parties.
Amazon doesn’t own the Washington Post.
Making lists of the things you need to get done. I have found Apple Notes to be indispensable because it syncs between my Mac and my iPhone. And, making lists of your significant accomplishments. It’s motivating to see all you’ve completed over time, and it makes writing status updates much easier.
> it's is quite nice to use, at least compared to what I remember asyncio being like.

Yes, I agree. Fairly recently there's been anyio [0], which brings ideas from trio to other async libraries, in particular asyncio. E.g. it has equivalent of trio nurseries (what anyio calls "task groups") for implementing structured concurrency ideas in asyncio environments (saving you from headaches due to having to deal with tasks manually). Very neat way to use trio ideas when stuck on asyncio (e.g. for web apps). :)

anyio was also discussed in the latest Python Bytes episode [1].

[0]: https://github.com/agronholm/anyio

[1]: https://pythonbytes.fm/episodes/show/197/structured-concurre...
Kenwood TH-D7
>In America

See, that's what I'm trying to tell, What about 'Not in America'?

Before I proceed further, I want to categorically state that I don't intend to come off as supporting privacy violations by one country vs another; My argument over this entire thread has been that it sucks for someone not in any of these countries as they all spy on us and it's taken for granted in this kind of discussions.

That said,

>use a VPN. The NSA can't stop you if you really want privacy.

Because they have 'No logs' policy? Come on, don't be naive. Even the trillion dollar fruit company has been part of the program according to documents which hasn't been disputed.

>This is illegal in China, where every VPN must be state sponsored and monitored.

So you do agree that the Amercian VPN companies or any American company have double standards when it comes to China? Btw, almost every outsider in China installs a VPN to access content outside Great Firewall once they arrive, several U.S. services work without a VPN e.g. iMessage, Skype etc. I have heard of targeted deportation/arrests at airport, but never heard of random phone seizures at Airports.
>quite a bit different than a developer

Exactly! I'm a sysadmin (sometimes a Dev), but sysadmin is what i'm really good at. The most important thing is to see a solution from another perspective.
Holy cow, you use githook as a blog. Nice man!
Which website are you talking about here? Even the hardest to scrape sites can be scraped with proxies and headless browsers.
Aliexpress Unofficial API
GSoC 2020: Snowflake Proxy on Mobile
No one is going to pay you more unless they think you're valuable and you're departure is a credible possibility.

I know it's a lot of work, but the best strategy is to interview for jobs consistently and regularly, regardless of whether you are happy with your current job. Shop around your offers, get companies to fight over you. Use all the leverage you have. You don't get more money without demanding it.

Power and money are never given, they are only taken.
M 3.1 – 2 Km SSE of East Freehold, New Jersey
Dual watch, or full duplex?

My decades-old FT-470 can do true full duplex too, but it's less common in current radios. Just dual watch now.
The situation in Sweden suggests that any serious risk model cannot accept a wide scale vaccine solution within a near time window.
I'm in EU, I watched Tenet in theatre. It's a nice experience, lot of room, very few people, you can order everything online. They even reserve an empty seat on each side of your tickets to help with social distancing.
The points brought up by @cromwellian in https://news.ycombinator.com/item?id=24416738 are important in the context of the present comment, too.
> Mimestream differs from other email clients because it uses the Gmail API rather than IMAP

Technically speaking that make Mimestream not an email-client, but only a Gmail-client.

It's only an email-client if it works with general email-providers, which this one clearly doesn't.
Random question: do you happen to have any experience with any of the Dialog Semi range of Bluetooth ICs? (E.g. this one: https://www.dialog-semiconductor.com/products/connectivity/b...). They're ridiculously cheap but don't have internal flash. I haven't had occasion to try them out so far, so I'm just curious if anyone else has.
The interview yes, it's like how you said, but usually before you get to an interview you have to pass a BS filter from a less technically savvy recruiter who skims through your resume looking for the years of experience in X tool/frameowrk the hiring manager told them he uses.
This folder specifically is blocked by the API.
Looking HTTP over TCP Sockets
I absolutely love async Python.

It lets me do stuff that would be hard with ordinary Python.

No doubt it takes some effort and practice to grasp, but once you have it worked out you'll find it's a powerful tool in the toolbelt.

Many languages now have async and await - it's not exclusive to Python. The reason so many languages have gopne this way is that so far it's the easiest and most sensible solution to writing concurrent code in a way that won't become incomprehensible.

And if you are trying to get your head around it, the easiest analogy is the web browser and JavaScript. If you have grasped JavaScript and the event loop then essentially you have grasped async Python, or not far from it.

Some people misunderstand async Python - they think the point is to make Python faster - it isn't. The point is to enable concurrent programming.

I do understand the haters - at first, until you grasp it, async Python so incredibly foreign and so different from ordinary synchronous Python that you might think "AAAARGH why did they do this and make it so hard"? But really it's not hard once you grasp the mental model of what is going on.
Then get rid of the law! What is the point of the law if we're all "criminals" according to you and any attempts at prosecuting such laws is met with "rules" about making it less effective. How ever did this become about "how can this tool be used to harass people". Police can harass you using absolutely nothing other than the powers given to them by virtue of being a policeman.

Identifying criminals that are breaking the law should absolutely be easy, efficient and absolute. Either you agree they are breaking the law and that the law is just, or the law is unjust. Otherwise, if you agree that there is a "grey" area between the two, then you're just inviting abuse by virtue of selective-policing.
>The fact that someone is innocent is no guarantee that they can prove it in court.

He doesn't have to prove it, just show that it's plausible. The burden of proof is on the prosecution.

>The US government is not particularly upset that he failed to crack a password. They are upset that he created Wikileaks and publicly embarrassed a lot of influential people.

I think they probably are upset that he tried to help someone hack into a DoD system.
It should be aria-hidden=true then, not alt=""
Me too! My dad bought me a PicStart Plus and a bunch of PIC16F84s for my 15th birthday. I tried to badger him into buying me the Hitech-C compiler, but he never budged, so I was stuck with assembly. But that was a good thing, in hindsight. :)
I'm glad I read this article. I just did some HTML email templates and I didn't add any alt text (I'm not really frontend engineer and I didn't at all thought about a visually impaired person reading). I will add them now thanks to this article!
Here's an email discussion where the translator discusses the cuts and changes. Notably, he mentions that Murakami knew about and was involved in the process.

Jump down to the middle, starting from: "The cutting done on WIND-UP is a complex matter".

> http://www.randomhouse.com/knopf/authors/murakami/complete.h...
> since registers are specified in sub-byte nibbles, one needs very good memory and tons of experience to predict what goes where

Nope, you just need to use octal instead of hex - https://web.archive.org/web/20041117160755if_/http://www.dab...