skysight-inc/HackerNews huggingface dataset:
Heres a solution that uses only sh and portable sed. No awk. No wc.

This should work with GNU sed, BSD sed and Plan9 sed.

#!/bin/sh
col1(){ cal -y|sed -n "$1{s/\(.\{23\}\)\(.*\)/\1/p;}";}
col2(){ cal -y|sed -n "$1{ s/\(.\{23\}\)\(.\{20\}\)\(.*\)/\2/p;}";}
col3(){ cal -y|sed -n "$1{ s/.\{46\}//p;}";}
cal_y(){ for x in 3,10 11,18 19,26 27,34;do col1 "$x";col2 "$x";col3 "$x";done;}

test $# -eq 4||exec echo usage: $0 7 jul 20 aug;
x=$(echo $2 $4|sed -n '/[A-Z]/p');
if test "$x";then echo use lowercase;else
cal_y|sed '/^Su/d;/^ *$/d;/^ *[A-S]/s/^/@/
/Jan/,/Feb/s/$/ jan /;
/Feb/,/Mar/s/$/ feb /;
/Mar/,/Apr/s/$/ mar /;
/Apr/,/May/s/$/ apr /;
/May/,/Jun/s/$/ may /;
/Jun/,/Jul/s/$/ jun /;
/Jul/,/Aug/s/$/ jul /;
/Aug/,/Sep/s/$/ aug /;
/Sep/,/Oct/s/$/ sep /;
/Oct/,/Nov/s/$/ oct /;
/Nov/,/Dec/s/$/ nov /;
/Dec/,$s/$/ dec /;/@/d' \
|sed -n "/ $1 .*$2/,/ $3 .*$4/{
/ 1 /d;p;}"|sed -n '$=';fi
But the point is that it's not dependent on any particular viewpoint. I'd argue it would have been much easier, shorter, and clearer, for Apple to simply have said "We now let you change your battery and fix a broken screen." (Don't get me started on the fact that changing a dead battery is now considered a "repair", but that's a whole separate issue).

Apple could have easily been very straightforward in what they are doing, in a way that leaves no ambiguity regardless of what your personal viewpoint is. The fact that they expended more effort to make the reality of the situation less clear leads me to conclude they were deliberately misleading.
Well you're out the value of your house in that case, so I don't think that leaves you any better off. A loan might let you smooth out a sudden big expense, but it's not going to make it go away.
Effectiveness of public health measures in reducing the incidence of Covid-19
The integration with xarray[0] and the Pangeo[1] community at large are pretty good. Not good enough for sub second response on large datasets but very good for analytic workloads, especially when you are dealing with larger than memory datasets.

If you want fast(ish) performance but you can wait a few minutes or longer its a great tool. Climate scientists love it because it lets them focus on their problem domain instead of focusing on dealing with developing parallel software.

If you are using it to magically speedup your api backend you will probably be disappointed, but you will also be just as disappointed trying to use a jackhammer to hammer in a nail.

[0] https://xarray.pydata.org/en/stable/
[1] https://pangeo.io/
I mistook this to be about Chet Faker, and so I realize now that his name must be an alias/homage to Chet Baker. I hadn't heard of Baker before.
It's been over a year now, but I had an identical experience.
and the best part is they're probably javascript developers that don't understand the hell they're living in.
So this blog post covers the 1.0 hardware revision, but I just opened up mine out of curiosity and realized I have the 1.2 revision, which uses the sandisk chip, so everything is different. Not 100% sure which components need to be changed there, but it would be good to figure out the exact instructions for both types.
> That doesn't mean it should be limited outside where it presents a clear and present danger to others.

But isn't that specifically the challenge, in defining what's a "clear and present danger to others?"

> There would likely be a spike in accidents shortly after the transition but would normalize after.

I agree that many things do normalize over time. We create informal rules on how to interact, embedded within morals, ethics, or just expectations of how one should behave in a society. I also think sometimes rules don't informally coalesce, that we don't always resolve conflict without outside guidance and more formal negotiation.

> Having lived in several countries around the world, some with de facto no speed limits, people just avoided the left lane where the super fast people drove.

From my (cursory) understanding of at least German law, while there may not be a speed limit on some roads, those roads often have very strict laws about passing on the right, and one might get their licensed removed for doing so.
I worked on a large XMPP system for a while and realized it's actually not a very good protocol, for one reason: presence. "Presence" is the feature that shows a little indicator next to each one of your contacts indicating whether they're online or away.

The problem with presence is that it generates a LOT of traffic. It's N^2 with the average number of contacts each user has - every time a user changes presence, you have to send a message to every one of their contacts to update them about the presence. This happens whether they're paying attention to your client or not. So on a large system, the big majority of the traffic is just presence messages flying back and forth saying who is at their keyboard and who isn't. This is really wasteful in general. Worse, it's not a super important feature for a lot of people, so it's definitely not worth the effort. And ever since mobile computing became ubiquitous, it's not even clear what this is supposed to represent.

So, I say let XMPP die. It was a fine idea for its time. But the protocol has no place in the modern world.
You say that like the downvotes and discussion are a bad thing; I'm under no illusion about how people are going to take it about half the time I bring up race.

Last I checked, I can't trade these hacker news points for cash and prizes. :)
> 13,000 acres (5,261 hectares)

this annoys me.. unless by some 1/1000 chance the thing's area is an exact multiple of 1,000 acres, the first number is rounded to the nearest 1000 acres. If the first number is rounded, the second number should be rounded to the nearest ~500 hectares.*

Otherwise you could do something especially silly like saying '13 000 acres (52 609 180 square metres)'

* I'm not exactly sure what the protocol is for rounding between different systems - since 1000 acres is ~404 hectares, I'm not sure that 500 would be the correct rounding value to use for hectares)
Anyone seeking help with a minor physical disorder from the local urgent care facility here (California) is promptly asked: "Have you had thoughts of harming yourself or anyone else?".

Immediate tingling of danger -- but wondered if my suspicions might be little more than the product of a cynical mind. Didn't think so -- but thanks for the confirmation!
You should be comfortable with carrying and using a document certifying a test result, but not with a document proving vaccination. The first is reasonable to due to its obvious utility in infection control, the second is not; it is now become a tool for sowing division and hatred in society.

If you care about limiting infections, get tested.

If you care about freedom, reject government certificates.
UK Amazon customers blocked from using Visa credit cards
Along similar lines, St. Lawrence is the patron saint of barbecues for the reason that while he was in the process of being executed over a fire, he supposedly said something akin to "Flip me over, this side is done!"
I don't like the fact that I need to grant read/write access to all public and private repositories to use the dashboard or create PRs. I know that github has no decent solution to limit access scope to 1 repository but this is the reason why I haven't tested graphite on any real work.
I guess that the only sane way would be to create a separate github user which only has access to a single repo where I'd like to use/test graphite.

At the same time I'd probably be ok with the CLI having wider access, as long as the website does not have it. I can control/monitor CLI to some degree but not the web part.
As mentioned, for all but the simplest use-cases, you probably want to use Spark though.

I think the time and energy that is spent on Dask would be better spent to get proper concurrency support into python.
I'm confused. The solution seems easy. I have PR #80 in review and my next task depends on it. So I branch off of #80 and just starting working on #94. If there is a holdup on #80 and I want feedback on #94 I just create a draft PR with a note about #80. When #80 gets approved then I'll merge it and merge those changes into PR #94. If it gets messy, I'll just torch #94 and use my IDEs local history and do it manually.

What exactly do stacked changes do?
Why not both? And throw in Python to boot?

https://github.com/asrp/flpc/
Hmm, I'm struggling to find one that you might think would warrant external rules to restrict someone's freedom to make a mistake. I'll think about it more.
Shouldn't Microsoft be getting done on anti-trust for this? This...seems overtly like what they were originally sued for back in the early 2000s.
For 4 years in the early 90s, my ex-wife and I spent every weekend, starting Friday evening, remodelling/rebuilding our house in south Seattle (42nd Ave S., near Genessee Park for the locals). Sunday evening, every Sunday evening, we'd open a bottle of wine and listen to Chet Baker's "No Problem" album.

Good Times.
Which market are you in and who did you end up getting in touch with in support? Did you try the Safety Incident Support Line? At least in the US that is 1 (800) 285-6172.

Without getting into specifics they absolutely do have a way to track down the driver regardless of the state of the trip / who cancelled.
>"I couldn't afford bail, though, so I was stuck in jail for 3 months[0]. There were plenty of other inmates there in similar situations"

Some justice here. Instead of singing songs about rights abuses in whatever country they decided not to like at the moment why don't they look and fix things under their own fucking noses.
I hadn't considered it, but I'm happy to explore that option. Feel free to email me at dk@browserflow.app
Apple will start selling you the parts you need to fix your iPhone in early 2022
There's a number of issues with discrete TPMs and physical security. Before I describe them, there is good news: some CPUs can run a firmware TPM in an ME or a secure enclave, and using it does not involve a bus on a motherboard that could be hacked into. The problems with discrete TPMs:

- the BMC and BIOS don't use encrypted sessions -- their communications with the TPM can be snooped (read: bitlocker keys can be stolen) and tampered with (read: malware can be excluded from PCR measurements with the help of a physical attacker)

- to authenticate the TPM when using encrypted sessions the BMC and BIOS would need to be able to store a public key for the TPM somewhere that isn't easy for malware to tamper with -- this means that even with encryption there would be a TPM impersonation / MITM attack

- even using encrypted sessions, if the attacker can force the TPM to reset without also resetting the CPU, then the attacker can make the PCRs match golden state (i.e., without the malware measured into the PCRs)

The first point is easy enough to address -- it's just a matter of code.

The second point is very difficult to address.

The third point would probably require changes to the CPU and additional design and standardization. It's just very difficult to strongly bind the TPM's resetCount to the CPU's state to ensure that both always reset together.

The only current solution to all three problems is to use firmware TPMs (fTPMs) where available.

Of course, for things like servers in secure racks in secure data centers, this is all really not a problem. But for laptops, it is.

If an fTPM is not available, there's always the possibility of adding physical protection to the bus (burying it deeper in the PCB, using resin, etc.).
Driving a Legendary 1939 GM Futurliner Is Like Nothing Else
We need widespread adoption of something like Peertube yesterday.
That's afaik a problem with pretty much any system that supports presence, even though it can be somewhat optimized potentially (where I don't know how many options exist in XMPP, but I don't think would be fundamentally impossible to add)?
Treasure trove of questions to ask when interviewing for a programming position
This isn't that meaningful since the "Julia" version is just calls to OpenBlas/LAPACK which are known to have relatively high overhead for small matrices. I'd be much more interested in seeing a comparison vs LoopVectorization/StaticArrays which are Julia libraries specifically optimized for small matrices.
Legislature could modify vaccine liability law to specifically require fast data release upon vaccine approval.
Their example of "Forth-like" syntax looks absolutely nothing like any Forth I've used. The "F'" version more closely resembles Factor or Joy, if anything.
Only the flash chip itself is different. The board layout around that part should be the same
Now, why’d you have to get JavaScript involved? Can’t something else be a punching bag?
Wait the author says that this isn’t a bug in Paxos but one that he intentionally and arbitrarily introduced? The ‘bug’ here is maybe a bit of ambiguity from a book?

Edit: I appreciate being corrected on this.
I follow a bunch of people on Twitter who have tried to do this at one point or another.

Money never seems to be the sticking point, the problem is (a) figuring out who actually owns the rights, and then (b) actually tracking that person (or company) down. If we're talking about games from the 80s and 90s, many of those rights changed hands a number of times and the people/companies involved have since died/dissolved/retired/disappeared off the radar.

Another very good reason for a shorter copyright expiration period.
I haven't used PHP for years. I did some Python-based web stuff for a while. Python is a daily driver, but I still reach for PHP when I want to make something that responds to HTTP requests.
so assuming you have merged feature-1 onto master and squashed, you check how many commits have been made since feature-1 on feature-2 (in my prior example 2 commits of 7, 8) and do:

git rebase --onto master HEAD~2
Thanks Rohan! Glad you're enjoying Intention and thanks for checking out Browserflow. :)
Nice (:
Gerrit has been offering this for some time now, nice to have it for GitHub as well: https://gerrit-review.googlesource.com/Documentation/cross-r...
Thank you!

And uff I don't think I or my TS100 can do it. Might try though as my PinePhone is collecting dust right now anyway.
If you can't find work as a developer, seek out development adjacent work and see if you can move into it.

Things like (hands on) technical support/IT, quality assurance/testing, some customer service roles, etc.

Unfinished projects aren't too big of a deal, but make sure you highlight the relevant ones for the company you're applying for. As an interviewer, if I'm asking you about your project, I'm looking for some area where you have deep understanding, so I can confirm you know stuff and can explain things. It's ok for it to be unfinished, as long as you can talk about why you did x or y, how did this part work, what was missing, what would you do differently.

When you get those kinds of questions, you want to be able to have an answer, and not just blurt out; oh i stopped working on that pretty quickly. It's like when people put a group project on their resume but they didn't do much of the work and didn't understand it. Not a lot to talk about then.

I don't know if Ottowa has a junior/community college system, but it's possible to take some classes for not much money, you might want to consider it. It sounds like you've seen how hard it is to get your foot in the door without a credential, so you may be motivated to get one. Working something IT or something during the day and taking a class or two at night isn't easy and doesn't get you a degree very fast, but it puts you on a path.
yes indeed!

If you want to be a cynic don't have freaking kids.
I really like that with Gerrit I'm not encouraged to force-push a PR branch. There's a couple other things that are nicer on Gerrit but GitHub/GHE is great that it has markdown in comments.
Looks cool. Impressive
video and I like the humour. Nice to see this come out of the UK too. Could this be used to build a SaaS or is it just for internal business apps?
good to know! I was a bit confused by that at first :)
Chuck is quite fond of indexing registers on his forth machines; they make operations like memory copies much less messy than exclusively keeping state on the parameter stack.
The pro an rk3399 which deals with the MMC supplies itself so it can actually switch the voltage in software
The last time I tried an EAP program, the phone call they scheduled was six weeks out.

I told them not to bother.
Good point, thank you I did not know about SMD soldering kits.
It seems like it would be much more efficient for the presence to be stored somewhere where clients can fetch it if needed.
Great? I don't get comments like this. It's like responding to someone saying their Ford's mileage isn't great with "I use a Honda so this problem does not exist". Good for you but saying the problem doesn't exist for you isn't helpful.
I thought of bonsai as a fun hobby and chic, slightly exotic decor element. When I went to Japan I was dissappointed that bonsai and ornamental horticulture in general is super serious and regarded as a boring, stuffy hobby by anyone under 60. In retrospect it makes total sense that bonsai is not as special there and the casual import version is actually more fun than the real thing. I think a lot of things are like this cross culturally.
Sure would. Both work (partly) by increasing the communication between different parts of your brain. It's why people will "see" things after auditory stimuli, or vice versa.

Changes at this basic level are temporarily re-writing how your neural network connects to itself, which translates to a change in how you perceive the world at the most fundamental level. It is very different from consciously trying to adopt a different perspective, as in that case there is no change to the underlying network processing everything that makes you yourself.

Some people find experiencing this malleability extremely upsetting and disconcerting, as it destroys the idea of your "self" being something concrete. This understanding is the oft-referenced "ego death", and for sure it is both exciting and terrifying.
You hear that guys? Our boy here is working on very interesting medical data with too-over-your-head machine learning models. Did you get all that? He/she doesn’t clock out at 5pm like the rest of you, “cheaper” people.

Most likely your app doesn’t do shit and you are wasting your time patting yourself on the back and making underhanded comments. Once people realize how useless the apps you guys make are, you’ll be even cheaper than the guy you paid to make your “sales” website.

There’s a reason everyone shat on your ‘typical’ website developer for years, then they finally shut the fuck up, gave up on their dreams and joined a bootcamp to learn how to make basic ass websites.

The definition of a basic ass website keeps evolving. In no time, everything we all do will still be looked upon as making a basic ass website.
Have you considered that perhaps your very strong anti-tech views are actually making their "rebellion" stronger? Whenever my parents went to block things, that turned into a "how can I unblock this? how can I get around their limits?"

Have you really sat down and discussed why these are in place? What's the issue with Minecraft and Terraria videos that make it a Constant. Battle? That seems quite harmless.

I would hate having you as my parent, to be completely honest.
> Another way of looking at low-code is to take an even bigger step back, and look at the history of programming from the start. Python is low-code relative to C++; C and FORTRAN are low-code relative to assembler; assembler is low-code relative to machine language and toggling switches to insert binary instructions directly into the computer’s memory.

That is the most stupid thing I've read in a while.
I read your parent as "that guy should not be anywhere near programming, he needs to learn how to use a computer first".

Okay I might exeggerate a bit but if someone literally writes 'dash' at that point, don't pair on something that has a deadline like that.

Do take him aside and let him know he gotta brush up on the damn basics and that you are there for him through it but you're gonna finish that feature with a deadline first while he takes a stab at that easy bug over there.
It's set to 1MB (and some additional bytes for log overhead) because it was found (by LinkedIn? I think?) to be a reasonable default for throughput. Technically you can set it up to anywhere near MAX_INT bytes, would be interesting to see what happens when you send a 1GiB message. :D You'd most likely need to tune other properties depending on how big you're going.

And message size, just to be clear, relates to a message from a producer which can contain 1 to N records, often compressed to reduce network contention. The 1MB limit applies to the bytes which are received by the broker, so you can send batches of records which are >1MB if you're compressing them.

Compression imposes some CPU cost on producers and consumers, but unless you've specifically configured a topic to use a mismatching compression algorithm (this defaults to "just accept whatever algorithm the producer" used), there's no cost on the broker, it's written as is, and then consumers pull it still compressed.
And yet Xbox Series is the first console in my memory to ever support homebrew applications without the need for pwning the console. Maybe I'm okay with locked down hardware as long as the manufacturer really is on my side and will forever continue to be.
I'm not making any claims about dask being super reliable or easy to use, but let's not pretend that a spark cluster is a trivial thing to set up and deal with.

I've had to administer spark clusters in the past, and there's a good reason why databricks is a thing.

Another detail that's important is that spark is dramatically overkill for the data sets dask is meant to work on. Dask is really geared for data sets that can't fit in memory but not necessarily data sets that can't fit on disk that spark was really meant for.
There no such people. Only idiots being obtuse and moving their agenda using bogus comparison.
Please, Cancel My Insurance
Related to the topic that was recently in top trends: https://news.ycombinator.com/item?id=29250063

You can cancel any insurance policy without the annoyance of dealing with bad chatbots, agents with limited hours and support@xyzinsurancecompany.com
ohh yeah. Thanks for pointing that out. I do remember reading this a few months ago.
Curve Finance
I’m replying here to avoid occupying “top space” in the comments section. Also upvoting this post for better visibility in the hope that some helpful advice or connection arises.

Overall, I agree with the assessment here. It doesn’t matter which country you’re in, Uber doesn’t care much for customers and its customer service is abysmal (standard copy paste non-answers or ignoring you). The Uber customer support team will do everything possible to snatch money from you and avoid compensating you even for their fault.

I thought Uber may be a better company after its previous CEO (Travis Kalanick) and his coterie were ousted or left. But the reality on the ground is still the same as what it was some years ago.
>it can be split up among many people over the course of time

Oh, yes.

>experts know how to do this stuff

https://www.americanbar.org/groups/judicial/publications/jud...

"One way to test the effectiveness of a redacted PDF document is by using a technique that nearly all word processing users know--copy and paste."

...nearly...all...
“ for example, I do a lot of "converting" in the (let ...) section, then the code works on the results of that. If you "ignore" the (let ...) section, the code is usually reasonably clear. That tends to be difficult in classic Forth as that gets all intermixed.”

!!!

Never occur to me. Great found of the day.
if needed=each time presence change.

So you d have an enormous graph with one node in the center refreshing presence for everyone. And end up worse.
Android Bluetooth development project code