skysight-inc/HackerNews huggingface dataset:
All of that can be implemented on the client (e.g. as a browser extension) without breaking the Internet. That's the only reliable way to do it anyway. MITM DNS filtering is easily bypassed and only effective against lazy malware.
Show HN: Learn new words while surfing the web
from that why we sleep podcast, weed sleep is pretty bad sleep. the withdrawals (not being able to sleep) are pretty bad too. not that i don't use it too.
they said cbd might be better, but i haven't bothered.
Some would transfer to Flutter
> I mean, the only difference before the two is whether you have to put a comma between elements or not.

Personally, I vastly prefer minimizing punctuation in code. Most punctuation like this only lends itself to creating places where additional errors and bugs can creep in. Listing elements on separate lines gives you the separation needed so it's clear it's a list of things, the comma at the end of the line is needless.

> All because someone in charge of API design was afraid of lists and had more power than someone in charge of Swift language.

I suspect the people in charge of designing the Swift language have a similar aversion to needless punctuation in the language. They made a point of calling out the lack of a semi-colon in the original Swift launch announcement. This isn't some API designer pushing the issue, it's part of the philosophy of the language.
You do see this in Chess, various openings fall in and out of favour over time. I guess you could call this "meta" - tactics change in line with strategy, strategies change in line with the meta game. But as GP says, I've always considered this as just "strategy".

Made me think, though. Thanks :)
I deeply disagree that "much of human government through most of human history" is an edge case. I do agree that families are somewhat naturally hierarchical, and that can be good. However, there are plenty of examples of that being taken too far. I disagree that teaching and learning can only be accomplished through hierarchy, although that's certainly the common mode in industrial education.

So it's as I said: we have to look at our natural heritage and decide which parts are good. Natural does not equal good.
I find the core team involvement of two of the biggest Chinese companies a bit worrying as somebody who tries not to support unacceptable totalitarian politics in that country, considering that it's not a secret how obedient the big companies have to be in order to even exist there. A pity because it's a great framework and community, I just can't ignore that aspect..
SwiftUI is raising the abstraction layer and aiming to provide something much more productive than what UIKit currently offers. You've framed your comment as if web developers are cargo-culters who only know how to use React. The web has already experimented with classic MVC approaches (backbone etc.) and moved beyond it. Android's Compose is taking a similar approach, as is Flutter which as far as I can tell is not necessarily aimed at web developers. Also why would Apple ban React Native and Flutter?
If the biggest negative you have with macOS is unreliable sleep, you’re not going to enjoy linux.

source: i use linux
Had very similar experience myself, even had trouble sleeping as a kid still remember just laying there for hours and hours trying to sleep. Same as you describe, my brains very active in the night and I get great creative output in the early hours. Caused a lot of problems, almost got me fired on occasion and at times I have to do things that seem ridiculous just to fit into others schedules, if there is an important meeting, train or flight I have to catch 8 or 9 am I often just stay up all night just to make sure I get to it then sneak a nap in the afternoon or as soon as I get home. Went through a few weeks of all nighters after a warning at work about turning up late, my output was pretty shocking that week but hey at least I got in on time for the watch checker PM to be happy, that's all that matters right...

Just seemed absolutely effortless for everyone else to be sleep at a sensible time and turn up to work on time and here I am setting 30 (Not exaggerating) full volume alarms on my iPhone and a backup physical alarm elsewhere in the room and still sleeping through it all on occasion.

Really just thought I wasn't trying hard enough or maybe I should just get better at forcing myself to sleep until I came across Delayed Sleep Phase Disorder [1][2] which seems to describe it.

Honestly my only real solution has been finding a job where they're not fussed if you show up between 15-45 minutes late almost every day and my job starts at 10. Think if I were in a normal company it would really just be starting an egg timer until I happen to show up late too many times in a row to raise a red flag.

Advice intended to help normal people wont work if the system you're trying to affect isn't actually normal. That's the most frustrating part of all this and why people just think you're not trying hard enough or you're just a bit of a screw up who hasn't got their stuff together.

[1] https://en.wikipedia.org/wiki/Delayed_sleep_phase_disorder
[2] https://www.vox.com/science-and-health/2018/2/27/17058530/sl...
So an Action Replay for x64

https://gamehacking.org/wiki/Action_Replay_(Amiga)
Even these code that has nothing to do with business logic benefits from being readable, from being written with a purpose in mind. This is so that even when a typed hole suggests something fishy, you can immediately spot it.

This is coming from something who tried that approach and had a bug in production.
Pending on what company you're working for you may be able to find a younger software engineer to take you on as a mentor. I say younger because the seniors that I have worked with have a ton of useful knowledge, but don't know how to dumb it down to be digestible for a complete beginner and end up completely overloading me with obfuscated words and acronyms. This is just my experience though so don't let that stop you from reaching out to a senior engineer.

This way you can set up an:
Accountability system -- as good as having HN or freecodecamp's Twitter beat you up for missing a day on the 100 day's of code challenge there is nothing more efficient than having someone in person that you can go to for help when you're blocked and begin to burn out after a difficult hurdle. This will also help you out in determining which end of the stack you want to end up in. It's so easy nowaday for everyone online to say "I wanna be a fullstack unicorn so I make the big bucks!!!!" ,but then you just end up being mediocre at 2 things, rather than focusing on front end or back end and really excelling in that area. A mentor will help you figure out what you're actually interested in and keep you focused.

Code review -- Not only will having a mentor help teach you best ENTERPRISE practices, but they could give you other ways to think of solutions rather than going onto a Udemy class where the instructor types some code and you regurgitate then eventually get stuck in tutorial hell. I uppercased enterprise here because most online courses teach you the easiest, least secure, and just show me a working website as fast as possible. That doesn't translate well into the professional world.

Way into a junior role -- This is the big one. If you truly stick with learning web dev and your mentor sticks with you and sees potential then you will have an easy way out of customer service. You won't be paid as much as if you had transitioned to a new company, because that is how our HR overlords work, but you'll have something that differentiates you from other self taught web dev's. Real world experience and references to boot.
BZx attack translated into mainstream finance
> That's if you're using a US debit card

A USD debit card. Revolut also claims to charge US cards too (an undisclosed amount) but amazingly enough they charge me nothing for topup from my USD card (issued by Romanian bank)

The transferwise wire transfer fee is on top of SWIFT fees and whatever other fees your bank will charge you for USD. That's pure profit for them, there's no cost that justifies the fee.
Careful, you're going to hear some lobster arguments...
MSPaint in JavaScript
cloudflared, knot-resolver, stubby, unbound, CoreDNS can be run as DoH and/or DoT stub and/or recursive resolvers, locally.

The easiest stub resolver to setup would be nextdns' client: https://github.com/nextdns/nextdns
What's the biggest challenge on maintaining such an important project? Have you even been tired of it and just willing to stop?

I understand this started as a toy project and they are always fun, but Scala.js got to an impressive state where maintaining it should be a challenge while caring about users and compatibility (which it's demonstrated that Scala.js cares much).

And, thanks for such impressive and useful project.
Yes, excellent analogy!
Theres just so many edge cases.

I think they are banking on 95% of purchases being just normal people trying to get food, and that will offset the margin of loss here, since they pay a lot less employees. Because they will definitely lose more product than a normal grocery store.
Case in point: WhatsApp TestFlight betas recently gained support for dark mode, because they decided to do custom UI (and, honestly, not a terrible one) and it took ages for them to fix it up to support dark mode.

Meanwhile, many native-iOS developers had dark mode support on day one, because they stuck closer to iOS conventions and didn't do as much custom UI.
A good read on sleep (not just Early Riser or Night Owl) - Why We Sleep: Unlocking the Power of Sleep and Dreams / Matthew Walker PhD
Australia, rural NSW. Which is not to say that all parts of rural NSW are the same - there are many troubled flyblown small towns with very poor populations which are quite different.

The valley I live in (which is kind of a natural cul de sac with no through traffic) hasn't witnessed a crime in 50 years.

[Edit - I grew up near a country village in England. We never locked our doors there either. That was a few decades ago, but makes the point that my current Aus position isn't unique. There are pockets of sanity]
Not a Vue dev, but someone mentioned a weakness in the other thread: https://news.ycombinator.com/item?id=22349300
It's fucking Disney, they are the power structure.
You interpreted physically based as physical. You can have a software physically based modular synth.

"Physically based" refers to the synthesis method, you model the resonance mechanism. The EaganMatrix, Nord Modular, Kronos... are all examples of this technique, and are also available in 100% software. It is in contrast to subtractive, additive or fm based synths.
How would this work? Isn't the content editable attribute magic so far as web code is concerned. You can't currently implement contenteditable in userspace, can you?

I guess maybe you could make an attribute which just enables a flashing cursor, and then everything else could be done with DOM apis...
iOS already has an existing multi billion software ecosystem.
Did your brain forgot to take into account this little information?
>excessively critical

Other than pointing out the fact that Hindu nationalists are hateful violent supremacists who remove citizenship from Indian Muslims and are already building concentration camps for them.

https://www.hrw.org/world-report/2020/country-chapters/india
The opposite of hierarchies is not some blissful state of civilized anarchy, it is chaos, violence and free for all. If you think some leftist state is the solution, sorry for breaking it to you but they are highly hierarchical if not more than state tending toward classic liberalism. Most experiments in this vein have ended badly (millions dying), see communist China (now a hierarchical dictatorship btw), USSR, Cuba, Venezuela, Argentina, Brazil (thankfully steering of peril right now).
Dow Industrials Fall More Than 500 Points
Poe's law. Can't tell if this is a joke, or if you really are a retard.
Agreed. In my class I always start with the hard/wrong way. Point out why it's hard/wrong. Let them hate it. Then show the easy/correct way. You can't just point them at something and say, "Do it this way or else." That's not teaching. That's directing.
Exact same. Although I did have a kid - three of them. No change. Still most productive between midnight at 4am.
How will they fake AMZN credentials? It's probably much harder to do that than use something like a stolen credit card to pay with at normal grocery stores.
The signature for a controller to implement is as follows:

Controller *interface*
boot[*itemIs* Item, *signedIs* Signed] → TerminationReport
// boot request with an item and signed returns
// a termination report from the boot request
shutDown → Void // shut down request returns Void

The challenge in Erlang is to allow the shutDown request to be received even though the boot request has not yet returned with a termination report.

The cancellation exception is caught within the implementation of the run request and turned into a termination report.

PS. The definition the type Item is as follows:

Item ≡ Package[*imageIs* Binary, *versionIs* Version]
The article states that what would be the responsible government body [0] was not involved in the decision. My guess is that this is on Disney alone, just them avoiding controversy as a general rule.

I'm not familiar with India's laws either but if it's anything like the US than they are free to censor whatever they want, they are a private company, not the government.

[0] A spokesperson of the Information and Broadcasting Ministry, the governing agency which regulates information, broadcasts, movies and the press in India, said the government was not involved in any censorship discussions.

edit: grammar
You're assuming the state had a role in this
This isn't really surprising. India has no independent press. Stories are routinely crushed.
The thesis is, in general, excellent and well worth a read if you're interested in software reliability even outside of Erlang. The first few chapters are just a great read for any developer I think.
SNI is not a good argument, there is work being done to encrypt that as well in TLS 1.3 with Encrypted SNI[1].

[1] https://blog.cloudflare.com/encrypted-sni/
if you've been with State Farm for over a decade, I would reckon you're getting hosed. State Farm agents only get quote from State Farm - they're not an independent brokerage. When I was shopping around (mid-30's, family, standard 2 cars) in the DFW area, they were the most expensive.

Go check out an independent insurance agent. It's not "gaming" it literally takes 20-30 minutes, and could save you $1500 over the whole year (especially if you have multiple cars).

To "nudge" you in the right direction, buy not switching, you're basically saying, "I make money at $1000/hour, so it's okay that I don't expend the mental budget to compare quotes".
Renewing domains on NetworkSolutions now is like walking a mine field
The original company was the only place .com names could be registered when I registered my first domain, I stuck with them out of not wanting to have to set up my DNS records all over again for many years, but after navigating my renewals this year, I can't say next year I'll stay with them. I am so tired of a company that expects to be a trusted service provider that tries to constantly trick me into add-on services. I am amazed how they are getting away with this, and why barely anyone else speaks publicly about this problem.

During the process of renewing my domains, I was presented with a lot of extra screens on their web site where additional NETSOL services were already selected (by deault), and user interface buttons were deceptively placed to encourage me to adding those services, like privacy protection, SSL certs, etc that of course would cost me more money on a monthly basis. When I arrived at the "cart" screen, there were things I didn't select in there as well, which greatly inflated my overall cost, when all I wanted to do was renew 3 web domains I own.

I own an enterprise hosting account with Network Solutions as well, that doesn't permit SSH, PHP updates, or 3rd party certificate installs... Of course all things offered by NETSOL for a fee.I can't imagine how many people they trick with their practices, but for me it's time to move away from Network Solutions.

If anyone has any good recommendations on who I can continue my registrations and hosting with I'd be very thankful... :/
Yes, people can adapt to different timezone. However what's interesting is that night owls will adapt based on their own circadian rhythm. If you are someone with delayed circadian rhythm, you would end up synchronizing to the local timezone but still fall asleep after midnight.
Show HN: EasyLlama – Sexual Harassment Training Made Easy (Required in NY/CA/IL)
What's meaningful? It'll cost you a half million to build a full rack, power it and give it connectivity for a year. That's a lot of spot instances if you don't have a constant load
Should Scientists Use the Phrase “Quantum Supremacy”?
Admin-Dashboards.com goes open-source – Results in Google after 6mo
Hello,

I've released 6 months ago, admin-dashboards.com as an open-source project, using this manifest:

Admin Dashboards is an open-source project, created to promote the work of freelancers and small agencies in front of big sharks, using content submitted by developers.

-- The motivation

If you are a freelancer or a small startup, and you have in your portfolio an admin dashboard product, trying to promote it and sell it, can be challenging without a serious budget. The first page in Google for the keyword “admin dashboards” is full of well-positioned companies like ColorLib, WrapBootstrap, and other companies at the same level.

The results after 6mo, are listed below:

KWD / Google Monthly Searches / Pos in Google / Link

admin dashboards / 6k / 16 / https://admin-dashboards.com

flask dashboard / 0.7k / 9 / https://admin-dashboards.com/flask-dashboard-atlantis

react dashboards / 3k / 26 / https://admin-dashboards.com/blog/react-dashboards-curated-open-source-apps

adminator / 1k / 7 / https://admin-dashboards.com/bootstrap-dashboard-adminator

I will continue to push content on the service (BTW is built with Gatsby) and update the stats at every 6 months.
For more information please access:

Github repo - https://github.com/admin-dashboards/dashboards
LIVE service - https://github.com/admin-dashboards/dashboards

Thanks for reading this & let me know your suggestions in the comments.
You could try Rust. It seems pretty simple to compile to wasm: https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to...
Thank you so much I'll check those out!
> HP had a similar program, but that stopped working around 2010

Can I obtain this somehow? I have a business grade HP laptop from 2006 (nw8440 I think) and I forgot my BIOS setup password. I need to enable the NX bit to upgrade from win7 to win10! Removing the CMOS battery overnight (and all other power) did not help.
isn't that what I said
> WTH does DoT adoption by ISPs have to do with that?!

The ISPs need to support DoT server-side, at their end?
The super-fast world of droplet dynamics
DoH is just a protocol. DNS providers are adopting it as it is tested further and as it suits their needs or their customers'.

There are 40 publicly available servers listed on https://github.com/curl/curl/wiki/DNS-over-HTTPS from large and small players.
If I sit any family member down in front of this comment, their eyes would glaze over. Not only is what you mention a PITA, it's impossible for most people.
Gatsby Build Speed Improvements with Parallel Image Processing
I feel this.

I'm a naturally night owl. I've had years of being more productive at the office between 5 PM and 8 PM than the entire time between 9 AM and 5 PM. For a while, a sudden burst of productivity was the thing that let me know I was at the office late.

Conversely, I also have a tendency to wake up with the sun, full of energy, when there's sun (and, living in Vancouver, that's about 50% of the time on average).

Then... I had a kid.

This morning, I was awake at 5 AM. Got up to go to the bathroom, went back to bed, started drifting off, and then what felt like a herd of elephants came storming into the bedroom, climbed into bed, went for some cuddles, and then just started thrashing around from being bored. Guess I'm awake now, then.
Here are some actual documents on preparing for an influenza pandemic that the CDC is repurposing to prepare people for the coronavirus because of the similarity to the spread of the flu.

https://www.cdc.gov/coronavirus/2019-ncov/php/pandemic-prepa...

States will have their own influenza preparedness plans that they will probably be following for the coronavirus as well.

One helpful thing that they advise governors to advise individuals to do is to store up food and enough (but not more than enough) medications.

https://www.nga.org/wp-content/uploads/2020/02/Pandemic-Infl...

One thing to note is that a lot of the slowing down of disease spreading is going to be from the voluntary efforts of individuals. We should prepare ourselves and help prepare people around us to know what's up and what to do if you think you may be sick.
The state does not always have to directly constrain speech to create an environment hostile to free expression. Though they've certainly censored media connected to controversial topics like Kashmir before. In a sense, this sort of voluntary self-censorship is even more concerning, because it reflects a certain political temperature.
I guess the contention here is the definition of the word "few". When I think of "a few years", I think 2-4, not 7-10.
My guess is that this is on Disney alone, just them avoiding controversy as a general rule.

See also: Disney releasing Song of the South on DVD in Asia, but publicly stating it will never see the light of day again in North America.
The spaza sector in South Africa is changing
Oh must have missed Romanian is an ethnicity and not a nationality.
Git gud, is the correct term.
My workplace sent out this update not an hour ago:

> From March 2nd, employees should not attend any large meetings or events that are not hosted and controlled by [company], or where attendees cannot be confirmed as following a comparable travel policy. Individual or small group meetings where you can verify the travel histories of all attendees are fine.
I wonder why they don't simply check if the user's resolv.conf is configured to resolve via a private IP address, and not use DoH if that's the case.
Exercise everyday as soon as you wake up for 30 minutes may help reset your brain (treadmill or similar would work or a brisk walk before you shower). Your brain will naturally anticipate the exercise and wake up faster because it has to do so. It would take 3 weeks to become a habit.

Also sometimes this can be an early sign of sleep apnea if you fall into the other risk factors. CPAP + room air filter + blackout curtains + exercise changed my life. I can't sleep later than 6:30 AM if I wanted to now. Used to be a very hardcore night owl and now brain shuts down at a reasonable time at night with no pills.
After all, in Disney, we take comfort that everything is alright and happy and everyone gets along!

You should re-watch Bambi.
If you need to install module on other node, you make a fun which installs that module (typically one function call) and execute it on other node, that fun is automatically sent and executed where you want it. It's like using remote shell (ssh), but your program is automatically sent to remote server.
The chinese and their idiotic traditional 'medicine' are endangering so many animals that it's not even close. They're actively encouraging poaching.