skysight-inc/HackerNews huggingface dataset:
While people have pointed out that this is not idiomatic:

class Stuff
def initialize
@a_list = [1, 2, 3, 4]
end

def each
for item in @a_list
yield item
end
end
end

I haven't seen anyone point out the deepest reason why: unlike in many languages, “for” is not a basic, low-level construct in Ruby, it is syntax sugar. That is:

for x in y
x.stuff
more_stuff
end

is sugar for:

y.each do |x|
x.stuff
more_stuff
end

(Also, for quite a long time, for...in also had runtime overhead , so it was slower syntactic sugar.)

for...in is rarely used (it is syntactic sugar that is neither more concise bor more specific in intent, but more familiar to people with experience in non-Ruby languages), and mostly on scripts that consume but don’t implement collections. If you are getting deep enough to be implementing an #each method for a custom collection, that's an odd place to use for.
We should monitor the EU ministers' private messages to make sure they aren't discussing subversive ideas such as totalitarian surveillance.
Really with AC21 allowing those in the green card process to change jobs and "port" their green card applications to a new company, there's just no issue with changing jobs soon after getting a green card.
Five Factor Investing with ETFs
I don’t disagree it’s a lot, NoScript was another example, uBlock and uMatrix by no fault of themselves were also hijacked being open source, Ghostery was sold, and Adblock Plus with acceptable ads wasn’t bad as they said. It was widely reported, I continued installing ABP, since it was easy, wasn’t hard to turn off acceptable ads, and I think that direction they tried to move the industry in wasn’t harmful. I might have moved back to Adblock or learned about hosts but if they were successful we’d have less resource hungry ads, a net benefit for everyone, especially when using public computers or helping someone with IT.

Ghostery was more widely reported as Audacity adding telemetry. Everyone who cared knew long before to leave or uninstall it.

Hosts blocking is reliable and I’ve never had a single malicious one with the wide assortment I used. PiHole hasn’t been hijacked either and I think it’s unreasonable to think that no group can make mistakes, faltering can’t ever happen, I really don’t think Adblock Plus was that bad.

If the market wasn’t saturated with methods to block, I would have stuck with them if they were remorseful.

-Sent from my not private Apple device I’ll still use since it’s got a huge userbase on messaging in the US
Thanks so much, Peter.

Honestly appreciate you doing this.
Flutter Lifecycle in 15 Minutes
It doesn't need to be an option. You could make an application that replaces your native SMS app, and build such a "gateway".

The only problem I see, is that your boss is likely to use WhatsApp or else to find you, where such rules can't be enforced.

I could make an specific app go offline thanks to the NetGuard app (I'm not affiliated with it), it partially solves that problem. It must be manually turned on or off.
I'm wondering whether people have tried this as a workaround for some use cases:

1. Use a CA that allows certificate-transparency opt out, e.g., https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpra...

2. Restrict the browsers that access the website before its public launch. For example, only use a custom build of Chromium that's been modified to omit all of the code for certificate-transparency checks.

In theory, it's possible to have perfect access control for the staging website, and it's possible to ensure that the staging website's hostname reveals nothing about an undisclosed business plan. In practice, though, probably not. I feel that certificate-transparency opt out is occasionally a reasonable mitigation for https://attack.mitre.org/techniques/T1596/
I disagree, it's not simply arbitrary. Euler's formula eⁱˣ=cos(x)+i⋅sin(x) exists outside of any physical representation of the complex plane. And the fact that we already graphed trigonometic functions lent itself naturally to a corresponding graph of complex functions. As sibling comments have stated, any graphical visual representation of completely independent variables is most efficiently represented with perpendicular axes, so the mapping is inevitable.
I have no problem with PHP autolading, or TS dependency injection (as seen in Angular, NestJS, TSed), or even in Scala (Play! framework via Guice). Because it's not magic (since you need to import the types you know what you are getting, for PHP there's the autoload.php generated by Composer, for TS everything is in the node_modules and in the lockfile, and for both Scala and TS the compiler checks things too. Of course in TS there are sometimes problems for non-native [ie. JS + .d.ts] libs, when the typing becomes outdated).

But in Python the amount of magic shit one had to do to get things loaded in a sane manner was always somehow a serious burden.

.. but in Ruby (Rails). Well, yeah, all you have is a lockfile, and nothing else. No imports, no typing. That gets crazy really fast. :)
What Would Life on Mars Look Like Scientists, Designers Share Ideas
“I Was There When Facebook Put Profits over Safety”
Does Bluetooth work? Does the built in keyboard work? Trackpad? WiFi?
Having to use a debugger to determine the types of variables at runtime is just so terrible and backwards. I've had to debug massive python projects that have used monkey patching in the framework and it was terrible. This thread is actually causing me pain and making me relive horrible bugs i've had to fix. Reading about auto loading and having to use a debugger to inspect types is just so fucking bad.
Miami Plans to Give Out Bitcoin in Its Quest for Crypto Utopia
The article uses "text" and "call" and "contact" as if they're indistinguishable - what actually got banned here? There's a huge difference between discussing a task for someone in a team channel and @-ing them and emailing them and SMSing them.
> Gold has allegedly been making long-term real returns for years now, which is nonsense.

Gold can make real returns in anticipation of negative real yield bonds. If the next 5 years are guaranteed to be 2% inflation with 0% interest rates, Gold will immediately yield 10% real upfront and flatline until then, assuming no other present "anticipation" effects.
Lander is a very contentious guy. His reputation has gone down tremendously over time (and even when it was good, he was widely hated).

This article shows he just continues with his existing playbook. Nothing surprising, really. He will probably be let go by the admin at some point and replaced by somebody less contentious.
This is a weird view, albeit a common one among die hard free market lovers (I've even heard the "dominant in their niches" thing verbatim, although I doubt folks could expand on what that means).

The typical individual outside of our profession is not choosing a browser because of a feeling of entitlement. They have maybe 5 hours of free time in their day outside of work / commuting / kids / etc. I doubt they have any idea beyond "this browser works, is fast" or heck "it's installed" as a reason to choose their browser, especially if it's a mobile browser.

Free markets do not solve the issues of monopolies. You don't even have to look to history or the current market to understand that. Monopolies are an unfortunate natural tendency that the market heads towards when uninhibited, because they afford the maximum amount of profit. It also, at least until the monopoly hits a certain point, affords the max amount of efficiency and quality to the consumer.

Unfortunately, by the time the monopoly takes over, there remains no real "choice" left for the consumer to run to. At that point, the profit maximization takes over completely and quality begins to drop. After all, the incentive is just to be better than the "others" who remain, who likely have almost no resources (and moreover the monopoly probably introduces proprietary standards to make remaining alternatives worse).

At that point, we get stagnation, which I would argue the world has seen a good chunk of in recent years. Price fixing, collusion, all too common among the top (see the recent controversy with Google and Facebook working together). Why fight for the "free market" as you call it, when we can work together to rest comfortably?
Trial lawyers need to format their legal documents to a specific set of guidelines and file them with the court. That isn't what a wiki is for.
Sounds like Apple led the way here. Good job!
I believe that my local police are merely ineffective. The San Francisco law enforcement situation is way further gone, by all accounts.
A typical scooter will blow right by my bike, no matter how hard I work at it. Anything over 40 kph is very intense, 36 to 38 is doable over the longer term traffic permitting.
idk but would not be surprised if every popular hypervisor out there is a descendant of xen
I did see the graph from your second link and the projected stats going up and to the right, but I wasn't sure how to interpret it in isolation (for example, what does a graph of ICU usage over time look like historically?)

The media landscape on this topic seems so polluted and untrustworthy that I can't help but wish for some kind of straightforward data supplement to go with statements like

> Several hospitals have said in recent days that they are again working at their limits and have ICUs so full of COVID-19 patients that they cannot admit new patients at the moment

where I can read that and then compare it to a spreadsheet and say yep that adds up. Your second link isn't quite that for me (and I realize its an unrealistic expectation). Another poster in this thread linked to something that was closer, but also didn't quite make the case imo.

Anyways, appreciate the links. It seems clear something is going on in Germany, and I may need to get a hold of my skepticism a bit.
I wonder if someone was zeroing enough memory, where the memory is a private anonymous mapping, they might use madvise() with MADV_DONTNEED, which in linux will effectively zero the pages.

It returns the memory to the OS, and will pagefault on later accesses remapping them as zero-filled. It works in pages. Sizes smaller than a page result in whatever else is in the same page getting nuked.

If you don't immediately reuse the whole cache, it might spread out the zeroing/remapping over time, rather than in a single large go. Imagine some testing would be in order to see if a syscall + mapping changes ( require reloading with TLB for the process ? ) would be smaller than a straight run of writing zeros at some point.

IIRC, the zeroing is not something you can expect from non-linux madvise implementations.
This actually makes the most sense.
What can someone with 30 years experience in software do after retiring
My dad has been working in software since 1990.

He has been working for the government therefore he has worked on an extremely wide variety of software and has traversed the whole hierarchy (he will be retiring as a director of a center).

I was thinking that there will be a lot of companies who will want to hire him as a consultant/advisor because of his experience but I have no idea how to find such jobs/companies. If anyone has any experience with this and is willing to share their thoughts it would be a big help.
How do you have time talking here ? Obviously we haven't made it clear enough that when you re on your shift you should focus on work, and when not, sleep.
> ...changed the way police do things

Not sure if you're being sarcastic there. Filming police brutality is like a national pass time. Cameras haven't changed anything. Having more examples of police beating the crap out of people is the only "change" I've seen.
Pedelecs are regulated on all three: maximum continuous power of 250W, assistance only from 6km/h, top assisted speed of 25km/h.

The point of pedelec regulations (in europe anyway) is to be a baseline: anything which satisfies the pedelec specs must be treated as a bicycle by all member states, so if you have a pedelec you know that it will be usable as a bike throughput the union. Member states can go beyond if they want to.
These metrics (except I used a whoop) are what made me stop drinking. It was hard to justify it to myself when I could not just feel but also see the direct impact it had.
On a cargo bike carrying children in a hilly area the throttle is nearly essentially to safely get going from a stop and then to have pedaling take over.
The US-based marriage green card process is really easy and straightforward and the processing time seems to be improving. It's easy enough that you really could handle on your own but because you are in TN status, I would recommend that you at least consult with an attorney before filing.
I wish this supported fastmail subdomains, not just the main domain. Would be nice to have e.g. correct.horse.battery@mask.example.com instead of correct.horse.battery@example.com
And yet they are on every website I visit and annoy me endlessly.
You can if your language supports first class continuations! (Which ruby has: yield work differently from python I think).

Then you can turn any internal iterator into an external one.
Damn you linter-less HN textbox! :D
I want to smack whomever invented time zones.

Everyone is bad at them. Trading desks, international trade offices, space related offices all have a set of clocks on the wall because even really smart people just suck at figuring out time zones. I even use https://everytimezone.com/ in lieu of a set of clocks.

What a needless complication. I wish we could all just switch to UTC and stop daylight savings time.
Free Neo4j AuraDB – Graph Database with GUI
Very interesting, seems your remembering looks correct to me.

x / (x+y+1) :: https://www.wolframalpha.com/input/?i=plot+x+%2F%28x+%2B+y+%...

horrendous formula :: https://www.wolframalpha.com/input/?i=plot+%28%28x%2F%28x%2B...

Much less prone to typos.
Intentional Technology Moai
> In addition, the zero-day exploit used in this hacking campaign is “identical” to an exploit previously found by cybersecurity research group Pangu Lab, Huntley said. Pangu Lab’s researchers presented the exploit at a security conference in China in April of this year, a few months before hackers used it against Hong Kong users.

So it was "identical" to an exploit previously disclosed? So it wasn't new? How was it that this exploit was made public in April, re-discovered in August, and patched in September?
Eugen Schauman didn't assassinate a communist.

Schauman assassinated Nikolay Bobrikov, Governor-General of Finland, general of Russian Imperial Army, servant of Russian Empire.

Schauman was Finnish Nationalist fighting Russian Empire before Russian revolution and Soviet union.
Cars without power steering were designed quite a bit differently, not quite comparable to a modern car with broken power steering.
> it seems like an arbitrary limit.

Of course it is, all limits are arbitrary, even if informed. Lawmakers probably picked limits which would be reasonably achievable by average healthy humans over long distances.
> Although I have nothing against motorbikes I'm not cool at all with basically motorbikes getting a free pass because they're disguised as bicycles.

A free pass for what ?

You dont need a motor to reach 40kph on a bike, plenty of people can do it with only their legs. What we can do is limit the speed on bike lanes, but that means we could allow any vehicule on it. There is no reason a motorbike couldn't go on a bike lane if it goes slower than 20kh as most people on bike reach that speed.

It is not because you are on a bike that you have to go on a bike lane.
It may be a privacy risk, but it's certainly not a security risk with plain old blog and static sites that have completely open data available to anyone who wants to surf to their sites.
Connection pooler allows you to get more transactions per second on the same hardware. All it does - pack a lot of connections into handful of concurrently running PG backends. In theory all it does - relay bytes between sockets.
But there are workloads when it's CPU intensive, for example lots of concurrent TLS handshakes. And pgbouncer is single-threaded! Odyssey is more scalable.

PgBouncer is a great software, actually. We built Odyssey merely to create competitor for PgBouncer. But then started to add functionality that we needed for cloud installations. E.g. Odyssey computes transaction time quantiles, when PgBouncer computes average transaction time.
Do they even have to be real influencers? My Uber for X is "Uber but for influencer footage"!

Your brand wants to be seen with someone seen in a restaurant in Paris? I have a French kid biking around with a 4K camera, he'll go there, shoot the footage, upload it, and you can add your virtual influencer into the shot so it looks like she's showing off the food and then turning the camera around to her (virtual face) for that narcissim gratification!
I admit at this level of detail I'm at my limit in confidently interpreting all of the paper.

But yes, my concern is with apoptosis and whether or not it happens correctly in both scenarios.

My impression is that viruses thoroughly destroy cells, but the mRNA method naively exposes the nucleus to the spike protein without doing all the other things viruses do.

Maybe the spike protein does the same damage in both scenarios

Maybe apoptosis correctly resolves all the risk

But people with wild imaginations like myself are wondering if between the virus and the vaccine if we didn't just drastically increase the risk of cancer and auto immune deficiencies across the whole world. Something we won't observe for years to come.
It's complicated because of the general prohibition against H-1B self-sponsorship/self-employment so I would recommend that you both consult an attorney before establishing the entity.
Absolutely worth it to read the linked post by the EdgeDeflect author too: https://www.ctrl.blog/entry/microsoft-edge-protocol-competit...

Even if you'll eventually somehow be able to circumvent this, I'm more baffled by the sheer amount of effort Microsoft puts into locking Edge as the (de-facto) default browser. The changes OP described show pretty clearly this is deliberate and not just for whatever technical reasons there could be.

E.g. even if microsoft-edge:// links had some proprietary features that are required for OS integration - say, opening the page in a specific existing process or something - it makes no sense to rewrite ordinary https:// urls into microsoft-edge:// urls - which Windows seems to be doing ("and links sent to the device from a paired Samsung or Android devices").

On the other hand, if they are so hell-bent on making Edge the default browser, why are they go through all the trouble with "link associations" and permit other browsers at all? By now it seems sort of odd they didn't simply hardwire https:// to Edge directly.

In any way, this smells like another antitrust lawsuit waiting around the corner.
I really don’t see the problem. People have a right to not be violated. Surveillance technology helps with that. If citizens want to voluntarily share their footage with police and companies help make that convenient, then what’s wrong with that? Just like we give police access to electricity and computers and cars, we should be willing to give them access to the latest in surveillance and facial recognition technologies. We can place controls on it to prevent mass surveillance without cause, but I have little sympathy for those who commit property crimes, burglaries, assaults, whatever. They deserve to be identified, located, arrested, and sentenced. Taxpayers deserve those actions to be performed as efficiently, cheaply, and effectively as possible. I am not really sure why “community division” matters above basic public safety.
I am talking about https://news.ycombinator.com/item?id=29188769.
ARB https://arblib.org/ is often better than mpfr.
There are velomobiles here, and also e-bike versions of those that go wicked fast. They also ride on the bike paths. I think they're quite dangerous because they are so low that you are riding below the height of a car hood (or a mirror for that matter).

Here is a picture of one:

http://dutchbikes.nl/artwork2/kv4/passing.jpg

and a video:

https://www.youtube.com/watch?v=cAcy7EVRpXc
Is your web-app for public use? I am curious to learn more and/or to use it.
If you want to take a plane without constant heating, be my guest.
Well yes, I have paid close attention to some of the major deadlines. That's why I was asking here, to see if there was a major deadline they met that I missed. Because everytime I look at a roadmap, dates have slipped from the last roadmap.

It's pretty clear that Ethereum's team has a chronic problem with overly optimistic forecasting.
The way I've done this in the past is by registering a company in my home country and billing through that. For the company procuring your services, it's no different than paying for a service like AWS. The company you registered is responsible for paying applicable service taxes for rendered services as well as payroll taxes and other contributions as required by law on behalf of the employee, aka your physical person.

Basically the benefit to the client company is that it lifts the burden of employment/taxation questions from them. The benefit for you is that since you now own a proper company, you have more tools to manage your finances, for example your company could conceivably pay for office expenses, effectively making those purchases pre-tax (as opposed to paying yourself the equivalent amount and being subject to income tax deductions).
I think there are absolute numbers and then there are "the sites most people visit regularly" and those probably are 75% https. It's relative like most things.
> You're not really a regular bicycle anymore due to your speed…

The top speed (with assist) for class 1 & 2 e-bikes is well within the speed range of a regular bicycle. 15 MPH is considered a reasonable average speed for beginners, and 18-22 MPG is not out of the question with training. I've ridden my own e-bike past 20 MPH with no assist on occasion, and being a foldable model designed for electric assist it has a higher mass, smaller (20") wheel radius, higher rolling resistance (due to low-pressure 3-4" tires), and lower gearing than your typical non-electric commuter bike.

> … but you're also not a motorcycle that deserves its own lane.

Bicycles should have their own lane, whether electric or not, regardless of speed. It's not safe to share the lane with another vehicle.
Exactly. This is a specialized item for people with specific tastes.

You can probably get a older model flip phone without a data plan for $50 or less online, but this is for people who crave aesthetic and have lingering discomfort with some untold aspect of oled screens and 5G waves, or at the very least they want an excuse to not be connected all of the time.
Some of popular educational/informational channels and podcasts make this patronizing assumption about the audience, watering everything down to make it "accessible". Veritasium doesn't do this, yet maintains huge popularity.
Not really. With Clojure you don't even have to leave your editor (I use Emacs with the fantastic CIDER package). You can put your cursor over an S-expression, hit two keys, and evaluate and see the results of the S-expression directly within the text buffer. The feedback loop is so quick it's basically instant - even tabbing over to a browser or terminal window feels lethargic in comparison.

I haven't used Common Lisp much, but I've seen a few really impressive demos of debugging in its available REPLs. This is a longer one, but a good tour of SLIME (also an Emacs package): https://youtu.be/_B_4vhsmRRI