Hacker Newsnew | past | comments | ask | show | jobs | submit | thifhi's commentslogin

A shell's stdin and stdout can be redirected to a tcp socket which connects to the attacker. Here are some examples: https://www.invicti.com/learn/reverse-shell/


> Performance and compensation were completely separate, which was also nice.

Huh? How is that nice? Does performance and compensation not correlate in your ideal world, or am I misunderstanding it?


In my ideal world, no they do not. Pay equals what it would cost to rehire me today. Performance should always be great for what you are expected to do.

Where the two correlate is that if you're hiring a mid-level person they get mid-level pay, and if they are top performing mid-level, they get promoted to senior and get commensurate pay.

So performance leads to promotions which leads to better pay. But pay is not directly correlated with performance. I expect everyone in the same level to have equal performance (over the long term, of course there will be short term variations).


I read that as compensation wasn't correlated to your performance relative to peers. Which is I think what most people would appreciate in an ideal world. I don't think they meant absolute performance and compensation weren't linked.


Surely there are diminishing returns for the AI computing though? I mean, is a model with 10x the parameter count 10x better? I think it is still possible that the training costs will be irrelevant for all players at some point with this non-linear scale. Access to data is another story


10x the parameters? Maybe not in a single model, but maybe 10x the expert models has 10x the value. I'm sure there are diminishing returns eventually, but we're probably not close to that.


It's not clear. Scaling laws still seem to hold AFAICT.

Right now the bottleneck is "how big a model can you fit on an H100 TPU". It's possible that in a few years, when bigger cards come out and/or we get better at compressing models, we'll get even better models just by increasing the scale.


It's still SO early. We are in the "640K [of memory] ought to be enough for anybody" phase of LLMs. So much more to go.


This reminded me of my implementation for a university course where you played by tilting your head to the left and right with the help of an accelerometer embedded earbud. Everyone got nauseous after a couple runs but it was very fun indeed :)


I remember that one of the technical employees of the said exchange claimed cyber attacks to their servers were so rampant and many succesful that they were simply not able to continue business with all the stolen funds. I honestly believe that incompetentness might have played a huge role in this "fraud" story.


Being incompetent is far less illegal than covering up your incompetence with fraud.

If you don't cover up the first stolen funds, people will have a sense of the risk you pose and there will be less opportunity for future stolen funds because your customers will leave or beat you with a stick until your security improves.


I just checked the official annual budget for all of the penal institutions in Turkey. The 2022 budget is 3.2 Billion Liras[1] ($180M) for about 300.000 inmates in total. Dividing, you get about $600 per inmate per year! (and honestly it doesn't even sound that absurd considering the low cost of living here)

[1]: https://www.sbb.gov.tr/wp-content/uploads/2021/10/2022_Yili_...


Incredible. Almost all of the money saved could be either returned to the taxpayer, or used to build houses for the poor on the 127 prison sites.


I’m pretty sure most British courts would consider it illegal to house prisoners in such conditions as are prevalent in most Turkish prisons.

And if reducing costs is your only goal. Well there are other options to get rid of criminals..

Or you could just them as free labor to build those house for the poor.


Turkey was an example, as was Greece, of a cheaper provider. The dividend would not be purely financial. It would be almost 130 large sites upon which to build housing for the poor. Conditions in UKs prisons have been internationally condemned. It would be an opportunity to improve conditions for the incarcerated, save money, and provide housing for the poor on reclaimed sites.


Turkish prisons are famous for abuses: https://stockholmcf.org/gross-human-rights-violations-contin...

Better example would be Norway or Netherlands: more expensive prisons, but least prisoners per capita: https://www.dutchnews.nl/news/2014/04/the_netherlands_has_ex...

The point of prison system should be rehabilitation not keeping prisoners down for life.


So each interceptor missle costs upwards of 70k$ and they typically intercept rockets that cost around 800$. How is that remotely sustainable?

Edit: I guess we should also take into account what a missle that hits its target costs to Israel, so I am not that disappointed in the efficacy now.


It's sustainable if your economy is... does math... 87.5 times the size of your opponent's. That's before accounting for any kind of marginal utility, which might make it less painful for a very rich state or society to spend $70,000 than for a very poor one to spend $800.

[EDIT] oh, without even going far-afield with second order effects, you'd also need to factor in the expected economic harm of each $800 rocket (on average) and the economic harm of the threat of $800 rockets landing more often (to, say, the tourism industry)


Israel isn't fighting a war of attrition.


I want to share a small project, closely related to the paper. You can try it out if you have free 5-10 minutes and an Android device: https://edge-ml.dmz.teco.edu/

You login; create a so-called workspace; add some labels like walking, jumping, tapping on the device etc.. (simple actions for testing purposes); collect data for your labels with your mobile device and create a machine learning model with a single click. Then scan the QR-code of the model and your actions are predicted by the model in real-time. It's really interesting how accurate the predictions are even with a small sample size.


This is cool.

Possibly-pathological usage report: training with default parameters against three samples each of tapping the left and right edges of my device ~rapidly (2.5Hz?) doesn't produce a model that can accurately infer which side of my device I'm tapping.

I wouldn't be surprised to learn that adjusting the model parameters or adding more samples would likely remedy this. (By all means go dig out the samples and model created under "i336_" if you're interested.)

The UI is also notable as well. I initially visited on desktop because that's what I was already using, then realized the site is actually designed to be used in a desktop/device split scenario. Nice.

Some pedantic UI nits, in case you want them :) -

- The backend very occasionally 503s, which creates a toast/popup full of HTML in the UI. Only noticed on desktop, but can probably also occur on device too.

- The current approach of tap-label-then-begin-typing-name-to-rename is cool but doesn't catch the backspace key, and I also had to guess that I could type. Create-textbox-on-mousedown would be more intuitive ("ah yes clicking this does let me rename it") and also eliminates the gotta-catch-all-the-keycodes problem.

- I can't either preset the countdown and duration, or have it be persistently saved on mobile. (I wanted to set countdown to ~1-2 seconds.)

- If you submit an empty countdown in the mobile UI the site gets very confused :) a full page reload was needed

- Once I'd hit Train I was like, "...okay, now what? Oh, the header parts ('Workspaces / blah / blah') are clickable, I click in there to go back. Right then"). Back and/or obvious navigation buttons everywhere would probably be helpful for orientation.

- After leaving the tab for some time then coming back to it I was met with a bouncing "Unauthorized" at the top of the page. The requests for .../samples, .../models and .../workspaces are all 401ing.

That's actually everything. The UI is overall refreshingly straightforward/to-the-point (ie, not full of unnecessary layers of indirection!), and fast.

For example, I didn't realize I needed to create a layer to begin with, then when I created it on desktop it immediately showed up on my phone. Nice. (Next step, long-polling :P)


I was hesitant to share because it's quite new and still in development but I'm glad someone from outside actually tried it! It has some issues as you have pointed out and I really appreciate the detailed report, I've noted them.

There are no currently no explanation of the ML parameters since I still use the website mostly for manual testing. Sadly, some of them are crucial for model accuracy and they are not easy to manually configure for the user, so the plan is to integrate meta-learning that finds the best possible parameters on its own. I will take a look into the model now :)

Edit: After a quick inspection I see that the problem is actually sample size. Your samples are about 3 seconds long and for a consistent model I need at least 30 seconds of sample for each label.

Maybe some background: You can simply set the recording duration to 30 seconds and keep tapping for 30 seconds, you don't need 10 samples each 3 seconds long. The server splits the recordings into 0.3 seconds long windows for training and the model tries to interpolate the function between these windows and their labels.

In your case, only 13 windows could be extracted from your recordings so the model has only 13 data points for learning the mapping and tries to guess the function based on them. The beginning and the end of a recording is also cut because the sensors are not very reliable during these periods, so a 3 seconds long recording becomes about 2 seconds long after that. This is why tiny recordings are generally not very useful for the model training (and I should definitely change the default recording duration which is 3 seconds!). From a 30 seconds recording, we can extract ~100 data points and that is usually enough for a somewhat reliable model.

But of course none of these are obvious (not even close..) and I should do a much better job explaining the process to the user. I learnt a lot from your experience, so thanks again :)


Adding this several days later, so I realize you may never see this, but if (when? :D) you do happen to notice, feel free to email me at the address in my profile (click my username), regardless of how far in the future. :)


Really glad I decided to have a look through my comment history. Not sure when you added the edit, just noticed it now.

I forgot to ask - what are you actually using this for? What's the actual use case? I'm guessing some kind of specific research situation, but I'm curious exactly what.

Thanks for the explanation. So much more goes into this kind of thing than intuition would suggest...

Thanks for having a look at the data too. I recorded some new 35 second samples (at 100Hz, since why not) into a new workspace - but then decided to make things interesting by recording both fast and slow taps :), I'm not sure if this was a bad idea lol

(By all means poke at these too)

If I'm honest (and I think that would probably be most useful here) it's difficult for me to say the model is reasonably more correct now. It still

- oscillates between tap side (and speed)

- doesn't correctly pick out which side a single tap was made on, or makes the correct prediction for 8.4 milliseconds and then rapidly follows it by all other possible predictions :)

- continues to flip through predictions after I stop tapping (possibly because the prediction system examines/averages the entire 5-second classification window?)

- placing my device on a flat surface apparently means "fast right", "left"

- holding my device mostly (say 95%) steady (ie, as little deliberate movement as possible) for several seconds apparently means "right", "left", "fast right", "right", "fast left", "right", "left", "right"... etc

There seem to be occasional spots of consistency, but I can't deny that's probably my brain wanting it to work :P

I'm still learning about sensor analysis and ML, and the above is what my gut instinct says might potentially be most useful to report.

While playing with the system again I had a thought - if you displayed toggle buttons (that showed as buttons but functioned as radio selectors) for all sample labels during classification, and allowed the user to select which "actual" input they were providing in real time, then recorded the raw sensor data against the user label selection during classification, you could store this recording then repeatedly replay that training data into the model during development and eg show prediction vs user-specified actual input.

Given that model training only seems to take a few seconds (and can perhaps be run on higher-end equipment during development to make the process even faster), such a high-iterative workflow might viably be rerun on every source file save. (On Linux I personally use `inotifywait` for this; for a wall of text on how much I like inotifywait, see also https://news.ycombinator.com/item?id=26555366.)

--

On a completely unrelated note, I thought I'd ask: for a while I've wanted to measure my realtime speed on trips on the (...underground...) fastish metro/subway system that was installed a little while ago in NSW Australia. All conventional wisdom I can find universally suggests that using accelerometers is utterly useless for this type of task, but GPS generally needs to see the sky :). I was curious if there are any hacks/workarounds/cute tricks I might be able to use that might not be widely known.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: