Better HN
topnewbestaskshowjobs
Log inSign up

bArray

7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions

Why jump in one pond when you can dip your foot in many?
Submissions

comment 1y ago · link · parent

I need to check that out, thank you!

comment 1y ago · link · parent

I would love it if was possible to download the rendered chart, ideally headless. In peak traffic I would prefer to switch to a pre-rendered version, have the pre-rendered version available encase of an error (i.e. data retrieval), or for users not using JS.

After the most minimal Google-foo, I see echarts-python [1] which has not been updated in 9 years. pyecharts [2] is looking pretty well maintained though.

Years ago I tried my hand at writing a simple bar/line plotting filter for Pandoc that embeds itself into documents via an SVG in a URI [3]. If HN is permitting, you can past links like so [4]. I think writing a stand-alone tool to display the data you are interested in is a good idea for anybody.

[1] https://github.com/yufeiminds/echarts-python

[2] https://github.com/pyecharts/pyecharts/blob/master/README.en...

[3] https://gitlab.com/danbarry16/pandoc-highlight-filter/-/blob...

[4] (removed link as it was too long for the comments section)

comment 1y ago · link · parent

Unfortunately it is not an April Fool's joke, but it should be.

> Donkey Kong champion wins defamation case against Australian YouTuber Karl Jobst

The title sounds as if he is still recognised as a Donkey Kong Champion, where clearly in the first sentence:

> A professional YouTuber in Queensland has been ordered to pay $350,000 plus interest and costs to the former world record score holder for Donkey Kong, after the Brisbane district court found the YouTuber had defamed him “recklessly” with false claims of a link between a lawsuit and another YouTuber’s suicide.

They describe him as a former world record score holder, but don't go as far as to state that it was revoked based on allegations of him cheating.

I don't think that Karl did $350k+ worth of damages to Billy, to be honest I wasn't really aware of the suicide allegation anyway.

comment 1y ago · link · parent

Does anybody have materials regarding how you would go about writing an autorouter? I was thinking to maybe use something like this [0] as a starting point?

I have a few major nags about current autorouters:

1. No way to prioritise connections.

2. Handling of differential pairs or buses is terrible.

3. Does not use best practices for high-speed signal lines.

4. No way to add arbitrary rules to the autorouting process, i.e. block a trace from going through an area. For example, maybe you don't want a power trace being autorouted under your IMU, but some low voltage signals are fine.

I've use freerouting [1] in the past but it has a somewhat difficult time of being maintained. Freerouting seems to really struggle with larger designs, it seems to be greedily routing traces and spends ages trying to fix those early placed traces.

[0] https://github.com/vygr/Python-PCB

[1] https://github.com/freerouting/freerouting

comment 1y ago · link · parent

> Virtual machines still suck a lot of CPU and bandwidth for nothing but emulation. Containers in Linux with cgroups are still full of RCE (remote command execution) and priviledge escalation. New ones are discovered each year. The first report I got on those listed 10 or more RCE + PE (remote root on the machine). Remote root can also escape VMs probably also.

A proper virtual machine is extremely difficult to break out of (but it can still happen [1]). Containers are a lot easier to break out of. I virtual machines were more efficient in either CPU or RAM, I would want to use them more, but it's the worst of both.

[1] https://www.zerodayinitiative.com/advisories/ZDI-23-982/

comment 1y ago · link · parent

Sure, but there is a lot of interpretation to be done (hence the need for a judge) - and at the point where judges see their role as interpreting the law maximally in favour of stopping the president, then something is wrong.

comment 1y ago · link · parent

Simplistically it looks like that, but the US (or any other Country) never used to tax so much. The idea is to go back to a time of high GDP growth and lower taxes. Part of that is spending reduction (i.e. inspecting each arm of the government), and another part is growth hacking.

Another thing to remind ourselves of is that we don't want politicians to make decisions purely from market reactions to policy.

comment 1y ago · link · parent

If the Excel file is just a snapshot of the financial situation and it doesn't feed back into the main system, I find it harder to see the issue. Essentially it sounds like a manager takes the Excel file, makes some small changes, writes some equations, produces tables/graphs and then writes a report.

Maybe there is an error in the reporting, but it can always be corrected. The idea isn't to explain where $16.129626356 bn dollars went, it's to explain where ~$16 bn dollars went.

I can think of many processes just off the top of my head where commercial software outputs something like a CSV file, I add my data to it, then generate a report. I don't think the process is insane at all. We catch errors by predicting the data to be entered and flagging if off by 10%, and then also looking at the distribution of the data entered (it should look like a skewed bell curve). We then have a stand-up meeting where we review the outputs and then have a process for later correction. Of course it's possible for errors to creep in, but the errors are very unlikely and have somewhat limited scope.

My point is that the situation in NZ seems entirely resolvable, and they shouldn't just throw it out if it was somewhat working. The whole "Excel" thing seems like a nothing-burger.

comment 1y ago · link · parent

> The judges who provide the last, best hope of constraining the President and the richest man in the world face a historic wave of threats.

The role of the judges is not to contain the President. It's exactly this idea where each department think that it's their role to stop the President which has lost them their job. You cannot operate a government successfully where large parts of it are actively trying to sabotage you.

What President Trump is trying to achieve is to take politics out of the permanent unelected state. Additionally, at the same time he is trying to find cost savings, because US debt is out of control [1]. The UK [2] and many other Countries are in the same boat. US spending on national debt is about $1 trillion a year [3], and it raises about $4.4 billion a year in revenue [4]. This is okay, as long as the US maintains growth [5]. Encase it wasn't obvious by now, we are scheduled for a massive economic downturn, and it is extremely prudent to reduce spending so that the US can still afford interest payments.

[1] https://en.wikipedia.org/wiki/National_debt_of_the_United_St...

[2] https://en.wikipedia.org/wiki/File:UK_Debt_as_percentage_of_...

[3] https://www.pgpf.org/article/what-is-the-national-debt-costi...

[4] https://en.wikipedia.org/wiki/United_States_federal_budget#/...

[5] https://en.wikipedia.org/wiki/Economy_of_the_United_States

comment 1y ago · link · parent

In the UK "GPS" is used as a general term for GNSS. I don't doubt that the aircraft already use multiple satellites.

comment 1y ago · link · parent

> The Boeing 737 MAX 8-200 had already descended to around 850ft (259m) when the disruption occurred. Instead of landing, the plane was forced to climb back into the sky and divert nearly 400km (250 miles) south to Warsaw, Poland. Lithuanian air authorities later confirmed the aircraft had been affected by "GPS signal interference".

GPS is incredibly flimsy. Normally it operates by taking the average of 1000 observations to generate a noisy signal. It's not that difficult to be louder than something shouting from space. You can pick up cheap GPS blockers easily about the size of a walkie-talkie (handheld radio).

> By carrying a group of atoms cooled to -273C on the plane itself, rather than relying on an external signal, the technology can't be interfered with by jamming.

Last year I was on a plane where if the engines were not running, it entirely went into darkness. They hooked the plane up to the airport and tripped the airport electrics too. Now imagine if your plane loses power momentarily, and suddenly your GPS stops working entirely.

> Henry White, part of the team from BAE Systems that worked on the test flight, told BBC News that he thought the first application could be aboard ships, "where there's a bit more space".

> Quantum clocks, gyroscopes and accelerometers are large, bulky and incredibly expensive, with an accurate quantum clock costing around £100,000. Yet military research is allowing the creation of smaller, better and cheaper systems.

Likely a minimum of 10 years from being viable. Mt White of BAE is politely saying as much.

comment 1y ago · link · parent

https://archive.md/DvdcV

I cannot tell you how infuriating it is as a UK tax payer on a UK-based ISP, that pays for this content to be made, to be blocked from viewing it.

Worse still, if I view the article in 'Private' browser mode then I can see it all.

comment 1y ago · link · parent

> What internet points do you have to spare? What are these points that let your posts be on the top even though everyone is voting you down. I always had doubts that HN is taking some sort of bribe to force disliked and false posts into people's attention, I did not know they made it so obvious.

Just to be clear, "I have internet points to spare" refers specifically to the loss caused by downvoting. The point is that I don't care to be downvoted, I don't say things to be popular, I am far more interested in the fruits the discussions lead to.

> I will not respond to the rest of your post, your arguments have deteriorated from being simply false to being incomprehensible.

Sure, make up a conspiracy about why my comment is nearer to the top and disregard my actual points by claiming they are all false anyway. It's great to have these kinds of well structured discussions here on HN.

comment 1y ago · link · parent

Memes are shared because they are both funny and relatable, and get their message across concisely. In order for any joke to land, the audience has to already be somewhat receptive.

> These communities attribute social events to hidden plots and the manipulative power of a shadowy elite.

It's not a conspiracy, shadowy elites acting in groups with hidden agendas do exist everywhere. Just to pick one secretive group embedded everywhere with large amounts of power, the Masons [1]. From 1999 to 2009 in the UK it was required that Masons declared their membership if working in positions such as judges and police officers, with a concern that there would be bias. I think that people in these positions should have to declare all potential significant conflicts of interest. I have personally seen how Masons have financially favoured one another.

Secretive elite groups exist everywhere you care to look, but rarely cross paths with the likes of academia. I know of one that doesn't even appear on the internet but is at least several hundred years old. If there is a measurable force acting but you cannot see it, it's either random chance, an emergent behaviour or it literally is a force acting against you.

> Meme of a woman yelling at a cat, one of the most recurrent, with a sexist message related to the coronavirus.

Just because the meme happens to be a woman, does not make it sexist by default. The message is essentially pointing out the possible hypocrisy of caring about your respiratory health and not your sexual health. It would be somewhat akin to eating healthy whilst knocking back a cocktail of street drugs. The underlining claim of the meme is essentially "you don't actually care about this, but you're trying to convince me that you do".

> Another purpose of these messages is to attract new members, explains Brit Davidson, associate professor of analytics at IDSB and co-author of the study: “The humor in memes is likely a key factor in attracting new members to these groups, including people who may not be aware of the full context and impact of the misinformation.”

I think what we actually witness is an international decentralised grassroots ideology. I think there is such an interest because they are not coming to the conclusions that are wanted by long standing establishments (academia, finance, governments, etc). Worse still, these incorrect conclusions appear to be internationally agreed upon.

[1] https://en.wikipedia.org/wiki/Freemasonry

comment 1y ago · link · parent

> In the long run, society goes to 100% electric transportation due to global warming. Any analysis that treats this as a simple matter of consumer choice is going to miss the biggest driver of adoption.

As @Ray20 pointed out, this is Western thinking. The only factor that will flip most poorer people is a direct economic incentive. Who cares about the weather when your children cannot eat.

> Maybe some alternate carbon-neutral fuel for combustion is possible, but all the ones we’ve tried so far have lost out to electric.

It was getting more efficient, but this stopped ever since all the governments got together and decided that by 2035 no more combustion vehicles would be sold. All incentives to produce more efficient combustion vehicles went out the window.

We are actually only a handful of inventions away from pretty low emissions combustion engines. There have already been significant inventions, such as the catalytic converter, DPF, fuel additives, turbos, intercoolers, direct water injection, etc.

I suspect we were only years from seeing KERS and MGU-H during acceleration events. I think it is also quite likely there would have been more effort to push for hybrid vehicles where only small batteries are used, again for acceleration events. Improvements in manufacturing processes would allow for high tolerances, increasing internal pressures and combustion efficiency.

comment 1y ago · link · parent

> That's unfortunate for first adopters and is a significant problem for adaption in lower-income circles (those typically buying second hand), but not a reason for going back to gasoline cars.

I'm not advocating (here at least) for a move back to combustion vehicles, I'm just noting what I have seen. I would say that unless there is a serious used EV market and that the poorer people are able to afford an EV, there will forever be a resistance. You can push poor people out of the urban areas to rural locations with poor shared transport options, but they still need to commute to work.

> All that being said: I agree that "green agenda items" will decrease in popularity (or really: they weren't that popular to begin with). But EVs in particular are just straight up cheaper. If not by construction, then definitely by the air pollution reduction interest of the Chinese government. I'd be highly surprised if incentive reduction has more than a delaying effect, if even that

I think the reversal of most green policies is on the cards as governments struggle to balance the books with an incoming global recession.

EVs are cheaper to run once you tax fuel to a higher price, otherwise they are not. EVs cost about half as much to run, and in the UK the fuel duty is approximately 50%, some of which is put into subsidising green electricity production. EVs are definitely not cheaper to construct, maintain or recycle end-of-life.

The only thing I can think is that they have reduced emissions during the operating life-time of the vehicle, but I haven't seen the numbers to suggest if this includes the entire lifetime. Some quick numbers:

Apparently petrol/diesel vehicles require ~5.6 tonnes CO2 to build, whereas EVs ~8.8 tonnes. I see numbers assuming that combustion vehicles produce ~4.6 tonnes CO2 annually, but it assumes 22.2 miles per gallon (very low fuel economy) and 11,500 miles driven a year (a heavy commuter). I think the assumptions are bad. That considered, then there is the recycling/upcycling of the vehicles. I know that for combustion vehicles this process is extremely efficient, as literally every part is recycled, much reused in the used car market.

comment 1y ago · link · parent

I won't comment on geopolitics, but I believe (unfortunately) that the scales have tipped on global order.

Irrespective of geopolitics, I suspect we will see electricity prices come down and then go back up, for several reasons:

1. As more EVs charge on the grid, it will become further under strain. Assuming on average every house owns an EV, and that EV power usage is approximately the equivalent of one house, it would be like the population doubles in terms of pressure on the electrical grid. No country has that kind of spare capacity. They will have to cost infrastructure improvements to the electricity bill.

2. As less combustion vehicles are used, combustion-based taxes will reduce, and the green energy initiatives will lose this subsidisation. This loss will be put onto the electricity customers directly.

3. EVs are significantly heavier (cars: ~25%, sedans: ~30%, trucks/SUVs: ~150%) and cause more wear on infrastructure. That wear will directly correlate with the amount of electricity used, and will be the easiest way to introduce a tax to cover these costs. Costs associated to EVs will likely come from unexpected places, like the additional damage caused in a collision [1], and these will also directly correlate with electricity usage.

If anything the UK and EU appear to be near the peak of the EU sales percentage [2], if any Countries will see a decline in sales of EVs as a percentage of overall vehicles it would be those.

[1] https://globalnews.ca/news/9587791/electric-vehicle-weight-s...

[2] https://ourworldindata.org/grapher/electric-car-sales-share

comment 1y ago · link · parent

> It is very strange to see a grayed out comment on top of a thread that has about 160 non-grayed out comments. I thought that highest rated comments go to the top and grayed out comments are rated below zero.

I don't mind, I have internet points to spare. I think it's more important we have a proper discussion in this place.

> Regarding your points. First the thing about used evs not selling has more to do with the rapid pace of innovation of evs rather than lack of demand. In the 90s it was very difficult to sell a used PC because PCs improved so quickly. That did not mean that PCs were not doing well, in fact PC sales were growing exponentially. And evs do improve fast.

I disagree. I spoke to several dealerships and they simply cannot sell even a few year old EVs, despite them being able to sell 'new' EVs of that manufacturing date. From what I can tell it's that if you've got the money to spend £30k on an EV, why would you take a risk and buy a used one for £20k? There will be limited warranty and no 'classic' mechanic will touch it. If it's out of manufacturer warranty and you develop a battery fault, the battery and fitment can be comparable to the cost you paid for the entire vehicle. This is extremely unlikely to change soon.

> Your second point is silly. Basically you are saying that EVs are doomed because EVs are already selling too much. Thats like the old joke that nobody goes to this restaurant anymore because it is too crowded.

I'm not making that point at all. Whatever the market force is, there appears to be a saturation on the near horizon for percentage of sales. It's not an opinion, it's what the numbers suggest.

> Your third point is about rising electricity costs. That sucks for sure, but electricity costs tend to rise together with gasoline costs. It will be very difficult for those two to diverge so that a gas car all of a sudden becomes more economical. The fact that one can make electricity out of oil and oil products tends to mean that electricity costs will not rise very much in comparison to gasoline costs in a short period of time.

Without taxes, combustion engines are more economical (we're not discussing efficiency). Fuel duty and VAT in the UK represents over 50% of the overall cost of fuel [1]. Some portion of that tax is then used to subsidise green energy projects such as wind turbines and solar panels, further reducing the cost of electricity.

[1] https://www.racfoundation.org/data/percentage-uk-pump-price-...

comment 1y ago · link · parent

I think that combustion engines will make a come back, and we're at a false peak. I believe that due to a poor economic outlook, we see more people purchasing from the used-car market than new vehicles. I personally have seen a recent boom in the UK for road-worthy vehicles under £5k. On the other hand, I have seen used EVs completely unsellable, to the point where forecourts refuse to accept them as part-exchange.

If you see the breakdown graph [1], the likes of Norway is about to peak at 100%. The UK, US and EU are already becoming saturated, and China have saturated their internal markets and now face export tariffs to other significant markets to prevent dumping. The largest driving forces for this trend are essentially saturated.

Just in the EU for example we see that energy prices continue to increase per kWh [2], further reducing the "low cost benefit" of electricity that EVs previously enjoyed. We also see governments beginning to realise that they miss out on vehicle tax for EVs due to incentives, and such benefits begin to be withheld [3].

As the global economy continues to slow, I expect to see EVs and any green agenda items decrease in popularity, and a return to combustion engines and other policies with higher economic growth.

[1] https://ourworldindata.org/grapher/electric-car-sales-share

[2] https://ec.europa.eu/eurostat/statistics-explained/index.php...

[3] https://www.gov.uk/guidance/vehicle-tax-for-electric-and-low...

comment 1y ago · link · parent

Writing docs for software is something that in theory LLMs should be great at. It's clear they are useful, and that developers generally do not like writing them, and that LLMs are good at condensing complex information into easier to understand text.

comment 1y ago · link · parent

To mark the parsing of the day and to note that any incomplete tasks that I intend to keep have been re-planned to elsewhere. Any marked days are then there for historic purposes only.

comment 1y ago · link · parent

I think the format I suggested would parse in markdown, but I created it pre-markdown.

For me the best parts are:

1. You could write a parser very quickly.

2. It's very easy to edit and add to as a human.

3. It can easily be tracked in git or via a diff-based tool.

I did already think about the repetitive tasks, a long time ago I used to have a tool that would look at the past tasks and recommend future tasks (with appropriate distributions). One example was booking a dentist appointment every 6 months, even if I forgot to schedule something it would remind me to book one in, dismiss it or push it back.

comment 1y ago · link · parent

I think it's somewhat passable with line-based tools, i.e. you could easily use sed to match a range [1].

I think that it's far more important that it is human readable, if it becomes too tricky to edit manually, then just go with a database.

[1] https://unix.stackexchange.com/a/236754

comment 1y ago · link · parent

My format used to be as follows:

    * [ ] YYYY-MM-DD
      * [ ] 1800: Dinner with parents
      * [x] Walk the dog
    * [ ] YYYY-MM-DD
      * [ ] 0900: Interview new recruit
        * [ ] Prepare interview questions
        * [ ] Upload result to HR system
This worked really well for me and was easily searchable. One benefit would be that it is easily trackable in Git.

These days I have a little A6 lined notebook and manually list tasks there. Each page is a new day and the tasks are listed similarly. The only modification is that sometimes I put some letters to theme a task, i.e.:

    * [ ] YYYY-MM-DD
      * [x] Home: Walk the dog

comment 1y ago · link · parent

It's times like these I look forward to the likes of the Ladybird browser [1] making progress.

[1] https://ladybird.org/

comment 1y ago · link · parent

> ... I mean, this is what LLMs are.

I suspect it's not an LLM for dictation?

It's probably a network that converts sound to some phonetic tokens, then some kind of probabilistic matching like a Markov chain (which would be computationally cheap locally)?

comment 1y ago · link · parent

Firstly, it's pretty crazy they allow words to be associated like this. You would think that such a large company would check for this. You could end up with some extremely awkward suggestions. I would probably have some process for double checking "words of interest" that could cause negative press.

Secondly, I find it interesting how it knows what the correct word should be, but spends some time on an obviously incorrect word before correcting. I think this points towards it being deliberate.

My suspicion is this: There is some kind of prediction for partially complete words, and somebody has either messed with the training data or the code that makes the predictions. The first part "race-is" could complete to "racist" or "racism" or something else. The second system then predicts based on the full word (given by the break), and the suggestion is corrected.

For those thinking "this is okay", just bare in mind that next time this could be a word association that strikes some form of emotion in you. Imagine losing your father recently, saying "Dad" and the correction suggests "Dead" -> "Dad", it might be insensitive.

comment 1y ago · link · parent

Exactly this. In the pages and pages of terms and conditions, this will likely be covered, plus a lot of these services are opt-out. By not unticking "train on my workspace data" hidden several matrix layers deep, you are probably giving permission by default.

comment 1y ago · link · parent

Google openly train stuff based on your email, they used is specifically to train Smart Compose, but maybe other stuff too. He likely uses multiple Google products. Draft papers in Google Drive perhaps?

These LLM models are essentially trying to produce material that sounds correct, perhaps the hypothesis was a relatively obvious question with the right domain knowledge.

Additionally, he may not have been the first to ask the question. It's entirely possible that the AI chewed up and spat out some domain knowledge from a foreign research group outside of his wheelhouse. This kind of stuff happens all the time.

I personally have accidentally reinvented things without prior knowledge of them. Many years ago in University I remember deriving a PID controller without being aware of what one was. I probably got enough clues from other people/media that were aware of them, that bridging that final gap was made easier.

1
131415
78