skysight-inc/HackerNews huggingface dataset:
I continue to be surprised how easy it can be to consume a SOAP API with the right client libraries. Such as https://docs.python-zeep.org/en/master/ for Python. Now that's not to say it will always work, you can design a terrible API with any mechanism, no SOAP or REST client will help you if the other end has desided to succumb to madness and done something like turn their entire API into just "two endpoints" and driven by the payload content you post to the inbound endpoint, and you have to sit there polling the outbound endpoint with the inbound endpoints response ID to find out what the eventual response is...

But horror story aside, consuming a decent SOAP endpoint with a good client library can be practically magical.

Between attrs (https://www.attrs.org/), cattrs (https://cattrs.readthedocs.io/), and the aforementioned zeep soap client I've got a serialisation pipeline from soap endpoint into an attrs dataclass with type hints and basic type validation down to a snippet so small it fits right here (type hints removed to minimise size).

from zeep import helpers
from cattr import structure

def zeep_to_attrs(zeep_object, attrs_class):
"""Serialize zeep objects to native python data structures"""
return structure(helpers.serialize_object(zeep_object, target_cls=dict), attrs_class)
Do you have a marketing site or landing page for Padka? It sounds interesting, but just linking to a .pkg file on S3 really isn't the way to educate HN users about your offering!

Looks like this is the homepage: https://www.padka.com/ - why not just link there?
Alien Dreams: The long history of speculation about extraterrestrials
What about new leadership at Activision? I'm still confused about the business relationship between Activision and Blizzard.
You did do a magic trick. You found docs complete enough to cite.
This is very true as a Korean living outside of the country, It's happening slowly but the cultural resistance and all kind of shitstorm related low-birthrate/immigration is about to happen.

It's pretty ugly situation inside right now it seems like. Koreans still have the idea that it is a homogenous country and majority of korean is pretty extremely conservative about this new policy obviously, you could easily imagine it's like ticking bomb.
The Hill isn't relevant at all. Every headline and the body all use 'Graphik', not Inter.
Yes, this is why I implemented hash-checking in pip (https://pip.pypa.io/en/stable/topics/repeatable-installs/#ha...). Running your own server is certainly another way to solve the problem (and lets you work offline), but keeping the pinning info in version control gives you a built-in audit trail, code reviews, and one fewer server to maintain.
HN tends to be very skeptical in general. It's easy to sound intelligent with a well-reasoned negative opinion than it is with an optimistic one. I think with cryptocurrency in particular a lot of HN'ers have really just dug their heals in and don't want to admit they were wrong.
> And since you can play all the same PC VR games as the Index, plus Oculus-specific games, plus standalone Quest games... It's very versatile.

Indeed. Because Valve values openness while Oculus (Facebook) values money. That's why Valve lets you play SteamVR games on Oculus, but Oculus does not let you play them on SteamVR (community solutions exist, of course).

This is pure evil.
Sounds like Bobby Kotick has chosen his scapegoat.

They're not even being called "president", now, just "co-leaders": he's taking the opportunity to consolidate more power too.
Kuai Liang welcomes his German comrades in the fight to destroy the corrupt Lin Kuei
A lot depends on pay. If your startup pay is identical to your public pay (say 2 competing job offers), you paid $0 for some amount of options.

Now if your pay is 25% down, you paid 25% of your salary for those options.. +/- a slightly different lifestyle and feel for the company, which is interesting to many.
Blair (YC S19 & Tiger Global) | Bay Area, NYC & Berlin | Visa support

Blair is tackling the student debt crisis by enabling schools debt-free education for everyone!

We recently raised a $6.3M seed by Tiger Global and a $100M debt facility to power our growth trajectory.

We are currently looking for talented people across various roles:

– Full-Stack Engineer (Berlin, Germany)

– Senior Product Designer (Berlin, Germany)

– Senior Capital Markets Director (NYC or Bay Area)

– General Counsel (NYC or Bay Area)

– Chief of Staff (NYC or Bay Area)

Find all roles here: https://joinblair.com/careers or contact me directly at stefan@joinblair.com
Most definitely a bruised ego started all this
The first podcast NETWORK about startups outside of Silicon Valley
I'm not as concerned about the board. I think they'll do whatever they need to make money and if they need to change Blizzard's culture they will. The CEO is a different story because he was there every day.
Data Engineer Career Guide: Planning and Advice
So urban cities are anti-child? Thus we will see cites change or depopulate?

Does low fertility correlate with dense urban dwelling and sky high real-estate prices? I suspect it probably does, but I haven't seen any proof.

Maybe this shift to remote-first work that happened over the last 18 months will help....
Non-paywalled link https://archive.fo/LlbIE
Employees are generally incentivized to keep career moves a secret, since if they go public they may either be terminated early or left with no backup plan if the search goes poorly. I do think this utilitarian calculus changes slightly as you move up the leadership ladder, since an abrupt exit can burn professional bridges, especially if you're in a position of large responsibility. But ultimately people need to do what's best for their career and can never be blamed for doing so.

One thing I would have like the author to touch on is exploring whether this road should go both ways. For example, when an employee isn't performing and needs to be terminated, should they be given transition time? You would expect this from a company that elevates the employer-employee relationship beyond that of a financial transaction.
As far as I can see the only problem is with how the pension systems are structured. A falling birth rate by itself doesn’t really mean that much. In fact there might be benefits for employment, like there was after the black death. But as it is our current economic system is based on growth and having more young people supporting the elderly. So it seems like if the trend continues we will have to restructure retirement benefits.
Oculus requires the exact same beefiness of your PC as Index. If you're happy using the Oculus on-board processing, you might as well use a laptop from 10 years ago as your PC, it will have the same quality.

If you actually want decent VR you need a beefy PC for both platforms. So that is a non-argument.
Maybe, but the quality will be bad enough that you'll miss the old system. The Soviet system is far from the utopia that modern "tankies" will have you believe. The parts of my family that stayed in Russia were killed by the Holodomor, a state-denied semi-intentional slaughter of the annoying peasants.

Surprisingly, only one of my family members died in the Gulags. The rest were executed before they got there.
> Your static type checker is forcing a bunch of code that never needed to know or care about certain values onto all places where you used pattern matching.

It's not "forcing" anything, you are evolving your program and the compiler is helping you not play a whack-a-mole by actually telling you every place that must be corrected in order to account for the change.

Wasn't aware that evolving a project is called forcing. :P

> I think it suggests that pattern matching is a bad idea that leads to overly coupled code where parts of the system that really shouldn't need to know about each other are now forced to deal with situations they don't care about.

That's a super random statement, dude. If a sum type change makes 7 places in your code not compile then obviously those pieces of code do care about it -- you wouldn't write it that way if it didn't. Nobody put a gun on your head forcing you to include the sum type in these places in the code just because, right?

Overall I am not following your train of thought. You seem to be negatively biased. I've seen from my practice only benefits by enforcing exhaustive pattern matching. Many times I facepalmed after I got a compiler error in Rust and was saying "gods, I absolutely would've missed that if I wrote it in a dynamic language".
I have a stream deck and use it the exact same way!
Yes but you dont need to hire for it. Developers can do it, because Ops get easier.
Well, it's all from public repos that you can search and I imagine they can also include a tool that analyses how close to which repos the produced code is so you can check for yourself.
http://webcache.googleusercontent.com/search?q=cache%3Ahttps... Google cache still has the malicious package visible FWIW

> This Module Optimises your PC For Python
As a linux user, stuck in microsoft's 99% world, using their apps are painful. Use of standard browser plugins like noscript and ublock origin, they constantly complain about insecure sites using office365, forcing me to whitelist and/or bypass xss security notices constantly otherwise. Same reason IE was the best malware delivery engine for 25 years, now their chrome-based edge, they _do_not_ get browser hygiene, security, or why people would want to use any of it, still.
I did a bunch of nodejs stuff at my last gig. These teams had the of practice keeping packages up to date. Drove me frikkin nuts. So much churn, chaos.

Is this a JavaScript thing? Carried over from frontend development?

Exasperated, I finally stopped advocating for locking everything down. Everyone treated me like I was crazy. (Reproducible builds?? Pfft!!)

Happens with enterprisey Java, Sprint, Maven projects too. (I can't even comment on Python projects; I was just happy when I could get them to run.)

What's going on? FOMO?

Lock ~~Look~~ down dependencies. Only upgrade when absolutely necessary. Keep things simple to facilitate catching regression bugs and such.

Oh well. I moved on. I don't miss it one bit.
Security and availability don't have to be mutually exclusive. I remember in the early day of Go modules our Docker builds (that did "go mod download") would be rate-limited by Github, so a local cache was necessary to get builds to succeed 100% of the time. (Yes, you can plumb through some authentication material to avoid this, but Github is slow even when they're not rate limiting you!) Honestly, that thing was faster than the official Go Module Proxy so I kept it around longer than necessary and the results were good.

Even if you cache modules on your own infrastructure, you should still validate the checksums to prevent insiders from tampering with the cached modules.

I'll also mention that any speed increases really depend on your CI provider. I self-hosted Jenkins on a Rather Large AWS machine, and had the proxy nearby, so it was fast. But if you use a CI provider, they tend to be severely network-limited at the node level and so even if you have a cache nearby, you are still going to download at dialup speeds. (I use CircleCI now and at one point cached our node_modules. It was as slow as just getting them from NPM. And like, really slow... often 2 minutes to download, whereas on my consumer Internet connection it's on the order of 10 seconds. Shared resources... always a disaster.)
Yeah, I find the inclusion of the Netherlands in this article pretty weird, as they did re-introduce restrictions.

In contrast, the UK thing is much stranger (at least for now).
Uber “tried to compensate” its employee - except they are scum by using a loophole to claim they are not an employee but rather a contractor.
I felt the same way about Japan when I first visited it in the late 1990s. Japan has stagnated badly since then, and due to the demographic crunch, it's essentially certain that Seoul in 2040 will look like Tokyo in 2020. (Unless North Korea transforms it into a smoking crater in the ground, that is, since the entire city is within artillery range of the border.)

Also, in my experience, Koreans speak even less English than the Japanese do. Seoul is still OK, maybe Busan, but out in the sticks there's zero signage and very few speakers.
Economically, Japan's GDP per capita (measured in 2010 US$) was 39,240 in 1991 and grew to 49,000 in 2019, a 25% increase. Yes, it's slower growth than before, but slow growth is still growth, not stagnation. For comparison, New Zealand was at 38,345 in 2019: https://data.worldbank.org/indicator/NY.GDP.PCAP.KD?end=2020... (also threw in the graph for South Korea)
It is; uber is simply offering to cover the driver’s deductible.
Is it really revealed preference? Or lack of choices? Or people being misled?
If the objective is to learn a new skill or subject, it may be more effective to learn in a group setting w a subject matter expert for some subjects (i.e. Shakespeare or philosophy or law)
I am surprised to see Matlab so low on this pay scale. My impression is that the typical Matlab user is a highly trained scientist or non-software engineer (mechanical, industrial, etc). Maybe those non-software engineering roles are less inclined to respond to a survey from Stack Overflow.
>I'm not thrilled at the idea of getting the shot despite being a strong vaccine proponent,

How did you become a strong proponent in the first place?
This is always what I have heard as a founder trick, to 83b on a c-corp and basically turn their initial stock into pure capital gains.

For us small timers doing a LLC, we don't need to mess with 83b. Created the company from nothing, it is automatically going to be a capital gains.

* Based on my convos with my accountants, not tax advice, blah blah.
Fire bobby kotick and then I'll care. Remove him from the board at coca cola too.
Israeli scientist says Covid-19 could be treated for under $1/day
The alternative is extremely straightforward - ramp up public spending on infrastructure and social services and increase the minimum wage.

You can do this essentially without any inhibitions to growth until inflation hits about 7%.

Downside : it'll get a lot of very wealthy people seeing red and will scare upper middle classes who are more used to their security being provided by assets rather than social services.
And Maricopa County, AZ should comply with the subpoenas issued by election auditors... unless they're hiding something. This isn't the way people with nothing to hide respond to subpoenas:

https://www.msn.com/en-us/news/politics/dominion-maricopa-co...
I think it's a good move, but I think it would be better if they were more open about why this is happening. I think they need to explain that this is the first step in a larger move to fix their culture, and what the next steps are.

They need to differentiate between "We screwed up, something is wrong, and it's time for real change" vs "We have applied lipstick to the pig, now please go away".
I think robotized war changes the equation a bit here. At least with regards to non-adjacent conflicts. But for adjacent conflicts between non-superpowers, if one area is depopulated, it may be much easier to walk in and keep that territory.
> This Module Optimises your PC For Python

Well, it does... just not for your Python...
Blaston is really awesome and I don't think they deserved the backlash they got when the ad debacle started, but I am happy they got through it.

BTW: if you are using your headset for exercise and want to give our open source VR fitness game a try you can check it out on AppLab https://quest.vrworkout.at

It's not a true game but an hand tracking based exercise game disguised as a bit of a game
> Ah, blockchain innovation, which is somehow so vital to the shining future of mankind, yet has utterly failed to produce anything of technological or economic value with the billions already invested.

Cryptocurrencies have allowed me to feed my family back home in Lebanon, in a way that would simply not be possible with out it. I'm not sure if you don't think this happens on a daily basis, or is not of economic value.
That letter is insane to the point of satire.
Ask HN: Is continuous partial attention the new normal?
I’m a developer with ADHD. I recently joined a big tech company and i have to be on top of threads in 50 different slack channels every day. I’m getting nothing done and feel like I’m going crazy. Any suggestion?
People are better at reporting their usage than devs are at reading telemetry.
https://en.wikipedia.org/wiki/Burpee_Seeds_and_Plants
I think making companies and the industry more aware that their bug bounties are undervalued is important. It raises the bug bounties and creates more opportunities.

This is an approach of like "okay lets just ignore your rational for not doing that and give the hackers a platform until you change"
We use an artifact server and our build servers are completely airgapped. We know exactly what dependencies are used across the organisation. We can take centralised action against malicious dependencies.

I wouldn't bother having one if you're small (<25) people. If you start having a centralised Infosec group, then it starts to become necessary.
This setup reminds me a lot of the Julia language. Have you run into parts of Ruby which you wish where different to make compilation easier?
testing why this comment chain stem from jrm4 is invisible on www browser (jrm4 > MathYouF > jimmy6dof)
The upside network–podcasting and newsletter platform
More stories need to be shared about startups, outside of the coasts.

In an effort to tell more of those stories, storytellers need better tools. The folks at upside have built a platform and ecosystem that'll empower more storytellers.
Company A reciprocates, so wages are being kept down. Not that different from https://www.engadget.com/2014-02-19-apple-google-and-other-t...
Vaccination only reduces the risk of long covid (as defined by "still symptomatic after 28 days") by about half. It helps but it's no silver bullet.
Look at the regulations already imposed on exchanges. Consider the legal and tax liabilities businesses take on by involving themselves with cryptocurrencies. Some nations have outright banned exchange of their national currency for cryptocurrency.

If cryptocurrencies were not burdened by regulations, there wouldn't be the same informal market for person to person, cash to cryptocurrency transactions.
Ah, that does complicate things.

It's not totally clear to me why they think "Given that the first leap hour would not happen for centuries, it is not clear that any systems (legal or technological) would build in the necessary complexity for handling it." It seems like that infrastructure is already in place— the IANA time zone database, and associated technology. UTC would become disconnected from sun-time, but all the other zones could shift relative to it, and it seems like most things would continue to handle it as expected.

But, I also trust that other folks have thought about it in more depth than I have. I'm not seriously trying to solve the problem (If I were, I'd get involved in standards committees or similar), and I'm happy to concede that my solution misses key details :)
This article isn't saying it doesn't work. It is saying we do not yet have enough evidence to use it outside of a trial setting.

The medical field requires a high bar of evidence before allowing a treatment for general use. This is what they mean by "first, do no harm".

From your linked article:

> Several other repurposed medications have shown promise in early smaller trials for example sofosbuvir/daclatasvir, colchicine and remdesivir but the benefit was not seen later in larger trials. This meta-analysis of 24 RCTs in 3328 patients showed a 56% improvement in survival, faster time to clinical recovery and signs of a dose-dependent effect of viral clearance for patients given ivermectin versus control treatment. This benefit needs to be validated in larger confirmatory trials.
Activision-Blizzard (the parent) has 3 major divisions: Activision, Blizzard, and King.

This does nothing to address the problems at the parent company (Activision-Blizzard) or Blizzard's siblings (King, Activision)
Blizzard is beyond repair
Researchers are first in the world to watch plants 'drink' water in real-time
> Because "digital asset" is extremely broad and can easily be seen to cover things like video game inventory items

I believe digital asset is a defined term in this legislation, though the quote doesn’t show any capitalisation.
> Own your home

Easier said than done.
Tangential non-sequitor:

> self-hosted on AWS

People forgot what self-hosting actually means.
There is lots of inconsistency about hash behavior with the various repos (pypi, ruby gems) and tools (poetry, bundled).

For a long time poetry didn’t even check the hash. So the safer option is just maintain these artifacts yourself so you know what is going on and have your own policies on maintaining them.
Docker Hub also has rate limits and outages, so yet another thing you want to cache if you promise customers "we'll install our software in your Kubernetes cluster in 15 minutes 99.95% of the time".
Make a "lockfile" with the pip-compile tool [0] that includes hashes. Unless you happen to fetch the hash after the package has been compromised, this should keep you safe from an overwritten version.

[0]: https://pypi.org/project/pip-tools/
Since no one mentioned it, hstr[1] is a game changer for me.

[1]: https://github.com/dvorka/hstr
I agree with increasing minimum wages and creating robust social services (universal healthcare, mental health support, the elimination of homelessness and enough food support no one goes hungry) in order to set a really solid floor for all. With regards to infrastructure, we have to be exceptionally mindful to not build for a future that doesn't use or need infrastructure that has a lifetime measured in decades (or, wishfully thinking, 100+ years). To see the peril, witness the rapid decline in need for commercial real estate with the very speedy transition to remote work, real estate which is very expensive to convert to other purposes. We don't want to be building "bridges to nowhere." for the sake of economic activity.

> Downside : it'll get a lot of very wealthy people seeing red and will scare upper middle classes who are more used to their security being provided by assets rather than social services.

Change is hard, but inevitable.
Not to discount your experience at all, but I have been outside of Seoul too and I still didn't feel too overwhelmed. Specifically I spent a bit of time in Bundang (a suburb of Seoul), Busan and Jeju.

One more massive advantage Korean has over Japanese is that Korean has a fairly simple alphabet so you can read and pronounce words after only a little practice.

In contrast, it takes quite a while to be able to read Japanese with their three writing systems and Kanji in particular.
"We can't allow more freedom, because that would lead to oppression"
Great tool for database observability.
I used to read Fred's blog years ago. Since then, I've realized nothing is less useful in the business world than the thoughts of VCs.

At best, the advice is something obvious. More often, it's transparently self-serving and/or based on extremely skewed anecdata.
Convincing Xcode to map Vim keys
I don't know if NDAs are good or bad, but just because something is normal doesn't mean it's not bad.
> If shrinking populations are okay, what is the desired population level?

The answer might simply be "we don't know" here.

> Right now no country seems to be able to stop this decrease in the modern/developed world. We are just currently shrinking.

Why is that being treated as inherently bad, though?
From pram reviews to vacuum experts: the world of niche online reviewers
I think this is a conflict of interest, ultimately. There should be separation of duties. You need guardrails in place, and you have to hire to manage these guardrails.

In my experience development members know enough to be dangerous, and this can lead to misconfigurations / potential security incidents.