skysight-inc/HackerNews huggingface dataset:
Returning a `Result<>` for corner cases is so much better than random asserts because it forces callers to handle them.

Personally I reject anything that looks like `assert(...)` found outside of tests and ask they be replaced with a proper error or the idiomatic way to express a fatal/unrecoverable error in your language. In Rust that's `unreachable!` and `panic!`, not `assert!`.
My boss at the gear company had software he used on his computer to do setups for Bevel Gears, that his dad had written in about 1984. He kept an old 32 bit computer around because it could still run TK-Solver! version 1.0 and thus those scripts (actually, a set of equations)

I virtualized it all in DOSbox, and set the printer output to spool to a real file, which then got printed if it wasn't blank, once the DOSBOX exited.

Fairly janky, but future proof for the most part.
NSA, CISA Release Final Part IV of Guidance on Securing 5G Cloud Infrastructures
I can find evidence of my governments lies, many of their coverups fail. I don't assume I am dealing with an honest bunch of politicians. You can't do that in China. Pro govt propaganda in the West is usually pulled apart by an independent media, electoral safe guards also help identify wrongdoing. You cannot do that in China, there is one story, theirs, that's it. Question it and you get disappeared. The net effect is you cannot trust any news from China, unless that news was reported and then quickly scrubbed from the Chinese internet. In those case the story is almost certainly true.
> There are rare technical reasons to choose micro services

Is this just the difference between working in an infrastructure oriented space vs. product oriented? in infrastructure i find that it is often the case that most logical applications should be decomposed into multiple services given scaling and blast radius concerns where having everything in a single application would increase the impact of outages.
The instincts tuned to this dynamic exist at a totally different layer of abstraction.
(And if it's not obvious, that's bound to a keypress, so from the browser I just hit F4, type e.g. 'hn<CR>' and my password is entered into the focussed input area.)
WP got some marketing presentations. Programs include:

1. Voice recording analysis: "Huawei pitching its technology to assist authorities in analyzing voice recordings for national security purposes."

2. Prison and detention center monitoring: "Huawei helped design some technical underpinnings for China’s controversial reeducation and labor programs for detainees."

3. Location tracking: "This surveillance system was touted as being able to help authorities track “political persons of interest” and other targets, including criminal suspects, by pinpointing the location of their electronic devices, tracking them with facial recognition surveillance cameras and other measures."

4. Xinjiang surveillance: "'One Person One File' facial recognition solution was co-developed by Huawei and DeepGlint, or Beijing Geling Shentong Information Technology, a start-up sanctioned by the Commerce Department in July for alleged human rights abuses in Xinjiang. DeepGlint declined to comment."

5. Corporate monitoring: "Not all of Huawei’s surveillance products were made for government use. Some were also designed for corporate settings, including to catch employees slacking off or identify customers in retail stores."
solar owners already paying for grid hookup like everybody
if they think it doesn't cover real costs of grid maintainance, they should raise it. for everybody
Varnish caching combined with HAProxy balancing in Kubernetes deployments
Self-driving (assuming it was really full Level-5 self driving) is about the ONLY feature that I'd want on-demand, or consider a legitimate use for such an ongoing payment scheme.

* The car is still perfectly useful without it
* It genuinely needs ongoing updates
* There are good use cases for occasional use - I'd rarely use it, unless I was coming home very late & tired, or really needed to work and not drive.

Other features, like Toyota's recent announcement [0] that they are going to charge $8/month for your key fob to remote start your car, or BMW's attempt [1] to charge for heated seats are merely extractive ploys.

This move of everything to unnecessary connected and subscription models is just an outrage. Sure, some services genuinely need connection, but most can be engineered without it if there is a will to do so. Otherwise, do't do it - it's a trap!

[0] https://www.theverge.com/2021/12/12/22831105/toyota-subscrip...

[1] https://www.thedrive.com/news/34547/bmw-is-planning-to-sell-...
the proton side supports various anticheats, but the game dev folks still have to enable support on their side.
4 hours of real work per day by someone who is already good at their domain is a whole lot of work, in my experience.
How do you know that? I didn't know Zeebe e was used a lot. What happened?
You clearly read past my comment so I can’t really respond to to this.
Do you have a source for the "out-earning" claim?
Sounds like a Notary service.

"What is the meaning of notary service?

A notary is a publicly commissioned official who serves as an impartial witness to the signing of a legal document. Document signings where the services of a notary are likely include real estate deeds, affidavits, wills, trusts, and powers of attorney. The main reason a notary is used is to deter fraud."
I want to build on a piece of land a personal ecosystem that can sustain at least one adult human under extreme weather conditions.
I know HN hates whiteboard interviewing and it used to be uncommon in Europe but I feel it has really cut down on slackers at my company.

My problem with slackers is that they make productive devs feel like suckers.
Google? Hahaha, they have orders of magnitude more data on you than carriers and are absolutely aggregating google Fi data into your profile.
Demand operationalization of “woo”! Otherwise, it’s just another form of self satisfied group think
Awesome right in time
I wonder if people could sue Microsoft into offering security updates past that date, on the basis that MS did some big marketing about calling Win10 the "last" windows version.
different parts of same suggestion. it's both reduce payments and charge for installed solar capacity
What's painful about it? What's the process?
It's not exactly the same, but FIOS does use data for advertising preferences. Turn it off on the manage my internet page under 'manage online advertising preferences'.
I had a good experience using a team from Digital Knights[1]. Maybe your team could apply as one the teams they use with their clients.

[1] https://www.digitalknights.co/
Apple is rebuilding Apple Music as a full native app
Okay, that's a lot of questions.

There are slice examples here, for all the different ways these arrays can be sliced: https://awkward-array.readthedocs.io/en/latest/_auto/ak.Arra...

That includes what I think you mean by "masking." (You mean keeping only the array elements that are `true` in a boolean array? There's another function we call ak.mask that keeps all array elements, but replaces the ones that line up with `false` with a missing value: https://awkward-array.readthedocs.io/en/latest/_auto/ak.mask...)

If you have irregular-length lists and you want to make them all the same length, that's padding, ak.pad_none: https://awkward-array.readthedocs.io/en/latest/_auto/ak.pad_... What's "un-padding"?

Mapping is implicit, as it is in NumPy. If you use an Awkward Array in any NumPy ufunc, including binary operators like `+`, `-`, `*`, `==`, `<`, `&`, etc., then all the arrays will be broadcasted and computed element-by-element. This is true whether the data structure is flat or a deep tree. ("Array-oriented" is a different style from "functional.")

There hasn't been much call for grouping yet—Awkward Array is more like a NumPy extension than a Pandas extension—but there is a way to do it by combining a few functions, which is described in the ak.run_lengths documentation: https://awkward-array.readthedocs.io/en/latest/_auto/ak.run_...

For wrapping a function with an ABI interface, I think the easiest way to do that would be to use Numba and ctypes.

import ctypes
import awkward as ak
import numba as nb

libm = ctypes.cdll.LoadLibrary("/lib/x86_64-linux-gnu/libm.so.6")
libm_exp = libm.exp
libm_exp.argtypes = (ctypes.c_double,)
libm_exp.restype = ctypes.c_double

libm_exp(0) # 1.0
libm_exp(1) # 2.718281828459045
libm_exp(10) # 22026.465794806718

@nb.vectorize([nb.float64(nb.float64)])
def ufunc_exp(x):
return libm_exp(x)

array = ak.Array([[0.0, 1.1, 2.2], [], [3.3, 4.4], [5.5], [6.6, 7.7, 8.8, 9.9]])

ufunc_exp(array) # calls libm_exp on every value in array, returns an array of the same structure

Numba's @vectorize decorator (https://numba.pydata.org/numba-doc/latest/user/vectorize.htm...) makes a ufunc, and Awkward Array knows how to implicitly map ufuncs. (It is necessary to specify the signature in the @vectorize argument; otherwise, it won't be a true ufunc and Awkward won't recognize it.)

When Numba's JIT encounters a ctypes function, it goes to the ABI source and inserts a function pointer in the LLVM IR that it's generating. Unfortunately, that means that there is function-pointer indirection on each call, and whether that matters depends on how long-running the function is. If you mean that your assembly function is 0.1 ns per call or something, then yes, that function-pointer indirection is going to be the bottleneck. If you mean that your assembly function is 1 μs per call and that's fast, given what it does, then I think it would be alright.

If you need to remove the function-pointer indirection and still run on Awkward Arrays, there are other things we can do, but they're more involved. Ping me in a GitHub Issue or Discussion on https://github.com/scikit-hep/awkward-1.0
Shipping container factory produces solar panels using only sand and electricity
I personally find the Lichess board cleaner and more beautiful. Using circles to highlight squares is clearer, and drawing knight moves as straight lines is clearer, as well. I also just prefer the pieces and the board colour.
It seems to me like a high number of commenters are getting REALLY hung up on your "bullshitting my way through standup" comment. I want to clarify—was it your intention to say that you simply say what needs to be said to communicate: "Yeah I am getting my expected deliverables delivered"?

My suspicion (and the way I read your post) is that you're meeting expectations, so sometimes at standup you have to diplomatically say, "Yeah I didn't really do much but I'm still on track".

If that's the case, I honestly see nothing wrong. I do this myself from time-to-time, and it's usually due to poorly defined requirements. It's always a phase and eventually I'll have moments of brilliance—churning out days of code in just a few hours. But honestly, that's normal for me. I know nothing different if that's wrong or bad.
> But what if a large number of TCP connections is intentional?

Sorry, that ship sailed long ago. Carriers have forever put restrictions on how their customers can use their internet connections, such as "no hosting servers" or even not getting a routable IP address. Traffic shaping is part of the deal too.

I think the only means we have to change the situation (in the face of a lack of competition) is to lobby for municipal internet. Or start a company.
You need to cater for those people, they will be the bulk of your clients and also need the most support. So make resetting it possible but not easy.
Do you want cthulhu?
Not to mention it's commonsensical at this point -- we can let the courts decide, but there is enough reason to suspect something dubious is afoot, given her lack of integrity as a person from moral and ethical standpoints.
Big fan of tqdm in python, so I ported it to ruby 5 years ago:

https://github.com/powerpak/tqdm-ruby

(shameless plug and an invitation for pull requests)
IBM, Samsung say their new chip could lead to week-long battery life on phones
I guess they mean the “What the bleep do we know?” and CCC (not chaos computer club) crowd
I think many of us have been where you are.

I think in order to work more effectively, you might want to try to both motivate yourself and slow down your work process/set reasonable goals. Since you are currently not achieving much, it should be easy to increase your output. One of the reasons you aren't doing that may (or may not) be that you are afraid of failure.

In my opinion, you can't go far wrong if you make steady slow progress. Don't set the bar high. Just keep identifying the next thing you could be working on in order to complete your project, and work on that. This doesn't mean that you need to be working continuously, but I think that if you work slowly, with curiosity rather than urgency, you'll enjoy working more, and you'll find that you're able to keep at it more than you are doing now. Be sure to take time to chat and socialize and feel grounded.

Always Be Starting - It's hard to start working on something. Just trust that if you start working on the tiniest part, you'll have a much easier time of continuing to work. You just need to get started.

Edit: I also find that being joyful helps put me in a good state of mind for working. Being anxious does the opposite. I have also found meditation to be beneficial.

Edit 2: You may find this helpful:

https://www.dextronet.com/blog/the-now-habit-summary/
I'd like to challenge one part of your comment - that microservices break up data on module boundaries. Yes, they encapsulate the data. However, the issue that causes spaghettification (whether internal to some mega monolith, across modules, or between microservices), is the semantic coupling related to needing to understand data models. Dependency hell arises when we need to share an agreed understanding about something across boundaries. When that agreed understanding has to change - microservices won't necessarily make your life easier.

This is not a screed against microservices. Just calling out that within a "domain of understanding", semantic coupling is pretty a fact of life.
What would you people suggest is the most Windows-like Linux distro to switch over? I'm thinking in terms of visual similarity, UX, key bindings, and such for everyday usage.
> 9to5Mac was able to confirm based on macOS code that the Music app is now using JET, which is a technology created by Apple to turn web content into native apps.

This future of native apps... it scares me.
That's a fair point. What GP said came across a bit wrongly though, almost sounding like a covid denier just for STDs. STDs are a real thing, and they have profoundly negative impacts upon society.

As to those teaching practices, they are horrible. Yes, in theory, "in the lab", abstinence does prevent STDs. But this doesn't work in real life. It can't ever inform the STD avoidance strategy taught to pupils, as enough people will have sex no matter what is taught to them. If they don't know how to reduce STDs when having sex, they will spread them more.

The reaction should not be to discard STD avoidance though, but to do it properly. Which is sadly tougher in places in which promiscuous behaviour is shamed, as they usually have less availability for STD testing, buying protections, and people might feel ashamed or even be ostracized to seek out such places.
I've been playing DnD since the 90s and it feels like Wizards of the Coast is slowly wringing out all that I enjoy about the game with each edition that is released.

It's been a long time since I've had a steady group to play with even though there are more people playing it now than probably ever before.

There was a huge marketing push to make the game more attractive to a broader market along with the release of fifth edition. This grew the game enormously because fifth edition is a lot more "streamlined" than previous versions.

Fifth edition has a lot lower emphasis on mechanics. Character builds are like selecting a cable package, and at some point you realize that every package is showing the same shows.

There is a lot higher emphasis on character backstory building and roleplaying, which has also been hyped massively by the success of Celebrity podcast games such as Critical Role.

I find it all so dull. I like the numbers and crunch, theorycrafting crazy builds, I like games that reward a deep knowledge of the ruleset. 5E is none of this

And it seems 5e is all most people want to play anymore.
Side question: Are there any languages that transpile to Go?
If you're tired of waiting for next Ubuntu release and like living on the edge, you can switch to "Ubuntu+1", or always using the next release while it's being polished. Just replace "groovy" with the codename of your current Ubuntu release:

sudo sed -i 's/groovy/devel/g' /etc/apt/sources.list

Then as usual:

sudo apt update && sudo apt dist-upgrade
My theory is that microservices became vogue along with dynamically typed languages. Lack of static types means that code becomes unmanageable at a much lower level of complexity. So the complexity was "moved to the network", which looks like a clear win if you never look outside a single component.
Eh, third parties are plenty viable in the FPTP UK, Canada and India.

It's just a feature of US politics that movements like the Tea Party or DSA decide to shake things within existing parties rather than launch new ones. Even the new ones that launch like the Working Families Party often just support two-party candidates.
The advice I give to startup CEOs, regarding their business, is exactly the same advice that I would give to every citizen regarding their government:

"Take, for instance, money. A small team of highly ethical individuals can generally trust one another to safeguard money in an appropriate way. Many small churches and family businesses are run this way, with loose controls over who can deposit or spend. However, as a company grows, the chance you'll hire an unethical individual also grows. At a certain scale it is almost certain that a worker will steal some money, if they have the chance to do so. So a company must impose rules about handling money, and there needs to be a process for paying bills, with someone authorized to write checks and use the company credit cards. This is the beginning of your financial bureaucracy, and the tight limit on who holds the authority to spend is the beginning of hierarchy in this area."

"Is this a bad thing? Again, you'll confuse yourself if you think about this in terms of good or bad. Just focus on your goals. What strengths do you want to build into your organization?"

"Nowadays, there is a widespread idea that bureaucracy makes an organization rigid. But consider the ways that a well-designed bureaucracy for money control can make your organization more flexible. If you decide to keep your money control bureaucracy small then you'll also need to keep your purchasing process simple, perhaps by centralizing all purchasing decisions in the hands of the CEO or CFO. That one individual then becomes a choke point that limits progress – nothing can get done until they find time to pay some bills and buy some necessary materials or services. And there is an obvious limit on how much the company can grow when the authority to pay a bill is so limited. But even when the money handling bureaucracy grows to three or four people, that’s still not enough to oversee complex spending patterns, so your company will still be forced to follow simple and inflexible rules. By contrast, what if you wanted to decentralize the power to make purchases? What if you wanted to empower each team with the ability to make whatever purchases they felt they needed, up to some reasonable limit? That would make your organization much more flexible, but it also makes it more difficult to track the money, and therefore it requires a larger bureaucracy for tracking each dollar. My point is, the larger bureaucracy can actually help enable some kinds of decentralized decision making, and thus improve the agility of the organization. A growing bureaucracy does not automatically equal growing inflexibility, rather, the whole point is to try to maintain flexibility at scale."

An excerpt from:

"Don't make a fetish of having flat organization"

https://demodexio.substack.com/p/dont-make-a-fetish-of-havin...
Some states allow use of SSNs for drivers license numbers.
Can you use an Alexa and gut it while replacing the controller? I don’t know how it mixes the mics but you can have your case and array, hopefully the hardware isn’t dependent on the processor.

What about a controller you carry around with you that you can speak into, like phone software, a watch, or if you’re into the hacker chic look, a mounted mic you wear?

I don’t think speaking is even the best choice, it’s limiting, a phone can be a web interface, gestures over a sensor seems reasonable for basic controls and speech to text can be piped into it as commands though your phone you carry with you anyway.

If you’re controlling lights it’s less hassle though a GUI, and limiting it to voice will not make your life easier.
So you opt out of letting them personalize and communicate to you what they're going to track for themselves anyway. Pretty naive.
Please don’t give me flashbacks to that horse crap.
Had a co-worker who was this guy. So I moved jobs. Your co-workers notice, and they're tired of picking up your slack.
> You cannot use the product if your subscription ends

You can buy a perpetual home non-commercial license for $365.

https://www.wolfram.com/mathematica/pricing/home-hobby/
Presumably OP could subscribe to business fiber from CenturyLink and avoid having the device installed.
Not unless they kill it conditionally on the value of a qubit. But in fact they 'merely' affected some charges on the tardigrade. Its living/dead status was not entangled.
PyPI Is Having an Outage
a simulation engine in the human mind seems required for understanding: https://blog.jtoy.net/on-the-wondrous-human-simulation-engin...
Someone will need to replace the socio-feminist countries, why not India?
I'd be curious what qemu could do for running the RPI Mathematica on a regular desktop computer
It may have qualified as a criminal case, but you as a citizen can't really do much to get the police, AG or a federal agency to devote their resources to it. Suing someone in a civil court is a pretty straightforward thing to do.
Here is what I've heard argued from that ideological standpoint.

One off famines should be remedied with relief efforts which mandate the recipient country increase its food storage to be able to absorb the next one.

Chronic food shortages are a symptoms of overpopulation of the area, either because of lack of farming technology, terrain, etc. Supplying food aid only compounds the problem by increasing an unsustainable population. The remedy is to remove the mismanagement and relocate, and reducate the willing population and let nature take its course for those unwilling to adapt.

Sounds harsh but a famine of 1 million people being supplied with aid turns to 1.2 million the next time and 2 million the time after. A net increase in misery and suffering.

In reality faced with a starving person face to face, I believe most people would feed the hungry.
Show HN: Picosnitch – see which processes connect to the internet (for Linux)
Wow. Some people even pay money for this OS..
>your argument is equality is hard so we should give up.

The argument you are responding to is that equality is hard, and explicitly racist policies make it harder, not easier.

>We’re never gonna sit down one day and say “as of this morning we hit our equality metric, we did it everyone.”

Which is to say, Facebook will have this policy of "low priority" for addressing "hateful" content directed at whites, men, and Americans in perpetuity? I genuinely don't understand your argument because on the one hand you admit this is a "soft", and largely arbitrary, metric but on the other you still claim that it's something that can even be "solved" at all (for some sufficient-yet-undefined definition of "solved").