skysight-inc/HackerNews huggingface dataset:
> Also worth noting, since this always comes up, that these things are super hard for a compiler to optimize away. JSC tries very aggressively but only succeeds a minority of the time (we have a backwards abstract interpreter based on how values are used, a forward interpreter that uses a simplified octagon domain to prove integer ranges,

RISC-V has some closely-related sharp corners in indexed address arithmetic as well. Some choices for the type of the index variable perform much worse on rv64.

Consider: an LP64 machine uses 32-bit integers for 'int' and 'unsigned', but 64-bit integers for `long`, `size_t`, `ptrdiff_t` and so on.

If you use an array index variable of type `unsigned`, then the compiler must prove that wraparound doesn't happen. That's pretty weird considering that half the point of using unsigned is to elide such proofs of correctness. If it cannot prove the absence of unsigned wraparound, then it will be forced to emit zero-extension sequences prior to using the index variable to generate the addresses.

ARMv8 side-steps the whole problem by providing indexed memory addressing modes that include the complete suite of zero and sign extension of a narrow-width index in the load or store instruction itself.

So here we have an example of a three-way system engineering choice.

- Provide a small amount of hardware that performs the operation on-demand.
- Provide new and inventive forms of value-range analysis in the compiler. Despite decades of research into this problem, the world's best solutions still frequently saturate at "the entire width of the type the programmer requested".
- Change the habits of the world's C programmers.

RISC-V chose options 2 and 3.
Sounds like we’re thinking along the same lines! Love to try the Psion, it’s been a while since I’ve been hands on with a Series 5.
I can’t speak for the author but lots and lots of people who do these mods, do them with the intention of using them.
I was hoping an AI would analyze every post in the .IN domain.
404 Not Found. Was the article removed?
Visualizing American Covid-19 Deaths
I saw a bunch of headlines from a few days ago that framed the current daily American COVID-19 death rate as "1 death per x second", which I found fundamentally pretty scary- yesterday (10/31) there were 960 deaths, which means 86k seconds in a day/960 deaths = 1 death every ~90 seconds yesterday (and probably today too). By the time you finish reading, another American is probably dead.

Inspired by https://www.scmp.com/news/world/united-states-canada/article...

Data from https://covidtracking.com/
One thing not mentioned in many of these threads is using an Uber/Gigster style model where instead of having an internal bench of folks who are FTEs, you keep on a larger bench of contractors who are only paid when they work on a project. There are definitely pros and cons to this approach and I'm happy to dive in depth into them if it's of interest to folks (I was early at Gigster YCS15 and work at a firm, tribeai.com that has a similar model but focused only on ML projects).

But at a high level, this is something to consider if you have a good network of friends/former colleagues who are also solid devs who you can tap for projects to rapidly expand your services offering and capabilities without paying for a bench and taking the risk of having a bunch of people you have to constantly pay
Maybe I’d question why my worldview was so widely considered in the wrong
Agreed. It’s the same as with all those low profile turn signals that are basically on top of each other. There is a reason most jurisdictions require something like at least 12” between the turn signals to make it easier to tell which one is on.
A 5-story building in Shanghai 'walks' to a new location [Video]
If you're moving most of logic to the server, why have an app at all? Just build a website. For me app means offline work.
"Good design is invisible" Donald A. Norman - The Design of Everyday things

I have been reading this book for a while and the 10 points in this article seem so much on the surface only with no depth. It's probably about marketing more than design principles.
I have used Linkedin to hire specialists from developing nations.
> it at one point had a charging port under the mouse

I've read that the motivation for this decision was to ensure that the customer would use the device wirelessly as intended. I guess it could be beneficial for the battery as well.

In any case, it proves your point further.
Personally I think a "forward blinker" would be useful, in the middle of a car/bike. Many times at a 4-way stop where all the cars arrive relatively simultaneously, if a car doesn't have any blinkers on, I have to guess if they intend to go straight forward, or have forgotten to signal -- or they start signaling after they begin to accelerate for some reason. If I had to guess, I'd say that up to 1 of 10 cars may fall into one of these categories. People at busy 4-way stops (incl. myself) tend to want to increase flow by a self-organized optimization of allowing more than one car in the intersection at a time if they don't interfere w/each other- such as two cars across from each other going straight or turning to opposite roads.

I think that's one of the unappreciated features of self-driving cars, is that they will always signal their intent, whether to other human drivers and cars via lights, or directly via data.
They didn't just vote no. They basically said they're not implementing it even if everyone else votes yes.
I mentioned my personal solution for this in another recent post, but it's worth restating:

Close your eyes, start typing. Alternately, turn off the monitor. Just start. Type anything. Get words on the page. Brain dump. Edit later.

There's nothing worse than a blank page!
Can you explain what makes you think that even makes sense? Most of the relevant YouTube videos are already available for free to the public, so there is no real incentive to download them from YouTube and upload them to The Pirate Bay. Downloading a copy for personal use would often fall under fair use. Uses with third party video players like mpv aren't even making a permanent copy. Many of the videos are in the public domain (e.g. from NASA) or are permissively licensed (e.g. many university course lecture videos or conference talks).

Who is even using this for some kind of meaningful copyright infringement?
You don't have to use real registers in a single op. Fusing means interpreting a pattern in the input stream and issuing a different instruction from a richer microarchitectural instruction set
You could probably post a gpg-signed url to the blockchain, and scan the blockchain for new urls signed by a known gpg key. Or something like that.
Bingo. Very few companies have had any form of success in multi platform development tools. Netflix probably will simply because their app logic is generally so incredibly simple compared to others. (View list, select video, play video) sure there’s some complex backend logic and streaming tech but overall the app is simple. $5 says the iOS app isn’t THAT common however.

To be honest, I’m kinda surprised they don’t just go Cordova, one platform for all.
One of the richest men in rome built a large part of his fortune through firefighting. He would send a slave brigade to any building on fire and offer to buy the property from the owner, refusing to put the fire out unless they sold it to him for cheap.
There's a project call rpos that turns a Raspberry Pi into a Onvif Compliant-enough camera that most NVRs can use. Onvif uses RTSP streaming just like this.

https://github.com/BreeeZe/rpos

Either way, OBS supports RTSP so you can pull feeds in and surface them as a virtual webcam to the rest of your OS.
Agree. I would never attempt to write flow control that had different cases for handling undefined and null. It feels so extremely brittle
But is it vulnerable to ignoring fragmentation offset?
sidpatil answered (sibling comment). The RTF spec was freely available (on MS's site and/or MSDN CDs then) and should still be around, at least on some sites, since RTF is still used a lot as an exchange format between word processors and even other software. So you can read the spec; it is straightforward.

RTF is to Word like CSV is to Excel. In fact, we generated RTF because the output was to be input to Adobe InDesign.
You can also do this on Android with NewPipe. Unlike the official app you can lock your screen or use other apps without the audio pausing.
Cool, but my gripe is that it maybe too bright. Here in Los Angeles folks seem to be using high head-lights as if no one is driving against you...
You: efficient market hypothesis

Also you: never invented anything
That's pretty much happens in the UK, it's called "universal credit".
I think the timeline is a little different as I remember it.

DOS was dominant between 1981-1990. I lived through those days and remember them fondly.

In 1990, Windows 3.0 happened, and the world changed.
Well, they basic consumers would want wifi access point, which means beefy cpu and embedded linux. So while the “router” part might be gone, the “firewall” part will be still there, since it is so cheap and provides visible benefits.

And the advanced people would not buy switches as well, as they’d want some sort of dedicated firewall/IDS box.
I think that instead of trying to counter echo chambers and trying to change everybody's mind with moderate content, we need to strengthen them and stop making people clash.

The problem with social media is that it isn't enough like real life, where I have a choice of whose opinion I have to hear.

Therefore, I propose a system whereby the participants don't see content that's objectionable to them. The highest rated content and comments are the ones that the participant is most likely to agree and be comfortable with. Everything else is hidden until I decide to explore it.

We need user-centric systems, not "truth"-centric systems. Let me form my own bubble just like I do in meat space.
I guess the point is that schools aren't going to adapt to a schedule that isn't Monday to Friday (at least where I live). Spending time with the kids on Tuesday is going to be about 8 hours less time than I could spend with them on a Saturday when they are always free.

You're right that kids understand but it's far from ideal when their schedules are so firmly fixed M-F with weekends free.
Yeah I agree with the points about using your own stack, it's building towards the lowest common denominator that is the sockets support in libc. I think it should be possible to link against the platform libraries, but it's more work than just shiping your own stack.
It doesn't. That's the whole point of the io monad.

Outside of the io monad you cannot (modulo some exceptions) indicate io.
When I was VP of Engineering org for a startup, it was a group of about 30 Engineers at all stages of life. Some were young w/no obligations, some had families, a couple were single parents, and there were even a couple folks in the starting to have grandkids phase. I didn't particularly care what schedules people kept as long as work got done and they could be predictably reached.

As a result, there were people that worked 6am to 3pm(ish), 10-3, followed by 7-10 in the evening, 11-8, etc. I had a young child and handled school dropoff, so my hours were roughly 9am - 6pm. My boss, the CEO, was a workaholic who arrived around 10am and worked to whenever. I spent an amazing amount of time dealing with "where is everyone?" sorts of questions, despite the team running fairly efficiently and still completing work on aggressive schedules.
A pity that isn't hackeable, it would made a nice z-machine portable gaming machine.
I am an early bird and there's definitely a weird expectation to stay later than 8 hrs plus lunch.

I definitely never got any bonus points for being at work before my boss.
That commission didn't "measure" any other jurisdiction so what are you talking about? And because there was "a massive investigation into it" doesn't mean it's worse than elsewhere, if anything it implies the contrary.
My favorite part about his family being paid speaking fees was all of the other celebrities that the same charity told that they don't pay speaking fees.
In most cases you can get away with simply connecting to the application with `objection` (mentioned in a sibling post) and running `android sslpinning disable`.

This will fail in some cases when the application is obfuscated or uses a non-standard pinning mechanism. In this case you can decompile the application to determine the methods used to accomplish the pinning and use frida (https://frida.re) directly in order to manually override them.
There is no need to improve the power of xpath in browsers, they already have a scripting langage, they don’t need a second one.

What would be useful however is improving the precision, xpath 1.0 had a pretty restricted set of functions which hampers filtering, you either need to bring too much back to JS or the selector becomes overly complex with painful cross-language escaping, especially when dealing with HTML trees (token lists are really painful to deal with just 1.0’s functions set).

Making exslt & applicable later functions available would be a huge boon without needing to change the langage itself.
> The politics behind promoting Hindi is a religious one. It makes convenient to promote the varna system(modern caste system). This is the reason the religious party and organizations(BJP, RSS) promotes Hindi and forces in to the education of all non-hindi speaking states too.

Rest of your comment is factual, except not sure if Tamil is the oldest language or Sanskrit or some other is.

But the above quoted part of your comment is utter BS.

The reason to promote Hindi is nationalistic rather than religious. Why should the lingua franca of any country be a foreign language, it should be a local language. Hindi fits the bill amongst all other Indian languages is because it has the largest footprint and hence best odds of success, as opposed to say Tamil which is primarily spoken in 1 state.
That's literally my setup in slackware, but you can watch movies in framebuffer, and I surf too (lynx/links/sacc).

#!/bin/sh
clear
setterm -cursor off
echo -en "\e]P0000000"
mplayer -really-quiet -vo fbdev2 -vf scale=1280:-2 -cache 2048 "$@"
setterm -cursor on
echo -en "\e]P01d2229"
clear

Games?

- IF. Lots of them.

- Slashem.

- MUDs.

- Mednafen through framebuffer. Even gamepads work.
Python's Heapq Module
In case you were wondering as well and came here first: 'a short documentary about a revolutionary redesign of New York City's iconic subway map'
Right, I think it still may be a de facto standard from MS. It was so then.
You can run something local like Shinobi. That just requires any rtsp camera. It can even send you push notifications on a discord channel.

https://shinobi.video/
This is exactly what I want!
No. Control bits (status bits, flags, ...) get renamed just as registers get renamed.

Basically, if there's a bottleneck to x86 code, Intel has run into it, profiled for it and generally optimized around it both in their microarchitectures and in the their C compiler.
You should probably google myalgic encephalomyelitis and covid
most MVC apps do still have a decent amount of business logic for things like caching (either http responses, or images, or a local db), authentication etc.. In theory the goal for a lot is to have a dumb client like you said but that's rarely the case.

If you can have your apps share their data models between both android and iOS you can have the apps share the HTTP request/response handling and their DB code etc and then it truly becomes just a dumb client.

YouTube/Netflix also have complex video encoding/playback code that can be written in c++ and shared between clients.

Most social media apps liek FB/Insta/Snapchat have complex camera and photo handling code as well as async messaging code. Which if you have things like retries or photo compression/encryption you'd probably want to share between clients. etc..
I'm sure that's what the industry would argue. However, the insurance offered does not cover theft, damage due to rodents, mold, or water damage. I imagine these are the cause of the vast majority of losses to self-storage tenants, so I'm skeptical.
Thanks, its easy to take for granted that these videos will always be available but a few years back Berkley took down a huge amount of content to try to preempt ADA subtitles legal problems. In the case of some advanced courses self learners can lose access to unique resources.
And 4 years ago they even won the electoral college!
Never heard of such kind of corruption in western Europe. You never call a tow truck directly, you call your insurance which has a register of tow trucks and body shop. If any would overprice regularly, it would be out of the register. The same for the cons in construction, all constructions of sufficient size are audited by Veritas or something alike, it's not possible to replace concrete with garbage. How is it possible that things are so different in northern america ?
> companies/shareholders ought to be able to freely replace executives they deem unfit (a bad fit for society)

"A bad fit for society"

Seriously. This reads like something straight out of the playbook towards a fascist state.
>> “Hey HN, I'm working on a project for school and need to learn a bit more about the revenue model of custom software dev firms.”

I used this trick A LOT in college to get secrets from companies. My friends and I would call some people and tell them we were trying to understand something for a report. It was amazing how much secret information people were willing to share.

One of the most powerful assets you have as a student is that .edu email address.
I thought XPath was terrible beyond 1.0?

E.g. https://tomforb.es/xcat-1.0-released-or-xpath-injection-issu...

But it does not seem to be mentioned as an argument.
> Some huge portion of the x86 power budget is just the instruction decoder.

This is a widely held meme, but the internet at large doesn't have any evidence to back it up. A couple of publicly visible engineers that do have experience are on record as saying that cell-phone-class competitive x86 was absolutely possible. Intel and AMD chose not to pursue those markets.

The expensive parts of a high-end CPU aren't normally in the instruction decode part. They are in the branch prediction, branch mispredict recovery, forwarding networks, memory re-ordering, and so on. Anything short of a dataflow ISA has little impact on those structures.
Done with hacker news. You are clamoring for lockdowns and slavery. This is not my community.
This is exactly what CableReady was built for... to update the DOM from any Ruby process (in the request cycle or not). It was designed from the beginning to update the DOM from out-of-band non-request based workflows like background jobs.
+1 I love this question; it doesn't get asked enough. (Also, I have interest in hearing others' answers for Kotlin Multiplatform in particular.)
Lenses for the Mere Mortal (PureScript Edition)
The concept of streaming always seemed a bit dumb to me, in terms of environmental costs and just plain efficiency.

The constraint on the majority of cases is bandwidth, not storage.

For mobile, that is not necessarily true, I concede.

From a purely technical perspective, streaming makes little sense.

This is really a manifestation of legal constructs.
Is it that there is no way to “just” run a small custom built daemon script on a Linux box, not just in terms of camera apps but in general?

Like I have this 10 line bash script, that I want it to run for a few years, with no maintenance, that don’t get corrupted from power loss, or lock up from memory leaks, that auto restarts when necessary, but not bring down network either.

And it requires 10+ years of experience in managing and developing on GNU/Linux, a few notable certificates maybe, a bit of embedded background being a plus, to do it right enough, in about 0.25-1.0 man-month.

I’ve tried something like that on Alpine Linux, and it didn’t work always. Mostly due to proficiency issues on me, but it definitely was unnecessarily hard.
ALT+F3! That works a lot better on the original Model F keyboards where the function keys were in two columns on the left side of the keyboard. I would love to have a modern version with 12 function keys on the left ...
> It's not even possible for living languages

YMMV. I once watched a short video by an accent coach teaching how to make an Irish accent, a Scottish accent, an Australian accent etc. He talked about place of articulation and made pretty decent (although clearly not native) approximations of the pronounciations. I found his attempts at actively voicing things out quite helpful. I'm fully aware this is just an approximation, but in a way I found that teacher to be more effective at conveying what makes a given accent peculiar, more than what just listening to a native speaker would. Probably it all depends on what you're interested in.
Check out rpos (https://github.com/BreeeZe/rpos), it turns your Pi into a compliant enough Onvif camera that you can use for NVRs.

Both rpos and piipcam serve h.264 RTSP streams that you can pull into OBS and turn into a virtual webcam.
Hm that's interesting, actually the paper is sort of wishy-washy about the contribution? It doesn't claim that ropes are faster.

It claims that they make systems "more robust". I think they basically mean that certain apps that use long strings are less likely to run out of memory.

I guess my response is that I don't think Python or JS really need native ropes, even for string heavy workloads like templating: https://news.ycombinator.com/item?id=24960806

(Also, I would expect penalties of pointer chasing and thus ropes to be much more severe in 2020 vs. 1995, like maybe 10x more?)

We claim that the traditional implementations ofstrings, and often the supported functionality, are not well suited to such general-purpose use.They should be confined to applications with specific, and unusual, performance requirements.We present ‘ropes’ or ‘heavyweight’ strings as an alternative that, in our experience leads to systems that are more robust, both in functionality and in performance.

Conclusion:

It is not clear whether the implementation we suggested above is in any senseoptimal. However, it performs sufficiently well for our purposes, and sufficientlywell that for most purposes it is preferred over traditional ‘flat’ string representations.Our experience has been that it results in software that is noticeably more robust,particularly in that it scales correctly to unexpectedly large inputs.

edit: I guess they are making a computational complexity claim then? But again I would say it's a common idiom in Python and JS to append to a list and join(). At least now it is, maybe in 1995 programmers weren't used to that idiom.
And Bigbeans Solutions <https://bigbeans.solutions> redirects to Discord Nitro.
This looks really cool! Some feedback:

I don’t understand exactly what the colors are. Is it 2016 results, with darker shades being more extreme? Is it 2020 polls? Something else?

I would like an option to sort alphabetically so that I can quickly find particular states. For example, it was hard for me to find PA which is very important this election, because I overestimated its turnout and had to scan through most of the list (also, yikes!).
Docker Container Security:Attacking Docker Vulnerabilities
It would be nice to have some context around why these decisions were made. Are they outright mistakes? Trade-offs about the goals of thr ISA? Or trade-offs that the author thinks are bad ones?