skysight-inc/HackerNews huggingface dataset:
It's around 8 emojis per row; FlatList can do multiple columns out of the box, but in order to allow scrolling through all categories I was forced to use SectionList to get the headings. Chunking the larger data array into groups of 8 and rendering them as single columns worked well enough, but the perf was abysmal, and it wasn't immediately clear why. I've found all of the VirtualizedList components are an absolute nightmare to perf tune, so I replaced the SectionList with a ScrollView and instead force users to tap on categories to switch.
The whole government ID thingy is really beyond the pale. Just imagine: you never needed it to sign up in the first place. So now after proving to be not worthy of your trust, tone deaf and ethically deficient, to delete your account you need to give them even more information.

This company deserves to die.
California has such a law, and at least on one website I changed my address from WA to California do it would show me the option to cancel directly on the website.
That’s definitely an improvement and a cheap solution. I always have to remind people of offsite backups... I had to learn the hard way and I’ve now migrated to Backblaze for one of my backup copies for my cold data .
I had to look up taskwarrior to know what it was all about, and the EXE part made me think it was only for windows at first.

But it looks nice, will check it out!
Someone once posted a link on hackernews titled "new phishing attack uses google domain to look legit"

I opened it in a new tab along with several other links to read, I was expecting a nice blog post explaining an exploit.

After about 20min of reading the other tabs I came across that tab again. I had forgotten the title of what I had clicked, I'm not sure I even remembered it was a hackernews link that got me to that page.

"Oh, looks like Google has randomly logged me out, that doesn't happen often" I think as I instinctively enter my email and password and hit enter.

Followed half a second later by "oh shit, that wasn't a legitimate google login prompt."

I raced off to quickly change my password, kick off any unknown IPs and make sure nothing had changed in my email configuration.

I'm lucky I came to my senses quickly. I think it was the redirect to generic google home page that made me click, along with the memory of the phishing related link I had clicked 20min ago.

But yeah, it can happen to anyone on a bad day.
True, but for items where you have to buy more things to complete your purchase (such as a fan, or a motherboard) at least customers will always see and compare the total.

$50 less but without cooler isn’t really $50 less.
This is also the reason I almost never sign up for yearly plans. I'm much more likely to unsubscribe from something I don't use if I see the credit card charge monthly.
Mask wearing perhaps?
That was over 1km utilising 7 cores. Typical fibre plants use one core per direction (transmit / receive).

This is over 75km utilising a single core per direction. IE this is actually something that has potential to be deployed in the world without having to replace all the existing fibre plants that already exist (eg undersea cables)
> Report your old card stolen, and renew the card.

As someone who shops online at a much wider diversity of vendors than amazon.com, My card actually gets compromised about once a year and needs its number changed. I don't mind the hassle because it forces me to update the payment method for my recurring charges. On more than one occasion when I re-evaluated whether I really still needed some random subscription, I decided that it wasn't worth it any more to me.

On that note, I'm amazed how many accounts with outstanding balances have been next to impossible to close out by simply sending a physical check to an address. On the phone, they insist, "If you'll just give us your new credit card number, we'll get this all taken care of now." I respond, "I'm not giving you my credit card number because I don't trust that you'll actually stop charging me. I'm happy to send you a check in the mail to pay off my balance." Then it's often, "Uhhhhh, I don't know how to do that. My computer program requires that I enter your credit card number in this field to process. Please just give me your credit card number and stop making my life so difficult."

By the time everything is said and done (and escalated), they always end up finding a way to accept a check in the mail.
The only surface ships the US has that are nuclear powered are the supercarriers. Nuclear ships are expensive.
I am sorry for your pain. I have never had the 'algorithm quiz' interview, and am proud to say I have never given that quiz.

IMHO If you are good with algorithms, your resume should show it, and you should be able to speak to it. If your resume does not show the skill then they should not grill you on it. Of course as a interviewer you must be skilled enough to recognize a valid understanding of the algorithm the CANDIDATE explains not just the ones you as an interviewer knows.

That said, I have seen plenty of resumes where people will list off doing in 3 months, that which would take a genius a year. Validating that you actually did XYZZY verses just attended a meeting on topic is a key objective of the interview.
In the last 6 to 9 months I have been learning Drawing (Pen/Paper), Digital paining (Krita) and 3D modeling (Blender) in my free time.

I must say, I had to try very hard to not explore Photoshop and other 3D tools, It wasn't easy when I see most professionals using Photoshop, 3DS, Maya, etc. From time to time i get frustrated with low quality Youtube's tutorials, numerous times I had to remind myself to have patience, and stick with Krita & Blender.

Now I in love with Blender, and getting used to like Krita with Wacom table.
(Please note this document is outdated; you’ve linked to the 1.0.0 docs. This particular page is pretty ok but we don’t ship this at all anymore, and haven’t for years.)
I’ve seen this a lot in my work where companies hesitate to conduct phishing exercises that are “too convincing” (or, put another way, too realistic) because they fear documenting poor results. Of course that means the exercise and the learning opportunities are much less impactful. I’ll concede it’s a little different with financial institutions because regulators and auditors will usually see the results at some point but I really admire Gitlab’s commitment to transparency.

I try to emphasize to clients that it’s not a test but a phishing exercise akin to a fire drill. You don’t pass or fail a fire drill - you use it assess how prepared you are for a fire. And if you find that you’re totally unprepared, well wouldn’t you prefer to figure that out before anything is actually on fire?
I've also heard conjectures that countries with a BCG innoculation program suffered less - not sure if that applies in Japan.
Does anyone know if they wear masks more in Japan? That might make a difference.
I'm using Lambda@Edge for static site auth, so I just need to pass some HTTP headers, and it still seems a bit overkill. I really like the ability to integrate with a CDN, I don't think I want to move away from that to something like nginx that could fall over and be more expensive, but being billed for every signin I do is a bit nerve-wracking. Maybe it's just new and I don't have enough experience with it yet.
Happy clients are the best branding. I built my business almost exclusively on referrals, which not only filters out clients that would not be a good fit, but also provides reputational policing for agreements: The option of a client considering not to complete their side of an agreement has additional negatives due to the relationships involved. Likewise my service/product reflects on the referer, as it were, providing me another incentive to deliver massive value. And the referer gets the bonus of having been part of a successful solution.

Win-win-win.
Average speed, not the top available. Singapore has 5,6m citizens and 75% of them have an Internet connection. So an average speed of 197Mbps is pretty impressive.
Ha! I have to go cancel my Webfaction account.

They're a decent service but they were acquired by GoDaddy (who I think are douchebags) so I stopped using the service. But I have been forgetting to actually cancel it for years now.

For a while they were changing me ~$10/month. Nice for them and not painful enough for my lazy ass to jump though whatever hoops they may have set in place to cancel.

Then one day I let the balance on the debit card they have on file for me fall to zero, so their auto-debits were failing. Eventually they sent me an email saying that they would stop charging it, but... They will (and do!) try again from time to time. Just to see if it will work.

Rather than just cancelling the service (that I haven't touched in at least 4-5 years) they leave my account in a zombie state and periodically attempt to harvest it again.

(EXPLETIVE DELETED) cheeky bastards, eh?
I write OSes most of the time, but seeing how languages end up boiling down is a very good exercise in learning the architecture.
Yes, everybody wears one. Masks are popular even during normal times.
> where the average download speed is 197.3 megabits per second (mbps).

Average is the key word there. Higher speeds may be available but just not used by many people die to cost.

In New Zealand for example 95% of the population has access to gigabit (with 10 gigabit being tested in places) speeds but the average download speed is only around 50 mbps due to most people opting for slower/cheaper plans.
Kind of hard when the operating system does it for you... https://groups.google.com/d/msg/comp.unix.aix/0dv4N0qmgVQ/ty...
It deploys a battalion of marines in an amphibious landing, it does not itself move on land.
In practice, without any consultants involved, the Scrum master is a manager, the Product Owner is a manager, _and_ I still have my regular manager.
> Also, the whole 'move' terminology sounded to me like Rust would move memory around

That's exactly what happens: a Rust "move" is under the covers a memcpy().

> but it usually referred to the move of ownership.

That's also what happens. For instance, when you move a Vec, you are moving (through memcpy) only three words of memory (a pointer, the length, and the capacity), but you are also "moving" the ownership of the memory behind that pointer. That is, the new Vec is responsible for managing that memory, and the old Vec can no longer be used.

> Also 'consume' didn't make no sense to me. "into_iter consumes a vector" what does it mean?

It means that it takes ownership of the vector, and doesn't give it back.

> Where does the vector go?

It's destroyed within that function. In the case of into_iter() of a vector, it's broken into its component parts (the pointer, the length, and the capacity), and the struct into_iter() returns (which is not a Vec, but something else) is now responsible for managing the memory behind the pointer, and releasing that memory once it's no longer needed.
I have the opposite problem...

I have bad eyes, and use HUGE fonts and can basically only get 1 window per monitor...
so I have 3 monitors setup:
middle for editor
left for browser/docs
right for email, slack, irc
Yesterday, while driving in downtown Mountain View, CA, one of these damn things stopped short of coming into the crosswalk. So I and the opposite direction person stopped, like we would if it were a person.

The damn thing made us wait for what felt like an eternity. And it still didn't move. So I started to roll forward and I swear to you, I was almost hoping I would hear the crunch of electronics if the thing had decided to roll forward given I had given up on it.

A year ago I was in a Bevmo trying to get beer and an inventory robot was in the isle. The thing was bulky (morbidly obese?) and I couldn't get by it as it was rolling slowly up the isle taking pictures on both sides, so I went down the parallel isle hoping to get infront of it to get to my beer. Nope, the thing got there first and blocked me.

Robots are our future. And it will be annoying during our lifetime. There was a reason Han Solo snapped at C3PO to shut up. I don't know what Han has had to deal with in his lifetime, but I can take some guess now on where his "shoot first" mentality came from.
> I like intercom's articles but (at the time) wanted to restrict them to actual customers. So I put a CF worker in front that gates based on a cookie set by my app.

Might be against their terms? I rem someone asked if they could treat Workers as a http reverse-proxy to essentially bypass restrictions, and the answer was "no".
100s of researchers failed to predict six life outcomes
> No restrictions were placed on residents’ movements, and businesses from restaurants to hairdressers stayed open.

I think most of us know at this point these measures (along with laughable things like wrapping up park benches and closing access to beaches) was never going to have any material effect on the spread of the virus, but was done anyway as a way for politicians to say “look we’re doing something!”

How they kept their notoriously close quarter trains from being vectors is a good question!
Betteridge's law of headlines is an adage that states: "Any headline that ends in a question mark can be answered by the word no.
I guess the amount of hassle is specific to the country. The last time I had to go to a physical branch here was… 2006 maybe?

You apply for the card online and get it in the post.
I considered that but other east Asian countries do the same thing, but aren't seeing the kind of results Japan is seeing.

Could be though. It's just interesting that they pulled it off without any lockdowns. It could be their isolation as an island as well.
This is a good move, but still fairly lax (I'd personally like a reminder after as little as 2 months). This difference in preference by users and the top comment with an example of the reversed strategy used by a shady dating site, surface the point that pushing this responsibility to the providers doesn't scale.

What we need is good UX for users to manage their various recurring payments, and cancel them by easily blocking payments to specific companies. That's one thing Paypal for instance does right with its "automated payments" dashboard.

The current system of customers having to trust companies by default doesn't work in a market where antisocial behaviour is not more heavily punished.
Masks along with general higher levels of cleanliness, especially in public transportation. I don't know what the trains are like in other countries, but between Japan and the US there is absolutely no comparison. Japan's trains are pristine next to ours.
It's shitty behavior, for sure, but it's rational given what I assume to be their incentive: to stay in the good graces of the people who set calculator policy for standardized tests. The College Board has an explicit whitelist and general guidelines here: https://collegereadiness.collegeboard.org/sat/taking-the-tes...

> You are not allowed to use any of the following items as a calculator: ... Models that can access the Internet, have wireless, Bluetooth, cellular, audio/video recording and playing, camera, or any other smart phone type feature
All pay is not necessarily cash. Job enjoyment, after you obtain the a certain level is often more important.
That's an interesting point. Looked that up and it's a tuberculosis vaccine?
Ask HN: Who regrets choosing Elixir?
I’ve seen a few Elixir success stories posted here recently. Virtually all comments are from raving fans that have nothing but the best to say about Elixir.

As someone with primarily a Ruby / Rails background, I’m choosing a language for a new API project and considering Elixir. I’m interested in hearing some counterpoints to Elixir, especially in how a smaller ecosystem Of 3rd party libraries slowed down development.
https://news.ycombinator.com/item?id=23034147
Way more. More culturally accepted and practiced widely.

This[0] is early April, government representatives all wearing masks, a normal practice for Japan.

[0] https://www.arabnews.jp/en/japan/article_14235/
Nevermind that a network is way less reliable than a computer's memory or even disk drive.
I wonder if anyone's ever tried something like "C with slices, destructors, and copy/move semantics".
Amazon turns a Seattle office building into a permanent homeless shelter
Vividion Therapeutics – targeted protein degradation
Other Asian countries are seeing the exact same results though? The virus is basically gone in all of them, the average person doesn't have to worry about it.

It seems only China is being overly cautious, implementing lockdown-type measures on a Russian border city with 130 confirmed cases
I read that NY doesn't clean their subway nightly. Kind of insane considering how dirty public transit gets. At least run it through a gas chamber once a week to kill off everything.
Totally reasonable. I feel the same way, but there are a lot of people who just want something up and running and are happy to accept vendor lock-in risks. I'm sure they'll get there eventually.
> Beware, in particular, of the subtle and terrible ``All the world's a 32-bit machine'', which is almost true today but shall cease to be so before thy resume grows too much longer.

That’s cute. What year was it written?
My Google skills are failing me here, can you provide any more details? I'm very interested in knowing tricks to upgrade the SQLite version used by Python.
Feel free to reach out, would love to chat.
> That's some toxic community you've built here, @dang.

HN is one of the better, and better moderated, communities. Thanks dang.
Based my first hand account - there are very timid attempts to open source some libraries - mostly used in between the EU institutions. Code given as a zip, no access to a repo.

There is plenty of anxieties around the subject still, so work does not take place in the open.

Supporting Open Source projects that are used internally are still deep in the woods, ironically thought one could find reference in documentation to “helping out the community” as a stated benefit of using Open Source...
> Think you're ever going to be able to migrate that app to anything other than AWS?

Obviously, no, we did not expect to migrate our AWS Serverless backend to something other than AWS.

Avoiding vendor lock in makes sense in few, select circumstances.

Avoiding vendor lock in for the sake of avoid vendor lock in leads to over engineered services that take longer to deliver because people are going out of their way to avoid using vendor-specific tools.

In all of my time as an engineering manager, the number of times that avoiding vendor lock in has solved more problems than it caused is still zero.

Use the best tools available at your disposal to get the job done. Cross the vendor-changing bridge if (and only if) it becomes a requirement.
I’ve always wanted to take the time to try to build this. It’s been possible in PG for a while to use a foreign data wrapper to do something like directly update an external cache via trigger or pubsub it to something that can do it for you.

Making it easy here would be absolutely fascinating.
> I think most of us know at this point these measures (along with laughable things like wrapping up park benches and closing access to beaches) was never going to have any material effect on the spread of the virus, but was done anyway as a way for politicians to say “look we’re doing something!”

Wait, are you say restricting movement and closing private spaces do not affect the spread of the virus (not just as a matter of study, but obviously)? This seems to contradict the experience in much of the US (indeed of the world—but I follow US numbers more closely, since that's where I am), where the implementation of exactly these measures reduced its spread, and where numbers seem to be starting to rise again as restrictions are eased.
Ah, that's what I was thinking of. Makes sense. That and some submarines right?
So in short no one knows why it didn’t hit Japan harder, but they suspect Cultural factors (mask wearing, speaking distance, etc.), along with potentially genetic factors (fewer comorbities, possibly a different strain of the virus).

The possibility of a distinctly less virulent or less severe strain of the virus seems very interesting to me. It would contribute to the story of how so many Asian countries contained the disease so successfully while Europe struggled. It would also fit the much less severe spread in the US west coast (introduced via Asia) versus the northeast (introduced via Europe).
"businesses from restaurants to hairdressers stayed open" is a weird way to describe a situation in which most restaurants are closed and many open ones have transitioned to takeaway only.

Source: I live in Tokyo
I have the beginnings of a profile there, despite being conspicuously in Germany, because I took the test and applied to be an interviewer.

Too many people think US citizen != EU resident (and therefore not a data subject covered by GDPR)
Is it really? Do you live in Japan, or have visited? When I was there, only sick people (even from a cold/flu) wore masks, to prevent the spread of disease.

That's still "more culturally accepted and practiced widely", but it was far from some claims I see that "everyone is wearing masks". Everyone is wearing masks when they're sick, not every day.
Yep, they even employ committers
Grandmother’s Refusal to Remove Photos from Facebook Tests Privacy Law
Cleanliness does not really matter that much. There is little evidence for mass surface transmission.

This is a disease that is spread by breathing in air contaminated by a infected person coughing or talking.
Lua is an example of a programming language that still uses an one-pass compiler. It keeps the implementation small, which is useful in embedded contexts. Additionally, not constructing an AST helps when parsing very large files. Lua files are sometimes used to store data, sort of like JSON.
I got one of their 'freestyle' keyboards years ago..
complete crap - I swear its rubber dome switches :-P

I got an ErgoDox EZ last year, put some nice heavy kaihl box switches in it...now I just gotta find time to learn it (and dvorak/colemak).

Currently using a Vortex Cypher with the split spacebar, I tore down and rebuild - new switches, added leds (south facing mounts so they're useless but I figured I'd try).

and new keycaps.
One of the better posts I've ever read here. It's all sales. The guy who does excellent work but doesn't sell will get buried by the guy that does awful work but can sell. Period. Full stop.

Sell
Sell
Sell some more
You won't get a mortgage at any interest rate if you don't have a job. Nations will be forced to spend far less on health services and infrastructure, and that will have a direct impact on mortality rates and quality of life. A depression economy will be responsible for death, misery, untreated mental illness, child poverty, increased inequality, and other unpleasantries.
KLEE: A symbolic virtual machine built on top of LLVM
What happened to that guy who posted a few weeks ago with warnings about Japan that had tweeted hashes of his text files?